@solvimon/solvimon-web 0.1.0-alpha.26 → 0.1.0-alpha.27
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 +12 -10
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js} +1 -1
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs} +6 -6
- package/dist/{Avatar.vue.es-Bm6MCMAL.js → Avatar.vue.es-BJxSCU76.js} +1 -1
- package/dist/{Avatar.vue.es-BqQHvLGA.mjs → Avatar.vue.es-sfMZiX7A.mjs} +1 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +1 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs} +14 -15
- package/dist/{Button.vue.es-qGvnOKnK.js → Button.vue.es-BzkuglKw.js} +1 -1
- package/dist/{Button.vue.es-C32_baQN.mjs → Button.vue.es-Cmjfm4jw.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CIiI74ls.mjs → ChargeOnDemandModal-CB4mrvkU.mjs} +145 -153
- package/dist/{ChargeOnDemandModal-DIQaGnRs.js → ChargeOnDemandModal-b17YswWA.js} +1 -1
- package/dist/Checkout.entry.ce-HlUrJ1kh.js +2 -0
- package/dist/Checkout.entry.ce-X2zGo6hG.mjs +4381 -0
- package/dist/{Chip.vue.es-D60gTbfe.js → Chip.vue.es-B2jjzIOc.js} +1 -1
- package/dist/{Chip.vue.es-CKCOY5T6.mjs → Chip.vue.es-DksjbJO8.mjs} +2 -2
- package/dist/{ContextMenu.vue.es-C7KI8Gz6.js → ContextMenu.vue.es-DUU43tCy.js} +1 -1
- package/dist/{ContextMenu.vue.es-Da-lAmTl.mjs → ContextMenu.vue.es-zRvoEJlV.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-bFUx81Ig.js → CustomerBillingInformation.vue.es-BfPEB42w.js} +1 -1
- package/dist/{CustomerBillingInformation.vue.es-BxBQt4Q0.mjs → CustomerBillingInformation.vue.es-DhFbpZPK.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs} +14 -15
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js} +1 -1
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs} +110 -123
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +1 -0
- package/dist/{DividerText.vue.es-BF3gnr4e.js → DividerText.vue.es-CoyDk9eH.js} +1 -1
- package/dist/{DividerText.vue.es-DKl3FnDJ.mjs → DividerText.vue.es-nAo1eRMV.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs} +4 -4
- package/dist/{ErrorNotification.vue.es-rRKgmkzV.mjs → ErrorNotification.vue.es-h-D37rfG.mjs} +1 -1
- package/dist/{ErrorNotification.vue.es-BX9dHEc-.js → ErrorNotification.vue.es-tS9vySUZ.js} +1 -1
- package/dist/{IconButton.vue.es-Bwdfu-jm.js → IconButton.vue.es-DgQN18Am.js} +1 -1
- package/dist/{IconButton.vue.es-UlqwNPAX.mjs → IconButton.vue.es-DvfErUOq.mjs} +2 -2
- package/dist/{IconTitle.vue.es-CK9k69tV.mjs → IconTitle.vue.es-B_8bS0tn.mjs} +3 -3
- package/dist/{IconTitle.vue.es-Cei98MBw.js → IconTitle.vue.es-Dn2xcPHj.js} +1 -1
- package/dist/{Input.vue.es-B47l_feL.js → Input.vue.es-B60eK8Ds.js} +1 -1
- package/dist/{Input.vue.es-D9IjIWc-.mjs → Input.vue.es-CU9u5yKH.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js} +1 -1
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs} +2 -2
- package/dist/{InvoiceSummary.vue.es-DBnR9Hs7.js → InvoiceSummary.vue.es-CAmA8g0t.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-DQ4KvTaw.mjs → InvoiceSummary.vue.es-CRiFJ5x-.mjs} +7 -7
- package/dist/{Modal.vue.es-B9xMiyn3.mjs → Modal.vue.es-BeI5C9-9.mjs} +5 -5
- package/dist/{Modal.vue.es-8LN4gBh0.js → Modal.vue.es-DvLB3uCG.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs} +5 -6
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js} +1 -1
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-Ds93gNvh.js → PaymentHistoryBlock-Uw8xeKUk.js} +1 -1
- package/dist/{PaymentHistoryBlock-DYa99P1M.mjs → PaymentHistoryBlock-mCqdFjnL.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-B_Db4DG1.js → PaymentIntegrationForm-Cx0zCf_C.js} +1 -1
- package/dist/{PaymentIntegrationForm-UWoyZgsR.mjs → PaymentIntegrationForm-DVx4DEtD.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs} +4 -4
- package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +98 -0
- package/dist/{PaymentIntegrationFormAdyen-D4qfNtZ_.mjs → PaymentIntegrationFormAdyen-Yr8p5Fly.mjs} +16 -20
- package/dist/{PaymentIntegrationFormStripe-DUCJTIAq.js → PaymentIntegrationFormStripe-CoLmAzas.js} +3 -3
- package/dist/{PaymentIntegrationFormStripe-BIiMCWlV.mjs → PaymentIntegrationFormStripe-Ds0BXt89.mjs} +5 -5
- package/dist/{PaymentMethod.vue.es-CKu5nApX.mjs → PaymentMethod.vue.es-4YRmQZHX.mjs} +3 -3
- package/dist/{PaymentMethod.vue.es-CJcSZ9lN.js → PaymentMethod.vue.es-D0D9jW8s.js} +1 -1
- package/dist/{PaymentMethodForm-1d0YIGOu.js → PaymentMethodForm-CMP5FLRO.js} +1 -1
- package/dist/{PaymentMethodForm-B05sHWcW.mjs → PaymentMethodForm-Dnj_7mJU.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs} +33 -35
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs} +6 -6
- package/dist/PlanCustomizationEditor-DS1r2vBO.js +1 -0
- package/dist/{PlanCustomizationEditor-CpZeilm5.mjs → PlanCustomizationEditor-DlVSCKGN.mjs} +234 -206
- package/dist/{PricingGroupRangeInput.vue.es-CJpvUP3-.mjs → PricingGroupRangeInput.vue.es-BhNcjD7z.mjs} +4 -4
- package/dist/{PricingGroupRangeInput.vue.es-DZSJ5Mz0.js → PricingGroupRangeInput.vue.es-VoOTnHjk.js} +1 -1
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs} +6 -6
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js} +1 -1
- package/dist/{RadioGroupExtended.vue.es-BalV7gwp.mjs → RadioGroupExtended.vue.es-9YzXzZF0.mjs} +2 -2
- package/dist/{RadioGroupExtended.vue.es-Dt6LH9Yh.js → RadioGroupExtended.vue.es-DlbURHQN.js} +1 -1
- package/dist/{Section.vue.es-zVXBHAL6.js → Section.vue.es-Bbt0RITt.js} +1 -1
- package/dist/{Section.vue.es-D7eiXUbk.mjs → Section.vue.es-DVEpre9O.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs} +6 -6
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +41 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +1 -0
- package/dist/{StepInput.vue.es-mAnuCuDQ.js → StepInput.vue.es-H-3R4jJq.js} +1 -1
- package/dist/{StepInput.vue.es-C3Zm6Wc9.mjs → StepInput.vue.es-o-3Lg4Ai.mjs} +4 -4
- package/dist/{SubscriptionDetails.entry.ce-WEimiOex.mjs → SubscriptionDetails.entry.ce-CGl6Z5ql.mjs} +22 -22
- package/dist/{SubscriptionDetails.entry.ce-D4CsSoR9.js → SubscriptionDetails.entry.ce-CQUO_uXH.js} +1 -1
- package/dist/{SubscriptionSchedules-DrrEAPlx.mjs → SubscriptionSchedules-DuWZmnD2.mjs} +1 -1
- package/dist/{SubscriptionSchedules-Cm5Dt-1H.js → SubscriptionSchedules-Dy0fUgx5.js} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs} +11 -11
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs} +2 -2
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs} +8 -9
- package/dist/{TooltipParagraph.vue.es-BXbOJmjr.mjs → TooltipParagraph.vue.es-B9A17aG7.mjs} +1 -1
- package/dist/{TooltipParagraph.vue.es-Cph6zT31.js → TooltipParagraph.vue.es-DvC5Wjaz.js} +1 -1
- package/dist/{TrialChip.vue.es-C_wgHGuN.js → TrialChip.vue.es-CLQZ5F0n.js} +1 -1
- package/dist/{TrialChip.vue.es-C_yRujip.mjs → TrialChip.vue.es-Dmv3lPiQ.mjs} +2 -2
- package/dist/{cn.es-D9YMDvG2.js → cn.es-C9Yqq4tg.js} +1 -1
- package/dist/{cn.es-CGa6b2Lt.mjs → cn.es-Cvt6TIwv.mjs} +2 -2
- 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 +6 -6
- 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 +9 -9
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +15 -16
- 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 +14 -15
- 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-D5DAoHRI.mjs → customElements-B58FcXIN.mjs} +5 -5
- package/dist/{customElements-C963-LtW.js → customElements-DUMRMFQ5.js} +2 -2
- package/dist/{customer-DKa1B2vp.mjs → customer-B3LPAhaD.mjs} +1 -1
- package/dist/{customer-TE1FnGT0.js → customer-CisTPaXj.js} +1 -1
- package/dist/{de-DE-CLfzTbbX.mjs → de-DE-DKp5LCu0.mjs} +15 -1
- package/dist/de-DE-DL74pMLb.js +1 -0
- package/dist/en-US-B2XFj-_p.js +1 -0
- package/dist/{en-US-D6SGRAch.mjs → en-US-DQ5vlv9Z.mjs} +15 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{invoices-DJTwftJv.mjs → invoices-3520M5AN.mjs} +1 -1
- package/dist/{invoices-ClqTWYF9.js → invoices-CKQBLar2.js} +1 -1
- package/dist/{it-IT-Cym1UvvK.mjs → it-IT-BgFVsO5S.mjs} +15 -1
- package/dist/it-IT-CqNK62qe.js +1 -0
- package/dist/nl-NL-Dx-TNXQ1.js +1 -0
- package/dist/{nl-NL-D0c4x5C0.mjs → nl-NL-UiRWbO9S.mjs} +15 -1
- package/dist/{paymentMethods-CWzJhcWK.mjs → paymentMethods-CWlvwK5V.mjs} +1 -1
- package/dist/{paymentMethods-AL2U_byg.js → paymentMethods-Cw-i95mM.js} +1 -1
- package/dist/{payments-aXyfylwk.mjs → payments-2qeQdpiW.mjs} +1 -1
- package/dist/{payments-BmiHMlQt.js → payments-CS7_YcOW.js} +1 -1
- package/dist/pricing-BIMpDI_p.mjs +29 -0
- package/dist/pricing-BOqG21f9.js +1 -0
- package/dist/{pricingPlanSchedules-BfsMSvN0.js → pricingPlanSchedules-B_sTAIgU.js} +1 -1
- package/dist/{pricingPlanSchedules-BD4GIP_F.mjs → pricingPlanSchedules-ChQCbMfe.mjs} +1 -1
- 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 +12 -12
- 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 +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +20 -20
- package/dist/{subscriptions-cnR5fnf7.mjs → subscriptions-DcfcBYAq.mjs} +1 -1
- package/dist/{subscriptions-Cm83ckfl.js → subscriptions-DwVsf4Ev.js} +1 -1
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +1 -1
- package/dist/{useActionDispatchProvider-DDYqIh3r.mjs → useActionDispatchProvider-B3AvkLL2.mjs} +1 -1
- package/dist/{useActionDispatchProvider-CHkVQMaE.js → useActionDispatchProvider-DFhppdve.js} +1 -1
- package/dist/{useCustomer-XZKWsolE.mjs → useCustomer-B-jyJIVy.mjs} +1 -1
- package/dist/{useCustomer-DGYtowRy.js → useCustomer-BwZKd9i5.js} +1 -1
- package/dist/{useCustomerFormLabels-CcnkJLcB.mjs → useCustomerFormLabels-BQk3d9PZ.mjs} +5 -5
- package/dist/{useCustomerFormLabels-DAZziqYt.js → useCustomerFormLabels-DV9QiMYh.js} +1 -1
- package/dist/useExperimentalFeature-BciA3Ok9.mjs +135 -0
- package/dist/useExperimentalFeature-CGIkgFR4.js +1 -0
- package/dist/{useInvoiceData-BEK-7msA.mjs → useInvoiceData-BocKdeg7.mjs} +2 -2
- package/dist/{useInvoiceData-CQRn8l9C.js → useInvoiceData-CNV_FMV8.js} +1 -1
- package/dist/{useInvoicesList-C4I118KM.mjs → useInvoicesList-C8nsXMJ6.mjs} +7 -7
- package/dist/{useInvoicesList-BQkKyyXa.js → useInvoicesList-S0IbQcrD.js} +1 -1
- package/dist/{useLoadInitialData-CR0kbYw8.mjs → useLoadInitialData-D9GkzY8t.mjs} +1 -1
- package/dist/{useLoadInitialData-CrKnBZs_.js → useLoadInitialData-D_R6Jy1s.js} +1 -1
- package/dist/usePaymentMethodAvailability-BO_guwAw.js +1 -0
- package/dist/{usePaymentMethodAvailability-ZH-m3B-A.mjs → usePaymentMethodAvailability-DAcsKGeh.mjs} +13 -14
- package/dist/{usePaymentMethodOptions-Ciifjo6c.mjs → usePaymentMethodOptions-1vRAo6Ib.mjs} +1 -1
- package/dist/{usePaymentMethodOptions-Cqe92ZBn.js → usePaymentMethodOptions-CuzOoi2k.js} +1 -1
- package/dist/{usePaymentMethods-B-OKRyKd.mjs → usePaymentMethods-CbwnGONc.mjs} +1 -1
- package/dist/{usePaymentMethods-BKwrl82-.js → usePaymentMethods-DDaTZQZp.js} +1 -1
- package/dist/{usePayments-CV85OV8V.mjs → usePayments-Cr6NlGaW.mjs} +6 -6
- package/dist/{usePayments-Bauj16B-.js → usePayments-DDSjo0rH.js} +1 -1
- package/dist/{usePortal-DSLImEfr.js → usePortal-C27omjhz.js} +1 -1
- package/dist/{usePortal-H8Tv2TnZ.mjs → usePortal-C5AsegpS.mjs} +1 -1
- package/dist/{useSubscription-DqnxWNKg.mjs → useSubscription-BZJL0VOA.mjs} +1 -1
- package/dist/{useSubscription-BiYNJT2e.js → useSubscription-D787IXY-.js} +1 -1
- package/dist/{useTimePeriod.es-B22-fno3.mjs → useTimePeriod.es-DWLsLFqs.mjs} +1 -1
- package/dist/{useTimePeriod.es-D2aiyfd-.js → useTimePeriod.es-rzxqUCTu.js} +1 -1
- package/package.json +10 -7
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js +0 -1
- package/dist/Checkout.entry.ce-8EcavNgT.js +0 -2
- package/dist/Checkout.entry.ce-BA5ljKj8.mjs +0 -3924
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +0 -98
- package/dist/PlanCustomizationEditor-CEMP_Dhz.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs +0 -51
- package/dist/adyen-CvsH5fok.mjs +0 -117
- package/dist/adyen-Druit6gz.js +0 -1
- package/dist/de-DE-DaBBl-Ak.js +0 -1
- package/dist/en-US-BNevqm0M.js +0 -1
- package/dist/it-IT-BkPbTueL.js +0 -1
- package/dist/nl-NL-jIfAVGv0.js +0 -1
- package/dist/pricing-BVAld27Y.js +0 -1
- package/dist/pricing-DLOeiAIB.mjs +0 -16
- package/dist/useExperimentalFeature-COOU6IZd.js +0 -1
- package/dist/useExperimentalFeature-ierhOt9Q.mjs +0 -6
- package/dist/usePaymentMethodAvailability-Ci6LeYKt.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("../../CustomerBillingInformation.vue.es-bFUx81Ig.js"),_=require("../../customElements-C963-LtW.js"),h=require("../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js"),w=require("../../Button.vue.es-qGvnOKnK.js"),l=require("../../InvoiceSummary.vue.es-DBnR9Hs7.js"),x=require("../../Section.vue.es-zVXBHAL6.js"),V=require("../../Comparators.vue.es-DmkxV0gb.js"),B=require("../../formatting.es-C72Nsrmh.js"),b=require("../../wallets.es-CNIMW5ay.js"),N=require("../../DividerText.vue.es-BF3gnr4e.js"),C=require("../../useViewport-hPRVDWCm.js"),$=require("../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js"),S=require("../../sessionReference-m_6Rp4X1.js"),E={class:"flex items-center gap-2"},I=e.defineComponent({__name:"InfoBlock",props:{variant:{default:"info"},hasIcon:{type:Boolean}},setup(t){const i={info:"info",warning:"error",danger:"error",success:"check_circle"};return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex items-center justify-between gap-2 rounded-sm border px-4 py-3 text-sm",{"border-blue-200 bg-feedback-info text-feedback-info":t.variant==="info","border-red-200 bg-feedback-danger text-feedback-danger":t.variant==="danger","border-yellow-200 bg-feedback-warning text-feedback-warning":t.variant==="warning","border-green-200 bg-feedback-success text-feedback-success":t.variant==="success"}])},[e.createElementVNode("div",E,[t.hasIcon?(e.openBlock(),e.createBlock(e.unref(w._sfc_main$1),{key:0,icon:i[t.variant],size:"xs",class:"shrink-0"},null,8,["icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"default")])]),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"cta")])],2))}}),T=({invoice:t,getPeriodTitle:i,creditsLabel:n,walletLabel:r,formatBalance:c})=>[...t.periods??[],...t.closed_periods??[]].map(o=>{const s=(o.groups??[]).flatMap(a=>a.lines??[]),p=b.getLabelledInvoiceWalletBalanceRows(b.getInvoiceWalletBalanceRows(s),{creditTypes:t.credit_types,creditsLabel:n,walletLabel:r}),v=new Map;for(const a of p){const f=c(a.availableBalance),g=v.get(a.label)??{id:`${o.period_order}-${a.label}`,label:a.label,amount:f,rows:[]};g.rows.push({id:`${o.period_order}-${a.key}`,label:a.label,used:c(a.usedBalance),left:c(a.leftBalance),available:f}),v.set(a.label,g)}return{id:`${o.period_order}-${o.start_at}`,title:i(o),rows:[...v.values()]}}).filter(o=>o.rows.length>0),D={key:0,class:"mt-8"},M={class:"flex flex-col gap-6"},q=["onClick","onKeyup"],L={class:"ml-1 inline-flex h-3.5 w-3.5 items-center justify-center rounded-full bg-blue-100 text-2xs font-bold text-blue-600"},j={key:0},O={class:"p-0"},A={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},F=e.defineComponent({__name:"InvoiceCreditsBreakdown",props:{invoice:{type:Object}},setup(t){const i=t,{formatDate:n,$t:r,formatMessage:c,formatNumber:u}=_.useIntl(),{getIsOpen:o,toggle:s}=V.useToggleList(),p=f=>c({defaultMessage:"Service period - {startAt} - {endAt}",id:"wallet_balance.service_period_heading",description:"Heading shown above wallet balance details for an invoice period"},{startAt:n({date:f.start_at,format:"date",offsetType:"offsetted",timezone:i.invoice.customer.timezone}),endAt:n({date:f.end_at,format:"date",offsetType:"offsetted",timezone:i.invoice.customer.timezone})}),v=f=>b.formatInvoiceWalletBalanceValue(f,{formatMoney:B.formatAmount,formatQuantity:g=>u(Number(g))}),a=e.computed(()=>T({invoice:i.invoice,getPeriodTitle:p,creditsLabel:c({defaultMessage:"Credits",id:"wallet_balance.credit_type_fallback_label",description:"Fallback label for wallet balance credit types when no name is available"}),walletLabel:c({defaultMessage:"Wallet balance",id:"wallet_balance.wallet_label",description:"Label for a wallet that pays in money, which the invoice does not name; a currency is appended when there are several"}),formatBalance:v}));return(f,g)=>a.value.length>0?(e.openBlock(),e.createElementBlock("section",D,[e.createElementVNode("div",M,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,y=>(e.openBlock(),e.createElementBlock("section",{key:y.id},[e.createVNode(e.unref(N._sfc_main),{class:"mt-4"},{default:e.withCtx(()=>[e.createVNode(e.unref(_._sfc_main),{tag:"h3",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.title),1)]),_:2},1024)]),_:2},1024),e.createVNode(e.unref(l.InvoiceTable),{class:"mt-3"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(e.unref(l._sfc_main$1),{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Wallet balance",id:"wallet_balance.details.header",description:"Section header for invoice wallet balance details"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.rows,d=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d.id},[e.createElementVNode("tr",{class:"cursor-pointer border-t",tabindex:"0",onClick:m=>e.unref(s)(d.id),onKeyup:[e.withKeys(m=>e.unref(s)(d.id),["enter"]),e.withKeys(m=>e.unref(s)(d.id),["space"])]},[e.createVNode(e.unref(l._sfc_main$2),{class:"p-0"},{default:e.withCtx(()=>[e.createVNode(e.unref(w._sfc_main$1),{icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(o)(d.id)}])},null,8,["class"]),e.createTextVNode(" "+e.toDisplayString(d.label)+" ",1),e.createElementVNode("span",L,e.toDisplayString(d.rows.length),1)]),_:2},1024)],40,q),e.unref(o)(d.id)?(e.openBlock(),e.createElementBlock("tr",j,[e.createElementVNode("td",O,[e.createElementVNode("div",A,[e.createVNode(e.unref(l.InvoiceTable),null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(e.unref(l._sfc_main$1),{left:"",class:"w-2/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Wallet breakdown",id:"invoice_credits.wallet_breakdown.table_header",description:"Column header for the wallets that paid the invoice, labelled by credit type or as a wallet balance"})),1)]),_:1}),e.createVNode(e.unref(l._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Balance",id:"invoice_credits.balance.table_header",description:"Column header for the available wallet balance amount"})),1)]),_:1}),e.createVNode(e.unref(l._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Used",id:"invoice_credits.used.table_header",description:"Column header for the used wallet credit amount"})),1)]),_:1}),e.createVNode(e.unref(l._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Remaining",id:"invoice_credits.remaining.table_header",description:"Column header for the remaining wallet credit amount"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.rows,m=>(e.openBlock(),e.createElementBlock("tr",{key:m.id,class:"border-t"},[e.createVNode(e.unref(l._sfc_main$2),null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.label),1)]),_:2},1024),e.createVNode(e.unref(l._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.available),1)]),_:2},1024),e.createVNode(e.unref(l._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.used),1)]),_:2},1024),e.createVNode(e.unref(l._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.left),1)]),_:2},1024)]))),128))]),_:2},1024)])])])):e.createCommentVNode("",!0)],64))),128))]),_:2},1024)]))),128))])])):e.createCommentVNode("",!0)}}),P=e.defineComponent({__name:"InvoiceBlock",props:{invoice:{type:Object}},setup(t){const{$t:i}=_.useIntl(),{isMobileViewport:n}=C.useViewport();return(r,c)=>(e.openBlock(),e.createBlock(e.unref(x._sfc_main),{class:"sv-invoice__summary grow",title:e.unref(i)({defaultMessage:"Invoice",description:"Title for the invoice block on the invoice details page",id:"sdk.invoice_details.invoice.title"})},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["sv-invoice__summary-body",{"p-6 pt-2":!e.unref(n)}])},[e.unref(n)?(e.openBlock(),e.createBlock(e.unref(I),{key:0,variant:"info","has-icon":"",class:"sv-invoice__download-hint justify-center border-gray-100 bg-gray-50 font-semibold text-gray-800"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Download the PDF for a full breakdown",description:"Download the PDF for a full breakdown",id:"sdk.invoice_details.invoice.download_pdf"})),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(l._sfc_main),{class:"sv-invoice__summary-content",invoice:t.invoice,"is-expandable":!e.unref(n)},{logo:e.withCtx(()=>[e.renderSlot(r.$slots,"logo")]),_:3},8,["invoice","is-expandable"]),e.createVNode(F,{class:"sv-invoice__credits-breakdown",invoice:t.invoice},null,8,["invoice"])],2)]),_:3},8,["title"]))}}),z={class:"sv-invoice sv-root sv-component"},W={class:"sv-invoice__body flex flex-col gap-3 lg:flex-row lg:gap-6"},R={class:"sv-invoice__aside flex shrink-0 flex-col gap-8 lg:w-72 lg:gap-6"},K=e.defineComponent({__name:"Invoice",props:{isLoading:{type:Boolean},invoice:{type:Object},payments:{type:Array},invoiceDownloadService:{type:Function},configuration:{type:Object}},setup(t){const i=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("../../PaymentHistoryBlock-Ds93gNvh.js"))),{$t:n}=_.useIntl();return(r,c)=>{var u,o;return e.openBlock(),e.createElementBlock("div",z,[e.createVNode(h._sfc_main$1,{class:"sv-invoice__header mb-6",invoice:t.invoice,payments:t.payments,"invoice-download-service":t.invoiceDownloadService,"is-loading":t.isLoading,configuration:t.configuration},null,8,["invoice","payments","invoice-download-service","is-loading","configuration"]),e.createElementVNode("div",W,[t.invoice?(e.openBlock(),e.createBlock(P,{key:0,class:"sv-invoice__main",invoice:t.invoice},null,8,["invoice"])):e.createCommentVNode("",!0),e.createElementVNode("div",R,[e.createVNode($._sfc_main,{class:"sv-invoice__details",invoice:t.invoice},null,8,["invoice"]),(u=t.configuration)!=null&&u.enablePaymentAttempts&&((o=t.payments)!=null&&o.length)?(e.openBlock(),e.createBlock(e.unref(i),{key:0,class:"sv-invoice__payment-history","payment-attempts":t.payments,customer:t.invoice.customer},null,8,["payment-attempts","customer"])):e.createCommentVNode("",!0),t.configuration.enableCustomerBillingInformation?(e.openBlock(),e.createBlock(e.unref(k._sfc_main),{key:1,class:"sv-invoice__billing-information",customer:t.invoice.customer,title:e.unref(n)({defaultMessage:"Your billing information",description:"Title for the billing information on the detailed invoice view",id:"sdk.invoice_details.customer_billing_information.title"})},null,8,["customer","title"])):e.createCommentVNode("",!0)])])])}}}),H=e.defineComponent({__name:"Invoice.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var c;const i=S.getComponentName("invoice"),n=t;if(!((c=n.configuration)!=null&&c.invoiceId))throw new Error("Missing invoice id");const r=e.computed(()=>({...n,configuration:{enableCustomerBillingInformation:!0,enableDownloadButton:!0,enablePaymentAttempts:!0,...n.configuration}}));return(u,o)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main$1),{entry:u.$props,"component-name":e.unref(i),"allowed-portal-types":["CUSTOMER"],onError:o[0]||(o[0]=s=>u.$emit("error",s))},{default:e.withCtx(()=>[e.createVNode(h._sfc_main,{"invoice-id":r.value.configuration.invoiceId},{default:e.withCtx(({invoice:s,payments:p,isLoading:v,invoiceDownloadService:a})=>[s?(e.openBlock(),e.createBlock(K,{key:0,"is-loading":v,invoice:s,"invoice-download-service":a,payments:p.payments.value,configuration:r.value.configuration},null,8,["is-loading","invoice","invoice-download-service","payments","configuration"])):e.createCommentVNode("",!0)]),_:1},8,["invoice-id"])]),_:1},8,["entry","component-name"]))}}),{define:U}=_.createSolvimonElement(H,"invoice");exports.defineSolvimonInvoice=U;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("../../CustomerBillingInformation.vue.es-BfPEB42w.js"),_=require("../../customElements-DUMRMFQ5.js"),h=require("../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js"),w=require("../../Button.vue.es-BzkuglKw.js"),l=require("../../InvoiceSummary.vue.es-CAmA8g0t.js"),x=require("../../Section.vue.es-Bbt0RITt.js"),V=require("../../Comparators.vue.es-DmkxV0gb.js"),B=require("../../formatting.es-C72Nsrmh.js"),b=require("../../wallets.es-CNIMW5ay.js"),N=require("../../DividerText.vue.es-CoyDk9eH.js"),C=require("../../useViewport-hPRVDWCm.js"),$=require("../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js"),S=require("../../sessionReference-m_6Rp4X1.js"),E={class:"flex items-center gap-2"},I=e.defineComponent({__name:"InfoBlock",props:{variant:{default:"info"},hasIcon:{type:Boolean}},setup(t){const i={info:"info",warning:"error",danger:"error",success:"check_circle"};return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex items-center justify-between gap-2 rounded-sm border px-4 py-3 text-sm",{"border-blue-200 bg-feedback-info text-feedback-info":t.variant==="info","border-red-200 bg-feedback-danger text-feedback-danger":t.variant==="danger","border-yellow-200 bg-feedback-warning text-feedback-warning":t.variant==="warning","border-green-200 bg-feedback-success text-feedback-success":t.variant==="success"}])},[e.createElementVNode("div",E,[t.hasIcon?(e.openBlock(),e.createBlock(e.unref(w._sfc_main$1),{key:0,icon:i[t.variant],size:"xs",class:"shrink-0"},null,8,["icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"default")])]),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"cta")])],2))}}),T=({invoice:t,getPeriodTitle:i,creditsLabel:n,walletLabel:r,formatBalance:c})=>[...t.periods??[],...t.closed_periods??[]].map(o=>{const s=(o.groups??[]).flatMap(a=>a.lines??[]),p=b.getLabelledInvoiceWalletBalanceRows(b.getInvoiceWalletBalanceRows(s),{creditTypes:t.credit_types,creditsLabel:n,walletLabel:r}),v=new Map;for(const a of p){const f=c(a.availableBalance),g=v.get(a.label)??{id:`${o.period_order}-${a.label}`,label:a.label,amount:f,rows:[]};g.rows.push({id:`${o.period_order}-${a.key}`,label:a.label,used:c(a.usedBalance),left:c(a.leftBalance),available:f}),v.set(a.label,g)}return{id:`${o.period_order}-${o.start_at}`,title:i(o),rows:[...v.values()]}}).filter(o=>o.rows.length>0),D={key:0,class:"mt-8"},M={class:"flex flex-col gap-6"},q=["onClick","onKeyup"],L={class:"ml-1 inline-flex h-3.5 w-3.5 items-center justify-center rounded-full bg-blue-100 text-2xs font-bold text-blue-600"},j={key:0},O={class:"p-0"},A={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},F=e.defineComponent({__name:"InvoiceCreditsBreakdown",props:{invoice:{type:Object}},setup(t){const i=t,{formatDate:n,$t:r,formatMessage:c,formatNumber:u}=_.useIntl(),{getIsOpen:o,toggle:s}=V.useToggleList(),p=f=>c({defaultMessage:"Service period - {startAt} - {endAt}",id:"wallet_balance.service_period_heading",description:"Heading shown above wallet balance details for an invoice period"},{startAt:n({date:f.start_at,format:"date",offsetType:"offsetted",timezone:i.invoice.customer.timezone}),endAt:n({date:f.end_at,format:"date",offsetType:"offsetted",timezone:i.invoice.customer.timezone})}),v=f=>b.formatInvoiceWalletBalanceValue(f,{formatMoney:B.formatAmount,formatQuantity:g=>u(Number(g))}),a=e.computed(()=>T({invoice:i.invoice,getPeriodTitle:p,creditsLabel:c({defaultMessage:"Credits",id:"wallet_balance.credit_type_fallback_label",description:"Fallback label for wallet balance credit types when no name is available"}),walletLabel:c({defaultMessage:"Wallet balance",id:"wallet_balance.wallet_label",description:"Label for a wallet that pays in money, which the invoice does not name; a currency is appended when there are several"}),formatBalance:v}));return(f,g)=>a.value.length>0?(e.openBlock(),e.createElementBlock("section",D,[e.createElementVNode("div",M,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,y=>(e.openBlock(),e.createElementBlock("section",{key:y.id},[e.createVNode(e.unref(N._sfc_main),{class:"mt-4"},{default:e.withCtx(()=>[e.createVNode(e.unref(_._sfc_main),{tag:"h3",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.title),1)]),_:2},1024)]),_:2},1024),e.createVNode(e.unref(l.InvoiceTable),{class:"mt-3"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(e.unref(l._sfc_main$1),{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Wallet balance",id:"wallet_balance.details.header",description:"Section header for invoice wallet balance details"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.rows,d=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d.id},[e.createElementVNode("tr",{class:"cursor-pointer border-t",tabindex:"0",onClick:m=>e.unref(s)(d.id),onKeyup:[e.withKeys(m=>e.unref(s)(d.id),["enter"]),e.withKeys(m=>e.unref(s)(d.id),["space"])]},[e.createVNode(e.unref(l._sfc_main$2),{class:"p-0"},{default:e.withCtx(()=>[e.createVNode(e.unref(w._sfc_main$1),{icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(o)(d.id)}])},null,8,["class"]),e.createTextVNode(" "+e.toDisplayString(d.label)+" ",1),e.createElementVNode("span",L,e.toDisplayString(d.rows.length),1)]),_:2},1024)],40,q),e.unref(o)(d.id)?(e.openBlock(),e.createElementBlock("tr",j,[e.createElementVNode("td",O,[e.createElementVNode("div",A,[e.createVNode(e.unref(l.InvoiceTable),null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(e.unref(l._sfc_main$1),{left:"",class:"w-2/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Wallet breakdown",id:"invoice_credits.wallet_breakdown.table_header",description:"Column header for the wallets that paid the invoice, labelled by credit type or as a wallet balance"})),1)]),_:1}),e.createVNode(e.unref(l._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Balance",id:"invoice_credits.balance.table_header",description:"Column header for the available wallet balance amount"})),1)]),_:1}),e.createVNode(e.unref(l._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Used",id:"invoice_credits.used.table_header",description:"Column header for the used wallet credit amount"})),1)]),_:1}),e.createVNode(e.unref(l._sfc_main$1),{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)({defaultMessage:"Remaining",id:"invoice_credits.remaining.table_header",description:"Column header for the remaining wallet credit amount"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.rows,m=>(e.openBlock(),e.createElementBlock("tr",{key:m.id,class:"border-t"},[e.createVNode(e.unref(l._sfc_main$2),null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.label),1)]),_:2},1024),e.createVNode(e.unref(l._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.available),1)]),_:2},1024),e.createVNode(e.unref(l._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.used),1)]),_:2},1024),e.createVNode(e.unref(l._sfc_main$2),{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.left),1)]),_:2},1024)]))),128))]),_:2},1024)])])])):e.createCommentVNode("",!0)],64))),128))]),_:2},1024)]))),128))])])):e.createCommentVNode("",!0)}}),P=e.defineComponent({__name:"InvoiceBlock",props:{invoice:{type:Object}},setup(t){const{$t:i}=_.useIntl(),{isMobileViewport:n}=C.useViewport();return(r,c)=>(e.openBlock(),e.createBlock(e.unref(x._sfc_main),{class:"sv-invoice__summary grow",title:e.unref(i)({defaultMessage:"Invoice",description:"Title for the invoice block on the invoice details page",id:"sdk.invoice_details.invoice.title"})},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["sv-invoice__summary-body",{"p-6 pt-2":!e.unref(n)}])},[e.unref(n)?(e.openBlock(),e.createBlock(e.unref(I),{key:0,variant:"info","has-icon":"",class:"sv-invoice__download-hint justify-center border-gray-100 bg-gray-50 font-semibold text-gray-800"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Download the PDF for a full breakdown",description:"Download the PDF for a full breakdown",id:"sdk.invoice_details.invoice.download_pdf"})),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(l._sfc_main),{class:"sv-invoice__summary-content",invoice:t.invoice,"is-expandable":!e.unref(n)},{logo:e.withCtx(()=>[e.renderSlot(r.$slots,"logo")]),_:3},8,["invoice","is-expandable"]),e.createVNode(F,{class:"sv-invoice__credits-breakdown",invoice:t.invoice},null,8,["invoice"])],2)]),_:3},8,["title"]))}}),z={class:"sv-invoice sv-root sv-component"},W={class:"sv-invoice__body flex flex-col gap-3 lg:flex-row lg:gap-6"},R={class:"sv-invoice__aside flex shrink-0 flex-col gap-8 lg:w-72 lg:gap-6"},K=e.defineComponent({__name:"Invoice",props:{isLoading:{type:Boolean},invoice:{type:Object},payments:{type:Array},invoiceDownloadService:{type:Function},configuration:{type:Object}},setup(t){const i=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("../../PaymentHistoryBlock-Uw8xeKUk.js"))),{$t:n}=_.useIntl();return(r,c)=>{var u,o;return e.openBlock(),e.createElementBlock("div",z,[e.createVNode(h._sfc_main$1,{class:"sv-invoice__header mb-6",invoice:t.invoice,payments:t.payments,"invoice-download-service":t.invoiceDownloadService,"is-loading":t.isLoading,configuration:t.configuration},null,8,["invoice","payments","invoice-download-service","is-loading","configuration"]),e.createElementVNode("div",W,[t.invoice?(e.openBlock(),e.createBlock(P,{key:0,class:"sv-invoice__main",invoice:t.invoice},null,8,["invoice"])):e.createCommentVNode("",!0),e.createElementVNode("div",R,[e.createVNode($._sfc_main,{class:"sv-invoice__details",invoice:t.invoice},null,8,["invoice"]),(u=t.configuration)!=null&&u.enablePaymentAttempts&&((o=t.payments)!=null&&o.length)?(e.openBlock(),e.createBlock(e.unref(i),{key:0,class:"sv-invoice__payment-history","payment-attempts":t.payments,customer:t.invoice.customer},null,8,["payment-attempts","customer"])):e.createCommentVNode("",!0),t.configuration.enableCustomerBillingInformation?(e.openBlock(),e.createBlock(e.unref(k._sfc_main),{key:1,class:"sv-invoice__billing-information",customer:t.invoice.customer,title:e.unref(n)({defaultMessage:"Your billing information",description:"Title for the billing information on the detailed invoice view",id:"sdk.invoice_details.customer_billing_information.title"})},null,8,["customer","title"])):e.createCommentVNode("",!0)])])])}}}),H=e.defineComponent({__name:"Invoice.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var c;const i=S.getComponentName("invoice"),n=t;if(!((c=n.configuration)!=null&&c.invoiceId))throw new Error("Missing invoice id");const r=e.computed(()=>({...n,configuration:{enableCustomerBillingInformation:!0,enableDownloadButton:!0,enablePaymentAttempts:!0,...n.configuration}}));return(u,o)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main$1),{entry:u.$props,"component-name":e.unref(i),"allowed-portal-types":["CUSTOMER"],onError:o[0]||(o[0]=s=>u.$emit("error",s))},{default:e.withCtx(()=>[e.createVNode(h._sfc_main,{"invoice-id":r.value.configuration.invoiceId},{default:e.withCtx(({invoice:s,payments:p,isLoading:v,invoiceDownloadService:a})=>[s?(e.openBlock(),e.createBlock(K,{key:0,"is-loading":v,invoice:s,"invoice-download-service":a,payments:p.payments.value,configuration:r.value.configuration},null,8,["is-loading","invoice","invoice-download-service","payments","configuration"])):e.createCommentVNode("",!0)]),_:1},8,["invoice-id"])]),_:1},8,["entry","component-name"]))}}),{define:U}=_.createSolvimonElement(H,"invoice");exports.defineSolvimonInvoice=U;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as I, openBlock as i, createElementBlock as _, normalizeClass as L, createElementVNode as u, createBlock as h, unref as e, createCommentVNode as w, renderSlot as A, computed as N, Fragment as M, renderList as j, createVNode as a, withCtx as n, createTextVNode as f, toDisplayString as d, withKeys as T, defineAsyncComponent as z } from "vue";
|
|
2
|
-
import { _ as F } from "../../CustomerBillingInformation.vue.es-
|
|
3
|
-
import { a as O, _ as V, d as W, e as E } from "../../customElements-
|
|
4
|
-
import { a as R, _ as K } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { a as P } from "../../Button.vue.es-
|
|
6
|
-
import { I as D, a as B, b as C, _ as H } from "../../InvoiceSummary.vue.es-
|
|
7
|
-
import { _ as U } from "../../Section.vue.es-
|
|
2
|
+
import { _ as F } from "../../CustomerBillingInformation.vue.es-DhFbpZPK.mjs";
|
|
3
|
+
import { a as O, _ as V, d as W, e as E } from "../../customElements-B58FcXIN.mjs";
|
|
4
|
+
import { a as R, _ as K } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs";
|
|
5
|
+
import { a as P } from "../../Button.vue.es-Cmjfm4jw.mjs";
|
|
6
|
+
import { I as D, a as B, b as C, _ as H } from "../../InvoiceSummary.vue.es-CRiFJ5x-.mjs";
|
|
7
|
+
import { _ as U } from "../../Section.vue.es-DVEpre9O.mjs";
|
|
8
8
|
import { u as Q } from "../../Comparators.vue.es-CwhX3rbx.mjs";
|
|
9
9
|
import { f as Y } from "../../formatting.es-RclXHhKo.mjs";
|
|
10
10
|
import { g as q, a as G, f as J } from "../../wallets.es-eH2C2ygn.mjs";
|
|
11
|
-
import { _ as X } from "../../DividerText.vue.es-
|
|
11
|
+
import { _ as X } from "../../DividerText.vue.es-nAo1eRMV.mjs";
|
|
12
12
|
import { u as Z } from "../../useViewport-BgdA2PPt.mjs";
|
|
13
|
-
import { _ as ee } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { _ as ee } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs";
|
|
14
14
|
import { a as te } from "../../sessionReference-3h-6FdrC.mjs";
|
|
15
15
|
const ae = { class: "flex items-center gap-2" }, ne = /* @__PURE__ */ I({
|
|
16
16
|
__name: "InfoBlock",
|
|
@@ -356,7 +356,7 @@ const ae = { class: "flex items-center gap-2" }, ne = /* @__PURE__ */ I({
|
|
|
356
356
|
},
|
|
357
357
|
setup(t) {
|
|
358
358
|
const r = z(
|
|
359
|
-
() => import("../../PaymentHistoryBlock-
|
|
359
|
+
() => import("../../PaymentHistoryBlock-mCqdFjnL.mjs")
|
|
360
360
|
), { $t: o } = O();
|
|
361
361
|
return (c, m) => {
|
|
362
362
|
var p, l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js"),y=require("../../Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js"),u=require("../../useInvoiceData-CNV_FMV8.js"),s=require("../../customElements-DUMRMFQ5.js"),v=require("../../sessionReference-m_6Rp4X1.js"),g=e.defineComponent({__name:"InvoiceDetails",props:{invoice:{type:Object},isLoading:{type:Boolean},configuration:{type:Object}},setup(t){return(o,i)=>t.isLoading?(e.openBlock(),e.createBlock(y._sfc_main,{key:0,variant:"section",class:"sv-invoice-details sv-root sv-component sv-loading min-h-[100px]"})):(e.openBlock(),e.createBlock(l._sfc_main,{key:1,class:"sv-invoice-details sv-root sv-component",invoice:t.invoice},null,8,["invoice"]))}}),d=e.defineComponent({__name:"InvoiceDetails.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const o=t,i=u.useInvoiceData(o.configuration.invoiceId);return(r,a)=>{var n;return e.renderSlot(r.$slots,"default",{invoice:(n=e.unref(i).data.value)==null?void 0:n.invoice,isLoading:e.unref(i).isPending.value})}}}),m=e.defineComponent({__name:"InvoiceDetails.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var r;const o=v.getComponentName("invoice-details");if(!((r=t.configuration)!=null&&r.invoiceId))throw new Error("Missing invoice id");return(a,n)=>(e.openBlock(),e.createBlock(e.unref(s._sfc_main$1),{entry:a.$props,"component-name":e.unref(o),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=c=>a.$emit("error",c))},{default:e.withCtx(()=>[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(a.$props)),{default:e.withCtx(({invoice:c,isLoading:p})=>[c?(e.openBlock(),e.createBlock(g,{key:0,"is-loading":p,invoice:c,configuration:t.configuration},null,8,["is-loading","invoice","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:f}=s.createSolvimonElement(m,"invoice-details");exports.defineSolvimonInvoiceDetails=f;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as l, openBlock as a, createBlock as s, renderSlot as
|
|
2
|
-
import { _ as S } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ } from "../../Skeleton.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as O } from "../../useInvoiceData-
|
|
5
|
-
import { d as b, e as j } from "../../customElements-
|
|
1
|
+
import { defineComponent as l, openBlock as a, createBlock as s, renderSlot as g, unref as c, withCtx as y, createVNode as d, normalizeProps as v, guardReactiveProps as u, createCommentVNode as f } from "vue";
|
|
2
|
+
import { _ as S } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs";
|
|
3
|
+
import { _ } from "../../Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs";
|
|
4
|
+
import { u as O } from "../../useInvoiceData-BocKdeg7.mjs";
|
|
5
|
+
import { d as b, e as j } from "../../customElements-B58FcXIN.mjs";
|
|
6
6
|
import { a as w } from "../../sessionReference-3h-6FdrC.mjs";
|
|
7
7
|
const C = /* @__PURE__ */ l({
|
|
8
8
|
__name: "InvoiceDetails",
|
|
@@ -12,11 +12,10 @@ const C = /* @__PURE__ */ l({
|
|
|
12
12
|
configuration: { type: Object }
|
|
13
13
|
},
|
|
14
14
|
setup(e) {
|
|
15
|
-
return (p,
|
|
15
|
+
return (p, t) => e.isLoading ? (a(), s(_, {
|
|
16
16
|
key: 0,
|
|
17
17
|
variant: "section",
|
|
18
|
-
class: "sv-invoice-details sv-root sv-component sv-loading min-h-[100px]"
|
|
19
|
-
"data-testid": "invoice-details-skeleton"
|
|
18
|
+
class: "sv-invoice-details sv-root sv-component sv-loading min-h-[100px]"
|
|
20
19
|
})) : (a(), s(S, {
|
|
21
20
|
key: 1,
|
|
22
21
|
class: "sv-invoice-details sv-root sv-component",
|
|
@@ -43,12 +42,12 @@ const C = /* @__PURE__ */ l({
|
|
|
43
42
|
configuration: { type: Object }
|
|
44
43
|
},
|
|
45
44
|
setup(e) {
|
|
46
|
-
const
|
|
45
|
+
const t = O(e.configuration.invoiceId);
|
|
47
46
|
return (n, i) => {
|
|
48
|
-
var
|
|
49
|
-
return
|
|
50
|
-
invoice: (
|
|
51
|
-
isLoading: c(
|
|
47
|
+
var o;
|
|
48
|
+
return g(n.$slots, "default", {
|
|
49
|
+
invoice: (o = c(t).data.value) == null ? void 0 : o.invoice,
|
|
50
|
+
isLoading: c(t).isPending.value
|
|
52
51
|
});
|
|
53
52
|
};
|
|
54
53
|
}
|
|
@@ -76,14 +75,14 @@ const C = /* @__PURE__ */ l({
|
|
|
76
75
|
const p = w("invoice-details");
|
|
77
76
|
if (!((n = e.configuration) != null && n.invoiceId))
|
|
78
77
|
throw new Error("Missing invoice id");
|
|
79
|
-
return (i,
|
|
78
|
+
return (i, o) => (a(), s(c(b), {
|
|
80
79
|
entry: i.$props,
|
|
81
80
|
"component-name": c(p),
|
|
82
81
|
"allowed-portal-types": ["CUSTOMER"],
|
|
83
|
-
onError:
|
|
82
|
+
onError: o[0] || (o[0] = (r) => i.$emit("error", r))
|
|
84
83
|
}, {
|
|
85
84
|
default: y(() => [
|
|
86
|
-
|
|
85
|
+
d(L, v(u(i.$props)), {
|
|
87
86
|
default: y(({ invoice: r, isLoading: m }) => [
|
|
88
87
|
r ? (a(), s(C, {
|
|
89
88
|
key: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js"),s=require("../../customElements-DUMRMFQ5.js"),m=require("../../sessionReference-m_6Rp4X1.js"),v=e.defineComponent({__name:"InvoiceHeader.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(p){var r;const l=m.getComponentName("invoice-header"),o=p;if(!((r=o.configuration)!=null&&r.invoiceId))throw new Error("Missing invoice id");const t=e.computed(()=>({...o,configuration:{enableDownloadButton:!0,...o.configuration}}));return(i,a)=>(e.openBlock(),e.createBlock(e.unref(s._sfc_main$1),{entry:i.$props,"component-name":e.unref(l),"allowed-portal-types":["CUSTOMER"],onError:a[0]||(a[0]=n=>i.$emit("error",n))},{default:e.withCtx(()=>[e.createVNode(c._sfc_main,{"invoice-id":t.value.configuration.invoiceId},{default:e.withCtx(({invoice:n,payments:u,isLoading:d,invoiceDownloadService:y})=>[n?(e.openBlock(),e.createBlock(c._sfc_main$1,{key:0,"is-loading":d,invoice:n,"invoice-download-service":y,payments:u.payments.value,configuration:t.value.configuration},null,8,["is-loading","invoice","invoice-download-service","payments","configuration"])):e.createCommentVNode("",!0)]),_:1},8,["invoice-id"])]),_:1},8,["entry","component-name"]))}}),{define:g}=s.createSolvimonElement(v,"invoice-header");exports.defineSolvimonInvoiceHeader=g;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as f, computed as g, openBlock as a, createBlock as c, unref as p, withCtx as s, createVNode as v, createCommentVNode as S } from "vue";
|
|
2
|
-
import { _, a as w } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { d as b, e as C } from "../../customElements-
|
|
2
|
+
import { _, a as w } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs";
|
|
3
|
+
import { d as b, e as C } from "../../customElements-B58FcXIN.mjs";
|
|
4
4
|
import { a as O } from "../../sessionReference-3h-6FdrC.mjs";
|
|
5
5
|
const j = /* @__PURE__ */ f({
|
|
6
6
|
__name: "InvoiceHeader.entry",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("../../useInvoicesList-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("../../useInvoicesList-S0IbQcrD.js"),y=require("../../useLoadInitialData-D_R6Jy1s.js"),p=require("../../customElements-DUMRMFQ5.js"),u=require("../../sessionReference-m_6Rp4X1.js"),m=15,d=e.defineComponent({__name:"InvoicesList.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(a){var i,s;const r=a,o=r.portalObject.customer_id,n=c.useInvoicesList({customerId:o,batchSize:((s=(i=r.configuration)==null?void 0:i.pagination)==null?void 0:s.batchSize)||m}),{isLoading:t}=y.useLoadInitialData(n.fetchInitial());return(l,S)=>e.renderSlot(l.$slots,"default",{isLoading:e.unref(t),invoices:e.unref(n)})}}),g=e.defineComponent({__name:"InvoicesList.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(a){const r=u.getComponentName("invoices-list");return(o,n)=>(e.openBlock(),e.createBlock(e.unref(p._sfc_main$1),{entry:o.$props,"component-name":e.unref(r),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=t=>o.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({invoices:t,isLoading:i})=>[e.createVNode(c._sfc_main,{configuration:a.configuration,invoices:t.items.value,"is-loading":i,"has-more-items":t.hasNextBatch.value,onLoadMore:t.fetchMore},null,8,["configuration","invoices","is-loading","has-more-items","onLoadMore"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:f}=p.createSolvimonElement(g,"invoices-list");exports.defineSolvimonInvoicesList=f;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, renderSlot as m, unref as i, openBlock as g, createBlock as d, withCtx as p, createVNode as c, normalizeProps as u, guardReactiveProps as f } from "vue";
|
|
2
|
-
import { u as S, _ as v } from "../../useInvoicesList-
|
|
3
|
-
import { u as L } from "../../useLoadInitialData-
|
|
4
|
-
import { d as _, e as b } from "../../customElements-
|
|
2
|
+
import { u as S, _ as v } from "../../useInvoicesList-C8nsXMJ6.mjs";
|
|
3
|
+
import { u as L } from "../../useLoadInitialData-D9GkzY8t.mjs";
|
|
4
|
+
import { d as _, e as b } from "../../customElements-B58FcXIN.mjs";
|
|
5
5
|
import { a as O } from "../../sessionReference-3h-6FdrC.mjs";
|
|
6
6
|
const h = 15, j = /* @__PURE__ */ l({
|
|
7
7
|
__name: "InvoicesList.entry.view",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js"),l=require("../../Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js"),u=require("../../useInvoiceData-CNV_FMV8.js"),c=require("../../customElements-DUMRMFQ5.js"),g=require("../../sessionReference-m_6Rp4X1.js"),d=e.defineComponent({__name:"PaymentHistory",props:{customer:{type:Object},paymentAttempts:{type:Array},isLoading:{type:Boolean},configuration:{type:Object}},setup(t){return(a,o)=>t.isLoading?(e.openBlock(),e.createBlock(l._sfc_main,{key:0,variant:"section",class:"sv-payment-history sv-root sv-component sv-loading min-h-[100px]"})):t.paymentAttempts.length?(e.openBlock(),e.createBlock(m._sfc_main,{key:1,class:"sv-payment-history sv-root sv-component","payment-attempts":t.paymentAttempts,customer:t.customer},null,8,["payment-attempts","customer"])):e.createCommentVNode("",!0)}}),v=e.defineComponent({__name:"PaymentHistory.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const a=t,o=u.useInvoiceData(a.configuration.invoiceId);return(i,s)=>{var r,n;return e.renderSlot(i.$slots,"default",{invoice:(r=e.unref(o).data.value)==null?void 0:r.invoice,paymentAttempts:(n=e.unref(o).data.value)==null?void 0:n.paymentAttempts.data,isLoading:e.unref(o).isPending.value})}}}),f=e.defineComponent({__name:"PaymentHistory.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){var i;const a=g.getComponentName("payment-history");if(!((i=t.configuration)!=null&&i.invoiceId))throw new Error("Missing invoice id");return(s,r)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:s.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:r[0]||(r[0]=n=>s.$emit("error",n))},{default:e.withCtx(()=>[e.createVNode(v,e.normalizeProps(e.guardReactiveProps(s.$props)),{default:e.withCtx(({invoice:n,paymentAttempts:p,isLoading:y})=>[n&&p?(e.openBlock(),e.createBlock(d,{key:0,"is-loading":y,customer:n.customer,"payment-attempts":p,configuration:t.configuration},null,8,["is-loading","customer","payment-attempts","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:_}=c.createSolvimonElement(f,"payment-history");exports.defineSolvimonPaymentHistory=_;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as O } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as b } from "../../Skeleton.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as _ } from "../../useInvoiceData-
|
|
5
|
-
import { d as
|
|
1
|
+
import { defineComponent as y, openBlock as s, createBlock as p, createCommentVNode as u, renderSlot as d, unref as r, withCtx as l, createVNode as f, normalizeProps as v, guardReactiveProps as S } from "vue";
|
|
2
|
+
import { _ as O } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs";
|
|
3
|
+
import { _ as b } from "../../Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs";
|
|
4
|
+
import { u as _ } from "../../useInvoiceData-BocKdeg7.mjs";
|
|
5
|
+
import { d as j, e as h } from "../../customElements-B58FcXIN.mjs";
|
|
6
6
|
import { a as A } from "../../sessionReference-3h-6FdrC.mjs";
|
|
7
|
-
const w = /* @__PURE__ */
|
|
7
|
+
const w = /* @__PURE__ */ y({
|
|
8
8
|
__name: "PaymentHistory",
|
|
9
9
|
props: {
|
|
10
10
|
customer: { type: Object },
|
|
@@ -13,11 +13,10 @@ const w = /* @__PURE__ */ m({
|
|
|
13
13
|
configuration: { type: Object }
|
|
14
14
|
},
|
|
15
15
|
setup(t) {
|
|
16
|
-
return (
|
|
16
|
+
return (m, o) => t.isLoading ? (s(), p(b, {
|
|
17
17
|
key: 0,
|
|
18
18
|
variant: "section",
|
|
19
|
-
class: "sv-payment-history sv-root sv-component sv-loading min-h-[100px]"
|
|
20
|
-
"data-testid": "payment-history-skeleton"
|
|
19
|
+
class: "sv-payment-history sv-root sv-component sv-loading min-h-[100px]"
|
|
21
20
|
})) : t.paymentAttempts.length ? (s(), p(O, {
|
|
22
21
|
key: 1,
|
|
23
22
|
class: "sv-payment-history sv-root sv-component",
|
|
@@ -25,7 +24,7 @@ const w = /* @__PURE__ */ m({
|
|
|
25
24
|
customer: t.customer
|
|
26
25
|
}, null, 8, ["payment-attempts", "customer"])) : u("", !0);
|
|
27
26
|
}
|
|
28
|
-
}), C = /* @__PURE__ */
|
|
27
|
+
}), C = /* @__PURE__ */ y({
|
|
29
28
|
__name: "PaymentHistory.entry.view",
|
|
30
29
|
props: {
|
|
31
30
|
environment: { type: String },
|
|
@@ -55,7 +54,7 @@ const w = /* @__PURE__ */ m({
|
|
|
55
54
|
});
|
|
56
55
|
};
|
|
57
56
|
}
|
|
58
|
-
}), L = /* @__PURE__ */
|
|
57
|
+
}), L = /* @__PURE__ */ y({
|
|
59
58
|
__name: "PaymentHistory.entry",
|
|
60
59
|
props: {
|
|
61
60
|
environment: { type: String },
|
|
@@ -76,12 +75,12 @@ const w = /* @__PURE__ */ m({
|
|
|
76
75
|
},
|
|
77
76
|
setup(t) {
|
|
78
77
|
var a;
|
|
79
|
-
const
|
|
78
|
+
const m = A("payment-history");
|
|
80
79
|
if (!((a = t.configuration) != null && a.invoiceId))
|
|
81
80
|
throw new Error("Missing invoice id");
|
|
82
|
-
return (i, n) => (s(), p(r(
|
|
81
|
+
return (i, n) => (s(), p(r(j), {
|
|
83
82
|
entry: i.$props,
|
|
84
|
-
"component-name": r(
|
|
83
|
+
"component-name": r(m),
|
|
85
84
|
"allowed-portal-types": ["CUSTOMER"],
|
|
86
85
|
onError: n[0] || (n[0] = (e) => i.$emit("error", e))
|
|
87
86
|
}, {
|
|
@@ -102,7 +101,7 @@ const w = /* @__PURE__ */ m({
|
|
|
102
101
|
_: 1
|
|
103
102
|
}, 8, ["entry", "component-name"]));
|
|
104
103
|
}
|
|
105
|
-
}), { define: F } =
|
|
104
|
+
}), { define: F } = h(
|
|
106
105
|
L,
|
|
107
106
|
"payment-history"
|
|
108
107
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),y=require("../../customer.es-BButyYo0.js"),u=require("../../useLoadInitialData-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),y=require("../../customer.es-BButyYo0.js"),u=require("../../useLoadInitialData-D_R6Jy1s.js"),l=require("../../useCustomer-BwZKd9i5.js"),d=require("../../usePaymentMethodOptions-CuzOoi2k.js"),g=require("../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js"),m=require("../../customElements-DUMRMFQ5.js"),f=require("../../sessionReference-m_6Rp4X1.js"),S=e.defineComponent({__name:"PaymentMethodForm.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object},countryCode:{type:String}},setup(r){const a=r,i=l.useCustomer({customerId:a.portalObject.customer_id}),n=d.usePaymentMethodOptions(),s=async()=>{var c;const o=await i.get.execute(),p=y.getCustomerCountry(o);await n.get({customerId:o.id,country:p,amount:(c=a.configuration)==null?void 0:c.amount})},{isLoading:t}=u.useLoadInitialData(s());return(o,p)=>e.renderSlot(o.$slots,"default",{customer:e.unref(i).customer.value,paymentMethodOptions:e.unref(n),isLoading:e.unref(t)})}}),O=e.defineComponent({__name:"PaymentMethodForm.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object},countryCode:{type:String}},setup(r){const a=f.getComponentName("payment-method-form"),i=r;return(n,s)=>(e.openBlock(),e.createBlock(e.unref(m._sfc_main$1),{entry:n.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:s[0]||(s[0]=t=>n.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(S,e.normalizeProps(e.guardReactiveProps(i)),{default:e.withCtx(({customer:t,paymentMethodOptions:o,isLoading:p})=>[t?(e.openBlock(),e.createBlock(g._sfc_main,{key:0,customer:t,"payment-method-options":o.paymentMethodOptions.value,configuration:r.configuration,"is-loading":p},null,8,["customer","payment-method-options","configuration","is-loading"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:_}=m.createSolvimonElement(O,"payment-method-form");exports.defineSolvimonPaymentMethodForm=_;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as d, renderSlot as u, unref as n, openBlock as y, createBlock as c, withCtx as l, createVNode as g, normalizeProps as f, guardReactiveProps as S, createCommentVNode as O } from "vue";
|
|
2
2
|
import { g as h } from "../../customer.es-B5ppZf0j.mjs";
|
|
3
|
-
import { u as C } from "../../useLoadInitialData-
|
|
4
|
-
import { u as b } from "../../useCustomer-
|
|
5
|
-
import { u as _ } from "../../usePaymentMethodOptions-
|
|
6
|
-
import { _ as v } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { d as j, e as L } from "../../customElements-
|
|
3
|
+
import { u as C } from "../../useLoadInitialData-D9GkzY8t.mjs";
|
|
4
|
+
import { u as b } from "../../useCustomer-B-jyJIVy.mjs";
|
|
5
|
+
import { u as _ } from "../../usePaymentMethodOptions-1vRAo6Ib.mjs";
|
|
6
|
+
import { _ as v } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs";
|
|
7
|
+
import { d as j, e as L } from "../../customElements-B58FcXIN.mjs";
|
|
8
8
|
import { a as w } from "../../sessionReference-3h-6FdrC.mjs";
|
|
9
9
|
const M = /* @__PURE__ */ d({
|
|
10
10
|
__name: "PaymentMethodForm.entry.view",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js"),u=require("../../useSubscription-D787IXY-.js"),l=require("../../useLoadInitialData-D_R6Jy1s.js"),c=require("../../customElements-DUMRMFQ5.js"),y=require("../../sessionReference-m_6Rp4X1.js"),d=e.defineComponent({__name:"SubscriptionSchedules.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(n){const s=n,{subscription:o,withPlanData:r,get:i}=u.useSubscription({subscriptionId:s.configuration.subscriptionId}),{isLoading:t}=l.useLoadInitialData(i());return(a,S)=>e.renderSlot(a.$slots,"default",{schedulesData:e.unref(o)?e.unref(r)(e.unref(o)):void 0,isLoading:e.unref(t)})}}),g=e.defineComponent({__name:"SubscriptionSchedules.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(n){const s=y.getComponentName("subscription-schedules"),o=n;return(r,i)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:r.$props,"component-name":e.unref(s),"allowed-portal-types":["CUSTOMER"],onError:i[0]||(i[0]=t=>r.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(o)),{default:e.withCtx(({schedulesData:t,isLoading:a})=>[t?(e.openBlock(),e.createBlock(p._sfc_main,{key:0,"schedules-data":t,"is-loading":a,configuration:n.configuration},null,8,["schedules-data","is-loading","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:m}=c.createSolvimonElement(g,"subscription-schedules");exports.defineSolvimonSubscriptionSchedules=m;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as y, renderSlot as u, unref as t, openBlock as p, createBlock as c, withCtx as l, createVNode as m, normalizeProps as d, guardReactiveProps as g, createCommentVNode as S } from "vue";
|
|
2
|
-
import { _ as f } from "../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as b } from "../../useSubscription-
|
|
4
|
-
import { u as O } from "../../useLoadInitialData-
|
|
5
|
-
import { d as _, e as h } from "../../customElements-
|
|
2
|
+
import { _ as f } from "../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs";
|
|
3
|
+
import { u as b } from "../../useSubscription-BZJL0VOA.mjs";
|
|
4
|
+
import { u as O } from "../../useLoadInitialData-D9GkzY8t.mjs";
|
|
5
|
+
import { d as _, e as h } from "../../customElements-B58FcXIN.mjs";
|
|
6
6
|
import { a as v } from "../../sessionReference-3h-6FdrC.mjs";
|
|
7
7
|
const j = /* @__PURE__ */ y({
|
|
8
8
|
__name: "SubscriptionSchedules.entry.view",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../../SubscriptionsList.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../../SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js"),y=require("../../useCustomer-BwZKd9i5.js"),m=require("../../useLoadInitialData-D_R6Jy1s.js"),d=require("../../usePaymentMethods-DDaTZQZp.js"),l=require("../../customElements-DUMRMFQ5.js"),g=require("../../sessionReference-m_6Rp4X1.js"),f=e.defineComponent({__name:"SubscriptionsList.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(s){const t=s.portalObject.customer_id,n=y.useCustomer({customerId:t}),o=u.useSubscriptionsList({customerId:t}),r=d.usePaymentMethods({customerId:t}),{isLoading:i}=m.useLoadInitialData(n.get.execute(),o.fetchInitial(),r.fetchAll());return(a,c)=>e.renderSlot(a.$slots,"default",{customer:e.unref(n),subscriptions:e.unref(o).items,paymentMethods:e.unref(r).items,isLoading:e.unref(i),loadMore:e.unref(o).fetchMore})}}),S=e.defineComponent({__name:"SubscriptionsList.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(s){const p=g.getComponentName("subscriptions-list");return(t,n)=>(e.openBlock(),e.createBlock(e.unref(l._sfc_main$1),{entry:t.$props,"component-name":e.unref(p),"allowed-portal-types":["CUSTOMER"],onError:n[0]||(n[0]=o=>t.$emit("error",o))},{default:e.withCtx(()=>[e.createVNode(f,e.normalizeProps(e.guardReactiveProps(t.$props)),{default:e.withCtx(({customer:o,subscriptions:r,paymentMethods:i,isLoading:a,loadMore:c})=>[e.createVNode(u._sfc_main,{configuration:s.configuration,customer:o.customer.value,subscriptions:r.value,"payment-methods":i.value,"is-loading":a,onLoadMore:c},null,8,["configuration","customer","subscriptions","payment-methods","is-loading","onLoadMore"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:b}=l.createSolvimonElement(S,"subscriptions-list");exports.defineSolvimonSubscriptionsList=b;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as y, renderSlot as u, unref as o, openBlock as d, createBlock as g, withCtx as m, createVNode as l, normalizeProps as f, guardReactiveProps as S } from "vue";
|
|
2
|
-
import { u as b, _ as L } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as O } from "../../useCustomer-
|
|
4
|
-
import { u as _ } from "../../useLoadInitialData-
|
|
5
|
-
import { u as v } from "../../usePaymentMethods-
|
|
6
|
-
import { d as h, e as j } from "../../customElements-
|
|
2
|
+
import { u as b, _ as L } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs";
|
|
3
|
+
import { u as O } from "../../useCustomer-B-jyJIVy.mjs";
|
|
4
|
+
import { u as _ } from "../../useLoadInitialData-D9GkzY8t.mjs";
|
|
5
|
+
import { u as v } from "../../usePaymentMethods-CbwnGONc.mjs";
|
|
6
|
+
import { d as h, e as j } from "../../customElements-B58FcXIN.mjs";
|
|
7
7
|
import { a as C } from "../../sessionReference-3h-6FdrC.mjs";
|
|
8
8
|
const M = /* @__PURE__ */ y({
|
|
9
9
|
__name: "SubscriptionsList.entry.view",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../../error-CmduqgVq.js"),i=require("../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("../../error-CmduqgVq.js"),i=require("../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js"),y=require("../../useLoadInitialData-D_R6Jy1s.js"),c=require("../../customElements-DUMRMFQ5.js"),m=require("../../sessionReference-m_6Rp4X1.js"),d=e.defineComponent({__name:"WalletBalances",props:{hasError:{type:Boolean},isLoading:{type:Boolean},walletBalances:{type:Array},showTopUpButton:{type:Boolean},customer:{type:Object},paymentMethods:{type:Array},subscriptions:{type:Array}},emits:["top-up-charged","auto-top-up-saved","auto-top-up-cancelled","payment-method-stored","payment-failed"],setup(n,{emit:s}){const o=s;return(r,t)=>(e.openBlock(),e.createBlock(i._sfc_main,{class:"sv-wallet-balances sv-root sv-component","has-error":n.hasError,"is-loading":n.isLoading,"wallet-balances":n.walletBalances,"show-top-up-button":n.showTopUpButton,customer:n.customer,"payment-methods":n.paymentMethods,subscriptions:n.subscriptions,onTopUpCharged:t[0]||(t[0]=a=>o("top-up-charged")),onAutoTopUpSaved:t[1]||(t[1]=a=>o("auto-top-up-saved")),onAutoTopUpCancelled:t[2]||(t[2]=a=>o("auto-top-up-cancelled")),onPaymentMethodStored:t[3]||(t[3]=a=>o("payment-method-stored")),onPaymentFailed:t[4]||(t[4]=a=>o("payment-failed",a))},null,8,["has-error","is-loading","wallet-balances","show-top-up-button","customer","payment-methods","subscriptions"]))}}),g=e.defineComponent({__name:"WalletBalances.entry.view",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(n){const o=n.portalObject.customer_id,r=i.useCustomerWalletBalances({customerId:o}),{walletBalances:t}=r,{isLoading:a}=y.useLoadInitialData(r.fetch());return(l,v)=>{var p;return e.renderSlot(l.$slots,"default",{customerWalletBalances:e.unref(r),walletBalanceItems:((p=e.unref(t))==null?void 0:p.wallet_balances)??[],isLoading:e.unref(a)})}}}),b=e.defineComponent({__name:"WalletBalances.entry",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(n){const s=m.getComponentName("wallet-balances");return(o,r)=>(e.openBlock(),e.createBlock(e.unref(c._sfc_main$1),{entry:o.$props,"component-name":e.unref(s),"allowed-portal-types":["CUSTOMER"],onError:r[0]||(r[0]=t=>o.$emit("error",t))},{default:e.withCtx(()=>[e.createVNode(g,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({customerWalletBalances:t,walletBalanceItems:a,isLoading:l})=>[e.createVNode(d,{"has-error":t.apiStatus.value===e.unref(u.ApiStatus).Failed,"is-loading":l,"wallet-balances":a},null,8,["has-error","is-loading","wallet-balances"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:S}=c.createSolvimonElement(b,"wallet-balances");exports.defineSolvimonWalletBalances=S;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as y, createBlock as u, renderSlot as d, unref as r, withCtx as m, createVNode as c, normalizeProps as g, guardReactiveProps as b } from "vue";
|
|
2
2
|
import { A as S } from "../../error-BHVZJGwD.mjs";
|
|
3
|
-
import { _ as w, u as f } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as v } from "../../useLoadInitialData-
|
|
5
|
-
import { d as B, e as h } from "../../customElements-
|
|
3
|
+
import { _ as w, u as f } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs";
|
|
4
|
+
import { u as v } from "../../useLoadInitialData-D9GkzY8t.mjs";
|
|
5
|
+
import { d as B, e as h } from "../../customElements-B58FcXIN.mjs";
|
|
6
6
|
import { a as A } from "../../sessionReference-3h-6FdrC.mjs";
|
|
7
7
|
const O = /* @__PURE__ */ p({
|
|
8
8
|
__name: "WalletBalances",
|
|
@@ -4612,7 +4612,7 @@ function mt() {
|
|
|
4612
4612
|
};
|
|
4613
4613
|
return { debug: e, info: e, warn: e, error: e, capture: e };
|
|
4614
4614
|
}
|
|
4615
|
-
const Ea = "0.1.0-alpha.
|
|
4615
|
+
const Ea = "0.1.0-alpha.27";
|
|
4616
4616
|
class Q extends Error {
|
|
4617
4617
|
constructor({
|
|
4618
4618
|
statusCode: r,
|
|
@@ -5126,10 +5126,10 @@ function Fe(t) {
|
|
|
5126
5126
|
return po.has(t);
|
|
5127
5127
|
}
|
|
5128
5128
|
const uo = {
|
|
5129
|
-
"en-US": () => import("./en-US-
|
|
5130
|
-
"nl-NL": () => import("./nl-NL-
|
|
5131
|
-
"de-DE": () => import("./de-DE-
|
|
5132
|
-
"it-IT": () => import("./it-IT-
|
|
5129
|
+
"en-US": () => import("./en-US-DQ5vlv9Z.mjs"),
|
|
5130
|
+
"nl-NL": () => import("./nl-NL-UiRWbO9S.mjs"),
|
|
5131
|
+
"de-DE": () => import("./de-DE-DKp5LCu0.mjs"),
|
|
5132
|
+
"it-IT": () => import("./it-IT-BgFVsO5S.mjs")
|
|
5133
5133
|
}, mo = {
|
|
5134
5134
|
"en-US": () => import("./en-US-SDhjlY_v.mjs"),
|
|
5135
5135
|
"nl-NL": () => import("./nl-NL-D0MQKaql.mjs"),
|