{"version":3,"sources":["webpack:///./src/views/items/ItemInformation.vue","webpack:///./src/views/items/ItemInformation.vue?ee49","webpack:///./src/views/items/ItemInformation.vue?0ac7","webpack:///./src/views/items/ItemInformation.vue?c5cf","webpack:///./src/directives/Directives.ts","webpack:///./src/views/ItemApproval.vue","webpack:///./src/views/ItemApproval.vue?072d","webpack:///./src/views/ItemApproval.vue?375b","webpack:///./src/views/ItemApproval.vue?795f","webpack:///./src/views/ItemApproval.vue?b4ef","webpack:///./src/services/quote-service.ts","webpack:///./src/store/models/QuotesModel.ts"],"names":["expression","_v","_c","attrs","key","option","staticStyle","on","_vm","itemDetail","Id","Version","maskBuildType","_e","staticClass","itemInfos","i","class","item","showStatus","color","colors","itemHistory","staticRenderFns","render","default_1","_Vue","_this","_classCallCheck","itemId","tab","imgDisplay","ItemDetails","Material","Finish","Die","Color","id","text","value","bold","iconColor","showColor","itemHeader","align","sortable","filterOptions","isSelected","colorIcons","orderActivityHeader","orderActivities","editingItemId","hideImage","_inherits","_createClass","_GetItemDetails","_asyncToGenerator","_regeneratorRuntime","mark","_callee","response","wrap","_context","prev","next","ItemService","GetItemDetails","sent","data","this","ConversionHelper","GetDisplayValues","stop","_x","apply","arguments","_handleEditItem","_callee2","_context2","$store","dispatch","handleEditItem","_x2","_getItemHistory","_callee3","_context3","GetItemHistory","getItemHistory","_x3","_getOrderActivity","_callee4","_context4","OrdersService","GetOrderlinesByItemId","getOrderActivity","_x4","_mounted","_callee5","_context5","$route","params","mounted","Vue","__decorate","Component","components","DefaultLayout","ItemActions","HiRezImg","component","bind","el","binding","vNode","__vueClickOutside__","event","contains","target","context","stopPropagation","document","body","addEventListener","unbind","removeEventListener","scopedSlots","fn","proxy","model","callback","onMaterialAlertClick","currentStep","ref","directives","name","rawName","itemSpecificationApproval","close","trimLineApproval","hover","accurateInfoApproval","imageClarityApproval","textApproval","onlinePressApproval","isApproving","Item","isMaterialAlertActive","isOptoutOptionChecked","availableColors","shouldClose","window","$router","back","scrollTo","$refs","contentAndQualityImg","showHighRezDialog","_onApproveClick","PartNumber","DieId","MaterialId","ColorId","FinishId","Description","ItemId","approveItem","SetSnackBar","onApproveClick","_loadItem","loadItem","_created","created","Action","namespace","Getter","J1lImg","AlertComponent","quoteUrl","concat","process","QuoteService","GetMaximumQuantityForBasePrice","axios","post","GetQuoteValues","GetTransparencyQuote","quantity","numberAcross","level","staticItemId","get","GetPricingMatrix","abrupt","ProcessQuoteOrder","PricingMatrixModel","rawItem","ShouldUseVarData","Populate","Quantity","StartQuantity","EndQuantity","IncrementBy","ShouldUseVarnish","DieHeight","DieWidth","DieShape"],"mappings":"kSAAqP,W,IAACA,OAAgB,aAAO,EAAO,MAAMC,Y,OAAwI,EAAC,Q,MAAC,CAAqB,mBAAS,QAAM,6BAAIC,KAAG,IAA8CC,MAAM,CAAC,QAAU,IAAS,SAAQ,YAAQ,SAAuBA,WAAM,QAAe,8HAAE,MAAO,CAAwC,aAAU,QAAUC,OAAIC,S,CAA6BC,SAAY,W,YAAC,O,MAAqB,CAACH,QAAM,S,MAAC,W,CAAqCI,EAAE,OAAC,C,MAAC,C,UAAgCC,K,EAAwB,kCAAC,OAAM,EAAG,OAAKA,CAA6B,IAAI,EAAM,GAASL,YAAM,OAAC,YAAU,CAAS,cAAQ,QAAaK,MAAIC,CAAiC,eAAQ,sBAAQ,IAAiB,MAAUD,SAAeE,GAAG,OAAUF,EAAIC,iBAAWE,MAAqE,YAAkBH,GAAG,EAACI,gBAAa,iBAAG,MAAKC,CAAqBC,QAAY,SAASZ,MAAG,W,CAAgB,aAAW,iB,IAAC,Q,MAAS,CAAY,iBAAIM,UAAYO,aAAW,GAAiB,QAAU,EAAO,WAAC,QAACX,yBAAIY,EAAE,4BAAa,EAACb,kBAAM,mB,EAAa,MAAK,a,YAAG,QAAE,GAAEK,OAAO,C,MAAyCM,CAAuBG,KAAM,K,GAAM,IAAY,OAAC,M,GAAQ,KAAO,WAAI,c,OAAC,EAAK,QAAG,OAAG,CAAEC,SAAKC,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K+H,kBAAmB,EACxB/H,KAAKgI,SAASF,GAgBf,OAfA7I,eAAA4I,EAAA,EAAA9L,IAAA,WAAAmC,MACD,SAAS4J,GACP9H,KAAK0F,MAAQoC,EAAQpC,MACrB1F,KAAK2F,WAAamC,EAAQnC,WAC1B3F,KAAK6F,SAAWiC,EAAQjC,SACxB7F,KAAK4F,QAAUkC,EAAQlC,QACvB5F,KAAKiI,SAAWH,EAAQG,SACxBjI,KAAKkI,cAAgBJ,EAAQI,cAC7BlI,KAAKmI,YAAcL,EAAQK,YAC3BnI,KAAKoI,YAAcN,EAAQM,YAC3BpI,KAAK+H,iBAAmBD,EAAQC,iBAChC/H,KAAKqI,iBAAmBP,EAAQO,iBAChCrI,KAAKsI,UAAYR,EAAQQ,UACzBtI,KAAKuI,SAAWT,EAAQS,SACxBvI,KAAKwI,SAAWV,EAAQU,aACzBX,EAhC4B","file":"js/ItemInformation~a97bfcba.457d5119.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('v-tabs',{attrs:{\"background-color\":\"white\",\"color\":\"deep-purple accent-4\",\"grow\":\"\"},model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab',[_vm._v(\" Item info \")]),_c('v-tab',[_vm._v(\" Item activity \")]),_c('v-tab',[_vm._v(\" Order activity \")]),_c('v-tab-item',[_c('v-card',{attrs:{\"min-height\":\"100vh\",\"height\":\"100%\"}},[_c('v-card-text',[_c('v-row',{staticClass:\"my-2\",attrs:{\"justify\":\"center\",\"align\":\"center\"}},[_c('v-chip-group',{attrs:{\"mandatory\":\"\"}},_vm._l((_vm.filterOptions),function(option,i){return _c('v-chip',{key:option.id,staticClass:\"ma-2\",staticStyle:{\"font-weight\":\"bold\"},attrs:{\"active-class\":\"j1lblackBackground\"},on:{\"click\":function($event){return _vm.chipDielineClick(i)}}},[_vm._v(\" \"+_vm._s(option.text)+\" \")])}),1)],1),_c('v-row',{attrs:{\"justify\":\"center\",\"align\":\"center\"}},[(_vm.itemDetail.Id)?_c('HiRezImg',{ref:\"hirez\",attrs:{\"max-height\":400,\"item-id\":_vm.itemDetail.Id,\"version\":_vm.itemDetail.Version,\"should-show-die-lines\":true,\"should-disable-animation\":true,\"mask-build-type\":_vm.maskBuildType}}):_vm._e()],1),_c('v-row',{staticClass:\"my-8\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"5\",\"offset\":\"1\"}},[_vm._l((_vm.itemInfos),function(item,i){return _c('v-row',{key:i},[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_vm._v(\" \"+_vm._s(item.text)+\" \")]),_c('v-col',{staticClass:\"j1lblack\",class:{ bold: item.bold },attrs:{\"cols\":\"12\",\"md\":\"6\"}},[(item.showStatus)?_c('span',{staticClass:\"ApprovalStatus roboto-bold\"},[_c('v-icon',{staticStyle:{\"font-size\":\"14px\"},attrs:{\"color\":item.iconColor ? '#1be784' : 'red'}},[_vm._v(\" mdi-circle \")]),_vm._v(\" \"+_vm._s(item.ApprovalStatus)+\" \")],1):_vm._e(),_vm._v(\" \"+_vm._s(item.value)+\" \"),(item.showColor)?_c('span',_vm._l((item.colors),function(color){return _c('v-icon',{key:color,staticClass:\"color-icons\",style:({ color: _vm.colors[color - 1] })},[_vm._v(\"mdi-invert-colors\")])}),1):_vm._e()])],1)}),_c('v-row')],2),_c('v-divider',{attrs:{\"vertical\":\"\",\"inset\":\"\"}}),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"4\",\"offset\":\"1\"}},[(_vm.itemDetail.Id)?_c('ItemActions',{ref:\"ItemActions\",attrs:{\"item\":_vm.itemDetail,\"full-view\":true},on:{\"editItemCallback\":_vm.GetItemDetails}}):_vm._e()],1)],1)],1)],1)],1),_c('v-tab-item',[_c('v-card',{attrs:{\"min-height\":\"100vh\",\"height\":\"100%\"}},[_c('v-card-title',[_vm._v(\" Item History \")]),_c('v-card-text',[_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.itemHeader,\"items\":_vm.itemHistory,\"multi-sort\":\"\"}})],1)],1)],1),_c('v-tab-item',[_c('v-card',{attrs:{\"min-height\":\"100vh\",\"height\":\"100%\"}},[_c('v-card-title',[_vm._v(\"Order Activity\")]),_c('v-card-text',[_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.orderActivityHeader,\"items\":_vm.orderActivities,\"multi-sort\":\"\"}})],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Vue, Component, Watch, Prop } from 'vue-property-decorator';\r\nimport { State, Action, Getter, Mutation } from 'vuex-class';\r\nimport DefaultLayout from '@/components/DefaultLayout.vue';\r\nimport ItemService from '@/services/item-service';\r\nimport { OrdersService } from '@/services/orders-service';\r\nimport {\r\n Finish,\r\n Item,\r\n ItemDetails,\r\n ItemHistory,\r\n Material,\r\n Die,\r\n Color\r\n} from '../../store/models/ItemModel';\r\nimport { ConversionHelper } from '@/helpers/ConversionHelper';\r\nimport ItemActions from '@/components/ItemActions.vue';\r\nimport HiRezImg from '@/components/HiRezImg.vue';\r\nimport { DieTemplate } from '@/store/models/DieModel';\r\nimport { StringHelper } from '@/helpers/StringHelper';\r\n\r\n@Component({\r\n components: { DefaultLayout, ItemActions, HiRezImg }\r\n})\r\nexport default class extends Vue {\r\n /* Properties */\r\n itemId: string | null = null;\r\n tab: number = 0;\r\n imgDisplay: string = '';\r\n itemDetail: ItemDetails = new ItemDetails({\r\n Material: new Material(),\r\n Finish: new Finish(),\r\n Die: new Die(),\r\n Color: new Color()\r\n });\r\n itemHistory: ItemHistory[] = [];\r\n maskBuildType: string = 'trimmedlabel';\r\n itemInfos: any = [\r\n { id: 'PartNumber', text: 'Part Number', value: '', bold: true },\r\n { id: 'Description', text: 'Description', value: '', bold: true },\r\n {\r\n id: 'Status',\r\n text: 'Status',\r\n value: '',\r\n showStatus: true,\r\n bold: true,\r\n iconColor: ''\r\n },\r\n { id: 'Material', text: 'Material', value: '' },\r\n {\r\n id: 'Die',\r\n text: 'Die',\r\n value: ''\r\n },\r\n { id: 'Finish', text: 'Finish', value: '' },\r\n { id: 'Color', text: 'Color', value: '', showColor: true, colors: 0 },\r\n { id: 'LastUpdated', text: 'Last Updated', value: '' },\r\n { id: 'LastOrdered', text: 'Last Ordered', value: '' }\r\n ];\r\n itemHeader: any[] = [\r\n {\r\n text: 'Date time',\r\n align: 'start',\r\n sortable: true,\r\n value: 'EntryDateTime'\r\n },\r\n {\r\n text: 'Entry',\r\n align: 'start',\r\n sortable: false,\r\n value: 'Entry'\r\n },\r\n {\r\n text: 'User',\r\n align: 'start',\r\n sortable: false,\r\n value: 'UserName'\r\n }\r\n ];\r\n filterOptions: any[] = [\r\n {\r\n id: 0,\r\n text: 'Trimed label',\r\n value: 'trimedlabel',\r\n isSelected: true\r\n },\r\n {\r\n id: 1,\r\n text: 'Full bleed',\r\n value: 'fullbleed',\r\n isSelected: false\r\n },\r\n {\r\n id: 2,\r\n text: 'Safe zone',\r\n value: 'safezone',\r\n isSelected: false\r\n }\r\n ];\r\n colors: string[] = ['rgb(102,102,102)', 'blue', 'magenta', 'yellow', 'white', 'white'];\r\n colorIcons: string[] = [\r\n 'looks_one',\r\n 'looks_two',\r\n 'looks_3',\r\n 'looks_4',\r\n 'looks_5',\r\n 'looks_6'\r\n ];\r\n orderActivityHeader: any[] = [\r\n {\r\n text: 'User name',\r\n align: 'start',\r\n sortable: true,\r\n value: 'UserName'\r\n },\r\n {\r\n text: 'Purchase order',\r\n align: 'start',\r\n sortable: true,\r\n value: 'PO'\r\n },\r\n {\r\n text: 'Quantity',\r\n align: 'start',\r\n sortable: true,\r\n value: 'Quantity'\r\n },\r\n {\r\n text: 'Status',\r\n align: 'start',\r\n sortable: false,\r\n value: 'Status'\r\n },\r\n {\r\n text: 'User name',\r\n align: 'start',\r\n sortable: true,\r\n value: 'UserName'\r\n }\r\n ];\r\n orderActivities: any[] = [];\r\n editingItemId: string = '';\r\n hideImage: boolean = true;\r\n /* Store Actions */\r\n /* Watchers */\r\n /* Data */\r\n\r\n async GetItemDetails(itemId: string) {\r\n const response = await ItemService.GetItemDetails(itemId);\r\n if (response.data) {\r\n this.itemDetail = response.data;\r\n let itemConversion = ConversionHelper.GetDisplayValues(\r\n this.itemDetail,\r\n this.itemInfos\r\n );\r\n }\r\n }\r\n\r\n chipDielineClick(i: number) {\r\n switch (i) {\r\n case 0:\r\n this.maskBuildType = 'trimmedlabel';\r\n return;\r\n case 1:\r\n this.maskBuildType = 'fullbleed';\r\n return;\r\n case 2:\r\n this.maskBuildType = 'safezone';\r\n return;\r\n }\r\n }\r\n\r\n async handleEditItem(itemId: string) {\r\n if (itemId) {\r\n this.editingItemId = itemId;\r\n await this.$store.dispatch('items/refreshItem', itemId);\r\n this.$store.dispatch('items/addProcessImageItemId', this.editingItemId);\r\n }\r\n }\r\n\r\n async getItemHistory(itemId: string) {\r\n const response = await ItemService.GetItemHistory(itemId);\r\n this.itemHistory = response.data;\r\n }\r\n\r\n async getOrderActivity(itemId: string) {\r\n const response = await OrdersService.GetOrderlinesByItemId(itemId);\r\n this.orderActivities = response.data;\r\n }\r\n /* Utility Functions */\r\n /* Loaders */\r\n /* Mounted */\r\n async mounted() {\r\n this.GetItemDetails(this.$route.params.id);\r\n this.getItemHistory(this.$route.params.id);\r\n this.getOrderActivity(this.$route.params.id);\r\n }\r\n /* Created */\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/@vue/cli-plugin-typescript/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!./ItemInformation.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/@vue/cli-plugin-typescript/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!./ItemInformation.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ItemInformation.vue?vue&type=template&id=0f290c6b\"\nimport script from \"./ItemInformation.vue?vue&type=script&lang=ts\"\nexport * from \"./ItemInformation.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 default {\r\n bind: function(el: any, binding: any, vNode: any) {\r\n el.__vueClickOutside__ = (event: any) => {\r\n if (!el.contains(event.target)) {\r\n // call method provided in v-click-outside value\r\n vNode.context[binding.expression](event);\r\n event.stopPropagation();\r\n }\r\n };\r\n document.body.addEventListener('click', el.__vueClickOutside__);\r\n },\r\n unbind: function(el: any, binding: any, vNode: any) {\r\n // Remove Event Listeners\r\n document.removeEventListener('click', el.__vueClickOutside__);\r\n el.__vueClickOutside__ = null;\r\n }\r\n};\r\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('DefaultLayout',{ref:\"defaultActions\",scopedSlots:_vm._u([{key:\"main\",fn:function(){return [_c('v-container',[(_vm.item.Id)?_c('v-stepper',{staticClass:\"elevation-0\",model:{value:(_vm.currentStep),callback:function ($$v) {_vm.currentStep=$$v},expression:\"currentStep\"}},[_c('v-stepper-header',{staticClass:\"background-color\"},[_c('v-stepper-step',{attrs:{\"complete\":_vm.currentStep > 1,\"step\":\"1\"}},[_vm._v(\"Step 1: Specifications\")]),_c('v-divider'),_c('v-stepper-step',{attrs:{\"complete\":_vm.currentStep > 2,\"step\":\"2\"}},[_vm._v(\"Step 2: Cut and Motion\")]),_c('v-divider'),_c('v-stepper-step',{attrs:{\"step\":\"3\"}},[_vm._v(\"Step 3: Content and Quality\")])],1),_c('v-stepper-items',[(_vm.isMaterialAlertActive)?_c('AlertComponent',{attrs:{\"alert-option\":_vm.alertOption},on:{\"confirm\":_vm.onMaterialAlertClick},scopedSlots:_vm._u([{key:\"alertImage\",fn:function(){return [_c('img',{attrs:{\"src\":require(`@/assets/five-color-selected.png`)}})]},proxy:true},{key:\"additionalAction\",fn:function(){return [_c('v-checkbox',{scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Don't show message again \")]},proxy:true}],null,false,2596289925),model:{value:(_vm.isOptoutOptionChecked),callback:function ($$v) {_vm.isOptoutOptionChecked=$$v},expression:\"isOptoutOptionChecked\"}})]},proxy:true}],null,false,901028558)}):_vm._e(),_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[_c('v-card',{attrs:{\"flat\":\"\"}},[_c('v-row',{staticClass:\"approval-title mb-4\",attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_vm._v(\"Carefully review the following specifications\")]),_c('v-container',[(_vm.isMaterialAlertActive)?_c('AlertComponent',{attrs:{\"alert-option\":_vm.alertOption},on:{\"confirm\":_vm.onMaterialAlertClick},scopedSlots:_vm._u([{key:\"alertImage\",fn:function(){return [_c('img',{attrs:{\"src\":require(`@/assets/five-color-selected.png`)}})]},proxy:true},{key:\"additionalAction\",fn:function(){return [_c('v-checkbox',{scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\" Don't show message again \")]},proxy:true}],null,false,2596289925),model:{value:(_vm.isOptoutOptionChecked),callback:function ($$v) {_vm.isOptoutOptionChecked=$$v},expression:\"isOptoutOptionChecked\"}})]},proxy:true}],null,false,901028558)}):_vm._e(),_c('v-row',{attrs:{\"no-gutters\":\"\",\"justify\":\"center\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"8\",\"md\":\"4\",\"sm\":\"5\"}},[_c('v-row',{attrs:{\"justify\":\"center\",\"align\":\"center\",\"no-gutters\":\"\"}},[_c('v-card',{attrs:{\"height\":\"250px\"}},[(_vm.currentStep == 1)?_c('J1lImg',{ref:\"hirez\",attrs:{\"item-id\":_vm.item.Id,\"version\":_vm.item.Version,\"max-height\":250,\"height\":251,\"max-width\":350,\"should-show-die-lines\":false,\"item\":_vm.item}}):_vm._e()],1)],1)],1),_c('v-col',{staticClass:\"disable-inter-row-margin ml-3\",attrs:{\"cols\":\"3\",\"md\":\"5\",\"sm\":\"6\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"3\",\"sm\":\"5\",\"md\":\"6\",\"xl\":\"3\"}},[_c('ul',{staticClass:\"list-style-two-column j1lDarkGrey font-size-16\"},[_c('li',[_vm._v(\"Part Number\")]),_c('li',[_vm._v(\"Description\")]),_c('li',[_vm._v(\"Version\")]),_c('li',[_vm._v(\"Material\")]),_c('li',[_vm._v(\"Finish\")]),_c('li',[_vm._v(\"Die\")]),_c('li',[_vm._v(\"Color\")])])]),_c('v-col',{attrs:{\"cols\":\"8\",\"sm\":\"7\",\"md\":\"6\"}},[_c('ul',{staticClass:\"list-style-two-column font-size-16\"},[_c('li',{staticClass:\"roboto-bold\"},[_vm._v(_vm._s(_vm.item.PartNumber))]),_c('li',{staticClass:\"single-line-ellipsis roboto-bold\"},[_vm._v(\" \"+_vm._s(_vm.item.Description)+\" \")]),_c('li',{staticClass:\"bold-blue roboto-black\"},[_c('span',{staticClass:\"item-badge-version\"},[_vm._v(\" V\"+_vm._s(_vm.item.Version))])]),_c('li',[_vm._v(_vm._s(_vm.item.Material.ShortDescription))]),_c('li',[_vm._v(_vm._s(_vm.item.Finish.BadgeText))]),_c('li',[_vm._v(\" \"+_vm._s(_vm.item.Die.Description)+\" \")]),_c('li',[_vm._v(_vm._s(_vm.item.Color.Description))])])])],1)],1)],1)],1),_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('v-card',{staticStyle:{\"padding\":\"20px\",\"border-radius\":\"20px\"},attrs:{\"color\":\"#FFFFFF !important\",\"flat\":\"\"}},[_c('div',[_c('v-simple-checkbox',{directives:[{name:\"ripple\",rawName:\"v-ripple\"}],staticClass:\"shrink mr-2 mt-0\",staticStyle:{\"display\":\"inline\"},attrs:{\"hide-details\":\"\"},model:{value:(_vm.itemSpecificationApproval),callback:function ($$v) {_vm.itemSpecificationApproval=$$v},expression:\"itemSpecificationApproval\"}}),_c('span',{staticClass:\"roboto-bold\",staticStyle:{\"font-size\":\"18px\"}},[_vm._v(\" I have reviewed and approved the specifications above.\")]),_c('span',{staticClass:\"roboto-regular\",staticStyle:{\"font-size\":\"12px\",\"color\":\"#919395\"}},[_vm._v(\" By checking this box and proceeding you are approving this graphic to be sent directly to press against any current or future orders until such time that it is placed on hold or inactivated. Color shown online is an approximation of the final printed result and may not exactly match when printed. If color is critical please request a physical proof before proceeding with this approval. You are also agreeing to hold Just One Label, LLC harmless for any errors, claims, additions or omissions that may result from this approval. Note: Your response will be logged and archived. \")])],1)])],1)],1),_c('v-card-actions',[_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-btn',{staticClass:\"bold-blue mr-2 white-background\",attrs:{\"disabled\":_vm.isMaterialAlertActive,\"depressed\":\"\"},on:{\"click\":function($event){return _vm.close(false)}}},[_vm._v(\"Approve Later\")]),_c('v-btn',{staticClass:\"bold-blue-background background-color-white\",attrs:{\"disabled\":!_vm.itemSpecificationApproval || _vm.isMaterialAlertActive},on:{\"click\":function($event){_vm.currentStep = 2}}},[_vm._v(\" Approve item specifications \")])],1)],1)],1)],1),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[_c('v-card',[_c('v-row',{staticClass:\"approval-title\",attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_vm._v(\"Confirm excess artwork “bleed” in case of shifts during die cutting\")]),_c('v-row',{attrs:{\"no-gutters\":\"\",\"justify\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"8\",\"sm\":\"10\",\"lg\":\"10\"}},[_c('v-row',{staticClass:\"roboto-regular mb-4\",staticStyle:{\"color\":\"#999999\"},attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('span',[_vm._v(\" Your final label dimensions will be exactly \"+_vm._s(_vm.item.Die.Height)+\"” H x \"+_vm._s(_vm.item.Die.Width)+\"” W \"),_c('span',{staticClass:\"roboto-bold\"},[_vm._v(\"but your art needs to extend past those dimensions to account for movement during high speed finishing.\")]),_vm._v(\" The simulated movement below represents what your label may look like if the cut shifts in any direction. \"),_c('span',{staticClass:\"roboto-bold\"},[_vm._v(\"If any motion shown in the animation below is unacceptable please update your artwork with proper bleed and safe area.\")])])])],1)],1),_c('v-container',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[(_vm.currentStep == 2)?_c('HiRezImg',{ref:\"hirez\",attrs:{\"item-id\":_vm.item.Id,\"version\":_vm.item.Version,\"should-show-die-lines\":true,\"max-height\":400,\"hover\":true,\"mask-build-type\":_vm.maskBuildType}}):_vm._e()],1)],1),_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('v-card',{staticStyle:{\"padding\":\"20px\",\"border-radius\":\"20px\"},attrs:{\"color\":\"#FFFFFF !important\",\"flat\":\"\"}},[_c('div',[_c('v-simple-checkbox',{directives:[{name:\"ripple\",rawName:\"v-ripple\"}],staticClass:\"shrink mr-3 mt-0\",staticStyle:{\"display\":\"inline\"},attrs:{\"hide-details\":\"\"},model:{value:(_vm.trimLineApproval),callback:function ($$v) {_vm.trimLineApproval=$$v},expression:\"trimLineApproval\"}}),_c('span',{staticClass:\"roboto-bold\",staticStyle:{\"font-size\":\"18px\"}},[_vm._v(\" I have reviewed and understand the listed items above.\")]),_c('span',{staticClass:\"roboto-regular\",staticStyle:{\"font-size\":\"12px\",\"color\":\"#919395\"}},[_vm._v(\" I have reviewed and understand the listed items above. By checking this box you are confirming that you understand that items on or outside of the RED trim line will print but not appear on the final label and that items on top of or outside of the BLUE safe line might be removed from the final label as well. \")])],1)])],1)],1)],1),_c('v-card-actions',[_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-btn',{staticClass:\"bold-blue mr-2 white-background\",attrs:{\"depressed\":\"\"},on:{\"click\":function($event){return _vm.close(false)}}},[_vm._v(\"Approve Later\")]),_c('v-btn',{staticClass:\"bold-blue mr-2 white-background\",attrs:{\"depressed\":\"\"},on:{\"click\":function($event){_vm.currentStep = 1}}},[_vm._v(\" Back\")]),_c('v-btn',{staticClass:\"bold-blue-background background-color-white\",attrs:{\"disabled\":!_vm.trimLineApproval},on:{\"click\":function($event){return _vm.onApproveCutAndMotion()}}},[_vm._v(\" Approve cut and motion \")])],1)],1)],1)],1),_c('v-stepper-content',{attrs:{\"step\":\"3\"}},[_c('v-card',[_c('v-row',{staticClass:\"approval-title\",attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_vm._v(\"Please confirm that the artwork is correct and the resolution is sufficient\")]),_c('v-container',[_c('v-container',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-hover',{scopedSlots:_vm._u([{key:\"default\",fn:function({ hover }){return [_c('v-card',{attrs:{\"height\":\"300x\",\"flat\":\"\"},on:{\"click\":_vm.showHighRez}},[(_vm.currentStep == 3)?_c('J1lImg',{ref:\"contentAndQualityImg\",attrs:{\"item-id\":_vm.item.Id,\"version\":_vm.item.Version,\"max-height\":300,\"height\":300,\"max-width\":350,\"should-show-die-lines\":false,\"default-hi-rez-option\":2,\"item\":_vm.item}}):_vm._e(),_c('v-fade-transition',[(hover)?_c('v-overlay',{attrs:{\"absolute\":\"\"}},[_c('v-icon',{attrs:{\"x-large\":\"\",\"color\":\"white\"}},[_vm._v(\"mdi-magnify-plus-outline\")])],1):_vm._e()],1)],1)]}}],null,false,2601050787)})],1)],1)],1)],1),_c('v-container',[_c('v-row',{staticClass:\"mb-4\",attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"no-padding no-margin\",attrs:{\"cols\":\"8\"}},[_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('ul',{staticClass:\"list-style-Item-approval\"},[_c('li',[_c('v-checkbox',{attrs:{\"label\":\"Information is correct with no errors or omissions\",\"hide-details\":\"\"},model:{value:(_vm.accurateInfoApproval),callback:function ($$v) {_vm.accurateInfoApproval=$$v},expression:\"accurateInfoApproval\"}})],1),_c('li',[_c('v-checkbox',{attrs:{\"label\":\"Images are sharp and do not appear distorted or\\n blurry.\",\"hide-details\":\"\"},model:{value:(_vm.imageClarityApproval),callback:function ($$v) {_vm.imageClarityApproval=$$v},expression:\"imageClarityApproval\"}})],1),_c('li',[_c('v-checkbox',{attrs:{\"label\":\"Text is legible and stands out enough against\\n background.\",\"hide-details\":\"\"},model:{value:(_vm.textApproval),callback:function ($$v) {_vm.textApproval=$$v},expression:\"textApproval\"}})],1)])])],1)],1),_c('v-container',[_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('v-card',{staticStyle:{\"padding\":\"20px\",\"border-radius\":\"20px\"},attrs:{\"color\":\"#FFFFFF !important\",\"flat\":\"\"}},[_c('div',[_c('v-simple-checkbox',{directives:[{name:\"ripple\",rawName:\"v-ripple\"}],staticClass:\"shrink mr-2 mt-0\",staticStyle:{\"display\":\"inline\"},attrs:{\"hide-details\":\"\"},model:{value:(_vm.onlinePressApproval),callback:function ($$v) {_vm.onlinePressApproval=$$v},expression:\"onlinePressApproval\"}}),_c('span',{staticClass:\"roboto-bold\",staticStyle:{\"font-size\":\"18px\"}},[_vm._v(\" I have reviewed and approved the content and quality of this label.\")]),_c('span',{staticClass:\"roboto-regular\",staticStyle:{\"font-size\":\"12px\",\"color\":\"#919395\"}},[_vm._v(\" By checking this box you are approving this graphic to be sent directly to press against any current or future orders until such time that it is placed on hold or inactivated. Color shown online is an approximation of the final printed result and may not exactly match when printed. If color is critical please request a physical proof before proceeding with this approval. You are also agreeing to hold Just One Label, LLC harmless for any errors, claims, additions or omissions that may result from this approval. \")])],1)])],1)],1)],1)],1)],1),_c('v-card-actions',[_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-btn',{staticClass:\"bold-blue mr-2 white-background\",attrs:{\"depressed\":\"\"},on:{\"click\":function($event){return _vm.close(false)}}},[_vm._v(\"Approve Later\")]),_c('v-btn',{staticClass:\"bold-blue mr-2 white-background\",attrs:{\"depressed\":\"\"},on:{\"click\":function($event){_vm.currentStep = 2}}},[_vm._v(\" Back\")]),_c('v-btn',{staticClass:\"bold-blue-background background-color-white\",attrs:{\"loading\":_vm.isApproving,\"disabled\":!_vm.canApprove()},on:{\"click\":function($event){return _vm.onApproveClick()}}},[_vm._v(\" Approve \")])],1)],1)],1)],1)],1)],1):_vm._e()],1)]},proxy:true}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Vue, Component, Watch, Prop } from 'vue-property-decorator';\r\nimport { Action, Getter } from 'vuex-class';\r\nimport { Color, Item, ItemInfo } from '@/store/models/ItemModel';\r\nimport J1lImg from '@/components/J1lImg.vue';\r\nimport DefaultLayout from '@/components/DefaultLayout.vue';\r\nimport ItemService from '@/services/item-service';\r\nimport HiRezImg from '@/components/HiRezImg.vue';\r\nimport AlertComponent from '@/components/AlertLayout.vue';\r\nimport { CookieHelpers } from '@/helpers/CookieHelper';\r\nimport { BuildItemAlertMessage } from '@/helpers/ObjectHelper';\r\nimport { AlertModel } from '@/store/models/DialogModel';\r\nimport { SetSnackBar } from '@/helpers/SnackbarHelper';\r\n@Component({\r\n components: { J1lImg, DefaultLayout, HiRezImg, AlertComponent }\r\n})\r\nexport default class extends Vue {\r\n $refs!: {\r\n alertForMaterial: HTMLFormElement;\r\n contentAndQualityImg: HTMLFormElement;\r\n };\r\n /* Properties */\r\n /* Store Actions */\r\n @Action('ApproveItem', { namespace: 'items' })\r\n approveItem: any;\r\n @Getter('areDiesLoading', { namespace: 'dies' })\r\n isDiesLoading!: any;\r\n @Getter('dieTemplates', { namespace: 'dies' })\r\n dieTemplates!: any;\r\n /* Watchers */\r\n /* Data */\r\n currentStep: number = 1;\r\n isApproving: boolean = false;\r\n itemSpecificationApproval: boolean = false;\r\n trimLineApproval: boolean = false;\r\n onlinePressApproval: boolean = false;\r\n accurateInfoApproval: boolean = false;\r\n imageClarityApproval: boolean = false;\r\n textApproval: boolean = false;\r\n item: Item = new Item();\r\n alertOption!: AlertModel;\r\n isMaterialAlertActive: boolean = false;\r\n isOptoutOptionChecked: boolean = false;\r\n availableColors: any = [];\r\n maskBuildType: string = 'trimmedlabel';\r\n /* Methods */\r\n close() {\r\n if (this.$route.params.shouldClose) {\r\n window.close();\r\n } else {\r\n this.$router.back();\r\n }\r\n }\r\n canApprove() {\r\n return (\r\n this.onlinePressApproval &&\r\n this.accurateInfoApproval &&\r\n this.imageClarityApproval &&\r\n this.textApproval\r\n );\r\n }\r\n onApproveCutAndMotion() {\r\n this.currentStep = 3;\r\n window.scrollTo(0, 0);\r\n }\r\n showHighRez() {\r\n this.$refs.contentAndQualityImg.showHighRezDialog();\r\n }\r\n async onApproveClick() {\r\n this.isApproving = true;\r\n let model = {\r\n PartNumber: this.item.PartNumber,\r\n DieId: this.item.Die.Id,\r\n MaterialId: this.item.Material.Id,\r\n ColorId: this.item.Color.Id,\r\n FinishId: this.item.Finish.Id,\r\n Description: this.item.Description,\r\n ItemId: this.item.Id\r\n };\r\n await this.approveItem(this.item.Id);\r\n this.$store.dispatch('items/refreshItem', this.item.Id);\r\n this.$store.dispatch('orderlines/RefreshItemInOrderlines', this.item);\r\n\r\n this.isApproving = false;\r\n SetSnackBar('Item approved Successfully');\r\n if (this.$route.params.shouldClose) {\r\n window.close();\r\n } else {\r\n this.$router.back();\r\n }\r\n }\r\n /* Loaders */\r\n async loadItem(itemId: string) {\r\n const response = await ItemService.GetItemDetails(itemId);\r\n if (response.data) {\r\n const item = new Item(response.data);\r\n this.item = item;\r\n }\r\n }\r\n /* Mounted */\r\n async mounted() {}\r\n /* Created */\r\n async created() {\r\n if (this.$route.params.id) {\r\n this.loadItem(this.$route.params.id);\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/@vue/cli-plugin-typescript/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!./ItemApproval.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/@vue/cli-plugin-typescript/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!./ItemApproval.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ItemApproval.vue?vue&type=template&id=5dd0589e\"\nimport script from \"./ItemApproval.vue?vue&type=script&lang=ts\"\nexport * from \"./ItemApproval.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ItemApproval.vue?vue&type=style&index=0&id=5dd0589e&prod&lang=stylus\"\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--12-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--12-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--12-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--12-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemApproval.vue?vue&type=style&index=0&id=5dd0589e&prod&lang=stylus\"","import axios, { AxiosResponse } from 'axios';\r\nimport { handleResponse, handleErrorResponse, downloadFile } from '@/helpers/ApiHelper';\r\nimport {\r\n QuoteData,\r\n QuotesOrderModel,\r\n PricingMatrixModel\r\n} from '@/store/models/QuotesModel';\r\n\r\nconst quoteUrl = `${process.env.VUE_APP_ROOT_API}/Quotes`;\r\n// const quoteUrl = 'http://localhost:59410/api/Quotes';\r\n\r\nexport const QuoteService = {\r\n GetMaximumQuantityForBasePrice(model: PricingMatrixModel) {\r\n return axios.post(`${quoteUrl}/GetMaximumQuantityForBasePrice`, model);\r\n },\r\n GetQuoteValues(model: PricingMatrixModel) {\r\n return axios.post(`${quoteUrl}/GetQuoteValues`, model);\r\n },\r\n GetTransparencyQuote(\r\n quantity: number,\r\n numberAcross: number,\r\n level: number,\r\n staticItemId: string\r\n ) {\r\n return axios.get(\r\n `${quoteUrl}/GetTransparencyQuote?quantity=${quantity}&numberAcross=${numberAcross}&level=${level}&staticItemId=${staticItemId}`\r\n );\r\n },\r\n async GetPricingMatrix(model: PricingMatrixModel) {\r\n // const response = await axios.post(`${quoteUrl}/GetPricingMatrix`, model);\r\n // return response.data;\r\n return axios.post(`${quoteUrl}/GetPricingMatrix`, model);\r\n },\r\n ProcessQuoteOrder(model: QuotesOrderModel) {\r\n return axios.post(`${quoteUrl}/ProcessQuoteOrder`, model);\r\n }\r\n};\r\n","export class QuoteData {\r\n PublicId!: string;\r\n Quantity!: number;\r\n TotalCost!: number;\r\n DieId!: number;\r\n MaterialId!: number;\r\n FinishId!: number;\r\n ColorId!: number;\r\n SetupCost!: number;\r\n QuoteNumber!: number;\r\n CostEach!: number;\r\n constructor(rawItem?: any) {\r\n this.Populate(rawItem);\r\n }\r\n Populate(rawItem: any) {\r\n if (rawItem) {\r\n this.PublicId = rawItem.PublicId;\r\n this.Quantity = rawItem.Quantity;\r\n this.TotalCost = rawItem.TotalCost;\r\n this.DieId = rawItem.DieId;\r\n this.MaterialId = rawItem.MaterialId;\r\n this.FinishId = rawItem.FinishId;\r\n this.ColorId = rawItem.ColorId;\r\n this.QuoteNumber = rawItem.QuoteNumber;\r\n this.SetupCost = rawItem.SetupCost;\r\n this.CostEach = rawItem.CostEach;\r\n }\r\n }\r\n}\r\n\r\nexport class QuotesOrderModel {\r\n DieId: number;\r\n MaterialId!: number;\r\n ColorId!: number;\r\n FinishId!: number;\r\n RollDirectionId!: number;\r\n IsANewDie!: boolean;\r\n DieHeight!: number;\r\n DieWidth!: number;\r\n DieShape!: string;\r\n RushOptionId!: string;\r\n Quantity!: number;\r\n CustomerId!: string;\r\n DueDate!: Date;\r\n TempFileId!: string;\r\n TempFileName!: string;\r\n IsHandApplied!: boolean;\r\n OrderPO!: string;\r\n ProofOptions!: ProofOptions;\r\n constructor(rawItem?: any) {\r\n this.DieId = rawItem.DieId;\r\n this.MaterialId = rawItem.MaterialId;\r\n this.ColorId = rawItem.ColorId;\r\n this.FinishId = rawItem.FinishId;\r\n this.RollDirectionId = rawItem.RollDirectionId;\r\n this.IsANewDie = rawItem.IsANewDie;\r\n this.DieHeight = rawItem.DieHeight;\r\n this.DieWidth = rawItem.DieWidth;\r\n this.DieShape = rawItem.DieShape;\r\n this.RushOptionId = rawItem.RushOptionId;\r\n this.Quantity = rawItem.Quantity;\r\n this.CustomerId = rawItem.CustomerId;\r\n this.DueDate = rawItem.DueDate;\r\n this.TempFileId = rawItem.TempFileId;\r\n this.TempFileName = rawItem.TempFileName;\r\n this.IsHandApplied = rawItem.IsHandApplied;\r\n this.OrderPO = rawItem.OrderPO;\r\n this.ProofOptions = rawItem.ProofOptions;\r\n }\r\n}\r\n\r\nexport class ProofOptions {\r\n ProofQuantity!: number;\r\n IsLaminated!: boolean;\r\n constructor(rawItem?: any) {\r\n this.Populate(rawItem);\r\n }\r\n Populate(rawItem: any) {\r\n if (rawItem) {\r\n this.ProofQuantity = rawItem.ProofQuantity;\r\n this.IsLaminated = rawItem.IsLaminated;\r\n }\r\n }\r\n}\r\n\r\nexport class PricingMatrixModel {\r\n DieId!: number;\r\n MaterialId!: number;\r\n FinishId!: number;\r\n ColorId!: number;\r\n Quantity!: number;\r\n StartQuantity!: number;\r\n EndQuantity!: number;\r\n IncrementBy!: number;\r\n ShouldUseVarData!: boolean;\r\n ShouldUseVarnish!: boolean;\r\n DieHeight!: number;\r\n DieWidth!: number;\r\n DieShape!: string;\r\n constructor(rawItem?: any) {\r\n this.ShouldUseVarData = false;\r\n this.Populate(rawItem);\r\n }\r\n Populate(rawItem: any) {\r\n this.DieId = rawItem.DieId;\r\n this.MaterialId = rawItem.MaterialId;\r\n this.FinishId = rawItem.FinishId;\r\n this.ColorId = rawItem.ColorId;\r\n this.Quantity = rawItem.Quantity;\r\n this.StartQuantity = rawItem.StartQuantity;\r\n this.EndQuantity = rawItem.EndQuantity;\r\n this.IncrementBy = rawItem.IncrementBy;\r\n this.ShouldUseVarData = rawItem.ShouldUseVarData;\r\n this.ShouldUseVarnish = rawItem.ShouldUseVarnish;\r\n this.DieHeight = rawItem.DieHeight;\r\n this.DieWidth = rawItem.DieWidth;\r\n this.DieShape = rawItem.DieShape;\r\n }\r\n}\r\n\r\nexport interface QuotesState {\r\n quotes: QuoteData[];\r\n priceMatrix: QuoteData[];\r\n error: boolean;\r\n isLoading: boolean;\r\n}\r\n"],"sourceRoot":""}