From c645cc53ecec17456b80320388868e0fb371c4d6 Mon Sep 17 00:00:00 2001 From: volterra79 Date: Wed, 15 Jan 2025 14:31:38 +0100 Subject: [PATCH] :arrow_up: Client https://github.com/g3w-suite/g3w-client-plugin-qtimeseries/releases/tag/v3.9.0 --- g3w-admin/qtimeseries/static/qtimeseries/js/plugin.js | 4 ++-- g3w-admin/qtimeseries/static/qtimeseries/js/plugin.js.map | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 g3w-admin/qtimeseries/static/qtimeseries/js/plugin.js.map diff --git a/g3w-admin/qtimeseries/static/qtimeseries/js/plugin.js b/g3w-admin/qtimeseries/static/qtimeseries/js/plugin.js index be1aa6cea..851585b12 100644 --- a/g3w-admin/qtimeseries/static/qtimeseries/js/plugin.js +++ b/g3w-admin/qtimeseries/static/qtimeseries/js/plugin.js @@ -1,2 +1,2 @@ -!function(){var e=window&&window.initConfig&&window.initConfig.group&&window.initConfig.group.plugins;e&&(e.qtimeseries=Object.assign(e.qtimeseries||{},{version:"3.8.0",hash:"undefined",branch:"HEAD"}))}(),function i(a,s,r){function o(t,e){if(!s[t]){if(!a[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}n=s[t]={exports:{}},a[t][0].call(n.exports,function(e){return o(a[t][1][e]||e)},n,n.exports,i,a,s,r)}return s[t].exports}for(var l="function"==typeof require&&require,e=0;e=this.getStepValue()}},methods:{initLayerTimeseries:function(){this.status=0,this.setDates(),this.min_date=this.start_date,this.currentLayerDateTimeIndex=this.start_date,this.range.value=0,this.range.min=0,this.resetRangeInputData(),this.currentLayerDateTimeIndex&&this.getTimeLayer(),this.showCharts=!1},setDates:function(){var e,t;1i.range.max||i.range.value<0)i.resetRangeInputData(),i.pause(),i.fastBackwardForward(-1);else{i.setCurrentDateTime(t),n=!0;try{yield i.getTimeLayer()}catch(e){}n=!1}}catch(e){i.pause()}}),1e3),this.setStatus(t)):this.pause()},pause:function(){clearInterval(this.intervalEventHandler),this.intervalEventHandler=null,this.setStatus()},stepBackwardForward:function(e){var t=this.getStepValue();this.range.value=1===e?this.range.value+t:this.range.value-t,this.setCurrentDateTime(e),this.getTimeLayer()},fastBackwardForward:function(e){1===e?(this.range.value=this.range.max,this.currentLayerDateTimeIndex=this.end_date):(this.range.value=this.range.min,this.currentLayerDateTimeIndex=this.start_date),this.getTimeLayer()},hideSingleLayerSelectionClear:function(){$(this.$refs["select-layers"]).siblings(".select2-container").find(".select2-selection__choice__remove").hide()}},watch:{step:function(){this.getTimeLayer()},current_step_unit:{handler:(r=a(function*(t){this.change_step_unit=!0,this.select_layers.forEach(function(e){return e.options.stepunit=t}),this.current_step_unit_label=c.STEP_UNITS.find(function(e){return e.moment===t}).label,this.initLayerTimeseries(),yield this.$nextTick(),this.change_step_unit=!1}),function(e){return r.apply(this,arguments)}),immediate:!1},current_layers_index:{immediate:!1,handler:(s=a(function*(e,t){var n=this;yield this.$nextTick(),1===e.length&&this.hideSingleLayerSelectionClear(),yield this.resetTimeLayer(t.map(function(e){return n.layers[e]})),this.initLayerTimeseries()}),function(e,t){return s.apply(this,arguments)})},"panel.open":function(e){e?this.initLayerTimeseries():this.resetTimeLayer()},validRangeDates:function(e){e||this.changeStartDateTime(this.start_date)}},created:function(){this.intervalEventHandler=null},mounted:(i=a(function*(){var e=this;this.disabledSingleLayerClickUnSelect=function(){setTimeout(function(){1===e.select_layers.length?$('.select2-results__options li[aria-selected="true"]').addClass("g3w-disabled"):$(".select2-results__options li").removeClass("g3w-disabled")})},yield this.$nextTick(),p.default.onafter("open",function(){$("#timeserieslayer").on("select2:open",e.disabledSingleLayerClickUnSelect)}),p.default.onafter("close",function(){$("#timeserieslayer").off("select2:open",e.disabledSingleLayerClickUnSelect)})}),function(){return i.apply(this,arguments)}),beforeDestroy:function(){p.default.clear()}},t.exports.__esModule&&(t.exports=t.exports.default);var i,s,r,o,l,u,d,c,p,e="function"==typeof t.exports?t.exports.options:t.exports;e.render=function(){var n=this,e=n.$createElement,i=n._self._c||e;return i("ul",{staticClass:"treeview-menu",staticStyle:{position:"relative",padding:"10px",color:"#FFFFFF"},attrs:{id:"g3w_raster_timeseries_content"}},[i("li",[i("form",{directives:[{name:"disabled",rawName:"v-disabled",value:n.formDisabled,expression:"formDisabled"}]},[i("label",{staticStyle:{display:"block"}},[n._v("Layer")]),n._v(" "),i("select",{directives:[{name:"select2",rawName:"v-select2",value:"current_layers_index",expression:"'current_layers_index'"}],ref:"select-layers",staticClass:"form-control",attrs:{id:"timeserieslayer",multiple:0=n.range.max,expression:"!validRangeDates || range.value >= range.max"}],staticClass:"sidebar-button skin-button btn btn-block",class:{toggled:1===n.status},staticStyle:{margin:"2px"},on:{click:function(e){return e.stopPropagation(),n.run(1)}}},[i("span",{class:n.g3wtemplate.getFontClass("run")})]),n._v(" "),i("button",{directives:[{name:"disabled",rawName:"v-disabled",value:!n.validRangeDates||n.range.value>=n.range.max,expression:"!validRangeDates || range.value >= range.max"}],staticClass:"sidebar-button skin-button btn btn-block",staticStyle:{margin:"2px"},on:{click:function(e){return e.stopPropagation(),n.stepBackwardForward(1)}}},[i("span",{class:n.g3wtemplate.getFontClass("step-forward")})]),n._v(" "),i("button",{directives:[{name:"disabled",rawName:"v-disabled",value:!n.validRangeDates||n.range.value===n.range.max,expression:"!validRangeDates || range.value === range.max"}],staticClass:"sidebar-button skin-button btn btn-block",staticStyle:{margin:"2px"},on:{click:function(e){return e.stopPropagation(),n.fastBackwardForward(1)}}},[i("span",{class:n.g3wtemplate.getFontClass("fast-forward")})])])])])},e.staticRenderFns=[]},{"../constant":12,"../service":14}],2:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Zeitreihen",current_date:"Aktuelles Datum",steps:"Stufen",step:"Stufe",startdate:"Anfangsdatum",enddate:"Enddatum",stepsunit:{label:"Stufeneinheit",centuries:"Jahrhunderte",decades:"Jahrzehnte",years:"Jahre",months:"Monate",weeks:"Wochen",days:"Tage",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden",milliseconds:"Millisekunden"},tooltips:{showcharts:"Diagramme zeigen"}}},{}],3:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Time Series",current_date:"Current Date",steps:"Steps",step:"Step",startdate:"Start Date",enddate:"End Date",stepsunit:{label:"Step Unit",centuries:"Centuries",decades:"Decades",years:"Years",months:"Months",weeks:"Weeks",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},tooltips:{showcharts:"Show Charts"}}},{}],4:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Time Series",current_date:"Current Date",steps:"Steps",step:"Step",startdate:"Start Date",enddate:"End Date",stepsunit:{label:"Step Unit",centuries:"Centuries",decades:"Decades",years:"Years",months:"Months",weeks:"Weeks",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},tooltips:{showcharts:"Show Charts"}}},{}],5:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Time Series",current_date:"Current Date",steps:"Steps",step:"Step",startdate:"Start Date",enddate:"End Date",stepsunit:{label:"Step Unit",centuries:"Centuries",decades:"Decades",years:"Years",months:"Months",weeks:"Weeks",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},tooltips:{showcharts:"Show Charts"}}},{}],6:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var i=d(e("./it")),a=d(e("./en")),s=d(e("./fi")),r=d(e("./se")),o=d(e("./fr")),l=d(e("./de")),u=d(e("./ro")),e=d(e("./pl"));function d(e){return e&&e.__esModule?e:{default:e}}n.default={it:i.default,en:a.default,fi:s.default,se:r.default,fr:o.default,de:l.default,ro:u.default,pl:e.default}},{"./de":2,"./en":3,"./fi":4,"./fr":5,"./it":7,"./pl":8,"./ro":9,"./se":10}],7:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Serie Temporali",current_date:"Data Corrente",steps:"Passi",step:"Passo",startdate:"Data Inizio",enddate:"Data Fine",stepsunit:{label:"Unità di passo",centuries:"Secoli",decades:"Decadi",years:"Anni",months:"Mesi",weeks:"Settimane",days:"Giorni",hours:"Ore",minutes:"Minuti",seconds:"Secondi",milliseconds:"Millisecondi"},tooltips:{showcharts:"Visualizza Grafici"}}},{}],8:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Time Series",current_date:"Current Date",steps:"Steps",step:"Step",startdate:"Start Date",enddate:"End Date",stepsunit:{label:"Step Unit",centuries:"Centuries",decades:"Decades",years:"Years",months:"Months",weeks:"Weeks",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},tooltips:{showcharts:"Show Charts"}}},{}],9:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Intervale de timp",current_date:"Data Curentă",steps:"Pași",step:"Pas",startdate:"Data Început",enddate:"Data Sfârșit",stepsunit:{label:"Unitatea de pas",centuries:"Secole",decades:"Decenii",years:"Ani",months:"Luni",weeks:"Săptămâni",days:"Zile",hours:"Ore",minutes:"Minute",seconds:"Secunde",milliseconds:"Milisecunde"},tooltips:{showcharts:"Arată Graficele"}}},{}],10:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Time Series",current_date:"Current Date",steps:"Steps",step:"Step",startdate:"Start Date",enddate:"End Date",stepsunit:{label:"Step Unit",centuries:"Centuries",decades:"Decades",years:"Years",months:"Months",weeks:"Weeks",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},tooltips:{showcharts:"Show Charts"}}},{}],11:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var e=e("./i18n"),e=(e=e)&&e.__esModule?e:{default:e};n.default={i18n:e.default,name:"qtimeseries"}},{"./i18n":6}],12:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});n.STEP_UNITS=[{moment:"100:years",label:"centuries",qgis:"c"},{moment:"10:years",label:"decades",qgis:"dec"},{moment:"years",label:"years",qgis:"y"},{moment:"months",label:"months",qgis:"mon"},{moment:"7:days",label:"weeks",qgis:"wk"},{moment:"days",label:"days",qgis:"d"},{moment:"hours",label:"hours",qgis:"h"},{moment:"minutes",label:"minutes",qgis:"min"},{moment:"seconds",label:"seconds",qgis:"s"},{moment:"milliseconds",label:"milliseconds",qgis:"ms"}]},{}],13:[function(e,t,n){var i=r(e("./config")),a=r(e("./service")),s=r(e("./components/SidebarItem.vue"));function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(){var o=e.apply(this,arguments);return new Promise(function(s,r){return function t(e,n){try{var i=o[e](n),a=i.value}catch(e){return void r(e)}if(!i.done)return Promise.resolve(a).then(function(e){t("next",e)},function(e){t("throw",e)});s(a)}("next")})}}function l(){var t=this,n=(u(this,{name:i.default.name,i18n:i.default.i18n,service:a.default}),this.panel,this.setReady(!0),this.onAfterRegisterPluginKey,this.registerPlugin(this.config.gid));this.setupGui=function(){var t,n=this.getService();this.createSideBarComponent(s.default,{id:i.default.name,title:"plugins."+i.default.name+".title",open:!1,collapsible:!0,closewhenshowviewportcontent:!1,iconConfig:{color:"#25bce9",icon:"time"},mobile:!0,sidebarOptions:{position:"catalog"},events:{open:{when:"before",cb:(t=o(function*(e){e?n.open():n.close()}),function(e){return t.apply(this,arguments)})}}})},this.load=function(){this.init()},this.unload=function(){this.emit("unload"),this.service.clear()},this.service.loadPlugin()&&(this.setHookLoading({loading:!0}),this.service.once("ready",function(e){n&&e&&(c.isready?t.setupGui():c.on("ready",function(){return t.setupGui.bind(t)})),t.setHookLoading({loading:!1})}),this.service.init(this.config))}var e=g3wsdk.core.utils,u=e.base,e=e.inherit,d=g3wsdk.core.plugin.Plugin,c=g3wsdk.gui.GUI;e(l,d),new l},{"./components/SidebarItem.vue":1,"./config":11,"./service":14}],14:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var c=e("./constant");function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var e=g3wsdk.core.utils,i=e.base,a=e.inherit,p=e.toRawType,s=g3wsdk.gui.GUI,e=g3wsdk.core.plugin.PluginService,v={showSpinner:!1};function r(){this.setters={open:function(){this._open()},close:function(){this._close()}},i(this),this.init=function(){var e=0{var e=window&&window.initConfig&&window.initConfig.group&&window.initConfig.group.plugins;e&&(e.qtimeseries=Object.assign(e.qtimeseries||{},{version:"3.9.0",hash:"ddb3678",branch:"v3.9.x"}))})(),function i(a,s,r){function o(t,e){if(!s[t]){if(!a[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}n=s[t]={exports:{}},a[t][0].call(n.exports,function(e){return o(a[t][1][e]||e)},n,n.exports,i,a,s,r)}return s[t].exports}for(var l="function"==typeof require&&require,e=0;e=this.getStepValue()}},methods:{initLayerTimeseries:function(){this.status=0,this.setDates(),this.min_date=this.start_date,this.currentLayerDateTimeIndex=this.start_date,this.range.value=0,this.range.min=0,this.resetRangeInputData(),this.currentLayerDateTimeIndex&&this.getTimeLayer(),this.showCharts=!1},setDates:function(){var e,t;1i.range.max||i.range.value<0)i.resetRangeInputData(),i.pause(),i.fastBackwardForward(-1);else{i.setCurrentDateTime(t),n=!0;try{yield i.getTimeLayer()}catch(e){}n=!1}}catch(e){i.pause()}}),1e3),this.setStatus(t)):this.pause()},pause:function(){clearInterval(this.intervalEventHandler),this.intervalEventHandler=null,this.setStatus()},stepBackwardForward:function(e){var t=this.getStepValue();this.range.value=1===e?this.range.value+t:this.range.value-t,this.setCurrentDateTime(e),this.getTimeLayer()},fastBackwardForward:function(e){1===e?(this.range.value=this.range.max,this.currentLayerDateTimeIndex=this.end_date):(this.range.value=this.range.min,this.currentLayerDateTimeIndex=this.start_date),this.getTimeLayer()},hideSingleLayerSelectionClear:function(){$(this.$refs["select-layers"]).siblings(".select2-container").find(".select2-selection__choice__remove").hide()}},watch:{step:function(){this.getTimeLayer()},current_step_unit:{handler:(r=a(function*(t){this.change_step_unit=!0,this.select_layers.forEach(function(e){return e.options.stepunit=t}),this.current_step_unit_label=c.STEP_UNITS.find(function(e){return e.moment===t}).label,this.initLayerTimeseries(),yield this.$nextTick(),this.change_step_unit=!1}),function(e){return r.apply(this,arguments)}),immediate:!1},current_layers_index:{immediate:!1,handler:(s=a(function*(e,t){var n=this;yield this.$nextTick(),1===e.length&&this.hideSingleLayerSelectionClear(),yield this.resetTimeLayer(t.map(function(e){return n.layers[e]})),this.initLayerTimeseries()}),function(e,t){return s.apply(this,arguments)})},"panel.open":function(e){e?this.initLayerTimeseries():this.resetTimeLayer()},validRangeDates:function(e){e||this.changeStartDateTime(this.start_date)}},created:function(){this.intervalEventHandler=null},mounted:(i=a(function*(){var e=this;this.disabledSingleLayerClickUnSelect=function(){setTimeout(function(){1===e.select_layers.length?$('.select2-results__options li[aria-selected="true"]').addClass("g3w-disabled"):$(".select2-results__options li").removeClass("g3w-disabled")})},yield this.$nextTick(),p.default.onafter("open",function(){$("#timeserieslayer").on("select2:open",e.disabledSingleLayerClickUnSelect)}),p.default.onafter("close",function(){$("#timeserieslayer").off("select2:open",e.disabledSingleLayerClickUnSelect)})}),function(){return i.apply(this,arguments)}),beforeDestroy:function(){p.default.clear()}},t.exports.__esModule&&(t.exports=t.exports.default);var i,s,r,o,l,u,d,c,p,e="function"==typeof t.exports?t.exports.options:t.exports;e.render=function(){var n=this,e=n.$createElement,i=n._self._c||e;return i("ul",{staticClass:"treeview-menu",staticStyle:{position:"relative",padding:"10px",color:"#FFFFFF"},attrs:{id:"g3w_raster_timeseries_content"}},[i("li",[i("form",{directives:[{name:"disabled",rawName:"v-disabled",value:n.formDisabled,expression:"formDisabled"}]},[i("label",{staticStyle:{display:"block"}},[n._v("Layer")]),n._v(" "),i("select",{directives:[{name:"select2",rawName:"v-select2",value:"current_layers_index",expression:"'current_layers_index'"}],ref:"select-layers",staticClass:"form-control",attrs:{id:"timeserieslayer",multiple:0=n.range.max,expression:"!validRangeDates || range.value >= range.max"}],staticClass:"sidebar-button skin-button btn btn-block",class:{toggled:1===n.status},staticStyle:{margin:"2px"},on:{click:function(e){return e.stopPropagation(),n.run(1)}}},[i("span",{class:n.g3wtemplate.getFontClass("run")})]),n._v(" "),i("button",{directives:[{name:"disabled",rawName:"v-disabled",value:!n.validRangeDates||n.range.value>=n.range.max,expression:"!validRangeDates || range.value >= range.max"}],staticClass:"sidebar-button skin-button btn btn-block",staticStyle:{margin:"2px"},on:{click:function(e){return e.stopPropagation(),n.stepBackwardForward(1)}}},[i("span",{class:n.g3wtemplate.getFontClass("step-forward")})]),n._v(" "),i("button",{directives:[{name:"disabled",rawName:"v-disabled",value:!n.validRangeDates||n.range.value===n.range.max,expression:"!validRangeDates || range.value === range.max"}],staticClass:"sidebar-button skin-button btn btn-block",staticStyle:{margin:"2px"},on:{click:function(e){return e.stopPropagation(),n.fastBackwardForward(1)}}},[i("span",{class:n.g3wtemplate.getFontClass("fast-forward")})])])])])},e.staticRenderFns=[]},{"../constant":12,"../service":14}],2:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Zeitreihen",current_date:"Aktuelles Datum",steps:"Stufen",step:"Stufe",startdate:"Anfangsdatum",enddate:"Enddatum",stepsunit:{label:"Stufeneinheit",centuries:"Jahrhunderte",decades:"Jahrzehnte",years:"Jahre",months:"Monate",weeks:"Wochen",days:"Tage",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden",milliseconds:"Millisekunden"},tooltips:{showcharts:"Diagramme zeigen"}}},{}],3:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Time Series",current_date:"Current Date",steps:"Steps",step:"Step",startdate:"Start Date",enddate:"End Date",stepsunit:{label:"Step Unit",centuries:"Centuries",decades:"Decades",years:"Years",months:"Months",weeks:"Weeks",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},tooltips:{showcharts:"Show Charts"}}},{}],4:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Time Series",current_date:"Current Date",steps:"Steps",step:"Step",startdate:"Start Date",enddate:"End Date",stepsunit:{label:"Step Unit",centuries:"Centuries",decades:"Decades",years:"Years",months:"Months",weeks:"Weeks",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},tooltips:{showcharts:"Show Charts"}}},{}],5:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Time Series",current_date:"Current Date",steps:"Steps",step:"Step",startdate:"Start Date",enddate:"End Date",stepsunit:{label:"Step Unit",centuries:"Centuries",decades:"Decades",years:"Years",months:"Months",weeks:"Weeks",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},tooltips:{showcharts:"Show Charts"}}},{}],6:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var i=d(e("./it")),a=d(e("./en")),s=d(e("./fi")),r=d(e("./se")),o=d(e("./fr")),l=d(e("./de")),u=d(e("./ro")),e=d(e("./pl"));function d(e){return e&&e.__esModule?e:{default:e}}n.default={it:i.default,en:a.default,fi:s.default,se:r.default,fr:o.default,de:l.default,ro:u.default,pl:e.default}},{"./de":2,"./en":3,"./fi":4,"./fr":5,"./it":7,"./pl":8,"./ro":9,"./se":10}],7:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Serie Temporali",current_date:"Data Corrente",steps:"Passi",step:"Passo",startdate:"Data Inizio",enddate:"Data Fine",stepsunit:{label:"Unità di passo",centuries:"Secoli",decades:"Decadi",years:"Anni",months:"Mesi",weeks:"Settimane",days:"Giorni",hours:"Ore",minutes:"Minuti",seconds:"Secondi",milliseconds:"Millisecondi"},tooltips:{showcharts:"Visualizza Grafici"}}},{}],8:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Time Series",current_date:"Current Date",steps:"Steps",step:"Step",startdate:"Start Date",enddate:"End Date",stepsunit:{label:"Step Unit",centuries:"Centuries",decades:"Decades",years:"Years",months:"Months",weeks:"Weeks",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},tooltips:{showcharts:"Show Charts"}}},{}],9:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Intervale de timp",current_date:"Data Curentă",steps:"Pași",step:"Pas",startdate:"Data Început",enddate:"Data Sfârșit",stepsunit:{label:"Unitatea de pas",centuries:"Secole",decades:"Decenii",years:"Ani",months:"Luni",weeks:"Săptămâni",days:"Zile",hours:"Ore",minutes:"Minute",seconds:"Secunde",milliseconds:"Milisecunde"},tooltips:{showcharts:"Arată Graficele"}}},{}],10:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"Time Series",current_date:"Current Date",steps:"Steps",step:"Step",startdate:"Start Date",enddate:"End Date",stepsunit:{label:"Step Unit",centuries:"Centuries",decades:"Decades",years:"Years",months:"Months",weeks:"Weeks",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},tooltips:{showcharts:"Show Charts"}}},{}],11:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var e=e("./i18n"),e=(e=e)&&e.__esModule?e:{default:e};n.default={i18n:e.default,name:"qtimeseries"}},{"./i18n":6}],12:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});n.STEP_UNITS=[{moment:"100:years",label:"centuries",qgis:"c"},{moment:"10:years",label:"decades",qgis:"dec"},{moment:"years",label:"years",qgis:"y"},{moment:"months",label:"months",qgis:"mon"},{moment:"7:days",label:"weeks",qgis:"wk"},{moment:"days",label:"days",qgis:"d"},{moment:"hours",label:"hours",qgis:"h"},{moment:"minutes",label:"minutes",qgis:"min"},{moment:"seconds",label:"seconds",qgis:"s"},{moment:"milliseconds",label:"milliseconds",qgis:"ms"}]},{}],13:[function(e,t,n){var i=r(e("./config")),a=r(e("./service")),s=r(e("./components/SidebarItem.vue"));function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(){var o=e.apply(this,arguments);return new Promise(function(s,r){return function t(e,n){try{var i=o[e](n),a=i.value}catch(e){return void r(e)}if(!i.done)return Promise.resolve(a).then(function(e){t("next",e)},function(e){t("throw",e)});s(a)}("next")})}}function l(){var t=this,n=(u(this,{name:i.default.name,i18n:i.default.i18n,service:a.default}),this.panel,this.setReady(!0),this.onAfterRegisterPluginKey,this.registerPlugin(this.config.gid));this.setupGui=function(){var t,n=this.getService();this.createSideBarComponent(s.default,{id:i.default.name,title:"plugins."+i.default.name+".title",open:!1,collapsible:!0,closewhenshowviewportcontent:!1,iconConfig:{color:"#25bce9",icon:"time"},mobile:!0,sidebarOptions:{position:"catalog"},events:{open:{when:"before",cb:(t=o(function*(e){e?n.open():n.close()}),function(e){return t.apply(this,arguments)})}}})},this.load=function(){this.init()},this.unload=function(){this.emit("unload"),this.service.clear()},this.service.loadPlugin()&&(this.setHookLoading({loading:!0}),this.service.once("ready",function(e){n&&e&&(c.isready?t.setupGui():c.on("ready",function(){return t.setupGui.bind(t)})),t.setHookLoading({loading:!1})}),this.service.init(this.config))}var e=g3wsdk.core.utils,u=e.base,e=e.inherit,d=g3wsdk.core.plugin.Plugin,c=g3wsdk.gui.GUI;e(l,d),new l},{"./components/SidebarItem.vue":1,"./config":11,"./service":14}],14:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var c=e("./constant");function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var e=g3wsdk.core.utils,i=e.base,a=e.inherit,p=e.toRawType,s=g3wsdk.gui.GUI,e=g3wsdk.core.plugin.PluginService,v={showSpinner:!1};function r(){this.setters={open:function(){this._open()},close:function(){this._close()}},i(this),this.init=function(){var e=0{var n=window&&window.initConfig&&window.initConfig.group&&window.initConfig.group.plugins;n&&(n[\"qtimeseries\"]=Object.assign(n[\"qtimeseries\"]||{},{version:\"3.9.0\",hash:\"ddb3678\",branch:\"v3.9.x\"}))})();\n(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i= this.getStepValue();\n }\n },\n methods: {\n initLayerTimeseries: function initLayerTimeseries() {\n this.status = 0;\n this.setDates();\n this.min_date = this.start_date;\n this.currentLayerDateTimeIndex = this.start_date;\n this.range.value = 0;\n this.range.min = 0;\n this.resetRangeInputData();\n if (this.currentLayerDateTimeIndex) {\n this.getTimeLayer();\n }\n this.showCharts = false;\n },\n setDates: function setDates() {\n if (this.select_layers.length > 1) {\n this.start_date = moment.min(this.select_layers.map(function (layer) {\n return layer.start_date;\n }));\n this.end_date = moment.max(this.select_layers.map(function (layer) {\n return layer.end_date;\n }));\n\n this.max_date = this.end_date;\n } else {\n var _layers$current_layer = this.layers[this.current_layers_index[0]],\n start_date = _layers$current_layer.start_date,\n end_date = _layers$current_layer.end_date;\n\n this.start_date = start_date;\n this.end_date = end_date;\n }\n },\n resetRangeInputData: function resetRangeInputData() {\n this.range.value = 0;\n\n var _getMultiplierAndStep2 = this.getMultiplierAndStepUnit(),\n multiplier = _getMultiplierAndStep2.multiplier,\n step_unit = _getMultiplierAndStep2.step_unit;\n\n this.range.max = this.validateStartDateEndDate() ? Number.parseInt(moment(this.end_date).diff(moment(this.start_date), step_unit) / multiplier * this.stepunitmultiplier) : 0;\n },\n changeRangeInputOnChangeStepUnit: function changeRangeInputOnChangeStepUnit() {\n this.range.value = 0;\n\n var _getMultiplierAndStep3 = this.getMultiplierAndStepUnit(),\n multiplier = _getMultiplierAndStep3.multiplier,\n step_unit = _getMultiplierAndStep3.step_unit;\n\n this.range.max = this.validateStartDateEndDate() ? Number.parseInt(moment(this.end_date).diff(moment(this.start_date), step_unit) / multiplier * this.stepunitmultiplier) : 0;\n },\n getMultiplierAndStepUnit: function getMultiplierAndStepUnit() {\n return _service2.default.getMultiplierAndStepUnit(this.current_step_unit);\n },\n resetTimeLayer: function () {\n var _ref = _asyncToGenerator(function* () {\n var layers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.select_layers;\n\n this.pause();\n yield _service2.default.resetTimeLayer(layers);\n layers.forEach(function (l) {\n return l.timed = false;\n });\n });\n\n function resetTimeLayer() {\n return _ref.apply(this, arguments);\n }\n\n return resetTimeLayer;\n }(),\n getTimeLayer: function () {\n var _ref2 = _asyncToGenerator(function* () {\n yield this.$nextTick();\n try {\n yield _service2.default.getTimeLayer({\n layers: this.select_layers,\n step: this.step,\n date: this.currentLayerDateTimeIndex,\n end_date: this.end_date,\n stepunit: this.current_step_unit\n });\n } catch (e) {\n console.warn(e);\n }\n this.select_layers.forEach(function (l) {\n return l.timed = true;\n });\n });\n\n function getTimeLayer() {\n return _ref2.apply(this, arguments);\n }\n\n return getTimeLayer;\n }(),\n changeRangeStep: function () {\n var _ref4 = _asyncToGenerator(function* (_ref3) {\n var value = _ref3.value;\n\n this.range.value = 1 * value;\n\n var _getMultiplierAndStep4 = this.getMultiplierAndStepUnit(),\n mutltiplier = _getMultiplierAndStep4.mutltiplier,\n step_unit = _getMultiplierAndStep4.step_unit;\n\n this.currentLayerDateTimeIndex = moment(this.start_date).add(this.range.value * mutltiplier, step_unit);\n yield this.getTimeLayer();\n });\n\n function changeRangeStep(_x2) {\n return _ref4.apply(this, arguments);\n }\n\n return changeRangeStep;\n }(),\n changeStartDateTime: function changeStartDateTime() {\n var datetime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n datetime = moment(datetime).isValid() ? datetime : null;\n this.start_date = datetime;\n this.currentLayerDateTimeIndex = datetime;\n this.resetRangeInputData();\n if (moment(datetime).isValid()) {\n this.getTimeLayer();\n } else {\n this.resetTimeLayer();\n }\n },\n changeEndDateTime: function () {\n var _ref5 = _asyncToGenerator(function* (datetime) {\n this.end_date = datetime;\n\n this.resetRangeInputData();\n });\n\n function changeEndDateTime(_x4) {\n return _ref5.apply(this, arguments);\n }\n\n return changeEndDateTime;\n }(),\n validateStartDateEndDate: function validateStartDateEndDate() {\n if (this.start_date && this.end_date) {\n return moment(this.start_date).isValid() && moment(this.end_date).isValid();\n }\n return false;\n },\n setStatus: function setStatus() {\n var status = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n this.status = status;\n },\n setCurrentDateTime: function setCurrentDateTime(status) {\n var step = 1 * this.getStepValue();\n\n var _getMultiplierAndStep5 = this.getMultiplierAndStepUnit(),\n multiplier = _getMultiplierAndStep5.multiplier,\n step_unit = _getMultiplierAndStep5.step_unit;\n\n this.currentLayerDateTimeIndex = moment(this.currentLayerDateTimeIndex)[1 === status ? 'add' : 'subtract'](step * multiplier, step_unit);\n },\n getStepValue: function getStepValue() {\n return 1 * this.step * this.stepunitmultiplier;\n },\n run: function run(status) {\n var _this2 = this;\n\n if (status !== this.status) {\n var waiting = false;\n clearInterval(this.intervalEventHandler);\n this.intervalEventHandler = setInterval(_asyncToGenerator(function* () {\n if (!waiting) {\n try {\n var _step = 1 * _this2.step;\n _this2.range.value = status === 1 ? _this2.range.value + _step : _this2.range.value - _step;\n if (_this2.range.value > _this2.range.max || _this2.range.value < 0) {\n _this2.resetRangeInputData();\n _this2.pause();\n _this2.fastBackwardForward(-1);\n } else {\n _this2.setCurrentDateTime(status);\n waiting = true;\n try {\n yield _this2.getTimeLayer();\n } catch (e) {\n console.warn(e);\n }\n waiting = false;\n }\n } catch (e) {\n console.warn(e);\n _this2.pause();\n }\n }\n }), 1000);\n this.setStatus(status);\n } else {\n this.pause();\n }\n },\n pause: function pause() {\n clearInterval(this.intervalEventHandler);\n this.intervalEventHandler = null;\n this.setStatus();\n },\n stepBackwardForward: function stepBackwardForward(direction) {\n var step = this.getStepValue();\n this.range.value = 1 === direction ? this.range.value + step : this.range.value - step;\n this.setCurrentDateTime(direction);\n this.getTimeLayer();\n },\n fastBackwardForward: function fastBackwardForward(direction) {\n if (1 === direction) {\n this.range.value = this.range.max;\n this.currentLayerDateTimeIndex = this.end_date;\n } else {\n this.range.value = this.range.min;\n this.currentLayerDateTimeIndex = this.start_date;\n }\n this.getTimeLayer();\n },\n hideSingleLayerSelectionClear: function hideSingleLayerSelectionClear() {\n $(this.$refs['select-layers']).siblings('.select2-container').find('.select2-selection__choice__remove').hide();\n }\n },\n watch: {\n step: function step() {\n this.getTimeLayer();\n },\n\n current_step_unit: {\n handler: function () {\n var _ref7 = _asyncToGenerator(function* (step_unit) {\n this.change_step_unit = true;\n this.select_layers.forEach(function (layer) {\n return layer.options.stepunit = step_unit;\n });\n this.current_step_unit_label = _constant.STEP_UNITS.find(function (_step_unit) {\n return _step_unit.moment === step_unit;\n }).label;\n this.initLayerTimeseries();\n yield this.$nextTick();\n\n this.change_step_unit = false;\n });\n\n function handler(_x6) {\n return _ref7.apply(this, arguments);\n }\n\n return handler;\n }(),\n\n immediate: false\n },\n current_layers_index: {\n immediate: false,\n handler: function () {\n var _ref8 = _asyncToGenerator(function* (ni, oi) {\n var _this3 = this;\n\n yield this.$nextTick();\n if (1 === ni.length) {\n this.hideSingleLayerSelectionClear();\n };\n yield this.resetTimeLayer(oi.map(function (index) {\n return _this3.layers[index];\n }));\n this.initLayerTimeseries();\n });\n\n function handler(_x7, _x8) {\n return _ref8.apply(this, arguments);\n }\n\n return handler;\n }()\n },\n 'panel.open': function panelOpen(bool) {\n if (bool) {\n this.initLayerTimeseries();\n } else {\n this.resetTimeLayer();\n }\n },\n validRangeDates: function validRangeDates(bool) {\n if (!bool) {\n this.changeStartDateTime(this.start_date);\n }\n }\n },\n created: function created() {\n this.intervalEventHandler = null;\n },\n mounted: function () {\n var _ref9 = _asyncToGenerator(function* () {\n var _this4 = this;\n\n this.disabledSingleLayerClickUnSelect = function () {\n setTimeout(function () {\n if (1 === _this4.select_layers.length) {\n $('.select2-results__options li[aria-selected=\"true\"]').addClass('g3w-disabled');\n } else {\n $('.select2-results__options li').removeClass('g3w-disabled');\n }\n });\n };\n yield this.$nextTick();\n\n _service2.default.onafter('open', function () {\n $('#timeserieslayer').on('select2:open', _this4.disabledSingleLayerClickUnSelect);\n });\n\n _service2.default.onafter('close', function () {\n $('#timeserieslayer').off('select2:open', _this4.disabledSingleLayerClickUnSelect);\n });\n });\n\n function mounted() {\n return _ref9.apply(this, arguments);\n }\n\n return mounted;\n }(),\n beforeDestroy: function beforeDestroy() {\n _service2.default.clear();\n }\n};\n})()\nif (module.exports.__esModule) module.exports = module.exports.default\nvar __vue__options__ = (typeof module.exports === \"function\"? module.exports.options: module.exports)\n__vue__options__.render = function render () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:\"treeview-menu\",staticStyle:{\"position\":\"relative\",\"padding\":\"10px\",\"color\":\"#FFFFFF\"},attrs:{\"id\":\"g3w_raster_timeseries_content\"}},[_c('li',[_c('form',{directives:[{name:\"disabled\",rawName:\"v-disabled\",value:(_vm.formDisabled),expression:\"formDisabled\"}]},[_c('label',{staticStyle:{\"display\":\"block\"}},[_vm._v(\"Layer\")]),_vm._v(\" \"),_c('select',{directives:[{name:\"select2\",rawName:\"v-select2\",value:('current_layers_index'),expression:\"'current_layers_index'\"}],ref:\"select-layers\",staticClass:\"form-control\",attrs:{\"id\":\"timeserieslayer\",\"multiple\":_vm.layers.length > 0,\"search\":false}},_vm._l((_vm.layers),function(layer,index){return _c('option',{key:layer.id,domProps:{\"value\":index,\"selected\":_vm.current_layers_index.indexOf(index.toString()) > -1}},[_vm._v(\"\\n \"+_vm._s(layer.name))])}),0),_vm._v(\" \"),(!_vm.changed_layer)?_c('div',[_c('datetime',{attrs:{\"label\":'plugins.qtimeseries.startdate',\"format\":_vm.format,\"minDate\":_vm.min_date,\"maxDate\":_vm.end_date,\"type\":'datetime',\"value\":_vm.start_date},on:{\"change\":_vm.changeStartDateTime}}),_vm._v(\" \"),_c('datetime',{attrs:{\"label\":'plugins.qtimeseries.enddate',\"format\":_vm.format,\"minDate\":_vm.start_date,\"maxDate\":_vm.max_date,\"type\":'datetime',\"value\":_vm.end_date},on:{\"change\":_vm.changeEndDateTime}}),_vm._v(\" \"),(!_vm.change_step_unit)?_c('label',{directives:[{name:\"t-plugin\",rawName:\"v-t-plugin:pre\",value:('qtimeseries.step'),expression:\"'qtimeseries.step'\",arg:\"pre\"}]},[_vm._v(\"\\n [\"),_c('span',{directives:[{name:\"t-plugin\",rawName:\"v-t-plugin\",value:((\"qtimeseries.stepsunit.\" + _vm.current_step_unit_label)),expression:\"`qtimeseries.stepsunit.${current_step_unit_label}`\"}]}),_vm._v(\" ]\\n \")]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.step),expression:\"step\"}],staticClass:\"form-control\",attrs:{\"type\":\"number\",\"min\":_vm.range.min,\"max\":_vm.range.max,\"step\":_vm.stepunitmultiplier},domProps:{\"value\":(_vm.step)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.step=$event.target.value}}}),_vm._v(\" \"),_c('range',{directives:[{name:\"disabled\",rawName:\"v-disabled\",value:(_vm.range.max === _vm.range.min ),expression:\"range.max === range.min \"}],ref:\"rangecomponent\",attrs:{\"label\":\"plugins.qtimeseries.steps\",\"max\":_vm.range.max,\"value\":_vm.range.value,\"min\":_vm.range.min},on:{\"change-range\":_vm.changeRangeStep}}),_vm._v(\" \"),_c('label',{staticStyle:{\"display\":\"block\"}}),_vm._v(\" \"),_c('select',{directives:[{name:\"select2\",rawName:\"v-select2\",value:('current_step_unit'),expression:\"'current_step_unit'\"}],staticClass:\"form-control\",attrs:{\"id\":\"g3w-timeseries-select-unit\",\"search\":false}},_vm._l((_vm.step_units),function(step_unit){return _c('option',{directives:[{name:\"t-plugin\",rawName:\"v-t-plugin\",value:((\"qtimeseries.stepsunit.\" + (step_unit.label))),expression:\"`qtimeseries.stepsunit.${step_unit.label}`\"}],key:step_unit.moment,domProps:{\"value\":step_unit.moment,\"selected\":_vm.current_step_unit == step_unit.moment}})}),0)],1):_vm._e()]),_vm._v(\" \"),_c('div',{staticStyle:{\"display\":\"flex\",\"justify-content\":\"space-between\",\"margin-top\":\"10px\"}},[_c('button',{directives:[{name:\"disabled\",rawName:\"v-disabled\",value:(!_vm.validRangeDates || _vm.range.value === 0),expression:\"!validRangeDates || range.value === 0\"}],staticClass:\"sidebar-button skin-button btn btn-block\",staticStyle:{\"margin\":\"2px\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.fastBackwardForward(-1)}}},[_c('span',{class:_vm.g3wtemplate.getFontClass('fast-backward')})]),_vm._v(\" \"),_c('button',{directives:[{name:\"disabled\",rawName:\"v-disabled\",value:(!_vm.validRangeDates || _vm.range.value <= 0),expression:\"!validRangeDates || range.value <= 0\"}],staticClass:\"sidebar-button skin-button btn btn-block\",staticStyle:{\"margin\":\"2px\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.stepBackwardForward(-1)}}},[_c('span',{class:_vm.g3wtemplate.getFontClass('step-backward')})]),_vm._v(\" \"),_c('button',{directives:[{name:\"disabled\",rawName:\"v-disabled\",value:(!_vm.validRangeDates || _vm.range.value <= 0),expression:\"!validRangeDates || range.value <= 0\"}],staticClass:\"sidebar-button skin-button btn btn-block\",class:{toggled: _vm.status === -1},staticStyle:{\"margin\":\"2px\",\"transform\":\"rotate(180deg)\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.run(-1)}}},[_c('span',{class:_vm.g3wtemplate.getFontClass('run')})]),_vm._v(\" \"),_c('button',{staticClass:\"sidebar-button skin-button btn btn-block\",class:{toggled: _vm.status === 0},staticStyle:{\"margin\":\"2px\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.pause($event)}}},[_c('span',{class:_vm.g3wtemplate.getFontClass('pause')})]),_vm._v(\" \"),_c('button',{directives:[{name:\"disabled\",rawName:\"v-disabled\",value:(!_vm.validRangeDates || _vm.range.value >= _vm.range.max),expression:\"!validRangeDates || range.value >= range.max\"}],staticClass:\"sidebar-button skin-button btn btn-block\",class:{toggled: _vm.status === 1},staticStyle:{\"margin\":\"2px\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.run(1)}}},[_c('span',{class:_vm.g3wtemplate.getFontClass('run')})]),_vm._v(\" \"),_c('button',{directives:[{name:\"disabled\",rawName:\"v-disabled\",value:(!_vm.validRangeDates || _vm.range.value >= _vm.range.max),expression:\"!validRangeDates || range.value >= range.max\"}],staticClass:\"sidebar-button skin-button btn btn-block\",staticStyle:{\"margin\":\"2px\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.stepBackwardForward(1)}}},[_c('span',{class:_vm.g3wtemplate.getFontClass('step-forward')})]),_vm._v(\" \"),_c('button',{directives:[{name:\"disabled\",rawName:\"v-disabled\",value:(!_vm.validRangeDates || _vm.range.value === _vm.range.max),expression:\"!validRangeDates || range.value === range.max\"}],staticClass:\"sidebar-button skin-button btn btn-block\",staticStyle:{\"margin\":\"2px\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.fastBackwardForward(1)}}},[_c('span',{class:_vm.g3wtemplate.getFontClass('fast-forward')})])])])])}\n__vue__options__.staticRenderFns = []\n\n},{\"../constant\":12,\"../service\":14}],2:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n title: \"Zeitreihen\",\n current_date: 'Aktuelles Datum',\n steps: 'Stufen',\n step: 'Stufe',\n startdate: \"Anfangsdatum\",\n enddate: \"Enddatum\",\n stepsunit: {\n label: \"Stufeneinheit\",\n centuries: 'Jahrhunderte',\n decades: 'Jahrzehnte',\n years: 'Jahre',\n months: 'Monate',\n weeks: 'Wochen',\n days: 'Tage',\n hours: 'Stunden',\n minutes: 'Minuten',\n seconds: 'Sekunden',\n milliseconds: \"Millisekunden\"\n },\n tooltips: {\n showcharts: \"Diagramme zeigen\"\n }\n};\n\n},{}],3:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n title: \"Time Series\",\n current_date: 'Current Date',\n steps: 'Steps',\n step: 'Step',\n startdate: \"Start Date\",\n enddate: \"End Date\",\n stepsunit: {\n label: \"Step Unit\",\n centuries: 'Centuries',\n decades: 'Decades',\n years: 'Years',\n months: 'Months',\n weeks: 'Weeks',\n days: 'Days',\n hours: 'Hours',\n minutes: 'Minutes',\n seconds: 'Seconds',\n milliseconds: \"Milliseconds\"\n },\n tooltips: {\n showcharts: \"Show Charts\"\n }\n};\n\n},{}],4:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n title: \"Time Series\",\n current_date: 'Current Date',\n steps: 'Steps',\n step: 'Step',\n startdate: \"Start Date\",\n enddate: \"End Date\",\n stepsunit: {\n label: \"Step Unit\",\n centuries: 'Centuries',\n decades: 'Decades',\n years: 'Years',\n months: 'Months',\n weeks: 'Weeks',\n days: 'Days',\n hours: 'Hours',\n minutes: 'Minutes',\n seconds: 'Seconds',\n milliseconds: \"Milliseconds\"\n },\n tooltips: {\n showcharts: \"Show Charts\"\n }\n};\n\n},{}],5:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n title: \"Time Series\",\n current_date: 'Current Date',\n steps: 'Steps',\n step: 'Step',\n startdate: \"Start Date\",\n enddate: \"End Date\",\n stepsunit: {\n label: \"Step Unit\",\n centuries: 'Centuries',\n decades: 'Decades',\n years: 'Years',\n months: 'Months',\n weeks: 'Weeks',\n days: 'Days',\n hours: 'Hours',\n minutes: 'Minutes',\n seconds: 'Seconds',\n milliseconds: \"Milliseconds\"\n },\n tooltips: {\n showcharts: \"Show Charts\"\n }\n};\n\n},{}],6:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _it = require('./it');\n\nvar _it2 = _interopRequireDefault(_it);\n\nvar _en = require('./en');\n\nvar _en2 = _interopRequireDefault(_en);\n\nvar _fi = require('./fi');\n\nvar _fi2 = _interopRequireDefault(_fi);\n\nvar _se = require('./se');\n\nvar _se2 = _interopRequireDefault(_se);\n\nvar _fr = require('./fr');\n\nvar _fr2 = _interopRequireDefault(_fr);\n\nvar _de = require('./de');\n\nvar _de2 = _interopRequireDefault(_de);\n\nvar _ro = require('./ro');\n\nvar _ro2 = _interopRequireDefault(_ro);\n\nvar _pl = require('./pl');\n\nvar _pl2 = _interopRequireDefault(_pl);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = {\n it: _it2.default,\n en: _en2.default,\n fi: _fi2.default,\n se: _se2.default,\n fr: _fr2.default,\n de: _de2.default,\n ro: _ro2.default,\n pl: _pl2.default\n};\n\n},{\"./de\":2,\"./en\":3,\"./fi\":4,\"./fr\":5,\"./it\":7,\"./pl\":8,\"./ro\":9,\"./se\":10}],7:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n title: \"Serie Temporali\",\n current_date: 'Data Corrente',\n steps: 'Passi',\n step: 'Passo',\n startdate: \"Data Inizio\",\n enddate: \"Data Fine\",\n stepsunit: {\n label: \"Unità di passo\",\n centuries: 'Secoli',\n decades: 'Decadi',\n years: 'Anni',\n months: 'Mesi',\n weeks: 'Settimane',\n days: 'Giorni',\n hours: 'Ore',\n minutes: 'Minuti',\n seconds: 'Secondi',\n milliseconds: \"Millisecondi\"\n },\n tooltips: {\n showcharts: \"Visualizza Grafici\"\n }\n};\n\n},{}],8:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n title: \"Time Series\",\n current_date: 'Current Date',\n steps: 'Steps',\n step: 'Step',\n startdate: \"Start Date\",\n enddate: \"End Date\",\n stepsunit: {\n label: \"Step Unit\",\n centuries: 'Centuries',\n decades: 'Decades',\n years: 'Years',\n months: 'Months',\n weeks: 'Weeks',\n days: 'Days',\n hours: 'Hours',\n minutes: 'Minutes',\n seconds: 'Seconds',\n milliseconds: \"Milliseconds\"\n },\n tooltips: {\n showcharts: \"Show Charts\"\n }\n};\n\n},{}],9:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n title: \"Intervale de timp\",\n current_date: 'Data Curentă',\n steps: 'Pași',\n step: 'Pas',\n startdate: \"Data Început\",\n enddate: \"Data Sfârșit\",\n stepsunit: {\n label: \"Unitatea de pas\",\n centuries: 'Secole',\n decades: 'Decenii',\n years: 'Ani',\n months: 'Luni',\n weeks: 'Săptămâni',\n days: 'Zile',\n hours: 'Ore',\n minutes: 'Minute',\n seconds: 'Secunde',\n milliseconds: \"Milisecunde\"\n },\n tooltips: {\n showcharts: \"Arată Graficele\"\n }\n};\n\n},{}],10:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n title: \"Time Series\",\n current_date: 'Current Date',\n steps: 'Steps',\n step: 'Step',\n startdate: \"Start Date\",\n enddate: \"End Date\",\n stepsunit: {\n label: \"Step Unit\",\n centuries: 'Centuries',\n decades: 'Decades',\n years: 'Years',\n months: 'Months',\n weeks: 'Weeks',\n days: 'Days',\n hours: 'Hours',\n minutes: 'Minutes',\n seconds: 'Seconds',\n milliseconds: \"Milliseconds\"\n },\n tooltips: {\n showcharts: \"Show Charts\"\n }\n};\n\n},{}],11:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _i18n = require('./i18n');\n\nvar _i18n2 = _interopRequireDefault(_i18n);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = {\n i18n: _i18n2.default,\n name: 'qtimeseries'\n};\n\n},{\"./i18n\":6}],12:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar STEP_UNITS = exports.STEP_UNITS = [{\n moment: \"100:years\",\n label: \"centuries\",\n qgis: \"c\"\n}, {\n moment: \"10:years\",\n label: \"decades\",\n qgis: \"dec\"\n}, {\n moment: \"years\",\n label: \"years\",\n qgis: \"y\"\n}, {\n moment: \"months\",\n label: \"months\",\n qgis: \"mon\"\n}, {\n moment: \"7:days\",\n label: \"weeks\",\n qgis: \"wk\"\n}, {\n moment: \"days\",\n label: \"days\",\n qgis: \"d\"\n}, {\n moment: \"hours\",\n label: \"hours\",\n qgis: \"h\"\n}, {\n moment: \"minutes\",\n label: \"minutes\",\n qgis: \"min\"\n}, {\n moment: \"seconds\",\n label: \"seconds\",\n qgis: \"s\"\n}, {\n moment: \"milliseconds\",\n label: \"milliseconds\",\n qgis: \"ms\"\n}];\n\n},{}],13:[function(require,module,exports){\nvar _config = require('./config');\n\nvar _config2 = _interopRequireDefault(_config);\n\nvar _service = require('./service');\n\nvar _service2 = _interopRequireDefault(_service);\n\nvar _SidebarItem = require('./components/SidebarItem.vue');\n\nvar _SidebarItem2 = _interopRequireDefault(_SidebarItem);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step(\"next\", value); }, function (err) { step(\"throw\", err); }); } } return step(\"next\"); }); }; }\n\nvar _g3wsdk$core$utils = g3wsdk.core.utils,\n base = _g3wsdk$core$utils.base,\n inherit = _g3wsdk$core$utils.inherit;\nvar Plugin = g3wsdk.core.plugin.Plugin;\nvar GUI = g3wsdk.gui.GUI;\n\n\nvar _Plugin = function _Plugin() {\n var _this = this;\n\n base(this, {\n name: _config2.default.name,\n i18n: _config2.default.i18n,\n service: _service2.default\n });\n\n this.panel; // plugin panel reference\n\n this.setReady(true);\n\n this.onAfterRegisterPluginKey;\n\n var enabled = this.registerPlugin(this.config.gid);\n\n /**\n * @since 3.6.2 Need to be move instance methods before call it\n */\n\n //setup plugin interface\n this.setupGui = function () {\n var service = this.getService();\n this.createSideBarComponent(_SidebarItem2.default, {\n id: _config2.default.name,\n title: 'plugins.' + _config2.default.name + '.title',\n open: false,\n collapsible: true,\n closewhenshowviewportcontent: false,\n iconConfig: {\n color: '#25bce9',\n icon: 'time'\n },\n mobile: true,\n sidebarOptions: {\n position: 'catalog'\n },\n events: {\n open: {\n when: 'before',\n cb: function () {\n var _ref = _asyncToGenerator(function* (bool) {\n if (bool) service.open();else service.close();\n });\n\n function cb(_x) {\n return _ref.apply(this, arguments);\n }\n\n return cb;\n }()\n }\n }\n });\n };\n\n this.load = function () {\n this.init();\n };\n\n this.unload = function () {\n this.emit('unload');\n this.service.clear();\n };\n\n // check if it has some condition default true\n if (this.service.loadPlugin()) {\n\n this.setHookLoading({\n loading: true\n });\n\n this.service.once('ready', function (show) {\n //plugin registry\n if (enabled && show) {\n if (!GUI.isready) {\n GUI.on('ready', function () {\n return _this.setupGui.bind(_this);\n });\n } else {\n _this.setupGui();\n }\n }\n\n _this.setHookLoading({\n loading: false\n });\n });\n //inizialize service\n this.service.init(this.config);\n }\n};\n\ninherit(_Plugin, Plugin);\n\nnew _Plugin();\n\n},{\"./components/SidebarItem.vue\":1,\"./config\":11,\"./service\":14}],14:[function(require,module,exports){\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _constant = require('./constant');\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _g3wsdk$core$utils = g3wsdk.core.utils,\n base = _g3wsdk$core$utils.base,\n inherit = _g3wsdk$core$utils.inherit,\n toRawType = _g3wsdk$core$utils.toRawType;\nvar GUI = g3wsdk.gui.GUI;\nvar BasePluginService = g3wsdk.core.plugin.PluginService;\n\n\nvar WMS_PARAMETER = 'TIME';\n\nvar UPDATE_MAPLAYER_OPTIONS = { showSpinner: false };\n\n/**\n * Plugin service inherit from base plugin service\n * @constructor\n */\nfunction PluginService() {\n this.setters = {\n open: function open() {\n this._open();\n },\n close: function close() {\n this._close();\n }\n };\n\n base(this);\n\n this.init = function () {\n var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this.project = this.getCurrentProject();\n this.config = config;\n this.mapService = GUI.getService('map');\n this.getChartConfig = {\n interaction: null,\n keyListener: null,\n indexcolor: 0,\n chart: null,\n layer: new ol.layer.Vector({\n source: new ol.source.Vector()\n })\n };\n\n this.addProjectLayerFromConfigProject();\n\n var show = this.config.layers.length > 0;\n if (show) {\n this.state = {\n loading: false,\n layers: this.config.layers,\n panel: { open: false }\n };\n }\n this.emit('ready', show);\n };\n\n /**\n * Method to add layer from project layers configuration qtimseries\n */\n this.addProjectLayerFromConfigProject = function () {\n var _this = this;\n\n this.project.getConfigLayers().forEach(function (layerConfig) {\n if ('Object' === toRawType(layerConfig.qtimeseries)) {\n var _layerConfig$qtimeser = layerConfig.qtimeseries,\n field = _layerConfig$qtimeser.field,\n _layerConfig$qtimeser2 = _layerConfig$qtimeser.step,\n step = _layerConfig$qtimeser2 === undefined ? 1 : _layerConfig$qtimeser2,\n _layerConfig$qtimeser3 = _layerConfig$qtimeser.units,\n units = _layerConfig$qtimeser3 === undefined ? 'd' : _layerConfig$qtimeser3,\n _layerConfig$qtimeser4 = _layerConfig$qtimeser.start_date,\n start_date = _layerConfig$qtimeser4 === undefined ? null : _layerConfig$qtimeser4,\n _layerConfig$qtimeser5 = _layerConfig$qtimeser.end_date,\n end_date = _layerConfig$qtimeser5 === undefined ? null : _layerConfig$qtimeser5;\n\n\n var startDateTimeZoneOffset = new Date(start_date).getTimezoneOffset();\n var endDateTimeZoneOffset = new Date(end_date).getTimezoneOffset();\n start_date = moment(start_date).add(startDateTimeZoneOffset, 'minutes');\n end_date = moment(end_date).add(endDateTimeZoneOffset, 'minutes');\n var stepunit_and_multiplier = _constant.STEP_UNITS.find(function (step_unit) {\n return step_unit.qgis === units;\n }).moment.split(':');\n var stepunit = stepunit_and_multiplier.length > 1 ? stepunit_and_multiplier[1] : stepunit_and_multiplier[0];\n var stepunitmultiplier = stepunit_and_multiplier.length > 1 ? 1 * stepunit_and_multiplier[0] : 1;\n var id = layerConfig.id;\n var projectLayer = _this.project.getLayerById(id);\n var name = projectLayer.getName();\n var wmsname = projectLayer.getWMSLayerName();\n _this.config.layers.push({\n id: id,\n name: name,\n wmsname: wmsname,\n start_date: start_date,\n end_date: end_date,\n options: {\n range_max: moment(end_date).diff(moment(start_date), stepunit) - 1,\n step: step, //added\n stepunit: stepunit,\n stepunitmultiplier: stepunitmultiplier,\n field: field\n }\n });\n }\n });\n };\n\n /**\n * Get single \n * @param layerId\n * @param date\n * @returns {Promise}\n */\n this.getTimeLayer = function () {\n var _this2 = this;\n\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n layers = _ref.layers,\n date = _ref.date,\n step = _ref.step,\n end_date = _ref.end_date,\n stepunit = _ref.stepunit;\n\n return new Promise(function (resolve, reject) {\n var findDate = void 0;\n var endDate = void 0;\n var ids = layers.map(function (layer) {\n return layer.id;\n });\n var projectLayers = ids.map(function (id) {\n return _this2.project.getLayerById(id);\n });\n projectLayers.forEach(function (projectLayer) {\n return projectLayer.setChecked(true);\n });\n var mapLayersToUpdate = ids.map(function (id) {\n return _this2.mapService.getMapLayerByLayerId(id);\n });\n\n var _getMultiplierAndStep = _this2.getMultiplierAndStepUnit(stepunit),\n multiplier = _getMultiplierAndStep.multiplier,\n step_unit = _getMultiplierAndStep.step_unit;\n\n var findDateTimeZoneOffset = new Date(date).getTimezoneOffset();\n findDate = moment(date).add(Math.abs(findDateTimeZoneOffset), 'minutes').toISOString();\n endDate = moment(findDate).add(step * multiplier, step_unit).toISOString();\n var layerEndDate = moment(end_date).add(Math.abs(findDateTimeZoneOffset), 'minutes').toISOString();\n var isAfter = moment(endDate).isAfter(layerEndDate);\n if (isAfter) endDate = layerEndDate;\n var wmsParam = findDate + '/' + endDate;\n var mapLayersToUpdateDone = mapLayersToUpdate.length;\n mapLayersToUpdate.forEach(function (mapLayerToUpdate) {\n mapLayerToUpdate.once('loadend', function () {\n var info = endDate ? findDate + ' - ' + endDate : findDate;\n _this2.mapService.showMapInfo({\n info: info,\n style: {\n fontSize: '1.2em',\n color: 'grey',\n border: '1px solid grey',\n padding: '10px'\n }\n });\n mapLayersToUpdateDone -= 1;\n mapLayersToUpdateDone === 0 && resolve();\n });\n mapLayerToUpdate.once('loaderror', function () {\n var info = endDate ? findDate + ' - ' + endDate : findDate;\n _this2.mapService.showMapInfo({\n info: info,\n style: {\n fontSize: '1.2em',\n color: 'red',\n border: '1px solid red',\n padding: '10px'\n }\n });\n mapLayersToUpdateDone -= 1;\n mapLayersToUpdateDone === 0 && reject();\n });\n _this2.mapService.updateMapLayer(mapLayerToUpdate, _defineProperty({\n force: true\n }, WMS_PARAMETER, wmsParam), UPDATE_MAPLAYER_OPTIONS);\n });\n });\n };\n\n this.getMultiplierAndStepUnit = function (stepunit) {\n var multiplier_step_unit = stepunit.split(':');\n return {\n multiplier: multiplier_step_unit.length > 1 ? 1 * multiplier_step_unit[0] : 1,\n step_unit: multiplier_step_unit.length > 1 ? multiplier_step_unit[1] : stepunit\n };\n };\n\n this.resetTimeLayer = function (layers) {\n var _this3 = this;\n\n var hideInfo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n return new Promise(function (resolve, reject) {\n var layersLength = layers.length;\n layers.forEach(function (layer) {\n if (layer.timed) {\n var mapLayerToUpdate = _this3.mapService.getMapLayerByLayerId(layer.id);\n hideInfo && mapLayerToUpdate.once('loadend', function () {\n _this3.mapService.showMapInfo();\n layersLength -= 1;\n layersLength === 0 && resolve();\n });\n _this3.mapService.updateMapLayer(mapLayerToUpdate, _defineProperty({\n force: true\n }, WMS_PARAMETER, undefined));\n } else resolve();\n });\n });\n };\n\n /**\n * Method on open time series Panel\n */\n this._open = function () {\n this.state.panel.open = true;\n };\n\n /**\n * Method on close time series Panel\n */\n this._close = function () {\n var layers = this.state.layers.filter(function (layer) {\n return layer.timed;\n });\n layers && this.resetTimeLayer(layers, true);\n this.state.panel.open = false;\n };\n\n /**\n * Clear time series\n */\n this.clear = function () {\n this.close();\n };\n}\n\ninherit(PluginService, BasePluginService);\n\nexports.default = new PluginService();\n\n},{\"./constant\":12}]},{},[13]);\n"],"names":["n","window","initConfig","group","plugins","Object","assign","version","hash","branch","r","e","t","o","i","f","c","require","u","a","Error","code","p","exports","call","length","1","module","_asyncToGenerator","fn","gen","apply","this","arguments","Promise","resolve","reject","step","key","arg","info","value","error","done","then","err","defineProperty","_constant","_service","_service2","obj","__esModule","default","name","data","_PluginService$state","state","_PluginService$state$","layers","undefined","panel","options","start_date","end_date","stepunitmultiplier","format","min_date","max_date","step_units","STEP_UNITS","current_step_unit","stepunit","change_step_unit","current_step_unit_label","find","step_unit","moment","label","range","min","max","changed_layer","current_layers_index","map","_","index","toString","currentLayerDateTimeIndex","status","computed","formDisabled","select_layers","_this","setTimeout","disablerun","validRangeDates","_getMultiplierAndStep","getMultiplierAndStepUnit","multiplier","validateStartDateEndDate","diff","getStepValue","methods","initLayerTimeseries","setDates","resetRangeInputData","getTimeLayer","showCharts","layer","_layers$current_layer","_getMultiplierAndStep2","Number","parseInt","changeRangeInputOnChangeStepUnit","_getMultiplierAndStep3","resetTimeLayer","_ref","pause","yield","forEach","l","timed","_ref2","$nextTick","date","changeRangeStep","_ref4","_ref3","_getMultiplierAndStep4","mutltiplier","add","_x2","changeStartDateTime","datetime","isValid","changeEndDateTime","_ref5","_x4","setStatus","setCurrentDateTime","_getMultiplierAndStep5","run","waiting","_this2","clearInterval","intervalEventHandler","setInterval","_step","fastBackwardForward","stepBackwardForward","direction","hideSingleLayerSelectionClear","$","$refs","siblings","hide","watch","handler","_ref7","_step_unit","_x6","immediate","_ref8","ni","oi","_this3","_x7","_x8","panel.open","bool","created","mounted","_ref9","_this4","disabledSingleLayerClickUnSelect","addClass","removeClass","onafter","on","off","beforeDestroy","clear","__vue__options__","render","_vm","_h","$createElement","_c","_self","staticClass","staticStyle","position","padding","color","attrs","id","directives","rawName","expression","display","_v","ref","multiple","search","_l","domProps","selected","indexOf","_s","_e","minDate","maxDate","type","change","input","$event","target","composing","change-range","justify-content","margin-top","margin","click","stopPropagation","class","g3wtemplate","getFontClass","toggled","transform","staticRenderFns","../constant","../service","2","title","current_date","steps","startdate","enddate","stepsunit","centuries","decades","years","months","weeks","days","hours","minutes","seconds","milliseconds","tooltips","showcharts","3","4","5","6","_it2","_interopRequireDefault","_en2","_fi2","_se2","_fr2","_de2","_ro2","_pl2","it","en","fi","se","fr","de","ro","pl","./de","./en","./fi","./fr","./it","./pl","./ro","./se","7","8","9","10","11","_i18n","_i18n2","i18n","./i18n","12","qgis","13","_config2","_SidebarItem2","_Plugin","enabled","base","service","setReady","onAfterRegisterPluginKey","registerPlugin","config","gid","setupGui","getService","createSideBarComponent","open","collapsible","closewhenshowviewportcontent","iconConfig","icon","mobile","sidebarOptions","events","when","cb","close","_x","load","init","unload","emit","loadPlugin","setHookLoading","loading","once","show","GUI","isready","bind","_g3wsdk$core$utils","g3wsdk","core","utils","inherit","Plugin","plugin","gui","./components/SidebarItem.vue","./config","./service","14","_defineProperty","enumerable","configurable","writable","toRawType","BasePluginService","PluginService","UPDATE_MAPLAYER_OPTIONS","showSpinner","setters","_open","_close","project","getCurrentProject","mapService","getChartConfig","interaction","keyListener","indexcolor","chart","ol","Vector","source","addProjectLayerFromConfigProject","getConfigLayers","layerConfig","field","units","wmsname","qtimeseries","_layerConfig$qtimeser","_layerConfig$qtimeser2","_layerConfig$qtimeser3","_layerConfig$qtimeser4","_layerConfig$qtimeser5","startDateTimeZoneOffset","Date","getTimezoneOffset","endDateTimeZoneOffset","stepunit_and_multiplier","split","projectLayer","getLayerById","getName","getWMSLayerName","push","range_max","endDate","ids","mapLayersToUpdate","setChecked","getMapLayerByLayerId","findDateTimeZoneOffset","findDate","Math","abs","toISOString","layerEndDate","isAfter","wmsParam","mapLayersToUpdateDone","mapLayerToUpdate","showMapInfo","style","fontSize","border","updateMapLayer","force","multiplier_step_unit","hideInfo","layersLength","filter","./constant"],"mappings":"CAAA,KAAM,IAAIA,EAAEC,QAAQA,OAAOC,YAAYD,OAAOC,WAAWC,OAAOF,OAAOC,WAAWC,MAAMC,QAAQJ,IAAIA,EAAe,YAAEK,OAAOC,OAAON,EAAe,aAAG,GAAG,CAACO,QAAQ,QAAQC,KAAK,UAAUC,OAAO,QAAQ,CAAC,EAAG,GAAE,EACjM,SAASC,EAAEC,EAAEX,EAAEY,GAAG,SAASC,EAAEC,EAAEC,GAAG,GAAG,CAACf,EAAEc,GAAG,CAAC,GAAG,CAACH,EAAEG,GAAG,CAAC,IAAIE,EAAE,YAAY,OAAOC,SAASA,QAAQ,GAAG,CAACF,GAAGC,EAAE,OAAOA,EAAEF,EAAE,CAAA,CAAE,EAAE,GAAGI,EAAE,OAAOA,EAAEJ,EAAE,CAAA,CAAE,EAAgD,MAA1CK,EAAE,IAAIC,MAAM,uBAAuBN,EAAE,GAAG,GAAUO,KAAK,mBAAmBF,CAAC,CAAKG,EAAEtB,EAAEc,GAAG,CAACS,QAAQ,EAAE,EAAEZ,EAAEG,GAAG,GAAGU,KAAKF,EAAEC,QAAQ,SAASb,GAAoB,OAAOG,EAAlBF,EAAEG,GAAG,GAAGJ,IAAeA,CAAC,CAAC,EAAEY,EAAEA,EAAEC,QAAQb,EAAEC,EAAEX,EAAEY,CAAC,CAAC,CAAC,OAAOZ,EAAEc,GAAGS,OAAO,CAAC,IAAI,IAAIL,EAAE,YAAY,OAAOD,SAASA,QAAQH,EAAE,EAAEA,EAAEF,EAAEa,OAAOX,CAAC,GAAGD,EAAED,EAAEE,EAAE,EAAE,OAAOD,CAAC,EAAc,CAACa,EAAE,CAAC,SAAST,EAAQU,EAAOJ,GAcxe,SA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