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

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 (127) hide show
  1. package/README.md +12 -2
  2. package/dist/{Alert.vue.es-CNrEaLvh.mjs → Alert.vue.es-ZPG49yR_.mjs} +1 -1
  3. package/dist/{AuthProvider.handle-DKfNs8rr.mjs → AuthProvider.handle-SRR_04XS.mjs} +1 -1
  4. package/dist/{Avatar.vue.es-r0NbcIib.mjs → Avatar.vue.es-geDQsZwu.mjs} +1 -1
  5. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs} +4 -4
  6. package/dist/{Button.vue.es-Zw--kuaU.mjs → Button.vue.es-j7iYlqtJ.mjs} +1 -1
  7. package/dist/{ChargeOnDemandModal-B8FDkS9U.mjs → ChargeOnDemandModal-CR01PkP_.mjs} +14 -14
  8. package/dist/{Checkout.entry.ce-DsGl-5aR.mjs → Checkout.entry.ce-CopWuLJC.mjs} +1784 -1817
  9. package/dist/{CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs → CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs} +7 -7
  10. package/dist/{Chip.vue.es-D3UDSyXC.mjs → Chip.vue.es-Dxx_0dte.mjs} +2 -2
  11. package/dist/{ContextMenu.vue.es-B9mFpUQK.mjs → ContextMenu.vue.es-BJO4U47Q.mjs} +5 -5
  12. package/dist/{CustomerBillingInformation.vue.es-B8NiQaJs.mjs → CustomerBillingInformation.vue.es-CmNpqcBw.mjs} +2 -2
  13. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs} +5 -5
  14. package/dist/{CustomerShippingAddresses-Bj8Y17O8.mjs → CustomerShippingAddresses-BRPukhRI.mjs} +8 -8
  15. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs} +434 -425
  16. package/dist/{DividerText.vue.es-CNbgif-3.mjs → DividerText.vue.es-BusbyeAI.mjs} +1 -1
  17. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs} +3 -3
  18. package/dist/{ErrorNotification.vue.es-DNd65mQq.mjs → ErrorNotification.vue.es-F068p7PY.mjs} +2 -2
  19. package/dist/{FormMessage.vue.es-Cjv358Ab.mjs → FormMessage.vue.es-CwMQpIAW.mjs} +1 -1
  20. package/dist/{IconButton.vue.es-C8lYFx5_.mjs → IconButton.vue.es-D8DtBW9i.mjs} +2 -2
  21. package/dist/{IconTitle.vue.es-O2kcqgKm.mjs → IconTitle.vue.es-6VJtjJX2.mjs} +3 -3
  22. package/dist/{Input.vue.es-D8Oj8MWv.mjs → Input.vue.es-BLyHcmu4.mjs} +4 -4
  23. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs} +2 -2
  24. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs} +4 -4
  25. package/dist/{InvoicePreview.vue.es-4Q2hzaFS.mjs → InvoicePreview.vue.es-Cpf66_xV.mjs} +4 -4
  26. package/dist/{InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs → InvoicePricingClauseChip.vue.es-CDrAE901.mjs} +3 -3
  27. package/dist/{Label.vue.es-DtpLM1KH.mjs → Label.vue.es-es7ZUBSP.mjs} +3 -3
  28. package/dist/{Modal.vue.es-C8ZcO117.mjs → Modal.vue.es-eeR9FmvQ.mjs} +6 -6
  29. package/dist/{OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs → OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs} +5 -5
  30. package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs} +2 -2
  31. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs} +4 -4
  32. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs} +3 -3
  33. package/dist/{PaymentHistoryBlock-BvY2nXGV.mjs → PaymentHistoryBlock-CN42ewCn.mjs} +1 -1
  34. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs} +4 -4
  35. package/dist/{PaymentIntegrationForm-CcfQSzKM.mjs → PaymentIntegrationForm-D3Ye7LZ5.mjs} +1 -1
  36. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs} +5 -5
  37. package/dist/{PaymentIntegrationFormAdyen-DqgDfO6K.mjs → PaymentIntegrationFormAdyen-Fm-diCCO.mjs} +39 -38
  38. package/dist/{PaymentIntegrationFormStripe-BYdAkvLt.mjs → PaymentIntegrationFormStripe-BANBL6za.mjs} +14 -13
  39. package/dist/{PaymentMethod.vue.es-b0p3a0L-.mjs → PaymentMethod.vue.es-t3-VyoE8.mjs} +4 -4
  40. package/dist/{PaymentMethodForm-BsTrTwCg.mjs → PaymentMethodForm-CqP3GoNj.mjs} +1 -1
  41. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs} +6 -6
  42. package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs} +6 -6
  43. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs} +7 -7
  44. package/dist/PlanCustomizationEditor-B76UNEMm.mjs +791 -0
  45. package/dist/{PortalLinkUnverified-B_EE2wTJ.mjs → PortalLinkUnverified-Cp60_kRJ.mjs} +3 -3
  46. package/dist/{PortalNotAvailable-DPE9y37H.mjs → PortalNotAvailable-DzSQnfzw.mjs} +2 -2
  47. package/dist/{PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs → PricingGroupRangeInput.vue.es-Srq_3cga.mjs} +156 -206
  48. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs +177 -0
  49. package/dist/{RadioGroupExtended.vue.es-3nDXqIGi.mjs → RadioGroupExtended.vue.es-BbBMDf6l.mjs} +5 -5
  50. package/dist/{Section.vue.es-CvX9tg2f.mjs → Section.vue.es-Oqn1wGPZ.mjs} +1 -1
  51. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs} +2 -2
  52. package/dist/{ShippingAddressesModal-C4p1IXXk.mjs → ShippingAddressesModal-c7nqf4Ny.mjs} +10 -10
  53. package/dist/StepInput.vue.es-ieh4EuJ7.mjs +213 -0
  54. package/dist/{SubscriptionDetails.entry.ce-D5SwM0YS.mjs → SubscriptionDetails.entry.ce-uYv45FGH.mjs} +91 -92
  55. package/dist/{SubscriptionSchedules-BZqlpAtk.mjs → SubscriptionSchedules-DMxX3GpK.mjs} +1 -1
  56. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs} +1736 -1721
  57. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs} +4 -4
  58. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs} +9 -9
  59. package/dist/{TooltipParagraph.vue.es-Dw0ndjle.mjs → TooltipParagraph.vue.es-BES3zsYN.mjs} +1 -1
  60. package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs} +1 -1
  61. package/dist/{TrialChip.vue.es-DOopmaXA.mjs → TrialChip.vue.es-C51z1ZiA.mjs} +2 -2
  62. package/dist/addonQuantity-CCVaA3e-.mjs +758 -0
  63. package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
  64. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +8 -8
  65. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
  66. package/dist/components/Invoice/Invoice.mjs +14 -14
  67. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
  68. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
  69. package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
  70. package/dist/components/PaymentHistory/PaymentHistory.mjs +4 -4
  71. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
  72. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
  73. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
  74. package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
  75. package/dist/core/index.mjs +1 -1
  76. package/dist/{customElements-BTj4ii4f.mjs → customElements-DK4GKNJG.mjs} +10 -10
  77. package/dist/{customer-BIjC0CWJ.mjs → customer-lf6S5DBR.mjs} +1 -1
  78. package/dist/{de-DE-DBbERiFr.mjs → de-DE-Cyj_NtiI.mjs} +4 -0
  79. package/dist/{fr-FR-IWJE-urI.mjs → fr-FR-CRFoWQ7J.mjs} +4 -0
  80. package/dist/{index.es-C7J3WGGo.mjs → index.es-BrVTOW5D.mjs} +4 -4
  81. package/dist/index.mjs +2 -2
  82. package/dist/{invoices-e1sKLgxg.mjs → invoices-DdREPDXV.mjs} +1 -1
  83. package/dist/{it-IT-B7ui2oxO.mjs → it-IT-DObZEc-U.mjs} +4 -0
  84. package/dist/{nl-NL-Bafh2xoT.mjs → nl-NL-C02xHilF.mjs} +4 -0
  85. package/dist/paymentFailure-QZdZHBhf.mjs +47 -0
  86. package/dist/{paymentMethods-B_82JGk_.mjs → paymentMethods-8w-ccfY_.mjs} +1 -1
  87. package/dist/{paymentMethods-Nfv9HdkS.mjs → paymentMethods-Goa25rTs.mjs} +2 -2
  88. package/dist/paymentOutcome-B6sW1eCV.mjs +22 -0
  89. package/dist/{payments-BnxbzQUC.mjs → payments-CKpU1K3t.mjs} +1 -1
  90. package/dist/{pricing-BOhvWWMj.mjs → pricing-CEaZGgKe.mjs} +1 -1
  91. package/dist/pricingItem.es-bCPArbTa.mjs +55 -0
  92. package/dist/{pricingPlanScheduleOverrides-Dxv5FOBd.mjs → pricingPlanScheduleOverrides-BBp-DmpV.mjs} +2 -2
  93. package/dist/{pricingPlanSchedules-Dv7ZCgNp.mjs → pricingPlanSchedules-DSMptcAh.mjs} +1 -1
  94. package/dist/screens/Checkout/Checkout.mjs +2 -2
  95. package/dist/screens/CustomerOverview/CustomerOverview.mjs +13 -13
  96. package/dist/screens/PayInvoice/PayInvoice.mjs +33 -32
  97. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
  98. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  99. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +172 -163
  100. package/dist/{sorting.es-CVyKw23D.mjs → sorting.es-C0pdMgX0.mjs} +1 -1
  101. package/dist/subscription-BwzkagDI.mjs +212 -0
  102. package/dist/{subscriptions-BWXZGK0E.mjs → subscriptions-B5bH8hsI.mjs} +1 -1
  103. package/dist/{taxId.es-DkD3Ltr8.mjs → taxId.es-e6NEvprh.mjs} +2 -2
  104. package/dist/types/public/core/configuration.d.ts +0 -1
  105. package/dist/types/public/core/types.d.ts +10 -5
  106. package/dist/{useActionDispatchProvider-3W2vEyIg.mjs → useActionDispatchProvider-ChAHdwR8.mjs} +1 -1
  107. package/dist/{useCustomer-cObBvDOu.mjs → useCustomer-CTMhg1nd.mjs} +2 -2
  108. package/dist/{useCustomerFormLabels-DJWf2O17.mjs → useCustomerFormLabels-D4oDnfxA.mjs} +9 -9
  109. package/dist/{useIncrementalLoading-CATuO36d.mjs → useIncrementalLoading-CBVutPH8.mjs} +1 -1
  110. package/dist/{useInvoiceData-DD44HTl7.mjs → useInvoiceData-qUGbBAQK.mjs} +2 -2
  111. package/dist/{useInvoicesList-CpB-41MQ.mjs → useInvoicesList-wJvZAJpW.mjs} +9 -9
  112. package/dist/{useLoadInitialData-qzdnBoui.mjs → useLoadInitialData-UvfYXgbi.mjs} +1 -1
  113. package/dist/{usePaymentFormHold-ByUZi3A-.mjs → usePaymentFormHold-Cwdr-vyc.mjs} +2 -2
  114. package/dist/{usePaymentMethodAvailability-DUdrs0Ji.mjs → usePaymentMethodAvailability-35l4pWdH.mjs} +4 -4
  115. package/dist/{usePaymentMethods-ByaKF7mf.mjs → usePaymentMethods-De7hlLHo.mjs} +2 -2
  116. package/dist/{usePayments-BXABv-lF.mjs → usePayments-hWS7fnOx.mjs} +9 -9
  117. package/dist/{usePortal-CwR_FxTb.mjs → usePortal-DUfD6hrA.mjs} +1 -1
  118. package/dist/{useService-BZcbUZHI.mjs → useService-BwzIBIRp.mjs} +1 -1
  119. package/dist/{useTimePeriod.es-BpdiVwg8.mjs → useTimePeriod.es-BUorDLVK.mjs} +1 -1
  120. package/package.json +4 -4
  121. package/dist/PlanCustomizationEditor-D29N4HUM.mjs +0 -711
  122. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs +0 -141
  123. package/dist/StepInput.vue.es-DweyzpkL.mjs +0 -200
  124. package/dist/index.es-CpmQmvOg.mjs +0 -633
  125. package/dist/paymentOutcome-BXEU5-84.mjs +0 -67
  126. package/dist/pricingPlanSchedule-BPrS2WRd.mjs +0 -132
  127. package/dist/subscription-BhxoqwcT.mjs +0 -83
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as s, openBlock as l, createBlock as c, withCtx as e, createVNode as d, unref as t, createTextVNode as n, toDisplayString as r } from "vue";
2
- import { _ as p } from "./Button.vue.es-Zw--kuaU.mjs";
3
- import { a as f } from "./customElements-BTj4ii4f.mjs";
4
- import { _ as u } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs";
2
+ import { _ as p } from "./Button.vue.es-j7iYlqtJ.mjs";
3
+ import { a as f } from "./customElements-DK4GKNJG.mjs";
4
+ import { _ as u } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs";
5
5
  const g = /* @__PURE__ */ s({
6
6
  __name: "PortalLinkUnverified",
7
7
  emits: ["retry"],
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as o, openBlock as a, createBlock as n, unref as e } from "vue";
2
- import { _ as i } from "./ErrorNotification.vue.es-DNd65mQq.mjs";
3
- import { a as l } from "./customElements-BTj4ii4f.mjs";
2
+ import { _ as i } from "./ErrorNotification.vue.es-F068p7PY.mjs";
3
+ import { a as l } from "./customElements-DK4GKNJG.mjs";
4
4
  const _ = /* @__PURE__ */ o({
5
5
  __name: "PortalNotAvailable",
6
6
  setup(s) {
@@ -1,136 +1,86 @@
1
- import { u as te } from "./useTimePeriod.es-BpdiVwg8.mjs";
2
- import { a as ae, d as oe } from "./customElements-BTj4ii4f.mjs";
3
- import { a as le, i as Q } from "./useService-BZcbUZHI.mjs";
4
- import { f as $ } from "./formatting.es-RclXHhKo.mjs";
5
- import { computed as c, defineComponent as P, ref as se, onMounted as ue, watch as ee, openBlock as b, createElementBlock as R, renderSlot as z, useModel as S, useTemplateRef as de, toRefs as pe, nextTick as ge, Fragment as ce, createElementVNode as T, mergeProps as V, unref as g, createBlock as _, createSlots as me, withCtx as x, createTextVNode as ne, toDisplayString as ie, createCommentVNode as w, normalizeClass as M, withDirectives as fe, vModelText as ve, createVNode as re, mergeModels as E } from "vue";
6
- import { u as be, _ as he } from "./Label.vue.es-DtpLM1KH.mjs";
7
- import { _ as ye } from "./FormMessage.vue.es-Cjv358Ab.mjs";
8
- import { g as _e } from "./cn.es-B8acFrov.mjs";
9
- import { _ as Y } from "./IconButton.vue.es-C8lYFx5_.mjs";
10
- function xe({
11
- pricingItem: e,
12
- currency: i,
13
- billingPeriod: n
14
- }) {
15
- var a, o, t, r, l, m;
16
- if ((a = e.pricing_currency_configs) != null && a.length) {
17
- const u = ke(
18
- e.pricing_currency_configs,
19
- i
20
- );
21
- if ((o = u == null ? void 0 : u.billing_period_configs) != null && o.length && n) {
22
- const d = Z(
23
- u.billing_period_configs,
24
- n
25
- );
26
- if (d)
27
- return d;
28
- }
29
- if (u) {
30
- const d = u.fallback_currency;
31
- if (d) {
32
- const v = we(
33
- e.pricing_currency_configs,
34
- d
35
- );
36
- if (v)
37
- return v;
38
- }
39
- if ((t = u.configs) != null && t.length)
40
- return u.configs[0];
41
- }
42
- }
43
- if ((r = e.billing_period_configs) != null && r.length) {
44
- const u = Z(
45
- e.billing_period_configs,
46
- n
47
- );
48
- if (u)
49
- return u;
50
- }
51
- if ((l = e.configs) != null && l.length)
52
- return (m = e.configs) == null ? void 0 : m[0];
53
- }
54
- const ke = (e, i) => e.find((n) => n.currency === i), we = (e, i) => {
55
- var n, a;
56
- return (a = (n = e.find((o) => o.currency === i)) == null ? void 0 : n.configs) == null ? void 0 : a[0];
57
- }, Z = (e, i) => {
58
- var n, a;
59
- return (a = (n = e.find((o) => le(o.billing_period, i))) == null ? void 0 : n.configs) == null ? void 0 : a[0];
60
- };
61
- function We({
1
+ import { u as ie } from "./useTimePeriod.es-BUorDLVK.mjs";
2
+ import { a as te, d as ae } from "./customElements-DK4GKNJG.mjs";
3
+ import { g as oe } from "./pricingItem.es-bCPArbTa.mjs";
4
+ import { f as M } from "./formatting.es-RclXHhKo.mjs";
5
+ import { computed as p, defineComponent as $, ref as le, onMounted as se, watch as Z, openBlock as g, createElementBlock as R, renderSlot as z, useModel as S, useTemplateRef as de, toRefs as ue, nextTick as pe, Fragment as me, createElementVNode as C, mergeProps as V, unref as u, createBlock as x, createSlots as ge, withCtx as _, createTextVNode as ee, toDisplayString as ne, createCommentVNode as k, normalizeClass as P, withDirectives as ce, vModelText as fe, createVNode as re, mergeModels as I } from "vue";
6
+ import { u as be, _ as ve } from "./Label.vue.es-es7ZUBSP.mjs";
7
+ import { _ as he } from "./FormMessage.vue.es-CwMQpIAW.mjs";
8
+ import { g as ye } from "./cn.es-B8acFrov.mjs";
9
+ import { i as Q } from "./useService-BwzIBIRp.mjs";
10
+ import { _ as Y } from "./IconButton.vue.es-D8DtBW9i.mjs";
11
+ function Oe({
62
12
  currency: e,
63
- billingPeriod: i
13
+ billingPeriod: r
64
14
  } = {}) {
65
- const { $t: n } = ae(), { formatTimePeriod: a } = te();
15
+ const { $t: n } = te(), { formatTimePeriod: s } = ie();
66
16
  return { renderPricingForPricingItem: ({ pricingItem: t }) => {
67
- var r, l, m, u, d, v, k, p, f, h, y, q, B, I, F, N, A, O, U, D, W, H, j, G, L, K, X, J;
68
- const C = (r = t.product_items) == null ? void 0 : r[0], s = xe({
17
+ var i, o, c, h, v, y, w, d, m, f, b, E, q, B, N, F, A, O, U, D, W, H, j, G, L, K, X, J;
18
+ const T = (i = t.product_items) == null ? void 0 : i[0], a = oe({
69
19
  pricingItem: t,
70
20
  currency: e == null ? void 0 : e.value,
71
- billingPeriod: i == null ? void 0 : i.value
21
+ billingPeriod: r == null ? void 0 : r.value
72
22
  });
73
- return s ? (C == null ? void 0 : C.model_type) === "PER_SEAT" ? n({
23
+ return a ? (T == null ? void 0 : T.model_type) === "PER_SEAT" ? n({
74
24
  defaultMessage: "Per seat",
75
25
  id: "pricing_item_pricing.per_seat",
76
26
  description: "The pricing item pricing for a per seat pricing item"
77
- }) : (C == null ? void 0 : C.model_type) === "ONE_OFF" && ((u = (m = (l = s.details) == null ? void 0 : l.bands) == null ? void 0 : m[0]) != null && u.fixed_amount) ? $((k = (v = (d = s.details) == null ? void 0 : d.bands) == null ? void 0 : v[0]) == null ? void 0 : k.fixed_amount) : ((p = s.details) == null ? void 0 : p.pricing_type) === "FLAT" && ((y = (h = (f = s.details) == null ? void 0 : f.bands) == null ? void 0 : h[0]) != null && y.amount) ? n(
27
+ }) : (T == null ? void 0 : T.model_type) === "ONE_OFF" && ((h = (c = (o = a.details) == null ? void 0 : o.bands) == null ? void 0 : c[0]) != null && h.fixed_amount) ? M((w = (y = (v = a.details) == null ? void 0 : v.bands) == null ? void 0 : y[0]) == null ? void 0 : w.fixed_amount) : ((d = a.details) == null ? void 0 : d.pricing_type) === "FLAT" && ((b = (f = (m = a.details) == null ? void 0 : m.bands) == null ? void 0 : f[0]) != null && b.amount) ? n(
78
28
  {
79
29
  defaultMessage: "{pricing} per {billing_period}",
80
30
  id: "pricing_item_pricing",
81
31
  description: "The pricing item pricing"
82
32
  },
83
33
  {
84
- pricing: $((q = s.details) == null ? void 0 : q.bands[0].amount),
85
- billing_period: a(
86
- ((B = s == null ? void 0 : s.details) == null ? void 0 : B.pricing_period) ?? { type: "MONTH", value: 1 },
34
+ pricing: M((E = a.details) == null ? void 0 : E.bands[0].amount),
35
+ billing_period: s(
36
+ ((q = a == null ? void 0 : a.details) == null ? void 0 : q.pricing_period) ?? { type: "MONTH", value: 1 },
87
37
  {
88
38
  short: !0,
89
39
  hideValueForExactPeriods: !0
90
40
  }
91
41
  )
92
42
  }
93
- ) : ((I = s.details) == null ? void 0 : I.pricing_type) === "FIXED" && ((A = (N = (F = s.details) == null ? void 0 : F.bands) == null ? void 0 : N[0]) != null && A.fixed_amount) ? n(
43
+ ) : ((B = a.details) == null ? void 0 : B.pricing_type) === "FIXED" && ((A = (F = (N = a.details) == null ? void 0 : N.bands) == null ? void 0 : F[0]) != null && A.fixed_amount) ? n(
94
44
  {
95
45
  defaultMessage: "{pricing} per {billing_period}",
96
46
  id: "pricing_item_pricing",
97
47
  description: "The pricing item pricing"
98
48
  },
99
49
  {
100
- pricing: $((D = (U = (O = s.details) == null ? void 0 : O.bands) == null ? void 0 : U[0]) == null ? void 0 : D.fixed_amount),
101
- billing_period: a(
102
- ((W = s == null ? void 0 : s.details) == null ? void 0 : W.pricing_period) ?? { type: "MONTH", value: 1 },
50
+ pricing: M((D = (U = (O = a.details) == null ? void 0 : O.bands) == null ? void 0 : U[0]) == null ? void 0 : D.fixed_amount),
51
+ billing_period: s(
52
+ ((W = a == null ? void 0 : a.details) == null ? void 0 : W.pricing_period) ?? { type: "MONTH", value: 1 },
103
53
  {
104
54
  short: !0,
105
55
  hideValueForExactPeriods: !0
106
56
  }
107
57
  )
108
58
  }
109
- ) : ((H = s.details) == null ? void 0 : H.pricing_type) === "TIERED" ? n({
59
+ ) : ((H = a.details) == null ? void 0 : H.pricing_type) === "TIERED" ? n({
110
60
  defaultMessage: "Tiered pricing",
111
61
  id: "pricing_item_pricing.tiered",
112
62
  description: "The pricing item pricing for a tiered pricing item"
113
- }) : ((j = s.details) == null ? void 0 : j.pricing_type) === "TOP_TIERED" ? n({
63
+ }) : ((j = a.details) == null ? void 0 : j.pricing_type) === "TOP_TIERED" ? n({
114
64
  defaultMessage: "Top tiered pricing",
115
65
  id: "pricing_item_pricing.top_tiered",
116
66
  description: "The pricing item pricing for a top tiered pricing item"
117
- }) : ((G = s.details) == null ? void 0 : G.pricing_type) === "STAIR_STEP" ? n({
67
+ }) : ((G = a.details) == null ? void 0 : G.pricing_type) === "STAIR_STEP" ? n({
118
68
  defaultMessage: "Stair step pricing",
119
69
  id: "pricing_item_pricing.stair_step",
120
70
  description: "The pricing item pricing for a stair step pricing item"
121
- }) : ((L = s.details) == null ? void 0 : L.pricing_type) === "PASS_THROUGH" ? n({
71
+ }) : ((L = a.details) == null ? void 0 : L.pricing_type) === "PASS_THROUGH" ? n({
122
72
  defaultMessage: "Pass through pricing",
123
73
  id: "pricing_item_pricing.pass_through",
124
74
  description: "The pricing item pricing for a pass through pricing item"
125
- }) : ((K = s.details) == null ? void 0 : K.pricing_type) === "NONE" ? n({
75
+ }) : ((K = a.details) == null ? void 0 : K.pricing_type) === "NONE" ? n({
126
76
  defaultMessage: "Not billed",
127
77
  id: "pricing_item_pricing.none",
128
78
  description: "The pricing item pricing for a not billed pricing item"
129
- }) : ((X = s.details) == null ? void 0 : X.pricing_type) === "FLAT_TOP_UP" ? n({
79
+ }) : ((X = a.details) == null ? void 0 : X.pricing_type) === "FLAT_TOP_UP" ? n({
130
80
  defaultMessage: "Flat top up pricing",
131
81
  id: "pricing_item_pricing.flat_top_up",
132
82
  description: "The pricing item pricing for a flat top up pricing item"
133
- }) : ((J = s.details) == null ? void 0 : J.pricing_type) === "TIERED_TOP_UP" ? n({
83
+ }) : ((J = a.details) == null ? void 0 : J.pricing_type) === "TIERED_TOP_UP" ? n({
134
84
  defaultMessage: "Tiered top up pricing",
135
85
  id: "pricing_item_pricing.tiered_top_up",
136
86
  description: "The pricing item pricing for a tiered top up pricing item"
@@ -145,7 +95,7 @@ function We({
145
95
  });
146
96
  } };
147
97
  }
148
- const ze = "w-full appearance-none cursor-pointer", Ce = {
98
+ const xe = "w-full appearance-none cursor-pointer", _e = {
149
99
  // No range-xs styling exists; a slider has no xs design, so it reuses the smallest one.
150
100
  xs: "range-sm",
151
101
  sm: "range-sm",
@@ -153,12 +103,12 @@ const ze = "w-full appearance-none cursor-pointer", Ce = {
153
103
  lg: "range-lg",
154
104
  xl: "range-xl"
155
105
  };
156
- function Te(e) {
157
- return { rangeClasses: c(
158
- () => `${ze} ${Ce[e.size.value]}`
106
+ function we(e) {
107
+ return { rangeClasses: p(
108
+ () => `${xe} ${_e[e.size.value]}`
159
109
  ) };
160
110
  }
161
- const Pe = `/* Base - transparent background so track styles show through */
111
+ const ke = `/* Base - transparent background so track styles show through */
162
112
  input[type='range'] {
163
113
  -webkit-appearance: none;
164
114
  -moz-appearance: none;
@@ -342,45 +292,45 @@ input[type='range'].range-xl::-moz-range-track {
342
292
  height: 0.9rem;
343
293
  border-radius: 0.45rem;
344
294
  }
345
- `, $e = /* @__PURE__ */ P({
295
+ `, ze = /* @__PURE__ */ $({
346
296
  __name: "CustomStyles",
347
297
  props: {
348
298
  css: {},
349
299
  marker: {}
350
300
  },
351
301
  setup(e) {
352
- const i = e, n = se();
353
- function a(o) {
354
- if (!o || !n.value) return;
302
+ const r = e, n = le();
303
+ function s(l) {
304
+ if (!l || !n.value) return;
355
305
  const t = n.value.getRootNode();
356
- if (!(t instanceof ShadowRoot) || t.querySelector(`style[${i.marker}]`)) return;
357
- const l = document.createElement("style");
358
- l.setAttribute(i.marker, "true"), l.textContent = o, t.appendChild(l);
306
+ if (!(t instanceof ShadowRoot) || t.querySelector(`style[${r.marker}]`)) return;
307
+ const o = document.createElement("style");
308
+ o.setAttribute(r.marker, "true"), o.textContent = l, t.appendChild(o);
359
309
  }
360
- return ue(() => {
361
- i.css && a(i.css);
362
- }), ee(
363
- () => i.css,
364
- (o) => {
365
- if (!o || !n.value) return;
310
+ return se(() => {
311
+ r.css && s(r.css);
312
+ }), Z(
313
+ () => r.css,
314
+ (l) => {
315
+ if (!l || !n.value) return;
366
316
  const t = n.value.getRootNode();
367
317
  if (!(t instanceof ShadowRoot)) return;
368
- const r = t.querySelector(`style[${i.marker}]`);
369
- r ? r.textContent = o : a(o);
318
+ const i = t.querySelector(`style[${r.marker}]`);
319
+ i ? i.textContent = l : s(l);
370
320
  }
371
- ), (o, t) => (b(), R("div", {
321
+ ), (l, t) => (g(), R("div", {
372
322
  ref_key: "containerRef",
373
323
  ref: n
374
324
  }, [
375
- z(o.$slots, "default")
325
+ z(l.$slots, "default")
376
326
  ], 512));
377
327
  }
378
- }), Me = ["data-testid"], Re = ["step", "min", "max", "name", "disabled"], Se = {
328
+ }), Te = ["data-testid"], Ce = ["step", "min", "max", "name", "disabled"], $e = {
379
329
  key: 0,
380
330
  class: "mt-2 text-sm text-secondary"
381
- }, Ve = /* @__PURE__ */ P({
331
+ }, Me = /* @__PURE__ */ $({
382
332
  __name: "RangeInput",
383
- props: /* @__PURE__ */ E({
333
+ props: /* @__PURE__ */ I({
384
334
  disabled: { type: Boolean, default: !1 },
385
335
  label: { default: void 0 },
386
336
  labelAfter: { type: Boolean, default: !1 },
@@ -400,15 +350,15 @@ input[type='range'].range-xl::-moz-range-track {
400
350
  }),
401
351
  emits: ["update:modelValue"],
402
352
  setup(e) {
403
- const i = e, n = S(e, "modelValue"), a = de("inputRef");
404
- function o() {
405
- const p = a.value;
406
- if (!p) return;
407
- const f = n.value ?? i.min, h = (Number(f) - i.min) / (i.max - i.min) * 100;
408
- p.style.setProperty("--range-percentage", `${h}%`);
353
+ const r = e, n = S(e, "modelValue"), s = de("inputRef");
354
+ function l() {
355
+ const d = s.value;
356
+ if (!d) return;
357
+ const m = n.value ?? r.min, f = (Number(m) - r.min) / (r.max - r.min) * 100;
358
+ d.style.setProperty("--range-percentage", `${f}%`);
409
359
  }
410
- const { rangeClasses: t } = Te(pe(i)), r = c(() => {
411
- switch (i.size) {
360
+ const { rangeClasses: t } = we(ue(r)), i = p(() => {
361
+ switch (r.size) {
412
362
  case "xl":
413
363
  return "lg";
414
364
  case "lg":
@@ -416,114 +366,114 @@ input[type='range'].range-xl::-moz-range-track {
416
366
  case "md":
417
367
  return "sm";
418
368
  default:
419
- return i.size;
369
+ return r.size;
420
370
  }
421
- }), l = i.name ?? be("range-input-"), m = c(
422
- () => n.value != null && n.value > i.min ? () => {
423
- n.value = (n.value ?? 0) - i.steps;
371
+ }), o = r.name ?? be("range-input-"), c = p(
372
+ () => n.value != null && n.value > r.min ? () => {
373
+ n.value = (n.value ?? 0) - r.steps;
424
374
  } : void 0
425
- ), u = c(
426
- () => n.value != null && n.value < i.max ? () => {
427
- n.value = (n.value ?? 0) + i.steps;
375
+ ), h = p(
376
+ () => n.value != null && n.value < r.max ? () => {
377
+ n.value = (n.value ?? 0) + r.steps;
428
378
  } : void 0
429
- ), d = c(
430
- () => ["stepped", "stepped-contained", "stepped-ghost"].includes(i.variant)
431
- ), v = c(() => i.variant === "stepped-contained"), k = c(
432
- () => v.value || i.variant === "stepped-ghost" ? "subtle" : "secondary"
379
+ ), v = p(
380
+ () => ["stepped", "stepped-contained", "stepped-ghost"].includes(r.variant)
381
+ ), y = p(() => r.variant === "stepped-contained"), w = p(
382
+ () => y.value || r.variant === "stepped-ghost" ? "subtle" : "secondary"
433
383
  );
434
- return ee([n, a], () => ge(o), { immediate: !0 }), (p, f) => (b(), R(ce, null, [
435
- T("div", V(p.$attrs, {
384
+ return Z([n, s], () => pe(l), { immediate: !0 }), (d, m) => (g(), R(me, null, [
385
+ C("div", V(d.$attrs, {
436
386
  class: ["flex flex-col gap-2", { rootClass: e.rootClass, "flex-col-reverse": e.labelAfter }],
437
- "data-testid": g(_e)(g(l))
387
+ "data-testid": u(ye)(u(o))
438
388
  }), [
439
- e.label ? (b(), _(he, {
389
+ e.label ? (g(), x(ve, {
440
390
  key: 0,
441
- for: g(l),
391
+ for: u(o),
442
392
  required: e.required
443
- }, me({
444
- suffix: x(() => [
445
- z(p.$slots, "label-suffix")
393
+ }, ge({
394
+ suffix: _(() => [
395
+ z(d.$slots, "label-suffix")
446
396
  ]),
447
- default: x(() => [
448
- ne(ie(e.label) + " ", 1)
397
+ default: _(() => [
398
+ ee(ne(e.label) + " ", 1)
449
399
  ]),
450
400
  _: 2
451
401
  }, [
452
- p.$slots.tooltip ? {
402
+ d.$slots.tooltip ? {
453
403
  name: "tooltip",
454
- fn: x(() => [
455
- z(p.$slots, "tooltip")
404
+ fn: _(() => [
405
+ z(d.$slots, "tooltip")
456
406
  ]),
457
407
  key: "0"
458
408
  } : void 0
459
- ]), 1032, ["for", "required"])) : w("", !0),
460
- T("div", {
461
- class: M({ flex: d.value, "rounded border bg-white": v.value })
409
+ ]), 1032, ["for", "required"])) : k("", !0),
410
+ C("div", {
411
+ class: P({ flex: v.value, "rounded border bg-white": y.value })
462
412
  }, [
463
- d.value ? (b(), _(g(Y), {
413
+ v.value ? (g(), x(u(Y), {
464
414
  key: 0,
465
- size: r.value,
466
- intent: k.value,
415
+ size: i.value,
416
+ intent: w.value,
467
417
  icon: "remove",
468
- disabled: !m.value || e.disabled,
469
- onMousedown: f[0] || (f[0] = (h) => {
470
- var y;
471
- return (y = m.value) == null ? void 0 : y.call(m);
418
+ disabled: !c.value || e.disabled,
419
+ onMousedown: m[0] || (m[0] = (f) => {
420
+ var b;
421
+ return (b = c.value) == null ? void 0 : b.call(c);
472
422
  })
473
- }, null, 8, ["size", "intent", "disabled"])) : w("", !0),
474
- T("div", {
475
- class: M([
423
+ }, null, 8, ["size", "intent", "disabled"])) : k("", !0),
424
+ C("div", {
425
+ class: P([
476
426
  {
477
- "flex grow items-center px-3": d.value,
478
- "border-x": v.value
427
+ "flex grow items-center px-3": v.value,
428
+ "border-x": y.value
479
429
  },
480
430
  e.inputWrapperClass
481
431
  ])
482
432
  }, [
483
- fe(T("input", {
433
+ ce(C("input", {
484
434
  ref_key: "inputRef",
485
- ref: a,
486
- "onUpdate:modelValue": f[1] || (f[1] = (h) => n.value = h),
435
+ ref: s,
436
+ "onUpdate:modelValue": m[1] || (m[1] = (f) => n.value = f),
487
437
  step: e.steps,
488
438
  min: e.min,
489
439
  max: e.max,
490
- name: g(l),
440
+ name: u(o),
491
441
  disabled: e.disabled,
492
442
  type: "range",
493
- class: M(g(t)),
494
- onInput: o
495
- }, null, 42, Re), [
496
- [ve, n.value]
443
+ class: P(u(t)),
444
+ onInput: l
445
+ }, null, 42, Ce), [
446
+ [fe, n.value]
497
447
  ])
498
448
  ], 2),
499
- d.value ? (b(), _(g(Y), {
449
+ v.value ? (g(), x(u(Y), {
500
450
  key: 1,
501
- size: r.value,
502
- intent: k.value,
451
+ size: i.value,
452
+ intent: w.value,
503
453
  icon: "add",
504
- disabled: !u.value || e.disabled,
505
- onMousedown: f[2] || (f[2] = (h) => {
506
- var y;
507
- return (y = u.value) == null ? void 0 : y.call(u);
454
+ disabled: !h.value || e.disabled,
455
+ onMousedown: m[2] || (m[2] = (f) => {
456
+ var b;
457
+ return (b = h.value) == null ? void 0 : b.call(h);
508
458
  })
509
- }, null, 8, ["size", "intent", "disabled"])) : w("", !0)
459
+ }, null, 8, ["size", "intent", "disabled"])) : k("", !0)
510
460
  ], 2)
511
- ], 16, Me),
512
- re($e, {
461
+ ], 16, Te),
462
+ re(ze, {
513
463
  marker: "range-input-styles",
514
- css: g(Pe)
464
+ css: u(ke)
515
465
  }, null, 8, ["css"]),
516
- !g(Q)(e.error) || p.$slots.helper ? (b(), R("div", Se, [
517
- g(Q)(e.error) ? p.$slots.helper ? z(p.$slots, "helper", {}, void 0, void 0, 1) : w("", !0) : (b(), _(ye, {
466
+ !u(Q)(e.error) || d.$slots.helper ? (g(), R("div", $e, [
467
+ u(Q)(e.error) ? d.$slots.helper ? z(d.$slots, "helper", {}, void 0, void 0, 1) : k("", !0) : (g(), x(he, {
518
468
  key: 0,
519
469
  message: e.error
520
470
  }, null, 8, ["message"]))
521
- ])) : w("", !0)
471
+ ])) : k("", !0)
522
472
  ], 64));
523
473
  }
524
- }), Ee = /* @__PURE__ */ P({
474
+ }), Pe = /* @__PURE__ */ $({
525
475
  __name: "RangeInputExtended",
526
- props: /* @__PURE__ */ E({
476
+ props: /* @__PURE__ */ I({
527
477
  options: { default: () => [] },
528
478
  label: {},
529
479
  name: {},
@@ -541,21 +491,21 @@ input[type='range'].range-xl::-moz-range-track {
541
491
  }),
542
492
  emits: ["update:modelValue"],
543
493
  setup(e) {
544
- const i = e, n = S(e, "modelValue"), a = c({
494
+ const r = e, n = S(e, "modelValue"), s = p({
545
495
  get: () => {
546
- const t = n.value ? i.options.findIndex((r) => r === n.value) : 0;
496
+ const t = n.value ? r.options.findIndex((i) => i === n.value) : 0;
547
497
  return t >= 0 ? t : 0;
548
498
  },
549
- set: (t) => (n.value = i.options[t], i.options.findIndex((r) => r === n.value))
550
- }), o = c(() => i.options.length ?? 1);
551
- return (t, r) => (b(), _(Ve, V({
552
- modelValue: a.value,
553
- "onUpdate:modelValue": r[0] || (r[0] = (l) => a.value = l)
499
+ set: (t) => (n.value = r.options[t], r.options.findIndex((i) => i === n.value))
500
+ }), l = p(() => r.options.length ?? 1);
501
+ return (t, i) => (g(), x(Me, V({
502
+ modelValue: s.value,
503
+ "onUpdate:modelValue": i[0] || (i[0] = (o) => s.value = o)
554
504
  }, t.$attrs, {
555
505
  variant: e.variant,
556
506
  "label-after": e.labelAfter,
557
507
  min: 0,
558
- max: o.value - 1,
508
+ max: l.value - 1,
559
509
  steps: 1,
560
510
  label: e.label,
561
511
  name: e.name,
@@ -564,15 +514,15 @@ input[type='range'].range-xl::-moz-range-track {
564
514
  size: e.size,
565
515
  "input-wrapper-class": e.inputWrapperClass
566
516
  }), {
567
- "label-suffix": x(() => [
517
+ "label-suffix": _(() => [
568
518
  z(t.$slots, "label-suffix")
569
519
  ]),
570
520
  _: 3
571
521
  }, 16, ["modelValue", "variant", "label-after", "max", "label", "name", "required", "root-class", "size", "input-wrapper-class"]));
572
522
  }
573
- }), He = /* @__PURE__ */ P({
523
+ }), Ue = /* @__PURE__ */ $({
574
524
  __name: "PricingGroupRangeInput",
575
- props: /* @__PURE__ */ E({
525
+ props: /* @__PURE__ */ I({
576
526
  modelValue: {},
577
527
  options: {},
578
528
  name: {},
@@ -584,36 +534,36 @@ input[type='range'].range-xl::-moz-range-track {
584
534
  }),
585
535
  emits: ["update:modelValue"],
586
536
  setup(e) {
587
- const i = e, n = S(e, "modelValue"), a = c(() => {
588
- var r;
589
- return (r = i.options.find((l) => l.value === n.value)) == null ? void 0 : r.label;
590
- }), o = c(() => i.options.map((r) => r.value)), t = c(
537
+ const r = e, n = S(e, "modelValue"), s = p(() => {
538
+ var i;
539
+ return (i = r.options.find((o) => o.value === n.value)) == null ? void 0 : i.label;
540
+ }), l = p(() => r.options.map((i) => i.value)), t = p(
591
541
  () => {
592
- var r;
593
- return (r = i.options.find((l) => l.value === n.value)) == null ? void 0 : r.description;
542
+ var i;
543
+ return (i = r.options.find((o) => o.value === n.value)) == null ? void 0 : i.description;
594
544
  }
595
545
  );
596
- return (r, l) => (b(), _(g(Ee), V({
546
+ return (i, o) => (g(), x(u(Pe), V({
597
547
  modelValue: n.value,
598
- "onUpdate:modelValue": l[0] || (l[0] = (m) => n.value = m)
599
- }, r.$attrs, {
600
- label: a.value,
548
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => n.value = c)
549
+ }, i.$attrs, {
550
+ label: s.value,
601
551
  "label-after": "",
602
552
  variant: e.variant,
603
553
  name: e.name,
604
- options: o.value,
554
+ options: l.value,
605
555
  size: e.size,
606
556
  "input-wrapper-class": "border-l border-r",
607
557
  required: ""
608
558
  }), {
609
- "label-suffix": x(() => [
610
- re(g(oe), {
559
+ "label-suffix": _(() => [
560
+ re(u(ae), {
611
561
  tag: "span",
612
562
  variant: "body-xs",
613
563
  color: "subtle"
614
564
  }, {
615
- default: x(() => [
616
- ne(ie(t.value), 1)
565
+ default: _(() => [
566
+ ee(ne(t.value), 1)
617
567
  ]),
618
568
  _: 1
619
569
  })
@@ -623,6 +573,6 @@ input[type='range'].range-xl::-moz-range-track {
623
573
  }
624
574
  });
625
575
  export {
626
- He as _,
627
- We as u
576
+ Ue as _,
577
+ Oe as u
628
578
  };