@solvimon/solvimon-web 0.1.0-alpha.28 → 0.1.0-alpha.29
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/README.md +26 -1
- package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
- package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
- package/dist/{Avatar.vue.es-Beg7umjO.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +8 -8
- package/dist/{Button.vue.es-rh6mITmN.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
- package/dist/{ChargeOnDemandModal-CPjPa_uq.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +35 -34
- package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
- package/dist/{Chip.vue.es-Cn2R_0mE.mjs → Chip.vue.es-D3UDSyXC.mjs} +3 -3
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/{ContextMenu.vue.es-DRxsa7bZ.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
- package/dist/{CustomerBillingInformation.vue.es-DQfL5RMR.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +21 -20
- package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs} +798 -792
- package/dist/{DividerText.vue.es-M0XqSz55.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
- package/dist/{ErrorNotification.vue.es-CKlt4hr2.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
- package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
- package/dist/{IconButton.vue.es-oe4MVBK1.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
- package/dist/{IconTitle.vue.es-BO6KBS4v.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
- package/dist/{Input.vue.es-DAlPmtE_.mjs → Input.vue.es-D8Oj8MWv.mjs} +23 -22
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs} +4 -4
- package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
- package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
- package/dist/{Modal.vue.es-CTNACAst.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +46 -88
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-BmA8jbMb.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-D1Xw-xIt.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs} +68 -69
- package/dist/{PaymentIntegrationFormAdyen-CfT5aD4L.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +126 -117
- package/dist/{PaymentIntegrationFormStripe-DKXJ-mjd.mjs → PaymentIntegrationFormStripe-BYdAkvLt.mjs} +193 -179
- package/dist/{PaymentMethod.vue.es-Cauxx4Xr.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
- package/dist/{PaymentMethodForm-CypZOYUZ.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +7 -7
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs} +36 -35
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +7 -7
- package/dist/{PlanCustomizationEditor-Xtww2r9K.mjs → PlanCustomizationEditor-D29N4HUM.mjs} +9 -9
- package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
- package/dist/{PortalNotAvailable-B_59GUwN.mjs → PortalNotAvailable-DPE9y37H.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-C9LJW3b8.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +32 -32
- package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
- package/dist/{Section.vue.es-iS8hVGWA.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
- package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
- package/dist/{StepInput.vue.es-Dpan1RQd.mjs → StepInput.vue.es-DweyzpkL.mjs} +4 -4
- package/dist/{SubscriptionDetails.entry.ce-DufQX3uI.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +230 -225
- package/dist/{SubscriptionSchedules-DAahcNoI.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs} +3 -3
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +23 -22
- package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
- package/dist/{TrialChip.vue.es-B-XBSHWE.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
- package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
- package/dist/{cn.es-2bVdkiFV.mjs → cn.es-B8acFrov.mjs} +380 -476
- package/dist/components/BillingInformation/BillingInformation.mjs +9 -7
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +57 -54
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -18
- package/dist/components/Invoice/Invoice.mjs +2660 -193
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +6 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +18 -17
- package/dist/components/InvoicesList/InvoicesList.mjs +13 -11
- package/dist/components/PaymentHistory/PaymentHistory.mjs +8 -6
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +19 -17
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +19 -17
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +20 -18
- package/dist/components/WalletBalances/WalletBalances.mjs +17 -15
- package/dist/customElements-BTj4ii4f.mjs +5072 -0
- package/dist/{customer-CqddTiOr.mjs → customer-BIjC0CWJ.mjs} +1 -1
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/{de-DE-BW8dMvhW.mjs → de-DE-DBbERiFr.mjs} +38 -0
- package/dist/{de-DE-BNMj3boy.mjs → de-DE-UJ6X6jXu.mjs} +1 -1
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/{formControl-CsITfsBk.mjs → formControl-BZQLHnOO.mjs} +5 -5
- package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
- package/dist/fr-FR-IWJE-urI.mjs +431 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.es-CpmQmvOg.mjs +633 -0
- package/dist/index.mjs +2 -2
- package/dist/{invoices-Cf1qDAv4.mjs → invoices-e1sKLgxg.mjs} +3 -3
- package/dist/{it-IT-Byg06KWc.mjs → it-IT-B7ui2oxO.mjs} +38 -0
- package/dist/{it-IT-DRvuxM1F.mjs → it-IT-DnJP5URH.mjs} +1 -1
- package/dist/{nl-NL-x3zQqzZ7.mjs → nl-NL-Bafh2xoT.mjs} +38 -0
- package/dist/{nl-NL-DLUwWbMG.mjs → nl-NL-q9xfTZF0.mjs} +1 -1
- package/dist/{paymentMethods-BUuOmDq9.mjs → paymentMethods-B_82JGk_.mjs} +2 -2
- package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
- package/dist/{paymentOutcome-D17VD4MV.mjs → paymentOutcome-BXEU5-84.mjs} +5 -5
- package/dist/payments-BnxbzQUC.mjs +68 -0
- package/dist/pricing-BOhvWWMj.mjs +29 -0
- package/dist/{pricingPlanScheduleOverrides-COr9F8DO.mjs → pricingPlanScheduleOverrides-Dxv5FOBd.mjs} +2 -2
- package/dist/{pricingPlanSchedules-BK_o9p6h.mjs → pricingPlanSchedules-Dv7ZCgNp.mjs} +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +128 -83
- package/dist/screens/PayInvoice/PayInvoice.mjs +572 -218
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +21 -19
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +261 -266
- package/dist/{sorting.es-qtEN8J8T.mjs → sorting.es-CVyKw23D.mjs} +1 -1
- package/dist/subscriptions-BWXZGK0E.mjs +66 -0
- package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -0
- package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
- package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +11 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +4 -1
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +23 -1
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.types.d.ts +1 -1
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -1
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +2 -0
- package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- package/dist/types/public/core/types.d.ts +5 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +3 -1
- package/dist/types/translations/supported.d.ts +1 -1
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/shippingAddress.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- package/dist/{useActionDispatchProvider-DC_fUykI.mjs → useActionDispatchProvider-3W2vEyIg.mjs} +1 -1
- package/dist/{useCustomer-C3kTh7wn.mjs → useCustomer-cObBvDOu.mjs} +2 -2
- package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
- package/dist/{useIncrementalLoading-C_sHmW7d.mjs → useIncrementalLoading-CATuO36d.mjs} +2 -2
- package/dist/{useInvoiceData-BIh8-h8b.mjs → useInvoiceData-DD44HTl7.mjs} +2 -2
- package/dist/{useInvoicesList-Y6p0Pqpy.mjs → useInvoicesList-CpB-41MQ.mjs} +10 -10
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
- package/dist/{usePaymentFormHold-FfNc578l.mjs → usePaymentFormHold-ByUZi3A-.mjs} +28 -36
- package/dist/{usePaymentMethodAvailability-CnYTvG15.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +4 -4
- package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
- package/dist/{usePayments-CykCZPG2.mjs → usePayments-BXABv-lF.mjs} +9 -9
- package/dist/{usePortal-CxzKGhbK.mjs → usePortal-CwR_FxTb.mjs} +1 -1
- package/dist/{useService-B0OQJmif.mjs → useService-BZcbUZHI.mjs} +3 -3
- package/dist/{useTimePeriod.es-JkXdHNWr.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
- package/package.json +7 -7
- package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +0 -50
- package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +0 -5279
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +0 -362
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
- package/dist/InvoiceSummary.vue.es-DbNoGfYN.mjs +0 -2596
- package/dist/RadioGroupExtended.vue.es-UtKsdmiv.mjs +0 -163
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs +0 -688
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs +0 -5221
- package/dist/TooltipParagraph.vue.es-BjCn2BF6.mjs +0 -129
- package/dist/customElements-Di3zwlEU.mjs +0 -6447
- package/dist/customer.es-B5ppZf0j.mjs +0 -20
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
- package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
- package/dist/payments-Ci8bF4C6.mjs +0 -45
- package/dist/subscriptions-CwogJODR.mjs +0 -54
- package/dist/useCustomerFormLabels-CK7K50nB.mjs +0 -1369
- package/dist/useLoadInitialData-4k_Cyqef.mjs +0 -15
- package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +0 -40
- package/dist/usePaymentMethods-gvr-rmwE.mjs +0 -15
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as p, computed as M, openBlock as o, createElementBlock as I, createElementVNode as g, normalizeClass as N, createCommentVNode as h, renderSlot as B, createVNode as s, createBlock as u, withCtx as m, createTextVNode as f, toDisplayString as y, unref as v, shallowRef as
|
|
2
|
-
import { _ as R } from "./FormMessage.vue.es-
|
|
3
|
-
import { a as O } from "./ContextMenu.vue.es-
|
|
4
|
-
import { a as D,
|
|
5
|
-
import { _ as T } from "./Chip.vue.es-
|
|
1
|
+
import { defineComponent as p, computed as M, openBlock as o, createElementBlock as I, createElementVNode as g, normalizeClass as N, createCommentVNode as h, renderSlot as B, createVNode as s, createBlock as u, withCtx as m, createTextVNode as f, toDisplayString as y, unref as v, shallowRef as S, watch as _, toValue as $, Fragment as L, mergeProps as C } from "vue";
|
|
2
|
+
import { _ as R } from "./FormMessage.vue.es-Cjv358Ab.mjs";
|
|
3
|
+
import { a as O } from "./ContextMenu.vue.es-B9mFpUQK.mjs";
|
|
4
|
+
import { a as D, d as A } from "./customElements-BTj4ii4f.mjs";
|
|
5
|
+
import { _ as T } from "./Chip.vue.es-D3UDSyXC.mjs";
|
|
6
6
|
const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23f5f7f8'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='a'%20width='28'%20height='28'%20x='6'%20y='6'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M6%206h28v28H6z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='M11.8%2028a2%202%200%200%201-1.3-.6%202%202%200%200%201-.6-1.4V14q0-.8.6-1.4a2%202%200%200%201%201.3-.6h16.4q.8%200%201.3.6t.6%201.4v12q0%20.8-.6%201.4a2%202%200%200%201-1.3.6zm-.3-8.4h17v-3.4h-17z'/%3e%3c/g%3e%3c/svg%3e", V = { class: "shrink-0" }, Y = { class: "flex items-center justify-center overflow-clip rounded" }, z = ["src", "alt", "width", "height"], G = { class: "grow" }, H = { key: 0 }, U = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "pt-3"
|
|
@@ -112,8 +112,8 @@ const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20widt
|
|
|
112
112
|
)
|
|
113
113
|
}
|
|
114
114
|
}, x = (t) => {
|
|
115
|
-
const e =
|
|
116
|
-
return
|
|
115
|
+
const e = S();
|
|
116
|
+
return _(
|
|
117
117
|
() => $(t),
|
|
118
118
|
(n, r, a) => {
|
|
119
119
|
if (e.value = void 0, !n)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as F, ref as v, computed as i, openBlock as m, createBlock as r, unref as a, withCtx as f, createElementVNode as $, normalizeClass as V, createVNode as Z, mergeProps as q, createTextVNode as _, toDisplayString as b, createCommentVNode as w } from "vue";
|
|
2
|
-
import { g as H, a as K } from "./customer.es-
|
|
3
|
-
import { _ as g } from "./Button.vue.es-
|
|
4
|
-
import { _ as D } from "./Section.vue.es-
|
|
5
|
-
import { a as j } from "./customElements-
|
|
2
|
+
import { g as H, a as K } from "./customer.es-DQKl6wFt.mjs";
|
|
3
|
+
import { _ as g } from "./Button.vue.es-Zw--kuaU.mjs";
|
|
4
|
+
import { _ as D } from "./Section.vue.es-CvX9tg2f.mjs";
|
|
5
|
+
import { a as j } from "./customElements-BTj4ii4f.mjs";
|
|
6
6
|
import { _ as z } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
7
|
-
import { _ as Y } from "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as G, _ as J } from "./usePaymentMethodAvailability-
|
|
9
|
-
import { u as Q, s as W } from "./usePaymentFormHold-
|
|
7
|
+
import { _ as Y } from "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs";
|
|
8
|
+
import { u as G, _ as J } from "./usePaymentMethodAvailability-DUdrs0Ji.mjs";
|
|
9
|
+
import { u as Q, s as W } from "./usePaymentFormHold-ByUZi3A-.mjs";
|
|
10
10
|
const X = "NL", le = /* @__PURE__ */ F({
|
|
11
11
|
__name: "PaymentMethodForm",
|
|
12
12
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { computed as _, defineComponent as B, toRef as V, openBlock as
|
|
2
|
-
import { _ as E } from "./PaymentMethod.vue.es-
|
|
3
|
-
import { _ as I } from "./Button.vue.es-
|
|
4
|
-
import { _ as S } from "./FormMessage.vue.es-
|
|
5
|
-
import { _ as $ } from "./RadioGroupExtended.vue.es-
|
|
6
|
-
import { a as
|
|
1
|
+
import { computed as _, defineComponent as B, toRef as V, openBlock as r, createElementBlock as k, createBlock as u, withCtx as p, createTextVNode as v, toDisplayString as b, unref as o, Fragment as N, createElementVNode as A, createVNode as O, createCommentVNode as g } from "vue";
|
|
2
|
+
import { _ as E } from "./PaymentMethod.vue.es-b0p3a0L-.mjs";
|
|
3
|
+
import { _ as I } from "./Button.vue.es-Zw--kuaU.mjs";
|
|
4
|
+
import { _ as S } from "./FormMessage.vue.es-Cjv358Ab.mjs";
|
|
5
|
+
import { _ as $ } from "./RadioGroupExtended.vue.es-3nDXqIGi.mjs";
|
|
6
|
+
import { a as P, d as T } from "./customElements-BTj4ii4f.mjs";
|
|
7
7
|
import { a as m } from "./formatting.es-RclXHhKo.mjs";
|
|
8
|
-
import { _ as
|
|
9
|
-
function
|
|
10
|
-
var t,
|
|
8
|
+
import { _ as x } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs";
|
|
9
|
+
function C(e) {
|
|
10
|
+
var t, s, y, h, c, d;
|
|
11
11
|
const a = [];
|
|
12
12
|
switch (e.type) {
|
|
13
13
|
case "CARD":
|
|
@@ -19,7 +19,7 @@ function L(e) {
|
|
|
19
19
|
case "ONLINE_BANKING":
|
|
20
20
|
a.push(
|
|
21
21
|
((t = e.online_banking) == null ? void 0 : t.variant) && m(e.online_banking.variant),
|
|
22
|
-
(
|
|
22
|
+
(s = e.online_banking) == null ? void 0 : s.owner_name
|
|
23
23
|
);
|
|
24
24
|
break;
|
|
25
25
|
case "DIRECT_DEBIT":
|
|
@@ -35,17 +35,17 @@ function L(e) {
|
|
|
35
35
|
break;
|
|
36
36
|
case "DIGITAL_WALLET":
|
|
37
37
|
a.push(
|
|
38
|
-
((
|
|
38
|
+
((d = e.digital_wallet) == null ? void 0 : d.variant) && m(e.digital_wallet.variant)
|
|
39
39
|
);
|
|
40
40
|
break;
|
|
41
41
|
}
|
|
42
42
|
return a.filter(Boolean).join(" ") || m(e.type);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function L(e) {
|
|
45
45
|
const a = _(
|
|
46
46
|
() => e.value.map((t) => ({
|
|
47
47
|
value: t.id,
|
|
48
|
-
label:
|
|
48
|
+
label: C(t)
|
|
49
49
|
}))
|
|
50
50
|
), n = _(
|
|
51
51
|
() => Object.fromEntries(
|
|
@@ -68,35 +68,35 @@ const D = { class: "sv-payment-method-selector grid grid-cols-1 gap-2" }, q = {
|
|
|
68
68
|
},
|
|
69
69
|
emits: ["update:modelValue", "add-payment-method"],
|
|
70
70
|
setup(e, { emit: a }) {
|
|
71
|
-
const n = e, t = a, { $t:
|
|
71
|
+
const n = e, t = a, { $t: s } = P(), { options: y, paymentMethodsById: h } = L(
|
|
72
72
|
V(n, "paymentMethods")
|
|
73
73
|
), c = _({
|
|
74
74
|
get: () => n.modelValue,
|
|
75
|
-
set: (
|
|
76
|
-
}),
|
|
77
|
-
var
|
|
78
|
-
return ((
|
|
75
|
+
set: (i) => t("update:modelValue", typeof i == "string" ? i : void 0)
|
|
76
|
+
}), d = _(() => n.paymentMethods.length > 0), w = _(() => {
|
|
77
|
+
var i;
|
|
78
|
+
return ((i = n.paymentMethodOptions) == null ? void 0 : i.length) !== 0;
|
|
79
79
|
});
|
|
80
|
-
return (
|
|
81
|
-
!
|
|
80
|
+
return (i, f) => (r(), k("div", D, [
|
|
81
|
+
!d.value && !w.value ? (r(), u(x, {
|
|
82
82
|
key: 0,
|
|
83
83
|
class: "sv-payment-method-selector__empty",
|
|
84
84
|
icon: "credit_card_off"
|
|
85
85
|
}, {
|
|
86
86
|
title: p(() => [
|
|
87
|
-
v(
|
|
87
|
+
v(b(o(s)({
|
|
88
88
|
defaultMessage: "No payment methods available",
|
|
89
89
|
description: "Shown in place of the payment method choice when the customer has nothing stored and nothing can be added",
|
|
90
90
|
id: "payment_method_selector.empty_state.title"
|
|
91
91
|
})), 1)
|
|
92
92
|
]),
|
|
93
93
|
_: 1
|
|
94
|
-
})) : (
|
|
94
|
+
})) : (r(), k(N, { key: 1 }, [
|
|
95
95
|
A("div", null, [
|
|
96
|
-
|
|
96
|
+
d.value ? (r(), u(o($), {
|
|
97
97
|
key: 0,
|
|
98
98
|
modelValue: c.value,
|
|
99
|
-
"onUpdate:modelValue":
|
|
99
|
+
"onUpdate:modelValue": f[0] || (f[0] = (l) => c.value = l),
|
|
100
100
|
class: "sv-payment-method-selector__options",
|
|
101
101
|
name: "payment-method",
|
|
102
102
|
direction: "column",
|
|
@@ -107,19 +107,19 @@ const D = { class: "sv-payment-method-selector grid grid-cols-1 gap-2" }, q = {
|
|
|
107
107
|
error: e.error,
|
|
108
108
|
"show-radio": !1
|
|
109
109
|
}, {
|
|
110
|
-
prefix: p(({ optionValue:
|
|
110
|
+
prefix: p(({ optionValue: l }) => [
|
|
111
111
|
O(o(E), {
|
|
112
112
|
class: "sv-payment-method-selector__option-content grow",
|
|
113
|
-
"payment-method": o(h)[String(
|
|
113
|
+
"payment-method": o(h)[String(l)]
|
|
114
114
|
}, null, 8, ["payment-method"])
|
|
115
115
|
]),
|
|
116
|
-
label: p(({ option:
|
|
117
|
-
A("span", q,
|
|
116
|
+
label: p(({ option: l }) => [
|
|
117
|
+
A("span", q, b(l.label), 1)
|
|
118
118
|
]),
|
|
119
119
|
_: 1
|
|
120
120
|
}, 8, ["modelValue", "options", "label", "required", "disabled", "error"])) : g("", !0)
|
|
121
121
|
]),
|
|
122
|
-
e.showAddOption && w.value ? (
|
|
122
|
+
e.showAddOption && w.value ? (r(), u(o(I), {
|
|
123
123
|
key: 0,
|
|
124
124
|
class: "sv-action sv-action--secondary sv-action--full-width sv-payment-method-selector__add w-full",
|
|
125
125
|
intent: "secondary",
|
|
@@ -127,17 +127,17 @@ const D = { class: "sv-payment-method-selector grid grid-cols-1 gap-2" }, q = {
|
|
|
127
127
|
type: "button",
|
|
128
128
|
size: "sm",
|
|
129
129
|
disabled: e.disabled,
|
|
130
|
-
onClick:
|
|
130
|
+
onClick: f[1] || (f[1] = (l) => t("add-payment-method"))
|
|
131
131
|
}, {
|
|
132
132
|
default: p(() => [
|
|
133
|
-
v(
|
|
133
|
+
v(b(o(s)({
|
|
134
134
|
defaultMessage: "Add payment method",
|
|
135
135
|
description: "Label of the button that adds a new payment method",
|
|
136
136
|
id: "payment_method_selector.add_payment_method"
|
|
137
137
|
})), 1)
|
|
138
138
|
]),
|
|
139
139
|
_: 1
|
|
140
|
-
}, 8, ["disabled"])) : e.showAddOption ? (
|
|
140
|
+
}, 8, ["disabled"])) : e.showAddOption ? (r(), u(o(T), {
|
|
141
141
|
key: 1,
|
|
142
142
|
variant: "body-sm",
|
|
143
143
|
color: "subtle",
|
|
@@ -145,7 +145,7 @@ const D = { class: "sv-payment-method-selector grid grid-cols-1 gap-2" }, q = {
|
|
|
145
145
|
class: "sv-payment-method-selector__unavailable"
|
|
146
146
|
}, {
|
|
147
147
|
default: p(() => [
|
|
148
|
-
v(
|
|
148
|
+
v(b(o(s)({
|
|
149
149
|
defaultMessage: "There are no available payment methods. Please contact support for more information.",
|
|
150
150
|
description: "Shown in place of the add button when the customer cannot add any payment method",
|
|
151
151
|
id: "payment_method_selector.no_payment_methods_available"
|
|
@@ -153,7 +153,7 @@ const D = { class: "sv-payment-method-selector grid grid-cols-1 gap-2" }, q = {
|
|
|
153
153
|
]),
|
|
154
154
|
_: 1
|
|
155
155
|
})) : g("", !0),
|
|
156
|
-
e.error && !
|
|
156
|
+
e.error && !d.value ? (r(), u(o(S), {
|
|
157
157
|
key: 2,
|
|
158
158
|
class: "sv-payment-method-selector__error",
|
|
159
159
|
message: e.error,
|
|
@@ -164,5 +164,6 @@ const D = { class: "sv-payment-method-selector grid grid-cols-1 gap-2" }, q = {
|
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
export {
|
|
167
|
-
K as _
|
|
167
|
+
K as _,
|
|
168
|
+
C as g
|
|
168
169
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as P, ref as S, openBlock as d, createElementBlock as h, Fragment as _, renderList as E, createBlock as f, unref as e, withCtx as c, createVNode as m, createCommentVNode as y, createSlots as $, createElementVNode as v, createTextVNode as A, toDisplayString as I } from "vue";
|
|
2
|
-
import { _ as g } from "./PaymentMethod.vue.es-
|
|
3
|
-
import { _ as N } from "./ErrorNotification.vue.es-
|
|
4
|
-
import { _ as x } from "./Section.vue.es-
|
|
5
|
-
import { a as C,
|
|
6
|
-
import { M as q } from "./Modal.vue.es-
|
|
7
|
-
import { u as M } from "./useService-
|
|
8
|
-
import { c as B } from "./paymentMethods-
|
|
2
|
+
import { _ as g } from "./PaymentMethod.vue.es-b0p3a0L-.mjs";
|
|
3
|
+
import { _ as N } from "./ErrorNotification.vue.es-DNd65mQq.mjs";
|
|
4
|
+
import { _ as x } from "./Section.vue.es-CvX9tg2f.mjs";
|
|
5
|
+
import { a as C, d as V } from "./customElements-BTj4ii4f.mjs";
|
|
6
|
+
import { M as q } from "./Modal.vue.es-C8ZcO117.mjs";
|
|
7
|
+
import { u as M } from "./useService-BZcbUZHI.mjs";
|
|
8
|
+
import { c as B } from "./paymentMethods-B_82JGk_.mjs";
|
|
9
9
|
function R({
|
|
10
10
|
onSetDefault: s,
|
|
11
11
|
onDeleteRequest: l
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as T, computed as h, openBlock as s, createElementBlock as _, createVNode as b, unref as i, withCtx as g, Fragment as P, createTextVNode as v, toDisplayString as y, renderList as N, createBlock as f, useModel as $, ref as X, createElementVNode as V, normalizeClass as U, createCommentVNode as k, mergeModels as w, toRef as E } from "vue";
|
|
2
|
-
import { _ as A } from "./Section.vue.es-
|
|
3
|
-
import { a as S,
|
|
4
|
-
import { u as I } from "./useTimePeriod.es-
|
|
2
|
+
import { _ as A } from "./Section.vue.es-CvX9tg2f.mjs";
|
|
3
|
+
import { a as S, d as x } from "./customElements-BTj4ii4f.mjs";
|
|
4
|
+
import { u as I } from "./useTimePeriod.es-BpdiVwg8.mjs";
|
|
5
5
|
import { f as z } from "./formatting.es-RclXHhKo.mjs";
|
|
6
6
|
import { _ as H } from "./Expand.vue.es-BleuAfDz.mjs";
|
|
7
|
-
import { a as J, _ as j } from "./Button.vue.es-
|
|
8
|
-
import { _ as D } from "./StepInput.vue.es-
|
|
9
|
-
import { g as Q, F as q, _ as L } from "./Checkout.entry.ce-
|
|
10
|
-
import { a as O, u as R, _ as W } from "./PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as Z } from "./SubscriptionSummary.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { g as Y,
|
|
7
|
+
import { a as J, _ as j } from "./Button.vue.es-Zw--kuaU.mjs";
|
|
8
|
+
import { _ as D } from "./StepInput.vue.es-DweyzpkL.mjs";
|
|
9
|
+
import { g as Q, F as q, _ as L } from "./Checkout.entry.ce-DsGl-5aR.mjs";
|
|
10
|
+
import { a as O, u as R, _ as W } from "./PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs";
|
|
11
|
+
import { _ as Z } from "./SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs";
|
|
12
|
+
import { g as Y, a as G } from "./pricing-BOhvWWMj.mjs";
|
|
13
13
|
import { g as ee } from "./pricingPlanSchedule-BPrS2WRd.mjs";
|
|
14
14
|
import { b as ie } from "./subscription-BhxoqwcT.mjs";
|
|
15
15
|
const te = { class: "grid grid-cols-2 gap-2" }, ne = /* @__PURE__ */ T({
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineComponent as s, openBlock as l, createBlock as c, withCtx as e, createVNode as d, unref as t, createTextVNode as n, toDisplayString as r } from "vue";
|
|
2
|
+
import { _ as p } from "./Button.vue.es-Zw--kuaU.mjs";
|
|
3
|
+
import { a as f } from "./customElements-BTj4ii4f.mjs";
|
|
4
|
+
import { _ as u } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs";
|
|
5
|
+
const g = /* @__PURE__ */ s({
|
|
6
|
+
__name: "PortalLinkUnverified",
|
|
7
|
+
emits: ["retry"],
|
|
8
|
+
setup(m) {
|
|
9
|
+
const { $t: o } = f();
|
|
10
|
+
return (a, i) => (l(), c(u, {
|
|
11
|
+
class: "sv-root sv-component sv-portal-unverified sv-error",
|
|
12
|
+
icon: "error"
|
|
13
|
+
}, {
|
|
14
|
+
title: e(() => [
|
|
15
|
+
n(r(t(o)({
|
|
16
|
+
defaultMessage: "We could not open this page",
|
|
17
|
+
id: "portal.unverified.title",
|
|
18
|
+
description: "Shown in place of an element when its portal link could not be checked for now"
|
|
19
|
+
})), 1)
|
|
20
|
+
]),
|
|
21
|
+
message: e(() => [
|
|
22
|
+
n(r(t(o)({
|
|
23
|
+
defaultMessage: "Check your connection and try again.",
|
|
24
|
+
id: "portal.unverified.message",
|
|
25
|
+
description: "Shown below the notice that the portal link could not be checked"
|
|
26
|
+
})), 1)
|
|
27
|
+
]),
|
|
28
|
+
action: e(() => [
|
|
29
|
+
d(t(p), {
|
|
30
|
+
type: "button",
|
|
31
|
+
intent: "secondary",
|
|
32
|
+
size: "sm",
|
|
33
|
+
class: "sv-action sv-action--secondary sv-portal-unverified__retry",
|
|
34
|
+
onClick: i[0] || (i[0] = (_) => a.$emit("retry"))
|
|
35
|
+
}, {
|
|
36
|
+
default: e(() => [
|
|
37
|
+
n(r(t(o)({
|
|
38
|
+
defaultMessage: "Try again",
|
|
39
|
+
id: "portal.unverified.retry_button.label",
|
|
40
|
+
description: "The label of the button that checks the portal link again"
|
|
41
|
+
})), 1)
|
|
42
|
+
]),
|
|
43
|
+
_: 1
|
|
44
|
+
})
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
}));
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
export {
|
|
51
|
+
g as default
|
|
52
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as a, createBlock as n, unref as e } from "vue";
|
|
2
|
-
import { _ as i } from "./ErrorNotification.vue.es-
|
|
3
|
-
import { a as l } from "./customElements-
|
|
2
|
+
import { _ as i } from "./ErrorNotification.vue.es-DNd65mQq.mjs";
|
|
3
|
+
import { a as l } from "./customElements-BTj4ii4f.mjs";
|
|
4
4
|
const _ = /* @__PURE__ */ o({
|
|
5
5
|
__name: "PortalNotAvailable",
|
|
6
6
|
setup(s) {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { u as te } from "./useTimePeriod.es-
|
|
2
|
-
import { a as ae,
|
|
3
|
-
import {
|
|
1
|
+
import { u as te } from "./useTimePeriod.es-BpdiVwg8.mjs";
|
|
2
|
+
import { a as ae, d as oe } from "./customElements-BTj4ii4f.mjs";
|
|
3
|
+
import { a as le, i as Q } from "./useService-BZcbUZHI.mjs";
|
|
4
4
|
import { f as $ } from "./formatting.es-RclXHhKo.mjs";
|
|
5
5
|
import { computed as c, defineComponent as P, ref as se, onMounted as ue, watch as ee, openBlock as b, createElementBlock as R, renderSlot as z, useModel as S, useTemplateRef as de, toRefs as pe, nextTick as ge, Fragment as ce, createElementVNode as T, mergeProps as V, unref as g, createBlock as _, createSlots as me, withCtx as x, createTextVNode as ne, toDisplayString as ie, createCommentVNode as w, normalizeClass as M, withDirectives as fe, vModelText as ve, createVNode as re, mergeModels as E } from "vue";
|
|
6
|
-
import { u as be,
|
|
7
|
-
import { _ as
|
|
8
|
-
import {
|
|
6
|
+
import { u as be, _ as he } from "./Label.vue.es-DtpLM1KH.mjs";
|
|
7
|
+
import { _ as ye } from "./FormMessage.vue.es-Cjv358Ab.mjs";
|
|
8
|
+
import { g as _e } from "./cn.es-B8acFrov.mjs";
|
|
9
|
+
import { _ as Y } from "./IconButton.vue.es-C8lYFx5_.mjs";
|
|
9
10
|
function xe({
|
|
10
11
|
pricingItem: e,
|
|
11
12
|
currency: i,
|
|
@@ -57,7 +58,7 @@ const ke = (e, i) => e.find((n) => n.currency === i), we = (e, i) => {
|
|
|
57
58
|
var n, a;
|
|
58
59
|
return (a = (n = e.find((o) => le(o.billing_period, i))) == null ? void 0 : n.configs) == null ? void 0 : a[0];
|
|
59
60
|
};
|
|
60
|
-
function
|
|
61
|
+
function We({
|
|
61
62
|
currency: e,
|
|
62
63
|
billingPeriod: i
|
|
63
64
|
} = {}) {
|
|
@@ -433,9 +434,9 @@ input[type='range'].range-xl::-moz-range-track {
|
|
|
433
434
|
return ee([n, a], () => ge(o), { immediate: !0 }), (p, f) => (b(), R(ce, null, [
|
|
434
435
|
T("div", V(p.$attrs, {
|
|
435
436
|
class: ["flex flex-col gap-2", { rootClass: e.rootClass, "flex-col-reverse": e.labelAfter }],
|
|
436
|
-
"data-testid": g(
|
|
437
|
+
"data-testid": g(_e)(g(l))
|
|
437
438
|
}), [
|
|
438
|
-
e.label ? (b(), _(
|
|
439
|
+
e.label ? (b(), _(he, {
|
|
439
440
|
key: 0,
|
|
440
441
|
for: g(l),
|
|
441
442
|
required: e.required
|
|
@@ -513,7 +514,7 @@ input[type='range'].range-xl::-moz-range-track {
|
|
|
513
514
|
css: g(Pe)
|
|
514
515
|
}, null, 8, ["css"]),
|
|
515
516
|
!g(Q)(e.error) || p.$slots.helper ? (b(), R("div", Se, [
|
|
516
|
-
g(Q)(e.error) ? p.$slots.helper ? z(p.$slots, "helper", {}, void 0, void 0, 1) : w("", !0) : (b(), _(
|
|
517
|
+
g(Q)(e.error) ? p.$slots.helper ? z(p.$slots, "helper", {}, void 0, void 0, 1) : w("", !0) : (b(), _(ye, {
|
|
517
518
|
key: 0,
|
|
518
519
|
message: e.error
|
|
519
520
|
}, null, 8, ["message"]))
|
|
@@ -569,7 +570,7 @@ input[type='range'].range-xl::-moz-range-track {
|
|
|
569
570
|
_: 3
|
|
570
571
|
}, 16, ["modelValue", "variant", "label-after", "max", "label", "name", "required", "root-class", "size", "input-wrapper-class"]));
|
|
571
572
|
}
|
|
572
|
-
}),
|
|
573
|
+
}), He = /* @__PURE__ */ P({
|
|
573
574
|
__name: "PricingGroupRangeInput",
|
|
574
575
|
props: /* @__PURE__ */ E({
|
|
575
576
|
modelValue: {},
|
|
@@ -622,6 +623,6 @@ input[type='range'].range-xl::-moz-range-track {
|
|
|
622
623
|
}
|
|
623
624
|
});
|
|
624
625
|
export {
|
|
625
|
-
|
|
626
|
-
|
|
626
|
+
He as _,
|
|
627
|
+
We as u
|
|
627
628
|
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { defineComponent as O, openBlock as c, createElementBlock as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { _ as U } from "./Section.vue.es-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { g as B } from "./
|
|
1
|
+
import { defineComponent as O, openBlock as c, createElementBlock as x, createElementVNode as g, createVNode as f, unref as s, withCtx as _, renderSlot as P, useModel as I, toRef as b, computed as d, createBlock as m, createTextVNode as N, toDisplayString as h, mergeModels as k } from "vue";
|
|
2
|
+
import { u as E, _ as T } from "./PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs";
|
|
3
|
+
import { _ as A } from "./RadioGroupExtended.vue.es-3nDXqIGi.mjs";
|
|
4
|
+
import { _ as U } from "./Section.vue.es-CvX9tg2f.mjs";
|
|
5
|
+
import { S as G } from "./index.es-CpmQmvOg.mjs";
|
|
6
|
+
import { d as S, a as R } from "./customElements-BTj4ii4f.mjs";
|
|
7
|
+
import { g as B } from "./pricing-BOhvWWMj.mjs";
|
|
8
8
|
import { u as C } from "./useViewport-psZejz_H.mjs";
|
|
9
9
|
const D = { class: "flex gap-4 border-l-2 border-primary-600 px-2" }, F = { class: "grow" }, H = /* @__PURE__ */ O({
|
|
10
10
|
__name: "PricingGroupTitle",
|
|
11
11
|
setup(r) {
|
|
12
|
-
return (
|
|
12
|
+
return (t, l) => (c(), x("div", D, [
|
|
13
13
|
g("div", F, [
|
|
14
|
-
f(s(
|
|
14
|
+
f(s(S), {
|
|
15
15
|
tag: "span",
|
|
16
16
|
variant: "body-sm",
|
|
17
17
|
weight: "semibold"
|
|
18
18
|
}, {
|
|
19
19
|
default: _(() => [
|
|
20
|
-
P(
|
|
20
|
+
P(t.$slots, "title")
|
|
21
21
|
]),
|
|
22
22
|
_: 3
|
|
23
23
|
})
|
|
24
24
|
]),
|
|
25
25
|
g("div", null, [
|
|
26
|
-
f(s(
|
|
26
|
+
f(s(S), {
|
|
27
27
|
tag: "span",
|
|
28
28
|
variant: "body-xs",
|
|
29
29
|
color: "subtle"
|
|
30
30
|
}, {
|
|
31
31
|
default: _(() => [
|
|
32
|
-
P(
|
|
32
|
+
P(t.$slots, "description")
|
|
33
33
|
]),
|
|
34
34
|
_: 3
|
|
35
35
|
})
|
|
@@ -39,13 +39,13 @@ const D = { class: "flex gap-4 border-l-2 border-primary-600 px-2" }, F = { clas
|
|
|
39
39
|
});
|
|
40
40
|
function W({
|
|
41
41
|
currency: r,
|
|
42
|
-
billingPeriod:
|
|
42
|
+
billingPeriod: t
|
|
43
43
|
}) {
|
|
44
|
-
const { $t: l } = R(), { renderPricingForPricingItem: v } =
|
|
44
|
+
const { $t: l } = R(), { renderPricingForPricingItem: v } = E({ currency: r, billingPeriod: t });
|
|
45
45
|
return { describePricing: (p) => {
|
|
46
46
|
var a;
|
|
47
|
-
const
|
|
48
|
-
return
|
|
47
|
+
const o = (a = p.items) == null ? void 0 : a[0];
|
|
48
|
+
return o ? v({ pricingItem: o }) : l({
|
|
49
49
|
defaultMessage: "Unsupported pricing",
|
|
50
50
|
id: "pricing_item_pricing.unsupported_pricing_error",
|
|
51
51
|
description: "Text displayed when the pricing item pricing is unsupported"
|
|
@@ -68,30 +68,30 @@ const X = { class: "p-1" }, j = { class: "pt-1" }, M = 3, q = 6, ie = /* @__PURE
|
|
|
68
68
|
}),
|
|
69
69
|
emits: ["update:modelValue"],
|
|
70
70
|
setup(r) {
|
|
71
|
-
const
|
|
72
|
-
currency: b(
|
|
73
|
-
billingPeriod: b(
|
|
74
|
-
}), { isMobileViewport: y } = C(), p = d(() =>
|
|
71
|
+
const t = r, l = I(r, "modelValue"), { describePricing: v } = W({
|
|
72
|
+
currency: b(t, "currency"),
|
|
73
|
+
billingPeriod: b(t, "billingPeriod")
|
|
74
|
+
}), { isMobileViewport: y } = C(), p = d(() => t.pricings.map((e) => e.id)), o = d({
|
|
75
75
|
get: () => l.value.find((e) => p.value.includes(e)) ?? void 0,
|
|
76
76
|
set: (e) => {
|
|
77
77
|
const i = l.value.filter((n) => !p.value.includes(n));
|
|
78
78
|
l.value = e ? [...i, e] : i;
|
|
79
79
|
}
|
|
80
80
|
}), a = d({
|
|
81
|
-
get: () =>
|
|
81
|
+
get: () => o.value,
|
|
82
82
|
set: (e) => {
|
|
83
|
-
|
|
83
|
+
o.value = typeof e == "string" ? e : void 0;
|
|
84
84
|
}
|
|
85
85
|
}), V = d({
|
|
86
|
-
get: () =>
|
|
86
|
+
get: () => o.value,
|
|
87
87
|
set: (e) => {
|
|
88
|
-
|
|
88
|
+
o.value = e ?? void 0;
|
|
89
89
|
}
|
|
90
|
-
}), u = d(() =>
|
|
90
|
+
}), u = d(() => t.pricings.map((e) => ({
|
|
91
91
|
label: B(e) ?? "",
|
|
92
92
|
value: e.id,
|
|
93
93
|
description: v(e)
|
|
94
|
-
}))),
|
|
94
|
+
}))), $ = () => u.value.slice(0, M), w = () => u.value.map(({ value: e, label: i, description: n }) => ({
|
|
95
95
|
label: i,
|
|
96
96
|
subLabel: n,
|
|
97
97
|
value: e
|
|
@@ -101,16 +101,16 @@ const X = { class: "p-1" }, j = { class: "pt-1" }, M = 3, q = 6, ie = /* @__PURE
|
|
|
101
101
|
g("div", X, [
|
|
102
102
|
f(H, null, {
|
|
103
103
|
title: _(() => [
|
|
104
|
-
h(
|
|
104
|
+
N(h(r.groupName), 1)
|
|
105
105
|
]),
|
|
106
106
|
_: 1
|
|
107
107
|
}),
|
|
108
108
|
g("div", j, [
|
|
109
|
-
u.value.length <= M ? (c(), m(s(
|
|
109
|
+
u.value.length <= M ? (c(), m(s(A), {
|
|
110
110
|
key: 0,
|
|
111
111
|
modelValue: a.value,
|
|
112
112
|
"onUpdate:modelValue": i[0] || (i[0] = (n) => a.value = n),
|
|
113
|
-
options:
|
|
113
|
+
options: $(),
|
|
114
114
|
direction: s(y) ? "column" : "row",
|
|
115
115
|
"show-radio": !1
|
|
116
116
|
}, null, 8, ["modelValue", "options", "direction"])) : u.value.length <= q ? (c(), m(s(G), {
|
|
@@ -120,10 +120,10 @@ const X = { class: "p-1" }, j = { class: "pt-1" }, M = 3, q = 6, ie = /* @__PURE
|
|
|
120
120
|
options: w(),
|
|
121
121
|
size: "xl",
|
|
122
122
|
"show-sub-label-in-input": ""
|
|
123
|
-
}, null, 8, ["single-model-value", "options"])) : (c(), m(s(
|
|
123
|
+
}, null, 8, ["single-model-value", "options"])) : (c(), m(s(T), {
|
|
124
124
|
key: 2,
|
|
125
|
-
modelValue:
|
|
126
|
-
"onUpdate:modelValue": i[2] || (i[2] = (n) =>
|
|
125
|
+
modelValue: o.value,
|
|
126
|
+
"onUpdate:modelValue": i[2] || (i[2] = (n) => o.value = n),
|
|
127
127
|
options: u.value,
|
|
128
128
|
name: `pricing-group-range-input-${r.groupName}`
|
|
129
129
|
}, null, 8, ["modelValue", "options", "name"]))
|