@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
|
@@ -0,0 +1,749 @@
|
|
|
1
|
+
import { getCurrentInstance as be, ref as O, onBeforeMount as we, watch as _, isRef as B, reactive as H, onBeforeUnmount as Oe, computed as h, unref as f, inject as U, provide as J, isReactive as Re, isReadonly as xe, nextTick as Q } from "vue";
|
|
2
|
+
function X(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 ? X(Object(r), !0).forEach(function(t) {
|
|
16
|
+
je(e, t, r[t]);
|
|
17
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : X(Object(r)).forEach(function(t) {
|
|
18
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return e;
|
|
22
|
+
}
|
|
23
|
+
function je(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 Y(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 T(e) {
|
|
36
|
+
return typeof e == "function";
|
|
37
|
+
}
|
|
38
|
+
function Ee(e) {
|
|
39
|
+
return Re(e) || xe(e);
|
|
40
|
+
}
|
|
41
|
+
function ie(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 h(() => e.some((t) => ie(n, t, {
|
|
52
|
+
[r]: !1
|
|
53
|
+
})[r]));
|
|
54
|
+
}
|
|
55
|
+
function k(e, n, r) {
|
|
56
|
+
return h(() => e.reduce((t, s) => {
|
|
57
|
+
const o = ie(n, s, {
|
|
58
|
+
[r]: !1
|
|
59
|
+
})[r] || [];
|
|
60
|
+
return t.concat(o);
|
|
61
|
+
}, []));
|
|
62
|
+
}
|
|
63
|
+
function oe(e, n, r, t) {
|
|
64
|
+
return e.call(t, f(n), f(r), t);
|
|
65
|
+
}
|
|
66
|
+
function ue(e) {
|
|
67
|
+
return e.$valid !== void 0 ? !e.$valid : !e;
|
|
68
|
+
}
|
|
69
|
+
function Pe(e, n, r, t, s, o, m) {
|
|
70
|
+
let {
|
|
71
|
+
$lazy: c,
|
|
72
|
+
$rewardEarly: d
|
|
73
|
+
} = s, i = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : [], v = arguments.length > 8 ? arguments[8] : void 0, $ = arguments.length > 9 ? arguments[9] : void 0, p = arguments.length > 10 ? arguments[10] : void 0;
|
|
74
|
+
const g = O(!!t.value), a = O(0);
|
|
75
|
+
r.value = !1;
|
|
76
|
+
const u = _([n, t].concat(i, p), () => {
|
|
77
|
+
if (c && !t.value || d && !$.value && !r.value)
|
|
78
|
+
return;
|
|
79
|
+
let l;
|
|
80
|
+
try {
|
|
81
|
+
l = oe(e, n, v, m);
|
|
82
|
+
} catch (y) {
|
|
83
|
+
l = Promise.reject(y);
|
|
84
|
+
}
|
|
85
|
+
a.value++, r.value = !!a.value, g.value = !1, Promise.resolve(l).then((y) => {
|
|
86
|
+
a.value--, r.value = !!a.value, o.value = y, g.value = ue(y);
|
|
87
|
+
}).catch((y) => {
|
|
88
|
+
a.value--, r.value = !!a.value, o.value = y, g.value = !0;
|
|
89
|
+
});
|
|
90
|
+
}, {
|
|
91
|
+
immediate: !0,
|
|
92
|
+
deep: typeof n == "object"
|
|
93
|
+
});
|
|
94
|
+
return {
|
|
95
|
+
$invalid: g,
|
|
96
|
+
$unwatch: u
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
function Ve(e, n, r, t, s, o, m, c) {
|
|
100
|
+
let {
|
|
101
|
+
$lazy: d,
|
|
102
|
+
$rewardEarly: i
|
|
103
|
+
} = t;
|
|
104
|
+
const v = () => ({}), $ = h(() => {
|
|
105
|
+
if (d && !r.value || i && !c.value)
|
|
106
|
+
return !1;
|
|
107
|
+
let p = !0;
|
|
108
|
+
try {
|
|
109
|
+
const g = oe(e, n, m, o);
|
|
110
|
+
s.value = g, p = ue(g);
|
|
111
|
+
} catch (g) {
|
|
112
|
+
s.value = g;
|
|
113
|
+
}
|
|
114
|
+
return p;
|
|
115
|
+
});
|
|
116
|
+
return {
|
|
117
|
+
$unwatch: v,
|
|
118
|
+
$invalid: $
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
function Ce(e, n, r, t, s, o, m, c, d, i, v) {
|
|
122
|
+
const $ = O(!1), p = e.$params || {}, g = O(null);
|
|
123
|
+
let a, u;
|
|
124
|
+
e.$async ? {
|
|
125
|
+
$invalid: a,
|
|
126
|
+
$unwatch: u
|
|
127
|
+
} = Pe(e.$validator, n, $, r, t, g, s, e.$watchTargets, d, i, v) : {
|
|
128
|
+
$invalid: a,
|
|
129
|
+
$unwatch: u
|
|
130
|
+
} = Ve(e.$validator, n, r, t, g, s, d, i);
|
|
131
|
+
const l = e.$message;
|
|
132
|
+
return {
|
|
133
|
+
$message: T(l) ? h(() => l(Y({
|
|
134
|
+
$pending: $,
|
|
135
|
+
$invalid: a,
|
|
136
|
+
$params: Y(p),
|
|
137
|
+
$model: n,
|
|
138
|
+
$response: g,
|
|
139
|
+
$validator: o,
|
|
140
|
+
$propertyPath: c,
|
|
141
|
+
$property: m
|
|
142
|
+
}))) : l || "",
|
|
143
|
+
$params: p,
|
|
144
|
+
$pending: $,
|
|
145
|
+
$invalid: a,
|
|
146
|
+
$response: g,
|
|
147
|
+
$unwatch: u
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
function _e() {
|
|
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 m = null;
|
|
154
|
+
return r.forEach((c) => {
|
|
155
|
+
const d = n[c];
|
|
156
|
+
switch (!0) {
|
|
157
|
+
case T(d.$validator):
|
|
158
|
+
t[c] = d;
|
|
159
|
+
break;
|
|
160
|
+
case T(d):
|
|
161
|
+
t[c] = {
|
|
162
|
+
$validator: d
|
|
163
|
+
};
|
|
164
|
+
break;
|
|
165
|
+
case c === "$validationGroups":
|
|
166
|
+
m = d;
|
|
167
|
+
break;
|
|
168
|
+
case c.startsWith("$"):
|
|
169
|
+
o[c] = d;
|
|
170
|
+
break;
|
|
171
|
+
default:
|
|
172
|
+
s[c] = d;
|
|
173
|
+
}
|
|
174
|
+
}), {
|
|
175
|
+
rules: t,
|
|
176
|
+
nestedValidators: s,
|
|
177
|
+
config: o,
|
|
178
|
+
validationGroups: m
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
const ze = "__root";
|
|
182
|
+
function Ae(e, n, r, t, s, o, m, c, d) {
|
|
183
|
+
const i = Object.keys(e), v = t.get(s, e), $ = O(!1), p = O(!1), g = O(0);
|
|
184
|
+
if (v) {
|
|
185
|
+
if (!v.$partial) return v;
|
|
186
|
+
v.$unwatch(), $.value = v.$dirty.value;
|
|
187
|
+
}
|
|
188
|
+
const a = {
|
|
189
|
+
$dirty: $,
|
|
190
|
+
$path: s,
|
|
191
|
+
$touch: () => {
|
|
192
|
+
$.value || ($.value = !0);
|
|
193
|
+
},
|
|
194
|
+
$reset: () => {
|
|
195
|
+
$.value && ($.value = !1);
|
|
196
|
+
},
|
|
197
|
+
$commit: () => {
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
return i.length ? (i.forEach((u) => {
|
|
201
|
+
a[u] = Ce(e[u], n, a.$dirty, o, m, u, r, s, d, p, g);
|
|
202
|
+
}), a.$externalResults = h(() => c.value ? [].concat(c.value).map((u, l) => ({
|
|
203
|
+
$propertyPath: s,
|
|
204
|
+
$property: r,
|
|
205
|
+
$validator: "$externalResults",
|
|
206
|
+
$uid: `${s}-externalResult-${l}`,
|
|
207
|
+
$message: u,
|
|
208
|
+
$params: {},
|
|
209
|
+
$response: null,
|
|
210
|
+
$pending: !1
|
|
211
|
+
})) : []), a.$invalid = h(() => {
|
|
212
|
+
const u = i.some((l) => f(a[l].$invalid));
|
|
213
|
+
return p.value = u, !!a.$externalResults.value.length || u;
|
|
214
|
+
}), a.$pending = h(() => i.some((u) => f(a[u].$pending))), a.$error = h(() => a.$dirty.value ? a.$pending.value || a.$invalid.value : !1), a.$silentErrors = h(() => i.filter((u) => f(a[u].$invalid)).map((u) => {
|
|
215
|
+
const l = a[u];
|
|
216
|
+
return H({
|
|
217
|
+
$propertyPath: s,
|
|
218
|
+
$property: r,
|
|
219
|
+
$validator: u,
|
|
220
|
+
$uid: `${s}-${u}`,
|
|
221
|
+
$message: l.$message,
|
|
222
|
+
$params: l.$params,
|
|
223
|
+
$response: l.$response,
|
|
224
|
+
$pending: l.$pending
|
|
225
|
+
});
|
|
226
|
+
}).concat(a.$externalResults.value)), a.$errors = h(() => a.$dirty.value ? a.$silentErrors.value : []), a.$unwatch = () => i.forEach((u) => {
|
|
227
|
+
a[u].$unwatch();
|
|
228
|
+
}), a.$commit = () => {
|
|
229
|
+
p.value = !0, g.value = Date.now();
|
|
230
|
+
}, t.set(s, e, a), a) : (v && t.set(s, e, a), a);
|
|
231
|
+
}
|
|
232
|
+
function Se(e, n, r, t, s, o, m) {
|
|
233
|
+
const c = Object.keys(e);
|
|
234
|
+
return c.length ? c.reduce((d, i) => (d[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: m
|
|
243
|
+
}), d), {}) : {};
|
|
244
|
+
}
|
|
245
|
+
function Te(e, n, r) {
|
|
246
|
+
const t = h(() => [n, r].filter((a) => a).reduce((a, u) => a.concat(Object.values(f(u))), [])), s = h({
|
|
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 = h(() => {
|
|
254
|
+
const a = f(e.$silentErrors) || [], u = t.value.filter((l) => (f(l).$silentErrors || []).length).reduce((l, y) => l.concat(...y.$silentErrors), []);
|
|
255
|
+
return a.concat(u);
|
|
256
|
+
}), m = h(() => {
|
|
257
|
+
const a = f(e.$errors) || [], u = t.value.filter((l) => (f(l).$errors || []).length).reduce((l, y) => l.concat(...y.$errors), []);
|
|
258
|
+
return a.concat(u);
|
|
259
|
+
}), c = h(() => t.value.some((a) => a.$invalid) || f(e.$invalid) || !1), d = h(() => t.value.some((a) => f(a.$pending)) || f(e.$pending) || !1), i = h(() => t.value.some((a) => a.$dirty) || t.value.some((a) => a.$anyDirty) || s.value), v = h(() => s.value ? d.value || c.value : !1), $ = () => {
|
|
260
|
+
e.$touch(), t.value.forEach((a) => {
|
|
261
|
+
a.$touch();
|
|
262
|
+
});
|
|
263
|
+
}, p = () => {
|
|
264
|
+
e.$commit(), t.value.forEach((a) => {
|
|
265
|
+
a.$commit();
|
|
266
|
+
});
|
|
267
|
+
}, g = () => {
|
|
268
|
+
e.$reset(), t.value.forEach((a) => {
|
|
269
|
+
a.$reset();
|
|
270
|
+
});
|
|
271
|
+
};
|
|
272
|
+
return t.value.length && t.value.every((a) => a.$dirty) && $(), {
|
|
273
|
+
$dirty: s,
|
|
274
|
+
$errors: m,
|
|
275
|
+
$invalid: c,
|
|
276
|
+
$anyDirty: i,
|
|
277
|
+
$error: v,
|
|
278
|
+
$pending: d,
|
|
279
|
+
$touch: $,
|
|
280
|
+
$reset: g,
|
|
281
|
+
$silentErrors: o,
|
|
282
|
+
$commit: p
|
|
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: m,
|
|
293
|
+
globalConfig: c = {},
|
|
294
|
+
instance: d,
|
|
295
|
+
externalResults: i
|
|
296
|
+
} = e;
|
|
297
|
+
const v = s ? `${s}.${t}` : t, {
|
|
298
|
+
rules: $,
|
|
299
|
+
nestedValidators: p,
|
|
300
|
+
config: g,
|
|
301
|
+
validationGroups: a
|
|
302
|
+
} = _e(n), u = j(j({}, c), g), l = t ? h(() => {
|
|
303
|
+
const b = f(r);
|
|
304
|
+
return b ? f(b[t]) : void 0;
|
|
305
|
+
}) : r, y = j({}, f(i) || {}), C = h(() => {
|
|
306
|
+
const b = f(i);
|
|
307
|
+
return t ? b ? f(b[t]) : void 0 : b;
|
|
308
|
+
}), N = Ae($, l, t, m, v, u, d, C, r), w = Se(p, l, v, m, u, d, C), P = {};
|
|
309
|
+
a && Object.entries(a).forEach((b) => {
|
|
310
|
+
let [V, x] = b;
|
|
311
|
+
P[V] = {
|
|
312
|
+
$invalid: G(x, w, "$invalid"),
|
|
313
|
+
$error: G(x, w, "$error"),
|
|
314
|
+
$pending: G(x, w, "$pending"),
|
|
315
|
+
$errors: k(x, w, "$errors"),
|
|
316
|
+
$silentErrors: k(x, w, "$silentErrors")
|
|
317
|
+
};
|
|
318
|
+
});
|
|
319
|
+
const {
|
|
320
|
+
$dirty: R,
|
|
321
|
+
$errors: A,
|
|
322
|
+
$invalid: F,
|
|
323
|
+
$anyDirty: $e,
|
|
324
|
+
$error: fe,
|
|
325
|
+
$pending: q,
|
|
326
|
+
$touch: M,
|
|
327
|
+
$reset: ve,
|
|
328
|
+
$silentErrors: ge,
|
|
329
|
+
$commit: K
|
|
330
|
+
} = Te(N, w, o), me = t ? h({
|
|
331
|
+
get: () => f(l),
|
|
332
|
+
set: (b) => {
|
|
333
|
+
R.value = !0;
|
|
334
|
+
const V = f(r), x = f(i);
|
|
335
|
+
x && (x[t] = y[t]), B(V[t]) ? V[t].value = b : V[t] = b;
|
|
336
|
+
}
|
|
337
|
+
}) : null;
|
|
338
|
+
t && u.$autoDirty && _(l, () => {
|
|
339
|
+
R.value || M();
|
|
340
|
+
const b = f(i);
|
|
341
|
+
b && (b[t] = y[t]);
|
|
342
|
+
}, {
|
|
343
|
+
flush: "sync"
|
|
344
|
+
});
|
|
345
|
+
async function pe() {
|
|
346
|
+
return M(), u.$rewardEarly && (K(), await Q()), await Q(), new Promise((b) => {
|
|
347
|
+
if (!q.value) return b(!F.value);
|
|
348
|
+
const V = _(q, () => {
|
|
349
|
+
b(!F.value), V();
|
|
350
|
+
});
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
function he(b) {
|
|
354
|
+
return (o.value || {})[b];
|
|
355
|
+
}
|
|
356
|
+
function ye() {
|
|
357
|
+
B(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({}, N), {}, {
|
|
362
|
+
$model: me,
|
|
363
|
+
$dirty: R,
|
|
364
|
+
$error: fe,
|
|
365
|
+
$errors: A,
|
|
366
|
+
$invalid: F,
|
|
367
|
+
$anyDirty: $e,
|
|
368
|
+
$pending: q,
|
|
369
|
+
$touch: M,
|
|
370
|
+
$reset: ve,
|
|
371
|
+
$path: v || ze,
|
|
372
|
+
$silentErrors: ge,
|
|
373
|
+
$validate: pe,
|
|
374
|
+
$commit: K
|
|
375
|
+
}, o && {
|
|
376
|
+
$getResultsForChild: he,
|
|
377
|
+
$clearExternalResults: ye,
|
|
378
|
+
$validationGroups: P
|
|
379
|
+
}), w));
|
|
380
|
+
}
|
|
381
|
+
class Ie {
|
|
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((c) => s.includes(c)) ? !1 : o.every((c) => r[c].$params ? Object.keys(r[c].$params).every((d) => f(t[c].$params[d]) === f(r[c].$params[d])) : !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, m = this.checkRulesValidity(n, r, s), c = o.$unwatch ? o.$unwatch : () => ({});
|
|
402
|
+
return m ? o : {
|
|
403
|
+
$dirty: o.$dirty,
|
|
404
|
+
$partial: !0,
|
|
405
|
+
$unwatch: c
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
const S = {
|
|
410
|
+
COLLECT_ALL: !0,
|
|
411
|
+
COLLECT_NONE: !1
|
|
412
|
+
}, ee = Symbol("vuelidate#injectChildResults"), te = Symbol("vuelidate#removeChildResults");
|
|
413
|
+
function Le(e) {
|
|
414
|
+
let {
|
|
415
|
+
$scope: n,
|
|
416
|
+
instance: r
|
|
417
|
+
} = e;
|
|
418
|
+
const t = {}, s = O([]), o = h(() => s.value.reduce((v, $) => (v[$] = f(t[$]), v), {}));
|
|
419
|
+
function m(v, $) {
|
|
420
|
+
let {
|
|
421
|
+
$registerAs: p,
|
|
422
|
+
$scope: g,
|
|
423
|
+
$stopPropagation: a
|
|
424
|
+
} = $;
|
|
425
|
+
a || n === S.COLLECT_NONE || g === S.COLLECT_NONE || n !== S.COLLECT_ALL && n !== g || (t[p] = v, s.value.push(p));
|
|
426
|
+
}
|
|
427
|
+
r.__vuelidateInjectInstances = [].concat(r.__vuelidateInjectInstances || [], m);
|
|
428
|
+
function c(v) {
|
|
429
|
+
s.value = s.value.filter(($) => $ !== v), delete t[v];
|
|
430
|
+
}
|
|
431
|
+
r.__vuelidateRemoveInstances = [].concat(r.__vuelidateRemoveInstances || [], c);
|
|
432
|
+
const d = U(ee, []);
|
|
433
|
+
J(ee, r.__vuelidateInjectInstances);
|
|
434
|
+
const i = U(te, []);
|
|
435
|
+
return J(te, r.__vuelidateRemoveInstances), {
|
|
436
|
+
childResults: o,
|
|
437
|
+
sendValidationResultsToParent: d,
|
|
438
|
+
removeValidationResultsFromParent: i
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
function le(e) {
|
|
442
|
+
return new Proxy(e, {
|
|
443
|
+
get(n, r) {
|
|
444
|
+
return typeof n[r] == "object" ? le(n[r]) : h(() => n[r]);
|
|
445
|
+
}
|
|
446
|
+
});
|
|
447
|
+
}
|
|
448
|
+
let re = 0;
|
|
449
|
+
function ne(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 = S.COLLECT_ALL,
|
|
456
|
+
$stopPropagation: m,
|
|
457
|
+
$externalResults: c,
|
|
458
|
+
currentVueInstance: d
|
|
459
|
+
} = t;
|
|
460
|
+
const i = d || ((r = be()) === null || r === void 0 ? void 0 : r.proxy), v = i ? i.$options : {};
|
|
461
|
+
s || (re += 1, s = `_vuelidate_${re}`);
|
|
462
|
+
const $ = O({}), p = new Ie(), {
|
|
463
|
+
childResults: g,
|
|
464
|
+
sendValidationResultsToParent: a,
|
|
465
|
+
removeValidationResultsFromParent: u
|
|
466
|
+
} = i ? Le({
|
|
467
|
+
$scope: o,
|
|
468
|
+
instance: i
|
|
469
|
+
}) : {
|
|
470
|
+
childResults: O({})
|
|
471
|
+
};
|
|
472
|
+
if (!e && v.validations) {
|
|
473
|
+
const l = v.validations;
|
|
474
|
+
n = O({}), we(() => {
|
|
475
|
+
n.value = i, _(() => T(l) ? l.call(n.value, new le(n.value)) : l, (y) => {
|
|
476
|
+
$.value = W({
|
|
477
|
+
validations: y,
|
|
478
|
+
state: n,
|
|
479
|
+
childResults: g,
|
|
480
|
+
resultsCache: p,
|
|
481
|
+
globalConfig: t,
|
|
482
|
+
instance: i,
|
|
483
|
+
externalResults: c || i.vuelidateExternalResults
|
|
484
|
+
});
|
|
485
|
+
}, {
|
|
486
|
+
immediate: !0
|
|
487
|
+
});
|
|
488
|
+
}), t = v.validationsConfig || t;
|
|
489
|
+
} else {
|
|
490
|
+
const l = B(e) || Ee(e) ? e : H(e || {});
|
|
491
|
+
_(l, (y) => {
|
|
492
|
+
$.value = W({
|
|
493
|
+
validations: y,
|
|
494
|
+
state: n,
|
|
495
|
+
childResults: g,
|
|
496
|
+
resultsCache: p,
|
|
497
|
+
globalConfig: t,
|
|
498
|
+
instance: i ?? {},
|
|
499
|
+
externalResults: c
|
|
500
|
+
});
|
|
501
|
+
}, {
|
|
502
|
+
immediate: !0
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
return i && (a.forEach((l) => l($, {
|
|
506
|
+
$registerAs: s,
|
|
507
|
+
$scope: o,
|
|
508
|
+
$stopPropagation: m
|
|
509
|
+
})), Oe(() => u.forEach((l) => l(s)))), h(() => j(j({}, f($.value)), g.value));
|
|
510
|
+
}
|
|
511
|
+
function Qe(e, n, r) {
|
|
512
|
+
return e && n ? ne(e, n, { $autoDirty: !0, ...r }) : ne({ $autoDirty: !0, ...e });
|
|
513
|
+
}
|
|
514
|
+
function ae(e, n) {
|
|
515
|
+
var r = Object.keys(e);
|
|
516
|
+
if (Object.getOwnPropertySymbols) {
|
|
517
|
+
var t = Object.getOwnPropertySymbols(e);
|
|
518
|
+
n && (t = t.filter(function(s) {
|
|
519
|
+
return Object.getOwnPropertyDescriptor(e, s).enumerable;
|
|
520
|
+
})), r.push.apply(r, t);
|
|
521
|
+
}
|
|
522
|
+
return r;
|
|
523
|
+
}
|
|
524
|
+
function z(e) {
|
|
525
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
526
|
+
var r = arguments[n] != null ? arguments[n] : {};
|
|
527
|
+
n % 2 ? ae(Object(r), !0).forEach(function(t) {
|
|
528
|
+
De(e, t, r[t]);
|
|
529
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ae(Object(r)).forEach(function(t) {
|
|
530
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
return e;
|
|
534
|
+
}
|
|
535
|
+
function De(e, n, r) {
|
|
536
|
+
return n in e ? Object.defineProperty(e, n, {
|
|
537
|
+
value: r,
|
|
538
|
+
enumerable: !0,
|
|
539
|
+
configurable: !0,
|
|
540
|
+
writable: !0
|
|
541
|
+
}) : e[n] = r, e;
|
|
542
|
+
}
|
|
543
|
+
function I(e) {
|
|
544
|
+
return typeof e == "function";
|
|
545
|
+
}
|
|
546
|
+
function Z(e) {
|
|
547
|
+
return e !== null && typeof e == "object" && !Array.isArray(e);
|
|
548
|
+
}
|
|
549
|
+
function L(e) {
|
|
550
|
+
return I(e.$validator) ? z({}, e) : {
|
|
551
|
+
$validator: e
|
|
552
|
+
};
|
|
553
|
+
}
|
|
554
|
+
function ce(e) {
|
|
555
|
+
return typeof e == "object" ? e.$valid : e;
|
|
556
|
+
}
|
|
557
|
+
function de(e) {
|
|
558
|
+
return e.$validator || e;
|
|
559
|
+
}
|
|
560
|
+
function Ne(e, n) {
|
|
561
|
+
if (!Z(e)) throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);
|
|
562
|
+
if (!Z(n) && !I(n)) throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
|
|
563
|
+
const r = L(n);
|
|
564
|
+
return r.$params = z(z({}, r.$params || {}), e), r;
|
|
565
|
+
}
|
|
566
|
+
function Fe(e, n) {
|
|
567
|
+
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}`);
|
|
568
|
+
if (!Z(n) && !I(n)) throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
|
|
569
|
+
const r = L(n);
|
|
570
|
+
return r.$message = e, r;
|
|
571
|
+
}
|
|
572
|
+
function qe(e) {
|
|
573
|
+
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
574
|
+
const r = L(e);
|
|
575
|
+
return z(z({}, r), {}, {
|
|
576
|
+
$async: !0,
|
|
577
|
+
$watchTargets: n
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
function Me(e) {
|
|
581
|
+
return {
|
|
582
|
+
$validator(n) {
|
|
583
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
|
|
584
|
+
t[s - 1] = arguments[s];
|
|
585
|
+
return f(n).reduce((o, m, c) => {
|
|
586
|
+
const d = Object.entries(m).reduce((i, v) => {
|
|
587
|
+
let [$, p] = v;
|
|
588
|
+
const g = e[$] || {}, a = Object.entries(g).reduce((u, l) => {
|
|
589
|
+
let [y, C] = l;
|
|
590
|
+
const w = de(C).call(this, p, m, c, ...t), P = ce(w);
|
|
591
|
+
if (u.$data[y] = w, u.$data.$invalid = !P || !!u.$data.$invalid, u.$data.$error = u.$data.$invalid, !P) {
|
|
592
|
+
let R = C.$message || "";
|
|
593
|
+
const A = C.$params || {};
|
|
594
|
+
typeof R == "function" && (R = R({
|
|
595
|
+
$pending: !1,
|
|
596
|
+
$invalid: !P,
|
|
597
|
+
$params: A,
|
|
598
|
+
$model: p,
|
|
599
|
+
$response: w
|
|
600
|
+
})), u.$errors.push({
|
|
601
|
+
$property: $,
|
|
602
|
+
$message: R,
|
|
603
|
+
$params: A,
|
|
604
|
+
$response: w,
|
|
605
|
+
$model: p,
|
|
606
|
+
$pending: !1,
|
|
607
|
+
$validator: y
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
return {
|
|
611
|
+
$valid: u.$valid && P,
|
|
612
|
+
$data: u.$data,
|
|
613
|
+
$errors: u.$errors
|
|
614
|
+
};
|
|
615
|
+
}, {
|
|
616
|
+
$valid: !0,
|
|
617
|
+
$data: {},
|
|
618
|
+
$errors: []
|
|
619
|
+
});
|
|
620
|
+
return i.$data[$] = a.$data, i.$errors[$] = a.$errors, {
|
|
621
|
+
$valid: i.$valid && a.$valid,
|
|
622
|
+
$data: i.$data,
|
|
623
|
+
$errors: i.$errors
|
|
624
|
+
};
|
|
625
|
+
}, {
|
|
626
|
+
$valid: !0,
|
|
627
|
+
$data: {},
|
|
628
|
+
$errors: {}
|
|
629
|
+
});
|
|
630
|
+
return {
|
|
631
|
+
$valid: o.$valid && d.$valid,
|
|
632
|
+
$data: o.$data.concat(d.$data),
|
|
633
|
+
$errors: o.$errors.concat(d.$errors)
|
|
634
|
+
};
|
|
635
|
+
}, {
|
|
636
|
+
$valid: !0,
|
|
637
|
+
$data: [],
|
|
638
|
+
$errors: []
|
|
639
|
+
});
|
|
640
|
+
},
|
|
641
|
+
$message: (n) => {
|
|
642
|
+
let {
|
|
643
|
+
$response: r
|
|
644
|
+
} = n;
|
|
645
|
+
return r ? r.$errors.map((t) => Object.values(t).map((s) => s.map((o) => o.$message)).reduce((s, o) => s.concat(o), [])) : [];
|
|
646
|
+
}
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
const D = (e) => {
|
|
650
|
+
if (e = f(e), Array.isArray(e)) return !!e.length;
|
|
651
|
+
if (e == null)
|
|
652
|
+
return !1;
|
|
653
|
+
if (e === !1)
|
|
654
|
+
return !0;
|
|
655
|
+
if (e instanceof Date)
|
|
656
|
+
return !isNaN(e.getTime());
|
|
657
|
+
if (typeof e == "object") {
|
|
658
|
+
for (let n in e) return !0;
|
|
659
|
+
return !1;
|
|
660
|
+
}
|
|
661
|
+
return !!String(e).length;
|
|
662
|
+
}, Ge = (e) => (e = f(e), Array.isArray(e) ? e.length : typeof e == "object" ? Object.keys(e).length : String(e).length);
|
|
663
|
+
function E() {
|
|
664
|
+
for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
|
|
665
|
+
n[r] = arguments[r];
|
|
666
|
+
return (t) => (t = f(t), !D(t) || n.every((s) => (s.lastIndex = 0, s.test(t))));
|
|
667
|
+
}
|
|
668
|
+
var Xe = /* @__PURE__ */ Object.freeze({
|
|
669
|
+
__proto__: null,
|
|
670
|
+
forEach: Me,
|
|
671
|
+
len: Ge,
|
|
672
|
+
normalizeValidatorObject: L,
|
|
673
|
+
regex: E,
|
|
674
|
+
req: D,
|
|
675
|
+
unwrap: f,
|
|
676
|
+
unwrapNormalizedValidator: de,
|
|
677
|
+
unwrapValidatorResponse: ce,
|
|
678
|
+
withAsync: qe,
|
|
679
|
+
withMessage: Fe,
|
|
680
|
+
withParams: Ne
|
|
681
|
+
});
|
|
682
|
+
E(/^[a-zA-Z]*$/);
|
|
683
|
+
E(/^[a-zA-Z0-9]*$/);
|
|
684
|
+
E(/^\d*(\.\d+)?$/);
|
|
685
|
+
const Be = /^(?:[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;
|
|
686
|
+
var We = E(Be), Ye = {
|
|
687
|
+
$validator: We,
|
|
688
|
+
$message: "Value is not a valid email address",
|
|
689
|
+
$params: {
|
|
690
|
+
type: "email"
|
|
691
|
+
}
|
|
692
|
+
};
|
|
693
|
+
function Ze(e) {
|
|
694
|
+
return typeof e == "string" && (e = e.trim()), D(e);
|
|
695
|
+
}
|
|
696
|
+
var ke = {
|
|
697
|
+
$validator: Ze,
|
|
698
|
+
$message: "Value is required",
|
|
699
|
+
$params: {
|
|
700
|
+
type: "required"
|
|
701
|
+
}
|
|
702
|
+
};
|
|
703
|
+
const se = (e, n) => e ? D(typeof n == "string" ? n.trim() : n) : !0;
|
|
704
|
+
function He(e) {
|
|
705
|
+
return function(n, r) {
|
|
706
|
+
if (typeof e != "function")
|
|
707
|
+
return se(f(e), n);
|
|
708
|
+
const t = e.call(this, n, r);
|
|
709
|
+
return se(t, n);
|
|
710
|
+
};
|
|
711
|
+
}
|
|
712
|
+
function et(e) {
|
|
713
|
+
return {
|
|
714
|
+
$validator: He(e),
|
|
715
|
+
$message: "The value is required",
|
|
716
|
+
$params: {
|
|
717
|
+
type: "requiredIf",
|
|
718
|
+
prop: e
|
|
719
|
+
}
|
|
720
|
+
};
|
|
721
|
+
}
|
|
722
|
+
const Ke = /^(?:(?:(?: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;
|
|
723
|
+
E(Ke);
|
|
724
|
+
E(/(^[0-9]*$)|(^-[0-9]+$)/);
|
|
725
|
+
E(/^[-]?\d*(\.\d+)?$/);
|
|
726
|
+
function Ue(e) {
|
|
727
|
+
return typeof e == "string" ? e : typeof e == "number" ? String(e) : "";
|
|
728
|
+
}
|
|
729
|
+
function tt(e) {
|
|
730
|
+
return e == null ? void 0 : Ue(e);
|
|
731
|
+
}
|
|
732
|
+
function rt(e, n, r) {
|
|
733
|
+
return h({
|
|
734
|
+
get: () => e.value[n],
|
|
735
|
+
set: (t) => {
|
|
736
|
+
e.value[n] = r(t);
|
|
737
|
+
}
|
|
738
|
+
});
|
|
739
|
+
}
|
|
740
|
+
export {
|
|
741
|
+
tt as a,
|
|
742
|
+
ke as b,
|
|
743
|
+
Xe as c,
|
|
744
|
+
Ue as d,
|
|
745
|
+
Ye as e,
|
|
746
|
+
rt as f,
|
|
747
|
+
et as r,
|
|
748
|
+
Qe as u
|
|
749
|
+
};
|