{"version":3,"sources":["webpack:///./src/views/Items/ItemInformation.vue","webpack:///./src/views/Items/ItemInformation.vue?7ab4","webpack:///./src/views/Items/ItemInformation.vue?7bdc","webpack:///./src/views/Items/ItemInformation.vue?a74b","webpack:///./src/views/ItemApproval.vue?53be","webpack:///./src/services/payment-service.ts","webpack:///./src/views/ItemApproval.vue","webpack:///./src/views/ItemApproval.vue?072d","webpack:///./src/views/ItemApproval.vue?1158","webpack:///./src/views/ItemApproval.vue?370a","webpack:///./src/store/models/PaymentModel.ts","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","paymentUrl","concat","process","commonPaymentUrl","PaymentService","GetCustomerPaymentProfilesSelfPay","axios","get","CanDeletePaymentProfile","paymentProfileId","ChargeCard","invoiceId","ConfirmSetupIntent","post","CreateSetupIntent","GetAdditionalCustomerPaymentProfiles","customerId","length","undefined","GetCustomerPaymentProfiles","Promise","_ref","resolve","reject","_yield$axios$get","SaveNewPaymentMethod","model","SetDefaultPaymentMethod","paymentId","PayInvoice","_ref2","handleResponse","abrupt","t0","scopedSlots","fn","currentStep","ref","callback","itemSpecificationApproval","trimLineApproval","close","accurateInfoApproval","imageClarityApproval","textApproval","onlinePressApproval","isApproving","Item","isMaterialAlertActive","isOptoutOptionChecked","availableColors","val","$refs","BarcodePlacement","SetItem","shouldClose","window","$router","back","scrollTo","_goToBarcodePlacement","approve","goToBarcodePlacement","_onApproveClick","_this2","NeedsBarcodePlacement","Confirm","onApproveClick","_approve","shouldGoToBarcodePlacement","_args3","approveItem","SetSnackBar","push","name","error","_loadItem","loadItem","_created","_callee6","_context6","created","Action","namespace","Getter","Watch","J1lImg","AlertComponent","CustomerPaymentModel","ExpirationDate","AddressToEdit","Address","IsABankAccount","PaymentType","ConvertToRequestModel","NameOnCard","CreditCardNumber","CCV","BillingAddressId","AccountNumber","AccountType","BankName","RoutingNumber","IsBankAccount","convertAddressToAddressModel","BankAccountType","BusinessChecking","PaymentProfile","rawItem","PublicId","IsLoading","CanEdit","CardNumber","CardType","IsDefault","IsDefaultPaymentMethodForInvoices","IsExpired","IsNet","PaymentAddress","PaymentMethodDescription","PaymentMethodTitle","PaymentMethodType","PaymentProfileId","quoteUrl","QuoteService","GetQuoteValues","GetPricingMatrix","GetTransparencyQuote","quantity","numberAcross","level","staticItemId","ProcessQuoteOrder","PricingMatrixModel","ShouldUseVarData","Populate","DieId","MaterialId","FinishId","ColorId","Quantity","StartQuantity","EndQuantity","IncrementBy","DieHeight","DieWidth","DieShape"],"mappings":"6TAAqP,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,OAA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oB,SAClBC,EACAC,EACAC,EACAC,GAEA,OAAO7H,IAAMC,IAAI,GAADN,OACX0H,EAAQ,mCAAA1H,OAAkC+H,EAAQ,kBAAA/H,OAAiBgI,EAAY,WAAAhI,OAAUiI,EAAK,kBAAAjI,OAAiBkI,KAGtHC,kBAAiB,SAAC1G,GAChB,OAAOpB,IAAMO,KAAK,GAADZ,OAAI0H,EAAQ,sBAAsBjG,M,gGCsD1C2G,EAAkB,WAa7B,SAAAA,EAAYzB,GAAa9L,eAAA,KAAAuN,GACvB9K,KAAK+K,kBAAmB,EACxB/K,KAAKgL,SAAS3B,GACf,OAAApK,eAAA6L,EAAA,EAAA/O,IAAA,WAAAmC,MACD,SAASmL,GACPrJ,KAAKiL,MAAQ5B,EAAQ4B,MACrBjL,KAAKkL,WAAa7B,EAAQ6B,WAC1BlL,KAAKmL,SAAW9B,EAAQ8B,SACxBnL,KAAKoL,QAAU/B,EAAQ+B,QACvBpL,KAAKqL,SAAWhC,EAAQgC,SACxBrL,KAAKsL,cAAgBjC,EAAQiC,cAC7BtL,KAAKuL,YAAclC,EAAQkC,YAC3BvL,KAAKwL,YAAcnC,EAAQmC,YAC3BxL,KAAK+K,iBAAmB1B,EAAQ0B,iBAChC/K,KAAKyL,UAAYpC,EAAQoC,UACzBzL,KAAK0L,SAAWrC,EAAQqC,SACxB1L,KAAK2L,SAAWtC,EAAQsC,aA7BG","file":"js/ItemInformation~ea1f58e8.d6c3b2b4.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/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/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=f0fd850c\"\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 * 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=4d9498a8&prod&lang=stylus\"","import axios, { AxiosResponse } from 'axios';\r\nimport { handleResponse } from '@/helpers/ApiHelper';\r\nconst paymentUrl = `${process.env.VUE_APP_ROOT_API}/Payment`;\r\nconst commonPaymentUrl = `${process.env.VUE_APP_COMMON_API}/Payment`;\r\n\r\nexport const PaymentService = {\r\n GetCustomerPaymentProfilesSelfPay() {\r\n return axios.get(`${paymentUrl}/GetCustomerPaymentProfilesSelfPay`);\r\n },\r\n CanDeletePaymentProfile(paymentProfileId: string): Promise {\r\n return axios.get(\r\n `${commonPaymentUrl}/CanDeletePaymentProfile?paymentProfileId=${paymentProfileId}`\r\n );\r\n },\r\n ChargeCard(invoiceId: string, paymentProfileId: string) {\r\n return axios.get(\r\n `${paymentUrl}/ChargeCard?invoiceId=${invoiceId}&paymentProfileId=${paymentProfileId}`\r\n );\r\n },\r\n ConfirmSetupIntent(): Promise {\r\n return axios.post(`${commonPaymentUrl}/ConfirmSetupIntent`);\r\n },\r\n CreateSetupIntent(): Promise {\r\n return axios.post(`${commonPaymentUrl}/CreateSetupIntent`);\r\n },\r\n GetAdditionalCustomerPaymentProfiles(customerId: number = 0): Promise {\r\n return axios.get(\r\n `${commonPaymentUrl}/GetAdditionalCustomerPaymentProfiles?customerId=${customerId}`\r\n );\r\n },\r\n GetCustomerPaymentProfiles(customerId: number = 0): Promise {\r\n return new Promise(async (resolve, reject) => {\r\n const response = await axios.get(\r\n `${commonPaymentUrl}/GetCustomerPaymentProfiles?customerId=${customerId}`\r\n );\r\n const { data } = await axios.get(\r\n `${commonPaymentUrl}/GetAdditionalCustomerPaymentProfiles?customerId=${customerId}`\r\n );\r\n if (data && data.length > 0) {\r\n response.data = response.data.concat(data);\r\n }\r\n resolve(response);\r\n });\r\n },\r\n SaveNewPaymentMethod(model: any): Promise {\r\n return axios.post(`${commonPaymentUrl}/SaveNewPaymentMethod`, model);\r\n },\r\n SetDefaultPaymentMethod(paymentId: string) {\r\n return axios.get(`${paymentUrl}/SetDefaultPaymentMethod?paymentId=${paymentId}`);\r\n },\r\n PayInvoice(paymentProfileId: string, invoiceId: string): Promise {\r\n return new Promise(async (resolve, reject) => {\r\n try {\r\n var model = {\r\n paymentId: paymentProfileId,\r\n invoiceId: invoiceId\r\n };\r\n const response = await axios.post(`${paymentUrl}/PayInvoice`, model);\r\n handleResponse(response);\r\n return resolve(response);\r\n } catch (error) {\r\n return reject(error);\r\n }\r\n });\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\")]),_c('v-divider')],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}}):_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',{staticClass:\"shrink mr-2 mt-0\",staticStyle:{\"display\":\"inline\"},attrs:{\"ripple\":false,\"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()}}},[_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',{staticClass:\"shrink mr-3 mt-0\",staticStyle:{\"display\":\"inline\"},attrs:{\"ripple\":false,\"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()}}},[_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-card',{attrs:{\"height\":\"300x\",\"flat\":\"\"}},[(_vm.currentStep == 3)?_c('HiRezImg',{ref:\"hirez\",attrs:{\"item-id\":_vm.item.Id,\"version\":_vm.item.Version,\"max-height\":300}}):_vm._e()],1)],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',{staticClass:\"shrink mr-2 mt-0\",staticStyle:{\"display\":\"inline\"},attrs:{\"ripple\":false,\"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()}}},[_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\":_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 BarcodePlacement from '@/components/BarcodePlacement.vue';\r\nimport { AlertModel } from '@/store/models/DialogModel';\r\nimport { SetSnackBar } from '@/helpers/SnackbarHelper';\r\nimport { Confirm } from '@/helpers/AuthHelper';\r\n@Component({\r\n components: {\r\n J1lImg,\r\n DefaultLayout,\r\n HiRezImg,\r\n AlertComponent,\r\n BarcodePlacement\r\n }\r\n})\r\nexport default class extends Vue {\r\n $refs!: {\r\n alertForMaterial: HTMLFormElement;\r\n BarcodePlacement: HTMLFormElement;\r\n };\r\n /* Properties */\r\n /* Store Actions */\r\n @Action('ApproveItem', { namespace: 'items' })\r\n approveItem!: (payload: string) => void;\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 @Watch('currentStep')\r\n onCurrentStepChange(val: number) {\r\n if (val === 4) this.$refs.BarcodePlacement.SetItem(this.item);\r\n }\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 async goToBarcodePlacement() {\r\n await this.approve(true);\r\n }\r\n async onApproveClick() {\r\n if (this.item.NeedsBarcodePlacement) {\r\n Confirm(\r\n () => {\r\n this.goToBarcodePlacement();\r\n },\r\n 'Place barcode?',\r\n 'The item you are approving will need a position to place the data matrix code. Would you like to do this now?'\r\n );\r\n } else {\r\n this.approve();\r\n }\r\n }\r\n async approve(shouldGoToBarcodePlacement: boolean = false) {\r\n this.isApproving = true;\r\n try {\r\n this.approveItem(this.item.Id);\r\n this.$store.dispatch('items/refreshItem', this.item.Id);\r\n\r\n SetSnackBar('Item approved Successfully');\r\n if (shouldGoToBarcodePlacement) {\r\n this.$router.push({\r\n name: 'BarcodePlacement',\r\n params: { itemId: this.item.Id }\r\n });\r\n } else if (this.$route.params.shouldClose) {\r\n window.close();\r\n } else {\r\n this.$router.back();\r\n }\r\n } catch (error) {\r\n SetSnackBar(\r\n 'There was an error approving your item. Please contact techsupport@just1label.com'\r\n );\r\n }\r\n\r\n this.isApproving = false;\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/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/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=4d9498a8\"\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=4d9498a8&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","import { BankAccountType } from '@/ConstValues';\r\nimport { Address } from './AddressModel';\r\nimport { AddressRequestModel } from './RequestModels';\r\nimport { ConversionHelper } from '@/helpers/ConversionHelper';\r\n\r\nexport class CustomerPaymentModel {\r\n NameOnCard!: string;\r\n CreditCardNumber!: string;\r\n ExpirationDate: string = '';\r\n CCV!: string;\r\n BillingAddressId!: string;\r\n AddressToEdit: Address = new Address();\r\n IsTestingAddress!: boolean;\r\n Address!: AddressRequestModel;\r\n CustomerId: number;\r\n AccountNumber: string;\r\n AccountType: BankAccountType;\r\n BankName: string;\r\n RoutingNumber: string;\r\n PaymentType: string;\r\n IsBankAccount: boolean;\r\n constructor() {\r\n this.PaymentType = 'Credit Card';\r\n this.AccountType = BankAccountType.BusinessChecking;\r\n }\r\n IsABankAccount: () => boolean = () => {\r\n return this.PaymentType == 'Bank Account';\r\n };\r\n ConvertToRequestModel: () => any = () => {\r\n var model = {\r\n NameOnCard: this.NameOnCard,\r\n CreditCardNumber: this.CreditCardNumber,\r\n ExpirationDate: this.ExpirationDate,\r\n CCV: this.CCV,\r\n BillingAddressId: this.BillingAddressId,\r\n AccountNumber: this.AccountNumber,\r\n AccountType: this.AccountType,\r\n BankName: this.BankName,\r\n RoutingNumber: this.RoutingNumber,\r\n IsBankAccount: this.IsABankAccount(),\r\n Address: ConversionHelper.convertAddressToAddressModel(\r\n this.AddressToEdit,\r\n true,\r\n true,\r\n false\r\n )\r\n };\r\n return model;\r\n };\r\n}\r\nexport class PaymentProfile {\r\n CanEdit!: boolean;\r\n CardName!: string;\r\n Avatar!: string;\r\n CardNumber!: string;\r\n CardType!: number;\r\n ExpirationDate!: string;\r\n IsDefault!: boolean;\r\n IsDefaultPaymentMethodForInvoices!: boolean;\r\n IsExpired!: boolean;\r\n IsNet!: boolean;\r\n NameOnCard!: string;\r\n PaymentAddress!: Address;\r\n PaymentMethodDescription!: string;\r\n PaymentMethodTitle!: string;\r\n PaymentMethodType!: number;\r\n PaymentProfileId!: string;\r\n PublicId: string = '';\r\n Id!: string;\r\n IsLoading: boolean = false;\r\n constructor(rawItem?: any) {\r\n if (rawItem) {\r\n this.CanEdit = rawItem.CanEdit;\r\n this.CardNumber = rawItem.CardNumber;\r\n this.CardType = rawItem.CardType;\r\n this.ExpirationDate = rawItem.ExpirationDate;\r\n this.IsDefault = rawItem.IsDefault;\r\n this.IsDefaultPaymentMethodForInvoices = rawItem.IsDefaultPaymentMethodForInvoices;\r\n this.IsExpired = rawItem.IsExpired;\r\n this.IsNet = rawItem.IsNet;\r\n this.NameOnCard = rawItem.NameOnCard;\r\n this.PaymentAddress = new Address(rawItem.PaymentAddress);\r\n this.PaymentMethodDescription = rawItem.PaymentMethodDescription;\r\n this.PaymentMethodTitle = rawItem.PaymentMethodTitle;\r\n this.PaymentMethodType = rawItem.PaymentMethodType;\r\n this.PaymentProfileId = rawItem.PaymentProfileId;\r\n this.Id = rawItem.PublicId;\r\n this.PublicId = rawItem.PublicId;\r\n }\r\n }\r\n}\r\n","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 GetQuoteValues(model: PricingMatrixModel) {\r\n return axios.post(`${quoteUrl}/GetQuoteValues`, model);\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 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 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 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.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":""}