{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/commerce/cart/columnAmount.vue?61ec","webpack:///./src/views/myCadac/licenceManagementOverview.vue?5536","webpack:///./src/views/myCadac/licenceManagementDetail.vue?f792","webpack:///./src/components/product/productConfigurationSummary.vue?22e3","webpack:///./src/views/commerce/shoppingCart.vue?f06d","webpack:///./src/components/product/productConfigurationSummaryItem.vue?e942","webpack:///./src/views/myCadac/serviceOverview.vue?bedb","webpack:///./src/views/myCadac/savedCartsOverview.vue?5680","webpack:///./src/assets/i18n sync ^\\.\\/.*\\.json$","webpack:///./src/components/training/trainingPriceSummary.vue?27fd","webpack:///./src/components/product/productFilters.vue?cc0e","webpack:///./src/views/myCadac/finishedTrainingOverview.vue?d83d","webpack:///./src/components/training/trainingModuleTable.vue?bc53","webpack:///./src/components/contracts/contractOverviewTable.vue?b0e5","webpack:///./src/components/commerce/cart/cartTrainingTable.vue?7d15","webpack:///./src/components/product/productPageHeader.vue?ebce","webpack:///./src/components/common/priceSummary.vue?1d5d","webpack:///./src/components/common/statusBadge.vue?d950","webpack:///./src/components/commerce/cart/columnProductInfo.vue?e2a2","webpack:///./src/components/commerce/cart/cartClientTable.vue?3655","webpack:///./src/components/contracts/contractDetailTable.vue?596a","webpack:///./src/components/common/contractSummary.vue?4422","webpack:///./src/components/training/trainingCourseTable.vue?5584","webpack:///./src/views/myCadac/supportOverview.vue?1542","webpack:///./src/views/commerce/checkoutComplete.vue?e13c","webpack:///./src/components/commerce/cart/columnTrainingInfo.vue?83ea","webpack:///./src/components/common/popoverIcon.vue?bbe8","webpack:///./src/components/common/slideSidebar.vue?db52","webpack:///./src/components/product/productTabs.vue?4da2","webpack:///./src/views/myCadac/finishedTrainingDetail.vue?b676","webpack:///./src/components/common/backButton.vue?03f1","webpack:///./src/views/commerce/checkout.vue?07bd","webpack:///./src/views/myCadac/plannedTrainingDetail.vue?3cc1","webpack:///./src/components/commerce/supportCard.vue?c0bf","webpack:///./src/views/layout/mainLayout.vue?5fac","webpack:///./src/views/myCadac/plannedTrainingOverview.vue?855f","webpack:///./src/components/commerce/cart/cartPrintPreview.vue?66b4","webpack:///./src/views/commerce/trainingProductOverview.vue?595a","webpack:///./src/views/myCadac/supportTicketOverview.vue?42c3","webpack:///./src/components/product/productConfigurationStep.vue?551e","webpack:///./src/store/index.ts","webpack:///./src/components/common/backButton.vue?6dda","webpack:///./src/types/helpers/urlHelper.ts","webpack:///./src/components/common/backButton.vue","webpack:///./src/components/common/backButton.vue?9d52","webpack:///./src/components/experts/ExpertBusinessCardForm.vue?bd73","webpack:///./src/types/helpers/formatHelper.ts","webpack:///./src/store/modules/commonModule.ts","webpack:///./src/types/helpers/apiHelper.ts","webpack:///./src/store/modules/userModule.ts","webpack:///./src/types/helpers/mixins.ts","webpack:///./src/types/generated/localazyMetaData.ts","webpack:///./src/types/utils/i18n.ts","webpack:///./src/types/helpers/validationHelper.ts","webpack:///./src/types/utils/i18n-validators.ts","webpack:///./src/components/experts/ExpertBusinessCardForm.vue","webpack:///./src/components/experts/ExpertBusinessCardForm.vue?f4af","webpack:///./src/components/common/popoverIcon.vue?cf48","webpack:///./src/components/common/popoverIcon.vue","webpack:///./src/components/common/popoverIcon.vue?fcb4","webpack:///./src/components/common/priceSummary.vue?e19a","webpack:///./src/components/common/priceSummary.vue","webpack:///./src/components/common/priceSummary.vue?b3b1","webpack:///./src/components/commerce/productAddedModal.vue?d483","webpack:///./src/store/modules/cartModule.ts","webpack:///./src/components/commerce/productAddedModal.vue","webpack:///./src/components/commerce/productAddedModal.vue?d0c0","webpack:///./src/components/common/statusBadge.vue?4b04","webpack:///./src/components/common/statusBadge.vue","webpack:///./src/components/common/statusBadge.vue?d8d7","webpack:///./src/components/index.ts","webpack:///./src/views/myCadac/supportTicketOverview.vue?8001","webpack:///./src/views/myCadac/supportTicketOverview.vue","webpack:///./src/views/myCadac/supportTicketOverview.vue?31bc","webpack:///./src/views/myCadac/walletOverview.vue?829f","webpack:///./src/types/generated/walletTransactionOrigin.ts","webpack:///./src/types/generated/walletTransactionType.ts","webpack:///./src/views/myCadac/walletOverview.vue","webpack:///./src/views/myCadac/walletOverview.vue?dd91","webpack:///./src/views/myCadac/supportOverview.vue?8fb8","webpack:///./src/views/myCadac/supportOverview.vue","webpack:///./src/views/myCadac/supportOverview.vue?a5de","webpack:///./src/views/myCadac/contractOverview.vue?c18c","webpack:///./src/components/contracts/contractOverviewTable.vue?45fb","webpack:///./src/types/generated/switchStatus.ts","webpack:///./src/components/contracts/contractOverviewTable.vue","webpack:///./src/components/contracts/contractOverviewTable.vue?c505","webpack:///./src/views/myCadac/contractOverview.vue","webpack:///./src/views/myCadac/contractOverview.vue?b774","webpack:///./src/views/myCadac/orderOverview.vue?3ecf","webpack:///./src/views/myCadac/orderOverview.vue","webpack:///./src/views/myCadac/orderOverview.vue?d121","webpack:///./src/views/myCadac/finishedTrainingOverview.vue?fac2","webpack:///./src/views/myCadac/finishedTrainingOverview.vue","webpack:///./src/views/myCadac/finishedTrainingOverview.vue?f457","webpack:///./src/views/myCadac/plannedTrainingOverview.vue?0b69","webpack:///./src/views/myCadac/plannedTrainingOverview.vue","webpack:///./src/views/myCadac/plannedTrainingOverview.vue?03cc","webpack:///./src/views/myCadac/plannedTrainingDetail.vue?b0f3","webpack:///./src/components/training/trainingParticipantsTable.vue?d322","webpack:///./src/components/training/trainingParticipantsTable.vue","webpack:///./src/components/training/trainingParticipantsTable.vue?78c0","webpack:///./src/components/training/trainingDetailSummary.vue?fbf4","webpack:///./src/components/training/trainingDetailSummary.vue","webpack:///./src/components/training/trainingDetailSummary.vue?b695","webpack:///./src/views/myCadac/plannedTrainingDetail.vue","webpack:///./src/views/myCadac/plannedTrainingDetail.vue?0119","webpack:///./src/views/myCadac/contractDetail.vue?cb25","webpack:///./src/components/contracts/contractDetailTable.vue?d364","webpack:///./src/components/contracts/contractDetailTable.vue","webpack:///./src/components/contracts/contractDetailTable.vue?391f","webpack:///./src/components/contracts/contractDetailChangeCard.vue?9803","webpack:///./src/components/contracts/contractDetailChangeCard.vue","webpack:///./src/components/contracts/contractDetailChangeCard.vue?bcc4","webpack:///./src/views/myCadac/contractDetail.vue","webpack:///./src/views/myCadac/contractDetail.vue?d55d","webpack:///./src/views/myCadac/contractExtend.vue?a6c7","webpack:///./src/store/modules/contractModule.ts","webpack:///./src/types/generated/contractProlongationOptionType.ts","webpack:///./src/components/contracts/contractDetailSwitchCard.vue?21c2","webpack:///./src/types/generated/deployment.ts","webpack:///./src/components/contracts/contractDetailSwitchCard.vue","webpack:///./src/components/contracts/contractDetailSwitchCard.vue?b369","webpack:///./src/components/contracts/contractDetailExtendCard.vue?0a94","webpack:///./src/components/common/contractSummary.vue?bf0e","webpack:///./src/components/common/contractSummary.vue","webpack:///./src/components/common/contractSummary.vue?2ff2","webpack:///./src/components/contracts/contractDetailExtendCard.vue","webpack:///./src/components/contracts/contractDetailExtendCard.vue?bd28","webpack:///./src/components/contracts/contractSwitchModal.vue?9ec2","webpack:///./src/components/contracts/contractSwitchModal.vue","webpack:///./src/components/contracts/contractSwitchModal.vue?b3c2","webpack:///./src/components/contracts/contractExtendModal.vue?7ab4","webpack:///./src/components/contracts/contractExtendModal.vue","webpack:///./src/components/contracts/contractExtendModal.vue?9b31","webpack:///./src/views/myCadac/contractExtend.vue","webpack:///./src/views/myCadac/contractExtend.vue?900c","webpack:///./src/views/myCadac/accountSettings.vue?50e1","webpack:///./src/components/common/forms/personalForm.vue?4399","webpack:///./src/components/common/forms/personalForm.vue","webpack:///./src/components/common/forms/personalForm.vue?fe80","webpack:///./src/components/common/forms/addressForm.vue?0cad","webpack:///./src/components/common/forms/addressForm.vue","webpack:///./src/components/common/forms/addressForm.vue?8aa7","webpack:///./src/components/common/forms/companyForm.vue?b9dc","webpack:///./src/components/common/forms/companyForm.vue","webpack:///./src/components/common/forms/companyForm.vue?3c08","webpack:///./src/views/myCadac/accountSettings.vue","webpack:///./src/views/myCadac/accountSettings.vue?565e","webpack:///./src/views/myCadac/serviceOverview.vue?7304","webpack:///./src/views/myCadac/serviceOverview.vue","webpack:///./src/views/myCadac/serviceOverview.vue?e609","webpack:///./src/views/myCadac/expertProfile.vue?3945","webpack:///./src/views/myCadac/expertProfile.vue","webpack:///./src/views/myCadac/expertProfile.vue?0941","webpack:///./src/views/myCadac/expertTravelPreferences.vue?0cb0","webpack:///./src/views/myCadac/expertTravelPreferences.vue","webpack:///./src/views/myCadac/expertTravelPreferences.vue?d3b7","webpack:///./src/views/myCadac/expertAvailability.vue?202a","webpack:///./src/views/myCadac/expertAvailability.vue","webpack:///./src/views/myCadac/expertAvailability.vue?ebd6","webpack:///./src/views/myCadac/licenceManagementOverview.vue?4c1a","webpack:///./src/views/myCadac/licenceManagementOverview.vue","webpack:///./src/views/myCadac/licenceManagementOverview.vue?2598","webpack:///./src/views/myCadac/licenceManagementDetail.vue?0a5c","webpack:///./src/store/modules/licenceModule.ts","webpack:///./src/components/licenceManagement/licenceFormModal.vue?e8ff","webpack:///./src/components/licenceManagement/serverLicenceForm.vue?660d","webpack:///./src/components/licenceManagement/serverLicenceForm.vue","webpack:///./src/components/licenceManagement/serverLicenceForm.vue?5039","webpack:///./src/components/licenceManagement/userLicenceForm.vue?87b8","webpack:///./src/components/licenceManagement/userLicenceForm.vue","webpack:///./src/components/licenceManagement/userLicenceForm.vue?1f5b","webpack:///./src/types/generated/licenceStatus.ts","webpack:///./src/types/generated/licenceType.ts","webpack:///./src/components/licenceManagement/licenceFormModal.vue","webpack:///./src/components/licenceManagement/licenceFormModal.vue?be8c","webpack:///./src/views/myCadac/licenceManagementDetail.vue","webpack:///./src/views/myCadac/licenceManagementDetail.vue?36ed","webpack:///./src/views/commerce/shoppingCart.vue?8d29","webpack:///./src/components/commerce/cart/cartOverview.vue?7bac","webpack:///./src/components/commerce/cart/cartClientTable.vue?aa3d","webpack:///./src/components/commerce/cart/columnAmount.vue?861f","webpack:///./src/components/commerce/cart/columnAmount.vue","webpack:///./src/components/commerce/cart/columnAmount.vue?2fff","webpack:///./src/types/generated/licenseClass.ts","webpack:///./src/types/generated/cartLineType.ts","webpack:///./src/components/commerce/cart/columnProductInfo.vue?864f","webpack:///./src/components/commerce/cart/columnProductInfo.vue","webpack:///./src/components/commerce/cart/columnProductInfo.vue?fa3d","webpack:///./src/components/commerce/cart/columnYesNo.vue?3674","webpack:///./src/components/commerce/cart/columnYesNo.vue","webpack:///./src/components/commerce/cart/columnYesNo.vue?4d02","webpack:///./src/components/commerce/cart/columnProductName.vue?286f","webpack:///./src/components/commerce/cart/columnProductName.vue","webpack:///./src/components/commerce/cart/columnProductName.vue?a446","webpack:///./src/components/commerce/cart/cartClientTable.vue","webpack:///./src/components/commerce/cart/cartClientTable.vue?f6d7","webpack:///./src/components/commerce/cart/cartContractTable.vue?4ee0","webpack:///./src/components/commerce/cart/cartContractTable.vue","webpack:///./src/components/commerce/cart/cartContractTable.vue?7600","webpack:///./src/components/commerce/cart/cartTrainingTable.vue?182e","webpack:///./src/components/commerce/cart/columnTrainingInfo.vue?06a2","webpack:///./src/components/commerce/cart/columnTrainingInfo.vue","webpack:///./src/components/commerce/cart/columnTrainingInfo.vue?b1e4","webpack:///./src/types/generated/localTrainingType.ts","webpack:///./src/components/commerce/cart/cartTrainingTable.vue","webpack:///./src/components/commerce/cart/cartTrainingTable.vue?ae53","webpack:///./src/components/commerce/cart/cartOverview.vue","webpack:///./src/components/commerce/cart/cartOverview.vue?74d6","webpack:///./src/components/commerce/cart/cartPrintPreview.vue?9d48","webpack:///./src/components/commerce/cart/cartPrintPreview.vue","webpack:///./src/components/commerce/cart/cartPrintPreview.vue?96ae","webpack:///./src/components/commerce/cart/saveCartModal.vue?8907","webpack:///./src/components/commerce/cart/saveCartModal.vue","webpack:///./src/components/commerce/cart/saveCartModal.vue?8754","webpack:///./src/components/commerce/cart/shareCartModal.vue?74bc","webpack:///./src/components/commerce/cart/shareCartModal.vue","webpack:///./src/components/commerce/cart/shareCartModal.vue?9507","webpack:///./src/views/commerce/shoppingCart.vue","webpack:///./src/views/commerce/shoppingCart.vue?ac43","webpack:///./src/views/myCadac/savedCartsOverview.vue?0944","webpack:///./src/views/myCadac/savedCartsOverview.vue","webpack:///./src/views/myCadac/savedCartsOverview.vue?407c","webpack:///./src/views/layout/mainLayout.vue?2ae7","webpack:///./src/views/layout/mainLayout.vue","webpack:///./src/views/layout/mainLayout.vue?f64c","webpack:///./src/views/commerce/checkout.vue?c478","webpack:///./src/components/commerce/checkout/checkoutSteps.vue?9c3d","webpack:///./src/components/commerce/checkout/checkoutDetails.vue?c7f7","webpack:///./src/components/commerce/checkout/checkoutDetails.vue","webpack:///./src/components/commerce/checkout/checkoutDetails.vue?404b","webpack:///./src/types/generated/paymentMethod.ts","webpack:///./src/components/commerce/checkout/paymentMethodSelection.vue?0a1a","webpack:///./src/components/commerce/checkout/paymentMethodSelection.vue","webpack:///./src/components/commerce/checkout/paymentMethodSelection.vue?1419","webpack:///./src/components/commerce/checkout/orderSummary.vue?1254","webpack:///./src/components/commerce/checkout/orderSummary.vue","webpack:///./src/components/commerce/checkout/orderSummary.vue?e314","webpack:///./src/components/commerce/checkout/checkoutOrderConfirmation.vue?11b2","webpack:///./src/components/commerce/checkout/checkoutOrderConfirmation.vue","webpack:///./src/components/commerce/checkout/checkoutOrderConfirmation.vue?c2c6","webpack:///./src/components/commerce/checkout/checkoutSteps.vue","webpack:///./src/components/commerce/checkout/checkoutSteps.vue?c71b","webpack:///./src/store/modules/checkoutModule.ts","webpack:///./src/types/interfaces/commerce/checkout.interface.ts","webpack:///./src/views/commerce/checkout.vue","webpack:///./src/views/commerce/checkout.vue?811e","webpack:///./src/views/commerce/checkoutComplete.vue?939e","webpack:///./src/components/commerce/supportCard.vue?816c","webpack:///./src/components/commerce/supportCard.vue","webpack:///./src/components/commerce/supportCard.vue?b6c1","webpack:///./src/views/commerce/checkoutComplete.vue","webpack:///./src/views/commerce/checkoutComplete.vue?484f","webpack:///./src/views/commerce/trainingProduct.vue?9bda","webpack:///./src/components/product/productConfiguration.vue?dc05","webpack:///./src/components/product/productConfiguration.vue","webpack:///./src/components/product/productConfiguration.vue?ed93","webpack:///./src/components/product/productConfigurationStep.vue?f283","webpack:///./src/components/product/productConfigurationStep.vue","webpack:///./src/components/product/productConfigurationStep.vue?4a03","webpack:///./src/components/product/productPageHeader.vue?2ba0","webpack:///./src/components/product/productPageHeader.vue","webpack:///./src/components/product/productPageHeader.vue?1f30","webpack:///./src/components/product/productTabs.vue?6fe5","webpack:///./src/components/product/productTabs.vue","webpack:///./src/components/product/productTabs.vue?19c5","webpack:///./src/components/training/trainingAddCourseModal.vue?f31b","webpack:///./src/store/modules/trainingProductModule.ts","webpack:///./src/components/training/trainingModuleTable.vue?f2cd","webpack:///./src/components/training/trainingModuleTable.vue","webpack:///./src/components/training/trainingModuleTable.vue?b44b","webpack:///./src/components/training/trainingAddCourseModal.vue","webpack:///./src/components/training/trainingAddCourseModal.vue?431b","webpack:///./src/components/training/trainingCourseTable.vue?8b73","webpack:///./src/components/training/trainingCourseTable.vue","webpack:///./src/components/training/trainingCourseTable.vue?f887","webpack:///./src/components/common/forms/trainingParticipantForm.vue?b43a","webpack:///./src/components/common/forms/trainingParticipantForm.vue","webpack:///./src/components/common/forms/trainingParticipantForm.vue?7b75","webpack:///./src/components/training/trainingPriceSummary.vue?375f","webpack:///./src/types/generated/trainingCalculationErrorCode.ts","webpack:///./src/types/generated/trainingCalculationLineType.ts","webpack:///./src/components/training/trainingPriceSummary.vue","webpack:///./src/components/training/trainingPriceSummary.vue?4e2e","webpack:///./src/types/enum/trainingConfigurationOption.ts","webpack:///./src/types/enum/trainingLocationOption.ts","webpack:///./src/types/generated/trainingMethod.ts","webpack:///./src/types/enum/trainingValidation.ts","webpack:///./src/components/product/productConfigurationSummary.vue?6ac8","webpack:///./src/components/product/productConfigurationSummary.vue","webpack:///./src/components/product/productConfigurationSummary.vue?860b","webpack:///./src/components/product/productConfigurationSummaryItem.vue?9bf6","webpack:///./src/components/product/productConfigurationSummaryItem.vue","webpack:///./src/components/product/productConfigurationSummaryItem.vue?3ff1","webpack:///./src/views/commerce/trainingProduct.vue","webpack:///./src/views/commerce/trainingProduct.vue?bf8a","webpack:///./src/views/commerce/trainingProductOverview.vue?1e28","webpack:///./src/types/generated/Filters/filterTypes.ts","webpack:///./src/components/product/productFilters.vue?b796","webpack:///./src/components/product/productFilters.vue","webpack:///./src/components/product/productFilters.vue?2a32","webpack:///./src/components/common/slideSidebar.vue?b76a","webpack:///./src/components/common/slideSidebar.vue","webpack:///./src/components/common/slideSidebar.vue?5771","webpack:///./src/views/commerce/trainingProductOverview.vue","webpack:///./src/views/commerce/trainingProductOverview.vue?8fd8","webpack:///./src/views/myCadac/finishedTrainingDetail.vue?dde0","webpack:///./src/views/myCadac/finishedTrainingDetail.vue","webpack:///./src/views/myCadac/finishedTrainingDetail.vue?ba4c","webpack:///./src/views/index.ts","webpack:///./src/main.ts","webpack:///./src/components/contracts/contractDetailSwitchCard.vue?5a30","webpack:///./src/views/commerce/trainingProduct.vue?8769","webpack:///./src/assets/i18n lazy ^\\.\\/.*\\.json$ namespace object","webpack:///./src/views/myCadac/walletOverview.vue?528e","webpack:///./src/components/contracts/contractExtendModal.vue?f637","webpack:///./src/components/product/productConfiguration.vue?7a4e","webpack:///./src/components/commerce/checkout/paymentMethodSelection.vue?0ba7","webpack:///./src/components/training/trainingParticipantsTable.vue?b15d"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","map","webpackContext","req","id","webpackContextResolve","e","Error","code","keys","resolve","store","_hoisted_1","class","_hoisted_2","render","_ctx","_cache","$props","$setup","$data","$options","_component_Button","type","onClick","$event","goBack","default","label","_","url","target","open","location","href","history","back","String","required","__exports__","_hoisted_3","_hoisted_4","_hoisted_5","for","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_component_RadioButton","_component_InputText","v$","personalForm","gender","$t","modelValue","$model","firstName","shouldShowError","$message","lastName","date","locale","parsedDate","Date","parse","format","FormatHelper","dateLocales","toLowerCase","productName","brandName","startsWith","substring","_key","k","test","charAt","dateNumber","now","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","gb","us","nl","be","de","fr","pt","es","at","ch","this","loadingCount","isLoading","dynamic","httpClient","a","headers","transformResponse","response","JSON","formatJsonAsCamelCase","console","error","userProfile","xs","sm","md","lg","xl","xxl","breakpoints","smaller","isPrintMediaQuery","cookies","useCookies","region","commonModule","some","Boolean","userModule","isDate","parseISO","dateToFormat","toISOString","formatDateString","currentRegion","formatDistanceToNow","productBrand","productNameWithoutBrand","amount","$n","replace","text","clipBoard","copy","localazyMetadata","projectUrl","baseLocale","languages","language","script","isRtl","localizedName","pluralType","numberFormats","currency","style","currencyDisplay","en","eu","getActiveLocale","lang","document","documentElement","splitLang","split","getActiveLanguage","loadLocalMessagesForActiveLocale","messages","loadMessagesForActiveLocale","activeLanguageConfig","find","x","uri","Authorization","Promise","loadPrimeVueLocale","primeVueMessages","commonMessages","activeLocale","formatLong","width","options","weekStartsOn","Array","localize","day","month","i18nConfig","fallbackLocale","fallbackWarn","countryCode","checkIfVatIsRequired","requiredCountries","includes","createI18nMessage","i18n","global","withI18nMessage","email","validPassword","validatePassword","validCoCNumber","validateCocNumber","validations","businessCardForm","culture","expertTitle","overviewTitle","shortDescription","description","_component_Popper","$attrs","openDelay","closeDelay","placement","arrow","hover","content","props","$slots","undefined","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","vm","basePrice","formatCurrency","standardLines","entries","index","additionalLines","discount","totalDiscount","discountLines","subtotal","size","totalInstallPrice","totalBasePrice","totalCouponDiscount","totalPersonalPrice","vatPercentage","vatAmount","creditCardSurchargePercentage","creditCardSurchargeAmount","totalPrice","useZeroPercentVAT","_component_Avatar","_component_Dialog","visible","isVisible","modal","onHide","hideModal","header","$tc","products","footer","goToCart","product","shape","image","icon","alt","title","showSaveCartModal","showShareCartModal","showProductAddedModal","cartClient","couponCode","post","walletAmount","stringify","model","reloadIfEmptyCart","itemCount","increaseLoadingCount","reload","cartModule","setShowProductAddedModal","openUrl","cartPageUrl","emit","getBadgeClass","getTranslatedStatus","status","Number","translationPrefix","vendorComponents","element","component","components","primeComponents","height","fill","_component_Card","_component_Column","_component_StatusBadge","_component_DataTable","pageTitle","askAQuestionPageUrl","disabled","openTicketCount","actionRequiredTicketCount","inProgressTicketCount","tableData","breakpoint","field","sortable","body","item","ticketUrl","rel","subject","formatDate","modified","simpleStatus","showAllTicketsCtaLinkItemHref","showAllTicketsCtaLinkItemTarget","showAllTicketsCtaLinkItemText","tickets","_component_Message","walletDepositPageUrl","innerHTML","introText","totalCredit","totalDeposited","totalSaved","severity","closable","getRowClass","paginator","showPagination","rows","maxRowsToShow","getTransactionIcon","getTransactionText","orderNumber","transactionDate","getAmountIcon","WalletTransactionOrigin","WalletTransactionType","transactions","transaction","prepaidCreditSpent","MONEY_BILL","prepaidCreditEarned","creditSpent","WALLET","creditEarned","expiresSoon","EXCLAMATION_TRIANGLE","expired","manualEdit","USER","cancelledOrder","TIMES_CIRCLE","origin","storeOrder","ARROW_UP","ARROW_DOWN","ARROW_DOWN_LEFT","cRMEdit","_component_PopoverIcon","_component_Panel","_component_AutoComplete","_component_ProductAddedModal","toggleable","supportTicketsHelpText","supportTicketsCreatePageUrl","availableAmountOfSupportTickets","supportTicketsBuyPageUrl","supportSubscriptionsHelpText","supportContractSupportAssets","urlToCreateTicketForAsset","selection","selectedSupportContractAsset","productsToAdd","addSupportProductToCart","forceSelection","multiple","suggestions","searchProductResults","selectedProducts","placeholder","onComplete","onSearchTrigger","slotProps","price","yearPrice","hasNoSearchResults","query","searchQuery","productAddedVm","onHideModal","hideProductAddedModal","sku","askAQuestionSupportCategoryId","productAddedToCart","crossSellProducts","supportProductViewModel","relatedCrossSellEntries","crossSellExperts","filter","addedToCart","searchProductNoResults","existingIds","join","params","then","results","catch","err","finally","supportVariationCodes","$toast","add","summary","detail","life","AutoComplete","_component_ContractOverviewTable","hasSupportAssets","contracts","supportContracts","onCancelContract","confirmCancelContract","licenceManagementOverviewPageUrl","confirmManageLicences","softwareContracts","_component_AvatarGroup","onRowClick","expandedRows","highlightRow","expansion","getContractAssets","asset","productIconUrl","productIconAlt","isCadacSales","isImpersonatedByCadacSales","productCrmUrl","formatProductName","isMultiSizeProduct","multiSizeUnitString","isAssetSwitched","isContractExpired","crmUrl","serialNumber","hidden","isSupportContractTable","deployment","isSmallScreen","expander","headerStyle","contractNumber","crmBusinessUnit","getSortedContractAssets","maxContractAssetsToShow","automaticRenewal","getAutomaticRenewalText","shouldShowContractExpirationWarning","endDate","count","remainingDays","contractFaultRemarks","canExtendOrRenewContract","isPerpetual","contractDetailPageUrl","contractChangePageUrl","canEditContract","canCancelContract","cancelContract","SwitchStatus","contract","isSupportContract","event","existingRowIndex","findIndex","isRowExpanded","contractSupportAssets","contractAssets","otherAssets","uniqueIconAssets","contractAsset","switchStatus","notSwitched","valueOf","supportsProlongation","partialContractWarning","prolongationDisabledDueToPendingOrder","isDatechAutoRenewal","isRentalSystemContract","supportsChanges","isDatechAutoRenewalCancelled","isAllowedToCancelDatechAutoRenewal","isAfter","toDate","emits","isSupportTicketVariation","$confirm","require","acceptLabel","rejectLabel","accept","message","reject","ContractOverviewTable","isImpersonated","urlToGenerateInvoice","invoiceDateTime","isPaid","paymentMethod","orderStatus","total","hasInstallationHelp","installationHelpUrl","textContent","isCancelled","invoiceNumber","viewPdf","confirmCancelOrder","orders","order","cancelOrder","put","trainingsGroupedByLinkId","trainingLinkId","trainings","brand","participants","trainingType","bodyClass","formattedAddress","dates","formattedDates","training","isInstructorOfATraining","finishedTrainingDetailUrl","finishedTrainings","trainingAddress","street","postalCode","city","country","trainingLocation","isOwningCustomerOfATraining","participantsDataCompleted","plannedTrainingDetailUrl","plannedTrainings","_component_BackButton","_component_TrainingDetailSummary","_component_TrainingParticipantsTable","src","isParticipant","isVdiTraining","startTraining","howToStartTrainingLink","_component_Dropdown","_component_i18n_t","_component_Inplace","editingRows","currentRows","editMode","dataKey","keypath","isInstructorOfTraining","instructorId","vmAccount","display","vmPassword","teamUrl","copyTextToClipboard","vmUrl","canExpandRow","toggleRowExpansion","isExpandedRow","editor","participant","column","salutations","optionLabel","optionValue","option","salutation","isOwningOrganisation","owningCustomerIds","onEditClick","cancelEditingRows","updateParticipant","loading","isSpinnerVisible","originalRows","rowToHighlight","rowToEdit","rowToAdd","isThisParticipant","cadacOrganizationId","cadacAccountId","userEmail","copyToClipboard","showSpinner","saveEditingRows","hideSpinner","participantListIndex","editingRowIndex","currentUserIsInstructor","instructorName","moduleNames","visibleModules","isInstructor","TrainingDetailSummary","TrainingParticipantsTable","_component_ContractDetailTable","_component_ContractDetailChangeCard","editing","contractId","contractLines","_component_InputSwitch","contractManagerCrmUrl","contractManager","duration","changeAutoRenewal","newValue","_component_InputNumber","_component_PriceSummary","supportProductUrl","onCellEditComplete","editingContractLines","iconAlt","canAddSeats","seats","onInput","debouncedInputChange","showButtons","min","seatsMinimal","max","readonly","priceChanged","seatsChangedForItem","priceBase","fn","priceSummary","canCheckout","onCheckoutClick","onInputChanged","checked","addSeatVariationCode","renewVariationCode","switchDuration","switchRenewVariationCode","switchSeats","contractLine","seatsOriginal","emailVerified","seatsChanged","contractLineClient","addContractChangeToCart","newData","recalculatePrices","updateData","contractUpdateData","log","checkoutPageUrl","BackButton","ContractDetailChangeCard","ContractDetailTable","_component_ContractDetailSwitchCard","_component_ContractDetailExtendCard","_component_ContractExtendModal","_component_ContractSwitchModal","yourProlongOptionsText","canCoTerm","switchCoTermText","canTradeIn","switchTradeInText","renewMultiYearMaintenanceContractForOneYear","isExtendingContract","prolongationOptions","showExtendDialog","onCancelExtend","onExtendCancelled","onConfirmExtend","onExtendConfirmed","showTradeInDialog","selectedTradeInContractLine","onCancelTradeIn","onTradeInCancelled","onConfirmTradeIn","onTradeInConfirmed","isSwitchingContract","selectedProlongationOption","switchingContractLines","setSelectedTradeInContractLine","setShowTradeInDialog","removeSwitchContract","addSwitchContract","setSelectedProlongationOption","setIsExtendingContract","setShowExtendDialog","selectedOption","ContractProlongationOptionType","canChangeContractDuration","showExtendOptions","isChangingDuration","newEndDate","prolongableContractLines","selectedContractLines","visibleContractLines","rowClass","getSwitchingContractLine","getSwitchProduct","productIcon","selectedSwitchDuration","headerClass","selectionMode","bodyStyle","isSwitching","isSwitched","canSwitch","showTradeInOptions","isRowDisabled","isRowSelected","removeTradeIn","Deployment","mergedSwitchingAndSelectedContractLines","canProlong","contractModule","selectedSwitchSku","selectedSwitchSeats","addMonths","newContractDuration","newProlongationDate","canExtend","coterm","extend","switchProducts","switchVariations","variation","isPerpetualAndMultiUserContractLine","multiUser","selectContractLine","startTradeIn","originalContractLine","addContractProlongationToCart","deep","_component_ContractSummary","currentContractSummary","selectedContractSummary","selectedExtendContract","remainingMonthsForOrder","calcProRatePrice","contractType","contractProlongationDate","contractEndDate","proRatePrice","proRatePriceBase","proRateDiscount","contractClient","currentEndDate","set","year","getFullYear","isBefore","years","endDateToUseForCotermExtend","cancelExtend","contractDuration","pricePerMonth","ContractSummary","cancelTradeIn","canSubmit","confirmTradeIn","switchDurationOptions","selectedDuration","onDurationChange","tradeInOptions","selectedProduct","getProductVariation","licenseAudience","getPricePerSeat","renewSeats","selectedProductVariation","switchProduct","durations","customerPrice","$i18n","newDuration","confirmExtend","remainingMonths","extendOptions","_contract","fetchProlongationOptions","selectedVariation","newContractLine","ContractDetailSwitchCard","ContractSwitchModal","ContractDetailExtendCard","ContractExtendModal","_component_PersonalForm","_component_TabPanel","_component_Password","_component_CompanyForm","_component_AddressForm","_component_TabView","activeIndex","activeTab","onTabChange","personal","ref","login","passwordForm","password","feedback","toggleMask","passwordConfirm","samePassword","company","countries","invoiceAddress","invoiceDebtorAccountNumber","invoiceDebtorName","accountNumber","onSubmitClick","_component_vue_tel_input","phone","onValidate","onPhoneInputValidate","onBlur","onPhoneInputBlur","validPhone","validPhoneObject","siblings","phoneObject","valid","$anyDirty","$invalid","$reset","fieldToValidate","submitted","$dirty","$validate","formatted","addressForm","validPostalCode","validatePostalCode","companyForm","companyName","cocNumber","validCocNumber","isVatRequired","vatNumber","validVatNumber","link","validateVat","_value","withAsync","checkMatchingPasswords","isActiveTabDirty","isActiveTabValid","isValid","invoiceAddressForm","isAnyDirty","savePersonalInfo","savePassword","saveCompanyInfo","saveInvoiceAddress","personalFormModel","showSuccessToast","showErrorToast","decreaseLoadingCount","companyFormModel","addressFormModel","PersonalForm","AddressForm","CompanyForm","Password","_component_Textarea","servicePassProductPageUrl","servicePasses","group","hasArchivedItems","showArchived","toggleArchived","getItemsToShow","servicePassId","isArchived","archived","showDescription","isActivating","number","onCancelPlanningRequestClick","onSendPlanningRequestClick","hasActivated","onActivateClick","showDate","scheduledOn","showExpirationWarning","expiresInDays","items","getItems","card","sendPlanningRequest","hasError","_component_SelectButton","_component_AccordionTab","_component_Accordion","_component_ExpertBusinessCardForm","selectedLanguage","languageOptions","editExpertLevel","isEditingExpertLevel","activeIdex","selectedExpertLevelIndex","expertLevels","level","iconUrl","displayName","currentLevel","rate","dayRate","editBusinessCard","isEditingBusinessCard","expert","function","shortDescriptionTitle","businessCardFormModel","contentId","expertLevel","displayNames","Intl","DisplayNames","availableLanguages","missingLanguages","of","isEditingSpokenLanguages","isEditingExpertises","isEditingExperiences","isEditingAccreditations","_component_BlockUI","licenceProducts","licencePanelUnlocked","unlockPanel","blocked","baseZIndex","isOutOfLicences","totalActiveLicences","totalSeats","showBuyLicencesButton","productPageUrl","softwareLicenceDetailUrl","canSeeLicences","getLicenceProducts","licenceProduct","$forceUpdate","_component_LicenceFormModal","onBackClick","selectedLicenceProduct","hasAvailableLicences","applicationKeyAllowed","applicationKey","licenceOveruseAllowed","overuseSupportUrl","onAddLicenceClick","allLicences","globalFilterFields","filters","licenceFilters","empty","getRoleDescriptions","licenceType","getContractExpirationDate","getRemainingContractDays","shouldShowPendingDeletionWarning","onEditLicenceClick","onDeleteLicenceClick","showLicenceFormModal","onLicenceSaved","showServerLicenceFormModal","licence","selectedLicence","_component_UserLicenceForm","_component_ServerLicenceForm","_component_Checkbox","onCancel","isEditing","onSubmit","possibleLicenceTypes","isUserLicence","isServerLicence","sendEmailToLicenseUser","binary","serverName","possibleRoles","roles","role","descriptionNL","descriptionEN","serverLicenceForm","licenceModule","Checkbox","userLicenceForm","canSendEmail","onResendEmailClick","sendLicenceNotification","resendEmail","LicenceStatus","LicenceType","licenceFormModel","formData","licenceStatus","assigned","user","licenceForm","server","isSubformValid","service","connector","licenceTypes","namedUserLicencesAllowed","serverUserLicencesAllowed","licenceSaved","setShowLicenceFormModal","UserLicenceForm","ServerLicenceForm","minLength","matchMode","CONTAINS","setSelectedLicenceProduct","getAllSortedLicences","dateDeleted","currentDateMinusGracePeriod","sub","days","getLicenceAssetForLicence","differenceInCalendarDays","licenceId","licenceAssets","licenceAsset","licences","licenceOfAsset","_licence","updateLicence","addNewLicence","setSelectedLicence","deleteLicence","getLicenceProduct","LicenceFormModal","PopoverIcon","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_component_CartOverview","_component_ProgressSpinner","_component_SaveCartModal","_component_ShareCartModal","_component_OverlayPanel","_component_CartPrintPreview","cartTitle","cartOpportunityName","cartOpportunityUrl","onShareCartClick","showOtherCartsButton","myCartsPageUrl","isBusy","badge","totalNumberOfShoppingCarts","toString","showSaveCartButton","onSaveCartClick","cartIsEmpty","onDeleteCartClick","onPrintCartClick","showCartItemsMergedMsg","onClose","remove","path","softwareOverviewUrl","canExchangeWallet","hasActiveWalletCoupon","walletExchangeAmount","maxWalletAmount","appliedCouponCodes","coupon","removeCouponCode","onExchangeWalletClick","showWalletMessage","totalWalletAmountEarned","couponFormActiveIndex","hasValidProfile","hasActiveCoupon","canExchangeCoupon","addCouponCode","firstErrorMessage","showCouponMessage","goToLoginPage","onCartSaved","saveCart","onCartShared","shareCart","showCloseIcon","dismissable","minFractionDigits","exchangeWalletAmount","_component_CartContractClientTable","_component_CartTrainingTable","_component_CartClientTable","contractCartClients","contractCart","trainingCartClients","getUpperCaseCartLineType","cartLineTypeEnum","trainingProduct","cartLineClientsByType","cartLineClient","cartLineType","getCartLinesForType","_component_ColumnProductName","_component_ColumnProductInfo","_component_ColumnYesNo","_component_ColumnAmount","editingCartLines","showProductInfoColumn","canChangeConfiguration","canRemoveItem","confirmRemoveItem","showSoftwareColumn","rentalSystemSoftwareLines","iconAltTag","showFlexBookingColumn","isFlexBooking","showServiceTypeColumn","showUnitColumn","showSerialNumberColumn","showTrainingTypeColumn","editable","canAdjustAmount","onAmountChanged","getPriceSummary","tableTitle","decrementButtonClass","incrementButtonClass","useGrouping","minAmount","maxAmount","originalValue","amountChanged","changeEvent","LicenseClass","CartLineType","licenseType","getLicenceIcon","licenceClass","expertProduct","expertService","dayCount","remainingDuration","datesAsPeriods","workLocation","isMultiSize","singleUser","maintenancePlan","subscription","cloudSubscription","other","isHidden","walletDeposit","expertName","val","isEditable","isContractLine","cartContractClient","showAsContractLine","rentalSystemProduct","servicePassProduct","support","init","productBundle","invoiceTotals","paymentInstructions","canMakeChanges","canRemoveLine","canUpdateAmount","subTotal","priceSubTotal","Map","forEach","getAdditionalPriceLines","contractCotermProlong","contractCoterm","contractAddition","contractChange","contractSwitch","contractProlong","priceLines","software","activeInstallation","priceOnce","flexbookingCosts","updateRentalSystemInCart","updateProductInCart","removeItemFromCart","updateMarketing","bundlecode","updateBundleInCart","cartLine","amountChange","eventName","listName","productList","quantity","ga","ecommerce","currencyCode","dataLayer","ColumnProductName","PriceSummary","ColumnProductInfo","ColumnYesNo","ColumnAmount","onRemoveContractFromCartClick","contractSummary","contractCoterming","assets","updateContractInCart","contractnumber","contractcoterming","CartClientTable","_component_ColumnTrainingInfo","trainingGroup","isModular","onChangeConfigurationClick","onRemoveTrainingFromCartClick","productNameColumnModel","modularPriceSummary","standardPriceSummary","totalPriceSummary","address","numberOfParticipants","LocalTrainingType","trainingCartLine","trainingProductCartLine","basePriceLine","openRoster","additionalPrices","numberOfModules","trainingLineItemIds","removeTrainingFromCart","lineItemIds","ColumnTrainingInfo","setCartClient","editingCartClient","contractAdditions","contractChanges","contractSwitches","contractProlongations","contractCotermProlongations","trainingProducts","cartLineClients","servicePassProducts","rentalSystemProducts","expertProducts","services","walletDeposits","CartTrainingTable","CartContractClientTable","subtotalWithoutVat","personalDiscount","totalInstallationPrice","couponDiscount","isCadacWallet","CartOverview","onsubmit","deleteAfterSave","cartSaveForm","currentTitle","cartSaved","setShowSaveCartModal","_component_Chips","canMakeSalesOpportunity","allowChooseSalesOpportunity","salesOpportunityName","onItemSelect","onSalesOpportunitySelected","completeOnFocus","salesOpportunitySuggestions","appendTo","responsibleSales","responsibleSalesOptions","sendEmail","fromEmail","isImpersonationAllowed","toEmail","onAdd","onToEmailAdded","allowDuplicate","chip","validToEmailAddresses","oneValidEmailRequired","cartShareForm","validateEmail","formValue","salesOpportunity","originalUserName","timeStamp","possibleResponsibleSales","emailAddress","cartShared","setShowShareCartModal","salesOpportunityViews","Chips","canUseWallet","titleEnabled","deleteCart","print","loginPageUrl","useWalletPanel","toggle","hide","res","Accordion","AccordionTab","CartPrintPreview","SaveCartModal","ShareCartModal","ProgressSpinner","OverlayPanel","_component_Menu","shoppingCarts","opportunityUrl","opportunityName","created","optionsMenu","popup","command","checkoutCart","cartName","toggleMenu","cartToPrint","cart","getMenuItemsForCart","editCart","printCart","$refs","setTimeout","Menu","_component_ConfirmDialog","_component_Toast","position","fetchUserProfile","primeVue","config","Toast","ConfirmDialog","_component_CheckoutSteps","_component_router_view","checkoutVm","paymentFailed","paymentFailedMessage","allowPlaceOrder","canGoToStep","activeStep","goToNextStep","isOverviewStep","termsAndConditionsLink","_component_Steps","steps","checkoutForm","useDifferentInvoiceAddress","billingAddressForm","checkoutModule","setIsDetailStepValid","hasPreviouslyOrdered","$router","PaymentMethod","hasPaymentOptions","paymentOptions","selectedPaymentMethod","onRowSelect","onPaymentMethodSelected","cost","subtitle","selectedPaymentProvider","onChange","onPaymentMethodOptionSelected","noPaymentAllowed","availablePaymentMethods","getSubtitleForPaymentMethod","getIconForPaymentMethod","getCostForPaymentMethod","getOptionsForPaymentMethod","setPaymentMethod","setSelectedPaymentProvider","paymentMethodOption","ideal","bancontactMrCash","paypal","creditcard","creditCardMethods","onAccount","invoicePaymentConditionCode","creditCardSurtaxPercentage","idealIssuers","goToStep","formatCountry","salutationAndName","paymentIcon","formattedPaymentMethod","referenceRequired","reference","invoiceCopyEmail","canEditCart","selectedPaymentMethodName","selectedPaymentProviderName","step","setActiveStep","stepsEl","querySelector","scrollTo","getBoundingClientRect","bottom","CheckoutStep","nextStep","displayStep","setupStepsRoutes","to","Details","Overview","Confirmation","addRoute","Steps","isDetailStepValid","methodName","paymentProvider","isValidPaymentOptionSelected","BuckarooStatus","paymentStatus","REJECTED","CANCELLED","setVm","navigateToInitialStep","completePurchase","checkoutModel","trimCheckoutModel","CheckoutSteps","_component_Timeline","_component_SupportCard","pageIntro","stepsTitle","timeLineSteps","marker","hasSoftware","softwareInstructions","hasTrainings","trainingInstructions","hasExperts","expertInstructions","installationHelpInstructions","hasSupport","supportInstructions","hasServicePasses","servicePassInstructions","hasRentalSystems","rentalSystemInstructions","goToMyCadac","supportPageUrl","step1","step2","step3","myCadacPageUrl","softwareOverviewPageUrl","SupportCard","Timeline","_component_ProductPageHeader","_component_TrainingCourseTable","_component_ProductConfigurationStep","_component_TrainingModuleTable","_component_Calendar","_component_TrainingParticipantForm","_component_ProductConfiguration","_component_ProductTabs","_component_ProductConfigurationSummaryItem","_component_ProductConfigurationSummary","_component_TrainingPriceSummary","_component_Sidebar","_component_TrainingAddCourseModal","viewModelIsValid","productTabs","helpBlockTrainingCourses","showHelpSideBar","linkText","availableTrainingMethods","helpBlockTrainingMethod","trainingMethodHelpText","selectedTrainingMethod","availableTrainingConfigurationOptions","helpBlockTrainingModules","configuration","selectedTrainingConfigurationOption","onAddModuleClick","TrainingConfigurationOptionEnum","Custom","canChooseModules","trainingModulesAccordionActiveIndexes","allTrainingCourses","course","selectedModulesForCourse","onSelectedCourseRemoved","onSelectedModulesChanged","canChooseLocation","trainingValidations","TrainingValidationEnum","ValidAddressOwnLocation","helpBlockTrainingLocation","availableTrainingLocationOptions","selectedTrainingLocationOption","TrainingLocationOptionEnum","Cadac","selectedTrainingLocation","availableTrainingLocations","OwnLocation","trainingProductForm","helpBlockTrainingHardware","TrainingMethodEnum","inCompany","ValidPreferredStartDate","scheduledTrainingsForSelectedLocation","selectedScheduledTraining","datesString","availablePlaces","guaranteed","selectedPreferredStartDate","preferredDateOptions","MaxParticipants","maxParticipants","AtleastOneParticipant","UniqueEmailParticipant","helpBlockTrainingParticipants","canAddParticipants","addParticipant","loggedInUserAsParticipant","trainingParticipants","trainingParticipantsAccordionActiveIndexes","getParticipantName","removeParticipant","related","selectedLocationText","trainingPriceCalculation","totalDurationInDays","selectedDateFormatted","loginLink","registerLink","registerPageUrl","validateProductConfiguration","addToCart","validationErrors","scrollToFirstValidationError","showSideBar","selectedHelpBlock","showAddCourseModal","courses","onTrainingCourseAdded","productAddedModel","background","backgroundColor","intro","_directive_scroll_spy_active","_directive_scroll_spy_link","_directive_scroll_spy","selector","allowNoActive","onSelect","onSelectedCourseChanged","availableCourses","selectedCourse","trainingCourseCartRequests","additionalCourses","trainingProductGroupViewModel","courseId","moduleSku","trainingCourseById","selectedModuleSkus","trainingProductConfiguration","oldLineItemIds","trainingProductGroupId","allCourses","trainingListId","trainingLocationId","companyTrainingLocal","selectedTrainingCourse","trainingCourse","trainingCourseId","trainingAddCourseModalVisible","isDefaultTraining","durationInHours","onToggleSelectionClicked","totalDurationInHours","selectedRows","trainingProductModule","isModuleSelected","modular","isModal","toggleSelection","rejectClass","removeCourse","selectedModulesChanged","selectedCourseRemoved","className","selectedModules","isCourseSelected","hideAddCourseModal","trainingCourseAdded","TrainingModuleTable","maxTableHeight","selectedRow","scrollable","scrollHeight","scrollTopToSelectedRow","setSelectedTrainingCourse","container","scrollTop","offsetTop","trainingParticipantForm","checkIfParticipantIsUnknown","throttle","isUnknown","minValue","maxValue","maxLength","trainingTitle","collapsed","panelCollapse","courseById","icons","sortedLines","line","lineText","errorCode","TrainingCalculationErrorCodeEnum","durationError","minimumRequiredDurationToBeValid","TrainingCalculationErrorCode","TrainingCalculationLineType","isModularTraining","lines","decimals","Math","ceil","vdiEnvironment","trainingMaterial","trainingRoom","standardTraining","ScrollPanel","TrainingConfigurationOption","TrainingLocationOption","TrainingMethod","TrainingValidation","panelCollapsed","propType","counter","showCounter","recalculatePrice","trainingAddressForm","checkParticipantsUniqueEmail","checkMaxParticipants","OnlineRemote","remoteLocation","setSelectedTrainingType","trainingTypeForCurrentConfiguration","resetCourse","setupConfigurationOptions","trainingProductGroupConfiguration","viewModelErrors","setTrainingProductGroupViewModel","initProductForm","setupPreviousConfiguration","elearning","scheduledTrainings","companyTrainingRemote","eLearning","form","desiredDate","trainingAddToCartModel","locationId","minDate","addBusinessDays","disabledDays","showIcon","numberOfMonths","touchUI","responsiveOptions","numMonths","nonEmptyEmails","Set","values","trainingParticipant","helpBlock","trainingCalculateModel","closest","top","scrollY","behavior","addAdditionalCourse","courseCartModel","updateCourse","checkAtleastOneParticipant","ValidPriceCalculation","isPreferredStartDateValid","Default","methods","setInitialTrainingMethod","isFinite","scheduledTrainingLocations","cadacLocations","ProductConfigurationSummaryItem","ProductConfigurationSummary","Calendar","ProductAddedModal","ProductConfiguration","ProductConfigurationStep","ProductPageHeader","ProductTabs","SelectButton","Sidebar","TrainingAddCourseModal","TrainingCourseTable","TrainingParticipantForm","TrainingPriceSummary","_component_ProductFilters","_component_SlideSidebar","_component_DataViewLayoutOptions","_component_Skeleton","_component_DataView","_directive_debounce","showFilters","onFiltersChanged","onFilterChange","overviewItems","layout","viewLayout","sortOrder","sortField","activeFilterCount","sortKey","sortOptions","onSortChange","hasQueryFilter","queryString","onSearch","list","pageUrl","listImageUrl","trainingNames","grid","cardImageUrl","FilterTypes","resetFilters","visibleFilters","filterCollapsed","category","isActive","isAvailable","filtersChanged","isActiveOptions","y","closeSidebar","$emit","subjectFilters","queryFilter","sortValue","indexOf","updateQueryParams","updateFilters","queryParams","URLSearchParams","activeOptions","append","URL","search","replaceState","marketLanguagePrefix","SlideSidebar","ProductFilters","DataView","DataViewLayoutOptions","Skeleton","_component_Chip","attendancePercentage","userAsParticipant","dateIndex","isParticipantPresentForDay","canDownloadCertificate","downloadCertificate","canDownloadAllCertificates","downloadAllCertificates","isCustomer","participantName","participantAllDayPresent","toggleAllDatesPresent","allPresenceDays","toggleDatePresent","isParticipantPresentForAllDays","presenceDays","genders","basePath","_date","updateParticipantPresence","participantId","presenceList","restoreParticipantPresence","showParticipantUpdateErrorToast","participantIndex","Chip","views","app","use","ripple","preferredCountries","autoFormat","validCharactersOnly","lock","defaultTime","listenTo","trim","fireOnEmpty","directive","routes","hasLoadedViews","loadApplication","mount","addEventListener","hasLoadedView","webpackAsyncContext"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK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OD,QAAU22D,G,yDCzBjB,W,yDCAA,W,kCCAA,W,kCCAA,W,kCCAA","file":"js/app.061e6409.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/Static/dist/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./columnAmount.vue?vue&type=style&index=0&id=53eb45cc&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./licenceManagementOverview.vue?vue&type=style&index=0&id=678a8530&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./licenceManagementDetail.vue?vue&type=style&index=0&id=3b275b5a&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./productConfigurationSummary.vue?vue&type=style&index=0&id=15688512&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./shoppingCart.vue?vue&type=style&index=0&id=13f016ba&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./productConfigurationSummaryItem.vue?vue&type=style&index=0&id=07056c9f&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./serviceOverview.vue?vue&type=style&index=0&id=c6dcb060&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./savedCartsOverview.vue?vue&type=style&index=0&id=4c020402&scoped=true&lang=scss\"","var map = {\n\t\"./de.json\": \"2be1\",\n\t\"./en.json\": \"6a6a\",\n\t\"./es.json\": \"645f\",\n\t\"./fr.json\": \"6f77\",\n\t\"./nl.json\": \"c28c\",\n\t\"./pt.json\": \"762e\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"221c\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./trainingPriceSummary.vue?vue&type=style&index=0&id=755d65ce&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./productFilters.vue?vue&type=style&index=0&id=fa4ea44e&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./finishedTrainingOverview.vue?vue&type=style&index=0&id=48db6849&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./trainingModuleTable.vue?vue&type=style&index=0&id=0723de1a&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./contractOverviewTable.vue?vue&type=style&index=0&id=2f039aac&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./cartTrainingTable.vue?vue&type=style&index=0&id=746abec0&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./productPageHeader.vue?vue&type=style&index=0&id=a381f6bc&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./priceSummary.vue?vue&type=style&index=0&id=9e1d3b36&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./statusBadge.vue?vue&type=style&index=0&id=72095700&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./columnProductInfo.vue?vue&type=style&index=0&id=7feafba8&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./cartClientTable.vue?vue&type=style&index=0&id=501703fc&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./contractDetailTable.vue?vue&type=style&index=0&id=145eb851&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./contractSummary.vue?vue&type=style&index=0&id=e465c30a&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./trainingCourseTable.vue?vue&type=style&index=0&id=c2343604&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./supportOverview.vue?vue&type=style&index=0&id=6261fc90&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./checkoutComplete.vue?vue&type=style&index=0&id=74d1a048&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./columnTrainingInfo.vue?vue&type=style&index=0&id=06da59f8&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./popoverIcon.vue?vue&type=style&index=0&id=0df3bb91&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./slideSidebar.vue?vue&type=style&index=0&id=b3dad63a&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./productTabs.vue?vue&type=style&index=0&id=6410a57c&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./finishedTrainingDetail.vue?vue&type=style&index=0&id=50c6dfb4&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./backButton.vue?vue&type=style&index=0&id=00abb68a&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./checkout.vue?vue&type=style&index=0&id=7a0a6270&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./plannedTrainingDetail.vue?vue&type=style&index=0&id=6d586a68&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./supportCard.vue?vue&type=style&index=0&id=1f19b2f4&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./mainLayout.vue?vue&type=style&index=0&id=1cbe9ea2&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./plannedTrainingOverview.vue?vue&type=style&index=0&id=023eb87b&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./cartPrintPreview.vue?vue&type=style&index=0&id=0e96219e&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./trainingProductOverview.vue?vue&type=style&index=0&id=9458e4b0&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./supportTicketOverview.vue?vue&type=style&index=0&id=2b491658&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./productConfigurationStep.vue?vue&type=style&index=0&id=6935ff20&scoped=true&lang=scss\"","import { createStore } from 'vuex';\r\n\r\n/* Create empty store, due to dynamic module injection */\r\nconst store = createStore({});\r\nexport default store;\r\n","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-00abb68a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-arrow-left\" }, null, -1))\nconst _hoisted_2 = { class: \"ml-1 text-bold\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n\n return (_openBlock(), _createBlock(_component_Button, {\n type: \"button\",\n class: \"p-button-text p-button-primary\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.goBack()))\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createElementVNode(\"span\", _hoisted_2, _toDisplayString(_ctx.label), 1)\n ]),\n _: 1\n }))\n}","export class UrlHelper {\r\n\tstatic open(url: string, target?: string): void {\r\n\t\tif (target) window.open(url, target);\r\n\t\telse location.href = url;\r\n\t}\r\n\r\n\tstatic goBack(): void {\r\n\t\twindow.history.back();\r\n\t}\r\n}\r\n","\r\n\timport { Prop } from \"vue-property-decorator\";\r\n\timport { Vue } from \"vue-class-component\";\r\n\timport { UrlHelper } from \"@/types/helpers/urlHelper\";\r\n\r\n\texport default class BackButton extends Vue {\r\n\t\t@Prop({ type: String, required: true, default: {} }) label!: string;\r\n\r\n\t\tgoBack(): void {\r\n\t\t\tUrlHelper.goBack();\r\n\t\t}\r\n\t}\r\n","import { render } from \"./backButton.vue?vue&type=template&id=00abb68a&scoped=true&ts=true\"\nimport script from \"./backButton.vue?vue&type=script&lang=ts\"\nexport * from \"./backButton.vue?vue&type=script&lang=ts\"\n\nimport \"./backButton.vue?vue&type=style&index=0&id=00abb68a&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-00abb68a\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-row\" }\nconst _hoisted_2 = { class: \"form-group col-md-6 col-xxl-4\" }\nconst _hoisted_3 = { class: \"input-group\" }\nconst _hoisted_4 = { class: \"form-check-inline\" }\nconst _hoisted_5 = {\n class: \"ml-1 mb-0\",\n for: \"gender0\"\n}\nconst _hoisted_6 = { class: \"form-check-inline\" }\nconst _hoisted_7 = {\n class: \"ml-1 mb-0\",\n for: \"gender1\"\n}\nconst _hoisted_8 = { class: \"form-row\" }\nconst _hoisted_9 = { class: \"form-group col-md-6 col-xxl-4\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_11 = { class: \"form-group col-md-6 col-xxl-4\" }\nconst _hoisted_12 = {\n key: 0,\n class: \"p-error\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_RadioButton = _resolveComponent(\"RadioButton\")!\n const _component_InputText = _resolveComponent(\"InputText\")!\n\n return (_openBlock(), _createElementBlock(\"form\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.personalForm.gender.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.expertProfile.businessCardForm.lblFunctionTitle\")), 3),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_RadioButton, {\n id: \"gender0\",\n name: \"gender\",\n value: \"0\",\n modelValue: _ctx.v$.personalForm.gender.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.v$.personalForm.gender.$model) = $event))\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"label\", _hoisted_5, _toDisplayString(_ctx.$t(`enum.salutation.1`)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_RadioButton, {\n id: \"gender1\",\n name: \"gender\",\n value: \"1\",\n modelValue: _ctx.v$.personalForm.gender.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.v$.personalForm.gender.$model) = $event))\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"label\", _hoisted_7, _toDisplayString(_ctx.$t(`enum.salutation.2`)), 1)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.personalForm.firstName.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.expertProfile.businessCardForm.lblFunctionTitle\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.personalForm.firstName.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.v$.personalForm.firstName.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.personalForm.firstName) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.personalForm.firstName))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_10, _toDisplayString(_ctx.v$.personalForm.firstName.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.personalForm.lastName.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.expertProfile.businessCardForm.lblIntroductionTitle\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.personalForm.lastName.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.v$.personalForm.lastName.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.personalForm.lastName) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.personalForm.lastName))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_12, _toDisplayString(_ctx.v$.personalForm.lastName.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}","import { enGB as gb, enUS as us, nl, nlBE as be, de, deAT as at, de as ch, fr, pt, es } from 'date-fns/locale';\r\nimport { format } from 'date-fns';\r\n\r\nexport class FormatHelper {\r\n\tstatic dateLocales = { gb, us, nl, be, de, fr, pt, es, at, ch };\r\n\r\n\tstatic formatDateTimeString(date: string, locale: string): string {\r\n\t\tconst parsedDate = Date.parse(date);\r\n\t\tif (!parsedDate) return '';\r\n\t\treturn format(parsedDate, 'Pp', { locale: FormatHelper.dateLocales[locale.toLowerCase()] });\r\n\t}\r\n\r\n\tstatic formatDateString(date: string, locale: string): string {\r\n\t\tconst parsedDate = Date.parse(date);\r\n\t\tif (!parsedDate) return '';\r\n\t\treturn format(parsedDate, 'P', { locale: FormatHelper.dateLocales[locale.toLowerCase()] });\r\n\t}\r\n\r\n\tstatic productNameWithoutBrand(productName: string, brandName: string): string {\r\n\t\treturn brandName && productName.startsWith(brandName + ' ')\r\n\t\t\t? productName.substring(brandName.length + 1)\r\n\t\t\t: productName;\r\n\t}\r\n\r\n\tstatic formatJsonAsCamelCase(_key: string, value: unknown): unknown {\r\n\t\tif (value && typeof value === 'object') {\r\n\t\t\tfor (const k in value) {\r\n\t\t\t\tif (/^[A-Z]/.test(k) && Object.hasOwnProperty.call(value, k)) {\r\n\t\t\t\t\tvalue[k.charAt(0).toLowerCase() + k.substring(1)] = value[k];\r\n\t\t\t\t\tdelete value[k];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn value;\r\n\t}\r\n\r\n\tstatic getUTCDate(dateNumber: number = Date.now()) {\r\n\t\tconst date = new Date(dateNumber);\r\n\r\n\t\treturn new Date(\r\n\t\t\tdate.getUTCFullYear(),\r\n\t\t\tdate.getUTCMonth(),\r\n\t\t\tdate.getUTCDate(),\r\n\t\t\tdate.getUTCHours(),\r\n\t\t\tdate.getUTCMinutes(),\r\n\t\t\tdate.getUTCSeconds()\r\n\t\t);\r\n\t}\r\n}\r\n","import { getModule, Module, Mutation, VuexModule } from 'vuex-module-decorators';\r\nimport store from '@/store';\r\n\r\n/* Dynamic module injection in store object */\r\n@Module({ name: 'common', dynamic: true, store })\r\nclass CommonModule extends VuexModule {\r\n\tloadingCount = 0;\r\n\r\n\t/// Map object to show spinner for specific elements\r\n\tisLoading: { [key: string]: boolean } = {};\r\n\r\n\t@Mutation\r\n\t/// Increase loading count by 1.\r\n\t/// If loading count is bigger than 0, loading overlay will be shown.\r\n\tpublic increaseLoadingCount(): void {\r\n\t\tthis.loadingCount++;\r\n\t}\r\n\r\n\t@Mutation\r\n\t/// Decrease loading count by 1.\r\n\tpublic decreaseLoadingCount(): void {\r\n\t\tthis.loadingCount--;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic showSpinner(name: string | number): void {\r\n\t\tthis.isLoading[String(name)] = true;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic hideSpinner(name: string | number): void {\r\n\t\tthis.isLoading[String(name)] = false;\r\n\t}\r\n}\r\n\r\nexport default getModule(CommonModule);\r\n","import axios from 'axios';\r\nimport { FormatHelper } from '@/types/helpers/formatHelper';\r\n\r\nconst httpClient = axios.create({\r\n\theaders: {\r\n\t\t'Content-Type': 'application/json',\r\n\t},\r\n\ttransformResponse: (data) => {\r\n\t\tlet response: unknown;\r\n\t\ttry {\r\n\t\t\tresponse = JSON.parse(data, FormatHelper.formatJsonAsCamelCase);\r\n\t\t} catch {\r\n\t\t\tresponse = {};\r\n\t\t\tconsole.error(`Error parsing response to JSON`);\r\n\t\t}\r\n\t\treturn response;\r\n\t},\r\n});\r\n\r\nexport default httpClient;\r\n","import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decorators';\r\nimport { ICadacUserProfile } from '@/types/interfaces/common/cadacUserProfile.interface';\r\nimport store from '@/store';\r\nimport axios from '@/types/helpers/apiHelper';\r\nimport { AxiosResponse } from 'axios';\r\n\r\n/* Dynamic module injection in store object */\r\n@Module({ name: 'user', dynamic: true, store })\r\nclass UserModule extends VuexModule {\r\n\tuserProfile: ICadacUserProfile | null = null;\r\n\r\n\t// Declare Actions\r\n\t@MutationAction\r\n\tpublic async fetchUserProfile(): Promise<{ userProfile: ICadacUserProfile | null }> {\r\n\t\ttry {\r\n\t\t\tconst response: AxiosResponse = await axios.get('/api/userprofile/current');\r\n\t\t\tconst data = typeof response.data === 'string' ? JSON.parse(response.data) : response.data;\r\n\t\t\treturn { userProfile: data as ICadacUserProfile };\r\n\t\t} catch (err) {\r\n\t\t\treturn { userProfile: null };\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport default getModule(UserModule);\r\n","import { Vue } from 'vue-class-component';\r\nimport { formatDistanceToNow, isDate, parseISO } from 'date-fns';\r\nimport { FormatHelper } from '@/types/helpers/formatHelper';\r\nimport { UrlHelper } from '@/types/helpers/urlHelper';\r\nimport { useBreakpoints, useClipboard, useMediaQuery } from '@vueuse/core';\r\nimport { useCookies } from '@vueuse/integrations/useCookies';\r\nimport { Ref } from 'vue';\r\nimport commonModule from '@/store/modules/commonModule';\r\nimport { values } from 'lodash';\r\nimport { ICadacUserProfile } from '@/types/interfaces/common/cadacUserProfile.interface';\r\nimport userModule from '@/store/modules/userModule';\r\n\r\n/// General Helper Mixin for Vue Components\r\nexport class Helpers extends Vue {\r\n\t// These breakpoints are the same as configured in bootstrap.scss! Important to keep these in sync if there are changes.\r\n\tbreakpoints = useBreakpoints({\r\n\t\txs: 0,\r\n\t\tsm: 576,\r\n\t\tmd: 768,\r\n\t\tlg: 992,\r\n\t\txl: 1200,\r\n\t\txxl: 2140,\r\n\t});\r\n\r\n\tisPrintMediaQuery = useMediaQuery('(print)');\r\n\r\n\tget isSmallScreen(): Ref {\r\n\t\treturn this.breakpoints.smaller('lg');\r\n\t}\r\n\r\n\tget isPrintView(): Ref {\r\n\t\treturn this.isPrintMediaQuery;\r\n\t}\r\n\r\n\tget currentRegion(): string {\r\n\t\tconst cookies = useCookies(['currentRegion']);\r\n\t\tconst region = cookies.get('currentRegion');\r\n\t\t// if region is set to EU fallback to GB\r\n\t\t//return region === 'eu' ? 'gb' : region;\r\n\t\treturn region;\r\n\t}\r\n\r\n\tget isSpinnerVisible(): { [key: string]: boolean } {\r\n\t\treturn commonModule.isLoading;\r\n\t}\r\n\r\n\tget isBusy(): boolean {\r\n\t\treturn commonModule.loadingCount > 0 || (commonModule.isLoading && values(commonModule.isLoading).some(Boolean));\r\n\t}\r\n\r\n\tget userProfile(): ICadacUserProfile | null {\r\n\t\treturn userModule.userProfile;\r\n\t}\r\n\r\n\ttoDate(date: string | Date): Date {\r\n\t\treturn isDate(date) ? (date as Date) : parseISO(date as string);\r\n\t}\r\n\r\n\tformatDate(date: string | Date): string {\r\n\t\tconst dateToFormat = isDate(date) ? (date as Date).toISOString() : (date as string);\r\n\t\treturn FormatHelper.formatDateString(dateToFormat, this.currentRegion);\r\n\t}\r\n\r\n\tformatRemainingTime(date: string | Date): string {\r\n\t\tconst dateToFormat = isDate(date) ? (date as Date).toISOString() : (date as string);\r\n\t\treturn formatDistanceToNow(Date.parse(dateToFormat), {\r\n\t\t\tlocale: FormatHelper.dateLocales[this.currentRegion],\r\n\t\t});\r\n\t}\r\n\r\n\tformatProductName(productName: string, productBrand: string): string {\r\n\t\treturn FormatHelper.productNameWithoutBrand(productName, productBrand);\r\n\t}\r\n\r\n\tformatCurrency(amount: number): string {\r\n\t\treturn this.$n(amount, 'currency', this.currentRegion.toLowerCase()).replace(/[,|.]00$/, ',-');\r\n\t}\r\n\r\n\topenUrl(url: string, target?: string): void {\r\n\t\treturn UrlHelper.open(url, target);\r\n\t}\r\n\r\n\tcopyToClipboard(text: string): Promise {\r\n\t\tconst clipBoard = useClipboard();\r\n\t\treturn clipBoard.copy(text);\r\n\t}\r\n}\r\n","export type LocalazyLanguage = {\n language: string;\n region: string;\n script: string;\n isRtl: boolean;\n localizedName: string;\n name: string;\n pluralType: (n: number) => \"zero\" | \"one\" | \"two\" | \"many\" | \"few\" | \"other\";\n};\n\nexport type LocalazyMetadata = {\n projectUrl: string;\n baseLocale: string;\n languages: LocalazyLanguage[];\n};\n \nconst localazyMetadata: LocalazyMetadata = {\n projectUrl: \"https://localazy.com/p/cadac-store\",\n baseLocale: \"en\",\n languages: [\n {\n language: \"en\",\n region: \"\",\n script: \"\",\n isRtl: false,\n name: \"English\",\n localizedName: \"English\",\n pluralType: (n) => { return (n===1) ? \"one\" : \"other\"; }\n },\n {\n language: \"de\",\n region: \"\",\n script: \"\",\n isRtl: false,\n name: \"German\",\n localizedName: \"Deutsch\",\n pluralType: (n) => { return (n===1) ? \"one\" : \"other\"; }\n },\n {\n language: \"es\",\n region: \"\",\n script: \"\",\n isRtl: false,\n name: \"Spanish\",\n localizedName: \"Español\",\n pluralType: (n) => { return (n===1) ? \"one\" : \"other\"; }\n },\n {\n language: \"fr\",\n region: \"\",\n script: \"\",\n isRtl: false,\n name: \"French\",\n localizedName: \"Français\",\n pluralType: (n) => { return (n===0 || n===1) ? \"one\" : \"other\"; }\n },\n {\n language: \"nl\",\n region: \"\",\n script: \"\",\n isRtl: false,\n name: \"Dutch\",\n localizedName: \"Nederlands\",\n pluralType: (n) => { return (n===1) ? \"one\" : \"other\"; }\n },\n {\n language: \"pt\",\n region: \"\",\n script: \"\",\n isRtl: false,\n name: \"Portuguese\",\n localizedName: \"Português\",\n pluralType: (n) => { return (n>=0 && n<=1) ? \"one\" : \"other\"; }\n }\n ]\n};\n\nexport default localazyMetadata;","import { createI18n, IntlNumberFormat } from 'vue-i18n';\r\nimport localazyMetadata from '@/types/generated/localazyMetaData';\r\nimport axios from 'axios';\r\nimport { values } from 'lodash';\r\nimport { FormatHelper } from '@/types/helpers/formatHelper';\r\n\r\nconst numberFormats: { [key: string]: IntlNumberFormat } = {\r\n\tus: {\r\n\t\tcurrency: {\r\n\t\t\tstyle: 'currency',\r\n\t\t\tcurrency: 'USD',\r\n\t\t\tcurrencyDisplay: 'symbol',\r\n\t\t},\r\n\t},\r\n\tgb: {\r\n\t\tcurrency: {\r\n\t\t\tstyle: 'currency',\r\n\t\t\tcurrency: 'GBP',\r\n\t\t\tcurrencyDisplay: 'symbol',\r\n\t\t},\r\n\t},\r\n\ten: {\r\n\t\tcurrency: {\r\n\t\t\tstyle: 'currency',\r\n\t\t\tcurrency: 'EUR',\r\n\t\t\tcurrencyDisplay: 'symbol',\r\n\t\t},\r\n\t},\r\n\tbe: {\r\n\t\tcurrency: {\r\n\t\t\tstyle: 'currency',\r\n\t\t\tcurrency: 'EUR',\r\n\t\t\tcurrencyDisplay: 'symbol',\r\n\t\t},\r\n\t},\r\n\tnl: {\r\n\t\tcurrency: {\r\n\t\t\tstyle: 'currency',\r\n\t\t\tcurrency: 'EUR',\r\n\t\t\tcurrencyDisplay: 'symbol',\r\n\t\t},\r\n\t},\r\n\tde: {\r\n\t\tcurrency: {\r\n\t\t\tstyle: 'currency',\r\n\t\t\tcurrency: 'EUR',\r\n\t\t\tcurrencyDisplay: 'symbol',\r\n\t\t},\r\n\t},\r\n\tfr: {\r\n\t\tcurrency: {\r\n\t\t\tstyle: 'currency',\r\n\t\t\tcurrency: 'EUR',\r\n\t\t\tcurrencyDisplay: 'symbol',\r\n\t\t},\r\n\t},\r\n\tes: {\r\n\t\tcurrency: {\r\n\t\t\tstyle: 'currency',\r\n\t\t\tcurrency: 'EUR',\r\n\t\t\tcurrencyDisplay: 'symbol',\r\n\t\t},\r\n\t},\r\n\tpt: {\r\n\t\tcurrency: {\r\n\t\t\tstyle: 'currency',\r\n\t\t\tcurrency: 'EUR',\r\n\t\t\tcurrencyDisplay: 'symbol',\r\n\t\t},\r\n\t},\r\n\teu: {\r\n\t\tcurrency: {\r\n\t\t\tstyle: 'currency',\r\n\t\t\tcurrency: 'EUR',\r\n\t\t\tcurrencyDisplay: 'symbol',\r\n\t\t},\r\n\t},\r\n};\r\n\r\n/// Returns the first part of the language\r\n/// eg. en-GB return 'en'\r\nexport function getActiveLocale() {\r\n\tconst lang = document.documentElement.lang;\r\n\tconst splitLang = lang.split('-');\r\n\treturn splitLang.length > 1 ? splitLang[0] : lang;\r\n}\r\n\r\n/// Returns the full language\r\nexport function getActiveLanguage() {\r\n\treturn document.documentElement.lang;\r\n}\r\n\r\nexport function loadLocalMessagesForActiveLocale() {\r\n\tconst messages = {};\r\n\ttry {\r\n\t\tmessages[getActiveLocale()] = require(`../../assets/i18n/${getActiveLocale()}.json`);\r\n\t} catch {\r\n\t\tconsole.error(`Local translation file for ${getActiveLocale()} not found.`);\r\n\t}\r\n\treturn messages;\r\n}\r\n\r\n/**\r\n * Load translations from CDN or API\r\n */\r\nexport function loadMessagesForActiveLocale() {\r\n\ttry {\r\n\t\tif (JSON.parse(process.env.VUE_APP_LOCALAZY_ENABLE_CDN)) {\r\n\t\t\tconst activeLanguageConfig = values(localazyMetadata['files'])[0]['locales'].find(\r\n\t\t\t\t(x) => x.language === getActiveLocale()\r\n\t\t\t);\r\n\t\t\tif (activeLanguageConfig) {\r\n\t\t\t\t// use CDN\r\n\t\t\t\treturn axios.get(`https://delivery.localazy.com/${activeLanguageConfig.uri}`);\r\n\t\t\t}\r\n\t\t} else if (JSON.parse(process.env.VUE_APP_LOCALAZY_ENABLE_API))\r\n\t\t\t//use API\r\n\t\t\t// \tconst activeLanguageConfig = localazyMetadata['languages']?.find((x) => x.language === getActiveLocale());\r\n\t\t\treturn axios.get(`https://api.localazy.com/projects/${process.env.VUE_APP_LOCALAZY_PROJECT}/files`, {\r\n\t\t\t\theaders: { Authorization: `Bearer ${process.env.VUE_APP_LOCALAZY_TOKEN}` },\r\n\t\t\t});\r\n\t} catch {\r\n\t\t//use local\r\n\t\tconsole.error(\r\n\t\t\t`Unable to load translations from Localazy, falling back to local files for locale: ${getActiveLocale()}.`\r\n\t\t);\r\n\t}\r\n\r\n\treturn Promise.resolve(null);\r\n}\r\n\r\nexport async function loadPrimeVueLocale() {\r\n\tconst messages = await import(`../../assets/i18n/${getActiveLocale()}.json`);\r\n\tconst primeVueMessages = messages['primeVue'] || {};\r\n\tconst commonMessages = messages['common'];\r\n\tdebugger;\r\n\tconst activeLocale =\r\n\t\tvalues(FormatHelper.dateLocales).find((x) => x.code === getActiveLanguage()) ||\r\n\t\tFormatHelper.dateLocales[getActiveLocale()] ||\r\n\t\tFormatHelper.dateLocales['gb'];\r\n\tif (!activeLocale) return primeVueMessages;\r\n\t// Set some dynamic translations used in PrimeVue\r\n\tprimeVueMessages['dateFormat'] = activeLocale.formatLong\r\n\t\t.date({ width: 'short' })\r\n\t\t?.toLowerCase()\r\n\t\t?.replace('yyyy', 'yy')\r\n\t\t?.replace('y', 'yy');\r\n\tprimeVueMessages['firstDayOfWeek'] = activeLocale.options.weekStartsOn;\r\n\tprimeVueMessages['dayNames'] = [...Array(7).keys()].map((i) => activeLocale.localize.day(i, { width: 'wide' }));\r\n\tprimeVueMessages['dayNamesMin'] = [...Array(7).keys()].map((i) => activeLocale.localize.day(i, { width: 'short' }));\r\n\tprimeVueMessages['dayNamesShort'] = [...Array(7).keys()].map((i) =>\r\n\t\tactiveLocale.localize.day(i, { width: 'abbreviated' })\r\n\t);\r\n\tprimeVueMessages['monthNamesShort'] = [...Array(12).keys()].map((i) =>\r\n\t\tactiveLocale.localize.month(i, { width: 'abbreviated' })\r\n\t);\r\n\tprimeVueMessages['monthNames'] = [...Array(12).keys()].map((i) => activeLocale.localize.month(i, { width: 'wide' }));\r\n\tprimeVueMessages['reject'] = commonMessages['no'];\r\n\tprimeVueMessages['accept'] = commonMessages['yes'];\r\n\tprimeVueMessages['cancel'] = commonMessages['cancel'];\r\n\treturn primeVueMessages;\r\n}\r\n\r\nconst i18nConfig = {\r\n\tlocale: getActiveLocale() || 'nl',\r\n\tfallbackLocale: localazyMetadata?.baseLocale || 'en',\r\n\tfallbackWarn: false,\r\n\tmessages: loadLocalMessagesForActiveLocale(),\r\n\tnumberFormats,\r\n};\r\n\r\nexport default createI18n(i18nConfig);\r\n","import axios from '@/types/helpers/apiHelper';\r\n\r\nexport class ValidationHelper {\r\n\t/**\r\n\t * Validate if the given value is a valid VAT number\r\n\t * Note: This is an async request!\r\n\t * @param value\r\n\t * @param countryCode\r\n\t */\r\n\tstatic async validateVat(value: string, countryCode: string): Promise {\r\n\t\tif (!value && !this.checkIfVatIsRequired(countryCode)) return Promise.resolve(true);\r\n\t\telse if (!value) return Promise.resolve(false);\r\n\t\tconst result = await axios.get(`/api/finance/validatevat/${value}`);\r\n\t\treturn Promise.resolve(!!JSON.parse(result.data));\r\n\t}\r\n\r\n\t/**\r\n\t * Check if country is in EU, but not NL; then VAT number is required.\r\n\t * @param countryCode\r\n\t */\r\n\tstatic checkIfVatIsRequired(countryCode: string): boolean {\r\n\t\tconst requiredCountries = ['BE', 'DE', 'AT', 'CH', 'FR', 'IE', 'ES', 'PT', 'IT'];\r\n\t\treturn countryCode !== 'NL' && requiredCountries.includes(countryCode);\r\n\t}\r\n\r\n\t/**\r\n\t * Checks if the given value matches the following:\r\n\t * - At least one lowercase\r\n\t * - At least one uppercase\r\n\t *\t- At least one numeric\r\n\t *\t- Minimum 8 characters\r\n\t * @param value\r\n\t */\r\n\tstatic validatePassword(value: string): any {\r\n\t\treturn /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})/.test(value);\r\n\t}\r\n\r\n\t/**\r\n\t * Validate if the given value is a valid postal code for the given countryCode\r\n\t * @param countryCode\r\n\t * @param value\r\n\t */\r\n\tstatic validatePostalCode(value: string, countryCode: string): boolean {\r\n\t\tswitch (countryCode) {\r\n\t\t\tcase 'NL':\r\n\t\t\t\treturn /^[1-9][0-9]{3}\\s?[a-zA-Z]{2}$/.test(value);\r\n\t\t\tcase 'BE':\r\n\t\t\t\treturn /^\\d{4}$/.test(value);\r\n\t\t\tcase 'AT':\r\n\t\t\t\treturn /^\\d{4}$/.test(value);\r\n\t\t\tcase 'CH':\r\n\t\t\t\treturn /^\\d{4}$/.test(value);\r\n\t\t\tcase 'DE':\r\n\t\t\t\treturn /^\\d{5}$/.test(value);\r\n\t\t\tcase 'PT':\r\n\t\t\t\treturn /^\\d{4}[- ]{0,1}\\d{3}$/.test(value);\r\n\t\t\tcase 'ES':\r\n\t\t\t\treturn /^\\d{5}$/.test(value);\r\n\t\t\tcase 'UK':\r\n\t\t\tcase 'GB':\r\n\t\t\t\treturn /^((([A-PR-UWYZ][0-9])|([A-PR-UWYZ][0-9][0-9])|([A-PR-UWYZ][A-HK-Y][0-9])|([A-PR-UWYZ][A-HK-Y][0-9][0-9])|([A-PR-UWYZ][0-9][A-HJKSTUW])|([A-PR-UWYZ][A-HK-Y][0-9][ABEHMNPRVWXY]))\\s?([0-9][ABD-HJLNP-UW-Z]{2})|(GIR)\\s?(0AA))$/i.test(\r\n\t\t\t\t\tvalue\r\n\t\t\t\t);\r\n\t\t}\r\n\t\treturn true;\r\n\t}\r\n\r\n\t/**\r\n\t * Check if the CoC number is valid.\r\n\t * @param value\r\n\t */\r\n\tstatic validateCocNumber(value: string): boolean {\r\n\t\tif (!value) return true;\r\n\t\treturn /^\\d{8}$/.test(value);\r\n\t}\r\n\r\n\t/**\r\n\t * Check if email is valid\r\n\t * Regex taken from Vuelidate package.\r\n\t * @param value\r\n\t */\r\n\tstatic validateEmail(value: string): boolean {\r\n\t\treturn /^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)])$/i.test(\r\n\t\t\tvalue\r\n\t\t);\r\n\t}\r\n}\r\n","// or import { createI18nMessage } from '@vuelidate/validators'\r\nimport * as validators from '@vuelidate/validators';\r\nimport i18n from '@/types/utils/i18n';\r\nimport { ValidationHelper } from '@/types/helpers/validationHelper';\r\nimport { ValidatorFn } from '@vuelidate/core';\r\n\r\nconst { createI18nMessage } = validators;\r\n\r\n// extract the `t` helper, should work for both Vue 2 and Vue 3 versions of vue-i18n\r\nconst { t } = i18n.global || i18n;\r\n// pass `t` and create your i18n message instance\r\nexport const withI18nMessage = createI18nMessage({ t });\r\n\r\n// wrap each validator.\r\nexport const required = withI18nMessage(validators.required);\r\nexport const email = withI18nMessage(validators.email);\r\nexport const minLength = (minLength: number) => withI18nMessage(validators.minLength(minLength));\r\nexport const validPassword = withI18nMessage(ValidationHelper.validatePassword as ValidatorFn);\r\nexport const validCoCNumber = withI18nMessage(ValidationHelper.validateCocNumber as ValidatorFn);\r\n","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { SaveExpertOverviewForm } from \"@/types/generated/saveExpertOverviewForm\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { required } from \"@/types/utils/i18n-validators\";\r\n\r\n\t@Options({\r\n\t\tvalidations: {\r\n\t\t\tbusinessCardForm: {\r\n\t\t\t\tculture: { required },\r\n\t\t\t\texpertTitle: { required },\r\n\t\t\t\toverviewTitle: { required },\r\n\t\t\t\tshortDescription: { required },\r\n\t\t\t\tdescription: { required },\r\n\t\t\t},\r\n\t\t},\r\n\t})\r\n\texport default class ExpertBusinessCardForm extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: SaveExpertOverviewForm;\r\n\t}\r\n","import { render } from \"./ExpertBusinessCardForm.vue?vue&type=template&id=b3e23c70&ts=true\"\nimport script from \"./ExpertBusinessCardForm.vue?vue&type=script&lang=ts\"\nexport * from \"./ExpertBusinessCardForm.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderSlot as _renderSlot, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, resolveComponent as _resolveComponent, withModifiers as _withModifiers, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Popper = _resolveComponent(\"Popper\")!\n\n return (_openBlock(), _createBlock(_component_Popper, _mergeProps(_ctx.$attrs, {\n openDelay: \"0\",\n closeDelay: \"0\",\n placement: \"top\",\n arrow: \"\",\n hover: \"\",\n onClick: _cache[0] || (_cache[0] = _withModifiers(() => {}, [\"stop\"]))\n }), {\n content: _withCtx((props) => [\n _renderSlot(_ctx.$slots, \"content\", _normalizeProps(_guardReactiveProps(props)), undefined, true)\n ]),\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]),\n _: 3\n }, 16))\n}","\r\n\timport { Vue } from \"vue-class-component\";\r\n\texport default class PopoverIcon extends Vue {}\r\n","import { render } from \"./popoverIcon.vue?vue&type=template&id=0df3bb91&scoped=true&ts=true\"\nimport script from \"./popoverIcon.vue?vue&type=script&lang=ts\"\nexport * from \"./popoverIcon.vue?vue&type=script&lang=ts\"\n\nimport \"./popoverIcon.vue?vue&type=style&index=0&id=0df3bb91&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0df3bb91\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-9e1d3b36\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"\"\n}\nconst _hoisted_2 = { class: \"text-bold price-label\" }\nconst _hoisted_3 = { class: \"text-bold\" }\nconst _hoisted_4 = { class: \"text-bold price-label\" }\nconst _hoisted_5 = { class: \"text-bold flex-shrink-0\" }\nconst _hoisted_6 = { class: \"price-label\" }\nconst _hoisted_7 = { class: \"prefix-plus flex-shrink-0\" }\nconst _hoisted_8 = {\n key: 1,\n class: \"text-success\"\n}\nconst _hoisted_9 = {\n key: 0,\n class: \"price-label\"\n}\nconst _hoisted_10 = {\n key: 1,\n class: \"price-label\"\n}\nconst _hoisted_11 = { class: \"prefix-min flex-shrink-0\" }\nconst _hoisted_12 = { key: 2 }\nconst _hoisted_13 = { class: \"price-label\" }\nconst _hoisted_14 = { class: \"prefix-min flex-shrink-0\" }\nconst _hoisted_15 = {\n key: 0,\n class: \"price-label\"\n}\nconst _hoisted_16 = { key: 1 }\nconst _hoisted_17 = { key: 4 }\nconst _hoisted_18 = {\n key: 0,\n class: \"text-bold\"\n}\nconst _hoisted_19 = { class: \"price-label\" }\nconst _hoisted_20 = { key: 1 }\nconst _hoisted_21 = { class: \"price-label\" }\nconst _hoisted_22 = { class: \"prefix-plus flex-shrink-0\" }\nconst _hoisted_23 = { key: 2 }\nconst _hoisted_24 = { class: \"text-success\" }\nconst _hoisted_25 = {\n key: 0,\n class: \"price-label\"\n}\nconst _hoisted_26 = {\n key: 1,\n class: \"price-label\"\n}\nconst _hoisted_27 = { class: \"prefix-min flex-shrink-0\" }\nconst _hoisted_28 = { class: \"price-label\" }\nconst _hoisted_29 = { class: \"prefix-min flex-shrink-0\" }\nconst _hoisted_30 = {\n key: 3,\n class: \"text-success text-bold\"\n}\nconst _hoisted_31 = {\n key: 0,\n class: \"price-label\"\n}\nconst _hoisted_32 = {\n key: 1,\n class: \"price-label\"\n}\nconst _hoisted_33 = { class: \"prefix-min flex-shrink-0\" }\nconst _hoisted_34 = {\n key: 4,\n class: \"text-success text-bold\"\n}\nconst _hoisted_35 = {\n key: 0,\n class: \"price-label\"\n}\nconst _hoisted_36 = {\n key: 1,\n class: \"price-label\"\n}\nconst _hoisted_37 = { class: \"prefix-min flex-shrink-0\" }\nconst _hoisted_38 = {\n key: 0,\n class: \"price-label\"\n}\nconst _hoisted_39 = {\n key: 1,\n class: \"price-label\"\n}\nconst _hoisted_40 = { key: 6 }\nconst _hoisted_41 = { class: \"text-muted\" }\nconst _hoisted_42 = { class: \"price-label\" }\nconst _hoisted_43 = { class: \"prefix-plus flex-shrink-0\" }\nconst _hoisted_44 = { key: 7 }\nconst _hoisted_45 = { class: \"text-muted\" }\nconst _hoisted_46 = { class: \"price-label\" }\nconst _hoisted_47 = { class: \"prefix-plus flex-shrink-0\" }\nconst _hoisted_48 = {\n key: 8,\n class: \"text-primary\"\n}\nconst _hoisted_49 = { class: \"price-label\" }\nconst _hoisted_50 = {\n key: 9,\n class: \"text-muted\"\n}\nconst _hoisted_51 = { key: 0 }\nconst _hoisted_52 = { key: 1 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.vm.basePrice)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_1, [\n _createElementVNode(\"span\", _hoisted_2, _toDisplayString(_ctx.$t(\"common.priceSummary.basePrice\")), 1),\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(_ctx.formatCurrency(_ctx.vm.basePrice)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.vm.standardLines?.entries(), ([key, value], index) => {\n return (_openBlock(), _createElementBlock(\"p\", {\n class: \"\",\n key: index\n }, [\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(key), 1),\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.formatCurrency(value)), 1)\n ]))\n }), 128)),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.vm.additionalLines?.entries(), ([key, value], index) => {\n return (_openBlock(), _createElementBlock(\"p\", {\n class: \"text-muted\",\n key: index\n }, [\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(key), 1),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_ctx.formatCurrency(value)), 1)\n ]))\n }), 128)),\n (_ctx.vm.discount)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_8, [\n (_ctx.userProfile)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString(_ctx.$t(\"common.priceSummary.personalDiscount\")), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_10, _toDisplayString(_ctx.$t(\"common.priceSummary.storeDiscount\")), 1)),\n _createElementVNode(\"span\", _hoisted_11, _toDisplayString(_ctx.formatCurrency(_ctx.vm.discount)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.vm.totalDiscount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.vm.discountLines?.entries(), ([key, value], index) => {\n return (_openBlock(), _createElementBlock(\"p\", {\n class: \"text-success\",\n key: index\n }, [\n _createElementVNode(\"span\", _hoisted_13, _toDisplayString(key), 1),\n _createElementVNode(\"span\", _hoisted_14, _toDisplayString(_ctx.formatCurrency(value)), 1)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (\r\n\t\t\t_ctx.vm.subtotal &&\r\n\t\t\t((_ctx.vm.basePrice > 0 && _ctx.vm.basePrice !== _ctx.vm.subtotal) || _ctx.vm.additionalLines?.size || _ctx.vm.discountLines?.size)\r\n\t\t)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 3,\n class: _normalizeClass([\"text-bold\", { 'line-discount': _ctx.vm.discount || _ctx.vm.additionalLines?.size }])\n }, [\n (_ctx.userProfile && _ctx.vm.discount)\n ? (_openBlock(), _createElementBlock(\"b\", _hoisted_15, _toDisplayString(_ctx.$t(\"common.priceSummary.yourPrice\")), 1))\n : (_openBlock(), _createElementBlock(\"b\", _hoisted_16, _toDisplayString(_ctx.$t(\"common.priceSummary.subtotal\")), 1)),\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(_ctx.vm.subtotal)), 1)\n ], 2))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.totalDiscount || _ctx.vm.totalInstallPrice)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n (_ctx.vm.totalBasePrice)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_18, [\n _createElementVNode(\"span\", _hoisted_19, _toDisplayString(_ctx.$t(\"common.priceSummary.totalBasePrice\")), 1),\n _createElementVNode(\"span\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(_ctx.vm.totalBasePrice)), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.totalInstallPrice)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_20, [\n _createElementVNode(\"span\", _hoisted_21, _toDisplayString(_ctx.$t(\"common.priceSummary.installHelp\")), 1),\n _createElementVNode(\"span\", _hoisted_22, _toDisplayString(_ctx.formatCurrency(_ctx.vm.totalInstallPrice)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.totalCouponDiscount && _ctx.vm.totalDiscount - _ctx.vm.totalCouponDiscount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_23, [\n _createElementVNode(\"p\", _hoisted_24, [\n (_ctx.userProfile)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_25, _toDisplayString(_ctx.$t(\"common.priceSummary.personalDiscount\")), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_26, _toDisplayString(_ctx.$t(\"common.priceSummary.storeDiscount\")), 1)),\n _createElementVNode(\"span\", _hoisted_27, _toDisplayString(_ctx.formatCurrency(_ctx.vm.totalDiscount - _ctx.vm.totalCouponDiscount)), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.vm.discountLines?.entries(), ([key, value], index) => {\n return (_openBlock(), _createElementBlock(\"p\", {\n class: \"text-success\",\n key: index\n }, [\n _createElementVNode(\"span\", _hoisted_28, _toDisplayString(key), 1),\n _createElementVNode(\"span\", _hoisted_29, _toDisplayString(_ctx.formatCurrency(value)), 1)\n ]))\n }), 128)),\n (_ctx.vm.totalCouponDiscount)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_30, [\n (_ctx.userProfile)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_31, _toDisplayString(_ctx.$t(\"common.priceSummary.totalPersonalDiscount\")), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_32, _toDisplayString(_ctx.$t(\"common.priceSummary.totalStandardDiscount\")), 1)),\n _createElementVNode(\"span\", _hoisted_33, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(_ctx.vm.totalDiscount)), 1)\n ])\n ]))\n : (_ctx.vm.totalDiscount)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_34, [\n (_ctx.userProfile)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_35, _toDisplayString(_ctx.$t(\"common.priceSummary.personalDiscount\")), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_36, _toDisplayString(_ctx.$t(\"common.priceSummary.storeDiscount\")), 1)),\n _createElementVNode(\"span\", _hoisted_37, _toDisplayString(_ctx.formatCurrency(_ctx.vm.totalDiscount)), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.totalPersonalPrice)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 5,\n class: _normalizeClass([\"text-bold\", { 'line-discount': _ctx.vm.totalDiscount, 'mt-2': !_ctx.vm.totalDiscount }])\n }, [\n _createElementVNode(\"b\", null, [\n (_ctx.userProfile && _ctx.vm.totalDiscount)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_38, _toDisplayString(_ctx.$t(\"common.priceSummary.yourPrice\")), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_39, _toDisplayString(_ctx.$t(\"common.priceSummary.subtotal\")), 1))\n ]),\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(_ctx.vm.totalPersonalPrice)), 1)\n ], 2))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.vatPercentage && _ctx.vm.vatAmount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_40, [\n _createElementVNode(\"p\", _hoisted_41, [\n _createElementVNode(\"span\", _hoisted_42, _toDisplayString(_ctx.$t(\"common.priceSummary.vatPercentage\", [_ctx.vm.vatPercentage])) + \" \" + _toDisplayString(_ctx.$t(\"common.vat\")), 1),\n _createElementVNode(\"span\", _hoisted_43, _toDisplayString(_ctx.formatCurrency(_ctx.vm.vatAmount)), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.creditCardSurchargePercentage && _ctx.vm.creditCardSurchargeAmount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_44, [\n _createElementVNode(\"p\", _hoisted_45, [\n _createElementVNode(\"span\", _hoisted_46, _toDisplayString(_ctx.$t(\"common.priceSummary.creditCardSurcharge\", [_ctx.vm.creditCardSurchargePercentage])), 1),\n _createElementVNode(\"span\", _hoisted_47, _toDisplayString(_ctx.formatCurrency(_ctx.vm.creditCardSurchargeAmount)), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.totalPrice)\n ? (_openBlock(), _createElementBlock(\"h4\", _hoisted_48, [\n _createElementVNode(\"span\", _hoisted_49, _toDisplayString(_ctx.$t(\"common.priceSummary.totalPrice\")) + \" \" + _toDisplayString(_ctx.vm.vatPercentage > 0 ? _ctx.$t(\"common.inclVat\") : \"\"), 1),\n _createElementVNode(\"span\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(_ctx.vm.totalPrice)), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.totalPrice > 0)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_50, [\n (_ctx.vm.useZeroPercentVAT)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_51, _toDisplayString(_ctx.$t(\"common.priceSummary.vatPercentageZero\")), 1))\n : (_ctx.vm.vatAmount === 0)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_52, _toDisplayString(_ctx.$t(\"common.priceSummary.vatReverseCharged\")), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { IPriceSummary } from \"@/types/interfaces/common/priceSummary.interface\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\texport default class PriceSummary extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: IPriceSummary;\r\n\t}\r\n","import { render } from \"./priceSummary.vue?vue&type=template&id=9e1d3b36&scoped=true&ts=true\"\nimport script from \"./priceSummary.vue?vue&type=script&lang=ts\"\nexport * from \"./priceSummary.vue?vue&type=script&lang=ts\"\n\nimport \"./priceSummary.vue?vue&type=style&index=0&id=9e1d3b36&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9e1d3b36\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"mb-0\" }\nconst _hoisted_2 = { class: \"d-flex align-items-center\" }\nconst _hoisted_3 = { class: \"mb-0 text-bold\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Dialog = _resolveComponent(\"Dialog\")!\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isVisible,\n \"onUpdate:visible\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.isVisible) = $event)),\n modal: true,\n onHide: _cache[3] || (_cache[3] = ($event: any) => (_ctx.hideModal())),\n breakpoints: { '1600px': '40vw', '1200px': '50vw', '992px': '60vw', '768px': '75vw', '576px': '90vw' },\n style: { width: '35vw' }\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"h3\", _hoisted_1, _toDisplayString(_ctx.$tc(\"cart.dialog.titleProductAdded\", this.vm.products?.length)), 1)\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_Button, {\n label: _ctx.$t('cart.dialog.button.continueShopping'),\n class: \"p-button-text\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.hideModal()))\n }, null, 8, [\"label\"]),\n _createVNode(_component_Button, {\n label: _ctx.$t('cart.dialog.button.goToCart'),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.goToCart()))\n }, null, 8, [\"label\"])\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.vm.products, (product) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"d-flex justify-content-between align-items-center mb-1\",\n key: product\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_Avatar, {\n shape: \"square\",\n size: \"large\",\n class: \"mr-1 bg-transparent\",\n image: product.icon,\n alt: \"product-icon\"\n }, null, 8, [\"image\"]),\n _createElementVNode(\"p\", _hoisted_3, _toDisplayString(product.title), 1)\n ])\n ]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}","import { getModule, Module, Mutation, MutationAction, VuexModule } from 'vuex-module-decorators';\r\nimport store from '@/store';\r\nimport { CartClient } from '@/types/generated/api/cartClient';\r\nimport { AxiosResponse } from 'axios';\r\nimport httpClient from '@/types/helpers/apiHelper';\r\nimport { ProductUpdateInCart } from '@/types/generated/api/productUpdateInCart';\r\nimport { BundleUpdateInCart } from '@/types/generated/api/bundleUpdateInCart';\r\nimport commonModule from '@/store/modules/commonModule';\r\n\r\n/* Dynamic module injection in store object */\r\n@Module({ name: 'cart', dynamic: true, store })\r\nclass CartModule extends VuexModule {\r\n\tcartClient: CartClient = {} as CartClient;\r\n\r\n\tshowSaveCartModal = false;\r\n\tshowShareCartModal = false;\r\n\tshowProductAddedModal = false;\r\n\r\n\t@Mutation\r\n\tpublic setShowSaveCartModal(value: boolean): void {\r\n\t\tthis.showSaveCartModal = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setShowShareCartModal(value: boolean): void {\r\n\t\tthis.showShareCartModal = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setShowProductAddedModal(value: boolean): void {\r\n\t\tthis.showProductAddedModal = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setCartClient(value: CartClient): void {\r\n\t\tthis.cartClient = value;\r\n\t}\r\n\r\n\t@MutationAction\r\n\tpublic async addCouponCode(couponCode: string): Promise<{ cartClient: CartClient }> {\r\n\t\tconst response: AxiosResponse = await httpClient.post('/api/cart/addcoupon', {\r\n\t\t\tvalue: couponCode,\r\n\t\t});\r\n\r\n\t\treturn { cartClient: response.data };\r\n\t}\r\n\r\n\t@MutationAction\r\n\tpublic async removeCouponCode(couponCode: string): Promise<{ cartClient: CartClient }> {\r\n\t\tconst response: AxiosResponse = await httpClient.post('/api/cart/removecoupon', {\r\n\t\t\tvalue: couponCode,\r\n\t\t});\r\n\r\n\t\treturn { cartClient: response.data };\r\n\t}\r\n\r\n\t@MutationAction\r\n\tpublic async exchangeWalletAmount(walletAmount: number): Promise<{ cartClient: CartClient }> {\r\n\t\tconst response: AxiosResponse = await httpClient.post(\r\n\t\t\t'/api/cart/usewallet',\r\n\t\t\tJSON.stringify(walletAmount)\r\n\t\t);\r\n\r\n\t\treturn { cartClient: response.data };\r\n\t}\r\n\r\n\t@MutationAction\r\n\tpublic async deleteCart(): Promise<{ cartClient: CartClient }> {\r\n\t\tconst response: AxiosResponse = await httpClient.post('/api/cart/deletecart');\r\n\r\n\t\treturn { cartClient: response.data };\r\n\t}\r\n\r\n\t@MutationAction\r\n\tpublic async updateProductInCart(model: ProductUpdateInCart): Promise<{ cartClient: CartClient }> {\r\n\t\tconst response: AxiosResponse = await httpClient.post('/api/cart/update', model);\r\n\t\tCartModule.reloadIfEmptyCart(response.data);\r\n\t\treturn { cartClient: response.data };\r\n\t}\r\n\r\n\t@MutationAction\r\n\tpublic async updateRentalSystemInCart(model: ProductUpdateInCart): Promise<{ cartClient: CartClient }> {\r\n\t\tconst response: AxiosResponse = await httpClient.post(\r\n\t\t\t'/api/cart/updaterentalsystem',\r\n\t\t\tmodel\r\n\t\t);\r\n\t\tCartModule.reloadIfEmptyCart(response.data);\r\n\t\treturn { cartClient: response.data };\r\n\t}\r\n\r\n\t@MutationAction\r\n\tpublic async updateBundleInCart(model: BundleUpdateInCart): Promise<{ cartClient: CartClient }> {\r\n\t\tconst response: AxiosResponse = await httpClient.post('/api/cart/updatebundle', model);\r\n\t\tCartModule.reloadIfEmptyCart(response.data);\r\n\t\treturn { cartClient: response.data };\r\n\t}\r\n\r\n\tprivate static reloadIfEmptyCart(cartClient: CartClient): void {\r\n\t\tif (cartClient?.itemCount === 0) {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\twindow.location.reload();\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport default getModule(CartModule);\r\n","\r\n\timport { PropType } from \"vue\";\r\n\timport { Emit, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { IProductAddedModal } from \"@/types/interfaces/commerce/productAddedModal.interface\";\r\n\timport cartModule from \"@/store/modules/cartModule\";\r\n\r\n\t@Options({ emit: [\"hide-modal\"] })\r\n\texport default class ProductAddedModal extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: IProductAddedModal;\r\n\r\n\t\tisVisible = true;\r\n\r\n\t\t@Emit()\r\n\t\thideModal(): boolean {\r\n\t\t\tcartModule.setShowProductAddedModal(false);\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\t@Emit()\r\n\t\tgoToCart(): void {\r\n\t\t\tthis.openUrl(this.vm.cartPageUrl);\r\n\t\t\tthis.hideModal();\r\n\t\t}\r\n\t}\r\n","import { render } from \"./productAddedModal.vue?vue&type=template&id=1173b591&ts=true\"\nimport script from \"./productAddedModal.vue?vue&type=script&lang=ts\"\nexport * from \"./productAddedModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"status-badge d-inline-block d-lg-block\", _ctx.getBadgeClass()])\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.getTranslatedStatus()), 1)\n ], 2))\n}","\r\n\timport { Options, Vue } from \"vue-class-component\";\r\n\r\n\tconst options = {\r\n\t\tprops: {\r\n\t\t\tstatus: {\r\n\t\t\t\ttype: [Number],\r\n\t\t\t\trequired: true,\r\n\t\t\t},\r\n\t\t\ttranslationPrefix: {\r\n\t\t\t\ttype: [String],\r\n\t\t\t\trequired: true,\r\n\t\t\t},\r\n\t\t},\r\n\t};\r\n\r\n\t@Options(options)\r\n\texport default class StatusBadge extends Vue {\r\n\t\tgetTranslatedStatus(): string {\r\n\t\t\treturn this.$t(`${this.$props[\"translationPrefix\"]}.${this.$props[\"status\"]}`);\r\n\t\t}\r\n\r\n\t\tgetBadgeClass(): { [name: string]: boolean } {\r\n\t\t\tswitch (this.$props[\"status\"]) {\r\n\t\t\t\tcase 0:\r\n\t\t\t\t\treturn { \"status-warning\": true };\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\treturn { \"status-success\": true };\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\treturn { \"status-info\": true };\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn { \"status-closed\": true };\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n","import { render } from \"./statusBadge.vue?vue&type=template&id=72095700&scoped=true&ts=true\"\nimport script from \"./statusBadge.vue?vue&type=script&lang=ts\"\nexport * from \"./statusBadge.vue?vue&type=script&lang=ts\"\n\nimport \"./statusBadge.vue?vue&type=style&index=0&id=72095700&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-72095700\"]])\n\nexport default __exports__","import { IComponent } from '@/types/interfaces/common/component.interface';\r\n\r\n// Vendor Imports\r\nimport Popper from 'vue3-popper';\r\n\r\n// Component Imports\r\nimport BackButton from '@/components/common/backButton.vue';\r\nimport ExpertBusinessCardForm from '@/components/experts/ExpertBusinessCardForm.vue';\r\nimport PopoverIcon from '@/components/common/popoverIcon.vue';\r\nimport PriceSummary from '@/components/common/priceSummary.vue';\r\nimport ProductAddedModal from '@/components/commerce/productAddedModal.vue';\r\nimport StatusBadge from '@/components/common/statusBadge.vue';\r\n\r\n// Prime Imports\r\nimport Avatar from 'primevue/avatar';\r\nimport AvatarGroup from 'primevue/avatargroup';\r\nimport Badge from 'primevue/badge';\r\nimport Button from 'primevue/button';\r\nimport Card from 'primevue/card';\r\nimport Column from 'primevue/column';\r\nimport DataTable from 'primevue/datatable';\r\nimport Dialog from 'primevue/dialog';\r\nimport Dropdown from 'primevue/dropdown';\r\nimport InputNumber from 'primevue/inputnumber';\r\nimport InputSwitch from 'primevue/inputswitch';\r\nimport InputText from 'primevue/inputtext';\r\nimport Message from 'primevue/message';\r\nimport Panel from 'primevue/panel';\r\nimport RadioButton from 'primevue/radiobutton';\r\nimport TabPanel from 'primevue/tabpanel';\r\nimport TabView from 'primevue/tabview';\r\nimport Textarea from 'primevue/textarea';\r\nimport Inplace from 'primevue/inplace';\r\nimport BlockUI from 'primevue/blockui';\r\nimport MultiSelect from 'primevue/multiselect';\r\n\r\nexport const vendorComponents: IComponent[] = [\r\n\t{ element: 'Popper', component: Popper },\r\n];\r\n\r\nexport const components: IComponent[] = [\r\n\t...vendorComponents,\r\n\t{ element: 'BackButton', component: BackButton },\r\n\t{ element: 'ExpertBusinessCardForm', component: ExpertBusinessCardForm },\r\n\t{ element: 'PopoverIcon', component: PopoverIcon },\r\n\t{ element: 'PriceSummary', component: PriceSummary },\r\n\t{ element: 'ProductAddedModal', component: ProductAddedModal },\r\n\t{ element: 'StatusBadge', component: StatusBadge },\r\n];\r\n\r\nexport const primeComponents: IComponent[] = [\r\n\t{ element: 'Avatar', component: Avatar },\r\n\t{ element: 'AvatarGroup', component: AvatarGroup },\r\n\t{ element: 'Badge', component: Badge },\r\n\t{ element: 'BlockUI', component: BlockUI },\r\n\t{ element: 'Button', component: Button },\r\n\t{ element: 'Card', component: Card },\r\n\t{ element: 'Column', component: Column },\r\n\t{ element: 'DataTable', component: DataTable },\r\n\t{ element: 'Dialog', component: Dialog },\r\n\t{ element: 'Dropdown', component: Dropdown },\r\n\t{ element: 'InputNumber', component: InputNumber },\r\n\t{ element: 'InputSwitch', component: InputSwitch },\r\n\t{ element: 'InputText', component: InputText },\r\n\t{ element: 'Inplace', component: Inplace },\r\n\t{ element: 'Message', component: Message },\r\n\t{ element: 'MultiSelect', component: MultiSelect },\r\n\t{ element: 'Panel', component: Panel },\r\n\t{ element: 'RadioButton', component: RadioButton },\r\n\t{ element: 'TabPanel', component: TabPanel },\r\n\t{ element: 'TabView', component: TabView },\r\n\t{ element: 'Textarea', component: Textarea },\r\n];\r\n","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2b491658\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"d-flex align-items-center justify-content-between\" }\nconst _hoisted_2 = { class: \"mb-1\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1))\nconst _hoisted_4 = { class: \"row my-3\" }\nconst _hoisted_5 = { class: \"col-12 col-lg-4 mb-1\" }\nconst _hoisted_6 = { class: \"d-flex\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"\",\n width: \"40\",\n height: \"40\",\n fill: \"#000\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-training\" })\n], -1))\nconst _hoisted_8 = { class: \"text-primary mb-0 mb-lg-2\" }\nconst _hoisted_9 = { class: \"mb-0\" }\nconst _hoisted_10 = { class: \"col-12 col-lg-4 mb-1\" }\nconst _hoisted_11 = { class: \"d-flex\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"\",\n width: \"40\",\n height: \"40\",\n fill: \"#000\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-ticket-warning\" })\n], -1))\nconst _hoisted_13 = { class: \"text-primary mb-0 mb-lg-2\" }\nconst _hoisted_14 = { class: \"mb-0\" }\nconst _hoisted_15 = { class: \"col-12 col-lg-4 mb-1\" }\nconst _hoisted_16 = { class: \"d-flex\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"\",\n width: \"40\",\n height: \"40\",\n fill: \"#000\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-support-avatar\" })\n], -1))\nconst _hoisted_18 = { class: \"text-primary mb-0 mb-lg-2\" }\nconst _hoisted_19 = { class: \"mb-0\" }\nconst _hoisted_20 = { class: \"row\" }\nconst _hoisted_21 = { class: \"col-12\" }\nconst _hoisted_22 = [\"href\"]\nconst _hoisted_23 = { class: \"lead\" }\nconst _hoisted_24 = { class: \"d-flex mt-2\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_Card = _resolveComponent(\"Card\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_StatusBadge = _resolveComponent(\"StatusBadge\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.vm.pageTitle), 1),\n (_ctx.vm.askAQuestionPageUrl)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\r\n\t\t\t\t_ctx.openUrl(_ctx.vm.askAQuestionPageUrl);\r\n\t\t\t\t$event.target.disabled = true;\r\n\t\t\t}),\n class: \"p-button-raised p-button-success\",\n label: _ctx.$t('myCadac.supportTicketOverview.button.askAQuestion')\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_Card, {\n class: \"support-ticket-card\",\n id: \"card-supportTickets-1\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_Avatar, {\n shape: \"square\",\n size: \"large\",\n class: \"mr-1 bg-transparent\"\n }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h3\", _hoisted_8, _toDisplayString(_ctx.vm?.openTicketCount), 1),\n _createElementVNode(\"p\", _hoisted_9, _toDisplayString(_ctx.$t(\"myCadac.supportTicketOverview.card.questions\")), 1)\n ])\n ])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_Card, {\n class: \"support-ticket-card\",\n id: \"card-supportTickets-2\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_Avatar, {\n shape: \"square\",\n size: \"large\",\n class: \"mr-1 bg-transparent\"\n }, {\n default: _withCtx(() => [\n _hoisted_12\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h3\", _hoisted_13, _toDisplayString(_ctx.vm?.actionRequiredTicketCount), 1),\n _createElementVNode(\"p\", _hoisted_14, _toDisplayString(_ctx.$tc(\"myCadac.supportTicketOverview.card.actions\", _ctx.vm?.actionRequiredTicketCount)), 1)\n ])\n ])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_Card, {\n class: \"support-ticket-card\",\n id: \"card-supportTickets-3\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(_component_Avatar, {\n shape: \"square\",\n size: \"large\",\n class: \"mr-1 bg-transparent\"\n }, {\n default: _withCtx(() => [\n _hoisted_17\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h3\", _hoisted_18, _toDisplayString(_ctx.vm?.inProgressTicketCount), 1),\n _createElementVNode(\"p\", _hoisted_19, _toDisplayString(_ctx.$t(\"myCadac.supportTicketOverview.card.inProgress\")), 1)\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n (_ctx.tableData.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 0,\n class: \"mt-2\",\n \"removable-sort\": \"\",\n value: _ctx.tableData,\n \"responsive-layout\": \"stack\",\n breakpoint: \"991px\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"id\",\n header: _ctx.$t('myCadac.supportTicketOverview.table.colId'),\n key: \"id\",\n sortable: false\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"subject\",\n header: _ctx.$t('myCadac.supportTicketOverview.table.colSubject'),\n key: \"subject\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"a\", {\n href: item.data.ticketUrl,\n class: \"text-blue\",\n target: \"_blank\",\n rel: \"noreferrer noopener\"\n }, [\n _createElementVNode(\"b\", null, _toDisplayString(item.data.subject), 1)\n ], 8, _hoisted_22)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"mainCategory\",\n header: _ctx.$t('myCadac.supportTicketOverview.table.colType'),\n key: \"mainCategory\",\n sortable: true\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"modified\",\n header: _ctx.$t('myCadac.supportTicketOverview.table.colModified'),\n key: \"modified\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n _createTextVNode(_toDisplayString(_ctx.formatDate(item.data.modified)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"status\",\n header: _ctx.$t('myCadac.supportTicketOverview.table.colStatus'),\n key: \"status\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n _createVNode(_component_StatusBadge, {\n status: item.data.simpleStatus,\n \"translation-prefix\": 'myCadac.supportTicketOverview.badge_status'\n }, null, 8, [\"status\", \"translation-prefix\"])\n ]),\n _: 1\n }, 8, [\"header\"])\n ]),\n _: 1\n }, 8, [\"value\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.tableData.length)\n ? (_openBlock(), _createBlock(_component_Card, {\n key: 1,\n class: \"mx-auto mt-2\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_23, _toDisplayString(_ctx.$t(\"myCadac.supportTicketOverview.card.noTicketsWarning\")), 1),\n _createVNode(_component_Button, {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.openUrl(_ctx.vm.askAQuestionPageUrl))),\n class: \"p-button-primary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.supportTicketOverview.card.noTicketsCta\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_24, [\n (_ctx.tableData.length && _ctx.vm.showAllTicketsCtaLinkItemHref)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[2] || (_cache[2] = ($event: any) => {\r\n\t\t\t\t\t\t_ctx.openUrl(_ctx.vm.showAllTicketsCtaLinkItemHref, _ctx.vm.showAllTicketsCtaLinkItemTarget);\r\n\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t}),\n class: \"p-button-primary p-button-lg p-button-raised\",\n label: _ctx.vm.showAllTicketsCtaLinkItemText\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ], 64))\n}","\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { PropType } from \"vue\";\r\n\timport { ISupportTicketOverview } from \"@/types/interfaces/myCadac/supportTicketOverview.interface\";\r\n\timport { FormatHelper } from \"@/types/helpers/formatHelper\";\r\n\timport { TicketViewModel } from \"@/types/generated/custom/ticketViewModel\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\texport default class SupportTicketOverview extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: ISupportTicketOverview;\r\n\r\n\t\tget tableData(): TicketViewModel[] {\r\n\t\t\treturn this.vm.tickets ? JSON.parse(this.vm.tickets, FormatHelper.formatJsonAsCamelCase) : [];\r\n\t\t}\r\n\t}\r\n","import { render } from \"./supportTicketOverview.vue?vue&type=template&id=2b491658&scoped=true&ts=true\"\nimport script from \"./supportTicketOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./supportTicketOverview.vue?vue&type=script&lang=ts\"\n\nimport \"./supportTicketOverview.vue?vue&type=style&index=0&id=2b491658&lang=scss&scoped=true\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2b491658\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createVNode as _createVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-415af2e0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"d-flex align-items-center justify-content-between flex-wrap\" }\nconst _hoisted_2 = { class: \"mb-0\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"60\",\n height: \"60\",\n class: \"mb-1\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-wallet\" })\n], -1))\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1))\nconst _hoisted_5 = [\"innerHTML\"]\nconst _hoisted_6 = { class: \"row my-3\" }\nconst _hoisted_7 = { class: \"col-12 col-lg-4 mb-1\" }\nconst _hoisted_8 = { class: \"d-flex align-items-center justify-content-between mb-1\" }\nconst _hoisted_9 = { class: \"mb-0\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"\",\n width: \"40\",\n height: \"40\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-wallet-gray\" })\n], -1))\nconst _hoisted_11 = { class: \"text-center text-primary mb-0\" }\nconst _hoisted_12 = { class: \"col-md-6 col-lg-4 mb-1\" }\nconst _hoisted_13 = { class: \"d-flex align-items-center justify-content-between mb-1\" }\nconst _hoisted_14 = { class: \"mb-0\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"\",\n width: \"40\",\n height: \"40\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-wallet-gray\" })\n], -1))\nconst _hoisted_16 = { class: \"text-center text-primary mb-0\" }\nconst _hoisted_17 = { class: \"col-md-6 col-lg-4 mb-1\" }\nconst _hoisted_18 = { class: \"d-flex align-items-center justify-content-between mb-1\" }\nconst _hoisted_19 = { class: \"mb-0\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"\",\n width: \"40\",\n height: \"40\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-wallet-gray\" })\n], -1))\nconst _hoisted_21 = { class: \"text-center text-primary mb-0\" }\nconst _hoisted_22 = { class: \"d-flex align-items-center\" }\nconst _hoisted_23 = { class: \"text-bold mb-0\" }\nconst _hoisted_24 = { class: \"d-flex align-items-center\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_Card = _resolveComponent(\"Card\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"h1\", _hoisted_2, [\n _hoisted_3,\n _createTextVNode(\" \" + _toDisplayString(_ctx.vm.title), 1)\n ]),\n (_ctx.vm.walletDepositPageUrl)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\r\n\t\t\t\t_ctx.openUrl(_ctx.vm.walletDepositPageUrl);\r\n\t\t\t\t$event.target.disabled = true;\r\n\t\t\t}),\n class: \"p-button-raised p-button-success\",\n label: _ctx.$t('myCadac.walletOverview.button.buyPrepaidCredit')\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_4,\n _createElementVNode(\"h2\", null, _toDisplayString(_ctx.$t(\"myCadac.walletOverview.introTitle\")), 1),\n _createElementVNode(\"p\", {\n innerHTML: _ctx.vm.introText\n }, null, 8, _hoisted_5),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_Card, {\n class: \"wallet-total-card\",\n id: \"wallet-card-1\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"p\", _hoisted_9, _toDisplayString(_ctx.$t(\"myCadac.walletOverview.card.creditTotal\")), 1),\n _createVNode(_component_Avatar, {\n shape: \"square\",\n class: \"mr-1 bg-transparent\"\n }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"h2\", _hoisted_11, _toDisplayString(_ctx.formatCurrency(_ctx.vm?.totalCredit)), 1)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_Card, {\n class: \"wallet-total-card\",\n id: \"wallet-card-3\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"p\", _hoisted_14, _toDisplayString(_ctx.$t(\"myCadac.walletOverview.card.creditDeposited\")), 1),\n _createVNode(_component_Avatar, {\n shape: \"square\",\n class: \"mr-1 bg-transparent\"\n }, {\n default: _withCtx(() => [\n _hoisted_15\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"h2\", _hoisted_16, _toDisplayString(_ctx.formatCurrency(_ctx.vm?.totalDeposited)), 1)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_Card, {\n class: \"wallet-total-card\",\n id: \"wallet-card-2\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"p\", _hoisted_19, _toDisplayString(_ctx.$t(\"myCadac.walletOverview.card.creditSaved\")), 1),\n _createVNode(_component_Avatar, {\n shape: \"square\",\n class: \"mr-1 bg-transparent\"\n }, {\n default: _withCtx(() => [\n _hoisted_20\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"h2\", _hoisted_21, _toDisplayString(_ctx.formatCurrency(_ctx.vm?.totalSaved)), 1)\n ]),\n _: 1\n })\n ])\n ]),\n (!_ctx.tableData?.length)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.walletOverview.message.noTransactions\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.tableData?.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 1,\n id: \"walletOverviewTable\",\n class: \"mb-3\",\n \"removable-sort\": \"\",\n value: _ctx.tableData,\n \"responsive-layout\": 'scroll',\n \"row-class\": _ctx.getRowClass,\n paginator: _ctx.showPagination,\n rows: _ctx.maxRowsToShow\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"type\",\n header: _ctx.$t('myCadac.walletOverview.table.colType'),\n key: \"type\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(_component_Avatar, {\n class: \"mr-1 bg-transparent\",\n size: \"sm\",\n icon: _ctx.getTransactionIcon(item.data)\n }, null, 8, [\"icon\"]),\n _createElementVNode(\"p\", _hoisted_23, _toDisplayString(_ctx.getTransactionText(item.data)), 1)\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"orderNumber\",\n header: _ctx.$t('myCadac.walletOverview.table.colOrderNumber'),\n key: \"orderNumber\"\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", null, _toDisplayString(item.data.orderNumber), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"transactionDate\",\n header: _ctx.$t('myCadac.walletOverview.table.colDate'),\n key: \"date\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatDate(item.data.transactionDate)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"amount\",\n header: _ctx.$t('myCadac.walletOverview.table.colTotalAmount'),\n key: \"amount\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(_component_Avatar, {\n class: \"mr-1 bg-transparent text-danger icon-border\",\n size: \"sm\",\n icon: _ctx.getAmountIcon(item.data)\n }, null, 8, [\"icon\"]),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatCurrency(item.data.amount)), 1)\n ])\n ]),\n _: 1\n }, 8, [\"header\"])\n ]),\n _: 1\n }, 8, [\"value\", \"row-class\", \"paginator\", \"rows\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","/* Auto Generated */\r\n\r\nexport enum WalletTransactionOrigin {\r\n storeOrder = 229380000,\r\n purchased = 229380001,\r\n cancelledOrder = 229380002,\r\n expired = 229380003,\r\n cRMEdit = 229380004,\r\n}\r\n","/* Auto Generated */\r\n\r\nexport enum WalletTransactionType {\r\n prepaidCreditSpent,\r\n prepaidCreditEarned,\r\n creditSpent,\r\n creditEarned,\r\n expiresSoon,\r\n expired,\r\n manualEdit,\r\n cancelledOrder,\r\n}\r\n","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { IWalletOverview } from \"@/types/interfaces/myCadac/walletOverview.interface\";\r\n\timport { WalletTransaction } from \"@/types/generated/custom/walletTransaction\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { PrimeIcons } from \"primevue/api\";\r\n\timport { WalletTransactionOrigin } from \"@/types/generated/walletTransactionOrigin\";\r\n\timport { WalletTransactionType } from \"@/types/generated/walletTransactionType\";\r\n\r\n\texport default class WalletOverview extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: IWalletOverview;\r\n\r\n\t\tmaxRowsToShow = 15;\r\n\r\n\t\tget tableData(): WalletTransaction[] {\r\n\t\t\treturn this.vm.transactions || [];\r\n\t\t}\r\n\r\n\t\tget showPagination(): boolean {\r\n\t\t\treturn this.tableData?.length > this.maxRowsToShow;\r\n\t\t}\r\n\r\n\t\tgetTransactionIcon(transaction: WalletTransaction): string | undefined {\r\n\t\t\tswitch (transaction.type) {\r\n\t\t\t\tcase WalletTransactionType.prepaidCreditSpent:\r\n\t\t\t\t\treturn `${PrimeIcons.MONEY_BILL} text-danger`;\r\n\t\t\t\tcase WalletTransactionType.prepaidCreditEarned:\r\n\t\t\t\t\treturn `${PrimeIcons.MONEY_BILL} text-success`;\r\n\t\t\t\tcase WalletTransactionType.creditSpent:\r\n\t\t\t\t\treturn `${PrimeIcons.WALLET} text-danger`;\r\n\t\t\t\tcase WalletTransactionType.creditEarned:\r\n\t\t\t\t\treturn `${PrimeIcons.WALLET} text-success`;\r\n\t\t\t\tcase WalletTransactionType.expiresSoon:\r\n\t\t\t\t\treturn `${PrimeIcons.EXCLAMATION_TRIANGLE} text-warning`;\r\n\t\t\t\tcase WalletTransactionType.expired:\r\n\t\t\t\t\treturn `${PrimeIcons.EXCLAMATION_TRIANGLE} text-danger`;\r\n\t\t\t\tcase WalletTransactionType.manualEdit:\r\n\t\t\t\t\treturn `${PrimeIcons.USER} text-primary`;\r\n\t\t\t\tcase WalletTransactionType.cancelledOrder:\r\n\t\t\t\t\treturn `${PrimeIcons.TIMES_CIRCLE} text-primary`;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tgetAmountIcon(transaction: WalletTransaction): string | undefined {\r\n\t\t\tif (transaction.origin === WalletTransactionOrigin.storeOrder) {\r\n\t\t\t\treturn transaction.amount > 0\r\n\t\t\t\t\t? `${PrimeIcons.ARROW_UP} text-success`\r\n\t\t\t\t\t: `${PrimeIcons.ARROW_DOWN} text-danger`;\r\n\t\t\t} else {\r\n\t\t\t\tswitch (transaction.origin) {\r\n\t\t\t\t\tcase WalletTransactionOrigin.cancelledOrder:\r\n\t\t\t\t\t\treturn `${PrimeIcons.ARROW_DOWN_LEFT} text-danger`;\r\n\t\t\t\t\tcase WalletTransactionOrigin.expired:\r\n\t\t\t\t\t\treturn `${PrimeIcons.ARROW_DOWN_LEFT} text-danger`;\r\n\t\t\t\t\tcase WalletTransactionOrigin.cRMEdit:\r\n\t\t\t\t\t\treturn transaction.amount > 0\r\n\t\t\t\t\t\t\t? `${PrimeIcons.ARROW_UP} text-info`\r\n\t\t\t\t\t\t\t: `${PrimeIcons.ARROW_DOWN} text-warning`;\r\n\t\t\t\t\tdefault:\r\n\t\t\t\t\t\treturn \"\";\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tgetTransactionText(transaction: WalletTransaction): string | undefined {\r\n\t\t\treturn this.$t(`enum.walletTransactionType.${transaction.type}`);\r\n\t\t}\r\n\r\n\t\tgetRowClass(transaction: WalletTransaction): string {\r\n\t\t\tswitch (transaction.type) {\r\n\t\t\t\tcase WalletTransactionType.expiresSoon:\r\n\t\t\t\t\treturn \"disabled\";\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn \"\";\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n","import { render } from \"./walletOverview.vue?vue&type=template&id=415af2e0&scoped=true&ts=true\"\nimport script from \"./walletOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./walletOverview.vue?vue&type=script&lang=ts\"\n\nimport \"./walletOverview.vue?vue&type=style&index=0&id=415af2e0&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-415af2e0\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createTextVNode as _createTextVNode, createVNode as _createVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6261fc90\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"mb-1\" }\nconst _hoisted_2 = [\"innerHTML\"]\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1))\nconst _hoisted_4 = { class: \"row mb-2\" }\nconst _hoisted_5 = { class: \"col mb-1\" }\nconst _hoisted_6 = { class: \"d-flex flex-column\" }\nconst _hoisted_7 = { class: \"mb-1\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"popover-icon pi pi-question\" }, null, -1))\nconst _hoisted_9 = { class: \"mb-0\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"d-flex align-items-center\"\n}\nconst _hoisted_11 = { class: \"icon-available-tickets\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"22\",\n height: \"22\",\n fill: \"#000\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-support-avatar\" })\n], -1))\nconst _hoisted_13 = { class: \"row mb-2\" }\nconst _hoisted_14 = { class: \"col mb-1\" }\nconst _hoisted_15 = { class: \"d-flex flex-column\" }\nconst _hoisted_16 = { class: \"mb-1\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"popover-icon pi pi-question\" }, null, -1))\nconst _hoisted_18 = { class: \"mb-0\" }\nconst _hoisted_19 = { class: \"d-flex\" }\nconst _hoisted_20 = { class: \"mb-0 text-bold\" }\nconst _hoisted_21 = { class: \"row mb-2\" }\nconst _hoisted_22 = { class: \"col mb-1\" }\nconst _hoisted_23 = { class: \"d-flex flex-column\" }\nconst _hoisted_24 = { class: \"mb-1\" }\nconst _hoisted_25 = { class: \"mb-0\" }\nconst _hoisted_26 = { class: \"p-inputgroup\" }\nconst _hoisted_27 = { class: \"d-flex justify-content-between align-items-center\" }\nconst _hoisted_28 = { class: \"d-flex align-items-center\" }\nconst _hoisted_29 = { class: \"mb-0 text-bold\" }\nconst _hoisted_30 = { class: \"mb-0 text-bold\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_PopoverIcon = _resolveComponent(\"PopoverIcon\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Panel = _resolveComponent(\"Panel\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_AutoComplete = _resolveComponent(\"AutoComplete\")!\n const _component_ProductAddedModal = _resolveComponent(\"ProductAddedModal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"h1\", _hoisted_1, _toDisplayString(_ctx.vm.pageTitle), 1),\n (_ctx.vm.introText)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 0,\n innerHTML: _ctx.vm.introText\n }, null, 8, _hoisted_2))\n : _createCommentVNode(\"\", true),\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_Panel, {\n id: \"panel-supportTickets\",\n toggleable: false\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"h3\", _hoisted_7, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.supportOverview.panel.titleTickets\")) + \" \", 1),\n (_ctx.vm.supportTicketsHelpText)\n ? (_openBlock(), _createBlock(_component_PopoverIcon, {\n key: 0,\n content: _ctx.vm.supportTicketsHelpText,\n class: \"d-inline-flex\",\n placement: \"right\"\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"content\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"p\", _hoisted_9, _toDisplayString(_ctx.$t(\"myCadac.supportOverview.panel.subtitleTickets\")), 1)\n ]),\n (_ctx.vm.supportTicketsCreatePageUrl && _ctx.vm.availableAmountOfSupportTickets)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\r\n\t\t\t\t\t\t\t_ctx.openUrl(_ctx.vm.supportTicketsCreatePageUrl);\r\n\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t}),\n class: \"p-button-raised p-button-success\",\n label: _ctx.$t('myCadac.supportOverview.button.submitSupportRequest')\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n (_ctx.vm.availableAmountOfSupportTickets)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.vm.availableAmountOfSupportTickets), 1)\n ]),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$tc(\"myCadac.supportOverview.panel.availableTickets\", _ctx.vm.availableAmountOfSupportTickets)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.vm.availableAmountOfSupportTickets)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.supportOverview.panel.noTicketsMessage\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.supportTicketsBuyPageUrl)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 2,\n onClick: _cache[1] || (_cache[1] = ($event: any) => {\r\n\t\t\t\t\t\t_ctx.openUrl(_ctx.vm.supportTicketsBuyPageUrl);\r\n\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t}),\n class: \"p-button-raised p-button-primary\",\n label: _ctx.$t('myCadac.supportOverview.button.buyTickets')\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_Panel, {\n id: \"panel-supportSubscriptions\",\n toggleable: false\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"h3\", _hoisted_16, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.supportOverview.panel.titleSupportSubscriptions\")) + \" \", 1),\n (_ctx.vm.supportSubscriptionsHelpText)\n ? (_openBlock(), _createBlock(_component_PopoverIcon, {\n key: 0,\n content: _ctx.vm.supportSubscriptionsHelpText,\n class: \"d-inline-flex\",\n placement: \"right\"\n }, {\n default: _withCtx(() => [\n _hoisted_17\n ]),\n _: 1\n }, 8, [\"content\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"p\", _hoisted_18, _toDisplayString(_ctx.$t(\"myCadac.supportOverview.panel.subtitleSupportSubscriptions\")), 1)\n ]),\n (_ctx.vm.supportContractSupportAssets?.length)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n disabled: !_ctx.urlToCreateTicketForAsset,\n onClick: _cache[2] || (_cache[2] = ($event: any) => {\r\n\t\t\t\t\t\t\t_ctx.openUrl(_ctx.urlToCreateTicketForAsset);\r\n\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t}),\n class: \"p-button-raised p-button-success\",\n label: _ctx.$t('myCadac.supportOverview.button.submitSupportRequest')\n }, null, 8, [\"disabled\", \"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n (_ctx.vm.supportContractSupportAssets?.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 0,\n value: _ctx.vm.supportContractSupportAssets,\n selection: _ctx.selectedSupportContractAsset,\n \"onUpdate:selection\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.selectedSupportContractAsset) = $event)),\n \"removable-sort\": \"\",\n \"responsive-layout\": \"scroll\",\n \"selection-mode\": \"single\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"title\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_Avatar, {\n shape: \"square\",\n size: \"small\",\n class: \"mr-1 bg-transparent\",\n image: item.data.icon,\n alt: \"product-icon\"\n }, null, 8, [\"image\"]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"p\", _hoisted_20, _toDisplayString(item.data.title), 1)\n ])\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"value\", \"selection\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.vm.supportContractSupportAssets?.length)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.supportOverview.panel.noSupportSubscriptionsMessage\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(_component_Panel, {\n id: \"panel-addSoftware\",\n toggleable: false\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"h3\", _hoisted_24, _toDisplayString(_ctx.$t(\"myCadac.supportOverview.panel.titleAddSoftware\")), 1),\n _createElementVNode(\"p\", _hoisted_25, _toDisplayString(_ctx.$t(\"myCadac.supportOverview.panel.subtitleAddSoftware\")), 1)\n ]),\n _createVNode(_component_Button, {\n disabled: !_ctx.productsToAdd.length,\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.addSupportProductToCart())),\n class: \"p-button-raised p-button-success ml-auto\",\n label: _ctx.$t('myCadac.supportOverview.button.addProductsToCart')\n }, null, 8, [\"disabled\", \"label\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_26, [\n _createVNode(_component_AutoComplete, {\n forceSelection: \"\",\n field: \"title\",\n \"min-length\": 2,\n multiple: true,\n suggestions: _ctx.searchProductResults,\n modelValue: _ctx.selectedProducts,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.selectedProducts) = $event)),\n placeholder: _ctx.$t('myCadac.supportOverview.autocomplete.placeholder'),\n onComplete: _cache[6] || (_cache[6] = ($event: any) => (_ctx.onSearchTrigger($event)))\n }, {\n item: _withCtx((slotProps) => [\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", _hoisted_28, [\n _createVNode(_component_Avatar, {\n shape: \"square\",\n size: \"small\",\n class: \"mr-1 bg-transparent\",\n image: slotProps.item.icon,\n alt: \"product-icon\"\n }, null, 8, [\"image\"]),\n _createElementVNode(\"p\", _hoisted_29, _toDisplayString(slotProps.item.title), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_30, _toDisplayString(_ctx.$t(\"myCadac.supportOverview.autocomplete.yearPrice\", {\r\n\t\t\t\t\t\t\t\t\t\t\tprice: _ctx.formatCurrency(slotProps.item.yearPrice),\r\n\t\t\t\t\t\t\t\t\t\t})), 1)\n ])\n ]),\n _: 1\n }, 8, [\"suggestions\", \"modelValue\", \"placeholder\"]),\n _createVNode(_component_Button, {\n icon: \"pi pi-search\",\n class: \"p-button-primary\"\n })\n ]),\n (_ctx.hasNoSearchResults)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.supportOverview.autocomplete.msgNoResults\", { query: _ctx.searchQuery })), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ])\n ]),\n (_ctx.showProductAddedModal)\n ? (_openBlock(), _createBlock(_component_ProductAddedModal, {\n key: 1,\n vm: _ctx.productAddedVm,\n onHideModal: _ctx.hideProductAddedModal\n }, null, 8, [\"vm\", \"onHideModal\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { PropType } from \"vue\";\r\n\timport { ISupportOverview } from \"@/types/interfaces/myCadac/supportOverview.interface\";\r\n\timport { SupportVariationTileViewModel } from \"@/types/generated/custom/supportVariationTileViewModel\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\timport { SupportAddToCart } from \"@/types/generated/api/supportAddToCart\";\r\n\timport { IProductAddedModal } from \"@/types/interfaces/commerce/productAddedModal.interface\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport AutoComplete from \"primevue/autocomplete\";\r\n\r\n\t@Options({ components: { AutoComplete } })\r\n\texport default class SupportOverview extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: ISupportOverview;\r\n\r\n\t\tisLoading = false;\r\n\t\tshowProductAddedModal = false;\r\n\t\tsearchProductNoResults = false;\r\n\t\tsearchQuery = \"\";\r\n\t\tsearchProductResults: SupportVariationTileViewModel[] = [];\r\n\t\tselectedSupportContractAsset: SupportVariationTileViewModel = {} as SupportVariationTileViewModel;\r\n\t\tselectedProducts: SupportVariationTileViewModel[] = [];\r\n\r\n\t\tget urlToCreateTicketForAsset(): string {\r\n\t\t\treturn this.selectedSupportContractAsset.sku\r\n\t\t\t\t? `${this.vm.supportTicketsCreatePageUrl}?cat=${this.vm.askAQuestionSupportCategoryId}&sku=${this.selectedSupportContractAsset.sku}`\r\n\t\t\t\t: this.selectedSupportContractAsset.id\r\n ? `${this.vm.supportTicketsCreatePageUrl}?cat=${this.vm.askAQuestionSupportCategoryId}&sku=null`\r\n : \"\";\r\n\t\t}\r\n\r\n\t\tget productAddedVm(): IProductAddedModal {\r\n\t\t\treturn {\r\n\t\t\t\tcartPageUrl: this.vm.cartPageUrl,\r\n\t\t\t\tproducts: this.productAddedToCart,\r\n\t\t\t\tcrossSellProducts: this.vm.supportProductViewModel?.relatedCrossSellEntries,\r\n\t\t\t\tcrossSellExperts: [],\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget productsToAdd(): SupportVariationTileViewModel[] {\r\n\t\t\treturn this.selectedProducts.filter((x) => !x.addedToCart);\r\n\t\t}\r\n\r\n\t\tget productAddedToCart(): SupportVariationTileViewModel[] {\r\n\t\t\treturn this.selectedProducts.filter((x) => x.addedToCart);\r\n\t\t}\r\n\r\n\t\tget hasNoSearchResults(): boolean {\r\n\t\t\treturn this.searchProductNoResults;\r\n\t\t}\r\n\r\n\t\tonSearchTrigger({ query }: { query: string }): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tthis.searchQuery = query;\r\n\t\t\tconst existingIds = this.vm.supportContractSupportAssets.map((x) => x.id).join(\"|\");\r\n\t\t\taxios\r\n\t\t\t\t.get(`/api/support/searchvariations`, { params: { query, existingIds } })\r\n\t\t\t\t.then(({ data }) => {\r\n\t\t\t\t\tthis.searchProductResults = data.results;\r\n\t\t\t\t\tthis.searchProductNoResults = data.results?.length === 0;\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => console.error(err))\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\r\n\t\thideProductAddedModal(): void {\r\n\t\t\tthis.showProductAddedModal = false;\r\n\t\t}\r\n\r\n\t\taddSupportProductToCart(): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tconst data = {\r\n\t\t\t\tsupportVariationCodes: this.productsToAdd.map((x) => x.id),\r\n\t\t\t} as SupportAddToCart;\r\n\t\t\taxios\r\n\t\t\t\t.post(`/api/cart/add-support`, data)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.showProductAddedModal = true;\r\n\t\t\t\t\tthis.selectedProducts = [\r\n\t\t\t\t\t\t...this.selectedProducts.map((x) => {\r\n\t\t\t\t\t\t\tx.addedToCart = true;\r\n\t\t\t\t\t\t\treturn x;\r\n\t\t\t\t\t\t}),\r\n\t\t\t\t\t];\r\n\t\t\t\t})\r\n\t\t\t\t.catch(() =>\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"common.messages.addToCartError\"),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t})\r\n\t\t\t\t)\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\t}\r\n","import { render } from \"./supportOverview.vue?vue&type=template&id=6261fc90&scoped=true&ts=true\"\nimport script from \"./supportOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./supportOverview.vue?vue&type=script&lang=ts\"\n\nimport \"./supportOverview.vue?vue&type=style&index=0&id=6261fc90&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6261fc90\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-2\" }, null, -1)\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"col-12 mb-3\"\n}\nconst _hoisted_4 = { class: \"mb-2\" }\nconst _hoisted_5 = { class: \"col-12 mb-3\" }\nconst _hoisted_6 = { class: \"d-flex justify-content-between mb-2\" }\nconst _hoisted_7 = { class: \"mb-0 mt-2\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ContractOverviewTable = _resolveComponent(\"ContractOverviewTable\")!\n const _component_Button = _resolveComponent(\"Button\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.vm.pageTitle), 1),\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.hasSupportAssets)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"h3\", _hoisted_4, _toDisplayString(_ctx.$t(\"myCadac.contractOverview.titleSupportContracts\")), 1),\n _createVNode(_component_ContractOverviewTable, {\n vm: _ctx.vm,\n contracts: _ctx.supportContracts,\n onCancelContract: _ctx.confirmCancelContract\n }, null, 8, [\"vm\", \"contracts\", \"onCancelContract\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"h3\", _hoisted_7, _toDisplayString(_ctx.$t(\"myCadac.contractOverview.titleContracts\")), 1),\n (_ctx.vm.licenceManagementOverviewPageUrl)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.confirmManageLicences())),\n label: _ctx.$t('myCadac.contractOverview.button.manageLicences')\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_ContractOverviewTable, {\n vm: _ctx.vm,\n contracts: _ctx.softwareContracts,\n onCancelContract: _ctx.confirmCancelContract\n }, null, 8, [\"vm\", \"contracts\", \"onCancelContract\"])\n ])\n ])\n ], 64))\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2f039aac\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_2 = [\"href\", \"title\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"d-block text-muted\"\n}\nconst _hoisted_4 = {\n key: 1,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_5 = { class: \"d-flex align-items-center\" }\nconst _hoisted_6 = { style: {\"line-height\":\"1.25rem\"} }\nconst _hoisted_7 = {\n key: 0,\n class: \"text-danger d-flex flex-nowrap overflow-hidden\"\n}\nconst _hoisted_8 = { class: \"text-nowrap mr-1\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-exclamation-circle\" }, null, -1))\nconst _hoisted_10 = {\n key: 0,\n class: \"text-bold\"\n}\nconst _hoisted_11 = { key: 1 }\nconst _hoisted_12 = { class: \"d-flex justify-content-end flex-grow-1\" }\nconst _hoisted_13 = { class: \"row-expansion-content\" }\nconst _hoisted_14 = { class: \"d-flex align-items-center ml-1 ml-lg-0\" }\nconst _hoisted_15 = { class: \"d-flex flex-column\" }\nconst _hoisted_16 = { class: \"mb-0 text-muted d-block\" }\nconst _hoisted_17 = {\n key: 0,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_18 = [\"href\", \"title\"]\nconst _hoisted_19 = {\n key: 1,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_20 = {\n key: 2,\n class: \"badge badge-primary multi-user-badge\"\n}\nconst _hoisted_21 = {\n key: 3,\n class: \"text-info text-bold\"\n}\nconst _hoisted_22 = { key: 0 }\nconst _hoisted_23 = { key: 1 }\nconst _hoisted_24 = {\n key: 0,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_25 = [\"onClick\", \"title\"]\nconst _hoisted_26 = {\n key: 1,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_27 = { class: \"lead\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_AvatarGroup = _resolveComponent(\"AvatarGroup\")!\n const _component_PopoverIcon = _resolveComponent(\"PopoverIcon\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Card = _resolveComponent(\"Card\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.contracts.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 0,\n onRowClick: _withModifiers(_ctx.onRowClick, [\"self\"]),\n \"expanded-rows\": _ctx.expandedRows,\n \"onUpdate:expanded-rows\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.expandedRows) = $event)),\n value: _ctx.contracts,\n \"row-class\": _ctx.highlightRow,\n \"row-hover\": true,\n \"data-key\": \"contractNumber\",\n \"responsive-layout\": \"stack\",\n \"auto-layout\": \"\"\n }, {\n expansion: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_13, [\n (_ctx.getContractAssets(item.data).length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 0,\n value: _ctx.getContractAssets(item.data),\n \"responsive-layout\": \"stack\",\n \"auto-layout\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"productName\",\n header: _ctx.$t('myCadac.contractOverview.table.colProductName'),\n sortable: false\n }, {\n body: _withCtx((asset) => [\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_Avatar, {\n shape: \"square\",\n size: \"large\",\n class: \"mr-1 bg-transparent flex-shrink-0\",\n image: asset.data.productIconUrl,\n title: asset.data.productName,\n alt: asset.data.productIconAlt\n }, null, 8, [\"image\", \"title\", \"alt\"]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"small\", _hoisted_16, _toDisplayString(asset.data.productBrand), 1),\n (_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_17, [\n _createElementVNode(\"a\", {\n href: asset.data.productCrmUrl,\n target: \"_blank\",\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(_ctx.formatProductName(asset.data.productName, asset.data.productBrand)), 9, _hoisted_18)\n ]))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_19, _toDisplayString(_ctx.formatProductName(asset.data.productName, asset.data.productBrand)), 1)),\n (asset.data.isMultiSizeProduct)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_20, _toDisplayString(asset.data.multiSizeUnitString), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.isAssetSwitched(asset.data))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_21, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.table.productSwitchedMessage\")), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"serialNumber\",\n style: {\"width\":\"20%\"},\n header: _ctx.$t('myCadac.contractOverview.table.colProductSerialNumber'),\n sortable: false\n }, {\n body: _withCtx((asset) => [\n (_ctx.isContractExpired(item.data))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, _toDisplayString(_ctx.$t(\"common.notApplicable\")), 1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_23, [\n (_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_24, [\n _createElementVNode(\"a\", {\n href: \"javascript:void(0);\",\n onClick: ($event: any) => (_ctx.openUrl(asset.data.crmUrl, '_blank')),\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(asset.data.serialNumber || _ctx.$t(\"common.notApplicable\")), 9, _hoisted_25)\n ]))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_26, _toDisplayString(asset.data.serialNumber || _ctx.$t(\"common.notApplicable\")), 1))\n ]))\n ]),\n _: 2\n }, 1032, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"deployment\",\n style: {\"width\":\"20%\"},\n header: _ctx.$t('myCadac.contractOverview.table.colProductLicenceType'),\n sortable: false,\n hidden: _ctx.isSupportContractTable\n }, {\n body: _withCtx((asset) => [\n _createTextVNode(_toDisplayString(_ctx.$t(`enum.deployment.${asset.data.deployment}`)), 1)\n ]),\n _: 1\n }, 8, [\"header\", \"hidden\"]),\n _createVNode(_component_Column, {\n field: \"seats\",\n style: {\"width\":\"20%\"},\n header: _ctx.$t('myCadac.contractOverview.table.colProductSeats'),\n sortable: false,\n hidden: _ctx.isSupportContractTable\n }, null, 8, [\"header\", \"hidden\"])\n ]),\n _: 2\n }, 1032, [\"value\"]))\n : (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.contractOverview.message.noContractAssets\")), 1)\n ]),\n _: 1\n }))\n ])\n ]),\n default: _withCtx(() => [\n (!_ctx.isSmallScreen?.value)\n ? (_openBlock(), _createBlock(_component_Column, {\n key: 0,\n expander: \"\",\n headerStyle: \"width:1.75rem\"\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Column, {\n field: \"contractNumber\",\n header: _ctx.$t('myCadac.contractOverview.table.colContractNumber'),\n key: \"contractNumber\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n (_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_1, [\n _createElementVNode(\"a\", {\n href: item.data.crmUrl,\n target: \"_blank\",\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(item.data.contractNumber), 9, _hoisted_2),\n (item.data.crmBusinessUnit)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_3, _toDisplayString(_ctx.$t(\"myCadac.contractOverview.table.lblCrmBusinessUnit\", {\r\n\t\t\t\t\t\t\t\tname: item.data.crmBusinessUnit.name,\r\n\t\t\t\t\t\t\t})), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_4, _toDisplayString(item.data.contractNumber), 1))\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"products\",\n header: _ctx.$t('myCadac.contractOverview.table.colProducts'),\n key: \"products\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createVNode(_component_AvatarGroup, null, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.getSortedContractAssets(item.data).slice(0, _ctx.maxContractAssetsToShow), (asset, index) => {\n return (_openBlock(), _createBlock(_component_Avatar, {\n key: index,\n shape: \"square\",\n size: \"small\",\n class: \"ml-0 bg-transparent\",\n image: asset.productIconUrl,\n title: asset.productName,\n alt: asset.productIconAlt\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n }), 128)),\n (_ctx.getContractAssets(item.data).length > _ctx.maxContractAssetsToShow)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n size: \"small\",\n class: \"text-bold ml-0\",\n label: `+${_ctx.getContractAssets(item.data).length - _ctx.maxContractAssetsToShow}`\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"renewalTerm\",\n header: _ctx.$t('myCadac.contractOverview.table.colDuration'),\n key: \"renewalTerm\",\n sortable: false\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"automaticRenewal\",\n header: _ctx.$t('myCadac.contractOverview.table.colAutomaticRenewal'),\n key: \"automaticRenewal\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"i\", {\n class: _normalizeClass(item.data.automaticRenewal ? 'pi pi-check text-success mr-1' : 'pi pi-times text-danger mr-1')\n }, null, 2),\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(_ctx.getAutomaticRenewalText(item.data.automaticRenewal)), 1)\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"endDate\",\n header: _ctx.$t('myCadac.contractOverview.table.colExpiresOn'),\n key: \"endDate\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n (_ctx.shouldShowContractExpirationWarning(item.data))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(_ctx.formatDate(item.data.endDate)), 1),\n _createVNode(_component_PopoverIcon, {\n class: \"d-inline-flex\",\n style: {\"line-height\":\"1.75rem\"}\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$tc(\"myCadac.contractOverview.table.contractExpirationWarning\", {\r\n\t\t\t\t\t\t\t\t\t\tcount: item.data.remainingDays,\r\n\t\t\t\t\t\t\t\t\t})), 1),\n (\r\n\t\t\t\t\t\t\t\t\t(_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales) &&\r\n\t\t\t\t\t\t\t\t\titem.data.contractFaultRemarks\r\n\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_10, _toDisplayString(item.data.contractFaultRemarks), 1))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 2\n }, 1024)\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_11, _toDisplayString(_ctx.formatDate(item.data.endDate)), 1))\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n key: \"actions\",\n style: {\"width\":\"25%\"}\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_12, [\n (_ctx.canExtendOrRenewContract(item.data) && item.data.isPerpetual)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: ($event: any) => {\r\n\t\t\t\t\t\t\t_ctx.openUrl(`${_ctx.vm.contractDetailPageUrl}?contractnumber=${item.data.contractNumber}`);\r\n\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t},\n label: _ctx.$t('myCadac.contractOverview.button.switchContractOptions'),\n class: \"p-button-success p-button-sm mr-auto mr-lg-1 flex-grow-lg-1\"\n }, null, 8, [\"onClick\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.canExtendOrRenewContract(item.data) && !item.data.isPerpetual)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n onClick: ($event: any) => {\r\n\t\t\t\t\t\t\t_ctx.openUrl(`${_ctx.vm.contractDetailPageUrl}?contractnumber=${item.data.contractNumber}`);\r\n\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t},\n label: _ctx.$t('myCadac.contractOverview.button.renewContract'),\n class: \"p-button-success p-button-sm mr-auto mr-lg-1 flex-grow-lg-1\"\n }, null, 8, [\"onClick\", \"label\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Button, {\n onClick: ($event: any) => {\r\n\t\t\t\t\t\t\t_ctx.openUrl(\r\n\t\t\t\t\t\t\t\t`${_ctx.vm.contractChangePageUrl}?contractnumber=${item.data.contractNumber}&edit=${_ctx.canEditContract(\r\n\t\t\t\t\t\t\t\t\titem.data\r\n\t\t\t\t\t\t\t\t)}`\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t},\n title: \r\n\t\t\t\t\t\t\t_ctx.canEditContract(item.data)\r\n\t\t\t\t\t\t\t\t? _ctx.$t('myCadac.contractOverview.button.changeContract')\r\n\t\t\t\t\t\t\t\t: _ctx.$t('common.view')\r\n\t\t\t\t\t\t,\n label: \r\n\t\t\t\t\t\t\t_ctx.isSmallScreen?.value\r\n\t\t\t\t\t\t\t\t? _ctx.canEditContract(item.data)\r\n\t\t\t\t\t\t\t\t\t? _ctx.$t('myCadac.contractOverview.button.changeContract')\r\n\t\t\t\t\t\t\t\t\t: _ctx.$t('common.view')\r\n\t\t\t\t\t\t\t\t: ''\r\n\t\t\t\t\t\t,\n icon: _ctx.canEditContract(item.data) ? 'pi pi-pencil' : 'pi pi-eye',\n class: \"p-button-primary p-button-icon p-button-rounded p-button-raised p-button-text ml-1 flex-shrink-0\"\n }, null, 8, [\"onClick\", \"title\", \"label\", \"icon\"]),\n (_ctx.canCancelContract(item.data))\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 2,\n onClick: ($event: any) => (_ctx.cancelContract(item.data)),\n label: _ctx.isSmallScreen?.value ? _ctx.$t('myCadac.contractOverview.button.cancelContract') : '',\n title: _ctx.$t('myCadac.contractOverview.button.cancelContract'),\n icon: \"pi pi-times\",\n class: \"p-button-primary p-button-icon p-button-rounded p-button-raised p-button-text ml-1 flex-shrink-0\"\n }, null, 8, [\"onClick\", \"label\", \"title\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"onRowClick\", \"expanded-rows\", \"value\", \"row-class\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.contracts.length)\n ? (_openBlock(), _createBlock(_component_Card, {\n key: 1,\n class: \"mx-auto mt-2\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_27, _toDisplayString(_ctx.isSupportContractTable || !_ctx.contracts.length\r\n\t\t\t\t\t\t? _ctx.$t(\"myCadac.contractOverview.card.noSupportContracts\")\r\n\t\t\t\t\t\t: _ctx.$t(\"myCadac.contractOverview.card.noContracts\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","/* Auto Generated */\r\n\r\nexport enum SwitchStatus {\r\n switchIsFinal,\r\n switchIsRequested,\r\n notSwitched,\r\n}\r\n","\r\n\timport { PropType } from \"vue\";\r\n\timport { Emit, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { IContractOverview } from \"@/types/interfaces/myCadac/contractOverview.interface\";\r\n\timport { Contract } from \"@/types/generated/contract\";\r\n\timport { ContractAsset } from \"@/types/generated/contractAsset\";\r\n\timport { isAfter } from \"date-fns\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { SwitchStatus } from \"@/types/generated/switchStatus\";\r\n\timport { reduce } from \"lodash\";\r\n\r\n\t@Options({ emits: [\"cancel-contract\"] })\r\n\texport default class ContractOverviewTable extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: IContractOverview;\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tcontracts!: Contract[];\r\n\r\n\t\t@Emit() cancelContract(contract: Contract): Contract {\r\n\t\t\treturn contract;\r\n\t\t}\r\n\r\n\t\tmaxContractAssetsToShow = 3;\r\n\t\texpandedRows: Contract[] = [];\r\n\r\n\t\tget isSupportContractTable(): boolean {\r\n\t\t\treturn this.contracts.some((x) => x.isSupportContract);\r\n\t\t}\r\n\r\n\t\tonRowClick(event: { data: Contract; index: number }): void {\r\n\t\t\tconst existingRowIndex = this.expandedRows.findIndex((x) => x.contractNumber === event.data.contractNumber);\r\n\r\n\t\t\tif (existingRowIndex > -1) {\r\n\t\t\t\tthis.expandedRows.splice(existingRowIndex, 1);\r\n\t\t\t} else {\r\n\t\t\t\tthis.expandedRows.push(event.data);\r\n\t\t\t}\r\n\t\t\tthis.expandedRows = [...this.expandedRows];\r\n\t\t}\r\n\r\n\t\thighlightRow(contract: Contract): string {\r\n\t\t\tconst isRowExpanded = this.expandedRows.findIndex((x) => x.contractNumber === contract.contractNumber) > -1;\r\n\t\t\treturn isRowExpanded ? \"highlight\" : \"\";\r\n\t\t}\r\n\r\n\t\tgetAutomaticRenewalText(automaticRenewal: boolean): string {\r\n\t\t\treturn automaticRenewal ? this.$t(\"common.on\") : this.$t(\"common.off\");\r\n\t\t}\r\n\r\n\t\tgetContractAssets(contract: Contract): ContractAsset[] {\r\n\t\t\treturn contract.isSupportContract ? contract.contractSupportAssets : contract.contractAssets;\r\n\t\t}\r\n\r\n\t\tgetSortedContractAssets(contract: Contract): ContractAsset[] {\r\n\t\t\tconst otherAssets: ContractAsset[] = [];\r\n\t\t\tconst uniqueIconAssets = reduce(\r\n\t\t\t\tthis.getContractAssets(contract),\r\n\t\t\t\t(result: ContractAsset[], value: ContractAsset) => {\r\n\t\t\t\t\tif (result.findIndex((x) => x.productName === value.productName) === -1) {\r\n\t\t\t\t\t\tresult.push(value);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\totherAssets.push(value);\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn result;\r\n\t\t\t\t},\r\n\t\t\t\t[] as ContractAsset[]\r\n\t\t\t);\r\n\t\t\treturn [...uniqueIconAssets, ...otherAssets];\r\n\t\t}\r\n\r\n\t\tisAssetSwitched(contractAsset: ContractAsset): boolean {\r\n\t\t\treturn contractAsset.switchStatus !== SwitchStatus.notSwitched.valueOf();\r\n\t\t}\r\n\r\n\t\tshouldShowContractExpirationWarning(contract: Contract): boolean {\r\n\t\t\treturn (\r\n\t\t\t\t(contract.supportsProlongation && contract.remainingDays > 0) ||\r\n\t\t\t\tcontract.partialContractWarning ||\r\n\t\t\t\tcontract.prolongationDisabledDueToPendingOrder\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tcanExtendOrRenewContract(contract: Contract): boolean {\r\n\t\t\treturn (\r\n\t\t\t\tcontract.supportsProlongation &&\r\n\t\t\t\t!contract.isDatechAutoRenewal &&\r\n\t\t\t\t!!this.vm.contractDetailPageUrl &&\r\n\t\t\t\t(!this.isContractExpired(contract) || !contract.prolongationDisabledDueToPendingOrder) &&\r\n\t\t\t\t!contract.isRentalSystemContract\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tcanEditContract(contract: Contract): boolean {\r\n\t\t\treturn (\r\n\t\t\t\tcontract.supportsChanges &&\r\n\t\t\t\t!contract.prolongationDisabledDueToPendingOrder &&\r\n\t\t\t\t!!this.vm.contractChangePageUrl &&\r\n\t\t\t\t!contract.isDatechAutoRenewalCancelled\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tcanCancelContract(contract: Contract): boolean {\r\n\t\t\treturn contract.isDatechAutoRenewal && contract.isAllowedToCancelDatechAutoRenewal;\r\n\t\t}\r\n\r\n\t\tisContractExpired(contract: Contract): boolean {\r\n\t\t\treturn isAfter(new Date(), this.toDate(contract.endDate));\r\n\t\t}\r\n\t}\r\n","import { render } from \"./contractOverviewTable.vue?vue&type=template&id=2f039aac&scoped=true&ts=true\"\nimport script from \"./contractOverviewTable.vue?vue&type=script&lang=ts\"\nexport * from \"./contractOverviewTable.vue?vue&type=script&lang=ts\"\n\nimport \"./contractOverviewTable.vue?vue&type=style&index=0&id=2f039aac&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2f039aac\"]])\n\nexport default __exports__","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { IContractOverview } from \"@/types/interfaces/myCadac/contractOverview.interface\";\r\n\timport { Contract } from \"@/types/generated/contract\";\r\n\timport axios from \"axios\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { ContractAsset } from \"@/types/generated/contractAsset\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport ContractOverviewTable from \"@/components/contracts/contractOverviewTable.vue\";\r\n\r\n\t@Options({ components: { ContractOverviewTable } })\r\n\texport default class ContractOverview extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: IContractOverview;\r\n\r\n\t\tget softwareContracts(): Contract[] {\r\n\t\t\treturn this.vm?.contracts?.filter((x: Contract) => !x.isSupportContract) || [];\r\n\t\t}\r\n\r\n\t\tget supportContracts(): Contract[] {\r\n\t\t\tconst supportContracts = this.vm?.contracts?.filter((x: Contract) => x.isSupportContract);\r\n\t\t\t// Filter out support ticket contract\r\n\t\t\tsupportContracts?.map(\r\n\t\t\t\t(contract: Contract) =>\r\n\t\t\t\t\t(contract.contractSupportAssets = contract.contractSupportAssets.filter(\r\n\t\t\t\t\t\t(x: ContractAsset) => !x.isSupportTicketVariation\r\n\t\t\t\t\t))\r\n\t\t\t);\r\n\t\t\treturn supportContracts || [];\r\n\t\t}\r\n\r\n\t\tget hasSupportAssets(): boolean {\r\n\t\t\treturn this.supportContracts.some((x) => x.contractSupportAssets.length);\r\n\t\t}\r\n\r\n\t\tconfirmCancelContract(contract: Contract): void {\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\theader: this.$t(\"myCadac.contractOverview.dialog.confirmCancelTitle\"),\r\n\t\t\t\tacceptLabel: this.$t(\"myCadac.contractOverview.button.cancelContract\"),\r\n\t\t\t\trejectLabel: this.$t(\"common.no\"),\r\n\t\t\t\taccept: () => {\r\n\t\t\t\t\taxios\r\n\t\t\t\t\t\t.get(`/api/contract/cancel/${contract.contractNumber}`)\r\n\t\t\t\t\t\t.then(() => {\r\n\t\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleSuccess\"),\r\n\t\t\t\t\t\t\t\tdetail: this.$t(\"myCadac.contractOverview.toast.contractCancelSuccess\"),\r\n\t\t\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t.catch(() => {\r\n\t\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\t\t\t\t\tdetail: this.$t(\"common.messages.error.genericException\"),\r\n\t\t\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t});\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tconfirmManageLicences(): void {\r\n\t\t\t// Confirm dialog with reverse buttons\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\theader: this.$t(\"myCadac.licenceManagementOverview.dialog.confirmUnlockLicencesTitle\"),\r\n\t\t\t\tmessage: this.$t(\"myCadac.licenceManagementOverview.dialog.confirmUnlockLicencesMessage\"),\r\n\t\t\t\trejectLabel: this.$t(\"common.yes\"),\r\n\t\t\t\tacceptLabel: this.$t(\"common.no\"),\r\n\t\t\t\treject: () => {\r\n\t\t\t\t\tthis.openUrl(this.vm.licenceManagementOverviewPageUrl as string);\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n","import { render } from \"./contractOverview.vue?vue&type=template&id=de9ea9ec&ts=true\"\nimport script from \"./contractOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./contractOverview.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, createBlock as _createBlock, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1)\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"col-12\" }\nconst _hoisted_4 = [\"href\"]\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = { class: \"d-flex align-items-center\" }\nconst _hoisted_7 = [\"title\"]\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = [\"title\"]\nconst _hoisted_10 = { key: 1 }\nconst _hoisted_11 = { class: \"d-flex align-items-center\" }\nconst _hoisted_12 = [\"textContent\"]\nconst _hoisted_13 = [\"href\"]\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"22\",\n height: \"22\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-install-help\" })\n], -1)\nconst _hoisted_15 = [\n _hoisted_14\n]\nconst _hoisted_16 = { key: 1 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.vm.pageTitle), 1),\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (_ctx.tableData.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 0,\n class: \"mt-2\",\n \"removable-sort\": \"\",\n \"row-class\": _ctx.getRowClass,\n value: _ctx.tableData,\n paginator: _ctx.showPagination,\n rows: _ctx.maxRowsToShow,\n \"responsive-layout\": \"stack\",\n \"auto-layout\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"orderNumber\",\n header: _ctx.$t('myCadac.orderOverview.table.colOrderNumber'),\n key: \"orderNumber\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n ((_ctx.userProfile?.isImpersonated || _ctx.userProfile?.isCadacSales) && item.data.urlToGenerateInvoice)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n href: item.data.urlToGenerateInvoice,\n class: \"text-bold\"\n }, _toDisplayString(item.data.orderNumber), 9, _hoisted_4))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(item.data.orderNumber), 1))\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"customerName\",\n header: _ctx.$t('myCadac.orderOverview.table.colOrganisation'),\n key: \"customerName\",\n sortable: false\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"invoiceDateTime\",\n header: _ctx.$t('myCadac.orderOverview.table.colInvoiceDate'),\n key: \"invoiceDateTime\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatDate(item.data.invoiceDateTime)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"isPaid\",\n header: _ctx.$t('myCadac.orderOverview.table.colPaid'),\n key: \"isPaid\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"i\", {\n class: _normalizeClass(item.data.isPaid ? 'pi pi-check text-success mr-1' : 'pi pi-times text-danger mr-1')\n }, null, 2),\n ((_ctx.userProfile?.isImpersonated || _ctx.userProfile?.isCadacSales) && item.data.paymentMethod)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n title: 'Betaalmethode: ' + item.data.paymentMethod\n }, _toDisplayString(item.data.isPaid ? _ctx.$t(\"common.yes\") : _ctx.$t(\"common.no\")), 9, _hoisted_7))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(item.data.isPaid ? _ctx.$t(\"common.yes\") : _ctx.$t(\"common.no\")), 1))\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"total\",\n header: _ctx.$t('myCadac.orderOverview.table.colTotalAmount'),\n key: \"total\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n ((_ctx.userProfile?.isImpersonated || _ctx.userProfile?.isCadacSales) && item.data.orderStatus)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n title: 'Orderstatus: ' + item.data.orderStatus\n }, _toDisplayString(_ctx.formatCurrency(item.data.total)), 9, _hoisted_9))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_10, _toDisplayString(_ctx.formatCurrency(item.data.total)), 1))\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"hasInstallationHelp\",\n header: _ctx.$t('myCadac.orderOverview.table.colInstallationSupport'),\n key: \"hasInstallationHelp\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"i\", {\n class: _normalizeClass(\r\n\t\t\t\t\t\t\t\t\titem.data.hasInstallationHelp\r\n\t\t\t\t\t\t\t\t\t\t? 'pi pi-check text-success mr-1'\r\n\t\t\t\t\t\t\t\t\t\t: ''\r\n\t\t\t\t\t\t\t\t)\n }, null, 2),\n (!item.data.installationHelpUrl)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n textContent: _toDisplayString(item.data.hasInstallationHelp ? _ctx.$t('common.yes') : _ctx.$t('common.notApplicable'))\n }, null, 8, _hoisted_12))\n : _createCommentVNode(\"\", true),\n (item.data.installationHelpUrl)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 1,\n href: item.data.installationHelpUrl\n }, _hoisted_15, 8, _hoisted_13))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n header: _ctx.$t('myCadac.orderOverview.table.lblInvoice'),\n key: \"invoice\"\n }, {\n body: _withCtx((item) => [\n (!item.data.isCancelled && item.data.invoiceNumber)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n class: \"p-button-primary p-button-icon p-button-rounded p-button-raised p-button-text\",\n icon: \"pi pi-file-pdf\",\n onClick: ($event: any) => (_ctx.viewPdf(item.data.orderNumber))\n }, null, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (item.data.isCancelled)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, _toDisplayString(_ctx.$t(\"myCadac.orderOverview.table.lblCancelled\")), 1))\n : _createCommentVNode(\"\", true),\n (\r\n\t\t\t\t\t\t\t\t(_ctx.userProfile?.isImpersonated || _ctx.userProfile?.isCadacSales) &&\r\n\t\t\t\t\t\t\t\t!item.data.isCancelled &&\r\n\t\t\t\t\t\t\t\t!item.data.isPaid\r\n\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 2,\n class: \"p-button-danger p-button-icon p-button-rounded p-button-raised p-button-text\",\n icon: \"pi pi-times\",\n label: _ctx.isSmallScreen?.value ? _ctx.$t('myCadac.orderOverview.button.cancelOrder') : '',\n title: _ctx.$t('myCadac.orderOverview.button.cancelOrder'),\n onClick: ($event: any) => (_ctx.confirmCancelOrder(item.data.orderNumber))\n }, null, 8, [\"label\", \"title\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"header\"])\n ]),\n _: 1\n }, 8, [\"row-class\", \"value\", \"paginator\", \"rows\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 64))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { IOrderOverview } from \"@/types/interfaces/myCadac/orderOverview.interface\";\r\n\timport { OrderInfo } from \"@/types/generated/orderInfo\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport axios from \"axios\";\r\n\r\n\texport default class OrderOverview extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: IOrderOverview;\r\n\r\n\t\tmaxRowsToShow = 15;\r\n\r\n\t\tget tableData(): OrderInfo[] {\r\n\t\t\treturn this.vm.orders;\r\n\t\t}\r\n\r\n\t\tget showPagination(): boolean {\r\n\t\t\treturn this.tableData?.length > this.maxRowsToShow;\r\n\t\t}\r\n\r\n\t\tgetRowClass(order: OrderInfo): string {\r\n\t\t\treturn order.isCancelled ? \"disabled\" : \"\";\r\n\t\t}\r\n\r\n\t\tviewPdf(orderNumber: string): void {\r\n\t\t\tthis.openUrl(`${window.location.href}GetPDF/?ordernumber=${orderNumber}`, \"_blank\");\r\n\t\t}\r\n\r\n\t\tconfirmCancelOrder(orderNumber: string): void {\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\tmessage: this.$t(\"myCadac.orderOverview.dialog.confirmCancelOrder\"),\r\n\t\t\t\theader: this.$t(\"common.messages.titleBeware\"),\r\n\t\t\t\tacceptLabel: this.$t(\"common.yes\"),\r\n\t\t\t\trejectLabel: this.$t(\"common.no\"),\r\n\t\t\t\taccept: () => {\r\n\t\t\t\t\tthis.cancelOrder(orderNumber);\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tprivate cancelOrder(orderNumber: string): void {\r\n\t\t\taxios\r\n\t\t\t\t.put(`/api/order/cancel/${orderNumber}`)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\twindow.location.reload();\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tconsole.error(\"cancelOrder error\", err);\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n","import { render } from \"./orderOverview.vue?vue&type=template&id=4fe3c444&ts=true\"\nimport script from \"./orderOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./orderOverview.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-48db6849\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1))\nconst _hoisted_2 = { class: \"text-right text-lg-left pb-0 pt-2 px-2\" }\nconst _hoisted_3 = { class: \"mb-0 ml-1 text-bold text-primary\" }\nconst _hoisted_4 = { class: \"d-flex flex-wrap flex-lg-nowrap flex-row-reverse flex-lg-row text-right text-lg-left\" }\nconst _hoisted_5 = { class: \"d-flex px-1 flex-column\" }\nconst _hoisted_6 = { class: \"mb-0 text-muted d-block\" }\nconst _hoisted_7 = { class: \"mb-0 text-bold\" }\nconst _hoisted_8 = { class: \"d-flex align-items-center justify-content-end justify-content-lg-start\" }\nconst _hoisted_9 = [\"title\"]\nconst _hoisted_10 = { class: \"\" }\nconst _hoisted_11 = { class: \"text-preline\" }\nconst _hoisted_12 = { class: \"d-flex align-items-center\" }\nconst _hoisted_13 = { class: \"d-flex flex-column text-right text-lg-left\" }\nconst _hoisted_14 = { class: \"mb-0 text-bold\" }\nconst _hoisted_15 = { class: \"mb-0\" }\nconst _hoisted_16 = {\n key: 0,\n class: \"text-info\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_Card = _resolveComponent(\"Card\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.vm.pageTitle), 1),\n _hoisted_1,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.trainingsGroupedByLinkId, ([trainingLinkId, trainings]) => {\n return (_openBlock(), _createBlock(_component_Card, {\n key: trainingLinkId,\n class: \"mb-3\"\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h5\", _hoisted_3, _toDisplayString(trainings[0].name), 1)\n ])\n ]),\n content: _withCtx(() => [\n _createVNode(_component_DataTable, {\n value: trainings,\n \"auto-layout\": \"\",\n \"responsive-layout\": \"stack\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n header: _ctx.$t('training.lblCourse'),\n key: \"trainingName\"\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_4, [\n (item.data.productIconUrl)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n class: \"flex-shrink-0\",\n size: \"large\",\n image: item.data.productIconUrl,\n title: item.data.subject,\n alt: item.data.productIconAlt || item.data.subject\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"small\", _hoisted_6, _toDisplayString(item.data.brand), 1),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(item.data.name), 1),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"i\", {\n class: \"pi pi-user text-primary mr-1\",\n title: _ctx.$t('myCadac.trainingOverview.table.colParticipants')\n }, null, 8, _hoisted_9),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$tc(\"myCadac.trainingOverview.table.lblParticipantsCount\", {\r\n\t\t\t\t\t\t\t\t\t\t\t\tcount: item.data.participants?.length,\r\n\t\t\t\t\t\t\t\t\t\t\t})), 1)\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"trainingType\",\n header: _ctx.$t('myCadac.trainingOverview.table.trainingInfo.colType'),\n key: \"trainingType\",\n style: {\"width\":\"12.5%\"}\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(_ctx.$t(`enum.trainingType.${item.data.trainingType}`)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"location\",\n header: _ctx.$t('myCadac.trainingOverview.table.colLocation'),\n key: \"location\",\n style: {\"width\":\"17.5%\"},\n bodyClass: \"text-nowrap \"\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", _hoisted_11, _toDisplayString(_ctx.formattedAddress(item.data)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"date\",\n header: _ctx.$t('myCadac.trainingOverview.table.colDate'),\n key: \"date\",\n style: {\"width\":\"22.5%\"}\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"p\", _hoisted_14, _toDisplayString(_ctx.$tc(\"myCadac.trainingOverview.table.lblDays\", { count: item.data.dates?.length })), 1),\n _createElementVNode(\"p\", _hoisted_15, _toDisplayString(item.data?.formattedDates), 1),\n (item.data.remainingDays > 0)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_16, _toDisplayString(_ctx.$tc(\"myCadac.trainingOverview.table.lblDaysRemaining\", {\r\n\t\t\t\t\t\t\t\t\t\t\tcount: item.data.remainingDays,\r\n\t\t\t\t\t\t\t\t\t\t})), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n key: \"actions\",\n bodyClass: \"text-right\"\n }, {\n body: _withCtx((training) => [\n (!_ctx.vm.isInstructorOfATraining)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: ($event: any) => (_ctx.openUrl(`${_ctx.vm.finishedTrainingDetailUrl}?traininglistid=${training.data.id}`)),\n class: \"p-button-primary p-button-raised p-button-text p-button-rounded ml-auto\",\n icon: \"pi pi-eye\",\n title: _ctx.$t('myCadac.trainingOverview.table.lblView')\n }, null, 8, [\"onClick\", \"title\"]))\n : (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n onClick: ($event: any) => (_ctx.openUrl(`${_ctx.vm.finishedTrainingDetailUrl}?traininglistid=${training.data.id}`)),\n label: _ctx.$t('myCadac.trainingOverview.table.lblEdit'),\n class: \"p-button-success ml-auto\"\n }, null, 8, [\"onClick\", \"label\"]))\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"value\"])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ], 64))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { IFinishedTrainingOverview } from \"@/types/interfaces/myCadac/finishedTrainingOverview.interface\";\r\n\timport { TrainingListOverviewItem } from \"@/types/generated/trainingListOverviewItem\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { entries, groupBy } from \"lodash\";\r\n\r\n\texport default class FinishedTrainingOverview extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: IFinishedTrainingOverview;\r\n\r\n\t\tget trainingsGroupedByLinkId() {\r\n\t\t\treturn entries(groupBy(this.vm.finishedTrainings, \"trainingLinkId\"));\r\n\t\t}\r\n\r\n\t\tget formattedAddress() {\r\n\t\t\treturn (training: TrainingListOverviewItem) => {\r\n\t\t\t\treturn training.trainingAddress\r\n\t\t\t\t\t? `${training.trainingAddress.street}\r\n\t\t\t${training.trainingAddress.postalCode} ${training.trainingAddress.city}\r\n\t\t\t${training.trainingAddress.country}`\r\n\t\t\t\t\t: training.trainingLocation?.name;\r\n\t\t\t};\r\n\t\t}\r\n\t}\r\n","import { render } from \"./finishedTrainingOverview.vue?vue&type=template&id=48db6849&scoped=true&ts=true\"\nimport script from \"./finishedTrainingOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./finishedTrainingOverview.vue?vue&type=script&lang=ts\"\n\nimport \"./finishedTrainingOverview.vue?vue&type=style&index=0&id=48db6849&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-48db6849\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-023eb87b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1))\nconst _hoisted_2 = { class: \"text-right text-lg-left pb-0 pt-2 px-2\" }\nconst _hoisted_3 = { class: \"mb-0 ml-1 text-bold text-primary\" }\nconst _hoisted_4 = { class: \"d-flex flex-wrap flex-lg-nowrap flex-row-reverse flex-lg-row text-right text-lg-left\" }\nconst _hoisted_5 = { class: \"d-flex px-1 flex-column\" }\nconst _hoisted_6 = { class: \"mb-0 text-muted d-block\" }\nconst _hoisted_7 = { class: \"mb-0 text-bold\" }\nconst _hoisted_8 = { class: \"d-flex align-items-center justify-content-end justify-content-lg-start\" }\nconst _hoisted_9 = [\"title\"]\nconst _hoisted_10 = { class: \"\" }\nconst _hoisted_11 = { class: \"text-preline\" }\nconst _hoisted_12 = { class: \"d-flex align-items-center\" }\nconst _hoisted_13 = { class: \"d-flex flex-column text-right text-lg-left\" }\nconst _hoisted_14 = { class: \"mb-0 text-bold\" }\nconst _hoisted_15 = { class: \"mb-0\" }\nconst _hoisted_16 = {\n key: 0,\n class: \"text-info\"\n}\nconst _hoisted_17 = {\n key: 0,\n class: \"pi pi-check text-success\"\n}\nconst _hoisted_18 = { key: 1 }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"ml-1 popover-icon pi pi-exclamation-circle text-danger\" }, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_PopoverIcon = _resolveComponent(\"PopoverIcon\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_Card = _resolveComponent(\"Card\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.vm.pageTitle), 1),\n _hoisted_1,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.trainingsGroupedByLinkId, ([trainingLinkId, trainings]) => {\n return (_openBlock(), _createBlock(_component_Card, {\n key: trainingLinkId,\n class: \"mb-3\"\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h5\", _hoisted_3, _toDisplayString(trainings[0].name), 1)\n ])\n ]),\n content: _withCtx(() => [\n _createVNode(_component_DataTable, {\n value: trainings,\n \"auto-layout\": \"\",\n \"responsive-layout\": \"stack\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n header: _ctx.$t('training.lblCourse'),\n key: \"trainingName\"\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_4, [\n (item.data.productIconUrl)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n class: \"flex-shrink-0\",\n size: \"large\",\n image: item.data.productIconUrl,\n title: item.data.subject,\n alt: item.data.productIconAlt || item.data.subject\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"small\", _hoisted_6, _toDisplayString(item.data.brand), 1),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(item.data.name), 1),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"i\", {\n class: \"pi pi-user text-primary mr-1\",\n title: _ctx.$t('myCadac.trainingOverview.table.colParticipants')\n }, null, 8, _hoisted_9),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$tc(\"myCadac.trainingOverview.table.lblParticipantsCount\", {\r\n\t\t\t\t\t\t\t\t\t\t\t\tcount: item.data.participants?.length,\r\n\t\t\t\t\t\t\t\t\t\t\t})), 1)\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"trainingType\",\n header: _ctx.$t('myCadac.trainingOverview.table.trainingInfo.colType'),\n key: \"trainingType\",\n style: {\"width\":\"12.5%\"}\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(_ctx.$t(`enum.trainingType.${item.data.trainingType}`)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"location\",\n header: _ctx.$t('myCadac.trainingOverview.table.colLocation'),\n key: \"location\",\n style: {\"width\":\"17.5%\"},\n bodyClass: \"text-nowrap \"\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", _hoisted_11, _toDisplayString(_ctx.formattedAddress(item.data)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"date\",\n header: _ctx.$t('myCadac.trainingOverview.table.colDate'),\n key: \"date\",\n style: {\"width\":\"22.5%\"}\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"p\", _hoisted_14, _toDisplayString(_ctx.$tc(\"myCadac.trainingOverview.table.lblDays\", { count: item.data.dates?.length })), 1),\n _createElementVNode(\"p\", _hoisted_15, _toDisplayString(item.data?.formattedDates), 1),\n (item.data.remainingDays > 0)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_16, _toDisplayString(_ctx.$tc(\"myCadac.trainingOverview.table.lblDaysRemaining\", {\r\n\t\t\t\t\t\t\t\t\t\t\tcount: item.data.remainingDays,\r\n\t\t\t\t\t\t\t\t\t\t})), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n (_ctx.vm.isOwningCustomerOfATraining)\n ? (_openBlock(), _createBlock(_component_Column, {\n field: \"status\",\n header: _ctx.$t('myCadac.trainingOverview.table.colStatus'),\n key: \"status\",\n bodyClass: \"text-lg-center\"\n }, {\n body: _withCtx((item) => [\n (item.data.participantsDataCompleted)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_17))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_18, [\n _createVNode(_component_PopoverIcon, {\n content: _ctx.$t('myCadac.trainingOverview.table.lblStatusInfoNeeded'),\n class: \"d-inline-flex\"\n }, {\n default: _withCtx(() => [\n _hoisted_19\n ]),\n _: 1\n }, 8, [\"content\"])\n ]))\n ]),\n _: 1\n }, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Column, {\n field: \"actions\",\n key: \"actions\",\n bodyClass: \"text-right\"\n }, {\n body: _withCtx((item) => [\n (item.data.participantsDataCompleted)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: ($event: any) => {\r\n\t\t\t\t\t\t\t\t_ctx.openUrl(`${_ctx.vm.plannedTrainingDetailUrl}?traininglistid=${item.data.id}`);\r\n\t\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t\t},\n icon: _ctx.vm.isOwningCustomerOfATraining ? 'pi pi-pencil' : 'pi pi-eye',\n label: \r\n\t\t\t\t\t\t\t\t_ctx.isSmallScreen?.value\r\n\t\t\t\t\t\t\t\t\t? _ctx.vm.isOwningCustomerOfATraining\r\n\t\t\t\t\t\t\t\t\t\t? _ctx.$t('myCadac.trainingOverview.table.lblEdit')\r\n\t\t\t\t\t\t\t\t\t\t: _ctx.$t('myCadac.trainingOverview.table.lblView')\r\n\t\t\t\t\t\t\t\t\t: ''\r\n\t\t\t\t\t\t\t,\n title: \r\n\t\t\t\t\t\t\t\t_ctx.vm.isOwningCustomerOfATraining\r\n\t\t\t\t\t\t\t\t\t? _ctx.$t('myCadac.trainingOverview.table.lblEdit')\r\n\t\t\t\t\t\t\t\t\t: _ctx.$t('myCadac.trainingOverview.table.lblView')\r\n\t\t\t\t\t\t\t,\n class: \"p-button-primary p-button-raised p-button-text p-button-rounded ml-auto\"\n }, null, 8, [\"onClick\", \"icon\", \"label\", \"title\"]))\n : (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n onClick: ($event: any) => {\r\n\t\t\t\t\t\t\t\t_ctx.openUrl(`${_ctx.vm.plannedTrainingDetailUrl}?traininglistid=${item.data.id}`);\r\n\t\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t\t},\n label: _ctx.$t('myCadac.trainingOverview.table.lblEdit'),\n class: \"p-button-success ml-auto\"\n }, null, 8, [\"onClick\", \"label\"]))\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"value\"])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ], 64))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { IPlannedTrainingOverview } from \"@/types/interfaces/myCadac/plannedTrainingOverview.interface\";\r\n\timport { TrainingListOverviewItem } from \"@/types/generated/trainingListOverviewItem\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { entries, groupBy } from \"lodash\";\r\n\r\n\texport default class PlannedTrainingOverview extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: IPlannedTrainingOverview;\r\n\r\n\t\tget trainingsGroupedByLinkId() {\r\n\t\t\treturn entries(groupBy(this.vm.plannedTrainings, \"trainingLinkId\"));\r\n\t\t}\r\n\r\n\t\tget formattedAddress() {\r\n\t\t\treturn (training: TrainingListOverviewItem) => {\r\n\t\t\t\treturn training.trainingAddress\r\n\t\t\t\t\t? `${training.trainingAddress.street}\r\n\t\t\t${training.trainingAddress.postalCode} ${training.trainingAddress.city}\r\n\t\t\t${training.trainingAddress.country}`\r\n\t\t\t\t\t: training.trainingLocation?.name;\r\n\t\t\t};\r\n\t\t}\r\n\t}\r\n","import { render } from \"./plannedTrainingOverview.vue?vue&type=template&id=023eb87b&scoped=true&ts=true\"\nimport script from \"./plannedTrainingOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./plannedTrainingOverview.vue?vue&type=script&lang=ts\"\n\nimport \"./plannedTrainingOverview.vue?vue&type=style&index=0&id=023eb87b&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-023eb87b\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, withCtx as _withCtx, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6d586a68\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"d-flex align-items-center mt-2 mb-2\"\n}\nconst _hoisted_2 = [\"src\", \"alt\"]\nconst _hoisted_3 = { class: \"d-flex flex-column justify-content-between\" }\nconst _hoisted_4 = { class: \"lead text-muted mb-0\" }\nconst _hoisted_5 = { class: \"m-0\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BackButton = _resolveComponent(\"BackButton\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_TrainingDetailSummary = _resolveComponent(\"TrainingDetailSummary\")!\n const _component_TrainingParticipantsTable = _resolveComponent(\"TrainingParticipantsTable\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BackButton, {\n label: _ctx.$t('myCadac.trainingDetail.button.back')\n }, null, 8, [\"label\"]),\n (_ctx.vm.training)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: _ctx.vm.training.productIconUrl,\n alt: _ctx.vm.training.productIconAlt,\n class: \"icon-training-item mr-2\"\n }, null, 8, _hoisted_2),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_ctx.vm.training.brand), 1),\n _createElementVNode(\"h4\", _hoisted_5, _toDisplayString(_ctx.vm.training.name), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_TrainingDetailSummary, {\n vm: _ctx.vm.training,\n class: \"mb-2\"\n }, {\n default: _withCtx(() => [\n (_ctx.vm.isParticipant && _ctx.isVdiTraining)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.startTraining())),\n label: _ctx.$t('myCadac.trainingDetail.button.startTeams'),\n title: _ctx.$t('myCadac.trainingDetail.button.startTeams_title'),\n class: \"p-button-success\",\n icon: \"pi pi-play\"\n }, null, 8, [\"label\", \"title\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"vm\"]),\n _createVNode(_component_TrainingParticipantsTable, {\n training: _ctx.vm.training,\n howToStartTrainingLink: _ctx.vm.howToStartTrainingLink\n }, null, 8, [\"training\", \"howToStartTrainingLink\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-610763a3\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"row-expansion-content\" }\nconst _hoisted_2 = [\"href\"]\nconst _hoisted_3 = { class: \"d-flex flex-wrap\" }\nconst _hoisted_4 = { class: \"training-summary\" }\nconst _hoisted_5 = { class: \"mb-1\" }\nconst _hoisted_6 = { class: \"text-underline\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"ml-1 popover-icon pi pi-question\" }, null, -1))\nconst _hoisted_8 = [\"innerHTML\"]\nconst _hoisted_9 = { class: \"training-summary\" }\nconst _hoisted_10 = { class: \"mb-1\" }\nconst _hoisted_11 = { class: \"text-underline\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"ml-1 popover-icon pi pi-question\" }, null, -1))\nconst _hoisted_13 = [\"innerHTML\"]\nconst _hoisted_14 = [\"title\"]\nconst _hoisted_15 = [\"title\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_Dropdown = _resolveComponent(\"Dropdown\")!\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_PopoverIcon = _resolveComponent(\"PopoverIcon\")!\n const _component_Inplace = _resolveComponent(\"Inplace\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n\n return (_ctx.training)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 0,\n onRowClick: _withModifiers(_ctx.onRowClick, [\"self\"]),\n editingRows: _ctx.editingRows,\n \"onUpdate:editingRows\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.editingRows) = $event)),\n \"expanded-rows\": _ctx.expandedRows,\n \"onUpdate:expanded-rows\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.expandedRows) = $event)),\n value: _ctx.currentRows,\n \"row-class\": _ctx.highlightRow,\n \"row-hover\": _ctx.isVdiTraining,\n editMode: \"row\",\n dataKey: \"id\",\n \"auto-layout\": \"\"\n }, {\n expansion: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.howToStartTrainingLink)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"info\",\n closable: false,\n class: \"mt-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_i18n_t, { keypath: \"myCadac.trainingDetail.table.vdiInfo.firstTimeHelp\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"a\", {\n href: _ctx.howToStartTrainingLink,\n target: \"_blank\"\n }, _toDisplayString(_ctx.$t(\"myCadac.trainingDetail.table.vdiInfo.firstTimeHelpLink\")), 9, _hoisted_2)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"dl\", _hoisted_4, [\n _createElementVNode(\"dt\", _hoisted_5, [\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(_ctx.isInstructorOfTraining(_ctx.training?.instructorId)\r\n\t\t\t\t\t\t\t\t\t\t? _ctx.$t(\"myCadac.trainingDetail.table.vdiInfo.lblAccountDetails\")\r\n\t\t\t\t\t\t\t\t\t\t: _ctx.$t(\"myCadac.trainingDetail.table.vdiInfo.lblYourAccountDetails\")), 1),\n _createVNode(_component_PopoverIcon, { class: \"d-inline-flex\" }, {\n content: _withCtx(() => [\n _createElementVNode(\"span\", {\n innerHTML: \r\n\t\t\t\t\t\t\t\t\t\t\t_ctx.isInstructorOfTraining(_ctx.training?.instructorId)\r\n\t\t\t\t\t\t\t\t\t\t\t\t? _ctx.$t('myCadac.trainingDetail.table.vdiInfo.accountDetailsPopOverText')\r\n\t\t\t\t\t\t\t\t\t\t\t\t: _ctx.$t('myCadac.trainingDetail.table.vdiInfo.yourAccountDetailsPopOverText')\r\n\t\t\t\t\t\t\t\t\t\t\n }, null, 8, _hoisted_8)\n ]),\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.trainingDetail.table.vdiInfo.lblParticipant\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(item.data.email), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.trainingDetail.table.vdiInfo.lblAccountName\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(item.data.vmAccount), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.trainingDetail.table.vdiInfo.lblPassword\")), 1),\n _createElementVNode(\"dd\", null, [\n _createVNode(_component_Inplace, { closable: false }, {\n display: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.trainingDetail.table.vdiInfo.lblShowPassword\")), 1)\n ]),\n content: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.data.vmPassword), 1)\n ]),\n _: 2\n }, 1024)\n ])\n ])\n ]),\n _createElementVNode(\"dl\", _hoisted_9, [\n _createElementVNode(\"dt\", _hoisted_10, [\n _createElementVNode(\"span\", _hoisted_11, _toDisplayString(_ctx.$t(\"myCadac.trainingDetail.table.vdiInfo.lblLinks\")), 1),\n _createVNode(_component_PopoverIcon, { class: \"d-inline-flex\" }, {\n content: _withCtx(() => [\n _createElementVNode(\"span\", {\n innerHTML: \r\n\t\t\t\t\t\t\t\t\t\t\t_ctx.isInstructorOfTraining(_ctx.training?.instructorId)\r\n\t\t\t\t\t\t\t\t\t\t\t\t? _ctx.$t('myCadac.trainingDetail.table.vdiInfo.linksPopOverText')\r\n\t\t\t\t\t\t\t\t\t\t\t\t: _ctx.$t('myCadac.trainingDetail.table.vdiInfo.yourLinksPopOverText')\r\n\t\t\t\t\t\t\t\t\t\t\n }, null, 8, _hoisted_13)\n ]),\n default: _withCtx(() => [\n _hoisted_12\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.trainingDetail.table.vdiInfo.lblMicrosoftTeams\")), 1),\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"p\", {\n class: \"m-0 limit-line-width text-truncate\",\n title: _ctx.training.teamUrl\n }, _toDisplayString(_ctx.training.teamUrl), 9, _hoisted_14),\n _createVNode(_component_Button, {\n class: \"p-button-outlined p-button-secondary copy-button\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.copyTextToClipboard(_ctx.training.teamUrl))),\n icon: \"pi pi-copy\"\n })\n ])\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.trainingDetail.table.vdiInfo.lblRemoteDesktop\")), 1),\n _createElementVNode(\"dd\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"p\", {\n class: \"m-0 limit-line-width text-truncate\",\n title: item.data.vmUrl\n }, _toDisplayString(item.data.vmUrl), 9, _hoisted_15),\n _createVNode(_component_Button, {\n class: \"p-button-outlined p-button-secondary copy-button\",\n onClick: ($event: any) => (_ctx.copyTextToClipboard(item.data.vmUrl)),\n icon: \"pi pi-copy\"\n }, null, 8, [\"onClick\"])\n ])\n ])\n ])\n ])\n ])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_Column, { headerStyle: \"width: 1.75rem\" }, {\n body: _withCtx((item) => [\n (_ctx.canExpandRow(item.data))\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: ($event: any) => (_ctx.toggleRowExpansion(item.data)),\n icon: _ctx.isExpandedRow(item.data) ? 'pi pi-chevron-down' : 'pi pi-chevron-right',\n class: _normalizeClass(_ctx.isSmallScreen?.value ? 'p-button-link text-primary' : 'p-row-toggler p-link'),\n label: \r\n\t\t\t\t\t\t_ctx.isSmallScreen?.value\r\n\t\t\t\t\t\t\t? _ctx.isExpandedRow(item.data)\r\n\t\t\t\t\t\t\t\t? _ctx.$t('myCadac.trainingDetail.table.lblHideExpandButton')\r\n\t\t\t\t\t\t\t\t: _ctx.$t('myCadac.trainingDetail.table.lblExpandButton')\r\n\t\t\t\t\t\t\t: ''\r\n\t\t\t\t\t,\n title: \r\n\t\t\t\t\t\t_ctx.isExpandedRow(item.data)\r\n\t\t\t\t\t\t\t? _ctx.$t('myCadac.trainingDetail.table.lblHideExpandButton')\r\n\t\t\t\t\t\t\t: _ctx.$t('myCadac.trainingDetail.table.lblExpandButton')\r\n\t\t\t\t\t\n }, null, 8, [\"onClick\", \"icon\", \"class\", \"label\", \"title\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_Column, {\n field: \"gender\",\n header: _ctx.$t('myCadac.trainingDetail.table.salutation'),\n key: \"gender\",\n bodyClass: \"\"\n }, {\n editor: _withCtx((participant) => [\n _createVNode(_component_Dropdown, {\n modelValue: participant.data[participant.column.props.field],\n \"onUpdate:modelValue\": ($event: any) => ((participant.data[participant.column.props.field]) = $event),\n options: _ctx.salutations,\n optionLabel: \"label\",\n optionValue: \"value\"\n }, {\n option: _withCtx((salutation) => [\n _createElementVNode(\"span\", null, _toDisplayString(salutation.option.label), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"options\"])\n ]),\n body: _withCtx((participant) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(`enum.salutation.${participant.data.gender || 3}`)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"firstName\",\n header: _ctx.$t('myCadac.trainingDetail.table.firstName'),\n key: \"firstName\",\n bodyClass: \"\"\n }, {\n editor: _withCtx((participant) => [\n _createVNode(_component_InputText, {\n modelValue: participant.data[participant.column.props.field],\n \"onUpdate:modelValue\": ($event: any) => ((participant.data[participant.column.props.field]) = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"lastName\",\n header: _ctx.$t('myCadac.trainingDetail.table.lastName'),\n key: \"lastName\",\n bodyClass: \"\"\n }, {\n editor: _withCtx((participant) => [\n _createVNode(_component_InputText, {\n modelValue: participant.data[participant.column.props.field],\n \"onUpdate:modelValue\": ($event: any) => ((participant.data[participant.column.props.field]) = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"email\",\n header: _ctx.$t('myCadac.trainingDetail.table.email'),\n key: \"email\",\n bodyClass: \"\"\n }, {\n editor: _withCtx((participant) => [\n _createVNode(_component_InputText, {\n modelValue: participant.data[participant.column.props.field],\n \"onUpdate:modelValue\": ($event: any) => ((participant.data[participant.column.props.field]) = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n key: \"actions\",\n sortable: false,\n bodyClass: \"text-right\"\n }, {\n body: _withCtx((item) => [\n (_ctx.isOwningOrganisation(_ctx.training?.owningCustomerIds))\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: ($event: any) => (_ctx.onEditClick(item.data)),\n title: _ctx.$t('myCadac.trainingDetail.table.lblEditButton'),\n label: _ctx.isSmallScreen?.value ? _ctx.$t('myCadac.trainingDetail.table.lblEditButton') : '',\n icon: \"pi pi-pencil\",\n class: \"p-button-icon p-button-rounded p-button-text p-button-raised\"\n }, null, 8, [\"onClick\", \"title\", \"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n editor: _withCtx((item) => [\n _createVNode(_component_Button, {\n onClick: ($event: any) => (_ctx.cancelEditingRows(item.data)),\n title: _ctx.$t('myCadac.trainingDetail.table.lblCancelRowEditButon'),\n icon: \"pi pi-times\",\n class: \"p-button-icon p-button-rounded p-button-text p-button-sm p-button-secondary\"\n }, null, 8, [\"onClick\", \"title\"]),\n _createVNode(_component_Button, {\n onClick: ($event: any) => (_ctx.updateParticipant(item.data)),\n title: _ctx.$t('myCadac.trainingDetail.table.lblSaveRowEditButon'),\n icon: \"pi pi-check\",\n class: \"p-button-icon p-button-rounded p-button-sm p-button-success ml-2\",\n loading: _ctx.isSpinnerVisible[item.data.id]\n }, null, 8, [\"onClick\", \"title\", \"loading\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"onRowClick\", \"editingRows\", \"expanded-rows\", \"value\", \"row-class\", \"row-hover\"]))\n : _createCommentVNode(\"\", true)\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { TrainingListOverviewItem } from \"@/types/generated/trainingListOverviewItem\";\r\n\timport { TrainingParticipant } from \"@/types/generated/trainingParticipant\";\r\n\timport axios from \"axios\";\r\n\timport { cloneDeep } from \"lodash\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\timport { IDropdownItem } from \"@/types/interfaces/common/dropdownItem.interface\";\r\n\r\n\texport default class TrainingParticipantsTable extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\ttraining!: TrainingListOverviewItem;\r\n\r\n\t\t@Prop({\r\n\t\t\ttype: String,\r\n\t\t\trequired: false,\r\n\t\t\tdefault: \"\",\r\n\t\t})\r\n\t\thowToStartTrainingLink!: string;\r\n\r\n\t\tcurrentRows: TrainingParticipant[] = [];\r\n\t\toriginalRows: TrainingParticipant[] = [];\r\n\t\teditingRows: TrainingParticipant[] = [];\r\n\t\texpandedRows: TrainingParticipant[] = [];\r\n\t\tsalutations: IDropdownItem[] = [];\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.currentRows = this.training.participants;\r\n\t\t\tthis.originalRows = cloneDeep(this.currentRows);\r\n\r\n\t\t\tthis.salutations = [\r\n\t\t\t\t{ label: this.$t(\"enum.salutation.1\"), value: 1 },\r\n\t\t\t\t{ label: this.$t(\"enum.salutation.2\"), value: 2 },\r\n\t\t\t];\r\n\t\t}\r\n\r\n\t\tget isVdiTraining(): boolean {\r\n\t\t\treturn this.currentRows[0].vmUrl?.length > 0;\r\n\t\t}\r\n\r\n\t\thighlightRow(rowToHighlight: TrainingParticipant): string {\r\n\t\t\treturn this.isExpandedRow(rowToHighlight) ? \"highlight\" : \"\";\r\n\t\t}\r\n\r\n\t\tonEditClick(rowToEdit: TrainingParticipant): void {\r\n\t\t\tthis.editingRows.push(rowToEdit);\r\n\t\t\tthis.editingRows = [...this.editingRows];\r\n\t\t}\r\n\r\n\t\ttoggleRowExpansion(rowToAdd: TrainingParticipant): void {\r\n\t\t\tconst existingRowIndex = this.expandedRows.findIndex((x) => x.id === rowToAdd.id);\r\n\t\t\tif (existingRowIndex > -1) {\r\n\t\t\t\tthis.expandedRows.splice(existingRowIndex, 1);\r\n\t\t\t} else {\r\n\t\t\t\tthis.expandedRows.push(rowToAdd);\r\n\t\t\t}\r\n\t\t\tthis.expandedRows = [...this.expandedRows];\r\n\t\t}\r\n\r\n\t\tcanExpandRow(participant: TrainingParticipant): boolean {\r\n\t\t\treturn (\r\n\t\t\t\t(this.isThisParticipant(participant.email) || this.isInstructorOfTraining(this.training?.instructorId)) &&\r\n\t\t\t\tthis.isVdiTraining\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tisOwningOrganisation(owningCustomerIds: string[]): boolean {\r\n\t\t\treturn owningCustomerIds.includes(this.userProfile?.cadacOrganizationId as string);\r\n\t\t}\r\n\r\n\t\tisInstructorOfTraining(instructorId: string): boolean {\r\n\t\t\treturn instructorId === this.userProfile?.cadacAccountId;\r\n\t\t}\r\n\r\n\t\tisThisParticipant(userEmail: string): boolean {\r\n\t\t\treturn userEmail === this.userProfile?.email;\r\n\t\t}\r\n\r\n\t\tisExpandedRow(data: TrainingParticipant): boolean {\r\n\t\t\treturn this.expandedRows.findIndex((x) => x.id === data.id) > -1;\r\n\t\t}\r\n\r\n\t\tonRowClick(event: { data: TrainingParticipant; index: number }): void {\r\n\t\t\tif (!this.canExpandRow(event.data)) return;\r\n\t\t\tthis.toggleRowExpansion(event.data);\r\n\t\t}\r\n\r\n\t\tcopyTextToClipboard(text: string): void {\r\n\t\t\tthis.copyToClipboard(text)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"info\",\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.trainingDetail.toast.copiedToClipboard\"),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tconsole.error(`Copy to clipboard error`, err);\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\tupdateParticipant(participant: TrainingParticipant): void {\r\n\t\t\tif (this.currentRows.map((x) => x.email).includes(participant.email)) {\r\n\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\t\tdetail: this.$t(\"myCadac.trainingDetail.toast.updateParticipantUniqueEmailError\"),\r\n\t\t\t\t\tlife: 3000,\r\n\t\t\t\t});\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tcommonModule.showSpinner(participant.id);\r\n\t\t\taxios\r\n\t\t\t\t.post(`/api/training/updateParticipant`, participant)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.saveEditingRows(participant);\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleSuccess\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.trainingDetail.toast.updateParticipantSuccess\"),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t\tthis.cancelEditingRows(participant);\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.trainingDetail.toast.updateParticipantError\"),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => commonModule.hideSpinner(participant.id));\r\n\t\t}\r\n\r\n\t\tsaveEditingRows(participant: TrainingParticipant): void {\r\n\t\t\tconst participantListIndex = this.currentRows.findIndex((x) => x.id === participant.id);\r\n\t\t\tconst editingRowIndex = this.editingRows.findIndex((x) => x.id === participant.id);\r\n\r\n\t\t\tthis.currentRows[participantListIndex] = participant;\r\n\t\t\tthis.originalRows[participantListIndex] = participant;\r\n\r\n\t\t\tif (editingRowIndex > -1) {\r\n\t\t\t\tthis.editingRows.splice(editingRowIndex, 1);\r\n\t\t\t}\r\n\t\t\tthis.editingRows = [...this.editingRows];\r\n\t\t\tthis.currentRows = [...this.currentRows];\r\n\t\t}\r\n\r\n\t\tcancelEditingRows(participant: TrainingParticipant): void {\r\n\t\t\tconst participantListIndex = this.currentRows.findIndex((x) => x.id === participant.id);\r\n\t\t\tconst editingRowIndex = this.editingRows.findIndex((x) => x.id === participant.id);\r\n\r\n\t\t\tthis.currentRows[participantListIndex] = cloneDeep(this.originalRows[participantListIndex]);\r\n\r\n\t\t\tif (editingRowIndex > -1) {\r\n\t\t\t\tthis.editingRows.splice(editingRowIndex, 1);\r\n\t\t\t}\r\n\t\t\tthis.editingRows = [...this.editingRows];\r\n\t\t\tthis.currentRows = [...this.currentRows];\r\n\t\t}\r\n\t}\r\n","import { render } from \"./trainingParticipantsTable.vue?vue&type=template&id=610763a3&scoped=true&ts=true\"\nimport script from \"./trainingParticipantsTable.vue?vue&type=script&lang=ts\"\nexport * from \"./trainingParticipantsTable.vue?vue&type=script&lang=ts\"\n\nimport \"./trainingParticipantsTable.vue?vue&type=style&index=0&id=610763a3&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-610763a3\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = { class: \"row training-summary\" }\nconst _hoisted_2 = { class: \"col-md-6 col-xl-4\" }\nconst _hoisted_3 = { class: \"text-preline\" }\nconst _hoisted_4 = { class: \"col-md-6\" }\nconst _hoisted_5 = { class: \"mb-2\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { key: 0 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Inplace = _resolveComponent(\"Inplace\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"dl\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.trainingSummary.lblType\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.$t(`enum.trainingType.${_ctx.vm.trainingType}`)), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.currentUserIsInstructor\r\n\t\t\t\t\t\t\t\t? _ctx.$t(\"myCadac.trainingSummary.lblParticipants\")\r\n\t\t\t\t\t\t\t\t: _ctx.$t(\"myCadac.trainingSummary.lblTeacher\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.currentUserIsInstructor ? _ctx.vm.participants?.length : _ctx.vm.instructorName), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.trainingSummary.lblLocation\")), 1),\n _createElementVNode(\"dd\", _hoisted_3, _toDisplayString(_ctx.formattedAddress), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"dl\", _hoisted_5, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.trainingSummary.lblDate\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.vm.formattedDates), 1)\n ]),\n (_ctx.vm.moduleNames?.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.trainingSummary.lblModules\")), 1),\n _createElementVNode(\"dd\", null, [\n _createVNode(_component_Inplace, null, {\n display: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.visibleModules(5)) + \" \", 1),\n (_ctx.vm.moduleNames?.length > 5)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, \"...\"))\n : _createCommentVNode(\"\", true)\n ]),\n content: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.visibleModules()), 1)\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ]))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { TrainingListOverviewItem } from \"@/types/generated/trainingListOverviewItem\";\r\n\timport { take } from \"lodash\";\r\n\r\n\texport default class TrainingDetailSummary extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: TrainingListOverviewItem;\r\n\r\n\t\tget currentUserIsInstructor(): boolean {\r\n\t\t\treturn this.userProfile?.cadacAccountId === this.vm.instructorId && this.userProfile.isInstructor;\r\n\t\t}\r\n\r\n\t\tget visibleModules() {\r\n\t\t\treturn (count: number) => {\r\n\t\t\t\treturn take(this.vm.moduleNames, count || this.vm.moduleNames?.length)?.join(\", \");\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget formattedAddress() {\r\n\t\t\treturn this.vm.trainingAddress\r\n\t\t\t\t? `${this.vm.trainingAddress.street}\r\n\t\t\t${this.vm.trainingAddress.postalCode} ${this.vm.trainingAddress.city}\r\n\t\t\t${this.vm.trainingAddress.country}`\r\n\t\t\t\t: this.vm.trainingLocation?.name;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./trainingDetailSummary.vue?vue&type=template&id=7da0362a&ts=true\"\nimport script from \"./trainingDetailSummary.vue?vue&type=script&lang=ts\"\nexport * from \"./trainingDetailSummary.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { IPlannedTrainingDetail } from \"@/types/interfaces/myCadac/plannedTrainingDetail.interface\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport TrainingParticipantsTable from \"@/components/training/trainingParticipantsTable.vue\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport TrainingDetailSummary from \"@/components/training/trainingDetailSummary.vue\";\r\n\r\n\t@Options({ components: { TrainingDetailSummary, TrainingParticipantsTable } })\r\n\texport default class PlannedTrainingDetail extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: IPlannedTrainingDetail;\r\n\r\n\t\tget isVdiTraining(): boolean {\r\n\t\t\treturn this.vm.training.participants[0]?.vmUrl?.length > 0;\r\n\t\t}\r\n\r\n\t\tstartTraining(): void {\r\n\t\t\tthis.openUrl(this.vm.training.teamUrl, \"blank\");\r\n\r\n\t\t\t// const rowToAdd: TrainingParticipant = this.vm.training.participants.find(\r\n\t\t\t// \t(p) => p.email === this.userProfile?.email\r\n\t\t\t// );\r\n\t\t\t// this.expandRow(rowToAdd);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./plannedTrainingDetail.vue?vue&type=template&id=6d586a68&scoped=true&ts=true\"\nimport script from \"./plannedTrainingDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./plannedTrainingDetail.vue?vue&type=script&lang=ts\"\n\nimport \"./plannedTrainingDetail.vue?vue&type=style&index=0&id=6d586a68&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6d586a68\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"mb-0\" }\nconst _hoisted_2 = { class: \"text-muted lead\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BackButton = _resolveComponent(\"BackButton\")!\n const _component_ContractDetailTable = _resolveComponent(\"ContractDetailTable\")!\n const _component_ContractDetailChangeCard = _resolveComponent(\"ContractDetailChangeCard\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BackButton, {\n label: _ctx.$t('myCadac.contractDetail.button.back')\n }, null, 8, [\"label\"]),\n _createElementVNode(\"h1\", _hoisted_1, _toDisplayString(_ctx.vm.editing ? _ctx.$t(\"myCadac.contractDetail.titleChange\") : _ctx.$t(\"myCadac.contractDetail.titleView\")), 1),\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.contractNumber\", {\r\n\t\t\t\tcontractNumber: _ctx.vm.contract.contractId,\r\n\t\t\t})), 1),\n _hoisted_3,\n _createVNode(_component_ContractDetailTable, {\n vm: _ctx.vm,\n contracts: [_ctx.vm.contract]\n }, null, 8, [\"vm\", \"contracts\"]),\n (_ctx.vm.contract.contractLines.length)\n ? (_openBlock(), _createBlock(_component_ContractDetailChangeCard, {\n key: 0,\n vm: _ctx.vm\n }, null, 8, [\"vm\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, vShow as _vShow, withDirectives as _withDirectives, normalizeClass as _normalizeClass, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-145eb851\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_2 = [\"href\", \"title\"]\nconst _hoisted_3 = {\n key: 1,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_4 = {\n key: 0,\n class: \"d-flex align-items-center\"\n}\nconst _hoisted_5 = { class: \"pi pi-spin pi-spinner\" }\nconst _hoisted_6 = {\n key: 1,\n class: \"d-flex align-items-center\"\n}\nconst _hoisted_7 = {\n key: 0,\n class: \"text-danger\"\n}\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"ml-1 pi pi-exclamation-circle\" }, null, -1))\nconst _hoisted_9 = { key: 1 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_InputSwitch = _resolveComponent(\"InputSwitch\")!\n const _component_PopoverIcon = _resolveComponent(\"PopoverIcon\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n\n return (_ctx.contracts.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 0,\n value: _ctx.contracts,\n \"data-key\": \"contractNumber\",\n \"responsive-layout\": \"stack\",\n class: \"mb-3\",\n \"auto-layout\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"contractManager\",\n header: _ctx.$t('myCadac.contractDetail.table.colContractManager'),\n key: \"contractManager\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n (_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_1, [\n _createElementVNode(\"a\", {\n href: item.data.contractManagerCrmUrl,\n target: \"_blank\",\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(item.data.contractManager), 9, _hoisted_2)\n ]))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_3, _toDisplayString(item.data.contractNumber), 1))\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"duration\",\n header: _ctx.$t('myCadac.contractDetail.table.colDuration'),\n key: \"duration\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createTextVNode(_toDisplayString(_ctx.$tc(\"myCadac.contractDetail.table.duration\", item.data.duration)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"contractType\",\n header: _ctx.$t('myCadac.contractDetail.table.colContractType'),\n key: \"contractType\",\n sortable: false\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"automaticRenewal\",\n header: _ctx.$t('myCadac.contractDetail.table.colAutomaticRenewal'),\n key: \"automaticRenewal\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n (!item.data.isDatechAutoRenewal && _ctx.vm.editing)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, [\n _withDirectives(_createElementVNode(\"span\", null, [\n _createVNode(_component_InputSwitch, {\n modelValue: item.data.automaticRenewal,\n \"onUpdate:modelValue\": ($event: any) => ((item.data.automaticRenewal) = $event),\n onClick: ($event: any) => (_ctx.changeAutoRenewal(item.data))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"onClick\"])\n ], 512), [\n [_vShow, !_ctx.isLoading]\n ]),\n _withDirectives(_createElementVNode(\"i\", _hoisted_5, null, 512), [\n [_vShow, _ctx.isLoading]\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_6, [\n _createElementVNode(\"i\", {\n class: _normalizeClass(item.data.automaticRenewal ? 'pi pi-check text-success mr-1' : 'pi pi-times text-danger mr-1')\n }, null, 2),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.getAutomaticRenewalText(item.data.automaticRenewal)), 1)\n ]))\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"endDate\",\n header: _ctx.$t('myCadac.contractDetail.table.colExpiresOn'),\n key: \"endDate\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n (_ctx.shouldShowContractExpirationWarning(item.data))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, [\n _createTextVNode(_toDisplayString(_ctx.formatDate(item.data.endDate)) + \" \", 1),\n _createVNode(_component_PopoverIcon, {\n class: \"d-inline-flex\",\n content: \r\n\t\t\t\t\t\t\t_ctx.$tc('myCadac.contractDetail.table.contractExpirationWarning', {\r\n\t\t\t\t\t\t\t\tcount: item.data.remainingDays,\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 2\n }, 1032, [\"content\"])\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString(_ctx.formatDate(item.data.endDate)), 1))\n ]),\n _: 1\n }, 8, [\"header\"])\n ]),\n _: 1\n }, 8, [\"value\"]))\n : _createCommentVNode(\"\", true)\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport axios from \"axios\";\r\n\timport { isAfter } from \"date-fns\";\r\n\timport { Contract } from \"@/types/generated/contract\";\r\n\timport { IContractDetail } from \"@/types/interfaces/myCadac/contractDetail.interface\";\r\n\timport { ContractClient } from \"@/types/generated/api/contractClient\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\t@Options({ emits: [\"change-auto-renewal\"] })\r\n\texport default class ContractDetailTable extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: IContractDetail;\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tcontracts!: ContractClient[];\r\n\r\n\t\tisLoading = false;\r\n\r\n\t\tgetAutomaticRenewalText(automaticRenewal: boolean): string {\r\n\t\t\treturn automaticRenewal ? this.$t(\"common.on\") : this.$t(\"common.off\");\r\n\t\t}\r\n\r\n\t\tchangeAutoRenewal(contract: ContractClient): void {\r\n\t\t\tconst newValue = !contract.automaticRenewal;\r\n\t\t\tthis.isLoading = true;\r\n\t\t\taxios\r\n\t\t\t\t.put(\r\n\t\t\t\t\t`/api/contract/change/renewal\r\n\t\t\t\t\t?contractnumber=${contract.contractId}\r\n\t\t\t\t\t&automatic=${newValue}`\r\n\t\t\t\t)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleSuccess\"),\r\n\t\t\t\t\t\tdetail: newValue\r\n\t\t\t\t\t\t\t? this.$t(\"myCadac.contractDetail.toast.contractEnableRenewalSuccess\")\r\n\t\t\t\t\t\t\t: this.$t(\"myCadac.contractDetail.toast.contractDisableRenewalSuccess\"),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.catch(() => {\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"common.messages.error.genericException\"),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\r\n\t\tshouldShowContractExpirationWarning(contract: Contract): boolean {\r\n\t\t\treturn contract.supportsProlongation && contract.remainingDays > 0;\r\n\t\t}\r\n\r\n\t\tisContractExpired(contract: Contract): boolean {\r\n\t\t\treturn isAfter(new Date(), new Date(contract.endDate));\r\n\t\t}\r\n\t}\r\n","import { render } from \"./contractDetailTable.vue?vue&type=template&id=145eb851&scoped=true&ts=true\"\nimport script from \"./contractDetailTable.vue?vue&type=script&lang=ts\"\nexport * from \"./contractDetailTable.vue?vue&type=script&lang=ts\"\n\nimport \"./contractDetailTable.vue?vue&type=style&index=0&id=145eb851&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-145eb851\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, createSlots as _createSlots } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex justify-content-between\" }\nconst _hoisted_2 = { class: \"mb-0\" }\nconst _hoisted_3 = { class: \"d-flex align-items-center ml-1 ml-lg-0\" }\nconst _hoisted_4 = { class: \"d-flex flex-column\" }\nconst _hoisted_5 = { class: \"mb-0 text-muted d-block\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_7 = [\"href\", \"title\"]\nconst _hoisted_8 = {\n key: 1,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_9 = { key: 1 }\nconst _hoisted_10 = { key: 1 }\nconst _hoisted_11 = { key: 0 }\nconst _hoisted_12 = {\n key: 0,\n class: \"d-block text-muted\"\n}\nconst _hoisted_13 = {\n key: 1,\n class: \"d-block text-success prefix-min\"\n}\nconst _hoisted_14 = { key: 1 }\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-spin pi-spinner\" }, null, -1)\nconst _hoisted_16 = [\n _hoisted_15\n]\nconst _hoisted_17 = { class: \"col-md-10 col-lg-8 col-xl-6 ml-auto pr-2\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_InputNumber = _resolveComponent(\"InputNumber\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_PriceSummary = _resolveComponent(\"PriceSummary\")!\n const _component_Card = _resolveComponent(\"Card\")!\n\n return (_openBlock(), _createBlock(_component_Card, null, _createSlots({\n title: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"h4\", _hoisted_2, _toDisplayString(_ctx.vm.editing\r\n\t\t\t\t\t\t\t? _ctx.$t(\"myCadac.contractDetail.card.titleChange\")\r\n\t\t\t\t\t\t\t: _ctx.$t(\"myCadac.contractDetail.card.titleView\")), 1),\n (_ctx.vm.supportProductUrl && _ctx.vm.contract.isSupportContract)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n label: _ctx.$t('myCadac.contractDetail.button.addProduct'),\n class: \"p-button-success\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\r\n\t\t\t\t\t\t_ctx.openUrl(_ctx.vm.supportProductUrl);\r\n\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t})\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n content: _withCtx(() => [\n _createVNode(_component_DataTable, {\n onCellEditComplete: _ctx.onCellEditComplete,\n value: _ctx.editingContractLines,\n editMode: _ctx.vm.editing ? 'cell' : '',\n \"responsive-layout\": \"stack\",\n \"data-key\": \"serialNumber\",\n \"auto-layout\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"productName\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductName')\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_3, [\n (item.data.icon)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n size: \"large\",\n class: \"mr-1 bg-transparent flex-shrink-0\",\n image: item.data.icon,\n title: item.productName,\n alt: item.data.iconAlt\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"small\", _hoisted_5, _toDisplayString(item.data.productBrand), 1),\n (_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_6, [\n _createElementVNode(\"a\", {\n href: item.data.crmUrl,\n target: \"_blank\",\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(_ctx.formatProductName(item.data.productName, item.data.productBrand)), 9, _hoisted_7)\n ]))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_8, _toDisplayString(_ctx.formatProductName(item.data.productName, item.data.productBrand)), 1))\n ])\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"serialNumber\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductSerialNumber'),\n class: _normalizeClass({ 'text-right': _ctx.isSupportContract })\n }, null, 8, [\"header\", \"class\"]),\n (!_ctx.isSupportContract)\n ? (_openBlock(), _createBlock(_component_Column, {\n key: 0,\n field: \"deployment\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductLicenceType')\n }, {\n body: _withCtx((item) => [\n _createTextVNode(_toDisplayString(_ctx.$t(`enum.deployment.${item.data.deployment}`)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isSupportContract)\n ? (_openBlock(), _createBlock(_component_Column, {\n key: 1,\n field: \"seats\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductSeats')\n }, {\n editor: _withCtx((item) => [\n (_ctx.vm.editing && item.data.canAddSeats)\n ? (_openBlock(), _createBlock(_component_InputNumber, {\n key: 0,\n modelValue: item.data.seats,\n \"onUpdate:modelValue\": ($event: any) => ((item.data.seats) = $event),\n onInput: ($event: any) => (_ctx.debouncedInputChange($event, item.index)),\n showButtons: \"\",\n disabled: _ctx.showSpinner[item.index] || _ctx.isLoading,\n min: item.data.seatsMinimal,\n max: 999\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"onInput\", \"disabled\", \"min\"]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString(item.data.seats), 1))\n ]),\n body: _withCtx((item) => [\n (_ctx.vm.editing && item.data.canAddSeats)\n ? (_openBlock(), _createBlock(_component_InputNumber, {\n key: 0,\n value: item.data.seats,\n readonly: true,\n disabled: _ctx.showSpinner[item.index] || _ctx.isLoading,\n showButtons: \"\"\n }, null, 8, [\"value\", \"disabled\"]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_10, _toDisplayString(item.data.seats), 1))\n ]),\n _: 1\n }, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.editing && !_ctx.isSupportContract && (_ctx.isLoading || _ctx.priceChanged))\n ? (_openBlock(), _createBlock(_component_Column, {\n key: 2,\n class: \"text-right pr-2\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductPrice')\n }, {\n body: _withCtx((item) => [\n (\r\n\t\t\t\t\t\t\t\t!_ctx.showSpinner[item.index] &&\r\n\t\t\t\t\t\t\t\titem.data.canAddSeats &&\r\n\t\t\t\t\t\t\t\titem.data.price > 0 &&\r\n\t\t\t\t\t\t\t\t_ctx.seatsChangedForItem(item.data)\r\n\t\t\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n (item.data.priceBase !== item.data.price)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_12, [\n _createElementVNode(\"s\", null, _toDisplayString(_ctx.formatCurrency(item.data.priceBase)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (item.data.discount > 0)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_13, _toDisplayString(_ctx.formatCurrency(item.data.discount)), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(item.data.price)), 1)\n ]))\n : (_ctx.showSpinner[item.index])\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, _hoisted_16))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"header\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"onCellEditComplete\", \"value\", \"editMode\"])\n ]),\n _: 2\n }, [\n (_ctx.vm.editing && _ctx.priceChanged)\n ? {\n name: \"footer\",\n fn: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_PriceSummary, { vm: _ctx.priceSummary }, null, 8, [\"vm\"]),\n _createVNode(_component_Button, {\n class: \"p-button-success p-button-raised p-button-lg d-block ml-auto\",\n label: _ctx.$t('myCadac.contractDetail.button.goToCheckout'),\n disabled: !_ctx.canCheckout,\n loading: _ctx.isLoading,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.onCheckoutClick()))\n }, null, 8, [\"label\", \"disabled\", \"loading\"])\n ])\n ])\n }\n : undefined\n ]), 1024))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop, Watch } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IContractDetail } from \"@/types/interfaces/myCadac/contractDetail.interface\";\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\timport { ContractAddToCart } from \"@/types/generated/api/contractAddToCart\";\r\n\timport { ContractAddToCartLine } from \"@/types/generated/api/contractAddToCartLine\";\r\n\timport { IPriceSummary } from \"@/types/interfaces/common/priceSummary.interface\";\r\n\timport { reduce } from \"lodash\";\r\n\timport { ContractLineClient } from \"@/types/generated/api/contractLineClient\";\r\n\timport { ContractClient } from \"@/types/generated/api/contractClient\";\r\n\timport { debounce, DebounceInstance } from \"vue-debounce\";\r\n\r\n\texport default class ContractDetailChangeCard extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: IContractDetail;\r\n\r\n\t\t@Watch(\"isLoading\") onLoadingChanged(loading: boolean): void {\r\n\t\t\tif (!loading)\r\n\t\t\t\tfor (let key in this.showSpinner) {\r\n\t\t\t\t\tthis.showSpinner[key] = false;\r\n\t\t\t\t}\r\n\t\t}\r\n\r\n\t\tdebouncedInputChange: DebounceInstance = debounce((event: any, index: any) => {\r\n\t\t\tthis.onInputChanged(event as { value: number }, index as number);\r\n\t\t}, 500);\r\n\r\n\t\tshowSpinner: { [number: string]: boolean } = {};\r\n\t\tisLoading = false;\r\n\t\teditingContractLines: ContractLineClient[] = [];\r\n\t\tcontractId = \"\";\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.editingContractLines = this.vm.contract.contractLines;\r\n\t\t\tthis.contractId = this.vm.contract.contractId;\r\n\t\t}\r\n\r\n\t\tget isSupportContract(): boolean {\r\n\t\t\treturn this.vm.contract.isSupportContract;\r\n\t\t}\r\n\r\n\t\tget contractUpdateData(): ContractAddToCart {\r\n\t\t\treturn {\r\n\t\t\t\tcontractId: this.contractId,\r\n\t\t\t\tcontractLines: reduce(\r\n\t\t\t\t\tthis.editingContractLines.filter((x) => x.canAddSeats),\r\n\t\t\t\t\t(result, value) => {\r\n\t\t\t\t\t\tresult.push({\r\n\t\t\t\t\t\t\tchecked: value.checked,\r\n\t\t\t\t\t\t\taddSeatVariationCode: value.addSeatVariationCode,\r\n\t\t\t\t\t\t\trenewVariationCode: value.renewVariationCode,\r\n\t\t\t\t\t\t\tserialNumber: value.serialNumber,\r\n\t\t\t\t\t\t\tseats: value.seats,\r\n\t\t\t\t\t\t\tswitchDuration: 0,\r\n\t\t\t\t\t\t\tswitchRenewVariationCode: \"\",\r\n\t\t\t\t\t\t\tswitchSeats: 0,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\treturn result;\r\n\t\t\t\t\t},\r\n\t\t\t\t\t[] as ContractAddToCartLine[]\r\n\t\t\t\t),\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget priceSummary(): IPriceSummary {\r\n\t\t\tconst { vatPercentage } = this.vm.contract;\r\n\t\t\treturn reduce(\r\n\t\t\t\tthis.editingContractLines.filter((x) => x.canAddSeats),\r\n\t\t\t\t(result, contractLine) => {\r\n\t\t\t\t\tconst vatAmount = contractLine.price * (vatPercentage / 100);\r\n\t\t\t\t\tconst totalPrice = contractLine.price + vatAmount;\r\n\t\t\t\t\tresult.vatAmount = result.vatAmount ? result.vatAmount + vatAmount : vatAmount;\r\n\t\t\t\t\tresult.totalDiscount = result.totalDiscount\r\n\t\t\t\t\t\t? result.totalDiscount + contractLine.discount\r\n\t\t\t\t\t\t: contractLine.discount;\r\n\t\t\t\t\tresult.totalPersonalPrice = result.totalPersonalPrice\r\n\t\t\t\t\t\t? result.totalPersonalPrice + contractLine.price\r\n\t\t\t\t\t\t: contractLine.price;\r\n\t\t\t\t\tresult.totalBasePrice = result.totalBasePrice\r\n\t\t\t\t\t\t? result.totalBasePrice + contractLine.priceBase\r\n\t\t\t\t\t\t: contractLine.priceBase;\r\n\t\t\t\t\tresult.totalPrice = result.totalPrice ? result.totalPrice + totalPrice : totalPrice;\r\n\t\t\t\t\treturn result;\r\n\t\t\t\t},\r\n\t\t\t\t{ vatPercentage: vatPercentage } as IPriceSummary\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget priceChanged(): boolean {\r\n\t\t\treturn this.editingContractLines.some(\r\n\t\t\t\t(x, index) => x.price !== this.vm.contract.contractLines[index].price && x.price > 0\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget seatsChanged(): boolean {\r\n\t\t\treturn this.editingContractLines.some(\r\n\t\t\t\t(x, index) => x.seats !== this.vm.contract.contractLines[index].seatsOriginal\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget canCheckout(): boolean {\r\n\t\t\treturn (\r\n\t\t\t\t!!(this.userProfile?.emailVerified || this.userProfile?.isImpersonated) &&\r\n\t\t\t\tthis.priceChanged &&\r\n\t\t\t\tthis.seatsChanged\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tseatsChangedForItem(contractLineClient: ContractLineClient): boolean {\r\n\t\t\treturn contractLineClient.seats !== contractLineClient.seatsOriginal;\r\n\t\t}\r\n\r\n\t\tonCheckoutClick(): void {\r\n\t\t\tthis.addContractChangeToCart();\r\n\t\t}\r\n\r\n\t\tonCellEditComplete(event: { data: ContractLineClient; newData: ContractLineClient; index: number }): void {\r\n\t\t\tif (event.newData.seats === event.data.seats) return;\r\n\t\t\tthis.editingContractLines[event.index].seats = event.newData.seats;\r\n\t\t\tthis.showSpinner[event.index] = true;\r\n\t\t\tthis.recalculatePrices();\r\n\t\t}\r\n\r\n\t\tonInputChanged(event: { value: number }, index: number): void {\r\n\t\t\tif (event.value === this.editingContractLines[index].seats) return;\r\n\t\t\tthis.editingContractLines[index].seats = event.value;\r\n\t\t\tthis.showSpinner[index] = true;\r\n\t\t\tthis.recalculatePrices();\r\n\t\t}\r\n\r\n\t\trecalculatePrices(): void {\r\n\t\t\tif (this.isLoading) return;\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tconst updateData: ContractAddToCart = this.contractUpdateData;\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/contract/change/recalculate\", updateData)\r\n\t\t\t\t.then(({ data }: { data: ContractClient }) => {\r\n\t\t\t\t\tthis.editingContractLines = [...data.contractLines];\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => console.error(err))\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\r\n\t\taddContractChangeToCart(): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tconst updateData = this.contractUpdateData;\r\n\t\t\tconsole.log(\"addContractChangeToCart -> data\", updateData);\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/cart/add-assets\", updateData)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.openUrl(this.vm.checkoutPageUrl);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => console.error(err))\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\t}\r\n","import { render } from \"./contractDetailChangeCard.vue?vue&type=template&id=0fc1c179&ts=true\"\nimport script from \"./contractDetailChangeCard.vue?vue&type=script&lang=ts\"\nexport * from \"./contractDetailChangeCard.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { IContractDetail } from \"@/types/interfaces/myCadac/contractDetail.interface\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport ContractDetailTable from \"@/components/contracts/contractDetailTable.vue\";\r\n\timport ContractDetailChangeCard from \"@/components/contracts/contractDetailChangeCard.vue\";\r\n\timport BackButton from \"@/components/common/backButton.vue\";\r\n\r\n\t@Options({ components: { BackButton, ContractDetailChangeCard, ContractDetailTable } })\r\n\texport default class ContractDetail extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: IContractDetail;\r\n\t}\r\n","import { render } from \"./contractDetail.vue?vue&type=template&id=6b1349a0&ts=true\"\nimport script from \"./contractDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./contractDetail.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"mb-0\" }\nconst _hoisted_2 = { class: \"text-muted lead\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1)\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = [\"innerHTML\"]\nconst _hoisted_6 = [\"innerHTML\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BackButton = _resolveComponent(\"BackButton\")!\n const _component_ContractDetailTable = _resolveComponent(\"ContractDetailTable\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_ContractDetailSwitchCard = _resolveComponent(\"ContractDetailSwitchCard\")!\n const _component_ContractDetailExtendCard = _resolveComponent(\"ContractDetailExtendCard\")!\n const _component_ContractExtendModal = _resolveComponent(\"ContractExtendModal\")!\n const _component_ContractSwitchModal = _resolveComponent(\"ContractSwitchModal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BackButton, {\n label: _ctx.$t('myCadac.contractDetail.button.back')\n }, null, 8, [\"label\"]),\n _createElementVNode(\"h1\", _hoisted_1, _toDisplayString(_ctx.vm.pageTitle), 1),\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.contractNumber\", {\r\n\t\t\t\tcontractNumber: _ctx.vm.contract.contractId,\r\n\t\t\t})), 1),\n _hoisted_3,\n _createVNode(_component_ContractDetailTable, {\n vm: _ctx.vm,\n contracts: [_ctx.vm.contract]\n }, null, 8, [\"vm\", \"contracts\"]),\n (_ctx.vm.yourProlongOptionsText)\n ? (_openBlock(), _createElementBlock(\"h3\", _hoisted_4, _toDisplayString(_ctx.vm.yourProlongOptionsText), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.canCoTerm)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 1,\n innerHTML: _ctx.vm.switchCoTermText\n }, null, 8, _hoisted_5))\n : _createCommentVNode(\"\", true),\n (_ctx.canTradeIn)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 2,\n innerHTML: _ctx.vm.switchTradeInText\n }, null, 8, _hoisted_6))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.contract.renewMultiYearMaintenanceContractForOneYear)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 3,\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.contractDetail.message.prolongOnly12months\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (!_ctx.isExtendingContract)\n ? (_openBlock(), _createBlock(_component_ContractDetailSwitchCard, {\n key: 4,\n vm: _ctx.vm\n }, null, 8, [\"vm\"]))\n : (_openBlock(), _createBlock(_component_ContractDetailExtendCard, {\n key: 5,\n vm: _ctx.vm,\n \"prolongation-options\": _ctx.prolongationOptions\n }, null, 8, [\"vm\", \"prolongation-options\"])),\n (_ctx.showExtendDialog)\n ? (_openBlock(), _createBlock(_component_ContractExtendModal, {\n key: 6,\n vm: _ctx.vm,\n prolongationOptions: _ctx.prolongationOptions,\n onCancelExtend: _ctx.onExtendCancelled,\n onConfirmExtend: _ctx.onExtendConfirmed\n }, null, 8, [\"vm\", \"prolongationOptions\", \"onCancelExtend\", \"onConfirmExtend\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showTradeInDialog)\n ? (_openBlock(), _createBlock(_component_ContractSwitchModal, {\n key: 7,\n vm: _ctx.vm,\n \"contract-line\": _ctx.selectedTradeInContractLine,\n onCancelTradeIn: _ctx.onTradeInCancelled,\n onConfirmTradeIn: _ctx.onTradeInConfirmed\n }, null, 8, [\"vm\", \"contract-line\", \"onCancelTradeIn\", \"onConfirmTradeIn\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { Action, getModule, Module, Mutation, MutationAction, VuexModule } from 'vuex-module-decorators';\r\nimport store from '@/store';\r\nimport axios from '@/types/helpers/apiHelper';\r\nimport { AxiosResponse } from 'axios';\r\nimport { ContractProlongationOption } from '@/types/generated/api/contractProlongationOption';\r\nimport { ContractClient } from '@/types/generated/api/contractClient';\r\nimport { ContractLineClient } from '@/types/generated/api/contractLineClient';\r\nimport { remove } from 'lodash';\r\n\r\n/* Dynamic module injection in store object */\r\n@Module({ name: 'contract', dynamic: true, store })\r\nclass ContractModule extends VuexModule {\r\n\tisExtendingContract = false;\r\n\tisSwitchingContract = false;\r\n\tshowExtendDialog = false;\r\n\tshowTradeInDialog = false;\r\n\r\n\tprolongationOptions: ContractProlongationOption[] = [];\r\n\tselectedProlongationOption: ContractProlongationOption | null = null;\r\n\tselectedTradeInContractLine: ContractLineClient | null = null;\r\n\tswitchingContractLines: ContractLineClient[] = [];\r\n\r\n\t@MutationAction\r\n\tpublic async fetchProlongationOptions(\r\n\t\tcontract: ContractClient\r\n\t): Promise<{ prolongationOptions: ContractProlongationOption[] }> {\r\n\t\tconst response: AxiosResponse = await axios.get(`/api/contract/prolongationoptions/${contract.contractId}`);\r\n\t\treturn { prolongationOptions: response.data as ContractProlongationOption[] };\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setIsExtendingContract(value: boolean): void {\r\n\t\tthis.isExtendingContract = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setIsSwitchingContract(value: boolean): void {\r\n\t\tthis.isSwitchingContract = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setShowTradeInDialog(value: boolean): void {\r\n\t\tthis.showTradeInDialog = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setShowExtendDialog(value: boolean): void {\r\n\t\tthis.showExtendDialog = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setSelectedTradeInContractLine(value: ContractLineClient | null): void {\r\n\t\tthis.selectedTradeInContractLine = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setSelectedProlongationOption(value: ContractProlongationOption | null): void {\r\n\t\tthis.selectedProlongationOption = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic addSwitchContract(contractLineClient: ContractLineClient): void {\r\n\t\tif (this.switchingContractLines.findIndex((x) => x.serialNumber === contractLineClient.serialNumber) > -1) return;\r\n\t\tthis.switchingContractLines.push(contractLineClient);\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic removeSwitchContract(contractLineClient: ContractLineClient): void {\r\n\t\tremove(this.switchingContractLines, (x) => x.serialNumber === contractLineClient?.serialNumber);\r\n\t}\r\n\r\n\t@Action\r\n\tpublic startTradeIn(contractLineClient: ContractLineClient): void {\r\n\t\tthis.setSelectedTradeInContractLine(contractLineClient);\r\n\t\tthis.setShowTradeInDialog(true);\r\n\t}\r\n\r\n\t@Action\r\n\tpublic cancelTradeIn(): void {\r\n\t\tthis.setShowTradeInDialog(false);\r\n\t\tthis.setSelectedTradeInContractLine(null);\r\n\t}\r\n\r\n\t@Action\r\n\tpublic removeTradeIn(contractLineClient: ContractLineClient): void {\r\n\t\tthis.removeSwitchContract(contractLineClient);\r\n\t\tthis.setSelectedTradeInContractLine(null);\r\n\t\tthis.setShowTradeInDialog(false);\r\n\t}\r\n\r\n\t@Action\r\n\tpublic confirmTradeIn(contractLineClient: ContractLineClient): void {\r\n\t\tthis.addSwitchContract(contractLineClient);\r\n\t\tthis.setSelectedTradeInContractLine(null);\r\n\t\tthis.setShowTradeInDialog(false);\r\n\t}\r\n\r\n\t@Action\r\n\tpublic cancelExtend(): void {\r\n\t\tthis.setSelectedProlongationOption(null);\r\n\t\tthis.setIsExtendingContract(false);\r\n\t\tthis.setShowExtendDialog(false);\r\n\t}\r\n\r\n\t@Action\r\n\tpublic confirmExtend(selectedOption: ContractProlongationOption): void {\r\n\t\tthis.setSelectedProlongationOption(selectedOption);\r\n\t\tthis.setIsExtendingContract(true);\r\n\t\tthis.setShowExtendDialog(false);\r\n\t}\r\n}\r\n\r\nexport default getModule(ContractModule);\r\n","/* Auto Generated */\r\n\r\nexport enum ContractProlongationOptionType {\r\n coterm = 1,\r\n extend = 2,\r\n}\r\n","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createVNode as _createVNode, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a1ca7df4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"d-flex justify-content-between\" }\nconst _hoisted_2 = { class: \"mb-0\" }\nconst _hoisted_3 = { class: \"d-flex align-items-center\" }\nconst _hoisted_4 = { class: \"d-flex flex-column\" }\nconst _hoisted_5 = { class: \"mb-0 text-muted d-block\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_7 = [\"href\", \"title\"]\nconst _hoisted_8 = {\n key: 1,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_9 = {\n key: 2,\n class: \"text-success text-bold\"\n}\nconst _hoisted_10 = {\n key: 3,\n class: \"text-info text-bold\"\n}\nconst _hoisted_11 = {\n key: 0,\n class: \"text-danger text-bold\"\n}\nconst _hoisted_12 = {\n key: 1,\n class: \"text-right\"\n}\nconst _hoisted_13 = {\n key: 0,\n class: \"d-block text-muted\"\n}\nconst _hoisted_14 = { key: 2 }\nconst _hoisted_15 = { class: \"row-expansion-content\" }\nconst _hoisted_16 = { class: \"text-bold\" }\nconst _hoisted_17 = { class: \"d-flex align-items-center ml-1 ml-lg-0\" }\nconst _hoisted_18 = { class: \"d-flex flex-column\" }\nconst _hoisted_19 = { class: \"mb-0 text-muted d-block\" }\nconst _hoisted_20 = { class: \"mb-0 text-bold\" }\nconst _hoisted_21 = { class: \"text-right\" }\nconst _hoisted_22 = {\n key: 0,\n class: \"d-block text-muted\"\n}\nconst _hoisted_23 = { class: \"col-md-10 col-lg-8 col-xl-6 ml-auto pr-2\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_PriceSummary = _resolveComponent(\"PriceSummary\")!\n const _component_Card = _resolveComponent(\"Card\")!\n\n return (_openBlock(), _createBlock(_component_Card, { class: \"my-3\" }, {\n title: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"h4\", _hoisted_2, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.card.titleProlong\")), 1),\n (_ctx.canChangeContractDuration && !_ctx.isSwitchingContract)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n label: _ctx.$t('myCadac.contractDetail.button.changeDuration'),\n class: \"p-button-primary\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.showExtendOptions()))\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n content: _withCtx(() => [\n (_ctx.isChangingDuration)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"warn\",\n closable: false,\n class: \"mt-0 mb-1\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_i18n_t, { keypath: \"myCadac.contractDetail.message.newExpirationDateDurationChange\" }, {\n date: _withCtx(() => [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.newEndDate), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : (_ctx.prolongableContractLines.length && _ctx.selectedContractLines?.length)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n severity: \"info\",\n closable: false,\n class: \"mt-0 mb-1\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_i18n_t, { keypath: \"myCadac.contractDetail.message.newExpirationDate\" }, {\n date: _withCtx(() => [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.newEndDate), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.visibleContractLines?.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 2,\n value: _ctx.visibleContractLines,\n selection: _ctx.selectedContractLines,\n \"onUpdate:selection\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.selectedContractLines) = $event)),\n \"expanded-rows\": _ctx.expandedRows,\n \"onUpdate:expanded-rows\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.expandedRows) = $event)),\n \"row-class\": _ctx.rowClass,\n \"responsive-layout\": \"stack\",\n \"data-key\": \"serialNumber\",\n class: \"mt-2\",\n \"auto-layout\": \"\"\n }, {\n expansion: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"p\", _hoisted_16, _toDisplayString(_ctx.$tc(\"myCadac.contractDetail.titleLicenseTradeInOverview\", _ctx.isSwitchingContract)), 1),\n _createVNode(_component_DataTable, {\n value: _ctx.getSwitchingContractLine(item.data),\n \"responsive-layout\": \"stack\",\n \"data-key\": \"serialNumber\",\n \"auto-layout\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"productName\",\n sortable: false,\n header: _ctx.$t('myCadac.contractDetail.table.colLicenses')\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_17, [\n (_ctx.getSwitchProduct(item.data).productIcon)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n size: \"large\",\n class: \"mr-1 bg-transparent flex-shrink-0\",\n image: _ctx.getSwitchProduct(item.data).productIcon,\n title: item.productName,\n alt: _ctx.getSwitchProduct(item.data).productName\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"small\", _hoisted_19, _toDisplayString(_ctx.getSwitchProduct(item.data).productBrand), 1),\n _createElementVNode(\"p\", _hoisted_20, _toDisplayString(_ctx.formatProductName(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t_ctx.getSwitchProduct(item.data).productName,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t_ctx.getSwitchProduct(item.data).productBrand\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t)), 1)\n ])\n ])\n ]),\n _: 2\n }, 1032, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"duration\",\n header: _ctx.$t('myCadac.contractDetail.table.colDuration'),\n key: \"duration\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createTextVNode(_toDisplayString(_ctx.$tc(\"myCadac.contractDetail.table.duration\", item.data.selectedSwitchDuration)), 1)\n ]),\n _: 2\n }, 1032, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"deployment\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductLicenceType'),\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createTextVNode(_toDisplayString(_ctx.$t(`enum.deployment.${item.data.deployment}`)), 1)\n ]),\n _: 2\n }, 1032, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"selectedSwitchSeats\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductSeats'),\n sortable: false\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n bodyClass: \"text-right pr-2\",\n headerClass: \"text-right pr-2\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductPrice'),\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_21, [\n (item.data.priceBase !== item.data.price)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_22, [\n _createElementVNode(\"s\", null, _toDisplayString(_ctx.formatCurrency(item.data.priceBase)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(item.data.price)), 1)\n ])\n ]),\n _: 2\n }, 1032, [\"header\"])\n ]),\n _: 2\n }, 1032, [\"value\"])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n selectionMode: \"multiple\",\n class: \"text-lg-center\",\n bodyStyle: \"width:2rem\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductName')\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"productName\",\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_3, [\n (item.data.icon)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n size: \"large\",\n class: \"mr-1 bg-transparent\",\n image: item.data.icon,\n title: item.productName,\n alt: item.data.iconAlt\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"small\", _hoisted_5, _toDisplayString(item.data.productBrand), 1),\n (_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_6, [\n _createElementVNode(\"a\", {\n href: item.data.crmUrl,\n target: \"_blank\",\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(_ctx.formatProductName(item.data.productName, item.data.productBrand)), 9, _hoisted_7)\n ]))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_8, _toDisplayString(_ctx.formatProductName(item.data.productName, item.data.productBrand)), 1)),\n (_ctx.isSwitching(item.data))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_9, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.table.productTradeInMessage\")), 1))\n : _createCommentVNode(\"\", true),\n (!_ctx.isSwitching(item.data) && item.data.isSwitched)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_10, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.table.productSwitchedMessage\")), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_Column, {\n field: \"deployment\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductLicenceType'),\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createTextVNode(_toDisplayString(_ctx.$t(`enum.deployment.${item.data.deployment}`)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"seats\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductSeats'),\n sortable: false\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n sortable: false,\n class: \"text-center\"\n }, {\n body: _withCtx((item) => [\n (_ctx.canSwitch(item.data))\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n class: \"p-button-raised p-button-primary p-button-text p-button-sm\",\n label: _ctx.$t('myCadac.contractDetail.button.tradeIn'),\n onClick: ($event: any) => (_ctx.showTradeInOptions(item.data))\n }, null, 8, [\"label\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_Column, {\n header: _ctx.$t('myCadac.contractDetail.table.colProductPrice'),\n sortable: false,\n class: \"text-lg-right pr-lg-2\"\n }, {\n body: _withCtx((item) => [\n (_ctx.isRowDisabled(item.data))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_11, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.table.productNotProlongableMessage\")), 1))\n : (!_ctx.isSwitching(item.data) && _ctx.isRowSelected(item.data))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, [\n (item.data.priceBase !== item.data.price)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_13, [\n _createElementVNode(\"s\", null, _toDisplayString(_ctx.formatCurrency(item.data.priceBase)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(item.data.price)), 1)\n ]))\n : (_ctx.isSwitching(item.data))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createVNode(_component_Button, {\n class: \"p-button-raised p-button-primary p-button-text p-button-sm ml-1\",\n label: _ctx.$t('common.change'),\n onClick: ($event: any) => (_ctx.showTradeInOptions(item.data))\n }, null, 8, [\"label\", \"onClick\"]),\n _createVNode(_component_Button, {\n class: \"p-button-link text-primary p-button-sm\",\n label: _ctx.$t('common.cancel'),\n onClick: ($event: any) => (_ctx.removeTradeIn(item.data))\n }, null, 8, [\"label\", \"onClick\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"header\"])\n ]),\n _: 1\n }, 8, [\"value\", \"selection\", \"expanded-rows\", \"row-class\"]))\n : _createCommentVNode(\"\", true)\n ]),\n footer: _withCtx(() => [\n (_ctx.prolongableContractLines.length && !_ctx.selectedContractLines?.length)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.contractDetail.message.cancelContract\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_component_PriceSummary, { vm: _ctx.priceSummary }, null, 8, [\"vm\"]),\n _createVNode(_component_Button, {\n class: \"p-button-success p-button-raised p-button-lg d-block ml-auto\",\n label: _ctx.$t('myCadac.contractDetail.button.goToCheckout'),\n disabled: !_ctx.canCheckout,\n loading: _ctx.isLoading,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.onCheckoutClick()))\n }, null, 8, [\"label\", \"disabled\", \"loading\"])\n ])\n ]),\n _: 1\n }))\n}","/* Auto Generated */\r\n\r\nexport enum Deployment {\r\n singleUser,\r\n multiUser,\r\n unknown,\r\n}\r\n","\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\timport contractModule from \"@/store/modules/contractModule\";\r\n\timport { ContractAddToCart } from \"@/types/generated/api/contractAddToCart\";\r\n\timport { ContractAddToCartLine } from \"@/types/generated/api/contractAddToCartLine\";\r\n\timport { ContractLineClient } from \"@/types/generated/api/contractLineClient\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IContractExtend } from \"@/types/interfaces/myCadac/contractExtend.interface\";\r\n\timport { IPriceSummary } from \"@/types/interfaces/common/priceSummary.interface\";\r\n\timport { Mixins, Prop, Watch } from \"vue-property-decorator\";\r\n\timport { PropType } from \"vue\";\r\n\timport { addMonths } from \"date-fns\";\r\n\timport { max, reduce, sortBy, unionBy } from \"lodash\";\r\n\timport { ContractProlongationOptionType } from \"@/types/generated/contractProlongationOptionType\";\r\n\timport { Deployment } from \"@/types/generated/deployment\";\r\n\timport { SwitchProductClient } from \"@/types/generated/api/switchProductClient\";\r\n\timport { ProductVariationClient } from \"@/types/generated/api/productVariationClient\";\r\n\timport { ContractClient } from \"@/types/generated/api/contractClient\";\r\n\r\n\texport default class ContractDetailSwitchCard extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: IContractExtend;\r\n\r\n\t\tisLoading = false;\r\n\r\n\t\texpandedRows: ContractLineClient[] = [];\r\n\t\tselectedContractLines: ContractLineClient[] = [];\r\n\t\teditingContractLines: ContractLineClient[] = [];\r\n\t\tvisibleContractLines: ContractLineClient[] = [];\r\n\r\n\t\t// On trade-in added / removed\r\n\t\t@Watch(\"switchingContractLines\", { deep: true })\r\n\t\tonContractSwitch(switchingContractLines: ContractLineClient[]): void {\r\n\t\t\tthis.expandedRows = [...switchingContractLines];\r\n\t\t\tthis.editingContractLines = this.mergedSwitchingAndSelectedContractLines;\r\n\t\t}\r\n\r\n\t\t@Watch(\"selectedContractLines\", { deep: true })\r\n\t\tonContractLineSelectionChanged(): void {\r\n\t\t\tthis.editingContractLines = this.mergedSwitchingAndSelectedContractLines;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.selectedContractLines = this.prolongableContractLines;\r\n\t\t\tthis.editingContractLines = this.mergedSwitchingAndSelectedContractLines;\r\n\t\t\tthis.visibleContractLines = sortBy(this.vm.contract.contractLines, \"canProlong\");\r\n\t\t}\r\n\r\n\t\tget prolongableContractLines(): ContractLineClient[] {\r\n\t\t\treturn this.vm.contract.contractLines.filter((x) => x.canProlong);\r\n\t\t}\r\n\r\n\t\tget nonProlongableContractLines(): ContractLineClient[] {\r\n\t\t\treturn this.vm.contract.contractLines.filter((x) => !x.canProlong);\r\n\t\t}\r\n\r\n\t\tget switchingContractLines(): ContractLineClient[] {\r\n\t\t\treturn contractModule.switchingContractLines;\r\n\t\t}\r\n\r\n\t\tget selectedTradeInContractLine(): ContractLineClient | null {\r\n\t\t\treturn contractModule.selectedTradeInContractLine;\r\n\t\t}\r\n\r\n\t\tget mergedSwitchingAndSelectedContractLines(): ContractLineClient[] {\r\n\t\t\treturn unionBy(this.switchingContractLines, this.selectedContractLines, \"serialNumber\");\r\n\t\t}\r\n\r\n\t\tget newContractDuration(): number {\r\n\t\t\treturn this.editingContractLines.length === 1\r\n\t\t\t\t? max(this.switchingContractLines.map((x) => x.selectedSwitchDuration)) || this.vm.contract.duration\r\n\t\t\t\t: this.vm.contract.duration;\r\n\t\t}\r\n\r\n\t\tget priceSummary(): IPriceSummary {\r\n\t\t\tconst { vatPercentage } = this.vm.contract;\r\n\t\t\treturn reduce(\r\n\t\t\t\tthis.editingContractLines,\r\n\t\t\t\t(result, contractLine) => {\r\n\t\t\t\t\tconst vatAmount = contractLine.price * (vatPercentage / 100);\r\n\t\t\t\t\tconst totalPrice = contractLine.price + vatAmount;\r\n\t\t\t\t\tresult.vatAmount = result.vatAmount ? result.vatAmount + vatAmount : vatAmount;\r\n\t\t\t\t\tresult.totalDiscount = result.totalDiscount\r\n\t\t\t\t\t\t? result.totalDiscount + contractLine.discount\r\n\t\t\t\t\t\t: contractLine.discount;\r\n\t\t\t\t\tresult.totalPersonalPrice = result.totalPersonalPrice\r\n\t\t\t\t\t\t? result.totalPersonalPrice + contractLine.price\r\n\t\t\t\t\t\t: contractLine.price;\r\n\t\t\t\t\tresult.totalBasePrice = result.totalBasePrice\r\n\t\t\t\t\t\t? result.totalBasePrice + contractLine.priceBase\r\n\t\t\t\t\t\t: contractLine.priceBase;\r\n\t\t\t\t\tresult.totalPrice = result.totalPrice ? result.totalPrice + totalPrice : totalPrice;\r\n\t\t\t\t\treturn result;\r\n\t\t\t\t},\r\n\t\t\t\t{ vatPercentage: vatPercentage } as IPriceSummary\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget contractUpdateData(): ContractAddToCart {\r\n\t\t\treturn {\r\n\t\t\t\tcontractId: this.vm.contract.contractId,\r\n\t\t\t\tcontractLines: reduce(\r\n\t\t\t\t\tthis.editingContractLines,\r\n\t\t\t\t\t(result, value) => {\r\n\t\t\t\t\t\tresult.push({\r\n\t\t\t\t\t\t\tchecked: value.checked,\r\n\t\t\t\t\t\t\taddSeatVariationCode: value.addSeatVariationCode,\r\n\t\t\t\t\t\t\trenewVariationCode: value.renewVariationCode,\r\n\t\t\t\t\t\t\tserialNumber: value.serialNumber,\r\n\t\t\t\t\t\t\tseats: value.seats,\r\n\t\t\t\t\t\t\tswitchDuration: value.selectedSwitchDuration,\r\n\t\t\t\t\t\t\tswitchRenewVariationCode: value.selectedSwitchSku,\r\n\t\t\t\t\t\t\tswitchSeats: value.selectedSwitchSeats,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\treturn result;\r\n\t\t\t\t\t},\r\n\t\t\t\t\t[] as ContractAddToCartLine[]\r\n\t\t\t\t),\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget newEndDate(): string {\r\n\t\t\treturn this.isChangingDuration\r\n\t\t\t\t? this.formatDate(addMonths(this.toDate(this.vm.contract.endDate), this.newContractDuration))\r\n\t\t\t\t: this.formatDate(this.toDate(this.vm.contract.newProlongationDate));\r\n\t\t}\r\n\r\n\t\tget isChangingDuration(): boolean {\r\n\t\t\treturn this.newContractDuration !== this.vm.contract.duration;\r\n\t\t}\r\n\r\n\t\tget canCheckout(): boolean {\r\n\t\t\treturn (\r\n\t\t\t\t!!(this.userProfile?.emailVerified || this.userProfile?.isImpersonated) &&\r\n\t\t\t\tthis.selectedContractLines.length > 0\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget canChangeContractDuration(): boolean {\r\n\t\t\treturn this.canCoTerm || this.canExtend;\r\n\t\t}\r\n\r\n\t\tget canCoTerm(): boolean {\r\n\t\t\treturn contractModule.prolongationOptions.some((x) => x.type === ContractProlongationOptionType.coterm);\r\n\t\t}\r\n\r\n\t\tget canExtend(): boolean {\r\n\t\t\treturn (\r\n\t\t\t\t!!(this.userProfile?.isCadacSales || this.userProfile?.isImpersonatedByCadacSales) &&\r\n\t\t\t\tcontractModule.prolongationOptions.some((x) => x.type === ContractProlongationOptionType.extend)\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget isSwitchingContract(): boolean {\r\n\t\t\treturn this.switchingContractLines?.length > 0;\r\n\t\t}\r\n\r\n\t\tget showTradeInDialog(): boolean {\r\n\t\t\treturn contractModule.showTradeInDialog;\r\n\t\t}\r\n\r\n\t\tgetSwitchProduct(contractLine: ContractLineClient): SwitchProductClient {\r\n\t\t\treturn (contractLine.switchProducts as SwitchProductClient[]).find(\r\n\t\t\t\t(product) =>\r\n\t\t\t\t\t(product.switchVariations as ProductVariationClient[]).findIndex(\r\n\t\t\t\t\t\t(variation) => variation.sku === contractLine.selectedSwitchSku\r\n\t\t\t\t\t) > -1\r\n\t\t\t) as SwitchProductClient;\r\n\t\t}\r\n\r\n\t\tgetSwitchingContractLine(contractLine: ContractLineClient): ContractLineClient[] {\r\n\t\t\treturn this.switchingContractLines.filter((x) => x.serialNumber === contractLine.serialNumber);\r\n\t\t}\r\n\r\n\t\tcanSwitch(contractLine: ContractLineClient): boolean {\r\n\t\t\treturn (\r\n\t\t\t\tcontractLine.switchProducts.length > 0 &&\r\n\t\t\t\t!this.isSwitching(contractLine) &&\r\n\t\t\t\t(this.isPerpetualAndMultiUserContractLine(contractLine) || !this.vm.contract.isPerpetual)\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tisPerpetualAndMultiUserContractLine(contractLine: ContractLineClient): boolean {\r\n\t\t\treturn this.vm.contract.isPerpetual && contractLine.deployment == Deployment.multiUser;\r\n\t\t}\r\n\r\n\t\tisSwitching(contractLine: ContractLineClient): boolean {\r\n\t\t\treturn (\r\n\t\t\t\tthis.switchingContractLines.findIndex((x) => x.serialNumber === contractLine.serialNumber) > -1 ||\r\n\t\t\t\tcontractLine.serialNumber === this.selectedTradeInContractLine?.serialNumber\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tisRowExpanded(contract: ContractLineClient): boolean {\r\n\t\t\treturn this.expandedRows.findIndex((x) => x.serialNumber === contract.serialNumber) > -1;\r\n\t\t}\r\n\r\n\t\tisRowDisabled(contract: ContractLineClient): boolean {\r\n\t\t\treturn !contract.canProlong;\r\n\t\t}\r\n\r\n\t\tisRowSelected(contract: ContractLineClient): boolean {\r\n\t\t\treturn this.selectedContractLines.findIndex((x) => x.serialNumber === contract.serialNumber) > -1;\r\n\t\t}\r\n\r\n\t\trowClass(contract: ContractLineClient): string {\r\n\t\t\treturn this.isRowExpanded(contract) ? \"highlight\" : this.isRowDisabled(contract) ? \"disabled\" : \"\";\r\n\t\t}\r\n\r\n\t\tshowExtendOptions(): void {\r\n\t\t\tcontractModule.setShowExtendDialog(true);\r\n\t\t}\r\n\r\n\t\tshowTradeInOptions(contractLineClient: ContractLineClient): void {\r\n\t\t\tthis.selectContractLine(contractLineClient);\r\n\t\t\tcontractModule.startTradeIn(contractLineClient);\r\n\t\t}\r\n\r\n\t\tremoveTradeIn(contractLine: ContractLineClient): void {\r\n\t\t\tcontractModule.removeTradeIn(contractLine);\r\n\t\t}\r\n\r\n\t\tselectContractLine(contractLineClient: ContractLineClient): void {\r\n\t\t\tconst originalContractLine = this.prolongableContractLines.find(\r\n\t\t\t\t(x) => x.serialNumber === contractLineClient.serialNumber\r\n\t\t\t);\r\n\t\t\t// Select the row if it was not selected yet\r\n\t\t\tif (\r\n\t\t\t\toriginalContractLine &&\r\n\t\t\t\tthis.selectedContractLines.findIndex((x) => x.serialNumber === contractLineClient.serialNumber) === -1\r\n\t\t\t) {\r\n\t\t\t\tthis.selectedContractLines.push(originalContractLine);\r\n\t\t\t\t// Reassign the array to trigger view change.\r\n\t\t\t\tthis.selectedContractLines = [...this.selectedContractLines];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tonCheckoutClick(): void {\r\n\t\t\t// 20-10-21 JLE: Op verzoek van Roy deze check even eruit gehaald om te kijken of iemand het gaat missen.\r\n\r\n\t\t\t// if (this.prolongableContractLines.some((x) => x.productBrand === \"Autodesk\" && this.canSwitch(x))) {\r\n\t\t\t// \tthis.$confirm.require({\r\n\t\t\t// \t\tmessage: this.$t(\"myCadac.contractDetail.message.confirmCheckoutWithUnswitchedProducts\"),\r\n\t\t\t// \t\theader: this.$t(\"common.messages.titleImportant\"),\r\n\t\t\t// \t\tacceptLabel: this.$t(\"common.yes\"),\r\n\t\t\t// \t\trejectLabel: this.$t(\"common.no\"),\r\n\t\t\t// \t\taccept: () => {\r\n\t\t\t// \t\t\tthis.addContractProlongationToCart();\r\n\t\t\t// \t\t},\r\n\t\t\t// \t});\r\n\t\t\t// }\r\n\t\t\tthis.addContractProlongationToCart();\r\n\t\t}\r\n\r\n\t\taddContractProlongationToCart(): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tconst data: ContractAddToCart = this.contractUpdateData;\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/cart/add-prolongation\", data)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.isLoading = false;\r\n\t\t\t\t\tthis.openUrl(this.vm.checkoutPageUrl);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => console.error(err))\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\r\n\t\trecalculatePrices(): void {\r\n\t\t\tif (this.isLoading) return;\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tconst updateData: ContractAddToCart = this.contractUpdateData;\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/contract/recalculate\", updateData)\r\n\t\t\t\t.then(({ data }: { data: ContractClient }) => {\r\n\t\t\t\t\tthis.editingContractLines = [...data.contractLines];\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => console.error(err))\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\t}\r\n","import { render } from \"./contractDetailSwitchCard.vue?vue&type=template&id=a1ca7df4&scoped=true&ts=true\"\nimport script from \"./contractDetailSwitchCard.vue?vue&type=script&lang=ts\"\nexport * from \"./contractDetailSwitchCard.vue?vue&type=script&lang=ts\"\n\nimport \"./contractDetailSwitchCard.vue?vue&type=style&index=0&id=a1ca7df4&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a1ca7df4\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex justify-content-between\" }\nconst _hoisted_2 = { class: \"mb-0\" }\nconst _hoisted_3 = { class: \"d-flex flex-wrap\" }\nconst _hoisted_4 = { class: \"d-flex align-items-center ml-1 ml-lg-0\" }\nconst _hoisted_5 = { class: \"d-flex flex-column\" }\nconst _hoisted_6 = { class: \"mb-0 text-muted d-block\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_8 = [\"href\", \"title\"]\nconst _hoisted_9 = {\n key: 1,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_10 = { class: \"text-right\" }\nconst _hoisted_11 = {\n key: 0,\n class: \"d-block text-muted\"\n}\nconst _hoisted_12 = { class: \"col-md-10 col-lg-8 col-xl-6 ml-auto pr-2\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_ContractSummary = _resolveComponent(\"ContractSummary\")!\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_PriceSummary = _resolveComponent(\"PriceSummary\")!\n const _component_Card = _resolveComponent(\"Card\")!\n\n return (_openBlock(), _createBlock(_component_Card, { class: \"my-3\" }, {\n title: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"h4\", _hoisted_2, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.card.titleExtend\")), 1),\n _createVNode(_component_Button, {\n label: _ctx.$t('common.cancel'),\n class: \"p-button-text\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.onExtendCancelled()))\n }, null, 8, [\"label\"])\n ])\n ]),\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_ContractSummary, {\n class: \"mb-1\",\n vm: _ctx.currentContractSummary,\n title: _ctx.$t('myCadac.contractDetail.card.lblCurrentContract')\n }, null, 8, [\"vm\", \"title\"]),\n _createVNode(_component_ContractSummary, {\n vm: _ctx.selectedContractSummary,\n title: _ctx.$t('myCadac.contractDetail.card.lblCoTermContract')\n }, null, 8, [\"vm\", \"title\"])\n ]),\n _createVNode(_component_Message, {\n severity: \"warn\",\n closable: false,\n class: \"mt-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_i18n_t, { keypath: \"myCadac.contractDetail.message.newExpirationDateDurationChange\" }, {\n date: _withCtx(() => [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatDate(_ctx.newEndDate)), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_DataTable, {\n value: _ctx.prolongableContractLines,\n \"responsive-layout\": \"stack\",\n \"data-key\": \"serialNumber\",\n \"auto-layout\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"productName\",\n sortable: false,\n header: _ctx.$t('myCadac.contractDetail.table.colProductName')\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_4, [\n (item.data.icon)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n size: \"large\",\n class: \"mr-1 bg-transparent flex-shrink-0\",\n image: item.data.icon,\n title: item.productName,\n alt: item.data.iconAlt\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"small\", _hoisted_6, _toDisplayString(item.data.productBrand), 1),\n (_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_7, [\n _createElementVNode(\"a\", {\n href: item.data.crmUrl,\n target: \"_blank\",\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(_ctx.formatProductName(item.data.productName, item.data.productBrand)), 9, _hoisted_8)\n ]))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_9, _toDisplayString(_ctx.formatProductName(item.data.productName, item.data.productBrand)), 1))\n ])\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"deployment\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductLicenceType'),\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createTextVNode(_toDisplayString(_ctx.$t(`enum.deployment.${item.data.deployment}`)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"seats\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductSeats'),\n sortable: false\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"endDate\",\n header: _ctx.$t('myCadac.contractDetail.table.colRemainingDuration'),\n sortable: false\n }, {\n body: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$tc(\"myCadac.contractDetail.table.duration\", _ctx.selectedExtendContract?.remainingMonthsForOrder)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n header: _ctx.$t('myCadac.contractDetail.table.colProductPrice'),\n sortable: false,\n class: \"text-lg-right\"\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_10, [\n (item.data.priceBase !== item.data.price)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_11, [\n _createElementVNode(\"s\", null, _toDisplayString(_ctx.formatCurrency(_ctx.calcProRatePrice(item.data.priceBase, _ctx.vm.contract.duration))), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(_ctx.calcProRatePrice(item.data.price, _ctx.vm.contract.duration))), 1)\n ])\n ]),\n _: 1\n }, 8, [\"header\"])\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n footer: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_PriceSummary, { vm: _ctx.priceSummary }, null, 8, [\"vm\"]),\n _createVNode(_component_Button, {\n class: \"p-button-success p-button-raised p-button-lg d-block ml-auto\",\n label: _ctx.$t('myCadac.contractDetail.button.goToCheckout'),\n disabled: !_ctx.canCheckout,\n loading: _ctx.isLoading,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.onCheckoutClick()))\n }, null, 8, [\"label\", \"disabled\", \"loading\"])\n ])\n ]),\n _: 1\n }))\n}","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, mergeProps as _mergeProps, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e465c30a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"mb-1\"\n}\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = {\n key: 0,\n class: \"text-muted\"\n}\nconst _hoisted_4 = { key: 1 }\nconst _hoisted_5 = { key: 1 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.title)\n ? (_openBlock(), _createElementBlock(\"h5\", _hoisted_1, _toDisplayString(_ctx.title), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"dl\", _mergeProps({ class: \"contract-summary\" }, _ctx.$attrs), [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"common.contractSummary.lblContractNumber\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.vm.contractNumber), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"common.contractSummary.lblContractType\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.vm.contractType), 1)\n ]),\n (_ctx.vm.contractManager)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"common.contractSummary.lblContractManager\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.vm.contractManager), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"common.contractSummary.lblEndDate\")), 1),\n _createElementVNode(\"dd\", null, [\n (_ctx.vm.contractProlongationDate)\n ? (_openBlock(), _createElementBlock(\"s\", _hoisted_3, _toDisplayString(_ctx.formatDate(_ctx.vm.contractEndDate)), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_4, _toDisplayString(_ctx.formatDate(_ctx.vm.contractEndDate)), 1))\n ])\n ]),\n (_ctx.vm.contractProlongationDate)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"common.contractSummary.lblProlongationDate\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatDate(_ctx.vm.contractProlongationDate)), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 16)\n ], 64))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\texport interface IContractSummary {\r\n\t\tcontractNumber: string;\r\n\t\tcontractType: string;\r\n\t\tcontractEndDate: Date | string;\r\n\t\tcontractProlongationDate?: Date | string;\r\n\t\tcontractManager?: string;\r\n\t}\r\n\r\n\texport default class ContractSummary extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) vm!: IContractSummary;\r\n\t\t@Prop({ type: String, required: false, default: \"\" }) title!: string;\r\n\t}\r\n","import { render } from \"./contractSummary.vue?vue&type=template&id=e465c30a&scoped=true&ts=true\"\nimport script from \"./contractSummary.vue?vue&type=script&lang=ts\"\nexport * from \"./contractSummary.vue?vue&type=script&lang=ts\"\n\nimport \"./contractSummary.vue?vue&type=style&index=0&id=e465c30a&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e465c30a\"]])\n\nexport default __exports__","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IPriceSummary } from \"@/types/interfaces/common/priceSummary.interface\";\r\n\timport { ContractProlongationOption } from \"@/types/generated/api/contractProlongationOption\";\r\n\timport contractModule from \"@/store/modules/contractModule\";\r\n\timport { IContractExtend } from \"@/types/interfaces/myCadac/contractExtend.interface\";\r\n\timport { add, isBefore, set } from \"date-fns\";\r\n\timport { ContractAddToCart } from \"@/types/generated/api/contractAddToCart\";\r\n\timport { ContractAddToCartLine } from \"@/types/generated/api/contractAddToCartLine\";\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\timport { ContractLineClient } from \"@/types/generated/api/contractLineClient\";\r\n\timport { reduce } from \"lodash\";\r\n\timport { ContractProlongationOptionType } from \"@/types/generated/contractProlongationOptionType\";\r\n\timport { ContractClient } from \"@/types/generated/api/contractClient\";\r\n\timport ContractSummary, { IContractSummary } from \"@/components/common/contractSummary.vue\";\r\n\timport { Options } from \"vue-class-component\";\r\n\r\n\t@Options({ components: { ContractSummary } })\r\n\texport default class ContractDetailExtendCard extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: IContractExtend;\r\n\r\n\t\t@Prop()\r\n\t\tprolongationOptions!: ContractProlongationOption[];\r\n\r\n\t\teditingContractLines: ContractLineClient[] = [];\r\n\t\tisLoading = false;\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.editingContractLines = this.prolongableContractLines;\r\n\t\t}\r\n\r\n\t\tget selectedExtendContract(): ContractProlongationOption | null {\r\n\t\t\treturn contractModule.selectedProlongationOption;\r\n\t\t}\r\n\r\n\t\tget canCheckout(): boolean {\r\n\t\t\treturn (\r\n\t\t\t\t(!!this.userProfile?.emailVerified || !!this.userProfile?.isImpersonated) && !!this.selectedExtendContract\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget priceSummary(): IPriceSummary {\r\n\t\t\tconst { vatPercentage, duration } = this.vm.contract;\r\n\t\t\treturn reduce(\r\n\t\t\t\tthis.prolongableContractLines,\r\n\t\t\t\t(result: IPriceSummary, contractLine: ContractLineClient) => {\r\n\t\t\t\t\tconst proRatePrice = this.calcProRatePrice(contractLine.price, duration);\r\n\t\t\t\t\tconst proRatePriceBase = this.calcProRatePrice(contractLine.priceBase, duration);\r\n\t\t\t\t\tconst proRateDiscount = this.calcProRatePrice(contractLine.discount, duration);\r\n\t\t\t\t\tconst vatAmount = proRatePrice * (vatPercentage / 100);\r\n\t\t\t\t\tconst totalPrice = proRatePrice + vatAmount;\r\n\t\t\t\t\tresult.totalPersonalPrice = result.totalPersonalPrice\r\n\t\t\t\t\t\t? result.totalPersonalPrice + proRatePrice\r\n\t\t\t\t\t\t: proRatePrice;\r\n\t\t\t\t\tresult.totalBasePrice = result.totalBasePrice\r\n\t\t\t\t\t\t? result.totalBasePrice + proRatePriceBase\r\n\t\t\t\t\t\t: proRatePriceBase;\r\n\t\t\t\t\tresult.totalDiscount = result.totalDiscount ? result.totalDiscount + proRateDiscount : proRateDiscount;\r\n\t\t\t\t\tresult.totalPrice = result.totalPrice ? result.totalPrice + totalPrice : totalPrice;\r\n\t\t\t\t\tresult.vatAmount = result.vatAmount ? result.vatAmount + vatAmount : vatAmount;\r\n\t\t\t\t\treturn result;\r\n\t\t\t\t},\r\n\t\t\t\t{ vatPercentage, useZeroPercentVAT: this.vm.useZeroPercentVAT } as IPriceSummary\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget currentContractSummary(): IContractSummary {\r\n\t\t\treturn {\r\n\t\t\t\tcontractEndDate: this.vm.contract.endDate,\r\n\t\t\t\tcontractNumber: this.vm.contract.contractId,\r\n\t\t\t\tcontractType: this.vm.contract.contractType,\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget selectedContractSummary(): IContractSummary {\r\n\t\t\tif (!this.selectedExtendContract) return {} as IContractSummary;\r\n\t\t\treturn {\r\n\t\t\t\tcontractEndDate: this.selectedExtendContract.endDate,\r\n\t\t\t\tcontractNumber: this.selectedExtendContract.contractNumber,\r\n\t\t\t\tcontractType: this.selectedExtendContract.contractClient.contractType,\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget newEndDate(): Date {\r\n\t\t\tconst currentEndDate = this.toDate(this.vm.contract.endDate);\r\n\t\t\t// When extending or co-terming use the extend contract's endDate, else the current endDate.\r\n\t\t\tlet newEndDate = this.selectedExtendContract\r\n\t\t\t\t? this.toDate(this.selectedExtendContract.endDate)\r\n\t\t\t\t: currentEndDate;\r\n\t\t\t// If extending only the month/day of the chosen contract should be synced with the current endDate, but it cannot be in the past.\r\n\t\t\tif (this.selectedExtendContract?.type === ContractProlongationOptionType.extend) {\r\n\t\t\t\tnewEndDate = set(newEndDate, { year: currentEndDate.getFullYear() });\r\n\t\t\t\tif (isBefore(newEndDate, currentEndDate)) {\r\n\t\t\t\t\tnewEndDate = add(newEndDate, { years: 1 });\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn newEndDate;\r\n\t\t}\r\n\r\n\t\tget prolongableContractLines(): ContractLineClient[] {\r\n\t\t\treturn this.vm.contract.contractLines.filter((x) => x.canProlong);\r\n\t\t}\r\n\r\n\t\tget contractUpdateData(): ContractAddToCart {\r\n\t\t\treturn {\r\n\t\t\t\tcontractId: this.vm.contract.contractId,\r\n\t\t\t\tendDateToUseForCotermExtend: this.newEndDate,\r\n\t\t\t\tcontractLines: reduce(\r\n\t\t\t\t\tthis.editingContractLines,\r\n\t\t\t\t\t(result, value) => {\r\n\t\t\t\t\t\tresult.push({\r\n\t\t\t\t\t\t\tchecked: value.checked,\r\n\t\t\t\t\t\t\taddSeatVariationCode: value.addSeatVariationCode,\r\n\t\t\t\t\t\t\trenewVariationCode: value.renewVariationCode,\r\n\t\t\t\t\t\t\tserialNumber: value.serialNumber,\r\n\t\t\t\t\t\t\tseats: value.seats,\r\n\t\t\t\t\t\t\tswitchDuration: 0,\r\n\t\t\t\t\t\t\tswitchRenewVariationCode: \"\",\r\n\t\t\t\t\t\t\tswitchSeats: 0,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\treturn result;\r\n\t\t\t\t\t},\r\n\t\t\t\t\t[] as ContractAddToCartLine[]\r\n\t\t\t\t),\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tonExtendCancelled(): void {\r\n\t\t\tcontractModule.cancelExtend();\r\n\t\t}\r\n\r\n\t\tcalcProRatePrice(price: number, contractDuration: number): number {\r\n\t\t\tconst pricePerMonth = price / contractDuration;\r\n\t\t\treturn pricePerMonth * (this.selectedExtendContract?.remainingMonthsForOrder || 0);\r\n\t\t}\r\n\r\n\t\tonCheckoutClick(): void {\r\n\t\t\tthis.addContractProlongationToCart();\r\n\t\t}\r\n\r\n\t\taddContractProlongationToCart(): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tconst updateData = this.contractUpdateData;\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/cart/add-prolongation\", updateData)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.isLoading = false;\r\n\t\t\t\t\tthis.openUrl(this.vm.checkoutPageUrl);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => console.error(err))\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\r\n\t\trecalculatePrices(): void {\r\n\t\t\tif (this.isLoading) return;\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tconst updateData: ContractAddToCart = this.contractUpdateData;\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/contract/recalculate\", updateData)\r\n\t\t\t\t.then(({ data }: { data: ContractClient }) => {\r\n\t\t\t\t\tthis.editingContractLines = [...data.contractLines];\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => console.error(err))\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\t}\r\n","import { render } from \"./contractDetailExtendCard.vue?vue&type=template&id=1b20a75e&ts=true\"\nimport script from \"./contractDetailExtendCard.vue?vue&type=script&lang=ts\"\nexport * from \"./contractDetailExtendCard.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createBlock as _createBlock, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"mb-0\" }\nconst _hoisted_2 = [\"innerHTML\"]\nconst _hoisted_3 = { class: \"mb-2\" }\nconst _hoisted_4 = { class: \"d-flex align-items-center\" }\nconst _hoisted_5 = { class: \"d-flex flex-column\" }\nconst _hoisted_6 = { class: \"mb-0 text-muted d-block\" }\nconst _hoisted_7 = { class: \"mb-0 text-bold\" }\nconst _hoisted_8 = { class: \"col-md-10 col-lg-8 col-xl-6 ml-auto pr-2 pb-1\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_PriceSummary = _resolveComponent(\"PriceSummary\")!\n const _component_Dialog = _resolveComponent(\"Dialog\")!\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isVisible,\n \"onUpdate:visible\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.isVisible) = $event)),\n modal: true,\n onHide: _cache[4] || (_cache[4] = ($event: any) => (_ctx.cancelTradeIn())),\n breakpoints: { '1600px': '50vw', '1200px': '60vw', '992px': '70vw', '768px': '80vw', '576px': '90vw' },\n style: { width: '40vw' }\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"h3\", _hoisted_1, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.switchModal.title\")), 1)\n ]),\n footer: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n (_ctx.priceSummary)\n ? (_openBlock(), _createBlock(_component_PriceSummary, {\n key: 0,\n vm: _ctx.priceSummary\n }, null, 8, [\"vm\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_Button, {\n label: _ctx.$t('common.cancel'),\n class: \"p-button-text p-button-plain\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.cancelTradeIn()))\n }, null, 8, [\"label\"]),\n _createVNode(_component_Button, {\n label: _ctx.$t('common.confirm'),\n disabled: !_ctx.canSubmit,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.confirmTradeIn()))\n }, null, 8, [\"label\", \"disabled\"])\n ]),\n default: _withCtx(() => [\n (_ctx.vm.switchTradeInText)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 0,\n innerHTML: _ctx.vm.switchTradeInText,\n class: \"mb-2\"\n }, null, 8, _hoisted_2))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"h5\", null, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.switchModal.changeDuration\")), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.switchDurationOptions, (option) => {\n return (_openBlock(), _createBlock(_component_Button, {\n key: option,\n class: _normalizeClass([\"p-button-secondary mr-2\", { 'p-button-outlined': _ctx.selectedDuration !== option }]),\n label: _ctx.$t('myCadac.contractDetail.switchModal.btnDuration', { duration: option }),\n onClick: ($event: any) => (_ctx.onDurationChange(option))\n }, null, 8, [\"class\", \"label\", \"onClick\"]))\n }), 128))\n ]),\n _createElementVNode(\"h5\", null, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.switchModal.chooseContract\")), 1),\n (_ctx.tradeInOptions.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 1,\n selection: _ctx.selectedProduct,\n \"onUpdate:selection\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selectedProduct) = $event)),\n value: _ctx.tradeInOptions,\n \"data-key\": \"productName\",\n \"selection-mode\": \"single\",\n \"auto-layout\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"productName\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductName'),\n sortable: false\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_4, [\n (item.data.icon)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n size: \"large\",\n class: \"mr-1 bg-transparent\",\n image: item.data.icon,\n title: item.productName,\n alt: item.data.iconAlt\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"small\", _hoisted_6, _toDisplayString(item.data.productBrand), 1),\n _createElementVNode(\"p\", _hoisted_7, _toDisplayString(_ctx.formatProductName(item.data.productName, item.data.productBrand)), 1)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"deployment\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductLicenceType'),\n style: {\"width\":\"15%\"}\n }, {\n body: _withCtx((item) => [\n _createTextVNode(_toDisplayString(_ctx.$t(`enum.deployment.${_ctx.getProductVariation(item.data).licenseAudience}`)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"renewSeats\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductSeats'),\n style: {\"width\":\"15%\"}\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n bodyClass: \"text-lg-right pr-2\",\n headerClass: \"text-lg-right pr-2\",\n header: _ctx.$t('myCadac.contractDetail.table.colProductPrice'),\n style: {\"width\":\"15%\"}\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(_ctx.getPricePerSeat(_ctx.getProductVariation(item.data).price, item.data.renewSeats))), 1)\n ]),\n _: 1\n }, 8, [\"header\"])\n ]),\n _: 1\n }, 8, [\"selection\", \"value\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Emit, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { IContractDetail } from \"@/types/interfaces/myCadac/contractDetail.interface\";\r\n\timport { ContractLineClient } from \"@/types/generated/api/contractLineClient\";\r\n\timport { SwitchProductClient } from \"@/types/generated/api/switchProductClient\";\r\n\timport { reduce, uniq } from \"lodash\";\r\n\timport { ProductVariationClient } from \"@/types/generated/api/productVariationClient\";\r\n\timport { addMonths } from \"date-fns\";\r\n\timport { FormatHelper } from \"@/types/helpers/formatHelper\";\r\n\timport { IPriceSummary } from \"@/types/interfaces/common/priceSummary.interface\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\t@Options({ emit: [\"cancel-trade-in\", \"confirm-trade-in\"] })\r\n\texport default class ContractSwitchModal extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: IContractDetail;\r\n\t\t@Prop()\r\n\t\tcontractLine!: ContractLineClient;\r\n\r\n\t\t@Emit()\r\n\t\tcancelTradeIn(): boolean {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t@Emit()\r\n\t\tconfirmTradeIn(): SwitchProductClient | null {\r\n\t\t\tconst product = this.selectedProduct;\r\n\t\t\tif (!product) return null;\r\n\t\t\tproduct.switchVariations = [this.selectedProductVariation];\r\n\t\t\treturn product;\r\n\t\t}\r\n\r\n\t\tisVisible = true;\r\n\t\tselectedDuration = 12;\r\n\t\tselectedProduct: SwitchProductClient | null = null;\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.selectedDuration = this.switchDurationOptions.includes(this.vm.contract.duration)\r\n\t\t\t\t? this.vm.contract.duration\r\n\t\t\t\t: this.switchDurationOptions[0];\r\n\t\t}\r\n\r\n\t\tget tradeInOptions(): SwitchProductClient[] {\r\n\t\t\treturn reduce(\r\n\t\t\t\tthis.contractLine?.switchProducts as SwitchProductClient[],\r\n\t\t\t\t(result, value) => {\r\n\t\t\t\t\tconst switchProduct = {\r\n\t\t\t\t\t\t...value,\r\n\t\t\t\t\t\tswitchVariations: value.switchVariations.filter(\r\n\t\t\t\t\t\t\t(variation) => variation.duration === this.selectedDuration\r\n\t\t\t\t\t\t),\r\n\t\t\t\t\t};\r\n\t\t\t\t\tif (switchProduct.switchVariations.length) result.push(value);\r\n\t\t\t\t\treturn result;\r\n\t\t\t\t},\r\n\t\t\t\t[] as SwitchProductClient[]\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget switchDurationOptions(): number[] {\r\n\t\t\treturn reduce(\r\n\t\t\t\tthis.contractLine?.switchProducts as SwitchProductClient[],\r\n\t\t\t\t(result, value) => {\r\n\t\t\t\t\tconst durations = value.switchVariations.map((x) => x.duration);\r\n\t\t\t\t\tresult.push(...durations);\r\n\t\t\t\t\treturn uniq(result);\r\n\t\t\t\t},\r\n\t\t\t\t[] as number[]\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget selectedProductVariation(): ProductVariationClient {\r\n\t\t\treturn this.selectedProduct?.switchVariations.find((x) => x.duration === this.selectedDuration);\r\n\t\t}\r\n\r\n\t\tget priceSummary(): IPriceSummary | null {\r\n\t\t\tif (!this.selectedProductVariation) return null;\r\n\t\t\tconst { basePrice, customerPrice } = this.selectedProductVariation;\r\n\t\t\tconst seats = this.selectedProduct?.renewSeats || 0;\r\n\t\t\tconst totalBasePrice = this.getPricePerSeat(basePrice, seats);\r\n\t\t\tconst totalPersonalPrice = this.getPricePerSeat(customerPrice, seats);\r\n\t\t\tconst totalDiscount = totalBasePrice - totalPersonalPrice;\r\n\r\n\t\t\treturn {\r\n\t\t\t\ttotalBasePrice: totalBasePrice,\r\n\t\t\t\ttotalPersonalPrice: totalPersonalPrice,\r\n\t\t\t\ttotalDiscount: totalDiscount,\r\n\t\t\t} as IPriceSummary;\r\n\t\t}\r\n\r\n\t\tget newEndDate(): string {\r\n\t\t\treturn FormatHelper.formatDateString(\r\n\t\t\t\taddMonths(new Date(), this.vm.contract.duration).toISOString(),\r\n\t\t\t\tthis.$i18n.locale\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget canSubmit(): boolean {\r\n\t\t\treturn !!this.selectedProduct;\r\n\t\t}\r\n\r\n\t\tgetProductVariation(switchProduct: SwitchProductClient): ProductVariationClient {\r\n\t\t\treturn switchProduct.switchVariations.find((x) => x.duration === this.selectedDuration);\r\n\t\t}\r\n\r\n\t\tgetPricePerSeat(price: number, seats: number): number {\r\n\t\t\treturn price * seats;\r\n\t\t}\r\n\r\n\t\tonDurationChange(newDuration: number): void {\r\n\t\t\tthis.selectedDuration = newDuration;\r\n\t\t\tthis.selectedProduct = null;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./contractSwitchModal.vue?vue&type=template&id=f356ca20&ts=true\"\nimport script from \"./contractSwitchModal.vue?vue&type=script&lang=ts\"\nexport * from \"./contractSwitchModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5c72a518\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"mb-0\" }\nconst _hoisted_2 = { class: \"contract-info\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"mb-0 text-bold\"\n}\nconst _hoisted_4 = [\"onClick\", \"title\"]\nconst _hoisted_5 = {\n key: 0,\n class: \"d-block text-muted\"\n}\nconst _hoisted_6 = {\n key: 1,\n class: \"mb-0 text-bold\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_AvatarGroup = _resolveComponent(\"AvatarGroup\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Dialog = _resolveComponent(\"Dialog\")!\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isVisible,\n \"onUpdate:visible\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.isVisible) = $event)),\n modal: true,\n onHide: _cache[4] || (_cache[4] = ($event: any) => (_ctx.cancelExtend())),\n breakpoints: { '1600px': '50vw', '1200px': '60vw', '992px': '70vw', '768px': '80vw', '576px': '90vw' },\n style: { width: '40vw' }\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"h3\", _hoisted_1, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.extendModal.title\")), 1)\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_Button, {\n label: _ctx.$t('common.cancel'),\n class: \"p-button-text p-button-plain\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.cancelExtend()))\n }, null, 8, [\"label\"]),\n _createVNode(_component_Button, {\n label: _ctx.$t('common.confirm'),\n disabled: !_ctx.canSubmit,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.confirmExtend()))\n }, null, 8, [\"label\", \"disabled\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"h5\", null, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.extendModal.currentContract\")), 1),\n _createElementVNode(\"dl\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.extendModal.colContractNumber\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.vm.contract.contractId), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.extendModal.colDuration\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.vm.contract.duration), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.extendModal.colRemainingDuration\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.$tc(\"myCadac.contractDetail.table.duration\", _ctx.vm.contract.remainingMonths)), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.extendModal.colExpiresOn\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatDate(_ctx.vm.contract.endDate)), 1)\n ])\n ]),\n _createElementVNode(\"h5\", null, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.extendModal.chooseContract\")), 1),\n (_ctx.extendOptions.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 0,\n selection: _ctx.selectedProlongationOption,\n \"onUpdate:selection\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selectedProlongationOption) = $event)),\n value: _ctx.extendOptions,\n \"row-class\": _ctx.rowClass,\n \"data-key\": \"contractNumber\",\n \"selection-mode\": \"single\",\n \"auto-layout\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"contractNumber\",\n header: _ctx.$t('myCadac.contractDetail.extendModal.colContractNumber'),\n key: \"contractNumber\"\n }, {\n body: _withCtx((item) => [\n (_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, [\n _createElementVNode(\"a\", {\n href: \"javascript:void(0);\",\n onClick: ($event: any) => (_ctx.openUrl(item.data.contractClient.crmUrl, '_blank')),\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(item.data.contractNumber), 9, _hoisted_4),\n (item.data.contractClient.crmBusinessUnit)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_5, _toDisplayString(_ctx.$t(\"myCadac.contractDetail.extendModal.lblCrmBusinessUnit\", {\r\n\t\t\t\t\t\t\t\t\tname: item.data.contractClient.crmBusinessUnit.name,\r\n\t\t\t\t\t\t\t\t})), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_6, _toDisplayString(item.data.contractNumber), 1))\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n header: _ctx.$t('myCadac.contractDetail.extendModal.colProducts'),\n key: \"products\"\n }, {\n body: _withCtx((item) => [\n _createVNode(_component_AvatarGroup, null, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(item.data.contractClient?.contractLines?.slice(\r\n\t\t\t\t\t\t\t\t0,\r\n\t\t\t\t\t\t\t\t_ctx.maxContractAssetsToShow\r\n\t\t\t\t\t\t\t), (asset, index) => {\n return (_openBlock(), _createBlock(_component_Avatar, {\n key: index,\n shape: \"square\",\n size: \"small\",\n class: \"ml-0 bg-transparent\",\n image: asset.icon,\n title: asset.productName,\n alt: asset.iconAlt\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n }), 128)),\n (item.data.contractClient?.contractLines?.length > _ctx.maxContractAssetsToShow)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n size: \"small\",\n class: \"text-bold ml-0\",\n label: `+${item.data.contractClient?.contractLines?.length - _ctx.maxContractAssetsToShow}`\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"duration\",\n header: _ctx.$t('myCadac.contractDetail.extendModal.colDuration'),\n key: \"renewalTerm\"\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"endDate\",\n header: _ctx.$t('myCadac.contractDetail.extendModal.colExpiresOn'),\n key: \"endDate\"\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatDate(item.data.endDate)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n header: _ctx.$t('myCadac.contractDetail.table.colRemainingDuration'),\n key: \"remainingTerm\"\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$tc(\"myCadac.contractDetail.table.duration\", item.data.remainingMonthsForOrder)), 1)\n ]),\n _: 1\n }, 8, [\"header\"])\n ]),\n _: 1\n }, 8, [\"selection\", \"value\", \"row-class\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isRowDisabled(_ctx.selectedProlongationOption))\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n severity: \"error\",\n closable: false,\n class: \"mb-0\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.contractDetail.message.selectedOptionNotAvailable\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}","\r\n\timport { ContractClient } from \"@/types/generated/api/contractClient\";\r\n\timport { ContractLineClient } from \"@/types/generated/api/contractLineClient\";\r\n\timport { ContractProlongationOption } from \"@/types/generated/api/contractProlongationOption\";\r\n\timport { ContractProlongationOptionType } from \"@/types/generated/contractProlongationOptionType\";\r\n\timport { Emit, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IContractDetail } from \"@/types/interfaces/myCadac/contractDetail.interface\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { add, isBefore, set } from \"date-fns\";\r\n\r\n\t@Options({ emit: [\"cancel-extend\", \"confirm-extend\"] })\r\n\texport default class ContractExtendModal extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: IContractDetail;\r\n\t\t@Prop()\r\n\t\tprolongationOptions!: ContractProlongationOption[];\r\n\r\n\t\t@Emit()\r\n\t\tcancelExtend(): boolean {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t@Emit()\r\n\t\tconfirmExtend(): ContractProlongationOption | null {\r\n\t\t\treturn this.selectedProlongationOption;\r\n\t\t}\r\n\r\n\t\tisVisible = true;\r\n\t\tmaxContractAssetsToShow = 3;\r\n\t\tselectedProlongationOption: ContractProlongationOption | null = null;\r\n\r\n\t\tget extendOptions(): ContractProlongationOption[] {\r\n\t\t\treturn this.userProfile?.isCadacSales || this.userProfile?.isImpersonatedByCadacSales\r\n\t\t\t\t? this.prolongationOptions\r\n\t\t\t\t: this.prolongationOptions.filter((x) => x.type === 1);\r\n\t\t}\r\n\r\n\t\tget canSubmit(): boolean {\r\n\t\t\treturn !!this.selectedProlongationOption && !this.isRowDisabled(this.selectedProlongationOption);\r\n\t\t}\r\n\r\n\t\tisRowDisabled(_contract: ContractProlongationOption): boolean {\r\n\t\t\treturn _contract?.type === ContractProlongationOptionType.extend;\r\n\t\t}\r\n\r\n\t\trowClass(contract: ContractProlongationOption): string {\r\n\t\t\treturn this.isRowDisabled(contract) ? \"disabled\" : \"\";\r\n\t\t}\r\n\r\n\t\tcalculateNewEndDate(contract: ContractClient | ContractLineClient | ContractProlongationOption): Date {\r\n\t\t\tconst currentEndDate = this.toDate(this.vm.contract.endDate);\r\n\t\t\t// When extending or co-terming use the extend contract's endDate, else the current endDate.\r\n\t\t\tlet newEndDate = contract ? this.toDate(contract.endDate) : currentEndDate;\r\n\t\t\t// If extending only the month/day of the chosen contract should be synced with the current endDate, but it cannot be in the past.\r\n\t\t\tif ((contract as ContractProlongationOption)?.type === ContractProlongationOptionType.extend) {\r\n\t\t\t\tnewEndDate = set(newEndDate, { year: currentEndDate.getFullYear() });\r\n\t\t\t\tif (isBefore(newEndDate, currentEndDate)) {\r\n\t\t\t\t\tnewEndDate = add(newEndDate, { years: 1 });\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn newEndDate;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./contractExtendModal.vue?vue&type=template&id=5c72a518&scoped=true&ts=true\"\nimport script from \"./contractExtendModal.vue?vue&type=script&lang=ts\"\nexport * from \"./contractExtendModal.vue?vue&type=script&lang=ts\"\n\nimport \"./contractExtendModal.vue?vue&type=style&index=0&id=5c72a518&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c72a518\"]])\n\nexport default __exports__","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport contractModule from \"@/store/modules/contractModule\";\r\n\timport { ContractProlongationOption } from \"@/types/generated/api/contractProlongationOption\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { ContractLineClient } from \"@/types/generated/api/contractLineClient\";\r\n\timport { SwitchProductClient } from \"@/types/generated/api/switchProductClient\";\r\n\timport { IContractExtend } from \"@/types/interfaces/myCadac/contractExtend.interface\";\r\n\timport { ContractProlongationOptionType } from \"@/types/generated/contractProlongationOptionType\";\r\n\timport { ProductVariationClient } from \"@/types/generated/api/productVariationClient\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport ContractDetailSwitchCard from \"@/components/contracts/contractDetailSwitchCard.vue\";\r\n\timport BackButton from \"@/components/common/backButton.vue\";\r\n\timport ContractDetailExtendCard from \"@/components/contracts/contractDetailExtendCard.vue\";\r\n\timport ContractSwitchModal from \"@/components/contracts/contractSwitchModal.vue\";\r\n\timport ContractDetailTable from \"@/components/contracts/contractDetailTable.vue\";\r\n\timport ContractExtendModal from \"@/components/contracts/contractExtendModal.vue\";\r\n\r\n\t@Options({\r\n\t\tcomponents: {\r\n\t\t\tBackButton,\r\n\t\t\tContractDetailSwitchCard,\r\n\t\t\tContractSwitchModal,\r\n\t\t\tContractDetailExtendCard,\r\n\t\t\tContractExtendModal,\r\n\t\t\tContractDetailTable,\r\n\t\t},\r\n\t})\r\n\texport default class ContractExtend extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: IContractExtend;\r\n\r\n\t\tcreated(): void {\r\n\t\t\tcontractModule.fetchProlongationOptions(this.vm.contract);\r\n\t\t}\r\n\r\n\t\tget prolongationOptions(): ContractProlongationOption[] {\r\n\t\t\treturn contractModule.prolongationOptions;\r\n\t\t}\r\n\r\n\t\tget canCoTerm(): boolean {\r\n\t\t\treturn this.prolongationOptions.some((x) => x.type === ContractProlongationOptionType.coterm);\r\n\t\t}\r\n\r\n\t\tget canTradeIn(): boolean {\r\n\t\t\treturn this.vm.contract.contractLines.some((x) => x.switchProducts.length > 0);\r\n\t\t}\r\n\r\n\t\tget isExtendingContract(): boolean {\r\n\t\t\treturn contractModule.isExtendingContract;\r\n\t\t}\r\n\r\n\t\tget isSwitchingContract(): boolean {\r\n\t\t\treturn contractModule.isSwitchingContract;\r\n\t\t}\r\n\r\n\t\tget showExtendDialog(): boolean {\r\n\t\t\treturn contractModule.showExtendDialog;\r\n\t\t}\r\n\r\n\t\tget showTradeInDialog(): boolean {\r\n\t\t\treturn contractModule.showTradeInDialog;\r\n\t\t}\r\n\r\n\t\tget selectedTradeInContractLine(): ContractLineClient | null {\r\n\t\t\treturn contractModule.selectedTradeInContractLine;\r\n\t\t}\r\n\r\n\t\tget selectedExtendContract(): ContractProlongationOption | null {\r\n\t\t\treturn contractModule.selectedProlongationOption;\r\n\t\t}\r\n\r\n\t\tonExtendCancelled(): void {\r\n\t\t\tcontractModule.cancelExtend();\r\n\t\t}\r\n\r\n\t\tonExtendConfirmed(selectedOption: ContractProlongationOption): void {\r\n\t\t\tif (!selectedOption) return;\r\n\t\t\tcontractModule.confirmExtend(selectedOption);\r\n\t\t}\r\n\r\n\t\tonTradeInCancelled(): void {\r\n\t\t\tcontractModule.cancelTradeIn();\r\n\t\t}\r\n\r\n\t\tonTradeInConfirmed(switchProduct: SwitchProductClient): void {\r\n\t\t\tif (!this.selectedTradeInContractLine) return;\r\n\t\t\tconst selectedVariation: ProductVariationClient = switchProduct.switchVariations[0];\r\n\t\t\tconst totalBasePrice = switchProduct.renewSeats * selectedVariation.basePrice;\r\n\t\t\tconst totalPrice = switchProduct.renewSeats * selectedVariation.customerPrice;\r\n\t\t\tconst totalDiscount = totalBasePrice - totalPrice;\r\n\t\t\tconst newContractLine = {\r\n\t\t\t\t...this.selectedTradeInContractLine,\r\n\t\t\t\tselectedSwitchSeats: switchProduct.renewSeats,\r\n\t\t\t\tselectedSwitchSku: selectedVariation?.sku,\r\n\t\t\t\tselectedSwitchDuration: selectedVariation?.duration,\r\n\t\t\t\tswitchProducts: [switchProduct],\r\n\t\t\t\tpriceBase: totalBasePrice,\r\n\t\t\t\tprice: totalPrice,\r\n\t\t\t\tdiscount: totalDiscount,\r\n\t\t\t\tdeployment: selectedVariation.licenseAudience,\r\n\t\t\t};\r\n\t\t\tcontractModule.confirmTradeIn(newContractLine);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./contractExtend.vue?vue&type=template&id=dfcd8a80&ts=true\"\nimport script from \"./contractExtend.vue?vue&type=script&lang=ts\"\nexport * from \"./contractExtend.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createElementBlock as _createElementBlock, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1)\nconst _hoisted_2 = { class: \"form-row\" }\nconst _hoisted_3 = { class: \"form-group col-md-6 col-xxl-4\" }\nconst _hoisted_4 = { class: \"d-flex align-items-center\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"popover-icon pi pi-question\" }, null, -1)\nconst _hoisted_6 = [\"innerHTML\"]\nconst _hoisted_7 = { class: \"form-row\" }\nconst _hoisted_8 = { class: \"form-group col-md-6 col-xxl-5\" }\nconst _hoisted_9 = { key: 0 }\nconst _hoisted_10 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_11 = {\n key: 1,\n class: \"p-error\"\n}\nconst _hoisted_12 = { class: \"form-group col-md-6 col-xxl-5\" }\nconst _hoisted_13 = { key: 0 }\nconst _hoisted_14 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_15 = {\n key: 1,\n class: \"p-error\"\n}\nconst _hoisted_16 = {\n key: 0,\n class: \"text-muted mb-2\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_PersonalForm = _resolveComponent(\"PersonalForm\")!\n const _component_TabPanel = _resolveComponent(\"TabPanel\")!\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_PopoverIcon = _resolveComponent(\"PopoverIcon\")!\n const _component_Password = _resolveComponent(\"Password\")!\n const _component_CompanyForm = _resolveComponent(\"CompanyForm\")!\n const _component_AddressForm = _resolveComponent(\"AddressForm\")!\n const _component_TabView = _resolveComponent(\"TabView\")!\n const _component_Button = _resolveComponent(\"Button\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.vm.pageTitle), 1),\n _hoisted_1,\n _createVNode(_component_TabView, {\n activeIndex: _ctx.activeTab,\n \"onUpdate:activeIndex\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.activeTab) = $event)),\n onTabChange: _ctx.onTabChange\n }, {\n default: _withCtx(() => [\n (_ctx.vm.emailVerified && _ctx.vm.personal)\n ? (_openBlock(), _createBlock(_component_TabPanel, {\n key: 0,\n header: _ctx.$t('myCadac.accountSettings.tabView.headerPersonal')\n }, {\n default: _withCtx(() => [\n _createVNode(_component_PersonalForm, {\n model: _ctx.vm.personal,\n ref: \"personalForm\"\n }, null, 8, [\"model\"])\n ]),\n _: 1\n }, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_TabPanel, {\n header: _ctx.$t('myCadac.accountSettings.tabView.headerLogin')\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"form\", null, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"label\", null, _toDisplayString(_ctx.$t(\"myCadac.accountSettings.lblEmail\")), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_InputText, {\n class: \"mr-1 p-disabled\",\n type: \"email\",\n modelValue: _ctx.vm.login.email,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.vm.login.email) = $event)),\n readonly: \"true\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_PopoverIcon, { class: \"d-inline-flex\" }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", {\n innerHTML: _ctx.$t('myCadac.accountSettings.changeEmailHelpText')\n }, null, 8, _hoisted_6)\n ]),\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.passwordForm.password?.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.accountSettings.lblPassword\")), 3),\n _createVNode(_component_Password, {\n modelValue: _ctx.v$.passwordForm.password.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.v$.passwordForm.password.$model) = $event)),\n feedback: false,\n toggleMask: \"\",\n class: _normalizeClass([\"w-100\", { 'p-invalid': _ctx.shouldShowError(_ctx.v$.passwordForm.password) }])\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.passwordForm.password))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, [\n (!_ctx.v$.passwordForm.password.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_10, _toDisplayString(_ctx.v$.passwordForm.password?.required?.$message), 1))\n : (_ctx.v$.passwordForm.password.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_11, _toDisplayString(_ctx.v$.passwordForm.password.validPassword?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.passwordForm.password?.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.accountSettings.lblConfirmPassword\")), 3),\n _createVNode(_component_Password, {\n modelValue: _ctx.v$.passwordForm.passwordConfirm.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.v$.passwordForm.passwordConfirm.$model) = $event)),\n feedback: false,\n toggleMask: \"\",\n class: _normalizeClass([\"w-100\", { 'p-invalid': _ctx.shouldShowError(_ctx.v$.passwordForm.passwordConfirm) }])\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.passwordForm.passwordConfirm))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, [\n (!_ctx.v$.passwordForm.passwordConfirm.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_14, _toDisplayString(_ctx.v$.passwordForm.passwordConfirm?.required?.$message), 1))\n : (_ctx.v$.passwordForm.passwordConfirm.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_15, _toDisplayString(_ctx.v$.passwordForm.passwordConfirm.samePassword?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n (_ctx.vm.emailVerified && _ctx.vm.company)\n ? (_openBlock(), _createBlock(_component_TabPanel, {\n key: 1,\n header: _ctx.$t('myCadac.accountSettings.tabView.headerOrganisation')\n }, {\n default: _withCtx(() => [\n _createVNode(_component_CompanyForm, {\n model: _ctx.vm.company,\n countries: _ctx.vm.countries,\n ref: \"companyForm\"\n }, null, 8, [\"model\", \"countries\"])\n ]),\n _: 1\n }, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.emailVerified && _ctx.vm.invoiceAddress)\n ? (_openBlock(), _createBlock(_component_TabPanel, {\n key: 2,\n header: _ctx.$t('myCadac.accountSettings.tabView.headerInvoice')\n }, {\n default: _withCtx(() => [\n (_ctx.vm.invoiceDebtorAccountNumber)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_16, _toDisplayString(_ctx.$t(\"myCadac.accountSettings.lblinvoiceDebtor\", {\r\n\t\t\t\t\t\tname: _ctx.vm.invoiceDebtorName,\r\n\t\t\t\t\t\taccountNumber: _ctx.vm.invoiceDebtorAccountNumber,\r\n\t\t\t\t\t})), 1))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_AddressForm, {\n model: _ctx.vm.invoiceAddress,\n countries: _ctx.vm.countries,\n ref: \"invoiceAddressForm\"\n }, null, 8, [\"model\", \"countries\"])\n ]),\n _: 1\n }, 8, [\"header\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"activeIndex\", \"onTabChange\"]),\n _createVNode(_component_Button, {\n onClick: _ctx.onSubmitClick,\n label: _ctx.$t('common.save'),\n loading: _ctx.isLoading,\n disabled: !_ctx.canSubmit,\n class: \"p-button-success p-button-raised p-button-lg ml-2\"\n }, null, 8, [\"onClick\", \"label\", \"loading\", \"disabled\"])\n ], 64))\n}","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-row\" }\nconst _hoisted_2 = { class: \"form-group col-md-6 col-lg-5 col-xxl-4\" }\nconst _hoisted_3 = { class: \"input-group\" }\nconst _hoisted_4 = { class: \"form-check-inline\" }\nconst _hoisted_5 = {\n class: \"ml-1 mb-0\",\n for: \"gender1\"\n}\nconst _hoisted_6 = { class: \"form-check-inline\" }\nconst _hoisted_7 = {\n class: \"ml-1 mb-0\",\n for: \"gender2\"\n}\nconst _hoisted_8 = { class: \"form-row\" }\nconst _hoisted_9 = { class: \"form-group col-md-6 col-lg-5 col-xxl-4\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_11 = { class: \"form-group col-md-6 col-lg-5 col-xxl-4\" }\nconst _hoisted_12 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_13 = { class: \"form-row\" }\nconst _hoisted_14 = { class: \"form-group col-md-6 col-lg-5 col-xxl-4\" }\nconst _hoisted_15 = { key: 0 }\nconst _hoisted_16 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_17 = {\n key: 1,\n class: \"p-error\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_RadioButton = _resolveComponent(\"RadioButton\")!\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_vue_tel_input = _resolveComponent(\"vue-tel-input\")!\n\n return (_openBlock(), _createElementBlock(\"form\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.personalForm.gender?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblSalutation\")), 3),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_RadioButton, {\n id: \"gender1\",\n name: \"gender\",\n value: \"1\",\n modelValue: _ctx.v$.personalForm.gender.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.v$.personalForm.gender.$model) = $event))\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.$t(`enum.salutation.1`)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_RadioButton, {\n id: \"gender2\",\n name: \"gender\",\n value: \"2\",\n modelValue: _ctx.v$.personalForm.gender.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.v$.personalForm.gender.$model) = $event))\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_ctx.$t(`enum.salutation.2`)), 1)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.personalForm.firstName?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblFirstName\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.personalForm.firstName.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.v$.personalForm.firstName.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.personalForm.firstName) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.personalForm.firstName))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_10, _toDisplayString(_ctx.v$.personalForm.firstName?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.personalForm.lastName?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblLastName\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.personalForm.lastName.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.v$.personalForm.lastName.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.personalForm.lastName) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.personalForm.lastName))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_12, _toDisplayString(_ctx.v$.personalForm.lastName?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.personalForm.phone?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblPhoneNumber\")), 3),\n _createVNode(_component_vue_tel_input, {\n modelValue: _ctx.v$.personalForm.phone.$model,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.v$.personalForm.phone.$model) = $event)),\n onValidate: _ctx.onPhoneInputValidate,\n onBlur: _cache[5] || (_cache[5] = ($event: any) => (_ctx.onPhoneInputBlur())),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.personalForm.phone) })\n }, null, 8, [\"modelValue\", \"onValidate\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.personalForm.phone))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_15, [\n (!_ctx.v$.personalForm.phone.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_16, _toDisplayString(_ctx.v$.personalForm.phone?.required?.$message), 1))\n : (_ctx.v$.personalForm.phone.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_17, _toDisplayString(_ctx.v$.personalForm.phone.validPhone?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}","\r\n\timport { InjectReactive, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport useVuelidate, { Validation, ValidatorFn } from \"@vuelidate/core\";\r\n\timport { PersonalForm as PersonalFormModel } from \"@/types/generated/personalForm\";\r\n\timport { PropType } from \"vue\";\r\n\timport { required, withI18nMessage } from \"@/types/utils/i18n-validators\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { IPhoneObject } from \"@/types/interfaces/common/phoneObject.interface\";\r\n\r\n\tconst validPhoneObject = (value: string, siblings: any, vm: any): boolean => {\r\n\t\tif (!vm && siblings) vm = siblings;\r\n\t\treturn vm.phoneObject?.valid !== undefined ? vm.phoneObject.valid : !!value;\r\n\t};\r\n\r\n\t@Options({\r\n\t\tvalidations: {\r\n\t\t\tpersonalForm: {\r\n\t\t\t\tgender: { required },\r\n\t\t\t\tfirstName: { required },\r\n\t\t\t\tlastName: { required },\r\n\t\t\t\tphone: {\r\n\t\t\t\t\trequired,\r\n\t\t\t\t\tvalidPhone: withI18nMessage(validPhoneObject as ValidatorFn),\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t})\r\n\texport default class PersonalForm extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tmodel!: PersonalFormModel;\r\n\r\n\t\tv$ = useVuelidate();\r\n\r\n\t\t@InjectReactive()\r\n\t\tsubmitted!: boolean;\r\n\r\n\t\tpersonalForm: PersonalFormModel | null = null;\r\n\t\tphoneObject: IPhoneObject | null = null;\r\n\r\n\t\tget personalFormModel(): PersonalFormModel {\r\n\t\t\treturn this.v$[\"personalForm\"]?.$model;\r\n\t\t}\r\n\r\n\t\tget isAnyDirty(): boolean {\r\n\t\t\treturn this.v$[\"personalForm\"]?.$anyDirty;\r\n\t\t}\r\n\r\n\t\tget isValid(): boolean {\r\n\t\t\treturn !this.v$[\"personalForm\"]?.$invalid;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.personalForm = this.model;\r\n\t\t}\r\n\r\n\t\tmounted(): void {\r\n\t\t\tthis.v$[\"personalForm\"].phone?.$reset();\r\n\t\t}\r\n\r\n\t\tshouldShowError(fieldToValidate: Validation): boolean {\r\n\t\t\treturn fieldToValidate.$invalid && (this.submitted || fieldToValidate.$dirty);\r\n\t\t}\r\n\r\n\t\tonPhoneInputValidate(phoneObject: IPhoneObject): void {\r\n\t\t\tif (!this.v$[\"personalForm\"]) return;\r\n\t\t\tthis.phoneObject = phoneObject;\r\n\t\t\tthis.v$[\"personalForm\"].phone?.$validate();\r\n\t\t}\r\n\r\n\t\t/// Make sure phone input is formatted on blur\r\n\t\tonPhoneInputBlur(): void {\r\n\t\t\tif (this.phoneObject?.valid) this.v$[\"personalForm\"].phone.$model = this.phoneObject.formatted;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./personalForm.vue?vue&type=template&id=3da75ebe&ts=true\"\nimport script from \"./personalForm.vue?vue&type=script&lang=ts\"\nexport * from \"./personalForm.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-row\" }\nconst _hoisted_2 = { class: \"form-group col-md-12 col-lg-10 col-xxl-8\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_4 = { class: \"form-row\" }\nconst _hoisted_5 = { class: \"form-group col-md-6 col-lg-5 col-xxl-4\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_8 = {\n key: 1,\n class: \"p-error\"\n}\nconst _hoisted_9 = { class: \"form-group col-md-6 col-lg-5 col-xxl-4\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_11 = { class: \"form-row\" }\nconst _hoisted_12 = { class: \"form-group col-md-12 col-lg-10 col-xxl-8\" }\nconst _hoisted_13 = {\n key: 0,\n class: \"p-error\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_Dropdown = _resolveComponent(\"Dropdown\")!\n\n return (_openBlock(), _createElementBlock(\"form\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.addressForm.street?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblAddress\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.addressForm.street.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.v$.addressForm.street.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.addressForm.street) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.addressForm.street))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_3, _toDisplayString(_ctx.v$.addressForm.street?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.addressForm.postalCode?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblPostalCode\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.addressForm.postalCode.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.v$.addressForm.postalCode.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.addressForm.postalCode) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.addressForm.postalCode))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, [\n (!_ctx.v$.addressForm.postalCode.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_7, _toDisplayString(_ctx.v$.addressForm.postalCode?.required?.$message), 1))\n : (_ctx.v$.addressForm.postalCode.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_8, _toDisplayString(_ctx.v$.addressForm.postalCode.validPostalCode?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.addressForm.city?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblCity\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.addressForm.city.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.v$.addressForm.city.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.addressForm.city) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.addressForm.city))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_10, _toDisplayString(_ctx.v$.addressForm.city?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.addressForm.countryCode?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblCountry\")), 3),\n _createVNode(_component_Dropdown, {\n modelValue: _ctx.v$.addressForm.countryCode.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.v$.addressForm.countryCode.$model) = $event)),\n options: _ctx.countries,\n optionLabel: \"value\",\n optionValue: \"key\",\n disabled: _ctx.countries?.length === 1,\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.addressForm.countryCode) })\n }, null, 8, [\"modelValue\", \"options\", \"disabled\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.addressForm.countryCode))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_13, _toDisplayString(_ctx.v$.addressForm.countryCode?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { InjectReactive, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { AddressForm as AddressFormModel } from \"@/types/generated/addressForm\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { required, withI18nMessage } from \"@/types/utils/i18n-validators\";\r\n\timport useVuelidate, { Validation, ValidatorFn } from \"@vuelidate/core\";\r\n\timport { ValidationHelper } from \"@/types/helpers/validationHelper\";\r\n\r\n\tconst checkValidPostalCode = (value: string, siblings: any, vm: any): boolean => {\r\n\t\tif (!vm && siblings) vm = siblings;\r\n\t\treturn ValidationHelper.validatePostalCode(value, vm.addressForm.countryCode);\r\n\t};\r\n\r\n\t@Options({\r\n\t\tvalidations: {\r\n\t\t\taddressForm: {\r\n\t\t\t\tstreet: { required },\r\n\t\t\t\tpostalCode: {\r\n\t\t\t\t\trequired,\r\n\t\t\t\t\tvalidPostalCode: withI18nMessage(checkValidPostalCode as ValidatorFn),\r\n\t\t\t\t},\r\n\t\t\t\tcity: { required },\r\n\t\t\t\tcountryCode: { required },\r\n\t\t\t},\r\n\t\t},\r\n\t})\r\n\texport default class AddressForm extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tmodel!: AddressFormModel;\r\n\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType<{ [key: string]: string }>,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tcountries!: { [key: string]: string };\r\n\r\n\t\tv$ = useVuelidate();\r\n\r\n\t\t@InjectReactive()\r\n\t\tsubmitted!: boolean;\r\n\r\n\t\taddressForm: AddressFormModel | null = null;\r\n\r\n\t\tget addressFormModel(): AddressFormModel {\r\n\t\t\treturn this.v$[\"addressForm\"]?.$model;\r\n\t\t}\r\n\r\n\t\tget isAnyDirty(): boolean {\r\n\t\t\treturn this.v$[\"addressForm\"]?.$anyDirty;\r\n\t\t}\r\n\r\n\t\tget isValid(): boolean {\r\n\t\t\treturn !this.v$[\"addressForm\"]?.$invalid;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.addressForm = this.model;\r\n\t\t}\r\n\r\n\t\tshouldShowError(fieldToValidate: Validation): boolean {\r\n\t\t\treturn fieldToValidate.$invalid && (this.submitted || fieldToValidate.$dirty);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./addressForm.vue?vue&type=template&id=aed4dd02&ts=true\"\nimport script from \"./addressForm.vue?vue&type=script&lang=ts\"\nexport * from \"./addressForm.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-row\" }\nconst _hoisted_2 = { class: \"form-group col-md-12 col-lg-10 col-xxl-8\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_4 = { class: \"form-row\" }\nconst _hoisted_5 = { class: \"form-group col-md-6 col-lg-5 col-xxl-4\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_8 = {\n key: 1,\n class: \"p-error\"\n}\nconst _hoisted_9 = { class: \"form-group col-md-6 col-lg-5 col-xxl-4\" }\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"popover-icon pi pi-question\" }, null, -1)\nconst _hoisted_11 = [\"innerHTML\"]\nconst _hoisted_12 = { key: 0 }\nconst _hoisted_13 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_14 = {\n key: 1,\n class: \"p-error\"\n}\nconst _hoisted_15 = [\"href\"]\nconst _hoisted_16 = { class: \"form-row\" }\nconst _hoisted_17 = { class: \"form-group col-md-12 col-lg-10 col-xxl-8\" }\nconst _hoisted_18 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_19 = { class: \"form-row\" }\nconst _hoisted_20 = { class: \"form-group col-md-6 col-lg-5 col-xxl-4\" }\nconst _hoisted_21 = { key: 0 }\nconst _hoisted_22 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_23 = {\n key: 1,\n class: \"p-error\"\n}\nconst _hoisted_24 = { class: \"form-group col-md-6 col-lg-5 col-xxl-4\" }\nconst _hoisted_25 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_26 = { class: \"form-row\" }\nconst _hoisted_27 = { class: \"form-group col-md-12 col-lg-10 col-xxl-8\" }\nconst _hoisted_28 = {\n key: 0,\n class: \"p-error\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_PopoverIcon = _resolveComponent(\"PopoverIcon\")!\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Dropdown = _resolveComponent(\"Dropdown\")!\n\n return (_openBlock(), _createElementBlock(\"form\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.companyForm.companyName?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblCompanyName\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.companyForm.companyName.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.v$.companyForm.companyName.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.companyForm.companyName) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.companyForm.companyName))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_3, _toDisplayString(_ctx.v$.companyForm.companyName?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.companyForm.cocNumber?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblCocNumber\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.companyForm.cocNumber.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.v$.companyForm.cocNumber.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.companyForm.cocNumber) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.companyForm.cocNumber))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, [\n (!_ctx.v$.companyForm.cocNumber.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_7, _toDisplayString(_ctx.v$.companyForm.cocNumber?.required?.$message), 1))\n : (_ctx.v$.companyForm.cocNumber.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_8, _toDisplayString(_ctx.v$.companyForm.cocNumber.validCocNumber?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.isVatRequired })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblVatNumber\")), 3),\n _createVNode(_component_PopoverIcon, { class: \"d-inline-flex ml-0\" }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", {\n innerHTML: _ctx.$t('vat.infoIcon')\n }, null, 8, _hoisted_11)\n ]),\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n }),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.companyForm.vatNumber.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.v$.companyForm.vatNumber.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.companyForm.vatNumber) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.companyForm.vatNumber))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, [\n (_ctx.v$.companyForm.vatNumber.required?.$invalid)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_13, _toDisplayString(_ctx.v$.companyForm.vatNumber?.required?.$message), 1))\n : (_ctx.v$.companyForm.vatNumber.validVatNumber?.$invalid)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_14, [\n _createTextVNode(_toDisplayString(_ctx.v$.companyForm.vatNumber.validVatNumber?.$message) + \" \", 1),\n _createVNode(_component_i18n_t, { keypath: \"vat.invalidInfo\" }, {\n link: _withCtx(() => [\n _createElementVNode(\"a\", {\n href: _ctx.$t('vat.invalidLink'),\n target: \"_blank\"\n }, _toDisplayString(_ctx.$t(\"vat.invalidLinkPlaceholder\")), 9, _hoisted_15)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.companyForm.street?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblAddress\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.companyForm.street.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.v$.companyForm.street.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.companyForm.street) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.companyForm.street))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_18, _toDisplayString(_ctx.v$.companyForm.street?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.companyForm.postalCode?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblPostalCode\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.companyForm.postalCode.$model,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.v$.companyForm.postalCode.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.companyForm.postalCode) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.companyForm.postalCode))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_21, [\n (!_ctx.v$.companyForm.postalCode.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_22, _toDisplayString(_ctx.v$.companyForm.postalCode?.required?.$message), 1))\n : (_ctx.v$.companyForm.postalCode.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_23, _toDisplayString(_ctx.v$.companyForm.postalCode.validPostalCode?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.companyForm.city?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblCity\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.companyForm.city.$model,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.v$.companyForm.city.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.companyForm.city) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.companyForm.city))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_25, _toDisplayString(_ctx.v$.companyForm.city?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.companyForm.countryCode?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblCountry\")), 3),\n _createVNode(_component_Dropdown, {\n modelValue: _ctx.v$.companyForm.countryCode.$model,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.v$.companyForm.countryCode.$model) = $event)),\n options: _ctx.countries,\n optionLabel: \"value\",\n optionValue: \"key\",\n disabled: _ctx.countries?.length === 1,\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.companyForm.countryCode) })\n }, null, 8, [\"modelValue\", \"options\", \"disabled\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.companyForm.countryCode))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_28, _toDisplayString(_ctx.v$.companyForm.countryCode?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}","\r\n\timport { InjectReactive, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport useVuelidate, { Validation, ValidatorFn } from \"@vuelidate/core\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { required, validCoCNumber, withI18nMessage } from \"@/types/utils/i18n-validators\";\r\n\timport { helpers, requiredIf } from \"@vuelidate/validators\";\r\n\timport { ValidationHelper } from \"@/types/helpers/validationHelper\";\r\n\timport { CompanyForm as CompanyFormModel } from \"@/types/generated/companyForm\";\r\n\timport { PropType } from \"vue\";\r\n\r\n\tconst checkValidPostalCode = (value: string, siblings: any, vm: any): boolean => {\r\n\t\tif (!vm && siblings) vm = siblings;\r\n\t\treturn ValidationHelper.validatePostalCode(value, vm.companyForm.countryCode);\r\n\t};\r\n\r\n\tconst checkValidVatnumber = (value: string, siblings: any, vm: any): Promise => {\r\n\t\tif (!vm && siblings) vm = siblings;\r\n\t\treturn ValidationHelper.validateVat(value, vm.companyForm.countryCode);\r\n\t};\r\n\r\n\tconst requiredVatnumber = (_value: string, siblings: any, vm: any): boolean => {\r\n\t\tif (!vm && siblings) vm = siblings;\r\n\t\treturn ValidationHelper.checkIfVatIsRequired(vm.countryCode);\r\n\t};\r\n\r\n\t@Options({\r\n\t\tvalidations: {\r\n\t\t\tcompanyForm: {\r\n\t\t\t\tcompanyName: { required },\r\n\t\t\t\tcocNumber: { validCocNumber: validCoCNumber },\r\n\t\t\t\tvatNumber: {\r\n\t\t\t\t\trequired: requiredIf(requiredVatnumber as any),\r\n\t\t\t\t\tvalidVatNumber: withI18nMessage(helpers.withAsync(checkValidVatnumber as ValidatorFn)),\r\n\t\t\t\t},\r\n\t\t\t\tstreet: { required },\r\n\t\t\t\tpostalCode: {\r\n\t\t\t\t\trequired,\r\n\t\t\t\t\tvalidPostalCode: withI18nMessage(checkValidPostalCode as ValidatorFn),\r\n\t\t\t\t},\r\n\t\t\t\tcity: { required },\r\n\t\t\t\tcountryCode: { required },\r\n\t\t\t},\r\n\t\t},\r\n\t})\r\n\texport default class CompanyForm extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tmodel!: CompanyFormModel;\r\n\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType<{ [key: string]: string }>,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tcountries!: { [key: string]: string };\r\n\r\n\t\t@InjectReactive()\r\n\t\tsubmitted!: boolean;\r\n\r\n\t\tv$ = useVuelidate();\r\n\r\n\t\tcompanyForm: CompanyFormModel | null = null;\r\n\r\n\t\tget companyFormModel(): CompanyFormModel {\r\n\t\t\treturn this.v$[\"companyForm\"]?.$model;\r\n\t\t}\r\n\r\n\t\tget isAnyDirty(): boolean {\r\n\t\t\treturn this.v$[\"companyForm\"]?.$anyDirty;\r\n\t\t}\r\n\r\n\t\tget isValid(): boolean {\r\n\t\t\treturn !this.v$[\"companyForm\"]?.$invalid;\r\n\t\t}\r\n\r\n\t\tget isVatRequired(): boolean {\r\n\t\t\treturn ValidationHelper.checkIfVatIsRequired(this.companyForm?.countryCode || \"\");\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.companyForm = this.model;\r\n\t\t}\r\n\r\n\t\tshouldShowError(fieldToValidate: Validation): boolean {\r\n\t\t\treturn fieldToValidate.$invalid && (this.submitted || fieldToValidate.$dirty);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./companyForm.vue?vue&type=template&id=bcb099f0&ts=true\"\nimport script from \"./companyForm.vue?vue&type=script&lang=ts\"\nexport * from \"./companyForm.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop, ProvideReactive, Ref } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport useVuelidate, { Validation, ValidatorFn } from \"@vuelidate/core\";\r\n\timport axios from \"axios\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IAccountSettings } from \"@/types/interfaces/myCadac/accountSettings.interface\";\r\n\timport { ProfilePassword } from \"@/types/generated/profilePassword\";\r\n\timport { required, validPassword, withI18nMessage } from \"@/types/utils/i18n-validators\";\r\n\timport Password from \"primevue/password\";\r\n\timport PersonalForm from \"@/components/common/forms/personalForm.vue\";\r\n\timport AddressForm from \"@/components/common/forms/addressForm.vue\";\r\n\timport CompanyForm from \"@/components/common/forms/companyForm.vue\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\r\n\tconst checkMatchingPasswords = (_value: string, siblings: any, vm: any): boolean => {\r\n\t\tif (!vm && siblings) vm = siblings;\r\n\t\treturn vm.passwordForm.password === vm.passwordForm.passwordConfirm;\r\n\t};\r\n\r\n\t@Options({\r\n\t\tcomponents: { PersonalForm, AddressForm, CompanyForm, Password },\r\n\t\tvalidations: {\r\n\t\t\tpasswordForm: {\r\n\t\t\t\tpassword: { required, validPassword: validPassword },\r\n\t\t\t\tpasswordConfirm: {\r\n\t\t\t\t\trequired,\r\n\t\t\t\t\tsamePassword: withI18nMessage(checkMatchingPasswords as ValidatorFn),\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t})\r\n\texport default class AccountSettings extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) vm!: IAccountSettings;\r\n\r\n\t\tactiveTab = 0;\r\n\r\n\t\t@Ref(\"personalForm\") personalForm: PersonalForm | null = null;\r\n\t\t@Ref(\"companyForm\") companyForm: CompanyForm | null = null;\r\n\t\t@Ref(\"invoiceAddressForm\") invoiceAddressForm: AddressForm | null = null;\r\n\r\n\t\t@ProvideReactive()\r\n\t\tsubmitted = false;\r\n\r\n\t\t@ProvideReactive()\r\n\t\tv$ = useVuelidate();\r\n\r\n\t\tisLoading = false;\r\n\r\n\t\tpasswordForm: ProfilePassword | null = null;\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.passwordForm = { password: \"\", passwordConfirm: \"\" };\r\n\t\t}\r\n\r\n\t\tget canSubmit(): boolean {\r\n\t\t\treturn this.isActiveTabDirty && this.isActiveTabValid && !this.isLoading;\r\n\t\t}\r\n\r\n\t\tget isActiveTabValid(): boolean {\r\n\t\t\tswitch (this.activeTab) {\r\n\t\t\t\tcase 0:\r\n\t\t\t\t\treturn !!this.personalForm?.isValid;\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\treturn !this.v$[\"passwordForm\"]?.$invalid;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\treturn !!this.companyForm?.isValid;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\treturn !!this.invoiceAddressForm?.isValid;\r\n\t\t\t}\r\n\t\t\treturn true;\r\n\t\t}\r\n\r\n\t\tget isActiveTabDirty(): boolean {\r\n\t\t\tswitch (this.activeTab) {\r\n\t\t\t\tcase 0:\r\n\t\t\t\t\treturn !!this.personalForm?.isAnyDirty;\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\treturn this.v$[\"passwordForm\"]?.$anyDirty;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\treturn !!this.companyForm?.isAnyDirty;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\treturn !!this.invoiceAddressForm?.isAnyDirty;\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tshouldShowError(fieldToValidate: Validation): boolean {\r\n\t\t\treturn fieldToValidate.$invalid && (this.submitted || fieldToValidate.$dirty);\r\n\t\t}\r\n\r\n\t\tonTabChange(): void {\r\n\t\t\tthis.submitted = false;\r\n\t\t}\r\n\r\n\t\tonSubmitClick(): void {\r\n\t\t\tthis.submitted = true;\r\n\t\t\tif (!this.isActiveTabValid || !this.isActiveTabDirty) return;\r\n\t\t\tswitch (this.activeTab) {\r\n\t\t\t\tcase 0:\r\n\t\t\t\t\tthis.savePersonalInfo();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\tthis.savePassword();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tthis.saveCompanyInfo();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\tthis.saveInvoiceAddress();\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tprivate savePersonalInfo(): void {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\taxios\r\n\t\t\t\t.post(`/api/userprofile/updatePersonal`, this.personalForm?.personalFormModel)\r\n\t\t\t\t.then(() => this.showSuccessToast())\r\n\t\t\t\t.catch(() => this.showErrorToast())\r\n\t\t\t\t.finally(() => commonModule.decreaseLoadingCount());\r\n\t\t}\r\n\r\n\t\tprivate savePassword(): void {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\taxios\r\n\t\t\t\t.post(`/api/userprofile/updatePassword`, this.passwordForm)\r\n\t\t\t\t.then(() => this.showSuccessToast())\r\n\t\t\t\t.catch(() => this.showErrorToast())\r\n\t\t\t\t.finally(() => commonModule.decreaseLoadingCount());\r\n\t\t}\r\n\r\n\t\tprivate saveCompanyInfo(): void {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\taxios\r\n\t\t\t\t.post(`/api/userprofile/updateCompany`, this.companyForm?.companyFormModel)\r\n\t\t\t\t.then(() => this.showSuccessToast())\r\n\t\t\t\t.catch(() => this.showErrorToast())\r\n\t\t\t\t.finally(() => commonModule.decreaseLoadingCount());\r\n\t\t}\r\n\r\n\t\tprivate saveInvoiceAddress(): void {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\taxios\r\n\t\t\t\t.post(`/api/userprofile/updateInvoiceAddress`, this.invoiceAddressForm?.addressFormModel)\r\n\t\t\t\t.then(() => this.showSuccessToast())\r\n\t\t\t\t.catch(() => this.showErrorToast())\r\n\t\t\t\t.finally(() => commonModule.decreaseLoadingCount());\r\n\t\t}\r\n\r\n\t\tprivate showSuccessToast(): void {\r\n\t\t\tthis.$toast.add({\r\n\t\t\t\tseverity: \"success\",\r\n\t\t\t\tsummary: this.$t(\"common.messages.titleSuccess\"),\r\n\t\t\t\tdetail: this.$t(\"common.messages.saveChangesSuccess\"),\r\n\t\t\t\tlife: 3000,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tprivate showErrorToast(): void {\r\n\t\t\tthis.$toast.add({\r\n\t\t\t\tseverity: \"error\",\r\n\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\tdetail: this.$t(\"common.messages.saveChangesError\"),\r\n\t\t\t\tlife: 3000,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n","import { render } from \"./accountSettings.vue?vue&type=template&id=cb60fb56&ts=true\"\nimport script from \"./accountSettings.vue?vue&type=script&lang=ts\"\nexport * from \"./accountSettings.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c6dcb060\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"d-flex justify-content-between flex-column flex-lg-row\" }\nconst _hoisted_2 = { class: \"d-flex flex-column\" }\nconst _hoisted_3 = { class: \"mb-1\" }\nconst _hoisted_4 = [\"innerHTML\"]\nconst _hoisted_5 = { class: \"flex-shrink-0 m-lg-1 mt-lg-auto\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1))\nconst _hoisted_7 = { class: \"mb-1\" }\nconst _hoisted_8 = { class: \"row\" }\nconst _hoisted_9 = { class: \"d-flex justify-content-between align-items-center\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"50\",\n height: \"50\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-cadac\" })\n], -1))\nconst _hoisted_11 = { class: \"mb-0\" }\nconst _hoisted_12 = { key: 0 }\nconst _hoisted_13 = {\n key: 1,\n class: \"m-auto\"\n}\nconst _hoisted_14 = { key: 2 }\nconst _hoisted_15 = { class: \"text-black\" }\nconst _hoisted_16 = { class: \"d-flex\" }\nconst _hoisted_17 = { class: \"d-flex flex-column justify-content-between px-2\" }\nconst _hoisted_18 = { key: 0 }\nconst _hoisted_19 = { class: \"text-center my-2\" }\nconst _hoisted_20 = { class: \"ml-1\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"ml-1 pi pi-exclamation-circle text-danger\" }, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Textarea = _resolveComponent(\"Textarea\")!\n const _component_Card = _resolveComponent(\"Card\")!\n const _component_PopoverIcon = _resolveComponent(\"PopoverIcon\")!\n const _component_Panel = _resolveComponent(\"Panel\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h1\", _hoisted_3, _toDisplayString(_ctx.vm.pageTitle), 1),\n (_ctx.vm.introText)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 0,\n innerHTML: _ctx.vm.introText\n }, null, 8, _hoisted_4))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (_ctx.vm.servicePassProductPageUrl)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\r\n\t\t\t\t\t_ctx.openUrl(_ctx.vm.servicePassProductPageUrl);\r\n\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t}),\n class: \"p-button-raised p-button-success\",\n label: _ctx.$t('myCadac.serviceOverview.button.requestPass')\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _hoisted_6,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.vm.servicePasses, (group) => {\n return (_openBlock(), _createBlock(_component_Panel, {\n key: group.title,\n toggleable: false,\n class: \"mb-3\"\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"h3\", _hoisted_7, _toDisplayString(group.title), 1),\n (_ctx.hasArchivedItems(group))\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n class: \"p-button-text\",\n label: \r\n\t\t\t\t\t_ctx.showArchived[group.title]\r\n\t\t\t\t\t\t? _ctx.$t('myCadac.serviceOverview.button.hideArchived')\r\n\t\t\t\t\t\t: _ctx.$t('myCadac.serviceOverview.button.showArchived')\r\n\t\t\t\t,\n onClick: ($event: any) => (_ctx.toggleArchived(group))\n }, null, 8, [\"label\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.getItemsToShow(group), (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.servicePassId,\n class: _normalizeClass([\"col-md-6\", { isArchived: item.archived }])\n }, [\n _createVNode(_component_Card, null, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"h4\", _hoisted_11, _toDisplayString(group.title), 1)\n ])\n ]),\n content: _withCtx(() => [\n (item.showDescription)\n ? (_openBlock(), _createElementBlock(\"dl\", _hoisted_12, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.serviceOverview.panel.lblDescription\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(item.description), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isActivating[item.number])\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n (!_ctx.hasActivated[item.number] && item.status === 0)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n class: \"p-button-raised p-button-text p-button-lg\",\n label: _ctx.$t('myCadac.serviceOverview.button.activate'),\n onClick: ($event: any) => (_ctx.onActivateClick(item))\n }, null, 8, [\"label\", \"onClick\"]))\n : (_ctx.hasActivated[item.number])\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n severity: \"success\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.serviceOverview.panel.msgPlanningRequestSent\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createElementVNode(\"p\", _hoisted_15, _toDisplayString(_ctx.$t(\"myCadac.serviceOverview.panel.lblActivateHelp\")), 1),\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(_component_Textarea, {\n modelValue: item.description,\n \"onUpdate:modelValue\": ($event: any) => ((item.description) = $event),\n rows: \"3\",\n class: \"flex-grow-1\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _createElementVNode(\"div\", _hoisted_17, [\n (!_ctx.isLoading)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n class: \"p-button-text p-button-plain p-button-sm mb-1\",\n label: _ctx.$t('common.cancel'),\n onClick: ($event: any) => (_ctx.onCancelPlanningRequestClick(item))\n }, null, 8, [\"label\", \"onClick\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Button, {\n class: \"p-button-raised p-button-success p-button-sm\",\n label: _ctx.$t('myCadac.serviceOverview.button.sendPlanningRequest'),\n loading: _ctx.isLoading,\n onClick: ($event: any) => (_ctx.onSendPlanningRequestClick(item))\n }, null, 8, [\"label\", \"loading\", \"onClick\"])\n ])\n ])\n ])),\n _createElementVNode(\"dl\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.serviceOverview.panel.lblPassNumber\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(item.number), 1)\n ]),\n (item.showDate)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_18, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.serviceOverview.panel.lblDate\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.formatDate(item.scheduledOn)), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 2\n }, 1024),\n _createElementVNode(\"p\", _hoisted_19, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.serviceOverview.panel.lblStatus\")) + \" \", 1),\n _createElementVNode(\"b\", _hoisted_20, _toDisplayString(_ctx.$t(`enum.servicePassStatus.${item.status}`)), 1),\n (item.showExpirationWarning)\n ? (_openBlock(), _createBlock(_component_PopoverIcon, {\n key: 0,\n content: \r\n\t\t\t\t\t\t\t_ctx.$tc('myCadac.serviceOverview.panel.passExpiresSoon', item.expiresInDays, [item.expiresInDays])\r\n\t\t\t\t\t\t\n }, {\n default: _withCtx(() => [\n _hoisted_21\n ]),\n _: 2\n }, 1032, [\"content\"]))\n : _createCommentVNode(\"\", true)\n ])\n ], 2))\n }), 128))\n ])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ], 64))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IServiceOverview } from \"@/types/interfaces/myCadac/serviceOverview.interface\";\r\n\timport { ServicePass } from \"@/types/generated/servicePass\";\r\n\timport { ServicePassOverview } from \"@/types/generated/servicePassOverview\";\r\n\timport { sortBy } from \"lodash\";\r\n\timport { PlanningRequestForm } from \"@/types/generated/planningRequestForm\";\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\r\n\texport default class ServiceOverview extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: IServiceOverview;\r\n\r\n\t\tshowArchived: { [title: string]: boolean } = {};\r\n\t\tisActivating: { [number: string]: boolean } = {};\r\n\t\thasActivated: { [number: string]: boolean } = {};\r\n\r\n\t\tisLoading = false;\r\n\t\thasError = false;\r\n\r\n\t\tgetItemsToShow(group: ServicePassOverview): ServicePass[] {\r\n\t\t\tconst items = this.showArchived[group.title]\r\n\t\t\t\t? this.getItems(group)\r\n\t\t\t\t: this.getItems(group).filter((x) => !x.archived);\r\n\t\t\treturn sortBy(items, (x) => x.archived);\r\n\t\t}\r\n\r\n\t\ttoggleArchived(group: ServicePassOverview): void {\r\n\t\t\tthis.showArchived[group.title] = !this.showArchived[group.title];\r\n\t\t}\r\n\r\n\t\thasArchivedItems(group: ServicePassOverview): boolean {\r\n\t\t\treturn this.getItems(group).some((x) => x.archived);\r\n\t\t}\r\n\r\n\t\tonActivateClick(card: ServicePass): void {\r\n\t\t\tthis.isActivating[card.number] = true;\r\n\t\t}\r\n\r\n\t\tonSendPlanningRequestClick(card: ServicePass): void {\r\n\t\t\tthis.sendPlanningRequest(card);\r\n\t\t}\r\n\r\n\t\tonCancelPlanningRequestClick(card: ServicePass): void {\r\n\t\t\tthis.isActivating[card.number] = false;\r\n\t\t}\r\n\r\n\t\tsendPlanningRequest(card: ServicePass): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tconst data = {\r\n\t\t\t\tservicePassId: card.servicePassId,\r\n\t\t\t\tdescription: card.description,\r\n\t\t\t} as PlanningRequestForm;\r\n\t\t\taxios\r\n\t\t\t\t.post(`/api/project/sendplanningrequest`, data)\r\n\t\t\t\t.then((result) => {\r\n\t\t\t\t\tthis.isActivating[card.number] = !result.data;\r\n\t\t\t\t\tthis.hasError = !result.data;\r\n\t\t\t\t\tif (result.data) {\r\n\t\t\t\t\t\tthis.hasActivated[card.number] = true;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.showErrorToast();\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t.catch(() => {\r\n\t\t\t\t\tthis.showErrorToast();\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\r\n\t\tprivate getItems(group: ServicePassOverview): ServicePass[] {\r\n\t\t\treturn group.items as ServicePass[];\r\n\t\t}\r\n\r\n\t\tprivate showErrorToast(): void {\r\n\t\t\tthis.$toast.add({\r\n\t\t\t\tseverity: \"error\",\r\n\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\tdetail: this.$t(\"myCadac.serviceOverview.toast.sendPlanningRequestError\"),\r\n\t\t\t\tlife: 3000,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n","import { render } from \"./serviceOverview.vue?vue&type=template&id=c6dcb060&scoped=true&ts=true\"\nimport script from \"./serviceOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./serviceOverview.vue?vue&type=script&lang=ts\"\n\nimport \"./serviceOverview.vue?vue&type=style&index=0&id=c6dcb060&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c6dcb060\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex justify-content-between\" }\nconst _hoisted_2 = { class: \"mb-1\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1)\nconst _hoisted_4 = { class: \"row mb-2\" }\nconst _hoisted_5 = { class: \"col mb-1\" }\nconst _hoisted_6 = { class: \"d-flex flex-column\" }\nconst _hoisted_7 = { class: \"mb-1\" }\nconst _hoisted_8 = { class: \"mb-0\" }\nconst _hoisted_9 = [\"innerHTML\"]\nconst _hoisted_10 = {\n key: 1,\n class: \"d-flex shadow\"\n}\nconst _hoisted_11 = { class: \"d-flex flex-column\" }\nconst _hoisted_12 = { class: \"text-muted\" }\nconst _hoisted_13 = { class: \"row mb-2\" }\nconst _hoisted_14 = { class: \"col\" }\nconst _hoisted_15 = { class: \"d-flex flex-column\" }\nconst _hoisted_16 = { class: \"mb-1\" }\nconst _hoisted_17 = { class: \"mb-0\" }\nconst _hoisted_18 = { key: 0 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SelectButton = _resolveComponent(\"SelectButton\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_AccordionTab = _resolveComponent(\"AccordionTab\")!\n const _component_Accordion = _resolveComponent(\"Accordion\")!\n const _component_Panel = _resolveComponent(\"Panel\")!\n const _component_ExpertBusinessCardForm = _resolveComponent(\"ExpertBusinessCardForm\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.vm.pageTitle), 1),\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.selectedLanguage,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selectedLanguage) = $event)),\n options: _ctx.languageOptions,\n \"option-label\": \"label\",\n \"option-value\": \"value\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_Panel, { toggleable: false }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"h3\", _hoisted_7, _toDisplayString(_ctx.$t(\"myCadac.expertProfile.panel.titleExpertLevel\")), 1),\n _createElementVNode(\"p\", _hoisted_8, _toDisplayString(_ctx.$t(\"myCadac.expertProfile.panel.subtitleExpertLevel\")), 1)\n ]),\n _createVNode(_component_Button, {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.editExpertLevel())),\n class: \"p-button-raised p-button-success\",\n label: _ctx.$t('myCadac.expertProfile.button.editExpertLevel')\n }, null, 8, [\"label\"])\n ]),\n default: _withCtx(() => [\n (_ctx.isEditingExpertLevel)\n ? (_openBlock(), _createBlock(_component_Accordion, {\n key: 0,\n activeIdex: _ctx.selectedExpertLevelIndex\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.vm.expertLevels, (level, index) => {\n return (_openBlock(), _createBlock(_component_AccordionTab, { key: index }, {\n header: _withCtx(() => [\n _createVNode(_component_Avatar, {\n size: \"sm\",\n image: level.iconUrl,\n class: \"mr-2\"\n }, null, 8, [\"image\"]),\n _createElementVNode(\"span\", null, _toDisplayString(level.displayName), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n innerHTML: level.description\n }, null, 8, _hoisted_9)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"activeIdex\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createVNode(_component_Avatar, {\n size: \"lg\",\n image: _ctx.vm.currentLevel.iconUrl,\n class: \"mr-2\"\n }, null, 8, [\"image\"]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.vm.currentLevel.displayName), 1),\n _createElementVNode(\"p\", _hoisted_12, _toDisplayString(_ctx.$t(\"myCadac.expertProfile.panel.lblDayRate\", { rate: _ctx.vm.dayRate })), 1)\n ])\n ]))\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_Panel, { toggleable: false }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"h3\", _hoisted_16, _toDisplayString(_ctx.$t(\"myCadac.expertProfile.panel.titleBusinessCard\")), 1),\n _createElementVNode(\"p\", _hoisted_17, _toDisplayString(_ctx.$t(\"myCadac.expertProfile.panel.subtitleBusinessCard\")), 1)\n ]),\n _createVNode(_component_Button, {\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.editBusinessCard())),\n class: \"p-button-raised p-button-primary\",\n icon: \"pi pi-pencil\",\n label: _ctx.$t('myCadac.expertProfile.button.editBusinessCard')\n }, null, 8, [\"label\"])\n ]),\n default: _withCtx(() => [\n (!_ctx.isEditingBusinessCard)\n ? (_openBlock(), _createElementBlock(\"dl\", _hoisted_18, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.expertProfile.panel.lblFunctionTitle\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.vm.expert.function), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.$t(\"myCadac.expertProfile.panel.lblIntroduction\")), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.vm.expert.shortDescriptionTitle), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.vm.expert.shortDescription), 1),\n _createElementVNode(\"dd\", null, _toDisplayString(_ctx.vm.expert.description), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isEditingBusinessCard)\n ? (_openBlock(), _createBlock(_component_ExpertBusinessCardForm, {\n key: 1,\n vm: _ctx.businessCardFormModel\n }, null, 8, [\"vm\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ])\n ])\n ], 64))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IExpertProfile } from \"@/types/interfaces/myCadac/expertProfile.interface\";\r\n\timport { IDropdownItem } from \"@/types/interfaces/common/dropdownItem.interface\";\r\n\timport { SaveExpertOverviewForm } from \"@/types/generated/saveExpertOverviewForm\";\r\n\r\n\texport default class ExpertProfile extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: IExpertProfile;\r\n\t\tselectedLanguage = \"\";\r\n\t\tselectedExpertLevelIndex = 0;\r\n\r\n\t\tisEditingExpertLevel = false;\r\n\t\tisEditingBusinessCard = false;\r\n\t\tisEditingSpokenLanguages = false;\r\n\t\tisEditingExpertises = false;\r\n\t\tisEditingExperiences = false;\r\n\t\tisEditingAccreditations = false;\r\n\r\n\t\tcreated(): void {\r\n\t\t\tdelete this.vm[\"myCadacPage\"];\r\n\t\t\tthis.selectedLanguage = this.vm.locale;\r\n\t\t\tthis.selectedExpertLevelIndex = this.vm.expertLevels.findIndex(\r\n\t\t\t\t(x) => x.contentId === this.vm.expertLevel.contentId\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget businessCardFormModel(): SaveExpertOverviewForm {\r\n\t\t\treturn this.vm.expert;\r\n\t\t}\r\n\r\n\t\tget languageOptions(): IDropdownItem[] {\r\n\t\t\tconst displayNames = new Intl.DisplayNames([this.vm.locale], {\r\n\t\t\t\ttype: \"language\",\r\n\t\t\t\tstyle: \"short\",\r\n\t\t\t});\r\n\t\t\tconst options = [...this.vm.availableLanguages, ...this.vm.missingLanguages];\r\n\t\t\treturn options.map((x) => ({ label: displayNames.of(x), value: x })) as IDropdownItem[];\r\n\t\t}\r\n\r\n\t\teditExpertLevel(): void {\r\n\t\t\tthis.isEditingExpertLevel = true;\r\n\t\t}\r\n\r\n\t\teditBusinessCard(): void {\r\n\t\t\tthis.isEditingBusinessCard = true;\r\n\t\t}\r\n\r\n\t\teditSpokenLanguages(): void {\r\n\t\t\tthis.isEditingSpokenLanguages = true;\r\n\t\t}\r\n\r\n\t\teditExpertises(): void {\r\n\t\t\tthis.isEditingExpertises = true;\r\n\t\t}\r\n\r\n\t\teditExperiences(): void {\r\n\t\t\tthis.isEditingExperiences = true;\r\n\t\t}\r\n\r\n\t\teditAccreditations(): void {\r\n\t\t\tthis.isEditingAccreditations = true;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./expertProfile.vue?vue&type=template&id=50725c2f&ts=true\"\nimport script from \"./expertProfile.vue?vue&type=script&lang=ts\"\nexport * from \"./expertProfile.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\"))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IExpertTravelPreferences } from \"@/types/interfaces/myCadac/expertTravelPreferences.interface\";\r\n\r\n\texport default class ExpertTravelPreferences extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: IExpertTravelPreferences;\r\n\t}\r\n","import { render } from \"./expertTravelPreferences.vue?vue&type=template&id=1281d076&ts=true\"\nimport script from \"./expertTravelPreferences.vue?vue&type=script&lang=ts\"\nexport * from \"./expertTravelPreferences.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\"))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IExpertAvailability } from \"@/types/interfaces/myCadac/expertAvailability.interface\";\r\n\r\n\texport default class ExpertAvailability extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) vm!: IExpertAvailability;\r\n\t}\r\n","import { render } from \"./expertAvailability.vue?vue&type=template&id=18232929&ts=true\"\nimport script from \"./expertAvailability.vue?vue&type=script&lang=ts\"\nexport * from \"./expertAvailability.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, normalizeClass as _normalizeClass, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-678a8530\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-2\" }, null, -1))\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"col-12 mb-1\" }\nconst _hoisted_4 = { class: \"d-flex flex-column\" }\nconst _hoisted_5 = { class: \"mb-1\" }\nconst _hoisted_6 = { class: \"mb-0\" }\nconst _hoisted_7 = { class: \"d-flex align-items-center ml-1 ml-lg-0\" }\nconst _hoisted_8 = { class: \"d-flex flex-column\" }\nconst _hoisted_9 = { class: \"mb-0 text-muted d-block\" }\nconst _hoisted_10 = { class: \"mb-0 text-bold\" }\nconst _hoisted_11 = { class: \"d-flex justify-content-end\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_Panel = _resolveComponent(\"Panel\")!\n const _component_BlockUI = _resolveComponent(\"BlockUI\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.vm.pageTitle), 1),\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (!_ctx.licenceProducts?.length)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.licenceManagementOverview.message.noLicences\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (!_ctx.licencePanelUnlocked && _ctx.licenceProducts?.length)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n severity: \"warn\",\n closable: false,\n class: \"message-with-button\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_i18n_t, { keypath: \"myCadac.licenceManagementOverview.message.confirmUnlock\" }, {\n default: _withCtx(() => [\n _createVNode(_component_Button, {\n label: _ctx.$t('common.confirm'),\n class: \"p-button-sm p-button-secondary ml-auto\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.unlockPanel()))\n }, null, 8, [\"label\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.licenceProducts?.length)\n ? (_openBlock(), _createBlock(_component_BlockUI, {\n key: 2,\n blocked: !_ctx.licencePanelUnlocked,\n class: _normalizeClass(!_ctx.licencePanelUnlocked ? 'p-2' : ''),\n baseZIndex: 1\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Panel, {\n id: \"panel-softwareLicences\",\n toggleable: false\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"h3\", _hoisted_5, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementOverview.panel.titleSoftware\")), 1),\n _createElementVNode(\"p\", _hoisted_6, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementOverview.panel.subtitleSoftware\")), 1)\n ])\n ]),\n default: _withCtx(() => [\n (_ctx.licenceProducts?.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 0,\n value: _ctx.licenceProducts,\n \"responsive-layout\": \"stack\",\n \"removable-sort\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"productName\",\n sortable: false,\n header: _ctx.$t('myCadac.licenceManagementOverview.table.colProduct')\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_7, [\n (item.data.productIcon)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n size: \"large\",\n class: \"mr-1 bg-transparent flex-shrink-0\",\n image: item.data.productIconUrl,\n title: item.data.productName,\n alt: item.data.productName\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"small\", _hoisted_9, _toDisplayString(item.data.productBrand), 1),\n _createElementVNode(\"p\", _hoisted_10, _toDisplayString(item.data.productName), 1)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n header: _ctx.$t('myCadac.licenceManagementOverview.table.colLicences'),\n key: \"licenceAmount\"\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", {\n class: _normalizeClass(_ctx.isOutOfLicences(item.data) ? 'text-danger' : '')\n }, _toDisplayString(item.data.totalActiveLicences) + \" / \" + _toDisplayString(item.data.totalSeats), 3)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, { key: \"actions\" }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_11, [\n (_ctx.showBuyLicencesButton(item.data))\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: ($event: any) => {\r\n\t\t\t\t\t\t\t\t\t\t\t_ctx.openUrl(item.data.productPageUrl);\r\n\t\t\t\t\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t\t\t\t\t},\n label: _ctx.$t('myCadac.licenceManagementOverview.button.buyLicences'),\n class: \"p-button-success p-button-sm mr-auto mr-lg-1 flex-shrink-0\"\n }, null, 8, [\"onClick\", \"label\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Button, {\n onClick: ($event: any) => {\r\n\t\t\t\t\t\t\t\t\t\t\t_ctx.openUrl(`${_ctx.vm.softwareLicenceDetailUrl}?productGroupId=${item.data.id}`);\r\n\t\t\t\t\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t\t\t\t\t},\n label: \r\n\t\t\t\t\t\t\t\t\t\t\t_ctx.isSmallScreen?.value ? _ctx.$t('myCadac.licenceManagementOverview.button.viewDetails') : ''\r\n\t\t\t\t\t\t\t\t\t\t,\n title: _ctx.$t('myCadac.licenceManagementOverview.button.viewDetails'),\n icon: \"pi pi-pencil\",\n class: \"p-button-primary p-button-icon p-button-rounded p-button-raised p-button-text ml-1 flex-shrink-0\"\n }, null, 8, [\"onClick\", \"label\", \"title\"])\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"value\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"blocked\", \"class\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 64))\n}","\r\nimport { PropType } from 'vue';\r\nimport { Mixins, Prop } from 'vue-property-decorator';\r\nimport { Helpers } from '@/types/helpers/mixins';\r\nimport { ILicenceManagementOverview } from '@/types/interfaces/myCadac/licenceManagementOverview.interface';\r\nimport { LicenceProduct } from '@/types/generated/licenceProduct';\r\nimport { useSessionStorage } from '@vueuse/core';\r\nimport axios from '@/types/helpers/apiHelper';\r\nimport { AxiosResponse } from 'axios';\r\n\r\nexport default class LicenceManagementOverview extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: ILicenceManagementOverview;\r\n\r\n\t\tlicenceProducts: LicenceProduct[] = [];\r\n\r\n\t\tisLoading = false;\r\n\t\tlicencePanelUnlocked = false;\r\n\r\n\t\tcanSeeLicences = useSessionStorage(\"licenceViewUnlocked\", false);\r\n\r\n\t\tcreated(): void {\r\n\t\t\tif (this.canSeeLicences) {\r\n\t\t\t\tthis.licencePanelUnlocked = true;\r\n\t\t\t\t(this.canSeeLicences as unknown as boolean) = false;\r\n\t\t\t}\r\n\t\t\tthis.licenceProducts = this.vm.licenceProducts;\r\n\t\t\t//reload from server to make sure there are no cached changes.\r\n\t\t\tthis.getLicenceProducts();\r\n\t\t}\r\n\r\n\t\tisOutOfLicences(licenceProduct: LicenceProduct): boolean {\r\n\t\t\treturn licenceProduct.totalSeats <= licenceProduct.totalActiveLicences;\r\n\t\t}\r\n\r\n\t\tshowBuyLicencesButton(licenceProduct: LicenceProduct): boolean {\r\n\t\t\treturn this.isOutOfLicences(licenceProduct);\r\n\t\t}\r\n\r\n\t\tunlockPanel(): void {\r\n\t\t\tthis.licencePanelUnlocked = true;\r\n\t\t\t(this.canSeeLicences as unknown as boolean) = true;\r\n\t\t}\r\n\r\n\t\tconfirmUnlockPanel(): void {\r\n\t\t\tif (this.canSeeLicences) return;\r\n\t\t\t// Confirm dialog with reverse buttons\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\theader: this.$t(\"myCadac.licenceManagementOverview.dialog.confirmUnlockLicencesTitle\"),\r\n\t\t\t\tmessage: this.$t(\"myCadac.licenceManagementOverview.dialog.confirmUnlockLicencesMessage\"),\r\n\t\t\t\trejectLabel: this.$t(\"common.yes\"),\r\n\t\t\t\tacceptLabel: this.$t(\"common.no\"),\r\n\t\t\t\treject: () => {\r\n\t\t\t\t\tthis.unlockPanel();\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tgetLicenceProducts(): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\taxios\r\n\t\t\t\t.get(`/api/licenceProduct/all`)\r\n\t\t\t\t.then((result: AxiosResponse) => {\r\n\t\t\t\t\tthis.licenceProducts = result.data;\r\n\t\t\t\t\tthis.$forceUpdate();\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\t}\r\n","import { render } from \"./licenceManagementOverview.vue?vue&type=template&id=678a8530&scoped=true&ts=true\"\nimport script from \"./licenceManagementOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./licenceManagementOverview.vue?vue&type=script&lang=ts\"\n\nimport \"./licenceManagementOverview.vue?vue&type=style&index=0&id=678a8530&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-678a8530\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, createTextVNode as _createTextVNode, createBlock as _createBlock, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3b275b5a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"d-flex justify-content-between flex-wrap my-1\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"d-flex align-items-center\"\n}\nconst _hoisted_3 = [\"src\", \"alt\"]\nconst _hoisted_4 = { class: \"d-flex flex-column justify-content-between\" }\nconst _hoisted_5 = { class: \"text-muted lead mb-0\" }\nconst _hoisted_6 = { class: \"\" }\nconst _hoisted_7 = { class: \"d-flex flex-column col-lg-6\" }\nconst _hoisted_8 = { class: \"d-flex text-muted\" }\nconst _hoisted_9 = { class: \"lead mr-1 flex-grow-1 flex-shrink-0\" }\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-exclamation-circle\" }, null, -1))\nconst _hoisted_12 = {\n key: 0,\n class: \"text-muted d-flex align-items-center flex-wrap flex-lg-nowrap\"\n}\nconst _hoisted_13 = { class: \"lead mr-1 flex-grow-1 flex-shrink-0\" }\nconst _hoisted_14 = { class: \"d-flex align-items-center\" }\nconst _hoisted_15 = [\"title\"]\nconst _hoisted_16 = [\"href\"]\nconst _hoisted_17 = { class: \"d-flex justify-content-between flex-grow-1 flex-wrap\" }\nconst _hoisted_18 = { class: \"d-flex flex-column\" }\nconst _hoisted_19 = { class: \"mb-1\" }\nconst _hoisted_20 = { class: \"ml-auto col-md-6 col-xl-4 p-0\" }\nconst _hoisted_21 = { class: \"p-input-icon-left w-100\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-search\" }, null, -1))\nconst _hoisted_23 = {\n key: 0,\n class: \"text-danger d-flex flex-nowrap\"\n}\nconst _hoisted_24 = { class: \"mr-1\" }\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-exclamation-circle\" }, null, -1))\nconst _hoisted_26 = { key: 1 }\nconst _hoisted_27 = {\n key: 0,\n class: \"d-flex justify-content-lg-end justify-content-between w-100\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BackButton = _resolveComponent(\"BackButton\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_PopoverIcon = _resolveComponent(\"PopoverIcon\")!\n const _component_Inplace = _resolveComponent(\"Inplace\")!\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_Panel = _resolveComponent(\"Panel\")!\n const _component_LicenceFormModal = _resolveComponent(\"LicenceFormModal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BackButton, {\n label: _ctx.$t('myCadac.licenceManagementDetail.button.back'),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.onBackClick()))\n }, null, 8, [\"label\"]),\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.selectedLicenceProduct)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: _ctx.selectedLicenceProduct?.productIconUrl,\n alt: _ctx.selectedLicenceProduct?.productName,\n class: \"mr-2 align-self-start\",\n width: \"67\",\n height: \"67\"\n }, null, 8, _hoisted_3),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"p\", _hoisted_5, _toDisplayString(_ctx.selectedLicenceProduct?.productBrand), 1),\n _createElementVNode(\"h1\", _hoisted_6, _toDisplayString(_ctx.selectedLicenceProduct?.productName), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_Button, {\n onClick: _cache[1] || (_cache[1] = ($event: any) => {\r\n\t\t\t\t\t_ctx.openUrl(_ctx.selectedLicenceProduct?.productPageUrl);\r\n\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t}),\n label: _ctx.$t('myCadac.licenceManagementDetail.button.buyLicences'),\n class: \"p-button-success p-button-raised mr-1 flex-shrink-0\"\n }, null, 8, [\"label\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"span\", _hoisted_9, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.lblNumberOfLicences\")), 1),\n _createElementVNode(\"b\", {\n class: _normalizeClass([\"mx-1 text-bold text-black\", { 'text-danger': !_ctx.hasAvailableLicences }])\n }, _toDisplayString(_ctx.selectedLicenceProduct?.totalActiveLicences) + \" / \" + _toDisplayString(_ctx.selectedLicenceProduct?.totalSeats), 3),\n (!_ctx.hasAvailableLicences)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, [\n _createVNode(_component_PopoverIcon, {\n class: \"d-inline-flex text-danger\",\n style: {\"line-height\":\"1.75rem\"},\n placement: \"right\"\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.licenceLimitReached\")), 1)\n ]),\n default: _withCtx(() => [\n _hoisted_11\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.selectedLicenceProduct?.applicationKeyAllowed && _ctx.selectedLicenceProduct?.applicationKey)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createElementVNode(\"span\", _hoisted_13, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.lblApplicationKey\")), 1),\n _createVNode(_component_Inplace, { closable: false }, {\n display: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.lblShowApplicationKey\")), 1)\n ]),\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"p\", {\n class: \"m-0 limit-line-width text-truncate text-bold text-black\",\n title: _ctx.selectedLicenceProduct?.applicationKey\n }, _toDisplayString(_ctx.selectedLicenceProduct?.applicationKey), 9, _hoisted_15),\n _createVNode(_component_Button, {\n class: \"p-button-outlined p-button-secondary copy-button\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.copyTextToClipboard(_ctx.selectedLicenceProduct?.applicationKey))),\n icon: \"pi pi-copy\"\n })\n ])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (!_ctx.hasAvailableLicences && _ctx.vm.licenceOveruseAllowed)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"error\",\n icon: \"pi pi-exclamation-triangle\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createVNode(_component_i18n_t, { keypath: \"myCadac.licenceManagementDetail.message.overUsageAllowed\" }, {\n link: _withCtx(() => [\n _createElementVNode(\"a\", {\n href: _ctx.overuseSupportUrl,\n target: \"_blank\"\n }, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.message.overUsageAllowed_linkText\")), 9, _hoisted_16)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Panel, {\n id: \"panel-licences\",\n toggleable: false,\n class: \"my-3\"\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"h3\", _hoisted_19, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.panel.titleLicences\")), 1)\n ]),\n (_ctx.hasAvailableLicences || _ctx.vm.licenceOveruseAllowed)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.onAddLicenceClick())),\n label: _ctx.$t('myCadac.licenceManagementDetail.button.addLicence'),\n icon: \"pi pi-plus\",\n class: \"p-button-primary mr-lg-1 ml-0 flex-shrink-0\"\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_DataTable, {\n value: _ctx.allLicences,\n \"responsive-layout\": \"stack\",\n \"removable-sort\": \"\",\n \"auto-layout\": \"\",\n \"data-key\": \"id\",\n paginator: _ctx.showPagination,\n rows: _ctx.maxRowsToShow,\n \"row-class\": _ctx.getRowClass,\n globalFilterFields: ['fullName', 'name', 'email'],\n filters: _ctx.licenceFilters,\n \"onUpdate:filters\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.licenceFilters) = $event))\n }, {\n empty: _withCtx(() => [\n (!_ctx.allLicences?.length)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"warn\",\n closable: false,\n class: \"my-0\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.message.noLicences\")), 1)\n ]),\n _: 1\n }))\n : (_ctx.licenceFilters['global'].value)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n severity: \"warn\",\n closable: false,\n class: \"my-0\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.message.noLicencesFound\", [_ctx.licenceFilters[\"global\"].value])), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"span\", _hoisted_21, [\n _hoisted_22,\n _createVNode(_component_InputText, {\n modelValue: _ctx.licenceFilters['global'].value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.licenceFilters['global'].value) = $event)),\n placeholder: _ctx.$t('myCadac.licenceManagementDetail.table.searchLicence_placeholder')\n }, null, 8, [\"modelValue\", \"placeholder\"])\n ])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"displayName\",\n header: _ctx.$t('myCadac.licenceManagementDetail.table.colName'),\n key: \"displayName\",\n sortable: true\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"email\",\n header: _ctx.$t('myCadac.licenceManagementDetail.table.colEmail'),\n key: \"email\",\n sortable: true\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n header: _ctx.$t('myCadac.licenceManagementDetail.table.colRoles'),\n key: \"roles\"\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.getRoleDescriptions(item.data).join(\",\")), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"licenceType\",\n header: _ctx.$t('myCadac.licenceManagementDetail.table.colType'),\n key: \"licenceType\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(`enum.licenceType.${item.data.licenceType}`)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"endDate\",\n sortable: true,\n header: _ctx.$t('myCadac.licenceManagementDetail.table.colDate'),\n key: \"endDate\"\n }, {\n body: _withCtx((item) => [\n (_ctx.shouldShowContractExpirationWarning(item.data))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_23, [\n _createElementVNode(\"span\", _hoisted_24, _toDisplayString(_ctx.formatDate(_ctx.getContractExpirationDate(item.data))), 1),\n _createVNode(_component_PopoverIcon, {\n class: \"d-inline-flex\",\n style: {\"line-height\":\"1.75rem\"}\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$tc(\"myCadac.contractOverview.table.contractExpirationWarning\", {\r\n\t\t\t\t\t\t\t\t\t\t\tcount: _ctx.getRemainingContractDays(item.data),\r\n\t\t\t\t\t\t\t\t\t\t})), 1)\n ]),\n default: _withCtx(() => [\n _hoisted_25\n ]),\n _: 2\n }, 1024)\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_26, _toDisplayString(_ctx.formatDate(_ctx.getContractExpirationDate(item.data))), 1))\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, { key: \"actions\" }, {\n body: _withCtx((item) => [\n (!_ctx.shouldShowPendingDeletionWarning(item.data))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_27, [\n _createVNode(_component_Button, {\n onClick: ($event: any) => (_ctx.onEditLicenceClick(item.data)),\n label: _ctx.isSmallScreen?.value ? _ctx.$t('common.edit') : '',\n title: _ctx.$t('common.edit'),\n icon: \"pi pi-pencil\",\n class: \"p-button-primary p-button-icon p-button-rounded p-button-raised p-button-text flex-shrink-0\"\n }, null, 8, [\"onClick\", \"label\", \"title\"]),\n _createVNode(_component_Button, {\n onClick: ($event: any) => (_ctx.onDeleteLicenceClick(item.data)),\n label: _ctx.isSmallScreen?.value ? _ctx.$t('common.remove') : '',\n title: _ctx.$t('common.remove'),\n icon: \"pi pi-trash\",\n class: \"p-button-danger p-button-icon p-button-rounded p-button-raised p-button-text flex-shrink-0 ml-1\"\n }, null, 8, [\"onClick\", \"label\", \"title\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([{ 'warning-message': !_ctx.isSmallScreen?.value }, \"text-warning lg-end w-100\"])\n }, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.table.pendingDeletionWarning\")), 3))\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"value\", \"paginator\", \"rows\", \"row-class\", \"filters\"])\n ]),\n _: 1\n }),\n (_ctx.showLicenceFormModal)\n ? (_openBlock(), _createBlock(_component_LicenceFormModal, {\n key: 1,\n vm: _ctx.vm,\n onLicenceSaved: _cache[6] || (_cache[6] = ($event: any) => (_ctx.onLicenceSaved($event)))\n }, null, 8, [\"vm\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { getModule, Module, Mutation, VuexModule } from 'vuex-module-decorators';\r\nimport store from '@/store';\r\nimport { LicenceProduct } from '@/types/generated/licenceProduct';\r\nimport { Licence } from '@/types/generated/licence';\r\n\r\n/* Dynamic module injection in store object */\r\n@Module({ name: 'licence', dynamic: true, store })\r\nclass LicenceModule extends VuexModule {\r\n\tcanSeeLicences = false;\r\n\tshowLicenceFormModal = false;\r\n\tshowServerLicenceFormModal = false;\r\n\r\n\tselectedLicence: Licence | null = null;\r\n\tselectedLicenceProduct: LicenceProduct | null = null;\r\n\r\n\t@Mutation\r\n\tpublic setShowLicenceFormModal(value: boolean): void {\r\n\t\tthis.showLicenceFormModal = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setShowServerLicenceFormModal(value: boolean): void {\r\n\t\tthis.showServerLicenceFormModal = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setCanSeeLicences(value: boolean): void {\r\n\t\tthis.canSeeLicences = value;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setSelectedLicence(licence: Licence | null): void {\r\n\t\tthis.selectedLicence = licence;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setSelectedLicenceProduct(licenceProduct: LicenceProduct | null): void {\r\n\t\tthis.selectedLicenceProduct = licenceProduct;\r\n\t}\r\n}\r\n\r\nexport default getModule(LicenceModule);\r\n","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"mb-0\" }\nconst _hoisted_2 = { class: \"form-row\" }\nconst _hoisted_3 = { class: \"form-group col-12\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_5 = {\n key: 2,\n class: \"p-field-checkbox mr-2 mb-2\"\n}\nconst _hoisted_6 = {\n for: \"sendEmailToLicenseUser\",\n class: \"ml-1 mb-0\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Dropdown = _resolveComponent(\"Dropdown\")!\n const _component_UserLicenceForm = _resolveComponent(\"UserLicenceForm\")!\n const _component_ServerLicenceForm = _resolveComponent(\"ServerLicenceForm\")!\n const _component_Checkbox = _resolveComponent(\"Checkbox\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Dialog = _resolveComponent(\"Dialog\")!\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isVisible,\n \"onUpdate:visible\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.isVisible) = $event)),\n modal: true,\n onHide: _cache[5] || (_cache[5] = ($event: any) => (_ctx.onCancel())),\n breakpoints: { '1600px': '40vw', '1200px': '50vw', '992px': '60vw', '768px': '75vw', '576px': '90vw' },\n style: { width: '30vw' }\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"h3\", _hoisted_1, _toDisplayString(this.selectedLicence\r\n\t\t\t\t\t\t? _ctx.$t(\"myCadac.licenceManagementDetail.dialog.titleEditLicence\")\r\n\t\t\t\t\t\t: _ctx.$t(\"myCadac.licenceManagementDetail.dialog.titleNewLicence\")), 1)\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_Button, {\n label: _ctx.$t('common.cancel'),\n class: \"p-button-text p-button-plain\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.onCancel()))\n }, null, 8, [\"label\"]),\n _createVNode(_component_Button, {\n label: _ctx.isEditing ? _ctx.$t('common.save') : _ctx.$t('common.add'),\n disabled: !_ctx.canSubmit,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.onSubmit()))\n }, null, 8, [\"label\", \"disabled\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"form\", null, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['licenceForm'].licenceType?.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.dialog.lblLicenceType\")), 3),\n _createVNode(_component_Dropdown, {\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$['licenceForm'].licenceType) }),\n options: _ctx.possibleLicenceTypes,\n \"option-label\": \"label\",\n \"option-value\": \"value\",\n modelValue: _ctx.v$['licenceForm'].licenceType.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.v$['licenceForm'].licenceType.$model) = $event)),\n disabled: _ctx.possibleLicenceTypes.length === 1\n }, null, 8, [\"class\", \"options\", \"modelValue\", \"disabled\"]),\n (_ctx.shouldShowError(_ctx.v$['licenceForm'].licenceType))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_4, _toDisplayString(_ctx.v$[\"licenceForm\"].licenceType?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.isUserLicence)\n ? (_openBlock(), _createBlock(_component_UserLicenceForm, {\n key: 0,\n submitted: _ctx.submitted\n }, null, 8, [\"submitted\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isServerLicence)\n ? (_openBlock(), _createBlock(_component_ServerLicenceForm, {\n key: 1,\n submitted: _ctx.submitted\n }, null, 8, [\"submitted\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isEditing)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode(_component_Checkbox, {\n id: \"sendEmailToLicenseUser\",\n name: \"sendEmailToLicenseUser\",\n modelValue: _ctx.v$['licenceForm'].sendEmailToLicenseUser.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.v$['licenceForm'].sendEmailToLicenseUser.$model) = $event)),\n binary: \"\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.dialog.lblSendEmailToLicenceUser\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-row\" }\nconst _hoisted_2 = { class: \"form-group col-12\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_4 = { class: \"form-row\" }\nconst _hoisted_5 = { class: \"form-group col-md-12\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_7 = {\n key: 1,\n class: \"p-error\"\n}\nconst _hoisted_8 = {\n key: 0,\n class: \"form-row\"\n}\nconst _hoisted_9 = { class: \"form-group col-md-12\" }\nconst _hoisted_10 = { class: \"d-flex align-items-start flex-wrap\" }\nconst _hoisted_11 = [\"for\"]\nconst _hoisted_12 = {\n key: 0,\n class: \"p-error\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_Checkbox = _resolveComponent(\"Checkbox\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['serverLicenceForm'].serverName?.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.dialog.lblName\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$['serverLicenceForm'].serverName.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.v$['serverLicenceForm'].serverName.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$['serverLicenceForm'].serverName) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$['serverLicenceForm'].serverName))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_3, _toDisplayString(_ctx.v$[\"serverLicenceForm\"].serverName?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['serverLicenceForm'].email?.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.dialog.lblEmail\")), 3),\n _createVNode(_component_InputText, {\n type: \"email\",\n modelValue: _ctx.v$['serverLicenceForm'].email.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.v$['serverLicenceForm'].email.$model) = $event)),\n disabled: _ctx.isEditing,\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$['serverLicenceForm'].email) })\n }, null, 8, [\"modelValue\", \"disabled\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$['serverLicenceForm'].email) && !_ctx.v$['serverLicenceForm'].email.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_6, _toDisplayString(_ctx.v$[\"serverLicenceForm\"].email?.required?.$message), 1))\n : (_ctx.shouldShowError(_ctx.v$['serverLicenceForm'].email) && _ctx.v$['serverLicenceForm'].email.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_7, _toDisplayString(_ctx.v$[\"serverLicenceForm\"].email.email?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.selectedLicenceProduct.possibleRoles?.length > 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['serverLicenceForm'].roles?.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.dialog.lblRoles\")), 3),\n _createElementVNode(\"div\", _hoisted_10, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.selectedLicenceProduct.possibleRoles, (role, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"p-field-checkbox mr-2 mb-2\",\n key: index\n }, [\n _createVNode(_component_Checkbox, {\n id: `role${index}`,\n name: \"roles\",\n modelValue: _ctx.v$['serverLicenceForm'].roles.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.v$['serverLicenceForm'].roles.$model) = $event)),\n value: role\n }, null, 8, [\"id\", \"modelValue\", \"value\"]),\n _createElementVNode(\"label\", {\n for: `role${index}`,\n class: \"ml-1 mb-0\"\n }, _toDisplayString(_ctx.$i18n.locale === \"nl\" ? role.descriptionNL : role.descriptionEN), 9, _hoisted_11)\n ]))\n }), 128))\n ]),\n (_ctx.shouldShowError(_ctx.v$['serverLicenceForm'].roles))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_12, _toDisplayString(_ctx.v$[\"serverLicenceForm\"].roles?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\r\n\timport { InjectReactive, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { LicenceRole } from \"@/types/generated/licenceRole\";\r\n\timport { LicenceProduct } from \"@/types/generated/licenceProduct\";\r\n\timport licenceModule from \"@/store/modules/licenceModule\";\r\n\timport { Validation } from \"@vuelidate/core\";\r\n\timport Checkbox from \"primevue/checkbox\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { ILicenceManagementDetail } from \"@/types/interfaces/myCadac/licenceManagementDetail.interface\";\r\n\timport { Licence } from \"@/types/generated/licence\";\r\n\r\n\t@Options({ components: { Checkbox } })\r\n\texport default class ServerLicenceForm extends Mixins(Helpers) {\r\n\t\t@InjectReactive() vm!: ILicenceManagementDetail;\r\n\t\t@InjectReactive() v$;\r\n\t\t@Prop({ required: false, default: false }) submitted!: boolean;\r\n\r\n\t\tisEditing = false;\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.v$.serverLicenceForm.roles.$model = [];\r\n\t\t\tthis.v$.serverLicenceForm.$reset();\r\n\t\t\tthis.isEditing = !!this.selectedLicence?.id;\r\n\r\n\t\t\tconsole.log(this.v$.serverLicenceForm.roles.$model);\r\n\t\t\tif (licenceModule.selectedLicenceProduct?.possibleRoles.length === 1)\r\n\t\t\t\tthis.v$.serverLicenceForm.roles.$model = licenceModule.selectedLicenceProduct?.possibleRoles;\r\n\t\t}\r\n\r\n\t\tget selectedLicenceProduct(): LicenceProduct | null {\r\n\t\t\treturn licenceModule.selectedLicenceProduct;\r\n\t\t}\r\n\r\n\t\tget selectedLicence(): Licence | null {\r\n\t\t\treturn licenceModule.selectedLicence;\r\n\t\t}\r\n\r\n\t\tget possibleRoles(): string[] {\r\n\t\t\treturn (this.selectedLicenceProduct?.possibleRoles as LicenceRole[]).map((x) =>\r\n\t\t\t\tthis.$i18n.locale === \"nl\" ? x.descriptionNL : x.descriptionEN\r\n\t\t\t) as string[];\r\n\t\t}\r\n\r\n\t\tshouldShowError(fieldToValidate: Validation): boolean {\r\n\t\t\treturn fieldToValidate.$invalid && (this.submitted || fieldToValidate.$dirty);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./serverLicenceForm.vue?vue&type=template&id=34e9d5c2&ts=true\"\nimport script from \"./serverLicenceForm.vue?vue&type=script&lang=ts\"\nexport * from \"./serverLicenceForm.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-row\" }\nconst _hoisted_2 = { class: \"form-group col-md-6\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_4 = { class: \"form-group col-md-6\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_6 = { class: \"form-row\" }\nconst _hoisted_7 = { class: \"form-group col-md-12\" }\nconst _hoisted_8 = { class: \"p-inputgroup\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_10 = {\n key: 1,\n class: \"p-error\"\n}\nconst _hoisted_11 = {\n key: 0,\n class: \"form-row\"\n}\nconst _hoisted_12 = { class: \"form-group col-md-12\" }\nconst _hoisted_13 = { class: \"d-flex align-items-start flex-wrap\" }\nconst _hoisted_14 = [\"for\"]\nconst _hoisted_15 = {\n key: 0,\n class: \"p-error\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Checkbox = _resolveComponent(\"Checkbox\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.userLicenceForm.firstName?.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.dialog.lblFirstName\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.userLicenceForm.firstName.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.v$.userLicenceForm.firstName.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.userLicenceForm.firstName) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.userLicenceForm.firstName))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_3, _toDisplayString(_ctx.v$.userLicenceForm.firstName?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.userLicenceForm.lastName?.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.dialog.lblLastName\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.userLicenceForm.lastName.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.v$.userLicenceForm.lastName.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.userLicenceForm.lastName) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.userLicenceForm.lastName))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_5, _toDisplayString(_ctx.v$.userLicenceForm.lastName?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.userLicenceForm.email?.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.dialog.lblEmail\")), 3),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_InputText, {\n type: \"email\",\n modelValue: _ctx.v$['userLicenceForm'].email.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.v$['userLicenceForm'].email.$model) = $event)),\n disabled: _ctx.isEditing,\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$['userLicenceForm'].email) })\n }, null, 8, [\"modelValue\", \"disabled\", \"class\"]),\n (_ctx.canSendEmail)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n title: _ctx.$t('myCadac.licenceManagementDetail.dialog.btnSendEmail'),\n icon: \"pi pi-envelope\",\n class: \"p-button-outlined\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.onResendEmailClick()))\n }, null, 8, [\"title\"]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.shouldShowError(_ctx.v$.userLicenceForm.email) && !_ctx.v$.userLicenceForm.email.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_9, _toDisplayString(_ctx.v$.userLicenceForm.email?.required?.$message), 1))\n : (_ctx.shouldShowError(_ctx.v$.userLicenceForm.email) && _ctx.v$.userLicenceForm.email.$model)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_10, _toDisplayString(_ctx.v$.userLicenceForm.email.email?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.selectedLicenceProduct.possibleRoles?.length > 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.userLicenceForm.roles?.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.dialog.lblRoles\")), 3),\n _createElementVNode(\"div\", _hoisted_13, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.selectedLicenceProduct.possibleRoles, (role, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"p-field-checkbox mr-2 mb-2\",\n key: index\n }, [\n _createVNode(_component_Checkbox, {\n id: `role${index}`,\n name: \"roles\",\n modelValue: _ctx.v$.userLicenceForm.roles.$model,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.v$.userLicenceForm.roles.$model) = $event)),\n value: role\n }, null, 8, [\"id\", \"modelValue\", \"value\"]),\n _createElementVNode(\"label\", {\n for: `role${index}`,\n class: \"ml-1 mb-0\"\n }, _toDisplayString(_ctx.$i18n.locale === \"nl\" ? role.descriptionNL : role.descriptionEN), 9, _hoisted_14)\n ]))\n }), 128))\n ]),\n (_ctx.shouldShowError(_ctx.v$.userLicenceForm.roles))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_15, _toDisplayString(_ctx.v$.userLicenceForm.roles?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\r\n\timport { InjectReactive, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { LicenceRole } from \"@/types/generated/licenceRole\";\r\n\timport { LicenceProduct } from \"@/types/generated/licenceProduct\";\r\n\timport licenceModule from \"@/store/modules/licenceModule\";\r\n\timport { Validation } from \"@vuelidate/core\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport Checkbox from \"primevue/checkbox\";\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\timport { Licence } from \"@/types/generated/licence\";\r\n\timport { ILicenceManagementDetail } from \"@/types/interfaces/myCadac/licenceManagementDetail.interface\";\r\n\r\n\t@Options({ components: { Checkbox } })\r\n\texport default class UserLicenceForm extends Mixins(Helpers) {\r\n\t\t@InjectReactive() vm!: ILicenceManagementDetail;\r\n\t\t@InjectReactive() v$;\r\n\t\t@Prop({ required: false, default: false }) submitted!: boolean;\r\n\r\n\t\tisEditing = false;\r\n\t\tisLoading = false;\r\n\t\tcanSendEmail = false;\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.v$.userLicenceForm.roles.$model = [];\r\n\t\t\tthis.v$.userLicenceForm.$reset();\r\n\r\n\t\t\tthis.isEditing = !!this.selectedLicence?.id;\r\n\t\t\tthis.canSendEmail = this.isEditing && this.vm.licenceProduct.sendLicenceNotification;\r\n\r\n\t\t\tif (licenceModule.selectedLicenceProduct?.possibleRoles.length === 1)\r\n\t\t\t\tthis.v$.userLicenceForm.roles.$model = licenceModule.selectedLicenceProduct?.possibleRoles;\r\n\t\t}\r\n\r\n\t\tget selectedLicenceProduct(): LicenceProduct | null {\r\n\t\t\treturn licenceModule.selectedLicenceProduct;\r\n\t\t}\r\n\r\n\t\tget selectedLicence(): Licence | null {\r\n\t\t\treturn licenceModule.selectedLicence;\r\n\t\t}\r\n\r\n\t\tget possibleRoles(): string[] {\r\n\t\t\treturn (this.selectedLicenceProduct?.possibleRoles as LicenceRole[]).map((x) =>\r\n\t\t\t\tthis.$i18n.locale === \"nl\" ? x.descriptionNL : x.descriptionEN\r\n\t\t\t) as string[];\r\n\t\t}\r\n\r\n\t\tshouldShowError(fieldToValidate: Validation): boolean {\r\n\t\t\treturn fieldToValidate.$invalid && (this.submitted || fieldToValidate.$dirty);\r\n\t\t}\r\n\r\n\t\tonResendEmailClick(): void {\r\n\t\t\tif (this.v$.userLicenceForm.email.$invalid) return;\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\theader: this.$t(\"myCadac.licenceManagementDetail.dialog.confirmResendEmailTitle\"),\r\n\t\t\t\tmessage: this.$t(\"myCadac.licenceManagementDetail.dialog.confirmResendEmailMessage\", [\r\n\t\t\t\t\tthis.v$.userLicenceForm.email.$model,\r\n\t\t\t\t]),\r\n\t\t\t\tacceptLabel: this.$t(\"common.yes\"),\r\n\t\t\t\trejectLabel: this.$t(\"common.no\"),\r\n\t\t\t\taccept: () => {\r\n\t\t\t\t\tthis.resendEmail();\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tprivate resendEmail(): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tthis.canSendEmail = false;\r\n\t\t\taxios\r\n\t\t\t\t.post(`/api/licence/sendlicencenotification/${this.selectedLicence?.id}`)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleSuccess\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.licenceManagementDetail.toast.resendEmailSuccess\", [\r\n\t\t\t\t\t\t\tthis.v$.userLicenceForm.email.$model,\r\n\t\t\t\t\t\t]),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tthis.canSendEmail = true;\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.licenceManagementDetail.toast.resendEmailError\", [\r\n\t\t\t\t\t\t\tthis.v$.userLicenceForm.email.$model,\r\n\t\t\t\t\t\t]),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\t}\r\n","import { render } from \"./userLicenceForm.vue?vue&type=template&id=0990dc6a&ts=true\"\nimport script from \"./userLicenceForm.vue?vue&type=script&lang=ts\"\nexport * from \"./userLicenceForm.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","/* Auto Generated */\r\n\r\nexport enum LicenceStatus {\r\n unassigned = 229380000,\r\n assigned = 229380001,\r\n deleted = 229380002,\r\n}\r\n","/* Auto Generated */\r\n\r\nexport enum LicenceType {\r\n user = 229380000,\r\n server = 229380001,\r\n service = 229380002,\r\n connector = 229380003,\r\n}\r\n","\r\n\timport Checkbox from \"primevue/checkbox\";\r\n\timport ServerLicenceForm from \"@/components/licenceManagement/serverLicenceForm.vue\";\r\n\timport UserLicenceForm from \"@/components/licenceManagement/userLicenceForm.vue\";\r\n\timport licenceModule from \"@/store/modules/licenceModule\";\r\n\timport useVuelidate, { Validation } from \"@vuelidate/core\";\r\n\timport { Emit, Mixins, Prop, ProvideReactive } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IDropdownItem } from \"@/types/interfaces/common/dropdownItem.interface\";\r\n\timport { ILicenceManagementDetail } from \"@/types/interfaces/myCadac/licenceManagementDetail.interface\";\r\n\timport { Licence } from \"@/types/generated/licence\";\r\n\timport { LicenceForm } from \"@/types/generated/licenceForm\";\r\n\timport { LicenceStatus } from \"@/types/generated/licenceStatus\";\r\n\timport { LicenceType } from \"@/types/generated/licenceType\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { email, minLength, required } from \"@/types/utils/i18n-validators\";\r\n\timport { merge } from \"lodash\";\r\n\r\n\t@Options({\r\n\t\tcomponents: { UserLicenceForm, ServerLicenceForm, Checkbox },\r\n\t\temits: [\"licence-saved\"],\r\n\t\tvalidations: {\r\n\t\t\tlicenceForm: { licenceType: { required }, sendEmailToLicenseUser: { required } },\r\n\t\t\tserverLicenceForm: {\r\n\t\t\t\tserverName: { required },\r\n\t\t\t\temail: { required, email },\r\n\t\t\t\troles: { required, minLength: minLength(1) },\r\n\t\t\t},\r\n\t\t\tuserLicenceForm: {\r\n\t\t\t\tfirstName: { required },\r\n\t\t\t\tlastName: { required },\r\n\t\t\t\temail: { required, email },\r\n\t\t\t\troles: { required, minLength: minLength(1) },\r\n\t\t\t},\r\n\t\t},\r\n\t})\r\n\texport default class LicenceFormModal extends Mixins(Helpers) {\r\n\t\t@ProvideReactive()\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: ILicenceManagementDetail;\r\n\r\n\t\t@ProvideReactive() v$ = useVuelidate();\r\n\r\n\t\tisEditing = false;\r\n\t\tsubmitted = false;\r\n\t\tisLoading = false;\r\n\t\tisVisible = true;\r\n\r\n\t\tlicenceForm: LicenceForm | null = null;\r\n\t\tserverLicenceForm: Partial | null = null;\r\n\t\tuserLicenceForm: Partial | null = null;\r\n\r\n\t\t@Emit()\r\n\t\tlicenceSaved(): LicenceForm {\r\n\t\t\treturn {\r\n\t\t\t\t...this.licenceFormModel,\r\n\t\t\t\tid: this.selectedLicence?.id || \"\",\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.isEditing = !!this.selectedLicence?.id;\r\n\t\t\tconst formData: LicenceForm = this.selectedLicence\r\n\t\t\t\t? { ...this.selectedLicence, sendEmailToLicenseUser: !this.isEditing }\r\n\t\t\t\t: {\r\n\t\t\t\t\t\tfirstName: \"\",\r\n\t\t\t\t\t\tlastName: \"\",\r\n\t\t\t\t\t\temail: \"\",\r\n\t\t\t\t\t\troles: [],\r\n\t\t\t\t\t\tserverName: \"\",\r\n\t\t\t\t\t\tlicenceStatus: LicenceStatus.assigned,\r\n\t\t\t\t\t\tlicenceType: LicenceType.user,\r\n\t\t\t\t\t\tsendEmailToLicenseUser: !this.isEditing,\r\n\t\t\t\t };\r\n\t\t\tthis.licenceForm = formData;\r\n\t\t\tthis.serverLicenceForm = formData;\r\n\t\t\tthis.userLicenceForm = formData;\r\n\t\t}\r\n\r\n\t\tget isUserLicence(): boolean {\r\n\t\t\treturn this.v$[\"licenceForm\"].$model.licenceType === LicenceType.user;\r\n\t\t}\r\n\r\n\t\tget isServerLicence(): boolean {\r\n\t\t\treturn this.v$[\"licenceForm\"].$model.licenceType === LicenceType.server;\r\n\t\t}\r\n\r\n\t\tget licenceFormModel(): LicenceForm {\r\n\t\t\tif (this.isUserLicence) {\r\n\t\t\t\treturn merge(this.v$[\"licenceForm\"].$model, this.v$[\"userLicenceForm\"].$model);\r\n\t\t\t} else if (this.isServerLicence) {\r\n\t\t\t\treturn merge(this.v$[\"licenceForm\"].$model, this.v$[\"serverLicenceForm\"].$model);\r\n\t\t\t}\r\n\t\t\treturn this.v$[\"licenceForm\"].$model;\r\n\t\t}\r\n\r\n\t\tget canSubmit(): boolean {\r\n\t\t\treturn !this.v$[\"licenceForm\"].$invalid && this.isSubformValid && !this.isLoading;\r\n\t\t}\r\n\r\n\t\tget isSubformValid(): boolean {\r\n\t\t\tswitch (this.v$[\"licenceForm\"].licenceType.$model) {\r\n\t\t\t\tcase LicenceType.user:\r\n\t\t\t\t\treturn !this.v$[\"userLicenceForm\"].$invalid && this.v$[\"userLicenceForm\"].$anyDirty;\r\n\t\t\t\tcase LicenceType.server:\r\n\t\t\t\t\treturn !this.v$[\"serverLicenceForm\"].$invalid && this.v$[\"serverLicenceForm\"].$anyDirty;\r\n\t\t\t\tcase LicenceType.service:\r\n\t\t\t\tcase LicenceType.connector:\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tget selectedLicence(): Licence | null {\r\n\t\t\treturn licenceModule.selectedLicence;\r\n\t\t}\r\n\r\n\t\tget possibleLicenceTypes(): IDropdownItem[] {\r\n\t\t\tconst licenceTypes = [\r\n\t\t\t\t{ label: this.$t(`enum.licenceType.${LicenceType.user}`), value: LicenceType.user },\r\n\t\t\t\t{ label: this.$t(`enum.licenceType.${LicenceType.server}`), value: LicenceType.server },\r\n\t\t\t];\r\n\t\t\treturn licenceTypes.filter((x) => {\r\n\t\t\t\tif (x.value === LicenceType.user) {\r\n\t\t\t\t\treturn this.vm.licenceProduct.namedUserLicencesAllowed;\r\n\t\t\t\t} else if (x.value === LicenceType.server) {\r\n\t\t\t\t\treturn this.vm.licenceProduct.serverUserLicencesAllowed;\r\n\t\t\t\t}\r\n\t\t\t\treturn true;\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tshouldShowError(fieldToValidate: Validation): boolean {\r\n\t\t\treturn fieldToValidate.$invalid && (this.submitted || fieldToValidate.$dirty);\r\n\t\t}\r\n\r\n\t\tonSubmit(): void {\r\n\t\t\tthis.submitted = true;\r\n\t\t\tif (!this.canSubmit) return;\r\n\t\t\tthis.licenceSaved();\r\n\t\t}\r\n\r\n\t\tonCancel(): void {\r\n\t\t\tlicenceModule.setShowLicenceFormModal(false);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./licenceFormModal.vue?vue&type=template&id=5e173495&ts=true\"\nimport script from \"./licenceFormModal.vue?vue&type=script&lang=ts\"\nexport * from \"./licenceFormModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\timport licenceModule from \"@/store/modules/licenceModule\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { ILicenceManagementDetail } from \"@/types/interfaces/myCadac/licenceManagementDetail.interface\";\r\n\timport { Licence } from \"@/types/generated/licence\";\r\n\timport { LicenseAsset } from \"@/types/generated/licenseAsset\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { PropType } from \"vue\";\r\n\timport { cloneDeep, concat, orderBy } from \"lodash\";\r\n\timport { differenceInCalendarDays, isBefore, sub } from \"date-fns\";\r\n\timport { AxiosResponse } from \"axios\";\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\timport { FilterMatchMode } from \"primevue/api\";\r\n\timport { LicenceForm } from \"@/types/generated/licenceForm\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport LicenceFormModal from \"@/components/licenceManagement/licenceFormModal.vue\";\r\n\timport { LicenceProduct } from \"@/types/generated/licenceProduct\";\r\n\timport BackButton from \"@/components/common/backButton.vue\";\r\n\timport PopoverIcon from \"@/components/common/popoverIcon.vue\";\r\n\timport { useSessionStorage } from \"@vueuse/core\";\r\n\timport { getActiveLocale } from \"@/types/utils/i18n\";\r\n\r\n\t@Options({ components: { LicenceFormModal, BackButton, PopoverIcon } })\r\n\texport default class LicenceManagementDetail extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: ILicenceManagementDetail;\r\n\r\n\t\tisLoading = false;\r\n\t\tlicenceFilters = { global: { value: null, matchMode: FilterMatchMode.CONTAINS } };\r\n\t\tmaxRowsToShow = 10;\r\n\t\tcanSeeLicences = useSessionStorage(\"licenceViewUnlocked\", false);\r\n\r\n\t\tallLicences: Licence[] = [];\r\n\r\n\t\tcreated(): void {\r\n\t\t\tconsole.log(this.vm);\r\n\t\t\tlicenceModule.setSelectedLicenceProduct(this.vm.licenceProduct);\r\n\t\t\tthis.allLicences = this.getAllSortedLicences();\r\n\t\t}\r\n\r\n\t\tget showLicenceFormModal(): boolean {\r\n\t\t\treturn licenceModule.showLicenceFormModal;\r\n\t\t}\r\n\r\n\t\tget showPagination(): boolean {\r\n\t\t\treturn this.allLicences?.length > this.maxRowsToShow;\r\n\t\t}\r\n\r\n\t\tget licenceRoleFilterOptions(): string[] {\r\n\t\t\treturn this.selectedLicenceProduct.possibleRoles.map((x) =>\r\n\t\t\t\tthis.$i18n.locale === \"nl\" ? x.descriptionNL : x.descriptionEN\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget selectedLicenceProduct(): LicenceProduct {\r\n\t\t\treturn licenceModule.selectedLicenceProduct as LicenceProduct;\r\n\t\t}\r\n\r\n\t\tget hasAvailableLicences(): boolean {\r\n\t\t\treturn this.selectedLicenceProduct.totalSeats - this.selectedLicenceProduct.totalActiveLicences > 0;\r\n\t\t}\r\n\r\n\t\tget overuseSupportUrl(): string {\r\n\t\t\treturn getActiveLocale() === \"nl\"\r\n\t\t\t\t? \"/service-support/service/algemeen/cadac-transition-to-named-user-agent-only/uitleg-over-usage-cadac-named-use/\"\r\n\t\t\t\t: \"/service-contact/service/algemeen/cadac-transtion-to-named-user/explanation-over-usage-cadac-named-use/\";\r\n\t\t}\r\n\r\n\t\tshouldShowContractExpirationWarning(licence: Licence): boolean {\r\n\t\t\treturn this.getRemainingContractDays(licence) < 90 && !this.shouldShowPendingDeletionWarning(licence);\r\n\t\t}\r\n\r\n\t\tshouldShowPendingDeletionWarning(licence: Licence): boolean {\r\n\t\t\tif (!licence.dateDeleted) return false;\r\n\t\t\tconst currentDateMinusGracePeriod = sub(new Date(), { days: 1 });\r\n\t\t\treturn isBefore(currentDateMinusGracePeriod, this.toDate(licence.dateDeleted));\r\n\t\t}\r\n\r\n\t\tgetRowClass(licence: Licence): string {\r\n\t\t\treturn this.shouldShowPendingDeletionWarning(licence) ? \"disabled\" : \"\";\r\n\t\t}\r\n\r\n\t\tgetContractExpirationDate(licence: Licence): Date {\r\n\t\t\treturn this.toDate(this.getLicenceAssetForLicence(licence.id)?.endDate);\r\n\t\t}\r\n\r\n\t\tgetRemainingContractDays(licence: Licence): number {\r\n\t\t\treturn differenceInCalendarDays(this.getContractExpirationDate(licence), new Date());\r\n\t\t}\r\n\r\n\t\tgetLicenceAssetForLicence(licenceId: string): LicenseAsset {\r\n\t\t\treturn (this.selectedLicenceProduct.licenceAssets as LicenseAsset[]).find(\r\n\t\t\t\t(licenceAsset) =>\r\n\t\t\t\t\tlicenceAsset.licences.findIndex((licenceOfAsset: Licence) => licenceOfAsset.id === licenceId) > -1\r\n\t\t\t) as LicenseAsset;\r\n\t\t}\r\n\r\n\t\tgetRoleDescriptions(_licence: Licence): string[] {\r\n\t\t\treturn _licence.roles.map((x) => (this.$i18n.locale === \"nl\" ? x.descriptionNL : x.descriptionEN));\r\n\t\t}\r\n\r\n\t\tonLicenceSaved(_licence: LicenceForm): void {\r\n\t\t\tif (_licence.id) this.updateLicence(_licence);\r\n\t\t\telse this.addNewLicence(_licence);\r\n\t\t}\r\n\r\n\t\tonAddLicenceClick(): void {\r\n\t\t\tlicenceModule.setSelectedLicence(null);\r\n\t\t\tlicenceModule.setShowLicenceFormModal(true);\r\n\t\t}\r\n\r\n\t\tonEditLicenceClick(_licence: Licence): void {\r\n\t\t\tlicenceModule.setSelectedLicence(_licence);\r\n\t\t\tlicenceModule.setShowLicenceFormModal(true);\r\n\t\t}\r\n\r\n\t\tonDeleteLicenceClick(_licence: LicenceForm): void {\r\n\t\t\t// Confirm dialog with reverse buttons\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\theader: this.$t(\"myCadac.licenceManagementDetail.dialog.confirmDeleteLicenceTitle\"),\r\n\t\t\t\tmessage: this.$t(\"myCadac.licenceManagementDetail.dialog.confirmDeleteLicenceMessage\", [_licence.email]),\r\n\t\t\t\trejectLabel: this.$t(\"common.yes\"),\r\n\t\t\t\tacceptLabel: this.$t(\"common.no\"),\r\n\t\t\t\treject: () => {\r\n\t\t\t\t\tthis.deleteLicence(_licence);\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tonBackClick(): void {\r\n\t\t\t(this.canSeeLicences as unknown as boolean) = true;\r\n\t\t}\r\n\r\n\t\tcopyTextToClipboard(text: string): void {\r\n\t\t\tthis.copyToClipboard(text)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"info\",\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.licenceManagementDetail.toast.copiedToClipboard\", [\r\n\t\t\t\t\t\t\tthis.selectedLicenceProduct.applicationKey,\r\n\t\t\t\t\t\t]),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tconsole.error(`Copy to clipboard error`, err);\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\tprivate addNewLicence(_licence: LicenceForm): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\taxios\r\n\t\t\t\t.post(`/api/licence/create/${this.selectedLicenceProduct.id}`, _licence)\r\n\t\t\t\t.then(this.getLicenceProduct)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tlicenceModule.setSelectedLicence(null);\r\n\t\t\t\t\tlicenceModule.setShowLicenceFormModal(false);\r\n\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleSuccess\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.licenceManagementDetail.toast.createLicenceSuccess\", [_licence.email]),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.licenceManagementDetail.toast.createLicenceError\", [_licence.email]),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\r\n\t\tprivate updateLicence(_licence: LicenceForm): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\taxios\r\n\t\t\t\t.put(`/api/licence/update/${this.selectedLicenceProduct.id}`, _licence)\r\n\t\t\t\t.then(this.getLicenceProduct)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tlicenceModule.setSelectedLicence(null);\r\n\t\t\t\t\tlicenceModule.setShowLicenceFormModal(false);\r\n\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleSuccess\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.licenceManagementDetail.toast.updateLicenceSuccess\", [_licence.email]),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.licenceManagementDetail.toast.updateLicenceError\", [_licence.email]),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\r\n\t\tprivate deleteLicence(_licence: LicenceForm): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\taxios\r\n\t\t\t\t.put(`/api/licence/remove/${this.selectedLicenceProduct.id}`, _licence)\r\n\t\t\t\t.then(this.getLicenceProduct)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleSuccess\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.licenceManagementDetail.toast.deleteLicenceSuccess\", [_licence.email]),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\t\t\tdetail: this.$t(\"myCadac.licenceManagementDetail.toast.deleteLicenceError\", [_licence.email]),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\r\n\t\tprivate getLicenceProduct(): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\taxios\r\n\t\t\t\t.get(`/api/licenceProduct/${this.selectedLicenceProduct.id}`)\r\n\t\t\t\t.then((result: AxiosResponse) => {\r\n\t\t\t\t\tlicenceModule.setSelectedLicenceProduct(cloneDeep(result.data));\r\n\t\t\t\t\tthis.allLicences = this.getAllSortedLicences();\r\n\t\t\t\t\tthis.$forceUpdate();\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.isLoading = false));\r\n\t\t}\r\n\r\n\t\tprivate getAllSortedLicences(): Licence[] {\r\n\t\t\treturn orderBy(\r\n\t\t\t\tconcat(...this.selectedLicenceProduct.licenceAssets.map((x) => x.licences)),\r\n\t\t\t\t\"dateDeleted\",\r\n\t\t\t\t\"asc\"\r\n\t\t\t);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./licenceManagementDetail.vue?vue&type=template&id=3b275b5a&scoped=true&ts=true\"\nimport script from \"./licenceManagementDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./licenceManagementDetail.vue?vue&type=script&lang=ts\"\n\nimport \"./licenceManagementDetail.vue?vue&type=style&index=0&id=3b275b5a&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3b275b5a\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createBlock as _createBlock, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, vShow as _vShow, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-13f016ba\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container hidden-print\" }\nconst _hoisted_2 = { class: \"row my-2 my-lg-3\" }\nconst _hoisted_3 = { class: \"col-md-6 col-lg-5\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, null, -1))\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { class: \"text-muted\" }\nconst _hoisted_9 = { class: \"text-bold\" }\nconst _hoisted_10 = [\"href\", \"title\"]\nconst _hoisted_11 = { class: \"col-md-6 col-lg-7 d-flex h-100 flex-column align-items-start flex-lg-row justify-content-lg-end flex-wrap-reverse\" }\nconst _hoisted_12 = { class: \"row mb-2\" }\nconst _hoisted_13 = {\n key: 0,\n class: \"col-12\"\n}\nconst _hoisted_14 = {\n key: 1,\n class: \"col-12\"\n}\nconst _hoisted_15 = { class: \"d-flex justify-content-between flex-wrap\" }\nconst _hoisted_16 = {\n key: 1,\n class: \"wallet-message p-message p-component\"\n}\nconst _hoisted_17 = { class: \"p-message-wrapper justify-content-between flex-wrap\" }\nconst _hoisted_18 = { class: \"d-flex align-items-center mb-1 mb-lg-0\" }\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"46\",\n height: \"46\",\n class: \"mr-1\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-wallet\" })\n], -1))\nconst _hoisted_20 = {\n key: 0,\n class: \"text-primary\"\n}\nconst _hoisted_21 = {\n key: 1,\n class: \"text-primary\"\n}\nconst _hoisted_22 = {\n key: 1,\n class: \"d-flex align-items-center\"\n}\nconst _hoisted_23 = {\n key: 2,\n class: \"wallet-message p-message p-component\"\n}\nconst _hoisted_24 = { class: \"p-message-wrapper justify-content-between flex-wrap\" }\nconst _hoisted_25 = { class: \"d-flex align-items-center mb-1 mb-lg-0\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"46\",\n height: \"46\",\n class: \"mr-1\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-wallet\" })\n], -1))\nconst _hoisted_27 = { class: \"text-primary\" }\nconst _hoisted_28 = {\n key: 3,\n class: \"row\"\n}\nconst _hoisted_29 = { class: \"col-12\" }\nconst _hoisted_30 = {\n class: \"row\",\n style: {\"min-height\":\"300px\"}\n}\nconst _hoisted_31 = { class: \"col-lg-6 col-xl-6 col-xxl-7 h-100 px-lg-3 px-2 mb-2 mb-lg-0\" }\nconst _hoisted_32 = { class: \"border border-primary surface-a px-2 pt-xl-2 pb-0\" }\nconst _hoisted_33 = { key: 0 }\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"my-0\" }, null, -1))\nconst _hoisted_35 = { class: \"questions-block\" }\nconst _hoisted_36 = { class: \"text-primary text-bold mb-1 mb-xl-2\" }\nconst _hoisted_37 = { class: \"d-flex align-items-end\" }\nconst _hoisted_38 = { class: \"mb-1\" }\nconst _hoisted_39 = [\"href\"]\nconst _hoisted_40 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"mr-xl-2 mr-xxl-3 mr-1 ml-lg-2 ml-1\",\n src: \"/Static/images/support-f.png\",\n alt: \"Cadac Group\"\n}, null, -1))\nconst _hoisted_41 = { class: \"d-flex flex-grow-1 justify-content-between\" }\nconst _hoisted_42 = { class: \"text-primary\" }\nconst _hoisted_43 = {\n key: 0,\n class: \"p-badge p-badge-primary\"\n}\nconst _hoisted_44 = {\n key: 0,\n class: \"p-inputgroup\"\n}\nconst _hoisted_45 = { key: 1 }\nconst _hoisted_46 = { class: \"text-bold mr-2\" }\nconst _hoisted_47 = { key: 2 }\nconst _hoisted_48 = { class: \"col-lg-6 col-xl-6 col-xxl-5 ml-auto pr-2\" }\nconst _hoisted_49 = { class: \"d-flex justify-content-end\" }\nconst _hoisted_50 = {\n key: 0,\n class: \"d-flex flex-column\"\n}\nconst _hoisted_51 = { class: \"text-bold\" }\nconst _hoisted_52 = { class: \"d-flex align-items-center justify-content-between\" }\nconst _hoisted_53 = { class: \"w-50 flex-wrap\" }\nconst _hoisted_54 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"=\", -1))\nconst _hoisted_55 = { class: \"mt-1 align-self-end justify-content-between\" }\nconst _hoisted_56 = {\n key: 2,\n class: \"visible-print\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_CartOverview = _resolveComponent(\"CartOverview\")!\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_AccordionTab = _resolveComponent(\"AccordionTab\")!\n const _component_Accordion = _resolveComponent(\"Accordion\")!\n const _component_ProgressSpinner = _resolveComponent(\"ProgressSpinner\")!\n const _component_PriceSummary = _resolveComponent(\"PriceSummary\")!\n const _component_Card = _resolveComponent(\"Card\")!\n const _component_SaveCartModal = _resolveComponent(\"SaveCartModal\")!\n const _component_ShareCartModal = _resolveComponent(\"ShareCartModal\")!\n const _component_InputNumber = _resolveComponent(\"InputNumber\")!\n const _component_OverlayPanel = _resolveComponent(\"OverlayPanel\")!\n const _component_CartPrintPreview = _resolveComponent(\"CartPrintPreview\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"h1\", null, [\n _createTextVNode(_toDisplayString(_ctx.pageTitle), 1),\n (_ctx.vm.cartTitle)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, \": \" + _toDisplayString(_ctx.vm.cartTitle), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_5,\n (_ctx.userProfile?.isImpersonated || _ctx.userProfile?.isCadacSales)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n (_ctx.vm.cartOpportunityName)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createElementVNode(\"p\", _hoisted_8, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"cart.lblSalesOpportunity\")) + \": \", 1),\n _createElementVNode(\"span\", _hoisted_9, [\n _createElementVNode(\"a\", {\n href: _ctx.vm.cartOpportunityUrl,\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(_ctx.vm.cartOpportunityName), 9, _hoisted_10)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.cartClient?.itemCount)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.onShareCartClick())),\n label: _ctx.$t('cart.button.shareCart'),\n title: _ctx.$t('cart.button.shareCart'),\n icon: \"pi pi-envelope\",\n class: \"pl-lg-0 p-button-secondary p-button-text flex-shrink-0 hidden-print\"\n }, null, 8, [\"label\", \"title\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n (_ctx.showOtherCartsButton)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[1] || (_cache[1] = ($event: any) => {\r\n\t\t\t\t\t\t_ctx.openUrl(`${_ctx.vm.myCartsPageUrl}`);\r\n\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t}),\n label: _ctx.$t('cart.button.otherCarts'),\n title: _ctx.$t('cart.button.otherCarts'),\n disabled: _ctx.isBusy,\n icon: \"pi pi-shopping-cart\",\n badge: _ctx.vm.totalNumberOfShoppingCarts.toString(),\n \"badge-class\": \"p-badge-primary\",\n class: \"p-button-primary p-button-text flex-shrink-0\"\n }, null, 8, [\"label\", \"title\", \"disabled\", \"badge\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showSaveCartButton)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.onSaveCartClick())),\n label: _ctx.$t('cart.button.saveCart'),\n title: _ctx.$t('cart.button.saveCart'),\n icon: _ctx.vm.cartTitle ? 'pi pi-star-fill' : 'pi pi-star',\n disabled: _ctx.isBusy,\n class: \"p-button-primary p-button-text flex-shrink-0\"\n }, null, 8, [\"label\", \"title\", \"icon\", \"disabled\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.cartIsEmpty)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 2,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.onDeleteCartClick())),\n label: _ctx.$t('cart.button.emptyCart'),\n title: _ctx.$t('cart.button.emptyCart'),\n disabled: _ctx.isBusy,\n icon: \"pi pi-trash\",\n class: \"p-button-primary p-button-text flex-shrink-0\"\n }, null, 8, [\"label\", \"title\", \"disabled\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.cartIsEmpty)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 3,\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.onPrintCartClick())),\n label: _ctx.$t('cart.button.printCart'),\n title: _ctx.$t('cart.button.printCart'),\n disabled: _ctx.isBusy,\n icon: \"pi pi-print\",\n class: \"p-button-primary p-button-text flex-shrink-0\"\n }, null, 8, [\"label\", \"title\", \"disabled\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.showCartItemsMergedMsg)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"info\",\n closable: true,\n onClose: _cache[5] || (_cache[5] = ($event: any) => {\r\n\t\t\t\t_ctx.showCartItemsMergedMsg = false;\r\n\t\t\t\t_ctx.cookies.remove('shoppingCartsMerged', { path: '/' });\r\n\t\t\t})\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"cart.message.itemsMerged\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_12, [\n (!_ctx.cartIsEmpty)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createVNode(_component_CartOverview, { \"cart-client\": _ctx.cartClient }, null, 8, [\"cart-client\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createVNode(_component_Message, {\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"cart.message.noItemsInCart\")), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_15, [\n (_ctx.vm.totalNumberOfShoppingCarts && _ctx.vm.myCartsPageUrl)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[6] || (_cache[6] = ($event: any) => {\r\n\t\t\t\t\t\t\t_ctx.openUrl(`${_ctx.vm.myCartsPageUrl}`);\r\n\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t}),\n label: _ctx.$t('cart.button.otherCarts'),\n icon: \"pi pi-shopping-cart\",\n badge: _ctx.vm.totalNumberOfShoppingCarts.toString(),\n \"badge-class\": \"p-badge-primary\",\n class: \"p-button-primary p-button-outlined p-button-lg flex-shrink-0 mb-2\"\n }, null, 8, [\"label\", \"badge\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.softwareOverviewUrl)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n onClick: _cache[7] || (_cache[7] = ($event: any) => {\r\n\t\t\t\t\t\t\t_ctx.openUrl(`${_ctx.vm.softwareOverviewUrl}`);\r\n\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t}),\n label: _ctx.$t('cart.button.continueShopping'),\n icon: \"pi pi-arrow-right\",\n \"icon-pos\": \"right\",\n class: \"p-button-primary p-button-lg flex-shrink-0 mb-2\"\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n ]),\n (_ctx.canExchangeWallet)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n (!_ctx.hasActiveWalletCoupon)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_20, [\n _createVNode(_component_i18n_t, { keypath: \"cart.lblYouCanExchangeWalletAmount\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(_ctx.vm.maxWalletAmount)), 1)\n ]),\n _: 1\n })\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_21, [\n _createVNode(_component_i18n_t, { keypath: \"cart.lblYouHaveExchangedWalletAmount\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(_ctx.walletExchangeAmount)), 1)\n ]),\n _: 1\n })\n ]))\n ]),\n _createElementVNode(\"div\", null, [\n (!_ctx.hasActiveWalletCoupon)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n label: _ctx.$t('cart.button.addWalletCoupon'),\n class: \"p-button-primary\",\n onClick: _cache[8] || (_cache[8] = ($event: any) => (_ctx.onExchangeWalletClick($event)))\n }, null, 8, [\"label\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cartClient.appliedCouponCodes, (coupon, index) => {\n return (_openBlock(), _createBlock(_component_Button, {\n key: index,\n icon: _ctx.isSpinnerVisible['btnRemoveCoupon'] ? 'pi pi-spinner' : 'pi pi-times',\n \"icon-pos\": \"right\",\n class: \"p-button-danger p-button-text\",\n label: _ctx.$t('cart.button.removeWalletCoupon'),\n loading: _ctx.isSpinnerVisible['btnRemoveCoupon'],\n title: _ctx.$t('cart.button.removeWalletCoupon'),\n disabled: _ctx.isSpinnerVisible['btnRemoveCoupon'],\n onClick: ($event: any) => (_ctx.removeCouponCode(coupon))\n }, null, 8, [\"icon\", \"label\", \"loading\", \"title\", \"disabled\", \"onClick\"]))\n }), 128))\n ]))\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.showWalletMessage)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _hoisted_26,\n _createElementVNode(\"span\", _hoisted_27, _toDisplayString(_ctx.$t(\"cart.lblWalletNotAvailable\")), 1)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.cartClient?.itemCount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_28, [\n _createElementVNode(\"div\", _hoisted_29, [\n _createVNode(_component_Card, { class: \"mb-3 surface-e shadow-none\" }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", _hoisted_31, [\n _createElementVNode(\"div\", _hoisted_32, [\n (_ctx.cartClient?.totalWalletAmountEarned)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_33, [\n _createElementVNode(\"p\", null, [\n _createVNode(_component_i18n_t, { keypath: \"cart.lblWalletAmountEarned\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(_ctx.cartClient?.totalWalletAmountEarned)), 1)\n ]),\n _: 1\n })\n ]),\n _hoisted_34\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_35, [\n _createElementVNode(\"h4\", _hoisted_36, _toDisplayString(_ctx.$t(\"common.support.anyQuestions\")), 1),\n _createElementVNode(\"div\", _hoisted_37, [\n _createElementVNode(\"small\", _hoisted_38, [\n _createVNode(_component_i18n_t, { keypath: \"common.support.contactUsAt\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"a\", {\n href: 'tel:' + _ctx.$t('common.support.phoneNumber')\n }, _toDisplayString(_ctx.$t(\"common.support.phoneNumber\")), 9, _hoisted_39)\n ]),\n _: 1\n })\n ]),\n _hoisted_40\n ])\n ])\n ]),\n _createVNode(_component_Accordion, {\n class: \"mt-2 mb-1\",\n ref: \"couponForm\",\n \"active-index\": _ctx.couponFormActiveIndex,\n \"onUpdate:active-index\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.couponFormActiveIndex) = $event))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_AccordionTab, {\n disabled: !_ctx.hasValidProfile\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_41, [\n _createElementVNode(\"span\", _hoisted_42, _toDisplayString(_ctx.$t(\"cart.lblCouponForm\")), 1),\n (_ctx.hasActiveCoupon)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_43, _toDisplayString(_ctx.cartClient.appliedCouponCodes.length), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n default: _withCtx(() => [\n (_ctx.canExchangeCoupon && !_ctx.hasActiveCoupon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_44, [\n _createVNode(_component_InputText, {\n placeholder: _ctx.$t('cart.couponForm_placeholder'),\n modelValue: _ctx.couponCode,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.couponCode) = $event))\n }, null, 8, [\"placeholder\", \"modelValue\"]),\n _createVNode(_component_Button, {\n icon: \"pi pi-check\",\n class: \"p-button-primary\",\n disabled: _ctx.isSpinnerVisible['btnSubmitCoupon'],\n loading: _ctx.isSpinnerVisible['btnSubmitCoupon'],\n onClick: _cache[10] || (_cache[10] = ($event: any) => (_ctx.addCouponCode()))\n }, null, 8, [\"disabled\", \"loading\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.canExchangeCoupon && _ctx.hasActiveCoupon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_45, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"cart.lblActiveCoupon\")), 1),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cartClient.appliedCouponCodes, (coupon, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"d-flex align-items-center\",\n key: index\n }, [\n _createElementVNode(\"span\", _hoisted_46, _toDisplayString(coupon.name), 1),\n _createVNode(_component_Button, {\n icon: _ctx.isSpinnerVisible['btnRemoveCoupon'] ? 'pi pi-spinner' : 'pi pi-times',\n \"icon-pos\": \"right\",\n class: \"p-button-danger p-button-text\",\n label: _ctx.$t('cart.button.removeCoupon'),\n title: _ctx.$t('cart.button.removeCoupon'),\n disabled: _ctx.isSpinnerVisible['btnRemoveCoupon'],\n loading: _ctx.isSpinnerVisible['btnRemoveCoupon'],\n onClick: ($event: any) => (_ctx.removeCouponCode(coupon))\n }, null, 8, [\"icon\", \"label\", \"title\", \"disabled\", \"loading\", \"onClick\"])\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createElementVNode(\"p\", { class: \"p-error\" }, _toDisplayString(_ctx.firstErrorMessage), 513), [\n [_vShow, _ctx.canExchangeCoupon && _ctx.cartClient.hasError]\n ]),\n (_ctx.showCouponMessage)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_47, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"cart.lblCouponNotAvailable\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 1\n }, 8, [\"active-index\"]),\n (!_ctx.hasValidProfile)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n href: \"javascript:void(0)\",\n onClick: _cache[12] || (_cache[12] = ($event: any) => (_ctx.goToLoginPage())),\n class: \"text-primary\"\n }, _toDisplayString(_ctx.$t(\"cart.lblCouponFormLoggedOut\")), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_48, [\n (_ctx.isSpinnerVisible['priceSummary'])\n ? (_openBlock(), _createBlock(_component_ProgressSpinner, {\n key: 0,\n \"animation-duration\": \".75s\",\n \"stroke-width\": \"3\",\n class: \"d-block ml-auto mr-0\"\n }))\n : (_openBlock(), _createBlock(_component_PriceSummary, {\n key: 1,\n vm: _ctx.priceSummary\n }, null, 8, [\"vm\"])),\n _createElementVNode(\"div\", _hoisted_49, [\n _createVNode(_component_Button, {\n class: \"p-button-success p-button-raised p-button-lg mt-2\",\n label: _ctx.$t('cart.button.goToCheckout'),\n disabled: !_ctx.canCheckout || _ctx.isSpinnerVisible['priceSummary'],\n loading: _ctx.isLoading,\n onClick: _cache[13] || (_cache[13] = ($event: any) => (_ctx.onCheckoutClick()))\n }, null, 8, [\"label\", \"disabled\", \"loading\"])\n ])\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.showSaveCartModal)\n ? (_openBlock(), _createBlock(_component_SaveCartModal, {\n key: 0,\n \"current-title\": _ctx.vm.cartTitle,\n onCartSaved: _cache[14] || (_cache[14] = ($event: any) => (_ctx.saveCart($event)))\n }, null, 8, [\"current-title\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showShareCartModal)\n ? (_openBlock(), _createBlock(_component_ShareCartModal, {\n key: 1,\n vm: _ctx.vm,\n onCartShared: _cache[15] || (_cache[15] = ($event: any) => (_ctx.shareCart($event)))\n }, null, 8, [\"vm\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_OverlayPanel, {\n ref: \"useWalletPanel\",\n showCloseIcon: true,\n dismissable: true\n }, {\n default: _withCtx(() => [\n (!_ctx.hasActiveWalletCoupon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_50, [\n _createElementVNode(\"p\", _hoisted_51, _toDisplayString(_ctx.$t(\"cart.lblExchangeAmount\")), 1),\n _createElementVNode(\"div\", _hoisted_52, [\n _createElementVNode(\"div\", _hoisted_53, [\n _createVNode(_component_InputNumber, {\n mode: \"decimal\",\n locale: _ctx.currentRegion,\n minFractionDigits: 0,\n \"max-fraction-digits\": 2,\n min: 0.01,\n max: _ctx.vm.maxWalletAmount,\n modelValue: _ctx.walletExchangeAmount,\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => ((_ctx.walletExchangeAmount) = $event))\n }, null, 8, [\"locale\", \"min\", \"max\", \"modelValue\"]),\n _createElementVNode(\"small\", null, \"Max: \" + _toDisplayString(_ctx.formatCurrency(_ctx.vm.maxWalletAmount)), 1)\n ]),\n _hoisted_54,\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatCurrency(_ctx.walletExchangeAmount)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_55, [\n _createVNode(_component_Button, {\n icon: _ctx.isSpinnerVisible['btnExchangeWallet'] ? 'pi pi-spinner spin' : 'pi pi-check',\n class: \"p-button-text\",\n label: _ctx.$t('cart.button.exchange'),\n loading: _ctx.isSpinnerVisible['btnExchangeWallet'],\n disabled: _ctx.isSpinnerVisible['btnExchangeWallet'],\n onClick: _cache[17] || (_cache[17] = ($event: any) => (_ctx.exchangeWalletAmount()))\n }, null, 8, [\"icon\", \"label\", \"loading\", \"disabled\"])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 512),\n (_ctx.cartClient)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_56, [\n _createVNode(_component_CartPrintPreview, {\n \"cart-client\": _ctx.cartClient,\n title: _ctx.vm.cartTitle ? _ctx.vm.cartTitle : _ctx.vm.pageTitle\n }, null, 8, [\"cart-client\", \"title\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { key: 1 }\nconst _hoisted_3 = { class: \"p-datatable\" }\nconst _hoisted_4 = { class: \"p-datatable-header\" }\nconst _hoisted_5 = { key: 2 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CartContractClientTable = _resolveComponent(\"CartContractClientTable\")!\n const _component_CartTrainingTable = _resolveComponent(\"CartTrainingTable\")!\n const _component_CartClientTable = _resolveComponent(\"CartClientTable\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.contractCartClients?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.contractCartClients, (contractCart) => {\n return (_openBlock(), _createBlock(_component_CartContractClientTable, {\n key: contractCart,\n \"cart-client\": contractCart\n }, null, 8, [\"cart-client\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.trainingCartClients?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(`cart.table.title${this.getUpperCaseCartLineType(_ctx.cartLineTypeEnum.trainingProduct)}`)), 1)\n ])\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.trainingCartClients, (training) => {\n return (_openBlock(), _createBlock(_component_CartTrainingTable, {\n key: training,\n \"cart-line-client\": training\n }, null, 8, [\"cart-line-client\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.cartLineClientsByType?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cartLineClientsByType, (cartLineClient) => {\n return (_openBlock(), _createBlock(_component_CartClientTable, {\n key: cartLineClient,\n cartLineType: cartLineClient.cartLineType,\n items: _ctx.getCartLinesForType(cartLineClient.cartLineType)\n }, null, 8, [\"cartLineType\", \"items\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeStyle as _normalizeStyle, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, createSlots as _createSlots, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-501703fc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"product-actions align-items-lg-start flex-lg-row ml-lg-0\" }\nconst _hoisted_2 = { key: 1 }\nconst _hoisted_3 = { class: \"d-flex align-items-center\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-spin pi-spinner\" }, null, -1))\nconst _hoisted_7 = [\n _hoisted_6\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_ColumnProductName = _resolveComponent(\"ColumnProductName\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_ColumnProductInfo = _resolveComponent(\"ColumnProductInfo\")!\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n const _component_AvatarGroup = _resolveComponent(\"AvatarGroup\")!\n const _component_ColumnYesNo = _resolveComponent(\"ColumnYesNo\")!\n const _component_ColumnAmount = _resolveComponent(\"ColumnAmount\")!\n const _component_PriceSummary = _resolveComponent(\"PriceSummary\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n\n return (_openBlock(), _createBlock(_component_DataTable, {\n value: _ctx.editingCartLines,\n \"data-key\": \"id\",\n \"responsive-layout\": \"stack\",\n breakpoint: \"1150px\"\n }, _createSlots({\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"productName\",\n header: _ctx.$t('cart.table.colName'),\n style: _normalizeStyle(_ctx.showProductInfoColumn ? { width: '20%' } : {})\n }, {\n body: _withCtx((item) => [\n _createVNode(_component_ColumnProductName, {\n item: item.data\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.canChangeConfiguration(item.data) && item.data.url)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: ($event: any) => {\r\n\t\t\t\t\t\t\t\t_ctx.openUrl(`${item.data.url}?lineitemid=${item.data.id}`);\r\n\t\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t\t},\n title: _ctx.$t('cart.button.editConfiguration'),\n label: _ctx.$t('cart.button.editConfiguration'),\n icon: \"pi pi-cog\",\n class: \"p-button-secondary p-button-text flex-shrink-0 hidden-print\"\n }, null, 8, [\"onClick\", \"title\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.canRemoveItem(item.data))\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n onClick: ($event: any) => (_ctx.confirmRemoveItem(item.data)),\n label: _ctx.$t('cart.button.removeItem'),\n title: _ctx.$t('cart.button.removeItem'),\n icon: \"pi pi-times\",\n class: \"p-button-secondary p-button-text flex-shrink-0 hidden-print\"\n }, null, 8, [\"onClick\", \"label\", \"title\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 2\n }, 1032, [\"item\"])\n ]),\n _: 1\n }, 8, [\"header\", \"style\"]),\n (_ctx.showProductInfoColumn)\n ? (_openBlock(), _createBlock(_component_Column, { key: 0 }, {\n body: _withCtx((item) => [\n _createVNode(_component_ColumnProductInfo, {\n item: item.data\n }, null, 8, [\"item\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.showSoftwareColumn)\n ? (_openBlock(), _createBlock(_component_Column, {\n header: _ctx.$t('cart.table.colSoftware'),\n key: \"software\",\n style: {\"width\":\"10%\"}\n }, {\n body: _withCtx((item) => [\n (item.data.rentalSystemSoftwareLines?.length)\n ? (_openBlock(), _createBlock(_component_AvatarGroup, { key: 0 }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(item.data.rentalSystemSoftwareLines, (asset, index) => {\n return (_openBlock(), _createBlock(_component_Avatar, {\n key: index,\n shape: \"square\",\n size: \"large\",\n class: \"bg-transparent\",\n image: asset.icon,\n title: asset.title,\n alt: asset.iconAltTag\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n }), 128))\n ]),\n _: 2\n }, 1024))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_2, _toDisplayString(_ctx.$t(\"common.none\")), 1))\n ]),\n _: 1\n }, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showFlexBookingColumn)\n ? (_openBlock(), _createBlock(_component_Column, {\n field: \"isFlexBooking\",\n header: _ctx.$t('cart.table.colFlexBooking'),\n key: \"isFlexBooking\",\n style: {\"width\":\"10%\"}\n }, {\n body: _withCtx((item) => [\n _createVNode(_component_ColumnYesNo, {\n value: item.data.isFlexBooking\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showServiceTypeColumn)\n ? (_openBlock(), _createBlock(_component_Column, {\n header: _ctx.$t('cart.table.colType'),\n field: \"serviceType\",\n key: \"serviceType\",\n style: {\"width\":\"10%\"}\n }, null, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showUnitColumn)\n ? (_openBlock(), _createBlock(_component_Column, {\n header: _ctx.$t('cart.table.colUnit'),\n field: \"unit\",\n key: \"unit\",\n style: {\"width\":\"10%\"}\n }, null, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showSerialNumberColumn)\n ? (_openBlock(), _createBlock(_component_Column, {\n header: _ctx.$t('cart.table.colSerialNumber'),\n field: \"serialNumber\",\n key: \"serialNumber\",\n style: {\"width\":\"12.5%\"}\n }, null, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showTrainingTypeColumn)\n ? (_openBlock(), _createBlock(_component_Column, {\n header: _ctx.$t('cart.table.colType'),\n field: \"trainingMethod\",\n key: \"trainingType\",\n style: {\"width\":\"12.5%\"}\n }, null, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Column, {\n class: \"flex-wrap\",\n field: \"amount\",\n header: _ctx.$t('cart.table.colAmount'),\n key: \"amount\",\n style: {\"width\":\"12.5%\"}\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_ColumnAmount, {\n item: item.data,\n index: item.index,\n disabled: _ctx.isSpinnerVisible[item.data.id],\n editable: _ctx.canAdjustAmount(item.data),\n onAmountChanged: _ctx.onAmountChanged\n }, null, 8, [\"item\", \"index\", \"disabled\", \"editable\", \"onAmountChanged\"])\n ])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n header: _ctx.$t('cart.table.colPrice'),\n style: {\"width\":\"25%\"}\n }, {\n body: _withCtx((item) => [\n (!_ctx.isSpinnerVisible[item.data.id])\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(_component_PriceSummary, {\n vm: _ctx.getPriceSummary(item.data)\n }, null, 8, [\"vm\"])\n ]))\n : (_ctx.isSpinnerVisible[item.data.id])\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, _hoisted_7))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"header\"])\n ]),\n _: 2\n }, [\n (_ctx.tableTitle)\n ? {\n name: \"header\",\n fn: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.tableTitle), 1)\n ])\n }\n : undefined\n ]), 1032, [\"value\"]))\n}","import { resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-53eb45cc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 1,\n class: \"px-lg-2\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputNumber = _resolveComponent(\"InputNumber\")!\n\n return (_ctx.editable)\n ? (_openBlock(), _createBlock(_component_InputNumber, {\n key: 0,\n modelValue: _ctx.item.amount,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.item.amount) = $event)),\n onInput: _cache[1] || (_cache[1] = ($event: any) => (_ctx.debouncedInputChange($event, _ctx.index))),\n \"show-buttons\": \"\",\n decrementButtonClass: \"p-button-outlined\",\n incrementButtonClass: \"p-button-outlined\",\n useGrouping: false,\n min: _ctx.item.minAmount,\n max: _ctx.maxAmount,\n class: _normalizeClass(_ctx.isSmallScreen?.value ? 'w-50 ml-auto' : 'w-75'),\n style: {\"max-width\":\"200px\",\"min-width\":\"95px\"}\n }, null, 8, [\"modelValue\", \"min\", \"max\", \"class\"]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_1, _toDisplayString(_ctx.item.amount), 1))\n}","\r\n\timport { Emit, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { debounce, DebounceInstance } from \"vue-debounce\";\r\n\r\n\texport interface AmountChangedEvent {\r\n\t\toriginalValue: number;\r\n\t\tvalue: number;\r\n\t\tindex: number;\r\n\t}\r\n\r\n\t@Options({ emits: [\"amount-changed\"] })\r\n\texport default class ColumnAmount extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType<{ amount: number; minAmount: number }>, required: true, default: {} }) item!: {\r\n\t\t\tamount: number;\r\n\t\t\tminAmount: number;\r\n\t\t};\r\n\t\t@Prop({ type: Number, required: true, default: 0 }) index!: number;\r\n\t\t@Prop({ type: Boolean, default: false }) disabled!: boolean;\r\n\t\t@Prop({ type: Boolean, default: false }) editable!: boolean;\r\n\r\n\t\toriginalValue = 0;\r\n\t\tmaxAmount = 999;\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.originalValue = this.item?.amount;\r\n\t\t}\r\n\r\n\t\t@Emit() amountChanged(event: { value: number }, index: number): AmountChangedEvent {\r\n\t\t\tconst changeEvent = {\r\n\t\t\t\tvalue: event.value,\r\n\t\t\t\toriginalValue: this.originalValue,\r\n\t\t\t\tindex,\r\n\t\t\t};\r\n\t\t\tthis.originalValue = event.value;\r\n\t\t\treturn changeEvent;\r\n\t\t}\r\n\r\n\t\tdebouncedInputChange: DebounceInstance = debounce((event: any, index: number) => {\r\n\t\t\tconst newValue = event.value <= this.maxAmount ? event.value : this.maxAmount;\r\n\t\t\tevent.value = newValue;\r\n\t\t\tif (newValue !== this.originalValue) this.amountChanged(event as { value: number }, index as number);\r\n\t\t}, 1000);\r\n\t}\r\n","import { render } from \"./columnAmount.vue?vue&type=template&id=53eb45cc&scoped=true&ts=true\"\nimport script from \"./columnAmount.vue?vue&type=script&lang=ts\"\nexport * from \"./columnAmount.vue?vue&type=script&lang=ts\"\n\nimport \"./columnAmount.vue?vue&type=style&index=0&id=53eb45cc&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-53eb45cc\"]])\n\nexport default __exports__","/* Auto Generated */\r\n\r\nexport enum LicenseClass {\r\n singleUser,\r\n multiUser,\r\n maintenancePlan,\r\n subscription,\r\n cloudSubscription,\r\n other,\r\n}\r\n","/* Auto Generated */\r\n\r\nexport enum CartLineType {\r\n product,\r\n productBundle,\r\n trainingProduct,\r\n servicePassProduct,\r\n rentalSystemProduct,\r\n contractProlong,\r\n contractChange,\r\n contractAddition,\r\n contractSwitch,\r\n contractCoterm,\r\n contractCotermProlong,\r\n expertProduct,\r\n expertService,\r\n walletDeposit,\r\n support,\r\n invoiceTotals,\r\n paymentInstructions,\r\n}\r\n","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7feafba8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"product-icons-wrapper ml-lg-1 align-items-lg-start align-content-lg-start justify-content-end\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"product-info-line flex-lg-row\"\n}\nconst _hoisted_3 = [\"title\"]\nconst _hoisted_4 = { class: \"text-bold ml-1\" }\nconst _hoisted_5 = {\n key: 1,\n class: \"product-info-line flex-lg-row\"\n}\nconst _hoisted_6 = [\"title\"]\nconst _hoisted_7 = { class: \"text-bold ml-1\" }\nconst _hoisted_8 = {\n key: 2,\n class: \"product-info-line flex-lg-row\"\n}\nconst _hoisted_9 = [\"title\"]\nconst _hoisted_10 = { class: \"text-bold ml-1\" }\nconst _hoisted_11 = {\n key: 3,\n class: \"product-info-line flex-lg-row\"\n}\nconst _hoisted_12 = [\"title\"]\nconst _hoisted_13 = { class: \"text-bold ml-1\" }\nconst _hoisted_14 = {\n key: 4,\n class: \"product-info-line flex-lg-row\"\n}\nconst _hoisted_15 = { class: \"badge badge-primary multi-user-badge\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.item.licenseType)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"i\", {\n class: _normalizeClass([_ctx.getLicenceIcon(_ctx.item.licenceClass), \"text-primary\"]),\n title: _ctx.$t('cart.table.iconLicenceType_title')\n }, null, 10, _hoisted_3),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.item.licenseType), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.duration)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"i\", {\n class: \"pi pi-clock text-primary\",\n title: _ctx.$t('cart.table.iconDuration_title')\n }, null, 8, _hoisted_6),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_ctx.duration), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.dates)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"i\", {\n class: \"pi pi-calendar text-primary\",\n title: _ctx.$t('cart.table.iconDates_title')\n }, null, 8, _hoisted_9),\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(_ctx.dates), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.location)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createElementVNode(\"i\", {\n class: \"pi pi-map-marker text-primary\",\n title: _ctx.$t('cart.table.iconLocation_title')\n }, null, 8, _hoisted_12),\n _createElementVNode(\"span\", _hoisted_13, _toDisplayString(_ctx.location), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.multiUser)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createElementVNode(\"span\", _hoisted_15, _toDisplayString(_ctx.multiUser), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { LicenseClass } from \"@/types/generated/licenseClass\";\r\n\timport { CartLineClient } from \"@/types/generated/api/cartLineClient\";\r\n\timport { CartLineType } from \"@/types/generated/cartLineType\";\r\n\r\n\texport default class ColumnProductInfo extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) item!: CartLineClient;\r\n\r\n\t\tget cartLineTypeEnum(): typeof CartLineType {\r\n\t\t\treturn CartLineType;\r\n\t\t}\r\n\r\n\t\tget duration(): string {\r\n\t\t\tswitch (this.item.cartLineType) {\r\n\t\t\t\tcase CartLineType.expertProduct:\r\n\t\t\t\tcase CartLineType.expertService:\r\n\t\t\t\t\treturn this.$tc(\"cart.table.lblDurationDays\", this.item.dayCount);\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn this.item.remainingDuration\r\n\t\t\t\t\t\t? this.$tc(\"cart.table.lblDurationTillEndOfContract\", this.item.remainingDuration)\r\n\t\t\t\t\t\t: this.item.duration\r\n\t\t\t\t\t\t? this.$tc(\"cart.table.lblDurationMonths\", this.item.duration)\r\n\t\t\t\t\t\t: \"\";\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tget dates(): string {\r\n\t\t\tswitch (this.item.cartLineType) {\r\n\t\t\t\tcase CartLineType.expertProduct:\r\n\t\t\t\tcase CartLineType.expertService:\r\n\t\t\t\t\treturn this.item.datesAsPeriods;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn \"\";\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tget location(): string {\r\n\t\t\tswitch (this.item.cartLineType) {\r\n\t\t\t\tcase CartLineType.expertProduct:\r\n\t\t\t\tcase CartLineType.expertService:\r\n\t\t\t\t\treturn this.item.workLocation;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn \"\";\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tget multiUser(): string {\r\n\t\t\treturn this.item.isMultiSize ? this.item?.multiSizeUnitString : \"\";\r\n\t\t}\r\n\r\n\t\tgetLicenceIcon(licenceClass: LicenseClass): string {\r\n\t\t\tswitch (licenceClass) {\r\n\t\t\t\tcase LicenseClass.singleUser:\r\n\t\t\t\t\treturn \"pi pi-user\";\r\n\t\t\t\tcase LicenseClass.multiUser:\r\n\t\t\t\t\treturn \"pi pi-users\";\r\n\t\t\t\tcase LicenseClass.maintenancePlan:\r\n\t\t\t\t\treturn \"pi pi-desktop\";\r\n\t\t\t\tcase LicenseClass.subscription:\r\n\t\t\t\t\treturn \"pi pi-file\";\r\n\t\t\t\tcase LicenseClass.cloudSubscription:\r\n\t\t\t\t\treturn \"pi pi-cloud\";\r\n\t\t\t\tcase LicenseClass.other:\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn \"\";\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n","import { render } from \"./columnProductInfo.vue?vue&type=template&id=7feafba8&scoped=true&ts=true\"\nimport script from \"./columnProductInfo.vue?vue&type=script&lang=ts\"\nexport * from \"./columnProductInfo.vue?vue&type=script&lang=ts\"\n\nimport \"./columnProductInfo.vue?vue&type=style&index=0&id=7feafba8&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7feafba8\"]])\n\nexport default __exports__","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex align-items-center\" }\nconst _hoisted_2 = [\"textContent\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"i\", {\n class: _normalizeClass(_ctx.value ? 'pi pi-check text-success mr-1' : 'pi pi-times text-danger mr-1')\n }, null, 2),\n _createElementVNode(\"span\", {\n textContent: _toDisplayString(_ctx.value ? _ctx.$t('common.yes') : _ctx.$t('common.no'))\n }, null, 8, _hoisted_2)\n ]))\n}","\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\texport default class ColumnYesNo extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Boolean, required: true, default: false }) value!: boolean;\r\n\t}\r\n","import { render } from \"./columnYesNo.vue?vue&type=template&id=cf2da67a&ts=true\"\nimport script from \"./columnYesNo.vue?vue&type=script&lang=ts\"\nexport * from \"./columnYesNo.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex flex-wrap flex-column\" }\nconst _hoisted_2 = [\"href\"]\nconst _hoisted_3 = {\n key: 1,\n width: \"56\",\n height: \"56\"\n}\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-wallet\" }, null, -1)\nconst _hoisted_5 = [\n _hoisted_4\n]\nconst _hoisted_6 = { class: \"d-flex px-1 flex-column\" }\nconst _hoisted_7 = { class: \"mb-0 text-muted d-block\" }\nconst _hoisted_8 = { class: \"mb-0 text-bold\" }\nconst _hoisted_9 = {\n key: 1,\n class: \"d-flex mr-lg-1 mb-1\"\n}\nconst _hoisted_10 = {\n key: 1,\n width: \"56\",\n height: \"56\"\n}\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-wallet\" }, null, -1)\nconst _hoisted_12 = [\n _hoisted_11\n]\nconst _hoisted_13 = { class: \"d-flex px-1 flex-column\" }\nconst _hoisted_14 = { class: \"mb-0 text-muted d-block\" }\nconst _hoisted_15 = { class: \"mb-0 text-bold\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Avatar = _resolveComponent(\"Avatar\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!_ctx.item.isHidden && _ctx.item.url)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n href: _ctx.item.url,\n class: \"d-flex mr-lg-1 mb-1\"\n }, [\n (_ctx.item.icon)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n class: \"flex-shrink-0\",\n size: \"large\",\n image: _ctx.item.icon,\n title: _ctx.productName,\n alt: _ctx.item.iconAltTag\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n : (_ctx.item.cartLineType === _ctx.cartLineTypeEnum.walletDeposit)\n ? (_openBlock(), _createElementBlock(\"svg\", _hoisted_3, _hoisted_5))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"small\", _hoisted_7, _toDisplayString(_ctx.item.brand), 1),\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(_ctx.productName), 1)\n ])\n ], 8, _hoisted_2))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n (_ctx.item.icon)\n ? (_openBlock(), _createBlock(_component_Avatar, {\n key: 0,\n shape: \"square\",\n class: \"flex-shrink-0\",\n size: \"large\",\n image: _ctx.item.icon,\n title: _ctx.productName,\n alt: _ctx.item.iconAltTag\n }, null, 8, [\"image\", \"title\", \"alt\"]))\n : (_ctx.item.cartLineType === _ctx.cartLineTypeEnum.walletDeposit)\n ? (_openBlock(), _createElementBlock(\"svg\", _hoisted_10, _hoisted_12))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"small\", _hoisted_14, _toDisplayString(_ctx.item.brand), 1),\n _createElementVNode(\"span\", _hoisted_15, _toDisplayString(_ctx.productName), 1)\n ])\n ])),\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { CartLineClient } from \"@/types/generated/api/cartLineClient\";\r\n\timport { CartLineType } from \"@/types/generated/cartLineType\";\r\n\r\n\texport default class ColumnProductName extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) item!: CartLineClient;\r\n\r\n\t\tget cartLineTypeEnum(): typeof CartLineType {\r\n\t\t\treturn CartLineType;\r\n\t\t}\r\n\r\n\t\tget productName(): string {\r\n\t\t\tswitch (this.item.cartLineType) {\r\n\t\t\t\tcase CartLineType.expertProduct:\r\n\t\t\t\tcase CartLineType.expertService:\r\n\t\t\t\t\treturn this.item.expertName;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn this.item.title;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n","import { render } from \"./columnProductName.vue?vue&type=template&id=1f8fc563&ts=true\"\nimport script from \"./columnProductName.vue?vue&type=script&lang=ts\"\nexport * from \"./columnProductName.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\timport ColumnAmount, { AmountChangedEvent } from \"@/components/commerce/cart/columnAmount.vue\";\r\n\timport ColumnProductInfo from \"@/components/commerce/cart/columnProductInfo.vue\";\r\n\timport ColumnYesNo from \"@/components/commerce/cart/columnYesNo.vue\";\r\n\timport PriceSummary from \"@/components/common/priceSummary.vue\";\r\n\timport cartModule from \"@/store/modules/cartModule\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\timport { BundleUpdateInCart } from \"@/types/generated/api/bundleUpdateInCart\";\r\n\timport { CartContractClient } from \"@/types/generated/api/cartContractClient\";\r\n\timport { CartLineClient } from \"@/types/generated/api/cartLineClient\";\r\n\timport { CartLineType } from \"@/types/generated/cartLineType\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IPriceSummary } from \"@/types/interfaces/common/priceSummary.interface\";\r\n\timport { Inject, InjectReactive, Mixins, Prop, Watch } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { ProductUpdateInCart } from \"@/types/generated/api/productUpdateInCart\";\r\n\timport { PropType } from \"vue\";\r\n\timport { sum, upperFirst } from \"lodash\";\r\n\timport ColumnProductName from \"@/components/commerce/cart/columnProductName.vue\";\r\n\timport { CouponCode } from \"@/types/generated/Api/couponCode\";\r\n\r\n\t@Options({ components: { ColumnProductName, PriceSummary, ColumnProductInfo, ColumnYesNo, ColumnAmount } })\r\n\texport default class CartClientTable extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) items!: CartLineClient[];\r\n\t\t@Prop() cartLineType!: CartLineType;\r\n\r\n\t\t@Inject({ default: null }) cartContractClient!: CartContractClient;\r\n\t\t@InjectReactive()\r\n\t\tisEditable!: boolean;\r\n\r\n\t\t@Watch(\"items\") onItemsChanged(val: CartLineClient[]): void {\r\n\t\t\tthis.editingCartLines = val;\r\n\t\t}\r\n\r\n\t\teditingCartLines: CartLineClient[] = [];\r\n\t\ttableTitle = \"\";\r\n\r\n\t\tget cartLineTypeEnum(): typeof CartLineType {\r\n\t\t\treturn CartLineType;\r\n\t\t}\r\n\r\n\t\tget canMakeChanges(): boolean {\r\n\t\t\treturn (\r\n\t\t\t\tthis.isEditable &&\r\n\t\t\t\t(this.isContractLine(this.cartContractClient?.cartLineType)\r\n\t\t\t\t\t? this.cartContractClient?.showAsContractLine\r\n\t\t\t\t\t: true)\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget showSoftwareColumn(): boolean {\r\n\t\t\treturn this.cartLineType === CartLineType.rentalSystemProduct;\r\n\t\t}\r\n\r\n\t\tget showServiceTypeColumn(): boolean {\r\n\t\t\treturn this.cartLineType === CartLineType.servicePassProduct;\r\n\t\t}\r\n\r\n\t\tget showUnitColumn(): boolean {\r\n\t\t\treturn this.cartLineType === CartLineType.servicePassProduct;\r\n\t\t}\r\n\r\n\t\tget showTrainingTypeColumn(): boolean {\r\n\t\t\treturn this.cartLineType === CartLineType.trainingProduct;\r\n\t\t}\r\n\r\n\t\tget showFlexBookingColumn(): boolean {\r\n\t\t\treturn this.cartLineType === CartLineType.expertProduct;\r\n\t\t}\r\n\r\n\t\tget showSerialNumberColumn(): boolean {\r\n\t\t\treturn (\r\n\t\t\t\tthis.isContractLine(this.cartContractClient?.cartLineType) && !this.cartContractClient?.showAsContractLine\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget showProductInfoColumn(): boolean {\r\n\t\t\treturn this.cartLineType !== CartLineType.walletDeposit && this.cartLineType !== CartLineType.support;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.init();\r\n\t\t\tthis.editingCartLines = this.items;\r\n\t\t}\r\n\r\n\t\tinit(): void {\r\n\t\t\tswitch (this.cartLineType) {\r\n\t\t\t\tcase CartLineType.product:\r\n\t\t\t\t\tthis.tableTitle = this.$t(`cart.table.title${this.getUpperCaseCartLineType(CartLineType.product)}`);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.productBundle:\r\n\t\t\t\t\tthis.tableTitle = this.$t(`cart.table.title${this.getUpperCaseCartLineType(CartLineType.product)}`);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.trainingProduct:\r\n\t\t\t\t\tthis.tableTitle = this.$t(\r\n\t\t\t\t\t\t`cart.table.title${this.getUpperCaseCartLineType(CartLineType.trainingProduct)}`\r\n\t\t\t\t\t);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.servicePassProduct:\r\n\t\t\t\t\tthis.tableTitle = this.$t(\r\n\t\t\t\t\t\t`cart.table.title${this.getUpperCaseCartLineType(CartLineType.servicePassProduct)}`\r\n\t\t\t\t\t);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.rentalSystemProduct:\r\n\t\t\t\t\tthis.tableTitle = this.$t(\r\n\t\t\t\t\t\t`cart.table.title${this.getUpperCaseCartLineType(CartLineType.rentalSystemProduct)}`\r\n\t\t\t\t\t);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.expertProduct:\r\n\t\t\t\t\tthis.tableTitle = this.$t(\r\n\t\t\t\t\t\t`cart.table.title${this.getUpperCaseCartLineType(CartLineType.expertProduct)}`\r\n\t\t\t\t\t);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.expertService:\r\n\t\t\t\t\tthis.tableTitle = this.$t(\r\n\t\t\t\t\t\t`cart.table.title${this.getUpperCaseCartLineType(CartLineType.expertService)}`\r\n\t\t\t\t\t);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.walletDeposit:\r\n\t\t\t\t\tthis.tableTitle = this.$t(\r\n\t\t\t\t\t\t`cart.table.title${this.getUpperCaseCartLineType(CartLineType.walletDeposit)}`\r\n\t\t\t\t\t);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.support:\r\n\t\t\t\t\tthis.tableTitle = this.$t(`cart.table.title${this.getUpperCaseCartLineType(CartLineType.support)}`);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.invoiceTotals:\r\n\t\t\t\tcase CartLineType.paymentInstructions:\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tcanRemoveItem(item: CartLineClient): boolean {\r\n\t\t\treturn this.canMakeChanges && item.canRemoveLine;\r\n\t\t}\r\n\r\n\t\tcanChangeConfiguration(item: CartLineClient): boolean {\r\n\t\t\treturn this.canMakeChanges && item.canChangeConfiguration;\r\n\t\t}\r\n\r\n\t\tcanAdjustAmount(item: CartLineClient): boolean {\r\n\t\t\treturn this.canMakeChanges && item.canUpdateAmount;\r\n\t\t}\r\n\r\n\t\tgetUpperCaseCartLineType(cartLineType: CartLineType): string {\r\n\t\t\treturn upperFirst(this.cartLineTypeEnum[cartLineType]);\r\n\t\t}\r\n\r\n\t\tgetPriceSummary(item: CartLineClient): IPriceSummary {\r\n\t\t\tconst subTotal = sum(item.rentalSystemSoftwareLines?.map((x) => x.price)) + item.priceSubTotal;\r\n\t\t\tconst discountLines = new Map();\r\n\t\t\tif (item.appliedCouponCodes?.length) {\r\n\t\t\t\titem.appliedCouponCodes.forEach((code: CouponCode) => {\r\n\t\t\t\t\tdiscountLines.set(code.name, code.discount);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\treturn {\r\n\t\t\t\tbasePrice: item.priceBase,\r\n\t\t\t\tdiscount: item.discount,\r\n\t\t\t\tdiscountLines: discountLines,\r\n\t\t\t\tadditionalLines: this.getAdditionalPriceLines(item),\r\n\t\t\t\tsubtotal: subTotal,\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tisContractLine(item: CartLineType | CartLineClient): boolean {\r\n\t\t\tconst cartLineType = (item as CartLineClient)?.cartLineType || (item as CartLineType);\r\n\t\t\treturn (\r\n\t\t\t\tcartLineType === CartLineType.contractCotermProlong ||\r\n\t\t\t\tcartLineType === CartLineType.contractCoterm ||\r\n\t\t\t\tcartLineType === CartLineType.contractAddition ||\r\n\t\t\t\tcartLineType === CartLineType.contractChange ||\r\n\t\t\t\tcartLineType === CartLineType.contractSwitch ||\r\n\t\t\t\tcartLineType === CartLineType.contractProlong\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tgetAdditionalPriceLines(item: CartLineClient): Map {\r\n\t\t\tconst priceLines = new Map();\r\n\t\t\tif (item.rentalSystemSoftwareLines?.length) {\r\n\t\t\t\titem.rentalSystemSoftwareLines.forEach((software: CartLineClient) => {\r\n\t\t\t\t\tpriceLines.set(software.title, software.price);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\tif (item.activeInstallation && item.priceOnce) {\r\n\t\t\t\tpriceLines.set(this.$t(\"common.priceSummary.installHelp\"), item.priceOnce);\r\n\t\t\t}\r\n\t\t\tif (item.isFlexBooking && item.flexbookingCosts) {\r\n\t\t\t\tpriceLines.set(this.$t(\"common.priceSummary.flexBooking\"), item.flexbookingCosts);\r\n\t\t\t}\r\n\r\n\t\t\treturn priceLines;\r\n\t\t}\r\n\r\n\t\tonAmountChanged(event: AmountChangedEvent): void {\r\n\t\t\tconst item = this.editingCartLines[event.index];\r\n\r\n\t\t\tswitch (item.cartLineType) {\r\n\t\t\t\tcase CartLineType.rentalSystemProduct:\r\n\t\t\t\t\tthis.updateRentalSystemInCart({ id: item.id, amount: event.value }, item, event.originalValue);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.productBundle:\r\n\t\t\t\t\t// Disabled updating bundles for now - Probably needs rework later\r\n\t\t\t\t\t// this.updateBundleInCart({ skus: [], id: item.productId, amount: event.value });\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.product:\r\n\t\t\t\tcase CartLineType.trainingProduct:\r\n\t\t\t\tcase CartLineType.servicePassProduct:\r\n\t\t\t\tcase CartLineType.contractChange:\r\n\t\t\t\tcase CartLineType.contractAddition:\r\n\t\t\t\tcase CartLineType.contractCoterm:\r\n\t\t\t\tcase CartLineType.contractCotermProlong:\r\n\t\t\t\tcase CartLineType.walletDeposit:\r\n\t\t\t\tcase CartLineType.support:\r\n\t\t\t\t\tthis.updateProductInCart({ id: item.id, amount: event.value }, item, event.originalValue);\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t//TODO: Figure out if these can update too\r\n\t\t\t\tcase CartLineType.contractSwitch:\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.contractProlong:\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.expertProduct:\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.expertService:\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.invoiceTotals:\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase CartLineType.paymentInstructions:\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconfirmRemoveItem(item: CartLineClient): void {\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\tmessage: this.$t(\"cart.dialog.confirmRemoveProduct\", [item.title]),\r\n\t\t\t\theader: this.$t(\"common.messages.titleImportant\"),\r\n\t\t\t\tacceptLabel: this.$t(\"common.yes\"),\r\n\t\t\t\trejectLabel: this.$t(\"common.no\"),\r\n\t\t\t\taccept: () => {\r\n\t\t\t\t\tthis.removeItemFromCart(item);\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tremoveItemFromCart(item: CartLineClient): void {\r\n\t\t\tcommonModule.showSpinner(item.id);\r\n\t\t\tif (item.cartLineType === CartLineType.rentalSystemProduct) {\r\n\t\t\t\tthis.updateRentalSystemInCart({ id: item.id, amount: 0 }, item, item.amount);\r\n\t\t\t} else {\r\n\t\t\t\tthis.updateProductInCart({ id: item.id, amount: 0 }, item, item.amount);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tprivate updateProductInCart(model: ProductUpdateInCart, cartClient: CartLineClient, originalValue: number): void {\r\n\t\t\tcommonModule.showSpinner(model.id);\r\n\t\t\tcommonModule.showSpinner(\"priceSummary\");\r\n\t\t\tcartModule\r\n\t\t\t\t.updateProductInCart(model)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.updateMarketing(cartClient, model.amount - originalValue);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tcartClient.amount = originalValue;\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => {\r\n\t\t\t\t\tcommonModule.hideSpinner(model.id);\r\n\t\t\t\t\tcommonModule.hideSpinner(\"priceSummary\");\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\tprotected updateRentalSystemInCart(\r\n\t\t\tmodel: ProductUpdateInCart,\r\n\t\t\tcartClient: CartLineClient,\r\n\t\t\toriginalValue: number\r\n\t\t): void {\r\n\t\t\tcommonModule.showSpinner(model.id);\r\n\t\t\tcommonModule.showSpinner(\"priceSummary\");\r\n\t\t\tcartModule\r\n\t\t\t\t.updateRentalSystemInCart(model)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.updateMarketing(cartClient, model.amount - originalValue);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tcartClient.amount = originalValue;\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => {\r\n\t\t\t\t\tcommonModule.hideSpinner(model.id);\r\n\t\t\t\t\tcommonModule.hideSpinner(\"priceSummary\");\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\tprotected updateBundleInCart(model: BundleUpdateInCart, cartClient: CartLineClient, originalValue: number): void {\r\n\t\t\tcommonModule.showSpinner(model.bundlecode);\r\n\t\t\tcommonModule.showSpinner(\"priceSummary\");\r\n\t\t\tcartModule\r\n\t\t\t\t.updateBundleInCart(model)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.updateMarketing(cartClient, model.amount - originalValue);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tcartClient.amount = originalValue;\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => {\r\n\t\t\t\t\tcommonModule.hideSpinner(model.bundlecode);\r\n\t\t\t\t\tcommonModule.hideSpinner(\"priceSummary\");\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\tprivate updateMarketing(cartLine: CartLineClient, amountChange: number) {\r\n\t\t\tlet eventName = amountChange < 0 ? \"removeFromCart\" : \"addToCart\";\r\n\t\t\tlet listName = amountChange < 0 ? \"remove\" : \"add\";\r\n\t\t\tif (amountChange < 0) {\r\n\t\t\t\tamountChange *= -1;\r\n\t\t\t}\r\n\t\t\tconst productList = {\r\n\t\t\t\tproducts: [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: cartLine.title,\r\n\t\t\t\t\t\tid: cartLine.id,\r\n\t\t\t\t\t\tprice: cartLine.price,\r\n\t\t\t\t\t\tbrand: cartLine.brand,\r\n\t\t\t\t\t\tquantity: amountChange,\r\n\t\t\t\t\t},\r\n\t\t\t\t],\r\n\t\t\t};\r\n\t\t\tconst ga = {\r\n\t\t\t\tevent: eventName,\r\n\t\t\t\tecommerce: {\r\n\t\t\t\t\tcurrencyCode: \"EUR\",\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t\tga.ecommerce[listName] = productList;\r\n\t\t\twindow.dataLayer.push(ga);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./cartClientTable.vue?vue&type=template&id=501703fc&scoped=true&ts=true\"\nimport script from \"./cartClientTable.vue?vue&type=script&lang=ts\"\nexport * from \"./cartClientTable.vue?vue&type=script&lang=ts\"\n\nimport \"./cartClientTable.vue?vue&type=style&index=0&id=501703fc&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-501703fc\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"cart-contract-table\" }\nconst _hoisted_2 = { class: \"p-datatable\" }\nconst _hoisted_3 = { class: \"p-datatable-header d-flex justify-content-between flex-wrap\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_ContractSummary = _resolveComponent(\"ContractSummary\")!\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_CartClientTable = _resolveComponent(\"CartClientTable\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(`cart.table.title${_ctx.getUpperCaseCartLineType(_ctx.cartClient.cartLineType)}`)), 1),\n (_ctx.isEditable)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.onRemoveContractFromCartClick())),\n icon: \"pi pi-times\",\n class: \"p-button-text p-button-danger hidden-print p-0\",\n label: _ctx.$t('cart.button.removeItem'),\n title: _ctx.$t('cart.button.removeItem')\n }, null, 8, [\"label\", \"title\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(_component_ContractSummary, { vm: _ctx.contractSummary }, null, 8, [\"vm\"]),\n (_ctx.cartClient.contractCoterming && _ctx.contractSummary?.contractProlongationDate)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"warn\",\n closable: false,\n class: \"mt-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_i18n_t, { keypath: \"myCadac.contractDetail.message.newExpirationDateDurationChange\" }, {\n date: _withCtx(() => [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatDate(_ctx.contractSummary.contractProlongationDate)), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : (_ctx.contractSummary?.contractProlongationDate)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n severity: \"info\",\n closable: false,\n class: \"mt-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_i18n_t, { keypath: \"myCadac.contractDetail.message.newExpirationDate\" }, {\n date: _withCtx(() => [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatDate(_ctx.contractSummary.contractProlongationDate)), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.editingCartLines?.length)\n ? (_openBlock(), _createBlock(_component_CartClientTable, {\n key: 2,\n items: _ctx.editingCartLines,\n \"cart-line-type\": _ctx.cartClient.cartLineType\n }, null, 8, [\"items\", \"cart-line-type\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\r\n\timport CartClientTable from \"@/components/commerce/cart/cartClientTable.vue\";\r\n\timport ContractSummary, { IContractSummary } from \"@/components/common/contractSummary.vue\";\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\timport { CartClient } from \"@/types/generated/api/cartClient\";\r\n\timport { CartContractClient } from \"@/types/generated/api/cartContractClient\";\r\n\timport { CartLineClient } from \"@/types/generated/api/cartLineClient\";\r\n\timport { CartLineType } from \"@/types/generated/cartLineType\";\r\n\timport { ContractUpdateInCart } from \"@/types/generated/api/contractUpdateInCart\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { InjectReactive, Mixins, Prop, Provide } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { upperFirst } from \"lodash\";\r\n\r\n\t@Options({ components: { CartClientTable, ContractSummary } })\r\n\texport default class CartContractTable extends Mixins(Helpers) {\r\n\t\t@Provide()\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tcartClient!: CartContractClient;\r\n\r\n\t\t@Provide()\r\n\t\t@InjectReactive()\r\n\t\tisEditable!: boolean;\r\n\r\n\t\tisLoading = false;\r\n\t\teditingCartLines: CartLineClient[] = [];\r\n\r\n\t\tget cartLineTypeEnum(): typeof CartLineType {\r\n\t\t\treturn CartLineType;\r\n\t\t}\r\n\r\n\t\tget contractSummary(): IContractSummary {\r\n\t\t\treturn {\r\n\t\t\t\tcontractManager: this.cartClient?.contractManager,\r\n\t\t\t\tcontractEndDate: this.cartClient?.endDate,\r\n\t\t\t\tcontractNumber: this.cartClient?.contractNumber,\r\n\t\t\t\tcontractType: this.cartClient?.contractType,\r\n\t\t\t\tcontractProlongationDate: this.cartClient?.newProlongationDate,\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.editingCartLines = this.cartClient?.assets;\r\n\t\t}\r\n\r\n\t\tgetUpperCaseCartLineType(cartLineType: CartLineType): string {\r\n\t\t\treturn upperFirst(this.cartLineTypeEnum[cartLineType]);\r\n\t\t}\r\n\r\n\t\tonRemoveContractFromCartClick(): void {\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\tmessage: this.$t(\"cart.dialog.confirmRemoveContractMessage\", [this.cartClient.contractNumber]),\r\n\t\t\t\theader: this.$t(\"cart.dialog.confirmRemoveContractTitle\"),\r\n\t\t\t\tacceptLabel: this.$t(\"common.yes\"),\r\n\t\t\t\trejectLabel: this.$t(\"common.no\"),\r\n\t\t\t\taccept: () => {\r\n\t\t\t\t\tthis.updateContractInCart({\r\n\t\t\t\t\t\tid: 0,\r\n\t\t\t\t\t\tamount: 0,\r\n\t\t\t\t\t\tcontractnumber: this.cartClient.contractNumber,\r\n\t\t\t\t\t\tcontractcoterming: this.cartClient.contractCoterming,\r\n\t\t\t\t\t\tcartLineType: this.cartClient.cartLineType,\r\n\t\t\t\t\t});\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tprotected updateContractInCart(model: ContractUpdateInCart): void {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/cart/updateContract\", model)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\twindow.location.reload();\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n","import { render } from \"./cartContractTable.vue?vue&type=template&id=0320319e&ts=true\"\nimport script from \"./cartContractTable.vue?vue&type=script&lang=ts\"\nexport * from \"./cartContractTable.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, withCtx as _withCtx, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-746abec0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"cart-training-table\" }\nconst _hoisted_2 = { class: \"d-flex justify-content-between flex-wrap\" }\nconst _hoisted_3 = { class: \"text-primary\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-spin pi-spinner\" }, null, -1))\nconst _hoisted_7 = [\n _hoisted_6\n]\nconst _hoisted_8 = {\n key: 0,\n class: \"ml-auto\"\n}\nconst _hoisted_9 = {\n key: 0,\n class: \"lead d-flex justify-content-end pr-1\"\n}\nconst _hoisted_10 = { class: \"mr-3 text-bold\" }\nconst _hoisted_11 = { class: \"text-bold\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_ColumnProductName = _resolveComponent(\"ColumnProductName\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_ColumnTrainingInfo = _resolveComponent(\"ColumnTrainingInfo\")!\n const _component_PriceSummary = _resolveComponent(\"PriceSummary\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h5\", _hoisted_3, _toDisplayString(_ctx.trainingGroup.isModular\r\n\t\t\t\t\t\t? `${_ctx.trainingGroup.name} (${_ctx.$t(\"myCadac.trainingOverview.table.lblModular\")})`\r\n\t\t\t\t\t\t: _ctx.trainingGroup.name), 1),\n _createElementVNode(\"div\", null, [\n (_ctx.canChangeConfiguration && _ctx.isEditable)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\r\n\t\t\t\t\t\t_ctx.onChangeConfigurationClick();\r\n\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t}),\n title: _ctx.$t('cart.button.editConfiguration'),\n label: _ctx.$t('cart.button.editConfiguration'),\n icon: \"pi pi-cog\",\n class: \"p-button-secondary p-button-text flex-shrink-0 hidden-print\"\n }, null, 8, [\"title\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isEditable)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.onRemoveTrainingFromCartClick())),\n icon: \"pi pi-times\",\n class: \"p-button-text p-button-danger hidden-print flex-shrink-0\",\n label: _ctx.$t('cart.button.removeItem'),\n title: _ctx.$t('cart.button.removeItem')\n }, null, 8, [\"label\", \"title\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(_component_DataTable, {\n value: _ctx.editingCartLines,\n \"data-key\": \"id\",\n \"responsive-layout\": \"stack\",\n breakpoint: \"1150px\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n field: \"productName\",\n header: _ctx.$t('cart.table.colName'),\n style: { width: '25%' }\n }, {\n body: _withCtx((item) => [\n _createVNode(_component_ColumnProductName, {\n item: _ctx.productNameColumnModel(item.data)\n }, null, 8, [\"item\"])\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, { key: \"trainingInfo\" }, {\n body: _withCtx((item) => [\n _createVNode(_component_ColumnTrainingInfo, {\n item: item.data\n }, null, 8, [\"item\"])\n ]),\n _: 1\n }),\n _createVNode(_component_Column, {\n header: _ctx.$t('cart.table.colPrice'),\n style: {\"width\":\"35%\"}\n }, {\n body: _withCtx((item) => [\n (!_ctx.isSpinnerVisible[item.data.name])\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(_component_PriceSummary, {\n vm: _ctx.trainingGroup.isModular ? _ctx.modularPriceSummary(item.data) : _ctx.standardPriceSummary(item.data)\n }, null, 8, [\"vm\"])\n ]))\n : (_ctx.isSpinnerVisible[item.data.name])\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, _hoisted_7))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"header\"])\n ]),\n _: 1\n }, 8, [\"value\"]),\n (_ctx.trainingGroup.isModular)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n (_ctx.totalPriceSummary?.totalPrice)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_9, [\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(_ctx.$t(\"common.priceSummary.totalPrice\")), 1),\n _createElementVNode(\"span\", _hoisted_11, _toDisplayString(_ctx.formatCurrency(_ctx.totalPriceSummary?.totalPrice)), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-06da59f8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"product-icons-wrapper ml-lg-1 align-items-lg-start align-content-lg-start justify-content-end\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"product-info-line flex-lg-row\"\n}\nconst _hoisted_3 = [\"title\"]\nconst _hoisted_4 = { class: \"text-bold ml-1\" }\nconst _hoisted_5 = {\n key: 1,\n class: \"product-info-line flex-lg-row\"\n}\nconst _hoisted_6 = [\"title\"]\nconst _hoisted_7 = { class: \"text-bold ml-1\" }\nconst _hoisted_8 = {\n key: 2,\n class: \"product-info-line flex-lg-row align-items-start\"\n}\nconst _hoisted_9 = [\"title\"]\nconst _hoisted_10 = { class: \"text-bold ml-1 text-preline\" }\nconst _hoisted_11 = {\n key: 3,\n class: \"product-info-line flex-lg-row\"\n}\nconst _hoisted_12 = [\"title\"]\nconst _hoisted_13 = { class: \"text-bold ml-1 text-preline\" }\nconst _hoisted_14 = {\n key: 4,\n class: \"product-info-line flex-lg-row\"\n}\nconst _hoisted_15 = [\"title\"]\nconst _hoisted_16 = { class: \"text-bold ml-1\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.duration)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"i\", {\n class: \"pi pi-clock text-primary\",\n title: _ctx.$t('cart.table.iconDuration_title')\n }, null, 8, _hoisted_3),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.duration), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.dates)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"i\", {\n class: \"pi pi-calendar text-primary\",\n title: _ctx.$t('cart.table.iconDates_title')\n }, null, 8, _hoisted_6),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_ctx.item.date), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.item.address)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"i\", {\n class: \"pi pi-map-marker text-primary\",\n style: {\"margin-top\":\"0.3rem\"},\n title: _ctx.$t('cart.table.iconLocation_title')\n }, null, 8, _hoisted_9),\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(_ctx.formattedAddress), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.item.location)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createElementVNode(\"i\", {\n class: \"pi pi-map-marker text-primary\",\n title: _ctx.$t('cart.table.iconLocation_title')\n }, null, 8, _hoisted_12),\n _createElementVNode(\"span\", _hoisted_13, _toDisplayString(_ctx.item.location), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.item.numberOfParticipants)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createElementVNode(\"i\", {\n class: \"pi pi-user text-primary\",\n title: _ctx.$t('cart.table.iconParticipants_title')\n }, null, 8, _hoisted_15),\n _createElementVNode(\"span\", _hoisted_16, _toDisplayString(_ctx.$tc(\"cart.table.lblParticipantCount\", { count: _ctx.item.numberOfParticipants })), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { TrainingCartLineClient } from \"@/types/generated/api/trainingCartLineClient\";\r\n\r\n\texport default class ColumnTrainingInfo extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\titem!: TrainingCartLineClient;\r\n\r\n\t\tget duration(): string {\r\n\t\t\treturn this.$tc(\"cart.table.lblDurationDays\", this.item.duration);\r\n\t\t}\r\n\r\n\t\tget dates(): string {\r\n\t\t\treturn this.item.date;\r\n\t\t}\r\n\r\n\t\tget formattedAddress(): string {\r\n\t\t\treturn `${this.item.address.street}\r\n\t\t\t${this.item.address.postalCode} ${this.item.address.city}\r\n\t\t\t${this.item.address.country}`;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./columnTrainingInfo.vue?vue&type=template&id=06da59f8&scoped=true&ts=true\"\nimport script from \"./columnTrainingInfo.vue?vue&type=script&lang=ts\"\nexport * from \"./columnTrainingInfo.vue?vue&type=script&lang=ts\"\n\nimport \"./columnTrainingInfo.vue?vue&type=style&index=0&id=06da59f8&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-06da59f8\"]])\n\nexport default __exports__","/* Auto Generated */\r\n\r\nexport enum LocalTrainingType {\r\n openRoster = 229380005,\r\n companyTrainingLocal = 229380017,\r\n companyTrainingRemote = 229380018,\r\n eLearning = 229380019,\r\n modular = 229380020,\r\n}\r\n","\r\n\timport CartClientTable from \"@/components/commerce/cart/cartClientTable.vue\";\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\timport { CartClient } from \"@/types/generated/api/cartClient\";\r\n\timport { CartLineType } from \"@/types/generated/cartLineType\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { InjectReactive, Mixins, Prop, Provide } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport ColumnTrainingInfo from \"@/components/commerce/cart/columnTrainingInfo.vue\";\r\n\timport PriceSummary from \"@/components/common/priceSummary.vue\";\r\n\timport ColumnProductName from \"@/components/commerce/cart/columnProductName.vue\";\r\n\timport { CartLineClient } from \"@/types/generated/api/cartLineClient\";\r\n\timport { IPriceSummary } from \"@/types/interfaces/common/priceSummary.interface\";\r\n\timport { TrainingCartLineClient } from \"@/types/generated/api/trainingCartLineClient\";\r\n\timport { TrainingGroupCartLineClient } from \"@/types/generated/api/trainingGroupCartLineClient\";\r\n\timport { LocalTrainingType } from \"@/types/generated/localTrainingType\";\r\n\timport { sortBy } from \"lodash\";\r\n\timport { RemoveTrainingProductRequest } from \"@/types/generated/Api/removeTrainingProductRequest\";\r\n\r\n\t@Options({ components: { ColumnTrainingInfo, CartClientTable, PriceSummary, ColumnProductName } })\r\n\texport default class CartTrainingTable extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tcartLineClient!: CartLineClient;\r\n\r\n\t\teditingCartLines: TrainingCartLineClient[] = [];\r\n\r\n\t\t@Provide()\r\n\t\t@InjectReactive()\r\n\t\tisEditable!: boolean;\r\n\r\n\t\tget cartLineTypeEnum(): typeof CartLineType {\r\n\t\t\treturn CartLineType;\r\n\t\t}\r\n\r\n\t\tget trainingGroup(): TrainingGroupCartLineClient {\r\n\t\t\treturn this.cartLineClient.trainingGroup;\r\n\t\t}\r\n\r\n\t\tget productNameColumnModel() {\r\n\t\t\treturn (trainingCartLine: TrainingCartLineClient) => {\r\n\t\t\t\tconst { name, brand, icon, iconAltTag } = trainingCartLine;\r\n\t\t\t\treturn {\r\n\t\t\t\t\ttitle: name,\r\n\t\t\t\t\tbrand,\r\n\t\t\t\t\ticon,\r\n\t\t\t\t\ticonAltTag,\r\n\t\t\t\t\turl: \"\",\r\n\t\t\t\t} as CartLineClient;\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget standardPriceSummary() {\r\n\t\t\treturn (trainingProductCartLine: TrainingCartLineClient) => {\r\n\t\t\t\tconst { basePrice, subTotal, type, numberOfParticipants } = trainingProductCartLine;\r\n\t\t\t\tconst additionalLines = new Map();\r\n\t\t\t\tconst standardLines = new Map();\r\n\t\t\t\tconst basePriceLine =\r\n\t\t\t\t\ttype === LocalTrainingType.openRoster\r\n\t\t\t\t\t\t? `${this.$t(`enum.trainingType.${type}`)} (${this.$tc(\r\n\t\t\t\t\t\t\t\t`cart.table.lblParticipantCount`,\r\n\t\t\t\t\t\t\t\tnumberOfParticipants\r\n\t\t\t\t\t\t )})`\r\n\t\t\t\t\t\t: this.$t(`enum.trainingType.${type}`);\r\n\t\t\t\tstandardLines.set(basePriceLine, basePrice);\r\n\t\t\t\tsortBy(trainingProductCartLine.additionalPrices, \"order\")\r\n\t\t\t\t\t.filter((x) => x.price)\r\n\t\t\t\t\t.forEach((x) => additionalLines.set(this.$t(`enum.trainingCalculationLineType.${x.type}`), x.price));\r\n\t\t\t\treturn { subtotal: subTotal, additionalLines, standardLines } as IPriceSummary;\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget modularPriceSummary() {\r\n\t\t\treturn (trainingProductCartLine: TrainingCartLineClient) => {\r\n\t\t\t\tconst { basePrice, subTotal, numberOfModules, type } = trainingProductCartLine;\r\n\t\t\t\tconst additionalLines = new Map();\r\n\t\t\t\tconst standardLines = new Map();\r\n\t\t\t\tstandardLines.set(\r\n\t\t\t\t\t`${this.$t(`enum.trainingType.${type}`)} (${this.$tc(`training.lblModuleCount`, numberOfModules)})`,\r\n\t\t\t\t\tbasePrice\r\n\t\t\t\t);\r\n\t\t\t\tsortBy(trainingProductCartLine.additionalPrices, \"order\")\r\n\t\t\t\t\t.filter((x) => x.price)\r\n\t\t\t\t\t.forEach((x) => additionalLines.set(this.$t(`enum.trainingCalculationLineType.${x.type}`), x.price));\r\n\t\t\t\treturn { subtotal: subTotal, additionalLines, standardLines } as IPriceSummary;\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget totalPriceSummary() {\r\n\t\t\tconst { totalPrice } = this.trainingGroup;\r\n\t\t\treturn { totalPrice };\r\n\t\t}\r\n\r\n\t\tget canChangeConfiguration(): boolean {\r\n\t\t\treturn this.cartLineClient.trainingLineItemIds?.length > 0 && !!this.trainingGroup?.url;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.editingCartLines = sortBy(this.trainingGroup?.trainings, \"order\");\r\n\t\t}\r\n\r\n\t\tonChangeConfigurationClick(): void {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\tthis.openUrl(`${this.trainingGroup?.url}?lineItemIds=${this.cartLineClient.trainingLineItemIds?.join(\",\")}`);\r\n\t\t}\r\n\r\n\t\tonRemoveTrainingFromCartClick(): void {\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\tmessage: this.$t(\"cart.dialog.confirmRemoveProduct\", [this.trainingGroup.name]),\r\n\t\t\t\theader: this.$t(\"cart.dialog.confirmRemoveTrainingTitle\"),\r\n\t\t\t\tacceptLabel: this.$t(\"common.yes\"),\r\n\t\t\t\trejectLabel: this.$t(\"common.no\"),\r\n\t\t\t\taccept: () => {\r\n\t\t\t\t\tthis.removeTrainingFromCart({ lineItemIds: this.cartLineClient.trainingLineItemIds });\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tprotected removeTrainingFromCart(model: RemoveTrainingProductRequest): void {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/cart/remove-training\", model)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\twindow.location.reload();\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n","import { render } from \"./cartTrainingTable.vue?vue&type=template&id=746abec0&scoped=true&ts=true\"\nimport script from \"./cartTrainingTable.vue?vue&type=script&lang=ts\"\nexport * from \"./cartTrainingTable.vue?vue&type=script&lang=ts\"\n\nimport \"./cartTrainingTable.vue?vue&type=style&index=0&id=746abec0&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-746abec0\"]])\n\nexport default __exports__","\r\n\timport CartClientTable from \"@/components/commerce/cart/cartClientTable.vue\";\r\n\timport CartContractClientTable from \"@/components/commerce/cart/cartContractTable.vue\";\r\n\timport cartModule from \"@/store/modules/cartModule\";\r\n\timport { CartClient } from \"@/types/generated/api/cartClient\";\r\n\timport { CartContractClient } from \"@/types/generated/api/cartContractClient\";\r\n\timport { CartLineClient } from \"@/types/generated/api/cartLineClient\";\r\n\timport { CartLineType } from \"@/types/generated/cartLineType\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { Mixins, Prop, ProvideReactive, Watch } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { concat, uniqBy, upperFirst } from \"lodash\";\r\n\timport CartTrainingTable from \"@/components/commerce/cart/cartTrainingTable.vue\";\r\n\r\n\t@Options({ components: { CartTrainingTable, CartClientTable, CartContractClientTable } })\r\n\texport default class CartOverview extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) cartClient!: CartClient;\r\n\r\n\t\t@ProvideReactive()\r\n\t\t@Prop({ type: Boolean, required: false, default: true })\r\n\t\tisEditable!: boolean;\r\n\r\n\t\t@Watch(\"isEditable\") isEditableChanged(val: boolean): void {\r\n\t\t\tif (val) {\r\n\t\t\t\tcartModule.setCartClient(this.cartClient);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tcartModule.setCartClient(this.cartClient);\r\n\t\t}\r\n\r\n\t\tget cartLineTypeEnum(): typeof CartLineType {\r\n\t\t\treturn CartLineType;\r\n\t\t}\r\n\r\n\t\tget editingCartClient(): CartClient {\r\n\t\t\treturn this.isEditable ? cartModule.cartClient : this.cartClient;\r\n\t\t}\r\n\r\n\t\tget contractCartClients(): CartContractClient[] {\r\n\t\t\treturn concat(\r\n\t\t\t\tthis.editingCartClient.contractAdditions,\r\n\t\t\t\tthis.editingCartClient.contractCoterming,\r\n\t\t\t\tthis.editingCartClient.contractChanges,\r\n\t\t\t\tthis.editingCartClient.contractSwitches,\r\n\t\t\t\tthis.editingCartClient.contractProlongations,\r\n\t\t\t\tthis.editingCartClient.contractCotermProlongations\r\n\t\t\t).filter(Boolean);\r\n\t\t}\r\n\r\n\t\tget trainingCartClients(): CartLineClient[] {\r\n\t\t\treturn this.editingCartClient.trainingProducts;\r\n\t\t}\r\n\r\n\t\tget cartLineClientsByType(): CartLineClient[] {\r\n\t\t\treturn uniqBy(this.cartLineClients, \"cartLineType\");\r\n\t\t}\r\n\r\n\t\tget cartLineClients(): CartLineClient[] {\r\n\t\t\treturn concat(\r\n\t\t\t\tthis.editingCartClient.products,\r\n\t\t\t\tthis.editingCartClient.servicePassProducts,\r\n\t\t\t\tthis.editingCartClient.rentalSystemProducts,\r\n\t\t\t\tthis.editingCartClient.expertProducts,\r\n\t\t\t\tthis.editingCartClient.services,\r\n\t\t\t\tthis.editingCartClient.support,\r\n\t\t\t\tthis.editingCartClient.walletDeposits\r\n\t\t\t).filter(Boolean);\r\n\t\t}\r\n\r\n\t\tgetCartLinesForType(cartLineType: CartLineType): CartLineClient[] {\r\n\t\t\treturn this.cartLineClients.filter((x) => x.cartLineType === cartLineType);\r\n\t\t}\r\n\r\n\t\tgetUpperCaseCartLineType(cartLineType: CartLineType): string {\r\n\t\t\treturn upperFirst(this.cartLineTypeEnum[cartLineType]);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./cartOverview.vue?vue&type=template&id=15ebae3c&ts=true\"\nimport script from \"./cartOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./cartOverview.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0e96219e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"row\" }\nconst _hoisted_2 = { class: \"col-12\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n height: \"75\",\n class: \"print-header\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#cadacstore-logo\" })\n], -1))\nconst _hoisted_4 = { class: \"col-8 ml-auto pr-2 mt-2 print-footer\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CartOverview = _resolveComponent(\"CartOverview\")!\n const _component_PriceSummary = _resolveComponent(\"PriceSummary\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.title) + \" - \" + _toDisplayString(_ctx.$t(\"common.invoice\")), 1),\n _createVNode(_component_CartOverview, {\n \"cart-client\": _ctx.cartClient,\n \"is-editable\": false\n }, null, 8, [\"cart-client\"]),\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_PriceSummary, { vm: _ctx.priceSummary }, null, 8, [\"vm\"]),\n _createElementVNode(\"small\", null, _toDisplayString(_ctx.$t(\"cart.lblPrintDisclaimer\")), 1)\n ])\n ])\n ]))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { CartClient } from \"@/types/generated/api/cartClient\";\r\n\timport { IPriceSummary } from \"@/types/interfaces/common/priceSummary.interface\";\r\n\timport { sum } from \"lodash\";\r\n\timport { CouponCode } from \"@/types/generated/Api/couponCode\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport CartOverview from \"@/components/commerce/cart/cartOverview.vue\";\r\n\timport PriceSummary from \"@/components/common/priceSummary.vue\";\r\n\r\n\t@Options({ components: { CartOverview, PriceSummary } })\r\n\texport default class CartPrintPreview extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) cartClient!: CartClient;\r\n\t\t@Prop({ type: String, default: \"\" }) title!: string;\r\n\r\n\t\tget priceSummary(): IPriceSummary {\r\n\t\t\tif (!this.cartClient) return {} as IPriceSummary;\r\n\t\t\tconst {\r\n\t\t\t\tappliedCouponCodes,\r\n\t\t\t\ttotalBasePrice,\r\n\t\t\t\tsubtotalWithoutVat,\r\n\t\t\t\tpersonalDiscount,\r\n\t\t\t\ttotalPrice,\r\n\t\t\t\ttotalInstallationPrice,\r\n\t\t\t\tvatPercentage,\r\n\t\t\t\tvatAmount,\r\n\t\t\t} = this.cartClient;\r\n\t\t\tconst couponDiscount = sum(appliedCouponCodes?.map((x) => x.discount));\r\n\t\t\tconst discountLines = new Map();\r\n\t\t\tappliedCouponCodes?.forEach((coupon: CouponCode) => {\r\n\t\t\t\tconst name = coupon.isCadacWallet ? this.$t(\"cart.lblCadacWallet\") : coupon.name;\r\n\t\t\t\tdiscountLines.set(name, coupon.discount);\r\n\t\t\t});\r\n\r\n\t\t\treturn {\r\n\t\t\t\ttotalBasePrice,\r\n\t\t\t\tdiscountLines: discountLines,\r\n\t\t\t\ttotalCouponDiscount: couponDiscount,\r\n\t\t\t\ttotalDiscount: personalDiscount + couponDiscount,\r\n\t\t\t\ttotalPersonalPrice: subtotalWithoutVat,\r\n\t\t\t\ttotalInstallPrice: totalInstallationPrice,\r\n\t\t\t\ttotalPrice,\r\n\t\t\t\tvatPercentage,\r\n\t\t\t\tvatAmount,\r\n\t\t\t} as IPriceSummary;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./cartPrintPreview.vue?vue&type=template&id=0e96219e&scoped=true&ts=true\"\nimport script from \"./cartPrintPreview.vue?vue&type=script&lang=ts\"\nexport * from \"./cartPrintPreview.vue?vue&type=script&lang=ts\"\n\nimport \"./cartPrintPreview.vue?vue&type=style&index=0&id=0e96219e&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0e96219e\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"mb-0\" }\nconst _hoisted_2 = { class: \"lead mb-2\" }\nconst _hoisted_3 = { onsubmit: \"return false;\" }\nconst _hoisted_4 = { class: \"form-row\" }\nconst _hoisted_5 = { class: \"form-group col-12\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_7 = { class: \"p-field-checkbox mr-2 my-1\" }\nconst _hoisted_8 = {\n for: 'deleteAfterSave',\n class: \"ml-1 mb-0\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_Checkbox = _resolveComponent(\"Checkbox\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Dialog = _resolveComponent(\"Dialog\")!\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isVisible,\n \"onUpdate:visible\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.isVisible) = $event)),\n modal: true,\n onHide: _cache[5] || (_cache[5] = ($event: any) => (_ctx.onCancel())),\n breakpoints: { '1600px': '40vw', '1200px': '50vw', '992px': '60vw', '768px': '75vw', '576px': '90vw' },\n style: { width: '30vw' }\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"h3\", _hoisted_1, _toDisplayString(_ctx.$t(\"cart.dialog.saveCartTitle\")), 1)\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_Button, {\n label: _ctx.$t('common.cancel'),\n class: \"p-button-text p-button-plain\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.onCancel()))\n }, null, 8, [\"label\"]),\n _createVNode(_component_Button, {\n label: _ctx.$t('common.save'),\n disabled: !_ctx.canSubmit,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.onSubmit()))\n }, null, 8, [\"label\", \"disabled\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.$t(\"cart.dialog.saveCartHelpText\")), 1),\n _createElementVNode(\"form\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['cartSaveForm'].title?.required })\n }, _toDisplayString(_ctx.$t(\"cart.dialog.saveCartLblCartTitle\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$['cartSaveForm'].title.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.v$['cartSaveForm'].title.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$['cartSaveForm'].title) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$['cartSaveForm'].title))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_6, _toDisplayString(_ctx.v$[\"cartSaveForm\"].title?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_Checkbox, {\n id: 'deleteAfterSave',\n name: \"roles\",\n modelValue: _ctx.v$['cartSaveForm'].deleteAfterSave.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.v$['cartSaveForm'].deleteAfterSave.$model) = $event)),\n binary: true\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"label\", _hoisted_8, _toDisplayString(_ctx.$t(\"cart.dialog.lblDeleteAfterSave\")), 1)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}","\r\n\timport { Emit, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { minLength } from \"@/types/utils/i18n-validators\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { CartSaveForm } from \"@/types/generated/cartSaveForm\";\r\n\timport useVuelidate, { Validation } from \"@vuelidate/core\";\r\n\timport cartModule from \"@/store/modules/cartModule\";\r\n\timport Checkbox from 'primevue/checkbox';\r\n\r\n\t@Options({\r\n\t\temits: [\"cart-saved\"],\r\n\t\tcomponents: { Checkbox},\r\n\t\tvalidations: {\r\n\t\t\tcartSaveForm: {\r\n\t\t\t\ttitle: { minLength: minLength(2) },\r\n\t\t\t\tdeleteAfterSave: {},\r\n\t\t\t},\r\n\t\t},\r\n\t})\r\n\texport default class SaveCartModal extends Mixins(Helpers) {\r\n\t\t@Prop({ required: false, default: \"\" }) currentTitle!: string;\r\n\r\n\t\tv$ = useVuelidate();\r\n\t\tcartSaveForm: CartSaveForm | null = null;\r\n\t\tisVisible = true;\r\n\t\tsubmitted = false;\r\n\r\n\t\t@Emit()\r\n\t\tcartSaved(): CartSaveForm {\r\n\t\t\treturn this.cartSaveForm as CartSaveForm;\r\n\t\t}\r\n\r\n\t\tget canSubmit(): boolean {\r\n\t\t\treturn this.v$[\"cartSaveForm\"].$anyDirty && !this.v$[\"cartSaveForm\"].$invalid;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.cartSaveForm = { title: this.currentTitle, deleteAfterSave: !this.currentTitle } as CartSaveForm;\r\n\t\t}\r\n\r\n\t\tshouldShowError(fieldToValidate: Validation): boolean {\r\n\t\t\treturn fieldToValidate.$invalid && (this.submitted || fieldToValidate.$dirty);\r\n\t\t}\r\n\r\n\t\tonSubmit(): void {\r\n\t\t\tthis.submitted = true;\r\n\t\t\tif (!this.canSubmit) return;\r\n\t\t\tthis.cartSaved();\r\n\t\t}\r\n\r\n\t\tonCancel(): void {\r\n\t\t\tcartModule.setShowSaveCartModal(false);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./saveCartModal.vue?vue&type=template&id=f0adc5b2&ts=true\"\nimport script from \"./saveCartModal.vue?vue&type=script&lang=ts\"\nexport * from \"./saveCartModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"mb-0\" }\nconst _hoisted_2 = { class: \"lead mb-2\" }\nconst _hoisted_3 = {\n class: \"pb-3\",\n onsubmit: \"return false;\"\n}\nconst _hoisted_4 = { class: \"form-row\" }\nconst _hoisted_5 = { class: \"form-group col-12\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_7 = { class: \"form-row\" }\nconst _hoisted_8 = { class: \"form-group col-12\" }\nconst _hoisted_9 = {\n key: 2,\n class: \"p-error\"\n}\nconst _hoisted_10 = {\n key: 0,\n class: \"form-row\"\n}\nconst _hoisted_11 = { class: \"form-group col-12\" }\nconst _hoisted_12 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_13 = {\n key: 1,\n class: \"p-field-checkbox form-group mt-1\"\n}\nconst _hoisted_14 = {\n class: \"ml-2 mb-0\",\n for: \"sendEmail\"\n}\nconst _hoisted_15 = { key: 2 }\nconst _hoisted_16 = { class: \"form-row\" }\nconst _hoisted_17 = { class: \"form-group col-12\" }\nconst _hoisted_18 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_19 = { class: \"form-row\" }\nconst _hoisted_20 = { class: \"form-group col-12\" }\nconst _hoisted_21 = {\n key: 0,\n class: \"p-chips-token-label\"\n}\nconst _hoisted_22 = {\n key: 1,\n class: \"p-chips-token-label text-danger\"\n}\nconst _hoisted_23 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_24 = { class: \"form-row\" }\nconst _hoisted_25 = { class: \"form-group col-12\" }\nconst _hoisted_26 = {\n key: 0,\n class: \"p-error\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_AutoComplete = _resolveComponent(\"AutoComplete\")!\n const _component_Dropdown = _resolveComponent(\"Dropdown\")!\n const _component_Checkbox = _resolveComponent(\"Checkbox\")!\n const _component_Chips = _resolveComponent(\"Chips\")!\n const _component_Textarea = _resolveComponent(\"Textarea\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Dialog = _resolveComponent(\"Dialog\")!\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isVisible,\n \"onUpdate:visible\": _cache[13] || (_cache[13] = ($event: any) => ((_ctx.isVisible) = $event)),\n modal: true,\n onHide: _cache[14] || (_cache[14] = ($event: any) => (_ctx.onCancel())),\n breakpoints: { '1600px': '40vw', '1200px': '50vw', '992px': '60vw', '768px': '75vw', '576px': '90vw' },\n style: { width: '30vw' }\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"h3\", _hoisted_1, _toDisplayString(_ctx.canMakeSalesOpportunity ? _ctx.$t(\"cart.dialog.shareCartTitleImpersonated\") : _ctx.$t(\"cart.dialog.shareCartTitle\")), 1)\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_Button, {\n label: _ctx.$t('common.cancel'),\n class: \"p-button-text p-button-plain\",\n onClick: _cache[11] || (_cache[11] = ($event: any) => (_ctx.onCancel()))\n }, null, 8, [\"label\"]),\n _createVNode(_component_Button, {\n label: _ctx.canMakeSalesOpportunity ? _ctx.$t('common.save') : _ctx.$t('common.send'),\n disabled: !_ctx.canSubmit,\n onClick: _cache[12] || (_cache[12] = ($event: any) => (_ctx.onSubmit()))\n }, null, 8, [\"label\", \"disabled\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.canMakeSalesOpportunity\r\n\t\t\t\t\t? _ctx.$t(\"cart.dialog.shareCartHelpTextImpersonated\")\r\n\t\t\t\t\t: _ctx.$t(\"cart.dialog.shareCartHelpText\")), 1),\n _createElementVNode(\"form\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['cartShareForm'].title?.required })\n }, _toDisplayString(_ctx.$t(\"cart.dialog.shareCartLblTitle\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$['cartShareForm'].title.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.v$['cartShareForm'].title.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$['cartShareForm'].title) }),\n readonly: !_ctx.vm.allowChooseSalesOpportunity\n }, null, 8, [\"modelValue\", \"class\", \"readonly\"]),\n (_ctx.shouldShowError(_ctx.v$['cartShareForm'].title))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_6, _toDisplayString(_ctx.v$[\"cartShareForm\"].title?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['cartShareForm'].salesOpportunityName?.required })\n }, _toDisplayString(_ctx.$t(\"cart.dialog.shareCartLblOpportunityName\")), 3),\n (_ctx.canMakeSalesOpportunity)\n ? (_openBlock(), _createBlock(_component_AutoComplete, {\n key: 0,\n onComplete: _cache[1] || (_cache[1] = ($event: any) => (_ctx.onSearchTrigger($event))),\n onItemSelect: _cache[2] || (_cache[2] = ($event: any) => (_ctx.onSalesOpportunitySelected($event))),\n modelValue: _ctx.v$['cartShareForm'].salesOpportunityName.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.v$['cartShareForm'].salesOpportunityName.$model) = $event)),\n completeOnFocus: true,\n suggestions: _ctx.salesOpportunitySuggestions,\n placeholder: _ctx.$t('cart.dialog.salesOpportunityName_placeholder'),\n appendTo: \"self\",\n field: \"name\",\n class: \"d-inline\"\n }, null, 8, [\"modelValue\", \"suggestions\", \"placeholder\"]))\n : (_openBlock(), _createBlock(_component_InputText, {\n key: 1,\n modelValue: _ctx.v$['cartShareForm'].salesOpportunityName.$model,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.v$['cartShareForm'].salesOpportunityName.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$['cartShareForm'].salesOpportunityName) }),\n type: \"text\",\n readonly: \"\"\n }, null, 8, [\"modelValue\", \"class\"])),\n (_ctx.shouldShowError(_ctx.v$['cartShareForm'].salesOpportunityName))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_9, _toDisplayString(_ctx.v$[\"cartShareForm\"].salesOpportunityName?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.canMakeSalesOpportunity)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['cartShareForm'].responsibleSales?.required })\n }, _toDisplayString(_ctx.$t(\"cart.dialog.shareCartLblResponsibleSales\")), 3),\n _createVNode(_component_Dropdown, {\n modelValue: _ctx.v$['cartShareForm'].responsibleSales.$model,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.v$['cartShareForm'].responsibleSales.$model) = $event)),\n options: _ctx.responsibleSalesOptions,\n \"option-value\": \"value\",\n \"option-label\": \"label\",\n placeholder: _ctx.$t('cart.dialog.responsibleSales_placeholder')\n }, null, 8, [\"modelValue\", \"options\", \"placeholder\"]),\n (_ctx.shouldShowError(_ctx.v$['cartShareForm'].responsibleSales))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_12, _toDisplayString(_ctx.v$[\"cartShareForm\"].responsibleSales?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.canMakeSalesOpportunity)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createVNode(_component_Checkbox, {\n binary: true,\n modelValue: _ctx.v$['cartShareForm'].sendEmail.$model,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.v$['cartShareForm'].sendEmail.$model) = $event)),\n id: \"sendEmail\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"label\", _hoisted_14, _toDisplayString(_ctx.$t(\"cart.dialog.shareCartLblSendEmail\")), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.v$['cartShareForm'].sendEmail?.$model)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['cartShareForm'].fromEmail?.required })\n }, _toDisplayString(_ctx.$t(\"cart.dialog.shareCartLblSenderEmail\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$['cartShareForm'].fromEmail.$model,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.v$['cartShareForm'].fromEmail.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$['cartShareForm'].fromEmail) }),\n readonly: _ctx.userProfile?.isImpersonated || _ctx.userProfile?.isImpersonationAllowed\n }, null, 8, [\"modelValue\", \"class\", \"readonly\"]),\n (_ctx.shouldShowError(_ctx.v$['cartShareForm'].fromEmail))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_18, _toDisplayString(_ctx.v$[\"cartShareForm\"].fromEmail?.email?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['cartShareForm'].toEmail?.required })\n }, _toDisplayString(_ctx.$t(\"cart.dialog.shareCartLblReceiverEmail\")), 3),\n _createVNode(_component_Chips, {\n onAdd: _cache[8] || (_cache[8] = ($event: any) => (_ctx.onToEmailAdded($event))),\n modelValue: _ctx.v$['cartShareForm'].toEmail.$model,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.v$['cartShareForm'].toEmail.$model) = $event)),\n class: _normalizeClass([{ 'p-invalid': _ctx.shouldShowError(_ctx.v$['cartShareForm'].toEmail) }, \"d-inline\"]),\n \"add-on-blur\": true,\n allowDuplicate: false\n }, {\n chip: _withCtx((item) => [\n (_ctx.validToEmailAddresses.includes(item.value))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_21, _toDisplayString(item.value), 1))\n : (_openBlock(), _createElementBlock(\"s\", _hoisted_22, _toDisplayString(item.value), 1))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$['cartShareForm'].toEmail))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_23, _toDisplayString(_ctx.v$[\"cartShareForm\"].toEmail?.oneValidEmailRequired?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['cartShareForm'].description?.required })\n }, _toDisplayString(_ctx.$t(\"cart.dialog.shareCartLblDescription\")), 3),\n _createVNode(_component_Textarea, {\n modelValue: _ctx.v$['cartShareForm'].description.$model,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.v$['cartShareForm'].description.$model) = $event)),\n class: _normalizeClass([{ 'p-invalid': _ctx.shouldShowError(_ctx.v$['cartShareForm'].description) }, \"d-inline\"]),\n rows: \"5\"\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$['cartShareForm'].description))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_26, _toDisplayString(_ctx.v$[\"cartShareForm\"].description?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}","\r\n\timport AutoComplete from \"primevue/autocomplete\";\r\n\timport Checkbox from \"primevue/checkbox\";\r\n\timport Chips from \"primevue/chips\";\r\n\timport cartModule from \"@/store/modules/cartModule\";\r\n\timport useVuelidate, { Validation, ValidatorFn } from \"@vuelidate/core\";\r\n\timport { CartShareForm } from \"@/types/generated/cartShareForm\";\r\n\timport { Emit, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { FilterService } from \"primevue/api\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IShoppingCart } from \"@/types/interfaces/commerce/shoppingCart.interface\";\r\n\timport { OpportunityView } from \"@/types/generated/opportunityView\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { ValidationHelper } from \"@/types/helpers/validationHelper\";\r\n\timport { format } from \"date-fns\";\r\n\timport { minLength, required, withI18nMessage } from \"@/types/utils/i18n-validators\";\r\n\timport { IDropdownItem } from \"@/types/interfaces/common/dropdownItem.interface\";\r\n\timport { FormatHelper } from \"@/types/helpers/formatHelper\";\r\n\r\n\tconst validToEmail = (value: string[], siblings: any, vm: any): boolean => {\r\n\t\tif (!vm && siblings) vm = siblings;\r\n\t\treturn vm.cartShareForm.sendEmail ? value.some((x) => ValidationHelper.validateEmail(x)) : true;\r\n\t};\r\n\tconst validFromEmail = (value: string, siblings: any, vm: any): boolean => {\r\n\t\tif (!vm && siblings) vm = siblings;\r\n\t\treturn vm.cartShareForm.sendEmail ? ValidationHelper.validateEmail(value) : true;\r\n\t};\r\n\r\n\t@Options({\r\n\t\temits: [\"cart-shared\"],\r\n\t\tcomponents: { AutoComplete, Checkbox, Chips },\r\n\t\tvalidations: {\r\n\t\t\tcartShareForm: {\r\n\t\t\t\ttitle: { required, minLength: minLength(2) },\r\n\t\t\t\tsalesOpportunity: {},\r\n\t\t\t\tsalesOpportunityName: { required },\r\n\t\t\t\tresponsibleSales: {},\r\n\t\t\t\ttoEmail: { oneValidEmailRequired: withI18nMessage(validToEmail as ValidatorFn) },\r\n\t\t\t\tfromEmail: { email: withI18nMessage(validFromEmail as ValidatorFn) },\r\n\t\t\t\tdescription: {},\r\n\t\t\t\tsendEmail: {},\r\n\t\t\t},\r\n\t\t},\r\n\t})\r\n\texport default class ShareCartModal extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) vm!: IShoppingCart;\r\n\r\n\t\tv$ = useVuelidate();\r\n\t\tcartShareForm: Partial | null = null;\r\n\t\tisVisible = true;\r\n\t\tsubmitted = false;\r\n\t\tsalesOpportunitySuggestions: OpportunityView[] = [];\r\n\t\tresponsibleSalesOptions: IDropdownItem[] = [];\r\n\t\tvalidToEmailAddresses: string[] = [];\r\n\r\n\t\t@Emit()\r\n\t\tcartShared(): Partial {\r\n\t\t\tconst formValue = { ...this.cartShareForm } as Partial;\r\n\t\t\tformValue.toEmail = this.validToEmailAddresses;\r\n\t\t\t// Delete the sales Opportunity ID if it's a new name\r\n\t\t\tif (this.salesOpportunitySuggestions.findIndex((x) => x.name === formValue.salesOpportunityName) < 0) {\r\n\t\t\t\tdelete formValue.salesOpportunity;\r\n\t\t\t}\r\n\t\t\tif (!formValue.sendEmail) {\r\n\t\t\t\tdelete formValue.toEmail;\r\n\t\t\t\tdelete formValue.fromEmail;\r\n\t\t\t\tdelete formValue.description;\r\n\t\t\t}\r\n\t\t\treturn formValue;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.cartShareForm = {\r\n\t\t\t\ttitle: this.vm.cartTitle,\r\n\t\t\t\tsendEmail: !this.vm.allowChooseSalesOpportunity,\r\n\t\t\t\tfromEmail: this.userProfile?.isImpersonated ? this.userProfile?.originalUserName : this.userProfile?.email,\r\n\t\t\t\ttoEmail: [this.userProfile?.email],\r\n\t\t\t\tsalesOpportunityName: this.vm.cartOpportunityName,\r\n\t\t\t\tsalesOpportunity: \"\",\r\n\t\t\t\tresponsibleSales: \"\",\r\n\t\t\t\tdescription: \"\",\r\n timeStamp: format(FormatHelper.getUTCDate(), \"yyyyMMddHHmmss\")\r\n\t\t\t};\r\n\t\t\tthis.validToEmailAddresses =\r\n\t\t\t\tthis.cartShareForm.toEmail?.filter((x) => ValidationHelper.validateEmail(x)) || [];\r\n\t\t\tthis.responsibleSalesOptions = this.vm.possibleResponsibleSales?.map((x) => ({\r\n\t\t\t\tlabel: x.name,\r\n\t\t\t\tvalue: x.emailAddress,\r\n\t\t\t}));\r\n\t\t}\r\n\r\n\t\tget canSubmit(): boolean {\r\n\t\t\treturn this.v$[\"cartShareForm\"].$anyDirty && !this.v$[\"cartShareForm\"].$invalid;\r\n\t\t}\r\n\r\n\t\tget canMakeSalesOpportunity(): boolean {\r\n\t\t\treturn (\r\n\t\t\t\t!!(this.userProfile?.isImpersonated || this.userProfile?.isImpersonationAllowed) &&\r\n\t\t\t\tthis.vm.allowChooseSalesOpportunity\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tshouldShowError(fieldToValidate: Validation): boolean {\r\n\t\t\treturn fieldToValidate.$invalid && (this.submitted || fieldToValidate.$dirty);\r\n\t\t}\r\n\r\n\t\tonSubmit(): void {\r\n\t\t\tthis.submitted = true;\r\n\t\t\tif (!this.canSubmit) return;\r\n\t\t\tthis.cartShared();\r\n\t\t}\r\n\r\n\t\tonCancel(): void {\r\n\t\t\tcartModule.setShowShareCartModal(false);\r\n\t\t}\r\n\r\n\t\tonSearchTrigger({ query }: { query: string }): void {\r\n\t\t\t// @ts-ignore\r\n\t\t\tthis.salesOpportunitySuggestions = FilterService.filter(\r\n\t\t\t\tthis.vm.salesOpportunityViews,\r\n\t\t\t\t[\"name\"],\r\n\t\t\t\tquery,\r\n\t\t\t\t\"contains\",\r\n\t\t\t\tthis.currentRegion\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tonSalesOpportunitySelected({ value }: { value: OpportunityView }): void {\r\n\t\t\t//set salesOpportunity ID and responsible sales\r\n\t\t\tthis.v$[\"cartShareForm\"].salesOpportunityName.$model = value.name;\r\n\t\t\tthis.v$[\"cartShareForm\"].salesOpportunity.$model = value.id;\r\n\t\t\tthis.v$[\"cartShareForm\"].responsibleSales.$model = this.responsibleSalesOptions.find(\r\n\t\t\t\t(x) => x.label === value.responsibleSales\r\n\t\t\t)?.value;\r\n\t\t}\r\n\r\n\t\tonToEmailAdded({ value }: { value: string[] }): void {\r\n\t\t\tthis.validToEmailAddresses = value.filter((x) => ValidationHelper.validateEmail(x));\r\n\t\t}\r\n\t}\r\n","import { render } from \"./shareCartModal.vue?vue&type=template&id=75985c92&ts=true\"\nimport script from \"./shareCartModal.vue?vue&type=script&lang=ts\"\nexport * from \"./shareCartModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\timport Accordion from \"primevue/accordion\";\r\n\timport AccordionTab from \"primevue/accordiontab\";\r\n\timport CartOverview from \"@/components/commerce/cart/cartOverview.vue\";\r\n\timport CartPrintPreview from \"@/components/commerce/cart/cartPrintPreview.vue\";\r\n\timport OverlayPanel from \"primevue/overlaypanel\";\r\n\timport PriceSummary from \"@/components/common/priceSummary.vue\";\r\n\timport ProgressSpinner from \"primevue/progressspinner\";\r\n\timport SaveCartModal from \"@/components/commerce/cart/saveCartModal.vue\";\r\n\timport ShareCartModal from \"@/components/commerce/cart/shareCartModal.vue\";\r\n\timport axios, { AxiosResponse } from \"axios\";\r\n\timport cartModule from \"@/store/modules/cartModule\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\timport { CartClient } from \"@/types/generated/api/cartClient\";\r\n\timport { CartSaveForm } from \"@/types/generated/cartSaveForm\";\r\n\timport { CartShareForm } from \"@/types/generated/cartShareForm\";\r\n\timport { CouponCode } from \"@/types/generated/Api/couponCode\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IPriceSummary } from \"@/types/interfaces/common/priceSummary.interface\";\r\n\timport { IShoppingCart } from \"@/types/interfaces/commerce/shoppingCart.interface\";\r\n\timport { Mixins, Prop, Ref } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { sum } from \"lodash\";\r\n\timport { useCookies } from \"@vueuse/integrations/useCookies\";\r\n\r\n\t@Options({\r\n\t\tcomponents: {\r\n\t\t\tAccordion,\r\n\t\t\tAccordionTab,\r\n\t\t\tCartOverview,\r\n\t\t\tCartPrintPreview,\r\n\t\t\tSaveCartModal,\r\n\t\t\tShareCartModal,\r\n\t\t\tPriceSummary,\r\n\t\t\tProgressSpinner,\r\n\t\t\tOverlayPanel,\r\n\t\t},\r\n\t})\r\n\texport default class ShoppingCart extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) vm!: IShoppingCart;\r\n\t\t@Ref(\"useWalletPanel\") useWalletPanel!: OverlayPanel;\r\n\r\n\t\tisLoading = false;\r\n\t\tcouponFormActiveIndex = -1;\r\n\t\tcouponCode = \"\";\r\n\t\twalletExchangeAmount = 0;\r\n\t\tshowCartItemsMergedMsg = false;\r\n\t\tcookies = useCookies([\"shoppingCartsMerged\"]);\r\n\r\n\t\tcreated(): void {\r\n\t\t\tcartModule.setCartClient(this.vm.cartClient);\r\n\t\t\tthis.walletExchangeAmount = this.hasActiveWalletCoupon\r\n\t\t\t\t? this.cartClient.appliedCouponCodes[0].discount\r\n\t\t\t\t: this.vm.maxWalletAmount;\r\n\t\t\tthis.couponFormActiveIndex = this.hasActiveWalletCoupon ? 0 : this.hasActiveCoupon ? 1 : -1;\r\n\t\t\t// Check if Carts were merged.\r\n\t\t\tif (this.cookies.get(\"shoppingCartsMerged\")) {\r\n\t\t\t\tthis.showCartItemsMergedMsg = true;\r\n\t\t\t\tthis.cookies.remove(\"shoppingCartsMerged\", { path: \"/\" });\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tget cartClient(): CartClient {\r\n\t\t\treturn cartModule.cartClient;\r\n\t\t}\r\n\r\n\t\tget canCheckout(): boolean {\r\n\t\t\treturn !this.isLoading && !!this.vm.checkoutPageUrl && !this.cartIsEmpty;\r\n\t\t}\r\n\r\n\t\tget hasValidProfile(): boolean {\r\n\t\t\treturn !!(this.userProfile?.emailVerified || this.userProfile?.isImpersonated);\r\n\t\t}\r\n\r\n\t\tget cartIsEmpty(): boolean {\r\n\t\t\treturn this.vm.cartClient?.itemCount <= 0;\r\n\t\t}\r\n\r\n\t\tget hasActiveCoupon(): boolean {\r\n\t\t\treturn (this.cartClient?.appliedCouponCodes as CouponCode[])?.filter((x) => !x.isCadacWallet)?.length > 0;\r\n\t\t}\r\n\r\n\t\tget hasActiveWalletCoupon(): boolean {\r\n\t\t\treturn (this.cartClient?.appliedCouponCodes as CouponCode[])?.filter((x) => x.isCadacWallet)?.length > 0;\r\n\t\t}\r\n\r\n\t\tget canExchangeWallet(): boolean {\r\n\t\t\treturn (\r\n\t\t\t\tthis.cartClient?.itemCount > 0 &&\r\n\t\t\t\t!this.hasActiveCoupon &&\r\n\t\t\t\tthis.vm.canUseWallet &&\r\n\t\t\t\tthis.cartClient?.maxWalletAmount > 0\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget showWalletMessage(): boolean {\r\n\t\t\treturn (\r\n\t\t\t\tthis.cartClient?.itemCount > 0 &&\r\n\t\t\t\tthis.hasActiveCoupon &&\r\n\t\t\t\tthis.vm.canUseWallet &&\r\n\t\t\t\tthis.cartClient?.maxWalletAmount > 0\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget showCouponMessage(): boolean {\r\n\t\t\treturn this.hasActiveWalletCoupon;\r\n\t\t}\r\n\r\n\t\tget canExchangeCoupon(): boolean {\r\n\t\t\treturn !this.hasActiveWalletCoupon;\r\n\t\t}\r\n\r\n\t\tget pageTitle(): string {\r\n\t\t\treturn this.vm.cartTitle && this.vm.titleEnabled\r\n\t\t\t\t? `${this.vm.pageTitle}: ${this.vm.cartTitle}`\r\n\t\t\t\t: this.vm.pageTitle;\r\n\t\t}\r\n\r\n\t\tget firstErrorMessage(): string {\r\n\t\t\treturn this.cartClient?.messages?.length ? this.cartClient.messages[0] : \"\";\r\n\t\t}\r\n\r\n\t\tget showSaveCartModal(): boolean {\r\n\t\t\treturn cartModule.showSaveCartModal;\r\n\t\t}\r\n\r\n\t\tget showShareCartModal(): boolean {\r\n\t\t\treturn cartModule.showShareCartModal;\r\n\t\t}\r\n\r\n\t\tget priceSummary(): IPriceSummary {\r\n\t\t\tconst {\r\n\t\t\t\tappliedCouponCodes,\r\n\t\t\t\ttotalBasePrice,\r\n\t\t\t\tsubtotalWithoutVat,\r\n\t\t\t\tpersonalDiscount,\r\n\t\t\t\ttotalPrice,\r\n\t\t\t\ttotalInstallationPrice,\r\n\t\t\t\tvatPercentage,\r\n\t\t\t\tvatAmount,\r\n\t\t\t} = this.cartClient;\r\n\t\t\tconst couponDiscount = sum(appliedCouponCodes?.map((x) => x.discount));\r\n\t\t\tconst discountLines = new Map();\r\n\t\t\tappliedCouponCodes?.forEach((coupon: CouponCode) => {\r\n\t\t\t\tconst name = coupon.isCadacWallet ? this.$t(\"cart.lblCadacWallet\") : coupon.name;\r\n\t\t\t\tdiscountLines.set(name, coupon.discount);\r\n\t\t\t});\r\n\r\n\t\t\treturn {\r\n\t\t\t\ttotalBasePrice,\r\n\t\t\t\tdiscountLines: discountLines,\r\n\t\t\t\ttotalCouponDiscount: couponDiscount,\r\n\t\t\t\ttotalDiscount: personalDiscount + couponDiscount,\r\n\t\t\t\ttotalPersonalPrice: subtotalWithoutVat,\r\n\t\t\t\ttotalInstallPrice: totalInstallationPrice,\r\n\t\t\t\ttotalPrice,\r\n\t\t\t\tvatPercentage,\r\n\t\t\t\tvatAmount,\r\n\t\t\t} as IPriceSummary;\r\n\t\t}\r\n\r\n\t\tget showOtherCartsButton(): boolean {\r\n\t\t\treturn !this.cartIsEmpty && this.vm.totalNumberOfShoppingCarts > 0 && !!this.vm.myCartsPageUrl;\r\n\t\t}\r\n\r\n\t\tget showSaveCartButton(): boolean {\r\n\t\t\treturn !this.cartIsEmpty && !!(this.userProfile?.emailVerified || this.userProfile?.isImpersonated);\r\n\t\t}\r\n\r\n\t\tonCheckoutClick(): void {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tif (this.userProfile && (this.userProfile.emailVerified || this.userProfile.isImpersonated)) {\r\n\t\t\t\tthis.openUrl(this.vm.checkoutPageUrl);\r\n\t\t\t} else {\r\n\t\t\t\tthis.goToLoginPage();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tonSaveCartClick(): void {\r\n\t\t\tcartModule.setShowSaveCartModal(true);\r\n\t\t}\r\n\r\n\t\tonDeleteCartClick(): void {\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\tmessage: this.$t(\"cart.dialog.confirmDeleteCartMessage\"),\r\n\t\t\t\theader: this.$t(\"cart.dialog.confirmDeleteCartTitle\"),\r\n\t\t\t\tacceptLabel: this.$t(\"common.yes\"),\r\n\t\t\t\trejectLabel: this.$t(\"common.no\"),\r\n\t\t\t\taccept: () => {\r\n\t\t\t\t\tthis.deleteCart();\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tonPrintCartClick(): void {\r\n\t\t\t// print cart\r\n\t\t\twindow.print();\r\n\t\t}\r\n\r\n\t\tonShareCartClick(): void {\r\n\t\t\tcartModule.setShowShareCartModal(true);\r\n\t\t}\r\n\r\n\t\tgoToLoginPage(): void {\r\n\t\t\tconst url = `${this.vm.loginPageUrl}/cadacstore?login_origin=${window.location.origin}\r\n\t\t\t&language=${this.currentRegion}\r\n\t\t\t&redirect=${window.location}`;\r\n\t\t\tthis.openUrl(url);\r\n\t\t}\r\n\r\n\t\tonExchangeWalletClick(event: Event): void {\r\n\t\t\tthis.useWalletPanel.toggle(event);\r\n\t\t}\r\n\r\n\t\tprotected addCouponCode(): void {\r\n\t\t\tif (this.isSpinnerVisible[\"btnSubmitCoupon\"]) return;\r\n\t\t\tcommonModule.showSpinner(\"btnSubmitCoupon\");\r\n\t\t\tcartModule\r\n\t\t\t\t.addCouponCode(this.couponCode)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tif (this.cartClient.appliedCouponCodes?.length) {\r\n\t\t\t\t\t\t// update cart\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\t\tdetail: this.$t(\"cart.toast.addCouponSuccess\"),\r\n\t\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\t\tdetail: this.$t(\"cart.toast.addCouponError\"),\r\n\t\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => commonModule.hideSpinner(\"btnSubmitCoupon\"));\r\n\t\t}\r\n\r\n\t\tprotected removeCouponCode(coupon: CouponCode): void {\r\n\t\t\tif (this.isSpinnerVisible[\"btnRemoveCoupon\"]) return;\r\n\t\t\tcommonModule.showSpinner(\"btnRemoveCoupon\");\r\n\t\t\tcartModule\r\n\t\t\t\t.removeCouponCode(coupon.value)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tif (!this.cartClient.appliedCouponCodes?.length) {\r\n\t\t\t\t\t\tthis.couponFormActiveIndex = -1;\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\t\tdetail: coupon?.isCadacWallet\r\n\t\t\t\t\t\t\t\t? this.$t(\"cart.toast.removeWalletSuccess\")\r\n\t\t\t\t\t\t\t\t: this.$t(\"cart.toast.removeCouponSuccess\"),\r\n\t\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\t\tdetail: coupon?.isCadacWallet\r\n\t\t\t\t\t\t\t\t? this.$t(\"cart.toast.removeWalletError\")\r\n\t\t\t\t\t\t\t\t: this.$t(\"cart.toast.removeCouponError\"),\r\n\t\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => commonModule.hideSpinner(\"btnRemoveCoupon\"));\r\n\t\t}\r\n\r\n\t\tprotected exchangeWalletAmount(): void {\r\n\t\t\tif (this.isSpinnerVisible[\"btnExchangeWallet\"]) return;\r\n\t\t\tcommonModule.showSpinner(\"btnExchangeWallet\");\r\n\t\t\tcartModule\r\n\t\t\t\t.exchangeWalletAmount(this.walletExchangeAmount)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tif (!this.cartClient.hasError) {\r\n\t\t\t\t\t\tthis.useWalletPanel.hide();\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\t\tdetail: this.$t(\"cart.toast.exchangeWalletSuccess\"),\r\n\t\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\t\tdetail: this.$t(\"cart.toast.exchangeWalletError\"),\r\n\t\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => commonModule.hideSpinner(\"btnExchangeWallet\"));\r\n\t\t}\r\n\r\n\t\tprotected deleteCart(): void {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\tcartModule\r\n\t\t\t\t.deleteCart()\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tif (!this.cartClient.hasError) {\r\n\t\t\t\t\t\twindow.location.reload();\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\t\tdetail: this.$t(\"cart.toast.deleteCartSuccess\"),\r\n\t\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\t\tdetail: this.$t(\"cart.toast.deleteCartError\"),\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tconsole.error(\"deleteCart -> err\", err);\r\n\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\tdetail: this.$t(\"cart.toast.deleteCartError\"),\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\tprotected saveCart(model: CartSaveForm): void {\r\n\t\t\tmodel.salesOpportunity = this.vm.cartOpportunityName;\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/cart/saveCart\", model)\r\n\t\t\t\t.then((res: AxiosResponse) => {\r\n\t\t\t\t\tif (res.data) {\r\n\t\t\t\t\t\tcartModule.setShowSaveCartModal(false);\r\n\t\t\t\t\t\tif (model.deleteAfterSave) this.openUrl(this.vm.myCartsPageUrl);\r\n\t\t\t\t\t\telse commonModule.decreaseLoadingCount();\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\t\tdetail: this.$t(\"cart.toast.saveCartSuccess\", [model.title]),\r\n\t\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\t\tdetail: this.$t(\"cart.toast.saveCartError\"),\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tconsole.error(\"saveCart -> err\", err);\r\n\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\tdetail: this.$t(\"cart.toast.saveCartError\"),\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\tprotected shareCart(model: CartShareForm): void {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/cart/shareCart\", model)\r\n\t\t\t\t.then((res: AxiosResponse) => {\r\n\t\t\t\t\tif (res.data) {\r\n\t\t\t\t\t\twindow.dataLayer.push({ event: \"ecommerceCartShare\" });\r\n\t\t\t\t\t\tcartModule.setShowShareCartModal(false);\r\n\t\t\t\t\t\twindow.location.reload();\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"success\",\r\n\t\t\t\t\t\t\tdetail: this.$t(\"cart.toast.shareCartSuccess\", [model.title]),\r\n\t\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\t\tdetail: this.$t(\"cart.toast.shareCartError\"),\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tconsole.error(\"shareCart -> err\", err);\r\n\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\tdetail: this.$t(\"cart.toast.shareCartError\"),\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n","import { render } from \"./shoppingCart.vue?vue&type=template&id=13f016ba&scoped=true&ts=true\"\nimport script from \"./shoppingCart.vue?vue&type=script&lang=ts\"\nexport * from \"./shoppingCart.vue?vue&type=script&lang=ts\"\n\nimport \"./shoppingCart.vue?vue&type=style&index=0&id=13f016ba&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-13f016ba\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, normalizeClass as _normalizeClass, withModifiers as _withModifiers, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4c020402\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"hidden-print\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"mt-1\" }, null, -1))\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"col-12\"\n}\nconst _hoisted_5 = {\n key: 1,\n class: \"col-12\"\n}\nconst _hoisted_6 = [\"href\", \"title\"]\nconst _hoisted_7 = {\n key: 1,\n class: \"mb-0\"\n}\nconst _hoisted_8 = { class: \"text-primary text-bold\" }\nconst _hoisted_9 = [\"href\", \"onClick\", \"target\"]\nconst _hoisted_10 = { class: \"p-menuitem-text\" }\nconst _hoisted_11 = { class: \"d-flex flex-nowrap flex-grow-1 justify-content-between justify-content-lg-end\" }\nconst _hoisted_12 = { class: \"row-expansion-content\" }\nconst _hoisted_13 = {\n key: 0,\n class: \"visible-print\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_Menu = _resolveComponent(\"Menu\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_CartOverview = _resolveComponent(\"CartOverview\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n const _component_CartPrintPreview = _resolveComponent(\"CartPrintPreview\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.vm.pageTitle), 1),\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n (!_ctx.vm.shoppingCarts.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(_component_Message, {\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.cartOverview.noCarts\")), 1)\n ]),\n _: 1\n })\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode(_component_DataTable, {\n onRowClick: _withModifiers(_ctx.onRowClick, [\"self\"]),\n value: _ctx.vm.shoppingCarts,\n \"expanded-rows\": _ctx.expandedRows,\n \"onUpdate:expanded-rows\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.expandedRows) = $event)),\n \"row-class\": _ctx.highlightRow,\n \"row-hover\": true,\n class: \"mb-3\",\n \"responsive-layout\": \"stack\",\n \"auto-layout\": !_ctx.isSmallScreen?.value\n }, {\n expansion: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_CartOverview, {\n \"cart-client\": item.data.cartClient,\n \"is-editable\": false\n }, null, 8, [\"cart-client\"])\n ])\n ]),\n default: _withCtx(() => [\n (!_ctx.isSmallScreen?.value)\n ? (_openBlock(), _createBlock(_component_Column, {\n key: 0,\n expander: \"\",\n headerStyle: \"width:1.75rem\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.userProfile?.isImpersonated || _ctx.userProfile?.isCadacSales)\n ? (_openBlock(), _createBlock(_component_Column, {\n header: _ctx.$t('myCadac.cartOverview.table.colSalesOpportunity'),\n key: \"sales\"\n }, {\n body: _withCtx((item) => [\n (_ctx.userProfile?.isImpersonatedByCadacSales && item.data.opportunityUrl)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n class: \"text-bold\",\n href: item.data.opportunityUrl,\n title: _ctx.$t('common.goToCrm'),\n target: \"_blank\"\n }, _toDisplayString(item.data.opportunityName), 9, _hoisted_6))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_7, _toDisplayString(item.data.opportunityName || item.data.title), 1)),\n _createElementVNode(\"small\", null, _toDisplayString(item.data.responsibleSales), 1)\n ]),\n _: 1\n }, 8, [\"header\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Column, {\n field: \"title\",\n header: _ctx.$t('myCadac.cartOverview.table.colCartTitle'),\n key: \"title\",\n sortable: true\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"created\",\n header: _ctx.$t('myCadac.cartOverview.table.colCreatedDate'),\n key: \"created\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n _createTextVNode(_toDisplayString(_ctx.formatDate(item.data.created)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"createdBy\",\n header: _ctx.$t('myCadac.cartOverview.table.colCreatedBy'),\n key: \"createdBy\",\n sortable: true\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"nrOfProducts\",\n header: _ctx.$t('myCadac.cartOverview.table.colNrOfProducts'),\n key: \"nrOfProducts\",\n sortable: true\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"totalPrice\",\n header: _ctx.$t('myCadac.cartOverview.table.colTotal'),\n key: \"total\",\n sortable: true\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(_ctx.formatCurrency(item.data.totalPrice || 0)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, null, {\n body: _withCtx((item) => [\n _createVNode(_component_Menu, {\n ref: `menu${item.index}`,\n model: _ctx.optionsMenu[item.index],\n popup: true,\n class: \"hidden-print\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"a\", {\n href: item.url,\n class: \"p-menuitem-link\",\n onClick: item.command,\n target: item.target,\n role: \"menuitem\"\n }, [\n _createElementVNode(\"span\", {\n class: _normalizeClass(['p-menuitem-icon', item.icon])\n }, null, 2),\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(item.label), 1)\n ], 8, _hoisted_9)\n ]),\n _: 2\n }, 1032, [\"model\"]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_Button, {\n class: \"p-button-success mr-2\",\n icon: \"pi pi-shopping-cart\",\n onClick: ($event: any) => (_ctx.checkoutCart(item.data)),\n disabled: _ctx.isSpinnerVisible[`btnCheckoutCart_${item.data.cartName}`],\n label: _ctx.isSmallScreen?.value ? _ctx.$t('common.order') : '',\n title: _ctx.$t('common.order'),\n loading: _ctx.isSpinnerVisible[`btnCheckoutCart_${item.data.cartName}`]\n }, null, 8, [\"onClick\", \"disabled\", \"label\", \"title\", \"loading\"]),\n _createVNode(_component_Button, {\n icon: \"pi pi-ellipsis-v\",\n class: \"p-button-primary p-button-raised p-button-text p-button-sm surface-a\",\n onClick: ($event: any) => (_ctx.toggleMenu($event, item.index))\n }, null, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"onRowClick\", \"value\", \"expanded-rows\", \"row-class\", \"auto-layout\"])\n ]))\n ])\n ]),\n (_ctx.cartToPrint)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createVNode(_component_CartPrintPreview, {\n \"cart-client\": _ctx.cartToPrint?.cartClient,\n title: _ctx.cartToPrint?.title\n }, null, 8, [\"cart-client\", \"title\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\r\n\timport CartOverview from \"@/components/commerce/cart/cartOverview.vue\";\r\n\timport Menu from \"primevue/menu\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\timport httpClient from \"@/types/helpers/apiHelper\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { ISavedCartsOverview } from \"@/types/interfaces/myCadac/savedCartsOverview.interface\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { StoredShoppingCart } from \"@/types/generated/storedShoppingCart\";\r\n\timport CartPrintPreview from \"@/components/commerce/cart/cartPrintPreview.vue\";\r\n\r\n\t@Options({ components: { CartPrintPreview, CartOverview, Menu } })\r\n\texport default class SavedCartsOverview extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) vm!: ISavedCartsOverview;\r\n\r\n\t\toptionsMenu = {};\r\n\t\texpandedRows: StoredShoppingCart[] = [];\r\n\t\tcartToPrint: StoredShoppingCart | null = null;\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.vm.shoppingCarts.forEach((cart, index) => (this.optionsMenu[index] = this.getMenuItemsForCart(cart)));\r\n\t\t}\r\n\r\n\t\tgetMenuItemsForCart(cart: StoredShoppingCart) {\r\n\t\t\treturn [\r\n\t\t\t\t{\r\n\t\t\t\t\tlabel: \"Edit\",\r\n\t\t\t\t\ticon: \"pi pi-pencil\",\r\n\t\t\t\t\tdata: cart,\r\n\t\t\t\t\tcommand: () => this.editCart(cart),\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tlabel: \"Print\",\r\n\t\t\t\t\ticon: \"pi pi-print\",\r\n\t\t\t\t\tdata: cart,\r\n\t\t\t\t\tcommand: () => this.printCart(cart),\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tlabel: \"Remove\",\r\n\t\t\t\t\ticon: \"pi pi-trash\",\r\n\t\t\t\t\tdata: cart,\r\n\t\t\t\t\tcommand: () => this.deleteCart(cart),\r\n\t\t\t\t},\r\n\t\t\t];\r\n\t\t}\r\n\r\n\t\tonRowClick(event: { data: StoredShoppingCart; index: number }): void {\r\n\t\t\tconst existingRowIndex = this.expandedRows.findIndex((x) => x.created === event.data.created);\r\n\t\t\tif (existingRowIndex > -1) {\r\n\t\t\t\tthis.expandedRows.splice(existingRowIndex, 1);\r\n\t\t\t} else {\r\n\t\t\t\tthis.expandedRows.push(event.data);\r\n\t\t\t}\r\n\t\t\tthis.expandedRows = [...this.expandedRows];\r\n\t\t}\r\n\r\n\t\thighlightRow(cart: StoredShoppingCart): string {\r\n\t\t\tconst isRowExpanded = this.expandedRows.findIndex((x) => x.created === cart.created) > -1;\r\n\t\t\treturn isRowExpanded ? \"highlight\" : \"\";\r\n\t\t}\r\n\r\n\t\ttoggleMenu(event: Event, index: number): void {\r\n\t\t\t(this.$refs[`menu${index}`] as Menu)?.toggle(event);\r\n\t\t}\r\n\r\n\t\teditCart(cart: StoredShoppingCart): void {\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\theader: this.$t(\"myCadac.cartOverview.dialog.confirmEdit_title\"),\r\n\t\t\t\tmessage: this.$t(\"myCadac.cartOverview.dialog.confirmEdit\"),\r\n\t\t\t\tacceptLabel: this.$t(\"common.yes\"),\r\n\t\t\t\trejectLabel: this.$t(\"common.no\"),\r\n\t\t\t\taccept: () => {\r\n\t\t\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\t\t\thttpClient\r\n\t\t\t\t\t\t.post(`/api/cart/editCart`, cart.cartName)\r\n\t\t\t\t\t\t.then(() => {\r\n\t\t\t\t\t\t\tthis.openUrl(this.vm.cartPageUrl);\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t.catch((err) => {\r\n\t\t\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tprintCart(cart: StoredShoppingCart): void {\r\n\t\t\tthis.cartToPrint = cart;\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthis.$forceUpdate();\r\n\t\t\t\twindow.print();\r\n\t\t\t}, 1000);\r\n\t\t}\r\n\r\n\t\tdeleteCart(cart: StoredShoppingCart): void {\r\n\t\t\tthis.$confirm.require({\r\n\t\t\t\theader: this.$t(\"myCadac.cartOverview.dialog.confirmDelete_title\"),\r\n\t\t\t\tmessage: this.$t(\"myCadac.cartOverview.dialog.confirmDelete\"),\r\n\t\t\t\tacceptLabel: this.$t(\"common.yes\"),\r\n\t\t\t\trejectLabel: this.$t(\"common.no\"),\r\n\t\t\t\taccept: () => {\r\n\t\t\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\t\t\thttpClient\r\n\t\t\t\t\t\t.post(`/api/cart/deleteCart`, cart.cartName)\r\n\t\t\t\t\t\t.then(() => {\r\n\t\t\t\t\t\t\twindow.location.reload();\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t.catch((err) => {\r\n\t\t\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tcheckoutCart(cart: StoredShoppingCart): void {\r\n\t\t\tif (this.isSpinnerVisible[`btnCheckoutCart_${cart.cartName}`]) return;\r\n\t\t\tcommonModule.showSpinner(`btnCheckoutCart_${cart.cartName}`);\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\thttpClient\r\n\t\t\t\t.post(`/api/cart/editCart`, cart.cartName)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tthis.openUrl(this.vm.checkoutPageUrl);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => commonModule.hideSpinner(`btnCheckoutCart_${cart.cartName}`));\r\n\t\t}\r\n\t}\r\n","import { render } from \"./savedCartsOverview.vue?vue&type=template&id=4c020402&scoped=true&ts=true\"\nimport script from \"./savedCartsOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./savedCartsOverview.vue?vue&type=script&lang=ts\"\n\nimport \"./savedCartsOverview.vue?vue&type=style&index=0&id=4c020402&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4c020402\"]])\n\nexport default __exports__","import { renderSlot as _renderSlot, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1cbe9ea2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"p-dialog-mask p-component-overlay loading-overlay\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ConfirmDialog = _resolveComponent(\"ConfirmDialog\")!\n const _component_Toast = _resolveComponent(\"Toast\")!\n const _component_ProgressSpinner = _resolveComponent(\"ProgressSpinner\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true),\n _createVNode(_component_ConfirmDialog, {\n breakpoints: { '768px': '70vw', '576px': '90vw' },\n style: { width: '30vw' }\n }),\n _createVNode(_component_Toast, { position: \"top-right\" }),\n (_ctx.isLoading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_ProgressSpinner, {\n \"animation-duration\": \"1.75s\",\n \"stroke-width\": \"3.5\"\n })\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\r\n\timport { Options, Vue } from \"vue-class-component\";\r\n\timport Toast from \"primevue/toast\";\r\n\timport ConfirmDialog from \"primevue/confirmdialog\";\r\n\timport ProgressSpinner from \"primevue/progressspinner\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\timport userModule from \"@/store/modules/userModule\";\r\n\timport { usePrimeVue } from \"primevue/config\";\r\n\timport { loadPrimeVueLocale } from \"@/types/utils/i18n\";\r\n\r\n\t@Options({ components: { Toast, ConfirmDialog, ProgressSpinner } })\r\n\t/// Wrapper component for views\r\n\texport default class MainLayout extends Vue {\r\n\t\tcreated(): void {\r\n\t\t\tuserModule.fetchUserProfile();\r\n\r\n\t\t\tconst primeVue = usePrimeVue();\r\n\t\t\tloadPrimeVueLocale().then((messages) => {\r\n\t\t\t\tprimeVue.config.locale = messages;\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tget isLoading(): boolean {\r\n\t\t\treturn commonModule.loadingCount > 0;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./mainLayout.vue?vue&type=template&id=1cbe9ea2&scoped=true&ts=true\"\nimport script from \"./mainLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./mainLayout.vue?vue&type=script&lang=ts\"\n\nimport \"./mainLayout.vue?vue&type=style&index=0&id=1cbe9ea2&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1cbe9ea2\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7a0a6270\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { class: \"row my-3\" }\nconst _hoisted_3 = { class: \"col-12\" }\nconst _hoisted_4 = { class: \"row pb-3\" }\nconst _hoisted_5 = { class: \"col-lg-8 col-xl-9\" }\nconst _hoisted_6 = { class: \"col-lg-4 col-xl-3\" }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = [\"href\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CheckoutSteps = _resolveComponent(\"CheckoutSteps\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_router_view = _resolveComponent(\"router-view\")!\n const _component_PriceSummary = _resolveComponent(\"PriceSummary\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Card = _resolveComponent(\"Card\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.checkoutVm.pageTitle), 1),\n _createVNode(_component_CheckoutSteps),\n (_ctx.vm.paymentFailed)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"error\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.paymentFailedMessage), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (!_ctx.vm.allowPlaceOrder)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"checkout.message.orderNotAllowed\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_router_view)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_Card, { class: \"checkout-summary\" }, {\n title: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"checkout.titleSummary\")), 1)\n ]),\n content: _withCtx(() => [\n _createVNode(_component_PriceSummary, { vm: _ctx.priceSummary }, null, 8, [\"vm\"])\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_Button, {\n disabled: !_ctx.canGoToStep(_ctx.activeStep + 1),\n label: _ctx.$t(`checkout.button.goToStep${_ctx.activeStep + 2}`),\n class: \"p-button-success p-button-lg p-button-raised w-100 px-1 mb-1\",\n icon: \"pi pi-arrow-right mr-2\",\n \"icon-pos\": \"right\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.goToNextStep()))\n }, null, 8, [\"disabled\", \"label\"]),\n (_ctx.isOverviewStep)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_7, [\n _createVNode(_component_i18n_t, { keypath: \"checkout.lblAgreeWithTerms\" }, {\n link: _withCtx(() => [\n _createElementVNode(\"a\", {\n href: _ctx.checkoutVm.termsAndConditionsLink,\n target: \"_blank\"\n }, _toDisplayString(_ctx.$t(\"common.termsAndConditions\")), 9, _hoisted_8)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ])\n ])\n ]))\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Steps = _resolveComponent(\"Steps\")!\n\n return (_openBlock(), _createBlock(_component_Steps, {\n model: _ctx.steps,\n class: \"my-3 checkout-steps\",\n readonly: false\n }, null, 8, [\"model\"]))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"row\" }\nconst _hoisted_2 = { class: \"col-12 mb-2\" }\nconst _hoisted_3 = { class: \"p-field-checkbox mr-2 my-2\" }\nconst _hoisted_4 = {\n for: 'useDifferentInvoiceAddress',\n class: \"ml-1 mb-0\"\n}\nconst _hoisted_5 = {\n key: 0,\n class: \"row\"\n}\nconst _hoisted_6 = { class: \"col-12 mb-2\" }\nconst _hoisted_7 = { class: \"row\" }\nconst _hoisted_8 = { class: \"col-12 mb-2\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CompanyForm = _resolveComponent(\"CompanyForm\")!\n const _component_Checkbox = _resolveComponent(\"Checkbox\")!\n const _component_AddressForm = _resolveComponent(\"AddressForm\")!\n const _component_PersonalForm = _resolveComponent(\"PersonalForm\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.$t(\"checkout.titleYourCompany\")), 1),\n _createVNode(_component_CompanyForm, {\n model: _ctx.vm.checkoutForm.companyForm,\n countries: _ctx.vm.countries\n }, null, 8, [\"model\", \"countries\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_Checkbox, {\n id: 'useDifferentInvoiceAddress',\n name: \"roles\",\n modelValue: _ctx.vm.checkoutForm.useDifferentInvoiceAddress,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.vm.checkoutForm.useDifferentInvoiceAddress) = $event)),\n binary: true\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"label\", _hoisted_4, _toDisplayString(_ctx.$t(\"checkout.lblUseDifferentInvoiceAddress\")), 1)\n ])\n ])\n ]),\n (_ctx.vm.checkoutForm.useDifferentInvoiceAddress)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.$t(\"checkout.titleBillingAddress\")), 1),\n _createVNode(_component_AddressForm, {\n model: _ctx.vm.checkoutForm.billingAddressForm,\n countries: _ctx.vm.countries\n }, null, 8, [\"model\", \"countries\"])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.$t(\"checkout.titlePersonalInfo\")), 1),\n _createVNode(_component_PersonalForm, {\n model: _ctx.vm.checkoutForm.personalForm\n }, null, 8, [\"model\"])\n ])\n ])\n ], 64))\n}","\r\n\timport { Mixins, ProvideReactive, Watch } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { CheckoutForm } from \"@/types/generated/checkoutForm\";\r\n\timport { ICheckout } from \"@/types/interfaces/commerce/checkout.interface\";\r\n\timport checkoutModule from \"@/store/modules/checkoutModule\";\r\n\timport useVuelidate from \"@vuelidate/core\";\r\n\timport CompanyForm from \"@/components/common/forms/companyForm.vue\";\r\n\timport AddressForm from \"@/components/common/forms/addressForm.vue\";\r\n\timport PersonalForm from \"@/components/common/forms/personalForm.vue\";\r\n\timport Checkbox from \"primevue/checkbox\";\r\n\r\n\t@Options({\r\n\t\tcomponents: { PersonalForm, AddressForm, CompanyForm, Checkbox },\r\n\t})\r\n\texport default class CheckoutDetails extends Mixins(Helpers) {\r\n\t\tv$ = useVuelidate();\r\n\r\n\t\t@ProvideReactive()\r\n\t\tsubmitted = false;\r\n\r\n\t\tcheckoutForm: CheckoutForm | null = null;\r\n\r\n\t\t@Watch(\"vm\") onViewModelChanged(val: ICheckout): void {\r\n\t\t\tthis.checkoutForm = val.checkoutForm;\r\n\t\t}\r\n\r\n\t\t@Watch(\"v$.$invalid\") onValidationChanged(val: boolean): void {\r\n\t\t\tcheckoutModule.setIsDetailStepValid(!val);\r\n\t\t}\r\n\r\n\t\tget vm(): ICheckout {\r\n\t\t\treturn checkoutModule.vm as ICheckout;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.submitted = this.vm.hasPreviouslyOrdered;\r\n\t\t\tcheckoutModule.setIsDetailStepValid(!this.v$[\"$invalid\"]);\r\n\t\t}\r\n\r\n\t\tgoToNextStep(): void {\r\n\t\t\tthis.$router.push({ path: \"/checkout/payment\" });\r\n\t\t}\r\n\t}\r\n","import { render } from \"./checkoutDetails.vue?vue&type=template&id=7bddbb09&ts=true\"\nimport script from \"./checkoutDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./checkoutDetails.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","/* Auto Generated */\r\n\r\nexport enum PaymentMethod {\r\n ideal,\r\n bancontactMrCash,\r\n paypal,\r\n creditcard,\r\n onAccount,\r\n}\r\n","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6800aa2c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"row\" }\nconst _hoisted_2 = { class: \"col-12 mb-2\" }\nconst _hoisted_3 = { class: \"mb-1 mr-1 icon-payment-option\" }\nconst _hoisted_4 = [\"xlink:href\"]\nconst _hoisted_5 = { class: \"d-flex flex-column p-2\" }\nconst _hoisted_6 = { class: \"mb-0\" }\nconst _hoisted_7 = { class: \"font-italic\" }\nconst _hoisted_8 = { class: \"lead text-muted\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_Dropdown = _resolveComponent(\"Dropdown\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.$t(\"checkout.titleSelectPaymentMethod\")), 1),\n (!_ctx.hasPaymentOptions)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"checkout.message.noPaymentMethodsAvailable\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.hasPaymentOptions)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 1,\n value: _ctx.paymentOptions,\n selection: _ctx.selectedPaymentMethod,\n \"onUpdate:selection\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.selectedPaymentMethod) = $event)),\n \"responsive-layout\": \"stack\",\n \"selection-mode\": \"single\",\n onRowSelect: _cache[2] || (_cache[2] = ($event: any) => (_ctx.onPaymentMethodSelected($event)))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n selectionMode: \"single\",\n class: \"text-lg-center\",\n style: {\"width\":\"5%\",\"padding\":\"1rem\",\"overflow\":\"hidden\"}\n }),\n _createVNode(_component_Column, { style: {\"width\":\"20%\"} }, {\n body: _withCtx((item) => [\n (_openBlock(), _createElementBlock(\"svg\", _hoisted_3, [\n _createElementVNode(\"use\", {\n \"xlink:href\": item.data.icon\n }, null, 8, _hoisted_4)\n ]))\n ]),\n _: 1\n }),\n _createVNode(_component_Column, { style: {\"width\":\"75%\"} }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"h4\", _hoisted_6, [\n _createTextVNode(_toDisplayString(item.data.title) + \" \", 1),\n _createElementVNode(\"small\", _hoisted_7, _toDisplayString(item.data.cost), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_8, _toDisplayString(item.data.subtitle), 1),\n (item.data.options?.length > 0)\n ? (_openBlock(), _createBlock(_component_Dropdown, {\n key: 0,\n modelValue: _ctx.vm.checkoutForm.selectedPaymentProvider,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.vm.checkoutForm.selectedPaymentProvider) = $event)),\n options: item.data.options,\n optionLabel: \"label\",\n optionValue: \"value\",\n placeholder: _ctx.$t('checkout.paymentMethod.selectProvider_placeholder'),\n onChange: ($event: any) => (_ctx.onPaymentMethodOptionSelected(item))\n }, null, 8, [\"modelValue\", \"options\", \"placeholder\", \"onChange\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"value\", \"selection\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\r\n\timport { Mixins } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { ICheckout } from \"@/types/interfaces/commerce/checkout.interface\";\r\n\timport checkoutModule from \"@/store/modules/checkoutModule\";\r\n\timport { PaymentMethod } from \"@/types/generated/paymentMethod\";\r\n\timport { IDropdownItem } from \"@/types/interfaces/common/dropdownItem.interface\";\r\n\r\n\texport interface IPaymentMethodOption {\r\n\t\tid: string;\r\n\t\tpaymentMethod: PaymentMethod;\r\n\t\ticon: string;\r\n\t\ttitle: string;\r\n\t\tsubtitle: string;\r\n\t\tcost?: string;\r\n\t\toptions?: IDropdownItem[];\r\n\t}\r\n\r\n\texport default class PaymentMethodSelection extends Mixins(Helpers) {\r\n\t\tpaymentOptions: IPaymentMethodOption[] = [];\r\n\r\n\t\tselectedPaymentMethod: IPaymentMethodOption | null = null;\r\n\r\n\t\tget vm(): ICheckout {\r\n\t\t\treturn checkoutModule.vm as ICheckout;\r\n\t\t}\r\n\r\n\t\tget hasPaymentOptions(): boolean {\r\n\t\t\treturn !!this.paymentOptions?.length && !this.vm.noPaymentAllowed;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.paymentOptions = this.vm.availablePaymentMethods.map(({ key, value }) => ({\r\n\t\t\t\tid: key,\r\n\t\t\t\tpaymentMethod: value,\r\n\t\t\t\ttitle: this.$t(`enum.paymentMethod.${value}`),\r\n\t\t\t\tsubtitle: this.getSubtitleForPaymentMethod(value),\r\n\t\t\t\ticon: this.getIconForPaymentMethod(value),\r\n\t\t\t\tcost: this.getCostForPaymentMethod(value),\r\n\t\t\t\toptions: this.getOptionsForPaymentMethod(value),\r\n\t\t\t}));\r\n\t\t\tthis.selectedPaymentMethod = this.paymentOptions.find(\r\n\t\t\t\t(x) => x.id === this.vm.checkoutForm.paymentMethod\r\n\t\t\t) as IPaymentMethodOption;\r\n\t\t}\r\n\r\n\t\tonPaymentMethodSelected({ data }: { data: IPaymentMethodOption }): void {\r\n\t\t\t// Make sure the payment method stays selected (on mobile viewport it will deselect)\r\n\t\t\tsetTimeout(() => (this.selectedPaymentMethod = data), 10);\r\n\t\t\tcheckoutModule.setPaymentMethod(data.id);\r\n\t\t}\r\n\r\n\t\tonPaymentMethodOptionSelected({ data }: { data: IPaymentMethodOption }): void {\r\n\t\t\tdata.icon = this.getIconForPaymentMethod(data.paymentMethod);\r\n\t\t\tcheckoutModule.setPaymentMethod(data.id);\r\n\t\t\tcheckoutModule.setSelectedPaymentProvider(this.vm.checkoutForm.selectedPaymentProvider);\r\n\t\t}\r\n\r\n\t\tisPaymentOptionValid(): boolean {\r\n\t\t\tconst { selectedPaymentProvider, selectedPaymentMethod } = this.vm.checkoutForm;\r\n\t\t\tconst paymentMethodOption = this.paymentOptions.find((x) => x.paymentMethod === selectedPaymentMethod);\r\n\t\t\tif (!paymentMethodOption) return false;\r\n\t\t\tif (paymentMethodOption?.options?.length) {\r\n\t\t\t\treturn paymentMethodOption.options.findIndex((x) => x.value === selectedPaymentProvider) < 0;\r\n\t\t\t}\r\n\t\t\treturn true;\r\n\t\t}\r\n\r\n\t\tprivate getIconForPaymentMethod(paymentMethod: PaymentMethod): string {\r\n\t\t\tswitch (paymentMethod) {\r\n\t\t\t\tcase PaymentMethod.ideal:\r\n\t\t\t\t\treturn `#payment-ideal`;\r\n\t\t\t\tcase PaymentMethod.bancontactMrCash:\r\n\t\t\t\t\treturn `#payment-bancontactmrcash`;\r\n\t\t\t\tcase PaymentMethod.paypal:\r\n\t\t\t\t\treturn `#payment-paypal`;\r\n\t\t\t\tcase PaymentMethod.creditcard:\r\n\t\t\t\t\treturn this.vm.creditCardMethods.findIndex(\r\n\t\t\t\t\t\t(x) => x.key === this.vm.checkoutForm.selectedPaymentProvider\r\n\t\t\t\t\t) > -1\r\n\t\t\t\t\t\t? `#payment-${this.vm.checkoutForm.selectedPaymentProvider}`\r\n\t\t\t\t\t\t: `#payment-creditcard`;\r\n\t\t\t\tcase PaymentMethod.onAccount:\r\n\t\t\t\t\treturn `#payment-onaccount`;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tprivate getSubtitleForPaymentMethod(paymentMethod: PaymentMethod): string {\r\n\t\t\tswitch (paymentMethod) {\r\n\t\t\t\tcase PaymentMethod.ideal:\r\n\t\t\t\t\treturn this.$t(`checkout.paymentMethod.subtitle_ideal`);\r\n\t\t\t\tcase PaymentMethod.bancontactMrCash:\r\n\t\t\t\t\treturn this.$t(`checkout.paymentMethod.subtitle_mrcash`);\r\n\t\t\t\tcase PaymentMethod.paypal:\r\n\t\t\t\t\treturn this.$t(`checkout.paymentMethod.subtitle_paypal`);\r\n\t\t\t\tcase PaymentMethod.creditcard:\r\n\t\t\t\t\treturn this.$t(`checkout.paymentMethod.subtitle_creditcard`, [\r\n\t\t\t\t\t\tthis.getOptionsForPaymentMethod(paymentMethod)\r\n\t\t\t\t\t\t\t.map((x) => x.label)\r\n\t\t\t\t\t\t\t.join(\", \"),\r\n\t\t\t\t\t]);\r\n\t\t\t\tcase PaymentMethod.onAccount:\r\n\t\t\t\t\treturn this.$t(\r\n\t\t\t\t\t\t`checkout.paymentMethod.paymentCondition.${this.vm.checkoutForm.invoicePaymentConditionCode}`\r\n\t\t\t\t\t);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tprivate getCostForPaymentMethod(paymentMethod: PaymentMethod): string {\r\n\t\t\tswitch (paymentMethod) {\r\n\t\t\t\tcase PaymentMethod.ideal:\r\n\t\t\t\tcase PaymentMethod.bancontactMrCash:\r\n\t\t\t\tcase PaymentMethod.paypal:\r\n\t\t\t\tcase PaymentMethod.onAccount:\r\n\t\t\t\t\treturn this.$t(`common.free`);\r\n\t\t\t\tcase PaymentMethod.creditcard:\r\n\t\t\t\t\treturn `+${this.$t(\"common.priceSummary.creditCardSurcharge\", [this.vm.creditCardSurtaxPercentage])}`;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tprivate getOptionsForPaymentMethod(paymentMethod: PaymentMethod): IDropdownItem[] {\r\n\t\t\tswitch (paymentMethod) {\r\n\t\t\t\tcase PaymentMethod.bancontactMrCash:\r\n\t\t\t\tcase PaymentMethod.paypal:\r\n\t\t\t\tcase PaymentMethod.onAccount:\r\n\t\t\t\t\treturn [];\r\n\t\t\t\tcase PaymentMethod.ideal:\r\n\t\t\t\t\treturn this.vm.idealIssuers.map((x) => ({ value: x.key, label: x.value }));\r\n\t\t\t\tcase PaymentMethod.creditcard:\r\n\t\t\t\t\treturn this.vm.creditCardMethods.map((x) => ({ value: x.key, label: x.value }));\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n","import { render } from \"./paymentMethodSelection.vue?vue&type=template&id=6800aa2c&scoped=true&ts=true\"\nimport script from \"./paymentMethodSelection.vue?vue&type=script&lang=ts\"\nexport * from \"./paymentMethodSelection.vue?vue&type=script&lang=ts\"\n\nimport \"./paymentMethodSelection.vue?vue&type=style&index=0&id=6800aa2c&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6800aa2c\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createBlock as _createBlock, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"row\" }\nconst _hoisted_2 = { class: \"col-12 col-lg-6 mb-2\" }\nconst _hoisted_3 = { class: \"mb-1\" }\nconst _hoisted_4 = [\"textContent\"]\nconst _hoisted_5 = [\"textContent\"]\nconst _hoisted_6 = { class: \"mb-0\" }\nconst _hoisted_7 = [\"textContent\"]\nconst _hoisted_8 = [\"textContent\"]\nconst _hoisted_9 = [\"textContent\"]\nconst _hoisted_10 = {\n key: 0,\n class: \"col-12 col-lg-6 mb-2\"\n}\nconst _hoisted_11 = { class: \"mb-1\" }\nconst _hoisted_12 = [\"textContent\"]\nconst _hoisted_13 = { class: \"mb-0\" }\nconst _hoisted_14 = [\"textContent\"]\nconst _hoisted_15 = [\"textContent\"]\nconst _hoisted_16 = [\"textContent\"]\nconst _hoisted_17 = { class: \"col-12 col-lg-6 mb-2\" }\nconst _hoisted_18 = { class: \"mb-1\" }\nconst _hoisted_19 = [\"textContent\"]\nconst _hoisted_20 = [\"textContent\"]\nconst _hoisted_21 = { class: \"col-12 col-lg-6 mb-2\" }\nconst _hoisted_22 = { class: \"mb-1\" }\nconst _hoisted_23 = { class: \"d-flex align-items-center\" }\nconst _hoisted_24 = {\n class: \"mr-1\",\n width: \"67\",\n height: \"67\"\n}\nconst _hoisted_25 = [\"xlink:href\"]\nconst _hoisted_26 = [\"textContent\"]\nconst _hoisted_27 = { class: \"row\" }\nconst _hoisted_28 = { class: \"col-12 col-lg-6 mb-2\" }\nconst _hoisted_29 = { class: \"col-12 col-lg-6 mb-2\" }\nconst _hoisted_30 = { class: \"mb-1\" }\nconst _hoisted_31 = { class: \"row\" }\nconst _hoisted_32 = {\n key: 0,\n class: \"col-12 mb-2\"\n}\nconst _hoisted_33 = { class: \"mb-1\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Panel = _resolveComponent(\"Panel\")!\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_CartOverview = _resolveComponent(\"CartOverview\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_Panel, { toggleable: false }, {\n header: _withCtx(() => [\n _createElementVNode(\"h4\", _hoisted_3, _toDisplayString(_ctx.$t(\"checkout.titleYourCompany\")), 1),\n _createVNode(_component_Button, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.goToStep(0))),\n icon: \"pi pi-pencil\",\n class: \"p-button-raised p-button-text p-button-rounded ml-auto\",\n label: _ctx.isSmallScreen?.value ? _ctx.$t('common.edit') : '',\n title: _ctx.$t('common.edit')\n }, null, 8, [\"label\", \"title\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", {\n textContent: _toDisplayString(_ctx.vm.checkoutForm.companyForm.companyName)\n }, null, 8, _hoisted_4),\n _createElementVNode(\"p\", {\n class: \"mb-0\",\n textContent: _toDisplayString(_ctx.vm.checkoutForm.companyForm.street)\n }, null, 8, _hoisted_5),\n _createElementVNode(\"p\", _hoisted_6, [\n _createElementVNode(\"span\", {\n textContent: _toDisplayString(_ctx.vm.checkoutForm.companyForm.postalCode)\n }, null, 8, _hoisted_7),\n _createElementVNode(\"span\", {\n class: \"ml-1\",\n textContent: _toDisplayString(_ctx.vm.checkoutForm.companyForm.city)\n }, null, 8, _hoisted_8)\n ]),\n _createElementVNode(\"p\", {\n class: \"mb-0\",\n textContent: _toDisplayString(_ctx.formatCountry(_ctx.vm.checkoutForm.companyForm.countryCode))\n }, null, 8, _hoisted_9)\n ]),\n _: 1\n })\n ]),\n (_ctx.vm.checkoutForm.useDifferentInvoiceAddress && _ctx.vm.checkoutForm.billingAddressForm)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createVNode(_component_Panel, { toggleable: false }, {\n header: _withCtx(() => [\n _createElementVNode(\"h4\", _hoisted_11, _toDisplayString(_ctx.$t(\"checkout.titleBillingAddress\")), 1),\n _createVNode(_component_Button, {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.goToStep(0))),\n icon: \"pi pi-pencil\",\n class: \"p-button-raised p-button-text p-button-rounded ml-auto\",\n label: _ctx.isSmallScreen?.value ? _ctx.$t('common.edit') : '',\n title: _ctx.$t('common.edit')\n }, null, 8, [\"label\", \"title\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", {\n class: \"mb-0\",\n textContent: _toDisplayString(_ctx.vm.checkoutForm.billingAddressForm.street)\n }, null, 8, _hoisted_12),\n _createElementVNode(\"p\", _hoisted_13, [\n _createElementVNode(\"span\", {\n textContent: _toDisplayString(_ctx.vm.checkoutForm.billingAddressForm.postalCode)\n }, null, 8, _hoisted_14),\n _createElementVNode(\"span\", {\n class: \"ml-1\",\n textContent: _toDisplayString(_ctx.vm.checkoutForm.billingAddressForm.city)\n }, null, 8, _hoisted_15)\n ]),\n _createElementVNode(\"p\", {\n class: \"mb-0\",\n textContent: _toDisplayString(_ctx.formatCountry(_ctx.vm.checkoutForm.billingAddressForm.countryCode))\n }, null, 8, _hoisted_16)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_Panel, { toggleable: false }, {\n header: _withCtx(() => [\n _createElementVNode(\"h4\", _hoisted_18, _toDisplayString(_ctx.$t(\"checkout.titlePersonalInfo\")), 1),\n _createVNode(_component_Button, {\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.goToStep(0))),\n icon: \"pi pi-pencil\",\n class: \"p-button-raised p-button-text p-button-rounded ml-auto\",\n label: _ctx.isSmallScreen?.value ? _ctx.$t('common.edit') : '',\n title: _ctx.$t('common.edit')\n }, null, 8, [\"label\", \"title\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", {\n class: \"mb-0\",\n textContent: _toDisplayString(_ctx.salutationAndName)\n }, null, 8, _hoisted_19),\n _createElementVNode(\"p\", {\n class: \"mb-0\",\n textContent: _toDisplayString(_ctx.vm.checkoutForm.personalForm.phone)\n }, null, 8, _hoisted_20)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_Panel, { toggleable: false }, {\n header: _withCtx(() => [\n _createElementVNode(\"h4\", _hoisted_22, _toDisplayString(_ctx.$t(\"checkout.titlePaymentMethod\")), 1),\n _createVNode(_component_Button, {\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.goToStep(1))),\n icon: \"pi pi-pencil\",\n class: \"p-button-raised p-button-text p-button-rounded ml-auto\",\n label: _ctx.isSmallScreen?.value ? _ctx.$t('common.edit') : '',\n title: _ctx.$t('common.edit')\n }, null, 8, [\"label\", \"title\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_23, [\n (_openBlock(), _createElementBlock(\"svg\", _hoisted_24, [\n _createElementVNode(\"use\", { \"xlink:href\": _ctx.paymentIcon }, null, 8, _hoisted_25)\n ])),\n _createElementVNode(\"p\", {\n textContent: _toDisplayString(_ctx.formattedPaymentMethod)\n }, null, 8, _hoisted_26)\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", _hoisted_28, [\n _createVNode(_component_Panel, { toggleable: false }, {\n header: _withCtx(() => [\n _createElementVNode(\"h4\", {\n class: _normalizeClass([\"mb-1\", { required: _ctx.vm.checkoutForm.referenceRequired }])\n }, _toDisplayString(_ctx.$t(\"checkout.titleReferenceNumber\")), 3)\n ]),\n default: _withCtx(() => [\n _createVNode(_component_InputText, {\n modelValue: _ctx.vm.checkoutForm.reference,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.vm.checkoutForm.reference) = $event)),\n placeholder: _ctx.$t('checkout.referenceNumber_placeholder')\n }, null, 8, [\"modelValue\", \"placeholder\"])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_29, [\n _createVNode(_component_Panel, { toggleable: false }, {\n header: _withCtx(() => [\n _createElementVNode(\"h4\", _hoisted_30, _toDisplayString(_ctx.$t(\"checkout.titleCreditorAdministration\")), 1)\n ]),\n default: _withCtx(() => [\n _createVNode(_component_InputText, {\n modelValue: _ctx.vm.checkoutForm.invoiceCopyEmail,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.vm.checkoutForm.invoiceCopyEmail) = $event)),\n placeholder: _ctx.$t('checkout.invoiceCopyEmail_placeholder')\n }, null, 8, [\"modelValue\", \"placeholder\"])\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_31, [\n (_ctx.vm?.cartClient?.itemCount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_32, [\n _createVNode(_component_Panel, { toggleable: false }, {\n header: _withCtx(() => [\n _createElementVNode(\"h4\", _hoisted_33, _toDisplayString(_ctx.$t(\"checkout.titleCart\")), 1),\n (!_ctx.canEditCart)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.canEditCart = !_ctx.canEditCart)),\n icon: \"pi pi-pencil\",\n class: \"p-button-text hidden-print p-0\",\n label: _ctx.$t('common.edit'),\n title: _ctx.$t('common.edit'),\n disabled: _ctx.isBusy\n }, null, 8, [\"label\", \"title\", \"disabled\"]))\n : (_ctx.canEditCart)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 1,\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_ctx.canEditCart = !_ctx.canEditCart)),\n icon: \"pi pi-check\",\n class: \"p-button-text p-button-success hidden-print p-0\",\n label: _ctx.$t('checkout.button.doneEditingCart'),\n title: _ctx.$t('checkout.button.doneEditingCart'),\n disabled: _ctx.isBusy\n }, null, 8, [\"label\", \"title\", \"disabled\"]))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _createVNode(_component_CartOverview, {\n \"cart-client\": _ctx.vm?.cartClient,\n \"is-editable\": _ctx.canEditCart\n }, null, 8, [\"cart-client\", \"is-editable\"])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 64))\n}","\r\n\timport { Mixins } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { ICheckout } from \"@/types/interfaces/commerce/checkout.interface\";\r\n\timport checkoutModule from \"@/store/modules/checkoutModule\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport CartOverview from \"@/components/commerce/cart/cartOverview.vue\";\r\n\timport { CartClient } from \"@/types/generated/api/cartClient\";\r\n\timport cartModule from \"@/store/modules/cartModule\";\r\n\timport { PaymentMethod } from \"@/types/generated/paymentMethod\";\r\n\timport { CheckoutStep } from \"@/components/commerce/checkout/checkoutSteps.vue\";\r\n\r\n\t@Options({ components: { CartOverview } })\r\n\texport default class OrderSummary extends Mixins(Helpers) {\r\n\t\tget vm(): ICheckout {\r\n\t\t\treturn checkoutModule.vm as ICheckout;\r\n\t\t}\r\n\r\n\t\tcanEditCart = false;\r\n\r\n\t\tget editingCartClient(): CartClient {\r\n\t\t\treturn this.canEditCart ? cartModule.cartClient : this.vm?.cartClient;\r\n\t\t}\r\n\r\n\t\tget salutationAndName(): string {\r\n\t\t\tconst { gender, firstName, lastName } = this.vm.checkoutForm.personalForm;\r\n\t\t\tconst salutation = this.$t(`enum.salutation.${gender}`);\r\n\t\t\treturn `${salutation} ${firstName} ${lastName}`;\r\n\t\t}\r\n\r\n\t\tget paymentIcon(): string {\r\n\t\t\tconst { paymentMethod, selectedPaymentMethod, selectedPaymentProvider } = this.vm.checkoutForm;\r\n\t\t\treturn selectedPaymentMethod === PaymentMethod.creditcard\r\n\t\t\t\t? `#payment-${selectedPaymentProvider}`\r\n\t\t\t\t: `#payment-${paymentMethod}`;\r\n\t\t}\r\n\r\n\t\tget formattedPaymentMethod(): string {\r\n\t\t\tconst { selectedPaymentMethod, selectedPaymentProvider } = this.vm.checkoutForm;\r\n\t\t\tconst selectedPaymentMethodName = this.$t(`enum.paymentMethod.${selectedPaymentMethod}`);\r\n\t\t\tconst selectedPaymentProviderName =\r\n\t\t\t\tselectedPaymentMethod === PaymentMethod.ideal\r\n\t\t\t\t\t? this.vm.idealIssuers.find((x) => x.key === selectedPaymentProvider)?.value\r\n\t\t\t\t\t: selectedPaymentMethod === PaymentMethod.creditcard\r\n\t\t\t\t\t? this.vm.creditCardMethods.find((x) => x.key === selectedPaymentProvider)?.value\r\n\t\t\t\t\t: \"\";\r\n\t\t\treturn selectedPaymentProviderName\r\n\t\t\t\t? `${selectedPaymentMethodName} - ${selectedPaymentProviderName}`\r\n\t\t\t\t: selectedPaymentMethodName;\r\n\t\t}\r\n\r\n\t\tformatCountry(countryCode: string): string {\r\n\t\t\treturn this.vm.countries?.find((x) => x.key === countryCode)?.value as string;\r\n\t\t}\r\n\r\n\t\tcanGoToStep(step: CheckoutStep): boolean {\r\n\t\t\treturn checkoutModule.canGoToStep(step);\r\n\t\t}\r\n\r\n\t\tgoToStep(step: CheckoutStep): void {\r\n\t\t\tif (this.canGoToStep(step)) {\r\n\t\t\t\tcheckoutModule.setActiveStep(step);\r\n\t\t\t\tconst stepsEl = document.querySelector(\".checkout-steps\");\r\n\t\t\t\twindow.scrollTo(0, stepsEl?.getBoundingClientRect().bottom || 80);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n","import { render } from \"./orderSummary.vue?vue&type=template&id=be981480&ts=true\"\nimport script from \"./orderSummary.vue?vue&type=script&lang=ts\"\nexport * from \"./orderSummary.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, \"confirm\"))\n}","\r\n\timport { Mixins } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\texport default class CheckoutOrderConfirmation extends Mixins(Helpers) {}\r\n","import { render } from \"./checkoutOrderConfirmation.vue?vue&type=template&id=4040fbc8&ts=true\"\nimport script from \"./checkoutOrderConfirmation.vue?vue&type=script&lang=ts\"\nexport * from \"./checkoutOrderConfirmation.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\timport { Mixins, Watch } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport checkoutModule from \"@/store/modules/checkoutModule\";\r\n\timport CheckoutDetails from \"@/components/commerce/checkout/checkoutDetails.vue\";\r\n\timport PaymentMethodSelection from \"@/components/commerce/checkout/paymentMethodSelection.vue\";\r\n\timport OrderSummary from \"@/components/commerce/checkout/orderSummary.vue\";\r\n\timport CheckoutOrderConfirmation from \"@/components/commerce/checkout/checkoutOrderConfirmation.vue\";\r\n\timport { ICheckout } from \"@/types/interfaces/commerce/checkout.interface\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport Steps from \"primevue/steps\";\r\n\r\n\texport enum CheckoutStep {\r\n\t\tDetails,\r\n\t\tPaymentMethod,\r\n\t\tOverview,\r\n\t\tConfirmation,\r\n\t}\r\n\r\n\texport interface CheckoutStepOption {\r\n\t\tlabel: string;\r\n\t\tstep: CheckoutStep;\r\n\t\tto: string;\r\n\t\tcommand: any;\r\n\t\tdisabled: any;\r\n\t}\r\n\r\n\t@Options({ components: { Steps } })\r\n\texport default class CheckoutSteps extends Mixins(Helpers) {\r\n\t\t@Watch(\"activeStep\") onStepChanged(step: CheckoutStep): void {\r\n\t\t\tconst nextStep = this.steps.find((x) => x.step === step);\r\n\t\t\tif (nextStep && this.canGoToStep(step)) this.displayStep(nextStep);\r\n\t\t}\r\n\r\n\t\tget activeStep(): CheckoutStep {\r\n\t\t\treturn checkoutModule.activeStep;\r\n\t\t}\r\n\r\n\t\tsteps: CheckoutStepOption[] = [];\r\n\r\n\t\tget checkoutVm(): ICheckout {\r\n\t\t\treturn checkoutModule.vm as ICheckout;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.setupStepsRoutes();\r\n\t\t\tthis.steps = [\r\n\t\t\t\t{\r\n\t\t\t\t\tlabel: this.$t(\"checkout.step1\"),\r\n\t\t\t\t\tto: \"/checkout/details\",\r\n\t\t\t\t\tstep: CheckoutStep.Details,\r\n\t\t\t\t\tcommand: () => this.goToStep(CheckoutStep.Details),\r\n\t\t\t\t\tdisabled: () => !this.canGoToStep(CheckoutStep.Details),\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tlabel: this.$t(\"checkout.step2\"),\r\n\t\t\t\t\tto: \"/checkout/payment\",\r\n\t\t\t\t\tstep: CheckoutStep.PaymentMethod,\r\n\t\t\t\t\tcommand: () => this.goToStep(CheckoutStep.PaymentMethod),\r\n\t\t\t\t\tdisabled: () => !this.canGoToStep(CheckoutStep.PaymentMethod),\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tlabel: this.$t(\"checkout.step3\"),\r\n\t\t\t\t\tto: \"/checkout/overview\",\r\n\t\t\t\t\tstep: CheckoutStep.Overview,\r\n\t\t\t\t\tcommand: () => this.goToStep(CheckoutStep.Overview),\r\n\t\t\t\t\tdisabled: () => !this.canGoToStep(CheckoutStep.Overview),\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tlabel: this.$t(\"checkout.step4\"),\r\n\t\t\t\t\tto: \"/checkout/confirmation\",\r\n\t\t\t\t\tstep: CheckoutStep.Confirmation,\r\n\t\t\t\t\tcommand: () => this.goToStep(CheckoutStep.Confirmation),\r\n\t\t\t\t\tdisabled: () => true,\r\n\t\t\t\t},\r\n\t\t\t];\r\n\t\t}\r\n\r\n\t\tcanGoToStep(step: CheckoutStep): boolean {\r\n\t\t\treturn checkoutModule.canGoToStep(step);\r\n\t\t}\r\n\r\n\t\tgoToStep(step: CheckoutStep): void {\r\n\t\t\tif (this.canGoToStep(step)) checkoutModule.setActiveStep(step);\r\n\t\t}\r\n\r\n\t\tprivate displayStep(step: CheckoutStepOption): void {\r\n\t\t\tthis.$router.push({ path: step.to });\r\n\t\t}\r\n\r\n\t\tprivate setupStepsRoutes(): void {\r\n\t\t\tthis.$router.addRoute({ path: \"/checkout/details\", component: CheckoutDetails });\r\n\t\t\tthis.$router.addRoute({ path: \"/checkout/payment/\", component: PaymentMethodSelection });\r\n\t\t\tthis.$router.addRoute({ path: \"/checkout/overview/\", component: OrderSummary });\r\n\t\t\tthis.$router.addRoute({ path: \"/checkout/confirmation/\", component: CheckoutOrderConfirmation });\r\n\t\t}\r\n\t}\r\n","import { render } from \"./checkoutSteps.vue?vue&type=template&id=0d9fd704&ts=true\"\nimport script from \"./checkoutSteps.vue?vue&type=script&lang=ts\"\nexport * from \"./checkoutSteps.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { getModule, Module, Mutation, VuexModule } from 'vuex-module-decorators';\r\nimport store from '@/store';\r\nimport { ICheckout } from '@/types/interfaces/commerce/checkout.interface';\r\nimport { cloneDeep } from 'lodash';\r\nimport { CheckoutStep } from '@/components/commerce/checkout/checkoutSteps.vue';\r\nimport { PaymentMethod } from '@/types/generated/paymentMethod';\r\n\r\n/* Dynamic module injection in store object */\r\n@Module({ name: 'checkout', dynamic: true, store })\r\nclass CheckoutModule extends VuexModule {\r\n\tvm: ICheckout | null = null;\r\n\tactiveStep: CheckoutStep = -1;\r\n\tisDetailStepValid = false;\r\n\r\n\t@Mutation\r\n\tpublic setVm(checkoutVm: ICheckout): void {\r\n\t\tthis.vm = checkoutVm;\r\n\t\t// Set initial value of detailstep vallid\r\n\t\tthis.isDetailStepValid = checkoutVm.hasPreviouslyOrdered;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setActiveStep(step: CheckoutStep): void {\r\n\t\tthis.activeStep = step;\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setPaymentMethod(methodName: string): void {\r\n\t\tif (this.vm?.checkoutForm) {\r\n\t\t\tthis.vm.checkoutForm.paymentMethod = methodName;\r\n\t\t\tthis.vm.checkoutForm.selectedPaymentMethod = this.vm.availablePaymentMethods.find((x) => x.key === methodName)\r\n\t\t\t\t?.value as PaymentMethod;\r\n\t\t\tthis.vm = cloneDeep(this.vm);\r\n\t\t}\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setSelectedPaymentProvider(paymentProvider: string): void {\r\n\t\tif (this.vm?.checkoutForm) {\r\n\t\t\tthis.vm.checkoutForm.selectedPaymentProvider = paymentProvider;\r\n\t\t\tthis.vm = cloneDeep(this.vm);\r\n\t\t}\r\n\t}\r\n\r\n\t@Mutation\r\n\tpublic setIsDetailStepValid(isValid: boolean): void {\r\n\t\tthis.isDetailStepValid = isValid;\r\n\t}\r\n\r\n\tget isValidPaymentOptionSelected(): boolean {\r\n\t\tif (!this.vm?.checkoutForm) return false;\r\n\t\tconst { selectedPaymentProvider, selectedPaymentMethod, paymentMethod } = this.vm.checkoutForm;\r\n\t\tif (selectedPaymentMethod === PaymentMethod.creditcard) {\r\n\t\t\treturn this.vm.creditCardMethods.findIndex((x) => x.key === selectedPaymentProvider) > -1;\r\n\t\t} else if (selectedPaymentMethod === PaymentMethod.ideal) {\r\n\t\t\treturn this.vm.idealIssuers.findIndex((x) => x.key === selectedPaymentProvider) > -1;\r\n\t\t}\r\n\r\n\t\treturn !!paymentMethod;\r\n\t}\r\n\r\n\tget canGoToStep() {\r\n\t\treturn (step: CheckoutStep) => {\r\n\t\t\tswitch (step) {\r\n\t\t\t\tcase CheckoutStep.Details:\r\n\t\t\t\t\treturn true;\r\n\t\t\t\tcase CheckoutStep.PaymentMethod:\r\n\t\t\t\t\treturn this.isDetailStepValid;\r\n\t\t\t\tcase CheckoutStep.Overview:\r\n\t\t\t\t\treturn this.isDetailStepValid && this.isValidPaymentOptionSelected;\r\n\t\t\t\tcase CheckoutStep.Confirmation:\r\n\t\t\t\t\treturn !!this.vm?.allowPlaceOrder;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t};\r\n\t}\r\n}\r\n\r\nexport default getModule(CheckoutModule);\r\n","import { CheckoutForm } from '@/types/generated/checkoutForm';\r\nimport { CartClient } from '@/types/generated/api/cartClient';\r\nimport { IPageViewModel } from '@/types/interfaces/common/pageViewModel.interface';\r\nimport { PaymentMethod } from '@/types/generated/paymentMethod';\r\n\r\nexport interface ICheckout extends IPageViewModel {\r\n\tallowPlaceOrder: boolean;\r\n\tcartClient: CartClient;\r\n\tcheckoutForm: CheckoutForm;\r\n\tcountries: Array<{ key: string; value: string }>;\r\n\tcreditCardMethods: Array<{ key: string; value: string }>;\r\n\tcreditCardSurtaxPercentage: number;\r\n\tgenders: Array<{ key: number; value: string }>;\r\n\thasPreviouslyOrdered: boolean;\r\n\tidealIssuers: Array<{ key: string; value: string }>;\r\n\tnoPaymentAllowed: boolean;\r\n\tpayByIdealCreditcardAllowed: boolean;\r\n\tpayByTransferAllowed: boolean;\r\n\tpayOnAccountAllowed: boolean;\r\n\tpaymentFailed: boolean;\r\n\tpaymentMethods: string[];\r\n\tavailablePaymentMethods: Array<{ key: string; value: PaymentMethod }>;\r\n\tpaymentStatus: BuckarooStatus;\r\n\tpageTitle: string;\r\n\ttermsAndConditionsLink: string;\r\n}\r\n\r\nexport enum BuckarooStatus {\r\n\tSUCCESS,\r\n\tFAILED,\r\n\tPENDING,\r\n\tREJECTED,\r\n\tCANCELLED,\r\n}\r\n","\r\n\timport PriceSummary from \"@/components/common/priceSummary.vue\";\r\n\timport Steps from \"primevue/steps\";\r\n\timport checkoutModule from \"@/store/modules/checkoutModule\";\r\n\timport { CouponCode } from \"@/types/generated/Api/couponCode\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { BuckarooStatus, ICheckout } from \"@/types/interfaces/commerce/checkout.interface\";\r\n\timport { IPriceSummary } from \"@/types/interfaces/common/priceSummary.interface\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { sum } from \"lodash\";\r\n\timport { CartClient } from \"@/types/generated/api/cartClient\";\r\n\timport cartModule from \"@/store/modules/cartModule\";\r\n\timport CheckoutSteps, { CheckoutStep } from \"@/components/commerce/checkout/checkoutSteps.vue\";\r\n\timport { PaymentMethod } from \"@/types/generated/paymentMethod\";\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\timport { CheckoutForm } from \"@/types/generated/checkoutForm\";\r\n\r\n\t@Options({ components: { CheckoutSteps, Steps, PriceSummary } })\r\n\texport default class Checkout extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) vm!: ICheckout;\r\n\r\n\t\t// use the Vuex version to receive updates\r\n\t\tget checkoutVm(): ICheckout {\r\n\t\t\treturn checkoutModule.vm as ICheckout;\r\n\t\t}\r\n\r\n\t\tget cartClient(): CartClient {\r\n\t\t\treturn cartModule.cartClient?.itemCount ? cartModule.cartClient : this.checkoutVm.cartClient;\r\n\t\t}\r\n\r\n\t\tget activeStep(): CheckoutStep {\r\n\t\t\treturn checkoutModule.activeStep;\r\n\t\t}\r\n\r\n\t\tget isOverviewStep(): boolean {\r\n\t\t\treturn this.activeStep === CheckoutStep.Overview;\r\n\t\t}\r\n\r\n\t\tget priceSummary(): IPriceSummary {\r\n\t\t\tlet {\r\n\t\t\t\tappliedCouponCodes,\r\n\t\t\t\ttotalBasePrice,\r\n\t\t\t\tsubtotalWithoutVat,\r\n\t\t\t\tpersonalDiscount,\r\n\t\t\t\ttotalPrice,\r\n\t\t\t\ttotalInstallationPrice,\r\n\t\t\t\tvatPercentage,\r\n\t\t\t\tvatAmount,\r\n\t\t\t} = this.cartClient;\r\n\r\n\t\t\tconst couponDiscount = sum(appliedCouponCodes?.map((x) => x.discount));\r\n\t\t\tconst discountLines = new Map();\r\n\t\t\tappliedCouponCodes?.forEach((coupon: CouponCode) => {\r\n\t\t\t\tconst name = coupon.isCadacWallet ? this.$t(\"cart.lblCadacWallet\") : coupon.name;\r\n\t\t\t\tdiscountLines.set(name, coupon.discount);\r\n\t\t\t});\r\n\t\t\tconst creditCardSurchargePercentage = this.checkoutVm.creditCardSurtaxPercentage;\r\n\t\t\tconst creditCardSurchargeAmount =\r\n\t\t\t\tthis.checkoutVm.checkoutForm.selectedPaymentMethod === PaymentMethod.creditcard\r\n\t\t\t\t\t? creditCardSurchargePercentage\r\n\t\t\t\t\t\t? (totalPrice * creditCardSurchargePercentage) / 100\r\n\t\t\t\t\t\t: 0\r\n\t\t\t\t\t: 0;\r\n\r\n\t\t\tif (creditCardSurchargeAmount) totalPrice += creditCardSurchargeAmount;\r\n\t\t\treturn {\r\n\t\t\t\ttotalBasePrice,\r\n\t\t\t\tdiscountLines: discountLines,\r\n\t\t\t\ttotalCouponDiscount: couponDiscount,\r\n\t\t\t\ttotalDiscount: personalDiscount + couponDiscount,\r\n\t\t\t\ttotalPersonalPrice: subtotalWithoutVat,\r\n\t\t\t\ttotalInstallPrice: totalInstallationPrice,\r\n\t\t\t\ttotalPrice,\r\n\t\t\t\tvatPercentage,\r\n\t\t\t\tvatAmount,\r\n\t\t\t\tcreditCardSurchargeAmount,\r\n\t\t\t\tcreditCardSurchargePercentage,\r\n\t\t\t} as IPriceSummary;\r\n\t\t}\r\n\r\n\t\tget paymentFailedMessage(): string {\r\n\t\t\tswitch (this.vm.paymentStatus) {\r\n\t\t\t\tcase BuckarooStatus.REJECTED:\r\n\t\t\t\tcase BuckarooStatus.CANCELLED:\r\n\t\t\t\t\treturn this.$t(\"checkout.message.paymentCancelled\");\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn this.$t(\"checkout.message.paymentFailed\");\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tcheckoutModule.setVm(this.vm);\r\n\t\t}\r\n\r\n\t\tmounted(): void {\r\n\t\t\tthis.navigateToInitialStep();\r\n\t\t}\r\n\r\n\t\tgoToNextStep(): void {\r\n\t\t\tconst nextStep = this.activeStep + 1;\r\n\t\t\tif (nextStep === CheckoutStep.Confirmation) {\r\n\t\t\t\tthis.completePurchase();\r\n\t\t\t} else if (this.canGoToStep(nextStep)) {\r\n\t\t\t\tcheckoutModule.setActiveStep(nextStep);\r\n\t\t\t\tconst stepsEl = document.querySelector(\".checkout-steps\");\r\n\t\t\t\twindow.scrollTo(0, stepsEl?.getBoundingClientRect().bottom || 80);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tcanGoToStep(step: CheckoutStep): boolean {\r\n\t\t\treturn checkoutModule.canGoToStep(step);\r\n\t\t}\r\n\r\n\t\tprivate trimCheckoutModel(): CheckoutForm {\r\n\t\t\tconst checkoutModel = this.checkoutVm.checkoutForm;\r\n\t\t\t//Reset payment provider for payment methods where it's not needed, else the buckaroo payment will fail.\r\n\t\t\tif (checkoutModel.selectedPaymentMethod === PaymentMethod.creditcard) {\r\n\t\t\t\tcheckoutModel.paymentMethod = checkoutModel.selectedPaymentProvider;\r\n\t\t\t\tcheckoutModel.selectedPaymentProvider = \"\";\r\n\t\t\t} else if (checkoutModel.selectedPaymentMethod !== PaymentMethod.ideal) {\r\n\t\t\t\tcheckoutModel.selectedPaymentProvider = \"\";\r\n\t\t\t}\r\n\t\t\treturn checkoutModel;\r\n\t\t}\r\n\r\n\t\tprivate completePurchase(): void {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\r\n\t\t\taxios\r\n\t\t\t\t.post(`/api/checkout/complete/`, this.trimCheckoutModel())\r\n\t\t\t\t.then((res) => {\r\n\t\t\t\t\tthis.openUrl(res.data);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tconsole.error(\"completePurchase -> err\", err);\r\n\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t\tthis.$toast.add({\r\n\t\t\t\t\t\tseverity: \"error\",\r\n\t\t\t\t\t\tdetail: this.$t(\"checkout.toast.completePurchaseError\"),\r\n\t\t\t\t\t\tlife: 3000,\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\tprivate navigateToInitialStep(): void {\r\n\t\t\tif (this.checkoutVm.hasPreviouslyOrdered) checkoutModule.setActiveStep(CheckoutStep.Overview);\r\n\t\t\telse checkoutModule.setActiveStep(CheckoutStep.Details);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./checkout.vue?vue&type=template&id=7a0a6270&scoped=true&ts=true\"\nimport script from \"./checkout.vue?vue&type=script&lang=ts\"\nexport * from \"./checkout.vue?vue&type=script&lang=ts\"\n\nimport \"./checkout.vue?vue&type=style&index=0&id=7a0a6270&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7a0a6270\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-74d1a048\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { class: \"row mt-3 pb-3\" }\nconst _hoisted_3 = { class: \"col-lg-8\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = [\"innerHTML\"]\nconst _hoisted_6 = {\n key: 1,\n class: \"mt-3\"\n}\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1))\nconst _hoisted_8 = {\n class: \"\",\n width: \"48\",\n height: \"48\"\n}\nconst _hoisted_9 = [\"xlink:href\"]\nconst _hoisted_10 = [\"innerHTML\"]\nconst _hoisted_11 = [\"innerHTML\"]\nconst _hoisted_12 = [\"innerHTML\"]\nconst _hoisted_13 = [\"innerHTML\"]\nconst _hoisted_14 = [\"innerHTML\"]\nconst _hoisted_15 = [\"innerHTML\"]\nconst _hoisted_16 = [\"innerHTML\"]\nconst _hoisted_17 = [\"innerHTML\"]\nconst _hoisted_18 = {\n key: 2,\n class: \"mt-3\"\n}\nconst _hoisted_19 = { key: 0 }\nconst _hoisted_20 = { class: \"col-lg-4\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Timeline = _resolveComponent(\"Timeline\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_SupportCard = _resolveComponent(\"SupportCard\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (!_ctx.vm.error)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.vm.pageTitle), 1),\n _createElementVNode(\"p\", {\n class: \"lead\",\n innerHTML: _ctx.vm.pageIntro\n }, null, 8, _hoisted_5)\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.vm.error)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.vm.stepsTitle), 1),\n _hoisted_7,\n _createVNode(_component_Timeline, {\n value: _ctx.timeLineSteps,\n class: \"mb-3\"\n }, {\n marker: _withCtx((slotProps) => [\n (_openBlock(), _createElementBlock(\"svg\", _hoisted_8, [\n _createElementVNode(\"use\", {\n \"xlink:href\": slotProps.item.icon\n }, null, 8, _hoisted_9)\n ]))\n ]),\n content: _withCtx((slotProps) => [\n _createElementVNode(\"h5\", null, _toDisplayString(slotProps.item.title), 1),\n _createElementVNode(\"p\", {\n innerHTML: slotProps.item.content\n }, null, 8, _hoisted_10)\n ]),\n _: 1\n }, 8, [\"value\"]),\n (_ctx.vm.hasSoftware)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"mb-2 text-break\",\n innerHTML: _ctx.vm.softwareInstructions\n }, null, 8, _hoisted_11))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.hasTrainings)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"mb-2 text-break\",\n innerHTML: _ctx.vm.trainingInstructions\n }, null, 8, _hoisted_12))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.hasExperts)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 2,\n class: \"mb-2 text-break\",\n innerHTML: _ctx.vm.expertInstructions\n }, null, 8, _hoisted_13))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.hasInstallationHelp)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 3,\n class: \"mb-2 text-break\",\n innerHTML: _ctx.vm.installationHelpInstructions\n }, null, 8, _hoisted_14))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.hasSupport)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 4,\n class: \"mb-2 text-break\",\n innerHTML: _ctx.vm.supportInstructions\n }, null, 8, _hoisted_15))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.hasServicePasses)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 5,\n class: \"mb-2 text-break\",\n innerHTML: _ctx.vm.servicePassInstructions\n }, null, 8, _hoisted_16))\n : _createCommentVNode(\"\", true),\n (_ctx.vm.hasRentalSystems)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 6,\n class: \"mb-2 text-break\",\n innerHTML: _ctx.vm.rentalSystemInstructions\n }, null, 8, _hoisted_17))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Button, {\n class: \"p-button-success p-button-lg p-button-raised mb-2\",\n icon: \"pi pi-arrow-right\",\n \"icon-pos\": \"right\",\n label: _ctx.$t('checkout.button.goToMyCadac'),\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\r\n\t\t\t\t\t\t\t_ctx.goToMyCadac();\r\n\t\t\t\t\t\t\t$event.target.disabled = true;\r\n\t\t\t\t\t\t})\n }, null, 8, [\"label\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_18, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.$t(\"checkout.titleOrderFailed\")), 1),\n _createVNode(_component_Message, {\n severity: \"error\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createVNode(_component_i18n_t, { keypath: \"checkout.message.orderFailed\" }, {\n default: _withCtx(() => [\n (_ctx.vm.orderNumber)\n ? (_openBlock(), _createElementBlock(\"b\", _hoisted_19, \"#\" + _toDisplayString(_ctx.vm.orderNumber), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_SupportCard, {\n \"support-page-url\": _ctx.vm.supportPageUrl\n }, null, 8, [\"support-page-url\"])\n ])\n ])\n ]))\n}","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1f19b2f4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"support-summary\" }\nconst _hoisted_2 = { class: \"support-text\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"text-bold\"\n}\nconst _hoisted_4 = [\"href\"]\nconst _hoisted_5 = { class: \"mb-1\" }\nconst _hoisted_6 = [\"href\"]\nconst _hoisted_7 = { class: \"d-block\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"support-img\",\n src: \"/Static/images/support.png\",\n alt: \"Cadac Group\"\n}, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Card = _resolveComponent(\"Card\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_Card, null, {\n title: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"common.support.anyQuestions\")), 1)\n ]),\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.supportPageUrl)\n ? (_openBlock(), _createElementBlock(\"h5\", _hoisted_3, [\n _createVNode(_component_i18n_t, { keypath: \"common.support.visitOurSupportPage\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"a\", { href: _ctx.supportPageUrl }, _toDisplayString(_ctx.$t(\"common.support.visitOurSupportPage_link\")), 9, _hoisted_4)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"small\", _hoisted_5, [\n _createVNode(_component_i18n_t, {\n keypath: _ctx.supportPageUrl ? 'common.support.orContactUsAt' : 'common.support.contactUsAt'\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"a\", {\n href: 'tel:' + _ctx.$t('common.support.phoneNumber')\n }, _toDisplayString(_ctx.$t(\"common.support.phoneNumber\")), 9, _hoisted_6)\n ]),\n _: 1\n }, 8, [\"keypath\"])\n ]),\n _createElementVNode(\"small\", _hoisted_7, _toDisplayString(_ctx.$t(\"common.support.officeHours\")), 1)\n ]),\n _hoisted_8\n ]),\n _: 1\n })\n ]))\n}","\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\texport default class SupportCard extends Mixins(Helpers) {\r\n\t\t@Prop({ required: false, default: \"\" }) supportPageUrl!: string;\r\n\t}\r\n","import { render } from \"./supportCard.vue?vue&type=template&id=1f19b2f4&scoped=true&ts=true\"\nimport script from \"./supportCard.vue?vue&type=script&lang=ts\"\nexport * from \"./supportCard.vue?vue&type=script&lang=ts\"\n\nimport \"./supportCard.vue?vue&type=style&index=0&id=1f19b2f4&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1f19b2f4\"]])\n\nexport default __exports__","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { ICheckoutComplete } from \"@/types/interfaces/commerce/checkoutComplete.interface\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport CheckoutSteps, { CheckoutStep } from \"@/components/commerce/checkout/checkoutSteps.vue\";\r\n\timport Timeline from \"primevue/timeline\";\r\n\timport checkoutModule from \"@/store/modules/checkoutModule\";\r\n\timport SupportCard from \"@/components/commerce/supportCard.vue\";\r\n\r\n\texport interface CheckoutTimelineStep {\r\n\t\ticon: string;\r\n\t\ttitle: string;\r\n\t\tcontent: string;\r\n\t}\r\n\r\n\t@Options({ components: { SupportCard, CheckoutSteps, Timeline } })\r\n\texport default class CheckoutComplete extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) vm!: ICheckoutComplete;\r\n\r\n\t\ttimeLineSteps: CheckoutTimelineStep[] = [];\r\n\r\n\t\tget activeStep(): CheckoutStep {\r\n\t\t\treturn checkoutModule.activeStep;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.timeLineSteps = [\r\n\t\t\t\t{\r\n\t\t\t\t\ticon: `#checkout-step-1`,\r\n\t\t\t\t\ttitle: this.$t(\"common.step\", [1]),\r\n\t\t\t\t\tcontent: this.vm.step1,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\ticon: `#checkout-step-2`,\r\n\t\t\t\t\ttitle: this.$t(\"common.step\", [2]),\r\n\t\t\t\t\tcontent: this.vm.step2,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\ticon: `#checkout-step-3`,\r\n\t\t\t\t\ttitle: this.$t(\"common.step\", [3]),\r\n\t\t\t\t\tcontent: this.vm.step3,\r\n\t\t\t\t},\r\n\t\t\t];\r\n\r\n\t\t\tcheckoutModule.setActiveStep(CheckoutStep.Confirmation);\r\n\t\t}\r\n\r\n\t\tgoToMyCadac(): void {\r\n\t\t\tthis.openUrl(this.vm.myCadacPageUrl);\r\n\t\t}\r\n\r\n\t\tgoToSoftwareOverview(): void {\r\n\t\t\tthis.openUrl(this.vm.softwareOverviewPageUrl);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./checkoutComplete.vue?vue&type=template&id=74d1a048&scoped=true&ts=true\"\nimport script from \"./checkoutComplete.vue?vue&type=script&lang=ts\"\nexport * from \"./checkoutComplete.vue?vue&type=script&lang=ts\"\n\nimport \"./checkoutComplete.vue?vue&type=style&index=0&id=74d1a048&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-74d1a048\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, renderList as _renderList, Fragment as _Fragment, vShow as _vShow, withDirectives as _withDirectives, normalizeClass as _normalizeClass, mergeProps as _mergeProps, createSlots as _createSlots, withModifiers as _withModifiers, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-d98b0f06\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"col-lg-8 px-0\" }\nconst _hoisted_4 = {\n id: \"tabConfiguration\",\n class: \"product-content-section\"\n}\nconst _hoisted_5 = { class: \"\" }\nconst _hoisted_6 = { class: \"product-config-option\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"pi pi-check mr-1\"\n}\nconst _hoisted_8 = { class: \"d-flex justify-content-between flex-wrap w-100\" }\nconst _hoisted_9 = { class: \"input-group py-2 mb-2 w-auto\" }\nconst _hoisted_10 = [\"for\"]\nconst _hoisted_11 = { class: \"mb-3\" }\nconst _hoisted_12 = { class: \"d-flex align-items-center justify-content-between w-100\" }\nconst _hoisted_13 = { class: \"ml-1\" }\nconst _hoisted_14 = { class: \"font-weight-normal text-muted mx-1\" }\nconst _hoisted_15 = { key: 0 }\nconst _hoisted_16 = { class: \"input-group mb-3\" }\nconst _hoisted_17 = [\"for\"]\nconst _hoisted_18 = { key: 0 }\nconst _hoisted_19 = { class: \"product-config-option\" }\nconst _hoisted_20 = {\n key: 0,\n class: \"pi pi-check mr-1\"\n}\nconst _hoisted_21 = { key: 1 }\nconst _hoisted_22 = { class: \"d-flex align-items-start flex-wrap\" }\nconst _hoisted_23 = { class: \"p-field-checkbox mr-2 mb-2\" }\nconst _hoisted_24 = {\n for: `role0`,\n class: \"ml-1 mb-0\"\n}\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"popover-icon pi pi-question\" }, null, -1))\nconst _hoisted_26 = [\"innerHTML\"]\nconst _hoisted_27 = { key: 1 }\nconst _hoisted_28 = { class: \"product-config-option\" }\nconst _hoisted_29 = {\n key: 0,\n class: \"pi pi-check mr-1\"\n}\nconst _hoisted_30 = { key: 0 }\nconst _hoisted_31 = { key: 1 }\nconst _hoisted_32 = {\n key: 0,\n class: \"d-flex flex-wrap\"\n}\nconst _hoisted_33 = {\n key: 0,\n class: \"pi pi-check mr-1\"\n}\nconst _hoisted_34 = [\"innerHTML\"]\nconst _hoisted_35 = {\n key: 0,\n class: \"select-button-usp\"\n}\nconst _hoisted_36 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-user text-primary mr-1\" }, null, -1))\nconst _hoisted_37 = {\n key: 1,\n class: \"select-button-usp text-success\"\n}\nconst _hoisted_38 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-check-circle mr-1\" }, null, -1))\nconst _hoisted_39 = { key: 1 }\nconst _hoisted_40 = { class: \"mb-3 pr-lg-5 pr-md-2\" }\nconst _hoisted_41 = {\n key: 0,\n class: \"mb-2\"\n}\nconst _hoisted_42 = { class: \"d-flex justify-content-between align-items-center w-100\" }\nconst _hoisted_43 = { class: \"d-flex align-items-center\" }\nconst _hoisted_44 = { class: \"mx-2 mb-0\" }\nconst _hoisted_45 = { class: \"mr-1 mb-0\" }\nconst _hoisted_46 = {\n key: 0,\n class: \"product-content-section\"\n}\nconst _hoisted_47 = { class: \"col-lg-4 shadow-left\" }\nconst _hoisted_48 = { class: \"d-flex align-items-center\" }\nconst _hoisted_49 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"mr-1 flex-shrink-0\",\n width: \"60\",\n height: \"60\"\n}, [\n /*#__PURE__*/_createElementVNode(\"use\", { \"xlink:href\": \"#icon-wallet\" })\n], -1))\nconst _hoisted_50 = { class: \"py-1\" }\nconst _hoisted_51 = [\"href\"]\nconst _hoisted_52 = [\"href\"]\nconst _hoisted_53 = {\n class: \"text-success\",\n style: {\"margin-right\":\"4px\"}\n}\nconst _hoisted_54 = [\"innerHTML\"]\nconst _hoisted_55 = [\"innerHTML\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ProductPageHeader = _resolveComponent(\"ProductPageHeader\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_TrainingCourseTable = _resolveComponent(\"TrainingCourseTable\")!\n const _component_ProductConfigurationStep = _resolveComponent(\"ProductConfigurationStep\")!\n const _component_SelectButton = _resolveComponent(\"SelectButton\")!\n const _component_RadioButton = _resolveComponent(\"RadioButton\")!\n const _component_TrainingModuleTable = _resolveComponent(\"TrainingModuleTable\")!\n const _component_AccordionTab = _resolveComponent(\"AccordionTab\")!\n const _component_Accordion = _resolveComponent(\"Accordion\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_AddressForm = _resolveComponent(\"AddressForm\")!\n const _component_Checkbox = _resolveComponent(\"Checkbox\")!\n const _component_PopoverIcon = _resolveComponent(\"PopoverIcon\")!\n const _component_Calendar = _resolveComponent(\"Calendar\")!\n const _component_TrainingParticipantForm = _resolveComponent(\"TrainingParticipantForm\")!\n const _component_ProductConfiguration = _resolveComponent(\"ProductConfiguration\")!\n const _component_ProductTabs = _resolveComponent(\"ProductTabs\")!\n const _component_ProductConfigurationSummaryItem = _resolveComponent(\"ProductConfigurationSummaryItem\")!\n const _component_ColumnYesNo = _resolveComponent(\"ColumnYesNo\")!\n const _component_ProductConfigurationSummary = _resolveComponent(\"ProductConfigurationSummary\")!\n const _component_ProgressSpinner = _resolveComponent(\"ProgressSpinner\")!\n const _component_TrainingPriceSummary = _resolveComponent(\"TrainingPriceSummary\")!\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Card = _resolveComponent(\"Card\")!\n const _component_SupportCard = _resolveComponent(\"SupportCard\")!\n const _component_Sidebar = _resolveComponent(\"Sidebar\")!\n const _component_TrainingAddCourseModal = _resolveComponent(\"TrainingAddCourseModal\")!\n const _component_ProductAddedModal = _resolveComponent(\"ProductAddedModal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_ProductPageHeader, { vm: _ctx.vm }, null, 8, [\"vm\"]),\n (_ctx.vm.viewModelIsValid)\n ? (_openBlock(), _createBlock(_component_ProductTabs, {\n key: 0,\n items: _ctx.productTabs\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n (_ctx.vm.trainings?.length)\n ? (_openBlock(), _createBlock(_component_ProductConfiguration, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(_component_ProductConfigurationStep, { id: \"step-course\" }, {\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"training.lblCourse\")) + \" \", 1),\n (_ctx.vm.helpBlockTrainingCourses)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.showHelpSideBar(_ctx.vm.helpBlockTrainingCourses))),\n label: _ctx.vm.helpBlockTrainingCourses?.linkText,\n class: \"py-0 p-button-text p-button-secondary\"\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _createVNode(_component_TrainingCourseTable, {\n items: _ctx.vm.trainings\n }, null, 8, [\"items\"])\n ]),\n _: 1\n }),\n (_ctx.availableTrainingMethods?.length)\n ? (_openBlock(), _createBlock(_component_ProductConfigurationStep, {\n key: 0,\n id: \"step-type\"\n }, {\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"training.lblType\")) + \" \", 1),\n (_ctx.vm.helpBlockTrainingMethod)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.showHelpSideBar(_ctx.vm.helpBlockTrainingMethod))),\n label: _ctx.vm.helpBlockTrainingMethod?.linkText,\n class: \"py-0 p-button-text p-button-secondary\"\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n footer: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.trainingMethodHelpText), 1)\n ]),\n default: _withCtx(() => [\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.selectedTrainingMethod,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.selectedTrainingMethod) = $event)),\n options: _ctx.availableTrainingMethods,\n optionLabel: \"label\",\n optionValue: \"value\"\n }, {\n option: _withCtx((slotProps) => [\n _createElementVNode(\"div\", _hoisted_6, [\n (slotProps.option.value === _ctx.selectedTrainingMethod)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_7))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, _toDisplayString(slotProps.option.label), 1)\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"options\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.availableTrainingConfigurationOptions?.length)\n ? (_openBlock(), _createBlock(_component_ProductConfigurationStep, {\n key: 1,\n id: \"step-modules\"\n }, {\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"training.lblContent\")) + \" \", 1),\n (_ctx.vm.helpBlockTrainingModules)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.showHelpSideBar(_ctx.vm.helpBlockTrainingModules))),\n label: _ctx.vm.helpBlockTrainingModules?.linkText,\n class: \"py-0 p-button-text p-button-secondary\"\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.availableTrainingConfigurationOptions, (configuration, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"form-check-inline\",\n key: index\n }, [\n _createVNode(_component_RadioButton, {\n id: `configuration${index}`,\n name: \"configuration\",\n value: configuration.value,\n modelValue: _ctx.selectedTrainingConfigurationOption,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.selectedTrainingConfigurationOption) = $event))\n }, null, 8, [\"id\", \"value\", \"modelValue\"]),\n _createElementVNode(\"label\", {\n class: \"ml-1 mb-0\",\n for: `configuration${index}`\n }, _toDisplayString(configuration.label), 9, _hoisted_10)\n ]))\n }), 128))\n ]),\n _withDirectives(_createVNode(_component_Button, {\n label: _ctx.$t('training.button.addModule'),\n class: \"mb-3 p-button-success\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.onAddModuleClick()))\n }, null, 8, [\"label\"]), [\n [_vShow, \r\n\t\t\t\t\t\t\t\t\t\t\t_ctx.selectedTrainingConfigurationOption === _ctx.TrainingConfigurationOptionEnum.Custom &&\r\n\t\t\t\t\t\t\t\t\t\t\t_ctx.canChooseModules\r\n\t\t\t\t\t\t\t\t\t\t]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_Accordion, {\n \"active-index\": _ctx.trainingModulesAccordionActiveIndexes,\n multiple: true,\n class: \"accordion-modules\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.allTrainingCourses, (course) => {\n return (_openBlock(), _createBlock(_component_AccordionTab, { key: course }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createTextVNode(_toDisplayString(course.name) + \" \", 1),\n _createElementVNode(\"span\", _hoisted_14, \" (\" + _toDisplayString(_ctx.$tc(\"training.lblModuleCount\", _ctx.selectedModulesForCourse(course).length)) + \") \", 1)\n ])\n ])\n ]),\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_component_TrainingModuleTable, {\n onSelectedCourseRemoved: _cache[6] || (_cache[6] = ($event: any) => (_ctx.onSelectedCourseRemoved($event))),\n onSelectedModulesChanged: _cache[7] || (_cache[7] = ($event: any) => (_ctx.onSelectedModulesChanged($event))),\n \"training-course\": course,\n \"is-editable\": \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t_ctx.selectedTrainingConfigurationOption === _ctx.TrainingConfigurationOptionEnum.Custom\r\n\t\t\t\t\t\t\t\t\t\t\t\t,\n key: course\n }, null, 8, [\"training-course\", \"is-editable\"]))\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"active-index\"])\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.canChooseLocation)\n ? (_openBlock(), _createBlock(_component_ProductConfigurationStep, {\n key: 2,\n id: \"step-location\"\n }, {\n error: _withCtx(() => [\n (\r\n\t\t\t\t\t\t\t\t\t\t\t!_ctx.trainingValidations.get(_ctx.TrainingValidationEnum.ValidAddressOwnLocation) && _ctx.submitted\r\n\t\t\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n id: `validation-msg-${_ctx.TrainingValidationEnum.ValidAddressOwnLocation}`,\n severity: \"error\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"validations.address\")), 1)\n ]),\n _: 1\n }, 8, [\"id\"]))\n : _createCommentVNode(\"\", true)\n ]),\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"training.lblLocation\")) + \" \", 1),\n (_ctx.vm.helpBlockTrainingLocation)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[8] || (_cache[8] = ($event: any) => (_ctx.showHelpSideBar(_ctx.vm.helpBlockTrainingLocation))),\n label: _ctx.vm.helpBlockTrainingLocation?.linkText,\n class: \"py-0 p-button-text p-button-secondary\"\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n (_ctx.availableTrainingLocationOptions?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.availableTrainingLocationOptions, (location, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"form-check-inline\",\n key: index\n }, [\n _createVNode(_component_RadioButton, {\n id: `location${index}`,\n name: \"location\",\n value: location.value,\n modelValue: _ctx.selectedTrainingLocationOption,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.selectedTrainingLocationOption) = $event))\n }, null, 8, [\"id\", \"value\", \"modelValue\"]),\n _createElementVNode(\"label\", {\n class: \"ml-1 mb-0\",\n for: `location${index}`\n }, _toDisplayString(location.label), 9, _hoisted_17)\n ]))\n }), 128))\n ]),\n (_ctx.selectedTrainingLocationOption === _ctx.TrainingLocationOptionEnum.Cadac)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_18, [\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.selectedTrainingLocation,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.selectedTrainingLocation) = $event)),\n options: _ctx.availableTrainingLocations,\n optionLabel: \"label\",\n optionValue: \"value\"\n }, {\n option: _withCtx((slotProps) => [\n _createElementVNode(\"div\", _hoisted_19, [\n (slotProps.option.value === _ctx.selectedTrainingLocation)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_20))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, _toDisplayString(slotProps.option.label), 1)\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"options\"])\n ]))\n : (_ctx.selectedTrainingLocationOption === _ctx.TrainingLocationOptionEnum.OwnLocation)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, [\n _createVNode(_component_AddressForm, {\n ref: \"trainingAddressForm\",\n model: _ctx.trainingAddress,\n \"onUpdate:model\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.trainingAddress) = $event)),\n countries: _ctx.vm.countries\n }, null, 8, [\"model\", \"countries\"]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_component_Checkbox, {\n id: `role0`,\n name: \"roles\",\n modelValue: _ctx.trainingProductForm.isVdiTraining,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((_ctx.trainingProductForm.isVdiTraining) = $event)),\n binary: true\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"label\", _hoisted_24, _toDisplayString(_ctx.$t(\"training.lblUseCadacHardware\")), 1)\n ]),\n _createVNode(_component_PopoverIcon, { class: \"d-inline-flex\" }, {\n content: _withCtx(() => [\n _createElementVNode(\"span\", {\n innerHTML: _ctx.vm.helpBlockTrainingHardware?.items?.map((x) => x.text)?.join('
')\n }, null, 8, _hoisted_26)\n ]),\n default: _withCtx(() => [\n _hoisted_25\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_27, [\n _createVNode(_component_SelectButton, {\n modelValue: _ctx.selectedTrainingLocation,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((_ctx.selectedTrainingLocation) = $event)),\n options: _ctx.availableTrainingLocations,\n optionLabel: \"label\",\n optionValue: \"value\"\n }, {\n option: _withCtx((slotProps) => [\n _createElementVNode(\"div\", _hoisted_28, [\n (slotProps.option.value === _ctx.selectedTrainingLocation)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_29))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, _toDisplayString(slotProps.option.label), 1)\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"options\"])\n ]))\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (\r\n\t\t\t\t\t\t\t\t\t_ctx.selectedTrainingMethod === _ctx.TrainingMethodEnum.training ||\r\n\t\t\t\t\t\t\t\t\t_ctx.selectedTrainingMethod === _ctx.TrainingMethodEnum.inCompany\r\n\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(_component_ProductConfigurationStep, {\n key: 3,\n id: \"step-date\"\n }, _createSlots({\n error: _withCtx(() => [\n (\r\n\t\t\t\t\t\t\t\t\t\t\t!_ctx.trainingValidations.get(_ctx.TrainingValidationEnum.ValidPreferredStartDate) && _ctx.submitted\r\n\t\t\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n id: `validation-msg-${_ctx.TrainingValidationEnum.ValidPreferredStartDate}`,\n severity: \"error\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"training.message.selectPreferredDate\")), 1)\n ]),\n _: 1\n }, 8, [\"id\"]))\n : _createCommentVNode(\"\", true)\n ]),\n header: _withCtx(() => [\n (_ctx.selectedTrainingMethod === _ctx.TrainingMethodEnum.inCompany)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_30, _toDisplayString(_ctx.$t(\"training.lblDate\")), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_31, _toDisplayString(_ctx.$t(\"training.lblDates\")), 1))\n ]),\n default: _withCtx(() => [\n (_ctx.selectedTrainingMethod === _ctx.TrainingMethodEnum.training)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_32, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.scheduledTrainingsForSelectedLocation, (training, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"custom-select-button mb-2\",\n key: index\n }, [\n _createVNode(_component_Button, {\n class: _normalizeClass([\"custom-button\", { 'p-highlight': training.id === _ctx.selectedScheduledTraining?.id }]),\n onClick: ($event: any) => (_ctx.selectedScheduledTraining = training)\n }, {\n default: _withCtx(() => [\n (training.id === _ctx.selectedScheduledTraining?.id)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_33))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", {\n innerHTML: training.datesString,\n class: \"d-flex flex-wrap align-items-center\",\n style: {\"white-space\":\"pre\"}\n }, null, 8, _hoisted_34)\n ]),\n _: 2\n }, 1032, [\"onClick\", \"class\"]),\n (training.availablePlaces)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_35, [\n _hoisted_36,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$tc(\"training.lblAvailableSeats\", training.availablePlaces)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (training.guaranteed)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_37, [\n _hoisted_38,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(\"training.lblGuaranteed\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_39, [\n _createVNode(_component_Calendar, _mergeProps({\n modelValue: _ctx.selectedPreferredStartDate,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((_ctx.selectedPreferredStartDate) = $event))\n }, _ctx.preferredDateOptions, { locale: _ctx.currentRegion }), null, 16, [\"modelValue\", \"locale\"])\n ]))\n ]),\n _: 2\n }, [\n (_ctx.selectedTrainingMethod === _ctx.TrainingMethodEnum.inCompany)\n ? {\n name: \"footer\",\n fn: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"training.lblEndDatePreference\")), 1)\n ])\n }\n : undefined\n ]), 1024))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_ProductConfigurationStep, { id: \"step-participants\" }, {\n error: _withCtx(() => [\n (!_ctx.trainingValidations.get(_ctx.TrainingValidationEnum.MaxParticipants) && _ctx.submitted)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n id: `validation-msg-${_ctx.TrainingValidationEnum.MaxParticipants}`,\n severity: \"error\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"training.message.tooManyParticipants\", [this.maxParticipants])), 1)\n ]),\n _: 1\n }, 8, [\"id\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.trainingValidations.get(_ctx.TrainingValidationEnum.AtleastOneParticipant) && _ctx.submitted)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n id: `validation-msg-${_ctx.TrainingValidationEnum.AtleastOneParticipant}`,\n severity: \"error\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"training.message.atLeastOneParticipant\")), 1)\n ]),\n _: 1\n }, 8, [\"id\"]))\n : _createCommentVNode(\"\", true),\n (\r\n\t\t\t\t\t\t\t\t\t\t\t!_ctx.trainingValidations.get(_ctx.TrainingValidationEnum.UniqueEmailParticipant) && _ctx.submitted\r\n\t\t\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 2,\n id: `validation-msg-${_ctx.TrainingValidationEnum.UniqueEmailParticipant}`,\n severity: \"error\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"training.message.uniqueEmailParticipant\")), 1)\n ]),\n _: 1\n }, 8, [\"id\"]))\n : _createCommentVNode(\"\", true)\n ]),\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"training.lblParticipants\")) + \" \", 1),\n (_ctx.vm.helpBlockTrainingParticipants)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[15] || (_cache[15] = ($event: any) => (_ctx.showHelpSideBar(_ctx.vm.helpBlockTrainingParticipants))),\n label: _ctx.vm.helpBlockTrainingParticipants?.linkText,\n class: \"py-0 p-button-text p-button-secondary\"\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_40, [\n (_ctx.canAddParticipants)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_41, [\n _createVNode(_component_Button, {\n onClick: _cache[16] || (_cache[16] = ($event: any) => (_ctx.addParticipant())),\n label: _ctx.$t('training.button.addParticipant'),\n icon: \"pi pi-plus-circle p-button-icon-lg\",\n class: \"p-button-text mr-2 px-0\"\n }, null, 8, [\"label\"]),\n (\r\n\t\t\t\t\t\t\t\t\t\t\t\t_ctx.vm.loggedInUserAsParticipant &&\r\n\t\t\t\t\t\t\t\t\t\t\t\t!_ctx.trainingParticipants.find((x) => x.id === _ctx.vm.loggedInUserAsParticipant.id)\r\n\t\t\t\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[17] || (_cache[17] = ($event: any) => (_ctx.addParticipant(_ctx.vm.loggedInUserAsParticipant))),\n label: _ctx.$t('training.button.addSelfAsParticipant'),\n icon: \"pi pi-user-plus p-button-icon-lg\",\n class: \"p-button-text p-button-secondary px-0\"\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Accordion, {\n ref: \"trainingParticipantsAccordion\",\n multiple: true,\n \"active-index\": _ctx.trainingParticipantsAccordionActiveIndexes,\n \"onUpdate:active-index\": _cache[18] || (_cache[18] = ($event: any) => ((_ctx.trainingParticipantsAccordionActiveIndexes) = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.trainingParticipants, (participant, index) => {\n return (_openBlock(), _createBlock(_component_AccordionTab, { key: participant }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_42, [\n _createElementVNode(\"div\", _hoisted_43, [\n _createElementVNode(\"h5\", _hoisted_44, _toDisplayString(index + 1) + \".\", 1),\n _createElementVNode(\"p\", _hoisted_45, _toDisplayString(_ctx.getParticipantName(participant)), 1)\n ]),\n _createVNode(_component_Button, {\n icon: \"pi pi-times\",\n class: \"p-button-danger p-button-outlined p-button-rounded border\",\n onClick: _withModifiers(($event: any) => (_ctx.removeParticipant(index)), [\"stop\"])\n }, null, 8, [\"onClick\"])\n ])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"small\", null, _toDisplayString(_ctx.$t(\"training.lblOptionalFieldsIfUnknown\")), 1),\n _createVNode(_component_TrainingParticipantForm, {\n model: participant,\n index: index,\n class: \"mt-1\"\n }, null, 8, [\"model\", \"index\"])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"active-index\"])\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.$slots.related)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_46, [\n _renderSlot(_ctx.$slots, \"related\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 8, [\"items\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_47, [\n (_ctx.vm.viewModelIsValid)\n ? (_openBlock(), _createBlock(_component_Card, {\n key: 0,\n class: \"product-summary shadow-none\"\n }, {\n title: _withCtx(() => [\n _createVNode(_component_ProductConfigurationSummary, {\n header: _ctx.$t('training.titleSummary')\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ProductConfigurationSummaryItem, {\n label: _ctx.$t('training.lblType'),\n content: _ctx.$t(`enum.trainingMethod.${_ctx.selectedTrainingMethod}`)\n }, null, 8, [\"label\", \"content\"]),\n (_ctx.canChooseModules)\n ? (_openBlock(), _createBlock(_component_ProductConfigurationSummaryItem, {\n key: 0,\n label: _ctx.$t('training.lblModular')\n }, {\n content: _withCtx(() => [\n _createVNode(_component_ColumnYesNo, {\n value: _ctx.selectedTrainingConfigurationOption === _ctx.TrainingConfigurationOptionEnum.Custom\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }, 8, [\"label\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_ProductConfigurationSummaryItem, {\n label: _ctx.$t('training.lblLocation'),\n content: _ctx.selectedLocationText\n }, null, 8, [\"label\", \"content\"]),\n (_ctx.trainingProductForm?.isVdiTraining)\n ? (_openBlock(), _createBlock(_component_ProductConfigurationSummaryItem, {\n key: 1,\n label: _ctx.$t('training.lblVirtualDesktop')\n }, {\n content: _withCtx(() => [\n _createVNode(_component_ColumnYesNo, {\n value: _ctx.trainingProductForm.isVdiTraining\n }, null, 8, [\"value\"])\n ]),\n _: 1\n }, 8, [\"label\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_ProductConfigurationSummaryItem, {\n label: _ctx.$t('training.lblDuration'),\n content: _ctx.$n(_ctx.trainingPriceCalculation?.totalDurationInDays || 0).toString()\n }, null, 8, [\"label\", \"content\"]),\n _createVNode(_component_ProductConfigurationSummaryItem, {\n label: _ctx.$t('training.lblDate'),\n content: _ctx.selectedDateFormatted || '-'\n }, null, 8, [\"label\", \"content\"]),\n _createVNode(_component_ProductConfigurationSummaryItem, {\n label: _ctx.$t('training.lblNumberOfParticipants'),\n content: _ctx.$n(_ctx.trainingParticipants?.length || 0).toString()\n }, null, 8, [\"label\", \"content\"])\n ]),\n _: 1\n }, 8, [\"header\"])\n ]),\n content: _withCtx(() => [\n (_ctx.isSpinnerVisible['priceSummary'])\n ? (_openBlock(), _createBlock(_component_ProgressSpinner, {\n key: 0,\n \"animation-duration\": \".75s\",\n \"stroke-width\": \"3\",\n class: \"d-block ml-auto mr-0\"\n }))\n : (_openBlock(), _createBlock(_component_TrainingPriceSummary, {\n key: 1,\n vm: _ctx.trainingPriceCalculation\n }, null, 8, [\"vm\"])),\n _createVNode(_component_Message, {\n severity: \"custom\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_48, [\n _hoisted_49,\n _createElementVNode(\"div\", _hoisted_50, [\n (!_ctx.userProfile || !_ctx.userProfile.emailVerified)\n ? (_openBlock(), _createBlock(_component_i18n_t, {\n key: 0,\n keypath: \"common.productSummary.loginForWalletAdvantages\"\n }, {\n loginLink: _withCtx(() => [\n _createElementVNode(\"a\", { href: _ctx.loginPageUrl }, _toDisplayString(_ctx.$t(\"common.login\")), 9, _hoisted_51)\n ]),\n registerLink: _withCtx(() => [\n _createElementVNode(\"a\", { href: _ctx.registerPageUrl }, _toDisplayString(_ctx.$t(\"common.register\")?.toLowerCase()), 9, _hoisted_52)\n ]),\n _: 1\n }))\n : (_ctx.trainingPriceCalculation?.walletAmount)\n ? (_openBlock(), _createBlock(_component_i18n_t, {\n key: 1,\n keypath: \"common.productSummary.earnWalletCredit\"\n }, {\n amount: _withCtx(() => [\n _createElementVNode(\"b\", _hoisted_53, _toDisplayString(_ctx.formatCurrency(_ctx.trainingPriceCalculation?.walletAmount)), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n })\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_Button, {\n label: _ctx.$t(`common.addToCart`),\n class: \"p-button-success p-button-lg p-button-raised w-100 px-1 mb-1\",\n icon: \"pi pi-arrow-right mr-2\",\n \"icon-pos\": \"right\",\n disabled: _ctx.submitted && !_ctx.validateProductConfiguration(),\n onClick: _cache[19] || (_cache[19] = ($event: any) => (_ctx.addToCart()))\n }, null, 8, [\"label\", \"disabled\"]),\n (_ctx.validationErrors.length && _ctx.submitted)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n onClick: _cache[20] || (_cache[20] = ($event: any) => (_ctx.scrollToFirstValidationError())),\n closable: false,\n severity: \"warn\",\n style: {\"cursor\":\"pointer\"}\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$tc(\"common.productSummary.msgValidationErrors\", _ctx.validationErrors.length)), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n severity: \"error\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"common.messages.general.helpDeskContacted\")), 1)\n ]),\n _: 1\n }))\n ])\n ])\n ]),\n _createVNode(_component_Sidebar, {\n visible: _ctx.showSideBar,\n \"onUpdate:visible\": _cache[21] || (_cache[21] = ($event: any) => ((_ctx.showSideBar) = $event)),\n class: \"p-sidebar-md p-sidebar-primary\",\n position: \"left\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.selectedHelpBlock?.items, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", { key: index }, [\n _createElementVNode(\"h3\", {\n innerHTML: item.title\n }, null, 8, _hoisted_54),\n _createElementVNode(\"p\", {\n innerHTML: item.text\n }, null, 8, _hoisted_55)\n ]))\n }), 128)),\n _createVNode(_component_SupportCard)\n ]),\n _: 1\n }, 8, [\"visible\"]),\n (_ctx.showAddCourseModal)\n ? (_openBlock(), _createBlock(_component_TrainingAddCourseModal, {\n key: 0,\n courses: _ctx.vm.trainings,\n onTrainingCourseAdded: _cache[22] || (_cache[22] = ($event: any) => (_ctx.onTrainingCourseAdded($event)))\n }, null, 8, [\"courses\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showProductAddedModal)\n ? (_openBlock(), _createBlock(_component_ProductAddedModal, {\n key: 1,\n vm: _ctx.productAddedModel\n }, null, 8, [\"vm\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4183ed08\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"product-configuration\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]))\n}","\r\n\timport { Mixins } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\texport default class ProductConfiguration extends Mixins(Helpers) {}\r\n","import { render } from \"./productConfiguration.vue?vue&type=template&id=4183ed08&scoped=true&ts=true\"\nimport script from \"./productConfiguration.vue?vue&type=script&lang=ts\"\nexport * from \"./productConfiguration.vue?vue&type=script&lang=ts\"\n\nimport \"./productConfiguration.vue?vue&type=style&index=0&id=4183ed08&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4183ed08\"]])\n\nexport default __exports__","import { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6935ff20\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"product-config-step\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"product-config-step-header\"\n}\nconst _hoisted_3 = {\n key: 1,\n class: \"product-config-step-header\"\n}\nconst _hoisted_4 = { class: \"product-config-step-title\" }\nconst _hoisted_5 = { class: \"product-config-step-content\" }\nconst _hoisted_6 = {\n key: 2,\n class: \"product-config-step-footer\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.$slots.header)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"header\", {}, undefined, true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.title), 1)\n ])),\n _createElementVNode(\"div\", _hoisted_5, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true),\n _renderSlot(_ctx.$slots, \"error\", {}, undefined, true)\n ]),\n (_ctx.$slots.footer)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _renderSlot(_ctx.$slots, \"footer\", {}, undefined, true)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\texport default class ProductConfigurationStep extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: String,\r\n\t\t\trequired: false,\r\n\t\t\tdefault: \"\",\r\n\t\t})\r\n\t\ttitle!: string;\r\n\t}\r\n","import { render } from \"./productConfigurationStep.vue?vue&type=template&id=6935ff20&scoped=true&ts=true\"\nimport script from \"./productConfigurationStep.vue?vue&type=script&lang=ts\"\nexport * from \"./productConfigurationStep.vue?vue&type=script&lang=ts\"\n\nimport \"./productConfigurationStep.vue?vue&type=style&index=0&id=6935ff20&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6935ff20\"]])\n\nexport default __exports__","import { renderSlot as _renderSlot, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a381f6bc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"py-3\" }\nconst _hoisted_2 = { class: \"d-flex flex-column flex-lg-row mb-3\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"product-header-icon\"\n}\nconst _hoisted_4 = [\"src\", \"title\", \"alt\"]\nconst _hoisted_5 = { class: \"d-flex flex-column\" }\nconst _hoisted_6 = { class: \"mb-0 text-muted lead\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"mb-0\"\n}\nconst _hoisted_8 = [\"href\", \"title\"]\nconst _hoisted_9 = {\n key: 1,\n class: \"mb-0\"\n}\nconst _hoisted_10 = [\"innerHTML\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"container-fluid product-header-bg\",\n style: _normalizeStyle({ background: _ctx.vm.backgroundColor })\n }, [\n _renderSlot(_ctx.$slots, \"breadcrumbs\", {}, undefined, true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.vm.iconUrl)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"img\", {\n src: _ctx.vm.iconUrl,\n title: _ctx.vm.name,\n alt: _ctx.vm.iconAlt || _ctx.vm.name\n }, null, 8, _hoisted_4)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"p\", _hoisted_6, _toDisplayString(_ctx.vm.brand), 1),\n ((_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales) && _ctx.vm.crmUrl)\n ? (_openBlock(), _createElementBlock(\"h1\", _hoisted_7, [\n _createElementVNode(\"a\", {\n href: _ctx.vm.crmUrl,\n target: \"_blank\",\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(_ctx.formatProductName(_ctx.vm.name, _ctx.vm.brand)), 9, _hoisted_8)\n ]))\n : (_openBlock(), _createElementBlock(\"h1\", _hoisted_9, _toDisplayString(_ctx.formatProductName(_ctx.vm.name, _ctx.vm.brand)), 1))\n ])\n ]),\n _createElementVNode(\"p\", {\n class: \"lead text-preline\",\n innerHTML: _ctx.vm.intro\n }, null, 8, _hoisted_10)\n ])\n ], 4))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\texport interface IProductPageHeader {\r\n\t\tbackgroundColor?: string;\r\n\t\tbrand: string;\r\n\t\tcrmUrl?: string;\r\n\t\ticonAlt: string;\r\n\t\ticonUrl: string;\r\n\t\tintro: string;\r\n\t\tname: string;\r\n\t\tprice: number;\r\n\t}\r\n\r\n\texport default class ProductPageHeader extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) vm!: IProductPageHeader;\r\n\t}\r\n","import { render } from \"./productPageHeader.vue?vue&type=template&id=a381f6bc&scoped=true&ts=true\"\nimport script from \"./productPageHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./productPageHeader.vue?vue&type=script&lang=ts\"\n\nimport \"./productPageHeader.vue?vue&type=style&index=0&id=a381f6bc&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a381f6bc\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, vShow as _vShow, withDirectives as _withDirectives, resolveDirective as _resolveDirective, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6410a57c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"product-tabs\" }\nconst _hoisted_2 = {\n ref: \"nav\",\n class: \"product-tabs-header\",\n role: \"tablist\"\n}\nconst _hoisted_3 = [\"href\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _directive_scroll_spy_active = _resolveDirective(\"scroll-spy-active\")!\n const _directive_scroll_spy_link = _resolveDirective(\"scroll-spy-link\")!\n const _directive_scroll_spy = _resolveDirective(\"scroll-spy\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _withDirectives((_openBlock(), _createElementBlock(\"ul\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.items, (item, i) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"li\", {\n key: `${item.label}_${i.toString()}`,\n class: \"product-tabs-header-item\"\n }, [\n _createElementVNode(\"a\", {\n href: item.href,\n class: \"product-tabs-header-item-link\"\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(item.label), 1)\n ], 8, _hoisted_3)\n ], 512)), [\n [_vShow, !item.isHidden]\n ])\n }), 128))\n ])), [\n [_directive_scroll_spy_active, { selector: '.product-tabs-header-item', class: 'active' }],\n [_directive_scroll_spy_link, { selector: '.product-tabs-header-item-link' }]\n ]),\n _withDirectives((_openBlock(), _createElementBlock(\"div\", null, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ])), [\n [_directive_scroll_spy, { allowNoActive: true }]\n ])\n ]))\n}","\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { PropType } from \"vue\";\r\n\r\n\texport interface ProductTab {\r\n\t\tlabel: string;\r\n\t\thref: string;\r\n\t\tisDisabled?: boolean;\r\n\t\tisHidden?: boolean;\r\n\t}\r\n\texport default class ProductTabs extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\titems!: ProductTab[];\r\n\t}\r\n","import { render } from \"./productTabs.vue?vue&type=template&id=6410a57c&scoped=true&ts=true\"\nimport script from \"./productTabs.vue?vue&type=script&lang=ts\"\nexport * from \"./productTabs.vue?vue&type=script&lang=ts\"\n\nimport \"./productTabs.vue?vue&type=style&index=0&id=6410a57c&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6410a57c\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"mb-0\" }\nconst _hoisted_2 = { class: \"mb-3\" }\nconst _hoisted_3 = { class: \"required\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Dropdown = _resolveComponent(\"Dropdown\")!\n const _component_TrainingModuleTable = _resolveComponent(\"TrainingModuleTable\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Dialog = _resolveComponent(\"Dialog\")!\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isVisible,\n \"onUpdate:visible\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.isVisible) = $event)),\n modal: true,\n onSelect: _cache[5] || (_cache[5] = ($event: any) => (_ctx.onSelectedCourseChanged())),\n onHide: _cache[6] || (_cache[6] = ($event: any) => (_ctx.onCancel())),\n breakpoints: { '1600px': '40vw', '1200px': '50vw', '992px': '60vw', '768px': '75vw', '576px': '90vw' },\n style: { width: '30vw' }\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"h3\", _hoisted_1, _toDisplayString(_ctx.$t(\"training.dialog.titleAddModule\")), 1)\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_Button, {\n label: _ctx.$t('common.cancel'),\n class: \"p-button-text p-button-plain\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.onCancel()))\n }, null, 8, [\"label\"]),\n _createVNode(_component_Button, {\n label: _ctx.$t('common.add'),\n disabled: !_ctx.canSubmit,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.onSubmit()))\n }, null, 8, [\"label\", \"disabled\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"label\", null, _toDisplayString(_ctx.$t(\"training.dialog.lblChooseCourse\")), 1),\n _createVNode(_component_Dropdown, {\n options: _ctx.availableCourses,\n \"option-label\": \"label\",\n \"option-value\": \"value\",\n modelValue: _ctx.selectedCourse,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selectedCourse) = $event)),\n appendTo: \"self\"\n }, null, 8, [\"options\", \"modelValue\"]),\n _createElementVNode(\"small\", _hoisted_3, _toDisplayString(_ctx.$t(\"training.dialog.lblMinimumModuleAmount\")), 1)\n ]),\n _createElementVNode(\"label\", null, _toDisplayString(_ctx.$t(\"training.dialog.lblChooseModules\")), 1),\n _createVNode(_component_TrainingModuleTable, {\n \"training-course\": _ctx.selectedCourse,\n \"is-modal\": true,\n \"is-editable\": true,\n onSelectedModulesChanged: _cache[1] || (_cache[1] = ($event: any) => (_ctx.onSelectedModulesChanged($event)))\n }, null, 8, [\"training-course\"])\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}","import store from '@/store';\r\nimport { LocalTrainingType } from '@/types/generated/localTrainingType';\r\nimport { TrainingCourseAddToCartRequest } from '@/types/generated/Api/trainingCourseAddToCartRequest';\r\nimport { TrainingParticipantForm as TrainingParticipantFormModel } from '@/types/generated/trainingParticipantForm';\r\nimport { TrainingProductAddToCartRequest } from '@/types/generated/api/trainingProductAddToCartRequest';\r\nimport { TrainingViewModel } from '@/types/generated/Training/trainingViewModel';\r\nimport { cloneDeep, concat, isNumber } from 'lodash';\r\nimport { getModule, Module, Mutation, VuexModule } from 'vuex-module-decorators';\r\nimport { ITrainingProductGroup } from '@/types/interfaces/commerce/trainingProductGroup.interface';\r\nimport { TrainingProductGroupConfigurationViewModel } from '@/types/generated/Training/trainingProductGroupConfigurationViewModel';\r\n\r\n/* Dynamic module injection in store object */\r\n@Module({ name: 'trainingProduct', dynamic: true, store })\r\nclass TrainingProductModule extends VuexModule {\r\n\ttrainingProductGroupViewModel: ITrainingProductGroup | null = null;\r\n\ttrainingProductForm: TrainingProductAddToCartRequest | null = null;\r\n\ttrainingAddCourseModalVisible = false;\r\n\r\n\tselectedTrainingCourse: TrainingViewModel | null = null;\r\n\r\n\tget trainingCourseById() {\r\n\t\treturn (id: string) => this.trainingCourseCartRequests.find((x) => x?.id === id) as TrainingCourseAddToCartRequest;\r\n\t}\r\n\r\n\tget allTrainingCourses(): TrainingViewModel[] {\r\n\t\treturn concat(this.trainingProductForm?.course, this.trainingProductForm?.additionalCourses)\r\n\t\t\t.map(\r\n\t\t\t\t(course) => this.trainingProductGroupViewModel?.trainings?.find((x) => x.id === course?.id) as TrainingViewModel\r\n\t\t\t)\r\n\t\t\t.filter(Boolean);\r\n\t}\r\n\r\n\tget trainingCourseCartRequests() {\r\n\t\treturn [\r\n\t\t\tthis.trainingProductForm?.course,\r\n\t\t\t...(this.trainingProductForm?.additionalCourses as TrainingCourseAddToCartRequest[]),\r\n\t\t];\r\n\t}\r\n\r\n\tget trainingParticipants() {\r\n\t\treturn this.trainingProductForm?.course?.participants || [];\r\n\t}\r\n\r\n\tget isCourseSelected() {\r\n\t\treturn (id: string) => this.trainingCourseCartRequests?.findIndex((x) => x?.id === id) > -1;\r\n\t}\r\n\r\n\tget isModuleSelected() {\r\n\t\treturn (courseId: string, moduleSku: string) =>\r\n\t\t\tthis.trainingCourseById(courseId)?.selectedModuleSkus?.includes(moduleSku);\r\n\t}\r\n\r\n\t@Mutation\r\n\tinitProductForm(trainingProductConfiguration?: TrainingProductGroupConfigurationViewModel): void {\r\n\t\tif (trainingProductConfiguration && trainingProductConfiguration.course) {\r\n\t\t\tthis.trainingProductForm = {\r\n\t\t\t\toldLineItemIds: trainingProductConfiguration?.oldLineItemIds || [],\r\n\t\t\t\ttrainingProductGroupId: trainingProductConfiguration?.course?.id as string,\r\n\t\t\t\tisVdiTraining: trainingProductConfiguration?.isVdiTraining as boolean,\r\n\t\t\t\tcourse: (trainingProductConfiguration?.course as TrainingCourseAddToCartRequest) || {},\r\n\t\t\t\tadditionalCourses: (trainingProductConfiguration?.additionalCourses as TrainingCourseAddToCartRequest[]) || [],\r\n\t\t\t\tallCourses: [],\r\n\t\t\t\ttrainingListId: trainingProductConfiguration?.trainingListId,\r\n\t\t\t\ttrainingLocationId: trainingProductConfiguration?.trainingLocationId,\r\n\t\t\t\ttype: trainingProductConfiguration?.trainingType || LocalTrainingType.companyTrainingLocal,\r\n\t\t\t\taddress: trainingProductConfiguration?.address || (null as any),\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tthis.trainingProductForm = {\r\n\t\t\t\toldLineItemIds: [],\r\n\t\t\t\ttrainingProductGroupId: '',\r\n\t\t\t\tisVdiTraining: false,\r\n\t\t\t\tcourse: this.selectedTrainingCourse\r\n\t\t\t\t\t? ({\r\n\t\t\t\t\t\t\tid: this.selectedTrainingCourse?.id,\r\n\t\t\t\t\t\t\tselectedModuleSkus: this.selectedTrainingCourse?.modules.map((x) => x.sku),\r\n\t\t\t\t\t\t\tparticipants: this.trainingProductForm?.course?.participants || [],\r\n\t\t\t\t\t } as TrainingCourseAddToCartRequest)\r\n\t\t\t\t\t: ({ participants: [], selectedModuleSkus: [], id: '' } as TrainingCourseAddToCartRequest),\r\n\t\t\t\tadditionalCourses: [],\r\n\t\t\t\tallCourses: [],\r\n\t\t\t\ttrainingListId: '',\r\n\t\t\t\ttrainingLocationId: '',\r\n\t\t\t\ttype: LocalTrainingType.companyTrainingLocal,\r\n\t\t\t\taddress: null as any,\r\n\t\t\t};\r\n\t\t}\r\n\t}\r\n\r\n\t@Mutation\r\n\tsetTrainingProductGroupViewModel(trainingProductGroupViewModel: ITrainingProductGroup): void {\r\n\t\tthis.trainingProductGroupViewModel = trainingProductGroupViewModel;\r\n\t}\r\n\r\n\t@Mutation\r\n\tsetSelectedTrainingCourse(trainingCourse: TrainingViewModel): void {\r\n\t\tthis.selectedTrainingCourse = trainingCourse;\r\n\t\tif (this.trainingProductForm) {\r\n\t\t\tthis.trainingProductForm.additionalCourses = [];\r\n\t\t\tthis.trainingProductForm.course = {\r\n\t\t\t\tid: trainingCourse?.id,\r\n\t\t\t\tselectedModuleSkus: trainingCourse?.modules.map((x) => x.sku),\r\n\t\t\t\tparticipants: this.trainingProductForm?.course?.participants || [],\r\n\t\t\t} as TrainingCourseAddToCartRequest;\r\n\t\t\tthis.trainingProductForm.allCourses = [this.trainingProductForm.course];\r\n\t\t}\r\n\t}\r\n\r\n\t@Mutation\r\n\tsetSelectedTrainingType(trainingType: LocalTrainingType): void {\r\n\t\tif (this.trainingProductForm) this.trainingProductForm.type = trainingType;\r\n\t}\r\n\r\n\t@Mutation\r\n\taddAdditionalCourse(trainingCourse: TrainingCourseAddToCartRequest): void {\r\n\t\tthis.trainingProductForm?.additionalCourses.push(trainingCourse);\r\n\t}\r\n\r\n\t@Mutation\r\n\tupdateCourse(trainingCourse: TrainingCourseAddToCartRequest): void {\r\n\t\tconst index = this.trainingCourseCartRequests?.findIndex((x) => x?.id === trainingCourse.id);\r\n\t\tif (isNumber(index) && index > -1 && this.trainingProductForm)\r\n\t\t\tthis.trainingCourseCartRequests[index] = cloneDeep(trainingCourse);\r\n\t}\r\n\r\n\t@Mutation\r\n\tremoveCourse(trainingCourseId: string): void {\r\n\t\tconst index = this.trainingProductForm?.additionalCourses?.findIndex((x) => x?.id === trainingCourseId);\r\n\t\tif (isNumber(index) && index > -1) {\r\n\t\t\tthis.trainingProductForm?.additionalCourses.splice(index, 1);\r\n\t\t\tthis.trainingProductForm = cloneDeep(this.trainingProductForm);\r\n\t\t}\r\n\t}\r\n\r\n\t@Mutation\r\n\tresetCourse(): void {\r\n\t\tif (this.trainingProductForm && this.selectedTrainingCourse) {\r\n\t\t\tthis.trainingProductForm.additionalCourses = [];\r\n\t\t\tthis.trainingProductForm.course.selectedModuleSkus = this.selectedTrainingCourse?.modules.map((x) => x.sku);\r\n\t\t\tthis.trainingProductForm = cloneDeep(this.trainingProductForm);\r\n\t\t}\r\n\t}\r\n\r\n\t@Mutation\r\n\tshowAddCourseModal(): void {\r\n\t\tthis.trainingAddCourseModalVisible = true;\r\n\t}\r\n\r\n\t@Mutation\r\n\thideAddCourseModal(): void {\r\n\t\tthis.trainingAddCourseModalVisible = false;\r\n\t}\r\n\r\n\t@Mutation\r\n\taddParticipant(participant: TrainingParticipantFormModel): void {\r\n\t\tthis.trainingProductForm?.course?.participants?.push(participant);\r\n\t\tthis.trainingProductForm = cloneDeep(this.trainingProductForm);\r\n\t}\r\n\r\n\t@Mutation\r\n\tremoveParticipant(index: number): void {\r\n\t\tthis.trainingProductForm?.course?.participants?.splice(index, 1);\r\n\t\tthis.trainingProductForm = cloneDeep(this.trainingProductForm);\r\n\t}\r\n}\r\n\r\nexport default getModule(TrainingProductModule);\r\n","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, createElementBlock as _createElementBlock, withModifiers as _withModifiers, createSlots as _createSlots, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0723de1a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"training-module-table\" }\nconst _hoisted_2 = { class: \"d-flex w-100 font-weight-bold\" }\nconst _hoisted_3 = { class: \"flex-grow-1\" }\nconst _hoisted_4 = {\n class: \"px-1\",\n style: {\"width\":\"20%\"}\n}\nconst _hoisted_5 = {\n class: \"px-2\",\n style: {\"width\":\"20%\"}\n}\nconst _hoisted_6 = {\n key: 0,\n style: {\"width\":\"10%\"}\n}\nconst _hoisted_7 = { class: \"row-expansion-content\" }\nconst _hoisted_8 = [\"innerHTML\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.modules?.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 0,\n onRowClick: _withModifiers(_ctx.onRowClick, [\"self\"]),\n \"expanded-rows\": _ctx.expandedRows,\n \"onUpdate:expanded-rows\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.expandedRows) = $event)),\n value: _ctx.modules,\n \"row-class\": _ctx.highlightRow,\n \"row-hover\": true,\n \"data-key\": \"sku\",\n \"responsive-layout\": \"stack\",\n \"auto-layout\": \"\"\n }, _createSlots({\n expansion: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"p\", {\n innerHTML: item.data.shortDescription,\n class: \"text-preline\"\n }, null, 8, _hoisted_8)\n ])\n ]),\n default: _withCtx(() => [\n (!_ctx.isSmallScreen?.value)\n ? (_openBlock(), _createBlock(_component_Column, {\n key: 0,\n expander: \"\",\n headerStyle: \"width:1.75rem\"\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Column, {\n field: \"name\",\n key: \"name\"\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", null, _toDisplayString(item.data.name), 1)\n ]),\n _: 1\n }),\n (!_ctx.isDefaultTraining)\n ? (_openBlock(), _createBlock(_component_Column, {\n field: \"durationInMinutes\",\n key: \"durationInHours\",\n style: {\"width\":\"20%\"}\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"common.hour\", [_ctx.$n(item.data.durationInHours)])), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (!_ctx.isDefaultTraining)\n ? (_openBlock(), _createBlock(_component_Column, {\n field: \"price\",\n key: \"price\",\n style: {\"width\":\"20%\"}\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatCurrency(item.data.price)), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.isEditable)\n ? (_openBlock(), _createBlock(_component_Column, {\n key: \"selection\",\n style: {\"width\":\"10%\"}\n }, {\n body: _withCtx((item) => [\n _createVNode(_component_Button, {\n onClick: ($event: any) => (_ctx.onToggleSelectionClicked(item.data)),\n icon: !_ctx.isRowSelected(item.data) ? 'pi pi-plus' : 'pi pi-times',\n class: _normalizeClass([!_ctx.isRowSelected(item.data) ? 'text-success' : 'text-danger', \"p-button-text p-button-rounded\"])\n }, null, 8, [\"onClick\", \"icon\", \"class\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, [\n (!_ctx.isDefaultTraining)\n ? {\n name: \"footer\",\n fn: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_ctx.$t(\"common.total\")), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"common.hour\", [_ctx.$n(_ctx.totalDurationInHours)])), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatCurrency(_ctx.totalPrice || 0)), 1)\n ]),\n (_ctx.isEditable)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6))\n : _createCommentVNode(\"\", true)\n ])\n ])\n }\n : undefined\n ]), 1032, [\"onRowClick\", \"expanded-rows\", \"value\", \"row-class\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Emit, Mixins, Prop, Watch } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { cloneDeep, sum } from \"lodash\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { TrainingModuleViewModel } from \"@/types/generated/Training/trainingModuleViewModel\";\r\n\timport trainingProductModule from \"@/store/modules/trainingProductModule\";\r\n\timport { TrainingViewModel } from \"@/types/generated/Training/trainingViewModel\";\r\n\timport { LocalTrainingType } from \"@/types/generated/localTrainingType\";\r\n\r\n\texport interface TrainingModulesChangedEvent {\r\n\t\tcourse: TrainingViewModel;\r\n\t\tmodules: TrainingModuleViewModel[];\r\n\t}\r\n\r\n\t@Options({ emits: [\"selected-modules-changed\", \"selected-course-removed\"] })\r\n\texport default class TrainingModuleTable extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\ttrainingCourse!: TrainingViewModel;\r\n\t\t@Prop({ type: Boolean, required: false, default: false }) isEditable!: boolean;\r\n\t\t@Prop({ type: Boolean, required: false, default: false }) isModal!: boolean;\r\n\r\n\t\t@Emit() selectedModulesChanged(): TrainingModulesChangedEvent {\r\n\t\t\treturn { course: this.trainingCourse, modules: this.selectedRows };\r\n\t\t}\r\n\r\n\t\t@Emit() selectedCourseRemoved() {\r\n\t\t\treturn this.trainingCourse;\r\n\t\t}\r\n\r\n\t\t@Watch(\"selectedModulesForCourse\") onSelectedModulesForCourseChanged(val: any) {\r\n\t\t\tthis.selectedRows = val;\r\n\t\t}\r\n\r\n\t\texpandedRows: TrainingModuleViewModel[] = [];\r\n\t\tselectedRows: TrainingModuleViewModel[] = [];\r\n\r\n\t\tget totalDurationInHours(): number {\r\n\t\t\treturn sum(this.selectedRows.map((x) => x.durationInHours));\r\n\t\t}\r\n\r\n\t\tget totalPrice(): number {\r\n\t\t\treturn sum(this.selectedRows.map((x) => x.price));\r\n\t\t}\r\n\r\n\t\tget modules(): TrainingModuleViewModel[] {\r\n\t\t\treturn this.trainingCourse.modules;\r\n\t\t}\r\n\r\n\t\tget selectedModulesForCourse() {\r\n\t\t\treturn this.trainingCourse.modules.filter((x) =>\r\n\t\t\t\ttrainingProductModule.isModuleSelected(this.trainingCourse.id, x.sku)\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget isDefaultTraining(): boolean {\r\n\t\t\treturn trainingProductModule.trainingProductForm?.type !== LocalTrainingType.modular;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.selectedRows = cloneDeep(\r\n\t\t\t\tthis.modules?.filter((x) => trainingProductModule.isModuleSelected(this.trainingCourse.id, x.sku)) || []\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tonToggleSelectionClicked(module: TrainingModuleViewModel): void {\r\n\t\t\tif (this.isModal || !this.isRowSelected(module) || this.totalDurationInHours - module.durationInHours >= 3) {\r\n\t\t\t\tthis.toggleSelection(module);\r\n\t\t\t} else if (this.trainingCourse.id === trainingProductModule.trainingProductForm?.course?.id) {\r\n\t\t\t\tthis.$confirm.require({\r\n\t\t\t\t\tmessage: this.$t(\"training.dialog.confirmRemoveModuleMessage\"),\r\n\t\t\t\t\theader: this.$t(\"training.dialog.confirmRemoveModuleTitle\"),\r\n\t\t\t\t\tacceptLabel: \"OK\",\r\n\t\t\t\t\trejectClass: \"d-none\",\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tthis.$confirm.require({\r\n\t\t\t\t\tmessage: this.$t(\"training.dialog.confirmRemoveCourseMessage\"),\r\n\t\t\t\t\theader: this.$t(\"training.dialog.confirmRemoveCourseTitle\"),\r\n\t\t\t\t\tacceptLabel: this.$t(\"common.yes\"),\r\n\t\t\t\t\trejectLabel: this.$t(\"common.no\"),\r\n\t\t\t\t\taccept: () => {\r\n\t\t\t\t\t\tthis.removeCourse();\r\n\t\t\t\t\t},\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\ttoggleSelection(module: TrainingModuleViewModel): void {\r\n\t\t\tif (this.isRowSelected(module)) {\r\n\t\t\t\tthis.selectedRows.splice(\r\n\t\t\t\t\tthis.selectedRows.findIndex((x) => x.sku === module.sku),\r\n\t\t\t\t\t1\r\n\t\t\t\t);\r\n\t\t\t} else {\r\n\t\t\t\tthis.selectedRows.push(module);\r\n\t\t\t}\r\n\t\t\tthis.selectedModulesChanged();\r\n\t\t}\r\n\r\n\t\tremoveCourse(): void {\r\n\t\t\tthis.selectedCourseRemoved();\r\n\t\t}\r\n\r\n\t\tonRowClick(event: { data: TrainingModuleViewModel; index: number }): void {\r\n\t\t\tconst existingRowIndex = this.expandedRows.findIndex((x) => x.sku === event.data.sku);\r\n\r\n\t\t\tif (existingRowIndex > -1) {\r\n\t\t\t\tthis.expandedRows.splice(existingRowIndex, 1);\r\n\t\t\t} else {\r\n\t\t\t\tthis.expandedRows.push(event.data);\r\n\t\t\t}\r\n\t\t\tthis.expandedRows = [...this.expandedRows];\r\n\t\t}\r\n\r\n\t\tisRowSelected(module: TrainingModuleViewModel): boolean {\r\n\t\t\treturn this.selectedRows.findIndex((x) => x.sku === module.sku) > -1;\r\n\t\t}\r\n\r\n\t\thighlightRow(module: TrainingModuleViewModel): string {\r\n\t\t\tlet className = this.isEditable ? (this.isRowSelected(module) ? \"\" : \"text-light\") : \"\";\r\n\t\t\tclassName += this.expandedRows.findIndex((x) => x.sku === module.sku) > -1 ? \"highlight\" : \"\";\r\n\t\t\treturn className;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./trainingModuleTable.vue?vue&type=template&id=0723de1a&scoped=true&ts=true\"\nimport script from \"./trainingModuleTable.vue?vue&type=script&lang=ts\"\nexport * from \"./trainingModuleTable.vue?vue&type=script&lang=ts\"\n\nimport \"./trainingModuleTable.vue?vue&type=style&index=0&id=0723de1a&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0723de1a\"]])\n\nexport default __exports__","\r\n\timport { PropType } from \"vue\";\r\n\timport { Emit, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { TrainingViewModel } from \"@/types/generated/Training/trainingViewModel\";\r\n\timport { IDropdownItem } from \"@/types/interfaces/common/dropdownItem.interface\";\r\n\timport trainingProductModule from \"@/store/modules/trainingProductModule\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport TrainingModuleTable, { TrainingModulesChangedEvent } from \"@/components/training/trainingModuleTable.vue\";\r\n\timport { TrainingModuleViewModel } from \"@/types/generated/Training/trainingModuleViewModel\";\r\n\timport { sum } from \"lodash\";\r\n\r\n\texport interface TrainingCourseAddedEvent {\r\n\t\tcourse: TrainingViewModel;\r\n\t\tmodules: TrainingModuleViewModel[];\r\n\t}\r\n\r\n\t@Options({ components: { TrainingModuleTable }, emits: [\"training-course-added\"] })\r\n\texport default class TrainingAddCourseModal extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tcourses!: TrainingViewModel[];\r\n\r\n\t\t@Emit() trainingCourseAdded(): TrainingCourseAddedEvent {\r\n\t\t\treturn { course: this.selectedCourse as TrainingViewModel, modules: this.selectedModules };\r\n\t\t}\r\n\r\n\t\tisVisible = true;\r\n\t\tselectedCourse: TrainingViewModel | null = null;\r\n\t\tselectedModules: TrainingModuleViewModel[] = [];\r\n\t\tavailableCourses: IDropdownItem[] = [];\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.availableCourses = this.courses\r\n\t\t\t\t.filter((x) => !trainingProductModule.isCourseSelected(x.id) && x.modules.length)\r\n\t\t\t\t.map((x) => ({ value: x, label: x.name }));\r\n\t\t\tthis.selectedCourse = this.availableCourses[0]?.value as TrainingViewModel;\r\n\t\t}\r\n\r\n\t\tget canSubmit(): boolean {\r\n\t\t\treturn !!this.selectedModules?.length && sum(this.selectedModules.map((x) => x.durationInHours)) >= 3;\r\n\t\t}\r\n\r\n\t\tonSelectedCourseChanged(): void {\r\n\t\t\tthis.selectedModules = [];\r\n\t\t}\r\n\r\n\t\tonSelectedModulesChanged(event: TrainingModulesChangedEvent): void {\r\n\t\t\tthis.selectedModules = event.modules;\r\n\t\t}\r\n\r\n\t\tonCancel(): void {\r\n\t\t\ttrainingProductModule.hideAddCourseModal();\r\n\t\t}\r\n\r\n\t\tonSubmit(): void {\r\n\t\t\tthis.trainingCourseAdded();\r\n\t\t}\r\n\t}\r\n","import { render } from \"./trainingAddCourseModal.vue?vue&type=template&id=7c455516&ts=true\"\nimport script from \"./trainingAddCourseModal.vue?vue&type=script&lang=ts\"\nexport * from \"./trainingAddCourseModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, withCtx as _withCtx, createVNode as _createVNode, withModifiers as _withModifiers, normalizeStyle as _normalizeStyle, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c2343604\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"d-flex align-items-center font-weight-bold text-primary justify-content-between\" }\nconst _hoisted_2 = { class: \"\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"pi pi-check mr-1\"\n}\nconst _hoisted_4 = { class: \"row-expansion-content\" }\nconst _hoisted_5 = [\"textContent\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"training-course-table\",\n style: _normalizeStyle({ height: _ctx.maxTableHeight })\n }, [\n (_ctx.items.length)\n ? (_openBlock(), _createBlock(_component_DataTable, {\n key: 0,\n onRowClick: _withModifiers(_ctx.onRowClick, [\"self\"]),\n selection: _ctx.selectedRow,\n \"onUpdate:selection\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selectedRow) = $event)),\n \"expanded-rows\": _ctx.expandedRows,\n \"onUpdate:expanded-rows\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.expandedRows) = $event)),\n value: _ctx.items,\n \"row-class\": _ctx.highlightRow,\n \"row-hover\": true,\n scrollable: \"\",\n scrollHeight: \"flex\",\n \"selection-mode\": \"single\",\n \"data-key\": \"id\"\n }, {\n expansion: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"p\", {\n textContent: _toDisplayString(item.data.intro),\n class: \"text-preline\"\n }, null, 8, _hoisted_5)\n ])\n ]),\n default: _withCtx(() => [\n (!_ctx.isSmallScreen?.value)\n ? (_openBlock(), _createBlock(_component_Column, {\n key: 0,\n expander: \"\",\n style: {\"min-width\":\"1.75rem\"}\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Column, {\n field: \"name\",\n key: \"name\",\n sortable: false,\n style: {\"min-width\":\"95%\"}\n }, {\n body: _withCtx((item) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"span\", _hoisted_2, _toDisplayString(item.data.name), 1),\n (_ctx.isRowSelected(item.data))\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_3))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"onRowClick\", \"selection\", \"expanded-rows\", \"value\", \"row-class\"]))\n : _createCommentVNode(\"\", true)\n ], 4))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { TrainingViewModel } from \"@/types/generated/Training/trainingViewModel\";\r\n\timport trainingProductModule from \"@/store/modules/trainingProductModule\";\r\n\timport { clamp } from \"lodash\";\r\n\r\n\texport default class TrainingCourseTable extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} }) items!: TrainingViewModel[];\r\n\t\texpandedRows: TrainingViewModel[] = [];\r\n\t\tselectedRow: TrainingViewModel | null = null;\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.selectedRow = trainingProductModule.selectedTrainingCourse\r\n\t\t\t\t? trainingProductModule.selectedTrainingCourse\r\n\t\t\t\t: this.items[0];\r\n\t\t}\r\n\r\n\t\tmounted(): void {\r\n\t\t\tthis.scrollTopToSelectedRow();\r\n\t\t}\r\n\r\n\t\tget maxTableHeight(): string {\r\n\t\t\tlet height = 85 * clamp(this.items.length, 1, 5);\r\n\t\t\tif (this.expandedRows.length > 0) height += 200;\r\n\t\t\treturn `${height}px`;\r\n\t\t}\r\n\r\n\t\tonRowClick(event: { data: TrainingViewModel; index: number }): void {\r\n\t\t\tconst isRowExpanded = this.expandedRows.findIndex((x) => x.id === event.data.id) > -1;\r\n\t\t\tthis.expandedRows = isRowExpanded ? [] : [event.data];\r\n\t\t\ttrainingProductModule.setSelectedTrainingCourse(event.data);\r\n\t\t\tthis.scrollTopToSelectedRow();\r\n\t\t}\r\n\r\n\t\tisRowSelected(course: TrainingViewModel): boolean {\r\n\t\t\treturn this.selectedRow === course;\r\n\t\t}\r\n\r\n\t\thighlightRow(course: TrainingViewModel): string {\r\n\t\t\tif (this.isRowSelected(course)) return \"selected\";\r\n\t\t\tconst isRowExpanded = this.expandedRows.findIndex((x) => x.id === course.id) > -1;\r\n\t\t\treturn isRowExpanded ? \"highlight\" : \"\";\r\n\t\t}\r\n\r\n\t\tprivate scrollTopToSelectedRow(): void {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tconst element = document.querySelector(\".training-course-table .p-highlight\");\r\n\t\t\t\tconst container = document.querySelector(\".training-course-table .p-datatable-wrapper\");\r\n\t\t\t\tif (!element || !container) return;\r\n\t\t\t\tcontainer.scrollTop = (element as any).offsetTop;\r\n\t\t\t}, 10);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./trainingCourseTable.vue?vue&type=template&id=c2343604&scoped=true&ts=true\"\nimport script from \"./trainingCourseTable.vue?vue&type=script&lang=ts\"\nexport * from \"./trainingCourseTable.vue?vue&type=script&lang=ts\"\n\nimport \"./trainingCourseTable.vue?vue&type=style&index=0&id=c2343604&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c2343604\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-row\" }\nconst _hoisted_2 = { class: \"form-group col-md-6\" }\nconst _hoisted_3 = { class: \"input-group\" }\nconst _hoisted_4 = { class: \"form-check-inline\" }\nconst _hoisted_5 = [\"for\"]\nconst _hoisted_6 = { class: \"form-check-inline\" }\nconst _hoisted_7 = [\"for\"]\nconst _hoisted_8 = { class: \"form-row\" }\nconst _hoisted_9 = { class: \"form-group col-md-6\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_11 = { class: \"form-group col-md-6\" }\nconst _hoisted_12 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_13 = { class: \"form-row\" }\nconst _hoisted_14 = { class: \"form-group col-12\" }\nconst _hoisted_15 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_16 = {\n key: 1,\n class: \"p-error\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_RadioButton = _resolveComponent(\"RadioButton\")!\n const _component_InputText = _resolveComponent(\"InputText\")!\n\n return (_openBlock(), _createElementBlock(\"form\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.trainingParticipantForm.gender?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblSalutation\")), 3),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_RadioButton, {\n id: `gender1_${_ctx.index}`,\n name: \"gender\",\n value: 1,\n modelValue: _ctx.v$.trainingParticipantForm.gender.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.v$.trainingParticipantForm.gender.$model) = $event))\n }, null, 8, [\"id\", \"modelValue\"]),\n _createElementVNode(\"span\", {\n class: \"ml-1 mb-0\",\n for: `gender1_${_ctx.index}`\n }, _toDisplayString(_ctx.$t(`enum.salutation.1`)), 9, _hoisted_5)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_RadioButton, {\n id: `gender2_${_ctx.index}`,\n name: \"gender\",\n value: 2,\n modelValue: _ctx.v$.trainingParticipantForm.gender.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.v$.trainingParticipantForm.gender.$model) = $event))\n }, null, 8, [\"id\", \"modelValue\"]),\n _createElementVNode(\"span\", {\n class: \"ml-1 mb-0\",\n for: `gender2_${_ctx.index}`\n }, _toDisplayString(_ctx.$t(`enum.salutation.2`)), 9, _hoisted_7)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.trainingParticipantForm.firstName?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblFirstName\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.trainingParticipantForm.firstName.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.v$.trainingParticipantForm.firstName.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.trainingParticipantForm.firstName) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.trainingParticipantForm.firstName))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_10, _toDisplayString(_ctx.v$.trainingParticipantForm.firstName?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$.trainingParticipantForm.lastName?.required })\n }, _toDisplayString(_ctx.$t(\"common.forms.lblLastName\")), 3),\n _createVNode(_component_InputText, {\n type: \"text\",\n modelValue: _ctx.v$.trainingParticipantForm.lastName.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.v$.trainingParticipantForm.lastName.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$.trainingParticipantForm.lastName) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (_ctx.shouldShowError(_ctx.v$.trainingParticipantForm.lastName))\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_12, _toDisplayString(_ctx.v$.trainingParticipantForm.lastName?.required?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"label\", {\n class: _normalizeClass({ required: _ctx.v$['trainingParticipantForm'].email?.required })\n }, _toDisplayString(_ctx.$t(\"myCadac.licenceManagementDetail.dialog.lblEmail\")), 3),\n _createVNode(_component_InputText, {\n type: \"email\",\n modelValue: _ctx.v$['trainingParticipantForm'].email.$model,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.v$['trainingParticipantForm'].email.$model) = $event)),\n class: _normalizeClass({ 'p-invalid': _ctx.shouldShowError(_ctx.v$['trainingParticipantForm'].email) })\n }, null, 8, [\"modelValue\", \"class\"]),\n (\r\n\t\t\t\t\t\t_ctx.shouldShowError(_ctx.v$['trainingParticipantForm'].email) && !_ctx.v$['trainingParticipantForm'].email.$model\r\n\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_15, _toDisplayString(_ctx.v$[\"trainingParticipantForm\"].email?.required?.$message), 1))\n : (\r\n\t\t\t\t\t\t_ctx.shouldShowError(_ctx.v$['trainingParticipantForm'].email) && _ctx.v$['trainingParticipantForm'].email.$model\r\n\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_16, _toDisplayString(_ctx.v$[\"trainingParticipantForm\"].email.email?.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}","\r\n\timport { PropType } from \"vue\";\r\n\timport { Inject, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { email, minLength } from \"@/types/utils/i18n-validators\";\r\n\timport useVuelidate, { Validation } from \"@vuelidate/core\";\r\n\timport { TrainingParticipantForm as TrainingParticipantFormModel } from \"@/types/generated/trainingParticipantForm\";\r\n\timport { throttledWatch } from \"@vueuse/core\";\r\n\timport { minValue, maxValue, maxLength } from \"@vuelidate/validators\";\r\n\t@Options({\r\n\t\tvalidations: {\r\n\t\t\ttrainingParticipantForm: {\r\n\t\t\t\tgender: { minValue: minValue(1), maxValue: maxValue(2) },\r\n\t\t\t\tfirstName: { minLength: minLength(2), maxLength: maxLength(55) },\r\n\t\t\t\tlastName: { minLength: minLength(2), maxLength: maxLength(75) },\r\n\t\t\t\temail: { email },\r\n\t\t\t},\r\n\t\t},\r\n\t})\r\n\texport default class TrainingParticipantForm extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tmodel!: TrainingParticipantFormModel;\r\n\r\n\t\t@Prop({\r\n\t\t\ttype: Number,\r\n\t\t\trequired: false,\r\n\t\t\tdefault: 0,\r\n\t\t})\r\n\t\tindex!: number;\r\n\r\n\t\tv$ = useVuelidate();\r\n\r\n\t\t@Inject()\r\n\t\tsubmitted!: boolean;\r\n\r\n\t\ttrainingParticipantForm: TrainingParticipantFormModel | null = null;\r\n\r\n\t\tget isAnyDirty(): boolean {\r\n\t\t\treturn this.v$[\"trainingParticipantForm\"]?.$anyDirty;\r\n\t\t}\r\n\r\n\t\tget isValid(): boolean {\r\n\t\t\treturn !this.v$[\"trainingParticipantForm\"]?.$invalid;\r\n\t\t}\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.trainingParticipantForm = this.model;\r\n\r\n\t\t\t// Watch for changes on the participant form and update isUnknown property, updates only every 750 ms\r\n\t\t\tthrottledWatch(this.trainingParticipantForm, (val) => this.checkIfParticipantIsUnknown(val), {\r\n\t\t\t\tthrottle: 750,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tshouldShowError(fieldToValidate: Validation): boolean {\r\n\t\t\treturn fieldToValidate.$invalid && (this.submitted || fieldToValidate.$dirty);\r\n\t\t}\r\n\r\n\t\tprivate checkIfParticipantIsUnknown(trainingParticipantForm: TrainingParticipantFormModel): void {\r\n\t\t\ttrainingParticipantForm.isUnknown =\r\n\t\t\t\t!(\r\n\t\t\t\t\t!!trainingParticipantForm.firstName &&\r\n\t\t\t\t\t!!trainingParticipantForm.lastName &&\r\n\t\t\t\t\t!!trainingParticipantForm.gender &&\r\n\t\t\t\t\t!!trainingParticipantForm.email\r\n\t\t\t\t) || !this.isValid;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./trainingParticipantForm.vue?vue&type=template&id=7e0d63b6&ts=true\"\nimport script from \"./trainingParticipantForm.vue?vue&type=script&lang=ts\"\nexport * from \"./trainingParticipantForm.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-755d65ce\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"mb-1\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"training-price-summary\"\n}\nconst _hoisted_3 = { class: \"price-label\" }\nconst _hoisted_4 = { class: \"line-discount text-bold\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", { class: \"my-1\" }, null, -1))\nconst _hoisted_6 = { class: \"text-muted lead text-right\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_i18n_t = _resolveComponent(\"i18n-t\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Panel = _resolveComponent(\"Panel\")!\n const _component_PriceSummary = _resolveComponent(\"PriceSummary\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"h5\", _hoisted_1, _toDisplayString(_ctx.trainingTitle), 1),\n (_ctx.vm.courses?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.vm.courses, (course, i) => {\n return (_openBlock(), _createBlock(_component_Panel, {\n collapsed: _ctx.panelCollapse[i],\n \"onUpdate:collapsed\": ($event: any) => ((_ctx.panelCollapse[i]) = $event),\n key: i,\n header: _ctx.courseById(course.id)?.name,\n class: \"mb-1\"\n }, {\n icons: _withCtx(() => [\n _createVNode(_component_Button, {\n icon: _ctx.panelCollapse[i] ? 'pi pi-chevron-left' : 'pi pi-chevron-down',\n class: \"p-button-text p-panel-header-icon\",\n onClick: ($event: any) => (_ctx.panelCollapse[i] = !_ctx.panelCollapse[i])\n }, null, 8, [\"icon\", \"onClick\"])\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.sortedLines(course), (line) => {\n return (_openBlock(), _createElementBlock(\"p\", {\n class: \"text-muted\",\n key: line\n }, [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(_ctx.lineText(line)), 1),\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formatCurrency(line.totalPrice)), 1)\n ]))\n }), 128)),\n _createElementVNode(\"p\", _hoisted_4, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.$t(\"common.priceSummary.subtotal\")), 1),\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.formatCurrency(course.totalPrice)), 1)\n ]),\n (\r\n\t\t\t\t\t!_ctx.vm.isValid &&\r\n\t\t\t\t\t_ctx.vm.errorCode === _ctx.TrainingCalculationErrorCodeEnum.durationError &&\r\n\t\t\t\t\t_ctx.minimumRequiredDurationToBeValid(course)\r\n\t\t\t\t)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 0,\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createVNode(_component_i18n_t, { keypath: \"training.message.minimumRequiredDurationToBeValid\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"template\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.$t(\"common.hour\", [_ctx.minimumRequiredDurationToBeValid(course)])), 1)\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"collapsed\", \"onUpdate:collapsed\", \"header\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_5,\n _createVNode(_component_PriceSummary, { vm: _ctx.totalPriceSummary }, null, 8, [\"vm\"]),\n _createElementVNode(\"p\", _hoisted_6, _toDisplayString(_ctx.$t(\"common.productSummary.allPricesExclVat\")), 1)\n ], 64))\n}","/* Auto Generated */\r\n\r\nexport enum TrainingCalculationErrorCode {\r\n none = 0,\r\n unknown = 1,\r\n internalServerError = 2,\r\n durationError = 3,\r\n}\r\n","/* Auto Generated */\r\n\r\nexport enum TrainingCalculationLineType {\r\n module = 0,\r\n vdiEnvironment = 1,\r\n trainingMaterial = 2,\r\n trainingRoom = 3,\r\n standardTraining = 4,\r\n}\r\n","\r\n\timport PriceSummary from \"@/components/common/priceSummary.vue\";\r\n\timport ScrollPanel from \"primevue/scrollpanel\";\r\n\timport trainingProductModule from \"@/store/modules/trainingProductModule\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IPriceSummary } from \"@/types/interfaces/common/priceSummary.interface\";\r\n\timport { LocalTrainingType } from \"@/types/generated/localTrainingType\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { TrainingCalculationCourseResponse } from \"@/types/generated/Api/trainingCalculationCourseResponse\";\r\n\timport { TrainingCalculationErrorCode } from \"@/types/generated/trainingCalculationErrorCode\";\r\n\timport { TrainingCalculationLineResponse } from \"@/types/generated/Api/trainingCalculationLineResponse\";\r\n\timport { TrainingCalculationLineType } from \"@/types/generated/trainingCalculationLineType\";\r\n\timport { TrainingCalculationResponse } from \"@/types/generated/Api/trainingCalculationResponse\";\r\n\timport { TrainingViewModel } from \"@/types/generated/Training/trainingViewModel\";\r\n\timport { orderBy } from \"lodash\";\r\n\r\n\t@Options({ components: { PriceSummary, ScrollPanel } })\r\n\texport default class TrainingPriceSummary extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: TrainingCalculationResponse;\r\n\r\n\t\tpanelCollapse: { [index: number]: boolean } = {};\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.vm.courses?.forEach((_, i) => (this.panelCollapse[i] = i > 0));\r\n\t\t}\r\n\r\n\t\tget TrainingCalculationErrorCodeEnum(): typeof TrainingCalculationErrorCode {\r\n\t\t\treturn TrainingCalculationErrorCode;\r\n\t\t}\r\n\r\n\t\tget trainingTitle(): string {\r\n\t\t\tlet title = trainingProductModule.trainingProductGroupViewModel?.name || \"\";\r\n\t\t\tif (this.isModularTraining) title += ` (${this.$t(\"training.lblModular\")})`;\r\n\t\t\treturn title;\r\n\t\t}\r\n\r\n\t\tget selectedCourse(): TrainingViewModel {\r\n\t\t\treturn trainingProductModule.selectedTrainingCourse as TrainingViewModel;\r\n\t\t}\r\n\r\n\t\tget courseById() {\r\n\t\t\treturn (id: string) => {\r\n\t\t\t\treturn trainingProductModule.allTrainingCourses?.find((x) => x.id === id);\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget isModularTraining(): boolean {\r\n\t\t\treturn trainingProductModule.trainingProductForm?.type === LocalTrainingType.modular;\r\n\t\t}\r\n\r\n\t\tget sortedLines() {\r\n\t\t\treturn (course: TrainingCalculationCourseResponse) =>\r\n\t\t\t\torderBy(course.lines, \"order\", \"asc\").filter((x) => x.totalPrice > 0);\r\n\t\t}\r\n\r\n\t\tget minimumRequiredDurationToBeValid() {\r\n\t\t\treturn (course?: TrainingCalculationCourseResponse) => {\r\n\t\t\t\tif (!course?.totalDurationInDays) return 0;\r\n\t\t\t\tconst decimals = course.totalDurationInDays % 1;\r\n\t\t\t\tif (!decimals || decimals >= 0.5) return 0;\r\n\t\t\t\tconst durationInHours = (0.5 - decimals) * 6;\r\n\t\t\t\treturn Math.ceil(durationInHours);\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget lineText() {\r\n\t\t\treturn (line: TrainingCalculationLineResponse) => {\r\n\t\t\t\tswitch (line.type) {\r\n\t\t\t\t\tcase TrainingCalculationLineType.module:\r\n\t\t\t\t\t\treturn `${line.quantity} x ${this.$tc(\r\n\t\t\t\t\t\t\t`enum.trainingCalculationLineType.${line.type}`,\r\n\t\t\t\t\t\t\tline.quantity\r\n\t\t\t\t\t\t)} (${this.$t(\"common.hour\", [this.$n(line.totalDurationInHours || 0)])})`;\r\n\t\t\t\t\tcase TrainingCalculationLineType.vdiEnvironment:\r\n\t\t\t\t\t\treturn `${line.quantity} x ${this.$t(`enum.trainingCalculationLineType.${line.type}`)}`;\r\n\t\t\t\t\tcase TrainingCalculationLineType.trainingMaterial:\r\n\t\t\t\t\t\treturn `${line.quantity} x ${this.$t(`enum.trainingCalculationLineType.${line.type}`)}`;\r\n\t\t\t\t\tcase TrainingCalculationLineType.trainingRoom:\r\n\t\t\t\t\t\treturn `${line.quantity} x ${this.$t(`enum.trainingCalculationLineType.${line.type}`)}`;\r\n\t\t\t\t\tcase TrainingCalculationLineType.standardTraining:\r\n\t\t\t\t\t\treturn this.$t(`enum.trainingType.${trainingProductModule.trainingProductForm?.type}`);\r\n\t\t\t\t\tdefault:\r\n\t\t\t\t\t\treturn \"\";\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget totalPriceSummary() {\r\n\t\t\tconst { totalPrice } = this.vm as any;\r\n\t\t\treturn { totalPrice } as IPriceSummary;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./trainingPriceSummary.vue?vue&type=template&id=755d65ce&scoped=true&ts=true\"\nimport script from \"./trainingPriceSummary.vue?vue&type=script&lang=ts\"\nexport * from \"./trainingPriceSummary.vue?vue&type=script&lang=ts\"\n\nimport \"./trainingPriceSummary.vue?vue&type=style&index=0&id=755d65ce&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-755d65ce\"]])\n\nexport default __exports__","export enum TrainingConfigurationOption {\r\n\tDefault,\r\n\tCustom\r\n}","export enum TrainingLocationOption {\r\n\tCadac,\r\n\tOwnLocation,\r\n\tOnlineRemote\r\n}","/* Auto Generated */\r\n\r\nexport enum TrainingMethod {\r\n training = 0,\r\n inCompany = 1,\r\n elearning = 2,\r\n}\r\n","export enum TrainingValidation {\r\n\tAtleastOneParticipant,\r\n\tUniqueEmailParticipant,\r\n\tValidAddressOwnLocation,\r\n\tValidPreferredStartDate,\r\n\tValidPriceCalculation,\r\n\tMaxParticipants,\r\n}\r\n","import { resolveComponent as _resolveComponent, createVNode as _createVNode, renderSlot as _renderSlot, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-15688512\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"product-config-summary\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Panel = _resolveComponent(\"Panel\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_Panel, {\n collapsed: _ctx.panelCollapsed,\n \"onUpdate:collapsed\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.panelCollapsed) = $event)),\n header: _ctx.header\n }, {\n icons: _withCtx(() => [\n _createVNode(_component_Button, {\n icon: _ctx.panelCollapsed ? 'pi pi-chevron-left' : 'pi pi-chevron-down',\n class: \"p-button-text p-panel-header-icon\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.panelCollapsed = !_ctx.panelCollapsed))\n }, null, 8, [\"icon\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"dl\", null, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ])\n ]),\n _: 3\n }, 8, [\"collapsed\", \"header\"])\n ]))\n}","\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\texport default class ProductConfigurationSummary extends Mixins(Helpers) {\r\n\t\t@Prop({ propType: String, default: \"\", required: true }) header!: string;\r\n\t\tpanelCollapsed = false;\r\n\r\n\t\tcreated(): void {\r\n\t\t\tthis.panelCollapsed = this.isSmallScreen?.value;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./productConfigurationSummary.vue?vue&type=template&id=15688512&scoped=true&ts=true\"\nimport script from \"./productConfigurationSummary.vue?vue&type=script&lang=ts\"\nexport * from \"./productConfigurationSummary.vue?vue&type=script&lang=ts\"\n\nimport \"./productConfigurationSummary.vue?vue&type=style&index=0&id=15688512&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-15688512\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-07056c9f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = [\"innerHTML\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"product-config-summary-item\", { counter: _ctx.showCounter }])\n }, [\n _createElementVNode(\"dt\", null, _toDisplayString(_ctx.label), 1),\n (_ctx.$slots.content)\n ? (_openBlock(), _createElementBlock(\"dd\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"content\", {}, undefined, true)\n ]))\n : (_ctx.content)\n ? (_openBlock(), _createElementBlock(\"dd\", {\n key: 1,\n innerHTML: _ctx.content\n }, null, 8, _hoisted_2))\n : _createCommentVNode(\"\", true)\n ], 2))\n}","\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\r\n\texport default class ProductConfigurationSummaryItem extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: String,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: \"\",\r\n\t\t})\r\n\t\tlabel!: string;\r\n\r\n\t\t@Prop({\r\n\t\t\ttype: String,\r\n\t\t\trequired: false,\r\n\t\t\tdefault: \"\",\r\n\t\t})\r\n\t\tcontent!: string;\r\n\r\n\t\t@Prop({\r\n\t\t\ttype: Boolean,\r\n\t\t\trequired: false,\r\n\t\t\tdefault: false,\r\n\t\t})\r\n\t\tshowCounter!: boolean;\r\n\t}\r\n","import { render } from \"./productConfigurationSummaryItem.vue?vue&type=template&id=07056c9f&scoped=true&ts=true\"\nimport script from \"./productConfigurationSummaryItem.vue?vue&type=script&lang=ts\"\nexport * from \"./productConfigurationSummaryItem.vue?vue&type=script&lang=ts\"\n\nimport \"./productConfigurationSummaryItem.vue?vue&type=style&index=0&id=07056c9f&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-07056c9f\"]])\n\nexport default __exports__","\r\n\timport Accordion from \"primevue/accordion\";\r\n\timport AccordionTab from \"primevue/accordiontab\";\r\n\timport AddressForm from \"@/components/common/forms/addressForm.vue\";\r\n\timport Calendar, { CalendarProps } from \"primevue/calendar\";\r\n\timport Checkbox from \"primevue/checkbox\";\r\n\timport ColumnYesNo from \"@/components/commerce/cart/columnYesNo.vue\";\r\n\timport ProductConfiguration from \"@/components/product/productConfiguration.vue\";\r\n\timport ProductConfigurationStep from \"@/components/product/productConfigurationStep.vue\";\r\n\timport ProductPageHeader from \"@/components/product/productPageHeader.vue\";\r\n\timport ProductTabs, { ProductTab } from \"@/components/product/productTabs.vue\";\r\n\timport ProgressSpinner from \"primevue/progressspinner\";\r\n\timport SelectButton from \"primevue/selectbutton\";\r\n\timport Sidebar from \"primevue/sidebar\";\r\n\timport SupportCard from \"@/components/commerce/supportCard.vue\";\r\n\timport TrainingAddCourseModal, { TrainingCourseAddedEvent } from \"@/components/training/trainingAddCourseModal.vue\";\r\n\timport TrainingCourseTable from \"@/components/training/trainingCourseTable.vue\";\r\n\timport TrainingModuleTable, { TrainingModulesChangedEvent } from \"@/components/training/trainingModuleTable.vue\";\r\n\timport TrainingParticipantForm from \"@/components/common/forms/trainingParticipantForm.vue\";\r\n\timport TrainingPriceSummary from \"@/components/training/trainingPriceSummary.vue\";\r\n\timport { HelpBlockViewModel } from \"@/types/generated/Common/helpBlockViewModel\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IDropdownItem } from \"@/types/interfaces/common/dropdownItem.interface\";\r\n\timport { ITrainingProductGroup } from \"@/types/interfaces/commerce/trainingProductGroup.interface\";\r\n\timport { LocalTrainingType } from \"@/types/generated/localTrainingType\";\r\n\timport { ScheduledTrainingViewModel } from \"@/types/generated/Training/scheduledTrainingViewModel\";\r\n\timport { TrainingCalculationRequest } from \"@/types/generated/Api/trainingCalculationRequest\";\r\n\timport { TrainingCalculationResponse } from \"@/types/generated/Api/trainingCalculationResponse\";\r\n\timport { TrainingConfigurationOption } from \"@/types/enum/trainingConfigurationOption\";\r\n\timport { TrainingLocationOption } from \"@/types/enum/trainingLocationOption\";\r\n\timport { TrainingLocationViewModel } from \"@/types/generated/Training/trainingLocationViewModel\";\r\n\timport { TrainingMethod } from \"@/types/generated/trainingMethod\";\r\n\timport { TrainingParticipantForm as TrainingParticipantFormModel } from \"@/types/generated/trainingParticipantForm\";\r\n\timport { AddressForm as AddressFormModel } from \"@/types/generated/addressForm\";\r\n\timport { TrainingProductAddToCartRequest } from \"@/types/generated/api/trainingProductAddToCartRequest\";\r\n\timport { TrainingViewModel } from \"@/types/generated/Training/trainingViewModel\";\r\n\timport { Mixins, Prop, Provide, Ref, Watch } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { cloneDeep, values } from \"lodash\";\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\timport trainingProductModule from \"@/store/modules/trainingProductModule\";\r\n\timport { addBusinessDays, isValid } from \"date-fns\";\r\n\timport ProductAddedModal from \"@/components/commerce/productAddedModal.vue\";\r\n\timport { IProductAddedModal } from \"@/types/interfaces/commerce/productAddedModal.interface\";\r\n\timport cartModule from \"@/store/modules/cartModule\";\r\n\timport { TrainingValidation } from \"@/types/enum/trainingValidation\";\r\n\timport { TrainingCalculationErrorCode } from \"@/types/generated/trainingCalculationErrorCode\";\r\n\timport { zonedTimeToUtc } from \"date-fns-tz\";\r\n\timport ProductConfigurationSummary from \"@/components/product/productConfigurationSummary.vue\";\r\n\timport ProductConfigurationSummaryItem from \"@/components/product/productConfigurationSummaryItem.vue\";\r\n\r\n\t@Options({\r\n\t\tcomponents: {\r\n\t\t\tProductConfigurationSummaryItem,\r\n\t\t\tProductConfigurationSummary,\r\n\t\t\tAccordion,\r\n\t\t\tAccordionTab,\r\n\t\t\tAddressForm,\r\n\t\t\tCalendar,\r\n\t\t\tCheckbox,\r\n\t\t\tColumnYesNo,\r\n\t\t\tProductAddedModal,\r\n\t\t\tProductConfiguration,\r\n\t\t\tProductConfigurationStep,\r\n\t\t\tProductPageHeader,\r\n\t\t\tProductTabs,\r\n\t\t\tProgressSpinner,\r\n\t\t\tSelectButton,\r\n\t\t\tSidebar,\r\n\t\t\tSupportCard,\r\n\t\t\tTrainingAddCourseModal,\r\n\t\t\tTrainingCourseTable,\r\n\t\t\tTrainingModuleTable,\r\n\t\t\tTrainingParticipantForm,\r\n\t\t\tTrainingPriceSummary,\r\n\t\t},\r\n\t})\r\n\texport default class TrainingProduct extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: ITrainingProductGroup;\r\n\t\t@Provide() submitted = false;\r\n\r\n\t\t@Ref(\"trainingAddressForm\") readonly trainingAddressForm!: AddressForm;\r\n\r\n\t\t@Watch(\"trainingProductForm\", { deep: true })\r\n\t\tonTrainingProductFormChanged(_value): void {\r\n\t\t\tthis.recalculatePrice();\r\n\t\t}\r\n\r\n\t\t@Watch(\"trainingAddress\", { deep: true }) onTrainingAddressChanged(): void {\r\n\t\t\tthis.trainingValidations.set(\r\n\t\t\t\tTrainingValidation.ValidAddressOwnLocation,\r\n\t\t\t\tthis.selectedTrainingLocationOption === TrainingLocationOption.OwnLocation\r\n\t\t\t\t\t? (this.$refs.trainingAddressForm as AddressForm)?.isValid || false\r\n\t\t\t\t\t: true\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\t@Watch(\"trainingParticipants\", { deep: true }) onTrainingParticipantsChanged(): void {\r\n\t\t\tthis.trainingValidations.set(TrainingValidation.UniqueEmailParticipant, this.checkParticipantsUniqueEmail);\r\n\t\t\tthis.trainingValidations.set(TrainingValidation.MaxParticipants, this.checkMaxParticipants);\r\n\t\t}\r\n\r\n\t\t@Watch(\"selectedTrainingLocationOption\") onSelectedTrainingLocationOptionChanged(\r\n\t\t\tvalue: TrainingLocationOption\r\n\t\t): void {\r\n\t\t\tif (value === TrainingLocationOption.OnlineRemote && this.selectedTrainingCourse) {\r\n\t\t\t\tthis.selectedTrainingLocation = this.selectedTrainingCourse.remoteLocation;\r\n\t\t\t} else {\r\n\t\t\t\tthis.selectedTrainingLocation = this.availableTrainingLocations[0]?.value as TrainingLocationViewModel;\r\n\t\t\t}\r\n\t\t\tif (value === TrainingLocationOption.OwnLocation) {\r\n\t\t\t\tthis.trainingValidations.set(\r\n\t\t\t\t\tTrainingValidation.ValidAddressOwnLocation,\r\n\t\t\t\t\t!!(this.$refs.trainingAddressForm as AddressForm)?.isValid\r\n\t\t\t\t);\r\n\t\t\t\tthis.trainingAddress = { countryCode: \"\", city: \"\", postalCode: \"\", street: \"\" } as AddressFormModel;\r\n\t\t\t} else {\r\n\t\t\t\tif (this.trainingProductForm) this.trainingProductForm.isVdiTraining = false;\r\n\t\t\t\tthis.trainingValidations.set(TrainingValidation.ValidAddressOwnLocation, true);\r\n\t\t\t\tthis.trainingAddress = null;\r\n\t\t\t}\r\n\r\n\t\t\ttrainingProductModule.setSelectedTrainingType(this.trainingTypeForCurrentConfiguration);\r\n\t\t\tthis.recalculatePrice();\r\n\t\t}\r\n\r\n\t\t@Watch(\"selectedTrainingConfigurationOption\") onSelectedTrainingConfigurationOptionChanged(\r\n\t\t\t_value: TrainingConfigurationOption\r\n\t\t): void {\r\n\t\t\tif (this.selectedTrainingCourse) {\r\n\t\t\t\ttrainingProductModule.resetCourse();\r\n\t\t\t}\r\n\t\t\ttrainingProductModule.setSelectedTrainingType(this.trainingTypeForCurrentConfiguration);\r\n\t\t}\r\n\r\n\t\t@Watch(\"selectedTrainingMethod\") onSelectedTrainingMethodChanged(_value: TrainingMethod): void {\r\n\t\t\tthis.setupConfigurationOptions();\r\n\t\t\tif (trainingProductModule.trainingProductForm) {\r\n\t\t\t\ttrainingProductModule.trainingProductForm.type = this.trainingTypeForCurrentConfiguration;\r\n\t\t\t\tif (_value === TrainingMethod.inCompany) {\r\n\t\t\t\t\ttrainingProductModule.resetCourse();\r\n\t\t\t\t\tthis.selectedScheduledTraining = null;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t@Watch(\"selectedTrainingCourse\") onSelectedTrainingCourseChanged(_value: TrainingViewModel): void {\r\n\t\t\tthis.setupConfigurationOptions();\r\n\t\t\tif (trainingProductModule.trainingProductForm) {\r\n\t\t\t\ttrainingProductModule.trainingProductForm.type = this.trainingTypeForCurrentConfiguration;\r\n\t\t\t}\r\n\t\t\tthis.trainingModulesAccordionActiveIndexes = [0];\r\n\t\t}\r\n\r\n\t\ttrainingParticipantsAccordionActiveIndexes: number[] = [];\r\n\t\ttrainingModulesAccordionActiveIndexes: number[] = [];\r\n\t\tshowSideBar = false;\r\n\t\tselectedHelpBlock: HelpBlockViewModel | null = null;\r\n\r\n\t\tavailableTrainingLocationOptions: IDropdownItem[] = [];\r\n\t\tavailableTrainingMethods: IDropdownItem[] = [];\r\n\t\tavailableTrainingLocations: IDropdownItem[] = [];\r\n\t\tavailableTrainingConfigurationOptions: IDropdownItem[] = [];\r\n\r\n\t\tselectedTrainingMethod: TrainingMethod | null = null;\r\n\t\tselectedTrainingConfigurationOption: TrainingConfigurationOption | null = null;\r\n\t\tselectedTrainingLocationOption: TrainingLocationOption | null = null;\r\n\t\tselectedTrainingLocation: TrainingLocationViewModel | null = null;\r\n\t\tselectedScheduledTraining: ScheduledTrainingViewModel | null = null;\r\n\t\tselectedPreferredStartDate: Date | null = null;\r\n\r\n\t\ttrainingPriceCalculation: TrainingCalculationResponse | null = null;\r\n\t\ttrainingAddress: AddressFormModel | null = null;\r\n\t\ttrainingParticipants: TrainingParticipantFormModel[] = [];\r\n\t\ttrainingValidations: Map = new Map();\r\n\r\n\t\tcreated(): void {\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\tconst { trainingProductGroupConfiguration, trainings, viewModelIsValid, viewModelErrors } = this.vm;\r\n\t\t\tif (viewModelIsValid) {\r\n\t\t\t\ttrainingProductModule.setTrainingProductGroupViewModel(this.vm);\r\n\t\t\t\ttrainingProductModule.setSelectedTrainingCourse(\r\n\t\t\t\t\ttrainingProductGroupConfiguration?.course\r\n\t\t\t\t\t\t? (trainings.find((x) => x.id === trainingProductGroupConfiguration.course.id) as TrainingViewModel)\r\n\t\t\t\t\t\t: trainings[0]\r\n\t\t\t\t);\r\n\t\t\t\ttrainingProductModule.initProductForm(trainingProductGroupConfiguration);\r\n\r\n\t\t\t\tthis.setupConfigurationOptions();\r\n\r\n\t\t\t\tif (trainingProductGroupConfiguration) {\r\n\t\t\t\t\tthis.setupPreviousConfiguration();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.selectedTrainingLocationOption = this.availableTrainingLocationOptions[0]\r\n\t\t\t\t\t\t?.value as TrainingLocationOption;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tconsole.error(viewModelErrors?.join(\", \"));\r\n\t\t\t}\r\n\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\tthis.validateProductConfiguration();\r\n\t\t\tthis.recalculatePrice();\r\n\t\t}\r\n\r\n\t\tget TrainingValidationEnum(): typeof TrainingValidation {\r\n\t\t\treturn TrainingValidation;\r\n\t\t}\r\n\r\n\t\tget TrainingLocationOptionEnum(): typeof TrainingLocationOption {\r\n\t\t\treturn TrainingLocationOption;\r\n\t\t}\r\n\r\n\t\tget TrainingConfigurationOptionEnum(): typeof TrainingConfigurationOption {\r\n\t\t\treturn TrainingConfigurationOption;\r\n\t\t}\r\n\r\n\t\tget TrainingMethodEnum(): typeof TrainingMethod {\r\n\t\t\treturn TrainingMethod;\r\n\t\t}\r\n\r\n\t\tget trainingProductForm(): TrainingProductAddToCartRequest | null {\r\n\t\t\treturn trainingProductModule.trainingProductForm;\r\n\t\t}\r\n\r\n\t\tget trainingMethodHelpText(): string {\r\n\t\t\tswitch (this.selectedTrainingMethod) {\r\n\t\t\t\tcase TrainingMethod.training:\r\n\t\t\t\t\treturn this.$t(\"training.lblTrainingMethodClassWithOthers\");\r\n\t\t\t\tcase TrainingMethod.inCompany:\r\n\t\t\t\t\treturn this.$t(\"training.lblTrainingMethodMaxNumberOfColleagues\", [this.maxParticipants]);\r\n\t\t\t\tcase TrainingMethod.elearning:\r\n\t\t\t\t\treturn this.$t(\"training.lblTrainingMethodElearning\");\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn \"\";\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tget selectedLocationText(): string {\r\n\t\t\treturn this.selectedTrainingLocationOption === TrainingLocationOption.Cadac ||\r\n\t\t\t\tthis.selectedTrainingLocationOption === TrainingLocationOption.OnlineRemote\r\n\t\t\t\t? this.selectedTrainingLocation?.name ||\r\n\t\t\t\t\t\tthis.$t(`enum.trainingLocation.${this.selectedTrainingLocationOption}`)\r\n\t\t\t\t: this.$t(`enum.trainingLocation.${TrainingLocationOption.OwnLocation}`);\r\n\t\t}\r\n\r\n\t\tget allTrainingCourses(): TrainingViewModel[] {\r\n\t\t\treturn trainingProductModule.allTrainingCourses;\r\n\t\t}\r\n\r\n\t\tget selectedTrainingCourse(): TrainingViewModel | null {\r\n\t\t\treturn trainingProductModule.selectedTrainingCourse;\r\n\t\t}\r\n\r\n\t\tget selectedModulesForCourse() {\r\n\t\t\treturn (course: TrainingViewModel) =>\r\n\t\t\t\tcourse.modules.filter((x) => trainingProductModule.isModuleSelected(course.id, x.sku));\r\n\t\t}\r\n\r\n\t\tget scheduledTrainingsForSelectedLocation() {\r\n\t\t\treturn (\r\n\t\t\t\tthis.selectedTrainingCourse?.scheduledTrainings?.filter(\r\n\t\t\t\t\t(x) => x.location.id === this.selectedTrainingLocation?.id\r\n\t\t\t\t) || []\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget selectedDateFormatted(): string {\r\n\t\t\tswitch (this.selectedTrainingMethod) {\r\n\t\t\t\tcase TrainingMethod.inCompany:\r\n\t\t\t\t\treturn this.selectedPreferredStartDate ? this.formatDate(this.selectedPreferredStartDate) : \"\";\r\n\t\t\t\tcase TrainingMethod.training:\r\n\t\t\t\t\treturn this.selectedScheduledTraining ? this.selectedScheduledTraining.datesString : \"\";\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn \"\";\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tget trainingTypeForCurrentConfiguration(): LocalTrainingType {\r\n\t\t\tswitch (this.selectedTrainingMethod) {\r\n\t\t\t\tcase TrainingMethod.inCompany:\r\n\t\t\t\t\tif (this.selectedTrainingConfigurationOption === TrainingConfigurationOption.Custom) {\r\n\t\t\t\t\t\treturn LocalTrainingType.modular;\r\n\t\t\t\t\t} else if (\r\n\t\t\t\t\t\tthis.selectedTrainingLocationOption === TrainingLocationOption.OnlineRemote ||\r\n\t\t\t\t\t\tthis.selectedTrainingLocationOption === TrainingLocationOption.OwnLocation\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\treturn LocalTrainingType.companyTrainingRemote;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\treturn LocalTrainingType.companyTrainingLocal;\r\n\t\t\t\t\t}\r\n\t\t\t\tcase TrainingMethod.training:\r\n\t\t\t\t\treturn LocalTrainingType.openRoster;\r\n\t\t\t\tcase TrainingMethod.elearning:\r\n\t\t\t\t\treturn LocalTrainingType.eLearning;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn LocalTrainingType.companyTrainingLocal;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tget canChooseModules(): boolean {\r\n\t\t\treturn (\r\n\t\t\t\tthis.selectedTrainingMethod === TrainingMethod.inCompany &&\r\n\t\t\t\t!!this.vm.trainings.filter(\r\n\t\t\t\t\t(course) =>\r\n\t\t\t\t\t\t!trainingProductModule.isCourseSelected(course.id) &&\r\n\t\t\t\t\t\tcourse.modules.some((module) => !trainingProductModule.isModuleSelected(course.id, module.sku))\r\n\t\t\t\t).length\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tget canChooseLocation(): boolean {\r\n\t\t\treturn this.selectedTrainingMethod !== TrainingMethod.elearning && !!this.availableTrainingLocations?.length;\r\n\t\t}\r\n\r\n\t\tget canAddParticipants(): boolean {\r\n\t\t\treturn this.trainingParticipants?.length < this.maxParticipants;\r\n\t\t}\r\n\r\n\t\tget maxParticipants(): number {\r\n\t\t\treturn this.selectedScheduledTraining?.availablePlaces || this.vm.maxParticipants;\r\n\t\t}\r\n\r\n\t\tget productTabs(): ProductTab[] {\r\n\t\t\treturn [\r\n\t\t\t\t{\r\n\t\t\t\t\tlabel: this.$t(\"training.tabComposeTraining\"),\r\n\t\t\t\t\thref: \"#tabConfiguration\",\r\n\t\t\t\t},\r\n\t\t\t];\r\n\t\t}\r\n\r\n\t\tget showAddCourseModal(): boolean {\r\n\t\t\treturn trainingProductModule.trainingAddCourseModalVisible;\r\n\t\t}\r\n\r\n\t\tget showProductAddedModal(): boolean {\r\n\t\t\treturn cartModule.showProductAddedModal;\r\n\t\t}\r\n\r\n\t\tget loginPageUrl(): string {\r\n\t\t\treturn `${this.vm.loginPageUrl}/cadacstore?login_origin=${window.location.origin}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t&language=${this.currentRegion}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t&redirect=${window.location}`;\r\n\t\t}\r\n\r\n\t\tget registerPageUrl(): string {\r\n\t\t\treturn `${this.vm.loginPageUrl}/cadacstore?login_origin=${window.location.origin}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t&createaccount=1&language=${this.currentRegion}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t&redirect=${window.location}`;\r\n\t\t}\r\n\r\n\t\tget trainingAddToCartModel(): TrainingProductAddToCartRequest {\r\n\t\t\tconst form = cloneDeep(trainingProductModule.trainingProductForm as TrainingProductAddToCartRequest);\r\n\t\t\tif (!form) return {} as TrainingProductAddToCartRequest;\r\n\t\t\tif (this.selectedPreferredStartDate) form.desiredDate = zonedTimeToUtc(this.selectedPreferredStartDate, \"UTC\");\r\n\t\t\tform.type = this.trainingTypeForCurrentConfiguration;\r\n\t\t\tswitch (this.selectedTrainingMethod) {\r\n\t\t\t\tcase TrainingMethod.training:\r\n\t\t\t\t\tform.trainingLocationId = this.selectedScheduledTraining?.location?.id;\r\n\t\t\t\t\tform.trainingListId = this.selectedScheduledTraining?.id;\r\n\t\t\t\t\tdelete form.desiredDate;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase TrainingMethod.inCompany:\r\n\t\t\t\t\tform.trainingLocationId =\r\n\t\t\t\t\t\tthis.selectedTrainingLocationOption !== TrainingLocationOption.OwnLocation\r\n\t\t\t\t\t\t\t? this.selectedTrainingLocation?.id\r\n\t\t\t\t\t\t\t: \"\";\r\n\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase TrainingMethod.elearning:\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (this.trainingTypeForCurrentConfiguration !== LocalTrainingType.modular) {\r\n\t\t\t\tform.course.selectedModuleSkus = [];\r\n\t\t\t}\r\n\t\t\tform.trainingProductGroupId = this.vm.id;\r\n\t\t\tform.course.participants = this.trainingParticipants;\r\n\t\t\tform.additionalCourses.forEach((x) => (x.participants = this.trainingParticipants));\r\n\t\t\tform.allCourses = [form.course, ...form.additionalCourses];\r\n\t\t\tform.address = this.trainingAddress as AddressFormModel;\r\n\t\t\treturn form;\r\n\t\t}\r\n\r\n\t\tget trainingCalculateModel(): TrainingCalculationRequest {\r\n\t\t\tif (!this.trainingAddToCartModel) return {} as TrainingCalculationRequest;\r\n\t\t\tconst { course, isVdiTraining, additionalCourses, trainingLocationId } = this.trainingAddToCartModel;\r\n\t\t\treturn {\r\n\t\t\t\tisVdiTraining,\r\n\t\t\t\tcourse,\r\n\t\t\t\tadditionalCourses,\r\n\t\t\t\tlocationId: trainingLocationId,\r\n\t\t\t\tallCourses: [course, ...(additionalCourses || [])],\r\n\t\t\t\ttype: this.trainingTypeForCurrentConfiguration,\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget productAddedModel(): IProductAddedModal {\r\n\t\t\treturn {\r\n\t\t\t\tcartPageUrl: this.vm.cartPageUrl,\r\n\t\t\t\tproducts: trainingProductModule.allTrainingCourses?.map((x) => ({ icon: this.vm.iconUrl, title: x.name })),\r\n\t\t\t\tcrossSellProducts: [],\r\n\t\t\t\tcrossSellExperts: [],\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget preferredDateOptions(): Partial {\r\n\t\t\treturn {\r\n\t\t\t\tminDate: addBusinessDays(new Date(), 3),\r\n\t\t\t\tdisabledDays: [0, 6],\r\n\t\t\t\tshowIcon: true,\r\n\t\t\t\tnumberOfMonths: 2,\r\n\t\t\t\ttouchUI: this.isSmallScreen?.value,\r\n\t\t\t\tresponsiveOptions: [\r\n\t\t\t\t\t{ breakpoint: \"1400px\", numMonths: 2 },\r\n\t\t\t\t\t{ breakpoint: \"1200px\", numMonths: 1 },\r\n\t\t\t\t],\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tget checkAtleastOneParticipant(): boolean {\r\n\t\t\treturn this.trainingParticipants?.length > 0;\r\n\t\t}\r\n\r\n\t\tget checkMaxParticipants(): boolean {\r\n\t\t\treturn this.trainingParticipants?.length <= this.maxParticipants;\r\n\t\t}\r\n\r\n\t\tget checkParticipantsUniqueEmail(): boolean {\r\n\t\t\tconst nonEmptyEmails = this.trainingParticipants.map((x) => x.email).filter(Boolean);\r\n\t\t\treturn new Set(nonEmptyEmails).size === nonEmptyEmails.length;\r\n\t\t}\r\n\r\n\t\tget isPreferredStartDateValid(): boolean {\r\n\t\t\treturn this.selectedTrainingMethod === TrainingMethod.inCompany && isValid(this.selectedPreferredStartDate);\r\n\t\t}\r\n\r\n\t\tget validationErrors(): boolean[] {\r\n\t\t\treturn [...this.trainingValidations.values()].filter((x) => !x);\r\n\t\t}\r\n\r\n\t\taddParticipant(loggedInUserAsParticipant?: TrainingParticipantFormModel): void {\r\n\t\t\tconst participant = loggedInUserAsParticipant ?? ({ isUnknown: true } as any);\r\n\t\t\tthis.trainingParticipants.push(participant);\r\n\t\t\tthis.trainingParticipantsAccordionActiveIndexes.push(this.trainingParticipants.length - 1);\r\n\t\t\tthis.recalculatePrice();\r\n\t\t}\r\n\r\n\t\tremoveParticipant(index: number): void {\r\n\t\t\tthis.trainingParticipants.splice(index, 1);\r\n\t\t\tthis.trainingModulesAccordionActiveIndexes.splice(\r\n\t\t\t\tthis.trainingModulesAccordionActiveIndexes.findIndex((x) => x === index),\r\n\t\t\t\t1\r\n\t\t\t);\r\n\t\t\tthis.recalculatePrice();\r\n\t\t}\r\n\r\n\t\tgetParticipantName(trainingParticipant: TrainingParticipantFormModel): string {\r\n\t\t\treturn trainingParticipant.isUnknown\r\n\t\t\t\t? this.$t(\"training.lblUnknownParticipant\")\r\n\t\t\t\t: `${this.$t(`enum.salutation.${trainingParticipant.gender || 3}`)} ${trainingParticipant.firstName} ${\r\n\t\t\t\t\t\ttrainingParticipant.lastName\r\n\t\t\t\t } (${trainingParticipant.email})`;\r\n\t\t}\r\n\r\n\t\tshowHelpSideBar(helpBlock: HelpBlockViewModel) {\r\n\t\t\tthis.selectedHelpBlock = helpBlock;\r\n\t\t\tthis.showSideBar = true;\r\n\t\t}\r\n\r\n\t\taddToCart(): void {\r\n\t\t\tthis.submitted = true;\r\n\t\t\tif (!this.validateProductConfiguration()) {\r\n\t\t\t\tsetTimeout(() => this.scrollToFirstValidationError(), 50);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/cart/add-training\", this.trainingAddToCartModel)\r\n\t\t\t\t.then(() => {\r\n\t\t\t\t\tcartModule.setShowProductAddedModal(true);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => console.error(err))\r\n\t\t\t\t.finally(() => commonModule.decreaseLoadingCount());\r\n\t\t}\r\n\r\n\t\trecalculatePrice(): void {\r\n\t\t\tif (this.isBusy) return;\r\n\t\t\tcommonModule.showSpinner(\"priceSummary\");\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/cart/calculate-training\", this.trainingCalculateModel)\r\n\t\t\t\t.then((res) => {\r\n\t\t\t\t\tthis.trainingPriceCalculation = res.data as TrainingCalculationResponse;\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => console.error(err))\r\n\t\t\t\t.finally(() => commonModule.hideSpinner(\"priceSummary\"));\r\n\t\t}\r\n\r\n\t\tscrollToFirstValidationError(): void {\r\n\t\t\tconst element = document.querySelector(`[id^=\"validation-msg-\"]`)?.closest(\".product-config-step\");\r\n\t\t\tif (!element) return;\r\n\t\t\twindow.scrollTo({ top: element.getBoundingClientRect().top + window.scrollY - 80, behavior: \"smooth\" });\r\n\t\t}\r\n\r\n\t\tonAddModuleClick(): void {\r\n\t\t\ttrainingProductModule.showAddCourseModal();\r\n\t\t}\r\n\r\n\t\tonTrainingCourseAdded(event: TrainingCourseAddedEvent): void {\r\n\t\t\ttrainingProductModule.hideAddCourseModal();\r\n\t\t\ttrainingProductModule.addAdditionalCourse({\r\n\t\t\t\tselectedModuleSkus: event.modules.map((x) => x.sku),\r\n\t\t\t\tid: event.course.id,\r\n\t\t\t\tparticipants: [],\r\n\t\t\t});\r\n\t\t\tthis.trainingModulesAccordionActiveIndexes.push(this.trainingModulesAccordionActiveIndexes.length);\r\n\t\t}\r\n\r\n\t\tonSelectedModulesChanged(event: TrainingModulesChangedEvent) {\r\n\t\t\tconst courseCartModel = trainingProductModule.trainingCourseById(event.course.id);\r\n\t\t\tcourseCartModel.selectedModuleSkus = event.modules.map((x) => x.sku);\r\n\t\t\ttrainingProductModule.updateCourse(courseCartModel);\r\n\t\t}\r\n\r\n\t\tonSelectedCourseRemoved(course: TrainingViewModel) {\r\n\t\t\ttrainingProductModule.removeCourse(course.id);\r\n\t\t}\r\n\r\n\t\tprivate validateProductConfiguration(): boolean {\r\n\t\t\tthis.trainingValidations.set(TrainingValidation.MaxParticipants, this.checkMaxParticipants);\r\n\t\t\tthis.trainingValidations.set(TrainingValidation.AtleastOneParticipant, this.checkAtleastOneParticipant);\r\n\t\t\tthis.trainingValidations.set(TrainingValidation.UniqueEmailParticipant, this.checkParticipantsUniqueEmail);\r\n\t\t\tthis.trainingValidations.set(\r\n\t\t\t\tTrainingValidation.ValidPriceCalculation,\r\n\t\t\t\tthis.trainingPriceCalculation?.errorCode === TrainingCalculationErrorCode.durationError\r\n\t\t\t\t\t? !!this.trainingPriceCalculation?.isValid\r\n\t\t\t\t\t: true\r\n\t\t\t);\r\n\t\t\tif (this.selectedTrainingLocationOption === TrainingLocationOption.OwnLocation) {\r\n\t\t\t\tthis.trainingValidations.set(\r\n\t\t\t\t\tTrainingValidation.ValidAddressOwnLocation,\r\n\t\t\t\t\t(this.$refs.trainingAddressForm as AddressForm)?.isValid || false\r\n\t\t\t\t);\r\n\t\t\t} else {\r\n\t\t\t\tthis.trainingValidations.set(TrainingValidation.ValidAddressOwnLocation, true);\r\n\t\t\t}\r\n\t\t\tif (this.selectedTrainingMethod === TrainingMethod.inCompany) {\r\n\t\t\t\tthis.trainingValidations.set(TrainingValidation.ValidPreferredStartDate, this.isPreferredStartDateValid);\r\n\t\t\t} else {\r\n\t\t\t\tthis.trainingValidations.set(TrainingValidation.ValidPreferredStartDate, true);\r\n\t\t\t}\r\n\t\t\treturn this.validationErrors.length === 0;\r\n\t\t}\r\n\r\n\t\tprivate setInitialTrainingMethod(): void {\r\n\t\t\tconst { trainingProductGroupConfiguration } = this.vm;\r\n\t\t\tif (trainingProductGroupConfiguration) {\r\n\t\t\t\tswitch (trainingProductGroupConfiguration.trainingType) {\r\n\t\t\t\t\tcase LocalTrainingType.openRoster:\r\n\t\t\t\t\t\tthis.selectedTrainingMethod = TrainingMethod.training;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase LocalTrainingType.companyTrainingLocal:\r\n\t\t\t\t\tcase LocalTrainingType.companyTrainingRemote:\r\n\t\t\t\t\tcase LocalTrainingType.modular:\r\n\t\t\t\t\t\tthis.selectedTrainingMethod = TrainingMethod.inCompany;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase LocalTrainingType.eLearning:\r\n\t\t\t\t\t\tthis.selectedTrainingMethod = TrainingMethod.elearning;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tthis.selectedTrainingMethod = this.availableTrainingMethods[0]?.value as TrainingMethod;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tprivate setupPreviousConfiguration(): void {\r\n\t\t\tconst { trainingProductGroupConfiguration } = this.vm;\r\n\r\n\t\t\tswitch (trainingProductGroupConfiguration.trainingType) {\r\n\t\t\t\tcase LocalTrainingType.openRoster:\r\n\t\t\t\t\tthis.selectedTrainingLocationOption = TrainingLocationOption.Cadac;\r\n\t\t\t\t\tthis.selectedScheduledTraining =\r\n\t\t\t\t\t\tthis.selectedTrainingCourse?.scheduledTrainings?.find(\r\n\t\t\t\t\t\t\t(x) => x.id === trainingProductGroupConfiguration.trainingListId\r\n\t\t\t\t\t\t) || null;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase LocalTrainingType.companyTrainingLocal:\r\n\t\t\t\t\tthis.selectedTrainingLocationOption = TrainingLocationOption.Cadac;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase LocalTrainingType.companyTrainingRemote:\r\n\t\t\t\t\tthis.selectedTrainingLocationOption = trainingProductGroupConfiguration.address\r\n\t\t\t\t\t\t? TrainingLocationOption.OwnLocation\r\n\t\t\t\t\t\t: TrainingLocationOption.OnlineRemote;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase LocalTrainingType.eLearning:\r\n\t\t\t\t\tthis.selectedTrainingLocationOption = TrainingLocationOption.Cadac;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase LocalTrainingType.modular:\r\n\t\t\t\t\tif (trainingProductGroupConfiguration.address) {\r\n\t\t\t\t\t\tthis.selectedTrainingLocationOption = TrainingLocationOption.OwnLocation;\r\n\t\t\t\t\t} else if (\r\n\t\t\t\t\t\ttrainingProductGroupConfiguration.trainingLocationId ===\r\n\t\t\t\t\t\tthis.selectedTrainingCourse?.remoteLocation?.id\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tthis.selectedTrainingLocationOption = TrainingLocationOption.OnlineRemote;\r\n\t\t\t\t\t} else if (trainingProductGroupConfiguration.trainingListId) {\r\n\t\t\t\t\t\tthis.selectedTrainingLocationOption = TrainingLocationOption.Cadac;\r\n\t\t\t\t\t\tthis.selectedScheduledTraining = this.selectedTrainingCourse?.scheduledTrainings?.find(\r\n\t\t\t\t\t\t\t(x) => x.id === trainingProductGroupConfiguration.trainingListId\r\n\t\t\t\t\t\t) as ScheduledTrainingViewModel;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.selectedTrainingLocationOption = TrainingLocationOption.Cadac;\r\n\t\t\t\t\t\tthis.selectedTrainingLocation = this.availableTrainingLocations.find(\r\n\t\t\t\t\t\t\t(x) =>\r\n\t\t\t\t\t\t\t\t(x.value as TrainingLocationViewModel).id ===\r\n\t\t\t\t\t\t\t\ttrainingProductGroupConfiguration.trainingLocationId\r\n\t\t\t\t\t\t)?.value as TrainingLocationViewModel;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.trainingModulesAccordionActiveIndexes = this.allTrainingCourses.map((_, i) => i);\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tthis.trainingParticipants = trainingProductGroupConfiguration.participants;\r\n\t\t\tthis.trainingAddress = trainingProductGroupConfiguration.address;\r\n\t\t\tthis.selectedTrainingConfigurationOption = trainingProductGroupConfiguration?.isModular\r\n\t\t\t\t? TrainingConfigurationOption.Custom\r\n\t\t\t\t: TrainingConfigurationOption.Default;\r\n\t\t\t// Needs to be wrapped in timeout to trigger proper formatting\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tif (trainingProductGroupConfiguration.desiredDate)\r\n\t\t\t\t\tthis.selectedPreferredStartDate = this.toDate(trainingProductGroupConfiguration.desiredDate as Date);\r\n\t\t\t}, 10);\r\n\t\t}\r\n\r\n\t\tprivate setupConfigurationOptions(): void {\r\n\t\t\tthis.availableTrainingMethods =\r\n\t\t\t\tthis.selectedTrainingCourse?.methods?.map((x) => ({\r\n\t\t\t\t\tvalue: x,\r\n\t\t\t\t\tlabel: this.$t(`enum.trainingMethod.${x}`),\r\n\t\t\t\t})) || [];\r\n\t\t\tif (this.selectedTrainingMethod === null) {\r\n\t\t\t\tthis.setInitialTrainingMethod();\r\n\t\t\t} else if (this.availableTrainingMethods.findIndex((x) => x.value === this.selectedTrainingMethod) < 0) {\r\n\t\t\t\tthis.selectedTrainingMethod = this.availableTrainingMethods[0]?.value as TrainingMethod;\r\n\t\t\t}\r\n\r\n\t\t\tif (this.selectedTrainingCourse?.modules?.length && this.selectedTrainingMethod === TrainingMethod.inCompany) {\r\n\t\t\t\tthis.availableTrainingConfigurationOptions = values(TrainingConfigurationOption)\r\n\t\t\t\t\t.filter(Number.isFinite)\r\n\t\t\t\t\t.map((x) => ({\r\n\t\t\t\t\t\tvalue: x,\r\n\t\t\t\t\t\tlabel: this.$t(`enum.trainingConfiguration.${x}`),\r\n\t\t\t\t\t}));\r\n\t\t\t\tthis.selectedTrainingConfigurationOption = TrainingConfigurationOption.Default;\r\n\t\t\t} else {\r\n\t\t\t\tthis.availableTrainingConfigurationOptions = [];\r\n\t\t\t\tthis.selectedTrainingConfigurationOption = TrainingConfigurationOption.Default;\r\n\t\t\t}\r\n\r\n\t\t\tswitch (this.selectedTrainingMethod) {\r\n\t\t\t\tcase TrainingMethod.training:\r\n\t\t\t\t\tthis.availableTrainingLocationOptions = [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tvalue: TrainingLocationOption.Cadac,\r\n\t\t\t\t\t\t\tlabel: this.$t(`enum.trainingLocation.${TrainingLocationOption.Cadac}`),\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t];\r\n\t\t\t\t\tthis.availableTrainingLocations =\r\n\t\t\t\t\t\tthis.selectedTrainingCourse?.scheduledTrainingLocations?.map((x) => ({\r\n\t\t\t\t\t\t\tvalue: x,\r\n\t\t\t\t\t\t\tlabel: x.name,\r\n\t\t\t\t\t\t})) || [];\r\n\t\t\t\t\tif (this.availableTrainingLocations[0]) {\r\n\t\t\t\t\t\tthis.selectedTrainingLocationOption = TrainingLocationOption.Cadac;\r\n\t\t\t\t\t\tthis.selectedTrainingLocation = this.availableTrainingLocations[0].value as TrainingLocationViewModel;\r\n\t\t\t\t\t\tif (this.selectedTrainingCourse?.scheduledTrainings[0]) {\r\n\t\t\t\t\t\t\tthis.selectedScheduledTraining = this.selectedTrainingCourse?.scheduledTrainings[0];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase TrainingMethod.inCompany:\r\n\t\t\t\t\tthis.availableTrainingLocationOptions = values(TrainingLocationOption)\r\n\t\t\t\t\t\t.filter(Number.isFinite)\r\n\t\t\t\t\t\t.filter((x) => {\r\n\t\t\t\t\t\t\tif (!this.selectedTrainingCourse?.remoteLocation) return x !== TrainingLocationOption.OnlineRemote;\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t.map((x) => ({\r\n\t\t\t\t\t\t\tvalue: x,\r\n\t\t\t\t\t\t\tlabel: this.$t(`enum.trainingLocation.${x}`),\r\n\t\t\t\t\t\t}));\r\n\t\t\t\t\tthis.availableTrainingLocations =\r\n\t\t\t\t\t\tthis.selectedTrainingCourse?.cadacLocations?.map((x) => ({\r\n\t\t\t\t\t\t\tvalue: x,\r\n\t\t\t\t\t\t\tlabel: x.name,\r\n\t\t\t\t\t\t})) || [];\r\n\t\t\t\t\tif (this.availableTrainingLocations[0])\r\n\t\t\t\t\t\tthis.selectedTrainingLocation = this.availableTrainingLocations[0].value as TrainingLocationViewModel;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase TrainingMethod.elearning:\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tthis.availableTrainingLocationOptions = [];\r\n\t\t\t\t\tthis.availableTrainingConfigurationOptions = [];\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n","import { render } from \"./trainingProduct.vue?vue&type=template&id=d98b0f06&scoped=true&ts=true\"\nimport script from \"./trainingProduct.vue?vue&type=script&lang=ts\"\nexport * from \"./trainingProduct.vue?vue&type=script&lang=ts\"\n\nimport \"./trainingProduct.vue?vue&type=style&index=0&id=d98b0f06&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-d98b0f06\"]])\n\nexport default __exports__","import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, resolveDirective as _resolveDirective, withDirectives as _withDirectives, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-9458e4b0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container-fluid surface-b\" }\nconst _hoisted_2 = { class: \"container\" }\nconst _hoisted_3 = { class: \"py-3\" }\nconst _hoisted_4 = { class: \"mb-0\" }\nconst _hoisted_5 = { class: \"d-flex\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", { class: \"mb-0\" }, \"Filters\", -1))\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h4\", null, \"Filters\", -1))\nconst _hoisted_8 = { class: \"header-left justify-content-between justify-content-lg-start flex-grow-1 flex-lg-grow-0\" }\nconst _hoisted_9 = { class: \"header-right flex-grow-1 flex-lg-grow-0\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"p-input-icon-left p-input-icon-right header-search\"\n}\nconst _hoisted_11 = { class: \"list-item-content\" }\nconst _hoisted_12 = [\"src\", \"title\", \"alt\"]\nconst _hoisted_13 = { class: \"list-item-content-left\" }\nconst _hoisted_14 = { class: \"d-flex flex-column mr-1\" }\nconst _hoisted_15 = [\"src\", \"title\", \"alt\"]\nconst _hoisted_16 = { class: \"mb-0 text-muted lead\" }\nconst _hoisted_17 = {\n key: 1,\n class: \"mb-0\"\n}\nconst _hoisted_18 = [\"href\", \"title\"]\nconst _hoisted_19 = {\n key: 2,\n class: \"mb-0\"\n}\nconst _hoisted_20 = [\"innerHTML\"]\nconst _hoisted_21 = { class: \"list-item-content-right\" }\nconst _hoisted_22 = { class: \"\" }\nconst _hoisted_23 = { class: \"course-names\" }\nconst _hoisted_24 = {\n key: 1,\n class: \"d-flex p-4 flex-shrink-0\"\n}\nconst _hoisted_25 = { class: \"d-flex flex-column ml-1 w-50\" }\nconst _hoisted_26 = { class: \"\" }\nconst _hoisted_27 = { class: \"w-50 d-flex flex-column ml-2\" }\nconst _hoisted_28 = {\n key: 0,\n class: \"col-md-6 col-xxl-4\"\n}\nconst _hoisted_29 = [\"src\", \"title\", \"alt\"]\nconst _hoisted_30 = { class: \"d-flex flex-column card-content-wrapper\" }\nconst _hoisted_31 = { class: \"d-flex mb-1\" }\nconst _hoisted_32 = { class: \"align-self-center mr-1\" }\nconst _hoisted_33 = [\"src\", \"title\", \"alt\"]\nconst _hoisted_34 = { class: \"d-flex flex-column\" }\nconst _hoisted_35 = { class: \"mb-0 text-muted lead\" }\nconst _hoisted_36 = {\n key: 0,\n class: \"mb-0\"\n}\nconst _hoisted_37 = [\"href\", \"title\"]\nconst _hoisted_38 = {\n key: 1,\n class: \"mb-0\"\n}\nconst _hoisted_39 = [\"innerHTML\"]\nconst _hoisted_40 = { class: \"course-names\" }\nconst _hoisted_41 = {\n key: 1,\n class: \"col-md-6 col-xxl-4\"\n}\nconst _hoisted_42 = { class: \"p-4\" }\nconst _hoisted_43 = { class: \"d-flex mt-2\" }\nconst _hoisted_44 = { class: \"d-flex flex-column mt-2\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ProductFilters = _resolveComponent(\"ProductFilters\")!\n const _component_SlideSidebar = _resolveComponent(\"SlideSidebar\")!\n const _component_Sidebar = _resolveComponent(\"Sidebar\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Dropdown = _resolveComponent(\"Dropdown\")!\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_DataViewLayoutOptions = _resolveComponent(\"DataViewLayoutOptions\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Card = _resolveComponent(\"Card\")!\n const _component_Skeleton = _resolveComponent(\"Skeleton\")!\n const _component_DataView = _resolveComponent(\"DataView\")!\n const _directive_debounce = _resolveDirective(\"debounce\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"breadcrumbs\", {}, undefined, true),\n _createElementVNode(\"h1\", _hoisted_4, _toDisplayString(_ctx.vm.pageTitle), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (_ctx.filters?.length && !_ctx.isSmallScreen?.value)\n ? (_openBlock(), _createBlock(_component_SlideSidebar, {\n key: 0,\n \"is-visible\": _ctx.showFilters,\n onClose: _cache[1] || (_cache[1] = ($event) => (_ctx.showFilters = $event))\n }, {\n header: _withCtx(() => [\n _hoisted_6\n ]),\n content: _withCtx(() => [\n _createVNode(_component_ProductFilters, {\n filters: _ctx.filters,\n onFiltersChanged: _cache[0] || (_cache[0] = ($event: any) => (_ctx.onFilterChange($event)))\n }, null, 8, [\"filters\"])\n ]),\n _: 1\n }, 8, [\"is-visible\"]))\n : (_ctx.filters?.length)\n ? (_openBlock(), _createBlock(_component_Sidebar, {\n key: 1,\n visible: _ctx.showFilters,\n \"onUpdate:visible\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.showFilters) = $event)),\n class: \"surface-b\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _hoisted_7,\n _createVNode(_component_ProductFilters, {\n filters: _ctx.filters,\n onFiltersChanged: _cache[2] || (_cache[2] = ($event: any) => (_ctx.onFilterChange($event)))\n }, null, 8, [\"filters\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_DataView, {\n value: _ctx.overviewItems,\n layout: _ctx.viewLayout,\n sortOrder: _ctx.sortOrder,\n sortField: _ctx.sortField,\n class: \"w-100\"\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n (_ctx.filters?.length)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n class: \"p-button-outlined mr-1 flex-shrink-0\",\n badge: _ctx.activeFilterCount > 0 ? _ctx.activeFilterCount.toString() : '',\n label: _ctx.$t('common.filters'),\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.showFilters = !_ctx.showFilters))\n }, null, 8, [\"badge\", \"label\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Dropdown, {\n modelValue: _ctx.sortKey,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.sortKey) = $event)),\n options: _ctx.sortOptions,\n placeholder: _ctx.$t('training.sort_placeholder'),\n optionLabel: \"label\",\n onChange: _cache[6] || (_cache[6] = ($event: any) => (_ctx.onSortChange($event)))\n }, null, 8, [\"modelValue\", \"options\", \"placeholder\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n (_ctx.hasQueryFilter)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, [\n _createElementVNode(\"i\", {\n class: _normalizeClass([\"pi pi-search\", { 'text-primary': _ctx.queryString }])\n }, null, 2),\n _withDirectives(_createVNode(_component_InputText, {\n modelValue: _ctx.queryString,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.queryString) = $event)),\n type: \"search\",\n placeholder: _ctx.$t('training.search_placeholder'),\n class: \"mr-1\"\n }, null, 8, [\"modelValue\", \"placeholder\"]), [\n [_directive_debounce, _ctx.onSearch, \"1s\"]\n ]),\n (_ctx.queryString?.length)\n ? (_openBlock(), _createElementBlock(\"i\", {\n key: 0,\n onClick: _cache[8] || (_cache[8] = ($event: any) => {\r\n\t\t\t\t\t\t\t\t\t\t_ctx.queryString = '';\r\n\t\t\t\t\t\t\t\t\t\t_ctx.onSearch(_ctx.queryString);\r\n\t\t\t\t\t\t\t\t\t}),\n class: \"pi pi-times icon-clear\"\n }))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isSmallScreen?.value)\n ? (_openBlock(), _createBlock(_component_DataViewLayoutOptions, {\n key: 1,\n modelValue: _ctx.viewLayout,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.viewLayout) = $event)),\n class: \"ml-1\"\n }, null, 8, [\"modelValue\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n empty: _withCtx(() => [\n _createVNode(_component_Message, {\n severity: \"warn\",\n closable: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"training.message.noOverviewItems\")), 1)\n ]),\n _: 1\n })\n ]),\n list: _withCtx((item) => [\n (!_ctx.isSpinnerVisible['product-overview'])\n ? (_openBlock(), _createBlock(_component_Card, {\n key: 0,\n onClick: ($event: any) => (_ctx.openUrl(item.data.pageUrl))\n }, {\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_11, [\n (item.data.listImageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"overview-image\",\n src: item.data.listImageUrl,\n title: item.data.name,\n alt: item.data.iconAlt\n }, null, 8, _hoisted_12))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n (item.data.iconUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"overview-product-icon\",\n src: item.data.iconUrl,\n title: item.data.name,\n alt: item.data.iconAlt\n }, null, 8, _hoisted_15))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", _hoisted_16, _toDisplayString(item.data.brand), 1),\n (\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t(_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales) &&\r\n\t\t\t\t\t\t\t\t\t\t\t\t\titem.data.crmUrl\r\n\t\t\t\t\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"h3\", _hoisted_17, [\n _createElementVNode(\"a\", {\n href: item.data.crmUrl,\n target: \"_blank\",\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(_ctx.formatProductName(item.data.name, item.data.brand)), 9, _hoisted_18)\n ]))\n : (_openBlock(), _createElementBlock(\"h3\", _hoisted_19, _toDisplayString(_ctx.formatProductName(item.data.name, item.data.brand)), 1))\n ]),\n _createElementVNode(\"p\", {\n class: \"mb-0 intro-text text-preline\",\n innerHTML: item.data.intro\n }, null, 8, _hoisted_20)\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"h5\", _hoisted_22, _toDisplayString(_ctx.$t(\"training.lblCourses\")), 1),\n _createElementVNode(\"p\", _hoisted_23, _toDisplayString(item.data.trainingNames?.join(\", \")), 1)\n ])\n ])\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_24, [\n _createVNode(_component_Skeleton, {\n width: \"200px\",\n height: \"120px\"\n }),\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode(_component_Skeleton, {\n shape: \"square\",\n width: \"4rem\",\n height: \"4rem\",\n class: \"mb-1\"\n }),\n _createElementVNode(\"div\", _hoisted_26, [\n _createVNode(_component_Skeleton, {\n width: \"20%\",\n class: \"mb-1\"\n }),\n _createVNode(_component_Skeleton, {\n width: \"35%\",\n class: \"mb-2\"\n }),\n _createVNode(_component_Skeleton, {\n class: \"mb-1\",\n width: \"20%\",\n height: \"1.25rem\"\n }),\n _createVNode(_component_Skeleton, {\n class: \"mb-1\",\n width: \"100%\",\n height: \".75rem\"\n }),\n _createVNode(_component_Skeleton, {\n width: \"80%\",\n height: \".75rem\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _createVNode(_component_Skeleton, {\n class: \"mb-1\",\n width: \"20%\",\n height: \"1.25rem\"\n }),\n _createVNode(_component_Skeleton, {\n class: \"mb-1\",\n width: \"100%\",\n height: \".75rem\"\n }),\n _createVNode(_component_Skeleton, {\n class: \"mb-1\",\n width: \"100%\",\n height: \".75rem\"\n }),\n _createVNode(_component_Skeleton, {\n class: \"mb-1\",\n width: \"100%\",\n height: \".75rem\"\n }),\n _createVNode(_component_Skeleton, {\n class: \"mb-1\",\n width: \"100%\",\n height: \".75rem\"\n }),\n _createVNode(_component_Skeleton, {\n width: \"80%\",\n height: \".75rem\"\n })\n ])\n ]))\n ]),\n grid: _withCtx((item) => [\n (!_ctx.isSpinnerVisible['product-overview'])\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_28, [\n _createVNode(_component_Card, {\n onClick: ($event: any) => (_ctx.openUrl(item.data.pageUrl))\n }, {\n header: _withCtx(() => [\n (item.data.cardImageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: item.data.cardImageUrl,\n title: item.data.name,\n alt: item.data.iconAlt\n }, null, 8, _hoisted_29))\n : _createCommentVNode(\"\", true)\n ]),\n content: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", _hoisted_31, [\n _createElementVNode(\"div\", _hoisted_32, [\n (item.data.iconUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"overview-product-icon\",\n src: item.data.iconUrl,\n title: item.data.name,\n alt: item.data.iconAlt\n }, null, 8, _hoisted_33))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_34, [\n _createElementVNode(\"p\", _hoisted_35, _toDisplayString(item.data.brand), 1),\n (\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t(_ctx.userProfile?.isCadacSales || _ctx.userProfile?.isImpersonatedByCadacSales) &&\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\titem.data.crmUrl\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"h3\", _hoisted_36, [\n _createElementVNode(\"a\", {\n href: item.data.crmUrl,\n target: \"_blank\",\n title: _ctx.$t('common.goToCrm')\n }, _toDisplayString(_ctx.formatProductName(item.data.name, item.data.brand)), 9, _hoisted_37)\n ]))\n : (_openBlock(), _createElementBlock(\"h3\", _hoisted_38, _toDisplayString(_ctx.formatProductName(item.data.name, item.data.brand)), 1))\n ])\n ]),\n _createElementVNode(\"p\", {\n class: \"intro-text text-preline\",\n innerHTML: item.data.intro\n }, null, 8, _hoisted_39)\n ])\n ]),\n footer: _withCtx(() => [\n _createElementVNode(\"h5\", null, _toDisplayString(_ctx.$t(\"training.lblCourses\")), 1),\n _createElementVNode(\"p\", _hoisted_40, _toDisplayString(item.data.trainingNames?.join(\", \")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_41, [\n _createElementVNode(\"div\", _hoisted_42, [\n _createVNode(_component_Skeleton, {\n width: \"100%\",\n height: \"150px\"\n }),\n _createElementVNode(\"div\", _hoisted_43, [\n _createVNode(_component_Skeleton, {\n shape: \"square\",\n width: \"4rem\",\n height: \"4rem\",\n class: \"mr-2\"\n }),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_Skeleton, {\n width: \"10rem\",\n class: \"mb-2\"\n }),\n _createVNode(_component_Skeleton, {\n width: \"5rem\",\n class: \"mb-2\"\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_44, [\n _createVNode(_component_Skeleton, {\n class: \"mb-1\",\n width: \"20%\",\n height: \"1.25rem\"\n }),\n _createVNode(_component_Skeleton, {\n class: \"mb-1\",\n width: \"100%\",\n height: \".75rem\"\n }),\n _createVNode(_component_Skeleton, {\n width: \"80%\",\n height: \".75rem\"\n })\n ])\n ])\n ]))\n ]),\n _: 1\n }, 8, [\"value\", \"layout\", \"sortOrder\", \"sortField\"])\n ])\n ])\n ]))\n}","/* Auto Generated */\r\n\r\nexport enum FilterTypes {\r\n query,\r\n multiSelect,\r\n dateRange,\r\n location,\r\n customTraining,\r\n trainingMonths,\r\n}\r\n","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, createVNode as _createVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-fa4ea44e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"product-filters\" }\nconst _hoisted_2 = { class: \"lead mb-0\" }\nconst _hoisted_3 = [\"onClick\"]\nconst _hoisted_4 = [\"for\"]\nconst _hoisted_5 = { class: \"text-muted ml-1\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Checkbox = _resolveComponent(\"Checkbox\")!\n const _component_Panel = _resolveComponent(\"Panel\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.activeFilterCount)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.resetFilters())),\n icon: \"pi pi-filter-slash\",\n class: \"p-button-secondary p-button-text p-0 mb-1\",\n label: _ctx.$t('common.resetFilters')\n }, null, 8, [\"label\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.visibleFilters, (filter) => {\n return (_openBlock(), _createBlock(_component_Panel, {\n class: \"product-filter-item\",\n key: filter,\n collapsed: _ctx.filterCollapsed[filter.label],\n \"onUpdate:collapsed\": ($event: any) => ((_ctx.filterCollapsed[filter.label]) = $event)\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.$t(`enum.overviewFilterCategory.${filter.category}`)), 1)\n ]),\n icons: _withCtx(() => [\n _createElementVNode(\"button\", {\n class: \"p-panel-header-icon p-link mr-2\",\n onClick: ($event: any) => (_ctx.filterCollapsed[filter.label] = !_ctx.filterCollapsed[filter.label])\n }, [\n _createElementVNode(\"i\", {\n class: _normalizeClass(_ctx.filterCollapsed[filter.label] ? 'pi pi-chevron-down' : 'pi pi-chevron-up')\n }, null, 2)\n ], 8, _hoisted_3)\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(filter.options, (option) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"product-filter-option p-field-checkbox form-group\",\n key: option\n }, [\n _createVNode(_component_Checkbox, {\n binary: true,\n modelValue: option.isActive,\n \"onUpdate:modelValue\": ($event: any) => ((option.isActive) = $event),\n id: `filter-${filter.label}-${option.label}`,\n disabled: !option.isAvailable,\n onChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.filtersChanged()))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"disabled\"]),\n _createElementVNode(\"label\", {\n class: _normalizeClass([\"ml-2 mb-0\", option.isActive ? 'font-weight-bold' : 'font-weight-normal']),\n for: `filter-${filter.label}-${option.label}`\n }, _toDisplayString(option.label), 11, _hoisted_4),\n _createElementVNode(\"span\", _hoisted_5, \"(\" + _toDisplayString(option.count) + \")\", 1)\n ]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"collapsed\", \"onUpdate:collapsed\"]))\n }), 128))\n ])\n ], 64))\n}","\r\n\timport { Emit, Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { PropType } from \"vue\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport Checkbox from \"primevue/checkbox\";\r\n\timport { OverviewFilterViewModel } from \"@/types/generated/filter/overviewFilterViewModel\";\r\n\timport { FilterTypes } from \"@/types/generated/Filters/filterTypes\";\r\n\timport { reduce } from \"lodash\";\r\n\r\n\t@Options({ components: { Checkbox }, emits: [\"filters-changed\"] })\r\n\texport default class ProductFilters extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tfilters!: OverviewFilterViewModel[];\r\n\r\n\t\tfilterCollapsed: { [name: string]: boolean } = {};\r\n\r\n\t\tget visibleFilters() {\r\n\t\t\treturn this.filters.filter((x) => x.type !== FilterTypes.query);\r\n\t\t}\r\n\r\n\t\tget activeFilterCount(): number {\r\n\t\t\treturn reduce(\r\n\t\t\t\tthis.visibleFilters,\r\n\t\t\t\t(result, value) => {\r\n\t\t\t\t\tconst isActiveOptions = value.options.map((x) => x.isActive);\r\n\t\t\t\t\tresult += isActiveOptions.filter(Boolean).length;\r\n\t\t\t\t\treturn result;\r\n\t\t\t\t},\r\n\t\t\t\t0\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tresetFilters(): void {\r\n\t\t\tthis.visibleFilters.forEach((x) => {\r\n\t\t\t\tx.options.forEach((y) => (y.isActive = false));\r\n\t\t\t});\r\n\t\t\tthis.filtersChanged();\r\n\t\t}\r\n\r\n\t\t@Emit(\"filters-changed\") filtersChanged(): OverviewFilterViewModel[] {\r\n\t\t\treturn this.filters;\r\n\t\t}\r\n\t}\r\n","import { render } from \"./productFilters.vue?vue&type=template&id=fa4ea44e&scoped=true&ts=true\"\nimport script from \"./productFilters.vue?vue&type=script&lang=ts\"\nexport * from \"./productFilters.vue?vue&type=script&lang=ts\"\n\nimport \"./productFilters.vue?vue&type=style&index=0&id=fa4ea44e&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-fa4ea44e\"]])\n\nexport default __exports__","import { renderSlot as _renderSlot, resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b3dad63a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"slide-sidebar-wrapper\" }\nconst _hoisted_2 = { class: \"slide-sidebar-header\" }\nconst _hoisted_3 = { class: \"slide-sidebar-content\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"slide-sidebar\", { collapsed: !_ctx.visible }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"header\", {}, undefined, true),\n _createVNode(_component_Button, {\n icon: \"pi pi-times\",\n class: \"p-button-secondary p-button-text p-button-rounded\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.closeSidebar()))\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"content\", {}, undefined, true)\n ])\n ])\n ], 2))\n}","\r\n\timport { Mixins, PropSync } from \"vue-property-decorator\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { Options } from \"vue-class-component\";\r\n\r\n\t@Options({ emits: [\"close\"] })\r\n\texport default class SlideSidebar extends Mixins(Helpers) {\r\n\t\t@PropSync(\"isVisible\", { type: Boolean }) visible!: boolean;\r\n\r\n\t\tcloseSidebar(): void {\r\n\t\t\tthis.$emit(\"close\", !this.visible);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./slideSidebar.vue?vue&type=template&id=b3dad63a&scoped=true&ts=true\"\nimport script from \"./slideSidebar.vue?vue&type=script&lang=ts\"\nexport * from \"./slideSidebar.vue?vue&type=script&lang=ts\"\n\nimport \"./slideSidebar.vue?vue&type=style&index=0&id=b3dad63a&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b3dad63a\"]])\n\nexport default __exports__","\r\n\timport DataView from \"primevue/dataview\";\r\n\timport DataViewLayoutOptions from \"primevue/dataviewlayoutoptions\";\r\n\timport ProductFilters from \"@/components/product/productFilters.vue\";\r\n\timport Sidebar from \"primevue/sidebar\";\r\n\timport Skeleton from \"primevue/skeleton\";\r\n\timport SlideSidebar from \"@/components/common/slideSidebar.vue\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\timport httpClient from \"@/types/helpers/apiHelper\";\r\n\timport { FilterTypes } from \"@/types/generated/Filters/filterTypes\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IDropdownItem } from \"@/types/interfaces/common/dropdownItem.interface\";\r\n\timport { ITrainingProductOverview } from \"@/types/interfaces/commerce/trainingProductOverview.interface\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { OverviewFilterViewModel } from \"@/types/generated/filter/overviewFilterViewModel\";\r\n\timport { PropType } from \"vue\";\r\n\timport { TrainingProductGroupOverviewItemViewModel } from \"@/types/generated/Training/trainingProductGroupOverviewItemViewModel\";\r\n\timport { reduce } from \"lodash\";\r\n\r\n\t@Options({\r\n\t\tcomponents: { SlideSidebar, ProductFilters, DataView, DataViewLayoutOptions, Sidebar, Skeleton },\r\n\t})\r\n\texport default class TrainingProductOverview extends Mixins(Helpers) {\r\n\t\t@Prop({\r\n\t\t\ttype: Object as PropType,\r\n\t\t\trequired: true,\r\n\t\t\tdefault: {},\r\n\t\t})\r\n\t\tvm!: ITrainingProductOverview;\r\n\r\n\t\tviewLayout = \"grid\";\r\n\t\tqueryString = \"\";\r\n\t\tsortKey = \"\";\r\n\t\tsortOrder: number | null = null;\r\n\t\tsortField: string | null = null;\r\n\t\tsortOptions: IDropdownItem[] = [];\r\n\t\tshowFilters = false;\r\n\r\n\t\tsubjectFilters: any[] = [];\r\n\t\tfilters: OverviewFilterViewModel[] = [];\r\n\t\toverviewItems: TrainingProductGroupOverviewItemViewModel[] = [];\r\n\r\n\t\tcreated(): void {\r\n\t\t\tconsole.log(this.vm);\r\n\t\t\tthis.overviewItems = this.vm.overviewItems;\r\n\t\t\tthis.showFilters = !this.isSmallScreen?.value;\r\n\t\t\tthis.subjectFilters = this.overviewItems;\r\n\t\t\tthis.filters = this.vm.filters;\r\n\t\t\tthis.sortOptions = [\r\n\t\t\t\t{ label: this.$t(\"common.sortDefault\"), value: \"\" },\r\n\t\t\t\t{ label: this.$t(\"common.sortNameAsc\"), value: \"name\" },\r\n\t\t\t\t{ label: this.$t(\"common.sortNameDesc\"), value: \"!name\" },\r\n\t\t\t];\r\n\t\t\tif (this.hasQueryFilter) {\r\n\t\t\t\tthis.queryString = this.queryFilter.props?.queryString || \"\";\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tget hasQueryFilter(): boolean {\r\n\t\t\treturn !!this.filters.find((x) => x.type === FilterTypes.query)?.props;\r\n\t\t}\r\n\r\n\t\tget queryFilter(): OverviewFilterViewModel {\r\n\t\t\treturn this.filters.find((x) => x.type === FilterTypes.query) as OverviewFilterViewModel;\r\n\t\t}\r\n\r\n\t\tget activeFilterCount(): number {\r\n\t\t\treturn reduce(\r\n\t\t\t\tthis.filters?.filter((x) => x.type !== FilterTypes.query),\r\n\t\t\t\t(result, value) => {\r\n\t\t\t\t\tconst isActiveOptions = value.options.map((x) => x.isActive);\r\n\t\t\t\t\tresult += isActiveOptions.filter(Boolean).length;\r\n\t\t\t\t\treturn result;\r\n\t\t\t\t},\r\n\t\t\t\t0\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tonSortChange(event): void {\r\n\t\t\tconst value = event.value.value;\r\n\t\t\tconst sortValue = event.value;\r\n\r\n\t\t\tif (value.indexOf(\"!\") === 0) {\r\n\t\t\t\tthis.sortOrder = -1;\r\n\t\t\t\tthis.sortField = value.substring(1, value.length);\r\n\t\t\t\tthis.sortKey = sortValue;\r\n\t\t\t} else {\r\n\t\t\t\tthis.sortOrder = 1;\r\n\t\t\t\tthis.sortField = value;\r\n\t\t\t\tthis.sortKey = sortValue;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tonFilterChange(filters: OverviewFilterViewModel[]): void {\r\n\t\t\tcommonModule.showSpinner(\"product-overview\");\r\n\t\t\tcommonModule.increaseLoadingCount();\r\n\t\t\tthis.updateQueryParams(filters);\r\n\t\t\tthis.updateFilters(filters);\r\n\t\t}\r\n\r\n\t\tonSearch(query: string): void {\r\n\t\t\tconsole.log(this.vm);\r\n\t\t\tif (!this.queryFilter?.props) return;\r\n\t\t\tconst { queryString } = this.queryFilter.props;\r\n\t\t\tif (query !== queryString) {\r\n\t\t\t\tthis.queryFilter.props.queryString = query;\r\n\t\t\t\tthis.onFilterChange(this.filters);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tprivate updateQueryParams(filters: OverviewFilterViewModel[]): void {\r\n\t\t\tconst queryParams = new URLSearchParams(\"\");\r\n\t\t\tfilters\r\n\t\t\t\t.filter((x) => x.type !== FilterTypes.query)\r\n\t\t\t\t.forEach((filter) => {\r\n\t\t\t\t\tconst activeOptions = filter.options.filter((x) => x.isActive);\r\n\t\t\t\t\tif (activeOptions.length > 0)\r\n\t\t\t\t\t\tqueryParams.append(filter.label, activeOptions.map((x) => x.label).join(\",\"));\r\n\t\t\t\t});\r\n\t\t\tif (this.queryFilter?.props?.queryString)\r\n\t\t\t\tqueryParams.set(this.queryFilter.label, this.queryFilter.props.queryString);\r\n\r\n\t\t\tconst url = new URL(window.location.href);\r\n\t\t\turl.search = queryParams.toString();\r\n\r\n\t\t\tif (window.history.replaceState) {\r\n\t\t\t\twindow.history.replaceState({}, document.title, url.toString());\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tprivate updateFilters(filters: OverviewFilterViewModel[]): void {\r\n\t\t\thttpClient\r\n\t\t\t\t.post(`/api/${this.vm.marketLanguagePrefix}/training/updateOverviewFilters`, { filters })\r\n\t\t\t\t.then((res) => {\r\n\t\t\t\t\tthis.overviewItems = [...res.data.overviewItems];\r\n\t\t\t\t\tthis.filters = [...res.data.filters];\r\n\t\t\t\t\tthis.updateQueryParams(res.data.filters);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => console.error(err))\r\n\t\t\t\t.finally(() => {\r\n\t\t\t\t\tcommonModule.hideSpinner(\"product-overview\");\r\n\t\t\t\t\tcommonModule.decreaseLoadingCount();\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n","import { render } from \"./trainingProductOverview.vue?vue&type=template&id=9458e4b0&scoped=true&ts=true\"\nimport script from \"./trainingProductOverview.vue?vue&type=script&lang=ts\"\nexport * from \"./trainingProductOverview.vue?vue&type=script&lang=ts\"\n\nimport \"./trainingProductOverview.vue?vue&type=style&index=0&id=9458e4b0&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9458e4b0\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, createBlock as _createBlock, createTextVNode as _createTextVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-50c6dfb4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"d-flex align-items-center mt-2 mb-2\"\n}\nconst _hoisted_2 = [\"src\", \"alt\"]\nconst _hoisted_3 = { class: \"d-flex flex-column justify-content-between\" }\nconst _hoisted_4 = { class: \"lead text-muted mb-0\" }\nconst _hoisted_5 = { class: \"m-0\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { class: \"text-bold\" }\nconst _hoisted_8 = { class: \"mr-1 text-bold lead\" }\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\" | \")\nconst _hoisted_10 = { class: \"d-flex align-items-center\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-check-circle text-success message-icon mr-2\" }, null, -1))\nconst _hoisted_12 = { class: \"d-flex align-items-center\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"pi pi-info-circle text-primary message-icon mr-2\" }, null, -1))\nconst _hoisted_14 = {\n key: 4,\n class: \"mt-3\"\n}\nconst _hoisted_15 = {\n key: 0,\n class: \"d-flex flex-wrap\"\n}\nconst _hoisted_16 = { class: \"d-flex flex-column\" }\nconst _hoisted_17 = { class: \"p-field-checkbox form-group mt-1\" }\nconst _hoisted_18 = [\"for\"]\nconst _hoisted_19 = { key: 0 }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", {\n class: \"pi pi-spin pi-spinner\",\n style: {\"font-size\":\"1.5rem\"}\n}, null, -1))\nconst _hoisted_21 = [\n _hoisted_20\n]\nconst _hoisted_22 = { class: \"ml-2\" }\nconst _hoisted_23 = [\"for\"]\nconst _hoisted_24 = { key: 1 }\nconst _hoisted_25 = { class: \"mr-1 text-bold lead\" }\nconst _hoisted_26 = /*#__PURE__*/_createTextVNode(\" | \")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BackButton = _resolveComponent(\"BackButton\")!\n const _component_Chip = _resolveComponent(\"Chip\")!\n const _component_TrainingDetailSummary = _resolveComponent(\"TrainingDetailSummary\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Message = _resolveComponent(\"Message\")!\n const _component_Column = _resolveComponent(\"Column\")!\n const _component_Checkbox = _resolveComponent(\"Checkbox\")!\n const _component_DataTable = _resolveComponent(\"DataTable\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_BackButton, {\n label: _ctx.$t('myCadac.trainingDetail.button.back')\n }, null, 8, [\"label\"]),\n (_ctx.vm.training)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: _ctx.vm.training.productIconUrl,\n alt: _ctx.vm.training.productIconAlt,\n class: \"icon-training-item mr-2\"\n }, null, 8, _hoisted_2),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_ctx.vm.training.brand), 1),\n _createElementVNode(\"h4\", _hoisted_5, _toDisplayString(_ctx.vm.training.name), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_TrainingDetailSummary, {\n vm: _ctx.vm.training\n }, {\n default: _withCtx(() => [\n (_ctx.vm.isParticipant)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"p\", _hoisted_7, _toDisplayString(_ctx.$t(\"myCadac.trainingSummary.lblPresence\")), 1),\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(_ctx.attendancePercentage(_ctx.userAsParticipant) || 0) + \"%\", 1),\n _hoisted_9,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.vm.training.dates, (date, dateIndex) => {\n return (_openBlock(), _createBlock(_component_Chip, {\n key: date,\n label: _ctx.formatDate(date.date),\n icon: _ctx.isParticipantPresentForDay(_ctx.userAsParticipant, dateIndex) ? 'pi pi-check' : 'pi pi-times',\n class: _normalizeClass(_ctx.isParticipantPresentForDay(_ctx.userAsParticipant, dateIndex) ? 'text-success' : 'text-danger')\n }, null, 8, [\"label\", \"icon\", \"class\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"vm\"]),\n (_ctx.vm.isParticipant && _ctx.canDownloadCertificate(_ctx.userAsParticipant))\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 1,\n closable: false,\n severity: \"custom\",\n class: \"message-with-button\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"myCadac.trainingDetail.message.canDownloadCertificate\")), 1)\n ]),\n _createVNode(_component_Button, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.downloadCertificate(_ctx.userAsParticipant))),\n label: _ctx.$t('myCadac.trainingDetail.button.downloadCertificate'),\n title: _ctx.$t('myCadac.trainingDetail.button.downloadCertificate_title'),\n class: \"p-button-text p-button-raised m-1\",\n icon: \"pi pi-download\"\n }, null, 8, [\"label\", \"title\"])\n ]),\n _: 1\n }))\n : (_ctx.vm.isParticipant && !_ctx.canDownloadCertificate(_ctx.userAsParticipant))\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 2,\n closable: false,\n severity: \"warn\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myCadac.trainingDetail.message.cannotDownloadCertificate\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.canDownloadAllCertificates)\n ? (_openBlock(), _createBlock(_component_Message, {\n key: 3,\n closable: false,\n severity: \"custom\",\n class: \"message-with-button\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"myCadac.trainingDetail.message.instructorDownloadAllCertificates\")), 1)\n ]),\n _createVNode(_component_Button, {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.downloadAllCertificates())),\n label: _ctx.$t('myCadac.trainingDetail.button.downloadAllCertificates'),\n title: _ctx.$t('myCadac.trainingDetail.button.downloadAllCertificates_title'),\n class: \"p-button-text p-button-raised m-1\",\n icon: \"pi pi-download\"\n }, null, 8, [\"label\", \"title\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n ((_ctx.vm.isInstructor || _ctx.vm.isCustomer) && _ctx.vm.training?.participants)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.vm.isInstructor\r\n\t\t\t\t\t? _ctx.$t(\"myCadac.trainingDetail.titleUpdateAttendance\")\r\n\t\t\t\t\t: _ctx.$t(\"myCadac.trainingDetail.titleAttendance\")), 1),\n _createVNode(_component_DataTable, {\n value: _ctx.trainingParticipants,\n dataKey: \"id\",\n \"auto-layout\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Column, {\n header: _ctx.$t('myCadac.trainingDetail.table.participant'),\n key: \"participant\",\n bodyClass: \"\"\n }, {\n body: _withCtx((item) => [\n _createTextVNode(_toDisplayString(_ctx.participantName(item.data)), 1)\n ]),\n _: 1\n }, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"email\",\n header: _ctx.$t('myCadac.trainingDetail.table.email'),\n key: \"email\"\n }, null, 8, [\"header\"]),\n _createVNode(_component_Column, {\n field: \"allPresenceDays\",\n key: \"allPresenceDays\",\n header: _ctx.$t('myCadac.trainingDetail.table.presence')\n }, {\n body: _withCtx((item) => [\n (_ctx.vm.isInstructor)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_Checkbox, {\n binary: true,\n modelValue: _ctx.participantAllDayPresent[item.data.id],\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.participantAllDayPresent[item.data.id]) = $event),\n disabled: _ctx.isSpinnerVisible[item.data.id],\n onClick: ($event: any) => (_ctx.toggleAllDatesPresent(item.data, item.index)),\n id: `allDaysPresent-${item.index}`\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"disabled\", \"onClick\", \"id\"]),\n _createElementVNode(\"label\", {\n class: \"ml-2 mb-0\",\n for: `allDaysPresent-${item.index}`\n }, _toDisplayString(_ctx.$t(\"myCadac.trainingDetail.table.lblAllDaysPresent\")), 9, _hoisted_18)\n ]),\n (_ctx.isSpinnerVisible[item.data.id])\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_19, _hoisted_21))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.vm.training.dates, (date, dateIndex) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"p-field-checkbox form-group mt-1\",\n key: date\n }, [\n _createVNode(_component_Checkbox, {\n binary: true,\n modelValue: item.data.allPresenceDays[dateIndex],\n \"onUpdate:modelValue\": ($event: any) => ((item.data.allPresenceDays[dateIndex]) = $event),\n disabled: _ctx.isSpinnerVisible[item.data.id],\n id: `dateCheckbox-${item.index}-${dateIndex}`,\n onChange: ($event: any) => (_ctx.toggleDatePresent(item.data))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"disabled\", \"id\", \"onChange\"]),\n _createElementVNode(\"label\", {\n class: \"ml-2 mb-0\",\n for: `dateCheckbox-${item.index}-${dateIndex}`\n }, _toDisplayString(_ctx.formatDate(date.date)), 9, _hoisted_23)\n ]))\n }), 128))\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_24, [\n _createElementVNode(\"span\", _hoisted_25, _toDisplayString(_ctx.attendancePercentage(item.data) || 0) + \"%\", 1),\n _hoisted_26,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.vm.training.dates, (date, dateIndex) => {\n return (_openBlock(), _createBlock(_component_Chip, {\n key: date,\n label: _ctx.formatDate(date.date),\n icon: _ctx.isParticipantPresentForDay(item.data, dateIndex) ? 'pi pi-check' : 'pi pi-times',\n class: _normalizeClass(_ctx.isParticipantPresentForDay(item.data, dateIndex) ? 'text-success' : 'text-danger')\n }, null, 8, [\"label\", \"icon\", \"class\"]))\n }), 128))\n ]))\n ]),\n _: 1\n }, 8, [\"header\"]),\n (_ctx.vm.isCustomer)\n ? (_openBlock(), _createBlock(_component_Column, {\n header: _ctx.$t('myCadac.trainingDetail.table.certificate'),\n key: \"certificate\",\n bodyClass: \"\"\n }, {\n body: _withCtx((item) => [\n (_ctx.canDownloadCertificate(item.data))\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n onClick: ($event: any) => (_ctx.downloadCertificate(item.data)),\n label: _ctx.isSmallScreen?.value ? _ctx.$t('myCadac.trainingDetail.button.downloadCertificate') : '',\n title: _ctx.$t('myCadac.trainingDetail.button.downloadCertificate_title'),\n class: \"p-button-text p-button-raised p-button-rounded\",\n icon: \"pi pi-download\"\n }, null, 8, [\"onClick\", \"label\", \"title\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"header\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"value\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\r\n\timport Checkbox from \"primevue/checkbox\";\r\n\timport TrainingDetailSummary from \"@/components/training/trainingDetailSummary.vue\";\r\n\timport { Helpers } from \"@/types/helpers/mixins\";\r\n\timport { IDropdownItem } from \"@/types/interfaces/common/dropdownItem.interface\";\r\n\timport { IFinishedTrainingDetail } from \"@/types/interfaces/myCadac/finishedTrainingDetail.interface\";\r\n\timport { TrainingParticipant } from \"@/types/generated/trainingParticipant\";\r\n\timport { Mixins, Prop } from \"vue-property-decorator\";\r\n\timport { Options } from \"vue-class-component\";\r\n\timport { PropType } from \"vue\";\r\n\timport { cloneDeep, values } from \"lodash\";\r\n\timport Chip from \"primevue/chip\";\r\n\timport commonModule from \"@/store/modules/commonModule\";\r\n\timport axios from \"@/types/helpers/apiHelper\";\r\n\timport { TrainingParticipantPresenceRequest } from \"@/types/generated/Api/trainingParticipantPresenceRequest\";\r\n\r\n\t@Options({ components: { TrainingDetailSummary, Checkbox, Chip } })\r\n\texport default class FinishedTrainingDetail extends Mixins(Helpers) {\r\n\t\t@Prop({ type: Object as PropType, required: true, default: {} })\r\n\t\tvm!: IFinishedTrainingDetail;\r\n\r\n\t\tsalutations: IDropdownItem[] = [];\r\n\t\ttrainingParticipants: TrainingParticipant[] = [];\r\n\t\tparticipantAllDayPresent: { [id: string]: boolean } = {};\r\n\r\n\t\tget userAsParticipant(): TrainingParticipant {\r\n\t\t\treturn this.trainingParticipants.find((x) => x.email === this.userProfile?.email) as TrainingParticipant;\r\n\t\t}\r\n\r\n\t\tget canDownloadCertificate() {\r\n\t\t\treturn (participant: TrainingParticipant) => this.isParticipantPresentForAllDays(participant);\r\n\t\t}\r\n\r\n\t\tget canDownloadAllCertificates(): boolean {\r\n\t\t\treturn this.vm.isCustomer && values(this.participantAllDayPresent).some(Boolean);\r\n\t\t}\r\n\r\n\t\tget attendancePercentage() {\r\n\t\t\treturn (participant: TrainingParticipant) =>\r\n\t\t\t\t(participant?.presenceDays * 100) / this.vm.training.dates?.length;\r\n\t\t}\r\n\r\n\t\tget participantName() {\r\n\t\t\treturn (participant: TrainingParticipant) =>\r\n\t\t\t\t`${participant.gender ? this.$t(`enum.salutation.${participant.gender || 3}`) : \"\"} ${\r\n\t\t\t\t\tparticipant.firstName\r\n\t\t\t\t} ${participant.lastName}`;\r\n\t\t}\r\n\r\n\t\tcreated() {\r\n\t\t\tthis.salutations = this.vm.genders.map((x) => ({ label: this.$t(`enum.salutation.${x.key}`), value: x.key }));\r\n\t\t\tthis.trainingParticipants = this.vm.training.participants;\r\n\t\t\tthis.trainingParticipants.forEach(\r\n\t\t\t\t(x) => (this.participantAllDayPresent[x.id] = this.isParticipantPresentForAllDays(x))\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tisParticipantPresentForAllDays(participant: TrainingParticipant): boolean {\r\n\t\t\treturn participant?.presenceDays === this.vm.training.dates?.length;\r\n\t\t}\r\n\r\n\t\tisParticipantPresentForDay(participant: TrainingParticipant, index: number): boolean {\r\n\t\t\treturn participant?.allPresenceDays[index] === true;\r\n\t\t}\r\n\r\n\t\tdownloadCertificate(participant: TrainingParticipant): void {\r\n\t\t\tconst basePath = window.location.href.replace(window.location.search, \"\");\r\n\t\t\tthis.openUrl(\r\n\t\t\t\t`${basePath}/GetCertificate/?trainingListId=${this.vm.training.id}&participantId=${participant.id}`,\r\n\t\t\t\t\"_blank\"\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tdownloadAllCertificates(): void {\r\n\t\t\tconst basePath = window.location.href.replace(window.location.search, \"\");\r\n\t\t\tthis.openUrl(`${basePath}/GetCertificate/?trainingListId=${this.vm.training.id}`, \"_blank\");\r\n\t\t}\r\n\r\n\t\ttoggleAllDatesPresent(participant: TrainingParticipant, index: number): void {\r\n\t\t\tif (!this.isParticipantPresentForAllDays(participant)) {\r\n\t\t\t\tthis.vm.training.dates?.forEach((_date, index) => (participant.allPresenceDays[index] = true));\r\n\t\t\t} else {\r\n\t\t\t\tparticipant.allPresenceDays = [false, false, false, false, false];\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tthis.trainingParticipants[index] = cloneDeep(participant);\r\n\t\t\tthis.updateParticipantPresence(participant);\r\n\t\t}\r\n\r\n\t\ttoggleDatePresent(participant: TrainingParticipant): void {\r\n\t\t\tthis.updateParticipantPresence(participant);\r\n\t\t}\r\n\r\n\t\tprotected updateParticipantPresence(participant: TrainingParticipant): void {\r\n\t\t\tconst model: TrainingParticipantPresenceRequest = {\r\n\t\t\t\ttrainingListId: this.vm.training.id,\r\n\t\t\t\tparticipantId: participant.id,\r\n\t\t\t\tpresenceList: participant.allPresenceDays,\r\n\t\t\t};\r\n\t\t\tcommonModule.showSpinner(participant.id);\r\n\t\t\taxios\r\n\t\t\t\t.post(\"/api/training/updateParticipantPresence\", model)\r\n\t\t\t\t.then((res) => {\r\n\t\t\t\t\tif (!res?.data) {\r\n\t\t\t\t\t\tthis.restoreParticipantPresence(participant);\r\n\t\t\t\t\t\tthis.showParticipantUpdateErrorToast();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tparticipant.presenceDays = participant.allPresenceDays.filter(Boolean).length;\r\n\t\t\t\t\t\tthis.participantAllDayPresent[participant.id] = this.isParticipantPresentForAllDays(participant);\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t.catch(() => {\r\n\t\t\t\t\tthis.restoreParticipantPresence(participant);\r\n\t\t\t\t\tthis.showParticipantUpdateErrorToast();\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => commonModule.hideSpinner(participant.id));\r\n\t\t}\r\n\r\n\t\tprivate showParticipantUpdateErrorToast(): void {\r\n\t\t\tthis.$toast.add({\r\n\t\t\t\tseverity: \"error\",\r\n\t\t\t\tsummary: this.$t(\"common.messages.titleError\"),\r\n\t\t\t\tdetail: this.$t(\"myCadac.trainingDetail.toast.updateParticipantPresenceError\"),\r\n\t\t\t\tclosable: false,\r\n\t\t\t\tlife: 3000,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tprivate restoreParticipantPresence(participant: TrainingParticipant): void {\r\n\t\t\tconst participantIndex = this.trainingParticipants.findIndex((x) => x.id === participant.id);\r\n\t\t\tparticipant.allPresenceDays = participant.allPresenceDays.map(\r\n\t\t\t\t(_, i) => participant[`trainingPresenceDay${i + 1}`]\r\n\t\t\t);\r\n\t\t\tparticipant.presenceDays = participant.allPresenceDays.filter(Boolean).length;\r\n\t\t\tthis.trainingParticipants[participantIndex] = cloneDeep(participant);\r\n\t\t\tthis.participantAllDayPresent[participant.id] = this.isParticipantPresentForAllDays(participant);\r\n\t\t}\r\n\t}\r\n","import { render } from \"./finishedTrainingDetail.vue?vue&type=template&id=50c6dfb4&scoped=true&ts=true\"\nimport script from \"./finishedTrainingDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./finishedTrainingDetail.vue?vue&type=script&lang=ts\"\n\nimport \"./finishedTrainingDetail.vue?vue&type=style&index=0&id=50c6dfb4&scoped=true&lang=scss\"\n\nimport exportComponent from \"D:\\\\a\\\\1\\\\s\\\\Cadac.eCommerce.Website\\\\Epi.Frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-50c6dfb4\"]])\n\nexport default __exports__","import SupportTicketOverview from '@/views/myCadac/supportTicketOverview.vue';\r\nimport WalletOverview from '@/views/myCadac/walletOverview.vue';\r\nimport SupportOverview from '@/views/myCadac/supportOverview.vue';\r\nimport ContractOverview from '@/views/myCadac/contractOverview.vue';\r\nimport OrderOverview from '@/views/myCadac/orderOverview.vue';\r\nimport FinishedTrainingOverview from '@/views/myCadac/finishedTrainingOverview.vue';\r\nimport PlannedTrainingOverview from '@/views/myCadac/plannedTrainingOverview.vue';\r\nimport PlannedTrainingDetail from '@/views/myCadac/plannedTrainingDetail.vue';\r\nimport ContractDetail from '@/views/myCadac/contractDetail.vue';\r\nimport ContractExtend from '@/views/myCadac/contractExtend.vue';\r\nimport AccountSettings from '@/views/myCadac/accountSettings.vue';\r\nimport ServiceOverview from '@/views/myCadac/serviceOverview.vue';\r\nimport ExpertProfile from '@/views/myCadac/expertProfile.vue';\r\nimport ExpertTravelPreferences from '@/views/myCadac/expertTravelPreferences.vue';\r\nimport ExpertAvailability from '@/views/myCadac/expertAvailability.vue';\r\nimport LicenceManagementOverview from '@/views/myCadac/licenceManagementOverview.vue';\r\nimport LicenceManagementDetail from '@/views/myCadac/licenceManagementDetail.vue';\r\nimport ShoppingCart from '@/views/commerce/shoppingCart.vue';\r\nimport SavedCartsOverview from '@/views/myCadac/savedCartsOverview.vue';\r\nimport MainLayout from '@/views/layout/mainLayout.vue';\r\nimport Checkout from '@/views/commerce/checkout.vue';\r\nimport CheckoutComplete from '@/views/commerce/checkoutComplete.vue';\r\nimport TrainingProduct from '@/views/commerce/trainingProduct.vue';\r\nimport TrainingProductOverview from '@/views/commerce/trainingProductOverview.vue';\r\nimport FinishedTrainingDetail from '@/views/myCadac/finishedTrainingDetail.vue';\r\n\r\n/*** Global components ***/\r\nexport const views = [\r\n\t{\r\n\t\tcomponent: MainLayout,\r\n\t\telement: 'main-layout',\r\n\t},\r\n\t{\r\n\t\tcomponent: SupportTicketOverview,\r\n\t\telement: 'support-ticket-overview',\r\n\t},\r\n\t{\r\n\t\tcomponent: SupportOverview,\r\n\t\telement: 'support-overview',\r\n\t},\r\n\t{\r\n\t\tcomponent: ContractOverview,\r\n\t\telement: 'contract-overview',\r\n\t},\r\n\t{\r\n\t\tcomponent: ContractDetail,\r\n\t\telement: 'contract-detail',\r\n\t},\r\n\t{\r\n\t\tcomponent: ContractExtend,\r\n\t\telement: 'contract-extend',\r\n\t},\r\n\t{\r\n\t\tcomponent: OrderOverview,\r\n\t\telement: 'order-overview',\r\n\t},\r\n\t{\r\n\t\tcomponent: WalletOverview,\r\n\t\telement: 'wallet-overview',\r\n\t},\r\n\t{\r\n\t\tcomponent: PlannedTrainingOverview,\r\n\t\telement: 'planned-training-overview',\r\n\t},\r\n\t{\r\n\t\tcomponent: FinishedTrainingOverview,\r\n\t\telement: 'finished-training-overview',\r\n\t},\r\n\t{\r\n\t\tcomponent: PlannedTrainingDetail,\r\n\t\telement: 'planning-training-detail',\r\n\t},\r\n\t{\r\n\t\tcomponent: FinishedTrainingDetail,\r\n\t\telement: 'finished-training-detail',\r\n\t},\r\n\t{\r\n\t\tcomponent: AccountSettings,\r\n\t\telement: 'account-settings',\r\n\t},\r\n\t{\r\n\t\tcomponent: ServiceOverview,\r\n\t\telement: 'service-overview',\r\n\t},\r\n\t{\r\n\t\tcomponent: SavedCartsOverview,\r\n\t\telement: 'saved-carts-overview',\r\n\t},\r\n\t{\r\n\t\tcomponent: ExpertProfile,\r\n\t\telement: 'expert-profile',\r\n\t},\r\n\t{\r\n\t\tcomponent: ExpertTravelPreferences,\r\n\t\telement: 'expert-travel-preferences',\r\n\t},\r\n\t{\r\n\t\tcomponent: ExpertAvailability,\r\n\t\telement: 'expert-availability',\r\n\t},\r\n\t{\r\n\t\tcomponent: ShoppingCart,\r\n\t\telement: 'shopping-cart',\r\n\t},\r\n\t{\r\n\t\tcomponent: Checkout,\r\n\t\telement: 'checkout',\r\n\t},\r\n\t{\r\n\t\tcomponent: CheckoutComplete,\r\n\t\telement: 'checkout-complete',\r\n\t},\r\n\t{\r\n\t\tcomponent: LicenceManagementOverview,\r\n\t\telement: 'licence-management-overview',\r\n\t},\r\n\t{\r\n\t\tcomponent: LicenceManagementDetail,\r\n\t\telement: 'licence-management-detail',\r\n\t},\r\n\t{\r\n\t\tcomponent: TrainingProduct,\r\n\t\telement: 'training-product',\r\n\t},\r\n\t{\r\n\t\tcomponent: TrainingProductOverview,\r\n\t\telement: 'training-product-overview',\r\n\t},\r\n];\r\n","import { createApp } from 'vue';\r\nimport PrimeVue from 'primevue/config';\r\nimport ConfirmationService from 'primevue/confirmationservice';\r\nimport ToastService from 'primevue/toastservice';\r\nimport vueDebounce, { PluginConfig, vue3Debounce } from 'vue-debounce';\r\n\r\nimport '@/assets/styles/styles.scss';\r\nimport store from '@/store';\r\nimport { components, primeComponents } from '@/components';\r\nimport { views } from '@/views';\r\nimport { IComponent } from '@/types/interfaces/common/component.interface';\r\nimport i18n, { getActiveLocale, loadMessagesForActiveLocale } from '@/types/utils/i18n';\r\nimport { createMemoryHistory, createRouter } from 'vue-router';\r\nimport VueTelInput from 'vue-tel-input';\r\nimport { registerScrollSpy } from 'vue3-scroll-spy';\r\n\r\n///////////////////////////////////////////////////////////////////////////\r\n/* eslint-disable @typescript-eslint/no-explicit-any*/\r\n\r\nconst app = createApp({\r\n\tname: 'CadacStore',\r\n});\r\napp.use(i18n);\r\napp.use(PrimeVue, { ripple: true });\r\napp.use(ConfirmationService);\r\napp.use(ToastService);\r\napp.use(store);\r\napp.use(VueTelInput, {\r\n\tpreferredCountries: ['nl', 'be', 'de', 'gb', 'ch', 'at', 'es', 'pt'],\r\n\tautoFormat: true,\r\n\tvalidCharactersOnly: true,\r\n\tmode: 'international',\r\n});\r\napp.use(vueDebounce, {\r\n\tlock: true,\r\n\tdefaultTime: '350ms',\r\n\tlistenTo: 'input',\r\n\ttrim: true,\r\n\tfireOnEmpty: false,\r\n} as PluginConfig);\r\napp.directive('debounce', vue3Debounce({ lock: true }));\r\napp.use(createRouter({ history: createMemoryHistory(), routes: [] }));\r\nregisterScrollSpy(app);\r\n\r\nlet hasLoadedViews = false;\r\nwindow.addEventListener('load', function () {\r\n\tif (!hasLoadedViews) {\r\n\t\tloadApplication();\r\n\t}\r\n});\r\n\r\n/**\r\n * This is the main function where the application components/views/translations will be loaded.\r\n * If views are loaded the application will be mounted\r\n */\r\nfunction loadApplication(this): void {\r\n\tloadComponents();\r\n\thasLoadedViews = loadViews();\r\n\r\n\tif (hasLoadedViews) {\r\n\t\t// Load online translations if it is enabled in the .env files\r\n\t\tif (JSON.parse(process.env.VUE_APP_LOCALAZY_ENABLE_CDN || JSON.parse(process.env.VUE_APP_LOCALAZY_ENABLE_API))) {\r\n\t\t\tloadMessagesForActiveLocale()\r\n\t\t\t\t.then((messages) => {\r\n\t\t\t\t\tconsole.log(`Fetched online translations for locale: ${getActiveLocale()}.\\n`, messages);\r\n\t\t\t\t\t// i18n.global.setLocaleMessage(getActiveLocale(), messages);\r\n\t\t\t\t})\r\n\t\t\t\t.catch((err) => {\r\n\t\t\t\t\tconsole.error(\r\n\t\t\t\t\t\t`Unable to load translations from Localazy.com - Falling back to local files for locale: ${getActiveLocale()}.\\n`,\r\n\t\t\t\t\t\terr\r\n\t\t\t\t\t);\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\tapp.mount('#app');\r\n\t}\r\n}\r\n\r\n/**\r\n * This function is used to register custom Vue components globally.\r\n * Will register all components from the components/index.ts\r\n */\r\nconst loadComponents = () => {\r\n\tcomponents.forEach((x: IComponent) => {\r\n\t\tapp.component(x.element, x.component as any);\r\n\t});\r\n\r\n\tprimeComponents.forEach((x: IComponent) => {\r\n\t\tapp.component(x.element, x.component as any);\r\n\t});\r\n};\r\n\r\n/**\r\n * This function is used to register the Vue components globally.\r\n * Will check for each view from views/index.ts if it is in the DOM before loading it.\r\n */\r\nconst loadViews = (): boolean => {\r\n\tlet hasLoadedView = false;\r\n\tviews.forEach((x: IComponent) => {\r\n\t\tif (!document.querySelector(x.element)) return;\r\n\t\t// TODO: Remove console.log for production\r\n\t\tconsole.log(`Load view ${x.element}`);\r\n\t\tapp.component(x.element, x.component as any);\r\n\t\thasLoadedView = true;\r\n\t});\r\n\treturn hasLoadedView;\r\n};\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./contractDetailSwitchCard.vue?vue&type=style&index=0&id=a1ca7df4&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./trainingProduct.vue?vue&type=style&index=0&id=d98b0f06&scoped=true&lang=scss\"","var map = {\n\t\"./de.json\": \"2be1\",\n\t\"./en.json\": \"6a6a\",\n\t\"./es.json\": \"645f\",\n\t\"./fr.json\": \"6f77\",\n\t\"./nl.json\": \"c28c\",\n\t\"./pt.json\": \"762e\"\n};\n\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(function() {\n\t\tif(!__webpack_require__.o(map, req)) {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\tvar id = map[req];\n\t\treturn __webpack_require__.t(id, 3);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"e5ec\";\nmodule.exports = webpackAsyncContext;","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./walletOverview.vue?vue&type=style&index=0&id=415af2e0&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./contractExtendModal.vue?vue&type=style&index=0&id=5c72a518&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./productConfiguration.vue?vue&type=style&index=0&id=4183ed08&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./paymentMethodSelection.vue?vue&type=style&index=0&id=6800aa2c&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./trainingParticipantsTable.vue?vue&type=style&index=0&id=610763a3&scoped=true&lang=scss\""],"sourceRoot":""}