@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
@@ -0,0 +1,722 @@
1
+ import { defineComponent as A, computed as V, openBlock as l, createElementBlock as _, createVNode as b, unref as t, withCtx as p, Fragment as $, createTextVNode as v, toDisplayString as y, renderList as E, createBlock as f, useModel as T, ref as K, createElementVNode as h, normalizeClass as w, createCommentVNode as k, mergeModels as x, toRef as U } from "vue";
2
+ import { _ as M } from "./Section.vue.es-DVEpre9O.mjs";
3
+ import { a as N, _ as S } from "./customElements-B58FcXIN.mjs";
4
+ import { u as I } from "./useTimePeriod.es-DWLsLFqs.mjs";
5
+ import { f as O } from "./formatting.es-RclXHhKo.mjs";
6
+ import { _ as X } from "./Expand.vue.es-BleuAfDz.mjs";
7
+ import { a as H, _ as F } from "./Button.vue.es-Cmjfm4jw.mjs";
8
+ import { _ as D } from "./StepInput.vue.es-o-3Lg4Ai.mjs";
9
+ import { g as J, F as Q, a as W, _ as L } from "./Checkout.entry.ce-X2zGo6hG.mjs";
10
+ import { a as z, u as q, _ as Z } from "./PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs";
11
+ import { _ as G } from "./formControl-dX7l8o3c.mjs";
12
+ import { g as R } from "./pricing-BIMpDI_p.mjs";
13
+ import { g as ee } from "./pricingPlanSchedule-BPrS2WRd.mjs";
14
+ import { b as te } from "./subscription-D1yHKUNc.mjs";
15
+ const ie = { class: "grid grid-cols-2 gap-2" }, ne = /* @__PURE__ */ A({
16
+ __name: "TieredTableRow",
17
+ props: {
18
+ band: { type: Object },
19
+ previousBand: { type: Object },
20
+ isFirst: { type: Boolean },
21
+ period: { type: Object }
22
+ },
23
+ setup(e) {
24
+ const r = e, { $t: i } = N(), { formatTimePeriod: n } = I(), s = V(() => {
25
+ var c;
26
+ if (r.isFirst)
27
+ return "0";
28
+ if ((c = r.previousBand) != null && c.tier_top_bound && "number" in r.previousBand.tier_top_bound)
29
+ return r.previousBand.tier_top_bound.number;
30
+ }), u = V(() => {
31
+ if (!(!r.band.tier_top_bound || !("number" in r.band.tier_top_bound)))
32
+ return r.band.tier_top_bound.number;
33
+ });
34
+ return (c, a) => (l(), _("div", ie, [
35
+ b(t(S), {
36
+ variant: "body-xs",
37
+ color: "subtle",
38
+ tag: "div"
39
+ }, {
40
+ default: p(() => [
41
+ u.value ? (l(), _($, { key: 0 }, [
42
+ v(y(t(i)(
43
+ {
44
+ defaultMessage: "{lower_bound} - {upper_bound} seats",
45
+ id: "seats.tiered_range_label",
46
+ description: "The label showing the seat count range for a tiered pricing tier"
47
+ },
48
+ {
49
+ lower_bound: s.value ?? "0",
50
+ upper_bound: u.value
51
+ }
52
+ )), 1)
53
+ ], 64)) : (l(), _($, { key: 1 }, [
54
+ v(y(t(i)(
55
+ {
56
+ defaultMessage: "> {lower_bound} seats",
57
+ id: "seats.tiered_unbounded_range_label",
58
+ description: "The label showing the unbounded seat count range (greater than) for a tiered pricing tier"
59
+ },
60
+ {
61
+ lower_bound: s.value ?? "0"
62
+ }
63
+ )), 1)
64
+ ], 64))
65
+ ]),
66
+ _: 1
67
+ }),
68
+ b(t(S), {
69
+ variant: "body-xs",
70
+ color: "subtle",
71
+ tag: "div",
72
+ class: "text-right"
73
+ }, {
74
+ default: p(() => [
75
+ v(y(e.band.amount && t(i)(
76
+ {
77
+ defaultMessage: "{amount} per seat/{period}",
78
+ id: "seats.tiered_price_per_seat_period",
79
+ description: "The price per seat and billing period label for a tiered pricing tier"
80
+ },
81
+ {
82
+ amount: t(O)(e.band.amount),
83
+ period: e.period ? t(n)(e.period, {
84
+ short: !0,
85
+ hideValueForExactPeriods: !0
86
+ }) : ""
87
+ }
88
+ )), 1)
89
+ ]),
90
+ _: 1
91
+ })
92
+ ]));
93
+ }
94
+ }), ae = { class: "grid grid-cols-1 gap-0.5 pt-1.5" }, oe = /* @__PURE__ */ A({
95
+ __name: "TieredTable",
96
+ props: {
97
+ bands: { type: Array },
98
+ period: { type: Object }
99
+ },
100
+ setup(e) {
101
+ return (r, i) => (l(), _("div", ae, [
102
+ (l(!0), _($, null, E(e.bands, (n, s) => (l(), f(ne, {
103
+ key: s,
104
+ band: n,
105
+ "is-first": s === 0,
106
+ "previous-band": s > 0 ? e.bands[s - 1] : void 0,
107
+ period: e.period
108
+ }, null, 8, ["band", "is-first", "previous-band", "period"]))), 128))
109
+ ]));
110
+ }
111
+ });
112
+ function Y({
113
+ pricings: e,
114
+ pricingItemConfigId: r
115
+ }) {
116
+ return V(() => {
117
+ var s, u, c, a, g, o, m, d;
118
+ const { config: i, productItem: n } = J({
119
+ pricings: e,
120
+ pricingItemConfigId: r
121
+ });
122
+ return {
123
+ billing: {
124
+ period: (u = (s = i == null ? void 0 : i.billing_period_configs) == null ? void 0 : s[0]) == null ? void 0 : u.billing_period,
125
+ billedInAdvance: i == null ? void 0 : i.billing_in_advance
126
+ },
127
+ product: {
128
+ name: n == null ? void 0 : n.name,
129
+ description: n == null ? void 0 : n.description
130
+ },
131
+ pricing: {
132
+ ...((c = i == null ? void 0 : i.details) == null ? void 0 : c.pricing_type) === "FLAT" && {
133
+ amount: (o = (g = (a = i.details) == null ? void 0 : a.bands) == null ? void 0 : g[0]) == null ? void 0 : o.amount
134
+ },
135
+ ...((m = i == null ? void 0 : i.details) == null ? void 0 : m.pricing_type) === "TIERED" && {
136
+ tiered: { bands: (d = i.details) == null ? void 0 : d.bands }
137
+ }
138
+ }
139
+ };
140
+ });
141
+ }
142
+ const re = { class: "flex flex-row-reverse gap-4 md:flex-row" }, le = { class: "w-24 shrink-0 justify-start md:w-32" }, se = ["tabindex"], de = { key: 0 }, ue = { key: 0 }, ce = /* @__PURE__ */ A({
143
+ __name: "SeatsEditorItem",
144
+ props: /* @__PURE__ */ x({
145
+ modelValue: { type: Object },
146
+ defaultValue: { type: Object },
147
+ pricings: { type: Array }
148
+ }, {
149
+ modelValue: { required: !0 },
150
+ modelModifiers: {}
151
+ }),
152
+ emits: ["update:modelValue"],
153
+ setup(e) {
154
+ const r = e, i = T(e, "modelValue"), { $t: n } = N(), { formatTimePeriod: s } = I(), u = K(!1), c = V({
155
+ get: () => +(i.value.number || Q),
156
+ set(o) {
157
+ i.value = {
158
+ ...i.value,
159
+ number: o !== void 0 ? o.toString() : void 0
160
+ };
161
+ }
162
+ }), a = Y({
163
+ pricings: r.pricings,
164
+ pricingItemConfigId: i.value.pricing_item_config_id
165
+ }), g = V(() => {
166
+ var o, m;
167
+ return !!((m = (o = a.value.pricing) == null ? void 0 : o.tiered) != null && m.bands);
168
+ });
169
+ return (o, m) => {
170
+ var d, P, C;
171
+ return l(), _("div", null, [
172
+ h("div", re, [
173
+ h("div", le, [
174
+ b(t(D), {
175
+ modelValue: c.value,
176
+ "onUpdate:modelValue": m[0] || (m[0] = (B) => c.value = B),
177
+ size: "sm",
178
+ min: (d = e.defaultValue) != null && d.number ? +e.defaultValue.number : void 0
179
+ }, null, 8, ["modelValue", "min"])
180
+ ]),
181
+ h("div", {
182
+ class: w(["flex grow flex-col", { "hover:cursor-pointer": g.value }]),
183
+ tabindex: g.value ? 0 : void 0,
184
+ onClick: m[1] || (m[1] = (B) => g.value ? u.value = !u.value : void 0)
185
+ }, [
186
+ b(t(S), {
187
+ tag: "span",
188
+ variant: "body-sm",
189
+ weight: "semibold"
190
+ }, {
191
+ default: p(() => [
192
+ v(y(t(a).product.name || t(n)({
193
+ defaultMessage: "Seats",
194
+ id: "seats.label",
195
+ description: "The label for the seats input field"
196
+ })), 1)
197
+ ]),
198
+ _: 1
199
+ }),
200
+ t(a).pricing.amount ? (l(), f(t(S), {
201
+ key: 0,
202
+ tag: "span",
203
+ variant: "body-xs",
204
+ color: "subtle"
205
+ }, {
206
+ default: p(() => [
207
+ v(y(t(n)(
208
+ {
209
+ defaultMessage: "{amount} per seat/{period}",
210
+ id: "seats.price_per_seat_period",
211
+ description: "The price per seat and billing period label for seat-based pricing"
212
+ },
213
+ {
214
+ amount: t(O)(t(a).pricing.amount),
215
+ period: t(a).billing.period ? t(s)(t(a).billing.period, {
216
+ short: !0,
217
+ hideValueForExactPeriods: !0
218
+ }) : ""
219
+ }
220
+ )), 1)
221
+ ]),
222
+ _: 1
223
+ })) : t(a).pricing.tiered ? (l(), f(t(S), {
224
+ key: 1,
225
+ tag: "span",
226
+ variant: "body-xs",
227
+ color: "subtle"
228
+ }, {
229
+ default: p(() => [
230
+ v(y(t(n)({
231
+ defaultMessage: "Tiered pricing",
232
+ id: "seats.tiered_pricing_label",
233
+ description: "The label indicating tiered pricing structure for seats"
234
+ })) + " ", 1),
235
+ b(t(H), {
236
+ icon: "keyboard_arrow_down",
237
+ size: "xs",
238
+ class: w(["absolute text-gray-400 transition ease-in-out", { "rotate-0": !u.value, "rotate-180": u.value }])
239
+ }, null, 8, ["class"])
240
+ ]),
241
+ _: 1
242
+ })) : k("", !0)
243
+ ], 10, se)
244
+ ]),
245
+ (C = (P = t(a).pricing) == null ? void 0 : P.tiered) != null && C.bands ? (l(), _("div", de, [
246
+ b(t(X), { "is-open": u.value }, {
247
+ default: p(() => [
248
+ u.value ? (l(), _("div", ue, [
249
+ b(oe, {
250
+ bands: t(a).pricing.tiered.bands,
251
+ period: t(a).billing.period
252
+ }, null, 8, ["bands", "period"])
253
+ ])) : k("", !0)
254
+ ]),
255
+ _: 1
256
+ }, 8, ["is-open"])
257
+ ])) : k("", !0)
258
+ ]);
259
+ };
260
+ }
261
+ }), me = {
262
+ key: 0,
263
+ class: "grid grid-cols-1 gap-1"
264
+ }, pe = /* @__PURE__ */ A({
265
+ __name: "SeatsEditor",
266
+ props: /* @__PURE__ */ x({
267
+ modelValue: { type: Array },
268
+ initialSeatsValues: { type: Array },
269
+ pricings: { type: Array }
270
+ }, {
271
+ modelValue: { required: !0 },
272
+ modelModifiers: {}
273
+ }),
274
+ emits: ["update:modelValue"],
275
+ setup(e) {
276
+ const r = T(e, "modelValue"), i = (n) => V({
277
+ get: () => r.value[n],
278
+ set: (s) => {
279
+ const u = r.value.slice();
280
+ u[n] = s, r.value = u;
281
+ }
282
+ });
283
+ return (n, s) => e.modelValue.length > 0 ? (l(), _("div", me, [
284
+ (l(!0), _($, null, E(e.modelValue, (u, c) => (l(), f(t(M), { key: c }, {
285
+ default: p(() => {
286
+ var a;
287
+ return [
288
+ u.pricing_item_config_id ? (l(), f(ce, {
289
+ key: u.pricing_item_config_id,
290
+ modelValue: i(c).value,
291
+ "onUpdate:modelValue": (g) => i(c).value = g,
292
+ "default-value": (a = e.initialSeatsValues) == null ? void 0 : a[c],
293
+ pricings: e.pricings
294
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "default-value", "pricings"])) : k("", !0)
295
+ ];
296
+ }),
297
+ _: 2
298
+ }, 1024))), 128))
299
+ ])) : k("", !0);
300
+ }
301
+ }), ge = { class: "flex flex-row-reverse gap-4 md:flex-row" }, fe = { class: "w-24 shrink-0 justify-start md:w-32" }, be = { class: "flex grow flex-col" }, _e = /* @__PURE__ */ A({
302
+ __name: "UnitsEditorItem",
303
+ props: /* @__PURE__ */ x({
304
+ modelValue: { type: Object },
305
+ defaultValue: { type: Object },
306
+ pricings: { type: Array }
307
+ }, {
308
+ modelValue: { required: !0 },
309
+ modelModifiers: {}
310
+ }),
311
+ emits: ["update:modelValue"],
312
+ setup(e) {
313
+ const r = e, i = T(e, "modelValue"), { $t: n } = N(), s = V({
314
+ get: () => +(i.value.number || W),
315
+ set(c) {
316
+ i.value = {
317
+ ...i.value,
318
+ number: c !== void 0 ? c.toString() : void 0
319
+ };
320
+ }
321
+ }), u = Y({
322
+ pricings: r.pricings,
323
+ pricingItemConfigId: i.value.pricing_item_config_id
324
+ });
325
+ return (c, a) => {
326
+ var g;
327
+ return l(), _("div", ge, [
328
+ h("div", fe, [
329
+ b(t(D), {
330
+ modelValue: s.value,
331
+ "onUpdate:modelValue": a[0] || (a[0] = (o) => s.value = o),
332
+ size: "sm",
333
+ min: (g = e.defaultValue) != null && g.number ? +e.defaultValue.number : void 0
334
+ }, null, 8, ["modelValue", "min"])
335
+ ]),
336
+ h("div", be, [
337
+ b(t(S), {
338
+ tag: "span",
339
+ variant: "body-sm",
340
+ weight: "semibold"
341
+ }, {
342
+ default: p(() => [
343
+ v(y(t(u).product.name || t(n)({
344
+ defaultMessage: "Units",
345
+ id: "units.label",
346
+ description: "The label for the one-off flat item units input field"
347
+ })), 1)
348
+ ]),
349
+ _: 1
350
+ }),
351
+ t(u).pricing.amount ? (l(), f(t(S), {
352
+ key: 0,
353
+ tag: "span",
354
+ variant: "body-xs",
355
+ color: "subtle"
356
+ }, {
357
+ default: p(() => [
358
+ v(y(t(n)(
359
+ {
360
+ defaultMessage: "{amount} per unit, one-time",
361
+ id: "units.price_per_unit_one_time",
362
+ description: "The price per unit label for a one-off flat item, which is charged once rather than every period"
363
+ },
364
+ { amount: t(O)(t(u).pricing.amount) }
365
+ )), 1)
366
+ ]),
367
+ _: 1
368
+ })) : k("", !0)
369
+ ])
370
+ ]);
371
+ };
372
+ }
373
+ }), ve = { class: "grid grid-cols-1 gap-1 p-1" }, ye = { class: "grid grid-cols-1 gap-1" }, Ve = /* @__PURE__ */ A({
374
+ __name: "UnitsEditor",
375
+ props: /* @__PURE__ */ x({
376
+ modelValue: { type: Array },
377
+ initialUnitsValues: { type: Array },
378
+ pricings: { type: Array }
379
+ }, {
380
+ modelValue: { required: !0 },
381
+ modelModifiers: {}
382
+ }),
383
+ emits: ["update:modelValue"],
384
+ setup(e) {
385
+ const { $t: r } = N(), i = T(e, "modelValue"), n = (s) => V({
386
+ get: () => i.value[s],
387
+ set: (u) => {
388
+ const c = i.value.slice();
389
+ c[s] = u, i.value = c;
390
+ }
391
+ });
392
+ return (s, u) => e.modelValue.length > 0 ? (l(), f(t(M), {
393
+ key: 0,
394
+ "no-spacing": "",
395
+ "content-background": "gray"
396
+ }, {
397
+ default: p(() => [
398
+ h("div", ve, [
399
+ b(z, null, {
400
+ title: p(() => [
401
+ v(y(t(r)({
402
+ defaultMessage: "One-time items",
403
+ id: "units_editor.title",
404
+ description: "The heading above the one-off items in the plan customization form"
405
+ })), 1)
406
+ ]),
407
+ description: p(() => [
408
+ v(y(t(r)({
409
+ defaultMessage: "Charged once",
410
+ id: "units_editor.description",
411
+ description: "The description of the one-off items in the plan customization form"
412
+ })), 1)
413
+ ]),
414
+ _: 1
415
+ }),
416
+ h("div", ye, [
417
+ (l(!0), _($, null, E(e.modelValue, (c, a) => (l(), f(t(M), {
418
+ key: a,
419
+ "content-background": "none"
420
+ }, {
421
+ default: p(() => {
422
+ var g;
423
+ return [
424
+ c.pricing_item_config_id ? (l(), f(_e, {
425
+ key: c.pricing_item_config_id,
426
+ modelValue: n(a).value,
427
+ "onUpdate:modelValue": (o) => n(a).value = o,
428
+ "default-value": (g = e.initialUnitsValues) == null ? void 0 : g[a],
429
+ pricings: e.pricings
430
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "default-value", "pricings"])) : k("", !0)
431
+ ];
432
+ }),
433
+ _: 2
434
+ }, 1024))), 128))
435
+ ])
436
+ ])
437
+ ]),
438
+ _: 1
439
+ })) : k("", !0);
440
+ }
441
+ }), he = { class: "p-1" }, ke = { class: "grid grid-cols-1 gap-1 pt-1" }, Pe = /* @__PURE__ */ A({
442
+ __name: "AddonSingleEditor",
443
+ props: /* @__PURE__ */ x({
444
+ constraint: { type: String },
445
+ modelValue: { type: Array },
446
+ pricings: { type: Array },
447
+ billingPeriod: { type: Object },
448
+ currency: { type: String },
449
+ groupName: { type: String }
450
+ }, {
451
+ modelValue: { required: !0 },
452
+ modelModifiers: {}
453
+ }),
454
+ emits: ["update:modelValue"],
455
+ setup(e) {
456
+ const r = e, i = T(e, "modelValue"), { $t: n } = N(), { describePricing: s } = q({
457
+ currency: U(r, "currency"),
458
+ billingPeriod: U(r, "billingPeriod")
459
+ }), u = r.pricings.map((o) => o.id), c = V(() => r.constraint === "AT_MOST_ONE" ? n({
460
+ defaultMessage: "Select up to one product",
461
+ id: "addon_single_editor.description.at_most_one",
462
+ description: "The description of the addon single editor for at most one product"
463
+ }) : r.constraint === "EXACTLY_ONE" ? n({
464
+ defaultMessage: "Select one product",
465
+ id: "addon_single_editor.description.exactly_one",
466
+ description: "The description of the addon single editor for exactly one product"
467
+ }) : r.constraint === "AT_LEAST_ONE" ? n({
468
+ defaultMessage: "Select at least one product",
469
+ id: "addon_single_editor.description.at_least_one",
470
+ description: "The description of the addon single editor for at least one product"
471
+ }) : ""), a = (o) => r.modelValue.includes(o), g = (o) => {
472
+ if (a(o))
473
+ i.value = i.value.filter((m) => m !== o);
474
+ else {
475
+ const m = i.value.filter((d) => !u.includes(d));
476
+ i.value = [...m, o];
477
+ }
478
+ };
479
+ return (o, m) => (l(), f(t(M), { "no-spacing": "" }, {
480
+ default: p(() => [
481
+ h("div", he, [
482
+ b(z, null, {
483
+ title: p(() => [
484
+ v(y(e.groupName), 1)
485
+ ]),
486
+ description: p(() => [
487
+ v(y(c.value), 1)
488
+ ]),
489
+ _: 1
490
+ }),
491
+ h("div", ke, [
492
+ (l(!0), _($, null, E(e.pricings, (d) => (l(), f(t(M), {
493
+ key: d.id,
494
+ "content-background": "none",
495
+ class: w({ "!bg-white": a(d.id) })
496
+ }, {
497
+ default: p(() => [
498
+ b(L, {
499
+ name: t(R)(d) ?? "",
500
+ description: t(s)(d)
501
+ }, {
502
+ default: p(() => [
503
+ b(t(G), {
504
+ "model-value": a(d.id),
505
+ "onUpdate:modelValue": (P) => g(d.id)
506
+ }, null, 8, ["model-value", "onUpdate:modelValue"])
507
+ ]),
508
+ _: 2
509
+ }, 1032, ["name", "description"])
510
+ ]),
511
+ _: 2
512
+ }, 1032, ["class"]))), 128))
513
+ ])
514
+ ])
515
+ ]),
516
+ _: 1
517
+ }));
518
+ }
519
+ }), Te = { class: "grid grid-cols-1 gap-1" }, j = /* @__PURE__ */ A({
520
+ __name: "AddonMultipleEditor",
521
+ props: /* @__PURE__ */ x({
522
+ modelValue: { type: Array },
523
+ pricings: { type: Array },
524
+ billingPeriod: { type: Object },
525
+ currency: { type: String },
526
+ groupName: { type: String }
527
+ }, {
528
+ modelValue: { required: !0 },
529
+ modelModifiers: {}
530
+ }),
531
+ emits: ["update:modelValue"],
532
+ setup(e) {
533
+ const r = e, i = T(e, "modelValue"), { $t: n } = N(), { describePricing: s } = q({
534
+ currency: U(r, "currency"),
535
+ billingPeriod: U(r, "billingPeriod")
536
+ }), u = (a) => i.value.includes(a), c = (a) => {
537
+ u(a) ? i.value = i.value.filter((g) => g !== a) : i.value = [...i.value, a];
538
+ };
539
+ return (a, g) => (l(), f(t(M), {
540
+ "no-spacing": "",
541
+ "no-border": !e.groupName,
542
+ "content-background": e.groupName ? "gray" : "none"
543
+ }, {
544
+ default: p(() => [
545
+ h("div", {
546
+ class: w(["grid grid-cols-1 gap-1", { "p-1": e.groupName }])
547
+ }, [
548
+ e.groupName ? (l(), f(z, { key: 0 }, {
549
+ title: p(() => [
550
+ v(y(e.groupName), 1)
551
+ ]),
552
+ description: p(() => [
553
+ v(y(t(n)({
554
+ defaultMessage: "Select any number of products",
555
+ id: "addon_multiple_editor.description",
556
+ description: "The description of the addon multiple editor"
557
+ })), 1)
558
+ ]),
559
+ _: 1
560
+ })) : k("", !0),
561
+ h("div", Te, [
562
+ (l(!0), _($, null, E(e.pricings, (o) => (l(), f(t(M), {
563
+ key: o.id,
564
+ "content-background": e.groupName || u(o.id) ? "none" : "gray",
565
+ class: w({ "!bg-white": u(o.id) })
566
+ }, {
567
+ default: p(() => [
568
+ b(L, {
569
+ name: t(R)(o) ?? "",
570
+ description: t(s)(o)
571
+ }, {
572
+ default: p(() => [
573
+ u(o.id) ? (l(), f(t(F), {
574
+ key: 0,
575
+ intent: "secondary",
576
+ square: "",
577
+ size: "sm",
578
+ "icon-prefix": "remove_shopping_cart",
579
+ onClick: (m) => c(o.id)
580
+ }, null, 8, ["onClick"])) : (l(), f(t(F), {
581
+ key: 1,
582
+ intent: "primary",
583
+ "icon-prefix": "add",
584
+ size: "sm",
585
+ onClick: (m) => c(o.id)
586
+ }, {
587
+ default: p(() => [
588
+ v(y(t(n)({
589
+ defaultMessage: "Add to subscription ",
590
+ id: "addon_multiple_editor.add_to_subscription_button",
591
+ description: "The button to add a pricing to the subscription"
592
+ })), 1)
593
+ ]),
594
+ _: 1
595
+ }, 8, ["onClick"]))
596
+ ]),
597
+ _: 2
598
+ }, 1032, ["name", "description"])
599
+ ]),
600
+ _: 2
601
+ }, 1032, ["content-background", "class"]))), 128))
602
+ ])
603
+ ], 2)
604
+ ]),
605
+ _: 1
606
+ }, 8, ["no-border", "content-background"]));
607
+ }
608
+ });
609
+ function $e(e) {
610
+ var i;
611
+ return (((i = e.pricing_categories) == null ? void 0 : i.flatMap((n) => n.pricings ?? [])) ?? []).filter((n) => n !== null);
612
+ }
613
+ const Ae = { class: "sv-plan-customization__body grid grid-cols-1 gap-1" }, De = /* @__PURE__ */ A({
614
+ __name: "PlanCustomizationEditor",
615
+ props: /* @__PURE__ */ x({
616
+ subscription: { type: Object },
617
+ enabledPricingIds: { type: Array },
618
+ initialSeatsValues: { type: Array },
619
+ initialUnitsValues: { type: Array },
620
+ billingPeriod: { type: Object },
621
+ currency: { type: String }
622
+ }, {
623
+ seatsValues: { required: !0 },
624
+ seatsValuesModifiers: {},
625
+ unitsValues: { required: !0 },
626
+ unitsValuesModifiers: {},
627
+ enabledPricingIds: {
628
+ required: !0
629
+ },
630
+ enabledPricingIdsModifiers: {}
631
+ }),
632
+ emits: ["update:seatsValues", "update:unitsValues", "update:enabledPricingIds"],
633
+ setup(e) {
634
+ const r = e, i = T(e, "seatsValues"), n = T(e, "unitsValues"), s = T(e, "enabledPricingIds"), { $t: u } = N(), c = V(() => {
635
+ var m;
636
+ const o = (m = ee({
637
+ pricingPlanScheduleInfos: r.subscription.pricing_plan_schedule_infos,
638
+ type: "DEFAULT"
639
+ })) == null ? void 0 : m.pricing_plan_version;
640
+ return o ? $e(o) : [];
641
+ }), a = V(
642
+ () => c.value.filter((o) => o.product_type === "ADDON")
643
+ ), g = V(
644
+ () => te(r.subscription)
645
+ );
646
+ return (o, m) => (l(), f(t(M), {
647
+ class: "sv-plan-customization",
648
+ title: t(u)({
649
+ defaultMessage: "Customize plan",
650
+ id: "checkout.customize_plan_block.title",
651
+ description: "The title of the customize plan block in the checkout form"
652
+ }),
653
+ "no-spacing": "",
654
+ "no-border": "",
655
+ "content-background": "none"
656
+ }, {
657
+ default: p(() => [
658
+ h("div", Ae, [
659
+ b(pe, {
660
+ modelValue: i.value,
661
+ "onUpdate:modelValue": m[0] || (m[0] = (d) => i.value = d),
662
+ class: "sv-plan-customization__seats",
663
+ "initial-seats-values": e.initialSeatsValues,
664
+ pricings: c.value
665
+ }, null, 8, ["modelValue", "initial-seats-values", "pricings"]),
666
+ b(Ve, {
667
+ modelValue: n.value,
668
+ "onUpdate:modelValue": m[1] || (m[1] = (d) => n.value = d),
669
+ class: "sv-plan-customization__units",
670
+ "initial-units-values": e.initialUnitsValues,
671
+ pricings: c.value
672
+ }, null, 8, ["modelValue", "initial-units-values", "pricings"]),
673
+ (l(!0), _($, null, E(g.value, (d) => (l(), _($, {
674
+ key: d.id
675
+ }, [
676
+ d.product_type === "DEFAULT" && d.selection_constraint === "EXACTLY_ONE" ? (l(), f(Z, {
677
+ key: 0,
678
+ modelValue: s.value,
679
+ "onUpdate:modelValue": m[2] || (m[2] = (P) => s.value = P),
680
+ class: "sv-plan-customization__group",
681
+ "group-name": d.name,
682
+ pricings: d.pricings,
683
+ "billing-period": e.billingPeriod,
684
+ currency: e.currency
685
+ }, null, 8, ["modelValue", "group-name", "pricings", "billing-period", "currency"])) : d.product_type === "ADDON" && d.selection_constraint === "AT_MOST_ONE" ? (l(), f(Pe, {
686
+ key: 1,
687
+ modelValue: s.value,
688
+ "onUpdate:modelValue": m[3] || (m[3] = (P) => s.value = P),
689
+ class: "sv-plan-customization__group",
690
+ "group-name": d.name,
691
+ pricings: d.pricings,
692
+ constraint: d.selection_constraint,
693
+ "billing-period": e.billingPeriod,
694
+ currency: e.currency
695
+ }, null, 8, ["modelValue", "group-name", "pricings", "constraint", "billing-period", "currency"])) : d.product_type === "ADDON" && d.selection_constraint === "ANY" ? (l(), f(j, {
696
+ key: 2,
697
+ modelValue: s.value,
698
+ "onUpdate:modelValue": m[4] || (m[4] = (P) => s.value = P),
699
+ class: "sv-plan-customization__group",
700
+ pricings: d.pricings,
701
+ "group-name": d.name,
702
+ "billing-period": e.billingPeriod,
703
+ currency: e.currency
704
+ }, null, 8, ["modelValue", "pricings", "group-name", "billing-period", "currency"])) : k("", !0)
705
+ ], 64))), 128)),
706
+ b(j, {
707
+ modelValue: s.value,
708
+ "onUpdate:modelValue": m[5] || (m[5] = (d) => s.value = d),
709
+ class: "sv-plan-customization__group",
710
+ pricings: a.value,
711
+ "billing-period": e.billingPeriod,
712
+ currency: e.currency
713
+ }, null, 8, ["modelValue", "pricings", "billing-period", "currency"])
714
+ ])
715
+ ]),
716
+ _: 1
717
+ }, 8, ["title"]));
718
+ }
719
+ });
720
+ export {
721
+ De as default
722
+ };