@solvimon/solvimon-web 0.1.0-alpha.18 → 0.1.0-alpha.19
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 +70 -31
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang--AVI4Q4E.js +1 -0
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-C2IRj-FB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Y3CzulQq.mjs} +6 -3
- package/dist/Amount.vue.es-CRG-6dps.mjs +23 -0
- package/dist/Amount.vue.es-CeW8S7kT.js +1 -0
- package/dist/Avatar.vue.es-ClUBm_l5.js +1 -0
- package/dist/Avatar.vue.es-DJp6NEU_.mjs +91 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BWnZ98RQ.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BUMK11Dw.mjs} +15 -7
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DzrInCPA.js +1 -0
- package/dist/Button.vue.es-BrWHdiEA.mjs +453 -0
- package/dist/Button.vue.es-aLcIdATK.js +1 -0
- package/dist/Chip.vue.es-DPGTweAr.mjs +164 -0
- package/dist/Chip.vue.es-q4c-DXXl.js +1 -0
- package/dist/Comparators.vue.es-CU32AC4n.mjs +120 -0
- package/dist/Comparators.vue.es-CfVGYJ_x.js +1 -0
- package/dist/ContextMenu.vue.es-BBPFQfqY.mjs +681 -0
- package/dist/ContextMenu.vue.es-C_TL7-kg.js +1 -0
- package/dist/CustomerBillingInformation.vue.es-CLmXk5B9.mjs +175 -0
- package/dist/CustomerBillingInformation.vue.es-s-LYXA4T.js +1 -0
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +1 -0
- package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +4 -0
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-D7gL7dZX.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B2CtcBm0.mjs} +17 -10
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CMIVAoQq.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BP-VRwEM.js +1 -0
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-OUg4yv7r.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Bej5_H7r.mjs} +823 -216
- package/dist/Divider.vue.es-ClFG8QtG.js +1 -0
- package/dist/Divider.vue.es-wKkIVBgb.mjs +24 -0
- package/dist/DividerText.vue.es-D5ieOE1e.js +1 -0
- package/dist/DividerText.vue.es-DMg-DNgi.mjs +72 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-5I81Qr6q.js +1 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CTG5XdQt.mjs +562 -0
- package/dist/ErrorNotification.vue.es-BX3khKFc.js +1 -0
- package/dist/ErrorNotification.vue.es-C22Kt8Qn.mjs +30 -0
- package/dist/Expand.vue.es-C-lnbA1v.js +1 -0
- package/dist/Expand.vue.es-C4_XmqbR.mjs +50 -0
- package/dist/FormMessage.vue.es-DFQXxiSC.mjs +46 -0
- package/dist/FormMessage.vue.es-LeWoj774.js +1 -0
- package/dist/IconButton.vue.es-CVFn0Ntj.js +1 -0
- package/dist/IconButton.vue.es-DcC4f5EQ.mjs +231 -0
- package/dist/IconTitle.vue.es-DoN4GVde.js +1 -0
- package/dist/IconTitle.vue.es-mQCMxc64.mjs +105 -0
- package/dist/Input.vue.es-C8VhMKuI.js +1 -0
- package/dist/Input.vue.es-Dp_RH03h.mjs +239 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DbY35gE_.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-56fy6uY6.mjs} +2 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CLUcV3qa.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-flgEyaoj.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-ztaMeHQc.mjs +49 -0
- package/dist/InvoiceSummary.vue.es-emE-mCFh.js +1 -0
- package/dist/InvoiceSummary.vue.es-nCYeQ4tj.mjs +2558 -0
- package/dist/Modal.vue.es-5EpA4Q0t.mjs +367 -0
- package/dist/Modal.vue.es-CX5geho3.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-B_IIOBjg.js +1 -0
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBMgilG2.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-D7IX9qqy.mjs} +4 -2
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CupZFJSF.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-C8nvN-6f.mjs} +3 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D1oKZZ_m.js +1 -0
- package/dist/{PaymentHistoryBlock-Bxr8lUGs.mjs → PaymentHistoryBlock-Dejtgyos.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-COjIVYX4.js → PaymentHistoryBlock-RBxlC5xt.js} +1 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BdfWchcQ.js +1 -0
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CDjGab5p.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dk52bjJd.mjs} +5 -1
- package/dist/{PaymentIntegrationForm-BSauhuKv.js → PaymentIntegrationForm-BWr7iyU6.js} +1 -1
- package/dist/{PaymentIntegrationForm-PIT8gHYN.mjs → PaymentIntegrationForm-CbqfAdkc.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D8fkE1yG.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-COO2ZUhN.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJHwpswk.mjs} +4 -3
- package/dist/PaymentIntegrationFormAdyen-BjPpoLF7.js +1 -0
- package/dist/{PaymentIntegrationFormAdyen-Cjj9aK0E.mjs → PaymentIntegrationFormAdyen-CuRwe9_9.mjs} +78 -116
- package/dist/PaymentIntegrationFormStripe-51KZc27R.js +1 -0
- package/dist/{PaymentIntegrationFormStripe-arpua_ZT.mjs → PaymentIntegrationFormStripe-JZw2m1kJ.mjs} +7 -7
- package/dist/PaymentMethod.vue.es-CH__kPw4.mjs +636 -0
- package/dist/PaymentMethod.vue.es-uVZO0Zju.js +1 -0
- package/dist/{PaymentMethodForm-B7T5rrNz.mjs → PaymentMethodForm-C5WqTDow.mjs} +1 -1
- package/dist/{PaymentMethodForm-CLz3ZS-b.js → PaymentMethodForm-CBjHdZT7.js} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BktA5F4r.js +1 -0
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-C4Zf92QP.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DhPTbip8.mjs} +5 -2
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIIt6fGp.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DbTvbHk7.mjs} +7 -3
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-XPz73RVU.js +1 -0
- package/dist/PricingGroupRangeInput.vue.es-A6eW-u2k.mjs +636 -0
- package/dist/PricingGroupRangeInput.vue.es-BuQeJCEX.js +1 -0
- package/dist/Section.vue.es-MEFUWCxU.mjs +79 -0
- package/dist/Section.vue.es-tLYXp-tF.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Jk34S5B7.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xvgyB2Yr.mjs +1050 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-B_Zkbqx2.mjs +6105 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-CttBs_G8.js +1 -0
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-z8P1u1Gi.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-Cj36jvZF.mjs} +2 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Dl5Lg39D.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CTnTWaB8.js +1 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BOUSk2ZB.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CfXgGKXA.mjs} +7 -4
- package/dist/TooltipParagraph.vue.es-B5aHQv9O.mjs +136 -0
- package/dist/TooltipParagraph.vue.es-fSwKGXKg.js +1 -0
- package/dist/TrialChip.vue.es-0nrqSZeY.js +1 -0
- package/dist/TrialChip.vue.es-Fp7Lqo-b.mjs +56 -0
- package/dist/api.es-C5pe8LUl.mjs +62 -0
- package/dist/api.es-Czekkp_X.js +1 -0
- package/dist/cn.es-BLHlMR4Y.js +1 -0
- package/dist/cn.es-DB5pDpxS.mjs +3298 -0
- package/dist/comparators.es-9VsCB-JI.mjs +175 -0
- package/dist/comparators.es-wrKHduVq.js +1 -0
- package/dist/component-BG6DmXcy.mjs +9 -0
- package/dist/component-hDuDTBt5.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -0
- package/dist/components/BillingInformation/{BillingInformation.es.js → BillingInformation.mjs} +15 -26
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -0
- package/dist/components/BillingInformationForm/{BillingInformationForm.es.js → BillingInformationForm.mjs} +42 -128
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -0
- package/dist/components/CustomerPaymentMethods/{CustomerPaymentMethods.es.js → CustomerPaymentMethods.mjs} +18 -51
- package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
- package/dist/components/Invoice/Invoice.cjs +1 -0
- package/dist/components/Invoice/{Invoice.es.js → Invoice.mjs} +73 -79
- package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -0
- package/dist/components/InvoiceDetails/{InvoiceDetails.es.js → InvoiceDetails.mjs} +12 -24
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -3
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +73 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -0
- package/dist/components/InvoicesList/{InvoicesList.es.js → InvoicesList.mjs} +12 -24
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -0
- package/dist/components/PaymentHistory/{PaymentHistory.es.js → PaymentHistory.mjs} +12 -24
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -0
- package/dist/components/PaymentMethodForm/{PaymentMethodForm.es.js → PaymentMethodForm.mjs} +15 -27
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -0
- package/dist/components/SubscriptionSchedules/{SubscriptionSchedules.es.js → SubscriptionSchedules.mjs} +13 -25
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -0
- package/dist/components/SubscriptionsList/{SubscriptionsList.es.js → SubscriptionsList.mjs} +22 -53
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -0
- package/dist/components/WalletBalances/{WalletBalances.es.js → WalletBalances.mjs} +13 -25
- package/dist/configuration-BjYwV4_B.js +1 -0
- package/dist/configuration-CD8cOXAJ.mjs +15 -0
- package/dist/core/action-request.types.d.ts +1 -55
- package/dist/core/configuration.d.ts +1 -3
- package/dist/core/index.cjs +1 -0
- package/dist/core/index.d.ts +1 -11
- package/dist/core/index.mjs +197 -0
- package/dist/core/registry.ce.d.ts +1 -2
- package/dist/core/registry.d.ts +1 -6
- package/dist/core/types.d.ts +1 -121
- package/dist/countryData.es--zJAd6LA.mjs +252 -0
- package/dist/countryData.es-D3MFzU92.js +1 -0
- package/dist/customElements-BTJzBHMy.js +1 -0
- package/dist/customElements-DdFA__me.mjs +6729 -0
- package/dist/{customer-DovIxTG1.mjs → customer-B0AMetq6.mjs} +1 -1
- package/dist/customer-D7HUfF3j.js +1 -0
- package/dist/customer.es-C_vSWcVA.mjs +30 -0
- package/dist/customer.es-D42Md24r.js +1 -0
- package/dist/en-US-BSrbFk5W.js +1 -0
- package/dist/en-US-D0P7NNNZ.mjs +228 -0
- package/dist/{en-US-CXDO3qhq.mjs → en-US-Daw3v6GD.mjs} +8 -31
- package/dist/en-US-scSQQXK8.js +1 -0
- package/dist/error-Cg-i7gGl.js +1 -0
- package/dist/error-DY_I2hPx.mjs +13 -0
- package/dist/floating-ui.vue.es-Bv94BfDm.js +1 -0
- package/dist/floating-ui.vue.es-DWY7pdz8.mjs +1573 -0
- package/dist/formatting.es-9hM8aHSg.js +1 -0
- package/dist/formatting.es-D-oVnc8H.mjs +68 -0
- package/dist/getComposedString.es-CELkn0I7.mjs +14 -0
- package/dist/getComposedString.es-DvSNX-_z.js +1 -0
- package/dist/getCountryNameByCode.es-fP52nO_7.js +1 -0
- package/dist/getCountryNameByCode.es-ymC9R46j.mjs +8 -0
- package/dist/index-BJ3dHkSK.js +1 -0
- package/dist/index-C5bKRt7l.mjs +1069 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1 -17
- package/dist/index.es-0cystq8F.mjs +542 -0
- package/dist/index.es-2JWHHSgP.js +1 -0
- package/dist/index.mjs +42 -0
- package/dist/{invoices-Dk-z04lg.mjs → invoices-BSd-nKeE.mjs} +17 -16
- package/dist/invoices-BiqM6xN6.js +1 -0
- package/dist/{nl-NL-BgL_PuBn.mjs → nl-NL-B4zEBFTw.mjs} +8 -54
- package/dist/nl-NL-B5tuyIOM.mjs +88 -0
- package/dist/nl-NL-Bs3d8q6T.js +1 -0
- package/dist/nl-NL-DIAZWDF9.js +1 -0
- package/dist/object.es-DFXiU9p3.js +1 -0
- package/dist/object.es-jvvnR8Kr.mjs +12 -0
- package/dist/{paymentMethods-BnF1XYS1.mjs → paymentMethods-BsrkEbKT.mjs} +4 -16
- package/dist/paymentMethods-Cu2RzLgm.js +1 -0
- package/dist/{payments-TnRjtlOw.mjs → payments-B6Nfd6Al.mjs} +1 -1
- package/dist/payments-Bbm1HMQj.js +1 -0
- package/dist/pricing-3W7XLwL6.js +1 -0
- package/dist/pricing-CJxS2hr2.mjs +17 -0
- package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +107 -0
- package/dist/pricingItemConfigs.es-C73cQlxQ.js +1 -0
- package/dist/screens/Checkout/Checkout.ce.d.ts +1 -3
- package/dist/screens/Checkout/Checkout.cjs +1 -0
- package/dist/screens/Checkout/{Checkout.es.js → Checkout.mjs} +1250 -610
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -0
- package/dist/screens/CustomerOverview/{CustomerOverview.es.js → CustomerOverview.mjs} +33 -36
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -3
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -0
- package/dist/screens/PayInvoice/{PayInvoice.es.js → PayInvoice.mjs} +21 -28
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -3
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -0
- package/dist/screens/PaymentMethodsManagement/{PaymentMethodsManagement.es.js → PaymentMethodsManagement.mjs} +17 -29
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -3
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -0
- package/dist/screens/SubscriptionDetails/{SubscriptionDetails.es.js → SubscriptionDetails.mjs} +33 -37
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -3
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -0
- package/dist/screens/SubscriptionManagement/{SubscriptionManagement.es.js → SubscriptionManagement.mjs} +32 -41
- package/dist/slots.es-BpwYO3A3.mjs +18 -0
- package/dist/slots.es-Dq1PTUOv.js +1 -0
- package/dist/sorting.es-CjTrRfSW.mjs +105 -0
- package/dist/sorting.es-RyvcgbSL.js +1 -0
- package/dist/subscriptions-B4BOzLxR.js +1 -0
- package/dist/{subscriptions-vEE4Y7qm.mjs → subscriptions-C2C4WTuI.mjs} +7 -7
- package/dist/typeGuards.es-C4nR5FkL.js +1 -0
- package/dist/typeGuards.es-fwUoeMCe.mjs +12 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +19 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
- package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +8 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +32 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +12 -0
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +14 -0
- package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +74 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +9 -0
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +21 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +10 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +5 -0
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +72 -0
- package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +61 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +53 -0
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
- package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +8 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +10 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +22 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +12 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +24 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +40 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +21 -0
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +18 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +9 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/index.d.ts +9 -0
- package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
- package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
- package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
- package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +7 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +65 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +12 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +47 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +28 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +33 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -0
- package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +56 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
- package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
- package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +23 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +11 -0
- package/dist/types/components/wallets/WalletModalShell.types.d.ts +24 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +9 -0
- package/dist/types/config/config.beta.d.ts +2 -0
- package/dist/types/config/config.dev.d.ts +2 -0
- package/dist/types/config/config.live.d.ts +2 -0
- package/dist/types/config/internalEnvironments.d.ts +11 -0
- package/dist/types/config/internalEnvironments.published.d.ts +7 -0
- package/dist/types/config/lib.d.ts +6 -0
- package/dist/types/config/types.d.ts +13 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +12 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +22 -0
- package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +26 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +9 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +16 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +37 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +10 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +38 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +9 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +5 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
- package/dist/types/public/core/action-request.types.d.ts +55 -0
- package/dist/types/public/core/configuration.d.ts +3 -0
- package/dist/types/public/core/index.d.ts +14 -0
- package/dist/types/public/core/registry.ce.d.ts +8 -0
- package/dist/types/public/core/registry.d.ts +6 -0
- package/dist/types/public/core/types.d.ts +120 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +18 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +23 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
- package/dist/types/public/screens/types.d.ts +4 -0
- package/dist/types/public/types/index.d.ts +23 -0
- package/dist/types/services/invoices.types.d.ts +26 -0
- package/dist/types/services/paymentMethods.types.d.ts +31 -0
- package/dist/types/services/portals.types.d.ts +68 -0
- package/dist/types/services/requests.types.d.ts +24 -0
- package/dist/types/translations/supported.d.ts +1 -0
- package/dist/types/types/EntryBaseProps.d.ts +10 -0
- package/dist/types/types/errors.d.ts +7 -0
- package/dist/types/types/subscription.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +111 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +77 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +39 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +367 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +349 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +120 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +118 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +58 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +130 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +103 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +80 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +60 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +43 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +93 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +65 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +95 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
- package/dist/useActionDispatchProvider-Cz8xLLYA.js +1 -0
- package/dist/{useActionDispatchProvider-BlEf-RZ5.mjs → useActionDispatchProvider-D55t_7LY.mjs} +1 -1
- package/dist/{useCustomer-Cw8LXT6S.mjs → useCustomer-BNhHz9RJ.mjs} +2 -2
- package/dist/{useCustomer-C1XTqmrQ.js → useCustomer-DYCpgA-3.js} +1 -1
- package/dist/useCustomerFormLabels-Cw6QpEJY.js +1 -0
- package/dist/useCustomerFormLabels-mX5QpApD.mjs +1142 -0
- package/dist/{useIncrementalLoading-8WtKZ-mP.mjs → useIncrementalLoading-BK9pRYAU.mjs} +5 -4
- package/dist/useIncrementalLoading-CdtGJm_Y.js +1 -0
- package/dist/{useInvoiceData-BrxMo4Zt.js → useInvoiceData-BczeMpuk.js} +1 -1
- package/dist/{useInvoiceData-Cy_ysMsq.mjs → useInvoiceData-D-EvEioP.mjs} +2 -2
- package/dist/{useInvoicesList-DMsZn1tE.mjs → useInvoicesList-BJJYwkIA.mjs} +277 -31
- package/dist/useInvoicesList-rMg-8LbH.js +1 -0
- package/dist/{useLoadInitialData-BP1v7qhd.mjs → useLoadInitialData-BoGjdUu-.mjs} +1 -1
- package/dist/useLoadInitialData-CiJldX50.js +1 -0
- package/dist/{usePaymentMethodOptions-CWfGvW0U.mjs → usePaymentMethodOptions-d49aOdLB.mjs} +13 -9
- package/dist/usePaymentMethodOptions-fBvWYynV.js +1 -0
- package/dist/{usePaymentMethods-Cyk4cjoE.mjs → usePaymentMethods-Bkouz8aQ.mjs} +2 -2
- package/dist/{usePaymentMethods-CAFMvSOr.js → usePaymentMethods-CFL3hFW_.js} +1 -1
- package/dist/usePayments-BKTNn_RN.js +1 -0
- package/dist/usePayments-BlliAt1E.mjs +262 -0
- package/dist/{usePortal-0NDlbFr9.mjs → usePortal-eyA4OqjU.mjs} +1 -1
- package/dist/usePortal-fhri8neB.js +1 -0
- package/dist/useService-D73FNBjT.js +1 -0
- package/dist/{useService-CqfJi5ST.mjs → useService-W3Kxems4.mjs} +24 -5
- package/dist/useSubscription--IGLmLS6.mjs +250 -0
- package/dist/useSubscription-V3KSuhOY.js +1 -0
- package/package.json +55 -45
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Rub9ifBk.js +0 -1
- package/dist/ApiStatus-CyNDp_op.mjs +0 -9
- package/dist/ApiStatus-oqvUEWJx.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DurgWlLC.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Df7CsbiW.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-mM5udvi8.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BIpg-MSJ.mjs +0 -53
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BM3p8Pk8.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D5eSNYH2.js +0 -1
- package/dist/InvoiceHeader.vue_vue_type_script_setup_true_lang-Ci8r6tuC.js +0 -1
- package/dist/InvoiceHeader.vue_vue_type_script_setup_true_lang-jshby9pF.mjs +0 -27
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CNKxTtO7.js +0 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D6lpD1zo.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Bmgx7PSt.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-5XKz3kop.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-B-Jbu2hU.js +0 -1
- package/dist/PaymentIntegrationFormStripe-Bnn8S1o5.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-UH9AVXnG.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-ifai5HVr.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DaWlLor0.mjs +0 -217
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DdUoeTUL.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-CyYhYYRp.mjs +0 -37
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DdjYVNku.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Cu55ZvCH.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BKDMwuyh.js +0 -1
- package/dist/component--Y7Igv5i.mjs +0 -1022
- package/dist/component-DIy1hvJM.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
- package/dist/components/Invoice/Invoice.cjs.js +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs.js +0 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.es.js +0 -123
- package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
- package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
- package/dist/core/index.cjs.js +0 -1
- package/dist/core/index.es.js +0 -6
- package/dist/customer-brfznoHY.js +0 -1
- package/dist/en-US-BvOHPudj.js +0 -1
- package/dist/index-BMWWP8xj.js +0 -1
- package/dist/index-Do7kzLpg.mjs +0 -265
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -51
- package/dist/invoices-Cf3dSYSj.js +0 -1
- package/dist/nl-NL-COGUFg60.js +0 -1
- package/dist/paymentMethods-DVDC_WfL.js +0 -1
- package/dist/payments-DVZFO5yb.js +0 -1
- package/dist/pricing-CuYndX6t.js +0 -1
- package/dist/pricing-GwLCiSzs.mjs +0 -19
- package/dist/registry-Ck0Gb6rj.mjs +0 -153
- package/dist/registry-Cra6yoB4.js +0 -1
- package/dist/screens/Checkout/Checkout.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
- package/dist/screens/PayInvoice/PayInvoice.cjs.js +0 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js +0 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs.js +0 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs.js +0 -1
- package/dist/solvimon-web.css +0 -1
- package/dist/subscriptions-BFCKVHnP.js +0 -1
- package/dist/useActionDispatchProvider-aJOy3kr1.js +0 -1
- package/dist/useIncrementalLoading-CkY2klIW.js +0 -1
- package/dist/useInvoicesList-DmisMQzy.js +0 -1
- package/dist/useLoadInitialData-_BjCD0Jc.js +0 -1
- package/dist/usePaymentMethodOptions-xeSTmaVo.js +0 -1
- package/dist/usePayments-BieVBaz-.js +0 -1
- package/dist/usePayments-D88XSZfS.mjs +0 -42
- package/dist/usePortal-B954nyEB.js +0 -1
- package/dist/useService-BiljI7XA.js +0 -1
- package/dist/useSubscription-9rJpFNUF.mjs +0 -29
- package/dist/useSubscription-k3limdu_.js +0 -1
- package/dist/vendor-ui-Dfh3_g4q.js +0 -1
- package/dist/vendor-ui-ItGf7wJV.mjs +0 -29938
package/dist/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./core/index.cjs"),o=require("./screens/Checkout/Checkout.cjs"),n=require("./screens/CustomerOverview/CustomerOverview.cjs"),i=require("./screens/SubscriptionManagement/SubscriptionManagement.cjs"),t=require("./screens/SubscriptionDetails/SubscriptionDetails.cjs"),s=require("./screens/PayInvoice/PayInvoice.cjs"),r=require("./screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs"),m=require("./components/BillingInformation/BillingInformation.cjs"),c=require("./components/BillingInformationForm/BillingInformationForm.cjs"),l=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs"),a=require("./components/WalletBalances/WalletBalances.cjs"),d=require("./components/Invoice/Invoice.cjs"),v=require("./components/InvoiceDetails/InvoiceDetails.cjs"),S=require("./components/InvoiceHeader/InvoiceHeader.cjs"),p=require("./components/InvoicesList/InvoicesList.cjs"),u=require("./components/PaymentHistory/PaymentHistory.cjs"),f=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs"),I=require("./components/SubscriptionsList/SubscriptionsList.cjs"),g=require("./components/PaymentMethodForm/PaymentMethodForm.cjs");exports.createSolvimonCore=e.createSolvimonCore,exports.getRegisteredComponentIds=e.getRegisteredComponentIds,exports.getRegisteredScreenIds=e.getRegisteredScreenIds,exports.defineSolvimonCheckout=o.defineSolvimonCheckout,exports.defineSolvimonCustomerOverview=n.defineSolvimonCustomerOverview,exports.defineSolvimonSubscriptionManagement=i.defineSolvimonSubscriptionManagement,exports.defineSolvimonSubscriptionDetails=t.defineSolvimonSubscriptionDetails,exports.defineSolvimonPayInvoice=s.defineSolvimonPayInvoice,exports.defineSolvimonPaymentMethodsManagement=r.defineSolvimonPaymentMethodsManagement,exports.defineSolvimonBillingInformation=m.defineSolvimonBillingInformation,exports.defineSolvimonBillingInformationForm=c.defineSolvimonBillingInformationForm,exports.defineSolvimonCustomerPaymentMethods=l.defineSolvimonCustomerPaymentMethods,exports.defineSolvimonWalletBalances=a.defineSolvimonWalletBalances,exports.defineSolvimonInvoice=d.defineSolvimonInvoice,exports.defineSolvimonInvoiceDetails=v.defineSolvimonInvoiceDetails,exports.defineSolvimonInvoiceHeader=S.defineSolvimonInvoiceHeader,exports.defineSolvimonInvoicesList=p.defineSolvimonInvoicesList,exports.defineSolvimonPaymentHistory=u.defineSolvimonPaymentHistory,exports.defineSolvimonSubscriptionSchedules=f.defineSolvimonSubscriptionSchedules,exports.defineSolvimonSubscriptionsList=I.defineSolvimonSubscriptionsList,exports.defineSolvimonPaymentMethodForm=g.defineSolvimonPaymentMethodForm;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export type { SolvimonMountConfig, CoreConfiguration, ComponentConfigurationById, ScreenConfigurationById, ComponentMountConfiguration, ScreenMountConfiguration, SolvimonMountInstance, RegisteredScreenId, RegisteredComponentId, ActionRequestDetail, RequestActionEvent, } from './public/core';
|
|
3
|
-
export { SolvimonCheckout, defineSolvimonCheckout, } from './public/screens/Checkout/Checkout.entry.ce';
|
|
4
|
-
export { SolvimonCustomerOverview, defineSolvimonCustomerOverview, } from './public/screens/CustomerOverview/CustomerOverview.entry.ce';
|
|
5
|
-
export { SolvimonSubscriptionManagement, defineSolvimonSubscriptionManagement, } from './public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce';
|
|
6
|
-
export { SolvimonSubscriptionDetails, defineSolvimonSubscriptionDetails, } from './public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce';
|
|
7
|
-
export { SolvimonPayInvoice, defineSolvimonPayInvoice, } from './public/screens/PayInvoice/PayInvoice.entry.ce';
|
|
8
|
-
export { SolvimonBillingInformation, defineSolvimonBillingInformation, } from './public/components/BillingInformation/BillingInformation.entry.ce';
|
|
9
|
-
export { SolvimonBillingInformationForm, defineSolvimonBillingInformationForm, } from './public/components/BillingInformationForm/BillingInformationForm.entry.ce';
|
|
10
|
-
export { SolvimonCustomerPaymentMethods, defineSolvimonCustomerPaymentMethods, } from './public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce';
|
|
11
|
-
export { SolvimonWalletBalances, defineSolvimonWalletBalances, } from './public/components/WalletBalances/WalletBalances.entry.ce';
|
|
12
|
-
export { SolvimonInvoiceDetails, defineSolvimonInvoiceDetails, } from './public/components/InvoiceDetails/InvoiceDetails.entry.ce';
|
|
13
|
-
export { SolvimonInvoicesList, defineSolvimonInvoicesList, } from './public/components/InvoicesList/InvoicesList.entry.ce';
|
|
14
|
-
export { SolvimonPaymentHistory, defineSolvimonPaymentHistory, } from './public/components/PaymentHistory/PaymentHistory.entry.ce';
|
|
15
|
-
export { SolvimonSubscriptionSchedules, defineSolvimonSubscriptionSchedules, } from './public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce';
|
|
16
|
-
export { SolvimonSubscriptionsList, defineSolvimonSubscriptionsList, } from './public/components/SubscriptionsList/SubscriptionsList.entry.ce';
|
|
17
|
-
export { SolvimonPaymentMethodForm, defineSolvimonPaymentMethodForm, } from './public/components/PaymentMethodForm/PaymentMethodForm.entry.ce';
|
|
1
|
+
export * from './types/index';
|
|
@@ -0,0 +1,542 @@
|
|
|
1
|
+
import { unref, getCurrentScope, onScopeDispose, getCurrentInstance, onMounted, nextTick, isRef, ref, computed, watch, watchEffect } from "vue";
|
|
2
|
+
var _a;
|
|
3
|
+
const isClient = typeof window !== "undefined";
|
|
4
|
+
const isDef = (val) => typeof val !== "undefined";
|
|
5
|
+
const isFunction = (val) => typeof val === "function";
|
|
6
|
+
const isString = (val) => typeof val === "string";
|
|
7
|
+
const noop = () => {
|
|
8
|
+
};
|
|
9
|
+
const isIOS = isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
10
|
+
function resolveUnref(r) {
|
|
11
|
+
return typeof r === "function" ? r() : unref(r);
|
|
12
|
+
}
|
|
13
|
+
function identity(arg) {
|
|
14
|
+
return arg;
|
|
15
|
+
}
|
|
16
|
+
function increaseWithUnit(target, delta) {
|
|
17
|
+
var _a2;
|
|
18
|
+
if (typeof target === "number")
|
|
19
|
+
return target + delta;
|
|
20
|
+
const value = ((_a2 = target.match(/^-?[0-9]+\.?[0-9]*/)) == null ? void 0 : _a2[0]) || "";
|
|
21
|
+
const unit = target.slice(value.length);
|
|
22
|
+
const result = parseFloat(value) + delta;
|
|
23
|
+
if (Number.isNaN(result))
|
|
24
|
+
return target;
|
|
25
|
+
return result + unit;
|
|
26
|
+
}
|
|
27
|
+
function tryOnScopeDispose(fn) {
|
|
28
|
+
if (getCurrentScope()) {
|
|
29
|
+
onScopeDispose(fn);
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
function resolveRef(r) {
|
|
35
|
+
return typeof r === "function" ? computed(r) : ref(r);
|
|
36
|
+
}
|
|
37
|
+
function tryOnMounted(fn, sync = true) {
|
|
38
|
+
if (getCurrentInstance())
|
|
39
|
+
onMounted(fn);
|
|
40
|
+
else if (sync)
|
|
41
|
+
fn();
|
|
42
|
+
else
|
|
43
|
+
nextTick(fn);
|
|
44
|
+
}
|
|
45
|
+
function useToggle(initialValue = false, options = {}) {
|
|
46
|
+
const {
|
|
47
|
+
truthyValue = true,
|
|
48
|
+
falsyValue = false
|
|
49
|
+
} = options;
|
|
50
|
+
const valueIsRef = isRef(initialValue);
|
|
51
|
+
const _value = ref(initialValue);
|
|
52
|
+
function toggle(value) {
|
|
53
|
+
if (arguments.length) {
|
|
54
|
+
_value.value = value;
|
|
55
|
+
return _value.value;
|
|
56
|
+
} else {
|
|
57
|
+
const truthy = resolveUnref(truthyValue);
|
|
58
|
+
_value.value = _value.value === truthy ? resolveUnref(falsyValue) : truthy;
|
|
59
|
+
return _value.value;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
if (valueIsRef)
|
|
63
|
+
return toggle;
|
|
64
|
+
else
|
|
65
|
+
return [_value, toggle];
|
|
66
|
+
}
|
|
67
|
+
function unrefElement(elRef) {
|
|
68
|
+
var _a2;
|
|
69
|
+
const plain = resolveUnref(elRef);
|
|
70
|
+
return (_a2 = plain == null ? void 0 : plain.$el) != null ? _a2 : plain;
|
|
71
|
+
}
|
|
72
|
+
const defaultWindow = isClient ? window : void 0;
|
|
73
|
+
function useEventListener(...args) {
|
|
74
|
+
let target;
|
|
75
|
+
let events;
|
|
76
|
+
let listeners;
|
|
77
|
+
let options;
|
|
78
|
+
if (isString(args[0]) || Array.isArray(args[0])) {
|
|
79
|
+
[events, listeners, options] = args;
|
|
80
|
+
target = defaultWindow;
|
|
81
|
+
} else {
|
|
82
|
+
[target, events, listeners, options] = args;
|
|
83
|
+
}
|
|
84
|
+
if (!target)
|
|
85
|
+
return noop;
|
|
86
|
+
if (!Array.isArray(events))
|
|
87
|
+
events = [events];
|
|
88
|
+
if (!Array.isArray(listeners))
|
|
89
|
+
listeners = [listeners];
|
|
90
|
+
const cleanups = [];
|
|
91
|
+
const cleanup = () => {
|
|
92
|
+
cleanups.forEach((fn) => fn());
|
|
93
|
+
cleanups.length = 0;
|
|
94
|
+
};
|
|
95
|
+
const register = (el, event, listener, options2) => {
|
|
96
|
+
el.addEventListener(event, listener, options2);
|
|
97
|
+
return () => el.removeEventListener(event, listener, options2);
|
|
98
|
+
};
|
|
99
|
+
const stopWatch = watch(() => [unrefElement(target), resolveUnref(options)], ([el, options2]) => {
|
|
100
|
+
cleanup();
|
|
101
|
+
if (!el)
|
|
102
|
+
return;
|
|
103
|
+
cleanups.push(...events.flatMap((event) => {
|
|
104
|
+
return listeners.map((listener) => register(el, event, listener, options2));
|
|
105
|
+
}));
|
|
106
|
+
}, { immediate: true, flush: "post" });
|
|
107
|
+
const stop = () => {
|
|
108
|
+
stopWatch();
|
|
109
|
+
cleanup();
|
|
110
|
+
};
|
|
111
|
+
tryOnScopeDispose(stop);
|
|
112
|
+
return stop;
|
|
113
|
+
}
|
|
114
|
+
let _iOSWorkaround = false;
|
|
115
|
+
function onClickOutside(target, handler, options = {}) {
|
|
116
|
+
const { window: window2 = defaultWindow, ignore = [], capture = true, detectIframe = false } = options;
|
|
117
|
+
if (!window2)
|
|
118
|
+
return;
|
|
119
|
+
if (isIOS && !_iOSWorkaround) {
|
|
120
|
+
_iOSWorkaround = true;
|
|
121
|
+
Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop));
|
|
122
|
+
}
|
|
123
|
+
let shouldListen = true;
|
|
124
|
+
const shouldIgnore = (event) => {
|
|
125
|
+
return ignore.some((target2) => {
|
|
126
|
+
if (typeof target2 === "string") {
|
|
127
|
+
return Array.from(window2.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
|
|
128
|
+
} else {
|
|
129
|
+
const el = unrefElement(target2);
|
|
130
|
+
return el && (event.target === el || event.composedPath().includes(el));
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
};
|
|
134
|
+
const listener = (event) => {
|
|
135
|
+
const el = unrefElement(target);
|
|
136
|
+
if (!el || el === event.target || event.composedPath().includes(el))
|
|
137
|
+
return;
|
|
138
|
+
if (event.detail === 0)
|
|
139
|
+
shouldListen = !shouldIgnore(event);
|
|
140
|
+
if (!shouldListen) {
|
|
141
|
+
shouldListen = true;
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
handler(event);
|
|
145
|
+
};
|
|
146
|
+
const cleanup = [
|
|
147
|
+
useEventListener(window2, "click", listener, { passive: true, capture }),
|
|
148
|
+
useEventListener(window2, "pointerdown", (e) => {
|
|
149
|
+
const el = unrefElement(target);
|
|
150
|
+
if (el)
|
|
151
|
+
shouldListen = !e.composedPath().includes(el) && !shouldIgnore(e);
|
|
152
|
+
}, { passive: true }),
|
|
153
|
+
detectIframe && useEventListener(window2, "blur", (event) => {
|
|
154
|
+
var _a2;
|
|
155
|
+
const el = unrefElement(target);
|
|
156
|
+
if (((_a2 = window2.document.activeElement) == null ? void 0 : _a2.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window2.document.activeElement)))
|
|
157
|
+
handler(event);
|
|
158
|
+
})
|
|
159
|
+
].filter(Boolean);
|
|
160
|
+
const stop = () => cleanup.forEach((fn) => fn());
|
|
161
|
+
return stop;
|
|
162
|
+
}
|
|
163
|
+
const createKeyPredicate = (keyFilter) => {
|
|
164
|
+
if (typeof keyFilter === "function")
|
|
165
|
+
return keyFilter;
|
|
166
|
+
else if (typeof keyFilter === "string")
|
|
167
|
+
return (event) => event.key === keyFilter;
|
|
168
|
+
else if (Array.isArray(keyFilter))
|
|
169
|
+
return (event) => keyFilter.includes(event.key);
|
|
170
|
+
return () => true;
|
|
171
|
+
};
|
|
172
|
+
function onKeyStroke(...args) {
|
|
173
|
+
let key;
|
|
174
|
+
let handler;
|
|
175
|
+
let options = {};
|
|
176
|
+
if (args.length === 3) {
|
|
177
|
+
key = args[0];
|
|
178
|
+
handler = args[1];
|
|
179
|
+
options = args[2];
|
|
180
|
+
} else if (args.length === 2) {
|
|
181
|
+
if (typeof args[1] === "object") {
|
|
182
|
+
key = true;
|
|
183
|
+
handler = args[0];
|
|
184
|
+
options = args[1];
|
|
185
|
+
} else {
|
|
186
|
+
key = args[0];
|
|
187
|
+
handler = args[1];
|
|
188
|
+
}
|
|
189
|
+
} else {
|
|
190
|
+
key = true;
|
|
191
|
+
handler = args[0];
|
|
192
|
+
}
|
|
193
|
+
const { target = defaultWindow, eventName = "keydown", passive = false } = options;
|
|
194
|
+
const predicate = createKeyPredicate(key);
|
|
195
|
+
const listener = (e) => {
|
|
196
|
+
if (predicate(e))
|
|
197
|
+
handler(e);
|
|
198
|
+
};
|
|
199
|
+
return useEventListener(target, eventName, listener, passive);
|
|
200
|
+
}
|
|
201
|
+
function useSupported(callback, sync = false) {
|
|
202
|
+
const isSupported = ref();
|
|
203
|
+
const update = () => isSupported.value = Boolean(callback());
|
|
204
|
+
update();
|
|
205
|
+
tryOnMounted(update, sync);
|
|
206
|
+
return isSupported;
|
|
207
|
+
}
|
|
208
|
+
function useMediaQuery(query, options = {}) {
|
|
209
|
+
const { window: window2 = defaultWindow } = options;
|
|
210
|
+
const isSupported = useSupported(() => window2 && "matchMedia" in window2 && typeof window2.matchMedia === "function");
|
|
211
|
+
let mediaQuery;
|
|
212
|
+
const matches = ref(false);
|
|
213
|
+
const cleanup = () => {
|
|
214
|
+
if (!mediaQuery)
|
|
215
|
+
return;
|
|
216
|
+
if ("removeEventListener" in mediaQuery)
|
|
217
|
+
mediaQuery.removeEventListener("change", update);
|
|
218
|
+
else
|
|
219
|
+
mediaQuery.removeListener(update);
|
|
220
|
+
};
|
|
221
|
+
const update = () => {
|
|
222
|
+
if (!isSupported.value)
|
|
223
|
+
return;
|
|
224
|
+
cleanup();
|
|
225
|
+
mediaQuery = window2.matchMedia(resolveRef(query).value);
|
|
226
|
+
matches.value = mediaQuery.matches;
|
|
227
|
+
if ("addEventListener" in mediaQuery)
|
|
228
|
+
mediaQuery.addEventListener("change", update);
|
|
229
|
+
else
|
|
230
|
+
mediaQuery.addListener(update);
|
|
231
|
+
};
|
|
232
|
+
watchEffect(update);
|
|
233
|
+
tryOnScopeDispose(() => cleanup());
|
|
234
|
+
return matches;
|
|
235
|
+
}
|
|
236
|
+
const breakpointsTailwind = {
|
|
237
|
+
"sm": 640,
|
|
238
|
+
"md": 768,
|
|
239
|
+
"lg": 1024,
|
|
240
|
+
"xl": 1280,
|
|
241
|
+
"2xl": 1536
|
|
242
|
+
};
|
|
243
|
+
var __defProp$m = Object.defineProperty;
|
|
244
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
245
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
246
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
247
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
248
|
+
var __spreadValues$m = (a, b) => {
|
|
249
|
+
for (var prop in b || (b = {}))
|
|
250
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
251
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
252
|
+
if (__getOwnPropSymbols$o)
|
|
253
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
254
|
+
if (__propIsEnum$o.call(b, prop))
|
|
255
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
256
|
+
}
|
|
257
|
+
return a;
|
|
258
|
+
};
|
|
259
|
+
function useBreakpoints(breakpoints, options = {}) {
|
|
260
|
+
function getValue(k, delta) {
|
|
261
|
+
let v = breakpoints[k];
|
|
262
|
+
if (delta != null)
|
|
263
|
+
v = increaseWithUnit(v, delta);
|
|
264
|
+
if (typeof v === "number")
|
|
265
|
+
v = `${v}px`;
|
|
266
|
+
return v;
|
|
267
|
+
}
|
|
268
|
+
const { window: window2 = defaultWindow } = options;
|
|
269
|
+
function match(query) {
|
|
270
|
+
if (!window2)
|
|
271
|
+
return false;
|
|
272
|
+
return window2.matchMedia(query).matches;
|
|
273
|
+
}
|
|
274
|
+
const greaterOrEqual = (k) => {
|
|
275
|
+
return useMediaQuery(`(min-width: ${getValue(k)})`, options);
|
|
276
|
+
};
|
|
277
|
+
const shortcutMethods = Object.keys(breakpoints).reduce((shortcuts, k) => {
|
|
278
|
+
Object.defineProperty(shortcuts, k, {
|
|
279
|
+
get: () => greaterOrEqual(k),
|
|
280
|
+
enumerable: true,
|
|
281
|
+
configurable: true
|
|
282
|
+
});
|
|
283
|
+
return shortcuts;
|
|
284
|
+
}, {});
|
|
285
|
+
return __spreadValues$m({
|
|
286
|
+
greater(k) {
|
|
287
|
+
return useMediaQuery(`(min-width: ${getValue(k, 0.1)})`, options);
|
|
288
|
+
},
|
|
289
|
+
greaterOrEqual,
|
|
290
|
+
smaller(k) {
|
|
291
|
+
return useMediaQuery(`(max-width: ${getValue(k, -0.1)})`, options);
|
|
292
|
+
},
|
|
293
|
+
smallerOrEqual(k) {
|
|
294
|
+
return useMediaQuery(`(max-width: ${getValue(k)})`, options);
|
|
295
|
+
},
|
|
296
|
+
between(a, b) {
|
|
297
|
+
return useMediaQuery(`(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`, options);
|
|
298
|
+
},
|
|
299
|
+
isGreater(k) {
|
|
300
|
+
return match(`(min-width: ${getValue(k, 0.1)})`);
|
|
301
|
+
},
|
|
302
|
+
isGreaterOrEqual(k) {
|
|
303
|
+
return match(`(min-width: ${getValue(k)})`);
|
|
304
|
+
},
|
|
305
|
+
isSmaller(k) {
|
|
306
|
+
return match(`(max-width: ${getValue(k, -0.1)})`);
|
|
307
|
+
},
|
|
308
|
+
isSmallerOrEqual(k) {
|
|
309
|
+
return match(`(max-width: ${getValue(k)})`);
|
|
310
|
+
},
|
|
311
|
+
isInBetween(a, b) {
|
|
312
|
+
return match(`(min-width: ${getValue(a)}) and (max-width: ${getValue(b, -0.1)})`);
|
|
313
|
+
}
|
|
314
|
+
}, shortcutMethods);
|
|
315
|
+
}
|
|
316
|
+
function cloneFnJSON(source) {
|
|
317
|
+
return JSON.parse(JSON.stringify(source));
|
|
318
|
+
}
|
|
319
|
+
const _global = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
320
|
+
const globalKey = "__vueuse_ssr_handlers__";
|
|
321
|
+
_global[globalKey] = _global[globalKey] || {};
|
|
322
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
323
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
324
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
325
|
+
var __objRest$2 = (source, exclude) => {
|
|
326
|
+
var target = {};
|
|
327
|
+
for (var prop in source)
|
|
328
|
+
if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
329
|
+
target[prop] = source[prop];
|
|
330
|
+
if (source != null && __getOwnPropSymbols$g)
|
|
331
|
+
for (var prop of __getOwnPropSymbols$g(source)) {
|
|
332
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop))
|
|
333
|
+
target[prop] = source[prop];
|
|
334
|
+
}
|
|
335
|
+
return target;
|
|
336
|
+
};
|
|
337
|
+
function useResizeObserver(target, callback, options = {}) {
|
|
338
|
+
const _a2 = options, { window: window2 = defaultWindow } = _a2, observerOptions = __objRest$2(_a2, ["window"]);
|
|
339
|
+
let observer;
|
|
340
|
+
const isSupported = useSupported(() => window2 && "ResizeObserver" in window2);
|
|
341
|
+
const cleanup = () => {
|
|
342
|
+
if (observer) {
|
|
343
|
+
observer.disconnect();
|
|
344
|
+
observer = void 0;
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
const stopWatch = watch(() => unrefElement(target), (el) => {
|
|
348
|
+
cleanup();
|
|
349
|
+
if (isSupported.value && window2 && el) {
|
|
350
|
+
observer = new ResizeObserver(callback);
|
|
351
|
+
observer.observe(el, observerOptions);
|
|
352
|
+
}
|
|
353
|
+
}, { immediate: true, flush: "post" });
|
|
354
|
+
const stop = () => {
|
|
355
|
+
cleanup();
|
|
356
|
+
stopWatch();
|
|
357
|
+
};
|
|
358
|
+
tryOnScopeDispose(stop);
|
|
359
|
+
return {
|
|
360
|
+
isSupported,
|
|
361
|
+
stop
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
function useElementSize(target, initialSize = { width: 0, height: 0 }, options = {}) {
|
|
365
|
+
const { window: window2 = defaultWindow, box = "content-box" } = options;
|
|
366
|
+
const isSVG = computed(() => {
|
|
367
|
+
var _a2, _b;
|
|
368
|
+
return (_b = (_a2 = unrefElement(target)) == null ? void 0 : _a2.namespaceURI) == null ? void 0 : _b.includes("svg");
|
|
369
|
+
});
|
|
370
|
+
const width = ref(initialSize.width);
|
|
371
|
+
const height = ref(initialSize.height);
|
|
372
|
+
useResizeObserver(target, ([entry]) => {
|
|
373
|
+
const boxSize = box === "border-box" ? entry.borderBoxSize : box === "content-box" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;
|
|
374
|
+
if (window2 && isSVG.value) {
|
|
375
|
+
const $elem = unrefElement(target);
|
|
376
|
+
if ($elem) {
|
|
377
|
+
const styles = window2.getComputedStyle($elem);
|
|
378
|
+
width.value = parseFloat(styles.width);
|
|
379
|
+
height.value = parseFloat(styles.height);
|
|
380
|
+
}
|
|
381
|
+
} else {
|
|
382
|
+
if (boxSize) {
|
|
383
|
+
const formatBoxSize = Array.isArray(boxSize) ? boxSize : [boxSize];
|
|
384
|
+
width.value = formatBoxSize.reduce((acc, { inlineSize }) => acc + inlineSize, 0);
|
|
385
|
+
height.value = formatBoxSize.reduce((acc, { blockSize }) => acc + blockSize, 0);
|
|
386
|
+
} else {
|
|
387
|
+
width.value = entry.contentRect.width;
|
|
388
|
+
height.value = entry.contentRect.height;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}, options);
|
|
392
|
+
watch(() => unrefElement(target), (ele) => {
|
|
393
|
+
width.value = ele ? initialSize.width : 0;
|
|
394
|
+
height.value = ele ? initialSize.height : 0;
|
|
395
|
+
});
|
|
396
|
+
return {
|
|
397
|
+
width,
|
|
398
|
+
height
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
function useIntersectionObserver(target, callback, options = {}) {
|
|
402
|
+
const {
|
|
403
|
+
root,
|
|
404
|
+
rootMargin = "0px",
|
|
405
|
+
threshold = 0.1,
|
|
406
|
+
window: window2 = defaultWindow
|
|
407
|
+
} = options;
|
|
408
|
+
const isSupported = useSupported(() => window2 && "IntersectionObserver" in window2);
|
|
409
|
+
let cleanup = noop;
|
|
410
|
+
const stopWatch = isSupported.value ? watch(() => ({
|
|
411
|
+
el: unrefElement(target),
|
|
412
|
+
root: unrefElement(root)
|
|
413
|
+
}), ({ el, root: root2 }) => {
|
|
414
|
+
cleanup();
|
|
415
|
+
if (!el)
|
|
416
|
+
return;
|
|
417
|
+
const observer = new IntersectionObserver(callback, {
|
|
418
|
+
root: root2,
|
|
419
|
+
rootMargin,
|
|
420
|
+
threshold
|
|
421
|
+
});
|
|
422
|
+
observer.observe(el);
|
|
423
|
+
cleanup = () => {
|
|
424
|
+
observer.disconnect();
|
|
425
|
+
cleanup = noop;
|
|
426
|
+
};
|
|
427
|
+
}, { immediate: true, flush: "post" }) : noop;
|
|
428
|
+
const stop = () => {
|
|
429
|
+
cleanup();
|
|
430
|
+
stopWatch();
|
|
431
|
+
};
|
|
432
|
+
tryOnScopeDispose(stop);
|
|
433
|
+
return {
|
|
434
|
+
isSupported,
|
|
435
|
+
stop
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
var SwipeDirection;
|
|
439
|
+
(function(SwipeDirection2) {
|
|
440
|
+
SwipeDirection2["UP"] = "UP";
|
|
441
|
+
SwipeDirection2["RIGHT"] = "RIGHT";
|
|
442
|
+
SwipeDirection2["DOWN"] = "DOWN";
|
|
443
|
+
SwipeDirection2["LEFT"] = "LEFT";
|
|
444
|
+
SwipeDirection2["NONE"] = "NONE";
|
|
445
|
+
})(SwipeDirection || (SwipeDirection = {}));
|
|
446
|
+
var __defProp = Object.defineProperty;
|
|
447
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
448
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
449
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
450
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
451
|
+
var __spreadValues = (a, b) => {
|
|
452
|
+
for (var prop in b || (b = {}))
|
|
453
|
+
if (__hasOwnProp.call(b, prop))
|
|
454
|
+
__defNormalProp(a, prop, b[prop]);
|
|
455
|
+
if (__getOwnPropSymbols)
|
|
456
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
457
|
+
if (__propIsEnum.call(b, prop))
|
|
458
|
+
__defNormalProp(a, prop, b[prop]);
|
|
459
|
+
}
|
|
460
|
+
return a;
|
|
461
|
+
};
|
|
462
|
+
const _TransitionPresets = {
|
|
463
|
+
easeInSine: [0.12, 0, 0.39, 0],
|
|
464
|
+
easeOutSine: [0.61, 1, 0.88, 1],
|
|
465
|
+
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
466
|
+
easeInQuad: [0.11, 0, 0.5, 0],
|
|
467
|
+
easeOutQuad: [0.5, 1, 0.89, 1],
|
|
468
|
+
easeInOutQuad: [0.45, 0, 0.55, 1],
|
|
469
|
+
easeInCubic: [0.32, 0, 0.67, 0],
|
|
470
|
+
easeOutCubic: [0.33, 1, 0.68, 1],
|
|
471
|
+
easeInOutCubic: [0.65, 0, 0.35, 1],
|
|
472
|
+
easeInQuart: [0.5, 0, 0.75, 0],
|
|
473
|
+
easeOutQuart: [0.25, 1, 0.5, 1],
|
|
474
|
+
easeInOutQuart: [0.76, 0, 0.24, 1],
|
|
475
|
+
easeInQuint: [0.64, 0, 0.78, 0],
|
|
476
|
+
easeOutQuint: [0.22, 1, 0.36, 1],
|
|
477
|
+
easeInOutQuint: [0.83, 0, 0.17, 1],
|
|
478
|
+
easeInExpo: [0.7, 0, 0.84, 0],
|
|
479
|
+
easeOutExpo: [0.16, 1, 0.3, 1],
|
|
480
|
+
easeInOutExpo: [0.87, 0, 0.13, 1],
|
|
481
|
+
easeInCirc: [0.55, 0, 1, 0.45],
|
|
482
|
+
easeOutCirc: [0, 0.55, 0.45, 1],
|
|
483
|
+
easeInOutCirc: [0.85, 0, 0.15, 1],
|
|
484
|
+
easeInBack: [0.36, 0, 0.66, -0.56],
|
|
485
|
+
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
486
|
+
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
487
|
+
};
|
|
488
|
+
__spreadValues({
|
|
489
|
+
linear: identity
|
|
490
|
+
}, _TransitionPresets);
|
|
491
|
+
function useVModel(props, key, emit, options = {}) {
|
|
492
|
+
var _a2, _b, _c;
|
|
493
|
+
const {
|
|
494
|
+
clone = false,
|
|
495
|
+
passive = false,
|
|
496
|
+
eventName,
|
|
497
|
+
deep = false,
|
|
498
|
+
defaultValue
|
|
499
|
+
} = options;
|
|
500
|
+
const vm = getCurrentInstance();
|
|
501
|
+
const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a2 = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a2.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));
|
|
502
|
+
let event = eventName;
|
|
503
|
+
if (!key) {
|
|
504
|
+
{
|
|
505
|
+
key = "modelValue";
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
event = eventName || event || `update:${key.toString()}`;
|
|
509
|
+
const cloneFn = (val) => !clone ? val : isFunction(clone) ? clone(val) : cloneFnJSON(val);
|
|
510
|
+
const getValue = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue;
|
|
511
|
+
if (passive) {
|
|
512
|
+
const initialValue = getValue();
|
|
513
|
+
const proxy = ref(initialValue);
|
|
514
|
+
watch(() => props[key], (v) => proxy.value = cloneFn(v));
|
|
515
|
+
watch(proxy, (v) => {
|
|
516
|
+
if (v !== props[key] || deep)
|
|
517
|
+
_emit(event, v);
|
|
518
|
+
}, { deep });
|
|
519
|
+
return proxy;
|
|
520
|
+
} else {
|
|
521
|
+
return computed({
|
|
522
|
+
get() {
|
|
523
|
+
return getValue();
|
|
524
|
+
},
|
|
525
|
+
set(value) {
|
|
526
|
+
_emit(event, value);
|
|
527
|
+
}
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
export {
|
|
532
|
+
useVModel as a,
|
|
533
|
+
breakpointsTailwind as b,
|
|
534
|
+
useEventListener as c,
|
|
535
|
+
useElementSize as d,
|
|
536
|
+
onClickOutside as e,
|
|
537
|
+
useResizeObserver as f,
|
|
538
|
+
useIntersectionObserver as g,
|
|
539
|
+
useToggle as h,
|
|
540
|
+
onKeyStroke as o,
|
|
541
|
+
useBreakpoints as u
|
|
542
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("vue");var t;const n="undefined"!=typeof window,r=()=>{},o=n&&(null==(t=null==window?void 0:window.navigator)?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function i(t){return"function"==typeof t?t():e.unref(t)}function a(t){return!!e.getCurrentScope()&&(e.onScopeDispose(t),!0)}function u(e){var t;const n=i(e);return null!=(t=null==n?void 0:n.$el)?t:n}const s=n?window:void 0;function l(...t){let n,o,l,c;if("string"==typeof t[0]||Array.isArray(t[0])?([o,l,c]=t,n=s):[n,o,l,c]=t,!n)return r;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const d=[],f=()=>{d.forEach(e=>e()),d.length=0},p=e.watch(()=>[u(n),i(c)],([e,t])=>{f(),e&&d.push(...o.flatMap(n=>l.map(r=>((e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)))(e,n,r,t))))},{immediate:!0,flush:"post"}),v=()=>{p(),f()};return a(v),v}let c=!1;function d(t,n=!1){const r=e.ref(),o=()=>r.value=Boolean(t());return o(),function(t,n=!0){e.getCurrentInstance()?e.onMounted(t):n?t():e.nextTick(t)}(o,n),r}function f(t,n={}){const{window:r=s}=n,o=d(()=>r&&"matchMedia"in r&&"function"==typeof r.matchMedia);let i;const u=e.ref(!1),l=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",c):i.removeListener(c))},c=()=>{var n;o.value&&(l(),i=r.matchMedia((n=t,"function"==typeof n?e.computed(n):e.ref(n)).value),u.value=i.matches,"addEventListener"in i?i.addEventListener("change",c):i.addListener(c))};return e.watchEffect(c),a(()=>l()),u}var p=Object.defineProperty,v=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,w=(e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},b="__vueuse_ssr_handlers__";y[b]=y[b]||{};var O,g,x=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;function S(t,n,r={}){const o=r,{window:i=s}=o,l=((e,t)=>{var n={};for(var r in e)E.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&x)for(var r of x(e))t.indexOf(r)<0&&I.call(e,r)&&(n[r]=e[r]);return n})(o,["window"]);let c;const f=d(()=>i&&"ResizeObserver"in i),p=()=>{c&&(c.disconnect(),c=void 0)},v=e.watch(()=>u(t),e=>{p(),f.value&&i&&e&&(c=new ResizeObserver(n),c.observe(e,l))},{immediate:!0,flush:"post"}),m=()=>{p(),v()};return a(m),{isSupported:f,stop:m}}(g=O||(O={})).UP="UP",g.RIGHT="RIGHT",g.DOWN="DOWN",g.LEFT="LEFT",g.NONE="NONE";var P=Object.defineProperty,$=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,j=(e,t,n)=>t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;((e,t)=>{for(var n in t||(t={}))A.call(t,n)&&j(e,n,t[n]);if($)for(var n of $(t))k.call(t,n)&&j(e,n,t[n])})({linear:function(e){return e}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]}),exports.breakpointsTailwind={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},exports.onClickOutside=function(e,t,n={}){const{window:i=s,ignore:a=[],capture:d=!0,detectIframe:f=!1}=n;if(!i)return;o&&!c&&(c=!0,Array.from(i.document.body.children).forEach(e=>e.addEventListener("click",r)));let p=!0;const v=e=>a.some(t=>{if("string"==typeof t)return Array.from(i.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{const n=u(t);return n&&(e.target===n||e.composedPath().includes(n))}}),m=[l(i,"click",n=>{const r=u(e);r&&r!==n.target&&!n.composedPath().includes(r)&&(0===n.detail&&(p=!v(n)),p?t(n):p=!0)},{passive:!0,capture:d}),l(i,"pointerdown",t=>{const n=u(e);n&&(p=!t.composedPath().includes(n)&&!v(t))},{passive:!0}),f&&l(i,"blur",n=>{var r;const o=u(e);"IFRAME"!==(null==(r=i.document.activeElement)?void 0:r.tagName)||(null==o?void 0:o.contains(i.document.activeElement))||t(n)})].filter(Boolean);return()=>m.forEach(e=>e())},exports.onKeyStroke=function(...e){let t,n,r={};3===e.length?(t=e[0],n=e[1],r=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=s,eventName:i="keydown",passive:a=!1}=r,u="function"==typeof(c=t)?c:"string"==typeof c?e=>e.key===c:Array.isArray(c)?e=>c.includes(e.key):()=>!0;var c;return l(o,i,e=>{u(e)&&n(e)},a)},exports.useBreakpoints=function(e,t={}){function n(t,n){let r=e[t];return null!=n&&(r=function(e,t){var n;if("number"==typeof e)return e+t;const r=(null==(n=e.match(/^-?[0-9]+\.?[0-9]*/))?void 0:n[0])||"",o=e.slice(r.length),i=parseFloat(r)+t;return Number.isNaN(i)?e:i+o}(r,n)),"number"==typeof r&&(r=`${r}px`),r}const{window:r=s}=t;function o(e){return!!r&&r.matchMedia(e).matches}const i=e=>f(`(min-width: ${n(e)})`,t),a=Object.keys(e).reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>i(t),enumerable:!0,configurable:!0}),e),{});return((e,t)=>{for(var n in t||(t={}))m.call(t,n)&&w(e,n,t[n]);if(v)for(var n of v(t))h.call(t,n)&&w(e,n,t[n]);return e})({greater:e=>f(`(min-width: ${n(e,.1)})`,t),greaterOrEqual:i,smaller:e=>f(`(max-width: ${n(e,-.1)})`,t),smallerOrEqual:e=>f(`(max-width: ${n(e)})`,t),between:(e,r)=>f(`(min-width: ${n(e)}) and (max-width: ${n(r,-.1)})`,t),isGreater:e=>o(`(min-width: ${n(e,.1)})`),isGreaterOrEqual:e=>o(`(min-width: ${n(e)})`),isSmaller:e=>o(`(max-width: ${n(e,-.1)})`),isSmallerOrEqual:e=>o(`(max-width: ${n(e)})`),isInBetween:(e,t)=>o(`(min-width: ${n(e)}) and (max-width: ${n(t,-.1)})`)},a)},exports.useElementSize=function(t,n={width:0,height:0},r={}){const{window:o=s,box:i="content-box"}=r,a=e.computed(()=>{var e,n;return null==(n=null==(e=u(t))?void 0:e.namespaceURI)?void 0:n.includes("svg")}),l=e.ref(n.width),c=e.ref(n.height);return S(t,([e])=>{const n="border-box"===i?e.borderBoxSize:"content-box"===i?e.contentBoxSize:e.devicePixelContentBoxSize;if(o&&a.value){const e=u(t);if(e){const t=o.getComputedStyle(e);l.value=parseFloat(t.width),c.value=parseFloat(t.height)}}else if(n){const e=Array.isArray(n)?n:[n];l.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else l.value=e.contentRect.width,c.value=e.contentRect.height},r),e.watch(()=>u(t),e=>{l.value=e?n.width:0,c.value=e?n.height:0}),{width:l,height:c}},exports.useEventListener=l,exports.useIntersectionObserver=function(t,n,o={}){const{root:i,rootMargin:l="0px",threshold:c=.1,window:f=s}=o,p=d(()=>f&&"IntersectionObserver"in f);let v=r;const m=p.value?e.watch(()=>({el:u(t),root:u(i)}),({el:e,root:t})=>{if(v(),!e)return;const o=new IntersectionObserver(n,{root:t,rootMargin:l,threshold:c});o.observe(e),v=()=>{o.disconnect(),v=r}},{immediate:!0,flush:"post"}):r,h=()=>{v(),m()};return a(h),{isSupported:p,stop:h}},exports.useResizeObserver=S,exports.useToggle=function(t=!1,n={}){const{truthyValue:r=!0,falsyValue:o=!1}=n,a=e.isRef(t),u=e.ref(t);function s(e){if(arguments.length)return u.value=e,u.value;{const e=i(r);return u.value=u.value===e?i(o):e,u.value}}return a?s:[u,s]},exports.useVModel=function(t,n,r,o={}){var i,a,u;const{clone:s=!1,passive:l=!1,eventName:c,deep:d=!1,defaultValue:f}=o,p=e.getCurrentInstance(),v=r||(null==p?void 0:p.emit)||(null==(i=null==p?void 0:p.$emit)?void 0:i.bind(p))||(null==(u=null==(a=null==p?void 0:p.proxy)?void 0:a.$emit)?void 0:u.bind(null==p?void 0:p.proxy));let m=c;n||(n="modelValue"),m=c||m||`update:${n.toString()}`;const h=e=>{return s?(e=>"function"==typeof e)(s)?s(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},w=()=>void 0!==t[n]?h(t[n]):f;if(l){const r=w(),o=e.ref(r);return e.watch(()=>t[n],e=>o.value=h(e)),e.watch(o,e=>{(e!==t[n]||d)&&v(m,e)},{deep:d}),o}return e.computed({get:()=>w(),set(e){v(m,e)}})};
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { createSolvimonCore, getRegisteredComponentIds, getRegisteredScreenIds } from "./core/index.mjs";
|
|
2
|
+
import { defineSolvimonCheckout } from "./screens/Checkout/Checkout.mjs";
|
|
3
|
+
import { defineSolvimonCustomerOverview } from "./screens/CustomerOverview/CustomerOverview.mjs";
|
|
4
|
+
import { defineSolvimonSubscriptionManagement } from "./screens/SubscriptionManagement/SubscriptionManagement.mjs";
|
|
5
|
+
import { defineSolvimonSubscriptionDetails } from "./screens/SubscriptionDetails/SubscriptionDetails.mjs";
|
|
6
|
+
import { defineSolvimonPayInvoice } from "./screens/PayInvoice/PayInvoice.mjs";
|
|
7
|
+
import { defineSolvimonPaymentMethodsManagement } from "./screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs";
|
|
8
|
+
import { defineSolvimonBillingInformation } from "./components/BillingInformation/BillingInformation.mjs";
|
|
9
|
+
import { defineSolvimonBillingInformationForm } from "./components/BillingInformationForm/BillingInformationForm.mjs";
|
|
10
|
+
import { defineSolvimonCustomerPaymentMethods } from "./components/CustomerPaymentMethods/CustomerPaymentMethods.mjs";
|
|
11
|
+
import { defineSolvimonWalletBalances } from "./components/WalletBalances/WalletBalances.mjs";
|
|
12
|
+
import { defineSolvimonInvoice } from "./components/Invoice/Invoice.mjs";
|
|
13
|
+
import { defineSolvimonInvoiceDetails } from "./components/InvoiceDetails/InvoiceDetails.mjs";
|
|
14
|
+
import { defineSolvimonInvoiceHeader } from "./components/InvoiceHeader/InvoiceHeader.mjs";
|
|
15
|
+
import { defineSolvimonInvoicesList } from "./components/InvoicesList/InvoicesList.mjs";
|
|
16
|
+
import { defineSolvimonPaymentHistory } from "./components/PaymentHistory/PaymentHistory.mjs";
|
|
17
|
+
import { defineSolvimonSubscriptionSchedules } from "./components/SubscriptionSchedules/SubscriptionSchedules.mjs";
|
|
18
|
+
import { defineSolvimonSubscriptionsList } from "./components/SubscriptionsList/SubscriptionsList.mjs";
|
|
19
|
+
import { defineSolvimonPaymentMethodForm } from "./components/PaymentMethodForm/PaymentMethodForm.mjs";
|
|
20
|
+
export {
|
|
21
|
+
createSolvimonCore,
|
|
22
|
+
defineSolvimonBillingInformation,
|
|
23
|
+
defineSolvimonBillingInformationForm,
|
|
24
|
+
defineSolvimonCheckout,
|
|
25
|
+
defineSolvimonCustomerOverview,
|
|
26
|
+
defineSolvimonCustomerPaymentMethods,
|
|
27
|
+
defineSolvimonInvoice,
|
|
28
|
+
defineSolvimonInvoiceDetails,
|
|
29
|
+
defineSolvimonInvoiceHeader,
|
|
30
|
+
defineSolvimonInvoicesList,
|
|
31
|
+
defineSolvimonPayInvoice,
|
|
32
|
+
defineSolvimonPaymentHistory,
|
|
33
|
+
defineSolvimonPaymentMethodForm,
|
|
34
|
+
defineSolvimonPaymentMethodsManagement,
|
|
35
|
+
defineSolvimonSubscriptionDetails,
|
|
36
|
+
defineSolvimonSubscriptionManagement,
|
|
37
|
+
defineSolvimonSubscriptionSchedules,
|
|
38
|
+
defineSolvimonSubscriptionsList,
|
|
39
|
+
defineSolvimonWalletBalances,
|
|
40
|
+
getRegisteredComponentIds,
|
|
41
|
+
getRegisteredScreenIds
|
|
42
|
+
};
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as createRequestService,
|
|
1
|
+
import { a as withPagination } from "./api.es-C5pe8LUl.mjs";
|
|
2
|
+
import { c as createRequestService, a as useConfig } from "./customElements-DdFA__me.mjs";
|
|
3
|
+
const downloadFile = (blob, fileName) => {
|
|
4
|
+
const objUrl = window.URL.createObjectURL(blob);
|
|
5
|
+
downloadFileFromUrl(objUrl, fileName);
|
|
6
|
+
};
|
|
7
|
+
const downloadFileFromUrl = (fileUrl, fileName) => {
|
|
8
|
+
const link = document.createElement("a");
|
|
9
|
+
link.href = fileUrl;
|
|
10
|
+
link.download = fileName;
|
|
11
|
+
link.click();
|
|
12
|
+
setTimeout(() => {
|
|
13
|
+
window.URL.revokeObjectURL(fileUrl);
|
|
14
|
+
}, 250);
|
|
15
|
+
};
|
|
3
16
|
function createInvoicesService() {
|
|
4
17
|
const request = createRequestService();
|
|
5
18
|
const config = useConfig();
|
|
@@ -21,21 +34,9 @@ function createInvoicesService() {
|
|
|
21
34
|
},
|
|
22
35
|
pagination
|
|
23
36
|
);
|
|
24
|
-
const url = new URL(`${config.apiUrls.transaction}/portal/invoices`);
|
|
25
|
-
Object.entries(queryParams).forEach(([key, value]) => {
|
|
26
|
-
if (value === null || value === void 0) {
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
if (Array.isArray(value)) {
|
|
30
|
-
value.forEach((entry) => {
|
|
31
|
-
url.searchParams.append(`${key}[]`, `${entry}`);
|
|
32
|
-
});
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
url.searchParams.append(key, `${value}`);
|
|
36
|
-
});
|
|
37
37
|
return request({
|
|
38
|
-
url:
|
|
38
|
+
url: `${config.apiUrls.transaction}/portal/invoices`,
|
|
39
|
+
query: queryParams,
|
|
39
40
|
isCollection: true
|
|
40
41
|
});
|
|
41
42
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const i=require("./api.es-Czekkp_X.js"),e=require("./customElements-BTJzBHMy.js"),t=(i,e)=>{const t=document.createElement("a");t.href=i,t.download=e,t.click(),setTimeout(()=>{window.URL.revokeObjectURL(i)},250)};exports.createInvoicesService=function(){const n=e.createRequestService(),r=e.useConfig(),o=`${r.apiUrls.transaction}/portal/invoices/charge-on-demand-pricing-items`;return{getInvoice:function(i){return n({url:`${r.apiUrls.transaction}/portal/invoices/${i}`})},getInvoices:function({customerId:e,pagination:t,query:o}){const c=i.withPagination({customer_id:e,...o??{}},t);return n({url:`${r.apiUrls.transaction}/portal/invoices`,query:c,isCollection:!0})},getInvoicePdf:async function(i){return n({url:`${r.apiUrls.transaction}/portal/invoices/${i}/pdf`,options:{headers:{"Content-Type":"application/pdf"}}}).then(e=>{((i,e)=>{const n=window.URL.createObjectURL(i);t(n,e)})(new Blob([e],{type:"application/pdf"}),`invoice-${i}.pdf`)})},getInvoicePreview:function({customer:i,pricingPlanSubscriptionId:e,startAt:t,customizations:o,pricing_plan_schedule_customizations:c,forExistingSubscription:a=!1}){return n({url:`${r.apiUrls.transaction}/portal/invoices/preview`,options:{method:"POST"},data:{...a?{pricing_plan_subscription_id:e}:{template_pricing_plan_subscription_id:e,customer_details:{...i,reference:"preview"}},...t&&{start_at:t},...o&&{pricing_plan_schedule_customizations:o},...c&&{pricing_plan_schedule_customizations:c}}})},previewChargeOnDemandPricingItems:function({pricingPlanScheduleId:i,pricingItems:e,startAt:t}){return n({url:o,options:{method:"POST"},data:{pricing_plan_schedule_id:i,pricing_items:e,preview:!0,...t?{start_at:t}:{}}})},chargeOnDemandPricingItems:function(i){return n({url:o,options:{method:"POST"},data:{finalize_immediately:!0,...i}})}}};
|