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

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 (257) hide show
  1. package/README.md +152 -91
  2. package/dist/AddPaymentMethodModal-Bs_aOOCX.mjs +97 -0
  3. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DF4PIR-A.mjs +89 -0
  4. package/dist/{Alert.vue.es-ZPG49yR_.mjs → Alert.vue.es-xhsk_7Gn.mjs} +1 -1
  5. package/dist/AuthProvider.handle-CUO6Qj-5.mjs +46 -0
  6. package/dist/{Avatar.vue.es-geDQsZwu.mjs → Avatar.vue.es-DrbtUiLO.mjs} +1 -1
  7. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C3JYNZuR.mjs +64 -0
  8. package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
  9. package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-BUdcXy0H.mjs +340 -0
  10. package/dist/BillingInformationModal-crgTNGf4.mjs +85 -0
  11. package/dist/{Button.vue.es-j7iYlqtJ.mjs → Button.vue.es-BHbanjR0.mjs} +1 -1
  12. package/dist/{ChargeOnDemandModal-CR01PkP_.mjs → ChargeOnDemandModal-DYiFtw1n.mjs} +44 -43
  13. package/dist/{Chip.vue.es-Dxx_0dte.mjs → Chip.vue.es-Dc6-PjEn.mjs} +2 -2
  14. package/dist/{ContentWithAsideLayout-Bnbsq8_5.mjs → ContentWithAsideLayout-C2kFcft1.mjs} +1 -1
  15. package/dist/{ContextMenu.vue.es-BJO4U47Q.mjs → ContextMenu.vue.es-CvX6O2IM.mjs} +10 -10
  16. package/dist/{CustomerBillingInformation.vue.es-CmNpqcBw.mjs → CustomerBillingInformation.vue.es-DQWt9osz.mjs} +3 -3
  17. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-hNVtamwL.mjs +217 -0
  18. package/dist/CustomerShippingAddresses-C0c-4D2W.mjs +282 -0
  19. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C50vGUvw.mjs} +992 -1100
  20. package/dist/{DividerText.vue.es-BusbyeAI.mjs → DividerText.vue.es-ChN6fnrH.mjs} +1 -1
  21. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DCUml1W4.mjs} +3 -3
  22. package/dist/{ErrorNotification.vue.es-F068p7PY.mjs → ErrorNotification.vue.es-CWIVt5q9.mjs} +2 -2
  23. package/dist/{FormMessage.vue.es-CwMQpIAW.mjs → FormMessage.vue.es-CQ64C8dt.mjs} +1 -1
  24. package/dist/{IconButton.vue.es-D8DtBW9i.mjs → IconButton.vue.es-BXzwMvVk.mjs} +2 -2
  25. package/dist/{IconTitle.vue.es-6VJtjJX2.mjs → IconTitle.vue.es-GyanM-JQ.mjs} +3 -3
  26. package/dist/{Input.vue.es-BLyHcmu4.mjs → Input.vue.es-CxiwRZYs.mjs} +4 -4
  27. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Ca0qflBR.mjs} +2 -2
  28. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Dw73a5Yt.mjs} +7 -7
  29. package/dist/{InvoicePreview.vue.es-Cpf66_xV.mjs → InvoicePreview.vue.es-BvnikfEH.mjs} +6 -6
  30. package/dist/{InvoicePricingClauseChip.vue.es-CDrAE901.mjs → InvoicePricingClauseChip.vue.es-DxcyTRGr.mjs} +3 -3
  31. package/dist/{Label.vue.es-es7ZUBSP.mjs → Label.vue.es-3ACRco55.mjs} +3 -3
  32. package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-1qpRh-0S.mjs +20 -0
  33. package/dist/{Modal.vue.es-eeR9FmvQ.mjs → Modal.vue.es-CDjfZDDx.mjs} +138 -127
  34. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-CnZwxJ5b.mjs +789 -0
  35. package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-PICpXmC3.mjs} +2 -2
  36. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DpZtYBfM.mjs} +4 -4
  37. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Co5qBQa8.mjs} +3 -3
  38. package/dist/{PaymentHistoryBlock-CN42ewCn.mjs → PaymentHistoryBlock-HUazLER6.mjs} +1 -1
  39. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DdmUoiet.mjs} +4 -4
  40. package/dist/{PaymentIntegrationForm-D3Ye7LZ5.mjs → PaymentIntegrationForm-ZnIjTyda.mjs} +1 -1
  41. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DU5wu66t.mjs +161 -0
  42. package/dist/{PaymentIntegrationFormAdyen-Fm-diCCO.mjs → PaymentIntegrationFormAdyen-sbw3AoKS.mjs} +302 -282
  43. package/dist/{PaymentIntegrationFormStripe-BANBL6za.mjs → PaymentIntegrationFormStripe-4JmKEwbS.mjs} +126 -117
  44. package/dist/{PaymentMethod.vue.es-t3-VyoE8.mjs → PaymentMethod.vue.es-DAabE41t.mjs} +23 -21
  45. package/dist/{PaymentMethodForm-CqP3GoNj.mjs → PaymentMethodForm-MmCUSJLE.mjs} +1 -1
  46. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-DyiXLYRj.mjs +165 -0
  47. package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Bv34aiZ6.mjs} +6 -6
  48. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DZ2Z-RMv.mjs} +28 -26
  49. package/dist/PaymentMethodsModal-CjpNw4kX.mjs +192 -0
  50. package/dist/PlanCustomizationEditor-BDWm_z2w.mjs +864 -0
  51. package/dist/{PortalLinkUnverified-Cp60_kRJ.mjs → PortalLinkUnverified-B7YYhv97.mjs} +3 -3
  52. package/dist/{PortalNotAvailable-DzSQnfzw.mjs → PortalNotAvailable-DIyeKrAp.mjs} +2 -2
  53. package/dist/{PricingGroupRangeInput.vue.es-Srq_3cga.mjs → PricingGroupRangeInput.vue.es-C6J8C7JS.mjs} +7 -7
  54. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CiQ-C9Hh.mjs} +16 -15
  55. package/dist/{RadioGroupExtended.vue.es-BbBMDf6l.mjs → RadioGroupExtended.vue.es-hDmUAKIA.mjs} +5 -5
  56. package/dist/{Section.vue.es-Oqn1wGPZ.mjs → Section.vue.es-CwKTCeZ1.mjs} +1 -1
  57. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Gn1aE60E.mjs} +2 -2
  58. package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-y7yOKwR3.mjs +144 -0
  59. package/dist/ShippingAddressesModal-CNXxkxnJ.mjs +283 -0
  60. package/dist/{StepInput.vue.es-ieh4EuJ7.mjs → StepInput.vue.es-GkrOtOVa.mjs} +4 -4
  61. package/dist/SubscriptionCancellationModal-C_xFPx1I.mjs +4 -0
  62. package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-DdTC33Qh.mjs +240 -0
  63. package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-CQ-ZOzVI.mjs +64 -0
  64. package/dist/SubscriptionDetails.entry.ce-DuP8TtKu.mjs +764 -0
  65. package/dist/{SubscriptionSchedules-DMxX3GpK.mjs → SubscriptionSchedules-DosBeXD7.mjs} +1 -1
  66. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-5tyDFxEh.mjs} +1948 -1965
  67. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C26HShPu.mjs +90 -0
  68. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BUDuQk2e.mjs} +133 -108
  69. package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
  70. package/dist/{TooltipParagraph.vue.es-BES3zsYN.mjs → TooltipParagraph.vue.es-4HaXi8RP.mjs} +18 -18
  71. package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-C5Y6Kg-_.mjs} +1 -1
  72. package/dist/TrialChip.vue.es-CUfJ4SK3.mjs +47 -0
  73. package/dist/addonQuantity-BvoYTajN.mjs +128 -0
  74. package/dist/adyen-D4em6EgU.mjs +99 -0
  75. package/dist/adyenSdk-DUTO7xkT.mjs +63 -0
  76. package/dist/{api.es-qgvzNMU-.mjs → api.es-QaC926Xu.mjs} +2 -2
  77. package/dist/components/BillingInformation/BillingInformation.mjs +37 -41
  78. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +45 -462
  79. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +33 -42
  80. package/dist/components/Invoice/Invoice.mjs +426 -426
  81. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +38 -47
  82. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +29 -34
  83. package/dist/components/InvoicesList/InvoicesList.mjs +33 -42
  84. package/dist/components/PaymentHistory/PaymentHistory.mjs +39 -48
  85. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +56 -64
  86. package/dist/components/ShippingAddressForm/ShippingAddressForm.ce.d.ts +1 -0
  87. package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +212 -0
  88. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +34 -42
  89. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +41 -50
  90. package/dist/components/WalletBalances/WalletBalances.mjs +46 -55
  91. package/dist/core/events.types.d.ts +1 -0
  92. package/dist/core/index.mjs +51 -34
  93. package/dist/{customElements-DK4GKNJG.mjs → customElements-d7Bhfqi_.mjs} +773 -746
  94. package/dist/{customer-lf6S5DBR.mjs → customer-CNCSN_G5.mjs} +1 -1
  95. package/dist/{de-DE-UJ6X6jXu.mjs → de-DE-D-sV3avS.mjs} +8 -5
  96. package/dist/{de-DE-Cyj_NtiI.mjs → de-DE-wZp39RC-.mjs} +68 -5
  97. package/dist/{fr-FR-Cvvbkwlj.mjs → fr-FR-BYHycSxz.mjs} +3 -0
  98. package/dist/{fr-FR-CRFoWQ7J.mjs → fr-FR-BrNXJ7gR.mjs} +68 -5
  99. package/dist/{countryData.es-BegoD-cZ.mjs → getCountryNameByCode.es-OGxn_zT0.mjs} +7 -2
  100. package/dist/index.es-BEZ2mumY.mjs +633 -0
  101. package/dist/{index.es-BrVTOW5D.mjs → index.es-C7J3WGGo.mjs} +4 -4
  102. package/dist/index.mjs +37 -33
  103. package/dist/invoices-CXvL8KQx.mjs +143 -0
  104. package/dist/{it-IT-DObZEc-U.mjs → it-IT-Bd1qsMVU.mjs} +68 -5
  105. package/dist/{it-IT-DnJP5URH.mjs → it-IT-zpPyT9PH.mjs} +8 -5
  106. package/dist/{nl-NL-q9xfTZF0.mjs → nl-NL-BOr4MR7L.mjs} +8 -5
  107. package/dist/{nl-NL-C02xHilF.mjs → nl-NL-C6Y6fqaW.mjs} +68 -5
  108. package/dist/paymentIntegrationFormLoaders-wi1vMgf_.mjs +31 -0
  109. package/dist/{paymentMethods-8w-ccfY_.mjs → paymentMethods-CG1fcG2v.mjs} +22 -21
  110. package/dist/{paymentOutcome-B6sW1eCV.mjs → paymentOutcome-D59QkGfm.mjs} +1 -1
  111. package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
  112. package/dist/payments-Dy81gmkC.mjs +71 -0
  113. package/dist/preloadPaymentIntegrationForms-C_9p7Jbi.mjs +9 -0
  114. package/dist/pricing-CBJT8C6L.mjs +42 -0
  115. package/dist/{pricingItem.es-bCPArbTa.mjs → pricingItem.es-AYq_hYeD.mjs} +1 -1
  116. package/dist/pricingPlanScheduleOverrides-GON_34ep.mjs +291 -0
  117. package/dist/randomUuid-BE_IQ-aq.mjs +10 -0
  118. package/dist/screens/Checkout/Checkout.mjs +1098 -3
  119. package/dist/screens/CheckoutSession/CheckoutSession.ce.d.ts +1 -0
  120. package/dist/screens/CheckoutSession/CheckoutSession.mjs +1316 -0
  121. package/dist/screens/CustomerOverview/CustomerOverview.mjs +209 -133
  122. package/dist/screens/PayInvoice/PayInvoice.mjs +282 -274
  123. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +92 -97
  124. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  125. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +915 -404
  126. package/dist/{sorting.es-C0pdMgX0.mjs → sorting.es-kM0f1VX0.mjs} +1 -1
  127. package/dist/{subscription-BwzkagDI.mjs → subscription-DQ5mRp_e.mjs} +10 -10
  128. package/dist/subscriptions-Bm1eu9wc.mjs +99 -0
  129. package/dist/taxId.es-Zu2Ff1gL.mjs +510 -0
  130. package/dist/timePeriod.es-R9U0wLlB.mjs +13 -0
  131. package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +11 -14
  132. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -9
  133. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +10 -0
  134. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +6 -0
  135. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +17 -0
  136. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -2
  137. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +3 -2
  138. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +2 -0
  139. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +12 -1
  140. package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +2 -0
  141. package/dist/types/components/payments/PaymentMethodsModal/PaymentMethodsModal.types.d.ts +22 -0
  142. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +1 -1
  143. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -1
  144. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -2
  145. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -11
  146. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +1 -5
  147. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +11 -0
  148. package/dist/types/components/providers/HostElementProvider/composables/useHostEvent.d.ts +12 -0
  149. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +5 -4
  150. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +3 -3
  151. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +3 -3
  152. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +6 -1
  153. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +1 -0
  154. package/dist/types/components/providers/Provider/Provider.types.d.ts +10 -3
  155. package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -14
  156. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -1
  157. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +14 -0
  158. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +14 -1
  159. package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +9 -0
  160. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +4 -0
  161. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +2 -0
  162. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +4 -0
  163. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +2 -0
  164. package/dist/types/components/subscriptions/SubscriptionCancellationSuccess/SubscriptionCancellationSuccess.types.d.ts +4 -0
  165. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -9
  166. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +5 -0
  167. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +3 -0
  168. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanChangeSummary.types.d.ts +4 -0
  169. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanSelector.types.d.ts +7 -0
  170. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +1 -0
  171. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -0
  172. package/dist/types/index.d.ts +5 -1
  173. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +5 -0
  174. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +1 -2
  175. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +6 -2
  176. package/dist/types/public/components/Invoice/Invoice.types.d.ts +7 -7
  177. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +2 -2
  178. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +6 -7
  179. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +1 -1
  180. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +19 -14
  181. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.ce.d.ts +1 -0
  182. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.types.d.ts +6 -0
  183. package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.types.d.ts +5 -0
  184. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +10 -1
  185. package/dist/types/public/core/action-request.types.d.ts +18 -24
  186. package/dist/types/public/core/events.types.d.ts +99 -0
  187. package/dist/types/public/core/index.d.ts +3 -1
  188. package/dist/types/public/core/types.d.ts +11 -2
  189. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +1 -7
  190. package/dist/types/public/screens/Checkout/Checkout.source.types.d.ts +151 -0
  191. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +7 -30
  192. package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.ce.d.ts +1 -0
  193. package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.types.d.ts +3 -0
  194. package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +8 -2
  195. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +0 -6
  196. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +2 -19
  197. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +2 -3
  198. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +2 -1
  199. package/dist/types/services/paymentMethods.types.d.ts +12 -1
  200. package/dist/types/types/EntryBaseProps.d.ts +10 -6
  201. package/dist/types/types/branding.d.ts +15 -0
  202. package/dist/types/types/checkoutSession.d.ts +189 -0
  203. package/dist/types/types/errors.d.ts +2 -0
  204. package/dist/types/types/pricingPlanGroup.d.ts +25 -0
  205. package/dist/{useActionDispatchProvider-ChAHdwR8.mjs → useActionDispatchProvider-BWna0S6N.mjs} +1 -1
  206. package/dist/useAddressFormats-Dw7IEdxg.mjs +1997 -0
  207. package/dist/useCheckoutForm-BaV2j_ob.mjs +3310 -0
  208. package/dist/{useCustomer-CTMhg1nd.mjs → useCustomer-RUtEzDOY.mjs} +2 -2
  209. package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
  210. package/dist/useExperimentalFeature-DAKAF_a2.mjs +6 -0
  211. package/dist/useHostEvent-pjoWJ7ZH.mjs +12 -0
  212. package/dist/{useIncrementalLoading-CBVutPH8.mjs → useIncrementalLoading-B3gp58X-.mjs} +2 -2
  213. package/dist/{useInvoiceData-qUGbBAQK.mjs → useInvoiceData-Dya4mmvf.mjs} +2 -2
  214. package/dist/{useInvoicesList-wJvZAJpW.mjs → useInvoicesList-Dp3c_cb3.mjs} +9 -9
  215. package/dist/{useLoadInitialData-UvfYXgbi.mjs → useLoadInitialData-CwySdYZM.mjs} +1 -1
  216. package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
  217. package/dist/{usePaymentMethodAvailability-35l4pWdH.mjs → usePaymentMethodAvailability-B7NV0ZtX.mjs} +4 -4
  218. package/dist/usePaymentMethodOptions-DDRjVvDJ.mjs +67 -0
  219. package/dist/{usePaymentMethods-De7hlLHo.mjs → usePaymentMethods-DBGyQA_I.mjs} +2 -2
  220. package/dist/{usePayments-hWS7fnOx.mjs → usePayments-ChGtK_As.mjs} +9 -9
  221. package/dist/usePortal--Uzbpbgr.mjs +14 -0
  222. package/dist/{useService-BwzIBIRp.mjs → useService-DayNZhPh.mjs} +1 -1
  223. package/dist/useShippingAddresses-TXVeGFPm.mjs +122 -0
  224. package/dist/useSubscription-lIGMFLG1.mjs +35 -0
  225. package/dist/useSubscriptionActions-BSlJVB4p.mjs +44 -0
  226. package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -0
  227. package/package.json +12 -5
  228. package/dist/AuthProvider.handle-SRR_04XS.mjs +0 -50
  229. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs +0 -58
  230. package/dist/Checkout.entry.ce-CopWuLJC.mjs +0 -4169
  231. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs +0 -828
  232. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs +0 -136
  233. package/dist/CustomerShippingAddresses-BRPukhRI.mjs +0 -397
  234. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs +0 -441
  235. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs +0 -181
  236. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs +0 -161
  237. package/dist/PlanCustomizationEditor-B76UNEMm.mjs +0 -791
  238. package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +0 -418
  239. package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +0 -1044
  240. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs +0 -203
  241. package/dist/TrialChip.vue.es-C51z1ZiA.mjs +0 -35
  242. package/dist/addonQuantity-CCVaA3e-.mjs +0 -758
  243. package/dist/adyenSdk-B01MB9Ia.mjs +0 -58
  244. package/dist/getCountryNameByCode.es-BDHua7VM.mjs +0 -8
  245. package/dist/invoices-DdREPDXV.mjs +0 -123
  246. package/dist/paymentMethods-Goa25rTs.mjs +0 -61
  247. package/dist/payments-CKpU1K3t.mjs +0 -68
  248. package/dist/pricing-CEaZGgKe.mjs +0 -29
  249. package/dist/pricingPlanScheduleOverrides-BBp-DmpV.mjs +0 -233
  250. package/dist/pricingPlanSchedules-DSMptcAh.mjs +0 -38
  251. package/dist/subscriptions-B5bH8hsI.mjs +0 -66
  252. package/dist/taxId.es-e6NEvprh.mjs +0 -243
  253. package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +0 -3
  254. package/dist/useCustomerFormLabels-D4oDnfxA.mjs +0 -1173
  255. package/dist/usePaymentFormHold-Cwdr-vyc.mjs +0 -181
  256. package/dist/usePortal-DUfD6hrA.mjs +0 -7
  257. package/dist/useTimePeriod.es-BUorDLVK.mjs +0 -93
@@ -0,0 +1,291 @@
1
+ import { computed as h } from "vue";
2
+ import { a as y } from "./customElements-d7Bhfqi_.mjs";
3
+ function S() {
4
+ const { $t: i } = y(), r = h(() => ({
5
+ DAY: {
6
+ literal: {
7
+ singular: i({
8
+ defaultMessage: "day",
9
+ id: "time_period.day.singular",
10
+ description: "The singular form of the day time period"
11
+ }),
12
+ plural: i({
13
+ defaultMessage: "days",
14
+ id: "time_period.day.plural",
15
+ description: "The plural form of the day time period"
16
+ })
17
+ },
18
+ full: i({
19
+ defaultMessage: "daily",
20
+ id: "time_period.day.full",
21
+ description: "The full form of the day time period"
22
+ })
23
+ },
24
+ WEEK: {
25
+ literal: {
26
+ singular: i({
27
+ defaultMessage: "week",
28
+ id: "time_period.week.singular",
29
+ description: "The singular form of the week time period"
30
+ }),
31
+ plural: i({
32
+ defaultMessage: "weeks",
33
+ id: "time_period.week.plural",
34
+ description: "The plural form of the week time period"
35
+ })
36
+ },
37
+ full: i({
38
+ defaultMessage: "weekly",
39
+ id: "time_period.week.full",
40
+ description: "The full form of the week time period"
41
+ })
42
+ },
43
+ MONTH: {
44
+ literal: {
45
+ singular: i({
46
+ defaultMessage: "month",
47
+ id: "time_period.month.singular",
48
+ description: "The singular form of the month time period"
49
+ }),
50
+ plural: i({
51
+ defaultMessage: "months",
52
+ id: "time_period.month.plural",
53
+ description: "The plural form of the month time period"
54
+ })
55
+ },
56
+ full: i({
57
+ defaultMessage: "monthly",
58
+ id: "time_period.month.full",
59
+ description: "The full form of the month time period"
60
+ })
61
+ },
62
+ YEAR: {
63
+ literal: {
64
+ singular: i({
65
+ defaultMessage: "year",
66
+ id: "time_period.year.singular",
67
+ description: "The singular form of the year time period"
68
+ }),
69
+ plural: i({
70
+ defaultMessage: "years",
71
+ id: "time_period.year.plural",
72
+ description: "The plural form of the year time period"
73
+ })
74
+ },
75
+ full: i({
76
+ defaultMessage: "yearly",
77
+ id: "time_period.year.full",
78
+ description: "The full form of the year time period"
79
+ })
80
+ }
81
+ }));
82
+ return { map: r, formatTimePeriod: (l, t = {
83
+ short: !1,
84
+ hideValueForExactPeriods: !1,
85
+ singular: !1
86
+ }) => {
87
+ const c = l.value ?? 1, d = r.value[l.type].literal[t.singular || +c == 1 ? "singular" : "plural"].toLowerCase();
88
+ return `${t.prefix && !t.short ? `${t.prefix} ` : ""}${t.hideValueForExactPeriods && c === 1 ? d : `${c} ${d}`}`;
89
+ }, formatTimePeriodLiteral: (l, t = { singular: !1 }) => r.value[l].literal[t.singular ? "singular" : "plural"] };
90
+ }
91
+ const s = (i) => i.original_pricing_id ?? i.id, _ = (i) => i.original_pricing_item_id ?? i.id, a = (i) => i.original_pricing_item_config_id ?? i.id, m = (i, r) => (i == null ? void 0 : i.type) === (r == null ? void 0 : r.type) && (i == null ? void 0 : i.value) === (r == null ? void 0 : r.value);
92
+ function p(i) {
93
+ const r = {};
94
+ for (const n in i)
95
+ i[n] !== void 0 && (r[n] = i[n]);
96
+ return r;
97
+ }
98
+ function u(i, r, n) {
99
+ if (!(r != null && r.length))
100
+ return i;
101
+ if (!(i != null && i.length))
102
+ return r;
103
+ const e = /* @__PURE__ */ new Set();
104
+ return [...i.reduce((t, c) => {
105
+ const d = r.find(
106
+ (o) => a(o) === a(c)
107
+ );
108
+ return d ? (e.add(d), [...t, w(c, d)]) : n.dropUnmatched ? t : [...t, c];
109
+ }, []), ...r.filter((t) => !e.has(t))];
110
+ }
111
+ function g(i, r, n) {
112
+ return r != null && r.length ? i != null && i.length ? [
113
+ ...i.map((e) => {
114
+ const l = r.find(
115
+ (t) => m(t.billing_period, e.billing_period)
116
+ );
117
+ return l ? {
118
+ ...e,
119
+ configs: u(e.configs, l.configs, n) ?? []
120
+ } : e;
121
+ }),
122
+ ...r.filter(
123
+ (e) => !i.some(
124
+ (l) => m(e.billing_period, l.billing_period)
125
+ )
126
+ )
127
+ ] : r : i;
128
+ }
129
+ function T(i, r, n) {
130
+ return r != null && r.length ? i != null && i.length ? [
131
+ ...i.map((e) => {
132
+ const l = r.find(
133
+ (t) => t.currency === e.currency
134
+ );
135
+ return l ? {
136
+ ...e,
137
+ ...p(l),
138
+ configs: u(e.configs, l.configs, n),
139
+ billing_period_configs: g(
140
+ e.billing_period_configs,
141
+ l.billing_period_configs,
142
+ n
143
+ )
144
+ } : e;
145
+ }),
146
+ ...r.filter(
147
+ (e) => !i.some((l) => l.currency === e.currency)
148
+ )
149
+ ] : r : i;
150
+ }
151
+ function w(i, r) {
152
+ const n = { dropUnmatched: !1 };
153
+ return {
154
+ ...i,
155
+ ...p(r),
156
+ // The customized config is the one the rest of the schedule points at — markups reference
157
+ // it by id, and so do `included_volumes` and `seats_values`.
158
+ id: r.id ?? i.id,
159
+ original_pricing_item_config_id: a(i),
160
+ conditions: i.conditions && r.conditions ? {
161
+ ...i.conditions,
162
+ ...p(r.conditions),
163
+ // Only the expanded version names the meter properties a condition reads.
164
+ meter_properties: i.conditions.meter_properties ?? r.conditions.meter_properties,
165
+ configs: u(
166
+ i.conditions.configs,
167
+ r.conditions.configs,
168
+ n
169
+ )
170
+ } : r.conditions ?? i.conditions,
171
+ billing_period_configs: g(
172
+ i.billing_period_configs,
173
+ r.billing_period_configs,
174
+ n
175
+ )
176
+ };
177
+ }
178
+ function M(i, r) {
179
+ const n = { dropUnmatched: r.override === "ALL" };
180
+ return {
181
+ ...i,
182
+ ...p(r),
183
+ id: r.id ?? i.id,
184
+ original_pricing_item_id: _(i),
185
+ // Product items are expanded onto the plan version only; an override never repeats them.
186
+ product_items: i.product_items,
187
+ configs: u(i.configs, r.configs, n),
188
+ billing_period_configs: g(
189
+ i.billing_period_configs,
190
+ r.billing_period_configs,
191
+ n
192
+ ),
193
+ pricing_currency_configs: T(
194
+ i.pricing_currency_configs,
195
+ r.pricing_currency_configs,
196
+ n
197
+ )
198
+ };
199
+ }
200
+ function k(i, r, n) {
201
+ if (!(r != null && r.length))
202
+ return i;
203
+ if (!(i != null && i.length))
204
+ return r;
205
+ const e = /* @__PURE__ */ new Set();
206
+ return [...i.reduce((t, c) => {
207
+ const d = r.find(
208
+ (o) => _(o) === _(c)
209
+ );
210
+ return d ? (e.add(d), [...t, M(c, d)]) : n.dropUnmatched ? t : [...t, c];
211
+ }, []), ...r.filter((t) => !e.has(t))];
212
+ }
213
+ function P(i, r) {
214
+ return r != null && r.length ? r.map((n) => {
215
+ var l;
216
+ const e = (l = i == null ? void 0 : i.find(
217
+ (t) => t.feature_id === n.feature_id
218
+ )) == null ? void 0 : l.feature;
219
+ return e ? { ...n, feature: e } : n;
220
+ }) : i;
221
+ }
222
+ function L(i, r) {
223
+ const n = { dropUnmatched: r.override === "ALL" };
224
+ return {
225
+ ...i,
226
+ ...p(r),
227
+ // The customized pricing takes over the original's place, so it has to answer to the id the
228
+ // schedule enables it under — `getEnabledPricingIds` returns the override's id, and add-ons
229
+ // not matching one of those are filtered out of the rendered plan version.
230
+ id: r.id ?? i.id,
231
+ original_pricing_id: s(i),
232
+ // Products are expanded onto the plan version only; an override never repeats them.
233
+ products: i.products,
234
+ entitlements: P(i.entitlements, r.entitlements),
235
+ items: k(i.items, r.items, n)
236
+ };
237
+ }
238
+ function f(i, r) {
239
+ return i.map((n) => {
240
+ const e = r.find(
241
+ (l) => l.original_pricing_id === s(n)
242
+ );
243
+ return e ? L(n, e) : n;
244
+ });
245
+ }
246
+ function O({
247
+ pricingPlanVersion: i,
248
+ overridePricings: r
249
+ }) {
250
+ var e;
251
+ const n = r ?? [];
252
+ return n.length ? {
253
+ ...i,
254
+ pricing_categories: (e = i.pricing_categories) == null ? void 0 : e.map(
255
+ (l) => {
256
+ var t;
257
+ return {
258
+ ...l,
259
+ pricings: l.pricings && f(l.pricings, n),
260
+ pricing_groups: (t = l.pricing_groups) == null ? void 0 : t.map((c) => ({
261
+ ...c,
262
+ pricings: f(c.pricings, n)
263
+ }))
264
+ };
265
+ }
266
+ )
267
+ } : i;
268
+ }
269
+ const $ = (i) => {
270
+ var r;
271
+ return O({
272
+ pricingPlanVersion: i.pricing_plan_version,
273
+ overridePricings: (r = i.pricing_plan_schedule) == null ? void 0 : r.override_pricings
274
+ });
275
+ };
276
+ function U(i) {
277
+ return i.pricing_plan_schedule_infos.map((r) => ({
278
+ schedule: r.pricing_plan_schedule,
279
+ selectedPricingPlan: r.pricing_plan_version.pricing_plan,
280
+ selectedPricingPlanVersion: $(r)
281
+ }));
282
+ }
283
+ function V(i) {
284
+ return ((i == null ? void 0 : i.override_pricings) ?? []).length > 0;
285
+ }
286
+ export {
287
+ U as g,
288
+ V as h,
289
+ S as u,
290
+ $ as w
291
+ };
@@ -0,0 +1,10 @@
1
+ import { r as s } from "./sessionReference-B8Dbmx5t.mjs";
2
+ function i() {
3
+ const r = s(16);
4
+ r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128;
5
+ const t = Array.from(r, (o) => o.toString(16).padStart(2, "0")).join("");
6
+ return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;
7
+ }
8
+ export {
9
+ i as r
10
+ };