{"version":3,"sources":["webpack:///./src/layouts/DefaultLayout.vue?b4cf","webpack:///./src/layouts/DefaultLayout.vue","webpack:///./src/layouts/DefaultLayout.vue?8707","webpack:///./src/layouts/DefaultLayout.vue?7673","webpack:///./src/components/general/Messages.vue?3276","webpack:///./src/components/general/Messages.vue","webpack:///./src/components/general/Messages.vue?7f9f","webpack:///./src/components/general/Messages.vue?cf22","webpack:///./src/components/general/Breadcrumbs.vue?683a","webpack:///./src/components/general/Breadcrumbs.vue","webpack:///./src/components/general/Breadcrumbs.vue?69cb","webpack:///./src/components/general/Breadcrumbs.vue?ebc0","webpack:///./src/components/general/SelectBox.vue?d797","webpack:///./src/components/general/SelectBox.vue","webpack:///./src/components/general/SelectBox.vue?81ce","webpack:///./src/components/general/SelectBox.vue?9312","webpack:///./src/components/general/Messages.vue?bc99","webpack:///./src/components/general/CustomMonthRangePicker.vue?7ea2","webpack:///./src/components/general/CustomMonthRangePicker.vue?9ca9","webpack:///./src/components/general/CustomMonthRangePicker.vue","webpack:///./src/components/general/CustomMonthRangePicker.vue?144e","webpack:///./src/components/general/CustomMonthRangePicker.vue?9a3e","webpack:///./src/components/CollectionVolumesList.vue?1504","webpack:///./src/components/CollectionVolumesList.vue","webpack:///./src/components/CollectionVolumesList.vue?af5a","webpack:///./src/components/CollectionVolumesList.vue?9646","webpack:///./src/components/CollectionVolumesList.vue?2bf1"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","class","noBottomPadding","_t","staticRenderFns","required","default","component","directives","name","rawName","value","messages","length","expression","_l","message","index","key","getAlertClass","type","_v","_s","text","on","$event","preventDefault","stopPropagation","onRemoveMessage","EventBus","$on","Config","AddMessageEvent","onAddMessage","$off","push","Message","info","success","warning","error","splice","$t","authProfileName","profileName","_e","profile","hasCustomers","hasMultipleCustomers","attrs","showCustomerSelection","apply","arguments","selectedCustomer","breadcrumb","routeName","params","routeParams","query","routeQuery","userProfile","data","isAuthenticated","firstName","lastName","undefined","auth","authProfile","given_name","family_name","customers","$emit","ShowCustomerSelectionModalEvent","disabled","readonly","placeholder","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","theValue","multiple","option","domProps","optionGroups","optionGroup","optionGroupIndex","immediate","deep","$refs","elDatePicker","focus","ref","pickerOptions","model","callback","$$v","dateRange","maxRangeLengthInMonths","newSelectionFromDate","maxDate","maxDateByMaxRangeLength","$moment","add","subtract","toDate","shortcuts","shortcut","onClick","picker","range","fromDate","onPick","minDate","disabledDate","date","combinedMaxDate","Date","monthRange","from","year","month","to","onValueChanged","newMonthRange","getFullYear","getMonth","collections","mainColumnName","yearAndMonth","_f","extraColumnName","extraColumnIndex","collection","customerVolumeIndex","product","productIndex","style","getProductStyle","productDisplayName","volume","volumeIndex","totalVolume","extraColumn","totalVolumes","volumes","total","totalIndex","extraColumnTotal","color","getProductColor","productColorCategory"],"mappings":"8HAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAACE,YAAY,UAAUC,MAAM,CAAE,QAASP,EAAIQ,kBAAmB,CAACJ,EAAG,MAAM,CAACJ,EAAIS,GAAG,YAAY,MACnMC,EAAkB,G,4GCWD,EAArB,2SAA2C,QAEzC,gBADC,eAAK,CAAEC,UAAU,EAAOC,QAAS,kBAAM,M,sCADrB,EAAa,gBADjC,QACoB,WCZmX,I,YCOpYC,EAAY,eACd,EACAd,EACAW,GACA,EACA,KACA,KACA,MAIa,OAAAG,E,sEClBf,IAAId,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACU,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOjB,EAAIkB,SAASC,OAAS,EAAGC,WAAW,wBAAwBd,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACE,YAAY,mBAAmB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BAAzB,eAAK,CAAE1J,UAAU,K,qCACQ,gBAAzB,eAAK,CAAEA,UAAU,K,kCACQ,gBAAzB,eAAK,CAAEA,UAAU,K,qCAElB,gBADC,eAAK,CAAEA,UAAU,EAAOC,QAAS,gB,uCAJf,EAAqB,gBADzC,QACoB,WC5J2X,I,wBCQ5YC,EAAY,eACd,EACAd,EACAW,GACA,EACA,KACA,WACA,MAIa,OAAAG,E,2CCnBf","file":"js/performance~sustainability.5176e371.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('main',{staticClass:\"content\",class:{ 'pb-6': !_vm.noBottomPadding }},[_c('div',[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class DefaultLayout extends Vue {\r\n @Prop({ required: false, default: () => false })\r\n public noBottomPadding!: boolean;\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLayout.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLayout.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DefaultLayout.vue?vue&type=template&id=29cdfac5&\"\nimport script from \"./DefaultLayout.vue?vue&type=script&lang=ts&\"\nexport * from \"./DefaultLayout.vue?vue&type=script&lang=ts&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.messages.length > 0),expression:\"messages.length > 0\"}],staticClass:\"messages mt-2\"},[_c('div',{staticClass:\"container-fluid\"},[_vm._l((_vm.messages),function(message,index){return [_c('div',{key:index,staticClass:\"c-alert mb-2\",class:_vm.getAlertClass(message.type)},[_c('span',{staticClass:\"c-alert__text\"},[_vm._v(_vm._s(message.text))]),_c('span',{staticClass:\"js-toggle-hidden c-alert__close\",on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onRemoveMessage(index)}}})])]})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { Message, MessageType } from '@/models/Message';\r\nimport { EventBus } from '@/utils/EventBus';\r\nimport { Config } from '@/utils/Config';\r\n\r\n@Component\r\nexport default class Messages extends Vue {\r\n private messages: Message[] = [];\r\n\r\n private created(): void {\r\n EventBus.$on(Config.AddMessageEvent, this.onAddMessage);\r\n }\r\n\r\n private destroyed(): void {\r\n EventBus.$off(Config.AddMessageEvent, this.onAddMessage);\r\n }\r\n\r\n private onAddMessage(message: Message) {\r\n this.messages.push(message);\r\n }\r\n\r\n private getAlertClass(type: MessageType): string {\r\n switch (type) {\r\n case MessageType.info:\r\n return 'c-alert--blue';\r\n case MessageType.success:\r\n return 'c-alert--green';\r\n case MessageType.warning:\r\n return 'c-alert--yellow';\r\n case MessageType.error:\r\n return 'c-alert--red';\r\n }\r\n return '';\r\n }\r\n\r\n private onRemoveMessage(index: number) {\r\n this.messages.splice(index, 1);\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Messages.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Messages.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Messages.vue?vue&type=template&id=0dc8484e&scoped=true&\"\nimport script from \"./Messages.vue?vue&type=script&lang=ts&\"\nexport * from \"./Messages.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Messages.vue?vue&type=style&index=0&id=0dc8484e&scoped=true&lang=scss&\"\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 \"0dc8484e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c-breadcrumbs c-breadcrumbs--yellow\"},[_c('div',{staticClass:\"container-fluid\"},[_c('div',{staticClass:\"d-flex flex-column flex-sm-row justify-content-between\"},[_c('div',{staticClass:\"order-2 u-sm-text-right pl-sm-3\"},[(_vm.isAuthenticated)?_c('span',{staticClass:\"d-none d-sm-inline\"},[(_vm.authProfile)?[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t('breadcrumbs.other.loggedInAs'))+\": \")]),_c('span',{staticClass:\"nowrap u-tiny u-text-color-sodra-black\"},[_vm._v(_vm._s(_vm.authProfileName))])]:(_vm.profile)?[_c('span',{staticClass:\"nowrap u-tiny u-text-color-sodra-black\"},[_vm._v(_vm._s(_vm.profileName))])]:_vm._e()],2):_vm._e(),(_vm.profile && _vm.hasCustomers)?_c('span',{class:{\n 'd-none d-sm-inline': !_vm.hasMultipleCustomers,\n }},[_c('span',{staticClass:\"d-none d-sm-inline\"},[_vm._v(\", \")]),(_vm.hasMultipleCustomers)?_c('a',{staticClass:\"nowrap\",attrs:{\"href\":\"\"},on:{\"click\":function($event){$event.preventDefault();return _vm.showCustomerSelection.apply(null, arguments)}}},[_c('span',{staticClass:\"nowrap\"},[(_vm.selectedCustomer)?[_vm._v(_vm._s(_vm.selectedCustomer.name))]:[_vm._v(_vm._s(_vm.$t('breadcrumbs.other.chooseACustomer')))]],2),_c('i',{staticClass:\"material-icons\"},[_vm._v(\"expand_more\")])]):(_vm.selectedCustomer)?_c('span',{staticClass:\"nowrap\"},[_vm._v(_vm._s(_vm.selectedCustomer.name))]):_vm._e()]):_vm._e()]),_c('div',[_c('router-link',{staticClass:\"c-breadcrumbs__item nowrap\",attrs:{\"to\":'/'}},[_c('i',{staticClass:\"material-icons\",attrs:{\"data-element-id\":\"home\"}},[_vm._v(\"home\")]),_vm._v(\" \"+_vm._s(_vm.$t('breadcrumbs.other.startPage'))+\" \")]),(_vm.items)?[_vm._l((_vm.items),function(breadcrumb,index){return [(breadcrumb.routeName)?_c('router-link',{key:index,staticClass:\"c-breadcrumbs__item nowrap\",attrs:{\"to\":{\n name: breadcrumb.routeName,\n params: breadcrumb.routeParams,\n query: breadcrumb.routeQuery,\n }}},[_vm._v(_vm._s(breadcrumb.name))]):_c('span',{key:index,staticClass:\"c-breadcrumbs__item nowrap\"},[_vm._v(_vm._s(breadcrumb.name))])]})]:_vm._e()],2)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Breadcrumb } from '@/models/Breadcrumb';\r\nimport { userProfileModule } from '@/store/modules/userProfile';\r\nimport { UserProfile } from '@/models/UserProfile/UserProfile';\r\nimport { Customer } from '@/models/Customer';\r\nimport { EventBus } from '@/utils/EventBus';\r\nimport { Config } from '@/utils/Config';\r\nimport { authModule } from '@/store/modules/auth';\r\nimport { Profile } from 'oidc-client';\r\n\r\n@Component\r\nexport default class Breadcrumbs extends Vue {\r\n @Prop({ required: false, default: () => [] })\r\n private items!: Breadcrumb[];\r\n\r\n private get profile(): UserProfile | null {\r\n return userProfileModule.data !== null && userProfileModule.data.userProfile\r\n ? userProfileModule.data.userProfile\r\n : null;\r\n }\r\n\r\n private get profileName(): string | undefined {\r\n return this.isAuthenticated && this.profile\r\n ? `${this.profile.firstName} ${this.profile.lastName}`\r\n : undefined;\r\n }\r\n\r\n private get authProfile(): Profile | null | undefined {\r\n return authModule.profile;\r\n }\r\n\r\n private get authProfileName(): string | undefined {\r\n return this.isAuthenticated && this.authProfile\r\n ? `${this.authProfile.given_name} ${this.authProfile.family_name}`\r\n : undefined;\r\n }\r\n\r\n private get isAuthenticated(): boolean {\r\n return authModule.isAuthenticated;\r\n }\r\n\r\n private get selectedCustomer(): Customer | null {\r\n return userProfileModule.selectedCustomer;\r\n }\r\n\r\n private get hasCustomers(): boolean {\r\n return (\r\n this.profile !== null &&\r\n this.profile.customers !== undefined &&\r\n this.profile.customers.length > 0\r\n );\r\n }\r\n\r\n private get hasMultipleCustomers(): boolean {\r\n return (\r\n this.profile !== null &&\r\n this.profile.customers !== undefined &&\r\n this.profile.customers.length > 1\r\n );\r\n }\r\n\r\n private showCustomerSelection() {\r\n EventBus.$emit(Config.ShowCustomerSelectionModalEvent);\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Breadcrumbs.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Breadcrumbs.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Breadcrumbs.vue?vue&type=template&id=ad90db9c&\"\nimport script from \"./Breadcrumbs.vue?vue&type=script&lang=ts&\"\nexport * from \"./Breadcrumbs.vue?vue&type=script&lang=ts&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.theValue),expression:\"theValue\"}],staticClass:\"o-select mb-0\",attrs:{\"disabled\":_vm.disabled,\"readonly\":_vm.readonly,\"placeholder\":_vm.placeholder},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.theValue=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_vm._l((_vm.options),function(option,index){return _c('option',{key:(\"options|\" + index),attrs:{\"label\":option.text,\"disabled\":option.disabled},domProps:{\"value\":option.value}},[_vm._v(\" \"+_vm._s(option.text)+\" \")])}),(_vm.optionGroups.length)?[(_vm.options.length === 0)?_c('option',{attrs:{\"disabled\":\"disabled\",\"default\":\"default\"},domProps:{\"value\":null}},[_vm._v(\" \"+_vm._s(_vm.placeholder)+\" \")]):_vm._e(),_vm._l((_vm.optionGroups),function(optionGroup,optionGroupIndex){return _c('optgroup',{key:(\"optionGroups|\" + optionGroupIndex),attrs:{\"label\":optionGroup.text}},_vm._l((optionGroup.options),function(option,index){return _c('option',{key:index,attrs:{\"label\":option.text,\"disabled\":option.disabled},domProps:{\"value\":option.value}},[_vm._v(\" \"+_vm._s(option.text)+\" \")])}),0)})]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\n\r\nexport interface SelectOption {\r\n value: any;\r\n text: string;\r\n disabled?: boolean;\r\n}\r\nexport interface SelectOptionGroup {\r\n options: SelectOption[];\r\n text: string;\r\n}\r\n\r\n@Component\r\nexport default class SelectBox extends Vue {\r\n @Prop({ required: true }) private value!: any;\r\n @Prop({ required: false, default: () => [] })\r\n private options!: SelectOption[];\r\n @Prop({ required: false, default: () => [] })\r\n private optionGroups!: SelectOptionGroup[];\r\n\r\n @Prop({ required: false, default: () => false }) private disabled!: boolean;\r\n @Prop({ required: false, default: () => false }) private readonly!: boolean;\r\n @Prop({ required: false, default: () => false })\r\n private formElementGroup!: boolean;\r\n @Prop({ required: false }) private placeholder!: string;\r\n\r\n private theValue: any = '';\r\n\r\n private created(): void {\r\n this.theValue = this.value;\r\n }\r\n\r\n // Watch value change\r\n @Watch('value', { immediate: false, deep: true })\r\n private onValueChange(val: any) {\r\n this.theValue = val;\r\n }\r\n\r\n // Watch theValue change\r\n @Watch('theValue', { immediate: false, deep: true })\r\n private onTheValueChange(val: any) {\r\n if (val !== this.value) {\r\n this.$emit('input', val);\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectBox.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectBox.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SelectBox.vue?vue&type=template&id=ebd2ef72&\"\nimport script from \"./SelectBox.vue?vue&type=script&lang=ts&\"\nexport * from \"./SelectBox.vue?vue&type=script&lang=ts&\"\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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Messages.vue?vue&type=style&index=0&id=0dc8484e&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomMonthRangePicker.vue?vue&type=style&index=0&id=76a9a433&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"o-select d-flex align-items-center py-0\",on:{\"click\":function($event){return _vm.$refs.elDatePicker.focus()}}},[_c('el-date-picker',{ref:\"elDatePicker\",attrs:{\"type\":\"monthrange\",\"format\":\"MMM yyyy\",\"editable\":false,\"clearable\":false,\"unlink-panels\":\"\",\"range-separator\":\"-\",\"prefix-icon\":\"mdi mdi-calendar-range\",\"picker-options\":_vm.pickerOptions,\"popper-class\":\"u-sans-serif\"},model:{value:(_vm.dateRange),callback:function ($$v) {_vm.dateRange=$$v},expression:\"dateRange\"}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { DatePickerOptions } from 'element-ui/types/date-picker';\r\nimport { MonthRange } from '@/models/MonthRange';\r\nimport { DateRangeShortcut } from '@/models/DateRangeShortcut';\r\n\r\n@Component\r\nexport default class CustomMonthRangePicker extends Vue {\r\n @Prop({ required: true })\r\n public monthRange!: MonthRange;\r\n @Prop({ required: true })\r\n public shortcuts!: DateRangeShortcut[];\r\n @Prop({ required: false, default: () => null })\r\n public minDate!: Date | null;\r\n @Prop({ required: false, default: () => null })\r\n public maxDate!: Date | null;\r\n\r\n @Prop({ required: false, default: () => null })\r\n public maxRangeLengthInMonths!: number | null;\r\n\r\n private newSelectionFromDate: Date | null = null;\r\n\r\n private get combinedMaxDate(): Date | null {\r\n if (\r\n this.maxRangeLengthInMonths === null ||\r\n this.newSelectionFromDate === null\r\n ) {\r\n return this.maxDate;\r\n }\r\n\r\n const maxDateByMaxRangeLength: Date = this.$moment(\r\n this.newSelectionFromDate\r\n )\r\n .add(this.maxRangeLengthInMonths, 'months')\r\n .subtract(1, 'day')\r\n .toDate();\r\n\r\n if (this.maxDate !== null && this.maxDate < maxDateByMaxRangeLength) {\r\n return this.maxDate;\r\n } else {\r\n return maxDateByMaxRangeLength;\r\n }\r\n }\r\n\r\n private get pickerOptions(): DatePickerOptions {\r\n return {\r\n shortcuts: this.shortcuts.map((shortcut) => ({\r\n text: shortcut.text,\r\n onClick(picker) {\r\n picker.$emit('pick', [\r\n shortcut.range.fromDate,\r\n shortcut.range.toDate,\r\n ]);\r\n },\r\n })),\r\n onPick: ({ maxDate, minDate }) => {\r\n this.newSelectionFromDate = maxDate ? null : minDate;\r\n },\r\n disabledDate: (date): boolean => {\r\n return (\r\n (this.combinedMaxDate !== null && date > this.combinedMaxDate) ||\r\n (this.minDate !== null && date < this.minDate)\r\n );\r\n },\r\n };\r\n }\r\n\r\n private get dateRange(): Date[] {\r\n return [\r\n new Date(this.monthRange.from.year, this.monthRange.from.month, 1),\r\n new Date(this.monthRange.to.year, this.monthRange.to.month, 1),\r\n ];\r\n }\r\n\r\n private set dateRange(value: Date[]) {\r\n this.onValueChanged(value);\r\n }\r\n\r\n private onValueChanged(value: Date[]): void {\r\n if (value.length === 2) {\r\n const newMonthRange: MonthRange = {\r\n from: {\r\n year: value[0].getFullYear(),\r\n month: value[0].getMonth(),\r\n },\r\n to: {\r\n year: value[1].getFullYear(),\r\n month: value[1].getMonth(),\r\n },\r\n };\r\n this.$emit('change', newMonthRange);\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomMonthRangePicker.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomMonthRangePicker.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CustomMonthRangePicker.vue?vue&type=template&id=76a9a433&scoped=true&\"\nimport script from \"./CustomMonthRangePicker.vue?vue&type=script&lang=ts&\"\nexport * from \"./CustomMonthRangePicker.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CustomMonthRangePicker.vue?vue&type=style&index=0&id=76a9a433&scoped=true&lang=scss&\"\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 \"76a9a433\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.collections.length)?_c('div',{staticClass:\"c-table c-table--targetcollapse c-table--no-divider\"},[_c('div',{staticClass:\"c-table__scroll-container\"},[_c('table',[_c('thead',[_c('tr',[_c('th',{staticClass:\"is-main-column\"},[_c('div',{staticClass:\"u-color-blue-50 mb-2\"},[_vm._v(\"-\")]),_vm._v(\" \"+_vm._s(_vm.mainColumnName)+\" \")]),_vm._l((_vm.yearsAndMonths),function(yearAndMonth,index){return _c('th',{key:index},[(index === 0 || yearAndMonth.month === 1)?_c('div',{staticClass:\"mb-2\"},[_vm._v(\" \"+_vm._s(yearAndMonth.year)+\" \")]):_vm._e(),_c('div',[_vm._v(\" \"+_vm._s(_vm._f(\"month\")(yearAndMonth.month))+\" \")])])}),_c('th',[_vm._v(\" \"+_vm._s(_vm.$t('collectionVolumesList.total'))+\" \")]),(_vm.extraColumnNames)?_vm._l((_vm.extraColumnNames),function(extraColumnName,extraColumnIndex){return _c('th',{key:(\"extra|\" + extraColumnIndex)},[_vm._v(\" \"+_vm._s(extraColumnName)+\" \")])}):_vm._e()],2)]),_c('tbody',[_vm._l((_vm.collections),function(collection,customerVolumeIndex){return [(collection.showNameRow)?[_c('tr',{key:(customerVolumeIndex + \"|space\")},[_c('td',{staticClass:\"is-main-column u-color-white u-print-color\"},[_vm._v(\"-\")]),_c('td',{staticClass:\"u-color-white u-print-color\",attrs:{\"colspan\":\"1000\"}},[_vm._v(\"-\")])]),_c('tr',{key:(customerVolumeIndex + \"|name\")},[_c('td',{staticClass:\"is-main-column\"},[_c('strong',{attrs:{\"title\":collection.name}},[_vm._v(_vm._s(collection.name))])]),(collection.useShowNameRowExtraSlot)?_c('td',{attrs:{\"colspan\":\"1000\"}},[_vm._t(\"default\",null,{\"collection\":collection})],2):_c('td',{staticClass:\"u-color-white\",attrs:{\"colspan\":\"1000\"}},[_vm._v(\"-\")])])]:_vm._e(),_vm._l((collection.volumes),function(product,productIndex){return _c('tr',{key:(customerVolumeIndex + \"|\" + productIndex)},[_c('td',{staticClass:\"is-main-column wider-cell\"},[_c('span',{staticClass:\"u-print-color pr-1\",style:(_vm.getProductStyle(product))},[_c('strong',[_vm._v(_vm._s(product.productDisplayName))])])]),_vm._l((product.volumes),function(volume,volumeIndex){return _c('td',{key:(customerVolumeIndex + \"|\" + productIndex + \"|\" + volumeIndex)},[_vm._v(\" \"+_vm._s(_vm._f(\"number\")(volume))+\" \")])}),_c('td',[_c('span',[_vm._v(_vm._s(_vm._f(\"number\")(product.totalVolume)))])]),(product.extraColumns)?_vm._l((product.extraColumns),function(extraColumn,extraColumnIndex){return _c('td',{key:(customerVolumeIndex + \"|extra|\" + extraColumnIndex)},[_vm._v(\" \"+_vm._s(extraColumn)+\" \")])}):_vm._e()],2)}),(collection.totalVolumes && collection.volumes.length > 1)?_c('tr',{key:(customerVolumeIndex + \"|totalVolumes\"),staticClass:\"u-bold\"},[_c('td',{staticClass:\"is-main-column wider-cell\"},[_c('strong',{attrs:{\"title\":_vm.$t('collectionVolumesList.totalsOfCollection', [\n collection.name ])}},[_vm._v(_vm._s(_vm.$t('collectionVolumesList.totalsOfCollection', [ collection.name ])))])]),_vm._l((collection.totalVolumes),function(total,totalIndex){return _c('td',{key:(customerVolumeIndex + \"|\" + totalIndex)},[_vm._v(\" \"+_vm._s(_vm._f(\"number\")(total))+\" \")])}),_c('td',[(collection.totalVolume !== undefined)?_c('span',[_vm._v(_vm._s(_vm._f(\"number\")(collection.totalVolume)))]):_vm._e()]),(collection.extraColumnsTotals)?_vm._l((collection.extraColumnsTotals),function(extraColumnTotal,extraColumnIndex){return _c('td',{key:(customerVolumeIndex + \"|extra|\" + extraColumnIndex)},[_vm._v(\" \"+_vm._s(extraColumnTotal)+\" \")])}):_vm._e()],2):_vm._e()]})],2)])])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { Config } from '@/utils/Config';\r\nimport { YearAndMonth } from '@/models/YearAndMonth';\r\n\r\nexport interface CollectionVolume {\r\n name: string;\r\n volumes: ProductVolumes[];\r\n totalVolumes?: number[];\r\n totalVolume?: number;\r\n extraColumnsTotals?: string[];\r\n showNameRow?: boolean;\r\n useShowNameRowExtraSlot?: boolean;\r\n}\r\n\r\nexport interface ProductVolumes {\r\n productDisplayName: string;\r\n productColorCategory: string;\r\n volumes: (number | undefined)[];\r\n totalVolume: number;\r\n extraColumns?: string[];\r\n}\r\n\r\n@Component\r\nexport default class CollectionVolumesList extends Vue {\r\n @Prop({ required: true }) private yearsAndMonths!: YearAndMonth[];\r\n @Prop({ required: true }) private collections!: CollectionVolume[];\r\n @Prop({ required: true }) private mainColumnName!: string;\r\n @Prop({ required: false, default: () => undefined })\r\n private extraColumnNames!: string[] | undefined;\r\n\r\n private getProductStyle(product: ProductVolumes): any {\r\n return {\r\n color: Config.getProductColor(product.productColorCategory),\r\n };\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CollectionVolumesList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CollectionVolumesList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CollectionVolumesList.vue?vue&type=template&id=5e250e68&scoped=true&\"\nimport script from \"./CollectionVolumesList.vue?vue&type=script&lang=ts&\"\nexport * from \"./CollectionVolumesList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CollectionVolumesList.vue?vue&type=style&index=0&id=5e250e68&scoped=true&lang=scss&\"\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 \"5e250e68\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CollectionVolumesList.vue?vue&type=style&index=0&id=5e250e68&scoped=true&lang=scss&\""],"sourceRoot":""}