@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,98 +1,90 @@
1
- import { defineComponent as u, renderSlot as d, unref as a, openBlock as c, createBlock as y, withCtx as l, createVNode as g, normalizeProps as f, guardReactiveProps as S, createCommentVNode as O } from "vue";
2
- import { g as C } from "../../customer.es-DQKl6wFt.mjs";
3
- import { u as b } from "../../useLoadInitialData-UvfYXgbi.mjs";
4
- import { u as h } from "../../useCustomer-CTMhg1nd.mjs";
5
- import { u as j } from "../../paymentMethods-Goa25rTs.mjs";
6
- import { _ as v } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs";
7
- import { g as _, h as L, j as w } from "../../customElements-DK4GKNJG.mjs";
8
- const M = /* @__PURE__ */ u({
1
+ import { defineComponent as l, renderSlot as g, unref as n, openBlock as u, createBlock as y, withCtx as d, createVNode as f, normalizeProps as O, guardReactiveProps as h, createCommentVNode as v } from "vue";
2
+ import { g as S } from "../../customer.es-DQKl6wFt.mjs";
3
+ import { u as b } from "../../useLoadInitialData-Bomj_1mo.mjs";
4
+ import { u as j } from "../../useCustomer-mQysxUwp.mjs";
5
+ import { u as L } from "../../usePaymentMethodOptions-CuHoQx3K.mjs";
6
+ import { _ } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-RPPdBw_e.mjs";
7
+ import { j as C, k as M, l as F } from "../../customElements-B8c354Nu.mjs";
8
+ const k = /* @__PURE__ */ l({
9
9
  __name: "PaymentMethodForm.entry.view",
10
10
  props: {
11
- portalToken: { type: Object },
12
11
  environment: { type: String },
13
12
  locale: { type: String },
14
13
  dateLocale: { type: String },
15
14
  messages: { type: Object },
16
- primaryColor: { type: String },
17
- secondaryColor: { type: String },
18
- isShadowRoot: { type: Boolean },
15
+ portalToken: { type: Object },
19
16
  experimentalFeatures: { type: Array },
20
17
  logLevel: { type: String },
21
18
  onLog: { type: Function },
22
- allowedPortalTypes: { type: Array },
23
- portalObject: { type: Object },
24
19
  cssOverrides: { type: [String, Array] },
25
20
  branding: { type: Object },
26
- configuration: { type: Object },
27
- countryCode: { type: String }
21
+ portalObject: { type: null },
22
+ configuration: { type: Object }
28
23
  },
29
- setup(o) {
30
- const n = o, i = h({ customerId: n.portalObject.customer_id }), r = j(), p = async () => {
31
- var m;
32
- const t = await i.get.execute(), s = n.countryCode || C(t);
33
- await r.get({
24
+ setup(e) {
25
+ const o = e, r = j({ customerId: o.portalObject.customer_id }), a = L(), s = async () => {
26
+ var c, p;
27
+ const t = await r.get.execute(), m = ((c = o.configuration) == null ? void 0 : c.countryCode) || S(t);
28
+ await a.get({
34
29
  customerId: t.id,
35
- country: s,
36
- amount: (m = n.configuration) == null ? void 0 : m.amount
30
+ country: m,
31
+ amount: (p = o.configuration) == null ? void 0 : p.amount
37
32
  });
38
- }, { isLoading: e } = b(p());
39
- return (t, s) => d(t.$slots, "default", {
40
- customer: a(i).customer.value,
41
- paymentMethodOptions: a(r),
42
- isLoading: a(e)
33
+ }, { isLoading: i } = b(s());
34
+ return (t, m) => g(t.$slots, "default", {
35
+ customer: n(r).customer.value,
36
+ paymentMethodOptions: n(a),
37
+ isLoading: n(i)
43
38
  });
44
39
  }
45
- }), P = /* @__PURE__ */ u({
40
+ }), P = /* @__PURE__ */ l({
46
41
  __name: "PaymentMethodForm.entry",
47
42
  props: {
48
- portalToken: { type: Object },
49
43
  environment: { type: String },
50
44
  locale: { type: String },
51
45
  dateLocale: { type: String },
52
46
  messages: { type: Object },
53
- primaryColor: { type: String },
54
- secondaryColor: { type: String },
55
- isShadowRoot: { type: Boolean },
47
+ portalToken: { type: Object },
56
48
  experimentalFeatures: { type: Array },
57
49
  logLevel: { type: String },
58
50
  onLog: { type: Function },
59
- allowedPortalTypes: { type: Array },
60
- portalObject: { type: Object },
61
51
  cssOverrides: { type: [String, Array] },
62
52
  branding: { type: Object },
63
- configuration: { type: Object },
64
- countryCode: { type: String }
53
+ portalObject: { type: null },
54
+ configuration: { type: Object }
65
55
  },
66
- setup(o) {
67
- const n = L("payment-method-form"), i = o;
68
- return (r, p) => (c(), y(a(_), {
69
- entry: r.$props,
70
- "component-name": a(n),
71
- "allowed-portal-types": ["CUSTOMER"],
72
- onError: p[0] || (p[0] = (e) => r.$emit("error", e))
73
- }, {
74
- default: l(() => [
75
- g(M, f(S(i)), {
76
- default: l(({ customer: e, paymentMethodOptions: t, isLoading: s }) => [
77
- e ? (c(), y(v, {
78
- key: 0,
79
- customer: e,
80
- "payment-method-options": t.paymentMethodOptions.value,
81
- configuration: o.configuration,
82
- "country-code": o.countryCode,
83
- "is-loading": s
84
- }, null, 8, ["customer", "payment-method-options", "configuration", "country-code", "is-loading"])) : O("", !0)
85
- ]),
86
- _: 1
87
- }, 16)
88
- ]),
89
- _: 1
90
- }, 8, ["entry", "component-name"]));
56
+ setup(e) {
57
+ const o = M("payment-method-form"), r = e;
58
+ return (a, s) => {
59
+ var i;
60
+ return u(), y(n(C), {
61
+ entry: a.$props,
62
+ "component-name": n(o),
63
+ "allowed-portal-types": ["CUSTOMER"],
64
+ "required-configuration": ((i = e.configuration) == null ? void 0 : i.mode) === "payment" ? { invoiceId: e.configuration.invoiceId, amount: e.configuration.amount } : {}
65
+ }, {
66
+ default: d(() => [
67
+ f(k, O(h(r)), {
68
+ default: d(({ customer: t, paymentMethodOptions: m, isLoading: c }) => [
69
+ t ? (u(), y(_, {
70
+ key: 0,
71
+ customer: t,
72
+ "payment-method-options": m.paymentMethodOptions.value,
73
+ configuration: e.configuration,
74
+ "is-loading": c
75
+ }, null, 8, ["customer", "payment-method-options", "configuration", "is-loading"])) : v("", !0)
76
+ ]),
77
+ _: 1
78
+ }, 16)
79
+ ]),
80
+ _: 1
81
+ }, 8, ["entry", "component-name", "required-configuration"]);
82
+ };
91
83
  }
92
- }), { define: B } = w(
84
+ }), { define: T } = F(
93
85
  P,
94
86
  "payment-method-form"
95
87
  );
96
88
  export {
97
- B as defineSolvimonPaymentMethodForm
89
+ T as defineSolvimonPaymentMethodForm
98
90
  };
@@ -0,0 +1 @@
1
+ export * from '../../types/public/components/ShippingAddressForm/ShippingAddressForm.entry.ce';
@@ -0,0 +1,212 @@
1
+ import { defineComponent as A, ref as c, computed as O, openBlock as l, createBlock as h, unref as e, createElementBlock as M, withModifiers as E, createVNode as v, withCtx as S, createTextVNode as j, toDisplayString as F, createCommentVNode as $, shallowRef as I, renderSlot as x, normalizeProps as N, guardReactiveProps as B } from "vue";
2
+ import { _ as C } from "../../Button.vue.es-CW7XfMBF.mjs";
3
+ import { _ as k } from "../../ErrorNotification.vue.es-Cw7fqCg1.mjs";
4
+ import { a as R, e as T, d as D, j as P, k as V, l as H } from "../../customElements-B8c354Nu.mjs";
5
+ import { _ as z } from "../../ShippingAddressForm.vue_vue_type_script_setup_true_lang-CJp6ddhZ.mjs";
6
+ import { _ as G } from "../../LoadFailedNotice.vue_vue_type_script_setup_true_lang-BZCtO2Er.mjs";
7
+ import { _ as U } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
8
+ import { u as W } from "../../useHostEvent-MtRG6W2B.mjs";
9
+ import { u as q } from "../../useCustomer-mQysxUwp.mjs";
10
+ import { u as J } from "../../useLoadInitialData-Bomj_1mo.mjs";
11
+ import { u as K } from "../../useShippingAddresses-BvThNpez.mjs";
12
+ const Q = /* @__PURE__ */ A({
13
+ __name: "ShippingAddressForm",
14
+ props: {
15
+ customer: { type: Object },
16
+ address: { type: Object },
17
+ isAddressMissing: { type: Boolean },
18
+ hasLoadFailed: { type: Boolean },
19
+ isLoading: { type: Boolean },
20
+ actions: { type: Object }
21
+ },
22
+ setup(a) {
23
+ const o = a, { $t: s } = R(), m = T(), { dispatch: d, componentName: u } = W(), n = c(), t = c(!1), i = c(!1), r = c(), b = O(() => r.value ?? o.address);
24
+ let g = {};
25
+ const y = O(
26
+ () => o.address ? s({
27
+ defaultMessage: "Edit shipping address",
28
+ id: "components.shipping_address_form.edit.title",
29
+ description: "Title of the shipping address form while a stored address is edited"
30
+ }) : s({
31
+ defaultMessage: "Add shipping address",
32
+ id: "components.shipping_address_form.add.title",
33
+ description: "Title of the shipping address form while a new address is added"
34
+ })
35
+ ), f = async () => {
36
+ var _;
37
+ if (!t.value) {
38
+ t.value = !0, i.value = !1;
39
+ try {
40
+ const p = await ((_ = n.value) == null ? void 0 : _.submit());
41
+ if (!p) return;
42
+ const w = b.value, L = w ? await o.actions.replace(w, p, g) : await o.actions.create(p);
43
+ r.value = L, g = {}, d("solvimon-shipping-address-saved", {
44
+ componentName: u,
45
+ shippingAddressId: L.id
46
+ });
47
+ } catch (p) {
48
+ m.error(
49
+ "SHIPPING_ADDRESS_SAVE_FAILED",
50
+ "Failed to save the shipping address",
51
+ {},
52
+ p
53
+ ), i.value = !0;
54
+ } finally {
55
+ t.value = !1;
56
+ }
57
+ }
58
+ };
59
+ return (_, p) => a.isLoading ? (l(), h(U, {
60
+ key: 0,
61
+ variant: "section",
62
+ class: "sv-shipping-address-form sv-root sv-component sv-loading min-h-[200px]"
63
+ })) : a.hasLoadFailed ? (l(), h(G, {
64
+ key: 1,
65
+ class: "sv-shipping-address-form sv-root sv-component"
66
+ })) : a.isAddressMissing ? (l(), h(e(k), {
67
+ key: 2,
68
+ class: "sv-shipping-address-form sv-root sv-component sv-error",
69
+ title: e(s)({
70
+ defaultMessage: "We could not find this shipping address.",
71
+ id: "components.shipping_address_form.not_found",
72
+ description: "Shown instead of the shipping address form when the address to edit is not among the customer’s"
73
+ })
74
+ }, null, 8, ["title"])) : a.customer ? (l(), M("form", {
75
+ key: 3,
76
+ class: "sv-shipping-address-form sv-root sv-component",
77
+ onSubmit: E(f, ["prevent"])
78
+ }, [
79
+ v(e(D), {
80
+ variant: "heading-3",
81
+ tag: "h2"
82
+ }, {
83
+ default: S(() => [
84
+ j(F(y.value), 1)
85
+ ]),
86
+ _: 1
87
+ }),
88
+ v(z, {
89
+ ref_key: "formRef",
90
+ ref: n,
91
+ customer: a.customer,
92
+ address: a.address,
93
+ disabled: t.value
94
+ }, null, 8, ["customer", "address", "disabled"]),
95
+ i.value ? (l(), h(e(k), {
96
+ key: 0,
97
+ class: "sv-error mt-4",
98
+ title: e(s)({
99
+ defaultMessage: "Something went wrong. Please try again.",
100
+ id: "shipping_addresses_modal.error",
101
+ description: "Error shown in the shipping addresses modal when a change cannot be made"
102
+ })
103
+ }, null, 8, ["title"])) : $("", !0),
104
+ v(e(C), {
105
+ type: "submit",
106
+ intent: "primary",
107
+ loading: t.value,
108
+ class: "mt-4"
109
+ }, {
110
+ default: S(() => [
111
+ j(F(e(s)({
112
+ defaultMessage: "Save address",
113
+ id: "shipping_addresses_modal.save_button.label",
114
+ description: "Label of the button that stores a new or changed shipping address"
115
+ })), 1)
116
+ ]),
117
+ _: 1
118
+ }, 8, ["loading"])
119
+ ], 32)) : $("", !0);
120
+ }
121
+ }), X = /* @__PURE__ */ A({
122
+ __name: "ShippingAddressForm.entry.view",
123
+ props: {
124
+ configuration: { type: Object },
125
+ environment: { type: String },
126
+ locale: { type: String },
127
+ dateLocale: { type: String },
128
+ messages: { type: Object },
129
+ portalToken: { type: Object },
130
+ experimentalFeatures: { type: Array },
131
+ logLevel: { type: String },
132
+ onLog: { type: Function },
133
+ cssOverrides: { type: [String, Array] },
134
+ branding: { type: Object },
135
+ portalObject: { type: null }
136
+ },
137
+ setup(a) {
138
+ var y;
139
+ const o = a, s = o.portalObject.customer_id, m = (y = o.configuration) == null ? void 0 : y.shippingAddressId, { customer: d, get: u } = q({ customerId: s }), n = K({ customerId: s }), t = I(), i = c(!1), r = c(!1), b = async () => {
140
+ if (await n.fetchAll(), n.error.value) {
141
+ r.value = !0;
142
+ return;
143
+ }
144
+ t.value = n.items.value.find(({ id: f }) => f === m), i.value = !t.value;
145
+ }, { isLoading: g } = J(
146
+ u.execute(),
147
+ ...m ? [b()] : []
148
+ );
149
+ return (f, _) => x(f.$slots, "default", {
150
+ customer: e(d),
151
+ address: t.value,
152
+ isAddressMissing: i.value,
153
+ hasLoadFailed: r.value || !e(g) && !e(d),
154
+ isLoading: e(g),
155
+ actions: e(n)
156
+ });
157
+ }
158
+ }), Y = /* @__PURE__ */ A({
159
+ __name: "ShippingAddressForm.entry",
160
+ props: {
161
+ configuration: { type: Object },
162
+ environment: { type: String },
163
+ locale: { type: String },
164
+ dateLocale: { type: String },
165
+ messages: { type: Object },
166
+ portalToken: { type: Object },
167
+ experimentalFeatures: { type: Array },
168
+ logLevel: { type: String },
169
+ onLog: { type: Function },
170
+ cssOverrides: { type: [String, Array] },
171
+ branding: { type: Object },
172
+ portalObject: { type: null }
173
+ },
174
+ setup(a) {
175
+ const o = V("shipping-address-form");
176
+ return (s, m) => (l(), h(e(P), {
177
+ entry: s.$props,
178
+ "component-name": e(o),
179
+ "allowed-portal-types": ["CUSTOMER"]
180
+ }, {
181
+ default: S(() => [
182
+ v(X, N(B(s.$props)), {
183
+ default: S(({
184
+ customer: d,
185
+ address: u,
186
+ isAddressMissing: n,
187
+ hasLoadFailed: t,
188
+ isLoading: i,
189
+ actions: r
190
+ }) => [
191
+ v(Q, {
192
+ customer: d,
193
+ address: u,
194
+ "is-address-missing": n,
195
+ "has-load-failed": t,
196
+ "is-loading": i,
197
+ actions: r
198
+ }, null, 8, ["customer", "address", "is-address-missing", "has-load-failed", "is-loading", "actions"])
199
+ ]),
200
+ _: 1
201
+ }, 16)
202
+ ]),
203
+ _: 1
204
+ }, 8, ["entry", "component-name"]));
205
+ }
206
+ }), { define: le } = H(
207
+ Y,
208
+ "shipping-address-form"
209
+ );
210
+ export {
211
+ le as defineSolvimonShippingAddressForm
212
+ };
@@ -1,76 +1,68 @@
1
- import { defineComponent as y, renderSlot as u, unref as t, openBlock as p, createBlock as c, withCtx as l, mergeProps as d, createCommentVNode as m } from "vue";
2
- import { _ as g } from "../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs";
3
- import { u as S, g as b } from "../../pricingPlanScheduleOverrides-BBp-DmpV.mjs";
4
- import { u as f } from "../../useLoadInitialData-UvfYXgbi.mjs";
5
- import { g as O, h, j } from "../../customElements-DK4GKNJG.mjs";
6
- const v = /* @__PURE__ */ y({
1
+ import { defineComponent as l, renderSlot as m, unref as t, openBlock as s, createBlock as c, withCtx as u, mergeProps as y, createCommentVNode as d } from "vue";
2
+ import { _ as g } from "../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C8q8Q6h5.mjs";
3
+ import { u as b } from "../../useSubscription-Dzo-kBpQ.mjs";
4
+ import { u as f } from "../../useLoadInitialData-Bomj_1mo.mjs";
5
+ import { g as S } from "../../pricingPlanScheduleOverrides-CGm_-jJq.mjs";
6
+ import { j as O, k as _, l as h } from "../../customElements-B8c354Nu.mjs";
7
+ const j = /* @__PURE__ */ l({
7
8
  __name: "SubscriptionSchedules.entry.view",
8
9
  props: {
9
10
  configuration: { type: Object },
10
- portalToken: { type: Object },
11
11
  environment: { type: String },
12
12
  locale: { type: String },
13
13
  dateLocale: { type: String },
14
14
  messages: { type: Object },
15
- primaryColor: { type: String },
16
- secondaryColor: { type: String },
17
- isShadowRoot: { type: Boolean },
15
+ portalToken: { type: Object },
18
16
  experimentalFeatures: { type: Array },
19
17
  logLevel: { type: String },
20
18
  onLog: { type: Function },
21
- allowedPortalTypes: { type: Array },
22
- portalObject: { type: Object },
23
19
  cssOverrides: { type: [String, Array] },
24
- branding: { type: Object }
20
+ branding: { type: Object },
21
+ portalObject: { type: null }
25
22
  },
26
23
  setup(e) {
27
- const s = e, { subscription: o, get: r } = S({
28
- subscriptionId: s.configuration.subscriptionId
24
+ const o = e, { subscription: n, get: r } = b({
25
+ subscriptionId: o.configuration.subscriptionId
29
26
  });
30
- return f(r()), (n, a) => u(n.$slots, "default", {
31
- schedulesData: t(o) ? t(b)(t(o)) : void 0
27
+ return f(r()), (a, i) => m(a.$slots, "default", {
28
+ schedulesData: t(n) ? t(S)(t(n)) : void 0
32
29
  });
33
30
  }
34
- }), _ = /* @__PURE__ */ y({
31
+ }), v = /* @__PURE__ */ l({
35
32
  __name: "SubscriptionSchedules.entry",
36
33
  props: {
37
34
  configuration: { type: Object },
38
- portalToken: { type: Object },
39
35
  environment: { type: String },
40
36
  locale: { type: String },
41
37
  dateLocale: { type: String },
42
38
  messages: { type: Object },
43
- primaryColor: { type: String },
44
- secondaryColor: { type: String },
45
- isShadowRoot: { type: Boolean },
39
+ portalToken: { type: Object },
46
40
  experimentalFeatures: { type: Array },
47
41
  logLevel: { type: String },
48
42
  onLog: { type: Function },
49
- allowedPortalTypes: { type: Array },
50
- portalObject: { type: Object },
51
43
  cssOverrides: { type: [String, Array] },
52
- branding: { type: Object }
44
+ branding: { type: Object },
45
+ portalObject: { type: null }
53
46
  },
54
47
  setup(e) {
55
- const s = h("subscription-schedules"), o = e;
56
- return (r, n) => {
57
- var a;
58
- return p(), c(t(O), {
48
+ const o = _("subscription-schedules"), n = e;
49
+ return (r, a) => {
50
+ var i;
51
+ return s(), c(t(O), {
59
52
  entry: r.$props,
60
- "component-name": t(s),
53
+ "component-name": t(o),
61
54
  "allowed-portal-types": ["CUSTOMER"],
62
- "required-configuration": { subscriptionId: (a = e.configuration) == null ? void 0 : a.subscriptionId },
63
- onError: n[0] || (n[0] = (i) => r.$emit("error", i))
55
+ "required-configuration": { subscriptionId: (i = e.configuration) == null ? void 0 : i.subscriptionId }
64
56
  }, {
65
- default: l(() => [
66
- (p(), c(v, d({
57
+ default: u(() => [
58
+ (s(), c(j, y({
67
59
  key: e.configuration.subscriptionId
68
- }, o), {
69
- default: l(({ schedulesData: i }) => [
70
- i ? (p(), c(g, {
60
+ }, n), {
61
+ default: u(({ schedulesData: p }) => [
62
+ p ? (s(), c(g, {
71
63
  key: 0,
72
- "schedules-data": i
73
- }, null, 8, ["schedules-data"])) : m("", !0)
64
+ "schedules-data": p
65
+ }, null, 8, ["schedules-data"])) : d("", !0)
74
66
  ]),
75
67
  _: 1
76
68
  }, 16))
@@ -79,10 +71,10 @@ const v = /* @__PURE__ */ y({
79
71
  }, 8, ["entry", "component-name", "required-configuration"]);
80
72
  };
81
73
  }
82
- }), { define: I } = j(
83
- _,
74
+ }), { define: A } = h(
75
+ v,
84
76
  "subscription-schedules"
85
77
  );
86
78
  export {
87
- I as defineSolvimonSubscriptionSchedules
79
+ A as defineSolvimonSubscriptionSchedules
88
80
  };
@@ -1,79 +1,70 @@
1
- import { defineComponent as u, renderSlot as b, unref as t, openBlock as f, createBlock as S, withCtx as m, createVNode as l, normalizeProps as h, guardReactiveProps as v } from "vue";
2
- import { u as L, _ as O } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs";
3
- import { u as j } from "../../useCustomer-CTMhg1nd.mjs";
4
- import { u as _ } from "../../useLoadInitialData-UvfYXgbi.mjs";
5
- import { u as M } from "../../usePaymentMethods-De7hlLHo.mjs";
6
- import { g as C, h as w, j as A } from "../../customElements-DK4GKNJG.mjs";
7
- const $ = /* @__PURE__ */ u({
1
+ import { defineComponent as u, renderSlot as f, unref as e, openBlock as b, createBlock as h, withCtx as m, createVNode as l, normalizeProps as S, guardReactiveProps as _ } from "vue";
2
+ import { u as v, _ as L } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-DYWjTzPV.mjs";
3
+ import { u as O } from "../../useCustomer-mQysxUwp.mjs";
4
+ import { u as j } from "../../useLoadInitialData-Bomj_1mo.mjs";
5
+ import { u as M } from "../../usePaymentMethods-BDdetXts.mjs";
6
+ import { j as $, k, l as x } from "../../customElements-B8c354Nu.mjs";
7
+ const A = /* @__PURE__ */ u({
8
8
  __name: "SubscriptionsList.entry.view",
9
9
  props: {
10
- portalToken: { type: Object },
11
10
  environment: { type: String },
12
11
  locale: { type: String },
13
12
  dateLocale: { type: String },
14
13
  messages: { type: Object },
15
- primaryColor: { type: String },
16
- secondaryColor: { type: String },
17
- isShadowRoot: { type: Boolean },
14
+ portalToken: { type: Object },
18
15
  experimentalFeatures: { type: Array },
19
16
  logLevel: { type: String },
20
17
  onLog: { type: Function },
21
- allowedPortalTypes: { type: Array },
22
- portalObject: { type: Object },
23
18
  cssOverrides: { type: [String, Array] },
24
19
  branding: { type: Object },
20
+ portalObject: { type: null },
25
21
  configuration: { type: Object }
26
22
  },
27
- setup(s) {
28
- const o = s.portalObject.customer_id, r = j({ customerId: o }), e = L({ customerId: o }), n = M({ customerId: o }), { isLoading: i } = _(
29
- r.get.execute(),
30
- e.fetchInitial(),
31
- n.fetchAll()
23
+ setup(n) {
24
+ const o = n.portalObject.customer_id, s = O({ customerId: o }), t = v({ customerId: o }), r = M({ customerId: o }), { isLoading: i } = j(
25
+ s.get.execute(),
26
+ t.fetchInitial(),
27
+ r.fetchAll()
32
28
  );
33
- return (a, c) => b(a.$slots, "default", {
34
- customer: t(r),
35
- subscriptions: t(e).items,
36
- paymentMethods: t(n).items,
37
- isLoading: t(i),
38
- hasError: !!t(e).error.value,
39
- hasMoreItems: t(e).hasNextBatch.value,
40
- isLoadingMore: t(e).isPending.value,
41
- loadMore: t(e).fetchMore
29
+ return (a, c) => f(a.$slots, "default", {
30
+ customer: e(s),
31
+ subscriptions: e(t).items,
32
+ paymentMethods: e(r).items,
33
+ isLoading: e(i),
34
+ hasError: !!e(t).error.value,
35
+ hasMoreItems: e(t).hasNextBatch.value,
36
+ isLoadingMore: e(t).isPending.value,
37
+ loadMore: e(t).fetchMore
42
38
  });
43
39
  }
44
- }), B = /* @__PURE__ */ u({
40
+ }), C = /* @__PURE__ */ u({
45
41
  __name: "SubscriptionsList.entry",
46
42
  props: {
47
- portalToken: { type: Object },
48
43
  environment: { type: String },
49
44
  locale: { type: String },
50
45
  dateLocale: { type: String },
51
46
  messages: { type: Object },
52
- primaryColor: { type: String },
53
- secondaryColor: { type: String },
54
- isShadowRoot: { type: Boolean },
47
+ portalToken: { type: Object },
55
48
  experimentalFeatures: { type: Array },
56
49
  logLevel: { type: String },
57
50
  onLog: { type: Function },
58
- allowedPortalTypes: { type: Array },
59
- portalObject: { type: Object },
60
51
  cssOverrides: { type: [String, Array] },
61
52
  branding: { type: Object },
53
+ portalObject: { type: null },
62
54
  configuration: { type: Object }
63
55
  },
64
- setup(s) {
65
- const p = w("subscriptions-list");
66
- return (o, r) => (f(), S(t(C), {
56
+ setup(n) {
57
+ const p = k("subscriptions-list");
58
+ return (o, s) => (b(), h(e($), {
67
59
  entry: o.$props,
68
- "component-name": t(p),
69
- "allowed-portal-types": ["CUSTOMER"],
70
- onError: r[0] || (r[0] = (e) => o.$emit("error", e))
60
+ "component-name": e(p),
61
+ "allowed-portal-types": ["CUSTOMER"]
71
62
  }, {
72
63
  default: m(() => [
73
- l($, h(v(o.$props)), {
64
+ l(A, S(_(o.$props)), {
74
65
  default: m(({
75
- customer: e,
76
- subscriptions: n,
66
+ customer: t,
67
+ subscriptions: r,
77
68
  paymentMethods: i,
78
69
  isLoading: a,
79
70
  hasError: c,
@@ -81,10 +72,10 @@ const $ = /* @__PURE__ */ u({
81
72
  isLoadingMore: d,
82
73
  loadMore: g
83
74
  }) => [
84
- l(O, {
85
- configuration: s.configuration,
86
- customer: e.customer.value,
87
- subscriptions: n.value,
75
+ l(L, {
76
+ configuration: n.configuration,
77
+ customer: t.customer.value,
78
+ subscriptions: r.value,
88
79
  "payment-methods": i.value,
89
80
  "is-loading": a,
90
81
  "has-error": c,
@@ -99,10 +90,10 @@ const $ = /* @__PURE__ */ u({
99
90
  _: 1
100
91
  }, 8, ["entry", "component-name"]));
101
92
  }
102
- }), { define: I } = A(
103
- B,
93
+ }), { define: E } = x(
94
+ C,
104
95
  "subscriptions-list"
105
96
  );
106
97
  export {
107
- I as defineSolvimonSubscriptionsList
98
+ E as defineSolvimonSubscriptionsList
108
99
  };