@solvimon/solvimon-web 0.1.0-alpha.25 → 0.1.0-alpha.27

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 (302) hide show
  1. package/README.md +16 -11
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BM1_31Tl.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js} +1 -1
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Dh_a0NRB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs} +6 -6
  4. package/dist/{Avatar.vue.es-CvxRdCes.js → Avatar.vue.es-BJxSCU76.js} +1 -1
  5. package/dist/{Avatar.vue.es-C9Jkfuvp.mjs → Avatar.vue.es-sfMZiX7A.mjs} +1 -1
  6. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +1 -0
  7. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BRSUpMPU.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs} +15 -16
  8. package/dist/{Button.vue.es-CeUTAc2n.js → Button.vue.es-BzkuglKw.js} +1 -1
  9. package/dist/{Button.vue.es-BbSN0uOk.mjs → Button.vue.es-Cmjfm4jw.mjs} +1 -1
  10. package/dist/ChargeOnDemandModal-CB4mrvkU.mjs +975 -0
  11. package/dist/ChargeOnDemandModal-b17YswWA.js +1 -0
  12. package/dist/Checkout.entry.ce-HlUrJ1kh.js +2 -0
  13. package/dist/Checkout.entry.ce-X2zGo6hG.mjs +4381 -0
  14. package/dist/{Chip.vue.es-BN83K3Tk.js → Chip.vue.es-B2jjzIOc.js} +1 -1
  15. package/dist/{Chip.vue.es-T22Q7AF9.mjs → Chip.vue.es-DksjbJO8.mjs} +2 -2
  16. package/dist/{ContextMenu.vue.es-DXKR7WFg.js → ContextMenu.vue.es-DUU43tCy.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-0PRmCAzL.mjs → ContextMenu.vue.es-zRvoEJlV.mjs} +10 -10
  18. package/dist/{CustomerBillingInformation.vue.es-yrLGc7oL.js → CustomerBillingInformation.vue.es-BfPEB42w.js} +1 -1
  19. package/dist/{CustomerBillingInformation.vue.es-C2j40TYP.mjs → CustomerBillingInformation.vue.es-DhFbpZPK.mjs} +2 -2
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BZwGWhaL.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs} +14 -15
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C8diNL5x.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js} +1 -1
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-xqMsbuU6.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs} +895 -891
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +1 -0
  24. package/dist/{DividerText.vue.es-DsYRZzuE.js → DividerText.vue.es-CoyDk9eH.js} +1 -1
  25. package/dist/{DividerText.vue.es-CV1XK_Vz.mjs → DividerText.vue.es-nAo1eRMV.mjs} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-srXOpUb0.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js} +1 -1
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-kpjrC-4q.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs} +4 -4
  28. package/dist/{ErrorNotification.vue.es-CiUJva6S.mjs → ErrorNotification.vue.es-h-D37rfG.mjs} +1 -1
  29. package/dist/{ErrorNotification.vue.es-QfRoDhkn.js → ErrorNotification.vue.es-tS9vySUZ.js} +1 -1
  30. package/dist/{IconButton.vue.es-CytBZUkZ.js → IconButton.vue.es-DgQN18Am.js} +1 -1
  31. package/dist/{IconButton.vue.es-ChvsCZQG.mjs → IconButton.vue.es-DvfErUOq.mjs} +2 -2
  32. package/dist/{IconTitle.vue.es-DPruIJ6l.mjs → IconTitle.vue.es-B_8bS0tn.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-DtnpBObk.js → IconTitle.vue.es-Dn2xcPHj.js} +1 -1
  34. package/dist/{Input.vue.es-BkzQDkrz.js → Input.vue.es-B60eK8Ds.js} +1 -1
  35. package/dist/{Input.vue.es-DJQqJrsb.mjs → Input.vue.es-CU9u5yKH.mjs} +2 -2
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Do0dDtkA.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js} +1 -1
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BC-zyUqe.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs} +2 -2
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DQFS7SfE.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js} +1 -1
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-CFhhhwId.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs} +2 -2
  40. package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +1 -0
  41. package/dist/{InvoiceSummary.vue.es-6qpbyymg.mjs → InvoiceSummary.vue.es-CRiFJ5x-.mjs} +576 -565
  42. package/dist/{Modal.vue.es-BuRlbyZw.mjs → Modal.vue.es-BeI5C9-9.mjs} +5 -5
  43. package/dist/{Modal.vue.es-JpE0eh_Q.js → Modal.vue.es-DvLB3uCG.js} +1 -1
  44. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-nAuhIopc.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js} +1 -1
  45. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs} +5 -6
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-YpcWHm24.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js} +1 -1
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DggCusgC.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs} +3 -3
  48. package/dist/{PaymentHistoryBlock-uWuWjr8I.js → PaymentHistoryBlock-Uw8xeKUk.js} +1 -1
  49. package/dist/{PaymentHistoryBlock-DnmParhQ.mjs → PaymentHistoryBlock-mCqdFjnL.mjs} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BS8N4yt9.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BziIf86i.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-DTXm56QQ.js → PaymentIntegrationForm-Cx0zCf_C.js} +1 -1
  53. package/dist/{PaymentIntegrationForm-DL55i0HD.mjs → PaymentIntegrationForm-DVx4DEtD.mjs} +1 -1
  54. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +1 -0
  55. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +154 -0
  56. package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +98 -0
  57. package/dist/{PaymentIntegrationFormAdyen-Cqsy82To.mjs → PaymentIntegrationFormAdyen-Yr8p5Fly.mjs} +202 -192
  58. package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +102 -0
  59. package/dist/{PaymentIntegrationFormStripe-DIU1rnwH.mjs → PaymentIntegrationFormStripe-Ds0BXt89.mjs} +247 -220
  60. package/dist/{PaymentMethod.vue.es-m1NasGqw.mjs → PaymentMethod.vue.es-4YRmQZHX.mjs} +168 -148
  61. package/dist/PaymentMethod.vue.es-D0D9jW8s.js +1 -0
  62. package/dist/{PaymentMethodForm-BEVdWCrH.js → PaymentMethodForm-CMP5FLRO.js} +1 -1
  63. package/dist/{PaymentMethodForm-BYzt1PVP.mjs → PaymentMethodForm-Dnj_7mJU.mjs} +1 -1
  64. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-fdRTp7sc.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs} +60 -58
  65. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +1 -0
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FhMBZqtI.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js} +1 -1
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FChyZp2v.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs} +6 -6
  68. package/dist/PlanCustomizationEditor-DS1r2vBO.js +1 -0
  69. package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +722 -0
  70. package/dist/{PricingGroupRangeInput.vue.es-B4ZbKxUw.mjs → PricingGroupRangeInput.vue.es-BhNcjD7z.mjs} +4 -4
  71. package/dist/{PricingGroupRangeInput.vue.es-Ba3v0J_R.js → PricingGroupRangeInput.vue.es-VoOTnHjk.js} +1 -1
  72. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs +141 -0
  73. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +1 -0
  74. package/dist/{RadioGroupExtended.vue.es-CkhBp9kI.mjs → RadioGroupExtended.vue.es-9YzXzZF0.mjs} +2 -2
  75. package/dist/{RadioGroupExtended.vue.es-CHrcqSRq.js → RadioGroupExtended.vue.es-DlbURHQN.js} +1 -1
  76. package/dist/{Section.vue.es-CSrVPlUK.js → Section.vue.es-Bbt0RITt.js} +1 -1
  77. package/dist/{Section.vue.es-D5svcVS_.mjs → Section.vue.es-DVEpre9O.mjs} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BqOSBdFQ.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js} +1 -1
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BM9Y4Cy3.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs} +6 -6
  80. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +41 -0
  81. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +1 -0
  82. package/dist/StepInput.vue.es-H-3R4jJq.js +1 -0
  83. package/dist/StepInput.vue.es-o-3Lg4Ai.mjs +199 -0
  84. package/dist/SubscriptionDetails.entry.ce-CGl6Z5ql.mjs +1057 -0
  85. package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +1 -0
  86. package/dist/{SubscriptionSchedules-yDcsD1hd.mjs → SubscriptionSchedules-DuWZmnD2.mjs} +1 -1
  87. package/dist/{SubscriptionSchedules-CMVoB2bw.js → SubscriptionSchedules-Dy0fUgx5.js} +1 -1
  88. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DZHsQImd.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs} +2284 -2341
  89. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +1 -0
  90. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BgXZMihr.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js} +1 -1
  91. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BmNl5u8R.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs} +3 -3
  92. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DOJ0t_fo.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js} +1 -1
  93. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BUzdZHah.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs} +9 -10
  94. package/dist/{TooltipParagraph.vue.es-CxdL8-B7.mjs → TooltipParagraph.vue.es-B9A17aG7.mjs} +3 -3
  95. package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +1 -0
  96. package/dist/{TrialChip.vue.es-BCc8q5j0.js → TrialChip.vue.es-CLQZ5F0n.js} +1 -1
  97. package/dist/{TrialChip.vue.es-BK7m7e7q.mjs → TrialChip.vue.es-Dmv3lPiQ.mjs} +2 -2
  98. package/dist/{cn.es-71nFUose.js → cn.es-C9Yqq4tg.js} +1 -1
  99. package/dist/{cn.es-ZXNzpauQ.mjs → cn.es-Cvt6TIwv.mjs} +2 -2
  100. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  101. package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
  102. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  103. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +246 -230
  104. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  105. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
  106. package/dist/components/Invoice/Invoice.cjs +1 -1
  107. package/dist/components/Invoice/Invoice.mjs +201 -212
  108. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  109. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +15 -16
  110. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  111. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
  112. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  113. package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
  114. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  115. package/dist/components/PaymentHistory/PaymentHistory.mjs +14 -15
  116. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  117. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
  118. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  119. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
  120. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  121. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
  122. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  123. package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
  124. package/dist/{customElements-q_i9y0Ph.mjs → customElements-B58FcXIN.mjs} +231 -196
  125. package/dist/{customElements-hH6pju3X.js → customElements-DUMRMFQ5.js} +36 -32
  126. package/dist/{customer-BDoOIAFr.mjs → customer-B3LPAhaD.mjs} +4 -4
  127. package/dist/{customer-C9q6ti8s.js → customer-CisTPaXj.js} +1 -1
  128. package/dist/{de-DE-BSlbAnPE.js → de-DE-B4TUdnUf.js} +1 -1
  129. package/dist/{de-DE-B_ik9VNt.mjs → de-DE-DKp5LCu0.mjs} +53 -7
  130. package/dist/de-DE-DL74pMLb.js +1 -0
  131. package/dist/{de-DE-DXsG-vXA.mjs → de-DE-jkW2dJrX.mjs} +28 -14
  132. package/dist/en-US-B2XFj-_p.js +1 -0
  133. package/dist/{en-US-DkCltadt.mjs → en-US-DQ5vlv9Z.mjs} +53 -7
  134. package/dist/en-US-J85TQRI8.js +1 -0
  135. package/dist/{en-US-C939IZ5i.mjs → en-US-SDhjlY_v.mjs} +20 -5
  136. package/dist/formControl-ODrpUvcA.js +1 -0
  137. package/dist/{index-BPU8tIml.mjs → formControl-dX7l8o3c.mjs} +160 -143
  138. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +4 -0
  139. package/dist/icon-sprite.svg.es-Ds6lDf5p.js +1 -0
  140. package/dist/index.cjs +1 -1
  141. package/dist/index.mjs +4 -4
  142. package/dist/{invoices-DIzkXntV.mjs → invoices-3520M5AN.mjs} +1 -1
  143. package/dist/{invoices-CHp75zZI.js → invoices-CKQBLar2.js} +1 -1
  144. package/dist/{it-IT-CHj2McbF.mjs → it-IT-BgFVsO5S.mjs} +53 -7
  145. package/dist/{it-IT-DT3rfjOY.js → it-IT-CSYvGmpT.js} +1 -1
  146. package/dist/{it-IT-BxpwB3oJ.mjs → it-IT-CaaFToGB.mjs} +20 -6
  147. package/dist/it-IT-CqNK62qe.js +1 -0
  148. package/dist/{nl-NL-DfkhOJKc.js → nl-NL-CpE4IgwO.js} +1 -1
  149. package/dist/{nl-NL-na2I4aiP.mjs → nl-NL-D0MQKaql.mjs} +34 -20
  150. package/dist/nl-NL-Dx-TNXQ1.js +1 -0
  151. package/dist/{nl-NL-Cdvd_XMN.mjs → nl-NL-UiRWbO9S.mjs} +53 -7
  152. package/dist/{paymentMethods-DEKp_4QM.mjs → paymentMethods-CWlvwK5V.mjs} +16 -14
  153. package/dist/paymentMethods-Cw-i95mM.js +1 -0
  154. package/dist/{payments-C0-Hq2a4.mjs → payments-2qeQdpiW.mjs} +6 -6
  155. package/dist/{payments-DBvregE8.js → payments-CS7_YcOW.js} +1 -1
  156. package/dist/pricing-BIMpDI_p.mjs +29 -0
  157. package/dist/pricing-BOqG21f9.js +1 -0
  158. package/dist/pricing.es-C07bgEZx.js +1 -0
  159. package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
  160. package/dist/pricingPlanSchedules-B_sTAIgU.js +1 -0
  161. package/dist/pricingPlanSchedules-ChQCbMfe.mjs +32 -0
  162. package/dist/screens/Checkout/Checkout.cjs +1 -1
  163. package/dist/screens/Checkout/Checkout.mjs +2 -2
  164. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  165. package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
  166. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  167. package/dist/screens/PayInvoice/PayInvoice.mjs +57 -55
  168. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  169. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
  170. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  171. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +3 -769
  172. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  173. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +243 -270
  174. package/dist/{subscription-CrVOr5MF.mjs → subscription-D1yHKUNc.mjs} +2 -2
  175. package/dist/{subscriptions--9MaTXMb.mjs → subscriptions-DcfcBYAq.mjs} +1 -1
  176. package/dist/{subscriptions-BArXBCFr.js → subscriptions-DwVsf4Ev.js} +1 -1
  177. package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
  178. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
  179. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
  180. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
  181. package/dist/types/components/{wallets/WalletModalShell.types.d.ts → payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts} +3 -3
  182. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +5 -0
  183. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +5 -9
  184. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +7 -11
  185. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -11
  186. package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +7 -11
  187. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +7 -11
  188. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +7 -11
  189. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +7 -11
  190. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +7 -11
  191. package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +7 -11
  192. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  193. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +7 -11
  194. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +7 -11
  195. package/dist/types/components/providers/Provider/Provider.vue.d.ts +7 -11
  196. package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +7 -11
  197. package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +7 -11
  198. package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +7 -11
  199. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +21 -0
  200. package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
  201. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
  202. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +1 -1
  203. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +6 -5
  204. package/dist/types/services/paymentMethods.types.d.ts +4 -2
  205. package/dist/types/services/requests.types.d.ts +5 -0
  206. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +5 -0
  207. package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
  208. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +6 -1
  209. package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +23 -0
  210. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +16 -4
  211. package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
  212. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +21 -6
  213. package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
  214. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +2 -1
  215. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  216. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +6 -1
  217. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +5 -0
  218. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +5 -0
  219. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
  220. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +9 -1
  221. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +1 -1
  222. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +3 -3
  223. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +3 -0
  224. package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +2 -0
  225. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +2 -0
  226. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +2 -0
  227. package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +1 -1
  228. package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
  229. package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +6 -0
  230. package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +128 -1
  231. package/dist/{useActionDispatchProvider-BdciAX8T.mjs → useActionDispatchProvider-B3AvkLL2.mjs} +1 -1
  232. package/dist/{useActionDispatchProvider-CKzeqXzY.js → useActionDispatchProvider-DFhppdve.js} +1 -1
  233. package/dist/{useCustomer-D8ixhuuj.mjs → useCustomer-B-jyJIVy.mjs} +1 -1
  234. package/dist/{useCustomer-DSYr0F58.js → useCustomer-BwZKd9i5.js} +1 -1
  235. package/dist/{useCustomerFormLabels-htMZ0xqB.mjs → useCustomerFormLabels-BQk3d9PZ.mjs} +6 -6
  236. package/dist/useCustomerFormLabels-DV9QiMYh.js +1 -0
  237. package/dist/useExperimentalFeature-BciA3Ok9.mjs +135 -0
  238. package/dist/useExperimentalFeature-CGIkgFR4.js +1 -0
  239. package/dist/{useInvoiceData-Bpbog3zW.mjs → useInvoiceData-BocKdeg7.mjs} +3 -3
  240. package/dist/{useInvoiceData-DhrItfv7.js → useInvoiceData-CNV_FMV8.js} +1 -1
  241. package/dist/{useInvoicesList-BGwcJn4I.mjs → useInvoicesList-C8nsXMJ6.mjs} +7 -7
  242. package/dist/{useInvoicesList-duu_b5GW.js → useInvoicesList-S0IbQcrD.js} +1 -1
  243. package/dist/{useLoadInitialData-BDmmpcfb.mjs → useLoadInitialData-D9GkzY8t.mjs} +1 -1
  244. package/dist/{useLoadInitialData-U2WvBmXT.js → useLoadInitialData-D_R6Jy1s.js} +1 -1
  245. package/dist/usePaymentMethodAvailability-BO_guwAw.js +1 -0
  246. package/dist/{usePaymentMethodAvailability-adqRujTA.mjs → usePaymentMethodAvailability-DAcsKGeh.mjs} +5 -6
  247. package/dist/{usePaymentMethodOptions-DlZtTQNQ.mjs → usePaymentMethodOptions-1vRAo6Ib.mjs} +15 -13
  248. package/dist/usePaymentMethodOptions-CuzOoi2k.js +1 -0
  249. package/dist/{usePaymentMethods-BnmSo_rr.mjs → usePaymentMethods-CbwnGONc.mjs} +1 -1
  250. package/dist/{usePaymentMethods-DZ1a0mnr.js → usePaymentMethods-DDaTZQZp.js} +1 -1
  251. package/dist/{usePayments-s-Z1di8d.mjs → usePayments-Cr6NlGaW.mjs} +46 -41
  252. package/dist/usePayments-DDSjo0rH.js +1 -0
  253. package/dist/{usePortal-Hm7wvtgQ.js → usePortal-C27omjhz.js} +1 -1
  254. package/dist/{usePortal-C4rR5Rhu.mjs → usePortal-C5AsegpS.mjs} +1 -1
  255. package/dist/{useSubscription-DSsXVO0h.mjs → useSubscription-BZJL0VOA.mjs} +1 -1
  256. package/dist/{useSubscription-DMAEJves.js → useSubscription-D787IXY-.js} +1 -1
  257. package/dist/{useTimePeriod.es-CW8ycmpT.mjs → useTimePeriod.es-DWLsLFqs.mjs} +1 -1
  258. package/dist/{useTimePeriod.es-anHB63am.js → useTimePeriod.es-rzxqUCTu.js} +1 -1
  259. package/dist/useWatchDebounced-B8iX7ykx.js +1 -0
  260. package/dist/useWatchDebounced-BHlBPcXB.mjs +20 -0
  261. package/package.json +20 -14
  262. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-7wQAw6Lv.js +0 -1
  263. package/dist/Checkout.entry.ce-BMzK8nQg.mjs +0 -3900
  264. package/dist/Checkout.entry.ce-DgA0ckyl.js +0 -2
  265. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DzbPUvHN.js +0 -1
  266. package/dist/InvoiceSummary.vue.es-v1TkOUhA.js +0 -1
  267. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-4RmdLbzY.js +0 -1
  268. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvpFnl9V.mjs +0 -141
  269. package/dist/PaymentIntegrationFormAdyen-C9KoiqMh.js +0 -98
  270. package/dist/PaymentIntegrationFormStripe-DTLgGutU.js +0 -102
  271. package/dist/PaymentMethod.vue.es-ZWda5GqF.js +0 -1
  272. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CzUwtVEI.js +0 -1
  273. package/dist/PlanCustomizationEditor-CunwwXTw.js +0 -1
  274. package/dist/PlanCustomizationEditor-NLVkEYFF.mjs +0 -877
  275. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-Dvuj-fos.mjs +0 -131
  276. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-iE4dLawA.js +0 -1
  277. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +0 -51
  278. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +0 -1
  279. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DH7IZrNT.js +0 -1
  280. package/dist/TooltipParagraph.vue.es-DS_69pl1.js +0 -1
  281. package/dist/adyen-CvsH5fok.mjs +0 -117
  282. package/dist/adyen-Druit6gz.js +0 -1
  283. package/dist/de-DE-npBTLtKL.js +0 -1
  284. package/dist/en-US-9xdcz3T5.js +0 -1
  285. package/dist/en-US-kGduGoka.js +0 -1
  286. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +0 -4
  287. package/dist/icon-sprite.svg.es-Dauis9LS.js +0 -1
  288. package/dist/index-DwueOtPi.js +0 -1
  289. package/dist/it-IT-BayNIAy7.js +0 -1
  290. package/dist/nl-NL-0rV4nFLw.js +0 -1
  291. package/dist/paymentMethods-CZGP6_4W.js +0 -1
  292. package/dist/pricing-BVAld27Y.js +0 -1
  293. package/dist/pricing-DLOeiAIB.mjs +0 -16
  294. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +0 -47
  295. package/dist/useCustomerFormLabels-CRumh405.js +0 -1
  296. package/dist/useExperimentalFeature-D29-TO3R.js +0 -1
  297. package/dist/useExperimentalFeature-JK_kAUQQ.mjs +0 -6
  298. package/dist/usePaymentMethodAvailability-DwtT5Czz.js +0 -1
  299. package/dist/usePaymentMethodOptions-CXdFKFqZ.js +0 -1
  300. package/dist/usePayments-DL4agK2i.js +0 -1
  301. package/dist/useWatchDebounced-CAU1WI1P.js +0 -1
  302. package/dist/useWatchDebounced-DT5IicPp.mjs +0 -14
@@ -1 +0,0 @@
1
- const t=require("vue"),p=require("./FormMessage.vue.es-dqATjC2N.js"),P=require("./ContextMenu.vue.es-DXKR7WFg.js"),c=require("./customElements-hH6pju3X.js"),g=require("./Chip.vue.es-BN83K3Tk.js"),m="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23f5f7f8'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='a'%20width='28'%20height='28'%20x='6'%20y='6'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M6%206h28v28H6z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='M11.8%2028a2%202%200%200%201-1.3-.6%202%202%200%200%201-.6-1.4V14q0-.8.6-1.4a2%202%200%200%201%201.3-.6h16.4q.8%200%201.3.6t.6%201.4v12q0%20.8-.6%201.4a2%202%200%200%201-1.3.6zm-.3-8.4h17v-3.4h-17z'/%3e%3c/g%3e%3c/svg%3e",C={class:"shrink-0"},N={class:"flex items-center justify-center overflow-clip rounded"},M=["src","alt","width","height"],k={class:"grow"},x={key:0},A={key:0,class:"pt-3"},h=t.defineComponent({__name:"PaymentMethodBase",props:{imageSrc:{},imageAlt:{},variant:{default:"default"},disabled:{type:Boolean},options:{},error:{}},setup(e){const a=e,o=t.computed(()=>a.imageSrc||m);return(l,n)=>(t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",{class:t.normalizeClass(["flex gap-3",{"opacity-50":e.disabled}])},[t.createElementVNode("div",C,[t.createElementVNode("div",N,[o.value?(t.openBlock(),t.createElementBlock("img",{key:0,src:o.value,alt:e.imageAlt,width:e.variant==="condensed"?20:36,height:e.variant==="condensed"?20:36,class:t.normalizeClass({"h-9 w-9":e.variant==="default","h-5 w-5":e.variant==="condensed"})},null,10,M)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",k,[t.renderSlot(l.$slots,"default")]),e.options&&e.options.length>0?(t.openBlock(),t.createElementBlock("div",x,[t.createVNode(P._sfc_main$1,{width:"wide",square:"",items:e.options},null,8,["items"])])):t.createCommentVNode("",!0)],2),e.error?(t.openBlock(),t.createElementBlock("div",A,[t.createVNode(p._sfc_main,{message:e.error,variant:"error"},null,8,["message"])])):t.createCommentVNode("",!0)]))}}),v=t.defineComponent({__name:"PaymentMethodDefaultChip",props:{isDefault:{type:Boolean}},setup(e){const a=c.useIntl();return(o,l)=>e.isDefault?(t.openBlock(),t.createBlock(g._sfc_main,{key:0,class:"mt-1 self-start"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(a).$t({defaultMessage:"Default",description:"The textual label for the default payment method chip",id:"payment_methods.default_chip.label"})),1)]),_:1})):t.createCommentVNode("",!0)}}),f=t.defineComponent({__name:"PaymentMethodInactiveChip",props:{isInactive:{type:Boolean}},setup(e){const a=c.useIntl();return(o,l)=>e.isInactive?(t.openBlock(),t.createBlock(g._sfc_main,{key:0,class:"mt-1 self-start"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(a).$t({defaultMessage:"Inactive",description:"The textual label for the inactive payment method chip",id:"payment_methods.inactive_chip.label"})),1)]),_:1})):t.createCommentVNode("",!0)}}),B={KLARNA:{name:"Klarna",logo:()=>Promise.resolve().then(()=>require("./klarna.svg.es-Cs6XaHD7.js")).then(e=>e.default)},ZIP:{name:"Zip",logo:()=>Promise.resolve().then(()=>require("./zip.svg.es-C9S_F31W.js")).then(e=>e.default)}},y=e=>{const a=t.shallowRef();return t.watch(()=>t.toValue(e),(o,l,n)=>{if(a.value=void 0,!o)return;let s=!1;n(()=>{s=!0}),o().then(i=>{s||(a.value=i)}).catch(()=>{})},{immediate:!0}),a},V={class:"flex h-full grow flex-col justify-center"},b=t.defineComponent({__name:"PaymentMethodBuyNowPayLater",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(e){const a=e,o=t.computed(()=>{var n;return(n=a.paymentMethod.buy_now_pay_later)!=null&&n.variant?B[a.paymentMethod.buy_now_pay_later.variant]:void 0}),l=y(()=>{var n;return(n=o.value)==null?void 0:n.logo});return(n,s)=>{var i,d;return t.openBlock(),t.createBlock(h,{"image-src":t.unref(l)??t.unref(m),"image-alt":(d=(i=o.value)==null?void 0:i.name)==null?void 0:d.toLowerCase(),variant:e.variant,options:e.options,disabled:e.paymentMethod.status==="INACTIVE"},{default:t.withCtx(()=>[t.createElementVNode("div",V,[t.createVNode(c._sfc_main,{tag:"span",weight:"semibold","no-spacing":"",variant:e.variant==="condensed"?"body-xs":"body-sm",color:e.variant==="condensed"?"secondary":void 0},{default:t.withCtx(()=>{var r;return[t.createTextVNode(t.toDisplayString((r=o.value)==null?void 0:r.name),1)]}),_:1},8,["variant","color"]),t.createVNode(v,{"is-default":e.isDefault},null,8,["is-default"]),t.createVNode(f,{"is-inactive":e.paymentMethod.status==="INACTIVE"},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","disabled"])}}}),E={ACCEL:()=>Promise.resolve().then(()=>require("./accel.svg.es-DFJXdioD.js")).then(e=>e.default),AMERICAN_EXPRESS:()=>Promise.resolve().then(()=>require("./amex.svg.es-DKhW4Txt.js")).then(e=>e.default),BANCONTACT:()=>Promise.resolve().then(()=>require("./bancontact.svg.es-BQh7nAup.js")).then(e=>e.default),CARNET:()=>Promise.resolve().then(()=>require("./carnet.svg.es-DY04-F2L.js")).then(e=>e.default),CARTES_BANCAIRES:()=>Promise.resolve().then(()=>require("./cartes-bancaires.svg.es-BleHMlkN.js")).then(e=>e.default),DANKORT:()=>Promise.resolve().then(()=>require("./dankort.svg.es-CksaipXF.js")).then(e=>e.default),DINERS:()=>Promise.resolve().then(()=>require("./diners.svg.es-D6Mu1pqP.js")).then(e=>e.default),DISCOVER:()=>Promise.resolve().then(()=>require("./discover.svg.es-DgqWCMUM.js")).then(e=>e.default),EFTPOS:()=>Promise.resolve().then(()=>require("./eftpos.svg.es-Dk2DOT8W.js")).then(e=>e.default),ELO:()=>Promise.resolve().then(()=>require("./elo.svg.es-C-BzjuRP.js")).then(e=>e.default),GIROCARD:()=>Promise.resolve().then(()=>require("./girocard.svg.es-HSOEvDif.js")).then(e=>e.default),HIPERCARD:()=>Promise.resolve().then(()=>require("./hipercard.svg.es-CbCsRY2q.js")).then(e=>e.default),JCB:()=>Promise.resolve().then(()=>require("./jcb.svg.es-B3WPB8c2.js")).then(e=>e.default),MAESTRO:()=>Promise.resolve().then(()=>require("./maestro.svg.es-BvK4oPg4.js")).then(e=>e.default),MASTERCARD:()=>Promise.resolve().then(()=>require("./mastercard.svg.es-lp4AXyyV.js")).then(e=>e.default),NYCE:()=>Promise.resolve().then(()=>require("./nyce.svg.es-ArAivAZW.js")).then(e=>e.default),PULSE:()=>Promise.resolve().then(()=>require("./pulse.svg.es-Dit33E8S.js")).then(e=>e.default),STAR:()=>Promise.resolve().then(()=>require("./star.svg.es-D2JncY7b.js")).then(e=>e.default),UNION_PAY:()=>Promise.resolve().then(()=>require("./unionpay.svg.es-DjFZ5EMQ.js")).then(e=>e.default),VISA:()=>Promise.resolve().then(()=>require("./visa.svg.es-NY3BHhda.js")).then(e=>e.default),V_PAY:()=>Promise.resolve().then(()=>require("./vpay.svg.es-VViQi42w.js")).then(e=>e.default)},w={class:"flex h-full grow flex-col justify-center"},D=t.defineComponent({__name:"PaymentMethodCard",props:{paymentMethod:{},isDefault:{type:Boolean},i18n:{},options:{},variant:{default:"default"}},setup(e){const a=e,o=t.computed(()=>{var n,s,i;if((n=a.i18n)!=null&&n.expiryDate&&a.paymentMethod.card.expiry_date)return a.i18n.expiryDate(a.paymentMethod.card.expiry_date.expiry_month,a.paymentMethod.card.expiry_date.expiry_year);if(a.paymentMethod.card.expiry_date)return`Expiry date: ${(s=a.paymentMethod.card.expiry_date)==null?void 0:s.expiry_month}/${(i=a.paymentMethod.card.expiry_date)==null?void 0:i.expiry_year}`}),l=y(()=>a.paymentMethod.card.brand?E[a.paymentMethod.card.brand]:void 0);return(n,s)=>{var i;return t.openBlock(),t.createBlock(h,{"image-src":t.unref(l)??t.unref(m),"image-alt":(i=e.paymentMethod.card.brand)==null?void 0:i.toLowerCase(),variant:e.variant,options:e.options,disabled:e.paymentMethod.status==="INACTIVE"},{default:t.withCtx(()=>[t.createElementVNode("div",w,[t.createVNode(c._sfc_main,{tag:"span",variant:e.variant==="condensed"?"body-xs":"body-sm",color:e.variant==="condensed"?"secondary":void 0,weight:"semibold","no-spacing":""},{default:t.withCtx(()=>[t.createTextVNode(" **** **** **** "+t.toDisplayString(e.paymentMethod.card.last_four_digits??"****"),1)]),_:1},8,["variant","color"]),e.variant==="default"&&o.value?(t.openBlock(),t.createBlock(c._sfc_main,{key:0,tag:"span",variant:"body-xs",color:"subtle","no-spacing":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(o.value),1)]),_:1})):t.createCommentVNode("",!0),t.createVNode(v,{"is-default":e.isDefault},null,8,["is-default"]),t.createVNode(f,{"is-inactive":e.paymentMethod.status==="INACTIVE"},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","disabled"])}}}),q={AMAZON_PAY:{name:"Amazon Pay",logo:()=>Promise.resolve().then(()=>require("./amazon-pay.svg.es-CQWgtowB.js")).then(e=>e.default)},APPLE_PAY:{name:"Apple Pay",logo:()=>Promise.resolve().then(()=>require("./apple-pay.svg.es-Dyojd0F-.js")).then(e=>e.default)},CASH_APP:{name:"Cash App",logo:()=>Promise.resolve().then(()=>require("./cashapp.svg.es-MwXGYom6.js")).then(e=>e.default)},DANA:{name:"DANA",logo:()=>Promise.resolve().then(()=>require("./dana.svg.es-BDtZLpwd.js")).then(e=>e.default)},GCASH:{name:"GCash",logo:()=>Promise.resolve().then(()=>require("./gcash.svg.es-BKAdhWzv.js")).then(e=>e.default)},GOOGLE_PAY:{name:"Google Pay",logo:()=>Promise.resolve().then(()=>require("./google-pay.svg.es-hzc_EgiJ.js")).then(e=>e.default)},GO_PAY:{name:"GoPay",logo:()=>Promise.resolve().then(()=>require("./go-pay.svg.es-DQjtunZ_.js")).then(e=>e.default)},KAKAOPAY:{name:"KakaoPay",logo:()=>Promise.resolve().then(()=>require("./kakao-pay.svg.es-Cs-lCW74.js")).then(e=>e.default)},MOMO:{name:"Momo",logo:()=>Promise.resolve().then(()=>require("./momo.svg.es-C5aLYf_R.js")).then(e=>e.default)},PAYPAL:{name:"PayPal",logo:()=>Promise.resolve().then(()=>require("./paypal.svg.es-Cjp5sNI3.js")).then(e=>e.default)},TWINT:{name:"Twint",logo:()=>Promise.resolve().then(()=>require("./twint.svg.es-BJ2f48og.js")).then(e=>e.default)}},I={class:"flex h-full grow flex-col justify-center"},T=t.defineComponent({__name:"PaymentMethodDigitalWallet",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(e){const a=e,o=t.computed(()=>{var n;return(n=a.paymentMethod.digital_wallet)!=null&&n.variant?q[a.paymentMethod.digital_wallet.variant]:void 0}),l=y(()=>{var n;return(n=o.value)==null?void 0:n.logo});return(n,s)=>{var i,d;return t.openBlock(),t.createBlock(h,{"image-src":t.unref(l)??t.unref(m),"image-alt":(d=(i=o.value)==null?void 0:i.name)==null?void 0:d.toLowerCase(),variant:e.variant,options:e.options,disabled:e.paymentMethod.status==="INACTIVE"},{default:t.withCtx(()=>[t.createElementVNode("div",I,[t.createVNode(c._sfc_main,{tag:"span",weight:"semibold","no-spacing":"",variant:e.variant==="condensed"?"body-xs":"body-sm",color:e.variant==="condensed"?"secondary":void 0},{default:t.withCtx(()=>{var r;return[t.createTextVNode(t.toDisplayString((r=o.value)==null?void 0:r.name),1)]}),_:1},8,["variant","color"]),t.createVNode(v,{"is-default":e.isDefault},null,8,["is-default"]),t.createVNode(f,{"is-inactive":e.paymentMethod.status==="INACTIVE"},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","disabled"])}}}),_={ACH:{name:"ACH",logo:()=>Promise.resolve().then(()=>require("./ach.svg.es-BYP873jU.js")).then(e=>e.default)},DIRECT_DEBIT_GB:{name:"Direct Debit GB",logo:()=>Promise.resolve().then(()=>require("./bacs.svg.es-GJpZs1sD.js")).then(e=>e.default)},SEPA_DIRECT_DEBIT:{name:"SEPA Direct Debit",logo:()=>Promise.resolve().then(()=>require("./sepa.svg.es-0t4DKeA1.js")).then(e=>e.default)}},S={class:"flex h-full grow flex-col justify-center"},$=t.defineComponent({__name:"PaymentMethodDirectDebit",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(e){const a=e,o=t.computed(()=>{var n;return(n=a.paymentMethod.direct_debit)!=null&&n.variant?_[a.paymentMethod.direct_debit.variant]:void 0}),l=y(()=>{var n;return(n=o.value)==null?void 0:n.logo});return(n,s)=>{var i,d;return t.openBlock(),t.createBlock(h,{"image-src":t.unref(l)??t.unref(m),"image-alt":(d=(i=o.value)==null?void 0:i.name)==null?void 0:d.toLowerCase(),variant:e.variant,options:e.options,disabled:e.paymentMethod.status==="INACTIVE"},{default:t.withCtx(()=>[t.createElementVNode("div",S,[t.createVNode(c._sfc_main,{tag:"span",weight:"semibold","no-spacing":"",variant:e.variant==="condensed"?"body-xs":"body-sm",color:e.variant==="condensed"?"secondary":void 0},{default:t.withCtx(()=>{var r;return[t.createTextVNode(t.toDisplayString((r=o.value)==null?void 0:r.name),1)]}),_:1},8,["variant","color"]),t.createVNode(v,{"is-default":e.isDefault},null,8,["is-default"]),t.createVNode(f,{"is-inactive":e.paymentMethod.status==="INACTIVE"},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","disabled"])}}}),L={EPS:{name:"Electronic Payment Services",logo:()=>Promise.resolve().then(()=>require("./eps.svg.es-B_85bP-W.js")).then(e=>e.default)},IDEAL:{name:"iDEAL",logo:()=>Promise.resolve().then(()=>require("./ideal.svg.es-Booz1IML.js")).then(e=>e.default)},PAY_BY_BANK:{name:"Open Banking / Pay by bank",logo:()=>Promise.resolve().then(()=>require("./open-banking.svg.es-Q3rRkCvP.js")).then(e=>e.default)},TRUSTLY:{name:"Trustly",logo:()=>Promise.resolve().then(()=>require("./trustly.svg.es-GJByiFAs.js")).then(e=>e.default)}},R="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%3e%3cpath%20fill='%23e1e2ff'%20d='M0%200h32v32H0z'/%3e%3cmask%20id='a'%20width='24'%20height='24'%20x='4'%20y='4'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M4%204h24v24H4z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%231f216a'%20d='M6.5%2022.5v-13h19v3.14H24l-4.6%204.61h-9.15v1.5h7.64l-3.75%203.75zm3.75-7.75h5.5v-1.5h-5.5zm6.9%209.71V23.2l6.38-6.38%201.27%201.27-6.38%206.38zm8.23-6.98-1.26-1.27.84-.84a.4.4%200%200%201%20.25-.12q.14%200%20.26.12l.76.76a.4.4%200%200%201%20.11.25.4.4%200%200%201-.11.26z'/%3e%3c/g%3e%3c/svg%3e",O={class:"flex h-full grow flex-col justify-center"},z=t.defineComponent({__name:"PaymentMethodOnlineBanking",props:{paymentMethod:{},i18n:{},isDefault:{type:Boolean},variant:{default:"default"}},setup(e){const a=e,o=t.computed(()=>{var n;return(n=a.paymentMethod.online_banking)!=null&&n.variant?L[a.paymentMethod.online_banking.variant]:void 0}),l=y(()=>{var n;return(n=o.value)==null?void 0:n.logo});return(n,s)=>{var i,d;return t.openBlock(),t.createBlock(h,{"image-alt":((i=o.value)==null?void 0:i.name)??((d=e.i18n)==null?void 0:d.imageAlt)??"Bank transfer","image-src":t.unref(l)??t.unref(R),variant:e.variant,disabled:e.paymentMethod.status==="INACTIVE"},{default:t.withCtx(()=>[t.createElementVNode("div",O,[t.createVNode(c._sfc_main,{tag:"span",weight:"semibold","no-spacing":"",variant:e.variant==="condensed"?"body-xs":"body-sm",color:e.variant==="condensed"?"secondary":void 0},{default:t.withCtx(()=>{var r;return[t.createTextVNode(t.toDisplayString((r=o.value)==null?void 0:r.name)+" ",1),e.paymentMethod.status==="SETUP"?(t.openBlock(),t.createBlock(g._sfc_main,{key:0,size:"sm",intent:"info",class:"ml-1 font-normal"},{default:t.withCtx(()=>{var u;return[t.createTextVNode(t.toDisplayString(((u=e.i18n)==null?void 0:u.pendingLabel)??"Pending"),1)]}),_:1})):t.createCommentVNode("",!0)]}),_:1},8,["variant","color"]),e.variant==="default"?(t.openBlock(),t.createBlock(c._sfc_main,{key:0,tag:"span",variant:"body-xs",color:"subtle","no-spacing":""},{default:t.withCtx(()=>{var r,u;return[t.createTextVNode(t.toDisplayString(((r=e.paymentMethod.online_banking)==null?void 0:r.iban)??((u=e.i18n)==null?void 0:u.onlineBankingLabel)??"Online banking"),1)]}),_:1})):t.createCommentVNode("",!0),t.createVNode(v,{"is-default":e.isDefault},null,8,["is-default"]),t.createVNode(f,{"is-inactive":e.paymentMethod.status==="INACTIVE"},null,8,["is-inactive"])])]),_:1},8,["image-alt","image-src","variant","disabled"])}}}),Y=t.defineComponent({__name:"PaymentMethod",props:{paymentMethod:{},variant:{},i18n:{},options:{},disabled:{type:Boolean}},setup(e){return(a,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[e.paymentMethod.type==="CARD"?(t.openBlock(),t.createBlock(D,t.mergeProps({key:0},a.$attrs,{"payment-method":e.paymentMethod,variant:e.variant,"is-default":e.paymentMethod.is_default,options:e.options}),null,16,["payment-method","variant","is-default","options"])):t.createCommentVNode("",!0),e.paymentMethod.type==="ONLINE_BANKING"?(t.openBlock(),t.createBlock(z,t.mergeProps({key:1},a.$attrs,{"payment-method":e.paymentMethod,variant:e.variant,"is-default":e.paymentMethod.is_default,options:e.options}),null,16,["payment-method","variant","is-default","options"])):t.createCommentVNode("",!0),e.paymentMethod.type==="BUY_NOW_PAY_LATER"?(t.openBlock(),t.createBlock(b,t.mergeProps({key:2},a.$attrs,{"payment-method":e.paymentMethod,variant:e.variant,"is-default":e.paymentMethod.is_default,options:e.options}),null,16,["payment-method","variant","is-default","options"])):t.createCommentVNode("",!0),e.paymentMethod.type==="DIRECT_DEBIT"?(t.openBlock(),t.createBlock($,t.mergeProps({key:3},a.$attrs,{"payment-method":e.paymentMethod,variant:e.variant,"is-default":e.paymentMethod.is_default,options:e.options}),null,16,["payment-method","variant","is-default","options"])):t.createCommentVNode("",!0),e.paymentMethod.type==="DIGITAL_WALLET"?(t.openBlock(),t.createBlock(T,t.mergeProps({key:4},a.$attrs,{"payment-method":e.paymentMethod,variant:e.variant,"is-default":e.paymentMethod.is_default,options:e.options}),null,16,["payment-method","variant","is-default","options"])):t.createCommentVNode("",!0)],64))}});exports._sfc_main=Y;
@@ -1 +0,0 @@
1
- const e=require("vue"),p=require("./customer.es-BButyYo0.js"),v=require("./Button.vue.es-CeUTAc2n.js"),E=require("./Section.vue.es-CSrVPlUK.js"),N=require("./customElements-hH6pju3X.js"),x=require("./Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js"),T=require("./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-4RmdLbzY.js"),y=require("./usePaymentMethodAvailability-DwtT5Czz.js"),q=require("./url-vloPOiXd.js"),f="NL",R=e.defineComponent({__name:"PaymentMethodForm",props:{customer:{type:Object},paymentMethodOptions:{type:Array},configuration:{type:Object},isLoading:{type:Boolean,default:!1},countryCode:{type:String},title:{type:String},hideSubmitButton:{type:Boolean}},emits:["success","failure"],setup(i,{expose:_,emit:h}){const b={currency:"EUR",quantity:"0"},n=i,m=h,{$t:u}=N.useIntl(),{availability:g}=y.usePaymentMethodAvailability({paymentMethodOptions:()=>n.paymentMethodOptions,isLoading:()=>n.isLoading,context:()=>{var t;return{invoiceId:(t=n.configuration)==null?void 0:t.invoiceId}}}),l=e.ref(),C=e.ref(),s=e.ref(!1),r=e.ref(!1);function d(){var t;s.value=!0,(t=l.value)==null||t.submit()}const k=e.computed(()=>u({defaultMessage:"Save payment method",description:"Label of the button that stores the entered payment method",id:"components.payment_method_form.submit_button.label"}));_({submit:d,isPaymentPending:s,isCompleted:r});function O(){s.value=!1,r.value=!0,m("success")}function B(t){s.value=!1,m("failure",t)}const S=t=>(t==null?void 0:t.variant)==="AUTHORIZE"?t:{...t,variant:"TOKENIZE"},o=e.computed(()=>S(n.configuration)),I=e.computed(()=>r.value&&!n.hideSubmitButton&&!!o.value.successRedirectUrl),P=e.computed(()=>o.value.successRedirectLabel??u({defaultMessage:"Continue",description:"Label of the button that leaves the form once the payment method is stored",id:"components.payment_method_form.continue_button.label"}));function L(){const{successRedirectUrl:t}=o.value;t&&q.safeUrlRedirect(t)}const M=e.computed(()=>{let t=f;if(n.countryCode)return t=n.countryCode,t;if(n.customer){const a=p.getCustomerCountry(n.customer);if(a)return t=a,t}return f}),A=e.computed(()=>{const t=o.value.variant,a=p.getCustomerName(n.customer),c={amount:o.value.amount??b,paymentMethodOptions:n.paymentMethodOptions,countryCode:M.value,...n.customer.email?{email:n.customer.email}:{},...a?{name:a}:{},validateOnSubmit:o.value.validateOnSubmit,forceStorePaymentMethod:o.value.forceStorePaymentMethod,selectedOption:o.value.selectedOption,invoiceId:o.value.invoiceId};return t==="AUTHORIZE"?{...c,variant:t,context:o.value.context}:{...c,variant:"TOKENIZE",customerId:n.customer.id}});return(t,a)=>i.isLoading?(e.openBlock(),e.createBlock(x._sfc_main,{key:0,variant:"section",class:"sv-payment-method-form sv-root sv-component sv-loading min-h-[180px]","data-testid":"payment-method-form-skeleton"})):e.unref(g)==="UNAVAILABLE"?(e.openBlock(),e.createBlock(y._sfc_main,{key:1,class:"sv-payment-method-form sv-root sv-component",variant:o.value.variant??"TOKENIZE"},null,8,["variant"])):(e.openBlock(),e.createBlock(e.unref(E._sfc_main),{key:2,class:"sv-payment-method-form sv-root sv-component","no-border":"","no-spacing":"","content-background":"none",title:i.title??e.unref(u)({defaultMessage:"Available payment methods",description:"Title of the available payment methods form",id:"components.payment_method_form.section_title"})},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({"pointer-events-none opacity-60":s.value})},[e.createVNode(T._sfc_main,e.mergeProps({ref_key:"paymentIntegrationFormRef",ref:l,class:"sv-payment-method-form__integration"},A.value,{onSelect:a[0]||(a[0]=c=>C.value=c),onPaymentSuccess:O,onPaymentFailed:B}),null,16)],2),I.value?(e.openBlock(),e.createBlock(e.unref(v._sfc_main),{key:0,intent:"primary",class:"mt-4 w-full","data-testid":"payment-method-form-continue",onClick:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(P.value),1)]),_:1})):!i.hideSubmitButton&&!r.value?(e.openBlock(),e.createBlock(e.unref(v._sfc_main),{key:1,intent:"primary",class:"mt-4 w-full",loading:s.value,onClick:d},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(k.value),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)]),_:1},8,["title"]))}});exports._sfc_main=R;
@@ -1 +0,0 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./Section.vue.es-CSrVPlUK.js"),g=require("./customElements-hH6pju3X.js"),w=require("./useTimePeriod.es-anHB63am.js"),x=require("./formatting.es-C72Nsrmh.js"),S=require("./Expand.vue.es-BtM0EZEr.js"),B=require("./Button.vue.es-CeUTAc2n.js"),N=require("./IconButton.vue.es-CytBZUkZ.js"),P=require("./Input.vue.es-BkzQDkrz.js"),A=require("./Chip.vue.es-BN83K3Tk.js"),y=require("./Checkout.entry.ce-DgA0ckyl.js"),z=require("./index-DwueOtPi.js"),V=require("./PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-iE4dLawA.js"),E=require("./pricing-BVAld27Y.js"),D=require("./pricingPlanSchedule-BM8vsKkV.js"),q=require("./subscription-ZA62t4E9.js"),$=e.defineComponent({__name:"DeltaChip",props:{oldValue:{},newValue:{},intent:{default:"neutral"},content:{},removable:{type:Boolean},size:{},variant:{},textClass:{},tag:{},hasChipBefore:{type:Boolean},hasChipAfter:{type:Boolean}},setup(t){const i=e.createPropsRestProxy(t,["oldValue","newValue","intent"]),n=e.computed(()=>{const o=t.newValue-t.oldValue;return`${o>=0?"+":""}${o}`});return(o,r)=>(e.openBlock(),e.createBlock(e.unref(A._sfc_main),e.mergeProps(i,{intent:t.intent,class:"pointer-events-none select-none"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value),1)]),_:1},16,["intent"]))}}),U={class:"flex items-center gap-1.5"},T=e.defineComponent({__name:"StepInput",props:e.mergeModels({step:{default:1},min:{default:0},max:{},initialValue:{default:1},unitName:{},showDelta:{type:Boolean,default:!1},size:{default:"md"},name:{},required:{type:Boolean},label:{},error:{},disabled:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=t,n=e.useModel(t,"modelValue"),o=e.ref(null),r=e.computed(()=>{if(i.unitName)return i.unitName[n.value===1?"singular":"plural"]}),l=()=>{i.max&&n.value+i.step>i.max||(n.value+=i.step)},c=()=>{n.value-i.step<i.min||(n.value-=i.step)};function a(m){var f;const b=(f=o.value)==null?void 0:f.el;if(!b)return;const v=parseInt(`${m}`);n.value=v,b.innerText=`${v}`,b.focus();const h=document.createRange();h.selectNodeContents(b),h.collapse(!1);const k=window.getSelection();k==null||k.removeAllRanges(),k==null||k.addRange(h)}const p=m=>{const f=m.target;f instanceof HTMLElement&&a(f.innerText)},s=e.computed(()=>i.disabled?!1:i.max?n.value+i.step<i.max:!0),d=e.computed(()=>i.disabled?!1:n.value-i.step>=i.min);function u(){var m;const f=(m=o.value)==null?void 0:m.el;if(!f)return;f.focus();const b=document.createRange();b.selectNodeContents(f);const v=window.getSelection();v==null||v.removeAllRanges(),v==null||v.addRange(b)}return e.onMounted(()=>{var m;const f=(m=o.value)==null?void 0:m.el;f&&(f.innerText=`${n.value}`)}),e.watch(()=>n.value,m=>{a(m)}),(m,f)=>(e.openBlock(),e.createBlock(P._sfc_main,{modelValue:n.value,"onUpdate:modelValue":f[0]||(f[0]=b=>n.value=b),type:"number",class:"text-transparent [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none","prefix-class":{"!px-0 w-5":t.size==="sm","!px-0 w-6":t.size==="md","!px-0 w-7":t.size==="lg"},"suffix-class":{"!px-0 w-5":t.size==="sm","!px-0 w-6":t.size==="md","!px-0 w-7":t.size==="lg"},size:t.size,label:t.label,disabled:t.disabled,name:t.name,required:t.required},e.createSlots({prefix:e.withCtx(()=>[e.createElementVNode("div",{class:"absolute inset-0 flex items-center justify-center",onMousedown:u},[e.createElementVNode("div",U,[e.createVNode(g._sfc_main,{ref_key:"contentEditableRef",ref:o,tag:"span",variant:t.size==="sm"?"body":"body-lg",contenteditable:!t.disabled,class:e.normalizeClass(["outline-none",{"pointer-events-none select-none":t.disabled}]),weight:"semibold",onInput:p},null,8,["variant","contenteditable","class"]),r.value?(e.openBlock(),e.createBlock(g._sfc_main,{key:0,tag:"span",color:"subtle",class:"pointer-events-none select-none"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(r.value),1)]),_:1})):e.createCommentVNode("",!0),t.showDelta?(e.openBlock(),e.createBlock($,{key:1,"old-value":i.initialValue,"new-value":n.value,class:"pointer-events-none ml-0.5 select-none"},null,8,["old-value","new-value"])):e.createCommentVNode("",!0)])],32),e.createVNode(N._sfc_main,{disabled:!d.value,type:"button",intent:"subtle",size:"sm",class:e.normalizeClass(["!h-full select-none rounded-br-none rounded-tr-none",{"!w-7":t.size==="lg","!w-5":t.size==="sm","!w-6":t.size==="md"}]),icon:"remove",onMousedown:c},null,8,["disabled","class"])]),suffix:e.withCtx(()=>[e.createVNode(N._sfc_main,{disabled:!s.value,type:"button",intent:"subtle",size:"sm",class:e.normalizeClass(["!h-full select-none rounded-bl-none rounded-tl-none",{"!w-7":t.size==="lg","!w-5":t.size==="sm","!w-6":t.size==="md"}]),icon:"add",onMousedown:l},null,8,["disabled","class"])]),_:2},[m.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"helper")]),key:"0"}:void 0]),1032,["modelValue","prefix-class","suffix-class","size","label","disabled","name","required"]))}}),I={class:"grid grid-cols-2 gap-2"},F=e.defineComponent({__name:"TieredTableRow",props:{band:{type:Object},previousBand:{type:Object},isFirst:{type:Boolean},period:{type:Object}},setup(t){const i=t,{$t:n}=g.useIntl(),{formatTimePeriod:o}=w.useTimePeriod(),r=e.computed(()=>{var c;if(i.isFirst)return"0";if((c=i.previousBand)!=null&&c.tier_top_bound&&"number"in i.previousBand.tier_top_bound)return i.previousBand.tier_top_bound.number}),l=e.computed(()=>{if(!(!i.band.tier_top_bound||!("number"in i.band.tier_top_bound)))return i.band.tier_top_bound.number});return(c,a)=>(e.openBlock(),e.createElementBlock("div",I,[e.createVNode(e.unref(g._sfc_main),{variant:"body-xs",color:"subtle",tag:"div"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"{lower_bound} - {upper_bound} seats",id:"seats.tiered_range_label",description:"The label showing the seat count range for a tiered pricing tier"},{lower_bound:r.value??"0",upper_bound:l.value})),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"> {lower_bound} seats",id:"seats.tiered_unbounded_range_label",description:"The label showing the unbounded seat count range (greater than) for a tiered pricing tier"},{lower_bound:r.value??"0"})),1)],64))]),_:1}),e.createVNode(e.unref(g._sfc_main),{variant:"body-xs",color:"subtle",tag:"div",class:"text-right"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.band.amount&&e.unref(n)({defaultMessage:"{amount} per seat/{period}",id:"seats.tiered_price_per_seat_period",description:"The price per seat and billing period label for a tiered pricing tier"},{amount:e.unref(x.formatAmount)(t.band.amount),period:t.period?e.unref(o)(t.period,{short:!0,hideValueForExactPeriods:!0}):""})),1)]),_:1})]))}}),O={class:"grid grid-cols-1 gap-0.5 pt-1.5"},L=e.defineComponent({__name:"TieredTable",props:{bands:{type:Array},period:{type:Object}},setup(t){return(i,n)=>(e.openBlock(),e.createElementBlock("div",O,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.bands,(o,r)=>(e.openBlock(),e.createBlock(F,{key:r,band:o,"is-first":r===0,"previous-band":r>0?t.bands[r-1]:void 0,period:t.period},null,8,["band","is-first","previous-band","period"]))),128))]))}});function M({pricings:t,pricingItemConfigId:i}){return e.computed(()=>{var r,l,c,a,p,s,d,u;const{config:n,productItem:o}=y.getPricingItemByPricingConfigId({pricings:t,pricingItemConfigId:i});return{billing:{period:(l=(r=n==null?void 0:n.billing_period_configs)==null?void 0:r[0])==null?void 0:l.billing_period,billedInAdvance:n==null?void 0:n.billing_in_advance},product:{name:o==null?void 0:o.name,description:o==null?void 0:o.description},pricing:{...((c=n==null?void 0:n.details)==null?void 0:c.pricing_type)==="FLAT"&&{amount:(s=(p=(a=n.details)==null?void 0:a.bands)==null?void 0:p[0])==null?void 0:s.amount},...((d=n==null?void 0:n.details)==null?void 0:d.pricing_type)==="TIERED"&&{tiered:{bands:(u=n.details)==null?void 0:u.bands}}}}})}const R={class:"flex flex-row-reverse gap-4 md:flex-row"},j={class:"w-24 shrink-0 justify-start md:w-32"},Y=["tabindex"],K={key:0},X={key:0},H=e.defineComponent({__name:"SeatsEditorItem",props:e.mergeModels({modelValue:{type:Object},defaultValue:{type:Object},pricings:{type:Array}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=t,n=e.useModel(t,"modelValue"),{$t:o}=g.useIntl(),{formatTimePeriod:r}=w.useTimePeriod(),l=e.ref(!1),c=e.computed({get:()=>+(n.value.number||y.FALLBACK_SEATS_NUMBER),set(s){n.value={...n.value,number:s!==void 0?s.toString():void 0}}}),a=M({pricings:i.pricings,pricingItemConfigId:n.value.pricing_item_config_id}),p=e.computed(()=>{var s,d;return!!((d=(s=a.value.pricing)==null?void 0:s.tiered)!=null&&d.bands)});return(s,d)=>{var u,m,f;return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",R,[e.createElementVNode("div",j,[e.createVNode(e.unref(T),{modelValue:c.value,"onUpdate:modelValue":d[0]||(d[0]=b=>c.value=b),size:"sm",min:(u=t.defaultValue)!=null&&u.number?+t.defaultValue.number:void 0},null,8,["modelValue","min"])]),e.createElementVNode("div",{class:e.normalizeClass(["flex grow flex-col",{"hover:cursor-pointer":p.value}]),tabindex:p.value?0:void 0,onClick:d[1]||(d[1]=b=>p.value?l.value=!l.value:void 0)},[e.createVNode(e.unref(g._sfc_main),{tag:"span",variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).product.name||e.unref(o)({defaultMessage:"Seats",id:"seats.label",description:"The label for the seats input field"})),1)]),_:1}),e.unref(a).pricing.amount?(e.openBlock(),e.createBlock(e.unref(g._sfc_main),{key:0,tag:"span",variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"{amount} per seat/{period}",id:"seats.price_per_seat_period",description:"The price per seat and billing period label for seat-based pricing"},{amount:e.unref(x.formatAmount)(e.unref(a).pricing.amount),period:e.unref(a).billing.period?e.unref(r)(e.unref(a).billing.period,{short:!0,hideValueForExactPeriods:!0}):""})),1)]),_:1})):e.unref(a).pricing.tiered?(e.openBlock(),e.createBlock(e.unref(g._sfc_main),{key:1,tag:"span",variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Tiered pricing",id:"seats.tiered_pricing_label",description:"The label indicating tiered pricing structure for seats"}))+" ",1),e.createVNode(e.unref(B._sfc_main$1),{icon:"keyboard_arrow_down",size:"xs",class:e.normalizeClass(["absolute text-gray-400 transition ease-in-out",{"rotate-0":!l.value,"rotate-180":l.value}])},null,8,["class"])]),_:1})):e.createCommentVNode("",!0)],10,Y)]),(f=(m=e.unref(a).pricing)==null?void 0:m.tiered)!=null&&f.bands?(e.openBlock(),e.createElementBlock("div",K,[e.createVNode(e.unref(S._sfc_main),{"is-open":l.value},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(L,{bands:e.unref(a).pricing.tiered.bands,period:e.unref(a).billing.period},null,8,["bands","period"])])):e.createCommentVNode("",!0)]),_:1},8,["is-open"])])):e.createCommentVNode("",!0)])}}}),J={key:0,class:"grid grid-cols-1 gap-1"},Q=e.defineComponent({__name:"SeatsEditor",props:e.mergeModels({modelValue:{type:Array},initialSeatsValues:{type:Array},pricings:{type:Array}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=e.useModel(t,"modelValue"),n=o=>e.computed({get:()=>i.value[o],set:r=>{const l=i.value.slice();l[o]=r,i.value=l}});return(o,r)=>t.modelValue.length>0?(e.openBlock(),e.createElementBlock("div",J,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.modelValue,(l,c)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:c},{default:e.withCtx(()=>{var a;return[l.pricing_item_config_id?(e.openBlock(),e.createBlock(H,{key:l.pricing_item_config_id,modelValue:n(c).value,"onUpdate:modelValue":p=>n(c).value=p,"default-value":(a=t.initialSeatsValues)==null?void 0:a[c],pricings:t.pricings},null,8,["modelValue","onUpdate:modelValue","default-value","pricings"])):e.createCommentVNode("",!0)]}),_:2},1024))),128))])):e.createCommentVNode("",!0)}}),W={class:"flex flex-row-reverse gap-4 md:flex-row"},Z={class:"w-24 shrink-0 justify-start md:w-32"},G={class:"flex grow flex-col"},ee=e.defineComponent({__name:"UnitsEditorItem",props:e.mergeModels({modelValue:{type:Object},defaultValue:{type:Object},pricings:{type:Array}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=t,n=e.useModel(t,"modelValue"),{$t:o}=g.useIntl(),r=e.computed({get:()=>+(n.value.number||y.FALLBACK_UNITS_NUMBER),set(c){n.value={...n.value,number:c!==void 0?c.toString():void 0}}}),l=M({pricings:i.pricings,pricingItemConfigId:n.value.pricing_item_config_id});return(c,a)=>{var p;return e.openBlock(),e.createElementBlock("div",W,[e.createElementVNode("div",Z,[e.createVNode(e.unref(T),{modelValue:r.value,"onUpdate:modelValue":a[0]||(a[0]=s=>r.value=s),size:"sm",min:(p=t.defaultValue)!=null&&p.number?+t.defaultValue.number:void 0},null,8,["modelValue","min"])]),e.createElementVNode("div",G,[e.createVNode(e.unref(g._sfc_main),{tag:"span",variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).product.name||e.unref(o)({defaultMessage:"Units",id:"units.label",description:"The label for the one-off flat item units input field"})),1)]),_:1}),e.unref(l).pricing.amount?(e.openBlock(),e.createBlock(e.unref(g._sfc_main),{key:0,tag:"span",variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"{amount} per unit",id:"units.price_per_unit",description:"The price per unit label for one-off flat pricing"},{amount:e.unref(x.formatAmount)(e.unref(l).pricing.amount)})),1)]),_:1})):e.createCommentVNode("",!0)])])}}}),te={key:0,class:"grid grid-cols-1 gap-1"},ne=e.defineComponent({__name:"UnitsEditor",props:e.mergeModels({modelValue:{type:Array},initialUnitsValues:{type:Array},pricings:{type:Array}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=e.useModel(t,"modelValue"),n=o=>e.computed({get:()=>i.value[o],set:r=>{const l=i.value.slice();l[o]=r,i.value=l}});return(o,r)=>t.modelValue.length>0?(e.openBlock(),e.createElementBlock("div",te,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.modelValue,(l,c)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:c},{default:e.withCtx(()=>{var a;return[l.pricing_item_config_id?(e.openBlock(),e.createBlock(ee,{key:l.pricing_item_config_id,modelValue:n(c).value,"onUpdate:modelValue":p=>n(c).value=p,"default-value":(a=t.initialUnitsValues)==null?void 0:a[c],pricings:t.pricings},null,8,["modelValue","onUpdate:modelValue","default-value","pricings"])):e.createCommentVNode("",!0)]}),_:2},1024))),128))])):e.createCommentVNode("",!0)}}),ie={class:"p-1"},oe={class:"grid grid-cols-1 gap-1 pt-1"},le=e.defineComponent({__name:"AddonSingleEditor",props:e.mergeModels({constraint:{type:String},modelValue:{type:Array},pricings:{type:Array},billingPeriod:{type:Object},currency:{type:String},groupName:{type:String}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=t,n=e.useModel(t,"modelValue"),{$t:o}=g.useIntl(),{describePricing:r}=V.usePricingDescription({currency:e.toRef(i,"currency"),billingPeriod:e.toRef(i,"billingPeriod")}),l=i.pricings.map(s=>s.id),c=e.computed(()=>i.constraint==="AT_MOST_ONE"?o({defaultMessage:"Select up to one product",id:"addon_single_editor.description.at_most_one",description:"The description of the addon single editor for at most one product"}):i.constraint==="EXACTLY_ONE"?o({defaultMessage:"Select one product",id:"addon_single_editor.description.exactly_one",description:"The description of the addon single editor for exactly one product"}):i.constraint==="AT_LEAST_ONE"?o({defaultMessage:"Select at least one product",id:"addon_single_editor.description.at_least_one",description:"The description of the addon single editor for at least one product"}):""),a=s=>i.modelValue.includes(s),p=s=>{if(a(s))n.value=n.value.filter(d=>d!==s);else{const d=n.value.filter(u=>!l.includes(u));n.value=[...d,s]}};return(s,d)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{"no-spacing":""},{default:e.withCtx(()=>[e.createElementVNode("div",ie,[e.createVNode(V._sfc_main$1,null,{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.groupName),1)]),description:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.value),1)]),_:1}),e.createElementVNode("div",oe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricings,u=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:u.id,"content-background":"none",class:e.normalizeClass({"!bg-white":a(u.id)})},{default:e.withCtx(()=>[e.createVNode(y._sfc_main,{name:e.unref(E.getNameFromPricing)(u)??"",description:e.unref(r)(u)},{default:e.withCtx(()=>[e.createVNode(e.unref(z._sfc_main),{"model-value":a(u.id),"onUpdate:modelValue":m=>p(u.id)},null,8,["model-value","onUpdate:modelValue"])]),_:2},1032,["name","description"])]),_:2},1032,["class"]))),128))])])]),_:1}))}}),ae={class:"grid grid-cols-1 gap-1"},C=e.defineComponent({__name:"AddonMultipleEditor",props:e.mergeModels({modelValue:{type:Array},pricings:{type:Array},billingPeriod:{type:Object},currency:{type:String},groupName:{type:String}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const i=t,n=e.useModel(t,"modelValue"),{$t:o}=g.useIntl(),{describePricing:r}=V.usePricingDescription({currency:e.toRef(i,"currency"),billingPeriod:e.toRef(i,"billingPeriod")}),l=a=>n.value.includes(a),c=a=>{l(a)?n.value=n.value.filter(p=>p!==a):n.value=[...n.value,a]};return(a,p)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{"no-spacing":"","no-border":!t.groupName,"content-background":t.groupName?"gray":"none"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["grid grid-cols-1 gap-1",{"p-1":t.groupName}])},[t.groupName?(e.openBlock(),e.createBlock(V._sfc_main$1,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.groupName),1)]),description:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Select any number of products",id:"addon_multiple_editor.description",description:"The description of the addon multiple editor"})),1)]),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricings,s=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:s.id,"content-background":t.groupName||l(s.id)?"none":"gray",class:e.normalizeClass({"!bg-white":l(s.id)})},{default:e.withCtx(()=>[e.createVNode(y._sfc_main,{name:e.unref(E.getNameFromPricing)(s)??"",description:e.unref(r)(s)},{default:e.withCtx(()=>[l(s.id)?(e.openBlock(),e.createBlock(e.unref(B._sfc_main),{key:0,intent:"secondary",square:"",size:"sm","icon-prefix":"remove_shopping_cart",onClick:d=>c(s.id)},null,8,["onClick"])):(e.openBlock(),e.createBlock(e.unref(B._sfc_main),{key:1,intent:"primary","icon-prefix":"add",size:"sm",onClick:d=>c(s.id)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Add to subscription ",id:"addon_multiple_editor.add_to_subscription_button",description:"The button to add a pricing to the subscription"})),1)]),_:1},8,["onClick"]))]),_:2},1032,["name","description"])]),_:2},1032,["content-background","class"]))),128))])],2)]),_:1},8,["no-border","content-background"]))}});function re(t){var n;return(((n=t.pricing_categories)==null?void 0:n.flatMap(o=>o.pricings??[]))??[]).filter(o=>o!==null)}const se={class:"sv-plan-customization__body grid grid-cols-1 gap-1"},ue=e.defineComponent({__name:"PlanCustomizationEditor",props:e.mergeModels({subscription:{type:Object},enabledPricingIds:{type:Array},initialSeatsValues:{type:Array},initialUnitsValues:{type:Array},billingPeriod:{type:Object},currency:{type:String}},{seatsValues:{required:!0},seatsValuesModifiers:{},unitsValues:{required:!0},unitsValuesModifiers:{},enabledPricingIds:{required:!0},enabledPricingIdsModifiers:{}}),emits:["update:seatsValues","update:unitsValues","update:enabledPricingIds"],setup(t){const i=t,n=e.useModel(t,"seatsValues"),o=e.useModel(t,"unitsValues"),r=e.useModel(t,"enabledPricingIds"),{$t:l}=g.useIntl(),c=e.computed(()=>{var d;const s=(d=D.getFirstPricingPlanScheduleOfType({pricingPlanScheduleInfos:i.subscription.pricing_plan_schedule_infos,type:"DEFAULT"}))==null?void 0:d.pricing_plan_version;return s?re(s):[]}),a=e.computed(()=>c.value.filter(s=>s.product_type==="ADDON")),p=e.computed(()=>q.getPricingGroupsFromExtendedPricingPlanSubscription(i.subscription));return(s,d)=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{class:"sv-plan-customization",title:e.unref(l)({defaultMessage:"Customize plan",id:"checkout.customize_plan_block.title",description:"The title of the customize plan block in the checkout form"}),"no-spacing":"","no-border":"","content-background":"none"},{default:e.withCtx(()=>[e.createElementVNode("div",se,[e.createVNode(Q,{modelValue:n.value,"onUpdate:modelValue":d[0]||(d[0]=u=>n.value=u),class:"sv-plan-customization__seats","initial-seats-values":t.initialSeatsValues,pricings:c.value},null,8,["modelValue","initial-seats-values","pricings"]),e.createVNode(ne,{modelValue:o.value,"onUpdate:modelValue":d[1]||(d[1]=u=>o.value=u),class:"sv-plan-customization__units","initial-units-values":t.initialUnitsValues,pricings:c.value},null,8,["modelValue","initial-units-values","pricings"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,u=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:u.id},[u.product_type==="DEFAULT"&&u.selection_constraint==="EXACTLY_ONE"?(e.openBlock(),e.createBlock(V._sfc_main,{key:0,modelValue:r.value,"onUpdate:modelValue":d[2]||(d[2]=m=>r.value=m),class:"sv-plan-customization__group","group-name":u.name,pricings:u.pricings,"billing-period":t.billingPeriod,currency:t.currency},null,8,["modelValue","group-name","pricings","billing-period","currency"])):u.product_type==="ADDON"&&u.selection_constraint==="AT_MOST_ONE"?(e.openBlock(),e.createBlock(le,{key:1,modelValue:r.value,"onUpdate:modelValue":d[3]||(d[3]=m=>r.value=m),class:"sv-plan-customization__group","group-name":u.name,pricings:u.pricings,constraint:u.selection_constraint,"billing-period":t.billingPeriod,currency:t.currency},null,8,["modelValue","group-name","pricings","constraint","billing-period","currency"])):u.product_type==="ADDON"&&u.selection_constraint==="ANY"?(e.openBlock(),e.createBlock(C,{key:2,modelValue:r.value,"onUpdate:modelValue":d[4]||(d[4]=m=>r.value=m),class:"sv-plan-customization__group",pricings:u.pricings,"group-name":u.name,"billing-period":t.billingPeriod,currency:t.currency},null,8,["modelValue","pricings","group-name","billing-period","currency"])):e.createCommentVNode("",!0)],64))),128)),e.createVNode(C,{modelValue:r.value,"onUpdate:modelValue":d[5]||(d[5]=u=>r.value=u),class:"sv-plan-customization__group",pricings:a.value,"billing-period":t.billingPeriod,currency:t.currency},null,8,["modelValue","pricings","billing-period","currency"])])]),_:1},8,["title"]))}});exports.default=ue;