{"version":3,"sources":["webpack:///./src/popupcomponents/payments/ChangeCustomPaymentModal.vue?bcf6","webpack:///./src/popupcomponents/payments/ChangeCustomPaymentModal.vue?9c22","webpack:///./src/popupcomponents/payments/ChangeCustomPaymentModal.vue?6e1c","webpack:///./src/popupcomponents/payments/ChangeCustomPaymentModal.vue","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountTable.vue?b773","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountTable.vue?9c7f","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountTable.vue?8e31","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountTable.vue","webpack:///./src/assets/images/payments/merchant-account-setup.svg","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckoutDetail.vue?4982","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckoutDetail.vue?fe06","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckoutDetail.vue?0c2c","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckoutDetail.vue","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.less?0b02","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/FeeDetails.vue?d5d7","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/FeeDetails.vue?c9c8","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/FeeDetails.vue?14c7","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/FeeDetails.vue","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckoutDetail.vue?36db","webpack:///./src/Model/notificationBox/types.ts","webpack:///./src/commoncomponents/CardComponent.vue?736e","webpack:///./src/assets/images/trash.svg","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue?cf84","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.ts","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue?0f28","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue?47c6","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue","webpack:///./src/commoncomponents/EmptyStateContainer.vue?fb40","webpack:///./src/popupcomponents/payments/ChangeFeeModal.vue?d93b","webpack:///./src/popupcomponents/payments/ChangeFeeModal.vue?981e","webpack:///./src/popupcomponents/payments/ChangeFeeModal.vue?4223","webpack:///./src/popupcomponents/payments/ChangeFeeModal.vue","webpack:///./src/services/common/formatters.ts","webpack:///./src/assets/font-awesomes/external-link-alt.svg","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckout.vue?8b82","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckout.vue?1d8c","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckout.vue?cd4b","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckout.vue","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/MultiParticipantRules.vue?13fe","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/MultiParticipantRules.vue?095b","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/MultiParticipantRules.vue?8aa2","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/MultiParticipantRules.vue","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/StorePolicyControls.vue?c3ce","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/StorePolicyControls.vue?4cc7","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/StorePolicyControls.vue?b912","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/StorePolicyControls.vue","webpack:///./src/assets/images/common-icon/search.svg","webpack:///./node_modules/core-js/modules/es.regexp.flags.js","webpack:///./src/assets/font-awesomes/context_menu_icon.svg","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountTableRow.vue?910e","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountTableRow.vue?3b2a","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountTableRow.vue?2cd7","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountTableRow.vue","webpack:///./src/Model/forms/types.ts","webpack:///./src/services/payments/helpers.ts","webpack:///./src/validators/payments/validators.ts","webpack:///./src/popupcomponents/StateModal.vue?3607","webpack:///./src/popupcomponents/StateModal.vue?1bb3","webpack:///./src/popupcomponents/StateModal.vue?8199","webpack:///./src/popupcomponents/StateModal.vue","webpack:///./src/popupcomponents/StateModal.vue?a0cc","webpack:///./src/validators/sessions/validators.ts","webpack:///./src/commoncomponents/ToggleSwitch.vue?b54d","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomizeFee.vue?bc02","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomizeFee.vue?ac37","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomizeFee.vue?7658","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomizeFee.vue","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomizeFee.vue?da91","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/EarlyRegistration.vue?f764","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/EarlyRegistration.vue?00ac","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/EarlyRegistration.vue?467c","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/EarlyRegistration.vue","webpack:///./src/assets/images/scholars/add-new-scholars/arrowDown.svg","webpack:///./src/commoncomponents/CardComponent.vue?a3d5","webpack:///./src/commoncomponents/CardComponent.vue?f6d9","webpack:///./src/commoncomponents/CardComponent.vue?0c4f","webpack:///./src/commoncomponents/CardComponent.vue","webpack:///./src/commoncomponents/ToggleSwitch.vue?5d1b","webpack:///./src/commoncomponents/ToggleSwitch.vue?22d6","webpack:///./src/commoncomponents/ToggleSwitch.vue?9759","webpack:///./src/commoncomponents/ToggleSwitch.vue","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/FeeDetails.vue?e09d","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountTable.vue?35e0","webpack:///./src/popupcomponents/payments/ChangeCustomPaymentModal.vue?6652","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/Payments.vue?96ef","webpack:///./src/ui-components/dropdownListBx/DropdownList.less?58ad","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/StorePolicyControls.vue?eb5e","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckout.vue?4512","webpack:///./src/assets/images/cms/facet-chevron-down.svg","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/Payments.vue?95e5","webpack:///./src/constants/StripeConst.ts","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/Payments.vue?4869","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/Payments.vue?4951","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/Payments.vue","webpack:///./src/commoncomponents/NotificationBox.vue?eee8","webpack:///./src/commoncomponents/NotificationBox.vue?c7af","webpack:///./src/commoncomponents/NotificationBox.vue?fa43","webpack:///./src/commoncomponents/NotificationBox.vue","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/MultiParticipantRules.vue?0d7c","webpack:///./src/commoncomponents/NotificationBox.vue?4039","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountTableRow.vue?e97d","webpack:///./node_modules/vue-currency-input/dist/vue-currency-input.esm.js","webpack:///./public/images/Vector.svg","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountConfiguration.vue?0162","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountConfiguration.vue?5429","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountConfiguration.vue?1122","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountConfiguration.vue","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/DiscountConfiguration.less?12aa","webpack:///./src/components/accountDetailsComponent/accountDataTabs/payments/EarlyRegistration.vue?6d46","webpack:///./src/commoncomponents/EmptyStateContainer.vue?9a82","webpack:///./src/commoncomponents/EmptyStateContainer.vue?55d4","webpack:///./src/commoncomponents/EmptyStateContainer.vue?5931","webpack:///./src/commoncomponents/EmptyStateContainer.vue","webpack:///./src/ui-components/dropdownListBx/DropdownList.vue?e467","webpack:///./src/ui-components/dropdownListBx/DropdownList.ts","webpack:///./src/ui-components/dropdownListBx/DropdownList.vue?d481","webpack:///./src/ui-components/dropdownListBx/DropdownList.vue?a56d","webpack:///./src/ui-components/dropdownListBx/DropdownList.vue","webpack:///./src/popupcomponents/payments/ChangeFeeModal.vue?b417"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","isVisibleSync","on","$event","onCancel","staticClass","_v","_s","screenText","getScreenText","onSave","staticRenderFns","ChangeCustomPaymentModal","ScreenText","$emit","Vue","tslib_1","PropSync","Component","components","BaseModal","component","_l","discount","index","key","generateRandomIds","IDS_LENGTH","id","onDelete","isModalVisible","modalConfig","onClose","onConfirm","DiscountTable","discountType","DiscountType","discountUnitType","AmountUnitType","timeRangeType","TimeRangeType","APP_UTILITIES","generateRandomAlphanumericId","currentDiscount","title","description","type","StateModalType","ERROR","cancelButtonLabel","confirmButtonLabel","paymentsModule","deleteAutomaticDiscount","console","error","UIkit","accordion","toggle","discountList","sort","a","b","discountTypeId","CardComponent","ToggleSwitch","DiscountTableRow","StateModal","module","exports","scopedSlots","_u","fn","class","checkoutInstruction","checkoutName","_e","toggleEditCustomCheckout","enabled","disableSwitch","proxy","CustomCheckoutDetail","_firstRender","name","data","checkoutOption","isEnabled","updateCustomOptionStatus","customCheckoutId","onStatusUpdated","showToastMessage","ToastType","Success","Error","instructions","Prop","required","Watch","feeName","feeAmount","isActive","taxRateDisplay","toggleEditCustomFee","FeeDetails","changeCustomFeeStatus","updateCustomFee","customFee","status","Status","Active","feeAmountString","getFormattedFeeDisplayValue","taxRate","displayName","percentage","isLoadingCustomFee","isSavingCustomFee","NotificationBoxType","style","STYLE","COLOR","PRIMARY_700","BouncingPreloaderComponent","APP_CONST","ChangeFeeModal","formatCurrency","amount","currencyOptions","CURRENCY_OPTIONS","currencyFormatter","Intl","NumberFormat","locale","currency","format","isCustomizeCheckoutVisibleSync","isChangeCustomPaymentModalVisible","confirmChangeCustomPayment","closeChangeCustomPaymentModal","ref","handleSubmit","preventDefault","beforeOnSave","validationMode","Eager","errors","invalid","validated","directives","rawName","value","expression","modifiers","domProps","target","composing","trim","$forceUpdate","visibility","autoEnrollOptions","Enroll","_q","checkoutType","Waitlist","Pending","isValidationForProgress","saveButtonText","CustomCheckout","nameText","toLowerCase","CustomCheckoutAutoEnrollOptions","VeeValidateProviderMode","isSavingCustomPayment","onCreated","autoEnrollStatusId","registerValidators","resetInputs","formObserverRef","validate","flags","valid","reset","canSave","updateCustomCheckout","createCustomCheckout","accountID","getAccountId","OnSaveCustomPayment","changed","checkoutNameRequiredValidator","replace","Boolean","Ref","OffCanvas","DropdownList","CurrencyInput","ValidationObserver","ValidationProvider","ProgressButton","rule","idx","rules","length","refInFor","discountUnitAmountSync","PERCENT_RATE","onAmountUpdated","$set","staticStyle","MultiParticipantRules","formRef","message","getErrorMsgLabel","discountAmount","percentInputRequiredValidator","Number","String","deep","showLoadingSpinner","Danger","fetchFailedErrorMessage","saveStorePolicy","policySwitchLabel","enabledProviderVid","policyUrlLabel","urlRules","getUrlValidationMode","url","saveFailed","saveFailedErrorMessage","translatedLoadingToProgressButtonState","isValidForProgressButton","buttonPolicySave","Payments","accountId","getCookie","urlMaxLength","required_if","values","regex","urlRegex","max","extend","fetchStorePolicy","resetUrlInput","then","resetEnabledInput","initialValue","enabledProviderRef","validateSilent","urlProviderRef","Passive","isSavingStorePolicy","payload","didSaveStorePolicyFail","policySavedSuccess","onSaveFailed","buttonState","isFetchingStorePolicy","storePolicy","didFetchStorePolicyFail","NotificationBox","DESCRIPTORS","objectDefinePropertyModule","regExpFlags","UNSUPPORTED_Y","f","RegExp","prototype","configurable","get","toggleAccordion","isToggleOpen","MULTI_PARTICIPANT","appliesTo","discountTableLabel","_m","handleEdit","participants","commonUtils","addSymbol","amountUnitType","FIXED_AMOUNT","earlyRegistrationSessionLabel","discountListComputed","toggleStatusAutomaticDiscount","copyDiscounts","UPDATE_AUTOMATIC_DISCOUNT_LIST","SET_SELECTED_AUTOMATIC_DISCOUNT","setIsConfiguratioDiscountMenuOpen","EARLY_REGISTRATION","earlyRegistration","multipleParticipants","timeRangeUnit","earlyRegistrationDateLabel","FormValidationError","percentToNumber","fee","result","feeValue","toLocaleString","feeType","ConvenienceFeeType","FixedAmount","Percentage","percentTwoDecimalRegexPattern","percentInputDecimalLengthValidator","percentInputBetweenValueValidator","args","numValue","between","fixedAmountFeeMinValueValidator","min_value","fixedAmountFeeRequiredValidator","percentInputBetweenValidator","params","feeNameRequiredValidator","customFeeSelectionRequiredValidator","percentInputTwoDecimalPlacesValidator","discountDescriptionRequiredValidator","iconClass","config","btnClass","WARNING","priceGreaterThanZeroWithTaxRateValidator","price","registerPriceRequiredValidator","requiredField","registerPriceMinValueValidator","registerPriceGreaterThanZeroWithTaxRateValidator","isCustomizeFeeVisibleSync","percentInputVid","convenienceFeeType","displayPercentRate","percentBasedInputRules","addPercentSignToPercentInput","onPercentInputFocus","forceNumberInput","percentInput","isPercentRateDisplayed","fixedAmountInputVid","displayFixedAmount","fixedAmountInputRules","allowNegative","onFixedAmountBlur","model","callback","$$v","fixedAmountInput","_n","displayRadioInputError","taxDropdownOptions","onSelectTax","saveProgressButtonState","isChangeFeeModalVisible","confirmChangeFee","closeChangeFeeModal","CustomizeFee","initialCustomFeeTemplate","payments","isFixedAmountDisplayed","selectATaxRateDropdownItem","getTaxRates","selection","oneBasedDropdownIndex","convertedZeroBasedTaxRateIndex","taxRates","percentRadioError","fixedAmountRadioError","radioError","fetchAllTaxRates","event","targetElement","updatedInput","visible","setCustomFee","asKeyOf","resetFeeInputs","setCustomFeeValues","updatedFee","fixed_amount_min_value","fixed_amount_required","percent_input_between","min","percent_input_required","percent_input_decimal_length","didSavingCustomFeeFail","dropdownList","selectedTaxRate","concat","map","zeroBasedIndex","convertedOneBasedIndexForDropdown","taxRateDropdownItemForIndex","singleSelect","showSelectLabel","earlyDiscountEndsSync","discountRuleListDropdown","onSelectSessionStart","earlyAmountValueSync","EarlyRegistration","disableMarginTop","_t","shouldExpandFullWidth","default","inputId","indexOf","_k","keyCode","toggleValue","disabled","Array","isArray","valueSync","_i","$$a","$$el","$$c","checked","$$i","slice","uuid","v4","isCurrentlyLoading","isLoadingCustomCheckouts","isCustomizeFeeVisible","selectedCustomCheckoutOption","isCustomCheckoutVisible","refreshOnSaveCustomPayment","isAutomaticDiscountVisible","hasOnBoardingCompleted","manageOnlinePaymentSettingsTitle","manageSettingsDesc","STRIPE_CONST","URLS","settings","buttonDisplaySettings","merchantAccountErrorText","payoutTitle","payoutDesc","payouts","buttonPayout","policyTitle","optional","policyDesc","taxTitle","taxDesc","tax_rate","buttonTax","couponTitle","couponDesc","couponInfoBoxText","coupons","buttonCoupon","isCustomPaymentEnabled","label","payment_methods","payment","refreshCustomPayment","showCustomCheckout","showCustomCheckoutSpinner","feeCardTitle","feeCardDesc","shouldDisplayCustomFeeSpinner","showCustomFeeForm","addFeeButtonText","shouldDisplayAutomaticDiscountSpinner","showAutomaticDiscount","reportingTitle","reportingDesc","reportingExample","reports_link","buttonDisplayReports","merchantAccountSetupTitle","merchantAccountSetupSubtitle","translateLoadingToProgressButtonState","retrieveOnboardingLink","shouldShowMerchantAccountError","merchantAccountRetryButtonText","merchantAccountSetupButtonText","STRIPE_CONSTANTS","isAutomaticDiscountEnabled","isFetchingOnboardingLink","didOnboardingLinkFetchFail","getFeatureFlag","FEATURE_KEYS","customPayments","customPaymentFlag","automaticDiscounts","automaticDiscountFlag","getCustomCheckoutMethods","fetchAutomaticDiscountsByAccount","resetOnboardingState","retrieveOnboardingStatusAndFee","getCustomCheckoutOptionList","getOnboardingStatus","retrieveCustomFee","getOnboardingLink","onboardingUrl","window","location","href","link","route","assign","isConfigurationDiscountMenuOpen","MOCKED_DISCOUNTS","stripeAccountResponse","onboardingStatus","OnboardingStatus","InProgress","isFetchingOnboardingStatus","didOnboardingStatusFetchFail","Completed","isFetchingAutomaticDiscounts","isDeletingDiscount","isUpdatingDiscount","accountIdCookie","parseInt","BouncingPreloader","EmptyStateContainer","StorePolicyControls","DiscountConfiguration","typeStyleClass","toLocaleLowerCase","Info","escapeRegExp","str","removeLeadingZeros","count","search","match","startsWith","substring","substringBefore","DECIMAL_SYMBOLS","INTEGER_PATTERN","options","precision","autoDecimalMode","valueAsInteger","numberFormat","minimumFractionDigits","ps","digits","i","decimalSymbol","substr","undefined","groupingSymbol","minusSymbol","maximumFractionDigits","resolvedOptions","prefix","negativePrefix","suffix","lastIndexOf","parse","negative","isNegative","normalizeDigits","stripCurrencySymbol","stripMinusSymbol","fraction","stripGroupingSymbol","isValidIntegerFormat","split","number","toFixed","join","integerNumber","Object","useGrouping","includes","insertCurrencySymbol","Math","abs","toFraction","onlyLocaleDigits","isFractionIncomplete","normalizeDecimalSymbol","from","this$1","forEach","s","digit","onlyDigits","DEFAULT_OPTIONS","distractionFree","valueRange","formattedValue","mergedOptions","getValue","$el","$ci","setValue","equal","keys","every","hasOwnProperty","bind","DefaultNumberMask","conformToMask","previousConformedValue","checkIncompleteValue","incompleteValue","integer","integerDigits","fractionDigits","invalidFraction","invalidNegativeValue","numberValue","AutoDecimalModeNumberMask","pow","getCaretPositionAfterFormat","newValue","inputtedValue","caretPosition","decimalSymbolPosition","caretPositionFromLeft","hideCurrencySymbol","getDistractionFreeCaretPosition","hideGroupingSymbol","MAX_SAFE_INTEGER","NumberInput","el","callbackFns","addEventListener","init","currencyFormat","newOptions","hideNegligibleDecimalDigits","setAttribute","numberMask","setOptions","applyFixedFractionFormat","forcedChange","validateValueRange","onChange","updateInputValue","decimalSymbolInsertedAt","conformedValue","focus","onInput","selectionStart","setCaretPosition","capture","setTimeout","selectionEnd","e","start","end","setSelectionRange","directive","vnode","optionsFromBinding","inputElement","tagName","querySelector","context","globalOptions","listeners","componentOptions","emit","componentUpdated","oldValue","h","$listeners","change","input","props","mounted","computed","watch","methods","plugin","install","componentName","directiveName","use","isConfigurationDiscountMenuOpenComputed","typeListDropdown","onSelectType","currentTypeSelection","isSelectInvalid","discountUnitAmount","SELECT_TYPE_VALUE","rulesVal","formDiscountObserverRef","onAddMultiParticipantRule","onRemoveMultiParticipantRule","onPercentageUpdate","earlyDiscountEnds","earlyAmountValue","onChangeSessionStart","isSaveDisabled","toggleConfirmationModal","handleConfirm","MULTI_PARTICIPANT_INITIAL_SEQUENCE_NUMBER","MULTI_PARTICIPANT_MAX_SEQUENCE_NUMBER","DISCOUNT_APPLICATION_SCOPE","$refs","discountForm","isUnitResetNeeded","earlyDiscountListOptions","MONTHS","DAYS","WEEKS","typeListOptions","initMultiParticipantRuleList","isTypeValid","touched","cleanMultiParticipantAmounts","isMenuOpen","currentDiscountItem","getSelectedDiscount","setExistingDiscountValues","set","targetDiscountTypeSelection","find","discountItem","earlyRegistrationEntry","onResetEarlyRegistrationDiscount","onResetMultiParticipantRules","sequenceStartNumber","discountRules","participantCounterList","_","rawRuleStructure","errorText","targetDiscountRules","item","isDiscountRulesDisabled","ruleAmount","disable","ruleItem","val","lastRuleItem","pop","filteredDropdownItems","filter","ruleItemValue","newRule","push","updatedRules","sessionStartItemReference","isFormDiscountValid","onUpdate","currentActiveRules","getActiveRules","requestDiscountObj","createAutomaticDiscount","selectedDiscount","updateAutomaticDiscount","newRules","classes","openDropdown","dropdown","publicUniqueId","autoSelectionAllowed","toggleDropdown","checkKey","currentTarget","onDropdownOpen","select","firstSelectLabel","stopPropagation","changeFocusOnHover","placeholder","evt","active","clearSearch","filterList","obj","isDropdownElementIdValid","hovering","hoverText","styleObject","dropdownElement","searchElementId","activeLetter","selectedIndex","selectableLableHover","floor","random","close","FALSE","TRUE","MINUS_ONE","children","document","getElementsByClassName","getElementById","activeEle","getElementsByName","scrollIntoView","block","behavior","element","classList","add","findIndex","toFind","ZERO","remove","inline","dropdownMenuItems","selected","selectFirstElement","old","newVal","ONE","dropDownValues","attribute","searchElement","activeElement","code","refocusDD","shiftKey","goToSearch","fromCharCode","test","loopStart","innerText","charAt","inp","currentElm","drop","classlist","list","dropList","btnElment","filters"],"mappings":"+eAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,YAAY,CAACE,MAAM,CAAC,UAAYN,EAAIO,eAAeC,GAAG,CAAC,mBAAmB,SAASC,GAAQT,EAAIO,cAAcE,GAAQ,oBAAoB,SAASA,GAAQT,EAAIO,cAAcE,GAAQ,WAAaT,EAAIU,WAAW,CAACN,EAAG,MAAM,CAACO,YAAY,oBAAoB,CAACP,EAAG,IAAI,CAACO,YAAY,0DAA0DP,EAAG,MAAM,CAACO,YAAY,+DAA+D,CAACX,EAAIY,GAAG,oCAAoCR,EAAG,MAAM,CAACO,YAAY,sDAAsD,CAACX,EAAIY,GAAG,mHAAmHR,EAAG,MAAM,CAACO,YAAY,gGAAgG,CAACP,EAAG,SAAS,CAACO,YAAY,8DAA8DH,GAAG,CAAC,MAAQR,EAAIU,WAAW,CAACV,EAAIY,GAAG,IAAIZ,EAAIa,GAAGb,EAAIc,WAAWC,cAAc,qBAAqB,OAAOX,EAAG,SAAS,CAACO,YAAY,sCAAsCH,GAAG,CAAC,MAAQR,EAAIgB,SAAS,CAAChB,EAAIY,GAAG,IAAIZ,EAAIa,GAAGb,EAAIc,WAAWC,cAAc,kBAAkB,YAChsCE,EAAkB,G,4GCqCDC,EAAwB,YAL7C,mBAMgC,OANhC,uB,+DAME,EAAAJ,WAAa,IAAIK,OAAa,EAU7B,OAX0C,oBAY5C,mDANGlB,KAAKmB,MAAM,gBACZ,+BAGCnB,KAAKmB,MAAM,kCACZ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4M,SAAS,EACT3V,aAAc,CAAC,CAAEtW,GAAI,EAAGyH,MAAO,eAErC,+BAIFrI,QADC8E,kBAAM,8BA8EP9E,QADCgF,eAAM,wBAAyB,CAAEwH,MAAM,KAAO,yCAlH9BvB,EAAY,QAJhC/K,eAAU,CACPgE,KAAM,eACN6uB,QAAS,MAEQ9nB,WC6BNA,ICtC0Y,I,wBCQrZ5K,EAAY,eACd,EACA5B,EACAkB,GACA,EACA,KACA,WACA,MAIa,aAAAU,E,kECnBf","file":"js/chunk-0b1df10c.10a3b8f987b166daad52.1725496708077.min.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseModal',{attrs:{\"isVisible\":_vm.isVisibleSync},on:{\"update:isVisible\":function($event){_vm.isVisibleSync=$event},\"update:is-visible\":function($event){_vm.isVisibleSync=$event},\"closepopup\":_vm.onCancel}},[_c('div',{staticClass:\"uk-margin-bottom\"},[_c('i',{staticClass:\"fa-solid fa-triangle-exclamation fa-7x warning-icon\"})]),_c('div',{staticClass:\"change-custom-payment-title uk-margin-auto uk-margin-bottom\"},[_vm._v(\" Change your custom checkout. \")]),_c('div',{staticClass:\"change-custom-payment-text uk-margin-medium-bottom\"},[_vm._v(\" Are you sure you want to change your custom checkout settings? This will impact the application experience. \")]),_c('div',{staticClass:\"uk-flex uk-flex-right uk-margin-remove-bottom uk-padding-remove-bottom arly-button-container\"},[_c('button',{staticClass:\"btn-secondary uk-margin-small-right uk-margin-remove-bottom\",on:{\"click\":_vm.onCancel}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"BTN_GO_BACK_CAPS\"))+\" \")]),_c('button',{staticClass:\"btn-primary uk-margin-remove-bottom\",on:{\"click\":_vm.onSave}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"BTN_SAVE_CAPS\"))+\" \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, PropSync } from \"vue-property-decorator\";\nimport BaseModal from \"@/popupcomponents/BaseModal.vue\";\nimport { ScreenText } from \"@/lang/ScreenText\";\n\n@Component({\n components: {\n BaseModal\n }\n})\nexport default class ChangeCustomPaymentModal extends Vue {\n screenText = new ScreenText();\n\n @PropSync(\"isVisible\") isVisibleSync!: boolean;\n\n onCancel() {\n this.$emit(\"closepopup\");\n }\n\n onSave() {\n this.$emit(\"confirmChangeCustomPayment\");\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangeCustomPaymentModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangeCustomPaymentModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChangeCustomPaymentModal.vue?vue&type=template&id=baf522fe&scoped=true&\"\nimport script from \"./ChangeCustomPaymentModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChangeCustomPaymentModal.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ChangeCustomPaymentModal.vue?vue&type=style&index=0&id=baf522fe&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"baf522fe\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"table-wrapper\"},[_c('table',{staticClass:\"table\"},[_c('tr',[_c('th',{staticClass:\"table-header-width-6\"}),_c('th',{staticClass:\"card-header table-header-width-20\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_NAME\"))+\" \")]),_c('th',{staticClass:\"card-header table-header-width-15\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT_TYPE\"))+\" \")]),_c('th',{staticClass:\"card-header table-header-width-15\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT_APPLY_TO\"))+\" \")]),_c('th',{staticClass:\"card-header table-header-width-35\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT\"))+\" \")]),_c('th',{staticClass:\"table-header-width-5\"}),_c('th',{staticClass:\"table-header-width-5\"})]),_vm._l((_vm.discountListComputed),function(discount,index){return [_c('tr',{key:((discount.id) + \"-\" + (_vm.generateRandomIds(_vm.IDS_LENGTH))),staticClass:\"spacer\"},[_c('td')]),_c('DiscountTableRow',{key:discount.id,attrs:{\"discount\":discount,\"index\":index},on:{\"onDelete\":_vm.onDelete}}),_c('tr',{key:((discount.id) + \"-\" + (_vm.generateRandomIds(_vm.IDS_LENGTH))),staticClass:\"spacer\"},[_c('td')])]})],2)]),_c('StateModal',{attrs:{\"isVisible\":_vm.isModalVisible,\"config\":_vm.modalConfig},on:{\"update:isVisible\":function($event){_vm.isModalVisible=$event},\"update:is-visible\":function($event){_vm.isModalVisible=$event},\"onClose\":_vm.onClose,\"onConfirm\":_vm.onConfirm}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport CardComponent from \"@/commoncomponents/CardComponent.vue\";\nimport { ScreenText } from \"@/lang/ScreenText\";\nimport paymentsModule from \"@/store/modules/Payments/module\";\nimport ToggleSwitch from \"@/commoncomponents/ToggleSwitch.vue\";\nimport APP_UTILITIES from \"@/utilities/commonFunctions\";\n\nimport {\n Discount,\n DiscountType,\n AmountUnitType,\n StateModalType,\n TimeRangeType,\n} from \"@/Model/payments/types\";\nimport UIkit from \"uikit\";\nimport DiscountTableRow from \"./DiscountTableRow.vue\";\nimport StateModal from \"@/popupcomponents/StateModal.vue\";\n\n@Component({\n components: {\n CardComponent,\n ToggleSwitch,\n DiscountTableRow,\n StateModal,\n },\n})\nexport default class DiscountTable extends Vue {\n screenText = new ScreenText();\n discountType = DiscountType;\n discountUnitType = AmountUnitType;\n timeRangeType = TimeRangeType;\n isModalVisible = false;\n generateRandomIds = APP_UTILITIES.generateRandomAlphanumericId;\n IDS_LENGTH = 5;\n currentDiscount: Discount | null = null;\n\n modalConfig = {\n title: \"Delete discount?\",\n description:\n \"You will permanently delete the selected discount rules and amount. You cannot undo this action.\",\n type: StateModalType.ERROR,\n cancelButtonLabel: \"cancel\",\n confirmButtonLabel: \"Delete discount\",\n };\n\n onClose() {\n this.isModalVisible = false;\n }\n async onConfirm() {\n if (this.currentDiscount) {\n try {\n this.isModalVisible = false;\n await paymentsModule.deleteAutomaticDiscount(this.currentDiscount.id);\n } catch (error) {\n console.error(\"An error occurred while deleting the discount:\", error);\n }\n }\n }\n\n onDelete(discount: any) {\n this.isModalVisible = true;\n this.currentDiscount = discount;\n }\n\n toggleAccordion(index: number) {\n UIkit.accordion(`#accordion-toggle-${index}`).toggle();\n }\n\n /**\n * Computes and returns a sorted list of discounts.\n *\n * The list is sorted by the discount type in descending order.\n *\n * @returns {Discount[]} The sorted array of discounts.\n */\n get discountListComputed(): Discount[] {\n return paymentsModule.discountList.sort(\n (a, b) => b.discountTypeId - a.discountTypeId\n );\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DiscountTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DiscountTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DiscountTable.vue?vue&type=template&id=1f2efe5b&scoped=true&\"\nimport script from \"./DiscountTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./DiscountTable.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DiscountTable.vue?vue&type=style&index=0&id=1f2efe5b&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f2efe5b\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/merchant-account-setup.b8abeb7d.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CardComponent',{staticClass:\"card-component\",attrs:{\"disableMarginTop\":true},scopedSlots:_vm._u([{key:\"subtitle\",fn:function(){return [_c('div',{staticClass:\"uk-flex uk-flex-between uk-width-1-1\"},[_c('div',{staticClass:\"uk-flex uk-flex-middle \"},[_c('span',{staticClass:\"custom-payment-title\",class:{ 'full-width': !_vm.checkoutInstruction }},[_vm._v(_vm._s(_vm.checkoutName))]),(_vm.checkoutInstruction)?_c('span',{staticClass:\"custom-payment-detailed-info\"},[_c('span',{staticClass:\"custom-payment-title margin-title\"},[_vm._v(\"Instructions: \")]),_c('div',{staticClass:\"custom-payment-tax-formatted\"},[_vm._v(\" \"+_vm._s(_vm.checkoutInstruction)+\" \")])]):_vm._e()]),_c('div',{staticClass:\"uk-margin-remove-bottom uk-flex uk-flex-middle actions-container\"},[_c('a',{on:{\"click\":_vm.toggleEditCustomCheckout}},[_c('img',{staticClass:\"pencil-icon\",attrs:{\"src\":require(\"../../../../../public/images/Vector.svg\")}})]),_c('ToggleSwitch',{staticClass:\"toggle\",attrs:{\"id\":\"customCheckoutSwitch\",\"value\":_vm.enabled,\"disabled\":_vm.disableSwitch},on:{\"update:value\":function($event){_vm.enabled=$event}}})],1)])]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Watch } from \"vue-property-decorator\";\nimport CardComponent from \"@/commoncomponents/CardComponent.vue\";\nimport { ScreenText } from \"@/lang/ScreenText\";\nimport paymentsModule from \"@/store/modules/Payments/module\";\nimport ToggleSwitch from \"@/commoncomponents/ToggleSwitch.vue\";\nimport APP_UTILITIES from \"@/utilities/commonFunctions\";\nimport { ToastType } from \"@/Model/toastType\";\nimport { CustomCheckoutOption } from \"@/Model/payments/types\";\nimport { updateCustomOptionStatus } from \"@/services/payments/api\";\n\n@Component({\n components: {\n CardComponent,\n ToggleSwitch\n }\n})\nexport default class CustomCheckoutDetail extends Vue {\n enabled = false;\n // Initial flag to indicate first render state\n private _firstRender = true;\n disableSwitch = false;\n\n name = \"\";\n\n @Prop({ required: true }) checkoutOption: CustomCheckoutOption | undefined;\n\n get checkoutName() {\n return this.checkoutOption ? this.checkoutOption.name : \"\";\n }\n\n get checkoutInstruction() {\n return this.checkoutOption ? this.checkoutOption.instructions : \"\";\n }\n\n mounted() {\n this._firstRender = false;\n const data = this.checkoutOption\n ? { ...this.checkoutOption }.isEnabled\n : false;\n this.enabled = data;\n }\n\n readonly screenText = new ScreenText();\n\n toggleEditCustomCheckout() {\n this.$emit(\"EditCustomCheckout\");\n }\n\n onStatusUpdated() {\n this.$emit(\"OnStatusUpdated\");\n }\n\n @Watch(\"enabled\")\n async onEnabledChanged() {\n if (\n !this._firstRender &&\n this.checkoutOption &&\n this.checkoutOption.isEnabled !== this.enabled\n ) {\n try {\n this.disableSwitch = true;\n await updateCustomOptionStatus({\n isEnabled: this.enabled,\n customCheckoutId: this.checkoutOption.id\n });\n this.onStatusUpdated();\n APP_UTILITIES.showToastMessage(\n `Custom checkout is ${!this.enabled ? \"inactive\" : \"active\"}`,\n ToastType.Success\n );\n } catch {\n APP_UTILITIES.showToastMessage(\"Unexpected Error!\", ToastType.Error);\n this.enabled = !this.enabled;\n } finally {\n this.disableSwitch = false;\n }\n }\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomCheckoutDetail.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomCheckoutDetail.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CustomCheckoutDetail.vue?vue&type=template&id=6b03f7cc&scoped=true&\"\nimport script from \"./CustomCheckoutDetail.vue?vue&type=script&lang=ts&\"\nexport * from \"./CustomCheckoutDetail.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CustomCheckoutDetail.vue?vue&type=style&index=0&id=6b03f7cc&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6b03f7cc\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./BouncingPreloaderComponent.less?vue&type=style&index=0&id=4eff2a66&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CardComponent',{staticClass:\"card-component\",scopedSlots:_vm._u([{key:\"subtitle\",fn:function(){return [_c('div',{staticClass:\"uk-flex uk-flex-between uk-width-1-1\"},[_c('div',{staticClass:\"uk-flex uk-flex-middle uk-flex-between\"},[_c('span',{staticClass:\"custom-fee-title\"},[_vm._v(_vm._s(_vm.feeName)),(_vm.isActive)?_c('span',[_vm._v(\": \"+_vm._s(_vm.feeAmount))]):_vm._e()]),(_vm.isActive && _vm.taxRateDisplay)?_c('span',{staticClass:\"custom-fee-detailed-info\"},[_vm._v(\"| \"),_c('span',{staticClass:\"custom-fee-title\"},[_vm._v(_vm._s(_vm.screenText.getScreenText('LABEL_TAX_RATE_CAPS')))]),_c('span',{staticClass:\"custom-fee-tax-formatted\"},[_vm._v(_vm._s(_vm.taxRateDisplay))])]):_vm._e(),_c('a',{on:{\"click\":_vm.toggleEditCustomFee}},[_c('img',{staticClass:\"pencil-icon\",attrs:{\"src\":require(\"../../../../../public/images/Vector.svg\")}})])]),_c('div',{staticClass:\"uk-margin-remove-bottom uk-flex uk-flex-middle\"},[_c('ToggleSwitch',{attrs:{\"id\":\"customFeeSwitch\",\"value\":_vm.enabled,\"disabled\":_vm.disableSwitch},on:{\"update:value\":function($event){_vm.enabled=$event}}})],1)])]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Watch } from 'vue-property-decorator';\nimport CardComponent from '@/commoncomponents/CardComponent.vue';\nimport { ScreenText } from '@/lang/ScreenText';\nimport paymentsModule from '@/store/modules/Payments/module';\nimport ToggleSwitch from '@/commoncomponents/ToggleSwitch.vue';\nimport APP_UTILITIES from '@/utilities/commonFunctions';\nimport { Status } from '@/Model/shared/types';\nimport { getFormattedFeeDisplayValue } from '@/services/payments/helpers';\nimport { ToastType } from '@/Model/toastType';\n\n\n\n@Component({\n components: {\n CardComponent,\n ToggleSwitch\n },\n})\n\n\nexport default class FeeDetails extends Vue {\n\n readonly screenText = new ScreenText();\n enabled = this.isActive;\n\n get isActive(): boolean {\n return !!paymentsModule.customFee && paymentsModule.customFee.status == Status.Active;\n }\n\n get feeAmount(): string {\n let feeAmountString = '0';\n if (paymentsModule.customFee) {\n feeAmountString = getFormattedFeeDisplayValue(paymentsModule.customFee);\n }\n return feeAmountString;\n }\n\n get feeName(): string {\n return paymentsModule.customFee\n ? paymentsModule.customFee.name\n : '';\n }\n\n get taxRateDisplay(): string | null {\n return paymentsModule.customFee && paymentsModule.customFee.taxRate\n ? `${paymentsModule.customFee.taxRate.displayName} ${this.screenText.getScreenText('LABEL_TAX_RATE_JOINING_TEXT')} ${paymentsModule.customFee.taxRate.percentage}%`\n : null;\n }\n\n get disableSwitch(): boolean {\n return paymentsModule.isLoadingCustomFee || paymentsModule.isSavingCustomFee;\n }\n\n toggleEditCustomFee() {\n this.$emit('editCustomFee');\n }\n\n @Watch('enabled')\n async onEnabledChanged() {\n paymentsModule.changeCustomFeeStatus();\n await paymentsModule.updateCustomFee(paymentsModule.customFee!); //We can assert !null because the component wouldn't render in Payments.vue without\n\n if (this.isActive) {\n APP_UTILITIES.showToastMessage(this.screenText.getScreenText('ACTIVE_FEE_TOAST'), ToastType.Success);\n }\n else {\n APP_UTILITIES.showToastMessage(this.screenText.getScreenText('INACTIVE_FEE_TOAST'), ToastType.Success);\n }\n }\n}\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeeDetails.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeeDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FeeDetails.vue?vue&type=template&id=418f1c0b&scoped=true&\"\nimport script from \"./FeeDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./FeeDetails.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./FeeDetails.vue?vue&type=style&index=0&id=418f1c0b&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"418f1c0b\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomCheckoutDetail.vue?vue&type=style&index=0&id=6b03f7cc&lang=less&scoped=true&\"","export enum NotificationBoxType {\n Info = 'Info',\n Danger = 'Danger',\n Warning = 'Warning',\n Success = 'Success'\n}","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardComponent.vue?vue&type=style&index=0&id=029a7eae&lang=less&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/trash.b8516658.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bouncing-preloader\"},[_c('div',{key:\"spinner_loading\",style:({ 'color': _vm.STYLE.COLOR.PRIMARY_700 }),attrs:{\"uk-spinner\":\"ratio: 3.2667\"}}),_c('span',[_vm._v(_vm._s(_vm.getScreenText(\"BOUNCING_PRELOADER_LOADING\")))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop } from 'vue-property-decorator';\nimport { ScreenText } from '@/lang/ScreenText';\nimport APP_CONST from '@/constants/AppConst';\n\n@Component\nexport class BouncingPreloaderComponent extends Vue {\n @Prop() viewClass!: string;\n\n private screenText: ScreenText = new ScreenText();\n\n readonly STYLE = APP_CONST.STYLE;\n\n public getScreenText(key: string): string {\n return this.screenText.getScreenText(key);\n }\n}","\n\n\n\n\n\n\n\n\n\n\n\nimport { BouncingPreloaderComponent } from '@/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent';\nexport default BouncingPreloaderComponent;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BouncingPreloaderComponent.vue?vue&type=template&id=4eff2a66&scoped=true&\"\nimport script from \"./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"\nexport * from \"./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BouncingPreloaderComponent.less?vue&type=style&index=0&id=4eff2a66&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4eff2a66\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmptyStateContainer.vue?vue&type=style&index=0&id=301b7076&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseModal',{attrs:{\"isVisible\":_vm.isVisibleSync},on:{\"update:isVisible\":function($event){_vm.isVisibleSync=$event},\"update:is-visible\":function($event){_vm.isVisibleSync=$event},\"closepopup\":_vm.onCancel}},[_c('div',{staticClass:\"uk-margin-bottom\"},[_c('i',{staticClass:\"fa-solid fa-triangle-exclamation fa-7x warning-icon\"})]),_c('div',{staticClass:\"change-fee-title uk-margin-auto uk-margin-bottom\"},[_vm._v(_vm._s(_vm.screenText.getScreenText('CHANGE_FEE_MODAL_TITLE'))+\" \")]),_c('div',{staticClass:\"change-fee-text uk-margin-medium-bottom\"},[_vm._v(_vm._s(_vm.screenText.getScreenText('CHANGE_FEE_MODAL_TEXT')))]),_c('div',{staticClass:\"uk-flex uk-flex-right uk-margin-remove-bottom uk-padding-remove-bottom arly-button-container\"},[_c('button',{staticClass:\"btn-secondary uk-margin-small-right uk-margin-remove-bottom\",on:{\"click\":_vm.onCancel}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('BTN_GO_BACK_CAPS'))+\" \")]),_c('button',{staticClass:\"btn-primary uk-margin-remove-bottom\",on:{\"click\":_vm.onSave}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('BTN_SAVE_CAPS'))+\" \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, PropSync } from 'vue-property-decorator';\nimport BaseModal from '@/popupcomponents/BaseModal.vue';\nimport { ScreenText } from '@/lang/ScreenText';\n\n@Component({\n components: {\n BaseModal\n },\n})\nexport default class ChangeFeeModal extends Vue {\n screenText = new ScreenText();\n\n @PropSync('isVisible') isVisibleSync!: boolean;\n\n onCancel() {\n this.$emit('closepopup');\n }\n\n onSave() {\n this.$emit('confirmChangeFee');\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangeFeeModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangeFeeModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChangeFeeModal.vue?vue&type=template&id=3deca15a&scoped=true&\"\nimport script from \"./ChangeFeeModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChangeFeeModal.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ChangeFeeModal.vue?vue&type=style&index=0&id=3deca15a&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3deca15a\",\n null\n \n)\n\nexport default component.exports","import APP_CONST from '@/constants/AppConst';\nimport { CurrencyInputOptions } from 'vue-currency-input';\n\n\nexport function formatCurrency(amount: number) {\n const currencyOptions: CurrencyInputOptions = APP_CONST.CURRENCY_OPTIONS;\n const currencyFormatter = new Intl.NumberFormat(\n currencyOptions.locale,\n {\n style: 'currency',\n currency: (typeof currencyOptions.currency === 'string') ? currencyOptions.currency : 'USD'\n }\n );\n return currencyFormatter.format(amount);\n}","module.exports = __webpack_public_path__ + \"img/external-link-alt.1abd4ac9.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('OffCanvas',{attrs:{\"isVisible\":_vm.isCustomizeCheckoutVisibleSync},on:{\"update:isVisible\":function($event){_vm.isCustomizeCheckoutVisibleSync=$event},\"update:is-visible\":function($event){_vm.isCustomizeCheckoutVisibleSync=$event},\"onClose\":_vm.onClose}},[_c('ChangeCustomPaymentModal',{attrs:{\"isVisible\":_vm.isChangeCustomPaymentModalVisible},on:{\"confirmChangeCustomPayment\":_vm.confirmChangeCustomPayment,\"closepopup\":_vm.closeChangeCustomPaymentModal}}),_c('aside',{staticClass:\"add-new-sec\"},[_c('div',[_c('div',{staticClass:\"customize-checkout-title uk-margin-small-bottom\"},[_vm._v(\" Configure custom checkout \")]),_c('div',{staticClass:\"subtitle uk-margin-small-bottom\"},[_vm._v(\" Add a custom checkout option at checkout and personalize its name, instructions and default enrollment behavior. \")]),_c('ValidationObserver',{ref:\"formObserverRef\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.beforeOnSave)}}},[_c('div',{staticClass:\"form-group uk-margin-small-bottom\"},[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"name\",\"data-testid\":\"checkout-name\"}},[_vm._v(\" Name\"),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" Create a name for your custom checkout that'll display at checkout (e.g., Pay with Cash). \")]),_c('ValidationProvider',{ref:\"nameObserverRef\",attrs:{\"rules\":\"name_required\",\"mode\":_vm.validationMode.Eager},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nvar invalid = ref.invalid;\nvar validated = ref.validated;\nreturn [_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.name),expression:\"name\",modifiers:{\"trim\":true}}],attrs:{\"id\":\"name\",\"type\":\"text\",\"maxlength\":\"30\"},domProps:{\"value\":(_vm.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.name=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('span',{staticClass:\"form-field-error\",style:({\n visibility: validated && invalid ? 'visible' : 'hidden'\n }),attrs:{\"data-testid\":\"name-required-error\"}},[_vm._v(\" \"+_vm._s(errors[0])+\" \")])]}}],null,true)})],1),_c('div',{staticClass:\"form-group uk-margin-small-bottom\"},[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"description\",\"data-testid\":\"checkout-description\"}},[_vm._v(\" Instructions \")]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" Include instructions of your custom checkout that'll display on the checkout screen (e.g., Pay onsite during first day check-in.). \")]),_c('ValidationProvider',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.description),expression:\"description\",modifiers:{\"trim\":true}}],attrs:{\"id\":\"checkout-description-text\",\"maxlength\":\"500\"},domProps:{\"value\":(_vm.description)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.description=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})])],1),_c('div',{staticClass:\"form-group uk-margin-small-top\"},[_c('div',[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"percent-rate\",\"data-testid\":\"setup-header\"}},[_vm._v(\" Manage auto-enroll submissions \")])]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" If this session is set up for auto-enrollment, how would you like to treat custom checkout submissions? \")]),_c('div',{staticClass:\"uk-margin-remove\"},[_c('div',{staticClass:\"radio-input-wrapper\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.checkoutType),expression:\"checkoutType\"}],attrs:{\"id\":\"enrolled-option\",\"type\":\"radio\",\"name\":\"checkout-type\",\"data-testid\":\"enrolled-option-input\"},domProps:{\"value\":_vm.autoEnrollOptions.Enroll,\"checked\":_vm._q(_vm.checkoutType,_vm.autoEnrollOptions.Enroll)},on:{\"change\":function($event){_vm.checkoutType=_vm.autoEnrollOptions.Enroll}}}),_c('label',{staticClass:\"subtitle\",attrs:{\"for\":\"enrolled-option\"}},[_vm._v(\"Enrolled\")])]),_c('div',{staticClass:\"radio-input-wrapper\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.checkoutType),expression:\"checkoutType\"}],attrs:{\"id\":\"waitlist-option\",\"type\":\"radio\",\"name\":\"checkout-type\",\"data-testid\":\"waitlist-option-input\"},domProps:{\"value\":_vm.autoEnrollOptions.Waitlist,\"checked\":_vm._q(_vm.checkoutType,_vm.autoEnrollOptions.Waitlist)},on:{\"change\":function($event){_vm.checkoutType=_vm.autoEnrollOptions.Waitlist}}}),_c('label',{staticClass:\"subtitle\",attrs:{\"for\":\"waitlist-option\"}},[_vm._v(\"Waitlist\")])]),_c('div',{staticClass:\"radio-input-wrapper\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.checkoutType),expression:\"checkoutType\"}],attrs:{\"id\":\"pending-option\",\"type\":\"radio\",\"name\":\"checkout-type\",\"data-testid\":\"pending-option-input\"},domProps:{\"value\":_vm.autoEnrollOptions.Pending,\"checked\":_vm._q(_vm.checkoutType,_vm.autoEnrollOptions.Pending)},on:{\"change\":function($event){_vm.checkoutType=_vm.autoEnrollOptions.Pending}}}),_c('label',{staticClass:\"subtitle\",attrs:{\"for\":\"pending-option\"}},[_vm._v(\"Pending\")])])])]),_c('div',[_c('button',{staticClass:\"btn-secondary uk-margin-small-right\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.onCancel}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"BTN_CANCEL\"))+\" \")]),_c('ProgressButton',{attrs:{\"bx-attr\":\"save-btn\",\"isValidation\":_vm.isValidationForProgress,\"buttonIndex\":_vm.saveButtonText,\"buttonText\":_vm.saveButtonText,\"updateProgress\":true}})],1)])]}}])})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n Component,\n Prop,\n PropSync,\n Ref,\n Vue,\n Watch\n} from \"vue-property-decorator\";\nimport { ScreenText } from \"@/lang/ScreenText\";\nimport OffCanvas from \"@/commoncomponents/OffCanvas.vue\";\nimport DropdownList from \"@/ui-components/dropdownListBx/DropdownList.vue\";\nimport { CurrencyInput, CurrencyInputOptions } from \"vue-currency-input\";\nimport APP_CONST from \"@/constants/AppConst\";\nimport APP_UTILITIES from \"@/utilities/commonFunctions\";\n\nimport { ValidationObserver, ValidationProvider, extend } from \"vee-validate\";\nimport { VeeValidateProviderMode } from \"@/Model/forms/types\";\nimport {\n CustomCheckoutAutoEnrollOptions,\n CustomCheckoutOption\n} from \"@/Model/payments/types\";\nimport { ProviderInstance } from \"vee-validate/dist/types/types\";\nimport ProgressButton from \"@/commoncomponents/progressButton/progressButton\";\nimport ChangeCustomPaymentModal from \"@/popupcomponents/payments/ChangeCustomPaymentModal.vue\";\nimport { checkoutNameRequiredValidator } from \"@/validators/payments/validators\";\nimport {\n createCustomCheckout,\n updateCustomCheckout\n} from \"@/services/payments/api\";\nimport { ToastType } from \"@/Model/toastType\";\n\n@Component({\n components: {\n OffCanvas,\n DropdownList,\n CurrencyInput,\n ValidationObserver,\n ValidationProvider,\n ProgressButton,\n ChangeCustomPaymentModal\n }\n})\nexport default class CustomCheckout extends Vue {\n @Prop({ required: true }) checkoutOption: CustomCheckoutOption | undefined; // Type annotation for clarity\n\n @PropSync(\"isCustomizeCheckoutVisible\", { type: Boolean, required: true })\n isCustomizeCheckoutVisibleSync!: boolean;\n @Ref(\"formObserverRef\") readonly formObserverRef?: InstanceType<\n typeof ValidationObserver\n >;\n @Ref(\"nameObserverRef\") readonly nameObserverRef?: ProviderInstance;\n\n readonly screenText = new ScreenText();\n readonly currencyOptions: CurrencyInputOptions = APP_CONST.CURRENCY_OPTIONS;\n readonly nameText = this.screenText.getScreenText(\"LABEL_NAME\").toLowerCase();\n\n isValidationForProgress = false;\n autoEnrollOptions = CustomCheckoutAutoEnrollOptions;\n validationMode = VeeValidateProviderMode;\n isChangeCustomPaymentModalVisible = false;\n isSavingCustomPayment = false;\n\n name: string = \"\";\n description: string = \"\";\n checkoutType: CustomCheckoutAutoEnrollOptions =\n CustomCheckoutAutoEnrollOptions.Enroll;\n\n get saveButtonText(): string {\n return this.screenText.getScreenText(\"BTN_SAVE\");\n }\n\n created() {\n this.onCreated();\n if (this.checkoutOption) {\n this.name = this.checkoutOption.name;\n this.description = this.checkoutOption.instructions;\n this.checkoutType = this.checkoutOption.autoEnrollStatusId;\n }\n }\n\n onCreated() {\n this.registerValidators();\n }\n\n onCancel() {\n this.onClose();\n this.isCustomizeCheckoutVisibleSync = false;\n }\n\n onClose() {\n if (!this.checkoutOption) {\n this.name = \"\";\n this.description = \"\";\n this.resetInputs();\n } else {\n this.name = this.checkoutOption.name;\n this.description = this.checkoutOption.instructions;\n }\n }\n\n @Watch(\"checkoutOption\")\n onCheckoutOptionChange() {\n if (this.checkoutOption) {\n this.name = this.checkoutOption.name;\n this.description = this.checkoutOption.instructions;\n this.checkoutType = this.checkoutOption.autoEnrollStatusId;\n }\n }\n\n private async canSave(): Promise {\n if (this.formObserverRef) {\n await this.formObserverRef.validate();\n }\n\n return !!this.formObserverRef && this.formObserverRef.flags.valid;\n }\n\n private resetInputs() {\n if (this.formObserverRef) {\n this.formObserverRef.reset();\n }\n }\n\n async onSave() {\n if (!(await this.canSave())) {\n return;\n }\n\n this.isValidationForProgress = false;\n\n try {\n this.isSavingCustomPayment = true;\n if (this.checkoutOption) {\n // Edit entry\n await updateCustomCheckout({\n name: this.name,\n instructions: this.description,\n autoEnrollStatusId: this.checkoutType,\n id: this.checkoutOption.id\n });\n } else {\n // Create entry\n await createCustomCheckout({\n name: this.name,\n instructions: this.description,\n autoEnrollStatusId: this.checkoutType,\n accountID: APP_UTILITIES.getAccountId(),\n isEnabled: true\n });\n }\n APP_UTILITIES.showToastMessage(\n \"Custom checkout saved\",\n ToastType.Success\n );\n } catch {\n APP_UTILITIES.showToastMessage(\"Unexpected Error!\", ToastType.Error);\n } finally {\n this.OnSaveCustomPayment();\n this.isSavingCustomPayment = false;\n }\n\n this.isValidationForProgress = false;\n this.isCustomizeCheckoutVisibleSync = false;\n }\n\n closeChangeCustomPaymentModal(): void {\n this.isChangeCustomPaymentModalVisible = false;\n }\n\n confirmChangeCustomPayment(): void {\n this.closeChangeCustomPaymentModal();\n this.onSave();\n }\n\n OnSaveCustomPayment() {\n this.$emit(\"OnSaveCustomPayment\");\n }\n\n beforeOnSave() {\n if (this.checkoutOption) {\n if (\n (this.formObserverRef && this.formObserverRef.flags.changed) ||\n this.checkoutOption.autoEnrollStatusId !== this.checkoutType\n ) {\n this.isChangeCustomPaymentModalVisible = true;\n } else {\n this.onCancel();\n }\n } else {\n this.onSave();\n }\n }\n\n private registerValidators() {\n checkoutNameRequiredValidator(\n this.screenText\n .getScreenText(\"REQUIRED_INPUT_FIELD_ERROR\")\n .replace(\"{field}\", this.nameText)\n );\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomCheckout.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomCheckout.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CustomCheckout.vue?vue&type=template&id=05b90be4&scoped=true&\"\nimport script from \"./CustomCheckout.vue?vue&type=script&lang=ts&\"\nexport * from \"./CustomCheckout.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CustomCheckout.vue?vue&type=style&index=0&id=05b90be4&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05b90be4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"discount-configuration-wrapper\"},[_c('div',{staticClass:\"form-group uk-margin-small-bottom\"},[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"description\",\"data-testid\":\"checkout-description\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT_PERCENT_RATE\"))+\" \")]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT_PERCENT_RATE_SUBHEADER\"))+\" \")])]),_vm._l((_vm.rules),function(rule,idx){return _c('div',{key:idx,staticClass:\"rules-container\"},[_c('div',{staticClass:\"rules-container__header\"},[_c('p',{staticClass:\"rules-container__header-text\"},[_vm._v(\"Rule \"+_vm._s(idx + 1))]),(_vm.rules.length === idx + 1 && idx !== 0)?_c('a',{staticClass:\"rules-container__header-delete\",on:{\"click\":function($event){return _vm.$emit('onRemoveRule')}}},[_c('img',{staticClass:\"rules-container__header-img\",attrs:{\"src\":require(\"../../../../assets/images/trash.svg\")}})]):_vm._e()]),_c('div',{staticClass:\"rules-container__inputs\"},[_c('div',{staticClass:\"rules-container__inputs-field\"},[_c('div',{staticClass:\"form-group uk-margin-small-bottom\"},[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"minimum-participants\",\"data-testid\":\"checkout-name\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT_MINIMUM_PARTICIPANTS\"))),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])])]),_c('DropdownList',{attrs:{\"id\":\"minimum-participants\",\"dropdown\":rule,\"autoSelectionAllowed\":true}})],1),_c('div',{staticClass:\"rules-container__inputs-field\"},[_c('div',{staticClass:\"form-group uk-margin-small-bottom\"},[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":(\"amount-\" + idx)}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_AMOUNT\"))),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])])]),_c('div',{staticClass:\"rules-container__inputs-decorator-container\"},[_c('ValidationProvider',{ref:\"nameObserverRef\",refInFor:true,attrs:{\"rules\":\"percent_input_required\",\"mode\":_vm.validationMode.Eager},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nvar invalid = ref.invalid;\nvar validated = ref.validated;\nreturn [_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(rule.ruleAmount),expression:\"rule.ruleAmount\"}],staticClass:\"rules-container__inputs-decorator-input\",class:{\n 'rules-container__inputs-decorator-input--currency':\n _vm.discountUnitAmountSync === _vm.discountType.PERCENT_RATE\n },attrs:{\"id\":(\"amount-\" + idx),\"type\":\"number\",\"min\":\"1\",\"max\":_vm.discountUnitAmountSync === _vm.discountType.PERCENT_RATE\n ? 100\n : 9999999},domProps:{\"value\":(rule.ruleAmount)},on:{\"change\":function($event){return _vm.onAmountUpdated(rule)},\"input\":function($event){if($event.target.composing){ return; }_vm.$set(rule, \"ruleAmount\", $event.target.value)}}}),_c('span',{staticClass:\"form-field-error\",style:({\n visibility: validated && invalid ? 'visible' : 'hidden'\n }),attrs:{\"data-testid\":\"name-required-error\"}},[_vm._v(\" \"+_vm._s(errors[0])+\" \")])]}}],null,true)}),_c('div',{staticClass:\"rules-container__inputs-decorator-content\",class:_vm.discountUnitAmountSync === _vm.discountType.PERCENT_RATE\n ? 'rules-container__inputs-decorator-content--percent'\n : 'rules-container__inputs-decorator-content--currency'})],1)])])])}),(_vm.isAddRuleVisible)?_c('div',{staticStyle:{\"margin-bottom\":\"1rem\"}},[_c('a',{staticClass:\"add-fee-link\",attrs:{\"target\":\"_blank\"},on:{\"click\":function($event){return _vm.$emit('onAddRule')}}},[_c('span',{staticClass:\"fee-button-text\"},[_c('i',{staticClass:\"fa-solid fa-plus uk-margin-small-right\"}),_c('span',[_vm._v(_vm._s(_vm.screenText.getScreenText(\"LABEL_RULE\")))])])])]):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {\n Vue,\n Component,\n Ref,\n PropSync,\n Watch,\n Prop\n} from 'vue-property-decorator';\nimport { ScreenText } from '@/lang/ScreenText';\nimport { ValidationObserver, ValidationProvider } from 'vee-validate';\nimport DropdownList from '@/ui-components/dropdownListBx/DropdownList.vue';\nimport { DropdownListOptions } from '@/ui-components/dropdownListBx/types';\nimport { VeeValidateProviderMode } from '@/Model/forms/types';\nimport { ProviderInstance } from 'vee-validate/dist/types/types';\nimport { percentInputRequiredValidator } from '@/validators/payments/validators';\nimport { AmountUnitType } from '@/Model/payments/types';\n\ntype CustomDropdownOptions = DropdownListOptions & { ruleAmount: string };\n\n@Component({\n components: {\n ValidationProvider,\n DropdownList\n }\n})\nexport default class MultiParticipantRules extends Vue {\n @Ref('nameObserverRef') readonly nameObserverRef?: ProviderInstance;\n @Prop({ required: true }) rules!: CustomDropdownOptions[];\n @PropSync('discountUnitAmount', { type: String, required: true })\n discountUnitAmountSync!: string;\n\n @Prop()\n formRef!: InstanceType;\n\n @Watch('discountUnitAmountSync', { deep: true })\n discountUnitAmountReference(): void {\n this.formRef.reset();\n const message = this.getErrorMsgLabel(this.discountUnitAmountSync);\n this.registerValidators(message);\n }\n\n readonly screenText = new ScreenText();\n readonly discountType = AmountUnitType;\n validationMode = VeeValidateProviderMode;\n\n get isAddRuleVisible() {\n return this.rules.length <= 10 - Number(this.rules[0].value);\n }\n\n getErrorMsgLabel(discountAmount: string): string {\n return discountAmount === AmountUnitType.PERCENT_RATE\n ? this.screenText.getScreenText('RULES_PERCENT_ERROR')\n : this.screenText.getScreenText('AUTOMATIC_PAYMENTS_AMOUNT_ERROR');\n }\n\n created() {\n const message = this.getErrorMsgLabel(this.discountUnitAmountSync);\n this.registerValidators(message);\n }\n\n private registerValidators(message: string = ''): void {\n percentInputRequiredValidator(message);\n }\n\n onAmountUpdated(rule: CustomDropdownOptions): void {\n // Validate that percentage amount doesn't goes over 100%\n if (this.discountUnitAmountSync === AmountUnitType.PERCENT_RATE) {\n this.$emit('onPercentageUpdate', rule);\n }\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiParticipantRules.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiParticipantRules.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MultiParticipantRules.vue?vue&type=template&id=1fce4717&scoped=true&\"\nimport script from \"./MultiParticipantRules.vue?vue&type=script&lang=ts&\"\nexport * from \"./MultiParticipantRules.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./MultiParticipantRules.vue?vue&type=style&index=0&id=1fce4717&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1fce4717\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"store-policy-controls\"},[_c('div',{staticClass:\"loading-spinner\",style:({ 'visibility': _vm.showLoadingSpinner ? 'visible' : 'hidden' }),attrs:{\"uk-spinner\":\"\",\"data-testid\":\"loading-spinner\"}}),_c('div',{style:({ 'visibility': _vm.showLoadingSpinner ? 'hidden' : 'visible' }),attrs:{\"data-testid\":\"policy-form-wrapper\"}},[(_vm.fetchFailed)?[_c('div',{staticClass:\"uk-margin-bottom\",attrs:{\"data-testid\":\"fetch-failed-notification-box-wrapper\"}},[_c('NotificationBox',{attrs:{\"type\":_vm.NotificationBoxType.Danger},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('i',{staticClass:\"fas fa-exclamation-circle\"})]},proxy:true},{key:\"message\",fn:function(){return [_c('span',[_vm._v(_vm._s(_vm.fetchFailedErrorMessage))])]},proxy:true}],null,false,375450187)})],1)]:[_c('ValidationObserver',{ref:\"formObserverRef\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.saveStorePolicy)}}},[_c('div',{staticClass:\"uk-flex uk-flex-middle uk-flex-between uk-margin-bottom switch-container\"},[_c('label',{attrs:{\"for\":\"enabledSwitch\",\"data-testid\":\"policy-switch-label\"}},[_vm._v(\" \"+_vm._s(_vm.policySwitchLabel)+\" \")]),_c('ValidationProvider',{ref:\"enabledProviderRef\",attrs:{\"vid\":_vm.enabledProviderVid}},[_c('ToggleSwitch',{attrs:{\"id\":\"enabledSwitch\",\"value\":_vm.enabled,\"disabled\":_vm.disableSwitch},on:{\"update:value\":function($event){_vm.enabled=$event}}})],1)],1),_c('div',{style:({ 'visibility': !_vm.showLoadingSpinner && _vm.enabled ? 'visible' : 'hidden' }),attrs:{\"data-testid\":\"policy-url-controls\"}},[_c('div',{staticClass:\"form-group uk-margin-bottom\"},[_c('label',{attrs:{\"for\":\"url\",\"data-testid\":\"policy-url-label\"}},[_vm._v(\" \"+_vm._s(_vm.policyUrlLabel)),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])]),_c('ValidationProvider',{ref:\"urlProviderRef\",attrs:{\"rules\":_vm.urlRules,\"mode\":_vm.getUrlValidationMode()},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nvar invalid = ref.invalid;\nvar validated = ref.validated;\nreturn [_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.url),expression:\"url\"}],staticClass:\"uk-width-1\",class:{ 'outline-red': validated && invalid },attrs:{\"id\":\"url\",\"placeholder\":\"https://example.com/return-policy\",\"data-testid\":\"policy-url-input\"},domProps:{\"value\":(_vm.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.url=$event.target.value}}}),_c('span',{staticClass:\"form-field-error\",style:({ 'visibility': validated && invalid ? 'visible' : 'hidden' }),attrs:{\"data-testid\":\"policy-url-error\"}},[_vm._v(\" \"+_vm._s(errors[0])+\" \")])]}}],null,true)})],1),(_vm.enabled && _vm.saveFailed)?_c('div',{staticClass:\"uk-margin-bottom\",attrs:{\"data-testid\":\"save-failed-notification-box-wrapper\"}},[_c('NotificationBox',{attrs:{\"type\":_vm.NotificationBoxType.Danger},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('i',{staticClass:\"fas fa-exclamation-circle\"})]},proxy:true},{key:\"message\",fn:function(){return [_c('span',[_vm._v(_vm._s(_vm.saveFailedErrorMessage))])]},proxy:true}],null,true)})],1):_vm._e(),_c('ProgressButton',{attrs:{\"apiResponseCode\":_vm.translatedLoadingToProgressButtonState,\"isValidation\":_vm.isValidForProgressButton,\"disableTransition\":!_vm.enabled,\"buttonIndex\":\"policy-url-save-button\",\"buttonText\":_vm.buttonPolicySave,\"updateProgress\":true,\"data-testid\":\"policy-save-btn\"}})],1)])]}}])})]],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { ScreenText } from '@/lang/ScreenText';\nimport { Component, Ref, Vue, Watch } from 'vue-property-decorator';\nimport ToggleSwitch from '@/commoncomponents/ToggleSwitch.vue';\nimport { ValidationObserver, ValidationProvider, extend } from 'vee-validate';\nimport { urlRegex } from '@/validators/sessions/validators';\nimport { max, regex, required_if } from 'vee-validate/dist/rules';\nimport { VeeValidateProviderMode } from '@/Model/forms/types';\nimport { ProviderInstance } from 'vee-validate/dist/types/types';\nimport ProgressButton from '@/commoncomponents/progressButton/progressButton.vue';\nimport paymentsModule from '@/store/modules/Payments/module';\nimport { AddUpdateStorePolicyPayload, StorePolicy } from '@/Model/payments/types';\nimport APP_UTILITIES from '@/utilities/commonFunctions';\nimport NotificationBox from '@/commoncomponents/NotificationBox.vue';\nimport { NotificationBoxType } from '@/Model/notificationBox/types';\nimport { ToastType } from '@/Model/toastType';\n\n@Component({\n components: {\n NotificationBox,\n ProgressButton,\n ToggleSwitch,\n ValidationObserver,\n ValidationProvider\n }\n})\n\nexport default class Payments extends Vue {\n @Ref('enabledProviderRef') readonly enabledProviderRef?: ProviderInstance;\n @Ref('urlProviderRef') readonly urlProviderRef?: ProviderInstance;\n @Ref('formObserverRef') readonly formObserverRef?: InstanceType;\n\n private readonly accountId = Number(APP_UTILITIES.getCookie('accountId')) || 0;\n private readonly screenText = new ScreenText();\n readonly enabledProviderVid = 'enabledProvider';\n readonly urlMaxLength = 2083;\n readonly urlRules: Record = {\n required_if: { target: this.enabledProviderVid, values: ['true'] },\n regex: urlRegex,\n max: { length: this.urlMaxLength }\n };\n readonly NotificationBoxType = NotificationBoxType;\n\n isValidForProgressButton = true;\n\n enabled = false;\n url = '';\n\n get policySwitchLabel(): string {\n return this.screenText.getScreenText('POLICY_SWITCH_LABEL');\n }\n\n get policyUrlLabel(): string {\n return this.screenText.getScreenText('POLICY_URL_LABEL');\n }\n\n get buttonPolicySave(): string {\n return this.screenText.getScreenText('BTN_POLICY_SAVE');\n }\n\n get policySavedSuccess(): string {\n return this.screenText.getScreenText('POLICY_SAVED_SUCCESS');\n }\n\n get translatedLoadingToProgressButtonState(): number {\n let buttonState = 0;\n\n if (!paymentsModule.isSavingStorePolicy && !paymentsModule.didSaveStorePolicyFail) {\n buttonState = 200;\n }\n else if (!paymentsModule.isSavingStorePolicy && paymentsModule.didSaveStorePolicyFail) {\n buttonState = 400;\n }\n\n return buttonState;\n }\n\n get showLoadingSpinner(): boolean {\n return paymentsModule.isFetchingStorePolicy;\n }\n\n get disableSwitch(): boolean {\n return paymentsModule.isFetchingStorePolicy || paymentsModule.isSavingStorePolicy;\n }\n\n get initialValue(): StorePolicy {\n return paymentsModule.storePolicy;\n }\n\n get fetchFailed(): boolean {\n return paymentsModule.didFetchStorePolicyFail;\n }\n\n get fetchFailedErrorMessage(): string {\n return this.screenText.getScreenText('POLICY_FETCH_FAILED');\n }\n\n get saveFailed(): boolean {\n return paymentsModule.didSaveStorePolicyFail;\n }\n\n get saveFailedErrorMessage(): string {\n return this.screenText.getScreenText('POLICY_SAVED_FAILED');\n }\n\n private registerValidators() {\n extend('required_if', {\n ...required_if,\n message: this.screenText.getScreenText('POLICY_URL_ERROR')\n });\n extend('regex', {\n ...regex,\n message: this.screenText.getScreenText('POLICY_URL_ERROR')\n });\n extend('max', {\n ...max,\n message: this.screenText.getScreenText('CHAR_LIMIT_MAXIMUM').replace('{length}', `${this.urlMaxLength}`)\n });\n }\n\n created() {\n this.registerValidators();\n paymentsModule.fetchStorePolicy(this.accountId);\n }\n\n @Watch('enabled')\n onEnabledChanged(enabled: boolean) {\n if (!enabled && !this.saveFailed) {\n this.resetUrlInput().then(() => {\n this.formObserverRef && this.formObserverRef.handleSubmit(this.saveStorePolicy);\n });\n }\n }\n\n @Watch('initialValue')\n onInitialValueChanged() {\n this.resetEnabledInput();\n this.resetUrlInput();\n }\n\n private async resetEnabledInput() {\n this.enabled = this.initialValue.enabled;\n if (this.enabledProviderRef) {\n await this.enabledProviderRef.validateSilent();\n this.enabledProviderRef.reset();\n }\n }\n\n private async resetUrlInput() {\n this.url = this.initialValue.url;\n if (this.urlProviderRef) {\n await this.urlProviderRef.validateSilent();\n this.urlProviderRef.reset();\n }\n }\n\n getUrlValidationMode(): VeeValidateProviderMode {\n return this.urlProviderRef && this.urlProviderRef.flags.validated ? VeeValidateProviderMode.Eager : VeeValidateProviderMode.Passive;\n }\n\n private async canSave(): Promise {\n if (this.formObserverRef) {\n await this.formObserverRef.validate();\n }\n\n return !paymentsModule.isSavingStorePolicy\n && !!this.formObserverRef\n && this.formObserverRef.flags.valid\n && this.formObserverRef.flags.changed;\n }\n\n private async onSaveFailed() {\n // Reset enabled state if user tried to disable it (since disabling automatically saves and save button/error get hidden)\n if (!this.enabled && this.initialValue.enabled) {\n await this.resetEnabledInput();\n }\n }\n\n async saveStorePolicy() {\n if (!await this.canSave()) {\n return;\n }\n\n // We only need to update this state if the button is visible (policy = enabled)\n if (this.enabled) {\n this.isValidForProgressButton = false;\n }\n\n const payload: AddUpdateStorePolicyPayload = {\n accountId: this.accountId,\n enabled: this.enabled,\n url: this.url\n };\n\n await paymentsModule.saveStorePolicy(payload);\n\n // We only need to update this state if the button is visible (policy = enabled)\n if (this.enabled) {\n this.isValidForProgressButton = true;\n }\n\n if (!paymentsModule.didSaveStorePolicyFail) {\n APP_UTILITIES.showToastMessage(this.policySavedSuccess, ToastType.Success);\n } else {\n await this.onSaveFailed();\n }\n }\n\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StorePolicyControls.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StorePolicyControls.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./StorePolicyControls.vue?vue&type=template&id=36b9d7e2&scoped=true&\"\nimport script from \"./StorePolicyControls.vue?vue&type=script&lang=ts&\"\nexport * from \"./StorePolicyControls.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./StorePolicyControls.vue?vue&type=style&index=0&id=36b9d7e2&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36b9d7e2\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/search.83aca4f4.svg\";","var DESCRIPTORS = require('../internals/descriptors');\nvar objectDefinePropertyModule = require('../internals/object-define-property');\nvar regExpFlags = require('../internals/regexp-flags');\nvar UNSUPPORTED_Y = require('../internals/regexp-sticky-helpers').UNSUPPORTED_Y;\n\n// `RegExp.prototype.flags` getter\n// https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags\nif (DESCRIPTORS && (/./g.flags != 'g' || UNSUPPORTED_Y)) {\n objectDefinePropertyModule.f(RegExp.prototype, 'flags', {\n configurable: true,\n get: regExpFlags\n });\n}\n","module.exports = __webpack_public_path__ + \"img/context_menu_icon.de80e7c5.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.discount)?_c('tbody',{staticClass:\"table-body\"},[_c('tr',{staticClass:\"table-row\"},[_c('td',{staticClass:\"card-content\"},[_c('div',{staticClass:\"card-content-wrapper padding-left\"},[_c('button',{on:{\"click\":function($event){return _vm.toggleAccordion(_vm.discount.id)}}},[_c('img',{class:{ 'caret-close': _vm.isToggleOpen },attrs:{\"src\":require(\"../../../../assets/images/cms/facet-chevron-down.svg\"),\"alt\":\"\"}})])])]),_c('td',{staticClass:\"card-content\"},[_c('div',{staticClass:\"card-content-wrapper-bold\"},[_vm._v(\" \"+_vm._s(_vm.discount.name)+\" \")])]),_c('td',{staticClass:\"card-content\"},[_c('div',{staticClass:\"card-content-wrapper\"},[_vm._v(\" \"+_vm._s(_vm.discount.discountTypeId === _vm.discountType.MULTI_PARTICIPANT ? \"Multi-participant\" : \"Early registration\")+\" \")])]),_c('td',{staticClass:\"card-content\"},[_c('div',{staticClass:\"card-content-wrapper\"},[_vm._v(\" \"+_vm._s(_vm.discount.appliesTo)+\" \")])]),_c('td',{staticClass:\"card-content\"},[_c('div',{staticClass:\"card-content-wrapper\"},[_vm._v(\" \"+_vm._s(_vm.discountTableLabel)+\" \")])]),_c('td',{staticClass:\"card-content\"},[_c('div',{staticClass:\"card-content-wrapper\"},[_c('ToggleSwitch',{attrs:{\"id\":(\"toggle-switch-\" + (_vm.discount.id)),\"value\":_vm.enabled,\"disabled\":_vm.disableSwitch},on:{\"update:value\":function($event){_vm.enabled=$event}}})],1)]),_c('td',{staticClass:\"card-content\"},[_c('div',{staticClass:\"card-content-wrapper\"},[_c('div',{staticClass:\"uk-inline menu-icon-wrapper\"},[_vm._m(0),_c('div',{staticClass:\"uk-width-1-1\",attrs:{\"uk-dropdown\":\"mode: click; target: !.menu-icon\"}},[_c('ul',{staticClass:\"menu-option\"},[_c('li',{staticClass:\"menu-option-item\"},[_c('button',{staticClass:\"menu-option-button\",on:{\"click\":function($event){return _vm.handleEdit(_vm.discount)}}},[_vm._v(\" Edit \")])]),_c('li',{staticClass:\"menu-option-item\"},[_c('button',{staticClass:\"menu-option-button\",on:{\"click\":function($event){return _vm.$emit('onDelete', _vm.discount)}}},[_vm._v(\" Delete \")])])])])])])])]),_c('tr',{staticClass:\"table-accordion\"},[_c('td',{attrs:{\"colspan\":\"12\"}},[_c('ul',{attrs:{\"id\":(\"accordion-toggle-\" + (_vm.discount.id)),\"uk-accordion\":\"\"}},[_c('li',[_c('div',{staticClass:\"uk-accordion-content\"},[_c('table',{staticClass:\"table\"},[_vm._m(1),_c('tr',[_c('td'),_c('td',{staticClass:\"card-content\"},[_c('div',{staticClass:\"card-content-wrapper\"},[_c('div',{staticClass:\"description-container table-header-width-55\"},[_c('span',{staticClass:\"bold-text\"},[_vm._v(\"Description: \")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.discount.description)+\" \")])]),_c('div',{staticClass:\"description-container\"},[_c('span',{staticClass:\"bold-text\"},[_vm._v(_vm._s(_vm.discount.discountTypeId === _vm.discountType.MULTI_PARTICIPANT ? \"Rules:\" : \"Rule:\")+\" \")]),(\n _vm.discount.discountTypeId ===\n _vm.discountType.MULTI_PARTICIPANT\n )?_vm._l((_vm.multipleParticipantsRules),function(rule,index){return _c('div',{key:index,staticClass:\"uk-flex text-container\"},[_c('div',{staticClass:\"bold-text\"},[_vm._v(_vm._s(index + 1)+\":\")]),_c('div',[_vm._v(\" \"+_vm._s(rule.participants)+\" minimum participants \")]),_c('div',{staticClass:\"margin-left-15\"},[_vm._v(\" \"+_vm._s(_vm.commonUtils.addSymbol( rule.amount, _vm.discount.amountUnitType == _vm.amountUnitType.FIXED_AMOUNT ))+\" \")])])}):[_vm._v(\" \"+_vm._s(_vm.earlyRegistrationSessionLabel)+\" \")]],2)])])])])])])])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"menu-icon-wrapper\"},[_c('img',{staticClass:\"menu-icon\",attrs:{\"src\":require(\"../../../../assets/font-awesomes/context_menu_icon.svg\"),\"alt\":\"\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('th',{staticClass:\"table-header-width-6\"}),_c('th',{staticClass:\"table-header-width-90\"})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Watch } from \"vue-property-decorator\";\nimport CardComponent from \"@/commoncomponents/CardComponent.vue\";\n\nimport paymentsModule from \"@/store/modules/Payments/module\";\nimport ToggleSwitch from \"@/commoncomponents/ToggleSwitch.vue\";\nimport APP_UTILITIES from \"@/utilities/commonFunctions\";\nimport { ToastType } from \"@/Model/toastType\";\nimport {\n Discount,\n DiscountType,\n AmountUnitType,\n TimeRangeType,\n EarlyRegistrationRule,\n MultiParticipantRule,\n} from \"@/Model/payments/types\";\nimport UIkit from \"uikit\";\nimport { toggleStatusAutomaticDiscount } from \"@/services/payments/api\";\n\n@Component({\n components: {\n CardComponent,\n ToggleSwitch,\n },\n})\nexport default class DiscountTableRow extends Vue {\n @Prop({ required: true }) discount!: Discount;\n @Prop({ required: true }) index!: number;\n\n discountType = DiscountType;\n amountUnitType = AmountUnitType;\n timeRangeType = TimeRangeType;\n isToggleOpen = false;\n enabled = true;\n commonUtils = APP_UTILITIES;\n\n // Initial flag to indicate first render state\n private _firstRender = true;\n disableSwitch = false;\n\n get discountListComputed() {\n return paymentsModule.discountList;\n }\n\n beforeMount() {\n this.enabled = this.discountListComputed[this.index].isActive;\n }\n\n mounted() {\n this._firstRender = false;\n this.enabled = this.discount.isActive;\n }\n\n toggleAccordion(index: number) {\n UIkit.accordion(`#accordion-toggle-${index}`).toggle();\n this.isToggleOpen = !this.isToggleOpen;\n }\n\n get discountTableLabel(): string {\n if (this.discount.discountTypeId === DiscountType.EARLY_REGISTRATION) {\n const earlyRegistration = this.discount.rules as [EarlyRegistrationRule];\n return APP_UTILITIES.addSymbol(\n earlyRegistration[0].amount,\n this.discount.amountUnitType == AmountUnitType.FIXED_AMOUNT\n );\n } else {\n return \"Tiered\";\n }\n }\n\n get multipleParticipantsRules(): MultiParticipantRule[] | null {\n if (this.discount.discountTypeId === DiscountType.MULTI_PARTICIPANT) {\n const multipleParticipants = this.discount\n .rules as MultiParticipantRule[];\n return multipleParticipants;\n }\n return null;\n }\n\n get earlyRegistrationSessionLabel(): string {\n const earlyRegistration = (\n this.discount.rules as [EarlyRegistrationRule]\n )[0];\n return `If registering ${\n earlyRegistration.timeRangeUnit\n } ${APP_UTILITIES.earlyRegistrationDateLabel(\n earlyRegistration\n )} before session start date`;\n }\n\n @Watch(\"enabled\")\n async onEnabledChanged() {\n if (\n !this._firstRender &&\n this.discount &&\n this.discount.isActive !== this.enabled\n ) {\n try {\n this.disableSwitch = true;\n await toggleStatusAutomaticDiscount({\n isActive: !this.discount.isActive,\n id: this.discount.id,\n });\n\n // Perform an optimistic update on the state once the status has been toggled\n const copyDiscounts = [...paymentsModule.discountList];\n copyDiscounts[this.index].isActive = !this.discount.isActive;\n paymentsModule.UPDATE_AUTOMATIC_DISCOUNT_LIST(copyDiscounts);\n\n APP_UTILITIES.showToastMessage(\n `Discount is ${!this.enabled ? \"inactive\" : \"active\"}`,\n ToastType.Success\n );\n } catch {\n APP_UTILITIES.showToastMessage(\"Unexpected Error!\", ToastType.Error);\n this.enabled = !this.enabled;\n } finally {\n this.disableSwitch = false;\n }\n }\n }\n\n handleEdit(discount: Discount) {\n paymentsModule.SET_SELECTED_AUTOMATIC_DISCOUNT(discount);\n\n paymentsModule.setIsConfiguratioDiscountMenuOpen(true);\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DiscountTableRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DiscountTableRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DiscountTableRow.vue?vue&type=template&id=5819149a&scoped=true&\"\nimport script from \"./DiscountTableRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./DiscountTableRow.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DiscountTableRow.vue?vue&type=style&index=0&id=5819149a&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5819149a\",\n null\n \n)\n\nexport default component.exports","export enum FormValidationError {\n REQUIRED,\n MIN,\n MAX,\n MAX_LENGTH,\n TYPE,\n DUPLICATE,\n FORMAT\n}\n\nexport interface FormValidation {\n changes: boolean;\n dirty: boolean;\n error: FormValidationError | null;\n errorMessage: string;\n valid: boolean;\n}\n\nexport type FormFieldValidation = {\n [Property in keyof T]: FormValidation\n};\n\nexport enum VeeValidateProviderMode {\n Aggressive = 'aggressive',\n Passive = 'passive',\n Lazy = 'lazy',\n Eager = 'eager'\n}","import { ConvenienceFeeGetResponse, ConvenienceFeeType, CustomFeeResponse } from '@/Model/payments/types';\nimport { formatCurrency } from '../common/formatters';\n\nexport function percentToNumber(value: string) {\n return Number(`${value}`.replace('%', ''));\n}\n\nexport function getFormattedFeeDisplayValue(fee: ConvenienceFeeGetResponse | CustomFeeResponse): string {\n let result = fee.feeValue.toLocaleString(); // Default catch-all in case the fee.feeType value is somehow not one of the ConvenienceFeeType enum members\n if (fee.feeType === ConvenienceFeeType.FixedAmount) {\n result = formatCurrency(fee.feeValue);\n }\n else if (fee.feeType === ConvenienceFeeType.Percentage) {\n result = `${fee.feeValue}%`;\n }\n return result;\n}","import { extend } from 'vee-validate';\nimport { required, min_value, between, regex } from 'vee-validate/dist/rules';\nimport { ValidationRuleFunction } from 'vee-validate/dist/types/types';\nimport { percentToNumber } from '@/services/payments/helpers';\n\nconst percentTwoDecimalRegexPattern = /^([0-9]{1,3}|[0-9]{1,3}\\.[0-9]?[0-9]?|\\.[0-9]?[0-9])?%?$/;\n\nexport const percentInputDecimalLengthValidator: ValidationRuleFunction = (value: string) => regex.validate(value, { regex: percentTwoDecimalRegexPattern });\n\n\nexport const percentInputBetweenValueValidator: ValidationRuleFunction = (value: string, { args }: Record) => {\n const numValue = percentToNumber(value);\n return between.validate(numValue, args);\n};\n\nexport function fixedAmountFeeMinValueValidator(message: string) {\n extend('fixed_amount_min_value', {\n ...min_value,\n message\n });\n}\n\nexport function fixedAmountFeeRequiredValidator(message: string) {\n extend('fixed_amount_required', {\n ...required,\n message\n });\n}\n\nexport function percentInputBetweenValidator(message: string) {\n extend('percent_input_between', {\n ...between,\n params: ['args'],\n message,\n validate: percentInputBetweenValueValidator\n });\n}\n\nexport function feeNameRequiredValidator(message: string) {\n extend('name_required', {\n ...required,\n message\n });\n}\n\nexport function customFeeSelectionRequiredValidator(message: string) {\n extend('fee_type_required', {\n ...required,\n message\n });\n}\n\nexport function percentInputRequiredValidator(message: string) {\n extend('percent_input_required', {\n ...required,\n message\n });\n}\n\nexport function percentInputTwoDecimalPlacesValidator(message: string) {\n extend('percent_input_decimal_length', {\n ...regex,\n message,\n validate: percentInputDecimalLengthValidator\n });\n}\n\nexport function checkoutNameRequiredValidator(message: string) {\n extend('name_required', {\n ...required,\n message\n });\n}\n\nexport function discountDescriptionRequiredValidator(message: string) {\n extend('description_required', {\n ...required,\n message\n });\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseModal',{attrs:{\"isVisible\":_vm.isVisibleSync},on:{\"update:isVisible\":function($event){_vm.isVisibleSync=$event},\"update:is-visible\":function($event){_vm.isVisibleSync=$event},\"closepopup\":_vm.onCancel}},[_c('div',{staticClass:\"uk-margin-bottom\"},[_c('i',{class:_vm.iconClass})]),_c('div',{staticClass:\"change-custom-payment-title uk-margin-auto uk-margin-bottom\"},[_vm._v(\" \"+_vm._s(_vm.config.title)+\" \")]),_c('div',{staticClass:\"change-custom-payment-text uk-margin-medium-bottom\"},[_vm._v(\" \"+_vm._s(_vm.config.description)+\" \")]),_c('div',{staticClass:\"uk-flex uk-flex-right uk-margin-remove-bottom uk-padding-remove-bottom arly-button-container\"},[_c('button',{staticClass:\"btn-secondary uk-margin-small-right uk-margin-remove-bottom\",on:{\"click\":_vm.onCancel}},[_vm._v(\" \"+_vm._s(_vm.config.cancelButtonLabel)+\" \")]),_c('button',{staticClass:\"uk-margin-remove-bottom\",class:_vm.btnClass,on:{\"click\":_vm.onConfirm}},[_vm._v(\" \"+_vm._s(_vm.config.confirmButtonLabel)+\" \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, PropSync, Prop } from 'vue-property-decorator';\nimport BaseModal from '@/popupcomponents/BaseModal.vue';\nimport { StateModalType } from '@/Model/payments/types';\n\n@Component({\n components: {\n BaseModal\n }\n})\nexport default class StateModal extends Vue {\n @PropSync('isVisible') isVisibleSync!: boolean;\n\n @Prop() config!: {\n title: string;\n description: string;\n type: StateModalType;\n cancelButtonLabel: string;\n confirmButtonLabel: string;\n };\n\n onCancel() {\n this.$emit('onClose');\n }\n\n onConfirm() {\n this.$emit('onConfirm');\n }\n\n get iconClass() {\n switch (this.config.type) {\n case StateModalType.WARNING:\n return 'fa-solid fa-triangle-exclamation fa-7x warning-icon';\n\n case StateModalType.ERROR:\n return 'fa-solid fa-trash fa-7x error-icon';\n\n default:\n return '';\n }\n }\n\n get btnClass() {\n switch (this.config.type) {\n case StateModalType.WARNING:\n return 'btn-primary';\n\n case StateModalType.ERROR:\n return 'btn-danger';\n\n default:\n return 'btn-primary';\n }\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StateModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StateModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./StateModal.vue?vue&type=template&id=2126c934&scoped=true&\"\nimport script from \"./StateModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./StateModal.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./StateModal.vue?vue&type=style&index=0&id=2126c934&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2126c934\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StateModal.vue?vue&type=style&index=0&id=2126c934&lang=less&scoped=true&\"","import { extend } from 'vee-validate';\nimport { required, min_value } from 'vee-validate/dist/rules';\nimport { ValidationRuleFunction } from 'vee-validate/dist/types/types';\n\nexport const urlRegex: RegExp = /^(https?:\\/\\/)?(w{3})?[-a-z0-9@:%._+~#=]{1,256}\\.[a-z0-9()]{1,6}\\b([-a-z0-9()@:%_+.~#?&/=]*)$/i;\n\nexport const priceGreaterThanZeroWithTaxRateValidator: ValidationRuleFunction = (price: number, { taxRate }: Record) => {\n if (price === 0 && !!taxRate) {\n return false;\n }\n return true;\n};\n\nexport function registerPriceRequiredValidator(message: string) {\n extend('price_required', {\n ...required,\n message\n });\n}\n\nexport function requiredField(message: string) {\n extend('field_required', {\n ...required,\n message\n });\n}\n\n\nexport function registerPriceMinValueValidator(message: string) {\n extend('price_min_value', {\n ...min_value,\n message\n });\n}\n\nexport function registerPriceGreaterThanZeroWithTaxRateValidator(message: string) {\n extend('price_greater_than_zero_with_tax_rate', {\n params: ['taxRate'],\n validate: priceGreaterThanZeroWithTaxRateValidator,\n message\n });\n}","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToggleSwitch.vue?vue&type=style&index=0&id=87a5289e&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('OffCanvas',{attrs:{\"isVisible\":_vm.isCustomizeFeeVisibleSync},on:{\"update:isVisible\":function($event){_vm.isCustomizeFeeVisibleSync=$event},\"update:is-visible\":function($event){_vm.isCustomizeFeeVisibleSync=$event},\"onClose\":_vm.onClose}},[_c('aside',{staticClass:\"add-new-sec\"},[_c('div',[_c('div',{staticClass:\"customize-fee-title uk-margin-small-bottom\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('CUSTOMIZE_FEE_TITLE'))+\" \")]),_c('div',{staticClass:\"subtitle uk-margin-small-bottom\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('CUSTOMIZE_FEE_SUBTITLE'))+\" \")]),_c('ValidationObserver',{ref:\"formObserverRef\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.beforeOnSave)}}},[_c('div',{staticClass:\"form-group uk-margin-small-bottom\"},[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"name\",\"data-testid\":\"fee-name\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('LABEL_NAME'))),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('FEE_NAME_SUBHEADER'))+\" \")]),_c('ValidationProvider',{ref:\"nameObserverRef\",attrs:{\"rules\":\"name_required\",\"mode\":_vm.validationMode.Eager},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nvar invalid = ref.invalid;\nvar validated = ref.validated;\nreturn [_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.customFee.name),expression:\"customFee.name\",modifiers:{\"trim\":true}}],attrs:{\"id\":\"name\",\"type\":\"text\",\"maxlength\":\"50\"},domProps:{\"value\":(_vm.customFee.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.customFee, \"name\", $event.target.value.trim())},\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('span',{staticClass:\"form-field-error\",style:({ 'visibility': validated && invalid ? 'visible' : 'hidden' }),attrs:{\"data-testid\":\"name-required-error\"}},[_vm._v(\" \"+_vm._s(errors[0])+\" \")])]}}],null,true)})],1),_c('div',{staticClass:\"form-group uk-margin-small-top\"},[_c('div',[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"percent-rate\",\"data-testid\":\"setup-header\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('LABEL_SETUP'))),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])])]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('FEE_SETUP_SUBHEADER'))+\" \")]),_c('div',{staticClass:\"uk-margin-remove\"},[_c('div',{staticClass:\"radio-input-wrapper\"},[_c('ValidationProvider',{attrs:{\"vid\":_vm.percentInputVid,\"rules\":\"fee_type_required\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customFee.feeType),expression:\"customFee.feeType\"}],attrs:{\"id\":\"percent-rate\",\"type\":\"radio\",\"name\":\"fee-type\",\"data-testid\":\"percent-rate-input\"},domProps:{\"value\":_vm.convenienceFeeType.Percentage,\"checked\":_vm._q(_vm.customFee.feeType,_vm.convenienceFeeType.Percentage)},on:{\"click\":function($event){return _vm.displayPercentRate()},\"change\":function($event){return _vm.$set(_vm.customFee, \"feeType\", _vm.convenienceFeeType.Percentage)}}})]),_c('label',{staticClass:\"subtitle\",attrs:{\"for\":\"percent-rate\"}},[_vm._v(_vm._s(_vm.screenText.getScreenText('FEE_PERCENTAGE_RATE')))])],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.customFee.feeType == _vm.convenienceFeeType.Percentage),expression:\"customFee.feeType == convenienceFeeType.Percentage\"}],staticClass:\"uk-margin-small-left uk-padding-small uk-padding-remove-vertical\"},[_c('span',{staticClass:\"subheader\"},[_vm._v(_vm._s(_vm.screenText.getScreenText('FEE_PERCENT_RATE_HELPER_TEXT')))]),_c('ValidationProvider',{ref:\"percentInputObserverRef\",attrs:{\"rules\":_vm.percentBasedInputRules,\"mode\":_vm.validationMode.Eager},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nvar invalid = ref.invalid;\nvar validated = ref.validated;\nreturn [_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.percentInput),expression:\"percentInput\"}],attrs:{\"id\":\"percent-input\"},domProps:{\"value\":(_vm.percentInput)},on:{\"blur\":_vm.addPercentSignToPercentInput,\"focus\":_vm.onPercentInputFocus,\"keypress\":function($event){return _vm.forceNumberInput($event, true)},\"input\":function($event){if($event.target.composing){ return; }_vm.percentInput=$event.target.value}}}),_c('span',{staticClass:\"form-field-error\",style:({ 'visibility': validated && invalid ? 'visible' : 'hidden' }),attrs:{\"data-testid\":\"percent-input-error\"}},[_vm._v(\" \"+_vm._s(errors[0])+\" \")])]}}],null,true)})],1),_c('div',{staticClass:\"radio-input-wrapper\",style:({ 'float': _vm.isPercentRateDisplayed ? 'left' : 'none' })},[_c('ValidationProvider',{attrs:{\"rules\":\"fee_type_required\",\"vid\":_vm.fixedAmountInputVid}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customFee.feeType),expression:\"customFee.feeType\"}],attrs:{\"id\":\"fixed-amount\",\"type\":\"radio\",\"name\":\"fee-type\",\"data-testid\":\"fixed-amount-input\"},domProps:{\"value\":_vm.convenienceFeeType.FixedAmount,\"checked\":_vm._q(_vm.customFee.feeType,_vm.convenienceFeeType.FixedAmount)},on:{\"click\":function($event){return _vm.displayFixedAmount()},\"change\":function($event){return _vm.$set(_vm.customFee, \"feeType\", _vm.convenienceFeeType.FixedAmount)}}})]),_c('label',{staticClass:\"subtitle\",attrs:{\"for\":\"fixed-amount\"}},[_vm._v(_vm._s(_vm.screenText.getScreenText('FEE_FIXED_AMOUNT')))])],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.customFee.feeType == _vm.convenienceFeeType.FixedAmount),expression:\"customFee.feeType == convenienceFeeType.FixedAmount\"}],staticClass:\"uk-margin-small-left uk-padding-small uk-padding-remove-vertical\"},[_c('span',{staticClass:\"subheader\"},[_vm._v(_vm._s(_vm.screenText.getScreenText('FEE_FIXED_AMOUNT_HELPER_TEXT')))]),_c('ValidationProvider',{ref:\"fixedAmountObserverRef\",attrs:{\"rules\":_vm.fixedAmountInputRules,\"mode\":_vm.validationMode.Eager},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nvar invalid = ref.invalid;\nvar validated = ref.validated;\nreturn [_c('CurrencyInput',{attrs:{\"id\":\"fixed-amount\",\"name\":\"fixed-amount-price\",\"currency\":_vm.currencyOptions.currency,\"locale\":_vm.currencyOptions.locale,\"allowNegative\":_vm.currencyOptions.allowNegative},on:{\"blur\":_vm.onFixedAmountBlur},model:{value:(_vm.fixedAmountInput),callback:function ($$v) {_vm.fixedAmountInput=_vm._n($$v)},expression:\"fixedAmountInput\"}}),_c('span',{staticClass:\"form-field-error\",style:({ 'visibility': validated && invalid ? 'visible' : 'hidden' }),attrs:{\"data-testid\":\"fixed-amount-error\"}},[_vm._v(\" \"+_vm._s(errors[0])+\" \")])]}}],null,true)})],1),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(!!_vm.displayRadioInputError()),expression:\"!!displayRadioInputError()\"}],staticClass:\"form-field-error\"},[_vm._v(\" \"+_vm._s(_vm.displayRadioInputError())+\" \")])])]),_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"tax-rate-select\",\"data-testid\":\"tax-rate\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('LABEL_TAX_RATE'))+\" \")]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('TAX_RATE_FEE_DESCRIPTION'))+\" \")]),_c('ValidationProvider',[_c('DropdownList',{attrs:{\"dropdown\":_vm.taxDropdownOptions,\"autoSelectionAllowed\":true},on:{\"onSelectionChange\":_vm.onSelectTax},model:{value:(_vm.customFee.taxRate),callback:function ($$v) {_vm.$set(_vm.customFee, \"taxRate\", $$v)},expression:\"customFee.taxRate\"}})],1)],1),_c('div',{staticClass:\"form-group uk-margin-small-bottom\"},[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"description\",\"data-testid\":\"fee-description\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('LABEL_DESCRIPTION'))+\" \")]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('CUSTOMIZE_FEE_DESCRIPTION'))+\" \")]),_c('ValidationProvider',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.customFee.description),expression:\"customFee.description\",modifiers:{\"trim\":true}}],attrs:{\"id\":\"fee-description-text\",\"maxlength\":\"100\"},domProps:{\"value\":(_vm.customFee.description)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.customFee, \"description\", $event.target.value.trim())},\"blur\":function($event){return _vm.$forceUpdate()}}})])],1),_c('div',[_c('button',{staticClass:\"btn-secondary uk-margin-small-right\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.onCancel}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('BTN_CANCEL'))+\" \")]),_c('ProgressButton',{attrs:{\"bx-attr\":\"save-btn\",\"apiResponseCode\":_vm.saveProgressButtonState,\"isValidation\":_vm.isValidationForProgress,\"buttonIndex\":_vm.saveButtonText,\"buttonText\":_vm.saveButtonText,\"updateProgress\":true}})],1)]),_c('ChangeFeeModal',{attrs:{\"isVisible\":_vm.isChangeFeeModalVisible},on:{\"confirmChangeFee\":_vm.confirmChangeFee,\"closepopup\":_vm.closeChangeFeeModal}})]}}])})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, PropSync, Ref, Vue, Watch } from 'vue-property-decorator';\nimport { ScreenText } from '@/lang/ScreenText';\nimport OffCanvas from '@/commoncomponents/OffCanvas.vue';\nimport DropdownList from '@/ui-components/dropdownListBx/DropdownList.vue';\nimport { CurrencyInput, CurrencyInputOptions } from 'vue-currency-input';\nimport APP_CONST from '@/constants/AppConst';\nimport APP_UTILITIES from '@/utilities/commonFunctions';\nimport { DropdownListItem, DropdownListOptions } from '@/ui-components/dropdownListBx/types';\nimport { ValidationObserver, ValidationProvider, extend } from 'vee-validate';\nimport { VeeValidateProviderMode } from '@/Model/forms/types';\nimport { ConvenienceFeeGetResponse, ConvenienceFeeType } from '@/Model/payments/types';\nimport paymentsModule from '@/store/modules/Payments/module';\nimport { Status } from '@/Model/shared/types';\nimport { ProviderInstance } from 'vee-validate/dist/types/types';\nimport ProgressButton from '@/commoncomponents/progressButton/progressButton';\nimport ChangeFeeModal from '@/popupcomponents/payments/ChangeFeeModal.vue';\nimport { fixedAmountFeeMinValueValidator, fixedAmountFeeRequiredValidator, feeNameRequiredValidator, customFeeSelectionRequiredValidator, percentInputRequiredValidator, percentInputBetweenValidator, percentInputTwoDecimalPlacesValidator } from '@/validators/payments/validators';\nimport { percentToNumber } from '@/services/payments/helpers';\n\n@Component({\n components: {\n OffCanvas,\n DropdownList,\n CurrencyInput,\n ValidationObserver,\n ValidationProvider,\n ProgressButton,\n ChangeFeeModal\n }\n})\n\n\nexport default class CustomizeFee extends Vue {\n @PropSync('isCustomizeFeeVisible', { type: Boolean, required: true }) isCustomizeFeeVisibleSync!: boolean;\n @Ref('formObserverRef') readonly formObserverRef?: InstanceType;\n @Ref('nameObserverRef') readonly nameObserverRef?: ProviderInstance;\n @Ref('percentInputObserverRef') readonly percentInputObserverRef?: ProviderInstance;\n @Ref('fixedAmountObserverRef') readonly fixedAmountObserverRef?: ProviderInstance;\n\n private readonly accountId = APP_UTILITIES.getAccountId();\n readonly percentInputVid = 'percentInput';\n readonly fixedAmountInputVid = 'fixedAmountInput';\n\n readonly screenText = new ScreenText();\n readonly currencyOptions: CurrencyInputOptions = APP_CONST.CURRENCY_OPTIONS;\n readonly nameText = this.screenText.getScreenText('LABEL_NAME').toLowerCase();\n readonly initialCustomFeeTemplate = {\n id: 0,\n name: '',\n description: '',\n status: Status.Active,\n feeType: null,\n feeValue: 0\n } as Omit & { feeType: ConvenienceFeeType | null };\n payments = paymentsModule;\n isPercentRateDisplayed = false;\n isFixedAmountDisplayed = false;\n isValidationForProgress = false;\n convenienceFeeType = ConvenienceFeeType;\n validationMode = VeeValidateProviderMode;\n percentInput: number | string = 0;\n fixedAmountInput: number | null = 0; //Must be nullable for the CurrencyInput, which can null the field momentarily\n customFee = { ...this.initialCustomFeeTemplate };\n isChangeFeeModalVisible = false;\n\n get fixedAmountInputRules(): Record {\n return {\n fixed_amount_min_value: this.customFee.feeType == ConvenienceFeeType.FixedAmount\n ? 0.01\n : false,\n fixed_amount_required: this.customFee.feeType == ConvenienceFeeType.FixedAmount,\n };\n }\n\n get percentBasedInputRules(): Record {\n return {\n percent_input_between: this.customFee.feeType == ConvenienceFeeType.Percentage\n ? { min: 0.01, max: 100 }\n : false,\n percent_input_required: this.customFee.feeType == ConvenienceFeeType.Percentage,\n percent_input_decimal_length: true,\n };\n }\n\n get saveProgressButtonState(): number {\n if (!this.payments.isSavingCustomFee && !this.payments.didSavingCustomFeeFail) {\n return 200;\n }\n\n else if (!this.payments.isSavingCustomFee && this.payments.didSavingCustomFeeFail) {\n return 400;\n }\n else {\n return 0;\n }\n }\n\n get saveButtonText(): string {\n return this.screenText.getScreenText('BTN_SAVE');\n }\n\n private selectATaxRateDropdownItem: DropdownListItem = {\n id: 0,\n value: this.screenText.getScreenText('SESSION_ADD_EDIT_TAX_DEFAULT')\n };\n\n async fetchAllTaxRates() {\n if (this.accountId) {\n await this.payments.getTaxRates(this.accountId);\n }\n }\n\n async onSelectTax(selection: DropdownListItem) {\n if (selection.id == 0) {\n this.customFee.taxRate = null;\n }\n else {\n const oneBasedDropdownIndex = selection.id;\n const convertedZeroBasedTaxRateIndex = oneBasedDropdownIndex - 1;\n this.customFee.taxRate = this.payments.taxRates[convertedZeroBasedTaxRateIndex];\n }\n }\n\n get taxDropdownOptions(): DropdownListOptions {\n let dropdownList: Array = [this.selectATaxRateDropdownItem];\n let selectedTaxRate = this.selectATaxRateDropdownItem;\n\n dropdownList = dropdownList.concat(this.payments.taxRates.map((taxRate, index) => {\n const zeroBasedIndex = index;\n const convertedOneBasedIndexForDropdown = zeroBasedIndex + 1; // Need to have an Number id for the bx dropdown\n const taxRateDropdownItemForIndex: DropdownListItem = {\n id: convertedOneBasedIndexForDropdown,\n value: `${taxRate.displayName} ${this.screenText.getScreenText('LABEL_TAX_RATE_JOINING_TEXT')} ${taxRate.percentage}%`\n };\n\n if (this.customFee.taxRate && this.customFee.taxRate.id === taxRate.id) {\n selectedTaxRate = taxRateDropdownItemForIndex;\n }\n return taxRateDropdownItemForIndex;\n }));\n\n return {\n id: selectedTaxRate.id,\n singleSelect: true,\n showSelectLabel: false,\n value: selectedTaxRate.value,\n dropdownList\n };\n }\n\n forceNumberInput = APP_UTILITIES.forceNumberInput;\n\n onFixedAmountBlur() {\n if (!this.fixedAmountInput) {\n this.fixedAmountInput = 0;\n }\n }\n\n displayRadioInputError(): string | null {\n let error: string | null = null;\n if (this.formObserverRef) {\n const percentRadioError = this.formObserverRef.errors[this.percentInputVid] && this.formObserverRef.errors[this.percentInputVid][0];\n const fixedAmountRadioError = this.formObserverRef.errors[this.fixedAmountInputVid] && this.formObserverRef.errors[this.fixedAmountInputVid][0];\n const radioError = percentRadioError || fixedAmountRadioError;\n if (radioError) {\n error = radioError;\n }\n }\n return error;\n }\n\n created() {\n this.onCreated();\n }\n\n onCreated() {\n this.registerValidators();\n this.fetchAllTaxRates();\n }\n\n onPercentInputFocus(event: FocusEvent) {\n const targetElement = event.target as HTMLInputElement;\n this.percentInput = percentToNumber(targetElement.value);\n }\n\n addPercentSignToPercentInput() {\n const updatedInput = percentToNumber(`${this.percentInput}`);\n this.percentInput = `${Number(updatedInput)}%`;\n }\n\n onCancel() {\n this.onClose();\n this.isCustomizeFeeVisibleSync = false;\n }\n\n onClose() {\n this.resetInputs();\n }\n\n @Watch('isCustomizeFeeVisible')\n onVisibleChange(visible: boolean) {\n if (visible) {\n this.setCustomFee();\n this.addPercentSignToPercentInput();\n }\n }\n\n setCustomFeeValues() {\n if (this.isFixedAmountDisplayed) {\n this.customFee.feeValue =\n this.fixedAmountInput !== null\n ? this.fixedAmountInput\n : 0;\n this.customFee.feeType = ConvenienceFeeType.FixedAmount;\n }\n else {\n this.customFee.feeValue = percentToNumber(`${this.percentInput}`);\n this.customFee.feeType = ConvenienceFeeType.Percentage;\n }\n\n //Sibling component FeeDetails changes the paymentsModule.customFee.status when toggled\n if (paymentsModule.customFee) {\n this.customFee.status = paymentsModule.customFee.status;\n }\n }\n\n setCustomFee() {\n this.customFee = paymentsModule.customFee\n ? { ...paymentsModule.customFee }\n : { ...this.initialCustomFeeTemplate };\n\n if (this.customFee.feeType == ConvenienceFeeType.FixedAmount) {\n this.fixedAmountInput = this.customFee.feeValue;\n this.percentInput = this.initialCustomFeeTemplate.feeValue;\n this.isFixedAmountDisplayed = true;\n this.isPercentRateDisplayed = false;\n }\n else if (this.customFee.feeType == ConvenienceFeeType.Percentage) {\n this.percentInput = this.customFee.feeValue;\n this.fixedAmountInput = this.initialCustomFeeTemplate.feeValue;\n this.isFixedAmountDisplayed = false;\n this.isPercentRateDisplayed = true;\n }\n }\n\n private async canSave(): Promise {\n if (this.formObserverRef) {\n await this.formObserverRef.validate();\n }\n\n return !(paymentsModule.isSavingCustomFee || paymentsModule.isLoadingCustomFee)\n && !!this.formObserverRef\n && this.formObserverRef.flags.valid;\n }\n\n private resetInputs() {\n for (const key in this.customFee) {\n const asKeyOf = key as keyof ConvenienceFeeGetResponse;\n this.customFee = {\n ...this.customFee,\n [asKeyOf]: paymentsModule.customFee\n ? paymentsModule.customFee[asKeyOf]\n : this.initialCustomFeeTemplate[asKeyOf]\n };\n }\n\n if (this.formObserverRef) {\n this.formObserverRef.reset();\n }\n\n this.resetFeeInputs();\n }\n\n private resetFeeInputs() {\n this.percentInput = this.customFee.feeType == ConvenienceFeeType.Percentage\n ? this.customFee.feeValue\n : 0;\n this.fixedAmountInput = this.customFee.feeType == ConvenienceFeeType.FixedAmount\n ? this.customFee.feeValue\n : 0;\n }\n\n async onSave() {\n\n if (!await this.canSave()) {\n return;\n }\n\n this.isValidationForProgress = false;\n\n this.setCustomFeeValues();\n\n const updatedFee = {\n ...this.customFee,\n feeType: this.customFee.feeType! //We can assert that feeType != null due to the canSave method\n } as ConvenienceFeeGetResponse;\n\n await paymentsModule.updateCustomFee(updatedFee);\n\n this.setCustomFee();\n this.isValidationForProgress = false;\n this.isCustomizeFeeVisibleSync = false;\n }\n\n closeChangeFeeModal() {\n this.isChangeFeeModalVisible = false;\n }\n\n confirmChangeFee() {\n this.closeChangeFeeModal();\n this.onSave();\n }\n\n beforeOnSave() {\n if (paymentsModule.customFee) {\n if (this.formObserverRef && this.formObserverRef.flags.changed) {\n this.isChangeFeeModalVisible = true;\n }\n else {\n this.onCancel();\n }\n }\n else {\n this.onSave();\n }\n }\n\n displayPercentRate() {\n this.isPercentRateDisplayed = true;\n this.isFixedAmountDisplayed = false;\n }\n\n displayFixedAmount() {\n this.isFixedAmountDisplayed = true;\n this.isPercentRateDisplayed = false;\n }\n\n private registerValidators() {\n fixedAmountFeeMinValueValidator(this.screenText.getScreenText('CUSTOM_FEE_FIXED_AMOUNT_ERROR'));\n fixedAmountFeeRequiredValidator(this.screenText.getScreenText('CUSTOM_FEE_FIXED_AMOUNT_ERROR'));\n percentInputBetweenValidator(this.screenText.getScreenText('CUSTOM_FEE_PERCENT_ERROR'));\n feeNameRequiredValidator(this.screenText.getScreenText('REQUIRED_INPUT_FIELD_ERROR').replace('{field}', this.nameText));\n customFeeSelectionRequiredValidator(this.screenText.getScreenText('CUSTOM_FEE_SELECTION_REQUIRED_ERROR'));\n percentInputRequiredValidator(this.screenText.getScreenText('CUSTOM_FEE_PERCENT_ERROR'));\n percentInputTwoDecimalPlacesValidator(this.screenText.getScreenText('CUSTOM_FEE_PERCENT_ERROR'));\n }\n\n}\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomizeFee.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomizeFee.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CustomizeFee.vue?vue&type=template&id=706c9b36&scoped=true&\"\nimport script from \"./CustomizeFee.vue?vue&type=script&lang=ts&\"\nexport * from \"./CustomizeFee.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CustomizeFee.vue?vue&type=style&index=0&id=706c9b36&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"706c9b36\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomizeFee.vue?vue&type=style&index=0&id=706c9b36&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"discount-configuration-wrapper\"},[_c('div',{staticClass:\"form-group uk-margin-small-bottom\"},[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"description\",\"data-testid\":\"checkout-description\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT_EARLY_REGISTRATION\"))+\" \")]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText( \"LABEL_DISCOUNT_EARLY_REGISTRATION_SUBHEADER\" ))+\" \")])]),_c('div',{staticClass:\"discount-configuration-input-container\"},[_c('div',{staticClass:\"form-group w-18\"},[_c('label',{staticClass:\"uk-margin-small-bottom\",attrs:{\"for\":\"tax-rate-select\",\"data-testid\":\"tax-rate\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT_EARLY_DISCOUNT_ENDS\"))),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])]),_c('ValidationProvider',{ref:\"percentInputObserverRef\",attrs:{\"rules\":\"required\",\"mode\":_vm.validationMode.Eager},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nvar invalid = ref.invalid;\nvar validated = ref.validated;\nreturn [_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.earlyDiscountEndsSync),expression:\"earlyDiscountEndsSync\"}],attrs:{\"id\":\"discount-ends\",\"type\":\"number\",\"min\":\"1\"},domProps:{\"value\":(_vm.earlyDiscountEndsSync)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.earlyDiscountEndsSync=$event.target.value}}}),_c('span',{staticClass:\"form-field-error\",style:({ visibility: validated && invalid ? 'visible' : 'hidden' }),attrs:{\"data-testid\":\"discount-ends-error\"}},[_vm._v(\" \"+_vm._s(errors[0])+\" \")])]}}])})],1),_c('div',{staticClass:\"form-group w-60\"},[_c('ValidationProvider',[_c('DropdownList',{attrs:{\"dropdown\":_vm.discountRuleListDropdown,\"autoSelectionAllowed\":false},on:{\"onSelectionChange\":_vm.onSelectSessionStart}})],1)],1),_c('div',{staticClass:\"form-group w-18\"},[_c('label',{staticClass:\"uk-margin-small-bottom\",attrs:{\"for\":\"tax-rate-select\",\"data-testid\":\"tax-rate\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_AMOUNT\"))),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])]),_c('ValidationProvider',{ref:\"percentInputObserverRef\",attrs:{\"rules\":\"percent_input_required\",\"mode\":_vm.validationMode.Eager},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nvar invalid = ref.invalid;\nvar validated = ref.validated;\nreturn [_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.earlyAmountValueSync),expression:\"earlyAmountValueSync\"}],staticClass:\"input-with-symbol\",class:{\n 'input-with-symbol--percent':\n _vm.discountUnitAmountSync === _vm.discountType.PERCENT_RATE\n },attrs:{\"id\":\"amount\",\"type\":\"number\",\"min\":\"1\",\"max\":_vm.discountUnitAmountSync === _vm.discountType.PERCENT_RATE\n ? 100\n : 9999999},domProps:{\"value\":(_vm.earlyAmountValueSync)},on:{\"change\":_vm.onAmountUpdated,\"input\":function($event){if($event.target.composing){ return; }_vm.earlyAmountValueSync=$event.target.value}}}),_c('span',{staticClass:\"form-field-error\",style:({ visibility: validated && invalid ? 'visible' : 'hidden' }),attrs:{\"data-testid\":\"amount-error\"}},[_vm._v(\" \"+_vm._s(errors[0])+\" \")])]}}])}),_c('span',{staticClass:\"rules-container__inputs-decorator-content\",class:_vm.discountUnitAmountSync === _vm.discountType.PERCENT_RATE\n ? 'rules-container__inputs-decorator-content--percent'\n : 'rules-container__inputs-decorator-content--currency'})],1)]),(_vm.earlyAmountValueSync)?_c('NotificationBox',{scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('i',{staticClass:\"fa-solid fa-circle-info info-circle-icon\"})]},proxy:true},{key:\"message\",fn:function(){return [_c('span',[_vm._v(_vm._s(_vm.screenText .getScreenText(\"LABEL_DISCOUNT_EARLY_INFO_MESSAGE\") .replace( \"{amount}\", _vm.discountUnitAmountSync === _vm.discountType.PERCENT_RATE ? (_vm.earlyAmountValueSync + \"%\") : (\"$\" + _vm.earlyAmountValueSync) )))])]},proxy:true}],null,false,789220507)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, Prop, PropSync, Watch } from 'vue-property-decorator';\nimport { ScreenText } from '@/lang/ScreenText';\nimport { VeeValidateProviderMode } from '@/Model/forms/types';\nimport { ValidationObserver, ValidationProvider } from 'vee-validate';\nimport DropdownList from '@/ui-components/dropdownListBx/DropdownList.vue';\nimport { DropdownListItem } from '@/ui-components/dropdownListBx/types';\nimport { AmountUnitType } from '@/Model/payments/types';\nimport NotificationBox from '@/commoncomponents/NotificationBox.vue';\nimport { percentInputRequiredValidator } from '@/validators/payments/validators';\n\n@Component({\n components: {\n ValidationObserver,\n ValidationProvider,\n DropdownList,\n EarlyRegistration,\n NotificationBox\n }\n})\nexport default class EarlyRegistration extends Vue {\n @PropSync('discountUnitAmount', { type: String, required: true })\n discountUnitAmountSync!: string;\n @PropSync('earlyDiscountEnds', { required: true }) earlyDiscountEndsSync!:\n | number\n | null;\n @PropSync('earlyAmountValue', { required: true }) earlyAmountValueSync!:\n | number\n | null;\n @Prop({ required: true }) discountRuleListDropdown!: DropdownListItem[];\n\n @Prop()\n formRef!: InstanceType;\n\n readonly screenText = new ScreenText();\n readonly discountType = AmountUnitType;\n validationMode = VeeValidateProviderMode;\n\n created() {\n const message = this.getErrorMsgLabel(this.discountUnitAmountSync);\n this.registerValidators(message);\n }\n\n @Watch('discountUnitAmountSync', { deep: true })\n discountUnitAmountReference(): void {\n this.formRef.reset();\n const message = this.getErrorMsgLabel(this.discountUnitAmountSync);\n this.registerValidators(message);\n }\n\n private registerValidators(message: string = ''): void {\n percentInputRequiredValidator(message);\n }\n\n getErrorMsgLabel(discountAmount: string): string {\n return discountAmount === AmountUnitType.PERCENT_RATE\n ? this.screenText.getScreenText('RULES_PERCENT_ERROR')\n : this.screenText.getScreenText('AUTOMATIC_PAYMENTS_AMOUNT_ERROR');\n }\n\n onSelectSessionStart(value: DropdownListItem) {\n this.$emit('onChangeSessionStart', value);\n }\n\n onAmountUpdated() {\n // Validate that percentage amount doesn't go over 100%\n if (\n this.discountUnitAmountSync === AmountUnitType.PERCENT_RATE &&\n this.earlyAmountValueSync !== null &&\n this.earlyAmountValueSync > 100\n ) {\n this.earlyAmountValueSync = 100;\n }\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EarlyRegistration.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EarlyRegistration.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EarlyRegistration.vue?vue&type=template&id=4744d2fe&scoped=true&\"\nimport script from \"./EarlyRegistration.vue?vue&type=script&lang=ts&\"\nexport * from \"./EarlyRegistration.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EarlyRegistration.vue?vue&type=style&index=0&id=4744d2fe&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4744d2fe\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/arrowDown.33c89f03.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card-component uk-flex uk-flex-column uk-flex-wrap uk-flex-left uk-flex-top uk-margin-bottom\",class:{'uk-margin-top': !_vm.disableMarginTop }},[_c('div',{staticClass:\"card-component-title\"},[_vm._t(\"title\")],2),_c('div',{staticClass:\"card-component-subtitle\"},[_vm._t(\"subtitle\")],2),_c('div',{staticClass:\"uk-margin-auto-top\",class:{ 'uk-width-1-1': _vm.shouldExpandFullWidth }},[_vm._t(\"button\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class CardComponent extends Vue {\n @Prop({ default: false }) shouldExpandFullWidth !: boolean;\n @Prop({ default: false }) disableMarginTop !: boolean;\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardComponent.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardComponent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CardComponent.vue?vue&type=template&id=029a7eae&scoped=true&\"\nimport script from \"./CardComponent.vue?vue&type=script&lang=ts&\"\nexport * from \"./CardComponent.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CardComponent.vue?vue&type=style&index=0&id=029a7eae&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"029a7eae\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"toggle-switch\",attrs:{\"tabindex\":\"0\",\"data-testid\":(\"toggle-switch-\" + _vm.inputId)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.toggleValue($event)}}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.valueSync),expression:\"valueSync\"}],staticClass:\"switch\",class:{ 'disabled': _vm.disabled },attrs:{\"id\":_vm.inputId,\"type\":\"checkbox\",\"disabled\":_vm.disabled,\"data-testid\":\"toggle-switch-input\"},domProps:{\"checked\":Array.isArray(_vm.valueSync)?_vm._i(_vm.valueSync,null)>-1:(_vm.valueSync)},on:{\"change\":function($event){var $$a=_vm.valueSync,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.valueSync=$$a.concat([$$v]))}else{$$i>-1&&(_vm.valueSync=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.valueSync=$$c}}}}),_c('label',{attrs:{\"for\":_vm.inputId,\"data-testid\":\"toggle-switch-label\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, PropSync, Vue } from 'vue-property-decorator';\nimport { uuid } from 'vue-uuid';\n\n@Component({})\nexport default class ToggleSwitch extends Vue {\n @Prop({ type: String, default: '' }) id!: string;\n @Prop({ type: Boolean, default: false }) disabled!: boolean;\n @PropSync('value', { type: Boolean, required: true }) valueSync!: boolean;\n\n inputId: string = this.id;\n\n beforeMount() {\n if (!this.inputId) {\n this.inputId = `toggle-switch-${uuid.v4().slice(0, 8)}`;\n }\n }\n\n toggleValue() {\n this.valueSync = !this.valueSync;\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToggleSwitch.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToggleSwitch.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ToggleSwitch.vue?vue&type=template&id=87a5289e&scoped=true&\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=ts&\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ToggleSwitch.vue?vue&type=style&index=0&id=87a5289e&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"87a5289e\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeeDetails.vue?vue&type=style&index=0&id=418f1c0b&lang=less&scoped=true&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DiscountTable.vue?vue&type=style&index=0&id=1f2efe5b&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangeCustomPaymentModal.vue?vue&type=style&index=0&id=baf522fe&lang=less&scoped=true&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Payments.vue?vue&type=style&index=0&id=3b1f2077&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./DropdownList.less?vue&type=style&index=0&id=7867c925&lang=less&scoped=true&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StorePolicyControls.vue?vue&type=style&index=0&id=36b9d7e2&lang=less&scoped=true&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomCheckout.vue?vue&type=style&index=0&id=05b90be4&lang=less&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/facet-chevron-down.236e0eeb.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isCurrentlyLoading || _vm.isLoadingCustomCheckouts)?_c('div',[_c('BouncingPreloader')],1):_c('div',{attrs:{\"id\":\"payments\"}},[_c('CustomizeFee',{attrs:{\"isCustomizeFeeVisible\":_vm.isCustomizeFeeVisible},on:{\"update:isCustomizeFeeVisible\":function($event){_vm.isCustomizeFeeVisible=$event},\"update:is-customize-fee-visible\":function($event){_vm.isCustomizeFeeVisible=$event}}}),_c('CustomCheckout',{attrs:{\"checkoutOption\":_vm.selectedCustomCheckoutOption,\"isCustomizeCheckoutVisible\":_vm.isCustomCheckoutVisible},on:{\"OnSaveCustomPayment\":_vm.refreshOnSaveCustomPayment,\"update:isCustomizeCheckoutVisible\":function($event){_vm.isCustomCheckoutVisible=$event},\"update:is-customize-checkout-visible\":function($event){_vm.isCustomCheckoutVisible=$event}}}),(_vm.isAutomaticDiscountEnabled)?_c('DiscountConfiguration',{attrs:{\"isConfigurationDiscountMenuVisible\":_vm.isAutomaticDiscountVisible},on:{\"update:isConfigurationDiscountMenuVisible\":function($event){_vm.isAutomaticDiscountVisible=$event},\"update:is-configuration-discount-menu-visible\":function($event){_vm.isAutomaticDiscountVisible=$event}}}):_vm._e(),(!_vm.hasOnBoardingCompleted)?_c('EmptyStateContainer',{scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('img',{attrs:{\"src\":require(\"@/assets/images/payments/merchant-account-setup.svg\")}})]},proxy:true},{key:\"title\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.merchantAccountSetupTitle)+\" \")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.merchantAccountSetupSubtitle)+\" \")]},proxy:true},{key:\"button\",fn:function(){return [_c('ProgressButton',{attrs:{\"bx-attr\":\"save-btn\",\"isValidation\":_vm.isValidForProgressButton,\"apiResponseCode\":_vm.translateLoadingToProgressButtonState(),\"buttonIndex\":\"payments-onboarding-link\",\"updateProgress\":true},on:{\"submitData\":function($event){return _vm.retrieveOnboardingLink()}}},[_vm._v(\" \"+_vm._s(_vm.shouldShowMerchantAccountError ? _vm.merchantAccountRetryButtonText : _vm.merchantAccountSetupButtonText)+\" \"),(_vm.shouldShowMerchantAccountError === false)?_c('i',[_c('span',{attrs:{\"uk-icon\":\"arrow-right\"}})]):_vm._e()])]},proxy:true},{key:\"error-message\",fn:function(){return [(_vm.shouldShowMerchantAccountError)?_c('div',{staticClass:\"merchantAccountError uk-text-center\"},[_c('div',[_vm._v(_vm._s(_vm.merchantAccountErrorText))])]):_vm._e()]},proxy:true}],null,false,3461389558)}):[_c('CardComponent',{scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.manageOnlinePaymentSettingsTitle)+\" \")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.manageSettingsDesc)+\" \")]},proxy:true},{key:\"button\",fn:function(){return [_c('a',{staticClass:\"btn-primary\",attrs:{\"href\":_vm.STRIPE_CONST.URLS.settings,\"target\":\"_blank\"}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.buttonDisplaySettings)+\" \"),_c('i',[_c('img',{staticClass:\"smallerExernalLinkIcon\",attrs:{\"src\":require(\"@/assets/font-awesomes/external-link-alt.svg\"),\"alt\":\"\"}})])])])]},proxy:true},{key:\"error-message\",fn:function(){return [(_vm.shouldShowMerchantAccountError)?_c('div',{staticClass:\"merchantAccountError\"},[_c('p',[_vm._v(_vm._s(_vm.merchantAccountErrorText))])]):_vm._e()]},proxy:true}])}),_c('div',{staticClass:\"uk-grid\",attrs:{\"uk-height-match\":\"target: > div > .card-component\"}},[_c('div',{staticClass:\"uk-width-1-4\"},[_c('CardComponent',{staticClass:\"card-component\",scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.payoutTitle)+\" \")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.payoutDesc)+\" \")]},proxy:true},{key:\"button\",fn:function(){return [_c('a',{staticClass:\"btn-primary\",attrs:{\"href\":_vm.STRIPE_CONST.URLS.payouts,\"target\":\"_blank\"}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.buttonPayout)+\" \"),_c('i',[_c('img',{staticClass:\"smallerExernalLinkIcon\",attrs:{\"src\":require(\"@/assets/font-awesomes/external-link-alt.svg\"),\"alt\":\"\"}})])])])]},proxy:true},{key:\"error-message\",fn:function(){return [(_vm.shouldShowMerchantAccountError)?_c('div',{staticClass:\"merchantAccountError\"},[_c('p',[_vm._v(_vm._s(_vm.merchantAccountErrorText))])]):_vm._e()]},proxy:true}])})],1),_c('div',{staticClass:\"uk-width-1-4\"},[_c('CardComponent',{staticClass:\"card-component\",scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.policyTitle + \" \" + \"(\" + _vm.optional + \")\")+\" \")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.policyDesc)+\" \")]},proxy:true},{key:\"button\",fn:function(){return [_c('StorePolicyControls')]},proxy:true},{key:\"error-message\",fn:function(){return [(_vm.shouldShowMerchantAccountError)?_c('div',{staticClass:\"merchantAccountError\"},[_c('p',[_vm._v(_vm._s(_vm.merchantAccountErrorText))])]):_vm._e()]},proxy:true}])})],1),_c('div',{staticClass:\"uk-width-1-4\"},[_c('CardComponent',{staticClass:\"card-component\",scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.taxTitle + \" \" + \"(\" + _vm.optional + \")\")+\" \")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.taxDesc)+\" \")]},proxy:true},{key:\"button\",fn:function(){return [_c('a',{staticClass:\"btn-primary\",attrs:{\"href\":_vm.STRIPE_CONST.URLS.tax_rate,\"target\":\"_blank\"}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.buttonTax)+\" \"),_c('i',[_c('img',{staticClass:\"smallerExernalLinkIcon\",attrs:{\"src\":require(\"@/assets/font-awesomes/external-link-alt.svg\"),\"alt\":\"\"}})])])])]},proxy:true},{key:\"error-message\",fn:function(){return [(_vm.shouldShowMerchantAccountError)?_c('div',{staticClass:\"merchantAccountError\"},[_c('p',[_vm._v(_vm._s(_vm.merchantAccountErrorText))])]):_vm._e()]},proxy:true}])})],1),_c('div',{staticClass:\"uk-width-1-4\"},[_c('CardComponent',{staticClass:\"card-component\",scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.couponTitle + \" \" + \"(\" + _vm.optional + \")\")+\" \")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.couponDesc)+\" \"),_c('NotificationBox',{scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('i',{staticClass:\"fa-solid fa-circle-info info-circle-icon\"})]},proxy:true},{key:\"message\",fn:function(){return [_c('span',[_vm._v(_vm._s(_vm.couponInfoBoxText))])]},proxy:true}])})]},proxy:true},{key:\"button\",fn:function(){return [_c('a',{staticClass:\"btn-primary\",attrs:{\"href\":_vm.STRIPE_CONST.URLS.coupons,\"target\":\"_blank\"}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.buttonCoupon)+\" \"),_c('i',[_c('img',{staticClass:\"smallerExernalLinkIcon\",attrs:{\"src\":require(\"@/assets/font-awesomes/external-link-alt.svg\"),\"alt\":\"\"}})])])])]},proxy:true},{key:\"error-message\",fn:function(){return [(_vm.shouldShowMerchantAccountError)?_c('div',{staticClass:\"merchantAccountError\"},[_c('p',[_vm._v(_vm._s(_vm.merchantAccountErrorText))])]):_vm._e()]},proxy:true}])})],1)]),_c('div',{class:_vm.isCustomPaymentEnabled ? 'uk-grid' : '',attrs:{\"uk-height-match\":\"target: > div > .card-component\"}},[(_vm.isCustomPaymentEnabled)?_c('div',{staticClass:\"uk-width-1-2\"},[_c('CardComponent',{staticClass:\"card-component\",attrs:{\"shouldExpandFullWidth\":true},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" Payment methods \")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\" Add a custom checkout option and customize its name and instructions and enrollment. \"),_c('ul',{staticStyle:{\"padding\":\"16px 0\"}},[_vm._l(([{label:'Card'}, {label:'eCheck (optional)', url: _vm.STRIPE_CONST.URLS.payment_methods}]),function(payment,index){return _c('li',{key:payment.label,staticStyle:{\"box-shadow\":\"0px 2px 8px 0px #00000040\",\"height\":\"56px\",\"width\":\"100%\",\"border-radius\":\"8px\",\"display\":\"flex\",\"justify-content\":\"space-between\",\"justify-self\":\"center\",\"align-items\":\"center\",\"padding\":\"0 24px\",\"margin\":\"8px 0\"}},[_c('span',{staticClass:\"payment-label\"},[_vm._v(_vm._s(payment.label))]),(payment.url)?_c('a',{staticClass:\"external-link\",attrs:{\"href\":payment.url,\"target\":\"_blank\"}},[_c('span',{staticClass:\"external-link-text\",staticStyle:{\"text-decoration\":\"underline\",\"margin-right\":\"8px\"}},[_vm._v(\"Configure\")]),_c('i',{staticClass:\"fas fa-external-link-alt\"})]):_vm._e()])}),(_vm.selectedCustomCheckoutOption)?_c('div',[_c('CustomCheckoutDetail',{key:_vm.selectedCustomCheckoutOption.name,attrs:{\"checkoutOption\":_vm.selectedCustomCheckoutOption},on:{\"OnStatusUpdated\":_vm.refreshCustomPayment,\"EditCustomCheckout\":_vm.showCustomCheckout}})],1):_vm._e()],2)]},proxy:true},(!_vm.selectedCustomCheckoutOption)?{key:\"button\",fn:function(){return [_c('div',{staticClass:\"uk-margin-large-bottom uk-width-1-1\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showCustomCheckoutSpinner),expression:\"showCustomCheckoutSpinner\"}],staticClass:\"uk-flex uk-flex-center uk-margin-top\",attrs:{\"uk-spinner\":\"ratio:2\"}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showCustomCheckoutSpinner),expression:\"!showCustomCheckoutSpinner\"}]},[(!_vm.selectedCustomCheckoutOption)?_c('div',[_c('a',{staticClass:\"add-fee-link\",attrs:{\"target\":\"_blank\"}},[_c('button',{on:{\"click\":_vm.showCustomCheckout}},[_c('span',[_c('i',{staticClass:\"fa-solid fa-plus uk-margin-small-right\"}),_c('span',{staticClass:\"fee-button-text\"},[_vm._v(\"Add custom checkout\")])])])])]):_vm._e()])])]},proxy:true}:null],null,true)})],1):_vm._e(),_c('div',{class:_vm.isCustomPaymentEnabled ? 'uk-width-1-2' : ''},[_c('CardComponent',{staticClass:\"card-component\",attrs:{\"shouldExpandFullWidth\":true},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.feeCardTitle)+\" \")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.feeCardDesc)+\" \")]},proxy:true},{key:\"button\",fn:function(){return [_c('div',{staticClass:\"uk-margin-large-bottom uk-width-1-1\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.shouldDisplayCustomFeeSpinner),expression:\"shouldDisplayCustomFeeSpinner\"}],staticClass:\"uk-flex uk-flex-center uk-margin-top\",attrs:{\"uk-spinner\":\"ratio:2\"}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.shouldDisplayCustomFeeSpinner),expression:\"!shouldDisplayCustomFeeSpinner\"}]},[(!_vm.customFee)?_c('div',[_c('a',{staticClass:\"add-fee-link\",attrs:{\"target\":\"_blank\"}},[_c('button',{on:{\"click\":_vm.showCustomFeeForm}},[_c('span',[_c('i',{staticClass:\"fa-solid fa-plus uk-margin-small-right\"}),_c('span',{staticClass:\"fee-button-text\"},[_vm._v(_vm._s(_vm.addFeeButtonText))])])])])]):_c('div',[_c('FeeDetails',{on:{\"editCustomFee\":_vm.showCustomFeeForm}})],1)])])]},proxy:true}])})],1)]),(_vm.isAutomaticDiscountEnabled)?_c('div',[_c('CardComponent',{staticClass:\"card-component\",attrs:{\"shouldExpandFullWidth\":true},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('LABEL_DISCOUNT_TITLE_OPTIONAL'))+\" \")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('LABEL_ADD_DISCOUNT_DESCRIPTION'))+\" \")]},proxy:true},{key:\"button\",fn:function(){return [_c('div',{staticClass:\"uk-width-1-1\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.shouldDisplayAutomaticDiscountSpinner),expression:\"shouldDisplayAutomaticDiscountSpinner\"}],staticClass:\"uk-flex uk-flex-center uk-margin-top\",attrs:{\"uk-spinner\":\"ratio:2\"}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.shouldDisplayAutomaticDiscountSpinner),expression:\"!shouldDisplayAutomaticDiscountSpinner\"}]},[(_vm.discountListComputed.length)?_c('DiscountTable'):_vm._e(),_c('div',[_c('a',{staticClass:\"add-fee-link\",attrs:{\"target\":\"_blank\"}},[(_vm.discountListComputed.length < 2)?_c('button',{on:{\"click\":_vm.showAutomaticDiscount}},[_c('span',[_c('i',{staticClass:\"fa-solid fa-plus uk-margin-small-right\"}),_c('span',{staticClass:\"fee-button-text\"},[_vm._v(_vm._s(_vm.screenText.getScreenText('LABEL_ADD_DISCOUNT')))])])]):_vm._e()])])],1)])]},proxy:true}],null,false,2961258596)})],1):_vm._e(),_c('CardComponent',{scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.reportingTitle)+\" \")]},proxy:true},{key:\"subtitle\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.reportingDesc)),_c('br'),_c('br'),_vm._v(\" \"+_vm._s(_vm.reportingExample)+\" \")]},proxy:true},{key:\"button\",fn:function(){return [_c('a',{staticClass:\"btn-primary\",attrs:{\"href\":_vm.STRIPE_CONST.URLS.reports_link,\"target\":\"_blank\"}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.buttonDisplayReports)+\" \"),_c('i',[_c('img',{staticClass:\"smallerExernalLinkIcon\",attrs:{\"src\":require(\"@/assets/font-awesomes/external-link-alt.svg\"),\"alt\":\"\"}})])])])]},proxy:true},{key:\"error-message\",fn:function(){return [(_vm.shouldShowMerchantAccountError)?_c('div',{staticClass:\"merchantAccountError\"},[_c('p',[_vm._v(_vm._s(_vm.merchantAccountErrorText))])]):_vm._e()]},proxy:true}])})]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default class STRIPE_CONSTANTS {\n public static readonly URLS = {\n 'settings': 'https://dashboard.stripe.com/',\n 'reports_link': 'https://dashboard.stripe.com/reports/hub',\n 'payouts': 'https://dashboard.stripe.com/settings/payouts',\n 'tax_rate': 'https://dashboard.stripe.com/tax-rates',\n 'coupons': 'https://dashboard.stripe.com/coupons',\n 'payment_methods': 'https://dashboard.stripe.com/settings/payment_methods'\n };\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport EmptyStateContainer from '@/commoncomponents/EmptyStateContainer.vue';\nimport { ScreenText } from '@/lang/ScreenText';\nimport { Component, Vue } from 'vue-property-decorator';\nimport payments from '@/store/modules/Payments/module';\nimport APP_UTILITIES from '@/utilities/commonFunctions';\nimport BouncingPreloader from '@/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue';\nimport { ConvenienceFeeGetResponse, CustomCheckoutOption, Discount, OnboardingStatus } from '@/Model/payments/types';\nimport CardComponent from '@/commoncomponents/CardComponent.vue';\nimport ProgressButton from '@/commoncomponents/progressButton/progressButton.vue';\nimport STRIPE_CONSTANTS from '@/constants/StripeConst';\nimport StorePolicyControls from '@/components/accountDetailsComponent/accountDataTabs/payments/StorePolicyControls.vue';\nimport NotificationBox from '@/commoncomponents/NotificationBox.vue';\nimport CustomizeFee from '@/components/accountDetailsComponent/accountDataTabs/payments/CustomizeFee.vue';\nimport FeeDetails from '@/components/accountDetailsComponent/accountDataTabs/payments/FeeDetails.vue';\nimport CustomCheckoutDetail from '@/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckoutDetail.vue';\nimport DiscountConfiguration from '@/components/accountDetailsComponent/accountDataTabs/payments/DiscountConfiguration.vue';\nimport CustomCheckout from '@/components/accountDetailsComponent/accountDataTabs/payments/CustomCheckout.vue';\nimport { getCustomCheckoutOptionList } from '@/services/payments/api';\nimport { ToastType } from '@/Model/toastType';\nimport APP_CONST from '@/constants/AppConst';\nimport DiscountTable from '@/components/accountDetailsComponent/accountDataTabs/payments/DiscountTable.vue';\nimport paymentsModule from '@/store/modules/Payments/module';\n\n@Component({\n components: {\n BouncingPreloader,\n CardComponent,\n EmptyStateContainer,\n NotificationBox,\n ProgressButton,\n StorePolicyControls,\n CustomizeFee,\n FeeDetails,\n CustomCheckout,\n CustomCheckoutDetail,\n DiscountConfiguration,\n DiscountTable\n }\n})\n\nexport default class Payments extends Vue {\n\n isValidForProgressButton = true;\n private readonly screenText = new ScreenText();\n public STRIPE_CONST = STRIPE_CONSTANTS;\n isCustomizeFeeVisible = false;\n isCustomCheckoutVisible = false;\n isLoadingCustomCheckouts = false;\n selectedCustomCheckoutOption: CustomCheckoutOption | null = null;\n showCustomCheckoutSpinner = false;\n isCustomPaymentEnabled = false;\n isAutomaticDiscountEnabled = false;\n isAutomaticDiscountVisible = false;\n\n showCustomFeeForm() {\n this.isCustomizeFeeVisible = true;\n }\n\n showCustomCheckout() {\n this.isCustomCheckoutVisible = true;\n }\n\n showAutomaticDiscount() {\n this.isAutomaticDiscountVisible = true;\n paymentsModule.setIsConfiguratioDiscountMenuOpen(true);\n }\n\n get discountListComputed() {\n return paymentsModule.discountList;\n }\n\n get isConfigurationDiscountMenuOpenComputed() {\n return paymentsModule.isConfigurationDiscountMenuOpen;\n }\n\n get discounts():Discount[] {\n return APP_CONST.MOCKED_DISCOUNTS;\n }\n\n get merchantAccountSetupTitle(): string {\n return payments.stripeAccountResponse && payments.stripeAccountResponse.onboardingStatus === OnboardingStatus.InProgress\n ? this.screenText.getScreenText('PAYMENTS_MERCHANT_ACCOUNT_SETUP_CONTINUE_TITLE')\n : this.screenText.getScreenText('PAYMENTS_MERCHANT_ACCOUNT_SETUP_START_TITLE');\n }\n\n get merchantAccountSetupSubtitle(): string {\n return payments.stripeAccountResponse && payments.stripeAccountResponse.onboardingStatus === OnboardingStatus.InProgress\n ? this.screenText.getScreenText('PAYMENTS_MERCHANT_ACCOUNT_SETUP_CONTINUE_SUBTITLE')\n : this.screenText.getScreenText('PAYMENTS_MERCHANT_ACCOUNT_SETUP_START_SUBTITLE');\n }\n\n get merchantAccountSetupButtonText(): string {\n return payments.stripeAccountResponse && payments.stripeAccountResponse.onboardingStatus === OnboardingStatus.InProgress\n ? this.screenText.getScreenText('PAYMENTS_MERCHANT_ACCOUNT_SETUP_CONTINUE_BUTTON_TEXT')\n : this.screenText.getScreenText('PAYMENTS_MERCHANT_ACCOUNT_SETUP_START_BUTTON_TEXT');\n }\n\n get customFee(): ConvenienceFeeGetResponse | null {\n return payments.customFee;\n }\n\n\n\n \n\n get merchantAccountRetryButtonText(): string {\n return this.screenText.getScreenText('PAYMENTS_MERCHANT_ACCOUNT_SETUP_RETRY_BUTTON_TEXT');\n }\n\n get merchantAccountErrorText(): string {\n return this.screenText.getScreenText('PAYMENTS_MERCHANT_ACCOUNT_UNAVAILABLE');\n }\n\n get continueMerchantSetupTitle(): string {\n return this.screenText.getScreenText('CONTINUE_MERCHANT_ACCOUNT_SETUP');\n }\n\n get finishEcommerceAccountSetupSub(): string {\n return this.screenText.getScreenText('FINISH_YOUR_ECOMMERCE_ACCOUNT_SETUP');\n }\n\n get manageOnlinePaymentSettingsTitle(): string {\n return this.screenText.getScreenText('MANAGE_ONLINE_PAYMENT_SETTINGS');\n }\n\n get manageSettingsDesc(): string {\n return this.screenText.getScreenText('MANAGE_SETTINGS_DESC');\n }\n\n get buttonDisplaySettings(): string {\n return this.screenText.getScreenText('BTN_SETTINGS');\n }\n\n get payoutTitle(): string {\n return this.screenText.getScreenText('PAYOUT');\n }\n\n get payoutDesc(): string {\n return this.screenText.getScreenText('PAYOUT_DESC');\n }\n\n get buttonPayout(): string {\n return this.screenText.getScreenText('BTN_PAYOUT');\n }\n\n get policyTitle(): string {\n return this.screenText.getScreenText('POLICY');\n }\n\n get policyDesc(): string {\n return this.screenText.getScreenText('POLICY_DESC');\n }\n\n get taxTitle(): string {\n return this.screenText.getScreenText('TAX');\n }\n\n get optional(): string {\n return this.screenText.getScreenText('OPTIONAL');\n }\n\n get taxDesc(): string {\n return this.screenText.getScreenText('TAX_DESC');\n }\n\n get buttonTax(): string {\n return this.screenText.getScreenText('BTN_TAX');\n }\n\n get couponTitle(): string {\n return this.screenText.getScreenText('COUPON');\n }\n\n get couponDesc(): string {\n return this.screenText.getScreenText('COUPON_DESC');\n }\n\n get couponInfoBoxText(): string {\n return this.screenText.getScreenText('COUPON_INFO');\n }\n\n get buttonCoupon(): string {\n return this.screenText.getScreenText('BTN_COUPON');\n }\n\n get feeCardTitle(): string {\n return this.screenText.getScreenText('FEE_CARD_TITLE');\n }\n\n get feeCardDesc(): string {\n return this.screenText.getScreenText('FEE_CARD_DESC');\n }\n\n get addFeeButtonText(): string {\n return this.screenText.getScreenText('BTN_ADD_FEE');\n }\n\n get reportingTitle(): string {\n return this.screenText.getScreenText('REPORTING_TITLE');\n }\n\n get reportingDesc(): string {\n return this.screenText.getScreenText('REPORTING_DESC');\n }\n\n get reportingExample(): string {\n return this.screenText.getScreenText('REPORTING_EXAMPLE');\n }\n\n get buttonDisplayReports(): string {\n return this.screenText.getScreenText('BTN_REPORTS');\n }\n\n get isCurrentlyLoading(): boolean {\n return payments.isFetchingOnboardingStatus;\n }\n\n get shouldShowMerchantAccountError(): boolean {\n return payments.didOnboardingLinkFetchFail || payments.didOnboardingStatusFetchFail;\n }\n\n get hasOnBoardingCompleted(): boolean {\n if (payments.stripeAccountResponse) {\n return payments.stripeAccountResponse.onboardingStatus === OnboardingStatus.Completed;\n }\n return false;\n }\n\n get shouldDisplayCustomFeeSpinner(): boolean {\n return payments.isLoadingCustomFee || payments.isSavingCustomFee;\n }\n\n get shouldDisplayAutomaticDiscountSpinner(): boolean {\n return payments.isFetchingAutomaticDiscounts || payments.isDeletingDiscount || payments.isUpdatingDiscount;\n }\n\n get accountId(): number {\n const accountIdCookie = APP_UTILITIES.getCookie('accountId');\n const accountId = accountIdCookie\n ? Number.parseInt(accountIdCookie)\n : 0;\n return accountId;\n }\n\n translateLoadingToProgressButtonState(): number {\n let buttonState = 0;\n\n if (payments.isFetchingOnboardingLink === false && payments.didOnboardingLinkFetchFail === false) {\n buttonState = 200;\n }\n else if (payments.isFetchingOnboardingLink === false && payments.didOnboardingLinkFetchFail) {\n buttonState = 400;\n }\n return buttonState;\n }\n\n async created() {\n const customPaymentFlag = await APP_UTILITIES.getFeatureFlag(APP_CONST.FEATURE_KEYS.customPayments);\n const automaticDiscountFlag = await APP_UTILITIES.getFeatureFlag(APP_CONST.FEATURE_KEYS.automaticDiscounts);\n this.isCustomPaymentEnabled = customPaymentFlag;\n this.isAutomaticDiscountEnabled = automaticDiscountFlag;\n if(this.isCustomPaymentEnabled){\n this.getCustomCheckoutMethods();\n }\n if(this.isAutomaticDiscountEnabled) {\n payments.fetchAutomaticDiscountsByAccount();\n }\n payments.resetOnboardingState();\n this.retrieveOnboardingStatusAndFee();\n this.STRIPE_CONST = STRIPE_CONSTANTS;\n\n }\n\n async refreshOnSaveCustomPayment() {\n const result = await getCustomCheckoutOptionList(this.accountId);\n this.selectedCustomCheckoutOption = result.data[0];\n // because of the current setup on the app the reactivity on the child components is not behaving as expected so we need to trigger the rerender manually\n this.$forceUpdate();\n this.isCustomCheckoutVisible = false;\n }\n\n async refreshCustomPayment() {\n const result = await getCustomCheckoutOptionList(this.accountId);\n this.selectedCustomCheckoutOption = result.data[0];\n // because of the current setup on the app the reactivity on the child components is not behaving as expected so we need to trigger the rerender manually\n this.$forceUpdate();\n }\n\n\n async getCustomCheckoutMethods() {\n try {\n this.isLoadingCustomCheckouts = true;\n const result = await getCustomCheckoutOptionList(this.accountId);\n this.selectedCustomCheckoutOption = result.data[0];\n }\n catch {\n APP_UTILITIES.showToastMessage('Unexpected Error!', ToastType.Error);\n }\n finally {\n this.isLoadingCustomCheckouts = false;\n }\n }\n\n async retrieveOnboardingStatusAndFee() {\n await payments.getOnboardingStatus(this.accountId);\n if (this.hasOnBoardingCompleted) {\n payments.retrieveCustomFee();\n }\n }\n\n async retrieveOnboardingLink() {\n\n this.isValidForProgressButton = false;\n\n const onboardingUrl = await payments.getOnboardingLink(this.accountId);\n if (onboardingUrl) {\n window.location.href = onboardingUrl;\n }\n\n this.isValidForProgressButton = true;\n }\n\n navigateTo(link: string) {\n const route = STRIPE_CONSTANTS.URLS[link as keyof STRIPE_CONSTANTS];\n window.location.assign(route);\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Payments.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Payments.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Payments.vue?vue&type=template&id=3b1f2077&scoped=true&\"\nimport script from \"./Payments.vue?vue&type=script&lang=ts&\"\nexport * from \"./Payments.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Payments.vue?vue&type=style&index=0&id=3b1f2077&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3b1f2077\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"uk-flex uk-padding-small notification-box\",class:_vm.typeStyleClass,attrs:{\"data-testid\":\"notification-box\"}},[_vm._t(\"icon\"),_vm._t(\"message\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\nimport { NotificationBoxType } from '@/Model/notificationBox/types';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class ToggleSwitch extends Vue {\n @Prop({ type: String, default: NotificationBoxType.Info }) type!: NotificationBoxType;\n\n get typeStyleClass(): string {\n return `notification-box-${this.type.toLocaleLowerCase()}`;\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NotificationBox.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NotificationBox.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NotificationBox.vue?vue&type=template&id=3ed18dc4&scoped=true&\"\nimport script from \"./NotificationBox.vue?vue&type=script&lang=ts&\"\nexport * from \"./NotificationBox.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./NotificationBox.vue?vue&type=style&index=0&id=3ed18dc4&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ed18dc4\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MultiParticipantRules.vue?vue&type=style&index=0&id=1fce4717&lang=less&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NotificationBox.vue?vue&type=style&index=0&id=3ed18dc4&lang=less&scoped=true&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DiscountTableRow.vue?vue&type=style&index=0&id=5819149a&lang=less&scoped=true&\"","/**\n * Vue Currency Input 1.22.6\n * (c) 2018-2021 Matthias Stiller\n * @license MIT\n */\nvar escapeRegExp = function (str) { return str.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&'); };\nvar removeLeadingZeros = function (str) { return str.replace(/^0+(0$|[^0])/, '$1'); };\nvar count = function (str, search) { return (str.match(new RegExp(escapeRegExp(search), 'g')) || []).length; };\nvar startsWith = function (str, search) { return str.substring(0, search.length) === search; };\nvar substringBefore = function (str, search) { return str.substring(0, str.indexOf(search)); };\n\nvar DECIMAL_SYMBOLS = [',', '.', 'Ù«'];\nvar INTEGER_PATTERN = '(0|[1-9]\\\\d*)';\nvar NumberFormat = function NumberFormat (options) {\n var currency = options.currency;\n var locale = options.locale;\n var precision = options.precision;\n var autoDecimalMode = options.autoDecimalMode;\n var valueAsInteger = options.valueAsInteger;\n var numberFormat = new Intl.NumberFormat(locale, typeof currency === 'string' ? { currency: currency, style: 'currency' } : { minimumFractionDigits: 1 });\n var ps = numberFormat.format(123456);\n this.locale = locale;\n this.currency = currency;\n this.digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map(function (i) { return i.toLocaleString(locale); });\n this.decimalSymbol = count(ps, this.digits[0]) ? ps.substr(ps.indexOf(this.digits[6]) + 1, 1) : undefined;\n this.groupingSymbol = ps.substr(ps.indexOf(this.digits[3]) + 1, 1);\n this.minusSymbol = substringBefore(Number(-1).toLocaleString(locale), this.digits[1]);\n if (this.decimalSymbol === undefined) {\n this.minimumFractionDigits = this.maximumFractionDigits = 0;\n } else if (typeof precision === 'number') {\n this.minimumFractionDigits = this.maximumFractionDigits = precision;\n } else if (typeof precision === 'object' && !autoDecimalMode && !valueAsInteger) {\n this.minimumFractionDigits = precision.min || 0;\n this.maximumFractionDigits = precision.max !== undefined ? precision.max : 20;\n } else if (typeof currency === 'string') {\n this.minimumFractionDigits = numberFormat.resolvedOptions().minimumFractionDigits;\n this.maximumFractionDigits = numberFormat.resolvedOptions().maximumFractionDigits;\n } else {\n this.minimumFractionDigits = this.maximumFractionDigits = 2;\n }\n if (typeof currency === 'string') {\n this.prefix = substringBefore(ps, this.digits[1]);\n this.negativePrefix = substringBefore(numberFormat.format(-1), this.digits[1]);\n this.suffix = ps.substring(ps.lastIndexOf(this.decimalSymbol ? this.digits[0] : this.digits[6]) + 1);\n } else {\n this.prefix = (currency || {}).prefix || '';\n this.negativePrefix = \"\" + (this.minusSymbol) + (this.prefix);\n this.suffix = (currency || {}).suffix || '';\n }\n};\nNumberFormat.prototype.parse = function parse (str, valueAsInteger) {\n if ( valueAsInteger === void 0 ) valueAsInteger = false;\n if (str) {\n var negative = this.isNegative(str);\n str = this.normalizeDigits(str);\n str = this.stripCurrencySymbol(str);\n str = this.stripMinusSymbol(str);\n var fraction = this.decimalSymbol ? (\"(?:\" + (escapeRegExp(this.decimalSymbol)) + \"(\\\\d*))?\") : '';\n var match = this.stripGroupingSymbol(str).match(new RegExp((\"^\" + INTEGER_PATTERN + fraction + \"$\")));\n if (match && this.isValidIntegerFormat(str.split(this.decimalSymbol)[0], Number(match[1]))) {\n var number = Number((\"\" + (negative ? '-' : '') + (match[1]) + \".\" + ((match[2] || ''))));\n return valueAsInteger ? Number(number.toFixed(this.maximumFractionDigits).split('.').join('')) : number\n }\n }\n return null\n};\nNumberFormat.prototype.isValidIntegerFormat = function isValidIntegerFormat (str, integerNumber) {\n var options = typeof this.currency === 'string'\n ? { style: 'currency', currency: this.currency, minimumFractionDigits: 0 }\n : {};\n return [\n this.stripCurrencySymbol(this.normalizeDigits(integerNumber.toLocaleString(this.locale, Object.assign({}, options, {useGrouping: true})))),\n this.stripCurrencySymbol(this.normalizeDigits(integerNumber.toLocaleString(this.locale, Object.assign({}, options, {useGrouping: false}))))\n ].includes(str)\n};\nNumberFormat.prototype.format = function format (number, options) {\n if ( options === void 0 ) options = {\n minimumFractionDigits: this.minimumFractionDigits,\n maximumFractionDigits: this.maximumFractionDigits\n};\n if (typeof this.currency === 'string') {\n return number.toLocaleString(this.locale, Object.assign({}, {style: 'currency',\n currency: this.currency},\n options))\n } else {\n return this.insertCurrencySymbol(Math.abs(number).toLocaleString(this.locale, options), number < 0 || (number === 0 && (1 / number < 0)))\n }\n};\nNumberFormat.prototype.toFraction = function toFraction (str) {\n return (\"\" + (this.digits[0]) + (this.decimalSymbol) + ((this.onlyLocaleDigits(str.substr(1)).substr(0, this.maximumFractionDigits))))\n};\nNumberFormat.prototype.isFractionIncomplete = function isFractionIncomplete (str) {\n return !!this.normalizeDigits(this.stripGroupingSymbol(str)).match(new RegExp((\"^\" + INTEGER_PATTERN + (escapeRegExp(this.decimalSymbol)) + \"$\")))\n};\nNumberFormat.prototype.isNegative = function isNegative (str) {\n return startsWith(str, this.negativePrefix) || startsWith(str.replace('-', this.minusSymbol), this.minusSymbol)\n};\nNumberFormat.prototype.insertCurrencySymbol = function insertCurrencySymbol (str, negative) {\n return (\"\" + (negative ? this.negativePrefix : this.prefix) + str + (this.suffix))\n};\nNumberFormat.prototype.stripGroupingSymbol = function stripGroupingSymbol (str) {\n return str.replace(new RegExp(escapeRegExp(this.groupingSymbol), 'g'), '')\n};\nNumberFormat.prototype.stripMinusSymbol = function stripMinusSymbol (str) {\n return str.replace('-', this.minusSymbol).replace(this.minusSymbol, '')\n};\nNumberFormat.prototype.stripCurrencySymbol = function stripCurrencySymbol (str) {\n return str.replace(this.negativePrefix, '').replace(this.prefix, '').replace(this.suffix, '')\n};\nNumberFormat.prototype.normalizeDecimalSymbol = function normalizeDecimalSymbol (str, from) {\n var this$1 = this;\n DECIMAL_SYMBOLS.forEach(function (s) {\n str = str.substr(0, from) + str.substr(from).replace(s, this$1.decimalSymbol);\n });\n return str\n};\nNumberFormat.prototype.normalizeDigits = function normalizeDigits (str) {\n if (this.digits[0] !== '0') {\n this.digits.forEach(function (digit, index) {\n str = str.replace(new RegExp(digit, 'g'), index);\n });\n }\n return str\n};\nNumberFormat.prototype.onlyDigits = function onlyDigits (str) {\n return this.normalizeDigits(str).replace(/\\D+/g, '')\n};\nNumberFormat.prototype.onlyLocaleDigits = function onlyLocaleDigits (str) {\n return str.replace(new RegExp((\"[^\" + (this.digits.join('')) + \"]*\"), 'g'), '')\n};\n\nvar DEFAULT_OPTIONS = {\n locale: undefined,\n currency: 'EUR',\n valueAsInteger: false,\n distractionFree: true,\n precision: undefined,\n autoDecimalMode: false,\n valueRange: undefined,\n allowNegative: true\n};\nvar parse = function (formattedValue, options) {\n var mergedOptions = Object.assign({}, DEFAULT_OPTIONS, options);\n return new NumberFormat(mergedOptions).parse(formattedValue, mergedOptions.valueAsInteger)\n};\nvar getValue = function (ref) { return (ref.$el || ref).$ci.getValue(); };\nvar setValue = function (ref, value) {\n (ref.$el || ref).$ci.setValue(value);\n};\n\nvar equal = function (a, b) {\n if (a === b) {\n return true\n }\n if (!a || !b || typeof a !== 'object' || typeof b !== 'object') {\n return false\n }\n var keys = Object.keys(a);\n if (keys.length !== Object.keys(b).length) {\n return false\n }\n if (!keys.every(Object.prototype.hasOwnProperty.bind(b))) {\n return false\n }\n return keys.every(function (key) { return equal(a[key], b[key]); })\n};\n\nvar DefaultNumberMask = function DefaultNumberMask (numberFormat) {\n this.numberFormat = numberFormat;\n};\nDefaultNumberMask.prototype.conformToMask = function conformToMask (str, previousConformedValue) {\n var this$1 = this;\n if ( previousConformedValue === void 0 ) previousConformedValue = '';\n var negative = this.numberFormat.isNegative(str);\n var checkIncompleteValue = function (str) {\n if (str === '' && negative && previousConformedValue !== this$1.numberFormat.negativePrefix) {\n return ''\n } else if (this$1.numberFormat.maximumFractionDigits > 0) {\n if (this$1.numberFormat.isFractionIncomplete(str)) {\n return str\n } else if (startsWith(str, this$1.numberFormat.decimalSymbol)) {\n return this$1.numberFormat.toFraction(str)\n }\n }\n return null\n };\n var value = str;\n value = this.numberFormat.stripCurrencySymbol(value);\n value = this.numberFormat.stripMinusSymbol(value);\n var incompleteValue = checkIncompleteValue(value);\n if (incompleteValue != null) {\n return this.numberFormat.insertCurrencySymbol(incompleteValue, negative)\n }\n var ref = value.split(this.numberFormat.decimalSymbol);\n var integer = ref[0];\n var fraction = ref.slice(1);\n var integerDigits = removeLeadingZeros(this.numberFormat.onlyDigits(integer));\n var fractionDigits = this.numberFormat.onlyDigits(fraction.join('')).substr(0, this.numberFormat.maximumFractionDigits);\n var invalidFraction = fraction.length > 0 && fractionDigits.length === 0;\n var invalidNegativeValue = integerDigits === '' && negative && (previousConformedValue === str.slice(0, -1) || previousConformedValue !== this.numberFormat.negativePrefix);\n if (invalidFraction || invalidNegativeValue) {\n return previousConformedValue\n } else if (integerDigits.match(/\\d+/)) {\n return {\n numberValue: Number((\"\" + (negative ? '-' : '') + integerDigits + \".\" + fractionDigits)),\n fractionDigits: fractionDigits\n }\n } else {\n return ''\n }\n};\nvar AutoDecimalModeNumberMask = function AutoDecimalModeNumberMask (numberFormat) {\n this.numberFormat = numberFormat;\n};\nAutoDecimalModeNumberMask.prototype.conformToMask = function conformToMask (str) {\n if (str === '') {\n return ''\n }\n var negative = this.numberFormat.isNegative(str);\n var numberValue = this.numberFormat.stripMinusSymbol(str) === ''\n ? -0\n : Number((\"\" + (negative ? '-' : '') + (removeLeadingZeros(this.numberFormat.onlyDigits(str))))) / Math.pow(10, this.numberFormat.minimumFractionDigits);\n return {\n numberValue: numberValue,\n fractionDigits: numberValue.toFixed(this.numberFormat.minimumFractionDigits).slice(-this.numberFormat.minimumFractionDigits)\n }\n};\n\nvar getCaretPositionAfterFormat = function (newValue, inputtedValue, caretPosition, numberFormat, options) {\n var prefix = numberFormat.prefix;\n var suffix = numberFormat.suffix;\n var decimalSymbol = numberFormat.decimalSymbol;\n var maximumFractionDigits = numberFormat.maximumFractionDigits;\n var groupingSymbol = numberFormat.groupingSymbol;\n var decimalSymbolPosition = inputtedValue.indexOf(decimalSymbol) + 1;\n var caretPositionFromLeft = inputtedValue.length - caretPosition;\n if (Math.abs(newValue.length - inputtedValue.length) > 1 && caretPosition <= decimalSymbolPosition) {\n return newValue.indexOf(decimalSymbol) + 1\n } else if (newValue.substr(caretPosition, 1) === groupingSymbol && count(newValue, groupingSymbol) === count(inputtedValue, groupingSymbol) + 1) {\n return newValue.length - caretPositionFromLeft - 1\n } else {\n if (!options.autoDecimalMode && decimalSymbolPosition !== 0 && caretPosition > decimalSymbolPosition) {\n if (numberFormat.onlyDigits(inputtedValue.substr(decimalSymbolPosition)).length - 1 === maximumFractionDigits) {\n caretPositionFromLeft -= 1;\n }\n }\n return options.distractionFree.hideCurrencySymbol\n ? newValue.length - caretPositionFromLeft\n : Math.max(newValue.length - Math.max(caretPositionFromLeft, suffix.length), prefix.length === 0 ? 0 : prefix.length + 1)\n }\n};\nvar getDistractionFreeCaretPosition = function (numberFormat, options, value, caretPosition) {\n var result = caretPosition;\n if (options.distractionFree.hideCurrencySymbol) {\n result -= numberFormat.prefix.length;\n }\n if (options.distractionFree.hideGroupingSymbol) {\n result -= count(value.substring(0, caretPosition), numberFormat.groupingSymbol);\n }\n return Math.max(0, result)\n};\n\nvar MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;\nvar NumberInput = function NumberInput (el, options, callbackFns) {\n this.el = el;\n this.callbackFns = callbackFns;\n this.numberValue = null;\n this.addEventListener();\n this.init(options);\n this.setValue(this.currencyFormat.parse(this.el.value));\n};\nNumberInput.prototype.init = function init (newOptions) {\n var options = Object.assign({}, newOptions);\n var distractionFree = options.distractionFree;\n var autoDecimalMode = options.autoDecimalMode;\n var valueRange = options.valueRange;\n if (typeof distractionFree === 'boolean') {\n options.distractionFree = {\n hideCurrencySymbol: distractionFree,\n hideNegligibleDecimalDigits: distractionFree,\n hideGroupingSymbol: distractionFree\n };\n }\n if (valueRange) {\n options.valueRange = {\n min: valueRange.min !== undefined ? Math.max(valueRange.min, -MAX_SAFE_INTEGER) : -MAX_SAFE_INTEGER,\n max: valueRange.max !== undefined ? Math.min(valueRange.max, MAX_SAFE_INTEGER) : MAX_SAFE_INTEGER\n };\n } else {\n options.valueRange = {\n min: -MAX_SAFE_INTEGER,\n max: MAX_SAFE_INTEGER\n };\n }\n if (autoDecimalMode) {\n options.distractionFree.hideNegligibleDecimalDigits = false;\n this.el.setAttribute('inputmode', 'numeric');\n } else {\n this.el.setAttribute('inputmode', 'decimal');\n }\n this.options = options;\n this.currencyFormat = new NumberFormat(this.options);\n this.numberMask = options.autoDecimalMode ? new AutoDecimalModeNumberMask(this.currencyFormat) : new DefaultNumberMask(this.currencyFormat);\n};\nNumberInput.prototype.setOptions = function setOptions (options) {\n this.init(options);\n this.applyFixedFractionFormat(this.numberValue, true);\n};\nNumberInput.prototype.applyFixedFractionFormat = function applyFixedFractionFormat (number, forcedChange) {\n this.format(number != null ? this.currencyFormat.format(this.validateValueRange(number)) : null);\n if (number !== this.numberValue || forcedChange) {\n this.callbackFns.onChange(this.getValue());\n }\n};\nNumberInput.prototype.getValue = function getValue () {\n return this.currencyFormat.parse(this.formattedValue, this.options.valueAsInteger)\n};\nNumberInput.prototype.setValue = function setValue (value) {\n var newValue = this.options.valueAsInteger && value != null ? value / Math.pow(10, this.currencyFormat.maximumFractionDigits) : value;\n if (newValue !== this.numberValue) {\n this.applyFixedFractionFormat(newValue);\n }\n};\nNumberInput.prototype.validateValueRange = function validateValueRange (value) {\n var ref = this.options.valueRange;\n var min = ref.min;\n var max = ref.max;\n return Math.min(Math.max(value, min), max)\n};\nNumberInput.prototype.updateInputValue = function updateInputValue (value, hideNegligibleDecimalDigits) {\n if ( hideNegligibleDecimalDigits === void 0 ) hideNegligibleDecimalDigits = false;\n if (value != null) {\n if (this.decimalSymbolInsertedAt !== undefined) {\n value = this.currencyFormat.normalizeDecimalSymbol(value, this.decimalSymbolInsertedAt);\n this.decimalSymbolInsertedAt = undefined;\n }\n var conformedValue = this.numberMask.conformToMask(value, this.formattedValue);\n var formattedValue;\n if (typeof conformedValue === 'object') {\n var numberValue = conformedValue.numberValue;\n var fractionDigits = conformedValue.fractionDigits;\n var ref = this.currencyFormat;\n var maximumFractionDigits = ref.maximumFractionDigits;\n var minimumFractionDigits = ref.minimumFractionDigits;\n if (this.focus) {\n minimumFractionDigits = maximumFractionDigits;\n }\n minimumFractionDigits = hideNegligibleDecimalDigits\n ? fractionDigits.replace(/0+$/, '').length\n : Math.min(minimumFractionDigits, fractionDigits.length);\n formattedValue = numberValue > MAX_SAFE_INTEGER\n ? this.formattedValue\n : this.currencyFormat.format(numberValue, {\n useGrouping: !(this.focus && this.options.distractionFree.hideGroupingSymbol),\n minimumFractionDigits: minimumFractionDigits,\n maximumFractionDigits: maximumFractionDigits\n });\n } else {\n formattedValue = conformedValue;\n }\n if (!this.options.allowNegative) {\n formattedValue = formattedValue.replace(this.currencyFormat.negativePrefix, this.currencyFormat.prefix);\n }\n if (this.focus && this.options.distractionFree.hideCurrencySymbol) {\n formattedValue = formattedValue\n .replace(this.currencyFormat.negativePrefix, this.currencyFormat.minusSymbol)\n .replace(this.currencyFormat.prefix, '')\n .replace(this.currencyFormat.suffix, '');\n }\n this.el.value = formattedValue;\n this.numberValue = this.currencyFormat.parse(formattedValue);\n } else {\n this.el.value = this.numberValue = null;\n }\n this.formattedValue = this.el.value;\n};\nNumberInput.prototype.format = function format (value) {\n this.updateInputValue(value);\n this.callbackFns.onInput(this.getValue());\n};\nNumberInput.prototype.addEventListener = function addEventListener () {\n var this$1 = this;\n this.el.addEventListener('input', function () {\n var ref = this$1.el;\n var value = ref.value;\n var selectionStart = ref.selectionStart;\n this$1.format(value);\n if (this$1.focus) {\n this$1.setCaretPosition(getCaretPositionAfterFormat(this$1.formattedValue, value, selectionStart, this$1.currencyFormat, this$1.options));\n }\n }, { capture: true });\n this.el.addEventListener('focus', function () {\n this$1.focus = true;\n var ref = this$1.options.distractionFree;\n var hideCurrencySymbol = ref.hideCurrencySymbol;\n var hideGroupingSymbol = ref.hideGroupingSymbol;\n var hideNegligibleDecimalDigits = ref.hideNegligibleDecimalDigits;\n if (hideCurrencySymbol || hideGroupingSymbol || hideNegligibleDecimalDigits) {\n setTimeout(function () {\n var ref = this$1.el;\n var value = ref.value;\n var selectionStart = ref.selectionStart;\n var selectionEnd = ref.selectionEnd;\n if (value) {\n this$1.updateInputValue(this$1.el.value, hideNegligibleDecimalDigits);\n }\n if (Math.abs(selectionStart - selectionEnd) > 0) {\n this$1.setCaretPosition(0, this$1.el.value.length);\n } else {\n this$1.setCaretPosition(getDistractionFreeCaretPosition(this$1.currencyFormat, this$1.options, value, selectionStart));\n }\n });\n }\n });\n this.el.addEventListener('keypress', function (e) {\n if (DECIMAL_SYMBOLS.includes(e.key)) {\n this$1.decimalSymbolInsertedAt = this$1.el.selectionStart;\n }\n });\n this.el.addEventListener('blur', function () {\n this$1.focus = false;\n if (this$1.numberValue != null) {\n this$1.applyFixedFractionFormat(this$1.numberValue);\n }\n });\n this.el.addEventListener('change', function () {\n this$1.callbackFns.onChange(this$1.getValue());\n });\n};\nNumberInput.prototype.setCaretPosition = function setCaretPosition (start, end) {\n if ( end === void 0 ) end = start;\n this.el.setSelectionRange(start, end); };\n\nvar directive = {\n bind: function bind (el, ref, vnode) {\n var optionsFromBinding = ref.value;\n var inputElement = el.tagName.toLowerCase() === 'input' ? el : el.querySelector('input');\n if (!inputElement) {\n throw new Error('No input element found')\n }\n var options = Object.assign({}, DEFAULT_OPTIONS,\n (vnode.context.$ci || {}).globalOptions,\n optionsFromBinding);\n var listeners = (vnode.data && vnode.data.on) || (vnode.componentOptions && vnode.componentOptions.listeners) || {};\n var emit = function (event, data) {\n if (listeners[event]) {\n listeners[event](vnode.componentOptions ? data : { target: { value: data } });\n }\n };\n el.$ci = new NumberInput(inputElement, options, {\n onChange: function () { emit('change', inputElement.value); },\n onInput: function () { emit('input', inputElement.value); }\n });\n },\n componentUpdated: function componentUpdated (el, ref) {\n var value = ref.value;\n var oldValue = ref.oldValue;\n if (!equal(value, oldValue)) {\n el.$ci.setOptions(value);\n }\n }\n};\n\nvar component = {\n render: function render (h) {\n var this$1 = this;\n return h('input', {\n directives: [{\n name: 'currency',\n value: this.options\n }],\n on: Object.assign({}, this.$listeners,\n {change: function () {\n this$1.$emit('change', getValue(this$1.$el));\n },\n input: function () {\n var numberValue = getValue(this$1.$el);\n if (this$1.value !== numberValue) {\n this$1.$emit('input', numberValue);\n }\n }})\n })\n },\n directives: {\n currency: directive\n },\n name: 'CurrencyInput',\n props: {\n value: {\n type: Number,\n default: null\n },\n locale: {\n type: String,\n default: undefined\n },\n currency: {\n type: [String, Object],\n default: undefined\n },\n distractionFree: {\n type: [Boolean, Object],\n default: undefined\n },\n precision: {\n type: [Number, Object],\n default: undefined\n },\n autoDecimalMode: {\n type: Boolean,\n default: undefined\n },\n valueAsInteger: {\n type: Boolean,\n default: undefined\n },\n valueRange: {\n type: Object,\n default: undefined\n },\n allowNegative: {\n type: Boolean,\n default: undefined\n }\n },\n mounted: function mounted () {\n this.setValue(this.value);\n },\n computed: {\n options: function options () {\n var this$1 = this;\n var options = Object.assign({}, DEFAULT_OPTIONS,\n (this.$ci || {}).globalOptions);\n Object.keys(DEFAULT_OPTIONS).forEach(function (key) {\n if (this$1[key] !== undefined) {\n options[key] = this$1[key];\n }\n });\n return options\n }\n },\n watch: {\n value: 'setValue'\n },\n methods: {\n setValue: function setValue$1 (value) {\n setValue(this.$el, value);\n }\n }\n};\n\nvar plugin = {\n install: function install (Vue, ref) {\n if ( ref === void 0 ) ref = {};\n var componentName = ref.componentName; if ( componentName === void 0 ) componentName = component.name;\n var directiveName = ref.directiveName; if ( directiveName === void 0 ) directiveName = 'currency';\n var globalOptions = ref.globalOptions; if ( globalOptions === void 0 ) globalOptions = {};\n Vue.component(componentName, component);\n Vue.directive(directiveName, directive);\n Vue.prototype.$ci = {\n parse: function (formattedValue, options) { return parse(formattedValue, Object.assign({}, globalOptions, options)); },\n getValue: getValue,\n setValue: setValue,\n globalOptions: globalOptions\n };\n }\n};\n\nif (typeof window !== 'undefined' && window.Vue) {\n window.Vue.use(plugin);\n}\n\nexport default plugin;\nexport { directive as CurrencyDirective, component as CurrencyInput, getValue, parse, setValue };\n","module.exports = __webpack_public_path__ + \"img/Vector.db5fdc20.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('OffCanvas',{attrs:{\"isVisible\":_vm.isConfigurationDiscountMenuOpenComputed},on:{\"update:isVisible\":function($event){_vm.isConfigurationDiscountMenuOpenComputed=$event},\"update:is-visible\":function($event){_vm.isConfigurationDiscountMenuOpenComputed=$event},\"onClose\":_vm.onClose}},[_c('aside',{staticClass:\"add-new-sec\"},[_c('div',[_c('div',{staticClass:\"customize-checkout-title uk-margin-small-bottom\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT_TITLE\"))+\" \")]),_c('div',{staticClass:\"subtitle uk-margin-small-bottom\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT_SUBHEADER\"))+\" \")]),_c('ValidationObserver',{ref:\"formDiscountObserverRef\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.beforeOnSave)}}},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"uk-margin-small-bottom\",attrs:{\"for\":\"tax-rate-select\",\"data-testid\":\"tax-rate\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT_TYPE\"))),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])]),_c('DropdownList',{attrs:{\"dropdown\":_vm.typeListDropdown,\"autoSelectionAllowed\":false,\"id\":\"discount-type\"},on:{\"onSelectionChange\":_vm.onSelectType},model:{value:(_vm.currentTypeSelection),callback:function ($$v) {_vm.currentTypeSelection=$$v},expression:\"currentTypeSelection\"}}),_c('span',{staticClass:\"form-field-error\",style:({\n visibility: _vm.isSelectInvalid ? 'visible' : 'hidden',\n }),attrs:{\"data-testid\":\"discount-type-required-error\"}},[_vm._v(\" Please select a type \")])],1),_c('div',{staticClass:\"form-group uk-margin-small-bottom\"},[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"name\",\"data-testid\":\"discount-name\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_NAME\"))),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" \"+_vm._s(_vm.typeListDropdown.id === _vm.discountType.MULTI_PARTICIPANT ? _vm.screenText.getScreenText( \"LABEL_DISCOUNT_NAME_PERCENT_RATE_SUBHEADER\" ) : _vm.screenText.getScreenText( \"LABEL_DISCOUNT_NAME_EARLY_REGISTRATION_SUBHEADER\" ))+\" \")]),_c('ValidationProvider',{ref:\"nameObserverRef\",attrs:{\"rules\":\"name_required\",\"mode\":_vm.validationMode.Eager},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var errors = ref.errors;\n var invalid = ref.invalid;\n var validated = ref.validated;\nreturn [_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.name),expression:\"name\",modifiers:{\"trim\":true}}],attrs:{\"id\":\"discount-name\",\"type\":\"text\",\"maxlength\":\"30\"},domProps:{\"value\":(_vm.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.name=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('span',{staticClass:\"form-field-error\",style:({\n visibility: validated && invalid ? 'visible' : 'hidden',\n }),attrs:{\"data-testid\":\"discount-name-required-error\"}},[_vm._v(\" \"+_vm._s(errors[0])+\" \")])]}}],null,true)})],1),_c('div',{staticClass:\"form-group uk-margin-small-bottom\"},[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"description\",\"data-testid\":\"discount-description\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DESCRIPTION\"))),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" \"+_vm._s(_vm.typeListDropdown.id === _vm.discountType.MULTI_PARTICIPANT ? _vm.screenText.getScreenText( \"LABEL_DISCOUNT_DESCRIPTION_PERCENT_RATE_SUBHEADER\" ) : _vm.screenText.getScreenText( \"LABEL_DISCOUNT_DESCRIPTION_EARLY_REGISTRATION_SUBHEADER\" ))+\" \")]),_c('ValidationProvider',{ref:\"descriptionObserverRef\",attrs:{\"rules\":\"description_required\",\"mode\":_vm.validationMode.Eager},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\n var errors = ref.errors;\n var invalid = ref.invalid;\n var validated = ref.validated;\nreturn [_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.description),expression:\"description\"}],attrs:{\"id\":\"discount-description\",\"maxlength\":\"500\"},domProps:{\"value\":(_vm.description)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.description=$event.target.value}}}),_c('span',{staticClass:\"form-field-error\",style:({\n visibility: validated && invalid ? 'visible' : 'hidden',\n }),attrs:{\"data-testid\":\"discount-description-required-error\"}},[_vm._v(\" \"+_vm._s(errors[0])+\" \")])]}}],null,true)})],1),_c('div',{staticClass:\"form-group uk-margin-small-top\"},[_c('div',[_c('label',{staticClass:\"uk-margin-remove\",attrs:{\"for\":\"percent-rate\",\"data-testid\":\"setup-header\"}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_SETUP\"))),_c('span',{staticClass:\"asterisk\"},[_vm._v(\"*\")])])]),_c('div',{staticClass:\"subheader\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"LABEL_DISCOUNT_SETUP_SUBHEADER\"))+\" \")]),_c('div',{staticClass:\"uk-margin-remove\"},[_c('div',{staticClass:\"radio-input-wrapper\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.discountUnitAmount),expression:\"discountUnitAmount\"}],attrs:{\"id\":\"percent-option\",\"type\":\"radio\",\"name\":\"setup-option\",\"data-testid\":\"percent-option-input\"},domProps:{\"value\":_vm.discountUnitType.PERCENT_RATE,\"checked\":_vm._q(_vm.discountUnitAmount,_vm.discountUnitType.PERCENT_RATE)},on:{\"change\":function($event){_vm.discountUnitAmount=_vm.discountUnitType.PERCENT_RATE}}}),_c('label',{staticClass:\"subtitle\",attrs:{\"for\":\"percent-option\"}},[_vm._v(_vm._s(_vm.screenText.getScreenText(\"LABEL_PERCENT_RATE\")))])]),_c('div',{staticClass:\"radio-input-wrapper\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.discountUnitAmount),expression:\"discountUnitAmount\"}],attrs:{\"id\":\"amount-option\",\"type\":\"radio\",\"name\":\"setup-option\",\"data-testid\":\"amount-option-input\"},domProps:{\"value\":_vm.discountUnitType.FIXED_AMOUNT,\"checked\":_vm._q(_vm.discountUnitAmount,_vm.discountUnitType.FIXED_AMOUNT)},on:{\"change\":function($event){_vm.discountUnitAmount=_vm.discountUnitType.FIXED_AMOUNT}}}),_c('label',{staticClass:\"subtitle\",attrs:{\"for\":\"amount-option\"}},[_vm._v(_vm._s(_vm.screenText.getScreenText(\"FEE_FIXED_AMOUNT\")))])])])]),(_vm.typeListDropdown.id !== _vm.SELECT_TYPE_VALUE)?_c('div',[(_vm.typeListDropdown.id === _vm.discountType.MULTI_PARTICIPANT)?_c('MultiParticipantRules',{attrs:{\"rules\":_vm.rulesVal,\"discountUnitAmount\":_vm.discountUnitAmount,\"formRef\":_vm.formDiscountObserverRef},on:{\"update:discountUnitAmount\":function($event){_vm.discountUnitAmount=$event},\"update:discount-unit-amount\":function($event){_vm.discountUnitAmount=$event},\"onAddRule\":_vm.onAddMultiParticipantRule,\"onRemoveRule\":_vm.onRemoveMultiParticipantRule,\"onPercentageUpdate\":_vm.onPercentageUpdate}}):_c('EarlyRegistration',{attrs:{\"discountUnitAmount\":_vm.discountUnitAmount,\"earlyDiscountEnds\":_vm.earlyDiscountEnds,\"earlyAmountValue\":_vm.earlyAmountValue,\"discountRuleListDropdown\":_vm.discountRuleListDropdown,\"formRef\":_vm.formDiscountObserverRef},on:{\"update:discountUnitAmount\":function($event){_vm.discountUnitAmount=$event},\"update:discount-unit-amount\":function($event){_vm.discountUnitAmount=$event},\"update:earlyDiscountEnds\":function($event){_vm.earlyDiscountEnds=$event},\"update:early-discount-ends\":function($event){_vm.earlyDiscountEnds=$event},\"update:earlyAmountValue\":function($event){_vm.earlyAmountValue=$event},\"update:early-amount-value\":function($event){_vm.earlyAmountValue=$event},\"onChangeSessionStart\":_vm.onChangeSessionStart}})],1):_vm._e(),_c('div',[_c('button',{staticClass:\"btn-secondary uk-margin-small-right\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.onCancel}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText(\"BTN_CANCEL\"))+\" \")]),_c('ProgressButton',{attrs:{\"bx-attr\":\"save-btn\",\"buttonIndex\":_vm.screenText.getScreenText('BTN_SAVE'),\"buttonText\":_vm.screenText.getScreenText('BTN_SAVE'),\"disableButton\":!_vm.isSaveDisabled}})],1)])]}}])})],1)]),_c('StateModal',{attrs:{\"isVisible\":_vm.isModalVisible,\"config\":_vm.modalConfig},on:{\"onClose\":_vm.toggleConfirmationModal,\"onConfirm\":_vm.handleConfirm}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Ref, Vue, Watch } from \"vue-property-decorator\";\nimport paymentsModule from \"@/store/modules/Payments/module\";\nimport OffCanvas from \"@/commoncomponents/OffCanvas.vue\";\nimport { ScreenText } from \"@/lang/ScreenText\";\nimport { ValidationObserver, ValidationProvider } from \"vee-validate\";\nimport { ProviderInstance } from \"vee-validate/dist/types/types\";\nimport { VeeValidateProviderMode } from \"@/Model/forms/types\";\nimport DropdownList from \"@/ui-components/dropdownListBx/DropdownList.vue\";\nimport {\n DropdownListItem,\n DropdownListOptions,\n} from \"@/ui-components/dropdownListBx/types\";\nimport ProgressButton from \"@/commoncomponents/progressButton/progressButton\";\nimport MultiParticipantRules from \"./MultiParticipantRules.vue\";\nimport EarlyRegistration from \"./EarlyRegistration.vue\";\nimport {\n Discount,\n MultiParticipantRule,\n EarlyRegistrationRule,\n DiscountType,\n AmountUnitType,\n TimeRangeType,\n StateModalType,\n DiscountRule,\n} from \"@/Model/payments/types\";\nimport { discountDescriptionRequiredValidator } from \"@/validators/payments/validators\";\nimport StateModal from \"@/popupcomponents/StateModal.vue\";\nimport { createAutomaticDiscount } from \"@/services/payments/api\";\nimport APP_UTILITIES from \"@/utilities/commonFunctions\";\nimport { ToastType } from \"@/Model/toastType\";\n\ntype CustomDropdownOptions = DropdownListOptions & { ruleAmount: string };\n\n@Component({\n components: {\n OffCanvas,\n ValidationObserver,\n ValidationProvider,\n DropdownList,\n ProgressButton,\n MultiParticipantRules,\n EarlyRegistration,\n StateModal,\n },\n})\nexport default class DiscountConfiguration extends Vue {\n @Ref(\"formDiscountObserverRef\")\n readonly formDiscountObserverRef?: InstanceType;\n @Ref(\"nameObserverRef\") readonly nameObserverRef?: ProviderInstance;\n @Ref(\"descriptionObserverRef\")\n readonly descriptionObserverRef?: ProviderInstance;\n\n readonly screenText = new ScreenText();\n readonly MULTI_PARTICIPANT_INITIAL_SEQUENCE_NUMBER = 2;\n readonly MULTI_PARTICIPANT_MAX_SEQUENCE_NUMBER = 10;\n readonly discountUnitType = AmountUnitType;\n readonly discountType = DiscountType;\n\n validationMode = VeeValidateProviderMode;\n name: string = \"\";\n description: string = \"\";\n discountUnitAmount: AmountUnitType = AmountUnitType.PERCENT_RATE;\n isSaveDisabled = false;\n DISCOUNT_APPLICATION_SCOPE = \"Account\";\n formRef = this.$refs.discountForm as HTMLFormElement;\n isUnitResetNeeded = false;\n SELECT_TYPE_VALUE = -1;\n isModalVisible = false;\n modalConfig = {\n title: this.screenText.getScreenText(\"LABEL_CHANGE_DISCOUNT_TITLE\"),\n description: this.screenText.getScreenText(\n \"LABEL_CHANGE_DISCOUNT_DESCRIPTION\"\n ),\n type: StateModalType.WARNING,\n cancelButtonLabel: this.screenText.getScreenText(\"BTN_GO_BACK_CAPS\"),\n confirmButtonLabel: this.screenText.getScreenText(\"BTN_SAVE\"),\n };\n isSelectInvalid = false;\n\n // This is the model that contains the rule list when the discount type is \"Multi-participant\"\n rules: CustomDropdownOptions[] = [];\n\n /**\n * Early Registration type models\n * The following are the models for:\n * - early discount ends input\n * - session start (hold by earlyDiscountListOptions) dropdown list\n * - early amount value input\n */\n earlyDiscountEnds: number | null = null;\n earlyAmountValue: number | null = null;\n\n earlyDiscountListOptions: DropdownListItem[] = [\n { id: TimeRangeType.MONTHS, value: \"Months before sessions starts\" },\n { id: TimeRangeType.DAYS, value: \"Days before session starts\" },\n { id: TimeRangeType.WEEKS, value: \"Weeks before session starts\" },\n ];\n\n discountRuleListDropdown: DropdownListOptions = {\n id: this.earlyDiscountListOptions[0].id,\n value: this.earlyDiscountListOptions[0].value,\n singleSelect: true,\n showSelectLabel: false,\n dropdownList: this.earlyDiscountListOptions,\n };\n\n typeListOptions: DropdownListItem[] = [\n { id: this.SELECT_TYPE_VALUE, value: \"Select\" },\n { id: DiscountType.EARLY_REGISTRATION, value: \"Early Registration\" },\n { id: DiscountType.MULTI_PARTICIPANT, value: \"Multi-participant\" },\n ];\n\n currentTypeSelection: DropdownListItem = this.typeListOptions[0];\n\n typeListDropdown: DropdownListOptions = {\n id: this.typeListOptions[0].id,\n value: this.typeListOptions[0].value,\n singleSelect: true,\n showSelectLabel: true,\n dropdownList: this.typeListOptions,\n };\n\n /**\n * Called when the component is created.\n */\n created(): void {\n discountDescriptionRequiredValidator(\n this.screenText.getScreenText(\"LABEL_DISCOUNT_DESCRIPTION_REQUIRED\")\n );\n }\n\n /**\n * Called before the component is mounted.\n */\n beforeMount(): void {\n this.rules = this.initMultiParticipantRuleList();\n }\n\n // Watch change on type selection to keep track of validation for selected type\n @Watch(\"currentTypeSelection\", { deep: true })\n currentTypeValid(): void {\n const isTypeValid = this.currentTypeSelection.id !== this.SELECT_TYPE_VALUE;\n\n if (\n this.formDiscountObserverRef &&\n this.formDiscountObserverRef.flags &&\n this.formDiscountObserverRef.flags.touched\n ) {\n this.isSelectInvalid = !isTypeValid;\n }\n }\n\n /**\n * Watches changes to the discount unit amount.\n * @param {AmountUnitType} newValue - The new discount unit amount.\n */\n @Watch(\"discountUnitAmount\", { deep: true })\n discountUnitAmountReference(): void {\n if (\n this.currentTypeSelection.id === DiscountType.MULTI_PARTICIPANT &&\n (this.isUnitResetNeeded || !this.discountListComputed.length)\n ) {\n this.cleanMultiParticipantAmounts();\n } else if (this.isUnitResetNeeded) {\n this.earlyAmountValue = null;\n }\n\n this.isUnitResetNeeded = true;\n }\n\n toggleConfirmationModal() {\n this.isModalVisible = !this.isModalVisible;\n if (!this.isModalVisible) {\n paymentsModule.setIsConfiguratioDiscountMenuOpen(true);\n }\n }\n\n /**\n * Watches changes to the discount menu open state.\n * @param {boolean} isMenuOpen - Whether the discount menu is open.\n */\n @Watch(\"isConfigurationDiscountMenuOpenComputed\", { deep: true })\n isDiscountMenuOpen(isMenuOpen: boolean): void {\n const currentDiscountItem = paymentsModule.getSelectedDiscount;\n\n if (isMenuOpen && currentDiscountItem !== null) {\n this.setExistingDiscountValues();\n } else if (\n isMenuOpen &&\n currentDiscountItem === null &&\n this.discountListComputed.length\n ) {\n if (\n this.discountListComputed[0].discountTypeId ===\n DiscountType.MULTI_PARTICIPANT\n ) {\n this.typeListDropdown.id =\n this.typeListOptions[DiscountType.MULTI_PARTICIPANT].id;\n this.typeListDropdown.value =\n this.typeListOptions[DiscountType.MULTI_PARTICIPANT].value;\n this.currentTypeSelection =\n this.typeListOptions[DiscountType.MULTI_PARTICIPANT];\n } else {\n this.typeListDropdown.id =\n this.typeListOptions[DiscountType.EARLY_REGISTRATION].id;\n this.typeListDropdown.value =\n this.typeListOptions[DiscountType.EARLY_REGISTRATION].value;\n this.currentTypeSelection =\n this.typeListOptions[DiscountType.EARLY_REGISTRATION];\n }\n Vue.set(this.typeListDropdown, \"disable\", true);\n } else {\n Vue.set(this.typeListDropdown, \"disable\", false);\n\n this.typeListDropdown = {\n id: this.typeListOptions[0].id,\n value: this.typeListOptions[0].value,\n singleSelect: true,\n showSelectLabel: true,\n dropdownList: this.typeListOptions,\n };\n }\n }\n\n /**\n * Sets the existing discount values.\n */\n setExistingDiscountValues(): void {\n const currentDiscountItem = paymentsModule.getSelectedDiscount;\n if (currentDiscountItem) {\n const targetDiscountTypeSelection = this.typeListOptions.find(\n (discountItem) => discountItem.id === currentDiscountItem.discountTypeId\n );\n\n if (currentDiscountItem != null && targetDiscountTypeSelection) {\n this.name = currentDiscountItem.name;\n this.description = currentDiscountItem.description;\n this.currentTypeSelection.id = targetDiscountTypeSelection.id;\n this.currentTypeSelection.value = targetDiscountTypeSelection.value;\n this.typeListDropdown.id = this.currentTypeSelection.id;\n this.typeListDropdown.value = this.currentTypeSelection.value;\n this.isUnitResetNeeded = false;\n this.discountUnitAmount = String(\n currentDiscountItem.amountUnitType\n ) as AmountUnitType;\n\n if (\n currentDiscountItem.discountTypeId === DiscountType.MULTI_PARTICIPANT\n ) {\n this.rules = this.initMultiParticipantRuleList(\n (currentDiscountItem.rules as MultiParticipantRule[])[0]\n .participants,\n currentDiscountItem.rules\n );\n } else {\n const earlyRegistrationEntry = (\n currentDiscountItem.rules as [EarlyRegistrationRule]\n )[0];\n this.earlyDiscountEnds = earlyRegistrationEntry.timeRangeUnit;\n this.earlyAmountValue = earlyRegistrationEntry.amount;\n this.discountRuleListDropdown.id =\n earlyRegistrationEntry.timeRangeType;\n this.discountRuleListDropdown.value = `${\n this.earlyDiscountListOptions[\n earlyRegistrationEntry.timeRangeType - 1\n ].value\n }`;\n }\n // disable dropdown menu since type is not editable\n Vue.set(this.typeListDropdown, \"disable\", true);\n }\n }\n }\n\n /**\n * Handles cancel action.\n */\n onCancel(): void {\n this.onClose();\n paymentsModule.setIsConfiguratioDiscountMenuOpen(false);\n }\n\n /**\n * Handles close action.\n */\n onClose(): void {\n this.resetInputs();\n }\n\n /**\n * Handles selection of discount type.\n * @param {DropdownListItem} selection - The selected discount type.\n */\n onSelectType(selection: DropdownListItem): void {\n if (selection.id === DiscountType.MULTI_PARTICIPANT) {\n this.onResetEarlyRegistrationDiscount();\n } else {\n this.onResetMultiParticipantRules();\n }\n this.currentTypeSelection = selection;\n }\n\n /**\n * Initializes the multi-participant rule list.\n * @param {number} [sequenceStartNumber=this.MULTI_PARTICIPANT_INITIAL_SEQUENCE_NUMBER] - The starting sequence number.\n * @param {MultiParticipantRule[] | EarlyRegistrationRule} [discountRules] - The discount rules.\n * @returns {CustomDropdownOptions[]} The initialized rule list.\n */\n initMultiParticipantRuleList(\n sequenceStartNumber: number = this\n .MULTI_PARTICIPANT_INITIAL_SEQUENCE_NUMBER,\n discountRules?: MultiParticipantRule[] | [EarlyRegistrationRule]\n ): CustomDropdownOptions[] {\n const participantCounterList: DropdownListItem[] = Array.from(\n { length: this.MULTI_PARTICIPANT_MAX_SEQUENCE_NUMBER - 1 },\n (_, index) => ({\n id: index + sequenceStartNumber,\n value: `${index + sequenceStartNumber}`,\n })\n );\n\n const rawRuleStructure = {\n singleSelect: true,\n showSelectLabel: true,\n dropdownList: participantCounterList,\n error: false,\n errorText: \"\",\n };\n\n if (discountRules) {\n const targetDiscountRules = (discountRules as MultiParticipantRule[]).map(\n (item: MultiParticipantRule): CustomDropdownOptions => {\n // Disable the dropdown list if there are more than one discount rule\n // if only one rule is present, the dropdown list should be enabled since is the start of the sequence\n const isDiscountRulesDisabled = discountRules.length > 1;\n\n return {\n ...rawRuleStructure,\n id: item.participants,\n value: `${item.participants}`,\n ruleAmount: `${item.amount}`,\n disable: isDiscountRulesDisabled,\n };\n }\n );\n return targetDiscountRules;\n }\n\n return [\n {\n ...rawRuleStructure,\n id: sequenceStartNumber,\n value: `${sequenceStartNumber}`,\n ruleAmount: \"\",\n disable: false,\n },\n ];\n }\n\n /**\n * Getter for rules.\n * @returns {CustomDropdownOptions[]} The rules.\n */\n get rulesVal(): CustomDropdownOptions[] {\n return this.rules;\n }\n\n /**\n * Setter for rules.\n * @param {CustomDropdownOptions[]} newRules - The new rules.\n */\n set rulesVal(newRules: CustomDropdownOptions[]) {\n this.rules = newRules;\n }\n\n /**\n * Getter for the computed discount list.\n * @returns {Discount[]} The discount list.\n */\n get discountListComputed(): Discount[] {\n return paymentsModule.discountList;\n }\n\n /**\n * Getter for whether the configuration discount menu is open.\n * @returns {boolean} Whether the configuration discount menu is open.\n */\n get isConfigurationDiscountMenuOpenComputed(): boolean {\n return paymentsModule.isConfigurationDiscountMenuOpen;\n }\n\n /**\n * Setter for whether the configuration discount menu is open.\n * @param {boolean} value - The new value.\n */\n set isConfigurationDiscountMenuOpenComputed(value: boolean) {\n paymentsModule.setIsConfiguratioDiscountMenuOpen(value);\n }\n\n /**\n * Handles percentage update for a rule.\n * @param {CustomDropdownOptions} rule - The rule being updated.\n */\n onPercentageUpdate(rule: CustomDropdownOptions): void {\n // Validate that percentage amount doesn't go over 100%\n if (Number(rule.ruleAmount) > 100) {\n const ruleItem = this.rules.find((val) => val.id === rule.id);\n if (ruleItem) {\n ruleItem.ruleAmount = \"100\";\n }\n }\n }\n\n /**\n * Adds a multi-participant rule.\n */\n onAddMultiParticipantRule(): void {\n const lastRuleItem = [...this.rules].pop() as CustomDropdownOptions;\n const filteredDropdownItems = lastRuleItem.dropdownList.filter(\n (rule) => Number(rule.value) > Number(lastRuleItem.value)\n );\n\n // We create the new rule item following the sequence of the first selected item and adding one new entry\n const ruleItemValue = Number(lastRuleItem.value) + 1;\n const newRule = {\n id: ruleItemValue,\n singleSelect: true,\n showSelectLabel: true,\n value: `${ruleItemValue}`,\n dropdownList: filteredDropdownItems,\n error: false,\n errorText: \"\",\n ruleAmount: \"\",\n disable: true,\n };\n\n // After a new rule has been added ,the initial rule needs to be disabled to ensure that we will follow the sequence\n this.rules[0].disable = true;\n\n this.rules.push(newRule);\n }\n\n /**\n * Cleans the multi-participant amounts.\n */\n cleanMultiParticipantAmounts(): void {\n this.rules = this.rules.map((value) => {\n return { ...value, ruleAmount: \"\" };\n });\n }\n\n /**\n * Removes a multi-participant rule.\n */\n onRemoveMultiParticipantRule(): void {\n const updatedRules = [...this.rules];\n updatedRules.pop();\n this.rules = updatedRules;\n\n // If we remove all the rules we enable the first rule so we can select again the starting point from the sequence\n if (this.rules.length === 1) {\n this.rules[0].disable = false;\n }\n }\n\n /**\n * Handles change in discount end value.\n * @param {number} value - The new discount end value.\n */\n onChangeDiscountEnd(value: number): void {\n this.earlyDiscountEnds = value;\n }\n\n /**\n * Handles change in session start.\n * @param {DropdownListItem} sessionStartItemReference - The session start item.\n */\n onChangeSessionStart(sessionStartItemReference: DropdownListItem): void {\n this.discountRuleListDropdown.id = sessionStartItemReference.id;\n this.discountRuleListDropdown.value = `${sessionStartItemReference.value}`;\n }\n\n /**\n * Resets the multi-participant rules.\n */\n onResetMultiParticipantRules(): void {\n this.rules = this.initMultiParticipantRuleList();\n }\n\n /**\n * Resets the early registration discount.\n */\n onResetEarlyRegistrationDiscount(): void {\n this.discountRuleListDropdown.id = this.earlyDiscountListOptions[0].id;\n this.discountRuleListDropdown.value =\n this.earlyDiscountListOptions[0].value;\n this.earlyDiscountEnds = null;\n this.earlyAmountValue = null;\n }\n\n /**\n * Resets the input fields.\n * @private\n */\n private resetInputs(): void {\n this.typeListDropdown.id = this.typeListOptions[0].id;\n this.typeListDropdown.value = this.typeListOptions[0].value;\n this.name = \"\";\n this.description = \"\";\n this.isUnitResetNeeded = false;\n this.discountUnitAmount = AmountUnitType.PERCENT_RATE;\n this.currentTypeSelection = this.typeListOptions[0];\n this.rules = this.initMultiParticipantRuleList();\n if (paymentsModule.getSelectedDiscount) {\n paymentsModule.SET_SELECTED_AUTOMATIC_DISCOUNT(null);\n }\n\n // reset form rules and associated form logic to prevent unnecesary error messages\n if (this.formDiscountObserverRef) {\n this.formDiscountObserverRef.reset();\n this.formDiscountObserverRef.flags.touched = false;\n this.isSelectInvalid = false;\n }\n\n this.onResetEarlyRegistrationDiscount();\n }\n\n async beforeOnSave(): Promise {\n /*\n this is the way the VeeValidate package triggers the form validation\n reference taken from: https://vee-validate.logaretm.com/v2/guide/components/validation-observer.html#validate-before-submit\n */\n\n const isFormDiscountValid =\n this.formDiscountObserverRef &&\n (await this.formDiscountObserverRef.validate());\n\n // only submit save if type selected is valid\n const isTypeValid = this.currentTypeSelection.id !== this.SELECT_TYPE_VALUE;\n\n this.isSelectInvalid = !isTypeValid;\n\n if (isFormDiscountValid && isTypeValid) {\n /**\n * this verifies that we are currently updating an existing discount, if it is true, a confirmation modal is shown\n * otherwise it saves the form directly\n */\n\n const currentDiscountItem = paymentsModule.getSelectedDiscount;\n\n if (currentDiscountItem) {\n this.toggleConfirmationModal();\n } else {\n this.onSave();\n }\n }\n }\n\n /**\n * Confirmation logic when editing a discount\n */\n handleConfirm(): void {\n this.toggleConfirmationModal();\n const currentDiscountItem = paymentsModule.getSelectedDiscount;\n\n if (currentDiscountItem) {\n this.onUpdate(currentDiscountItem);\n }\n }\n\n /**\n * Saves the discount.\n */\n async onSave(): Promise {\n const currentActiveRules = this.getActiveRules();\n const accountId = this.getAccountId();\n\n const requestDiscountObj: Omit = {\n name: this.name,\n discountTypeId: this.currentTypeSelection.id,\n amountUnitType: this.discountUnitAmount,\n appliesTo: this.DISCOUNT_APPLICATION_SCOPE,\n description: this.description,\n rules: currentActiveRules,\n accountId: accountId,\n };\n\n try {\n this.isSaveDisabled = true;\n await createAutomaticDiscount(requestDiscountObj);\n paymentsModule.setIsConfiguratioDiscountMenuOpen(false);\n await paymentsModule.fetchAutomaticDiscountsByAccount();\n } catch (error) {\n APP_UTILITIES.showToastMessage(\"Unexpected Error!\", ToastType.Error);\n } finally {\n this.isSaveDisabled = false;\n }\n }\n\n /**\n * Updates the discount.\n */\n async onUpdate(selectedDiscount: Discount): Promise {\n const currentActiveRules = this.getActiveRules();\n\n const accountId = this.getAccountId();\n\n const requestDiscountObj: Discount = {\n name: this.name,\n discountTypeId: this.currentTypeSelection.id,\n amountUnitType: this.discountUnitAmount,\n appliesTo: this.DISCOUNT_APPLICATION_SCOPE,\n description: this.description,\n rules: currentActiveRules,\n accountId: accountId,\n id: selectedDiscount.id,\n isActive: selectedDiscount.isActive,\n };\n\n try {\n this.isSaveDisabled = true;\n paymentsModule.updateAutomaticDiscount(requestDiscountObj);\n } catch (error) {\n APP_UTILITIES.showToastMessage(\"Unexpected Error!\", ToastType.Error);\n } finally {\n this.isSaveDisabled = false;\n }\n }\n\n getActiveRules(): DiscountRule {\n let currentActiveRules: DiscountRule;\n if (this.currentTypeSelection.id === DiscountType.MULTI_PARTICIPANT) {\n currentActiveRules = this.rules.map(\n (item: CustomDropdownOptions): MultiParticipantRule => {\n return {\n participants: parseInt(item.value),\n amount: parseInt(item.ruleAmount),\n };\n }\n );\n } else {\n currentActiveRules = [\n {\n timeRangeUnit: this.earlyDiscountEnds || 1,\n timeRangeType: parseInt(String(this.discountRuleListDropdown.id)),\n amount: this.earlyAmountValue || 1,\n },\n ];\n }\n return currentActiveRules;\n }\n\n getAccountId(): number {\n const accountIdCookie = APP_UTILITIES.getCookie(\"accountId\");\n const accountId = accountIdCookie ? Number.parseInt(accountIdCookie) : 0;\n return accountId;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DiscountConfiguration.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DiscountConfiguration.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DiscountConfiguration.vue?vue&type=template&id=406cf7fc&scoped=true&\"\nimport script from \"./DiscountConfiguration.vue?vue&type=script&lang=ts&\"\nexport * from \"./DiscountConfiguration.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DiscountConfiguration.less?vue&type=style&index=0&id=406cf7fc&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"406cf7fc\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./DiscountConfiguration.less?vue&type=style&index=0&id=406cf7fc&lang=less&scoped=true&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EarlyRegistration.vue?vue&type=style&index=0&id=4744d2fe&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"empty-state-container-component uk-margin-top uk-margin-bottom\"},[_c('div',{staticClass:\"empty-state-container-component-restricted-width uk-margin-auto\"},[_c('div',{staticClass:\"empty-state-container-component-inner-wrapper uk-flex uk-flex-column uk-flex-center uk-flex-middle uk-padding-small\"},[_vm._t(\"icon\"),_c('div',[_c('div',{staticClass:\"empty-state-container-component-title\"},[_vm._t(\"title\")],2),_c('div',{staticClass:\"empty-state-container-component-subtitle uk-margin-small-top\"},[_vm._t(\"subtitle\")],2)]),_vm._t(\"button\"),_vm._t(\"error-message\")],2)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class EmptyStateContainer extends Vue { }\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmptyStateContainer.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmptyStateContainer.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EmptyStateContainer.vue?vue&type=template&id=301b7076&scoped=true&\"\nimport script from \"./EmptyStateContainer.vue?vue&type=script&lang=ts&\"\nexport * from \"./EmptyStateContainer.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EmptyStateContainer.vue?vue&type=style&index=0&id=301b7076&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"301b7076\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"dropdown-list relative\",class:[_vm.classes, _vm.openDropdown && 'dropdown-open-list']},[(_vm.dropdown.label)?_c('label',{attrs:{\"bx-attr\":(\"dropdown-label-\" + (_vm.dropdown.label.toLowerCase().split(' ').join('-')))}},[_vm._v(_vm._s(_vm.dropdown.label)),(_vm.dropdown.required)?_c('span',[_vm._v(\"*\")]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"relative clear-both\"},[_c('button',{class:[_vm.dropdown.error && 'outline-red', _vm.dropdown.disable && 'disable'],attrs:{\"id\":(\"dropdown-label-\" + _vm.publicUniqueId),\"type\":\"button\",\"bx-attr\":(\"toggleDropdown-\" + (_vm.dropdown.value)),\"disabled\":(_vm.dropdown.disable || _vm.dropdown.dropdownList && ((_vm.autoSelectionAllowed && _vm.dropdown.dropdownList.length <= 1)||(!_vm.autoSelectionAllowed &&_vm.dropdown.dropdownList.length <= 0)))},on:{\"click\":function($event){return _vm.toggleDropdown($event)},\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.toggleDropdown($event,true)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"tab\",9,$event.key,\"Tab\")){ return null; }return _vm.toggleDropdown($event,true)},function($event){return _vm.checkKey($event)}]}},[_c('img',{attrs:{\"src\":require(\"../../assets/images/scholars/add-new-scholars/arrowDown.svg\"),\"alt\":\"down\"}}),_c('span',{class:[_vm.dropdown.singleSelect && 'singleSelect']},[_vm._v(_vm._s(_vm.dropdown.value))])]),(_vm.openDropdown)?_c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(function (){_vm.openDropdown=false}),expression:\"()=>{openDropdown=false}\"}],staticClass:\"dropdown-submenu\"},[_c('ul',{staticClass:\"dropdown-submenu-list scroll-drop\"},[(_vm.dropdown.showSelectLabel)?_c('li',{staticClass:\"select-label\",on:{\"keydown\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.onDropdownOpen($event)},\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.select({id: 0, value: _vm.dropdown.firstSelectLabel || 'Select'});},\"click\":function($event){$event.stopPropagation();return _vm.select({id: 0, value: _vm.dropdown.firstSelectLabel || 'Select'})},\"mouseover\":function($event){return _vm.changeFocusOnHover(-1)}}},[_c('img',{attrs:{\"src\":require(\"../../assets/images/scholars/add-new-scholars/arrowDown.svg\"),\"alt\":\"down\"}}),_c('a',[_vm._v(_vm._s(_vm.dropdown.firstSelectLabel || 'Select'))])]):_vm._e(),(_vm.dropdown.search)?_c('li',{staticClass:\"input_rel\"},[(_vm.dropdown.search)?_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.search),expression:\"search\",modifiers:{\"trim\":true}}],attrs:{\"placeholder\":_vm.dropdown.placeholder || 'Search',\"type\":\"text\",\"id\":\"dropdownSearchInput\"},domProps:{\"value\":(_vm.search)},on:{\"keydown\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.onDropdownOpen($event, 'fromSearchInput')},\"input\":[function($event){if($event.target.composing){ return; }_vm.search=$event.target.value.trim()},function (evt) {_vm.search=evt.target.value; _vm.active=-1}],\"mouseover\":function($event){return _vm.changeFocusOnHover(-1)},\"blur\":function($event){return _vm.$forceUpdate()}}}):_vm._e(),(_vm.search)?_c('span',{staticClass:\"cross\",on:{\"click\":function($event){return _vm.clearSearch()}}},[_c('img',{attrs:{\"src\":require(\"../../assets/images/closeIconBlack.svg\"),\"alt\":\"\"}})]):_c('span',{staticClass:\"search-icon\"},[_c('img',{attrs:{\"src\":require(\"../../assets/images/common-icon/search.svg\"),\"alt\":\"\"}})])]):_vm._e(),_vm._l((_vm.filterList(_vm.dropdown.dropdownList, _vm.search)),function(obj,index){return _c('li',{key:index,staticClass:\"dropdown-menu\",class:[ _vm.dropdown.id==obj.id && 'blue-hover' ,!_vm.dropdown.showSelectLabel && index == 0 && 'label-wt-select'],attrs:{\"id\":(\"drop-li-\" + index)},on:{\"click\":function($event){return _vm.select(obj)},\"mouseover\":function($event){return _vm.changeFocusOnHover(index)}}},[(_vm.isDropdownElementIdValid(obj.id))?_c('a',{attrs:{\"id\":(\"drop-a-\" + index),\"name\":(\"drop-a-\" + (obj.id)),\"tabindex\":index,\"bx-attr\":(\"dropdown-value-\" + (obj.value.toLowerCase().split(' ').join('-')))},on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.select(obj);},\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.toggleDropdown($event,true)},function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.onDropdownOpen($event,'fromLi')}]}},[(!_vm.dropdown.showSelectLabel && index == 0)?_c('img',{attrs:{\"src\":require(\"../../assets/images/scholars/add-new-scholars/arrowDown.svg\"),\"alt\":\"down\"}}):_vm._e(),_vm._v(\" \"+_vm._s(obj.value))]):_vm._e()])})],2)]):_vm._e()]),(_vm.dropdown.error)?_c('span',{staticClass:\"dropdown-error\"},[_vm._v(_vm._s(_vm.dropdown.errorText))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop, Watch } from 'vue-property-decorator';\nimport APP_CONST from '@/constants/AppConst';\nimport { DropdownListItem, DropdownListOptions } from './types';\n\n\n@Component({\n name: 'DropdownList',\n filters: {}\n})\nexport default class DropdownList extends Vue {\n search: string = '';\n openDropdown: boolean = false;\n hovering: boolean = false;\n hoverText: string = '';\n styleObject: any = {};\n dropdownElement: any = {}\n active: number = -1\n searchElementId: number = -1\n public activeLetter = '';\n public selectedIndex: number = -1;\n selectableLableHover: boolean = false\n public publicUniqueId: number = Math.floor(Math.random() * 100000000000);\n\n @Prop()\n classes!: string[]\n\n @Prop({ default: true })\n autoSelectionAllowed!: boolean\n\n @Prop({\n default: {\n singleSelect: false,\n showSelectLabel: true,\n firstSelectLabel: 'Select',\n id: 0,\n value: 'Select',\n label: '',\n error: false,\n errorText: '',\n search: false,\n disable: false,\n dropdownList: [{ id: 0, value: 'Select' }] as DropdownListItem[]\n } as DropdownListOptions\n })\n dropdown!: DropdownListOptions;\n\n @Prop()\n slotObj!: { slotLabel: string, slotType: string };\n\n toggleDropdown(e?: any, close?: boolean) {\n if (this.dropdown.disable) {\n return;\n }\n this.openDropdown = this.openDropdown ? APP_CONST.FALSE : (close ? APP_CONST.FALSE : APP_CONST.TRUE);\n this.clearSearch();\n this.hovering = !this.hovering;\n if (this.openDropdown) {\n this.active = APP_CONST.MINUS_ONE;\n setTimeout(() => {\n this.dropdownElement.children = [...document.getElementsByClassName(\"dropdown-menu\")];\n if (this.dropdown.search) {\n let inputElement = document.getElementById('dropdownSearchInput');\n inputElement && inputElement.focus()\n if (this.dropdown.id) {\n let activeEle = document.getElementsByName(`drop-a-${this.dropdown.id}`)[0];\n if (activeEle) {\n activeEle.scrollIntoView({ block: \"center\", behavior: \"smooth\" });\n }\n }\n }\n else {\n let element = document.getElementById(\"drop-a-0\");\n if (element) {\n element.focus();\n this.active = 0;\n this.dropdownElement.children[this.active].classList.add(\"dropbtn-selected\");\n }\n if (this.dropdown.id) {\n let activeEle = document.getElementsByName(`drop-a-${this.dropdown.id}`)[0];\n if (activeEle) {\n activeEle.focus();\n const index = this.dropdownElement.children.findIndex((el: any, index: number) => {\n const toFind = `drop-a-${this.dropdown.id}`;\n if (el.children[0].name == toFind) {\n return index\n }\n });\n if (index >= APP_CONST.ZERO) {\n this.dropdownElement.children[this.active].classList.remove(\"dropbtn-selected\");\n this.active = index;\n this.dropdownElement.children[this.active].classList.add(\"dropbtn-selected\");\n this.dropdownElement.children[this.active] && this.dropdownElement.children[this.active].scrollIntoView({ block: \"center\", inline: \"center\", behavior: \"smooth\" });\n }\n }\n }\n }\n }, 10)\n }\n if (this.openDropdown && this.selectedIndex > -1) {\n let dropdownMenuItems = this.dropdownElement && this.dropdownElement.children\n dropdownMenuItems[this.active] && dropdownMenuItems[this.active].scrollIntoView({ block: \"center\", inline: \"center\", behavior: \"smooth\" })\n }\n if (this.active > -1 && e && e.keyCode == 13 && !this.openDropdown) {\n this.selectedIndex = this.active;\n let selected = this.dropdown.dropdownList[this.active]\n this.select(selected)\n }\n }\n\n /* istanbul ignore next */\n mounted() {\n document.addEventListener(\"keydown\", (e) => {\n switch (e.key) {\n case \"ArrowUp\":\n case \"ArrowDown\":\n if (this.openDropdown)\n e.preventDefault();\n break;\n }\n });\n this.selectFirstElement();\n }\n\n @Watch('dropdown.dropdownList', { deep: true })\n onDropdownListChange(old: any, newVal: any) {\n if (old !== newVal)\n this.selectFirstElement();\n }\n\n selectFirstElement() {\n if (this.dropdown.dropdownList && this.dropdown.dropdownList.length <= APP_CONST.ONE && this.autoSelectionAllowed) {\n let dropDownValues: any = this.dropdown.dropdownList.length == APP_CONST.ZERO ? { id: this.dropdown.id ? this.dropdown.id : 0, value: this.dropdown.value } : this.dropdown.dropdownList[APP_CONST.ZERO]\n this.select(dropDownValues)\n let element: any = document.getElementById(`dropdown-label-${this.publicUniqueId}`)\n element && element.classList && element.classList.add(\"dropdown-active\");\n }\n else {\n let element: any = document.getElementById(`dropdown-label-${this.publicUniqueId}`)\n element && element.classList && element.classList.remove(\"dropdown-active\");\n }\n }\n\n onDropdownOpen(e: any, attribute?: string) {\n let searchElement = document.getElementById('dropdownSearchInput');\n if (document.activeElement !== searchElement) {\n if (e.code == \"Space\") {\n e.preventDefault();\n return false;\n }\n }\n if (e.keyCode == 27) {\n this.toggleDropdown({}, true);\n this.refocusDD()\n }\n if (attribute == \"fromLi\" && e.keyCode == 9 && !e.shiftKey) {\n this.toggleDropdown({}, false)\n this.active = -1;\n return;\n } else if (attribute == \"fromLi\" && e.keyCode == 9 && e.shiftKey) {\n this.active = -1;\n setTimeout(() => {\n if (this.dropdown.search) {\n let inputElement = document.getElementById('dropdownSearchInput');\n inputElement && inputElement.scrollIntoView({ block: \"center\", inline: \"center\", behavior: \"smooth\" });\n this.goToSearch();\n }\n }, 10);\n return;\n }\n else if (attribute == 'fromSearchInput' && (e.keyCode == 38 || e.keyCode == 40)) {\n e.preventDefault();\n return;\n }\n else if (attribute == 'fromSearchInput' && e.keyCode == 9 && !e.shiftKey) {\n this.active = 0;\n }\n let dropdownMenuItems = this.dropdownElement && this.dropdownElement.children\n let inputElement = document.getElementById('dropdownSearchInput');\n\n if (this.openDropdown) {\n const input = String.fromCharCode(e.keyCode)\n if (e.keyCode == 40) {\n if (this.active < this.dropdownElement.children.length - 1)\n this.active++;\n }\n else if (e.keyCode == 38) {\n if (this.active == APP_CONST.ZERO) {\n this.active;\n }\n else\n this.active--;\n }\n else if (/[a-zA-Z0-9]/.test(input) && (document.activeElement !== inputElement)) {\n let loopStart = this.activeLetter == input.toLowerCase() ? this.active + 1 : 0;\n for (let i = loopStart; i < this.dropdownElement.children.length; i++) {\n let val = dropdownMenuItems[i].innerText.charAt(0).toLowerCase()\n let inp = input.toLowerCase()\n if (val == inp) {\n this.active = i;\n this.activeLetter = inp;\n break\n }\n }\n }\n setTimeout(() => {\n let currentElm: any = document.querySelector('.dropbtn-selected a') as HTMLElement;\n currentElm && currentElm.focus()\n })\n }\n this.dropdownElement.children.forEach((drop: any) => {\n drop && drop.classList && drop.classList.remove('dropbtn-selected');\n });\n this.dropdownElement && this.dropdownElement.children[this.active] && this.dropdownElement.children[this.active].classList.add('dropbtn-selected');\n if (this.active > -1) {\n this.dropdownElement.children[this.active].focus();\n this.dropdownElement.children[this.active].classlist && this.dropdownElement.children[this.active].classlist.add('dropbtn-selected');\n dropdownMenuItems[this.active] && dropdownMenuItems[this.active].scrollIntoView({ block: \"center\", inline: \"center\", behavior: \"smooth\" })\n }\n }\n\n goToSearch() {\n let inputElement = document.getElementById('dropdownSearchInput');\n inputElement && inputElement.focus()\n }\n\n checkKey(e: any) {\n if (e.keyCode == 38 || e.keyCode == 40) {\n if (this.openDropdown) {\n this.onDropdownOpen(e, 'fromLi')\n } else {\n this.toggleDropdown(e)\n }\n }\n }\n\n select(selection: { id: number, value: string }) {\n if (selection && this.dropdown.id == selection.id) {\n this.openDropdown = false;\n this.refocusDD();\n this.hovering = false;\n return;\n }\n this.dropdown.id = selection && selection.id;\n this.dropdown.value = selection && selection.value;\n if (this.dropdown.id >= APP_CONST.ZERO || typeof (this.dropdown.id) == 'string') {\n this.$emit('onSelectionChange', { id: this.dropdown.id, value: this.dropdown.value } as DropdownListItem);\n }\n this.openDropdown = false;\n this.refocusDD()\n this.hovering = false;\n }\n\n filterList(list: [{ id: number, value: string }], search: string): any {\n search = search.trim();\n if (!search) {\n return list;\n }\n const dropList = list.filter((el) => el.value.toLowerCase().includes(search.toLowerCase()));\n return dropList;\n }\n\n clearSearch() {\n this.search = '';\n }\n\n refocusDD() {\n let btnElment = document.getElementById(`dropdown-label-${this.publicUniqueId}`)\n btnElment && btnElment.focus();\n }\n\n // Just to improve user Experience\n changeFocusOnHover(index: number) {\n this.dropdownElement && this.dropdownElement.children && this.dropdownElement.children.forEach((drop: any) => {\n drop && drop.classList && drop.classList.remove('dropbtn-selected');\n });\n if (index > -1) {\n this.active = index;\n // this check is needed to ensure the dropdown and elements inside the dropdown exist\n // due to the onDropdownOpen function having a 10ms timeout\n if (this.dropdownElement.children && this.dropdownElement.children.length && this.dropdownElement.children[this.active]) {\n this.dropdownElement.children[this.active].classList.add(\"dropbtn-selected\");\n }\n }\n }\n\n /**\n * Checks if the provided dropdown element ID is valid.\n *\n * @param id - The dropdown element ID to validate.\n * @returns A boolean indicating whether the ID is valid or not.\n */\n isDropdownElementIdValid(id: number | string): boolean {\n if (typeof id === 'number') {\n return id > -1;\n } else if (typeof id === 'string') {\n return !!id;\n }\n return false;\n }\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport DropdownList from '@/ui-components/dropdownListBx/DropdownList';\nexport default DropdownList;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DropdownList.vue?vue&type=template&id=7867c925&scoped=true&\"\nimport script from \"./DropdownList.vue?vue&type=script&lang=ts&\"\nexport * from \"./DropdownList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DropdownList.less?vue&type=style&index=0&id=7867c925&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7867c925\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangeFeeModal.vue?vue&type=style&index=0&id=3deca15a&lang=less&scoped=true&\""],"sourceRoot":""}