@solvimon/solvimon-web 0.1.0-alpha.24 → 0.1.0-alpha.26
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 +14 -11
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs} +6 -6
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jWthTJk-.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js} +1 -1
- package/dist/{Avatar.vue.es-nr8srGuK.js → Avatar.vue.es-Bm6MCMAL.js} +1 -1
- package/dist/{Avatar.vue.es-DzjFvLuK.mjs → Avatar.vue.es-BqQHvLGA.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-C1prOJay.js → BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BptcwJMr.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs} +8 -8
- package/dist/{Button.vue.es-PbJFK8z7.mjs → Button.vue.es-C32_baQN.mjs} +1 -1
- package/dist/{Button.vue.es-TCF-bvDF.js → Button.vue.es-qGvnOKnK.js} +1 -1
- package/dist/ChargeOnDemandModal-CIiI74ls.mjs +983 -0
- package/dist/ChargeOnDemandModal-DIQaGnRs.js +1 -0
- package/dist/Checkout.entry.ce-8EcavNgT.js +2 -0
- package/dist/{Checkout.entry.ce-DHFx5Vnb.mjs → Checkout.entry.ce-BA5ljKj8.mjs} +1562 -1538
- package/dist/{Chip.vue.es-DpcOM3Ai.mjs → Chip.vue.es-CKCOY5T6.mjs} +2 -2
- package/dist/{Chip.vue.es-CAoisngJ.js → Chip.vue.es-D60gTbfe.js} +1 -1
- package/dist/{ContextMenu.vue.es-kzZ3JJHG.js → ContextMenu.vue.es-C7KI8Gz6.js} +1 -1
- package/dist/{ContextMenu.vue.es-tAuFp-6i.mjs → ContextMenu.vue.es-Da-lAmTl.mjs} +10 -10
- package/dist/{CustomerBillingInformation.vue.es-BQSl9q6W.mjs → CustomerBillingInformation.vue.es-BxBQt4Q0.mjs} +2 -2
- package/dist/{CustomerBillingInformation.vue.es-Nac6HgLo.js → CustomerBillingInformation.vue.es-bFUx81Ig.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-R47ln7Wb.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs} +6 -6
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BOLf-U0A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js} +1 -1
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CaNXS48v.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs} +908 -891
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +1 -0
- package/dist/{DividerText.vue.es-LJ2kZakb.js → DividerText.vue.es-BF3gnr4e.js} +1 -1
- package/dist/{DividerText.vue.es-CSE7a-T0.mjs → DividerText.vue.es-DKl3FnDJ.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs} +4 -4
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-GNPyrcAQ.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js} +1 -1
- package/dist/{ErrorNotification.vue.es-BF6swP7o.js → ErrorNotification.vue.es-BX9dHEc-.js} +1 -1
- package/dist/{ErrorNotification.vue.es-CVUuIt8Z.mjs → ErrorNotification.vue.es-rRKgmkzV.mjs} +1 -1
- package/dist/{IconButton.vue.es-CB1lIPao.js → IconButton.vue.es-Bwdfu-jm.js} +1 -1
- package/dist/{IconButton.vue.es-DGflbWFk.mjs → IconButton.vue.es-UlqwNPAX.mjs} +2 -2
- package/dist/{IconTitle.vue.es-BsdjyGlQ.mjs → IconTitle.vue.es-CK9k69tV.mjs} +3 -3
- package/dist/{IconTitle.vue.es-CMO8EyQl.js → IconTitle.vue.es-Cei98MBw.js} +1 -1
- package/dist/{Input.vue.es-CREdT4nB.js → Input.vue.es-B47l_feL.js} +1 -1
- package/dist/{Input.vue.es-BFbiFXsU.mjs → Input.vue.es-D9IjIWc-.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BZ4D_-7E.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Btv0rRk4.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-CrZq0d1M.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-j-cNIRD_.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js} +1 -1
- package/dist/InvoiceSummary.vue.es-DBnR9Hs7.js +1 -0
- package/dist/{InvoiceSummary.vue.es-JtOIQ6SJ.mjs → InvoiceSummary.vue.es-DQ4KvTaw.mjs} +576 -565
- package/dist/{Modal.vue.es-BbdtdxsO.js → Modal.vue.es-8LN4gBh0.js} +1 -1
- package/dist/{Modal.vue.es-jT61xK_A.mjs → Modal.vue.es-B9xMiyn3.mjs} +5 -5
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BBoZVnsK.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D34fD3Io.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js} +1 -1
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-quvnCSFV.mjs → PaymentHistoryBlock-DYa99P1M.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-Dw2wOiAI.js → PaymentHistoryBlock-Ds93gNvh.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-5ckQd9eQ.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-D1oJREmH.js → PaymentIntegrationForm-B_Db4DG1.js} +1 -1
- package/dist/{PaymentIntegrationForm-CQjUZi22.mjs → PaymentIntegrationForm-UWoyZgsR.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +1 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs +154 -0
- package/dist/{PaymentIntegrationFormAdyen-CyZk9ofV.mjs → PaymentIntegrationFormAdyen-D4qfNtZ_.mjs} +217 -197
- package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +98 -0
- package/dist/{PaymentIntegrationFormStripe-D-GaLHwc.mjs → PaymentIntegrationFormStripe-BIiMCWlV.mjs} +247 -220
- package/dist/PaymentIntegrationFormStripe-DUCJTIAq.js +102 -0
- package/dist/PaymentMethod.vue.es-CJcSZ9lN.js +1 -0
- package/dist/{PaymentMethod.vue.es-C0j580g7.mjs → PaymentMethod.vue.es-CKu5nApX.mjs} +168 -148
- package/dist/{PaymentMethodForm-CDV5LR8i.js → PaymentMethodForm-1d0YIGOu.js} +1 -1
- package/dist/{PaymentMethodForm-Bf2Ps6eV.mjs → PaymentMethodForm-B05sHWcW.mjs} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js +1 -0
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs} +45 -41
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs} +6 -6
- package/dist/PlanCustomizationEditor-CEMP_Dhz.js +1 -0
- package/dist/PlanCustomizationEditor-CpZeilm5.mjs +694 -0
- package/dist/{PricingGroupRangeInput.vue.es-CP7-dmxS.mjs → PricingGroupRangeInput.vue.es-CJpvUP3-.mjs} +4 -4
- package/dist/{PricingGroupRangeInput.vue.es-BchXhunH.js → PricingGroupRangeInput.vue.es-DZSJ5Mz0.js} +1 -1
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs +141 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js +1 -0
- package/dist/{RadioGroupExtended.vue.es-_QMReyZ8.mjs → RadioGroupExtended.vue.es-BalV7gwp.mjs} +2 -2
- package/dist/{RadioGroupExtended.vue.es-Cf5R1P9a.js → RadioGroupExtended.vue.es-Dt6LH9Yh.js} +1 -1
- package/dist/{Section.vue.es-KRsHeFoT.mjs → Section.vue.es-D7eiXUbk.mjs} +1 -1
- package/dist/{Section.vue.es-CBZx5x53.js → Section.vue.es-zVXBHAL6.js} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-UdGQMJGY.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVELHoUj.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs} +6 -6
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +1 -0
- package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs → Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs} +5 -5
- package/dist/StepInput.vue.es-C3Zm6Wc9.mjs +199 -0
- package/dist/StepInput.vue.es-mAnuCuDQ.js +1 -0
- package/dist/SubscriptionDetails.entry.ce-D4CsSoR9.js +1 -0
- package/dist/SubscriptionDetails.entry.ce-WEimiOex.mjs +1057 -0
- package/dist/{SubscriptionSchedules-1ikoGncQ.js → SubscriptionSchedules-Cm5Dt-1H.js} +1 -1
- package/dist/{SubscriptionSchedules-B6b6xf-E.mjs → SubscriptionSchedules-DrrEAPlx.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dv2bP9vv.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs} +2284 -2341
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js +1 -0
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DvYZvTV9.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs} +3 -3
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DZKl0Zxp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DTjZcOhj.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DmeIKMYI.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs} +8 -8
- package/dist/{TooltipParagraph.vue.es-nGFfHF1A.mjs → TooltipParagraph.vue.es-BXbOJmjr.mjs} +3 -3
- package/dist/TooltipParagraph.vue.es-Cph6zT31.js +1 -0
- package/dist/{TrialChip.vue.es-DhC5Bpmy.js → TrialChip.vue.es-C_wgHGuN.js} +1 -1
- package/dist/{TrialChip.vue.es-eKgO6an3.mjs → TrialChip.vue.es-C_yRujip.mjs} +2 -2
- package/dist/{cn.es-BD7Afj5Q.mjs → cn.es-CGa6b2Lt.mjs} +2 -2
- package/dist/{cn.es-BLE3T5Rx.js → cn.es-D9YMDvG2.js} +1 -1
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +246 -230
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +201 -212
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +4 -4
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/{customElements-CSzbVZIH.js → customElements-C963-LtW.js} +36 -32
- package/dist/{customElements-DT1YyL4O.mjs → customElements-D5DAoHRI.mjs} +231 -196
- package/dist/{customer-Cq4fF__H.mjs → customer-DKa1B2vp.mjs} +4 -4
- package/dist/{customer-CJonIvSm.js → customer-TE1FnGT0.js} +1 -1
- package/dist/{de-DE-BSlbAnPE.js → de-DE-B4TUdnUf.js} +1 -1
- package/dist/{de-DE-CyvjSD9b.mjs → de-DE-CLfzTbbX.mjs} +39 -6
- package/dist/de-DE-DaBBl-Ak.js +1 -0
- package/dist/{de-DE-DXsG-vXA.mjs → de-DE-jkW2dJrX.mjs} +28 -14
- package/dist/en-US-BNevqm0M.js +1 -0
- package/dist/{en-US-xQrWj8qI.mjs → en-US-D6SGRAch.mjs} +39 -6
- package/dist/en-US-J85TQRI8.js +1 -0
- package/dist/{en-US-C939IZ5i.mjs → en-US-SDhjlY_v.mjs} +20 -5
- package/dist/formControl-ODrpUvcA.js +1 -0
- package/dist/{index-BPU8tIml.mjs → formControl-dX7l8o3c.mjs} +160 -143
- package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +4 -0
- package/dist/icon-sprite.svg.es-Ds6lDf5p.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{invoices-EamWI_jz.js → invoices-ClqTWYF9.js} +1 -1
- package/dist/{invoices-CVZOfEOY.mjs → invoices-DJTwftJv.mjs} +1 -1
- package/dist/it-IT-BkPbTueL.js +1 -0
- package/dist/{it-IT-DT3rfjOY.js → it-IT-CSYvGmpT.js} +1 -1
- package/dist/{it-IT-BxpwB3oJ.mjs → it-IT-CaaFToGB.mjs} +20 -6
- package/dist/{it-IT-C09oObBM.mjs → it-IT-Cym1UvvK.mjs} +39 -6
- package/dist/{nl-NL-DfkhOJKc.js → nl-NL-CpE4IgwO.js} +1 -1
- package/dist/{nl-NL-na2I4aiP.mjs → nl-NL-D0MQKaql.mjs} +34 -20
- package/dist/{nl-NL-BhNND_yi.mjs → nl-NL-D0c4x5C0.mjs} +39 -6
- package/dist/nl-NL-jIfAVGv0.js +1 -0
- package/dist/paymentMethods-AL2U_byg.js +1 -0
- package/dist/{paymentMethods-By1SebnO.mjs → paymentMethods-CWzJhcWK.mjs} +16 -14
- package/dist/{payments-Dnjg9Se4.js → payments-BmiHMlQt.js} +1 -1
- package/dist/{payments-BYZLQTJ-.mjs → payments-aXyfylwk.mjs} +6 -6
- package/dist/pricing.es-C07bgEZx.js +1 -0
- package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
- package/dist/pricingPlanSchedules-BD4GIP_F.mjs +32 -0
- package/dist/pricingPlanSchedules-BfsMSvN0.js +1 -0
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +57 -55
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +3 -769
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +243 -270
- package/dist/{subscription-CrVOr5MF.mjs → subscription-D1yHKUNc.mjs} +2 -2
- package/dist/{subscriptions-BKER9RUc.js → subscriptions-Cm83ckfl.js} +1 -1
- package/dist/{subscriptions-Gj3KgCZz.mjs → subscriptions-cnR5fnf7.mjs} +1 -1
- package/dist/types/components/{wallets/WalletModalShell.types.d.ts → payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts} +3 -3
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +5 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +5 -9
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +7 -11
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +7 -11
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +7 -11
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +7 -11
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +21 -0
- package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +6 -5
- package/dist/types/services/paymentMethods.types.d.ts +4 -2
- package/dist/types/services/requests.types.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +6 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +16 -4
- package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +21 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +2 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +6 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +3 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +128 -1
- package/dist/{useActionDispatchProvider-DDHrhy3i.js → useActionDispatchProvider-CHkVQMaE.js} +1 -1
- package/dist/{useActionDispatchProvider-MjTckd4f.mjs → useActionDispatchProvider-DDYqIh3r.mjs} +1 -1
- package/dist/{useCustomer-BW0DBEJh.js → useCustomer-DGYtowRy.js} +1 -1
- package/dist/{useCustomer-CxnF7r8Z.mjs → useCustomer-XZKWsolE.mjs} +1 -1
- package/dist/{useCustomerFormLabels-zPc8QrwJ.mjs → useCustomerFormLabels-CcnkJLcB.mjs} +6 -6
- package/dist/useCustomerFormLabels-DAZziqYt.js +1 -0
- package/dist/{useExperimentalFeature-9teNYGuP.js → useExperimentalFeature-COOU6IZd.js} +1 -1
- package/dist/{useExperimentalFeature-NsSDg-e3.mjs → useExperimentalFeature-ierhOt9Q.mjs} +1 -1
- package/dist/{useInvoiceData-GQwk6fl4.mjs → useInvoiceData-BEK-7msA.mjs} +3 -3
- package/dist/{useInvoiceData-DvV2AsgC.js → useInvoiceData-CQRn8l9C.js} +1 -1
- package/dist/{useInvoicesList-Xnth6s6U.js → useInvoicesList-BQkKyyXa.js} +1 -1
- package/dist/{useInvoicesList-CGmFSQSg.mjs → useInvoicesList-C4I118KM.mjs} +7 -7
- package/dist/{useLoadInitialData-BvvaWeAe.mjs → useLoadInitialData-CR0kbYw8.mjs} +1 -1
- package/dist/{useLoadInitialData-Cjkc70u-.js → useLoadInitialData-CrKnBZs_.js} +1 -1
- package/dist/{usePaymentMethodAvailability-DKyscbom.js → usePaymentMethodAvailability-Ci6LeYKt.js} +1 -1
- package/dist/{usePaymentMethodAvailability-BWaaj3N3.mjs → usePaymentMethodAvailability-ZH-m3B-A.mjs} +12 -12
- package/dist/{usePaymentMethodOptions-l-wVAmIW.mjs → usePaymentMethodOptions-Ciifjo6c.mjs} +15 -13
- package/dist/usePaymentMethodOptions-Cqe92ZBn.js +1 -0
- package/dist/{usePaymentMethods-DvQVnsSV.mjs → usePaymentMethods-B-OKRyKd.mjs} +1 -1
- package/dist/{usePaymentMethods-BDFVB-kK.js → usePaymentMethods-BKwrl82-.js} +1 -1
- package/dist/usePayments-Bauj16B-.js +1 -0
- package/dist/{usePayments-D_dyuf6S.mjs → usePayments-CV85OV8V.mjs} +46 -41
- package/dist/{usePortal-BU4ibdWq.js → usePortal-DSLImEfr.js} +1 -1
- package/dist/{usePortal-Br5lYuPT.mjs → usePortal-H8Tv2TnZ.mjs} +1 -1
- package/dist/{useSubscription-DRBUt9H5.js → useSubscription-BiYNJT2e.js} +1 -1
- package/dist/{useSubscription-CqRae2I9.mjs → useSubscription-DqnxWNKg.mjs} +1 -1
- package/dist/{useTimePeriod.es-BxIGnCAP.mjs → useTimePeriod.es-B22-fno3.mjs} +1 -1
- package/dist/{useTimePeriod.es-DDos3-EH.js → useTimePeriod.es-D2aiyfd-.js} +1 -1
- package/dist/useWatchDebounced-B8iX7ykx.js +1 -0
- package/dist/useWatchDebounced-BHlBPcXB.mjs +20 -0
- package/package.json +11 -8
- package/dist/Checkout.entry.ce-D8O4qJ24.js +0 -2
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D_jcV7VG.js +0 -1
- package/dist/InvoiceSummary.vue.es-BOnvORpf.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs +0 -141
- package/dist/PaymentIntegrationFormAdyen-BQXXwpUK.js +0 -98
- package/dist/PaymentIntegrationFormStripe-Bs4F7oK_.js +0 -102
- package/dist/PaymentMethod.vue.es-CXV_ThBY.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js +0 -1
- package/dist/PlanCustomizationEditor-0kEXoOcM.js +0 -1
- package/dist/PlanCustomizationEditor-Dv69xPbX.mjs +0 -877
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs +0 -131
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-YsI__d0V.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cd56tuZb.js +0 -1
- package/dist/TooltipParagraph.vue.es-7IQdU3Tf.js +0 -1
- package/dist/de-DE-DXsDvO5y.js +0 -1
- package/dist/en-US-9xdcz3T5.js +0 -1
- package/dist/en-US-DHdI11k9.js +0 -1
- package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +0 -4
- package/dist/icon-sprite.svg.es-Dauis9LS.js +0 -1
- package/dist/index-DwueOtPi.js +0 -1
- package/dist/it-IT-CcRIzP1A.js +0 -1
- package/dist/nl-NL-5PrgQl8q.js +0 -1
- package/dist/paymentMethods-Bwym8l9a.js +0 -1
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +0 -47
- package/dist/useCustomerFormLabels-C773h3J0.js +0 -1
- package/dist/usePaymentMethodOptions-DuXKS36F.js +0 -1
- package/dist/usePayments-CIJocDhR.js +0 -1
- package/dist/useWatchDebounced-CAU1WI1P.js +0 -1
- package/dist/useWatchDebounced-DT5IicPp.mjs +0 -14
package/README.md
CHANGED
|
@@ -279,14 +279,16 @@ The SDK emits structured log entries via the [`onLog`](#error-logging) callback.
|
|
|
279
279
|
| `INVALID_EMAIL` | invalid email provided:… |
|
|
280
280
|
| `INVALID_REDIRECT_RESULT` | Redirect result is set but payment acceptor id is missing |
|
|
281
281
|
| `INVALID_TOKEN` | Failed to fetch access token |
|
|
282
|
-
| `INVOICE_PREVIEW_FAILED` | Failed to load
|
|
282
|
+
| `INVOICE_PREVIEW_FAILED` | Failed to load the invoice preview |
|
|
283
283
|
| `NO_PAYMENT_METHODS_AVAILABLE` | No payment method can be offered to the customer |
|
|
284
|
+
| `ON_DEMAND_CHARGE_FAILED` | Failed to charge the on-demand order |
|
|
285
|
+
| `ON_DEMAND_ITEMS_LOAD_FAILED` | Failed to load the on-demand items of the subscription |
|
|
284
286
|
| `PAYMENT_ACCEPTOR_MISSING` | Additional details arrived without a payment acceptor id |
|
|
285
287
|
| `PAYMENT_AUTHORIZATION_FAILED` | Failed payment authorization for payment acceptor with id… |
|
|
286
288
|
| `PAYMENT_DETAILS_CALL_FAILED` | Failed fetching payment details |
|
|
287
289
|
| `PAYMENT_DETAILS_REJECTED` | Payment details returned a failed payment |
|
|
288
290
|
| `PAYMENT_INTEGRATION_INITIALIZATION_FAILED` | Failed to mount Adyen web drop-in |
|
|
289
|
-
| `PAYMENT_METHOD_OPTIONS_LOAD_FAILED` | Failed to load the payment methods
|
|
291
|
+
| `PAYMENT_METHOD_OPTIONS_LOAD_FAILED` | Failed to load the payment methods that can be offered |
|
|
290
292
|
| `PROMOTION_CODE_APPLY_FAILED` | Failed to apply promotion code |
|
|
291
293
|
| `PROMOTION_CODE_REMOVE_FAILED` | Failed to remove promotion code |
|
|
292
294
|
| `REQUEST_FAILED` | Request failed |
|
|
@@ -306,14 +308,15 @@ The SDK emits structured log entries via the [`onLog`](#error-logging) callback.
|
|
|
306
308
|
|
|
307
309
|
### Warning codes
|
|
308
310
|
|
|
309
|
-
| Code | Description
|
|
310
|
-
| :----------------------------------- |
|
|
311
|
-
| `ACTIVE_SCHEDULE_NOT_FOUND` | No schedule is currently being billed
|
|
312
|
-
| `ADYEN_INVALID_CONFIGURATION` | No environment set for adyen advanced flow, defaulted to live
|
|
313
|
-
| `APPLE_PAY_ACTION_REQUIRED` | Payment requires additional action
|
|
314
|
-
| `INVOICE_PREVIEW_SKIPPED` | Skipped the
|
|
315
|
-
| `
|
|
316
|
-
| `
|
|
317
|
-
| `
|
|
311
|
+
| Code | Description |
|
|
312
|
+
| :----------------------------------- | :------------------------------------------------------------------------ |
|
|
313
|
+
| `ACTIVE_SCHEDULE_NOT_FOUND` | No schedule is currently being billed |
|
|
314
|
+
| `ADYEN_INVALID_CONFIGURATION` | No environment set for adyen advanced flow, defaulted to live |
|
|
315
|
+
| `APPLE_PAY_ACTION_REQUIRED` | Payment requires additional action |
|
|
316
|
+
| `INVOICE_PREVIEW_SKIPPED` | Skipped the on-demand charge invoice preview: no schedule to charge it on |
|
|
317
|
+
| `ON_DEMAND_CHARGE_REFUSED` | The on-demand order was refused or its payment did not go through |
|
|
318
|
+
| `PAYMENT_INTEGRATION_NOT_RENDERABLE` | No Adyen payment methods to offer |
|
|
319
|
+
| `REQUEST_FAILED` | Request failed with an expected status |
|
|
320
|
+
| `TRANSLATION_LOAD_FAILED` | Failed to load translations for locale… |
|
|
318
321
|
|
|
319
322
|
<!-- log-codes:end — DO NOT EDIT: auto-generated by `npm run logs:list` -->
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { computed as c, defineComponent as O, toRef as C, openBlock as m, createElementBlock as w, normalizeClass as N, createBlock as f, withCtx as v, createTextVNode as A, toDisplayString as b, unref as s, Fragment as S, createElementVNode as k, createVNode as V, createCommentVNode as g, defineAsyncComponent as $, ref as B, watch as E } from "vue";
|
|
2
|
-
import { _ as P } from "./PaymentMethod.vue.es-
|
|
3
|
-
import { _ as I } from "./Button.vue.es-
|
|
2
|
+
import { _ as P } from "./PaymentMethod.vue.es-CKu5nApX.mjs";
|
|
3
|
+
import { _ as I } from "./Button.vue.es-C32_baQN.mjs";
|
|
4
4
|
import { _ as L } from "./FormMessage.vue.es-jG3fQZms.mjs";
|
|
5
|
-
import { _ as T } from "./RadioGroupExtended.vue.es-
|
|
6
|
-
import {
|
|
7
|
-
import { _ as D } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as T } from "./RadioGroupExtended.vue.es-BalV7gwp.mjs";
|
|
6
|
+
import { a as x, _ as R } from "./customElements-D5DAoHRI.mjs";
|
|
7
|
+
import { _ as D } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs";
|
|
8
8
|
const y = (e) => e.replaceAll("_", " ").toLowerCase().replace(/^./, (a) => a.toUpperCase());
|
|
9
9
|
function j(e) {
|
|
10
10
|
var o, r, l, d, t, n;
|
|
@@ -176,7 +176,7 @@ const F = { class: "sr-only" }, Z = /* @__PURE__ */ O({
|
|
|
176
176
|
emits: ["success", "failure"],
|
|
177
177
|
setup(e, { expose: a }) {
|
|
178
178
|
const i = $(
|
|
179
|
-
() => import("./PaymentMethodForm-
|
|
179
|
+
() => import("./PaymentMethodForm-B05sHWcW.mjs").then((t) => t.default)
|
|
180
180
|
), o = e, r = c(() => ({
|
|
181
181
|
variant: "TOKENIZE"
|
|
182
182
|
})), l = B(!1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("vue"),_=require("./PaymentMethod.vue.es-
|
|
1
|
+
const e=require("vue"),_=require("./PaymentMethod.vue.es-CJcSZ9lN.js"),h=require("./Button.vue.es-qGvnOKnK.js"),v=require("./FormMessage.vue.es-dqATjC2N.js"),b=require("./RadioGroupExtended.vue.es-Dt6LH9Yh.js"),f=require("./customElements-C963-LtW.js"),g=require("./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js"),u=t=>t.replaceAll("_"," ").toLowerCase().replace(/^./,o=>o.toUpperCase());function k(t){var n,i,l,d,a,s;const o=[];switch(t.type){case"CARD":o.push(t.card.brand&&u(t.card.brand),t.card.last_four_digits);break;case"ONLINE_BANKING":o.push(((n=t.online_banking)==null?void 0:n.variant)&&u(t.online_banking.variant),(i=t.online_banking)==null?void 0:i.owner_name);break;case"DIRECT_DEBIT":o.push(((l=t.direct_debit)==null?void 0:l.variant)&&u(t.direct_debit.variant),(d=t.direct_debit)==null?void 0:d.owner_name);break;case"BUY_NOW_PAY_LATER":o.push(((a=t.buy_now_pay_later)==null?void 0:a.variant)&&u(t.buy_now_pay_later.variant));break;case"DIGITAL_WALLET":o.push(((s=t.digital_wallet)==null?void 0:s.variant)&&u(t.digital_wallet.variant));break}return o.filter(Boolean).join(" ")||u(t.type)}function B(t){const o=e.computed(()=>t.value.map(n=>({value:n.id,label:k(n)}))),r=e.computed(()=>Object.fromEntries(t.value.map(n=>[n.id,n])));return{options:o,paymentMethodsById:r}}const w={class:"sr-only"},A=e.defineComponent({__name:"PaymentMethodSelector",props:{paymentMethods:{type:Array},modelValue:{type:String},label:{type:String},required:{type:Boolean},disabled:{type:Boolean},error:{type:[String,Object,Array]},rootClass:{type:String},showAddOption:{type:Boolean,default:!0},paymentMethodOptions:{type:Array}},emits:["update:modelValue","add-payment-method"],setup(t,{emit:o}){const r=t,n=o,{$t:i}=f.useIntl(),{options:l,paymentMethodsById:d}=B(e.toRef(r,"paymentMethods")),a=e.computed({get:()=>r.modelValue,set:c=>n("update:modelValue",typeof c=="string"?c:void 0)}),s=e.computed(()=>r.paymentMethods.length>0),p=e.computed(()=>{var c;return((c=r.paymentMethodOptions)==null?void 0:c.length)!==0});return(c,y)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sv-payment-method-selector grid grid-cols-1 gap-2",t.rootClass])},[!s.value&&!p.value?(e.openBlock(),e.createBlock(g._sfc_main,{key:0,class:"sv-payment-method-selector__empty",icon:"credit_card_off"},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"No payment methods available",description:"Shown in place of the payment method choice when the customer has nothing stored and nothing can be added",id:"payment_method_selector.empty_state.title"})),1)]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",null,[s.value?(e.openBlock(),e.createBlock(e.unref(b._sfc_main),{key:0,modelValue:a.value,"onUpdate:modelValue":y[0]||(y[0]=m=>a.value=m),class:"sv-payment-method-selector__options",name:"payment-method",direction:"column",options:e.unref(l),label:t.label,required:t.required,disabled:t.disabled,error:t.error,"show-radio":!1},{prefix:e.withCtx(({optionValue:m})=>[e.createVNode(e.unref(_._sfc_main),{class:"sv-payment-method-selector__option-content grow","payment-method":e.unref(d)[String(m)]},null,8,["payment-method"])]),label:e.withCtx(({option:m})=>[e.createElementVNode("span",w,e.toDisplayString(m.label),1)]),_:1},8,["modelValue","options","label","required","disabled","error"])):e.createCommentVNode("",!0)]),t.showAddOption&&p.value?(e.openBlock(),e.createBlock(e.unref(h._sfc_main),{key:0,class:"sv-action sv-action--secondary sv-action--full-width sv-payment-method-selector__add w-full",intent:"secondary","icon-prefix":"add",type:"button",size:"sm",disabled:t.disabled,onClick:y[1]||(y[1]=m=>n("add-payment-method"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Add payment method",description:"Label of the button that adds a new payment method",id:"payment_method_selector.add_payment_method"})),1)]),_:1},8,["disabled"])):t.showAddOption?(e.openBlock(),e.createBlock(e.unref(f._sfc_main),{key:1,variant:"body-sm",color:"subtle",tag:"p",class:"sv-payment-method-selector__unavailable"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"There are no available payment methods. Please contact support for more information.",description:"Shown in place of the add button when the customer cannot add any payment method",id:"payment_method_selector.no_payment_methods_available"})),1)]),_:1})):e.createCommentVNode("",!0),t.error&&!s.value?(e.openBlock(),e.createBlock(e.unref(v._sfc_main),{key:2,class:"sv-payment-method-selector__error",message:t.error,variant:"error"},null,8,["message"])):e.createCommentVNode("",!0)],64))],2))}}),C=e.defineComponent({__name:"AddPaymentMethodPane",props:{customer:{type:Object},paymentMethodOptions:{type:Array},isLoading:{type:Boolean},isActive:{type:Boolean}},emits:["success","failure"],setup(t,{expose:o}){const r=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentMethodForm-1d0YIGOu.js")).then(a=>a.default)),n=t,i=e.computed(()=>({variant:"TOKENIZE"})),l=e.ref(!1);e.watch(()=>n.isActive,a=>{l.value=l.value||!!a},{immediate:!0});const d=e.ref();return o({submit:()=>{var a;return(a=d.value)==null?void 0:a.submit()},isSaving:e.computed(()=>{var a;return!!n.isActive&&!!((a=d.value)!=null&&a.isPaymentPending)})}),(a,s)=>t.customer&&l.value?(e.openBlock(),e.createBlock(e.unref(r),{key:0,ref_key:"formRef",ref:d,class:"sv-add-payment-method-pane","hide-submit-button":"",customer:t.customer,"payment-method-options":t.paymentMethodOptions??[],"is-loading":t.isLoading,configuration:i.value,onSuccess:s[0]||(s[0]=p=>a.$emit("success")),onFailure:s[1]||(s[1]=p=>a.$emit("failure",p))},null,8,["customer","payment-method-options","is-loading","configuration"])):e.createCommentVNode("",!0)}});exports._sfc_main=A;exports._sfc_main$1=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("vue"),s=require("./Button.vue.es-
|
|
1
|
+
const e=require("vue"),s=require("./Button.vue.es-qGvnOKnK.js"),u=t=>{const n=e.ref(),i=l=>{let a=0;for(let o=0;o<l.length;o++)a=l.charCodeAt(o)+((a<<5)-a);let r="#";for(let o=0;o<3;o++){const c=a>>o*8&255;r+=("00"+c.toString(16)).substr(-2)}return r};return e.watch(()=>t,()=>{n.value=i(t)},{immediate:!0}),n},d=e.defineComponent({__name:"Avatar",props:{initials:{},imageSrc:{},size:{default:"md"},round:{type:Boolean,default:!1},variant:{default:"light"},colorHash:{},font:{default:"icon"},icon:{}},setup(t){const n=t,i={xs:"w-4 h-4",sm:"w-5 h-5",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-12 h-12"},l={xs:"text-base",sm:"text-lg",md:"text-2xl",lg:"text-4xl",xl:"text-6xl"},a=u(n.colorHash??n.initials??"A"),r=e.computed(()=>n.imageSrc?{backgroundImage:`url(${n.imageSrc})`}:void 0);return(o,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative flex shrink-0 items-center justify-center overflow-hidden rounded bg-primary-300 bg-cover",{[i[n.size]]:!0,"rounded-full":t.round,"border border-black border-opacity-5":t.variant==="dark"}]),style:e.normalizeStyle(r.value)},[t.initials&&!t.imageSrc&&!t.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["font-regular z-10 text-2xl font-semibold",{[l[n.size]]:!0,"font-regular":t.font==="icon","font-inter drop-shadow-sm":t.font==="regular","text-white/70":t.variant==="light","text-black/10":t.variant==="dark"}])},e.toDisplayString(t.initials.toUpperCase()),3)):t.icon?(e.openBlock(),e.createBlock(e.unref(s._sfc_main$1),{key:1,icon:t.icon,class:"z-10 text-white"},null,8,["icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"pointer-events-none absolute inset-0 opacity-20",style:e.normalizeStyle({backgroundColor:e.unref(a)})},null,4)],6))}});exports._sfc_main=d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as f, watch as g, defineComponent as h, computed as x, openBlock as i, createElementBlock as s, normalizeStyle as u, normalizeClass as d, toDisplayString as v, createBlock as b, unref as m, createCommentVNode as k, createElementVNode as y } from "vue";
|
|
2
|
-
import { a as w } from "./Button.vue.es-
|
|
2
|
+
import { a as w } from "./Button.vue.es-C32_baQN.mjs";
|
|
3
3
|
const z = (e) => {
|
|
4
4
|
const t = f(), l = (n) => {
|
|
5
5
|
let a = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=require("vue"),a=require("./Button.vue.es-
|
|
1
|
+
const t=require("vue"),a=require("./Button.vue.es-qGvnOKnK.js"),l=require("./CustomerBillingInformation.vue.es-bFUx81Ig.js"),u=require("./customElements-C963-LtW.js"),m=require("./Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js"),f=require("./useActionDispatchProvider-CHkVQMaE.js"),_=require("./configuration-akTS7Wiw.js"),v=t.defineComponent({__name:"BillingInformation",props:{customer:{type:Object},isLoading:{type:Boolean},configuration:{type:Object}},emits:["edit-billing-information"],setup(e){const n={showEditButton:!0},o=e,s=t.computed(()=>_.resolveConfiguration(n,o.configuration)),{$t:r}=u.useIntl(),{dispatchAction:c}=f.useActionDispatchProvider();return(d,i)=>e.isLoading?(t.openBlock(),t.createBlock(m._sfc_main,{key:0,variant:"section",class:"sv-billing-information sv-root sv-component sv-loading min-h-[100px]","data-testid":"billing-information-skeleton"})):(t.openBlock(),t.createBlock(t.unref(l._sfc_main),{key:1,class:"sv-billing-information sv-root sv-component",customer:e.customer,"fallback-to-reference":!1},t.createSlots({_:2},[s.value.showEditButton?{name:"settings",fn:t.withCtx(()=>[t.createVNode(t.unref(a._sfc_main),{size:"sm",intent:"subtle","icon-prefix":"edit",class:"sv-action sv-action--ghost sv-billing-information__edit",onClick:i[0]||(i[0]=g=>t.unref(c)({action:"edit-billing-information"}))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r)({defaultMessage:"Edit",id:"customer_overview.billing_information_block.view_all_payment_methods_link_label",description:"The link text that links to the overview page of the customer billing information"})),1)]),_:1})]),key:"0"}:void 0]),1032,["customer"]))}});exports._sfc_main=v;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as f, computed as
|
|
2
|
-
import { _ as v } from "./Button.vue.es-
|
|
3
|
-
import { _ as b } from "./CustomerBillingInformation.vue.es-
|
|
4
|
-
import {
|
|
5
|
-
import { _ as h } from "./Skeleton.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { u as y } from "./useActionDispatchProvider-
|
|
1
|
+
import { defineComponent as f, computed as p, openBlock as n, createBlock as e, unref as t, createSlots as u, withCtx as s, createVNode as d, createTextVNode as _, toDisplayString as g } from "vue";
|
|
2
|
+
import { _ as v } from "./Button.vue.es-C32_baQN.mjs";
|
|
3
|
+
import { _ as b } from "./CustomerBillingInformation.vue.es-BxBQt4Q0.mjs";
|
|
4
|
+
import { a as k } from "./customElements-D5DAoHRI.mjs";
|
|
5
|
+
import { _ as h } from "./Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs";
|
|
6
|
+
import { u as y } from "./useActionDispatchProvider-DDYqIh3r.mjs";
|
|
7
7
|
import { r as x } from "./configuration-BytDBAWs.mjs";
|
|
8
8
|
const T = /* @__PURE__ */ f({
|
|
9
9
|
__name: "BillingInformation",
|
|
@@ -16,7 +16,7 @@ const T = /* @__PURE__ */ f({
|
|
|
16
16
|
setup(o) {
|
|
17
17
|
const a = {
|
|
18
18
|
showEditButton: !0
|
|
19
|
-
}, r = o, c =
|
|
19
|
+
}, r = o, c = p(
|
|
20
20
|
() => x(a, r.configuration)
|
|
21
21
|
), { $t: l } = k(), { dispatchAction: m } = y();
|
|
22
22
|
return (w, i) => o.isLoading ? (n(), e(h, {
|
|
@@ -29,7 +29,7 @@ const T = /* @__PURE__ */ f({
|
|
|
29
29
|
class: "sv-billing-information sv-root sv-component",
|
|
30
30
|
customer: o.customer,
|
|
31
31
|
"fallback-to-reference": !1
|
|
32
|
-
},
|
|
32
|
+
}, u({ _: 2 }, [
|
|
33
33
|
c.value.showEditButton ? {
|
|
34
34
|
name: "settings",
|
|
35
35
|
fn: s(() => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as B, openBlock as r, createElementBlock as u, normalizeClass as v, createElementVNode as g, useSlots as _, computed as n, ref as I, toRefs as S, unref as o, createBlock as R, resolveDynamicComponent as q, withCtx as $, createVNode as z, createCommentVNode as d, renderSlot as k, mergeDefaults as V } from "vue";
|
|
2
|
-
import { _ as M } from "./customElements-
|
|
2
|
+
import { _ as M } from "./customElements-D5DAoHRI.mjs";
|
|
3
3
|
const N = {
|
|
4
4
|
class: "h-full w-full",
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("vue"),w=require("./customElements-
|
|
1
|
+
const e=require("vue"),w=require("./customElements-C963-LtW.js"),k={class:"h-full w-full",xmlns:"http://www.w3.org/2000/svg",viewbox:"0 0 48 48"},z=["xlink:href"],h=e.defineComponent({__name:"Icon",props:{icon:{},size:{default:"sm"},variant:{default:"default"}},setup(t){const n={"3xs":"w-[10px] h-[10px]","2xs":"w-[14px] h-[14px]",xs:"w-[16px] h-[16px]",sm:"w-[20px] h-[20px]",base:"w-[22px] h-[22px]",md:"w-[24px] h-[24px]",lg:"w-[32px] h-[32px]",xl:"w-[48px] h-[48px]"};return(s,l)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["icon inline-flex items-center justify-center align-middle leading-none",[n[t.size],{"rounded border bg-gray-50 p-1 selection:drop-shadow-sm":t.variant==="contained"}]])},[(e.openBlock(),e.createElementBlock("svg",k,[e.createElementVNode("use",{"xlink:href":`#${t.icon}`},null,8,z)]))],2))}}),B={primary:{rest:"border border-transparent bg-primary-600 text-white",interactive:"hover:bg-primary-700 active:bg-primary-800",focus:"focus-visible:outline-primary-600"},secondary:{rest:"border border-gray-200 bg-white text-gray-900",interactive:"hover:bg-gray-50 active:bg-gray-100",focus:"focus-visible:outline-gray-500"},subtle:{rest:"border border-transparent bg-transparent text-gray-700",interactive:"hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200",focus:"focus-visible:outline-gray-500"},danger:{rest:"border border-transparent bg-red-700 text-white",interactive:"hover:bg-red-800 active:bg-red-900",focus:"focus-visible:outline-red-700"},dangerSecondary:{rest:"border border-red-200 bg-white text-red-700",interactive:"hover:bg-red-50 active:bg-red-100",focus:"focus-visible:outline-red-700"}},C={intent:"primary",size:"md",pill:!1,square:!1,loading:!1,disabled:!1,iconPrefix:void 0,iconSuffix:void 0,tag:"button",preventDoubleClick:!0},c=(...t)=>{const n=new Set;for(const s of t)if(s)for(const l of s.split(/\s+/))l&&n.add(l);return[...n].join(" ")},S=["relative inline-flex shrink-0 items-center justify-center overflow-clip","whitespace-nowrap rounded font-medium transition-colors","focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2"].join(" "),R={xs:"h-6",sm:"h-8",md:"h-10",lg:"h-12"},V={xs:"w-6 h-6",sm:"w-8 h-8",md:"w-10 h-10",lg:"w-12 h-12"},$={xs:"py-1",sm:"py-1.5",md:"py-2",lg:"py-3"},_={xs:"gap-0.5",sm:"gap-1.5",md:"gap-2",lg:"gap-3"},E={xs:{compactLeft:"pl-1",compactRight:"pr-1",spaciousLeft:"pl-1",spaciousRight:"pr-1"},sm:{compactLeft:"pl-1.5",compactRight:"pr-1.5",spaciousLeft:"pl-3",spaciousRight:"pr-3"},md:{compactLeft:"pl-2",compactRight:"pr-2",spaciousLeft:"pl-4",spaciousRight:"pr-4"},lg:{compactLeft:"pl-3",compactRight:"pr-3",spaciousLeft:"pl-6",spaciousRight:"pr-6"}};function L(t){const n=e.useSlots(),s=e.computed(()=>!!(n.prefix||t.iconPrefix.value)),l=e.computed(()=>!!(n.suffix||t.iconSuffix.value)),i=e.computed(()=>!!n.default),r=e.computed(()=>!i.value&&(s.value||l.value)),u=e.computed(()=>{var o;return(o=t.square)!=null&&o.value?V[t.size.value]:R[t.size.value]}),d=e.computed(()=>{var o;if((o=t.square)!=null&&o.value)return"";const a=E[t.size.value],b=r.value||s.value,y=r.value||l.value;return c($[t.size.value],b?a.compactLeft:a.spaciousLeft,y?a.compactRight:a.spaciousRight)}),f=e.computed(()=>{const o=B[t.intent.value??C.intent],a=!t.loading.value&&!t.disabled.value;return c(o.rest,o.focus,a&&o.interactive)}),p=e.computed(()=>t.pill.value?"!rounded-full":""),m=e.computed(()=>t.disabled.value||t.loading.value?"cursor-not-allowed opacity-50":""),v=e.computed(()=>c(S,f.value,u.value,d.value,p.value,m.value)),g=e.computed(()=>c("flex items-center justify-center",_[t.size.value],t.loading.value?"opacity-0":""));return{wrapperClasses:v,spanClasses:g}}const N={xs:"2",sm:"3",md:"4",lg:"5"},j={primary:"white",secondary:"gray",subtle:"gray",danger:"white",dangerSecondary:"red"};function P(t){const n=e.computed(()=>N[t.size.value]),s=e.computed(()=>j[t.intent.value]);return{size:n,color:s}}function D(t=500){const n=e.ref(!1);function s(l){if(!n.value){n.value=!0;try{l()}finally{setTimeout(()=>{n.value=!1},t)}}}return{isClicked:n,handleClick:s}}const q={0:"w-0 h-0","0.5":"w-0.5 h-0.5",1:"w-1 h-1","1.5":"w-1.5 h-1.5",10:"w-10 h-10",11:"w-11 h-11",12:"w-12 h-12",2:"w-2 h-2","2.5":"w-2.5 h-2.5",3:"w-3 h-3",4:"w-4 h-4",5:"w-5 h-5",6:"w-6 h-6",7:"w-7 h-7",8:"w-8 h-8",9:"w-9 h-9",px:"w-px h-px"},I={primary:"fill-primary-600",blue:"fill-blue-600",gray:"fill-gray-600",green:"fill-green-500",pink:"fill-pink-600",purple:"fill-purple-600",red:"fill-red-600",yellow:"fill-yellow-400",white:"fill-white"};function M(t){const n=e.computed(()=>q[t.size.value]),s=e.computed(()=>I[t.color.value]),l="text-gray-200",i="animate-spin";return{spinnerClasses:e.computed(()=>[n.value,l,s.value,i].join(" "))}}const x=e.defineComponent({__name:"Spinner",props:{size:{default:"4"},color:{default:"primary"}},setup(t){const n=t,{spinnerClasses:s}=M(e.toRefs(n));return(l,i)=>(e.openBlock(),e.createElementBlock("svg",{role:"status",class:e.normalizeClass(e.unref(s)),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...i[0]||(i[0]=[e.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"},null,-1)])],2))}}),Z={key:0,class:"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center bg-inherit"},H={key:0,class:"flex items-center justify-center"},F={key:2,class:"flex items-center justify-center"},G=e.defineComponent({__name:"Button",props:e.mergeDefaults({type:{},intent:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{},preventDoubleClick:{type:Boolean}},C),emits:["click"],setup(t,{emit:n}){const s=t,l=n,i=e.computed(()=>{switch(s.size){case"xs":return"2xs";case"sm":return"xs";default:return"sm"}}),r=e.computed(()=>i.value==="xs"?"4":"5"),u=e.computed(()=>["xs","sm"].includes(s.size)?"body-xs":"body-sm"),{wrapperClasses:d,spanClasses:f}=L(e.toRefs(s)),{color:p}=P(e.toRefs(s)),{handleClick:m}=D(),v=e.computed(()=>s.tag==="button"&&(s.disabled||s.loading)),g=o=>{if(s.preventDoubleClick===!1){l("click",o);return}m(()=>{l("click",o)})};return(o,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass(e.unref(d)),type:t.tag==="button"?t.type:void 0,disabled:v.value,onClick:g},{default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("span",Z,[e.createVNode(e.unref(x),{size:r.value,color:e.unref(p)},null,8,["size","color"])])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(e.unref(f))},[t.iconPrefix||o.$slots.prefix?(e.openBlock(),e.createElementBlock("span",H,[e.renderSlot(o.$slots,"prefix",{},()=>[e.createVNode(e.unref(h),{icon:t.iconPrefix,size:i.value,class:"overflow-clip"},null,8,["icon","size"])])])):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createBlock(e.unref(w._sfc_main),{key:1,tag:"span",variant:u.value,color:"inherit",class:"leading-none"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["variant"])):e.createCommentVNode("",!0),t.iconSuffix||o.$slots.suffix?(e.openBlock(),e.createElementBlock("span",F,[e.renderSlot(o.$slots,"suffix",{},()=>[e.createVNode(e.unref(h),{icon:t.iconSuffix,size:i.value},null,8,["icon","size"])])])):e.createCommentVNode("",!0)],2)]),_:3},8,["class","type","disabled"]))}});exports._sfc_main=G;exports._sfc_main$1=h;exports._sfc_main$2=x;
|