@solvimon/solvimon-web 0.1.0-alpha.31 → 0.1.0-alpha.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddPaymentMethodModal-Bs_aOOCX.mjs → AddPaymentMethodModal-Cx203VXo.mjs} +4 -4
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DF4PIR-A.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BMHhLZnu.mjs} +2 -2
- package/dist/{Alert.vue.es-xhsk_7Gn.mjs → Alert.vue.es-DHJpiSdR.mjs} +1 -1
- package/dist/{Amount.vue.es-DPqHB8Xd.mjs → Amount.vue.es-CofcgmXt.mjs} +1 -1
- package/dist/{AuthProvider.handle-CUO6Qj-5.mjs → AuthProvider.handle-BpFblzFx.mjs} +1 -1
- package/dist/{Avatar.vue.es-DrbtUiLO.mjs → Avatar.vue.es-CJdXXOiG.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-C3JYNZuR.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BD84aBiU.mjs} +4 -4
- package/dist/{BillingInformationForm.vue_vue_type_script_setup_true_lang-BUdcXy0H.mjs → BillingInformationForm.vue_vue_type_script_setup_true_lang-F5OVG0kO.mjs} +7 -7
- package/dist/{BillingInformationModal-crgTNGf4.mjs → BillingInformationModal-Do3Fuu8A.mjs} +3 -3
- package/dist/{Button.vue.es-BHbanjR0.mjs → Button.vue.es-CW7XfMBF.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-DYiFtw1n.mjs → ChargeOnDemandModal-B4ShPKLS.mjs} +17 -17
- package/dist/{Chip.vue.es-Dc6-PjEn.mjs → Chip.vue.es-CYwWHyAT.mjs} +2 -2
- package/dist/{taxId.es-Zu2Ff1gL.mjs → CompanyPurchaseToggle.vue_vue_type_script_setup_true_lang-CVXHCSPb.mjs} +226 -226
- package/dist/{Comparators.vue.es-DQBI3f7m.mjs → Comparators.vue.es-DYrKlE8t.mjs} +1 -1
- package/dist/{ContextMenu.vue.es-CvX6O2IM.mjs → ContextMenu.vue.es-EXTx0NEt.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-DQWt9osz.mjs → CustomerBillingInformation.vue.es-CSKG6V3T.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-hNVtamwL.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DZZuAHIE.mjs} +5 -5
- package/dist/{CustomerShippingAddresses-C0c-4D2W.mjs → CustomerShippingAddresses-Bdy4XWjE.mjs} +9 -9
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C50vGUvw.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BEKwWob_.mjs} +1361 -1065
- package/dist/{DividerText.vue.es-ChN6fnrH.mjs → DividerText.vue.es-Dq0JzI8C.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DCUml1W4.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-3gf8pvR7.mjs} +3 -3
- package/dist/{ErrorNotification.vue.es-CWIVt5q9.mjs → ErrorNotification.vue.es-Cw7fqCg1.mjs} +2 -2
- package/dist/{FormMessage.vue.es-CQ64C8dt.mjs → FormMessage.vue.es-MrzQoSae.mjs} +1 -1
- package/dist/{IconButton.vue.es-BXzwMvVk.mjs → IconButton.vue.es-CpQbFw0x.mjs} +2 -2
- package/dist/{IconTitle.vue.es-GyanM-JQ.mjs → IconTitle.vue.es-CcOIFjbE.mjs} +3 -3
- package/dist/{Input.vue.es-CxiwRZYs.mjs → Input.vue.es-Cd55vQri.mjs} +4 -4
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Ca0qflBR.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CqkGCbvg.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-Dw73a5Yt.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-BUu5M_gx.mjs} +4 -4
- package/dist/{InvoicePreview.vue.es-BvnikfEH.mjs → InvoicePreview.vue.es-DHh5wruk.mjs} +5 -5
- package/dist/{InvoicePricingClauseChip.vue.es-DxcyTRGr.mjs → InvoicePricingClauseChip.vue.es-ZSOBp1se.mjs} +4 -4
- package/dist/{Label.vue.es-3ACRco55.mjs → Label.vue.es-CB6G8Krh.mjs} +3 -3
- package/dist/{LoadFailedNotice.vue_vue_type_script_setup_true_lang-1qpRh-0S.mjs → LoadFailedNotice.vue_vue_type_script_setup_true_lang-BZCtO2Er.mjs} +2 -2
- package/dist/{Modal.vue.es-CDjfZDDx.mjs → Modal.vue.es-CJFTVFSZ.mjs} +5 -5
- package/dist/{OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-CnZwxJ5b.mjs → OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-D0pwpqIC.mjs} +8 -8
- package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-PICpXmC3.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-D08Qpgb0.mjs} +2 -2
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DpZtYBfM.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-dl52PYcq.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Co5qBQa8.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D0priVnA.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-HUazLER6.mjs → PaymentHistoryBlock-BSXlneqM.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DdmUoiet.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CXy0XGpn.mjs} +5 -5
- package/dist/{PaymentIntegrationForm-ZnIjTyda.mjs → PaymentIntegrationForm-Diua0GGJ.mjs} +1 -1
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DU5wu66t.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CLlm_Q2j.mjs} +3 -3
- package/dist/{PaymentIntegrationFormAdyen-sbw3AoKS.mjs → PaymentIntegrationFormAdyen-D4FP0Vj5.mjs} +9 -9
- package/dist/{PaymentIntegrationFormStripe-4JmKEwbS.mjs → PaymentIntegrationFormStripe-vFzF_sCJ.mjs} +8 -8
- package/dist/{PaymentMethod.vue.es-DAabE41t.mjs → PaymentMethod.vue.es-vs6SaZOh.mjs} +197 -149
- package/dist/{PaymentMethodForm-MmCUSJLE.mjs → PaymentMethodForm-Buhe0aRQ.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DyiXLYRj.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-RPPdBw_e.mjs} +6 -6
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Bv34aiZ6.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DprL5TR8.mjs} +7 -7
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DZ2Z-RMv.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BXbevI3r.mjs} +7 -7
- package/dist/{PaymentMethodsModal-CjpNw4kX.mjs → PaymentMethodsModal-CnJP9UKp.mjs} +6 -6
- package/dist/{PlanCustomizationEditor-BDWm_z2w.mjs → PlanCustomizationEditor-KHLSEUbb.mjs} +12 -12
- package/dist/{PortalLinkUnverified-B7YYhv97.mjs → PortalLinkUnverified-DlZAkE93.mjs} +3 -3
- package/dist/{PortalNotAvailable-DIyeKrAp.mjs → PortalNotAvailable-CKIomNrm.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-C6J8C7JS.mjs → PricingGroupRangeInput.vue.es-oHD-IT12.mjs} +8 -8
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CiQ-C9Hh.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-wCW8YZHM.mjs} +9 -9
- package/dist/{RadioGroupExtended.vue.es-hDmUAKIA.mjs → RadioGroupExtended.vue.es-DsShmkKZ.mjs} +4 -4
- package/dist/Section.vue.es-DYmEtgBj.mjs +88 -0
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Gn1aE60E.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CANXYTzu.mjs} +2 -2
- package/dist/{ShippingAddressForm.vue_vue_type_script_setup_true_lang-y7yOKwR3.mjs → ShippingAddressForm.vue_vue_type_script_setup_true_lang-CJp6ddhZ.mjs} +4 -4
- package/dist/{ShippingAddressesModal-CNXxkxnJ.mjs → ShippingAddressesModal-Gxv2KxaW.mjs} +9 -9
- package/dist/{StepInput.vue.es-GkrOtOVa.mjs → StepInput.vue.es-sqA-VSsn.mjs} +4 -4
- package/dist/{SubscriptionCancellationModal-C_xFPx1I.mjs → SubscriptionCancellationModal-DfAZ_uW6.mjs} +1 -1
- package/dist/{SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-DdTC33Qh.mjs → SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-BlbiDNIu.mjs} +7 -7
- package/dist/{SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-CQ-ZOzVI.mjs → SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-C1ko2xvR.mjs} +2 -2
- package/dist/{SubscriptionDetails.entry.ce-DuP8TtKu.mjs → SubscriptionDetails.entry.ce-CdWV-8WN.mjs} +23 -23
- package/dist/{SubscriptionSchedules-DosBeXD7.mjs → SubscriptionSchedules-BfdVn1XA.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C8q8Q6h5.mjs +5413 -0
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-C26HShPu.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-qQ9gJOIs.mjs} +3 -3
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BUDuQk2e.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DYWjTzPV.mjs} +9 -9
- package/dist/{TooltipParagraph.vue.es-4HaXi8RP.mjs → TooltipParagraph.vue.es-Bt-7LHr3.mjs} +1 -1
- package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-C5Y6Kg-_.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-Cp_sFa52.mjs} +1 -1
- package/dist/{TrialChip.vue.es-CUfJ4SK3.mjs → TrialChip.vue.es-VZwQX079.mjs} +3 -3
- package/dist/{addonQuantity-BvoYTajN.mjs → addonQuantity-D3bGVqjL.mjs} +2 -2
- package/dist/{adyen-D4em6EgU.mjs → adyen-CHgq2l6n.mjs} +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +5 -5
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +4 -4
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.mjs +1084 -1016
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.mjs +4 -4
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +9 -9
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +5 -5
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/{customElements-d7Bhfqi_.mjs → customElements-B8c354Nu.mjs} +376 -369
- package/dist/{customer-CNCSN_G5.mjs → customer-CP-Wz7JO.mjs} +1 -1
- package/dist/{de-DE-wZp39RC-.mjs → de-DE-C9HrzHpE.mjs} +3 -0
- package/dist/{de-DE-D-sV3avS.mjs → de-DE-DAQmgEy5.mjs} +75 -15
- package/dist/{formControl-BZQLHnOO.mjs → formControl-C18sw44K.mjs} +275 -275
- package/dist/{formatting.es-RclXHhKo.mjs → formatting.es-DlJEzreG.mjs} +16 -13
- package/dist/{fr-FR-BrNXJ7gR.mjs → fr-FR-CHR3VWvd.mjs} +3 -0
- package/dist/{fr-FR-BYHycSxz.mjs → fr-FR-fz51-Ubw.mjs} +76 -16
- package/dist/icon-sprite.svg.es-2S3rv8NW.mjs +4 -0
- package/dist/{index.es-BEZ2mumY.mjs → index.es-Bv55VtdE.mjs} +8 -8
- package/dist/index.mjs +1 -1
- package/dist/{invoices-CXvL8KQx.mjs → invoices-I7PghcPV.mjs} +1 -1
- package/dist/{it-IT-zpPyT9PH.mjs → it-IT-BpCkTMZL.mjs} +68 -8
- package/dist/{it-IT-Bd1qsMVU.mjs → it-IT-Dzc7DmmL.mjs} +3 -0
- package/dist/{nl-NL-BOr4MR7L.mjs → nl-NL-22C8OcIM.mjs} +72 -12
- package/dist/{nl-NL-C6Y6fqaW.mjs → nl-NL-Dut_QwsY.mjs} +3 -0
- package/dist/{paymentIntegrationFormLoaders-wi1vMgf_.mjs → paymentIntegrationFormLoaders-BFMAMpcA.mjs} +3 -3
- package/dist/{paymentMethods-CG1fcG2v.mjs → paymentMethods-aGKIi7DS.mjs} +1 -1
- package/dist/{paymentOutcome-D59QkGfm.mjs → paymentOutcome-Cv7hTFVu.mjs} +1 -1
- package/dist/{payments-Dy81gmkC.mjs → payments-BKoKpoLN.mjs} +1 -1
- package/dist/{preloadPaymentIntegrationForms-C_9p7Jbi.mjs → preloadPaymentIntegrationForms-Buwal_JR.mjs} +1 -1
- package/dist/{pricing-CBJT8C6L.mjs → pricing-Y-7ELzN-.mjs} +1 -1
- package/dist/{pricingItem.es-AYq_hYeD.mjs → pricingItem.es-BafitMMY.mjs} +1 -1
- package/dist/{pricingPlanScheduleOverrides-GON_34ep.mjs → pricingPlanScheduleOverrides-CGm_-jJq.mjs} +1 -1
- package/dist/screens/Checkout/Checkout.mjs +12 -12
- package/dist/screens/CheckoutSession/CheckoutSession.mjs +650 -644
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +17 -17
- package/dist/screens/PayInvoice/PayInvoice.mjs +22 -22
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +29 -29
- package/dist/{subscriptions-Bm1eu9wc.mjs → subscriptions-B7dNqi1C.mjs} +1 -1
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +3 -1
- package/dist/types/types/checkoutSession.d.ts +11 -1
- package/dist/{useActionDispatchProvider-BWna0S6N.mjs → useActionDispatchProvider-BCtk-FGU.mjs} +1 -1
- package/dist/{useAddressFormats-Dw7IEdxg.mjs → useAddressFormats-CtE4QaVU.mjs} +51 -50
- package/dist/{useCheckoutForm-BaV2j_ob.mjs → useCheckoutForm-BhXcmnUi.mjs} +1467 -1422
- package/dist/{useCustomer-RUtEzDOY.mjs → useCustomer-mQysxUwp.mjs} +2 -2
- package/dist/{useExperimentalFeature-DAKAF_a2.mjs → useExperimentalFeature-Bw6bBtay.mjs} +1 -1
- package/dist/{useHostEvent-pjoWJ7ZH.mjs → useHostEvent-MtRG6W2B.mjs} +1 -1
- package/dist/{useIncrementalLoading-B3gp58X-.mjs → useIncrementalLoading-CJSj1945.mjs} +1 -1
- package/dist/{useInvoiceData-Dya4mmvf.mjs → useInvoiceData-BEZIvw32.mjs} +2 -2
- package/dist/{useInvoicesList-Dp3c_cb3.mjs → useInvoicesList-CrXjsmei.mjs} +140 -138
- package/dist/{sorting.es-kM0f1VX0.mjs → useIsMounted.es-BNPhTTHE.mjs} +11 -10
- package/dist/{useLoadInitialData-CwySdYZM.mjs → useLoadInitialData-Bomj_1mo.mjs} +1 -1
- package/dist/{usePaymentMethodAvailability-B7NV0ZtX.mjs → usePaymentMethodAvailability-DR_neLeZ.mjs} +4 -4
- package/dist/{usePaymentMethodOptions-DDRjVvDJ.mjs → usePaymentMethodOptions-CuHoQx3K.mjs} +2 -2
- package/dist/{usePaymentMethods-DBGyQA_I.mjs → usePaymentMethods-BDdetXts.mjs} +2 -2
- package/dist/{usePayments-ChGtK_As.mjs → usePayments-B5Z9Kfbv.mjs} +19 -17
- package/dist/{usePortal--Uzbpbgr.mjs → usePortal-DuLR5Mid.mjs} +1 -1
- package/dist/{useService-DayNZhPh.mjs → useService-2aOFBTxU.mjs} +1 -1
- package/dist/{useShippingAddresses-TXVeGFPm.mjs → useShippingAddresses-BvThNpez.mjs} +1 -1
- package/dist/{useSubscription-lIGMFLG1.mjs → useSubscription-Dzo-kBpQ.mjs} +2 -2
- package/dist/{useSubscriptionActions-BSlJVB4p.mjs → useSubscriptionActions-CWaNRoZ7.mjs} +1 -1
- package/dist/{wallets.es-eH2C2ygn.mjs → wallets.es-DRlUVd2R.mjs} +1 -1
- package/package.json +31 -8
- package/dist/Section.vue.es-CwKTCeZ1.mjs +0 -72
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-5tyDFxEh.mjs +0 -5183
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +0 -4
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as G, d as M, u as H } from "./useService-
|
|
2
|
-
import {
|
|
3
|
-
import { _ as z } from "
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { i as G, d as M, u as H } from "./useService-2aOFBTxU.mjs";
|
|
2
|
+
import { c as F, f as $, a as k } from "./formControl-C18sw44K.mjs";
|
|
3
|
+
import { inject as K, defineComponent as L, computed as m, openBlock as I, createBlock as E, unref as s, withCtx as h, createElementVNode as R, createVNode as v, createTextVNode as T, toDisplayString as _, watch as j, useModel as U, reactive as Z, createElementBlock as D, createCommentVNode as V, createSlots as X, normalizeClass as z, mergeModels as B } from "vue";
|
|
4
|
+
import { I as Y, a as S, d as N } from "./customElements-B8c354Nu.mjs";
|
|
5
|
+
import { _ as W } from "./Button.vue.es-CW7XfMBF.mjs";
|
|
6
|
+
import { _ as A } from "./Input.vue.es-Cd55vQri.mjs";
|
|
7
|
+
import { f as q, e as J } from "./useAddressFormats-CtE4QaVU.mjs";
|
|
8
|
+
import { _ as Q } from "./Alert.vue.es-DHJpiSdR.mjs";
|
|
9
|
+
import { c as ee } from "./customer-CP-Wz7JO.mjs";
|
|
10
10
|
import { _ as ae } from "./Toggle.vue.es-S2g8WGY_.mjs";
|
|
11
11
|
const C = (e) => G(e) && typeof e != "boolean" ? null : e, y = (e) => typeof e == "object" && e !== null, te = ({
|
|
12
12
|
from: e,
|
|
@@ -82,7 +82,199 @@ const C = (e) => G(e) && typeof e != "boolean" ? null : e, y = (e) => typeof e =
|
|
|
82
82
|
function w(e) {
|
|
83
83
|
return Object.keys(oe).includes(e);
|
|
84
84
|
}
|
|
85
|
-
const
|
|
85
|
+
const O = {
|
|
86
|
+
AT: {
|
|
87
|
+
regex: /^ATU\d{8}$/,
|
|
88
|
+
prefix: "AT",
|
|
89
|
+
example: "ATU12345678"
|
|
90
|
+
},
|
|
91
|
+
BE: {
|
|
92
|
+
regex: /^BE0?\d{9}$/,
|
|
93
|
+
prefix: "BE",
|
|
94
|
+
example: "BE0123456789"
|
|
95
|
+
},
|
|
96
|
+
BG: {
|
|
97
|
+
regex: /^BG\d{9,10}$/,
|
|
98
|
+
prefix: "BG",
|
|
99
|
+
example: "BG123456789"
|
|
100
|
+
},
|
|
101
|
+
HR: {
|
|
102
|
+
regex: /^HR\d{11}$/,
|
|
103
|
+
prefix: "HR",
|
|
104
|
+
example: "HR12345678901"
|
|
105
|
+
},
|
|
106
|
+
CY: {
|
|
107
|
+
regex: /^CY\d{8}[A-Z]$/,
|
|
108
|
+
prefix: "CY",
|
|
109
|
+
example: "CY12345678X"
|
|
110
|
+
},
|
|
111
|
+
CZ: {
|
|
112
|
+
regex: /^CZ\d{8,10}$/,
|
|
113
|
+
prefix: "CZ",
|
|
114
|
+
example: "CZ12345678"
|
|
115
|
+
},
|
|
116
|
+
DE: {
|
|
117
|
+
regex: /^DE\d{9}$/,
|
|
118
|
+
prefix: "DE",
|
|
119
|
+
example: "DE123456789"
|
|
120
|
+
},
|
|
121
|
+
DK: {
|
|
122
|
+
regex: /^DK\d{8}$/,
|
|
123
|
+
prefix: "DK",
|
|
124
|
+
example: "DK12345678"
|
|
125
|
+
},
|
|
126
|
+
EE: {
|
|
127
|
+
regex: /^EE\d{9}$/,
|
|
128
|
+
prefix: "EE",
|
|
129
|
+
example: "EE123456789"
|
|
130
|
+
},
|
|
131
|
+
GR: {
|
|
132
|
+
regex: /^(EL|GR)\d{9}$/,
|
|
133
|
+
prefix: "GR",
|
|
134
|
+
example: "GR123456789"
|
|
135
|
+
},
|
|
136
|
+
ES: {
|
|
137
|
+
regex: /^ES[A-Z0-9]\d{7}[A-Z0-9]$/,
|
|
138
|
+
prefix: "ES",
|
|
139
|
+
example: "ESX1234567X"
|
|
140
|
+
},
|
|
141
|
+
FI: {
|
|
142
|
+
regex: /^FI\d{8}$/,
|
|
143
|
+
prefix: "FI",
|
|
144
|
+
example: "FI12345678"
|
|
145
|
+
},
|
|
146
|
+
FR: {
|
|
147
|
+
regex: /^FR[0-9A-Z]{2}\d{9}$/,
|
|
148
|
+
prefix: "FR",
|
|
149
|
+
example: "FRXX123456789"
|
|
150
|
+
},
|
|
151
|
+
HU: {
|
|
152
|
+
regex: /^HU\d{8}$/,
|
|
153
|
+
prefix: "HU",
|
|
154
|
+
example: "HU12345678"
|
|
155
|
+
},
|
|
156
|
+
IE: {
|
|
157
|
+
regex: /^IE[0-9A-Z]{8,9}$/,
|
|
158
|
+
prefix: "IE",
|
|
159
|
+
example: "IE1234567A"
|
|
160
|
+
},
|
|
161
|
+
IS: {
|
|
162
|
+
regex: /^IS\d{5}$/,
|
|
163
|
+
prefix: "IS",
|
|
164
|
+
example: "IS12345"
|
|
165
|
+
},
|
|
166
|
+
IT: {
|
|
167
|
+
regex: /^IT\d{11}$/,
|
|
168
|
+
prefix: "IT",
|
|
169
|
+
example: "IT12345678901"
|
|
170
|
+
},
|
|
171
|
+
LT: {
|
|
172
|
+
regex: /^LT(\d{9}|\d{12})$/,
|
|
173
|
+
prefix: "LT",
|
|
174
|
+
example: "LT123456789 or LT123456789012"
|
|
175
|
+
},
|
|
176
|
+
LU: {
|
|
177
|
+
regex: /^LU\d{8}$/,
|
|
178
|
+
prefix: "LU",
|
|
179
|
+
example: "LU12345678"
|
|
180
|
+
},
|
|
181
|
+
LV: {
|
|
182
|
+
regex: /^LV\d{11}$/,
|
|
183
|
+
prefix: "LV",
|
|
184
|
+
example: "LV12345678901"
|
|
185
|
+
},
|
|
186
|
+
ME: {
|
|
187
|
+
regex: /^ME\d{9}$/,
|
|
188
|
+
prefix: "ME",
|
|
189
|
+
example: "ME123456789"
|
|
190
|
+
},
|
|
191
|
+
MT: {
|
|
192
|
+
regex: /^MT\d{8}$/,
|
|
193
|
+
prefix: "MT",
|
|
194
|
+
example: "MT12345678"
|
|
195
|
+
},
|
|
196
|
+
NL: {
|
|
197
|
+
regex: /^NL\d{9}B\d{2}$/,
|
|
198
|
+
prefix: "NL",
|
|
199
|
+
example: "NL123456789B01"
|
|
200
|
+
},
|
|
201
|
+
PL: {
|
|
202
|
+
regex: /^PL\d{10}$/,
|
|
203
|
+
prefix: "PL",
|
|
204
|
+
example: "PL1234567890"
|
|
205
|
+
},
|
|
206
|
+
PT: {
|
|
207
|
+
regex: /^PT\d{9}$/,
|
|
208
|
+
prefix: "PT",
|
|
209
|
+
example: "PT123456789"
|
|
210
|
+
},
|
|
211
|
+
RO: {
|
|
212
|
+
regex: /^RO\d{2,10}$/,
|
|
213
|
+
prefix: "RO",
|
|
214
|
+
example: "RO1234567890"
|
|
215
|
+
},
|
|
216
|
+
RU: {
|
|
217
|
+
regex: /^RU(\d{9}|\d{10}|\d{12})$/,
|
|
218
|
+
prefix: "RU",
|
|
219
|
+
example: "RU123456789 or RU1234567890 or RU123456789012"
|
|
220
|
+
},
|
|
221
|
+
SE: {
|
|
222
|
+
regex: /^SE\d{10}01$/,
|
|
223
|
+
prefix: "SE",
|
|
224
|
+
example: "SE123456789001"
|
|
225
|
+
},
|
|
226
|
+
SI: {
|
|
227
|
+
regex: /^SI\d{8}$/,
|
|
228
|
+
prefix: "SI",
|
|
229
|
+
example: "SI12345678"
|
|
230
|
+
},
|
|
231
|
+
SK: {
|
|
232
|
+
regex: /^SK\d{10}$/,
|
|
233
|
+
prefix: "SK",
|
|
234
|
+
example: "SK1234567890"
|
|
235
|
+
},
|
|
236
|
+
CH: {
|
|
237
|
+
regex: /^CHE\d{9}(MWST|TVA|IVA)?$/,
|
|
238
|
+
prefix: "CHE",
|
|
239
|
+
example: "CHE123456789MWST"
|
|
240
|
+
},
|
|
241
|
+
NO: {
|
|
242
|
+
regex: /^NO\d{9}MVA$/,
|
|
243
|
+
prefix: "NO",
|
|
244
|
+
example: "NO123456789MVA"
|
|
245
|
+
},
|
|
246
|
+
GB: {
|
|
247
|
+
regex: /^GB(\d{9}|\d{12}|GD\d{3}|HA\d{3})$/,
|
|
248
|
+
prefix: "GB",
|
|
249
|
+
example: "GB123456789"
|
|
250
|
+
},
|
|
251
|
+
XI: {
|
|
252
|
+
regex: /^XI(\d{9}|\d{12})$/,
|
|
253
|
+
prefix: "XI",
|
|
254
|
+
example: "XI123456789"
|
|
255
|
+
}
|
|
256
|
+
}, ne = (e) => !e || typeof e != "string" || e.trim() === "" ? !0 : Object.values(O).some((t) => t.regex.test(e)), se = ({ $model: e }) => {
|
|
257
|
+
if (!e || typeof e != "string" || e.trim() === "")
|
|
258
|
+
return "";
|
|
259
|
+
const t = K(Y, null);
|
|
260
|
+
if (!t)
|
|
261
|
+
return "Invalid tax ID";
|
|
262
|
+
const { formatMessage: a } = t, r = Object.values(O).find(
|
|
263
|
+
(o) => e.toUpperCase().startsWith(o.prefix.toUpperCase())
|
|
264
|
+
);
|
|
265
|
+
return r ? a(
|
|
266
|
+
{
|
|
267
|
+
defaultMessage: "Invalid tax ID format. Example: {example}",
|
|
268
|
+
id: "form_validation.tax_id.invalid_format",
|
|
269
|
+
description: "Error message when tax ID format is invalid but prefix matches"
|
|
270
|
+
},
|
|
271
|
+
{ example: r.example }
|
|
272
|
+
) : a({
|
|
273
|
+
defaultMessage: "Invalid tax ID",
|
|
274
|
+
id: "taxId.invalid",
|
|
275
|
+
description: "Error message when tax ID is invalid"
|
|
276
|
+
});
|
|
277
|
+
}, Te = F.withMessage(se, ne), le = { class: "flex items-center gap-2" }, ie = /* @__PURE__ */ L({
|
|
86
278
|
__name: "TaxIDCheckNotice",
|
|
87
279
|
props: {
|
|
88
280
|
status: { type: String }
|
|
@@ -119,12 +311,12 @@ const ne = { class: "flex items-center gap-2" }, se = /* @__PURE__ */ L({
|
|
|
119
311
|
});
|
|
120
312
|
}
|
|
121
313
|
});
|
|
122
|
-
return (c, l) => (I(), E(s(
|
|
314
|
+
return (c, l) => (I(), E(s(Q), {
|
|
123
315
|
type: r.value,
|
|
124
316
|
icon: !1
|
|
125
317
|
}, {
|
|
126
318
|
default: h(() => [
|
|
127
|
-
R("div",
|
|
319
|
+
R("div", le, [
|
|
128
320
|
v(s(N), { variant: "body-xs" }, {
|
|
129
321
|
default: h(() => [
|
|
130
322
|
T(_(o.value), 1)
|
|
@@ -137,8 +329,8 @@ const ne = { class: "flex items-center gap-2" }, se = /* @__PURE__ */ L({
|
|
|
137
329
|
}, 8, ["type"]));
|
|
138
330
|
}
|
|
139
331
|
});
|
|
140
|
-
function
|
|
141
|
-
const { checkTaxID: t } =
|
|
332
|
+
function ce(e) {
|
|
333
|
+
const { checkTaxID: t } = ee(), {
|
|
142
334
|
data: a,
|
|
143
335
|
error: r,
|
|
144
336
|
execute: o,
|
|
@@ -156,7 +348,7 @@ function le(e) {
|
|
|
156
348
|
var g;
|
|
157
349
|
return ((g = e.value.companyVatNumber) == null ? void 0 : g.trim()) ?? "";
|
|
158
350
|
}), i = m(() => e.value.companyLegalName ?? ""), f = m(() => e.value.country);
|
|
159
|
-
|
|
351
|
+
j([n, i, f], () => c([]));
|
|
160
352
|
const u = m(() => w(f.value ?? "")), p = m(
|
|
161
353
|
() => !!(n.value && i.value && f.value)
|
|
162
354
|
), b = m(() => u.value && n.value);
|
|
@@ -186,7 +378,7 @@ function le(e) {
|
|
|
186
378
|
isSelectedCountryEU: u
|
|
187
379
|
};
|
|
188
380
|
}
|
|
189
|
-
const
|
|
381
|
+
const de = { class: "flex flex-col gap-2" }, _e = /* @__PURE__ */ L({
|
|
190
382
|
__name: "CompanyDetailsFields",
|
|
191
383
|
props: /* @__PURE__ */ B({
|
|
192
384
|
errors: { type: Object },
|
|
@@ -199,14 +391,14 @@ const ie = { class: "flex flex-col gap-2" }, Te = /* @__PURE__ */ L({
|
|
|
199
391
|
}),
|
|
200
392
|
emits: ["update:modelValue"],
|
|
201
393
|
setup(e) {
|
|
202
|
-
const t = e, a = U(e, "modelValue"), { $t: r } = S(), o =
|
|
203
|
-
companyLegalName:
|
|
204
|
-
companyVatNumber:
|
|
205
|
-
}), l = m(() =>
|
|
394
|
+
const t = e, a = U(e, "modelValue"), { $t: r } = S(), o = q(), c = Z({
|
|
395
|
+
companyLegalName: $(a, "companyLegalName", k),
|
|
396
|
+
companyVatNumber: $(a, "companyVatNumber", k)
|
|
397
|
+
}), l = m(() => J(a.value)), { isTaxIDCheckEnabled: x, isTaxIDCheckPending: d, taxIdCheckStatus: n, runTaxIDCheck: i } = ce(a), f = m(
|
|
206
398
|
() => !x.value || d.value || !!t.isVatNumberInvalid
|
|
207
399
|
);
|
|
208
|
-
return (u, p) => (I(),
|
|
209
|
-
e.hidesLegalName ? V("", !0) : (I(), E(s(
|
|
400
|
+
return (u, p) => (I(), D("div", de, [
|
|
401
|
+
e.hidesLegalName ? V("", !0) : (I(), E(s(A), {
|
|
210
402
|
key: 0,
|
|
211
403
|
modelValue: c.companyLegalName,
|
|
212
404
|
"onUpdate:modelValue": p[0] || (p[0] = (b) => c.companyLegalName = b),
|
|
@@ -217,7 +409,7 @@ const ie = { class: "flex flex-col gap-2" }, Te = /* @__PURE__ */ L({
|
|
|
217
409
|
placeholder: s(o).legalNamePlaceholder,
|
|
218
410
|
error: e.errors.companyLegalName
|
|
219
411
|
}, null, 8, ["modelValue", "label", "placeholder", "error"])),
|
|
220
|
-
l.value && !e.hidesVatNumber ? (I(), E(s(
|
|
412
|
+
l.value && !e.hidesVatNumber ? (I(), E(s(A), {
|
|
221
413
|
key: 1,
|
|
222
414
|
modelValue: c.companyVatNumber,
|
|
223
415
|
"onUpdate:modelValue": p[1] || (p[1] = (b) => c.companyVatNumber = b),
|
|
@@ -228,11 +420,11 @@ const ie = { class: "flex flex-col gap-2" }, Te = /* @__PURE__ */ L({
|
|
|
228
420
|
placeholder: s(o).vatNumberPlaceholder,
|
|
229
421
|
error: e.errors.companyVatNumber,
|
|
230
422
|
"suffix-class": "px-2 border-l-0"
|
|
231
|
-
},
|
|
423
|
+
}, X({ _: 2 }, [
|
|
232
424
|
s(w)(a.value.country ?? "") ? {
|
|
233
425
|
name: "suffix",
|
|
234
426
|
fn: h(() => [
|
|
235
|
-
v(s(
|
|
427
|
+
v(s(W), {
|
|
236
428
|
type: "button",
|
|
237
429
|
size: "sm",
|
|
238
430
|
intent: "secondary",
|
|
@@ -252,15 +444,15 @@ const ie = { class: "flex flex-col gap-2" }, Te = /* @__PURE__ */ L({
|
|
|
252
444
|
key: "0"
|
|
253
445
|
} : void 0
|
|
254
446
|
]), 1032, ["modelValue", "label", "placeholder", "error"])) : V("", !0),
|
|
255
|
-
s(n) ? (I(),
|
|
447
|
+
s(n) ? (I(), D("div", {
|
|
256
448
|
key: 2,
|
|
257
|
-
class:
|
|
449
|
+
class: z({ "opacity-75": s(d) })
|
|
258
450
|
}, [
|
|
259
|
-
v(
|
|
451
|
+
v(ie, { status: s(n) }, null, 8, ["status"])
|
|
260
452
|
], 2)) : V("", !0)
|
|
261
453
|
]));
|
|
262
454
|
}
|
|
263
|
-
}),
|
|
455
|
+
}), ue = { class: "flex grow flex-col" }, Ve = /* @__PURE__ */ L({
|
|
264
456
|
__name: "CompanyPurchaseToggle",
|
|
265
457
|
props: /* @__PURE__ */ B({
|
|
266
458
|
noSpacing: { type: Boolean }
|
|
@@ -279,7 +471,7 @@ const ie = { class: "flex flex-col gap-2" }, Te = /* @__PURE__ */ L({
|
|
|
279
471
|
"label-position": "before"
|
|
280
472
|
}, {
|
|
281
473
|
"inline-label": h(() => [
|
|
282
|
-
R("div",
|
|
474
|
+
R("div", ue, [
|
|
283
475
|
v(s(N), { tag: "span" }, {
|
|
284
476
|
default: h(() => [
|
|
285
477
|
T(_(s(a)({
|
|
@@ -309,202 +501,10 @@ const ie = { class: "flex flex-col gap-2" }, Te = /* @__PURE__ */ L({
|
|
|
309
501
|
_: 1
|
|
310
502
|
}, 8, ["modelValue", "no-spacing"]));
|
|
311
503
|
}
|
|
312
|
-
})
|
|
313
|
-
AT: {
|
|
314
|
-
regex: /^ATU\d{8}$/,
|
|
315
|
-
prefix: "AT",
|
|
316
|
-
example: "ATU12345678"
|
|
317
|
-
},
|
|
318
|
-
BE: {
|
|
319
|
-
regex: /^BE0?\d{9}$/,
|
|
320
|
-
prefix: "BE",
|
|
321
|
-
example: "BE0123456789"
|
|
322
|
-
},
|
|
323
|
-
BG: {
|
|
324
|
-
regex: /^BG\d{9,10}$/,
|
|
325
|
-
prefix: "BG",
|
|
326
|
-
example: "BG123456789"
|
|
327
|
-
},
|
|
328
|
-
HR: {
|
|
329
|
-
regex: /^HR\d{11}$/,
|
|
330
|
-
prefix: "HR",
|
|
331
|
-
example: "HR12345678901"
|
|
332
|
-
},
|
|
333
|
-
CY: {
|
|
334
|
-
regex: /^CY\d{8}[A-Z]$/,
|
|
335
|
-
prefix: "CY",
|
|
336
|
-
example: "CY12345678X"
|
|
337
|
-
},
|
|
338
|
-
CZ: {
|
|
339
|
-
regex: /^CZ\d{8,10}$/,
|
|
340
|
-
prefix: "CZ",
|
|
341
|
-
example: "CZ12345678"
|
|
342
|
-
},
|
|
343
|
-
DE: {
|
|
344
|
-
regex: /^DE\d{9}$/,
|
|
345
|
-
prefix: "DE",
|
|
346
|
-
example: "DE123456789"
|
|
347
|
-
},
|
|
348
|
-
DK: {
|
|
349
|
-
regex: /^DK\d{8}$/,
|
|
350
|
-
prefix: "DK",
|
|
351
|
-
example: "DK12345678"
|
|
352
|
-
},
|
|
353
|
-
EE: {
|
|
354
|
-
regex: /^EE\d{9}$/,
|
|
355
|
-
prefix: "EE",
|
|
356
|
-
example: "EE123456789"
|
|
357
|
-
},
|
|
358
|
-
GR: {
|
|
359
|
-
regex: /^(EL|GR)\d{9}$/,
|
|
360
|
-
prefix: "GR",
|
|
361
|
-
example: "GR123456789"
|
|
362
|
-
},
|
|
363
|
-
ES: {
|
|
364
|
-
regex: /^ES[A-Z0-9]\d{7}[A-Z0-9]$/,
|
|
365
|
-
prefix: "ES",
|
|
366
|
-
example: "ESX1234567X"
|
|
367
|
-
},
|
|
368
|
-
FI: {
|
|
369
|
-
regex: /^FI\d{8}$/,
|
|
370
|
-
prefix: "FI",
|
|
371
|
-
example: "FI12345678"
|
|
372
|
-
},
|
|
373
|
-
FR: {
|
|
374
|
-
regex: /^FR[0-9A-Z]{2}\d{9}$/,
|
|
375
|
-
prefix: "FR",
|
|
376
|
-
example: "FRXX123456789"
|
|
377
|
-
},
|
|
378
|
-
HU: {
|
|
379
|
-
regex: /^HU\d{8}$/,
|
|
380
|
-
prefix: "HU",
|
|
381
|
-
example: "HU12345678"
|
|
382
|
-
},
|
|
383
|
-
IE: {
|
|
384
|
-
regex: /^IE[0-9A-Z]{8,9}$/,
|
|
385
|
-
prefix: "IE",
|
|
386
|
-
example: "IE1234567A"
|
|
387
|
-
},
|
|
388
|
-
IS: {
|
|
389
|
-
regex: /^IS\d{5}$/,
|
|
390
|
-
prefix: "IS",
|
|
391
|
-
example: "IS12345"
|
|
392
|
-
},
|
|
393
|
-
IT: {
|
|
394
|
-
regex: /^IT\d{11}$/,
|
|
395
|
-
prefix: "IT",
|
|
396
|
-
example: "IT12345678901"
|
|
397
|
-
},
|
|
398
|
-
LT: {
|
|
399
|
-
regex: /^LT(\d{9}|\d{12})$/,
|
|
400
|
-
prefix: "LT",
|
|
401
|
-
example: "LT123456789 or LT123456789012"
|
|
402
|
-
},
|
|
403
|
-
LU: {
|
|
404
|
-
regex: /^LU\d{8}$/,
|
|
405
|
-
prefix: "LU",
|
|
406
|
-
example: "LU12345678"
|
|
407
|
-
},
|
|
408
|
-
LV: {
|
|
409
|
-
regex: /^LV\d{11}$/,
|
|
410
|
-
prefix: "LV",
|
|
411
|
-
example: "LV12345678901"
|
|
412
|
-
},
|
|
413
|
-
ME: {
|
|
414
|
-
regex: /^ME\d{9}$/,
|
|
415
|
-
prefix: "ME",
|
|
416
|
-
example: "ME123456789"
|
|
417
|
-
},
|
|
418
|
-
MT: {
|
|
419
|
-
regex: /^MT\d{8}$/,
|
|
420
|
-
prefix: "MT",
|
|
421
|
-
example: "MT12345678"
|
|
422
|
-
},
|
|
423
|
-
NL: {
|
|
424
|
-
regex: /^NL\d{9}B\d{2}$/,
|
|
425
|
-
prefix: "NL",
|
|
426
|
-
example: "NL123456789B01"
|
|
427
|
-
},
|
|
428
|
-
PL: {
|
|
429
|
-
regex: /^PL\d{10}$/,
|
|
430
|
-
prefix: "PL",
|
|
431
|
-
example: "PL1234567890"
|
|
432
|
-
},
|
|
433
|
-
PT: {
|
|
434
|
-
regex: /^PT\d{9}$/,
|
|
435
|
-
prefix: "PT",
|
|
436
|
-
example: "PT123456789"
|
|
437
|
-
},
|
|
438
|
-
RO: {
|
|
439
|
-
regex: /^RO\d{2,10}$/,
|
|
440
|
-
prefix: "RO",
|
|
441
|
-
example: "RO1234567890"
|
|
442
|
-
},
|
|
443
|
-
RU: {
|
|
444
|
-
regex: /^RU(\d{9}|\d{10}|\d{12})$/,
|
|
445
|
-
prefix: "RU",
|
|
446
|
-
example: "RU123456789 or RU1234567890 or RU123456789012"
|
|
447
|
-
},
|
|
448
|
-
SE: {
|
|
449
|
-
regex: /^SE\d{10}01$/,
|
|
450
|
-
prefix: "SE",
|
|
451
|
-
example: "SE123456789001"
|
|
452
|
-
},
|
|
453
|
-
SI: {
|
|
454
|
-
regex: /^SI\d{8}$/,
|
|
455
|
-
prefix: "SI",
|
|
456
|
-
example: "SI12345678"
|
|
457
|
-
},
|
|
458
|
-
SK: {
|
|
459
|
-
regex: /^SK\d{10}$/,
|
|
460
|
-
prefix: "SK",
|
|
461
|
-
example: "SK1234567890"
|
|
462
|
-
},
|
|
463
|
-
CH: {
|
|
464
|
-
regex: /^CHE\d{9}(MWST|TVA|IVA)?$/,
|
|
465
|
-
prefix: "CHE",
|
|
466
|
-
example: "CHE123456789MWST"
|
|
467
|
-
},
|
|
468
|
-
NO: {
|
|
469
|
-
regex: /^NO\d{9}MVA$/,
|
|
470
|
-
prefix: "NO",
|
|
471
|
-
example: "NO123456789MVA"
|
|
472
|
-
},
|
|
473
|
-
GB: {
|
|
474
|
-
regex: /^GB(\d{9}|\d{12}|GD\d{3}|HA\d{3})$/,
|
|
475
|
-
prefix: "GB",
|
|
476
|
-
example: "GB123456789"
|
|
477
|
-
},
|
|
478
|
-
XI: {
|
|
479
|
-
regex: /^XI(\d{9}|\d{12})$/,
|
|
480
|
-
prefix: "XI",
|
|
481
|
-
example: "XI123456789"
|
|
482
|
-
}
|
|
483
|
-
}, de = (e) => !e || typeof e != "string" || e.trim() === "" ? !0 : Object.values(O).some((t) => t.regex.test(e)), ue = ({ $model: e }) => {
|
|
484
|
-
if (!e || typeof e != "string" || e.trim() === "")
|
|
485
|
-
return "";
|
|
486
|
-
const t = X(Y, null);
|
|
487
|
-
if (!t)
|
|
488
|
-
return "Invalid tax ID";
|
|
489
|
-
const { formatMessage: a } = t, r = Object.values(O).find(
|
|
490
|
-
(o) => e.toUpperCase().startsWith(o.prefix.toUpperCase())
|
|
491
|
-
);
|
|
492
|
-
return r ? a(
|
|
493
|
-
{
|
|
494
|
-
defaultMessage: "Invalid tax ID format. Example: {example}",
|
|
495
|
-
id: "form_validation.tax_id.invalid_format",
|
|
496
|
-
description: "Error message when tax ID format is invalid but prefix matches"
|
|
497
|
-
},
|
|
498
|
-
{ example: r.example }
|
|
499
|
-
) : a({
|
|
500
|
-
defaultMessage: "Invalid tax ID",
|
|
501
|
-
id: "taxId.invalid",
|
|
502
|
-
description: "Error message when tax ID is invalid"
|
|
503
|
-
});
|
|
504
|
-
}, Ve = ee.withMessage(ue, de);
|
|
504
|
+
});
|
|
505
505
|
export {
|
|
506
|
-
|
|
507
|
-
|
|
506
|
+
Ve as _,
|
|
507
|
+
_e as a,
|
|
508
508
|
Ee as o,
|
|
509
|
-
|
|
509
|
+
Te as t
|
|
510
510
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as F, defineComponent as N, computed as f, openBlock as o, createElementBlock as l, toDisplayString as s, Fragment as v, renderList as k, normalizeClass as h, createVNode as L, createTextVNode as C, createCommentVNode as m, createBlock as b, unref as T } from "vue";
|
|
2
2
|
import { a as w } from "./comparators.es-C8rHpb70.mjs";
|
|
3
|
-
import { a as B } from "./formatting.es-
|
|
3
|
+
import { a as B } from "./formatting.es-DlJEzreG.mjs";
|
|
4
4
|
const M = (a) => {
|
|
5
5
|
const r = (a == null ? void 0 : a.initialToggledItems) ?? [], g = (a == null ? void 0 : a.closeOthers) ?? !1, e = F(r ?? []), n = (t, y = !1) => {
|
|
6
6
|
const p = e.value.find((d) => d === t);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as y, openBlock as s, createBlock as b, resolveDynamicComponent as M, withCtx as r, renderSlot as m, createElementBlock as p, unref as i, withModifiers as L, normalizeClass as S, createCommentVNode as v, createSlots as q, normalizeProps as G, mergeProps as F, createVNode as h, createTextVNode as k, toDisplayString as C, Fragment as g, renderList as j, TransitionGroup as R, Comment as K, inject as W, onMounted as J, Teleport as T, ref as B, computed as P, createElementVNode as E, Transition as Q, normalizeStyle as U, useSlots as X } from "vue";
|
|
2
2
|
import { _ as z, u as Y } from "./useLazyFloating.es-CycqRyeb.mjs";
|
|
3
|
-
import { d as A, q as Z, D as N } from "./customElements-
|
|
4
|
-
import { a as _, _ as V } from "./Button.vue.es-
|
|
5
|
-
import { _ as ee } from "./DividerText.vue.es-
|
|
3
|
+
import { d as A, q as Z, D as N } from "./customElements-B8c354Nu.mjs";
|
|
4
|
+
import { a as _, _ as V } from "./Button.vue.es-CW7XfMBF.mjs";
|
|
5
|
+
import { _ as ee } from "./DividerText.vue.es-Dq0JzI8C.mjs";
|
|
6
6
|
import { _ as O } from "./Divider.vue.es-DnP_HqLz.mjs";
|
|
7
7
|
import { e as te, o as ne } from "./index.es-C7J3WGGo.mjs";
|
|
8
8
|
import { p as le } from "./object.es-8aLDIncs.mjs";
|
|
9
|
-
import { _ as oe } from "./Chip.vue.es-
|
|
9
|
+
import { _ as oe } from "./Chip.vue.es-CYwWHyAT.mjs";
|
|
10
10
|
const ae = /* @__PURE__ */ y({
|
|
11
11
|
__name: "FullClickableBlock",
|
|
12
12
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, computed as v, openBlock as c, createBlock as C, withCtx as i, createElementBlock as d, createVNode as o, createTextVNode as a, toDisplayString as r, unref as u, createCommentVNode as b, renderSlot as B } from "vue";
|
|
2
|
-
import { a as N, d as l } from "./customElements-
|
|
3
|
-
import { _ as S } from "./Section.vue.es-
|
|
2
|
+
import { a as N, d as l } from "./customElements-B8c354Nu.mjs";
|
|
3
|
+
import { _ as S } from "./Section.vue.es-DYmEtgBj.mjs";
|
|
4
4
|
import { g as k } from "./getCountryNameByCode.es-OGxn_zT0.mjs";
|
|
5
5
|
import { a as A } from "./customer.es-DQKl6wFt.mjs";
|
|
6
6
|
import { a as M } from "./typeGuards.es-B4XMtlkM.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as A, computed as p, openBlock as n, createBlock as i, unref as o, createSlots as P, withCtx as d, createElementBlock as y, Fragment as f, createVNode as x, toDisplayString as h, createCommentVNode as k, renderList as $, createTextVNode as c } from "vue";
|
|
2
|
-
import { _ as g } from "./Button.vue.es-
|
|
3
|
-
import { _ as M } from "./Section.vue.es-
|
|
4
|
-
import { a as V, d as _ } from "./customElements-
|
|
5
|
-
import { _ as N } from "./PaymentMethodsList.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as g } from "./Button.vue.es-CW7XfMBF.mjs";
|
|
3
|
+
import { _ as M } from "./Section.vue.es-DYmEtgBj.mjs";
|
|
4
|
+
import { a as V, d as _ } from "./customElements-B8c354Nu.mjs";
|
|
5
|
+
import { _ as N } from "./PaymentMethodsList.vue_vue_type_script_setup_true_lang-BXbevI3r.mjs";
|
|
6
6
|
import { _ as C } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
7
|
-
import { u as O } from "./useActionDispatchProvider-
|
|
7
|
+
import { u as O } from "./useActionDispatchProvider-BCtk-FGU.mjs";
|
|
8
8
|
import { r as L } from "./configuration-BytDBAWs.mjs";
|
|
9
9
|
const S = /* @__PURE__ */ A({
|
|
10
10
|
__name: "CustomerPaymentMethodsBlock",
|
package/dist/{CustomerShippingAddresses-C0c-4D2W.mjs → CustomerShippingAddresses-Bdy4XWjE.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as I, computed as k, openBlock as t, createElementBlock as S, createElementVNode as $, createBlock as a, unref as e, withCtx as l, createTextVNode as v, toDisplayString as f, createCommentVNode as _, Fragment as B, renderList as E, createVNode as N, defineAsyncComponent as O, watch as z, ref as w } from "vue";
|
|
2
|
-
import { _ as V } from "./Button.vue.es-
|
|
3
|
-
import { _ as F } from "./ErrorNotification.vue.es-
|
|
4
|
-
import { _ as T } from "./Section.vue.es-
|
|
5
|
-
import { a as C, d as A } from "./customElements-
|
|
6
|
-
import { _ as P } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as V } from "./Button.vue.es-CW7XfMBF.mjs";
|
|
3
|
+
import { _ as F } from "./ErrorNotification.vue.es-Cw7fqCg1.mjs";
|
|
4
|
+
import { _ as T } from "./Section.vue.es-DYmEtgBj.mjs";
|
|
5
|
+
import { a as C, d as A } from "./customElements-B8c354Nu.mjs";
|
|
6
|
+
import { _ as P } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-3gf8pvR7.mjs";
|
|
7
7
|
import { b as W } from "./customer.es-DQKl6wFt.mjs";
|
|
8
8
|
import { g as H } from "./getCountryNameByCode.es-OGxn_zT0.mjs";
|
|
9
|
-
import { _ as R } from "./Chip.vue.es-
|
|
10
|
-
import { _ as q } from "./ContextMenu.vue.es-
|
|
11
|
-
import { t as G, u as J } from "./useShippingAddresses-
|
|
9
|
+
import { _ as R } from "./Chip.vue.es-CYwWHyAT.mjs";
|
|
10
|
+
import { _ as q } from "./ContextMenu.vue.es-EXTx0NEt.mjs";
|
|
11
|
+
import { t as G, u as J } from "./useShippingAddresses-BvThNpez.mjs";
|
|
12
12
|
import { _ as L } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
13
13
|
const K = { class: "sv-shipping-address flex items-start gap-2" }, Q = { class: "sv-shipping-address__content grid grow grid-cols-1 gap-0.5" }, U = /* @__PURE__ */ I({
|
|
14
14
|
__name: "ShippingAddressCard",
|
|
@@ -156,7 +156,7 @@ const Z = { class: "grid grid-cols-1 gap-2" }, ee = 3, se = /* @__PURE__ */ I({
|
|
|
156
156
|
},
|
|
157
157
|
setup(s) {
|
|
158
158
|
const c = O(
|
|
159
|
-
() => import("./ShippingAddressesModal-
|
|
159
|
+
() => import("./ShippingAddressesModal-Gxv2KxaW.mjs")
|
|
160
160
|
), p = s, { $t: n } = C(), d = k(() => {
|
|
161
161
|
var o;
|
|
162
162
|
return p.customerId ?? ((o = p.customer) == null ? void 0 : o.id);
|