@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,72 +0,0 @@
1
- import { defineComponent as s, openBlock as n, createElementBlock as r, createBlock as i, unref as c, withCtx as o, renderSlot as a, createCommentVNode as l, resolveDynamicComponent as m, createVNode as u, createSlots as f, createTextVNode as g, toDisplayString as h, createElementVNode as y, normalizeClass as B } from "vue";
2
- import { d as k } from "./customElements-DK4GKNJG.mjs";
3
- const $ = { class: "flex items-center gap-4" }, v = { key: 1 }, C = /* @__PURE__ */ s({
4
- __name: "SectionTitle",
5
- setup(e) {
6
- return (t, d) => (n(), r("div", $, [
7
- t.$slots.default ? (n(), i(c(k), {
8
- key: 0,
9
- tag: "h2",
10
- variant: "heading-3",
11
- class: "grow"
12
- }, {
13
- default: o(() => [
14
- a(t.$slots, "default")
15
- ]),
16
- _: 3
17
- })) : l("", !0),
18
- t.$slots.right ? (n(), r("div", v, [
19
- a(t.$slots, "right")
20
- ])) : l("", !0)
21
- ]));
22
- }
23
- }), b = /* @__PURE__ */ s({
24
- __name: "Section",
25
- props: {
26
- contentClasses: {},
27
- contentBackground: { default: "gray" },
28
- title: {},
29
- noSpacing: { type: Boolean },
30
- hasError: { type: Boolean },
31
- noBorder: { type: Boolean, default: !1 }
32
- },
33
- setup(e) {
34
- return (t, d) => (n(), i(m(e.title ? "section" : "div"), null, {
35
- default: o(() => [
36
- u(C, null, f({ _: 2 }, [
37
- e.title ? {
38
- name: "default",
39
- fn: o(() => [
40
- g(h(e.title), 1)
41
- ]),
42
- key: "0"
43
- } : void 0,
44
- t.$slots.right ? {
45
- name: "right",
46
- fn: o(() => [
47
- a(t.$slots, "right")
48
- ]),
49
- key: "1"
50
- } : void 0
51
- ]), 1024),
52
- y("div", {
53
- class: B({
54
- "rounded border": !e.noBorder,
55
- "p-3 py-2": !e.noSpacing,
56
- "bg-gray-50/50": e.contentBackground === "gray",
57
- "mt-1 md:mt-2": !!e.title,
58
- [e.contentClasses ?? ""]: !!e.contentClasses,
59
- "border-red-600": e.hasError,
60
- "border-gray-100": !e.hasError
61
- })
62
- }, [
63
- a(t.$slots, "default")
64
- ], 2)
65
- ]),
66
- _: 3
67
- }));
68
- }
69
- });
70
- export {
71
- b as _
72
- };
@@ -1,418 +0,0 @@
1
- import { defineComponent as H, ref as f, computed as _, openBlock as v, createElementBlock as U, createBlock as D, unref as a, isRef as Z, createCommentVNode as V, createVNode as E, watch as J, createSlots as Q, withCtx as g, createElementVNode as B, createTextVNode as R, toDisplayString as F } from "vue";
2
- import { _ as q } from "./Button.vue.es-j7iYlqtJ.mjs";
3
- import { _ as X } from "./ErrorNotification.vue.es-F068p7PY.mjs";
4
- import { _ as Y } from "./Section.vue.es-Oqn1wGPZ.mjs";
5
- import { a as W, e as ee, d as se } from "./customElements-DK4GKNJG.mjs";
6
- import { M as ae } from "./Modal.vue.es-eeR9FmvQ.mjs";
7
- import { t as te, u as ie, _ as oe, a as ne } from "./CustomerShippingAddresses-BRPukhRI.mjs";
8
- import { f as de, u as re, r as le, a as pe } from "./formControl-BZQLHnOO.mjs";
9
- import { i as ue, a as ce } from "./typeGuards.es-B4XMtlkM.mjs";
10
- import { g as me } from "./customer.es-DQKl6wFt.mjs";
11
- import { g as ge, a as he, t as fe, _ as ve, i as _e } from "./useCustomerFormLabels-D4oDnfxA.mjs";
12
- import { u as ye, s as be, a as Le, r as Ee, _ as Ie } from "./CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs";
13
- import { _ as Se } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs";
14
- import { _ as Te } from "./CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs";
15
- const Ce = ["disabled"], we = /* @__PURE__ */ H({
16
- __name: "ShippingAddressForm",
17
- props: {
18
- customer: { type: Object },
19
- address: { type: Object },
20
- disabled: { type: Boolean }
21
- },
22
- setup(h, { expose: x }) {
23
- const I = h, { $t: c } = W(), d = I.customer, i = (e) => _e(e), S = ((e) => e && i(e) ? e : void 0)(
24
- me(d)
25
- ), r = () => {
26
- var e, p, t, b, L;
27
- return {
28
- type: d.type,
29
- email: d.email,
30
- country: S,
31
- shippingCountry: S,
32
- // An organization is shipped to under its legal name; a person under their own.
33
- ...ce(d) && { companyLegalName: (e = d.organization) == null ? void 0 : e.legal_name },
34
- ...ue(d) && {
35
- shippingFirstName: (t = (p = d.individual) == null ? void 0 : p.name) == null ? void 0 : t.first_name,
36
- shippingLastName: (L = (b = d.individual) == null ? void 0 : b.name) == null ? void 0 : L.last_name
37
- }
38
- };
39
- }, T = ({
40
- recipient: e = {},
41
- ...p
42
- }) => {
43
- var L, $, M, k, P, O;
44
- const t = te(p.address), b = i(t.country) ? t.country : S;
45
- return {
46
- type: e.type ?? d.type,
47
- email: e.email || d.email,
48
- country: b,
49
- shippingCountry: b,
50
- companyLegalName: (L = e.organization) == null ? void 0 : L.company_name,
51
- shippingAttentionName: (($ = e.organization) == null ? void 0 : $.attention_name) ?? void 0,
52
- shippingFirstName: (k = (M = e.individual) == null ? void 0 : M.name) == null ? void 0 : k.first_name,
53
- shippingLastName: (O = (P = e.individual) == null ? void 0 : P.name) == null ? void 0 : O.last_name,
54
- shippingAddressLine1: t.line1,
55
- shippingAddressLine2: t.line2,
56
- shippingPostalCode: t.postal_code,
57
- shippingCity: t.city,
58
- shippingState: t.state,
59
- shippingPhoneNumber: e.phone_number || void 0
60
- };
61
- }, o = f(
62
- ge({
63
- ...I.address ? T(I.address) : r(),
64
- billingAddressSameAsShipping: !0
65
- })
66
- ), { formatOf: l } = ye({
67
- isNeeded: () => !0,
68
- countries: [() => o.value.shippingCountry]
69
- }), m = _(() => l(o.value.shippingCountry)), y = _(() => o.value.type === "ORGANIZATION"), C = de(o, "companyLegalName", pe), A = _(() => [
70
- ...he("SHIPPING", o.value.shippingCountry, m.value),
71
- "shippingCountry",
72
- "shippingPhoneNumber",
73
- ...y.value ? [] : ["shippingLastName"]
74
- ]), w = (e) => A.value.includes(e), n = re(
75
- _(() => ({
76
- ...Le("SHIPPING", () => m.value, w),
77
- ...be(w),
78
- companyLegalName: { required: le(() => y.value) }
79
- })),
80
- o
81
- ), z = (e) => w(e) ? "" : " " + c({
82
- defaultMessage: "(optional)",
83
- id: "checkout.optional_suffix.label",
84
- description: "The suffix for optional fields in the checkout form"
85
- });
86
- return x({
87
- /**
88
- * Checks the form and hands back the address to store, or nothing while something is missing —
89
- * the fields say what. Every address gets a fresh reference, since the API keeps it unique per
90
- * customer, and an edit is stored as a new address next to the one it replaces.
91
- */
92
- submit: async () => {
93
- if (await n.value.$validate())
94
- return {
95
- ...fe(o.value, Ee(), m.value),
96
- customer_id: I.customer.id
97
- };
98
- }
99
- }), (e, p) => (v(), U("fieldset", {
100
- class: "sv-shipping-address-form grid grid-cols-1 gap-2",
101
- disabled: h.disabled
102
- }, [
103
- y.value ? (v(), D(ve, {
104
- key: 0,
105
- modelValue: a(C),
106
- "onUpdate:modelValue": p[0] || (p[0] = (t) => Z(C) ? C.value = t : null),
107
- name: "shipping_company_name",
108
- class: "sv-shipping-address-form__company-name",
109
- autocomplete: "shipping organization",
110
- label: a(c)({
111
- defaultMessage: "Company name",
112
- id: "shipping_address_form.company_name.label",
113
- description: "Label of the name of the company a shipping address is for"
114
- }),
115
- placeholder: a(c)({
116
- defaultMessage: "Company name",
117
- id: "shipping_address_form.company_name.placeholder",
118
- description: "Placeholder of the name of the company a shipping address is for"
119
- }),
120
- error: a(n).companyLegalName.$errors
121
- }, null, 8, ["modelValue", "label", "placeholder", "error"])) : V("", !0),
122
- E(Ie, {
123
- modelValue: o.value,
124
- "onUpdate:modelValue": p[1] || (p[1] = (t) => o.value = t),
125
- variant: "SHIPPING",
126
- "with-country": "",
127
- "country-before-address": "",
128
- "country-label": a(c)({
129
- defaultMessage: "Country",
130
- id: "shipping_address_form.country.label",
131
- description: "Label of the country of a shipping address"
132
- }),
133
- "get-optional-suffix": z,
134
- format: m.value,
135
- errors: {
136
- addressLine1: a(n).shippingAddressLine1.$errors,
137
- postalCode: a(n).shippingPostalCode.$errors,
138
- city: a(n).shippingCity.$errors,
139
- state: a(n).shippingState.$errors,
140
- country: a(n).shippingCountry.$errors,
141
- phoneNumber: a(n).shippingPhoneNumber.$errors,
142
- lastName: a(n).shippingLastName.$errors
143
- }
144
- }, null, 8, ["modelValue", "country-label", "format", "errors"])
145
- ], 8, Ce));
146
- }
147
- }), De = { class: "sv-shipping-addresses-modal grid grid-cols-1 gap-4 pb-4" }, Me = { class: "sv-shipping-addresses-modal__list grid grid-cols-1 gap-4" }, Ne = { class: "grid grid-cols-1 gap-3" }, Ae = {
148
- key: 0,
149
- class: "grid grid-cols-1 gap-3"
150
- }, Ue = /* @__PURE__ */ H({
151
- __name: "ShippingAddressesModal",
152
- props: {
153
- showModal: { type: Boolean },
154
- customer: { type: Object },
155
- addresses: { type: Array },
156
- isLoading: { type: Boolean },
157
- start: { type: Object },
158
- actions: { type: Object }
159
- },
160
- emits: ["close"],
161
- setup(h, { emit: x }) {
162
- const I = ["LIST", "FORM", "DELETE"], c = h, d = x, { $t: i } = W(), S = ee(), r = f("LIST"), T = f("LIST"), o = f(), l = f(!1), m = f(), y = /* @__PURE__ */ new Map(), C = f({}), A = f(), w = f(0), n = _(() => r.value === "ADD" || r.value === "EDIT" ? "FORM" : r.value), z = () => i({
163
- defaultMessage: "Something went wrong. Please try again.",
164
- id: "shipping_addresses_modal.error",
165
- description: "Error shown in the shipping addresses modal when a change cannot be made"
166
- }), e = (s) => {
167
- m.value = void 0, o.value = "address" in s ? s.address : void 0, (s.step === "ADD" || s.step === "EDIT") && (w.value += 1), s.step === "EDIT" && (y.has(s.address.id) || y.set(s.address.id, {}), C.value = y.get(s.address.id)), r.value = s.step;
168
- };
169
- J(
170
- () => c.showModal,
171
- (s) => {
172
- if (!s) return;
173
- const u = c.start ?? { step: "LIST" };
174
- T.value = u.step, e(u);
175
- },
176
- { immediate: !0 }
177
- );
178
- const p = () => {
179
- if (T.value === "LIST") {
180
- e({ step: "LIST" });
181
- return;
182
- }
183
- d("close");
184
- }, t = async (s, u) => {
185
- l.value = !0, m.value = void 0;
186
- try {
187
- return await s(), !0;
188
- } catch (N) {
189
- return u(N), m.value = z(), !1;
190
- } finally {
191
- l.value = !1;
192
- }
193
- }, b = async () => {
194
- var j;
195
- if (l.value) return;
196
- l.value = !0;
197
- let s;
198
- try {
199
- s = await ((j = A.value) == null ? void 0 : j.submit());
200
- } finally {
201
- l.value = !1;
202
- }
203
- if (!s) return;
204
- const u = r.value === "EDIT" ? o.value : void 0;
205
- await t(
206
- () => u ? c.actions.replace(u, s, C.value) : c.actions.create(s),
207
- (K) => S.error(
208
- "SHIPPING_ADDRESS_SAVE_FAILED",
209
- "Failed to save the shipping address",
210
- {},
211
- K
212
- )
213
- ) && p();
214
- }, L = async () => {
215
- const s = o.value;
216
- if (!s || l.value) return;
217
- await t(
218
- () => c.actions.remove(s),
219
- (N) => S.error(
220
- "SHIPPING_ADDRESS_DELETE_FAILED",
221
- "Failed to delete the shipping address",
222
- {},
223
- N
224
- )
225
- ) && p();
226
- }, { getMenuItems: $ } = ie({
227
- onEdit: (s) => e({ step: "EDIT", address: s }),
228
- onDelete: (s) => e({ step: "DELETE", address: s })
229
- }), M = () => {
230
- if (!l.value) {
231
- if (r.value === T.value) {
232
- d("close");
233
- return;
234
- }
235
- e({ step: "LIST" });
236
- }
237
- }, k = () => {
238
- n.value === "FORM" && b(), n.value === "DELETE" && L();
239
- }, P = _(() => {
240
- switch (r.value) {
241
- case "ADD":
242
- return i({
243
- defaultMessage: "Add shipping address",
244
- id: "shipping_addresses_modal.add.title",
245
- description: "Title of the shipping addresses modal while a new address is added"
246
- });
247
- case "EDIT":
248
- return i({
249
- defaultMessage: "Edit shipping address",
250
- id: "shipping_addresses_modal.edit.title",
251
- description: "Title of the shipping addresses modal while an address is changed"
252
- });
253
- case "DELETE":
254
- return i({
255
- defaultMessage: "Delete shipping address",
256
- id: "shipping_addresses_modal.delete.title",
257
- description: "Title of the shipping addresses modal while a delete is confirmed"
258
- });
259
- default:
260
- return i({
261
- defaultMessage: "Shipping addresses",
262
- id: "shipping_addresses_modal.title",
263
- description: "Title of the modal that lists the customer shipping addresses"
264
- });
265
- }
266
- }), O = _(() => {
267
- if (n.value === "FORM")
268
- return i({
269
- defaultMessage: "Save address",
270
- id: "shipping_addresses_modal.save_button.label",
271
- description: "Label of the button that stores a new or changed shipping address"
272
- });
273
- if (n.value === "DELETE")
274
- return i({
275
- defaultMessage: "Delete",
276
- id: "shipping_addresses_modal.delete_button.label",
277
- description: "Label of the button that confirms deleting a shipping address"
278
- });
279
- }), G = _(() => r.value !== T.value ? i({
280
- defaultMessage: "Back",
281
- id: "shipping_addresses_modal.back_button.label",
282
- description: "Label of the button that goes back to the list of shipping addresses"
283
- }) : r.value === "LIST" ? i({
284
- defaultMessage: "Close",
285
- id: "shipping_addresses_modal.close_button.label",
286
- description: "Label of the button that closes the shipping addresses modal"
287
- }) : i({
288
- defaultMessage: "Cancel",
289
- id: "shipping_addresses_modal.cancel_button.label",
290
- description: "Label of the button that closes the shipping addresses modal without saving or deleting"
291
- }));
292
- return (s, u) => (v(), D(a(ae), {
293
- "no-click-away": "",
294
- size: "lg",
295
- "show-modal": h.showModal,
296
- title: P.value,
297
- "confirm-button-text": O.value,
298
- "cancel-button-text": G.value,
299
- "is-loading": l.value,
300
- onConfirm: k,
301
- onClose: M
302
- }, Q({
303
- body: g(() => [
304
- B("div", De, [
305
- m.value ? (v(), D(a(X), {
306
- key: 0,
307
- class: "sv-shipping-addresses-modal__error sv-error",
308
- title: m.value
309
- }, null, 8, ["title"])) : V("", !0),
310
- E(Te, {
311
- panes: I,
312
- current: n.value
313
- }, {
314
- LIST: g(() => [
315
- B("div", Me, [
316
- h.addresses.length ? (v(), D(ne, {
317
- key: 0,
318
- addresses: h.addresses,
319
- "get-menu-items": a($)
320
- }, null, 8, ["addresses", "get-menu-items"])) : h.isLoading ? V("", !0) : (v(), D(Se, {
321
- key: 1,
322
- class: "sv-shipping-addresses-modal__empty",
323
- icon: "home"
324
- }, {
325
- title: g(() => [
326
- R(F(a(i)({
327
- defaultMessage: "No shipping addresses yet",
328
- id: "shipping_addresses_modal.empty.title",
329
- description: "Shown in the shipping addresses modal when the customer has none"
330
- })), 1)
331
- ]),
332
- _: 1
333
- })),
334
- E(a(q), {
335
- class: "sv-action sv-action--secondary sv-action--full-width sv-shipping-addresses-modal__add w-full",
336
- intent: "secondary",
337
- "icon-prefix": "add",
338
- type: "button",
339
- size: "lg",
340
- disabled: l.value,
341
- onClick: u[0] || (u[0] = (N) => e({ step: "ADD" }))
342
- }, {
343
- default: g(() => [
344
- R(F(a(i)({
345
- defaultMessage: "Add shipping address",
346
- id: "shipping_addresses_modal.add_button.label",
347
- description: "Label of the button that moves to the form for a new shipping address"
348
- })), 1)
349
- ]),
350
- _: 1
351
- }, 8, ["disabled"])
352
- ])
353
- ]),
354
- FORM: g(() => [
355
- B("div", Ne, [
356
- (v(), D(we, {
357
- ref_key: "formRef",
358
- ref: A,
359
- key: w.value,
360
- customer: h.customer,
361
- address: r.value === "EDIT" ? o.value : void 0,
362
- disabled: l.value
363
- }, null, 8, ["customer", "address", "disabled"]))
364
- ])
365
- ]),
366
- DELETE: g(() => [
367
- o.value ? (v(), U("div", Ae, [
368
- E(a(se), {
369
- variant: "body-sm",
370
- color: "secondary",
371
- tag: "p"
372
- }, {
373
- default: g(() => [
374
- R(F(a(i)({
375
- defaultMessage: "This address will no longer be offered for shipping.",
376
- id: "shipping_addresses_modal.delete.message",
377
- description: "Explains what deleting a shipping address does, above the address"
378
- })), 1)
379
- ]),
380
- _: 1
381
- }),
382
- E(a(Y), { class: "sv-shipping-addresses-modal__pending-delete" }, {
383
- default: g(() => [
384
- E(oe, { address: o.value }, null, 8, ["address"])
385
- ]),
386
- _: 1
387
- })
388
- ])) : V("", !0)
389
- ]),
390
- _: 1
391
- }, 8, ["current"])
392
- ])
393
- ]),
394
- _: 2
395
- }, [
396
- r.value === "LIST" ? {
397
- name: "footer",
398
- fn: g(() => [
399
- E(a(q), {
400
- size: "lg",
401
- intent: "secondary",
402
- class: "sv-action sv-action--secondary sv-shipping-addresses-modal__close w-full",
403
- onClick: M
404
- }, {
405
- default: g(() => [
406
- R(F(G.value), 1)
407
- ]),
408
- _: 1
409
- })
410
- ]),
411
- key: "0"
412
- } : void 0
413
- ]), 1032, ["show-modal", "title", "confirm-button-text", "cancel-button-text", "is-loading"]));
414
- }
415
- });
416
- export {
417
- Ue as default
418
- };