@solvimon/solvimon-web 0.1.0-alpha.30 → 0.1.0-alpha.32

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.
Files changed (268) hide show
  1. package/README.md +152 -91
  2. package/dist/AddPaymentMethodModal-Cx203VXo.mjs +97 -0
  3. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BMHhLZnu.mjs +89 -0
  4. package/dist/{Alert.vue.es-ZPG49yR_.mjs → Alert.vue.es-DHJpiSdR.mjs} +1 -1
  5. package/dist/{Amount.vue.es-DPqHB8Xd.mjs → Amount.vue.es-CofcgmXt.mjs} +1 -1
  6. package/dist/AuthProvider.handle-BpFblzFx.mjs +46 -0
  7. package/dist/{Avatar.vue.es-geDQsZwu.mjs → Avatar.vue.es-CJdXXOiG.mjs} +1 -1
  8. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD84aBiU.mjs +64 -0
  9. package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
  10. package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-F5OVG0kO.mjs +340 -0
  11. package/dist/BillingInformationModal-Do3Fuu8A.mjs +85 -0
  12. package/dist/{Button.vue.es-j7iYlqtJ.mjs → Button.vue.es-CW7XfMBF.mjs} +1 -1
  13. package/dist/{ChargeOnDemandModal-CR01PkP_.mjs → ChargeOnDemandModal-B4ShPKLS.mjs} +46 -45
  14. package/dist/{Chip.vue.es-Dxx_0dte.mjs → Chip.vue.es-CYwWHyAT.mjs} +2 -2
  15. package/dist/CompanyPurchaseToggle.vue_vue_type_script_setup_true_lang-CVXHCSPb.mjs +510 -0
  16. package/dist/{Comparators.vue.es-DQBI3f7m.mjs → Comparators.vue.es-DYrKlE8t.mjs} +1 -1
  17. package/dist/{ContentWithAsideLayout-Bnbsq8_5.mjs → ContentWithAsideLayout-C2kFcft1.mjs} +1 -1
  18. package/dist/{ContextMenu.vue.es-BJO4U47Q.mjs → ContextMenu.vue.es-EXTx0NEt.mjs} +10 -10
  19. package/dist/{CustomerBillingInformation.vue.es-CmNpqcBw.mjs → CustomerBillingInformation.vue.es-CSKG6V3T.mjs} +3 -3
  20. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DZZuAHIE.mjs +217 -0
  21. package/dist/CustomerShippingAddresses-Bdy4XWjE.mjs +282 -0
  22. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BEKwWob_.mjs +3124 -0
  23. package/dist/{DividerText.vue.es-BusbyeAI.mjs → DividerText.vue.es-Dq0JzI8C.mjs} +1 -1
  24. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-3gf8pvR7.mjs} +3 -3
  25. package/dist/{ErrorNotification.vue.es-F068p7PY.mjs → ErrorNotification.vue.es-Cw7fqCg1.mjs} +2 -2
  26. package/dist/{FormMessage.vue.es-CwMQpIAW.mjs → FormMessage.vue.es-MrzQoSae.mjs} +1 -1
  27. package/dist/{IconButton.vue.es-D8DtBW9i.mjs → IconButton.vue.es-CpQbFw0x.mjs} +2 -2
  28. package/dist/{IconTitle.vue.es-6VJtjJX2.mjs → IconTitle.vue.es-CcOIFjbE.mjs} +3 -3
  29. package/dist/{Input.vue.es-BLyHcmu4.mjs → Input.vue.es-Cd55vQri.mjs} +4 -4
  30. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CqkGCbvg.mjs} +2 -2
  31. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-BUu5M_gx.mjs} +7 -7
  32. package/dist/{InvoicePreview.vue.es-Cpf66_xV.mjs → InvoicePreview.vue.es-DHh5wruk.mjs} +7 -7
  33. package/dist/{InvoicePricingClauseChip.vue.es-CDrAE901.mjs → InvoicePricingClauseChip.vue.es-ZSOBp1se.mjs} +4 -4
  34. package/dist/{Label.vue.es-es7ZUBSP.mjs → Label.vue.es-CB6G8Krh.mjs} +3 -3
  35. package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-BZCtO2Er.mjs +20 -0
  36. package/dist/{Modal.vue.es-eeR9FmvQ.mjs → Modal.vue.es-CJFTVFSZ.mjs} +138 -127
  37. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-D0pwpqIC.mjs +789 -0
  38. package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-D08Qpgb0.mjs} +2 -2
  39. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-dl52PYcq.mjs} +4 -4
  40. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D0priVnA.mjs} +3 -3
  41. package/dist/{PaymentHistoryBlock-CN42ewCn.mjs → PaymentHistoryBlock-BSXlneqM.mjs} +1 -1
  42. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CXy0XGpn.mjs} +5 -5
  43. package/dist/{PaymentIntegrationForm-D3Ye7LZ5.mjs → PaymentIntegrationForm-Diua0GGJ.mjs} +1 -1
  44. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CLlm_Q2j.mjs +161 -0
  45. package/dist/{PaymentIntegrationFormAdyen-Fm-diCCO.mjs → PaymentIntegrationFormAdyen-D4FP0Vj5.mjs} +302 -282
  46. package/dist/{PaymentIntegrationFormStripe-BANBL6za.mjs → PaymentIntegrationFormStripe-vFzF_sCJ.mjs} +126 -117
  47. package/dist/{PaymentMethod.vue.es-t3-VyoE8.mjs → PaymentMethod.vue.es-vs6SaZOh.mjs} +200 -150
  48. package/dist/{PaymentMethodForm-CqP3GoNj.mjs → PaymentMethodForm-Buhe0aRQ.mjs} +1 -1
  49. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-RPPdBw_e.mjs +165 -0
  50. package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DprL5TR8.mjs} +7 -7
  51. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BXbevI3r.mjs} +28 -26
  52. package/dist/PaymentMethodsModal-CnJP9UKp.mjs +192 -0
  53. package/dist/PlanCustomizationEditor-KHLSEUbb.mjs +864 -0
  54. package/dist/{PortalLinkUnverified-Cp60_kRJ.mjs → PortalLinkUnverified-DlZAkE93.mjs} +3 -3
  55. package/dist/{PortalNotAvailable-DzSQnfzw.mjs → PortalNotAvailable-CKIomNrm.mjs} +2 -2
  56. package/dist/{PricingGroupRangeInput.vue.es-Srq_3cga.mjs → PricingGroupRangeInput.vue.es-oHD-IT12.mjs} +8 -8
  57. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-wCW8YZHM.mjs} +16 -15
  58. package/dist/{RadioGroupExtended.vue.es-BbBMDf6l.mjs → RadioGroupExtended.vue.es-DsShmkKZ.mjs} +5 -5
  59. package/dist/Section.vue.es-DYmEtgBj.mjs +88 -0
  60. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CANXYTzu.mjs} +2 -2
  61. package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-CJp6ddhZ.mjs +144 -0
  62. package/dist/ShippingAddressesModal-Gxv2KxaW.mjs +283 -0
  63. package/dist/{StepInput.vue.es-ieh4EuJ7.mjs → StepInput.vue.es-sqA-VSsn.mjs} +4 -4
  64. package/dist/SubscriptionCancellationModal-DfAZ_uW6.mjs +4 -0
  65. package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-BlbiDNIu.mjs +240 -0
  66. package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-C1ko2xvR.mjs +64 -0
  67. package/dist/SubscriptionDetails.entry.ce-CdWV-8WN.mjs +764 -0
  68. package/dist/{SubscriptionSchedules-DMxX3GpK.mjs → SubscriptionSchedules-BfdVn1XA.mjs} +1 -1
  69. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C8q8Q6h5.mjs +5413 -0
  70. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-qQ9gJOIs.mjs +90 -0
  71. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DYWjTzPV.mjs} +133 -108
  72. package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
  73. package/dist/{TooltipParagraph.vue.es-BES3zsYN.mjs → TooltipParagraph.vue.es-Bt-7LHr3.mjs} +18 -18
  74. package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-Cp_sFa52.mjs} +1 -1
  75. package/dist/TrialChip.vue.es-VZwQX079.mjs +47 -0
  76. package/dist/addonQuantity-D3bGVqjL.mjs +128 -0
  77. package/dist/adyen-CHgq2l6n.mjs +99 -0
  78. package/dist/adyenSdk-DUTO7xkT.mjs +63 -0
  79. package/dist/{api.es-qgvzNMU-.mjs → api.es-QaC926Xu.mjs} +2 -2
  80. package/dist/components/BillingInformation/BillingInformation.mjs +37 -41
  81. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +45 -462
  82. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +33 -42
  83. package/dist/components/Invoice/Invoice.mjs +1087 -1019
  84. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +38 -47
  85. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +29 -34
  86. package/dist/components/InvoicesList/InvoicesList.mjs +33 -42
  87. package/dist/components/PaymentHistory/PaymentHistory.mjs +39 -48
  88. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +56 -64
  89. package/dist/components/ShippingAddressForm/ShippingAddressForm.ce.d.ts +1 -0
  90. package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +212 -0
  91. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +34 -42
  92. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +41 -50
  93. package/dist/components/WalletBalances/WalletBalances.mjs +46 -55
  94. package/dist/core/events.types.d.ts +1 -0
  95. package/dist/core/index.mjs +51 -34
  96. package/dist/{customElements-DK4GKNJG.mjs → customElements-B8c354Nu.mjs} +802 -768
  97. package/dist/{customer-lf6S5DBR.mjs → customer-CP-Wz7JO.mjs} +1 -1
  98. package/dist/{de-DE-Cyj_NtiI.mjs → de-DE-C9HrzHpE.mjs} +71 -5
  99. package/dist/{de-DE-UJ6X6jXu.mjs → de-DE-DAQmgEy5.mjs} +82 -19
  100. package/dist/{formControl-BZQLHnOO.mjs → formControl-C18sw44K.mjs} +275 -275
  101. package/dist/{formatting.es-RclXHhKo.mjs → formatting.es-DlJEzreG.mjs} +16 -13
  102. package/dist/{fr-FR-CRFoWQ7J.mjs → fr-FR-CHR3VWvd.mjs} +71 -5
  103. package/dist/{fr-FR-Cvvbkwlj.mjs → fr-FR-fz51-Ubw.mjs} +79 -16
  104. package/dist/{countryData.es-BegoD-cZ.mjs → getCountryNameByCode.es-OGxn_zT0.mjs} +7 -2
  105. package/dist/icon-sprite.svg.es-2S3rv8NW.mjs +4 -0
  106. package/dist/index.es-Bv55VtdE.mjs +633 -0
  107. package/dist/{index.es-BrVTOW5D.mjs → index.es-C7J3WGGo.mjs} +4 -4
  108. package/dist/index.mjs +37 -33
  109. package/dist/invoices-I7PghcPV.mjs +143 -0
  110. package/dist/{it-IT-DnJP5URH.mjs → it-IT-BpCkTMZL.mjs} +73 -10
  111. package/dist/{it-IT-DObZEc-U.mjs → it-IT-Dzc7DmmL.mjs} +71 -5
  112. package/dist/{nl-NL-q9xfTZF0.mjs → nl-NL-22C8OcIM.mjs} +79 -16
  113. package/dist/{nl-NL-C02xHilF.mjs → nl-NL-Dut_QwsY.mjs} +71 -5
  114. package/dist/paymentIntegrationFormLoaders-BFMAMpcA.mjs +31 -0
  115. package/dist/{paymentMethods-8w-ccfY_.mjs → paymentMethods-aGKIi7DS.mjs} +22 -21
  116. package/dist/{paymentOutcome-B6sW1eCV.mjs → paymentOutcome-Cv7hTFVu.mjs} +1 -1
  117. package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
  118. package/dist/payments-BKoKpoLN.mjs +71 -0
  119. package/dist/preloadPaymentIntegrationForms-Buwal_JR.mjs +9 -0
  120. package/dist/pricing-Y-7ELzN-.mjs +42 -0
  121. package/dist/{pricingItem.es-bCPArbTa.mjs → pricingItem.es-BafitMMY.mjs} +1 -1
  122. package/dist/pricingPlanScheduleOverrides-CGm_-jJq.mjs +291 -0
  123. package/dist/randomUuid-BE_IQ-aq.mjs +10 -0
  124. package/dist/screens/Checkout/Checkout.mjs +1098 -3
  125. package/dist/screens/CheckoutSession/CheckoutSession.ce.d.ts +1 -0
  126. package/dist/screens/CheckoutSession/CheckoutSession.mjs +1322 -0
  127. package/dist/screens/CustomerOverview/CustomerOverview.mjs +209 -133
  128. package/dist/screens/PayInvoice/PayInvoice.mjs +283 -275
  129. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +92 -97
  130. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  131. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +915 -404
  132. package/dist/{subscription-BwzkagDI.mjs → subscription-DQ5mRp_e.mjs} +10 -10
  133. package/dist/subscriptions-B7dNqi1C.mjs +99 -0
  134. package/dist/timePeriod.es-R9U0wLlB.mjs +13 -0
  135. package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +11 -14
  136. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -9
  137. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +10 -0
  138. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +6 -0
  139. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +17 -0
  140. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -2
  141. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +3 -2
  142. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +2 -0
  143. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +12 -1
  144. package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +2 -0
  145. package/dist/types/components/payments/PaymentMethodsModal/PaymentMethodsModal.types.d.ts +22 -0
  146. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +1 -1
  147. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -1
  148. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -2
  149. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -11
  150. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +1 -5
  151. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +11 -0
  152. package/dist/types/components/providers/HostElementProvider/composables/useHostEvent.d.ts +12 -0
  153. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +5 -4
  154. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +3 -3
  155. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +3 -3
  156. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +6 -1
  157. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +1 -0
  158. package/dist/types/components/providers/Provider/Provider.types.d.ts +10 -3
  159. package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -14
  160. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -1
  161. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +14 -0
  162. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +14 -1
  163. package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +9 -0
  164. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +4 -0
  165. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +2 -0
  166. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +4 -0
  167. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +2 -0
  168. package/dist/types/components/subscriptions/SubscriptionCancellationSuccess/SubscriptionCancellationSuccess.types.d.ts +4 -0
  169. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -9
  170. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +5 -0
  171. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +3 -0
  172. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanChangeSummary.types.d.ts +4 -0
  173. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanSelector.types.d.ts +7 -0
  174. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +1 -0
  175. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -0
  176. package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +3 -1
  177. package/dist/types/index.d.ts +5 -1
  178. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +5 -0
  179. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +1 -2
  180. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +6 -2
  181. package/dist/types/public/components/Invoice/Invoice.types.d.ts +7 -7
  182. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +2 -2
  183. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +6 -7
  184. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +1 -1
  185. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +19 -14
  186. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.ce.d.ts +1 -0
  187. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.types.d.ts +6 -0
  188. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.types.d.ts +5 -0
  189. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +10 -1
  190. package/dist/types/public/core/action-request.types.d.ts +18 -24
  191. package/dist/types/public/core/events.types.d.ts +99 -0
  192. package/dist/types/public/core/index.d.ts +3 -1
  193. package/dist/types/public/core/types.d.ts +11 -2
  194. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +1 -7
  195. package/dist/types/public/screens/Checkout/Checkout.source.types.d.ts +151 -0
  196. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +7 -30
  197. package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.ce.d.ts +1 -0
  198. package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.types.d.ts +3 -0
  199. package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +8 -2
  200. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +0 -6
  201. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +2 -19
  202. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +2 -3
  203. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +2 -1
  204. package/dist/types/services/paymentMethods.types.d.ts +12 -1
  205. package/dist/types/types/EntryBaseProps.d.ts +10 -6
  206. package/dist/types/types/branding.d.ts +15 -0
  207. package/dist/types/types/checkoutSession.d.ts +199 -0
  208. package/dist/types/types/errors.d.ts +2 -0
  209. package/dist/types/types/pricingPlanGroup.d.ts +25 -0
  210. package/dist/{useActionDispatchProvider-ChAHdwR8.mjs → useActionDispatchProvider-BCtk-FGU.mjs} +1 -1
  211. package/dist/useAddressFormats-CtE4QaVU.mjs +1998 -0
  212. package/dist/useCheckoutForm-BhXcmnUi.mjs +3355 -0
  213. package/dist/{useCustomer-CTMhg1nd.mjs → useCustomer-mQysxUwp.mjs} +2 -2
  214. package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
  215. package/dist/useExperimentalFeature-Bw6bBtay.mjs +6 -0
  216. package/dist/useHostEvent-MtRG6W2B.mjs +12 -0
  217. package/dist/{useIncrementalLoading-CBVutPH8.mjs → useIncrementalLoading-CJSj1945.mjs} +2 -2
  218. package/dist/{useInvoiceData-qUGbBAQK.mjs → useInvoiceData-BEZIvw32.mjs} +2 -2
  219. package/dist/{useInvoicesList-wJvZAJpW.mjs → useInvoicesList-CrXjsmei.mjs} +140 -138
  220. package/dist/{sorting.es-C0pdMgX0.mjs → useIsMounted.es-BNPhTTHE.mjs} +11 -10
  221. package/dist/{useLoadInitialData-UvfYXgbi.mjs → useLoadInitialData-Bomj_1mo.mjs} +1 -1
  222. package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
  223. package/dist/{usePaymentMethodAvailability-35l4pWdH.mjs → usePaymentMethodAvailability-DR_neLeZ.mjs} +4 -4
  224. package/dist/usePaymentMethodOptions-CuHoQx3K.mjs +67 -0
  225. package/dist/{usePaymentMethods-De7hlLHo.mjs → usePaymentMethods-BDdetXts.mjs} +2 -2
  226. package/dist/{usePayments-hWS7fnOx.mjs → usePayments-B5Z9Kfbv.mjs} +20 -18
  227. package/dist/usePortal-DuLR5Mid.mjs +14 -0
  228. package/dist/{useService-BwzIBIRp.mjs → useService-2aOFBTxU.mjs} +1 -1
  229. package/dist/useShippingAddresses-BvThNpez.mjs +122 -0
  230. package/dist/useSubscription-Dzo-kBpQ.mjs +35 -0
  231. package/dist/useSubscriptionActions-CWaNRoZ7.mjs +44 -0
  232. package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -0
  233. package/dist/{wallets.es-eH2C2ygn.mjs → wallets.es-DRlUVd2R.mjs} +1 -1
  234. package/package.json +41 -11
  235. package/dist/AuthProvider.handle-SRR_04XS.mjs +0 -50
  236. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs +0 -58
  237. package/dist/Checkout.entry.ce-CopWuLJC.mjs +0 -4169
  238. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs +0 -828
  239. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs +0 -136
  240. package/dist/CustomerShippingAddresses-BRPukhRI.mjs +0 -397
  241. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs +0 -2936
  242. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs +0 -441
  243. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs +0 -181
  244. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs +0 -161
  245. package/dist/PlanCustomizationEditor-B76UNEMm.mjs +0 -791
  246. package/dist/Section.vue.es-Oqn1wGPZ.mjs +0 -72
  247. package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +0 -418
  248. package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +0 -1044
  249. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs +0 -5200
  250. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs +0 -203
  251. package/dist/TrialChip.vue.es-C51z1ZiA.mjs +0 -35
  252. package/dist/addonQuantity-CCVaA3e-.mjs +0 -758
  253. package/dist/adyenSdk-B01MB9Ia.mjs +0 -58
  254. package/dist/getCountryNameByCode.es-BDHua7VM.mjs +0 -8
  255. package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +0 -4
  256. package/dist/invoices-DdREPDXV.mjs +0 -123
  257. package/dist/paymentMethods-Goa25rTs.mjs +0 -61
  258. package/dist/payments-CKpU1K3t.mjs +0 -68
  259. package/dist/pricing-CEaZGgKe.mjs +0 -29
  260. package/dist/pricingPlanScheduleOverrides-BBp-DmpV.mjs +0 -233
  261. package/dist/pricingPlanSchedules-DSMptcAh.mjs +0 -38
  262. package/dist/subscriptions-B5bH8hsI.mjs +0 -66
  263. package/dist/taxId.es-e6NEvprh.mjs +0 -243
  264. package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +0 -3
  265. package/dist/useCustomerFormLabels-D4oDnfxA.mjs +0 -1173
  266. package/dist/usePaymentFormHold-Cwdr-vyc.mjs +0 -181
  267. package/dist/usePortal-DUfD6hrA.mjs +0 -7
  268. package/dist/useTimePeriod.es-BUorDLVK.mjs +0 -93
@@ -1,4 +1,4 @@
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";
1
+ import { unref as f, getCurrentInstance as be, ref as O, onBeforeMount as we, watch as _, isRef as B, reactive as H, onBeforeUnmount as Oe, computed as h, inject as U, provide as J, isReactive as Re, isReadonly as xe, nextTick as Q } from "vue";
2
2
  function X(e, n) {
3
3
  var r = Object.keys(e);
4
4
  if (Object.getOwnPropertySymbols) {
@@ -9,7 +9,7 @@ function X(e, n) {
9
9
  }
10
10
  return r;
11
11
  }
12
- function j(e) {
12
+ function z(e) {
13
13
  for (var n = 1; n < arguments.length; n++) {
14
14
  var r = arguments[n] != null ? arguments[n] : {};
15
15
  n % 2 ? X(Object(r), !0).forEach(function(t) {
@@ -28,17 +28,229 @@ function je(e, n, r) {
28
28
  writable: !0
29
29
  }) : e[n] = r, e;
30
30
  }
31
- function Y(e) {
31
+ function T(e) {
32
+ return typeof e == "function";
33
+ }
34
+ function W(e) {
35
+ return e !== null && typeof e == "object" && !Array.isArray(e);
36
+ }
37
+ function L(e) {
38
+ return T(e.$validator) ? z({}, e) : {
39
+ $validator: e
40
+ };
41
+ }
42
+ function ie(e) {
43
+ return typeof e == "object" ? e.$valid : e;
44
+ }
45
+ function oe(e) {
46
+ return e.$validator || e;
47
+ }
48
+ function Ee(e, n) {
49
+ if (!W(e)) throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);
50
+ if (!W(n) && !T(n)) throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
51
+ const r = L(n);
52
+ return r.$params = z(z({}, r.$params || {}), e), r;
53
+ }
54
+ function Pe(e, n) {
55
+ if (!T(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}`);
56
+ if (!W(n) && !T(n)) throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
57
+ const r = L(n);
58
+ return r.$message = e, r;
59
+ }
60
+ function Ve(e) {
61
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
62
+ const r = L(e);
63
+ return z(z({}, r), {}, {
64
+ $async: !0,
65
+ $watchTargets: n
66
+ });
67
+ }
68
+ function Ce(e) {
69
+ return {
70
+ $validator(n) {
71
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
72
+ t[s - 1] = arguments[s];
73
+ return f(n).reduce((o, m, c) => {
74
+ const d = Object.entries(m).reduce((i, v) => {
75
+ let [$, p] = v;
76
+ const g = e[$] || {}, a = Object.entries(g).reduce((u, l) => {
77
+ let [y, C] = l;
78
+ const w = oe(C).call(this, p, m, c, ...t), P = ie(w);
79
+ if (u.$data[y] = w, u.$data.$invalid = !P || !!u.$data.$invalid, u.$data.$error = u.$data.$invalid, !P) {
80
+ let R = C.$message || "";
81
+ const A = C.$params || {};
82
+ typeof R == "function" && (R = R({
83
+ $pending: !1,
84
+ $invalid: !P,
85
+ $params: A,
86
+ $model: p,
87
+ $response: w
88
+ })), u.$errors.push({
89
+ $property: $,
90
+ $message: R,
91
+ $params: A,
92
+ $response: w,
93
+ $model: p,
94
+ $pending: !1,
95
+ $validator: y
96
+ });
97
+ }
98
+ return {
99
+ $valid: u.$valid && P,
100
+ $data: u.$data,
101
+ $errors: u.$errors
102
+ };
103
+ }, {
104
+ $valid: !0,
105
+ $data: {},
106
+ $errors: []
107
+ });
108
+ return i.$data[$] = a.$data, i.$errors[$] = a.$errors, {
109
+ $valid: i.$valid && a.$valid,
110
+ $data: i.$data,
111
+ $errors: i.$errors
112
+ };
113
+ }, {
114
+ $valid: !0,
115
+ $data: {},
116
+ $errors: {}
117
+ });
118
+ return {
119
+ $valid: o.$valid && d.$valid,
120
+ $data: o.$data.concat(d.$data),
121
+ $errors: o.$errors.concat(d.$errors)
122
+ };
123
+ }, {
124
+ $valid: !0,
125
+ $data: [],
126
+ $errors: []
127
+ });
128
+ },
129
+ $message: (n) => {
130
+ let {
131
+ $response: r
132
+ } = n;
133
+ return r ? r.$errors.map((t) => Object.values(t).map((s) => s.map((o) => o.$message)).reduce((s, o) => s.concat(o), [])) : [];
134
+ }
135
+ };
136
+ }
137
+ const D = (e) => {
138
+ if (e = f(e), Array.isArray(e)) return !!e.length;
139
+ if (e == null)
140
+ return !1;
141
+ if (e === !1)
142
+ return !0;
143
+ if (e instanceof Date)
144
+ return !isNaN(e.getTime());
145
+ if (typeof e == "object") {
146
+ for (let n in e) return !0;
147
+ return !1;
148
+ }
149
+ return !!String(e).length;
150
+ }, _e = (e) => (e = f(e), Array.isArray(e) ? e.length : typeof e == "object" ? Object.keys(e).length : String(e).length);
151
+ function E() {
152
+ for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
153
+ n[r] = arguments[r];
154
+ return (t) => (t = f(t), !D(t) || n.every((s) => (s.lastIndex = 0, s.test(t))));
155
+ }
156
+ var Qe = /* @__PURE__ */ Object.freeze({
157
+ __proto__: null,
158
+ forEach: Ce,
159
+ len: _e,
160
+ normalizeValidatorObject: L,
161
+ regex: E,
162
+ req: D,
163
+ unwrap: f,
164
+ unwrapNormalizedValidator: oe,
165
+ unwrapValidatorResponse: ie,
166
+ withAsync: Ve,
167
+ withMessage: Pe,
168
+ withParams: Ee
169
+ });
170
+ E(/^[a-zA-Z]*$/);
171
+ E(/^[a-zA-Z0-9]*$/);
172
+ E(/^\d*(\.\d+)?$/);
173
+ const ze = /^(?:[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;
174
+ var Ae = E(ze), Xe = {
175
+ $validator: Ae,
176
+ $message: "Value is not a valid email address",
177
+ $params: {
178
+ type: "email"
179
+ }
180
+ };
181
+ function Se(e) {
182
+ return typeof e == "string" && (e = e.trim()), D(e);
183
+ }
184
+ var Ye = {
185
+ $validator: Se,
186
+ $message: "Value is required",
187
+ $params: {
188
+ type: "required"
189
+ }
190
+ };
191
+ const Y = (e, n) => e ? D(typeof n == "string" ? n.trim() : n) : !0;
192
+ function Te(e) {
193
+ return function(n, r) {
194
+ if (typeof e != "function")
195
+ return Y(f(e), n);
196
+ const t = e.call(this, n, r);
197
+ return Y(t, n);
198
+ };
199
+ }
200
+ function ke(e) {
201
+ return {
202
+ $validator: Te(e),
203
+ $message: "The value is required",
204
+ $params: {
205
+ type: "requiredIf",
206
+ prop: e
207
+ }
208
+ };
209
+ }
210
+ const Ie = /^(?:(?:(?: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;
211
+ E(Ie);
212
+ E(/(^[0-9]*$)|(^-[0-9]+$)/);
213
+ E(/^[-]?\d*(\.\d+)?$/);
214
+ function k(e, n) {
215
+ var r = Object.keys(e);
216
+ if (Object.getOwnPropertySymbols) {
217
+ var t = Object.getOwnPropertySymbols(e);
218
+ n && (t = t.filter(function(s) {
219
+ return Object.getOwnPropertyDescriptor(e, s).enumerable;
220
+ })), r.push.apply(r, t);
221
+ }
222
+ return r;
223
+ }
224
+ function j(e) {
225
+ for (var n = 1; n < arguments.length; n++) {
226
+ var r = arguments[n] != null ? arguments[n] : {};
227
+ n % 2 ? k(Object(r), !0).forEach(function(t) {
228
+ Le(e, t, r[t]);
229
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : k(Object(r)).forEach(function(t) {
230
+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
231
+ });
232
+ }
233
+ return e;
234
+ }
235
+ function Le(e, n, r) {
236
+ return n in e ? Object.defineProperty(e, n, {
237
+ value: r,
238
+ enumerable: !0,
239
+ configurable: !0,
240
+ writable: !0
241
+ }) : e[n] = r, e;
242
+ }
243
+ function ee(e) {
32
244
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
33
245
  return Object.keys(e).reduce((r, t) => (n.includes(t) || (r[t] = f(e[t])), r), {});
34
246
  }
35
- function T(e) {
247
+ function I(e) {
36
248
  return typeof e == "function";
37
249
  }
38
- function Ee(e) {
250
+ function De(e) {
39
251
  return Re(e) || xe(e);
40
252
  }
41
- function ie(e, n, r) {
253
+ function ue(e, n, r) {
42
254
  let t = e;
43
255
  const s = n.split(".");
44
256
  for (let o = 0; o < s.length; o++) {
@@ -48,25 +260,25 @@ function ie(e, n, r) {
48
260
  return t;
49
261
  }
50
262
  function G(e, n, r) {
51
- return h(() => e.some((t) => ie(n, t, {
263
+ return h(() => e.some((t) => ue(n, t, {
52
264
  [r]: !1
53
265
  })[r]));
54
266
  }
55
- function k(e, n, r) {
267
+ function te(e, n, r) {
56
268
  return h(() => e.reduce((t, s) => {
57
- const o = ie(n, s, {
269
+ const o = ue(n, s, {
58
270
  [r]: !1
59
271
  })[r] || [];
60
272
  return t.concat(o);
61
273
  }, []));
62
274
  }
63
- function oe(e, n, r, t) {
275
+ function le(e, n, r, t) {
64
276
  return e.call(t, f(n), f(r), t);
65
277
  }
66
- function ue(e) {
278
+ function ce(e) {
67
279
  return e.$valid !== void 0 ? !e.$valid : !e;
68
280
  }
69
- function Pe(e, n, r, t, s, o, m) {
281
+ function Ne(e, n, r, t, s, o, m) {
70
282
  let {
71
283
  $lazy: c,
72
284
  $rewardEarly: d
@@ -78,12 +290,12 @@ function Pe(e, n, r, t, s, o, m) {
78
290
  return;
79
291
  let l;
80
292
  try {
81
- l = oe(e, n, v, m);
293
+ l = le(e, n, v, m);
82
294
  } catch (y) {
83
295
  l = Promise.reject(y);
84
296
  }
85
297
  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);
298
+ a.value--, r.value = !!a.value, o.value = y, g.value = ce(y);
87
299
  }).catch((y) => {
88
300
  a.value--, r.value = !!a.value, o.value = y, g.value = !0;
89
301
  });
@@ -96,7 +308,7 @@ function Pe(e, n, r, t, s, o, m) {
96
308
  $unwatch: u
97
309
  };
98
310
  }
99
- function Ve(e, n, r, t, s, o, m, c) {
311
+ function Fe(e, n, r, t, s, o, m, c) {
100
312
  let {
101
313
  $lazy: d,
102
314
  $rewardEarly: i
@@ -106,8 +318,8 @@ function Ve(e, n, r, t, s, o, m, c) {
106
318
  return !1;
107
319
  let p = !0;
108
320
  try {
109
- const g = oe(e, n, m, o);
110
- s.value = g, p = ue(g);
321
+ const g = le(e, n, m, o);
322
+ s.value = g, p = ce(g);
111
323
  } catch (g) {
112
324
  s.value = g;
113
325
  }
@@ -118,22 +330,22 @@ function Ve(e, n, r, t, s, o, m, c) {
118
330
  $invalid: $
119
331
  };
120
332
  }
121
- function Ce(e, n, r, t, s, o, m, c, d, i, v) {
333
+ function qe(e, n, r, t, s, o, m, c, d, i, v) {
122
334
  const $ = O(!1), p = e.$params || {}, g = O(null);
123
335
  let a, u;
124
336
  e.$async ? {
125
337
  $invalid: a,
126
338
  $unwatch: u
127
- } = Pe(e.$validator, n, $, r, t, g, s, e.$watchTargets, d, i, v) : {
339
+ } = Ne(e.$validator, n, $, r, t, g, s, e.$watchTargets, d, i, v) : {
128
340
  $invalid: a,
129
341
  $unwatch: u
130
- } = Ve(e.$validator, n, r, t, g, s, d, i);
342
+ } = Fe(e.$validator, n, r, t, g, s, d, i);
131
343
  const l = e.$message;
132
344
  return {
133
- $message: T(l) ? h(() => l(Y({
345
+ $message: I(l) ? h(() => l(ee({
134
346
  $pending: $,
135
347
  $invalid: a,
136
- $params: Y(p),
348
+ $params: ee(p),
137
349
  $model: n,
138
350
  $response: g,
139
351
  $validator: o,
@@ -147,17 +359,17 @@ function Ce(e, n, r, t, s, o, m, c, d, i, v) {
147
359
  $unwatch: u
148
360
  };
149
361
  }
150
- function _e() {
362
+ function Me() {
151
363
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
152
364
  const n = f(e), r = Object.keys(n), t = {}, s = {}, o = {};
153
365
  let m = null;
154
366
  return r.forEach((c) => {
155
367
  const d = n[c];
156
368
  switch (!0) {
157
- case T(d.$validator):
369
+ case I(d.$validator):
158
370
  t[c] = d;
159
371
  break;
160
- case T(d):
372
+ case I(d):
161
373
  t[c] = {
162
374
  $validator: d
163
375
  };
@@ -178,8 +390,8 @@ function _e() {
178
390
  validationGroups: m
179
391
  };
180
392
  }
181
- const ze = "__root";
182
- function Ae(e, n, r, t, s, o, m, c, d) {
393
+ const Ge = "__root";
394
+ function Be(e, n, r, t, s, o, m, c, d) {
183
395
  const i = Object.keys(e), v = t.get(s, e), $ = O(!1), p = O(!1), g = O(0);
184
396
  if (v) {
185
397
  if (!v.$partial) return v;
@@ -198,7 +410,7 @@ function Ae(e, n, r, t, s, o, m, c, d) {
198
410
  }
199
411
  };
200
412
  return i.length ? (i.forEach((u) => {
201
- a[u] = Ce(e[u], n, a.$dirty, o, m, u, r, s, d, p, g);
413
+ a[u] = qe(e[u], n, a.$dirty, o, m, u, r, s, d, p, g);
202
414
  }), a.$externalResults = h(() => c.value ? [].concat(c.value).map((u, l) => ({
203
415
  $propertyPath: s,
204
416
  $property: r,
@@ -229,9 +441,9 @@ function Ae(e, n, r, t, s, o, m, c, d) {
229
441
  p.value = !0, g.value = Date.now();
230
442
  }, t.set(s, e, a), a) : (v && t.set(s, e, a), a);
231
443
  }
232
- function Se(e, n, r, t, s, o, m) {
444
+ function We(e, n, r, t, s, o, m) {
233
445
  const c = Object.keys(e);
234
- return c.length ? c.reduce((d, i) => (d[i] = W({
446
+ return c.length ? c.reduce((d, i) => (d[i] = Z({
235
447
  validations: e[i],
236
448
  state: n,
237
449
  key: i,
@@ -242,7 +454,7 @@ function Se(e, n, r, t, s, o, m) {
242
454
  externalResults: m
243
455
  }), d), {}) : {};
244
456
  }
245
- function Te(e, n, r) {
457
+ function Ze(e, n, r) {
246
458
  const t = h(() => [n, r].filter((a) => a).reduce((a, u) => a.concat(Object.values(f(u))), [])), s = h({
247
459
  get() {
248
460
  return e.$dirty.value || (t.value.length ? t.value.every((a) => a.$dirty) : !1);
@@ -282,7 +494,7 @@ function Te(e, n, r) {
282
494
  $commit: p
283
495
  };
284
496
  }
285
- function W(e) {
497
+ function Z(e) {
286
498
  let {
287
499
  validations: n,
288
500
  state: r,
@@ -299,21 +511,21 @@ function W(e) {
299
511
  nestedValidators: p,
300
512
  config: g,
301
513
  validationGroups: a
302
- } = _e(n), u = j(j({}, c), g), l = t ? h(() => {
514
+ } = Me(n), u = j(j({}, c), g), l = t ? h(() => {
303
515
  const b = f(r);
304
516
  return b ? f(b[t]) : void 0;
305
517
  }) : r, y = j({}, f(i) || {}), C = h(() => {
306
518
  const b = f(i);
307
519
  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 = {};
520
+ }), N = Be($, l, t, m, v, u, d, C, r), w = We(p, l, v, m, u, d, C), P = {};
309
521
  a && Object.entries(a).forEach((b) => {
310
522
  let [V, x] = b;
311
523
  P[V] = {
312
524
  $invalid: G(x, w, "$invalid"),
313
525
  $error: G(x, w, "$error"),
314
526
  $pending: G(x, w, "$pending"),
315
- $errors: k(x, w, "$errors"),
316
- $silentErrors: k(x, w, "$silentErrors")
527
+ $errors: te(x, w, "$errors"),
528
+ $silentErrors: te(x, w, "$silentErrors")
317
529
  };
318
530
  });
319
531
  const {
@@ -327,7 +539,7 @@ function W(e) {
327
539
  $reset: ve,
328
540
  $silentErrors: ge,
329
541
  $commit: K
330
- } = Te(N, w, o), me = t ? h({
542
+ } = Ze(N, w, o), me = t ? h({
331
543
  get: () => f(l),
332
544
  set: (b) => {
333
545
  R.value = !0;
@@ -368,7 +580,7 @@ function W(e) {
368
580
  $pending: q,
369
581
  $touch: M,
370
582
  $reset: ve,
371
- $path: v || ze,
583
+ $path: v || Ge,
372
584
  $silentErrors: ge,
373
585
  $validate: pe,
374
586
  $commit: K
@@ -378,7 +590,7 @@ function W(e) {
378
590
  $validationGroups: P
379
591
  }), w));
380
592
  }
381
- class Ie {
593
+ class He {
382
594
  constructor() {
383
595
  this.storage = /* @__PURE__ */ new Map();
384
596
  }
@@ -409,8 +621,8 @@ class Ie {
409
621
  const S = {
410
622
  COLLECT_ALL: !0,
411
623
  COLLECT_NONE: !1
412
- }, ee = Symbol("vuelidate#injectChildResults"), te = Symbol("vuelidate#removeChildResults");
413
- function Le(e) {
624
+ }, re = Symbol("vuelidate#injectChildResults"), ne = Symbol("vuelidate#removeChildResults");
625
+ function Ke(e) {
414
626
  let {
415
627
  $scope: n,
416
628
  instance: r
@@ -429,24 +641,24 @@ function Le(e) {
429
641
  s.value = s.value.filter(($) => $ !== v), delete t[v];
430
642
  }
431
643
  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), {
644
+ const d = U(re, []);
645
+ J(re, r.__vuelidateInjectInstances);
646
+ const i = U(ne, []);
647
+ return J(ne, r.__vuelidateRemoveInstances), {
436
648
  childResults: o,
437
649
  sendValidationResultsToParent: d,
438
650
  removeValidationResultsFromParent: i
439
651
  };
440
652
  }
441
- function le(e) {
653
+ function de(e) {
442
654
  return new Proxy(e, {
443
655
  get(n, r) {
444
- return typeof n[r] == "object" ? le(n[r]) : h(() => n[r]);
656
+ return typeof n[r] == "object" ? de(n[r]) : h(() => n[r]);
445
657
  }
446
658
  });
447
659
  }
448
- let re = 0;
449
- function ne(e, n) {
660
+ let ae = 0;
661
+ function se(e, n) {
450
662
  var r;
451
663
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
452
664
  arguments.length === 1 && (t = e, e = void 0, n = void 0);
@@ -458,12 +670,12 @@ function ne(e, n) {
458
670
  currentVueInstance: d
459
671
  } = t;
460
672
  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(), {
673
+ s || (ae += 1, s = `_vuelidate_${ae}`);
674
+ const $ = O({}), p = new He(), {
463
675
  childResults: g,
464
676
  sendValidationResultsToParent: a,
465
677
  removeValidationResultsFromParent: u
466
- } = i ? Le({
678
+ } = i ? Ke({
467
679
  $scope: o,
468
680
  instance: i
469
681
  }) : {
@@ -472,8 +684,8 @@ function ne(e, n) {
472
684
  if (!e && v.validations) {
473
685
  const l = v.validations;
474
686
  n = O({}), we(() => {
475
- n.value = i, _(() => T(l) ? l.call(n.value, new le(n.value)) : l, (y) => {
476
- $.value = W({
687
+ n.value = i, _(() => I(l) ? l.call(n.value, new de(n.value)) : l, (y) => {
688
+ $.value = Z({
477
689
  validations: y,
478
690
  state: n,
479
691
  childResults: g,
@@ -487,9 +699,9 @@ function ne(e, n) {
487
699
  });
488
700
  }), t = v.validationsConfig || t;
489
701
  } else {
490
- const l = B(e) || Ee(e) ? e : H(e || {});
702
+ const l = B(e) || De(e) ? e : H(e || {});
491
703
  _(l, (y) => {
492
- $.value = W({
704
+ $.value = Z({
493
705
  validations: y,
494
706
  state: n,
495
707
  childResults: g,
@@ -508,221 +720,9 @@ function ne(e, n) {
508
720
  $stopPropagation: m
509
721
  })), Oe(() => u.forEach((l) => l(s)))), h(() => j(j({}, f($.value)), g.value));
510
722
  }
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;
723
+ function et(e, n, r) {
724
+ return e && n ? se(e, n, { $autoDirty: !0, ...r }) : se({ $autoDirty: !0, ...e });
523
725
  }
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
726
  function Ue(e) {
727
727
  return typeof e == "string" ? e : typeof e == "number" ? String(e) : "";
728
728
  }
@@ -739,11 +739,11 @@ function rt(e, n, r) {
739
739
  }
740
740
  export {
741
741
  tt as a,
742
- ke as b,
743
- Xe as c,
742
+ Ye as b,
743
+ Qe as c,
744
744
  Ue as d,
745
- Ye as e,
745
+ Xe as e,
746
746
  rt as f,
747
- et as r,
748
- Qe as u
747
+ ke as r,
748
+ et as u
749
749
  };