@solvimon/solvimon-web 0.1.0-alpha.17 → 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 +91 -50
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang--AVI4Q4E.js +1 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Y3CzulQq.mjs +241 -0
- 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-BrPsTuoW.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-CuWrBcoK.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-Bej5_H7r.mjs +3261 -0
- 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-wxP5IaGt.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-D7IX9qqy.mjs +155 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-C8nvN-6f.mjs +54 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D1oKZZ_m.js +1 -0
- package/dist/{PaymentHistoryBlock-BitwS9Re.mjs → PaymentHistoryBlock-Dejtgyos.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-ZtmPXXwI.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-C3ZUDUdw.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dk52bjJd.mjs} +5 -1
- package/dist/{PaymentIntegrationForm-BZTzCUiu.js → PaymentIntegrationForm-BWr7iyU6.js} +1 -1
- package/dist/{PaymentIntegrationForm-BK2aLPCo.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-DJHwpswk.mjs +149 -0
- package/dist/PaymentIntegrationFormAdyen-BjPpoLF7.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-CuRwe9_9.mjs +691 -0
- package/dist/PaymentIntegrationFormStripe-51KZc27R.js +1 -0
- package/dist/PaymentIntegrationFormStripe-JZw2m1kJ.mjs +545 -0
- package/dist/PaymentMethod.vue.es-CH__kPw4.mjs +636 -0
- package/dist/PaymentMethod.vue.es-uVZO0Zju.js +1 -0
- package/dist/PaymentMethodForm-C5WqTDow.mjs +4 -0
- package/dist/PaymentMethodForm-CBjHdZT7.js +1 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BktA5F4r.js +1 -0
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-CIQ0vsko.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DhPTbip8.mjs} +5 -2
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DVeB_mqK.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DbTvbHk7.mjs} +80 -30
- 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/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3cqlbGY.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-Cj36jvZF.mjs} +17 -63
- 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-BDqX6OaE.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CfXgGKXA.mjs} +8 -5
- 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/adyen-BMDZQBUG.js +1 -0
- package/dist/{url-BjZ1Pg0l.mjs → adyen-Ba-mF3Jy.mjs} +31 -73
- 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} +31 -29
- package/dist/configuration-BjYwV4_B.js +1 -0
- package/dist/configuration-CD8cOXAJ.mjs +15 -0
- package/dist/core/action-request.types.d.ts +1 -67
- 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-DAgdegIW.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-DSzSbgL5.mjs → en-US-Daw3v6GD.mjs} +60 -30
- 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-BXDgW8ch.mjs → invoices-BSd-nKeE.mjs} +17 -16
- package/dist/invoices-BiqM6xN6.js +1 -0
- package/dist/{nl-NL-Li7RW89R.mjs → nl-NL-B4zEBFTw.mjs} +60 -52
- 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-xzFD2L30.mjs → paymentMethods-BsrkEbKT.mjs} +23 -19
- package/dist/paymentMethods-Cu2RzLgm.js +1 -0
- package/dist/{payments-DV6csRej.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/{pricingPlanSchedule-C_cqUyTk.mjs → pricingPlanSchedule-CXG3CQ61.mjs} +3 -1
- 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} +1271 -630
- 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} +54 -81
- 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} +41 -32
- 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} +35 -37
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -3
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +885 -0
- 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} +45 -63
- 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/{subscription-B4dBAY9C.mjs → subscription-C41lG-rH.mjs} +1 -1
- package/dist/subscriptions-B4BOzLxR.js +1 -0
- package/dist/subscriptions-C2C4WTuI.mjs +58 -0
- 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-zB_GKeUR.mjs → useActionDispatchProvider-D55t_7LY.mjs} +1 -1
- package/dist/{useCustomer-VfeQ6rG2.mjs → useCustomer-BNhHz9RJ.mjs} +2 -2
- package/dist/{useCustomer-bO4D6e4Z.js → useCustomer-DYCpgA-3.js} +1 -1
- package/dist/useCustomerFormLabels-Cw6QpEJY.js +1 -0
- package/dist/useCustomerFormLabels-mX5QpApD.mjs +1142 -0
- package/dist/{useIncrementalLoading-C59FXHzp.mjs → useIncrementalLoading-BK9pRYAU.mjs} +6 -5
- package/dist/useIncrementalLoading-CdtGJm_Y.js +1 -0
- package/dist/{useInvoiceData-CxxkBTGY.js → useInvoiceData-BczeMpuk.js} +1 -1
- package/dist/{useInvoiceData-Dhg-hx8C.mjs → useInvoiceData-D-EvEioP.mjs} +2 -2
- package/dist/{useInvoicesList-DBz7T7sM.mjs → useInvoicesList-BJJYwkIA.mjs} +277 -31
- package/dist/useInvoicesList-rMg-8LbH.js +1 -0
- package/dist/{useLoadInitialData-BhpIg7OF.mjs → useLoadInitialData-BoGjdUu-.mjs} +1 -1
- package/dist/useLoadInitialData-CiJldX50.js +1 -0
- package/dist/{usePaymentMethodOptions-PcMjtMSF.mjs → usePaymentMethodOptions-d49aOdLB.mjs} +13 -3
- package/dist/usePaymentMethodOptions-fBvWYynV.js +1 -0
- package/dist/{usePaymentMethods-B5AbGWsn.mjs → usePaymentMethods-Bkouz8aQ.mjs} +2 -2
- package/dist/{usePaymentMethods-Bb1Xbads.js → usePaymentMethods-CFL3hFW_.js} +1 -1
- package/dist/usePayments-BKTNn_RN.js +1 -0
- package/dist/usePayments-BlliAt1E.mjs +262 -0
- package/dist/{usePortal-DWLtNqBB.mjs → usePortal-eyA4OqjU.mjs} +1 -1
- package/dist/usePortal-fhri8neB.js +1 -0
- package/dist/useService-D73FNBjT.js +1 -0
- package/dist/{useService-BZqFkz7p.mjs → useService-W3Kxems4.mjs} +24 -5
- package/dist/useSubscription--IGLmLS6.mjs +250 -0
- package/dist/useSubscription-V3KSuhOY.js +1 -0
- package/package.json +66 -49
- 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-BuQ8bzar.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-1Op9GjGZ.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C66beqgf.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D2BhuXsh.mjs +0 -77
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BbuEBiY3.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-dwIv_xxf.js +0 -1
- package/dist/InvoiceHeader.vue_vue_type_script_setup_true_lang-05NKI2A0.js +0 -1
- package/dist/InvoiceHeader.vue_vue_type_script_setup_true_lang-17v07F58.mjs +0 -27
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CMGK71zZ.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B_yDNGK8.mjs +0 -1537
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-GN3WAr10.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-zRr8iihy.js +0 -1
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-BQIN3zuf.mjs +0 -156
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DyL2-vV0.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-OvGGejpX.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BxqIfmkK.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-D1TcP9PR.mjs +0 -217
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BKz2QQn9.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BMXr26gF.mjs +0 -37
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CyAFjCh7.js +0 -1
- package/dist/component-CUJ_G2Nw.mjs +0 -962
- package/dist/component-CiKxWtdx.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-AfRcAZ5P.js +0 -1
- package/dist/en-US-QzQnGXP1.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -51
- package/dist/invoices-BHgajZHq.js +0 -1
- package/dist/nl-NL-C4rr-1tr.js +0 -1
- package/dist/paymentMethods-BMcc-eTl.js +0 -1
- package/dist/payments-DMvmB5vg.js +0 -1
- package/dist/pricing-B1uImUm4.mjs +0 -19
- package/dist/pricing-BEjY_5wb.js +0 -1
- package/dist/registry-CeMxLjwU.js +0 -1
- package/dist/registry-CyENvS6l.mjs +0 -153
- 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/SubscriptionDetails/SubscriptionDetails.es.js +0 -542
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs.js +0 -1
- package/dist/solvimon-web.css +0 -1
- package/dist/subscriptions-CrNDM9qa.mjs +0 -79
- package/dist/subscriptions-DC-mxa17.js +0 -1
- package/dist/url-D8GJi5rF.js +0 -1
- package/dist/useActionDispatchProvider-bqR_FeM4.js +0 -1
- package/dist/useIncrementalLoading-BgWuwoMo.js +0 -1
- package/dist/useInvoicesList-BXZ9uV9i.js +0 -1
- package/dist/useLoadInitialData-BqiAFNFi.js +0 -1
- package/dist/usePaymentMethodOptions-DszFvgKX.js +0 -1
- package/dist/usePayments-DgoZoBZh.mjs +0 -36
- package/dist/usePayments-is5c66Z6.js +0 -1
- package/dist/usePortal-C4qWsJeq.js +0 -1
- package/dist/useService-DKm3QtT4.js +0 -1
- package/dist/useSubscription-CEZJw6wZ.mjs +0 -23
- package/dist/useSubscription-DuUNc1_l.js +0 -1
- package/dist/useTopUpModal-DNyWrHDv.mjs +0 -1012
- package/dist/useTopUpModal-DeF-cfCK.js +0 -1
- package/dist/vendor-ui-BoGKOJ36.mjs +0 -29826
- package/dist/vendor-ui-BuRqLx74.js +0 -1
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
const comparatorI18nDefaults = {
|
|
2
|
+
equals: "equals",
|
|
3
|
+
notEquals: "does not equal",
|
|
4
|
+
in: "equals one of",
|
|
5
|
+
inOutput: "equals",
|
|
6
|
+
notIn: "does not equal one of",
|
|
7
|
+
notInOutput: "does not equal",
|
|
8
|
+
greaterThan: "greater than",
|
|
9
|
+
greaterThanOrEquals: "greater than or equal to",
|
|
10
|
+
lessThan: "less than",
|
|
11
|
+
lessThanOrEquals: "less than or equal to",
|
|
12
|
+
empty: "is empty",
|
|
13
|
+
notEmpty: "is not empty",
|
|
14
|
+
contains: "contains",
|
|
15
|
+
notContains: "does not contain",
|
|
16
|
+
or: "or",
|
|
17
|
+
unsupported: "unsupported",
|
|
18
|
+
unknown: "Unknown"
|
|
19
|
+
};
|
|
20
|
+
const getComparatorMap = (i18n = comparatorI18nDefaults) => [
|
|
21
|
+
{
|
|
22
|
+
comparator: "CONTAINS",
|
|
23
|
+
forType: ["STRING"],
|
|
24
|
+
requiresInput: true,
|
|
25
|
+
symbol: "CONTAINS",
|
|
26
|
+
label: {
|
|
27
|
+
input: i18n.contains,
|
|
28
|
+
output: i18n.contains
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
comparator: "NOT_CONTAINS",
|
|
33
|
+
forType: ["STRING"],
|
|
34
|
+
requiresInput: true,
|
|
35
|
+
symbol: "NOT CONTAINS",
|
|
36
|
+
label: {
|
|
37
|
+
input: i18n.notContains,
|
|
38
|
+
output: i18n.notContains
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
comparator: "EMPTY",
|
|
43
|
+
forType: ["STRING"],
|
|
44
|
+
requiresInput: false,
|
|
45
|
+
symbol: "EMPTY",
|
|
46
|
+
label: {
|
|
47
|
+
input: i18n.empty,
|
|
48
|
+
output: i18n.empty
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
comparator: "NOT_EMPTY",
|
|
53
|
+
forType: ["STRING"],
|
|
54
|
+
requiresInput: false,
|
|
55
|
+
symbol: "NOT EMPTY",
|
|
56
|
+
label: {
|
|
57
|
+
input: i18n.notEmpty,
|
|
58
|
+
output: i18n.notEmpty
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
comparator: "EQUALS",
|
|
63
|
+
forType: ["NUMBER", "STRING", "ENUM"],
|
|
64
|
+
requiresInput: true,
|
|
65
|
+
symbol: "=",
|
|
66
|
+
label: {
|
|
67
|
+
input: i18n.equals,
|
|
68
|
+
output: i18n.equals
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
comparator: "NOT_EQUALS",
|
|
73
|
+
forType: ["NUMBER", "STRING", "ENUM"],
|
|
74
|
+
requiresInput: true,
|
|
75
|
+
symbol: "!=",
|
|
76
|
+
label: {
|
|
77
|
+
input: i18n.notEquals,
|
|
78
|
+
output: i18n.notEquals
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
comparator: "IN",
|
|
83
|
+
forType: ["NUMBER", "STRING", "ENUM"],
|
|
84
|
+
requiresInput: true,
|
|
85
|
+
symbol: "IN ()",
|
|
86
|
+
label: {
|
|
87
|
+
input: i18n.in,
|
|
88
|
+
output: i18n.inOutput
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
comparator: "NOT_IN",
|
|
93
|
+
forType: ["NUMBER", "STRING", "ENUM"],
|
|
94
|
+
requiresInput: true,
|
|
95
|
+
symbol: "NOT IN()",
|
|
96
|
+
label: {
|
|
97
|
+
input: i18n.notIn,
|
|
98
|
+
output: i18n.notInOutput
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
comparator: "GREATER_THAN",
|
|
103
|
+
forType: ["NUMBER"],
|
|
104
|
+
requiresInput: true,
|
|
105
|
+
symbol: ">",
|
|
106
|
+
label: {
|
|
107
|
+
input: i18n.greaterThan,
|
|
108
|
+
output: i18n.greaterThan
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
comparator: "GREATER_THAN_OR_EQUALS",
|
|
113
|
+
forType: ["NUMBER"],
|
|
114
|
+
requiresInput: true,
|
|
115
|
+
symbol: ">=",
|
|
116
|
+
label: {
|
|
117
|
+
input: i18n.greaterThanOrEquals,
|
|
118
|
+
output: i18n.greaterThanOrEquals
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
comparator: "LESS_THAN",
|
|
123
|
+
forType: ["NUMBER"],
|
|
124
|
+
requiresInput: true,
|
|
125
|
+
symbol: "<",
|
|
126
|
+
label: {
|
|
127
|
+
input: i18n.lessThan,
|
|
128
|
+
output: i18n.lessThan
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
comparator: "LESS_THAN_OR_EQUALS",
|
|
133
|
+
forType: ["NUMBER"],
|
|
134
|
+
requiresInput: true,
|
|
135
|
+
symbol: "<=",
|
|
136
|
+
label: {
|
|
137
|
+
input: i18n.lessThanOrEquals,
|
|
138
|
+
output: i18n.lessThanOrEquals
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
];
|
|
142
|
+
const getFormattedComparator = (i18n = comparatorI18nDefaults) => {
|
|
143
|
+
return ({ propertyName, comparator, value, values }, { hasFormatting } = {}) => {
|
|
144
|
+
const comparatorEntry = getComparatorMap(i18n).find(
|
|
145
|
+
(item) => item.comparator === comparator
|
|
146
|
+
);
|
|
147
|
+
const formattedList = values == null ? void 0 : values.reduce((acc, item, index, array) => {
|
|
148
|
+
const formattedItem = hasFormatting ? `<strong class="font-semibold">${item}</strong>` : item;
|
|
149
|
+
if (index === array.length - 1) {
|
|
150
|
+
return `${acc} ${(i18n == null ? void 0 : i18n.or) ?? "or"} ${formattedItem}`;
|
|
151
|
+
}
|
|
152
|
+
if (index === 0) {
|
|
153
|
+
return formattedItem;
|
|
154
|
+
}
|
|
155
|
+
return [acc, formattedItem].join(", ");
|
|
156
|
+
}, "");
|
|
157
|
+
if (!comparatorEntry) {
|
|
158
|
+
return (i18n == null ? void 0 : i18n.unsupported) ?? "Unsupported comparator";
|
|
159
|
+
}
|
|
160
|
+
if (["IN", "NOT_IN"].includes(comparatorEntry.comparator) && values) {
|
|
161
|
+
return hasFormatting ? `<strong>${propertyName}</strong> ${comparatorEntry.label.output} <strong>${formattedList}</strong>` : `${propertyName} ${comparatorEntry.label.output} ${formattedList}`;
|
|
162
|
+
}
|
|
163
|
+
return hasFormatting ? `<strong class="font-semibold">${propertyName}</strong> ${comparatorEntry.label.output} <strong class="font-semibold">${value}</strong>` : `${propertyName} ${comparatorEntry.label.output} ${value}`;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
const getFormattedComparatorList = (i18n = comparatorI18nDefaults) => {
|
|
167
|
+
return (comparators, options) => {
|
|
168
|
+
return comparators.map((item) => getFormattedComparator(i18n)(item, options)).join(" and ");
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
export {
|
|
172
|
+
getFormattedComparator as a,
|
|
173
|
+
comparatorI18nDefaults as c,
|
|
174
|
+
getFormattedComparatorList as g
|
|
175
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t={equals:"equals",notEquals:"does not equal",in:"equals one of",inOutput:"equals",notIn:"does not equal one of",notInOutput:"does not equal",greaterThan:"greater than",greaterThanOrEquals:"greater than or equal to",lessThan:"less than",lessThanOrEquals:"less than or equal to",empty:"is empty",notEmpty:"is not empty",contains:"contains",notContains:"does not contain",or:"or",unsupported:"unsupported",unknown:"Unknown"},o=(o=t)=>({propertyName:r,comparator:e,value:n,values:a},{hasFormatting:u}={})=>{const s=((o=t)=>[{comparator:"CONTAINS",forType:["STRING"],requiresInput:!0,symbol:"CONTAINS",label:{input:o.contains,output:o.contains}},{comparator:"NOT_CONTAINS",forType:["STRING"],requiresInput:!0,symbol:"NOT CONTAINS",label:{input:o.notContains,output:o.notContains}},{comparator:"EMPTY",forType:["STRING"],requiresInput:!1,symbol:"EMPTY",label:{input:o.empty,output:o.empty}},{comparator:"NOT_EMPTY",forType:["STRING"],requiresInput:!1,symbol:"NOT EMPTY",label:{input:o.notEmpty,output:o.notEmpty}},{comparator:"EQUALS",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"=",label:{input:o.equals,output:o.equals}},{comparator:"NOT_EQUALS",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"!=",label:{input:o.notEquals,output:o.notEquals}},{comparator:"IN",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"IN ()",label:{input:o.in,output:o.inOutput}},{comparator:"NOT_IN",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"NOT IN()",label:{input:o.notIn,output:o.notInOutput}},{comparator:"GREATER_THAN",forType:["NUMBER"],requiresInput:!0,symbol:">",label:{input:o.greaterThan,output:o.greaterThan}},{comparator:"GREATER_THAN_OR_EQUALS",forType:["NUMBER"],requiresInput:!0,symbol:">=",label:{input:o.greaterThanOrEquals,output:o.greaterThanOrEquals}},{comparator:"LESS_THAN",forType:["NUMBER"],requiresInput:!0,symbol:"<",label:{input:o.lessThan,output:o.lessThan}},{comparator:"LESS_THAN_OR_EQUALS",forType:["NUMBER"],requiresInput:!0,symbol:"<=",label:{input:o.lessThanOrEquals,output:o.lessThanOrEquals}}])(o).find(t=>t.comparator===e),p=null==a?void 0:a.reduce((t,r,e,n)=>{const a=u?`<strong class="font-semibold">${r}</strong>`:r;return e===n.length-1?`${t} ${(null==o?void 0:o.or)??"or"} ${a}`:0===e?a:[t,a].join(", ")},"");return s?["IN","NOT_IN"].includes(s.comparator)&&a?u?`<strong>${r}</strong> ${s.label.output} <strong>${p}</strong>`:`${r} ${s.label.output} ${p}`:u?`<strong class="font-semibold">${r}</strong> ${s.label.output} <strong class="font-semibold">${n}</strong>`:`${r} ${s.label.output} ${n}`:(null==o?void 0:o.unsupported)??"Unsupported comparator"};exports.comparatorI18nDefaults=t,exports.getFormattedComparator=o,exports.getFormattedComparatorList=(r=t)=>(t,e)=>t.map(t=>o(r)(t,e)).join(" and ");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
exports.EXPAND_ALL=["ALL"],exports.getComponentName=function(o){return`solvimon-${o}`};
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare const COMPONENT_NAME: string;
|
|
3
|
-
export declare const defineSolvimonBillingInformation: () => void;
|
|
1
|
+
export * from '../../types/public/components/BillingInformation/BillingInformation.entry.ce';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../BillingInformation.vue_vue_type_script_setup_true_lang-DzrInCPA.js"),r=require("../../useCustomer-DYCpgA-3.js"),o=require("../../useLoadInitialData-CiJldX50.js"),n=require("../../customElements-BTJzBHMy.js"),i=require("../../component-hDuDTBt5.js"),a=e.defineComponent({__name:"BillingInformation.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 n=t.portalObject.customer_id,i=r.useCustomer({customerId:n}),{isLoading:a}=o.useLoadInitialData(i.get.execute());return(t,r)=>e.renderSlot(t.$slots,"default",{customer:e.unref(i),isLoading:e.unref(a)})}}),p=e.defineComponent({__name:"BillingInformation.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(r){const o=i.getComponentName("billing-information");return(i,p)=>(e.openBlock(),e.createBlock(e.unref(n._sfc_main$1),{entry:i.$props,"component-name":e.unref(o),"allowed-portal-types":["CUSTOMER"],onError:p[0]||(p[0]=e=>i.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(a,e.normalizeProps(e.guardReactiveProps(i.$props)),{default:e.withCtx(({customer:o,isLoading:n})=>[e.createVNode(t._sfc_main,{configuration:r.configuration,"is-loading":n,customer:o.customer.value},null,8,["configuration","is-loading","customer"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:l}=n.createSolvimonElement(p,"billing-information");exports.defineSolvimonBillingInformation=l;
|
package/dist/components/BillingInformation/{BillingInformation.es.js → BillingInformation.mjs}
RENAMED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, renderSlot, unref, openBlock, createBlock, withCtx, createVNode, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import { _ as _sfc_main$3 } from "../../BillingInformation.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as useCustomer } from "../../useCustomer-
|
|
4
|
-
import { u as useLoadInitialData } from "../../useLoadInitialData-
|
|
5
|
-
import {
|
|
2
|
+
import { _ as _sfc_main$3 } from "../../BillingInformation.vue_vue_type_script_setup_true_lang-BUMK11Dw.mjs";
|
|
3
|
+
import { u as useCustomer } from "../../useCustomer-BNhHz9RJ.mjs";
|
|
4
|
+
import { u as useLoadInitialData } from "../../useLoadInitialData-BoGjdUu-.mjs";
|
|
5
|
+
import { d as _sfc_main$2, e as createSolvimonElement } from "../../customElements-DdFA__me.mjs";
|
|
6
|
+
import { g as getComponentName } from "../../component-BG6DmXcy.mjs";
|
|
6
7
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
7
8
|
__name: "BillingInformation.entry.view",
|
|
8
9
|
props: {
|
|
@@ -55,47 +56,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
56
|
configuration: { type: Object }
|
|
56
57
|
},
|
|
57
58
|
setup(__props) {
|
|
59
|
+
const componentName = getComponentName("billing-information");
|
|
58
60
|
return (_ctx, _cache) => {
|
|
59
|
-
var _a, _b, _c, _d;
|
|
60
61
|
return openBlock(), createBlock(unref(_sfc_main$2), {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
locale: __props.locale,
|
|
64
|
-
"portal-object": __props.portalObject,
|
|
62
|
+
entry: _ctx.$props,
|
|
63
|
+
"component-name": unref(componentName),
|
|
65
64
|
"allowed-portal-types": ["CUSTOMER"],
|
|
66
|
-
"primary-color": (_b = (_a = __props.branding) == null ? void 0 : _a.colors) == null ? void 0 : _b.primary,
|
|
67
|
-
"secondary-color": (_d = (_c = __props.branding) == null ? void 0 : _c.colors) == null ? void 0 : _d.secondary,
|
|
68
|
-
"experimental-features": __props.experimentalFeatures,
|
|
69
|
-
"log-level": __props.logLevel,
|
|
70
|
-
"on-log": __props.onLog,
|
|
71
|
-
"css-overrides": __props.cssOverrides,
|
|
72
65
|
onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
|
|
73
66
|
}, {
|
|
74
67
|
default: withCtx(() => [
|
|
75
68
|
createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$props)), {
|
|
76
69
|
default: withCtx(({ customer, isLoading }) => [
|
|
77
70
|
createVNode(_sfc_main$3, {
|
|
71
|
+
configuration: __props.configuration,
|
|
78
72
|
"is-loading": isLoading,
|
|
79
73
|
customer: customer.customer.value
|
|
80
|
-
}, null, 8, ["is-loading", "customer"])
|
|
74
|
+
}, null, 8, ["configuration", "is-loading", "customer"])
|
|
81
75
|
]),
|
|
82
76
|
_: 1
|
|
83
77
|
}, 16)
|
|
84
78
|
]),
|
|
85
79
|
_: 1
|
|
86
|
-
}, 8, ["
|
|
80
|
+
}, 8, ["entry", "component-name"]);
|
|
87
81
|
};
|
|
88
82
|
}
|
|
89
83
|
});
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
customElements.define(COMPONENT_NAME, SolvimonBillingInformation);
|
|
95
|
-
}
|
|
96
|
-
};
|
|
84
|
+
const { define: defineSolvimonBillingInformation } = createSolvimonElement(
|
|
85
|
+
_sfc_main,
|
|
86
|
+
"billing-information"
|
|
87
|
+
);
|
|
97
88
|
export {
|
|
98
|
-
COMPONENT_NAME,
|
|
99
|
-
SolvimonBillingInformation,
|
|
100
89
|
defineSolvimonBillingInformation
|
|
101
90
|
};
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare const COMPONENT_NAME: string;
|
|
3
|
-
export declare const defineSolvimonBillingInformationForm: () => void;
|
|
1
|
+
export * from '../../types/public/components/BillingInformationForm/BillingInformationForm.entry.ce';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("../../Button.vue.es-aLcIdATK.js"),r=require("../../useCustomerFormLabels-Cw6QpEJY.js"),t=require("../../ErrorNotification.vue.es-BX3khKFc.js"),l=require("../../Input.vue.es-C8VhMKuI.js"),o=require("../../customElements-BTJzBHMy.js"),n=require("../../typeGuards.es-C4nR5FkL.js"),i=require("../../index-BJ3dHkSK.js"),d=require("../../api.es-Czekkp_X.js"),u=require("../../useCustomer-DYCpgA-3.js"),s=require("../../component-hDuDTBt5.js"),m={type:"INDIVIDUAL",email:"",country:"",addressLine1:"",postalCode:"",city:"",state:""};function c({initialState:a={},onSubmit:t}){const{form:l,validation:o,changes:d,hasChanges:u,updateInitialState:s,initialState:c}=(({initialState:a,validationRules:t,nullifyEmptyValues:l=!1,mode:o="shallow"})=>{const n=e.shallowRef(structuredClone(a)),d=e.shallowRef(structuredClone(a)),u=i.useValidation(t??{},d),s=e.computed(()=>r.objectDiff({from:n.value,to:d.value,mode:o,nullifyEmptyValues:l})),m=e.computed(()=>Object.entries(s.value).length>0);return{form:d,validation:u,changes:s,hasChanges:m,reset:()=>{d.value=structuredClone(a),u.value.$reset()},updateInitialState:e=>{d.value=structuredClone(e),n.value=structuredClone(e)},initialState:n}})({initialState:{...m,...a},validationRules:{email:{required:i.required,email:i.email}},nullifyEmptyValues:!0,mode:"deep"});return{form:l,isOrganization:n.isOrganization,validation:o,changes:d,hasChanges:u,updateInitialState:e=>{s(p(e))},submit:(e,a=l.value)=>t({customerId:e,payload:f(a)}),initialState:c}}const p=e=>{var a,r,t,l;if(n.isIndividual(e)){const t=e.individual.residential_address;return{type:"INDIVIDUAL",email:e.email??"",country:(null==t?void 0:t.country)??"",addressLine1:(null==t?void 0:t.line1)??"",addressLine2:(null==t?void 0:t.line2)??"",postalCode:(null==t?void 0:t.postal_code)??"",city:(null==t?void 0:t.city)??"",state:(null==t?void 0:t.state)??"",firstName:(null==(a=e.individual.name)?void 0:a.first_name)??"",lastName:(null==(r=e.individual.name)?void 0:r.last_name)??""}}const o=e.organization.registered_address;return{type:"ORGANIZATION",email:e.email??"",country:(null==o?void 0:o.country)??"",addressLine1:(null==o?void 0:o.line1)??"",addressLine2:(null==o?void 0:o.line2)??"",postalCode:(null==o?void 0:o.postal_code)??"",city:(null==o?void 0:o.city)??"",state:(null==o?void 0:o.state)??"",companyLegalName:e.organization.legal_name??"",companyVatNumber:(null==(l=null==(t=e.organization.tax_ids)?void 0:t[0])?void 0:l.id)??""}},f=e=>"ORGANIZATION"===e.type?{type:"ORGANIZATION",email:e.email,organization:{legal_name:e.companyLegalName??"",tax_ids:e.companyVatNumber?[{id:e.companyVatNumber,type:"GENERIC_TAX_ID"}]:void 0,registered_address:{line1:e.addressLine1,line2:e.addressLine2??"",postal_code:e.postalCode,city:e.city,country:e.country,state:e.state??""}}}:{type:"INDIVIDUAL",email:e.email,individual:{name:{first_name:e.firstName??"",last_name:e.lastName??""},residential_address:{line1:e.addressLine1,line2:e.addressLine2??"",postal_code:e.postalCode,city:e.city,country:e.country,state:e.state??""}}},y={class:"grid grid-cols-1 gap-4"},g={class:"mt-6 flex items-center justify-between gap-4"},v={class:"flex flex-col gap-2"},h={key:0,class:"grid grid-cols-2 gap-2"},_={class:"grid grid-cols-3 gap-2"},V=e.defineComponent({__name:"BillingInformationForm",props:{customer:{type:Object},isLoading:{type:Boolean},apiError:{type:null},updateCustomer:{type:Function}},setup(n){const i=n,{$t:d}=o.useIntl(),u=r.useCustomerFormLabels(),{validation:s,form:m,updateInitialState:p,submit:f,hasChanges:V}=c({onSubmit:({customerId:e,payload:a})=>i.updateCustomer({customerId:e,payload:a})}),b=e.ref(!1),N=e.computed(()=>"ORGANIZATION"===m.value.type),C=e.computed(()=>!b.value),I=e.computed({get:()=>N.value,set:e=>m.value.type=e?"ORGANIZATION":"INDIVIDUAL"}),L=async()=>{var e;await s.value.$validate();!s.value.$invalid&&(null==(e=i.customer)?void 0:e.id)&&await f(i.customer.id)};return e.watch(()=>i.customer,e=>{e&&!b.value&&(p(e),b.value=!0)},{immediate:!0}),(i,c)=>{var p,f,b,S,k,E,O,B,A,j,w,T,x;return e.openBlock(),e.createElementBlock("form",{onSubmit:e.withModifiers(L,["prevent"])},[e.createVNode(e.unref(o._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(u).contactInformationTitle),1)]),_:1}),e.createElementVNode("div",y,[e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).email,"onUpdate:modelValue":c[0]||(c[0]=a=>e.unref(m).email=a),required:"",type:"email",label:e.unref(u).emailLabel,placeholder:e.unref(u).emailPlaceholder,error:(null==(p=e.unref(s).email)?void 0:p.$errors)||(null==(f=n.apiError)?void 0:f.email)},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(r._sfc_main),{"single-model-value":e.unref(m).country,"onUpdate:singleModelValue":c[1]||(c[1]=a=>e.unref(m).country=a),label:e.unref(u).countryLabel,error:null==(b=n.apiError)?void 0:b.country},null,8,["single-model-value","label","error"]),C.value?(e.openBlock(),e.createBlock(r._sfc_main$1,{key:0,modelValue:I.value,"onUpdate:modelValue":c[2]||(c[2]=e=>I.value=e)},null,8,["modelValue"])):e.createCommentVNode("",!0),N.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).companyVatNumber,"onUpdate:modelValue":c[3]||(c[3]=a=>e.unref(m).companyVatNumber=a),name:"vat_number",label:e.unref(u).vatNumberLabel,placeholder:e.unref(u).vatNumberPlaceholder,error:null==(S=n.apiError)?void 0:S.vat_number},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).companyLegalName,"onUpdate:modelValue":c[4]||(c[4]=a=>e.unref(m).companyLegalName=a),required:"",name:"legal_name",label:e.unref(u).legalNameLabel,placeholder:e.unref(u).legalNamePlaceholder,error:null==(k=n.apiError)?void 0:k.legal_name},null,8,["modelValue","label","placeholder","error"])],64)):e.createCommentVNode("",!0)]),e.createElementVNode("div",g,[e.createVNode(e.unref(o._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({defaultMessage:"Billing details",id:"checkout.billing_information_block.title",description:"The title of the billing information block in the checkout form"})),1)]),_:1})]),e.createElementVNode("div",v,[N.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).firstName,"onUpdate:modelValue":c[5]||(c[5]=a=>e.unref(m).firstName=a),name:"first_name",label:e.unref(d)({defaultMessage:"First name",id:"checkout.first_name.label",description:"The first name of the customer in the checkout form"}),placeholder:e.unref(d)({defaultMessage:"First name...",id:"checkout.first_name.placeholder",description:"The first name of the customer in the checkout form"}),error:null==(E=n.apiError)?void 0:E.first_name},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).lastName,"onUpdate:modelValue":c[6]||(c[6]=a=>e.unref(m).lastName=a),name:"last_name",label:e.unref(d)({defaultMessage:"Last name",id:"checkout.last_name.label",description:"The last name of the customer in the checkout form"}),placeholder:e.unref(d)({defaultMessage:"Last name...",id:"checkout.last_name.placeholder",description:"The last name of the customer in the checkout form"}),error:null==(O=n.apiError)?void 0:O.last_name},null,8,["modelValue","label","placeholder","error"])])),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).addressLine1,"onUpdate:modelValue":c[7]||(c[7]=a=>e.unref(m).addressLine1=a),name:"address_line_1",label:e.unref(u).addressTitle,placeholder:e.unref(d)({defaultMessage:"Address line 1...",id:"checkout.address.line1.placeholder",description:"Address line 1 of the customer address in the checkout form"}),error:null==(B=n.apiError)?void 0:B.address_line_1},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).addressLine2,"onUpdate:modelValue":c[8]||(c[8]=a=>e.unref(m).addressLine2=a),name:"address_line_2",placeholder:e.unref(d)({defaultMessage:"Address line 2...",id:"checkout.address.line2.placeholder",description:"Address line 2 of the customer address in the checkout form"}),error:null==(A=n.apiError)?void 0:A.address_line_2},null,8,["modelValue","placeholder","error"]),e.createElementVNode("div",_,[e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).postalCode,"onUpdate:modelValue":c[9]||(c[9]=a=>e.unref(m).postalCode=a),name:"postal_code",placeholder:e.unref(u).postalCodePlaceholder,error:null==(j=n.apiError)?void 0:j.postal_code},null,8,["modelValue","placeholder","error"]),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).city,"onUpdate:modelValue":c[10]||(c[10]=a=>e.unref(m).city=a),name:"city",placeholder:e.unref(u).cityPlaceholder,error:null==(w=n.apiError)?void 0:w.city},null,8,["modelValue","placeholder","error"]),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).state,"onUpdate:modelValue":c[11]||(c[11]=a=>e.unref(m).state=a),name:"state",placeholder:e.unref(u).statePlaceholder,error:null==(T=n.apiError)?void 0:T.state},null,8,["modelValue","placeholder","error"])])]),(null==(x=n.apiError)?void 0:x._generic)?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:0,class:"mt-4",title:n.apiError._generic},null,8,["title"])):e.createCommentVNode("",!0),e.createVNode(e.unref(a._sfc_main$1),{type:"submit",color:"primary",disabled:!e.unref(V),loading:n.isLoading,class:"mt-4"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({defaultMessage:"Save changes",id:"billing_information_form.submit_button.label",description:"The label for the submit button of the billing information form"})),1)]),_:1},8,["disabled","loading"])],32)}}}),b=e.defineComponent({__name:"BillingInformationForm",props:{customer:{type:Object},apiError:{type:null},updateCustomer:{type:Function},isLoading:{type:Boolean}},setup:a=>(r,t)=>(e.openBlock(),e.createBlock(V,{class:"sv-billing-form sv-root sv-component",customer:a.customer,"update-customer":a.updateCustomer,"is-loading":a.isLoading,"api-error":a.apiError},null,8,["customer","update-customer","is-loading","api-error"]))}),N=e.defineComponent({__name:"BillingInformationForm.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}},setup(a){const r=a.portalObject.customer_id,{customer:t,get:l,update:o}=u.useCustomer({customerId:r});return e.onMounted(async()=>{await l.execute()}),(a,r)=>e.renderSlot(a.$slots,"default",{customer:e.unref(t),isLoading:e.unref(l).isPending.value||e.unref(o).isPending.value,updateCustomer:e.unref(o),apiError:e.unref(d.getApiError)(e.unref(o).error)})}}),C=e.defineComponent({__name:"BillingInformationForm.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}},emits:["error"],setup(a){const r=s.getComponentName("billing-information-form");return(a,t)=>(e.openBlock(),e.createBlock(e.unref(o._sfc_main$1),{entry:a.$props,"component-name":e.unref(r),"allowed-portal-types":["CUSTOMER"],onError:t[0]||(t[0]=e=>a.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(N,e.normalizeProps(e.guardReactiveProps(a.$props)),{default:e.withCtx(({customer:a,updateCustomer:r,isLoading:t,apiError:l})=>[a?(e.openBlock(),e.createBlock(b,{key:0,customer:a,"is-loading":t,"update-customer":({payload:e})=>r.execute(e),"api-error":l},null,8,["customer","is-loading","update-customer","api-error"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:I}=o.createSolvimonElement(C,"billing-information-form");exports.defineSolvimonBillingInformationForm=I;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { shallowRef, computed, defineComponent, ref, watch, openBlock, createElementBlock, withModifiers, createVNode, unref, withCtx, createTextVNode, toDisplayString, createElementVNode, createBlock, createCommentVNode, Fragment, onMounted, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { _ as _sfc_main$
|
|
2
|
+
import { a as _sfc_main$9 } from "../../Button.vue.es-BrWHdiEA.mjs";
|
|
3
|
+
import { o as objectDiff, u as useCustomerFormLabels, _ as _sfc_main$6, a as _sfc_main$7 } from "../../useCustomerFormLabels-mX5QpApD.mjs";
|
|
4
|
+
import { _ as _sfc_main$8 } from "../../ErrorNotification.vue.es-C22Kt8Qn.mjs";
|
|
5
|
+
import { _ as _sfc_main$5 } from "../../Input.vue.es-Dp_RH03h.mjs";
|
|
6
|
+
import { u as useIntl, _ as _sfc_main$4, d as _sfc_main$a, e as createSolvimonElement } from "../../customElements-DdFA__me.mjs";
|
|
7
|
+
import { a as isOrganization, i as isIndividual } from "../../typeGuards.es-fwUoeMCe.mjs";
|
|
8
|
+
import { u as useValidation, e as email, r as required } from "../../index-C5bKRt7l.mjs";
|
|
9
|
+
import { b as getApiError } from "../../api.es-C5pe8LUl.mjs";
|
|
10
|
+
import { u as useCustomer } from "../../useCustomer-BNhHz9RJ.mjs";
|
|
11
|
+
import { g as getComponentName } from "../../component-BG6DmXcy.mjs";
|
|
6
12
|
const useForm = ({
|
|
7
13
|
initialState,
|
|
8
14
|
validationRules,
|
|
@@ -156,14 +162,13 @@ const mapFormStateToCustomerPayload = (data) => data.type === "ORGANIZATION" ? {
|
|
|
156
162
|
}
|
|
157
163
|
};
|
|
158
164
|
const _hoisted_1 = { class: "grid grid-cols-1 gap-4" };
|
|
159
|
-
const _hoisted_2 = { class: "flex
|
|
160
|
-
const _hoisted_3 = { class: "
|
|
161
|
-
const _hoisted_4 = {
|
|
162
|
-
const _hoisted_5 = {
|
|
165
|
+
const _hoisted_2 = { class: "mt-6 flex items-center justify-between gap-4" };
|
|
166
|
+
const _hoisted_3 = { class: "flex flex-col gap-2" };
|
|
167
|
+
const _hoisted_4 = {
|
|
163
168
|
key: 0,
|
|
164
169
|
class: "grid grid-cols-2 gap-2"
|
|
165
170
|
};
|
|
166
|
-
const
|
|
171
|
+
const _hoisted_5 = { class: "grid grid-cols-3 gap-2" };
|
|
167
172
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
168
173
|
__name: "BillingInformationForm",
|
|
169
174
|
props: {
|
|
@@ -175,6 +180,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
175
180
|
setup(__props) {
|
|
176
181
|
const props = __props;
|
|
177
182
|
const { $t } = useIntl();
|
|
183
|
+
const labels = useCustomerFormLabels();
|
|
178
184
|
const { validation, form, updateInitialState, submit, hasChanges } = useBillingInformationForm({
|
|
179
185
|
onSubmit: ({ customerId, payload }) => props.updateCustomer({ customerId, payload })
|
|
180
186
|
});
|
|
@@ -214,11 +220,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
214
220
|
tag: "h2"
|
|
215
221
|
}, {
|
|
216
222
|
default: withCtx(() => [
|
|
217
|
-
createTextVNode(toDisplayString(unref(
|
|
218
|
-
defaultMessage: "Customer information",
|
|
219
|
-
id: "checkout.contact_information_block.title",
|
|
220
|
-
description: "The title of the contact information block in the checkout form"
|
|
221
|
-
})), 1)
|
|
223
|
+
createTextVNode(toDisplayString(unref(labels).contactInformationTitle), 1)
|
|
222
224
|
]),
|
|
223
225
|
_: 1
|
|
224
226
|
}),
|
|
@@ -228,79 +230,28 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
228
230
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(form).email = $event),
|
|
229
231
|
required: "",
|
|
230
232
|
type: "email",
|
|
231
|
-
label: unref(
|
|
232
|
-
|
|
233
|
-
id: "checkout.email_address.label",
|
|
234
|
-
description: "The email address of the customer in the checkout form"
|
|
235
|
-
}),
|
|
236
|
-
placeholder: unref($t)({
|
|
237
|
-
defaultMessage: "Email address...",
|
|
238
|
-
id: "checkout.email_address.placeholder",
|
|
239
|
-
description: "The email address of the customer in the checkout form"
|
|
240
|
-
}),
|
|
233
|
+
label: unref(labels).emailLabel,
|
|
234
|
+
placeholder: unref(labels).emailPlaceholder,
|
|
241
235
|
error: ((_a = unref(validation).email) == null ? void 0 : _a.$errors) || ((_b = __props.apiError) == null ? void 0 : _b.email)
|
|
242
236
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
243
237
|
createVNode(unref(_sfc_main$6), {
|
|
244
238
|
"single-model-value": unref(form).country,
|
|
245
239
|
"onUpdate:singleModelValue": _cache[1] || (_cache[1] = ($event) => unref(form).country = $event),
|
|
246
|
-
label: unref(
|
|
247
|
-
defaultMessage: "Country",
|
|
248
|
-
id: "checkout.country.label",
|
|
249
|
-
description: "The country of the customer in the checkout form"
|
|
250
|
-
}),
|
|
240
|
+
label: unref(labels).countryLabel,
|
|
251
241
|
error: (_c = __props.apiError) == null ? void 0 : _c.country
|
|
252
242
|
}, null, 8, ["single-model-value", "label", "error"]),
|
|
253
|
-
showCompanyPurchaseToggle.value ? (openBlock(), createBlock(
|
|
243
|
+
showCompanyPurchaseToggle.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
254
244
|
key: 0,
|
|
255
245
|
modelValue: companyPurchaseModel.value,
|
|
256
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => companyPurchaseModel.value = $event)
|
|
257
|
-
|
|
258
|
-
}, {
|
|
259
|
-
"inline-label": withCtx(() => [
|
|
260
|
-
createElementVNode("div", _hoisted_2, [
|
|
261
|
-
createVNode(unref(_sfc_main$4), { tag: "span" }, {
|
|
262
|
-
default: withCtx(() => [
|
|
263
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
264
|
-
defaultMessage: "Company purchase",
|
|
265
|
-
id: "checkout.company_purchase_toggle.title",
|
|
266
|
-
description: "The title of the company purchase toggle in the checkout"
|
|
267
|
-
})), 1)
|
|
268
|
-
]),
|
|
269
|
-
_: 1
|
|
270
|
-
}),
|
|
271
|
-
createVNode(unref(_sfc_main$4), {
|
|
272
|
-
tag: "span",
|
|
273
|
-
variant: "body-xs",
|
|
274
|
-
shade: "lighter"
|
|
275
|
-
}, {
|
|
276
|
-
default: withCtx(() => [
|
|
277
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
278
|
-
defaultMessage: "I am purchasing on behalf of a company",
|
|
279
|
-
id: "checkout.company_purchase_toggle.sub_title",
|
|
280
|
-
description: "The subtitle of the company purchase toggle in the checkout"
|
|
281
|
-
})), 1)
|
|
282
|
-
]),
|
|
283
|
-
_: 1
|
|
284
|
-
})
|
|
285
|
-
])
|
|
286
|
-
]),
|
|
287
|
-
_: 1
|
|
288
|
-
}, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
246
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => companyPurchaseModel.value = $event)
|
|
247
|
+
}, null, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
289
248
|
isCompanyPurchase.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
290
249
|
createVNode(unref(_sfc_main$5), {
|
|
291
250
|
modelValue: unref(form).companyVatNumber,
|
|
292
251
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(form).companyVatNumber = $event),
|
|
293
252
|
name: "vat_number",
|
|
294
|
-
label: unref(
|
|
295
|
-
|
|
296
|
-
id: "checkout.vat_number.label",
|
|
297
|
-
description: "The label for the vat number in the checkout form"
|
|
298
|
-
}),
|
|
299
|
-
placeholder: unref($t)({
|
|
300
|
-
defaultMessage: "VAT number...",
|
|
301
|
-
id: "checkout.vat_number.placeholder",
|
|
302
|
-
description: "The label for the vat number in the checkout form"
|
|
303
|
-
}),
|
|
253
|
+
label: unref(labels).vatNumberLabel,
|
|
254
|
+
placeholder: unref(labels).vatNumberPlaceholder,
|
|
304
255
|
error: (_d = __props.apiError) == null ? void 0 : _d.vat_number
|
|
305
256
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
306
257
|
createVNode(unref(_sfc_main$5), {
|
|
@@ -308,21 +259,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
308
259
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(form).companyLegalName = $event),
|
|
309
260
|
required: "",
|
|
310
261
|
name: "legal_name",
|
|
311
|
-
label: unref(
|
|
312
|
-
|
|
313
|
-
id: "checkout.legal_name.label",
|
|
314
|
-
description: "The legal name of the organization customer in the checkout form"
|
|
315
|
-
}),
|
|
316
|
-
placeholder: unref($t)({
|
|
317
|
-
defaultMessage: "Legal entity name...",
|
|
318
|
-
id: "checkout.legal_name.placeholder",
|
|
319
|
-
description: "The legal name of the organization customer in the checkout form"
|
|
320
|
-
}),
|
|
262
|
+
label: unref(labels).legalNameLabel,
|
|
263
|
+
placeholder: unref(labels).legalNamePlaceholder,
|
|
321
264
|
error: (_e = __props.apiError) == null ? void 0 : _e.legal_name
|
|
322
265
|
}, null, 8, ["modelValue", "label", "placeholder", "error"])
|
|
323
266
|
], 64)) : createCommentVNode("", true)
|
|
324
267
|
]),
|
|
325
|
-
createElementVNode("div",
|
|
268
|
+
createElementVNode("div", _hoisted_2, [
|
|
326
269
|
createVNode(unref(_sfc_main$4), {
|
|
327
270
|
variant: "heading-3",
|
|
328
271
|
tag: "h2"
|
|
@@ -337,8 +280,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
337
280
|
_: 1
|
|
338
281
|
})
|
|
339
282
|
]),
|
|
340
|
-
createElementVNode("div",
|
|
341
|
-
!isCompanyPurchase.value ? (openBlock(), createElementBlock("div",
|
|
283
|
+
createElementVNode("div", _hoisted_3, [
|
|
284
|
+
!isCompanyPurchase.value ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
342
285
|
createVNode(unref(_sfc_main$5), {
|
|
343
286
|
modelValue: unref(form).firstName,
|
|
344
287
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(form).firstName = $event),
|
|
@@ -376,11 +319,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
376
319
|
modelValue: unref(form).addressLine1,
|
|
377
320
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(form).addressLine1 = $event),
|
|
378
321
|
name: "address_line_1",
|
|
379
|
-
label: unref(
|
|
380
|
-
defaultMessage: "Billing address",
|
|
381
|
-
id: "checkout.address.title",
|
|
382
|
-
description: "Address line 1 of the customer address in the checkout form"
|
|
383
|
-
}),
|
|
322
|
+
label: unref(labels).addressTitle,
|
|
384
323
|
placeholder: unref($t)({
|
|
385
324
|
defaultMessage: "Address line 1...",
|
|
386
325
|
id: "checkout.address.line1.placeholder",
|
|
@@ -399,38 +338,26 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
399
338
|
}),
|
|
400
339
|
error: (_i = __props.apiError) == null ? void 0 : _i.address_line_2
|
|
401
340
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
402
|
-
createElementVNode("div",
|
|
341
|
+
createElementVNode("div", _hoisted_5, [
|
|
403
342
|
createVNode(unref(_sfc_main$5), {
|
|
404
343
|
modelValue: unref(form).postalCode,
|
|
405
344
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(form).postalCode = $event),
|
|
406
345
|
name: "postal_code",
|
|
407
|
-
placeholder: unref(
|
|
408
|
-
defaultMessage: "Postal code...",
|
|
409
|
-
id: "checkout.address.portal_code.placeholder",
|
|
410
|
-
description: "Postal code of the customer address in the checkout form"
|
|
411
|
-
}),
|
|
346
|
+
placeholder: unref(labels).postalCodePlaceholder,
|
|
412
347
|
error: (_j = __props.apiError) == null ? void 0 : _j.postal_code
|
|
413
348
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
414
349
|
createVNode(unref(_sfc_main$5), {
|
|
415
350
|
modelValue: unref(form).city,
|
|
416
351
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(form).city = $event),
|
|
417
352
|
name: "city",
|
|
418
|
-
placeholder: unref(
|
|
419
|
-
defaultMessage: "City...",
|
|
420
|
-
id: "checkout.address.city.placeholder",
|
|
421
|
-
description: "City of the customer address in the checkout form"
|
|
422
|
-
}),
|
|
353
|
+
placeholder: unref(labels).cityPlaceholder,
|
|
423
354
|
error: (_k = __props.apiError) == null ? void 0 : _k.city
|
|
424
355
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
425
356
|
createVNode(unref(_sfc_main$5), {
|
|
426
357
|
modelValue: unref(form).state,
|
|
427
358
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(form).state = $event),
|
|
428
359
|
name: "state",
|
|
429
|
-
placeholder: unref(
|
|
430
|
-
defaultMessage: "State...",
|
|
431
|
-
id: "checkout.address.state.placeholder",
|
|
432
|
-
description: "State of the customer address in the checkout form"
|
|
433
|
-
}),
|
|
360
|
+
placeholder: unref(labels).statePlaceholder,
|
|
434
361
|
error: (_l = __props.apiError) == null ? void 0 : _l.state
|
|
435
362
|
}, null, 8, ["modelValue", "placeholder", "error"])
|
|
436
363
|
])
|
|
@@ -535,20 +462,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
535
462
|
},
|
|
536
463
|
emits: ["error"],
|
|
537
464
|
setup(__props) {
|
|
465
|
+
const componentName = getComponentName("billing-information-form");
|
|
538
466
|
return (_ctx, _cache) => {
|
|
539
|
-
var _a, _b, _c, _d;
|
|
540
467
|
return openBlock(), createBlock(unref(_sfc_main$a), {
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
locale: __props.locale,
|
|
544
|
-
"portal-object": __props.portalObject,
|
|
468
|
+
entry: _ctx.$props,
|
|
469
|
+
"component-name": unref(componentName),
|
|
545
470
|
"allowed-portal-types": ["CUSTOMER"],
|
|
546
|
-
"primary-color": (_b = (_a = __props.branding) == null ? void 0 : _a.colors) == null ? void 0 : _b.primary,
|
|
547
|
-
"secondary-color": (_d = (_c = __props.branding) == null ? void 0 : _c.colors) == null ? void 0 : _d.secondary,
|
|
548
|
-
"experimental-features": __props.experimentalFeatures,
|
|
549
|
-
"log-level": __props.logLevel,
|
|
550
|
-
"on-log": __props.onLog,
|
|
551
|
-
"css-overrides": __props.cssOverrides,
|
|
552
471
|
onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
|
|
553
472
|
}, {
|
|
554
473
|
default: withCtx(() => [
|
|
@@ -566,19 +485,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
566
485
|
}, 16)
|
|
567
486
|
]),
|
|
568
487
|
_: 1
|
|
569
|
-
}, 8, ["
|
|
488
|
+
}, 8, ["entry", "component-name"]);
|
|
570
489
|
};
|
|
571
490
|
}
|
|
572
491
|
});
|
|
573
|
-
const
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
customElements.define(COMPONENT_NAME, SolvimonBillingInformationForm);
|
|
578
|
-
}
|
|
579
|
-
};
|
|
492
|
+
const { define: defineSolvimonBillingInformationForm } = createSolvimonElement(
|
|
493
|
+
_sfc_main,
|
|
494
|
+
"billing-information-form"
|
|
495
|
+
);
|
|
580
496
|
export {
|
|
581
|
-
COMPONENT_NAME,
|
|
582
|
-
SolvimonBillingInformationForm,
|
|
583
497
|
defineSolvimonBillingInformationForm
|
|
584
498
|
};
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare const COMPONENT_NAME: string;
|
|
3
|
-
export declare const defineSolvimonCustomerPaymentMethods: () => void;
|
|
1
|
+
export * from '../../types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CMIVAoQq.js"),o=require("../../CustomerPaymentMethods.lib-BKgQTCtc.js"),r=require("../../useLoadInitialData-CiJldX50.js"),n=require("../../usePaymentMethods-CFL3hFW_.js"),a=require("../../customElements-BTJzBHMy.js"),i=require("../../component-hDuDTBt5.js"),s=e.defineComponent({__name:"CustomerPaymentMethods.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},configuration:{type:Object}},setup(t){var a;const i=t,s=i.portalObject.customer_id,p=n.usePaymentMethods({customerId:s,pageSize:(null==(a=i.configuration)?void 0:a.maxItems)||o.DEFAULT_MAX_ITEMS}),{isLoading:y}=r.useLoadInitialData(p.fetchInitial());return(t,o)=>e.renderSlot(t.$slots,"default",{paymentMethods:e.unref(p).items.value,isLoading:e.unref(y)})}}),p=e.defineComponent({__name:"CustomerPaymentMethods.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},configuration:{type:Object}},setup(o){const r=i.getComponentName("customer-payment-methods");return(n,i)=>(e.openBlock(),e.createBlock(e.unref(a._sfc_main$1),{entry:n.$props,"component-name":e.unref(r),"allowed-portal-types":["CUSTOMER"],onError:i[0]||(i[0]=e=>n.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(s,e.normalizeProps(e.guardReactiveProps(n.$props)),{default:e.withCtx(({paymentMethods:r,isLoading:n})=>[e.createVNode(t._sfc_main,{configuration:o.configuration,"payment-methods":r,"is-loading":n},null,8,["configuration","payment-methods","is-loading"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:y}=a.createSolvimonElement(p,"customer-payment-methods");exports.defineSolvimonCustomerPaymentMethods=y;
|