@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,845 +0,0 @@
|
|
|
1
|
-
import { getCurrentInstance as Re, ref as O, onBeforeMount as je, watch as z, isRef as U, reactive as H, onBeforeUnmount as Ee, computed as p, unref as f, inject as J, provide as Q, isReactive as Ce, isReadonly as Pe, nextTick as X, defineComponent as Ve, toRefs as ze, openBlock as Y, createElementBlock as ee, withModifiers as _e, normalizeClass as A, createElementVNode as M, withDirectives as Se, vModelCheckbox as Ae, renderSlot as Te, createCommentVNode as Le } from "vue";
|
|
2
|
-
function te(e, n) {
|
|
3
|
-
var r = Object.keys(e);
|
|
4
|
-
if (Object.getOwnPropertySymbols) {
|
|
5
|
-
var t = Object.getOwnPropertySymbols(e);
|
|
6
|
-
n && (t = t.filter(function(s) {
|
|
7
|
-
return Object.getOwnPropertyDescriptor(e, s).enumerable;
|
|
8
|
-
})), r.push.apply(r, t);
|
|
9
|
-
}
|
|
10
|
-
return r;
|
|
11
|
-
}
|
|
12
|
-
function j(e) {
|
|
13
|
-
for (var n = 1; n < arguments.length; n++) {
|
|
14
|
-
var r = arguments[n] != null ? arguments[n] : {};
|
|
15
|
-
n % 2 ? te(Object(r), !0).forEach(function(t) {
|
|
16
|
-
Ie(e, t, r[t]);
|
|
17
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : te(Object(r)).forEach(function(t) {
|
|
18
|
-
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
return e;
|
|
22
|
-
}
|
|
23
|
-
function Ie(e, n, r) {
|
|
24
|
-
return n in e ? Object.defineProperty(e, n, {
|
|
25
|
-
value: r,
|
|
26
|
-
enumerable: !0,
|
|
27
|
-
configurable: !0,
|
|
28
|
-
writable: !0
|
|
29
|
-
}) : e[n] = r, e;
|
|
30
|
-
}
|
|
31
|
-
function re(e) {
|
|
32
|
-
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
33
|
-
return Object.keys(e).reduce((r, t) => (n.includes(t) || (r[t] = f(e[t])), r), {});
|
|
34
|
-
}
|
|
35
|
-
function L(e) {
|
|
36
|
-
return typeof e == "function";
|
|
37
|
-
}
|
|
38
|
-
function ke(e) {
|
|
39
|
-
return Ce(e) || Pe(e);
|
|
40
|
-
}
|
|
41
|
-
function ce(e, n, r) {
|
|
42
|
-
let t = e;
|
|
43
|
-
const s = n.split(".");
|
|
44
|
-
for (let o = 0; o < s.length; o++) {
|
|
45
|
-
if (!t[s[o]]) return r;
|
|
46
|
-
t = t[s[o]];
|
|
47
|
-
}
|
|
48
|
-
return t;
|
|
49
|
-
}
|
|
50
|
-
function G(e, n, r) {
|
|
51
|
-
return p(() => e.some((t) => ce(n, t, {
|
|
52
|
-
[r]: !1
|
|
53
|
-
})[r]));
|
|
54
|
-
}
|
|
55
|
-
function ne(e, n, r) {
|
|
56
|
-
return p(() => e.reduce((t, s) => {
|
|
57
|
-
const o = ce(n, s, {
|
|
58
|
-
[r]: !1
|
|
59
|
-
})[r] || [];
|
|
60
|
-
return t.concat(o);
|
|
61
|
-
}, []));
|
|
62
|
-
}
|
|
63
|
-
function de(e, n, r, t) {
|
|
64
|
-
return e.call(t, f(n), f(r), t);
|
|
65
|
-
}
|
|
66
|
-
function fe(e) {
|
|
67
|
-
return e.$valid !== void 0 ? !e.$valid : !e;
|
|
68
|
-
}
|
|
69
|
-
function De(e, n, r, t, s, o, v) {
|
|
70
|
-
let {
|
|
71
|
-
$lazy: l,
|
|
72
|
-
$rewardEarly: $
|
|
73
|
-
} = s, i = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : [], g = arguments.length > 8 ? arguments[8] : void 0, c = arguments.length > 9 ? arguments[9] : void 0, h = arguments.length > 10 ? arguments[10] : void 0;
|
|
74
|
-
const m = O(!!t.value), a = O(0);
|
|
75
|
-
r.value = !1;
|
|
76
|
-
const u = z([n, t].concat(i, h), () => {
|
|
77
|
-
if (l && !t.value || $ && !c.value && !r.value)
|
|
78
|
-
return;
|
|
79
|
-
let d;
|
|
80
|
-
try {
|
|
81
|
-
d = de(e, n, g, v);
|
|
82
|
-
} catch (y) {
|
|
83
|
-
d = Promise.reject(y);
|
|
84
|
-
}
|
|
85
|
-
a.value++, r.value = !!a.value, m.value = !1, Promise.resolve(d).then((y) => {
|
|
86
|
-
a.value--, r.value = !!a.value, o.value = y, m.value = fe(y);
|
|
87
|
-
}).catch((y) => {
|
|
88
|
-
a.value--, r.value = !!a.value, o.value = y, m.value = !0;
|
|
89
|
-
});
|
|
90
|
-
}, {
|
|
91
|
-
immediate: !0,
|
|
92
|
-
deep: typeof n == "object"
|
|
93
|
-
});
|
|
94
|
-
return {
|
|
95
|
-
$invalid: m,
|
|
96
|
-
$unwatch: u
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
function Be(e, n, r, t, s, o, v, l) {
|
|
100
|
-
let {
|
|
101
|
-
$lazy: $,
|
|
102
|
-
$rewardEarly: i
|
|
103
|
-
} = t;
|
|
104
|
-
const g = () => ({}), c = p(() => {
|
|
105
|
-
if ($ && !r.value || i && !l.value)
|
|
106
|
-
return !1;
|
|
107
|
-
let h = !0;
|
|
108
|
-
try {
|
|
109
|
-
const m = de(e, n, v, o);
|
|
110
|
-
s.value = m, h = fe(m);
|
|
111
|
-
} catch (m) {
|
|
112
|
-
s.value = m;
|
|
113
|
-
}
|
|
114
|
-
return h;
|
|
115
|
-
});
|
|
116
|
-
return {
|
|
117
|
-
$unwatch: g,
|
|
118
|
-
$invalid: c
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
function Ne(e, n, r, t, s, o, v, l, $, i, g) {
|
|
122
|
-
const c = O(!1), h = e.$params || {}, m = O(null);
|
|
123
|
-
let a, u;
|
|
124
|
-
e.$async ? {
|
|
125
|
-
$invalid: a,
|
|
126
|
-
$unwatch: u
|
|
127
|
-
} = De(e.$validator, n, c, r, t, m, s, e.$watchTargets, $, i, g) : {
|
|
128
|
-
$invalid: a,
|
|
129
|
-
$unwatch: u
|
|
130
|
-
} = Be(e.$validator, n, r, t, m, s, $, i);
|
|
131
|
-
const d = e.$message;
|
|
132
|
-
return {
|
|
133
|
-
$message: L(d) ? p(() => d(re({
|
|
134
|
-
$pending: c,
|
|
135
|
-
$invalid: a,
|
|
136
|
-
$params: re(h),
|
|
137
|
-
$model: n,
|
|
138
|
-
$response: m,
|
|
139
|
-
$validator: o,
|
|
140
|
-
$propertyPath: l,
|
|
141
|
-
$property: v
|
|
142
|
-
}))) : d || "",
|
|
143
|
-
$params: h,
|
|
144
|
-
$pending: c,
|
|
145
|
-
$invalid: a,
|
|
146
|
-
$response: m,
|
|
147
|
-
$unwatch: u
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
function Fe() {
|
|
151
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
152
|
-
const n = f(e), r = Object.keys(n), t = {}, s = {}, o = {};
|
|
153
|
-
let v = null;
|
|
154
|
-
return r.forEach((l) => {
|
|
155
|
-
const $ = n[l];
|
|
156
|
-
switch (!0) {
|
|
157
|
-
case L($.$validator):
|
|
158
|
-
t[l] = $;
|
|
159
|
-
break;
|
|
160
|
-
case L($):
|
|
161
|
-
t[l] = {
|
|
162
|
-
$validator: $
|
|
163
|
-
};
|
|
164
|
-
break;
|
|
165
|
-
case l === "$validationGroups":
|
|
166
|
-
v = $;
|
|
167
|
-
break;
|
|
168
|
-
case l.startsWith("$"):
|
|
169
|
-
o[l] = $;
|
|
170
|
-
break;
|
|
171
|
-
default:
|
|
172
|
-
s[l] = $;
|
|
173
|
-
}
|
|
174
|
-
}), {
|
|
175
|
-
rules: t,
|
|
176
|
-
nestedValidators: s,
|
|
177
|
-
config: o,
|
|
178
|
-
validationGroups: v
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
const qe = "__root";
|
|
182
|
-
function Me(e, n, r, t, s, o, v, l, $) {
|
|
183
|
-
const i = Object.keys(e), g = t.get(s, e), c = O(!1), h = O(!1), m = O(0);
|
|
184
|
-
if (g) {
|
|
185
|
-
if (!g.$partial) return g;
|
|
186
|
-
g.$unwatch(), c.value = g.$dirty.value;
|
|
187
|
-
}
|
|
188
|
-
const a = {
|
|
189
|
-
$dirty: c,
|
|
190
|
-
$path: s,
|
|
191
|
-
$touch: () => {
|
|
192
|
-
c.value || (c.value = !0);
|
|
193
|
-
},
|
|
194
|
-
$reset: () => {
|
|
195
|
-
c.value && (c.value = !1);
|
|
196
|
-
},
|
|
197
|
-
$commit: () => {
|
|
198
|
-
}
|
|
199
|
-
};
|
|
200
|
-
return i.length ? (i.forEach((u) => {
|
|
201
|
-
a[u] = Ne(e[u], n, a.$dirty, o, v, u, r, s, $, h, m);
|
|
202
|
-
}), a.$externalResults = p(() => l.value ? [].concat(l.value).map((u, d) => ({
|
|
203
|
-
$propertyPath: s,
|
|
204
|
-
$property: r,
|
|
205
|
-
$validator: "$externalResults",
|
|
206
|
-
$uid: `${s}-externalResult-${d}`,
|
|
207
|
-
$message: u,
|
|
208
|
-
$params: {},
|
|
209
|
-
$response: null,
|
|
210
|
-
$pending: !1
|
|
211
|
-
})) : []), a.$invalid = p(() => {
|
|
212
|
-
const u = i.some((d) => f(a[d].$invalid));
|
|
213
|
-
return h.value = u, !!a.$externalResults.value.length || u;
|
|
214
|
-
}), a.$pending = p(() => i.some((u) => f(a[u].$pending))), a.$error = p(() => a.$dirty.value ? a.$pending.value || a.$invalid.value : !1), a.$silentErrors = p(() => i.filter((u) => f(a[u].$invalid)).map((u) => {
|
|
215
|
-
const d = a[u];
|
|
216
|
-
return H({
|
|
217
|
-
$propertyPath: s,
|
|
218
|
-
$property: r,
|
|
219
|
-
$validator: u,
|
|
220
|
-
$uid: `${s}-${u}`,
|
|
221
|
-
$message: d.$message,
|
|
222
|
-
$params: d.$params,
|
|
223
|
-
$response: d.$response,
|
|
224
|
-
$pending: d.$pending
|
|
225
|
-
});
|
|
226
|
-
}).concat(a.$externalResults.value)), a.$errors = p(() => a.$dirty.value ? a.$silentErrors.value : []), a.$unwatch = () => i.forEach((u) => {
|
|
227
|
-
a[u].$unwatch();
|
|
228
|
-
}), a.$commit = () => {
|
|
229
|
-
h.value = !0, m.value = Date.now();
|
|
230
|
-
}, t.set(s, e, a), a) : (g && t.set(s, e, a), a);
|
|
231
|
-
}
|
|
232
|
-
function Ge(e, n, r, t, s, o, v) {
|
|
233
|
-
const l = Object.keys(e);
|
|
234
|
-
return l.length ? l.reduce(($, i) => ($[i] = W({
|
|
235
|
-
validations: e[i],
|
|
236
|
-
state: n,
|
|
237
|
-
key: i,
|
|
238
|
-
parentKey: r,
|
|
239
|
-
resultsCache: t,
|
|
240
|
-
globalConfig: s,
|
|
241
|
-
instance: o,
|
|
242
|
-
externalResults: v
|
|
243
|
-
}), $), {}) : {};
|
|
244
|
-
}
|
|
245
|
-
function Ue(e, n, r) {
|
|
246
|
-
const t = p(() => [n, r].filter((a) => a).reduce((a, u) => a.concat(Object.values(f(u))), [])), s = p({
|
|
247
|
-
get() {
|
|
248
|
-
return e.$dirty.value || (t.value.length ? t.value.every((a) => a.$dirty) : !1);
|
|
249
|
-
},
|
|
250
|
-
set(a) {
|
|
251
|
-
e.$dirty.value = a;
|
|
252
|
-
}
|
|
253
|
-
}), o = p(() => {
|
|
254
|
-
const a = f(e.$silentErrors) || [], u = t.value.filter((d) => (f(d).$silentErrors || []).length).reduce((d, y) => d.concat(...y.$silentErrors), []);
|
|
255
|
-
return a.concat(u);
|
|
256
|
-
}), v = p(() => {
|
|
257
|
-
const a = f(e.$errors) || [], u = t.value.filter((d) => (f(d).$errors || []).length).reduce((d, y) => d.concat(...y.$errors), []);
|
|
258
|
-
return a.concat(u);
|
|
259
|
-
}), l = p(() => t.value.some((a) => a.$invalid) || f(e.$invalid) || !1), $ = p(() => t.value.some((a) => f(a.$pending)) || f(e.$pending) || !1), i = p(() => t.value.some((a) => a.$dirty) || t.value.some((a) => a.$anyDirty) || s.value), g = p(() => s.value ? $.value || l.value : !1), c = () => {
|
|
260
|
-
e.$touch(), t.value.forEach((a) => {
|
|
261
|
-
a.$touch();
|
|
262
|
-
});
|
|
263
|
-
}, h = () => {
|
|
264
|
-
e.$commit(), t.value.forEach((a) => {
|
|
265
|
-
a.$commit();
|
|
266
|
-
});
|
|
267
|
-
}, m = () => {
|
|
268
|
-
e.$reset(), t.value.forEach((a) => {
|
|
269
|
-
a.$reset();
|
|
270
|
-
});
|
|
271
|
-
};
|
|
272
|
-
return t.value.length && t.value.every((a) => a.$dirty) && c(), {
|
|
273
|
-
$dirty: s,
|
|
274
|
-
$errors: v,
|
|
275
|
-
$invalid: l,
|
|
276
|
-
$anyDirty: i,
|
|
277
|
-
$error: g,
|
|
278
|
-
$pending: $,
|
|
279
|
-
$touch: c,
|
|
280
|
-
$reset: m,
|
|
281
|
-
$silentErrors: o,
|
|
282
|
-
$commit: h
|
|
283
|
-
};
|
|
284
|
-
}
|
|
285
|
-
function W(e) {
|
|
286
|
-
let {
|
|
287
|
-
validations: n,
|
|
288
|
-
state: r,
|
|
289
|
-
key: t,
|
|
290
|
-
parentKey: s,
|
|
291
|
-
childResults: o,
|
|
292
|
-
resultsCache: v,
|
|
293
|
-
globalConfig: l = {},
|
|
294
|
-
instance: $,
|
|
295
|
-
externalResults: i
|
|
296
|
-
} = e;
|
|
297
|
-
const g = s ? `${s}.${t}` : t, {
|
|
298
|
-
rules: c,
|
|
299
|
-
nestedValidators: h,
|
|
300
|
-
config: m,
|
|
301
|
-
validationGroups: a
|
|
302
|
-
} = Fe(n), u = j(j({}, l), m), d = t ? p(() => {
|
|
303
|
-
const b = f(r);
|
|
304
|
-
return b ? f(b[t]) : void 0;
|
|
305
|
-
}) : r, y = j({}, f(i) || {}), V = p(() => {
|
|
306
|
-
const b = f(i);
|
|
307
|
-
return t ? b ? f(b[t]) : void 0 : b;
|
|
308
|
-
}), B = Me(c, d, t, v, g, u, $, V, r), w = Ge(h, d, g, v, u, $, V), C = {};
|
|
309
|
-
a && Object.entries(a).forEach((b) => {
|
|
310
|
-
let [P, R] = b;
|
|
311
|
-
C[P] = {
|
|
312
|
-
$invalid: G(R, w, "$invalid"),
|
|
313
|
-
$error: G(R, w, "$error"),
|
|
314
|
-
$pending: G(R, w, "$pending"),
|
|
315
|
-
$errors: ne(R, w, "$errors"),
|
|
316
|
-
$silentErrors: ne(R, w, "$silentErrors")
|
|
317
|
-
};
|
|
318
|
-
});
|
|
319
|
-
const {
|
|
320
|
-
$dirty: x,
|
|
321
|
-
$errors: S,
|
|
322
|
-
$invalid: N,
|
|
323
|
-
$anyDirty: pe,
|
|
324
|
-
$error: me,
|
|
325
|
-
$pending: F,
|
|
326
|
-
$touch: q,
|
|
327
|
-
$reset: he,
|
|
328
|
-
$silentErrors: ye,
|
|
329
|
-
$commit: K
|
|
330
|
-
} = Ue(B, w, o), be = t ? p({
|
|
331
|
-
get: () => f(d),
|
|
332
|
-
set: (b) => {
|
|
333
|
-
x.value = !0;
|
|
334
|
-
const P = f(r), R = f(i);
|
|
335
|
-
R && (R[t] = y[t]), U(P[t]) ? P[t].value = b : P[t] = b;
|
|
336
|
-
}
|
|
337
|
-
}) : null;
|
|
338
|
-
t && u.$autoDirty && z(d, () => {
|
|
339
|
-
x.value || q();
|
|
340
|
-
const b = f(i);
|
|
341
|
-
b && (b[t] = y[t]);
|
|
342
|
-
}, {
|
|
343
|
-
flush: "sync"
|
|
344
|
-
});
|
|
345
|
-
async function we() {
|
|
346
|
-
return q(), u.$rewardEarly && (K(), await X()), await X(), new Promise((b) => {
|
|
347
|
-
if (!F.value) return b(!N.value);
|
|
348
|
-
const P = z(F, () => {
|
|
349
|
-
b(!N.value), P();
|
|
350
|
-
});
|
|
351
|
-
});
|
|
352
|
-
}
|
|
353
|
-
function Oe(b) {
|
|
354
|
-
return (o.value || {})[b];
|
|
355
|
-
}
|
|
356
|
-
function xe() {
|
|
357
|
-
U(i) ? i.value = y : Object.keys(y).length === 0 ? Object.keys(i).forEach((b) => {
|
|
358
|
-
delete i[b];
|
|
359
|
-
}) : Object.assign(i, y);
|
|
360
|
-
}
|
|
361
|
-
return H(j(j(j({}, B), {}, {
|
|
362
|
-
$model: be,
|
|
363
|
-
$dirty: x,
|
|
364
|
-
$error: me,
|
|
365
|
-
$errors: S,
|
|
366
|
-
$invalid: N,
|
|
367
|
-
$anyDirty: pe,
|
|
368
|
-
$pending: F,
|
|
369
|
-
$touch: q,
|
|
370
|
-
$reset: he,
|
|
371
|
-
$path: g || qe,
|
|
372
|
-
$silentErrors: ye,
|
|
373
|
-
$validate: we,
|
|
374
|
-
$commit: K
|
|
375
|
-
}, o && {
|
|
376
|
-
$getResultsForChild: Oe,
|
|
377
|
-
$clearExternalResults: xe,
|
|
378
|
-
$validationGroups: C
|
|
379
|
-
}), w));
|
|
380
|
-
}
|
|
381
|
-
class We {
|
|
382
|
-
constructor() {
|
|
383
|
-
this.storage = /* @__PURE__ */ new Map();
|
|
384
|
-
}
|
|
385
|
-
set(n, r, t) {
|
|
386
|
-
this.storage.set(n, {
|
|
387
|
-
rules: r,
|
|
388
|
-
result: t
|
|
389
|
-
});
|
|
390
|
-
}
|
|
391
|
-
checkRulesValidity(n, r, t) {
|
|
392
|
-
const s = Object.keys(t), o = Object.keys(r);
|
|
393
|
-
return o.length !== s.length || !o.every((l) => s.includes(l)) ? !1 : o.every((l) => r[l].$params ? Object.keys(r[l].$params).every(($) => f(t[l].$params[$]) === f(r[l].$params[$])) : !0);
|
|
394
|
-
}
|
|
395
|
-
get(n, r) {
|
|
396
|
-
const t = this.storage.get(n);
|
|
397
|
-
if (!t) return;
|
|
398
|
-
const {
|
|
399
|
-
rules: s,
|
|
400
|
-
result: o
|
|
401
|
-
} = t, v = this.checkRulesValidity(n, r, s), l = o.$unwatch ? o.$unwatch : () => ({});
|
|
402
|
-
return v ? o : {
|
|
403
|
-
$dirty: o.$dirty,
|
|
404
|
-
$partial: !0,
|
|
405
|
-
$unwatch: l
|
|
406
|
-
};
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
const T = {
|
|
410
|
-
COLLECT_ALL: !0,
|
|
411
|
-
COLLECT_NONE: !1
|
|
412
|
-
}, ae = Symbol("vuelidate#injectChildResults"), se = Symbol("vuelidate#removeChildResults");
|
|
413
|
-
function Ze(e) {
|
|
414
|
-
let {
|
|
415
|
-
$scope: n,
|
|
416
|
-
instance: r
|
|
417
|
-
} = e;
|
|
418
|
-
const t = {}, s = O([]), o = p(() => s.value.reduce((g, c) => (g[c] = f(t[c]), g), {}));
|
|
419
|
-
function v(g, c) {
|
|
420
|
-
let {
|
|
421
|
-
$registerAs: h,
|
|
422
|
-
$scope: m,
|
|
423
|
-
$stopPropagation: a
|
|
424
|
-
} = c;
|
|
425
|
-
a || n === T.COLLECT_NONE || m === T.COLLECT_NONE || n !== T.COLLECT_ALL && n !== m || (t[h] = g, s.value.push(h));
|
|
426
|
-
}
|
|
427
|
-
r.__vuelidateInjectInstances = [].concat(r.__vuelidateInjectInstances || [], v);
|
|
428
|
-
function l(g) {
|
|
429
|
-
s.value = s.value.filter((c) => c !== g), delete t[g];
|
|
430
|
-
}
|
|
431
|
-
r.__vuelidateRemoveInstances = [].concat(r.__vuelidateRemoveInstances || [], l);
|
|
432
|
-
const $ = J(ae, []);
|
|
433
|
-
Q(ae, r.__vuelidateInjectInstances);
|
|
434
|
-
const i = J(se, []);
|
|
435
|
-
return Q(se, r.__vuelidateRemoveInstances), {
|
|
436
|
-
childResults: o,
|
|
437
|
-
sendValidationResultsToParent: $,
|
|
438
|
-
removeValidationResultsFromParent: i
|
|
439
|
-
};
|
|
440
|
-
}
|
|
441
|
-
function $e(e) {
|
|
442
|
-
return new Proxy(e, {
|
|
443
|
-
get(n, r) {
|
|
444
|
-
return typeof n[r] == "object" ? $e(n[r]) : p(() => n[r]);
|
|
445
|
-
}
|
|
446
|
-
});
|
|
447
|
-
}
|
|
448
|
-
let oe = 0;
|
|
449
|
-
function ie(e, n) {
|
|
450
|
-
var r;
|
|
451
|
-
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
452
|
-
arguments.length === 1 && (t = e, e = void 0, n = void 0);
|
|
453
|
-
let {
|
|
454
|
-
$registerAs: s,
|
|
455
|
-
$scope: o = T.COLLECT_ALL,
|
|
456
|
-
$stopPropagation: v,
|
|
457
|
-
$externalResults: l,
|
|
458
|
-
currentVueInstance: $
|
|
459
|
-
} = t;
|
|
460
|
-
const i = $ || ((r = Re()) === null || r === void 0 ? void 0 : r.proxy), g = i ? i.$options : {};
|
|
461
|
-
s || (oe += 1, s = `_vuelidate_${oe}`);
|
|
462
|
-
const c = O({}), h = new We(), {
|
|
463
|
-
childResults: m,
|
|
464
|
-
sendValidationResultsToParent: a,
|
|
465
|
-
removeValidationResultsFromParent: u
|
|
466
|
-
} = i ? Ze({
|
|
467
|
-
$scope: o,
|
|
468
|
-
instance: i
|
|
469
|
-
}) : {
|
|
470
|
-
childResults: O({})
|
|
471
|
-
};
|
|
472
|
-
if (!e && g.validations) {
|
|
473
|
-
const d = g.validations;
|
|
474
|
-
n = O({}), je(() => {
|
|
475
|
-
n.value = i, z(() => L(d) ? d.call(n.value, new $e(n.value)) : d, (y) => {
|
|
476
|
-
c.value = W({
|
|
477
|
-
validations: y,
|
|
478
|
-
state: n,
|
|
479
|
-
childResults: m,
|
|
480
|
-
resultsCache: h,
|
|
481
|
-
globalConfig: t,
|
|
482
|
-
instance: i,
|
|
483
|
-
externalResults: l || i.vuelidateExternalResults
|
|
484
|
-
});
|
|
485
|
-
}, {
|
|
486
|
-
immediate: !0
|
|
487
|
-
});
|
|
488
|
-
}), t = g.validationsConfig || t;
|
|
489
|
-
} else {
|
|
490
|
-
const d = U(e) || ke(e) ? e : H(e || {});
|
|
491
|
-
z(d, (y) => {
|
|
492
|
-
c.value = W({
|
|
493
|
-
validations: y,
|
|
494
|
-
state: n,
|
|
495
|
-
childResults: m,
|
|
496
|
-
resultsCache: h,
|
|
497
|
-
globalConfig: t,
|
|
498
|
-
instance: i ?? {},
|
|
499
|
-
externalResults: l
|
|
500
|
-
});
|
|
501
|
-
}, {
|
|
502
|
-
immediate: !0
|
|
503
|
-
});
|
|
504
|
-
}
|
|
505
|
-
return i && (a.forEach((d) => d(c, {
|
|
506
|
-
$registerAs: s,
|
|
507
|
-
$scope: o,
|
|
508
|
-
$stopPropagation: v
|
|
509
|
-
})), Ee(() => u.forEach((d) => d(s)))), p(() => j(j({}, f(c.value)), m.value));
|
|
510
|
-
}
|
|
511
|
-
function $t(e, n, r) {
|
|
512
|
-
return e && n ? ie(e, n, { $autoDirty: !0, ...r }) : ie({ $autoDirty: !0, ...e });
|
|
513
|
-
}
|
|
514
|
-
const He = {
|
|
515
|
-
"w-fit": !0,
|
|
516
|
-
relative: !0,
|
|
517
|
-
"inline-flex": !0,
|
|
518
|
-
"items-center": !0
|
|
519
|
-
}, Ke = "grow text-sm font-medium text-default", Je = {
|
|
520
|
-
xl: "w-16 h-8 after:top-0.5 after:left-0.5 after:h-7 after:w-7",
|
|
521
|
-
lg: "w-14 h-7 after:top-0.5 after:left-0.5 after:h-6 after:w-6",
|
|
522
|
-
md: "w-11 h-6 after:top-0.5 after:left-0.5 after:h-5 after:w-5",
|
|
523
|
-
sm: "w-9 h-5 after:top-0.5 after:left-0.5 after:h-4 after:w-4",
|
|
524
|
-
xs: "w-7 h-4 after:top-0.5 after:left-0.5 after:h-3 after:w-3"
|
|
525
|
-
}, Qe = {
|
|
526
|
-
red: "peer-focus:ring-red-300 peer-checked:bg-red-600",
|
|
527
|
-
green: "peer-focus:ring-green-300 peer-checked:bg-green-600",
|
|
528
|
-
purple: "peer-focus:ring-purple-300 peer-checked:bg-purple-600",
|
|
529
|
-
yellow: "peer-focus:ring-yellow-300 peer-checked:bg-yellow-400",
|
|
530
|
-
teal: "peer-focus:ring-teal-300 peer-checked:bg-teal-600",
|
|
531
|
-
orange: "peer-focus:ring-orange-300 peer-checked:bg-orange-500"
|
|
532
|
-
}, Xe = (e) => {
|
|
533
|
-
const n = p(() => {
|
|
534
|
-
var v, l;
|
|
535
|
-
return {
|
|
536
|
-
...He,
|
|
537
|
-
"cursor-pointer": !((v = e.disabled) != null && v.value),
|
|
538
|
-
"cursor-default": !!((l = e.disabled) != null && l.value)
|
|
539
|
-
};
|
|
540
|
-
}), r = p(() => {
|
|
541
|
-
var v, l;
|
|
542
|
-
return {
|
|
543
|
-
'peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[""] after:absolute after:top-0.5 after:left-0.5 after:border-gray-300 after:border after:rounded-full after:transition-all': !0,
|
|
544
|
-
"bg-gray-200 peer-checked:bg-primary-600 after:bg-white": !((v = e.disabled) != null && v.value),
|
|
545
|
-
"bg-gray-100 peer-checked:bg-primary-200 after:bg-gray-200": (l = e.disabled) == null ? void 0 : l.value
|
|
546
|
-
};
|
|
547
|
-
}), t = p(() => Je[e.size.value]), s = p(() => Qe[e.color.value]), o = p(() => Ke);
|
|
548
|
-
return {
|
|
549
|
-
labelClasses: n,
|
|
550
|
-
toggleSize: t,
|
|
551
|
-
toggleClasses: r,
|
|
552
|
-
toggleColor: s,
|
|
553
|
-
toggleBallClasses: o
|
|
554
|
-
};
|
|
555
|
-
}, Ye = ["disabled"], gt = /* @__PURE__ */ Ve({
|
|
556
|
-
__name: "Toggle",
|
|
557
|
-
props: {
|
|
558
|
-
modelValue: { type: Boolean, default: !1 },
|
|
559
|
-
labelPosition: { default: "after" },
|
|
560
|
-
size: { default: "md" },
|
|
561
|
-
disabled: { type: Boolean, default: !1 },
|
|
562
|
-
color: { default: "" },
|
|
563
|
-
hasBackground: { type: Boolean, default: !1 },
|
|
564
|
-
noSpacing: { type: Boolean, default: !1 }
|
|
565
|
-
},
|
|
566
|
-
emits: ["update:modelValue"],
|
|
567
|
-
setup(e, { emit: n }) {
|
|
568
|
-
const r = e, t = n, s = p({
|
|
569
|
-
get() {
|
|
570
|
-
return r.modelValue;
|
|
571
|
-
},
|
|
572
|
-
set(g) {
|
|
573
|
-
t("update:modelValue", g);
|
|
574
|
-
}
|
|
575
|
-
}), { labelClasses: o, toggleSize: v, toggleClasses: l, toggleColor: $, toggleBallClasses: i } = Xe(ze(r));
|
|
576
|
-
return (g, c) => (Y(), ee("label", {
|
|
577
|
-
class: A(["inline-flex items-center gap-1.5", {
|
|
578
|
-
"flex-row-reverse": e.labelPosition === "before",
|
|
579
|
-
"rounded border-l-4 border-gray-200 bg-gray-50": e.hasBackground,
|
|
580
|
-
"p-2": !e.noSpacing
|
|
581
|
-
}]),
|
|
582
|
-
onClick: c[1] || (c[1] = _e(() => {
|
|
583
|
-
}, ["stop"]))
|
|
584
|
-
}, [
|
|
585
|
-
M("div", {
|
|
586
|
-
class: A(f(o))
|
|
587
|
-
}, [
|
|
588
|
-
Se(M("input", {
|
|
589
|
-
"onUpdate:modelValue": c[0] || (c[0] = (h) => s.value = h),
|
|
590
|
-
disabled: e.disabled,
|
|
591
|
-
class: "peer sr-only",
|
|
592
|
-
type: "checkbox"
|
|
593
|
-
}, null, 8, Ye), [
|
|
594
|
-
[Ae, s.value]
|
|
595
|
-
]),
|
|
596
|
-
M("span", {
|
|
597
|
-
class: A([f(l), f(v), f($)])
|
|
598
|
-
}, null, 2)
|
|
599
|
-
], 2),
|
|
600
|
-
g.$slots["inline-label"] ? (Y(), ee("span", {
|
|
601
|
-
key: 0,
|
|
602
|
-
class: A(f(i))
|
|
603
|
-
}, [
|
|
604
|
-
Te(g.$slots, "inline-label")
|
|
605
|
-
], 2)) : Le("", !0)
|
|
606
|
-
], 2));
|
|
607
|
-
}
|
|
608
|
-
});
|
|
609
|
-
function le(e, n) {
|
|
610
|
-
var r = Object.keys(e);
|
|
611
|
-
if (Object.getOwnPropertySymbols) {
|
|
612
|
-
var t = Object.getOwnPropertySymbols(e);
|
|
613
|
-
n && (t = t.filter(function(s) {
|
|
614
|
-
return Object.getOwnPropertyDescriptor(e, s).enumerable;
|
|
615
|
-
})), r.push.apply(r, t);
|
|
616
|
-
}
|
|
617
|
-
return r;
|
|
618
|
-
}
|
|
619
|
-
function _(e) {
|
|
620
|
-
for (var n = 1; n < arguments.length; n++) {
|
|
621
|
-
var r = arguments[n] != null ? arguments[n] : {};
|
|
622
|
-
n % 2 ? le(Object(r), !0).forEach(function(t) {
|
|
623
|
-
et(e, t, r[t]);
|
|
624
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : le(Object(r)).forEach(function(t) {
|
|
625
|
-
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
|
|
626
|
-
});
|
|
627
|
-
}
|
|
628
|
-
return e;
|
|
629
|
-
}
|
|
630
|
-
function et(e, n, r) {
|
|
631
|
-
return n in e ? Object.defineProperty(e, n, {
|
|
632
|
-
value: r,
|
|
633
|
-
enumerable: !0,
|
|
634
|
-
configurable: !0,
|
|
635
|
-
writable: !0
|
|
636
|
-
}) : e[n] = r, e;
|
|
637
|
-
}
|
|
638
|
-
function I(e) {
|
|
639
|
-
return typeof e == "function";
|
|
640
|
-
}
|
|
641
|
-
function Z(e) {
|
|
642
|
-
return e !== null && typeof e == "object" && !Array.isArray(e);
|
|
643
|
-
}
|
|
644
|
-
function k(e) {
|
|
645
|
-
return I(e.$validator) ? _({}, e) : {
|
|
646
|
-
$validator: e
|
|
647
|
-
};
|
|
648
|
-
}
|
|
649
|
-
function ge(e) {
|
|
650
|
-
return typeof e == "object" ? e.$valid : e;
|
|
651
|
-
}
|
|
652
|
-
function ve(e) {
|
|
653
|
-
return e.$validator || e;
|
|
654
|
-
}
|
|
655
|
-
function tt(e, n) {
|
|
656
|
-
if (!Z(e)) throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);
|
|
657
|
-
if (!Z(n) && !I(n)) throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
|
|
658
|
-
const r = k(n);
|
|
659
|
-
return r.$params = _(_({}, r.$params || {}), e), r;
|
|
660
|
-
}
|
|
661
|
-
function rt(e, n) {
|
|
662
|
-
if (!I(e) && typeof f(e) != "string") throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof e}`);
|
|
663
|
-
if (!Z(n) && !I(n)) throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
|
|
664
|
-
const r = k(n);
|
|
665
|
-
return r.$message = e, r;
|
|
666
|
-
}
|
|
667
|
-
function nt(e) {
|
|
668
|
-
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
669
|
-
const r = k(e);
|
|
670
|
-
return _(_({}, r), {}, {
|
|
671
|
-
$async: !0,
|
|
672
|
-
$watchTargets: n
|
|
673
|
-
});
|
|
674
|
-
}
|
|
675
|
-
function at(e) {
|
|
676
|
-
return {
|
|
677
|
-
$validator(n) {
|
|
678
|
-
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
|
|
679
|
-
t[s - 1] = arguments[s];
|
|
680
|
-
return f(n).reduce((o, v, l) => {
|
|
681
|
-
const $ = Object.entries(v).reduce((i, g) => {
|
|
682
|
-
let [c, h] = g;
|
|
683
|
-
const m = e[c] || {}, a = Object.entries(m).reduce((u, d) => {
|
|
684
|
-
let [y, V] = d;
|
|
685
|
-
const w = ve(V).call(this, h, v, l, ...t), C = ge(w);
|
|
686
|
-
if (u.$data[y] = w, u.$data.$invalid = !C || !!u.$data.$invalid, u.$data.$error = u.$data.$invalid, !C) {
|
|
687
|
-
let x = V.$message || "";
|
|
688
|
-
const S = V.$params || {};
|
|
689
|
-
typeof x == "function" && (x = x({
|
|
690
|
-
$pending: !1,
|
|
691
|
-
$invalid: !C,
|
|
692
|
-
$params: S,
|
|
693
|
-
$model: h,
|
|
694
|
-
$response: w
|
|
695
|
-
})), u.$errors.push({
|
|
696
|
-
$property: c,
|
|
697
|
-
$message: x,
|
|
698
|
-
$params: S,
|
|
699
|
-
$response: w,
|
|
700
|
-
$model: h,
|
|
701
|
-
$pending: !1,
|
|
702
|
-
$validator: y
|
|
703
|
-
});
|
|
704
|
-
}
|
|
705
|
-
return {
|
|
706
|
-
$valid: u.$valid && C,
|
|
707
|
-
$data: u.$data,
|
|
708
|
-
$errors: u.$errors
|
|
709
|
-
};
|
|
710
|
-
}, {
|
|
711
|
-
$valid: !0,
|
|
712
|
-
$data: {},
|
|
713
|
-
$errors: []
|
|
714
|
-
});
|
|
715
|
-
return i.$data[c] = a.$data, i.$errors[c] = a.$errors, {
|
|
716
|
-
$valid: i.$valid && a.$valid,
|
|
717
|
-
$data: i.$data,
|
|
718
|
-
$errors: i.$errors
|
|
719
|
-
};
|
|
720
|
-
}, {
|
|
721
|
-
$valid: !0,
|
|
722
|
-
$data: {},
|
|
723
|
-
$errors: {}
|
|
724
|
-
});
|
|
725
|
-
return {
|
|
726
|
-
$valid: o.$valid && $.$valid,
|
|
727
|
-
$data: o.$data.concat($.$data),
|
|
728
|
-
$errors: o.$errors.concat($.$errors)
|
|
729
|
-
};
|
|
730
|
-
}, {
|
|
731
|
-
$valid: !0,
|
|
732
|
-
$data: [],
|
|
733
|
-
$errors: []
|
|
734
|
-
});
|
|
735
|
-
},
|
|
736
|
-
$message: (n) => {
|
|
737
|
-
let {
|
|
738
|
-
$response: r
|
|
739
|
-
} = n;
|
|
740
|
-
return r ? r.$errors.map((t) => Object.values(t).map((s) => s.map((o) => o.$message)).reduce((s, o) => s.concat(o), [])) : [];
|
|
741
|
-
}
|
|
742
|
-
};
|
|
743
|
-
}
|
|
744
|
-
const D = (e) => {
|
|
745
|
-
if (e = f(e), Array.isArray(e)) return !!e.length;
|
|
746
|
-
if (e == null)
|
|
747
|
-
return !1;
|
|
748
|
-
if (e === !1)
|
|
749
|
-
return !0;
|
|
750
|
-
if (e instanceof Date)
|
|
751
|
-
return !isNaN(e.getTime());
|
|
752
|
-
if (typeof e == "object") {
|
|
753
|
-
for (let n in e) return !0;
|
|
754
|
-
return !1;
|
|
755
|
-
}
|
|
756
|
-
return !!String(e).length;
|
|
757
|
-
}, st = (e) => (e = f(e), Array.isArray(e) ? e.length : typeof e == "object" ? Object.keys(e).length : String(e).length);
|
|
758
|
-
function E() {
|
|
759
|
-
for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
|
|
760
|
-
n[r] = arguments[r];
|
|
761
|
-
return (t) => (t = f(t), !D(t) || n.every((s) => (s.lastIndex = 0, s.test(t))));
|
|
762
|
-
}
|
|
763
|
-
var vt = /* @__PURE__ */ Object.freeze({
|
|
764
|
-
__proto__: null,
|
|
765
|
-
forEach: at,
|
|
766
|
-
len: st,
|
|
767
|
-
normalizeValidatorObject: k,
|
|
768
|
-
regex: E,
|
|
769
|
-
req: D,
|
|
770
|
-
unwrap: f,
|
|
771
|
-
unwrapNormalizedValidator: ve,
|
|
772
|
-
unwrapValidatorResponse: ge,
|
|
773
|
-
withAsync: nt,
|
|
774
|
-
withMessage: rt,
|
|
775
|
-
withParams: tt
|
|
776
|
-
});
|
|
777
|
-
E(/^[a-zA-Z]*$/);
|
|
778
|
-
E(/^[a-zA-Z0-9]*$/);
|
|
779
|
-
E(/^\d*(\.\d+)?$/);
|
|
780
|
-
const ot = /^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;
|
|
781
|
-
var it = E(ot), pt = {
|
|
782
|
-
$validator: it,
|
|
783
|
-
$message: "Value is not a valid email address",
|
|
784
|
-
$params: {
|
|
785
|
-
type: "email"
|
|
786
|
-
}
|
|
787
|
-
};
|
|
788
|
-
function lt(e) {
|
|
789
|
-
return typeof e == "string" && (e = e.trim()), D(e);
|
|
790
|
-
}
|
|
791
|
-
var mt = {
|
|
792
|
-
$validator: lt,
|
|
793
|
-
$message: "Value is required",
|
|
794
|
-
$params: {
|
|
795
|
-
type: "required"
|
|
796
|
-
}
|
|
797
|
-
};
|
|
798
|
-
const ue = (e, n) => e ? D(typeof n == "string" ? n.trim() : n) : !0;
|
|
799
|
-
function ut(e) {
|
|
800
|
-
return function(n, r) {
|
|
801
|
-
if (typeof e != "function")
|
|
802
|
-
return ue(f(e), n);
|
|
803
|
-
const t = e.call(this, n, r);
|
|
804
|
-
return ue(t, n);
|
|
805
|
-
};
|
|
806
|
-
}
|
|
807
|
-
function ht(e) {
|
|
808
|
-
return {
|
|
809
|
-
$validator: ut(e),
|
|
810
|
-
$message: "The value is required",
|
|
811
|
-
$params: {
|
|
812
|
-
type: "requiredIf",
|
|
813
|
-
prop: e
|
|
814
|
-
}
|
|
815
|
-
};
|
|
816
|
-
}
|
|
817
|
-
const ct = /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;
|
|
818
|
-
E(ct);
|
|
819
|
-
E(/(^[0-9]*$)|(^-[0-9]+$)/);
|
|
820
|
-
E(/^[-]?\d*(\.\d+)?$/);
|
|
821
|
-
function dt(e) {
|
|
822
|
-
return typeof e == "string" ? e : typeof e == "number" ? String(e) : "";
|
|
823
|
-
}
|
|
824
|
-
function yt(e) {
|
|
825
|
-
return e == null ? void 0 : dt(e);
|
|
826
|
-
}
|
|
827
|
-
function bt(e, n, r) {
|
|
828
|
-
return p({
|
|
829
|
-
get: () => e.value[n],
|
|
830
|
-
set: (t) => {
|
|
831
|
-
e.value[n] = r(t);
|
|
832
|
-
}
|
|
833
|
-
});
|
|
834
|
-
}
|
|
835
|
-
export {
|
|
836
|
-
gt as _,
|
|
837
|
-
dt as a,
|
|
838
|
-
yt as b,
|
|
839
|
-
vt as c,
|
|
840
|
-
ht as d,
|
|
841
|
-
pt as e,
|
|
842
|
-
bt as f,
|
|
843
|
-
mt as r,
|
|
844
|
-
$t as u
|
|
845
|
-
};
|