{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_array-fill.js","webpack:///./node_modules/core-js/modules/es6.array.fill.js","webpack:///./src/lib/datelocalization.js","webpack:///./node_modules/debounce/index.js","webpack:///./src/components/gauge/HydrologicalConditions.vue","webpack:///src/components/gauge/HydrologicalConditions.vue","webpack:///./src/components/gauge/HydrologicalConditions.vue?7c0b","webpack:///./src/components/gauge/HydrologicalConditions.vue?3403","webpack:///./src/lib/DefaultDiagramTemplate.js"],"names":["toObject","toAbsoluteIndex","toLength","module","exports","value","O","this","length","aLen","arguments","index","undefined","end","endPos","$export","P","fill","localeDateString","dateTime","date","time","periods","app","$gettext","days","shortDays","months","shortMonths","debounce","func","wait","immediate","timeout","args","context","timestamp","result","later","last","Date","now","setTimeout","apply","debounced","callNow","clear","clearTimeout","flush","render","_vm","_c","_self","staticClass","attrs","title","close","staticStyle","_v","_s","yearCompareD","directives","name","rawName","form","template","expression","on","$event","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","$set","multiple","applyChange","_l","templates","key","domProps","longtermWaterlevels","downloadPDF","class","disabled","csvLink","concat","fileName","downloadImage","containerId","_e","staticRenderFns","mixins","diagram","pdfgen","templateLoader","components","DiagramLegend","data","selectedGaugeD","longtermIntervalD","zoomStore","resizeListenerFunction","templateData","defaultTemplate","defaultDiagramTemplate","pdf","doc","width","height","computed","_objectSpread","mapState","mapGetters","properties","objname","join","encodeURIComponent","csvData","downloadFilename","_this","merged","d","yearData","yearWaterlevels","find","y","getTime","mean","getMonth","getDate","min","max","median","q25","q75","watch","paneSetup","_this2","$nextTick","initialDiagramValues","drawDiagram","methods","addLegendToCanvas","ctx","_ref","x","font","textAlign","beginPath","fillStyle","strokeStyle","arc","Math","PI","stroke","fillText","yearCompare","closePath","selectedGauge","longtermInterval","$store","commit","diagramTitle","isrsInfo","orc","generatePDF","save","_this3","hasOwnProperty","loadTemplates","then","response","prepareImages","template_data","elements","values","forEach","v","url","catch","error","message","_error$response","status","displayError","addDiagramLegend","position","offset","color","padding","setFontStyle","setFontSize","getTextWidth","indexOf","getTextHeight","setTextColor","setDrawColor","setFillColor","circle","text","getPrintLayout","svgHeight","svgWidth","main","top","floor","right","bottom","left","nav","d3","remove","el","document","querySelector","clientWidth","clientHeight","layout","renderTo","element","dimensions","getDimensions","_ref2","zoomLevel","refWaterLevels","JSON","parse","reference_water_levels","extent","getExtent","scale","getScale","axes","getAxes","svg","append","attr","mainMargin","navigation","navMargin","mainHeight","updaters","push","drawAxes","drawWaterlevelMinMaxAreaChart","drawWaterlevelLineChart","type","drawNowLines","drawRefLines","eventRect","createZoom","createTooltips","setInlineStyles","selectAll","style","transition","waterlevelValues","wl","HDC","LDC","delta","startOfYear","endOfYear","waterlevel","_ref3","range","x2","y2","navHeight","domain","_ref4","_this4","dFormat","tickSizeInner","tickSizeOuter","tickFormat","$options","filters","yRight","_ref5","nowCoords","nowLine","nowLabel","selection","datum","select","_ref6","_ref7","areaChart","isNav","y0","y1","_ref8","lineChart","curve","_ref9","refWaterlevelLine","ref","toLowerCase","_ref10","_this5","brush","handleSize","zoom","scaleExtent","Infinity","translateExtent","sourceEvent","s","invert","u","transform","translate","scaleForZoom","t","rescaleX","move","invertX","tx","k","ty","_ref11","_this6","tooltip","tooltipText","tooltipPadding","diagramPadding","x0","getElementById","i","d0","d1","coords","toLocaleString","year","month","day","dYear","ywl","toFixed","textBBox","node","getBBox","xMax","tooltipX","tooltipY","created","window","addEventListener","mounted","_this7","HTTP","get","headers","localStorage","getItem","_error$response2","destroyed","removeEventListener","component","paperSize","fontsize"],"mappings":"kHAEA,IAAIA,EAAW,EAAQ,QACnBC,EAAkB,EAAQ,QAC1BC,EAAW,EAAQ,QACvBC,EAAOC,QAAU,SAAcC,GAC7B,IAAIC,EAAIN,EAASO,MACbC,EAASN,EAASI,EAAEE,QACpBC,EAAOC,UAAUF,OACjBG,EAAQV,EAAgBQ,EAAO,EAAIC,UAAU,QAAKE,EAAWJ,GAC7DK,EAAMJ,EAAO,EAA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BACA,GAAAD,EAAAT,SAAA,CACA,IAAAyL,EAAAhL,EAAAT,SAAAY,EAAA6K,EAAA7K,OAAAtF,EAAAmQ,EAAAnQ,KACAoF,EAAA,GAAAhG,OAAAkG,EAAA,MAAAlG,OAAAY,EAAAoF,SAAApF,GAEAuF,eAAA,CACAzI,MAAA+S,EAAA9U,SAAA,iBACAqK,gBAIAgL,UAAA,WACAV,OAAAW,oBAAA,cAAAjQ,0BCzoC8W,I,YCO1WkQ,EAAY,eACd,EACA9T,EACAiD,GACA,EACA,KACA,KACA,MAIa,aAAA6Q,E,2CClBf,sCAAM/P,EAAyB,CAC7BlD,KAAM,UACN2D,WAAY,CACVuP,UAAW,MAEb1L,SAAU,CACR,CACEwE,KAAM,eACN5D,SAAU,UACVC,OAAQ,CAAE1C,EAAG,GAAIpB,EAAG,IACpB4O,SAAU,GACV7K,MAAO,aAET,CACE0D,KAAM,UACN5D,SAAU,UACVC,OAAQ,CAAE1C,EAAG,GAAIpB,EAAG,IACpBlB,MAAO,IACPC,OAAQ,KAEV,CACE0I,KAAM,gBACN5D,SAAU,UACVC,OAAQ,CAAE1C,EAAG,GAAIpB,EAAG,KACpB+D,MAAO","file":"js/chunk-c0ee46a4.e8d6cc1e.js","sourcesContent":["// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = toLength(O.length);\n var aLen = arguments.length;\n var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);\n var end = aLen > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { fill: require('./_array-fill') });\n\nrequire('./_add-to-unscopables')('fill');\n","import app from \"@/main\";\nconst localeDateString = {\n dateTime: \"%a %e %b %X %Y\",\n date: \"%d/%m/%Y\",\n time: \"%H:%M:%S\",\n periods: [app.$gettext(\"AM\"), app.$gettext(\"PM\")],\n days: [\n app.$gettext(\"Sunday\"),\n app.$gettext(\"Monday\"),\n app.$gettext(\"Tuesday\"),\n app.$gettext(\"Wednesday\"),\n app.$gettext(\"Thursday\"),\n app.$gettext(\"Friday\"),\n app.$gettext(\"Saturday\")\n ],\n shortDays: [\n app.$gettext(\"Sun\"),\n app.$gettext(\"Mon\"),\n app.$gettext(\"Tue\"),\n app.$gettext(\"Wed\"),\n app.$gettext(\"Thu\"),\n app.$gettext(\"Fri\"),\n app.$gettext(\"Sat\")\n ],\n months: [\n app.$gettext(\"January\"),\n app.$gettext(\"February\"),\n app.$gettext(\"March\"),\n app.$gettext(\"April\"),\n app.$gettext(\"May\"),\n app.$gettext(\"June\"),\n app.$gettext(\"July\"),\n app.$gettext(\"August\"),\n app.$gettext(\"September\"),\n app.$gettext(\"October\"),\n app.$gettext(\"November\"),\n app.$gettext(\"December\")\n ],\n shortMonths: [\n app.$gettext(\"Jan\"),\n app.$gettext(\"Feb\"),\n app.$gettext(\"Mar\"),\n app.$gettext(\"Apr\"),\n app.$gettext(\"May\"),\n app.$gettext(\"Jun\"),\n app.$gettext(\"Jul\"),\n app.$gettext(\"Aug\"),\n app.$gettext(\"Sep\"),\n app.$gettext(\"Oct\"),\n app.$gettext(\"Nov\"),\n app.$gettext(\"Dec\")\n ]\n};\n\nexport { localeDateString };\n","/**\n * Returns a function, that, as long as it continues to be invoked, will not\n * be triggered. The function will be called after it stops being called for\n * N milliseconds. If `immediate` is passed, trigger the function on the\n * leading edge, instead of the trailing. The function also has a property 'clear' \n * that is a function which will clear the timer to prevent previously scheduled executions. \n *\n * @source underscore.js\n * @see http://unscriptable.com/2009/03/20/debouncing-javascript-methods/\n * @param {Function} function to wrap\n * @param {Number} timeout in ms (`100`)\n * @param {Boolean} whether to execute at the beginning (`false`)\n * @api public\n */\nfunction debounce(func, wait, immediate){\n var timeout, args, context, timestamp, result;\n if (null == wait) wait = 100;\n\n function later() {\n var last = Date.now() - timestamp;\n\n if (last < wait && last >= 0) {\n timeout = setTimeout(later, wait - last);\n } else {\n timeout = null;\n if (!immediate) {\n result = func.apply(context, args);\n context = args = null;\n }\n }\n };\n\n var debounced = function(){\n context = this;\n args = arguments;\n timestamp = Date.now();\n var callNow = immediate && !timeout;\n if (!timeout) timeout = setTimeout(later, wait);\n if (callNow) {\n result = func.apply(context, args);\n context = args = null;\n }\n\n return result;\n };\n\n debounced.clear = function() {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n };\n \n debounced.flush = function() {\n if (timeout) {\n result = func.apply(context, args);\n context = args = null;\n \n clearTimeout(timeout);\n timeout = null;\n }\n };\n\n return debounced;\n};\n\n// Adds compatibility for ES modules\ndebounce.debounce = debounce;\n\nmodule.exports = debounce;\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"d-flex flex-column flex-fill\"},[_c('UIBoxHeader',{staticClass:\"rounded-0\",attrs:{\"icon\":\"ruler-vertical\",\"title\":_vm.title,\"closeCallback\":_vm.close}}),_c('div',{staticClass:\"d-flex flex-fill\"},[_c('DiagramLegend',{attrs:{\"id\":\"diagramlegendId\"}},[_c('div',{staticClass:\"legend\"},[_c('span',{staticStyle:{\"background-color\":\"red\",\"width\":\"20px\",\"height\":\"20px\"}}),_vm._v(\"\\n \"+_vm._s(_vm.yearCompareD)+\"\\n \")]),_c('div',{staticClass:\"legend\"},[_c('span',{staticStyle:{\"background-color\":\"orange\",\"width\":\"20px\",\"height\":\"20px\"}}),_c('span',{directives:[{name:\"translate\",rawName:\"v-translate\"}],staticClass:\"fix-trans-space\",staticStyle:{\"display\":\"inline\"}},[_vm._v(\"Q25%\")])]),_c('div',{staticClass:\"legend\"},[_c('span',{staticStyle:{\"background-color\":\"black\",\"width\":\"20px\",\"height\":\"20px\"}}),_c('span',{directives:[{name:\"translate\",rawName:\"v-translate\"}],staticClass:\"fix-trans-space\",staticStyle:{\"display\":\"inline\"}},[_vm._v(\"Median\")])]),_c('div',{staticClass:\"legend\"},[_c('span',{staticStyle:{\"background-color\":\"purple\",\"width\":\"20px\",\"height\":\"20px\"}}),_c('span',{directives:[{name:\"translate\",rawName:\"v-translate\"}],staticClass:\"fix-trans-space\",staticStyle:{\"display\":\"inline\"}},[_vm._v(\"Q75%\")])]),_c('div',{staticClass:\"legend\"},[_c('span',{staticStyle:{\"background-color\":\"lightsteelblue\",\"width\":\"20px\",\"height\":\"20px\"}}),_c('span',{directives:[{name:\"translate\",rawName:\"v-translate\"}],staticClass:\"fix-trans-space\",staticStyle:{\"display\":\"inline\"}},[_vm._v(\"Long-term Amplitude\")])]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.template),expression:\"form.template\"}],staticClass:\"form-control d-block custom-select-sm w-100\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.form, \"template\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},_vm.applyChange]}},_vm._l((_vm.templates),function(template){return _c('option',{key:template.name,domProps:{\"value\":template}},[_vm._v(\"\\n \"+_vm._s(template.name)+\"\\n \")])}),0),_c('div',[_c('button',{staticClass:\"btn btn-sm btn-info d-block w-100 mt-2\",attrs:{\"type\":\"button\",\"disabled\":!_vm.longtermWaterlevels.length},on:{\"click\":_vm.downloadPDF}},[_c('translate',[_vm._v(\"Export to PDF\")])],1)]),_c('a',{class:[\n 'btn btn-sm btn-info d-block w-100 mt-2',\n { disabled: !_vm.longtermWaterlevels.length }\n ],attrs:{\"href\":_vm.csvLink,\"download\":`${_vm.fileName}.csv`}},[_c('translate',[_vm._v(\"Export as CSV\")])],1),_c('a',{class:[\n 'btn btn-sm btn-info text-white d-block w-100 mt-2',\n { disabled: !_vm.longtermWaterlevels.length }\n ],attrs:{\"id\":\"hydrologicalpng\",\"download\":`${_vm.fileName}.png`},on:{\"click\":function($event){return _vm.downloadImage('hydrologicalpng', _vm.title)}}},[_c('translate',[_vm._v(\"Export as Image\")])],1)]),_c('div',{staticClass:\"d-flex flex-fill justify-content-center align-items-center\",attrs:{\"id\":_vm.containerId}},[(!_vm.longtermWaterlevels.length)?_c('div',[_c('translate',[_vm._v(\"No data available.\")])],1):_vm._e()])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n {{ yearCompareD }}\n \n \n \n Q25%\n \n \n \n Median\n \n \n \n Q75%\n \n \n \n Long-term Amplitude\n \n \n \n {{ template.name }}\n \n \n \n \n Export to PDF\n \n \n \n Export as CSV\n \n \n Export as Image\n \n \n \n \n No data available.\n \n \n \n \n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HydrologicalConditions.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HydrologicalConditions.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./HydrologicalConditions.vue?vue&type=template&id=6982f8e6\"\nimport script from \"./HydrologicalConditions.vue?vue&type=script&lang=js\"\nexport * from \"./HydrologicalConditions.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","const defaultDiagramTemplate = {\n name: \"Default\",\n properties: {\n paperSize: \"a4\"\n },\n elements: [\n {\n type: \"diagramtitle\",\n position: \"topleft\",\n offset: { x: 74, y: 25 },\n fontsize: 20,\n color: \"steelblue\"\n },\n {\n type: \"diagram\",\n position: \"topleft\",\n offset: { x: 24, y: 40 },\n width: 248,\n height: 119\n },\n {\n type: \"diagramlegend\",\n position: \"topleft\",\n offset: { x: 44, y: 167 },\n color: \"black\"\n }\n ]\n};\n\nexport { defaultDiagramTemplate };\n"],"sourceRoot":""}