@solvimon/solvimon-web 0.1.0-alpha.27 → 0.1.0-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +151 -17
- package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
- package/dist/{Avatar.vue.es-sfMZiX7A.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +18 -19
- package/dist/{Button.vue.es-Cmjfm4jw.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
- package/dist/{ChargeOnDemandModal-CB4mrvkU.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +240 -251
- package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
- package/dist/{Chip.vue.es-DksjbJO8.mjs → Chip.vue.es-D3UDSyXC.mjs} +35 -21
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/{ContextMenu.vue.es-zRvoEJlV.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
- package/dist/{CustomerBillingInformation.vue.es-DhFbpZPK.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +27 -30
- package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs +2927 -0
- package/dist/{DividerText.vue.es-nAo1eRMV.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
- package/dist/{ErrorNotification.vue.es-h-D37rfG.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
- package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
- package/dist/{IconButton.vue.es-DvfErUOq.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
- package/dist/{IconTitle.vue.es-B_8bS0tn.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
- package/dist/Input.vue.es-D8Oj8MWv.mjs +250 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +14 -13
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs +56 -0
- package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
- package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
- package/dist/{Modal.vue.es-BeI5C9-9.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +70 -113
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-mCqdFjnL.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +24 -24
- package/dist/{PaymentIntegrationForm-DVx4DEtD.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs +181 -0
- package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +422 -311
- package/dist/PaymentIntegrationFormStripe-BYdAkvLt.mjs +757 -0
- package/dist/{PaymentMethod.vue.es-4YRmQZHX.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
- package/dist/{PaymentMethodForm-Dnj_7mJU.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +57 -65
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs +169 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +13 -8
- package/dist/PlanCustomizationEditor-D29N4HUM.mjs +711 -0
- package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
- package/dist/PortalNotAvailable-DPE9y37H.mjs +25 -0
- package/dist/{PricingGroupRangeInput.vue.es-BhNcjD7z.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +48 -48
- package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
- package/dist/{Section.vue.es-DVEpre9O.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
- package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/{StepInput.vue.es-o-3Lg4Ai.mjs → StepInput.vue.es-DweyzpkL.mjs} +5 -4
- package/dist/{SubscriptionDetails.entry.ce-CGl6Z5ql.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +448 -460
- package/dist/{SubscriptionSchedules-DuWZmnD2.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs +203 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +126 -90
- package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
- package/dist/{TrialChip.vue.es-Dmv3lPiQ.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
- package/dist/{cn.es-Cvt6TIwv.mjs → cn.es-B8acFrov.mjs} +385 -477
- package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
- package/dist/components/BillingInformation/BillingInformation.mjs +11 -10
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +397 -350
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -19
- package/dist/components/Invoice/Invoice.mjs +2691 -227
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +66 -62
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -40
- package/dist/components/InvoicesList/InvoicesList.mjs +20 -18
- package/dist/components/PaymentHistory/PaymentHistory.mjs +72 -64
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +33 -31
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +49 -45
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +47 -31
- package/dist/components/WalletBalances/WalletBalances.mjs +22 -21
- package/dist/core/index.mjs +61 -95
- package/dist/customElements-BTj4ii4f.mjs +5072 -0
- package/dist/customer-BIjC0CWJ.mjs +31 -0
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/{de-DE-DKp5LCu0.mjs → de-DE-DBbERiFr.mjs} +110 -18
- package/dist/{de-DE-jkW2dJrX.mjs → de-DE-UJ6X6jXu.mjs} +16 -10
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/formControl-BZQLHnOO.mjs +749 -0
- package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
- package/dist/fr-FR-IWJE-urI.mjs +431 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.es-CpmQmvOg.mjs +633 -0
- package/dist/index.mjs +2 -2
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/{invoices-3520M5AN.mjs → invoices-e1sKLgxg.mjs} +40 -35
- package/dist/{it-IT-BgFVsO5S.mjs → it-IT-B7ui2oxO.mjs} +110 -18
- package/dist/{it-IT-CaaFToGB.mjs → it-IT-DnJP5URH.mjs} +9 -3
- package/dist/{nl-NL-UiRWbO9S.mjs → nl-NL-Bafh2xoT.mjs} +116 -24
- package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-q9xfTZF0.mjs} +12 -6
- package/dist/paymentMethods-B_82JGk_.mjs +77 -0
- package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
- package/dist/paymentOutcome-BXEU5-84.mjs +67 -0
- package/dist/payments-BnxbzQUC.mjs +68 -0
- package/dist/{pricing-BIMpDI_p.mjs → pricing-BOhvWWMj.mjs} +3 -3
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-Dxv5FOBd.mjs +233 -0
- package/dist/pricingPlanSchedules-Dv7ZCgNp.mjs +38 -0
- package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +146 -94
- package/dist/screens/PayInvoice/PayInvoice.mjs +603 -278
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +102 -88
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +371 -347
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/sorting.es-CVyKw23D.mjs +77 -0
- package/dist/subscription-BhxoqwcT.mjs +83 -0
- package/dist/subscriptions-BWXZGK0E.mjs +66 -0
- package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +2 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +22 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +15 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +0 -2
- package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
- package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +0 -2
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +9 -2
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +47 -4
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +11 -1
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +30 -3
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -3
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +2 -4
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +5 -1
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +2 -2
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +6 -1
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +5 -1
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -7
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +1 -1
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.types.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +13 -4
- package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +7 -2
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +1 -1
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -2
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +2 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +1 -10
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -16
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +1 -14
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +4 -1
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -2
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +0 -3
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +3 -1
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +1 -7
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -1
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +0 -3
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -1
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -1
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +0 -1
- package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -1
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +0 -1
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +3 -2
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +0 -2
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +0 -1
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +2 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -1
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +3 -2
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +0 -2
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +3 -2
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +0 -2
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +3 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -1
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +1 -3
- package/dist/types/public/core/action-request.types.d.ts +5 -0
- package/dist/types/public/core/registry.ce.d.ts +3 -3
- package/dist/types/public/core/registry.d.ts +0 -3
- package/dist/types/public/core/types.d.ts +5 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +0 -7
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +2 -2
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +5 -1
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +1 -2
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -1
- package/dist/types/services/paymentMethods.types.d.ts +2 -10
- package/dist/types/services/requests.types.d.ts +16 -6
- package/dist/types/translations/supported.d.ts +1 -1
- package/dist/types/types/errors.d.ts +3 -2
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/shippingAddress.d.ts +9 -0
- package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
- package/dist/useActionDispatchProvider-3W2vEyIg.mjs +9 -0
- package/dist/{useCustomer-B-jyJIVy.mjs → useCustomer-cObBvDOu.mjs} +2 -2
- package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
- package/dist/useIncrementalLoading-CATuO36d.mjs +60 -0
- package/dist/useInvoiceData-DD44HTl7.mjs +21 -0
- package/dist/useInvoicesList-CpB-41MQ.mjs +674 -0
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
- package/dist/usePaymentFormHold-ByUZi3A-.mjs +181 -0
- package/dist/{usePaymentMethodAvailability-DAcsKGeh.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +8 -8
- package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
- package/dist/{usePayments-Cr6NlGaW.mjs → usePayments-BXABv-lF.mjs} +9 -9
- package/dist/usePortal-CwR_FxTb.mjs +7 -0
- package/dist/useService-BZcbUZHI.mjs +56 -0
- package/dist/{useTimePeriod.es-DWLsLFqs.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/package.json +33 -60
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js +0 -1
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs +0 -223
- package/dist/Alert.vue.es-RyK53a2P.js +0 -1
- package/dist/Amount.vue.es-DExaYBqm.js +0 -1
- package/dist/Avatar.vue.es-BJxSCU76.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +0 -1
- package/dist/Button.vue.es-BzkuglKw.js +0 -1
- package/dist/ChargeOnDemandModal-b17YswWA.js +0 -1
- package/dist/Checkout.entry.ce-HlUrJ1kh.js +0 -2
- package/dist/Checkout.entry.ce-X2zGo6hG.mjs +0 -4381
- package/dist/Chip.vue.es-B2jjzIOc.js +0 -1
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
- package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
- package/dist/ContextMenu.vue.es-DUU43tCy.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-BfPEB42w.js +0 -1
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs +0 -2688
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +0 -1
- package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
- package/dist/DividerText.vue.es-CoyDk9eH.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs +0 -335
- package/dist/ErrorNotification.vue.es-tS9vySUZ.js +0 -1
- package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
- package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
- package/dist/IconButton.vue.es-DgQN18Am.js +0 -1
- package/dist/IconTitle.vue.es-Dn2xcPHj.js +0 -1
- package/dist/Input.vue.es-B60eK8Ds.js +0 -1
- package/dist/Input.vue.es-CU9u5yKH.mjs +0 -235
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs +0 -41
- package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +0 -1
- package/dist/InvoiceSummary.vue.es-CRiFJ5x-.mjs +0 -2596
- package/dist/Modal.vue.es-DvLB3uCG.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js +0 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js +0 -1
- package/dist/PaymentHistoryBlock-Uw8xeKUk.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js +0 -1
- package/dist/PaymentIntegrationForm-Cx0zCf_C.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +0 -154
- package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +0 -98
- package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +0 -102
- package/dist/PaymentIntegrationFormStripe-Ds0BXt89.mjs +0 -587
- package/dist/PaymentMethod.vue.es-D0D9jW8s.js +0 -1
- package/dist/PaymentMethodForm-CMP5FLRO.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js +0 -1
- package/dist/PlanCustomizationEditor-DS1r2vBO.js +0 -1
- package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +0 -722
- package/dist/PricingGroupRangeInput.vue.es-VoOTnHjk.js +0 -185
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +0 -1
- package/dist/RadioGroupExtended.vue.es-9YzXzZF0.mjs +0 -163
- package/dist/RadioGroupExtended.vue.es-DlbURHQN.js +0 -1
- package/dist/Section.vue.es-Bbt0RITt.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs +0 -687
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +0 -41
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +0 -1
- package/dist/StepInput.vue.es-H-3R4jJq.js +0 -1
- package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +0 -1
- package/dist/SubscriptionSchedules-Dy0fUgx5.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs +0 -5234
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs +0 -91
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js +0 -1
- package/dist/TooltipParagraph.vue.es-B9A17aG7.mjs +0 -129
- package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +0 -1
- package/dist/TrialChip.vue.es-CLQZ5F0n.js +0 -1
- package/dist/accel.svg.es-DFJXdioD.js +0 -1
- package/dist/ach.svg.es-BYP873jU.js +0 -1
- package/dist/adyen-BJfC7N6f.js +0 -1
- package/dist/adyenSdk-BP2XXzeJ.js +0 -1
- package/dist/amazon-pay.svg.es-CQWgtowB.js +0 -1
- package/dist/amex.svg.es-DKhW4Txt.js +0 -1
- package/dist/api.es-duCDtZD9.js +0 -1
- package/dist/apple-pay.svg.es-Dyojd0F-.js +0 -1
- package/dist/bacs.svg.es-GJpZs1sD.js +0 -1
- package/dist/bancontact.svg.es-BQh7nAup.js +0 -1
- package/dist/carnet.svg.es-DY04-F2L.js +0 -1
- package/dist/cartes-bancaires.svg.es-BleHMlkN.js +0 -1
- package/dist/cashapp.svg.es-MwXGYom6.js +0 -1
- package/dist/cn.es-C9Yqq4tg.js +0 -1
- package/dist/comparators.es-OGt19O9U.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +0 -1
- package/dist/components/Invoice/Invoice.cjs +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +0 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +0 -1
- package/dist/components/InvoicesList/InvoicesList.cjs +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.cjs +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +0 -1
- package/dist/components/WalletBalances/WalletBalances.cjs +0 -1
- package/dist/configuration-akTS7Wiw.js +0 -1
- package/dist/core/index.cjs +0 -1
- package/dist/countryData.es-C4jHBzfo.js +0 -1
- package/dist/customElements-B58FcXIN.mjs +0 -6633
- package/dist/customElements-DUMRMFQ5.js +0 -1215
- package/dist/customer-B3LPAhaD.mjs +0 -31
- package/dist/customer-CisTPaXj.js +0 -1
- package/dist/customer.es-B5ppZf0j.mjs +0 -20
- package/dist/customer.es-BButyYo0.js +0 -1
- package/dist/dana.svg.es-BDtZLpwd.js +0 -1
- package/dist/dankort.svg.es-CksaipXF.js +0 -1
- package/dist/de-DE-B4TUdnUf.js +0 -1
- package/dist/de-DE-DL74pMLb.js +0 -1
- package/dist/diners.svg.es-D6Mu1pqP.js +0 -1
- package/dist/discover.svg.es-DgqWCMUM.js +0 -1
- package/dist/eftpos.svg.es-Dk2DOT8W.js +0 -1
- package/dist/elo.svg.es-C-BzjuRP.js +0 -1
- package/dist/en-US-B2XFj-_p.js +0 -1
- package/dist/en-US-DQ5vlv9Z.mjs +0 -339
- package/dist/en-US-J85TQRI8.js +0 -1
- package/dist/en-US-SDhjlY_v.mjs +0 -301
- package/dist/eps.svg.es-B_85bP-W.js +0 -1
- package/dist/error-BHVZJGwD.mjs +0 -13
- package/dist/error-CmduqgVq.js +0 -1
- package/dist/floating-ui.vue.es-Bly3DGWm.js +0 -1
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
- package/dist/formControl-ODrpUvcA.js +0 -1
- package/dist/formControl-dX7l8o3c.mjs +0 -845
- package/dist/formatting.es-C72Nsrmh.js +0 -1
- package/dist/gcash.svg.es-BKAdhWzv.js +0 -1
- package/dist/getComposedString.es-haS4bAj7.js +0 -1
- package/dist/getCountryNameByCode.es-Xxc0nZsH.js +0 -1
- package/dist/girocard.svg.es-HSOEvDif.js +0 -1
- package/dist/go-pay.svg.es-DQjtunZ_.js +0 -1
- package/dist/google-pay.svg.es-hzc_EgiJ.js +0 -1
- package/dist/hipercard.svg.es-CbCsRY2q.js +0 -1
- package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
- package/dist/icon-sprite.svg.es-Ds6lDf5p.js +0 -1
- package/dist/ideal.svg.es-Booz1IML.js +0 -1
- package/dist/index-BPZPnOQQ.js +0 -7
- package/dist/index.cjs +0 -1
- package/dist/index.es-BclokHQX.js +0 -1
- package/dist/invoices-CKQBLar2.js +0 -1
- package/dist/it-IT-CSYvGmpT.js +0 -1
- package/dist/it-IT-CqNK62qe.js +0 -1
- package/dist/jcb.svg.es-B3WPB8c2.js +0 -1
- package/dist/kakao-pay.svg.es-Cs-lCW74.js +0 -1
- package/dist/klarna.svg.es-Cs6XaHD7.js +0 -1
- package/dist/maestro.svg.es-BvK4oPg4.js +0 -1
- package/dist/mastercard.svg.es-lp4AXyyV.js +0 -1
- package/dist/momo.svg.es-C5aLYf_R.js +0 -1
- package/dist/nl-NL-CpE4IgwO.js +0 -1
- package/dist/nl-NL-Dx-TNXQ1.js +0 -1
- package/dist/nyce.svg.es-ArAivAZW.js +0 -1
- package/dist/object.es-CdriXMPs.js +0 -1
- package/dist/open-banking.svg.es-Q3rRkCvP.js +0 -1
- package/dist/paymentFailure-Bh60UhxA.mjs +0 -47
- package/dist/paymentFailure-Cki8c5BX.js +0 -1
- package/dist/paymentMethods-CWlvwK5V.mjs +0 -77
- package/dist/paymentMethods-Cw-i95mM.js +0 -1
- package/dist/payments-2qeQdpiW.mjs +0 -45
- package/dist/payments-CS7_YcOW.js +0 -1
- package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
- package/dist/pricing-BOqG21f9.js +0 -1
- package/dist/pricing.es-C07bgEZx.js +0 -1
- package/dist/pricingItemConfigs.es-D4aYkYcf.js +0 -1
- package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +0 -77
- package/dist/pricingPlanSchedule-BM8vsKkV.js +0 -1
- package/dist/pricingPlanSchedules-B_sTAIgU.js +0 -1
- package/dist/pricingPlanSchedules-ChQCbMfe.mjs +0 -32
- package/dist/pulse.svg.es-Dit33E8S.js +0 -1
- package/dist/screens/Checkout/Checkout.cjs +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +0 -1
- package/dist/screens/PayInvoice/PayInvoice.cjs +0 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +0 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +0 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +0 -1
- package/dist/sepa.svg.es-0t4DKeA1.js +0 -1
- package/dist/sessionReference-3h-6FdrC.mjs +0 -43
- package/dist/sessionReference-m_6Rp4X1.js +0 -1
- package/dist/slots.es-T9ZJRGtG.js +0 -1
- package/dist/sorting.es-DCihKqD2.mjs +0 -77
- package/dist/sorting.es-DQsjKr8A.js +0 -1
- package/dist/star.svg.es-D2JncY7b.js +0 -1
- package/dist/subscription-D1yHKUNc.mjs +0 -69
- package/dist/subscription-ZA62t4E9.js +0 -1
- package/dist/subscriptions-DcfcBYAq.mjs +0 -55
- package/dist/subscriptions-DwVsf4Ev.js +0 -1
- package/dist/trustly.svg.es-GJByiFAs.js +0 -1
- package/dist/twint.svg.es-BJ2f48og.js +0 -1
- package/dist/typeGuards.es-DS3vZaJn.js +0 -1
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +0 -14
- package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +0 -3
- package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +0 -5
- package/dist/types/services/portals.types.d.ts +0 -70
- package/dist/types/types/subscription.d.ts +0 -4
- package/dist/unionpay.svg.es-DjFZ5EMQ.js +0 -1
- package/dist/url-TNRgVI8A.mjs +0 -21
- package/dist/url-vloPOiXd.js +0 -1
- package/dist/useActionDispatchProvider-B3AvkLL2.mjs +0 -11
- package/dist/useActionDispatchProvider-DFhppdve.js +0 -1
- package/dist/useCustomer-BwZKd9i5.js +0 -1
- package/dist/useCustomerFormLabels-BQk3d9PZ.mjs +0 -968
- package/dist/useCustomerFormLabels-DV9QiMYh.js +0 -1
- package/dist/useExperimentalFeature-BciA3Ok9.mjs +0 -135
- package/dist/useExperimentalFeature-CGIkgFR4.js +0 -1
- package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
- package/dist/useInvoiceData-BocKdeg7.mjs +0 -38
- package/dist/useInvoiceData-CNV_FMV8.js +0 -1
- package/dist/useInvoicesList-C8nsXMJ6.mjs +0 -500
- package/dist/useInvoicesList-S0IbQcrD.js +0 -1
- package/dist/useLoadInitialData-D9GkzY8t.mjs +0 -15
- package/dist/useLoadInitialData-D_R6Jy1s.js +0 -1
- package/dist/usePaymentMethodAvailability-BO_guwAw.js +0 -1
- package/dist/usePaymentMethodOptions-1vRAo6Ib.mjs +0 -39
- package/dist/usePaymentMethodOptions-CuzOoi2k.js +0 -1
- package/dist/usePaymentMethods-CbwnGONc.mjs +0 -15
- package/dist/usePaymentMethods-DDaTZQZp.js +0 -1
- package/dist/usePayments-DDSjo0rH.js +0 -1
- package/dist/usePortal-C27omjhz.js +0 -1
- package/dist/usePortal-C5AsegpS.mjs +0 -11
- package/dist/useService-Bh47bllz.mjs +0 -50
- package/dist/useService-H7BjLg8P.js +0 -1
- package/dist/useSubscription-BZJL0VOA.mjs +0 -210
- package/dist/useSubscription-D787IXY-.js +0 -1
- package/dist/useTimePeriod.es-rzxqUCTu.js +0 -1
- package/dist/useViewport-BgdA2PPt.mjs +0 -29
- package/dist/useViewport-hPRVDWCm.js +0 -1
- package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
- package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
- package/dist/visa.svg.es-NY3BHhda.js +0 -1
- package/dist/vpay.svg.es-VViQi42w.js +0 -1
- package/dist/wallets.es-CNIMW5ay.js +0 -1
- package/dist/zip.svg.es-C9S_F31W.js +0 -1
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { A as n, t as y } from "./error-BHVZJGwD.mjs";
|
|
2
|
-
import { shallowRef as d, ref as c, computed as g } from "vue";
|
|
3
|
-
function w(e) {
|
|
4
|
-
return e == null ? !0 : typeof e == "string" || Array.isArray(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !0;
|
|
5
|
-
}
|
|
6
|
-
function f(e, t) {
|
|
7
|
-
if (e === t) return !0;
|
|
8
|
-
if (e == null || t == null || typeof e != "object" || typeof t != "object" || Array.isArray(e) !== Array.isArray(t)) return !1;
|
|
9
|
-
const o = Object.keys(e), i = Object.keys(t);
|
|
10
|
-
return o.length !== i.length ? !1 : o.every(
|
|
11
|
-
(r) => f(e[r], t[r])
|
|
12
|
-
);
|
|
13
|
-
}
|
|
14
|
-
const m = f;
|
|
15
|
-
function A(e, t) {
|
|
16
|
-
m(e.value, t) || (e.value = t);
|
|
17
|
-
}
|
|
18
|
-
function h(e) {
|
|
19
|
-
return typeof e == "object" && e !== null && "data" in e;
|
|
20
|
-
}
|
|
21
|
-
function j(e) {
|
|
22
|
-
if (!h(e))
|
|
23
|
-
throw new Error("Expected collection response.");
|
|
24
|
-
return e.data;
|
|
25
|
-
}
|
|
26
|
-
function E(e, t) {
|
|
27
|
-
return t ? j(e) : e;
|
|
28
|
-
}
|
|
29
|
-
function x({
|
|
30
|
-
initialValue: e,
|
|
31
|
-
service: t,
|
|
32
|
-
isCollection: o = !1
|
|
33
|
-
}) {
|
|
34
|
-
const i = d(e), r = c(n.Initial), s = c(null), l = g(() => r.value === n.Loading);
|
|
35
|
-
return { data: i, execute: async (...p) => {
|
|
36
|
-
try {
|
|
37
|
-
r.value = n.Loading, s.value = null;
|
|
38
|
-
const u = await t(...p), a = E(u, o);
|
|
39
|
-
return A(i, a), r.value = n.Done, a;
|
|
40
|
-
} catch (u) {
|
|
41
|
-
return s.value = y(u), r.value = n.Failed, Promise.reject();
|
|
42
|
-
}
|
|
43
|
-
}, apiStatus: r, isPending: l, error: s };
|
|
44
|
-
}
|
|
45
|
-
export {
|
|
46
|
-
m as a,
|
|
47
|
-
f as d,
|
|
48
|
-
w as i,
|
|
49
|
-
x as u
|
|
50
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const n=require("./error-CmduqgVq.js"),o=require("vue");function d(e){return e==null?!0:typeof e=="string"||Array.isArray(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:typeof e=="object"?Object.keys(e).length===0:!0}function a(e,t){if(e===t)return!0;if(e==null||t==null||typeof e!="object"||typeof t!="object"||Array.isArray(e)!==Array.isArray(t))return!1;const i=Object.keys(e),u=Object.keys(t);return i.length!==u.length?!1:i.every(r=>a(e[r],t[r]))}const l=a;function A(e,t){l(e.value,t)||(e.value=t)}function g(e){return typeof e=="object"&&e!==null&&"data"in e}function S(e){if(!g(e))throw new Error("Expected collection response.");return e.data}function E(e,t){return t?S(e):e}function h({initialValue:e,service:t,isCollection:i=!1}){const u=o.shallowRef(e),r=o.ref(n.ApiStatus.Initial),s=o.ref(null),p=o.computed(()=>r.value===n.ApiStatus.Loading);return{data:u,execute:async(...y)=>{try{r.value=n.ApiStatus.Loading,s.value=null;const c=await t(...y),f=E(c,i);return A(u,f),r.value=n.ApiStatus.Done,f}catch(c){return s.value=n.toError(c),r.value=n.ApiStatus.Failed,Promise.reject()}},apiStatus:r,isPending:p,error:s}}exports.deepEqual=a;exports.isEmpty=d;exports.isEqual=l;exports.useService=h;
|
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
import { u as P } from "./useService-Bh47bllz.mjs";
|
|
2
|
-
import { c as w } from "./subscriptions-DcfcBYAq.mjs";
|
|
3
|
-
const e = (n) => n.original_pricing_id ?? n.id, g = (n) => n.original_pricing_item_id ?? n.id, h = (n) => n.original_pricing_item_config_id ?? n.id, m = (n, i) => (n == null ? void 0 : n.type) === (i == null ? void 0 : i.type) && (n == null ? void 0 : n.value) === (i == null ? void 0 : i.value);
|
|
4
|
-
function l(n) {
|
|
5
|
-
const i = {};
|
|
6
|
-
for (const c in n)
|
|
7
|
-
n[c] !== void 0 && (i[c] = n[c]);
|
|
8
|
-
return i;
|
|
9
|
-
}
|
|
10
|
-
function o(n, i, c) {
|
|
11
|
-
if (!(i != null && i.length))
|
|
12
|
-
return n;
|
|
13
|
-
if (!(n != null && n.length))
|
|
14
|
-
return i;
|
|
15
|
-
const r = /* @__PURE__ */ new Set();
|
|
16
|
-
return [...n.reduce((p, _) => {
|
|
17
|
-
const u = i.find(
|
|
18
|
-
(d) => h(d) === h(_)
|
|
19
|
-
);
|
|
20
|
-
return u ? (r.add(u), [...p, U(_, u)]) : c.dropUnmatched ? p : [...p, _];
|
|
21
|
-
}, []), ...i.filter((p) => !r.has(p))];
|
|
22
|
-
}
|
|
23
|
-
function S(n, i, c) {
|
|
24
|
-
return i != null && i.length ? n != null && n.length ? [
|
|
25
|
-
...n.map((r) => {
|
|
26
|
-
const t = i.find(
|
|
27
|
-
(p) => m(p.billing_period, r.billing_period)
|
|
28
|
-
);
|
|
29
|
-
return t ? {
|
|
30
|
-
...r,
|
|
31
|
-
configs: o(r.configs, t.configs, c) ?? []
|
|
32
|
-
} : r;
|
|
33
|
-
}),
|
|
34
|
-
...i.filter(
|
|
35
|
-
(r) => !n.some(
|
|
36
|
-
(t) => m(r.billing_period, t.billing_period)
|
|
37
|
-
)
|
|
38
|
-
)
|
|
39
|
-
] : i : n;
|
|
40
|
-
}
|
|
41
|
-
function O(n, i, c) {
|
|
42
|
-
return i != null && i.length ? n != null && n.length ? [
|
|
43
|
-
...n.map((r) => {
|
|
44
|
-
const t = i.find(
|
|
45
|
-
(p) => p.currency === r.currency
|
|
46
|
-
);
|
|
47
|
-
return t ? {
|
|
48
|
-
...r,
|
|
49
|
-
...l(t),
|
|
50
|
-
configs: o(r.configs, t.configs, c),
|
|
51
|
-
billing_period_configs: S(
|
|
52
|
-
r.billing_period_configs,
|
|
53
|
-
t.billing_period_configs,
|
|
54
|
-
c
|
|
55
|
-
)
|
|
56
|
-
} : r;
|
|
57
|
-
}),
|
|
58
|
-
...i.filter(
|
|
59
|
-
(r) => !n.some((t) => t.currency === r.currency)
|
|
60
|
-
)
|
|
61
|
-
] : i : n;
|
|
62
|
-
}
|
|
63
|
-
function U(n, i) {
|
|
64
|
-
const c = { dropUnmatched: !1 };
|
|
65
|
-
return {
|
|
66
|
-
...n,
|
|
67
|
-
...l(i),
|
|
68
|
-
// The customized config is the one the rest of the schedule points at — markups reference
|
|
69
|
-
// it by id, and so do `included_volumes` and `seats_values`.
|
|
70
|
-
id: i.id ?? n.id,
|
|
71
|
-
original_pricing_item_config_id: h(n),
|
|
72
|
-
conditions: n.conditions && i.conditions ? {
|
|
73
|
-
...n.conditions,
|
|
74
|
-
...l(i.conditions),
|
|
75
|
-
// Only the expanded version names the meter properties a condition reads.
|
|
76
|
-
meter_properties: n.conditions.meter_properties ?? i.conditions.meter_properties,
|
|
77
|
-
configs: o(
|
|
78
|
-
n.conditions.configs,
|
|
79
|
-
i.conditions.configs,
|
|
80
|
-
c
|
|
81
|
-
)
|
|
82
|
-
} : i.conditions ?? n.conditions,
|
|
83
|
-
billing_period_configs: S(
|
|
84
|
-
n.billing_period_configs,
|
|
85
|
-
i.billing_period_configs,
|
|
86
|
-
c
|
|
87
|
-
)
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
function L(n, i) {
|
|
91
|
-
const c = { dropUnmatched: i.override === "ALL" };
|
|
92
|
-
return {
|
|
93
|
-
...n,
|
|
94
|
-
...l(i),
|
|
95
|
-
id: i.id ?? n.id,
|
|
96
|
-
original_pricing_item_id: g(n),
|
|
97
|
-
// Product items are expanded onto the plan version only; an override never repeats them.
|
|
98
|
-
product_items: n.product_items,
|
|
99
|
-
configs: o(n.configs, i.configs, c),
|
|
100
|
-
billing_period_configs: S(
|
|
101
|
-
n.billing_period_configs,
|
|
102
|
-
i.billing_period_configs,
|
|
103
|
-
c
|
|
104
|
-
),
|
|
105
|
-
pricing_currency_configs: O(
|
|
106
|
-
n.pricing_currency_configs,
|
|
107
|
-
i.pricing_currency_configs,
|
|
108
|
-
c
|
|
109
|
-
)
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
function x(n, i, c) {
|
|
113
|
-
if (!(i != null && i.length))
|
|
114
|
-
return n;
|
|
115
|
-
if (!(n != null && n.length))
|
|
116
|
-
return i;
|
|
117
|
-
const r = /* @__PURE__ */ new Set();
|
|
118
|
-
return [...n.reduce((p, _) => {
|
|
119
|
-
const u = i.find(
|
|
120
|
-
(d) => g(d) === g(_)
|
|
121
|
-
);
|
|
122
|
-
return u ? (r.add(u), [...p, L(_, u)]) : c.dropUnmatched ? p : [...p, _];
|
|
123
|
-
}, []), ...i.filter((p) => !r.has(p))];
|
|
124
|
-
}
|
|
125
|
-
function A(n, i) {
|
|
126
|
-
return i != null && i.length ? i.map((c) => {
|
|
127
|
-
var t;
|
|
128
|
-
const r = (t = n == null ? void 0 : n.find(
|
|
129
|
-
(p) => p.feature_id === c.feature_id
|
|
130
|
-
)) == null ? void 0 : t.feature;
|
|
131
|
-
return r ? { ...c, feature: r } : c;
|
|
132
|
-
}) : n;
|
|
133
|
-
}
|
|
134
|
-
function D(n, i) {
|
|
135
|
-
const c = { dropUnmatched: i.override === "ALL" };
|
|
136
|
-
return {
|
|
137
|
-
...n,
|
|
138
|
-
...l(i),
|
|
139
|
-
// The customized pricing takes over the original's place, so it has to answer to the id the
|
|
140
|
-
// schedule enables it under — `getEnabledPricingIds` returns the override's id, and add-ons
|
|
141
|
-
// not matching one of those are filtered out of the rendered plan version.
|
|
142
|
-
id: i.id ?? n.id,
|
|
143
|
-
original_pricing_id: e(n),
|
|
144
|
-
// Products are expanded onto the plan version only; an override never repeats them.
|
|
145
|
-
products: n.products,
|
|
146
|
-
entitlements: A(n.entitlements, i.entitlements),
|
|
147
|
-
items: x(n.items, i.items, c)
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
function y(n, i) {
|
|
151
|
-
return n.map((c) => {
|
|
152
|
-
const r = i.find(
|
|
153
|
-
(t) => t.original_pricing_id === e(c)
|
|
154
|
-
);
|
|
155
|
-
return r ? D(c, r) : c;
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
function f({
|
|
159
|
-
pricingPlanVersion: n,
|
|
160
|
-
overridePricings: i
|
|
161
|
-
}) {
|
|
162
|
-
var r;
|
|
163
|
-
const c = i ?? [];
|
|
164
|
-
return c.length ? {
|
|
165
|
-
...n,
|
|
166
|
-
pricing_categories: (r = n.pricing_categories) == null ? void 0 : r.map(
|
|
167
|
-
(t) => {
|
|
168
|
-
var p;
|
|
169
|
-
return {
|
|
170
|
-
...t,
|
|
171
|
-
pricings: t.pricings && y(t.pricings, c),
|
|
172
|
-
pricing_groups: (p = t.pricing_groups) == null ? void 0 : p.map((_) => ({
|
|
173
|
-
..._,
|
|
174
|
-
pricings: y(_.pricings, c)
|
|
175
|
-
}))
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
)
|
|
179
|
-
} : n;
|
|
180
|
-
}
|
|
181
|
-
function B(n) {
|
|
182
|
-
return n.pricing_plan_schedule_infos.map((i) => {
|
|
183
|
-
var c;
|
|
184
|
-
return {
|
|
185
|
-
schedule: i.pricing_plan_schedule,
|
|
186
|
-
selectedPricingPlan: i.pricing_plan_version.pricing_plan,
|
|
187
|
-
selectedPricingPlanVersion: f({
|
|
188
|
-
pricingPlanVersion: i.pricing_plan_version,
|
|
189
|
-
overridePricings: (c = i.pricing_plan_schedule) == null ? void 0 : c.override_pricings
|
|
190
|
-
})
|
|
191
|
-
};
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
function k({
|
|
195
|
-
subscriptionId: n
|
|
196
|
-
}) {
|
|
197
|
-
const { getSubscription: i } = w(), {
|
|
198
|
-
data: c,
|
|
199
|
-
execute: r,
|
|
200
|
-
apiStatus: t,
|
|
201
|
-
error: p,
|
|
202
|
-
isPending: _
|
|
203
|
-
} = P({
|
|
204
|
-
service: () => i({ id: n, expanded: !0 })
|
|
205
|
-
});
|
|
206
|
-
return { subscription: c, withPlanData: (d) => B(d), apiStatus: t, error: p, get: r, isPending: _ };
|
|
207
|
-
}
|
|
208
|
-
export {
|
|
209
|
-
k as u
|
|
210
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const m=require("./useService-H7BjLg8P.js"),w=require("./subscriptions-DwVsf4Ev.js"),P=n=>n.original_pricing_id??n.id,g=n=>n.original_pricing_item_id??n.id,h=n=>n.original_pricing_item_config_id??n.id,S=(n,i)=>(n==null?void 0:n.type)===(i==null?void 0:i.type)&&(n==null?void 0:n.value)===(i==null?void 0:i.value);function l(n){const i={};for(const c in n)n[c]!==void 0&&(i[c]=n[c]);return i}function o(n,i,c){if(!(i!=null&&i.length))return n;if(!(n!=null&&n.length))return i;const r=new Set;return[...n.reduce((p,u)=>{const _=i.find(d=>h(d)===h(u));return _?(r.add(_),[...p,U(u,_)]):c.dropUnmatched?p:[...p,u]},[]),...i.filter(p=>!r.has(p))]}function e(n,i,c){return i!=null&&i.length?n!=null&&n.length?[...n.map(r=>{const t=i.find(p=>S(p.billing_period,r.billing_period));return t?{...r,configs:o(r.configs,t.configs,c)??[]}:r}),...i.filter(r=>!n.some(t=>S(r.billing_period,t.billing_period)))]:i:n}function O(n,i,c){return i!=null&&i.length?n!=null&&n.length?[...n.map(r=>{const t=i.find(p=>p.currency===r.currency);return t?{...r,...l(t),configs:o(r.configs,t.configs,c),billing_period_configs:e(r.billing_period_configs,t.billing_period_configs,c)}:r}),...i.filter(r=>!n.some(t=>t.currency===r.currency))]:i:n}function U(n,i){const c={dropUnmatched:!1};return{...n,...l(i),id:i.id??n.id,original_pricing_item_config_id:h(n),conditions:n.conditions&&i.conditions?{...n.conditions,...l(i.conditions),meter_properties:n.conditions.meter_properties??i.conditions.meter_properties,configs:o(n.conditions.configs,i.conditions.configs,c)}:i.conditions??n.conditions,billing_period_configs:e(n.billing_period_configs,i.billing_period_configs,c)}}function L(n,i){const c={dropUnmatched:i.override==="ALL"};return{...n,...l(i),id:i.id??n.id,original_pricing_item_id:g(n),product_items:n.product_items,configs:o(n.configs,i.configs,c),billing_period_configs:e(n.billing_period_configs,i.billing_period_configs,c),pricing_currency_configs:O(n.pricing_currency_configs,i.pricing_currency_configs,c)}}function A(n,i,c){if(!(i!=null&&i.length))return n;if(!(n!=null&&n.length))return i;const r=new Set;return[...n.reduce((p,u)=>{const _=i.find(d=>g(d)===g(u));return _?(r.add(_),[...p,L(u,_)]):c.dropUnmatched?p:[...p,u]},[]),...i.filter(p=>!r.has(p))]}function D(n,i){return i!=null&&i.length?i.map(c=>{var t;const r=(t=n==null?void 0:n.find(p=>p.feature_id===c.feature_id))==null?void 0:t.feature;return r?{...c,feature:r}:c}):n}function q(n,i){const c={dropUnmatched:i.override==="ALL"};return{...n,...l(i),id:i.id??n.id,original_pricing_id:P(n),products:n.products,entitlements:D(n.entitlements,i.entitlements),items:A(n.items,i.items,c)}}function y(n,i){return n.map(c=>{const r=i.find(t=>t.original_pricing_id===P(c));return r?q(c,r):c})}function s({pricingPlanVersion:n,overridePricings:i}){var r;const c=i??[];return c.length?{...n,pricing_categories:(r=n.pricing_categories)==null?void 0:r.map(t=>{var p;return{...t,pricings:t.pricings&&y(t.pricings,c),pricing_groups:(p=t.pricing_groups)==null?void 0:p.map(u=>({...u,pricings:y(u.pricings,c)}))}})}:n}function x(n){return n.pricing_plan_schedule_infos.map(i=>{var c;return{schedule:i.pricing_plan_schedule,selectedPricingPlan:i.pricing_plan_version.pricing_plan,selectedPricingPlanVersion:s({pricingPlanVersion:i.pricing_plan_version,overridePricings:(c=i.pricing_plan_schedule)==null?void 0:c.override_pricings})}})}function B({subscriptionId:n}){const{getSubscription:i}=w.createSubscriptionsService(),{data:c,execute:r,apiStatus:t,error:p,isPending:u}=m.useService({service:()=>i({id:n,expanded:!0})});return{subscription:c,withPlanData:d=>x(d),apiStatus:t,error:p,get:r,isPending:u}}exports.useSubscription=B;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o=require("vue"),d=require("./customElements-DUMRMFQ5.js");function s(){const{$t:e}=d.useIntl(),l=o.computed(()=>({DAY:{literal:{singular:e({defaultMessage:"day",id:"time_period.day.singular",description:"The singular form of the day time period"}),plural:e({defaultMessage:"days",id:"time_period.day.plural",description:"The plural form of the day time period"})},full:e({defaultMessage:"daily",id:"time_period.day.full",description:"The full form of the day time period"})},WEEK:{literal:{singular:e({defaultMessage:"week",id:"time_period.week.singular",description:"The singular form of the week time period"}),plural:e({defaultMessage:"weeks",id:"time_period.week.plural",description:"The plural form of the week time period"})},full:e({defaultMessage:"weekly",id:"time_period.week.full",description:"The full form of the week time period"})},MONTH:{literal:{singular:e({defaultMessage:"month",id:"time_period.month.singular",description:"The singular form of the month time period"}),plural:e({defaultMessage:"months",id:"time_period.month.plural",description:"The plural form of the month time period"})},full:e({defaultMessage:"monthly",id:"time_period.month.full",description:"The full form of the month time period"})},YEAR:{literal:{singular:e({defaultMessage:"year",id:"time_period.year.singular",description:"The singular form of the year time period"}),plural:e({defaultMessage:"years",id:"time_period.year.plural",description:"The plural form of the year time period"})},full:e({defaultMessage:"yearly",id:"time_period.year.full",description:"The full form of the year time period"})}}));return{map:l,formatTimePeriod:(r,i={short:!1,hideValueForExactPeriods:!1,singular:!1})=>{const a=r.value??1,t=l.value[r.type].literal[i.singular||+a==1?"singular":"plural"].toLowerCase();return`${i.prefix&&!i.short?`${i.prefix} `:""}${i.hideValueForExactPeriods&&a===1?t:`${a} ${t}`}`},formatTimePeriodLiteral:(r,i={singular:!1})=>l.value[r].literal[i.singular?"singular":"plural"]}}exports.useTimePeriod=s;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ref as l, onMounted as i, onUnmounted as u } from "vue";
|
|
2
|
-
function a(r) {
|
|
3
|
-
const n = l(!1);
|
|
4
|
-
let t;
|
|
5
|
-
const e = (o) => {
|
|
6
|
-
n.value = o.matches;
|
|
7
|
-
};
|
|
8
|
-
return i(() => {
|
|
9
|
-
t = window.matchMedia(r), n.value = t.matches, t.addEventListener("change", e);
|
|
10
|
-
}), u(() => {
|
|
11
|
-
t == null || t.removeEventListener("change", e);
|
|
12
|
-
}), n;
|
|
13
|
-
}
|
|
14
|
-
const s = {
|
|
15
|
-
sm: 640,
|
|
16
|
-
md: 768,
|
|
17
|
-
lg: 1024,
|
|
18
|
-
xl: 1280,
|
|
19
|
-
"2xl": 1536
|
|
20
|
-
};
|
|
21
|
-
function m() {
|
|
22
|
-
return { smaller: (e) => a(`(max-width: ${s[e] - 1}px)`), smallerOrEqual: (e) => a(`(max-width: ${s[e]}px)`), greaterOrEqual: (e) => a(`(min-width: ${s[e]}px)`) };
|
|
23
|
-
}
|
|
24
|
-
function p() {
|
|
25
|
-
return { isMobileViewport: m().smallerOrEqual("sm") };
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
p as u
|
|
29
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const s=require("vue");function a(r){const n=s.ref(!1);let t;const e=l=>{n.value=l.matches};return s.onMounted(()=>{t=window.matchMedia(r),n.value=t.matches,t.addEventListener("change",e)}),s.onUnmounted(()=>{t==null||t.removeEventListener("change",e)}),n}const o={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function i(){return{smaller:e=>a(`(max-width: ${o[e]-1}px)`),smallerOrEqual:e=>a(`(max-width: ${o[e]}px)`),greaterOrEqual:e=>a(`(min-width: ${o[e]}px)`)}}function u(){return{isMobileViewport:i().smallerOrEqual("sm")}}exports.useViewport=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t=require("vue");function i(d,u,n){let e;t.watch(d,(c,o)=>{clearTimeout(e);const r=t.toValue(n.debounce);if(r<=0){u(c,o);return}e=setTimeout(()=>u(c,o),r)},{deep:n.deep}),t.onUnmounted(()=>clearTimeout(e))}exports.useWatchDebounced=i;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { watch as c, toValue as i, onUnmounted as d } from "vue";
|
|
2
|
-
function f(m, t, o) {
|
|
3
|
-
let e;
|
|
4
|
-
c(
|
|
5
|
-
m,
|
|
6
|
-
(u, n) => {
|
|
7
|
-
clearTimeout(e);
|
|
8
|
-
const r = i(o.debounce);
|
|
9
|
-
if (r <= 0) {
|
|
10
|
-
t(u, n);
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
e = setTimeout(() => t(u, n), r);
|
|
14
|
-
},
|
|
15
|
-
{ deep: o.deep }
|
|
16
|
-
), d(() => clearTimeout(e));
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
f as u
|
|
20
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231b16e6'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M19.91%2018.2c-.02%201.39%201.25%202.17%202.21%202.63.98.47%201.31.78%201.31%201.2%200%20.65-.78.94-1.51.95-1.27.02-2-.34-2.6-.61l-.45%202.12c.59.27%201.68.5%202.8.51%202.66%200%204.4-1.3%204.4-3.3.01-2.56-3.56-2.7-3.54-3.84.01-.35.35-.72%201.08-.81a5%205%200%200%201%202.49.43l.44-2.05a7%207%200%200%200-2.36-.43c-2.5%200-4.25%201.32-4.27%203.2m10.9-3.02c-.49%200-.9.28-1.08.7l-3.79%208.97h2.65l.53-1.44h3.24l.3%201.44H35l-2.04-9.67zm.37%202.61.76%203.63h-2.1zM16.7%2015.18l-2.09%209.67h2.53l2.08-9.67zm-3.74%200-2.62%206.58-1.07-5.6a1.2%201.2%200%200%200-1.16-.98H3.8l-.06.28c.88.19%201.88.5%202.5.82.36.2.47.37.6.85l2%207.72h2.67l4.1-9.67z'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";exports.default=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231c3378'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231c3378'%20d='M38.75%200H2v39.75h36.75z'/%3e%3cpath%20fill='%23fff'%20d='M36.96%2025.94H2.04V1.04h34.92z'/%3e%3cpath%20fill='%231c3378'%20d='m28.33%205.56-6.85%2016.33h-4.47L13.63%208.86c-.2-.8-.38-1.1-1-1.44a18%2018%200%200%200-4.18-1.39l.1-.47h7.2c.92%200%201.75.6%201.95%201.66l1.79%209.45%204.4-11.1z'/%3e%3cpath%20fill='%23fff'%20d='M11.77%2032.32q.25.07.65.06c1%200%201.6-.51%201.6-1.4%200-.84-.56-1.3-1.48-1.3a4%204%200%200%200-.77.08zm-1.31-3.53q.7-.16%202.03-.16%201.45%200%202.15.62c.43.37.71.96.71%201.68q0%201.09-.62%201.72c-.53.55-1.37.8-2.3.8a4%204%200%200%201-.66-.04v2.86h-1.31zm9.9%204.29-.57-1.87c-.15-.46-.26-.98-.37-1.42h-.02c-.11.44-.22.97-.35%201.42l-.56%201.87zm-2.09%201.04-.62%202.15h-1.38l2.34-7.59h1.7l2.36%207.6h-1.42l-.66-2.16zm7.2%202.15v-3.16l-2.3-4.43h1.51l.88%201.95c.25.57.43.99.63%201.51h.02q.27-.7.63-1.51l.88-1.95h1.5l-2.42%204.4v3.2z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";exports.default=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const g=require("./formatting.es-C72Nsrmh.js"),q=(t,l,n)=>{var i,u,a,r,e,c;if(n!=null&&n.amount)return g.formatAmount(n.amount);if(n!=null&&n.credits){const o=Number(n.credits.quantity),d=(o===1?(u=(i=n.credits.credit_type)==null?void 0:i.unit_name)==null?void 0:u.singular:((r=(a=n.credits.credit_type)==null?void 0:a.unit_name)==null?void 0:r.plural)??((c=(e=n.credits.credit_type)==null?void 0:e.unit_name)==null?void 0:c.singular))??t({defaultMessage:"credits",description:"Wallet balances credits default message",id:"wB/wXs"});return`${l(o)} ${d}`}return t({defaultMessage:"N/A",description:"Fallback wallet balance label when no balance is available",id:"PW+sL4"})},b=t=>t!=null&&t.amount?`${t.amount.quantity} ${t.amount.currency}`:t!=null&&t.credits?`${t.credits.quantity} ${t.credits.credit_type_id??""}`:"",I=t=>{var l;return((l=t.split(".")[1])==null?void 0:l.length)??0},w=(t,l)=>{if(!t)return l??void 0;if(!l)return t;const n=Math.max(I(t.quantity),I(l.quantity)),i=10**n,u=(Math.round(Number(t.quantity)*i)+Math.round(Number(l.quantity)*i))/i;return{...t,quantity:u.toFixed(n)}},W=(t,l)=>l.reduce((n,i)=>{const u=n.find(a=>a.wallet_grant_id===i.wallet_grant_id);return u?n.map(a=>{var r,e;return a===u?{...a,used_balance:{amount:w((r=a.used_balance)==null?void 0:r.amount,(e=i.used_balance)==null?void 0:e.amount)}}:a}):[...n,i]},t),$=t=>{var l,n,i,u,a,r,e,c;const o=new Map;for(const m of t??[])for(const d of((l=m.details)==null?void 0:l.wallet_balances)??[]){const y=[d.used_balance,d.left_balance,d.available_balance],v=(i=(n=y.find(s=>s==null?void 0:s.amount))==null?void 0:n.amount)==null?void 0:i.currency,f=v?`${d.wallet_id}|${v}`:[d.wallet_id,...y.map(b)].join("|"),_=o.get(f),B=(((u=m.details)==null?void 0:u.used_wallet_grants)??[]).filter(s=>s.wallet_id===d.wallet_id);if(!_){const s=(a=y.find(p=>p==null?void 0:p.credits))==null?void 0:a.credits;o.set(f,{key:f,walletId:d.wallet_id,usedBalance:d.used_balance,leftBalance:d.left_balance,availableBalance:d.available_balance,creditTypeId:s==null?void 0:s.credit_type_id,creditTypeName:(r=s==null?void 0:s.credit_type)==null?void 0:r.name,currency:v,usedGrants:B});continue}v&&(_.usedBalance={amount:w((e=_.usedBalance)==null?void 0:e.amount,(c=d.used_balance)==null?void 0:c.amount)},_.usedGrants=W(_.usedGrants,B))}return[...o.values()]},N=(t,{formatMoney:l,formatQuantity:n})=>t!=null&&t.amount?l(t.amount):t!=null&&t.credits?n(t.credits.quantity):"-",h=(t,{creditTypes:l,creditsLabel:n,walletLabel:i})=>{const u=new Set(t.filter(e=>!!e.currency).map(e=>e.walletId)),a=(l??[]).reduce((e,c)=>(e[c.id]=c.name,e),{}),r=e=>e.currency?u.size>1?`${i} (${e.currency})`:i:e.creditTypeId?e.creditTypeName??a[e.creditTypeId]??e.creditTypeId:[e.usedBalance,e.leftBalance,e.availableBalance].some(o=>!!(o!=null&&o.credits))?n:i;return t.map(e=>({...e,label:r(e)}))};exports.formatInvoiceWalletBalanceValue=N;exports.formatWalletBalanceValue=q;exports.getInvoiceWalletBalanceRows=$;exports.getLabelledInvoiceWalletBalanceRows=h;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%207h40v26H0z'/%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231a0826'%20d='m2.81%2022.9.32%202.56h11l-.36-2.94H8.64l-.05-.36%204.73-3.31-.32-2.58H2l.36%202.94H7.5l.04.37z'/%3e%3cpath%20fill='%23aa8fff'%20d='m14.28%2016.27%201.13%209.2h11l-1.12-9.2z'/%3e%3cpath%20fill='%231a0826'%20d='M37.96%2019.58c-.25-2.06-1.87-3.31-4.07-3.3h-7.32l1.12%209.18H31l-.23-1.84h3.49c2.74%200%204-1.71%203.71-4.04m-4.07%201.47h-3.44l-.27-2.2h3.46c.82.01%201.23.47%201.3%201.1.04.4-.14%201.1-1.05%201.1'/%3e%3cpath%20fill='%23000'%20d='M17.91%2015.05c.58-.62.48-1.66-.22-2.32s-1.75-.68-2.32-.06c-.58.62-.48%201.66.22%202.32s1.75.68%202.32.06'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";exports.default=l;
|