{"version":3,"sources":["webpack:///./src/helpers/WebHelper.ts","webpack:///./src/helpers/AuthHelper.ts","webpack:///./src/views/ItemApproval.vue?53be","webpack:///./src/helpers/CommandHelper.ts","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","webpack:///./src/views/Items/ManageItems.vue?4f14","webpack:///./src/views/Items/ManageItems.vue","webpack:///./src/services/error-service.ts","webpack:///./src/views/Items/ManageItems.vue?b7bf","webpack:///./src/views/Items/ManageItems.vue?5dee","webpack:///./src/views/Items/ManageItems.vue?c213"],"names":["DisableFormAutofill","formId","inputs","document","querySelectorAll","concat","forEach","input","setAttribute","DisableFieldAutofill","id","getElementById","Wait","func","time","arguments","length","undefined","setTimeout","Confirm","action","confirmationTitle","confirmationText","cancelButtonText","commitButtonText","newConfirmationDialog","ConfirmationDialogInfo","store","commit","PaginationCommand","typeName","model","CurrentPage","SearchModel","dispatch","paymentUrl","process","commonPaymentUrl","PaymentService","GetCustomerPaymentProfilesSelfPay","axios","get","CanDeletePaymentProfile","paymentProfileId","ChargeCard","invoiceId","ConfirmSetupIntent","post","CreateSetupIntent","GetAdditionalCustomerPaymentProfiles","customerId","GetCustomerPaymentProfiles","Promise","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","resolve","reject","response","_yield$axios$get","data","wrap","_context","prev","next","sent","stop","_x","_x2","apply","SaveNewPaymentMethod","SetDefaultPaymentMethod","paymentId","PayInvoice","_ref2","_callee2","_context2","handleResponse","abrupt","t0","_x3","_x4","expression","_c","staticClass","attrs","scopedSlots","key","fn","_vm","currentStep","ref","_v","staticStyle","callback","itemSpecificationApproval","on","trimLineApproval","close","_e","value","accurateInfoApproval","imageClarityApproval","textApproval","onlinePressApproval","staticRenderFns","render","default_1","_Vue","_this","_classCallCheck","isApproving","item","Item","isMaterialAlertActive","isOptoutOptionChecked","availableColors","maskBuildType","_inherits","_createClass","val","this","$refs","BarcodePlacement","SetItem","$route","params","shouldClose","window","$router","back","scrollTo","_goToBarcodePlacement","approve","goToBarcodePlacement","_onApproveClick","_this2","NeedsBarcodePlacement","onApproveClick","_approve","_callee3","shouldGoToBarcodePlacement","_args3","_context3","approveItem","Id","$store","SetSnackBar","push","name","itemId","error","_loadItem","_callee4","_context4","ItemService","GetItemDetails","loadItem","_mounted","_callee5","_context5","mounted","_created","_callee6","_context6","created","Vue","__decorate","Action","namespace","Getter","Watch","Component","components","J1lImg","DefaultLayout","HiRezImg","AlertComponent","component","CustomerPaymentModel","ExpirationDate","AddressToEdit","Address","IsABankAccount","PaymentType","ConvertToRequestModel","NameOnCard","CreditCardNumber","CCV","BillingAddressId","AccountNumber","AccountType","BankName","RoutingNumber","IsBankAccount","ConversionHelper","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","goToNewItem","filteredfilterOptions","currentFilter","displayedItems","errorUrl","ErrorService","LogError","msg","ManageItems","isItemFiltered","areChipsGettingData","shouldRefreshImg","shouldStopPagination","isLoading","filteredItems","activeChip","searchModel","text","count","isSelected","filterOptions","selectedItemIdAndType","refreshFilterOptionCount","defaultActions","getOrderlinesInCart","map","fo","i","getItemFilterCountContainer","refreshPagination","clearFilteredItems","_this3","_onItemFilterOptionClick","ItemFilterType","Everything","OnOrder","GetFilteredItem","OnHold","SignOffs","onItemFilterOptionClick","_handleEditItem","isAdding","J1LSearch","clearSearch","reGrabItemFromStore","isItemVersionCorrect","expectedVersion","handleEditItem","items","find","Version","_createItem","didAccept","setHasItems","createItem","refreshShoppingCart","_loadItemCard","processingImageItemIds","loadItemCard","_x5","filter","f","console","log","itemFromStore","unshift","partnumber","setSearchText","handlePartNumberSearch","State","Mutation","J1LPagination","ItemCard","NoItemOrder"],"mappings":"2QAAM,SAAUA,EAAoBC,GAClC,IAAIC,EAASC,SAASC,iBAAiB,IAADC,OAAKJ,EAAM,sBACjDC,EAAOI,SAAQ,SAAAC,GACbA,EAAMC,aAAa,OAAQ,gBAC3BD,EAAMC,aAAa,eAAgB,UAGjC,SAAUC,EAAqBC,GACnC,IAAMH,EAAQJ,SAASQ,eAAeD,GAClCH,IACFA,EAAMC,aAAa,OAAQ,gBAC3BD,EAAMC,aAAa,eAAgB,QAGjC,SAAUI,EAAKC,GAAkC,IAAjBC,EAAAC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAe,GACnDG,YAAW,WACTL,MACCC,K,2DCjBL,8DAGM,SAAUK,EACdC,EACAC,EACAC,GAEsC,IADtCC,EAAAR,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAA2B,SAC3BS,EAAAT,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAA2B,YAErBU,EAAwB,IAAIC,OAAuB,CACvDN,SACAC,oBACAC,mBACAC,mBACAC,qBAEFG,OAAMC,OAAO,gCAAiCH,K,oCCjBhD,W,oCCIM,SAAUI,EACdC,EACAH,EACAI,GAEA,OAAQD,GACN,IAAK,QAEH,OADAH,EAAMC,OAAO,uBAAwBG,EAAMC,aACvCD,EAAME,iBACRN,EAAMO,SAAS,iCAAkCH,QAGnDJ,EAAMO,SAAS,iBAAkBH,GAGnC,IAAK,aAOH,OANAJ,EAAMC,OAAO,4BAA6BG,EAAM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A,CADCG,eAAO,2BAA4B,CAAED,UAAW,W,6CAGjDF,eAAA,CADCG,eAAO,QAAS,CAAED,UAAW,W,4BAG9BF,eAAA,CADCG,eAAO,kBAAmB,CAAED,UAAW,W,sCAGxCF,eAAA,CADCG,eAAO,wBAAyB,CAAED,UAAW,W,4CAG9CF,eAAA,CADC8I,eAAS,cAAe,CAAE5I,UAAW,W,kCAKtCF,eAAA,CADCI,eAAM,gC,wCAKPJ,eAAA,CADCI,eAAM,oB,yCAnCY4E,EAAWhF,eAAA,CAX/BK,eAAU,CACTC,WAAY,CACVE,qBACAuI,qBACAC,gBACAzI,cACAG,sBACAuI,mBACA/B,qBAGiBlC,WC1BkY,I,wBCQnZrE,EAAY,eACd,EACA,EACAzE,GACA,EACA,KACA,WACA,MAIa,aAAAyE,E","file":"js/ManageItems~91f4305a.b4d71ddc.js","sourcesContent":["export function DisableFormAutofill(formId: string) {\r\n var inputs = document.querySelectorAll(`#${formId} input[type=text]`);\r\n inputs.forEach(input => {\r\n input.setAttribute('role', 'presentation');\r\n input.setAttribute('autocomplete', 'off');\r\n });\r\n}\r\nexport function DisableFieldAutofill(id: string) {\r\n const input = document.getElementById(id);\r\n if (input) {\r\n input.setAttribute('role', 'presentation');\r\n input.setAttribute('autocomplete', 'off');\r\n }\r\n}\r\nexport function Wait(func: () => any, time: number = 50) {\r\n setTimeout(() => {\r\n func();\r\n }, time);\r\n}\r\n","import { ConfirmationDialogInfo } from '@/store/models/CustomerModel';\r\nimport store from '@/store/modules/index';\r\n\r\nexport function Confirm(\r\n action: any,\r\n confirmationTitle: string,\r\n confirmationText: string,\r\n cancelButtonText: string = 'Cancel',\r\n commitButtonText: string = 'I am sure'\r\n) {\r\n const newConfirmationDialog = new ConfirmationDialogInfo({\r\n action,\r\n confirmationTitle,\r\n confirmationText,\r\n cancelButtonText,\r\n commitButtonText\r\n });\r\n store.commit('profile/setConfirmationAction', newConfirmationDialog);\r\n return;\r\n}\r\n","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 { Store } from 'vuex';\r\nimport { PaginationModel } from '@/store/models/PaginationModel';\r\nimport { SearchRequestModel } from '@/store/models/OrderlineModel';\r\n\r\nexport function PaginationCommand(\r\n typeName: string,\r\n store: Store,\r\n model: PaginationModel\r\n) {\r\n switch (typeName) {\r\n case 'items': {\r\n store.commit('items/setCurrentPage', model.CurrentPage);\r\n if (model.SearchModel) {\r\n store.dispatch('items/GetSearchedItemsByEntity', model);\r\n return;\r\n }\r\n store.dispatch('items/GetItems', model);\r\n return;\r\n }\r\n case 'orderlines': {\r\n store.commit('orderlines/setCurrentPage', model.CurrentPage);\r\n if (model.SearchModel) {\r\n store.dispatch('orderlines/GetSearchedOrderlinesByEntity', model);\r\n } else {\r\n store.dispatch('orderlines/GetOrderlinePagination', model);\r\n }\r\n return;\r\n }\r\n }\r\n}\r\n","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","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!./ManageItems.vue?vue&type=style&index=0&id=22cf8625&prod&lang=stylus&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('DefaultLayout',{ref:\"defaultActions\",on:{\"reconcileList\":_vm.ReconcileItems},scopedSlots:_vm._u([{key:\"search\",fn:function(){return [_c('v-layout',{attrs:{\"row\":\"\",\"align-center\":\"\",\"justify-center\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"10\",\"xs\":\"4\",\"sm\":\"11\",\"md\":\"11\",\"lg\":\"12\"}},[_c('J1LSearch',{ref:\"J1LSearch\",attrs:{\"is-loading\":_vm.isLoading || _vm.areItemsLoading},on:{\"suggestionSelected\":_vm.search}})],1)],1)]},proxy:true},{key:\"addButton\",fn:function(){return [_c('v-btn',{staticClass:\"toolbar-button text-none\",staticStyle:{\"margin-right\":\"5px\"},attrs:{\"id\":\"newOrderButton\",\"dark\":\"\",\"x-large\":\"\",\"outlined\":\"\",\"height\":\"50px\",\"color\":\"black\"},on:{\"click\":function($event){return _vm.goToOrderView()}}},[_c('span',{staticClass:\"bold-blue\",staticStyle:{\"font-size\":\"18px\"}},[_vm._v(\"+\")]),_c('span',{staticStyle:{\"font-size\":\"18px\"}},[_vm._v(\" New Order\")])]),_c('v-btn',{staticClass:\"toolbar-button text-none\",attrs:{\"id\":\"newitemButton\",\"dark\":\"\",\"outlined\":\"\",\"height\":\"50px\",\"x-large\":\"\",\"color\":\"black\"},on:{\"click\":_vm.goToNewItem}},[_c('span',{staticClass:\"hot-pink\",staticStyle:{\"font-size\":\"18px\"}},[_vm._v(\"+\")]),_c('span',{staticStyle:{\"font-size\":\"18px\"}},[_vm._v(\"New Item\")])])]},proxy:true},{key:\"addButtonMobile\",fn:function(){return [_c('v-btn',{attrs:{\"fab\":\"\",\"large\":\"\",\"fixed\":\"\",\"bottom\":\"\",\"right\":\"\"},on:{\"click\":function($event){return _vm.goToNewItem()}}},[_c('v-icon',[_vm._v(\"mdi-file-plus\")])],1)]},proxy:true},{key:\"main\",fn:function(){return [(!_vm.doesCustomerHaveItems)?_c('NoItemOrder',{attrs:{\"is-item\":true},on:{\"AddNewItemSelected\":_vm.goToNewItem}}):_c('div',{on:{\"drop\":function($event){$event.preventDefault();return _vm.dropZoneEvent()},\"dragover\":function($event){$event.preventDefault();}}},[_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',{staticStyle:{\"padding-top\":\"16px\",\"padding-bottom\":\"16px\"},attrs:{\"cols\":\"8\"}},[_c('v-row',{attrs:{\"justify\":\"center\",\"align\":\"center\",\"no-gutters\":\"\"}},[_c('v-img',{attrs:{\"src\":require('@/assets/Transparency.png'),\"max-width\":\"150px\",\"contain\":\"\"}}),_c('div',{staticStyle:{\"width\":\"300px\"}},[_c('v-select',{staticClass:\"filterSelection\",attrs:{\"items\":_vm.filteredfilterOptions,\"item-text\":\"text\",\"solo\":\"\",\"flat\":\"\",\"return-object\":\"\",\"hide-details\":\"\",\"disabled\":_vm.areChipsGettingData || _vm.currentFilter.count < 1},on:{\"change\":function($event){return _vm.onItemFilterOptionClick(_vm.currentFilter.id)}},scopedSlots:_vm._u([{key:\"selection\",fn:function(data){return [_c('v-row',{attrs:{\"justify\":\"end\"}},[_c('span',{staticStyle:{\"margin-right\":\"3px\"}},[_vm._v(\" Showing \")]),_c('span',{staticStyle:{\"font-weight\":\"bold\"}},[_vm._v(_vm._s(data.item.text))]),(data.item.id != 0)?_c('span',[_vm._v(\"(\"+_vm._s(data.item.count)+\")\")]):_vm._e()])]}},{key:\"item\",fn:function(data){return [_vm._v(\" \"+_vm._s(data.item.text)+\" \"),(data.item.id != 0)?_c('span',[_vm._v(\"(\"+_vm._s(data.item.count)+\")\")]):_vm._e()]}},{key:\"append\",fn:function(){return [_c('v-divider',{staticStyle:{\"height\":\"48px\"},attrs:{\"vertical\":\"\"}}),_c('v-icon',{staticStyle:{\"margin-right\":\"-12px\"}},[_vm._v(\"mdi-menu-down\")])]},proxy:true}]),model:{value:(_vm.currentFilter),callback:function ($$v) {_vm.currentFilter=$$v},expression:\"currentFilter\"}})],1)],1)],1)],1),(!_vm.areChipsGettingData)?_c('v-container',{staticClass:\"full-width\",staticStyle:{\"padding-top\":\"25px\"}},[_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"8\"}},_vm._l((_vm.displayedItems),function(item){return _c('v-row',{key:item.Id + item.ApprovalStatus,staticClass:\"displayed-items\",attrs:{\"justify\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-divider'),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('ItemCard',{ref:\"itemCard\",refInFor:true,attrs:{\"item\":item,\"processing-item-ids\":_vm.processingImageItemIds},on:{\"processImage\":_vm.loadItemCard,\"handleEditItem\":_vm.handleEditItem,\"setShouldItemRefreshToTrue\":_vm.setShouldItemRefreshToTrue,\"refreshItem\":_vm.reGrabItemFromStore,\"refreshCart\":_vm.refreshCart}})],1)],1)],1)}),1)],1),(_vm.areItemsLoading)?_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\",\"justify-center\":\"\"}},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"red\"}})],1):_vm._e()],1):_c('v-container',{staticClass:\"full-width\",staticStyle:{\"padding-top\":\"70px\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\",\"justify-center\":\"\"}},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"red\"}})],1)],1)],1),(!_vm.shouldStopPagination)?_c('J1LPagination',{attrs:{\"type-name\":'items',\"is-loading\":_vm.areItemsLoading || !_vm.doesCustomerHaveItems,\"should-stop-loading-more\":_vm.displayedItems.length < 10 && _vm.displayedItems.length !== 0,\"searched\":_vm.searchModel}}):_vm._e()]},proxy:true}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import axios, { AxiosResponse } from 'axios';\r\n\r\nconst errorUrl = `${process.env.VUE_APP_ROOT_API}/Error`;\r\n\r\nexport const ErrorService = {\r\n LogError(msg: string): Promise {\r\n return axios.post(`${errorUrl}/SendError`, msg);\r\n }\r\n};\r\n","\r\nimport { Vue, Component, Watch, Prop } from 'vue-property-decorator';\r\nimport { State, Action, Getter, Mutation } from 'vuex-class';\r\nimport { Item, ItemFilterType } from '@/store/models/ItemModel';\r\nimport { SearchRequestModel } from '@/store/models/OrderlineModel';\r\nimport { OrdersService } from '@/services/orders-service';\r\nimport { ErrorService } from '@/services/error-service';\r\nimport DefaultLayout from '@/components/DefaultLayout.vue';\r\nimport J1LPagination from '@/components/J1LPagination.vue';\r\nimport ItemCard from '@/components/cardComponents/ItemCard.vue';\r\nimport J1lImg from '@/components/J1lImg.vue';\r\nimport NoItemOrder from '@/components/NoItemOrder.vue';\r\nimport AlertComponent from '@/components/AlertLayout.vue';\r\nimport J1LSearch from '@/components/vuetifyOverrides/J1LSearch.vue';\r\n\r\n@Component({\r\n components: {\r\n DefaultLayout,\r\n J1LPagination,\r\n ItemCard,\r\n J1lImg,\r\n AlertComponent,\r\n NoItemOrder,\r\n J1LSearch\r\n }\r\n})\r\nexport default class ManageItems extends Vue {\r\n $refs!: {\r\n defaultActions: HTMLFormElement;\r\n J1LSearch: HTMLFormElement;\r\n itemCard: HTMLFormElement;\r\n };\r\n\r\n /* Properties */\r\n /* Store Actions */\r\n @State('shouldReconcileQueuedItems', { namespace: 'items' })\r\n shouldReconcileQueuedItems: any;\r\n @Getter('getLoadingState', { namespace: 'items' })\r\n areItemsLoading: any;\r\n @Getter('getItemFilterCountContainer', { namespace: 'items' })\r\n getItemFilterCountContainer: any;\r\n @Action('ReconcileItems', { namespace: 'items' })\r\n ReconcileItems: any;\r\n @Action('GetShoppingCart', { namespace: 'orderlines' })\r\n refreshShoppingCart!: () => Promise;\r\n @Getter('getAllProcessingImageIds', { namespace: 'items' })\r\n processingImageItemIds: any;\r\n @Getter('items', { namespace: 'items' })\r\n items!: Item[];\r\n @Getter('getFilteredItem', { namespace: 'items' })\r\n GetFilteredItem: any;\r\n @Getter('doesCustomerHaveItems', { namespace: 'items' })\r\n doesCustomerHaveItems!: boolean;\r\n @Mutation('setHasItems', { namespace: 'items' })\r\n setHasItems: any;\r\n\r\n /* Watchers */\r\n @Watch('getItemFilterCountContainer')\r\n onFilterCountChange(val: any) {\r\n this.refreshFilterOptionCount();\r\n }\r\n @Watch('GetFilteredItem')\r\n onFilteredItemChange(val: any) {\r\n if (val[0]) {\r\n this.activeChip = 0;\r\n this.isItemFiltered = true;\r\n this.filteredItems = val;\r\n }\r\n }\r\n\r\n /* Data */\r\n isItemFiltered: boolean = false;\r\n areChipsGettingData: boolean = false;\r\n shouldRefreshImg: boolean = false;\r\n shouldStopPagination: boolean = false;\r\n isLoading: boolean = false;\r\n filteredItems: Item[] = [];\r\n activeChip: number = 0;\r\n searchModel: SearchRequestModel | null = null;\r\n currentFilter: {\r\n id: number;\r\n text: string;\r\n value: string;\r\n count: number;\r\n isSelected: true;\r\n } = {\r\n id: 0,\r\n text: 'Everything',\r\n value: 'Everything',\r\n count: 0,\r\n isSelected: true\r\n };\r\n filterOptions: any[] = [\r\n {\r\n id: 0,\r\n text: 'Everything',\r\n value: 'Everything',\r\n count: 0,\r\n isSelected: true\r\n },\r\n {\r\n id: 1,\r\n text: 'On Order',\r\n value: 'OnOrder',\r\n count: 0,\r\n isSelected: false\r\n },\r\n {\r\n id: 2,\r\n text: 'On Hold',\r\n value: 'OnHold',\r\n count: 0,\r\n isSelected: false\r\n },\r\n {\r\n id: 3,\r\n text: 'Sign-Offs',\r\n value: 'SignOffs',\r\n count: 0,\r\n isSelected: false\r\n }\r\n ];\r\n\r\n selectedItemIdAndType: any = null;\r\n\r\n /* Methods */\r\n refreshCart() {\r\n this.$refs.defaultActions.getOrderlinesInCart();\r\n }\r\n refreshFilterOptionCount() {\r\n this.filterOptions.map((fo, i) => {\r\n fo.count = this.getItemFilterCountContainer[fo.value];\r\n });\r\n }\r\n search(model: SearchRequestModel) {\r\n this.refreshPagination();\r\n this.searchModel = model;\r\n if (!model) this.clearFilteredItems();\r\n }\r\n getFilteredItems(model: SearchRequestModel) {\r\n this.$store.commit('items/setCurrentPage', 1);\r\n this.refreshPagination();\r\n this.$store.dispatch('items/ClearSearchOrder');\r\n this.currentFilter = this.filterOptions[0];\r\n this.searchModel = model;\r\n }\r\n clearFilteredItems() {\r\n this.$store.dispatch('items/ClearSearchOrder');\r\n this.searchModel = null;\r\n this.isItemFiltered = false;\r\n this.currentFilter = this.filterOptions[0];\r\n }\r\n refreshPagination() {\r\n this.shouldStopPagination = true;\r\n setTimeout(() => {\r\n this.shouldStopPagination = false;\r\n }, 1);\r\n }\r\n async onItemFilterOptionClick(value: any) {\r\n // get rid of search filter action and state\r\n this.filterOptions[value].isSelected = true;\r\n switch (value) {\r\n case 0:\r\n this.$store.commit('items/setFilteringType', ItemFilterType.Everything);\r\n this.isItemFiltered = false;\r\n break;\r\n case 1:\r\n this.areChipsGettingData = true;\r\n await this.$store.dispatch('items/GetOnOrderItem');\r\n this.$store.commit('items/setFilteringType', ItemFilterType.OnOrder);\r\n this.filteredItems = this.GetFilteredItem;\r\n this.isItemFiltered = true;\r\n this.areChipsGettingData = false;\r\n break;\r\n case 2:\r\n this.areChipsGettingData = true;\r\n await this.$store.dispatch('items/GetOnHoldItem');\r\n this.$store.commit('items/setFilteringType', ItemFilterType.OnHold);\r\n this.filteredItems = this.GetFilteredItem;\r\n this.isItemFiltered = true;\r\n this.areChipsGettingData = false;\r\n break;\r\n case 3:\r\n this.areChipsGettingData = true;\r\n await this.$store.dispatch('items/GetSignOffItem');\r\n this.$store.commit('items/setFilteringType', ItemFilterType.SignOffs);\r\n this.filteredItems = this.GetFilteredItem;\r\n this.isItemFiltered = true;\r\n this.areChipsGettingData = false;\r\n break;\r\n }\r\n }\r\n async handleEditItem(item: any, isAdding: boolean) {\r\n if (item && !isAdding) {\r\n this.$refs.J1LSearch.clearSearch();\r\n await this.$store.dispatch('items/refreshItem', item.itemId);\r\n this.reGrabItemFromStore(item.itemId);\r\n this.isItemVersionCorrect(item.itemId, item.expectedVersion);\r\n if (this.shouldRefreshImg) {\r\n this.$store.dispatch('items/addProcessImageItemId', item.itemId);\r\n this.shouldRefreshImg = false;\r\n }\r\n }\r\n }\r\n isItemVersionCorrect(itemId: string, expectedVersion: number) {\r\n let item = this.items.find(i => i.Id == itemId);\r\n if (!item || item.Version !== expectedVersion) {\r\n ErrorService.LogError(\r\n `item ${itemId} does not match expected Version ${expectedVersion}`\r\n );\r\n }\r\n }\r\n async createItem(response: any) {\r\n if (response.didAccept) {\r\n this.setHasItems(true);\r\n await this.$store.dispatch('items/refreshItem', response.itemId);\r\n this.$store.dispatch('items/addProcessImageItemId', response.itemId);\r\n }\r\n }\r\n setShouldItemRefreshToTrue(response: boolean) {\r\n this.shouldRefreshImg = response;\r\n }\r\n\r\n goToOrderView(po: string = '') {\r\n this.refreshShoppingCart();\r\n this.$router.push({ name: 'OrderView' });\r\n }\r\n goToNewItem() {\r\n this.$router.push({ name: 'NewItem' });\r\n }\r\n\r\n async loadItemCard(response: any) {\r\n if (this.processingImageItemIds.length > 0) {\r\n await this.$store.dispatch('items/removeProcessImageItemId', response.itemId);\r\n }\r\n this.$store.dispatch('items/refreshItem', response.itemId);\r\n }\r\n get displayedItems() {\r\n return this.isItemFiltered ? this.filteredItems : this.items;\r\n }\r\n get filteredfilterOptions() {\r\n return this.filterOptions.filter(f => f.count > 0);\r\n }\r\n dropZoneEvent() {\r\n console.log('File Drop');\r\n }\r\n reGrabItemFromStore(itemId: string) {\r\n let itemFromStore = this.items.find(i => i.Id === itemId);\r\n if (itemFromStore && this.isItemFiltered) {\r\n this.filteredItems = this.filteredItems.filter(i => i.Id !== itemId);\r\n this.displayedItems.unshift(itemFromStore);\r\n }\r\n }\r\n handlePartNumberSearch(partnumber: string) {\r\n this.$refs.J1LSearch.setSearchText(partnumber);\r\n }\r\n\r\n /* Loaders */\r\n /* Mounted */\r\n async mounted() {\r\n this.$store.dispatch('items/refreshItemFilterCount');\r\n this.currentFilter = this.filterOptions[0];\r\n this.onItemFilterOptionClick(0);\r\n if (this.$route.params.partnumber) {\r\n this.handlePartNumberSearch(this.$route.params.partnumber);\r\n }\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!./ManageItems.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!./ManageItems.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ManageItems.vue?vue&type=template&id=22cf8625&scoped=true\"\nimport script from \"./ManageItems.vue?vue&type=script&lang=ts\"\nexport * from \"./ManageItems.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ManageItems.vue?vue&type=style&index=0&id=22cf8625&prod&lang=stylus&scoped=true\"\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 \"22cf8625\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}