@solvimon/solvimon-web 0.1.0-alpha.8 → 0.1.0-alpha.9

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 (135) hide show
  1. package/README.md +124 -0
  2. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-CT0Tjsnw.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-CX8vlY2Z.mjs} +6 -4
  3. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DGisvmez.js +1 -0
  4. package/dist/ContentWithAsideLayout-B5B8Kwaw.js +1 -0
  5. package/dist/{ContentWithAsideLayout-BTdixy3L.mjs → ContentWithAsideLayout-DhfUkZZg.mjs} +8 -5
  6. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CK73bYUe.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bus-5gC3.mjs} +21 -10
  7. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CkRsyMlJ.js +1 -0
  8. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dt_Vb7Wz.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Bc2hkpTb.mjs} +19 -8
  9. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0vVUHuY.js +1 -0
  10. package/dist/{PaymentHistoryBlock-DHM-3fh-.js → PaymentHistoryBlock-BiiFJkpT.js} +1 -1
  11. package/dist/{PaymentHistoryBlock-YzJ6bxKr.mjs → PaymentHistoryBlock-D_B099M7.mjs} +1 -1
  12. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D6Cr2Uga.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CaMDtHrL.mjs} +16 -9
  13. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DWTEfLrE.js +1 -0
  14. package/dist/{PaymentIntegrationForm-Cl5ua8v8.js → PaymentIntegrationForm-D1oJA9mC.js} +1 -1
  15. package/dist/{PaymentIntegrationForm-ID4QnvA3.mjs → PaymentIntegrationForm-DNkjhqMF.mjs} +1 -1
  16. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CVWPT3Ni.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D37gDtY7.mjs} +70 -17
  17. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D5bxFJ-p.js +1 -0
  18. package/dist/{PricingGroupContent.vue_vue_type_script_setup_true_lang-CzS32ZUt.mjs → PricingGroupContent.vue_vue_type_script_setup_true_lang-BChVMzCj.mjs} +1 -1
  19. package/dist/{PricingGroupContent.vue_vue_type_script_setup_true_lang-CKNMt-JH.js → PricingGroupContent.vue_vue_type_script_setup_true_lang-Br3bEUlP.js} +1 -1
  20. package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-DXJcL7x6.mjs → Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs} +9 -6
  21. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +1 -0
  22. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-AHw3iTfi.js +1 -0
  23. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BIxGqr9U.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BkzLj8n2.mjs} +28 -19
  24. package/dist/adyen-B_QrYdaC.mjs +4 -0
  25. package/dist/{adyenLoader-gsbzSjYV.mjs → adyen-Bwewy3HC.mjs} +8 -13
  26. package/dist/adyen-R6aSZ0Yf.js +1 -0
  27. package/dist/adyen-mQEEOjgl.js +1 -0
  28. package/dist/adyen.css +1 -0
  29. package/dist/component-BOqPDAVk.js +1 -0
  30. package/dist/{component-CM9g6tbD.mjs → component-Djrf1L-Z.mjs} +294 -209
  31. package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
  32. package/dist/components/BillingInformation/BillingInformation.es.js +8 -5
  33. package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
  34. package/dist/components/BillingInformationForm/BillingInformationForm.es.js +8 -4
  35. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
  36. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +10 -6
  37. package/dist/components/Invoice/Invoice.cjs.js +1 -1
  38. package/dist/components/Invoice/Invoice.es.js +36 -22
  39. package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
  40. package/dist/components/InvoiceDetails/InvoiceDetails.es.js +10 -6
  41. package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
  42. package/dist/components/InvoicesList/InvoicesList.es.js +7 -4
  43. package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
  44. package/dist/components/PaymentHistory/PaymentHistory.es.js +10 -6
  45. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
  46. package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +15 -11
  47. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
  48. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +15 -8
  49. package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
  50. package/dist/components/SubscriptionsList/SubscriptionsList.es.js +11 -7
  51. package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
  52. package/dist/components/WalletBalances/WalletBalances.es.js +8 -4
  53. package/dist/core/index.cjs.js +1 -1
  54. package/dist/core/index.d.ts +1 -0
  55. package/dist/core/index.es.js +1 -1
  56. package/dist/core/types.d.ts +4 -2
  57. package/dist/{customer-TIi7iZFw.mjs → customer-B31QzznT.mjs} +1 -1
  58. package/dist/{customer-C_Hz_npf.js → customer-hDxW1Dbp.js} +1 -1
  59. package/dist/en-US-CgPY97Vq.js +1 -0
  60. package/dist/{en-US-CBoPxQwX.mjs → en-US-N3CUCsVy.mjs} +5 -25
  61. package/dist/index-DIFK3mcJ.js +6 -0
  62. package/dist/index-DyvRdSR7.mjs +9673 -0
  63. package/dist/index.cjs.js +1 -1
  64. package/dist/index.es.js +1 -1
  65. package/dist/{invoices-BuVOuTOm.mjs → invoices-DIYPN2j_.mjs} +2 -2
  66. package/dist/{invoices-DbvwXAsm.js → invoices-DzkA1jDc.js} +1 -1
  67. package/dist/{nl-NL-BB7KbK-h.mjs → nl-NL-B8U9b85I.mjs} +18 -2
  68. package/dist/nl-NL-qMRaTRrM.js +1 -0
  69. package/dist/{paymentMethods-Di32oJ39.mjs → paymentMethods-67b3UlTZ.mjs} +2 -2
  70. package/dist/{paymentMethods-B4AYGf0K.js → paymentMethods-C_sdTkSF.js} +1 -1
  71. package/dist/{payments-DeutKq9x.js → payments-DkHhTHto.js} +1 -1
  72. package/dist/{payments-C5fD1PXB.mjs → payments-Dq6R37Fz.mjs} +1 -1
  73. package/dist/{registry-CMSmkLcy.js → registry-BkViv4tv.js} +1 -1
  74. package/dist/{registry-BLwMl1bK.mjs → registry-Df_26rJy.mjs} +1 -1
  75. package/dist/screens/Checkout/Checkout.cjs.js +1 -1
  76. package/dist/screens/Checkout/Checkout.es.js +276 -214
  77. package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
  78. package/dist/screens/CustomerOverview/CustomerOverview.es.js +22 -15
  79. package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -1
  80. package/dist/screens/PayInvoice/PayInvoice.es.js +12 -10
  81. package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +1 -1
  82. package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +83 -53
  83. package/dist/solvimon-web.css +1 -1
  84. package/dist/{subscriptions-mOgjjzUi.mjs → subscriptions-ClGIr_aS.mjs} +2 -2
  85. package/dist/{subscriptions-wdMADcQZ.js → subscriptions-jelITJcX.js} +1 -1
  86. package/dist/{useActionDispatchProvider-B4gszz0Q.mjs → useActionDispatchProvider-BC57-Ufn.mjs} +1 -1
  87. package/dist/{useActionDispatchProvider-DfS2P0bd.js → useActionDispatchProvider-rw9kWeE0.js} +1 -1
  88. package/dist/{useCustomer-cbhDyWJL.mjs → useCustomer-Ba9WRtuT.mjs} +2 -2
  89. package/dist/{useCustomer-DanZzn-l.js → useCustomer-CUcaeQn_.js} +1 -1
  90. package/dist/{useIncrementalLoading-RRicokf1.mjs → useIncrementalLoading-Cnzh2mAz.mjs} +1 -1
  91. package/dist/{useIncrementalLoading-DFe5Yh8M.js → useIncrementalLoading-DoTTXM2Y.js} +1 -1
  92. package/dist/{useInvoiceData-fS6G_244.mjs → useInvoiceData-BJwwDur7.mjs} +2 -2
  93. package/dist/{useInvoiceData-CxxHa5R2.js → useInvoiceData-D2jkdmlA.js} +1 -1
  94. package/dist/{useInvoicesList-BQQxcPdz.mjs → useInvoicesList-CFzAxyae.mjs} +22 -18
  95. package/dist/useInvoicesList-CaBCGs4h.js +1 -0
  96. package/dist/{useLoadInitialData-Dm48tlSO.mjs → useLoadInitialData-5sgImpzc.mjs} +5 -0
  97. package/dist/useLoadInitialData-DjwRHcAH.js +1 -0
  98. package/dist/{usePaymentMethodOptions-2MloZ9bY.mjs → usePaymentMethodOptions-C2k4npCQ.mjs} +2 -2
  99. package/dist/{usePaymentMethodOptions-D01YWW3G.js → usePaymentMethodOptions-DYO6xr3-.js} +1 -1
  100. package/dist/{usePaymentMethods-DZvfWSlx.mjs → usePaymentMethods-CRWbH48K.mjs} +2 -2
  101. package/dist/{usePaymentMethods-Cm9WdSW0.js → usePaymentMethods-ryN_YohI.js} +1 -1
  102. package/dist/{usePayments-D4uGKBsV.mjs → usePayments-Cw5PPEJa.mjs} +3 -3
  103. package/dist/{usePayments-B13S_yai.js → usePayments-DWXPGFvp.js} +1 -1
  104. package/dist/{usePortal-DWJEVkTj.js → usePortal-CxX4nrE4.js} +1 -1
  105. package/dist/{usePortal-DJDJNLbo.mjs → usePortal-cmE08vYs.mjs} +1 -1
  106. package/dist/useService-Bb9r_sOQ.js +1 -0
  107. package/dist/{useService-BuWWE5ND.mjs → useService-BsSEI8DZ.mjs} +1 -16
  108. package/dist/{useWalletBalanceItems-B53Gkjro.mjs → useWalletBalanceItems-CkDqmk36.mjs} +8 -5
  109. package/dist/useWalletBalanceItems-CpZ1NWPr.js +1 -0
  110. package/dist/vendor-ui-5pJF5KBP.js +1 -0
  111. package/dist/{vendor-ui-BwxuPDg8.mjs → vendor-ui-C0K3osvz.mjs} +13272 -14225
  112. package/package.json +4 -3
  113. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C-C0i6i6.js +0 -1
  114. package/dist/ContentWithAsideLayout-oAYVrLvL.js +0 -1
  115. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CLU7Yiyx.js +0 -1
  116. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B_WLgBur.js +0 -1
  117. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DFw8lrDv.js +0 -1
  118. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DifRn1ok.js +0 -1
  119. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D1Xzfc70.js +0 -1
  120. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CpEqDnO3.js +0 -1
  121. package/dist/adyen-51SvcyqV.mjs +0 -4
  122. package/dist/adyen-DZsyEXkw.js +0 -1
  123. package/dist/adyenLoader-CEH4A2b2.js +0 -1
  124. package/dist/auto-DzZuCneB.mjs +0 -14387
  125. package/dist/auto-PpnAChnH.js +0 -6
  126. package/dist/component-C2Gc-wsE.js +0 -1
  127. package/dist/en-US-DJq-9dD8.js +0 -1
  128. package/dist/nl-NL-CtU1Lg2F.js +0 -1
  129. package/dist/source-DKDKBlUm.mjs +0 -179
  130. package/dist/source-dkMNFWDc.js +0 -1
  131. package/dist/useInvoicesList-CtJqmblZ.js +0 -1
  132. package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
  133. package/dist/useService-9fCKPTmu.js +0 -1
  134. package/dist/useWalletBalanceItems-BMaVT4TW.js +0 -1
  135. package/dist/vendor-ui-Ce_Yp7xA.js +0 -1
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, createTextVNode, toDisplayString, createElementBlock, Fragment, createElementVNode, renderList, createCommentVNode, normalizeClass, ref, onMounted, watch } from "vue";
2
- import { u as useIntl, b as _sfc_main$7, _ as _sfc_main$8, v as formatAmount, e as _sfc_main$a, j as _sfc_main$b, t as _sfc_main$c, A as _sfc_main$d, R as _sfc_main$e } from "../../vendor-ui-BwxuPDg8.mjs";
3
- import { _ as _sfc_main$9 } from "../../PricingGroupContent.vue_vue_type_script_setup_true_lang-CzS32ZUt.mjs";
4
- import { c as createPaymentMethodsService } from "../../paymentMethods-Di32oJ39.mjs";
5
- import { C as ContentWithAsideLayout } from "../../ContentWithAsideLayout-BTdixy3L.mjs";
6
- import { u as useActionDispatchProvider } from "../../useActionDispatchProvider-B4gszz0Q.mjs";
7
- import { u as usePortal } from "../../usePortal-DJDJNLbo.mjs";
8
- import { c as createRequestService, u as useConfig, _ as _sfc_main$f, d as defineCustomElement, g as getComponentName } from "../../component-CM9g6tbD.mjs";
2
+ import { u as useIntl, b as _sfc_main$7, _ as _sfc_main$8, x as formatAmount, e as _sfc_main$a, j as _sfc_main$b, l as _sfc_main$c, B as _sfc_main$d, S as _sfc_main$e } from "../../vendor-ui-C0K3osvz.mjs";
3
+ import { _ as _sfc_main$9 } from "../../PricingGroupContent.vue_vue_type_script_setup_true_lang-BChVMzCj.mjs";
4
+ import { c as createPaymentMethodsService } from "../../paymentMethods-67b3UlTZ.mjs";
5
+ import { C as ContentWithAsideLayout } from "../../ContentWithAsideLayout-DhfUkZZg.mjs";
6
+ import { c as createRequestService, u as useConfig, a as useLogger, _ as _sfc_main$f, d as defineCustomElement, g as getComponentName } from "../../component-Djrf1L-Z.mjs";
7
+ import { u as useActionDispatchProvider } from "../../useActionDispatchProvider-BC57-Ufn.mjs";
8
+ import { u as usePortal } from "../../usePortal-cmE08vYs.mjs";
9
9
  const mockSubscriptionGetResponse = {
10
10
  id: "ppsu_hwDeeN0vhvcVCsAIdp1G",
11
11
  pricing_plan_schedule_infos: [
@@ -230,11 +230,11 @@ const getMockPaymentMethodOptionsResponse = () => [
230
230
  ]
231
231
  }
232
232
  ];
233
- const _hoisted_1$4 = { class: "mb-3 flex flex-col gap-2" };
234
- const _hoisted_2$2 = { class: "flex flex-col gap-1 border-t pt-3" };
235
- const _hoisted_3$1 = { class: "flex items-center justify-between" };
236
- const _hoisted_4$1 = { class: "flex items-center justify-between" };
237
- const _hoisted_5$1 = { class: "flex items-center justify-between border-t pt-3" };
233
+ const _hoisted_1$4 = { class: "sv-order-summary__items mb-3 flex flex-col gap-2" };
234
+ const _hoisted_2$2 = { class: "sv-order-summary__tax flex flex-col gap-1 border-t pt-3" };
235
+ const _hoisted_3$1 = { class: "sv-order-summary__subtotal flex items-center justify-between" };
236
+ const _hoisted_4$1 = { class: "sv-order-summary__tax-row flex items-center justify-between" };
237
+ const _hoisted_5$1 = { class: "sv-order-summary__total flex items-center justify-between border-t pt-3" };
238
238
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
239
239
  __name: "UpgradeOrderSummary",
240
240
  props: {
@@ -251,14 +251,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
251
251
  return (_f = (_e = (_d = (_c = (_b = (_a = pricing.items) == null ? void 0 : _a[0]) == null ? void 0 : _b.configs) == null ? void 0 : _c[0]) == null ? void 0 : _d.bands) == null ? void 0 : _e[0]) == null ? void 0 : _f.fixed_amount;
252
252
  };
253
253
  return (_ctx, _cache) => {
254
- return openBlock(), createBlock(unref(_sfc_main$7), null, {
254
+ return openBlock(), createBlock(unref(_sfc_main$7), { class: "sv-order-summary sv-upgrade-subscription__order-summary" }, {
255
255
  default: withCtx(() => {
256
256
  var _a;
257
257
  return [
258
258
  createVNode(unref(_sfc_main$8), {
259
259
  variant: "heading-3",
260
260
  tag: "h2",
261
- class: "mb-3"
261
+ class: "sv-order-summary__title mb-3"
262
262
  }, {
263
263
  default: withCtx(() => [
264
264
  createTextVNode(toDisplayString(unref($t)({
@@ -272,7 +272,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
272
272
  isEmpty.value ? (openBlock(), createBlock(unref(_sfc_main$8), {
273
273
  key: 0,
274
274
  variant: "body-sm",
275
- shade: "lighter"
275
+ shade: "lighter",
276
+ class: "sv-order-summary__empty"
276
277
  }, {
277
278
  default: withCtx(() => [
278
279
  createTextVNode(toDisplayString(unref($t)({
@@ -287,10 +288,13 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
287
288
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.selectedPricings, (pricing) => {
288
289
  return openBlock(), createElementBlock("div", {
289
290
  key: pricing.id,
290
- class: "flex items-center justify-between"
291
+ class: "sv-order-summary__item flex items-center justify-between"
291
292
  }, [
292
293
  createElementVNode("div", null, [
293
- createVNode(unref(_sfc_main$8), { variant: "body-sm" }, {
294
+ createVNode(unref(_sfc_main$8), {
295
+ variant: "body-sm",
296
+ class: "sv-order-summary__item-name"
297
+ }, {
294
298
  default: withCtx(() => {
295
299
  var _a2, _b;
296
300
  return [
@@ -301,7 +305,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
301
305
  }, 1024),
302
306
  createVNode(unref(_sfc_main$8), {
303
307
  variant: "body-xs",
304
- shade: "lighter"
308
+ shade: "lighter",
309
+ class: "sv-order-summary__item-meta"
305
310
  }, {
306
311
  default: withCtx(() => [
307
312
  createTextVNode(toDisplayString(unref($t)({
@@ -315,7 +320,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
315
320
  ]),
316
321
  getPrice(pricing) ? (openBlock(), createBlock(unref(_sfc_main$8), {
317
322
  key: 0,
318
- variant: "body-sm"
323
+ variant: "body-sm",
324
+ class: "sv-order-summary__item-price"
319
325
  }, {
320
326
  default: withCtx(() => [
321
327
  createTextVNode(toDisplayString(unref(formatAmount)(getPrice(pricing))), 1)
@@ -481,7 +487,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
481
487
  };
482
488
  }
483
489
  });
484
- const _hoisted_1$3 = { class: "grid grid-cols-1 gap-1" };
490
+ const _hoisted_1$3 = { class: "sv-pricing-list__items grid grid-cols-1 gap-1" };
485
491
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
486
492
  __name: "OnDemandPricingList",
487
493
  props: {
@@ -499,11 +505,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
499
505
  return openBlock(true), createElementBlock(Fragment, null, renderList(sortedCategories.value, (category) => {
500
506
  return openBlock(), createElementBlock("div", {
501
507
  key: category.id ?? category.display_order,
502
- class: "flex flex-col gap-2"
508
+ class: "sv-pricing-list__category flex flex-col gap-2"
503
509
  }, [
504
510
  createVNode(unref(_sfc_main$8), {
505
511
  variant: "heading-3",
506
- tag: "h2"
512
+ tag: "h2",
513
+ class: "sv-pricing-list__category-title"
507
514
  }, {
508
515
  default: withCtx(() => {
509
516
  var _a;
@@ -517,6 +524,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
517
524
  (openBlock(true), createElementBlock(Fragment, null, renderList(category.pricings, (pricing) => {
518
525
  return openBlock(), createBlock(_sfc_main$5, {
519
526
  key: pricing.id,
527
+ class: "sv-pricing-list__row",
520
528
  pricing,
521
529
  selected: __props.selectedPricingIds.includes(pricing.id),
522
530
  onToggle: _cache[0] || (_cache[0] = ($event) => emit("toggle", $event))
@@ -529,7 +537,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
529
537
  createVNode(unref(_sfc_main$8), {
530
538
  variant: "body-sm",
531
539
  weight: "semibold",
532
- class: "mt-2"
540
+ class: "sv-pricing-list__group-title mt-2"
533
541
  }, {
534
542
  default: withCtx(() => [
535
543
  createTextVNode(toDisplayString(group.name), 1)
@@ -539,6 +547,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
539
547
  (openBlock(true), createElementBlock(Fragment, null, renderList(group.pricings, (pricing) => {
540
548
  return openBlock(), createBlock(_sfc_main$5, {
541
549
  key: pricing.id,
550
+ class: "sv-pricing-list__row",
542
551
  pricing,
543
552
  selected: __props.selectedPricingIds.includes(pricing.id),
544
553
  onToggle: _cache[1] || (_cache[1] = ($event) => emit("toggle", $event))
@@ -552,31 +561,31 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
552
561
  };
553
562
  }
554
563
  });
555
- const _hoisted_1$2 = { class: "flex flex-col gap-4" };
564
+ const _hoisted_1$2 = { class: "sv-payment-method-picker flex flex-col gap-4" };
556
565
  const _hoisted_2$1 = {
557
566
  key: 0,
558
- class: "flex flex-col gap-2"
567
+ class: "sv-payment-method-picker__saved flex flex-col gap-2"
559
568
  };
560
- const _hoisted_3 = { class: "flex flex-col gap-1" };
569
+ const _hoisted_3 = { class: "sv-payment-method-picker__options flex flex-col gap-1" };
561
570
  const _hoisted_4 = {
562
571
  key: 1,
563
- class: "flex flex-col gap-2"
572
+ class: "sv-payment-method-picker__new flex flex-col gap-2"
564
573
  };
565
- const _hoisted_5 = { class: "flex flex-col gap-1" };
566
- const _hoisted_6 = { class: "flex items-center gap-3" };
574
+ const _hoisted_5 = { class: "sv-payment-method-picker__options flex flex-col gap-1" };
575
+ const _hoisted_6 = { class: "sv-payment-method-picker__option-content flex items-center gap-3" };
567
576
  const _hoisted_7 = {
568
577
  key: 0,
569
- class: "flex h-9 w-9 shrink-0 items-center gap-0.5"
578
+ class: "sv-payment-method-picker__option-icon flex h-9 w-9 shrink-0 items-center gap-0.5"
570
579
  };
571
580
  const _hoisted_8 = ["src", "alt"];
572
581
  const _hoisted_9 = {
573
582
  key: 1,
574
- class: "flex h-9 w-9 shrink-0 items-center justify-center overflow-clip rounded"
583
+ class: "sv-payment-method-picker__option-icon flex h-9 w-9 shrink-0 items-center justify-center overflow-clip rounded"
575
584
  };
576
585
  const _hoisted_10 = ["src", "alt"];
577
586
  const _hoisted_11 = {
578
587
  key: 2,
579
- class: "flex flex-col gap-1"
588
+ class: "sv-payment-method-picker__loading flex flex-col gap-1"
580
589
  };
581
590
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
582
591
  __name: "PaymentMethodPicker",
@@ -624,7 +633,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
624
633
  savedMethods.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
625
634
  createVNode(unref(_sfc_main$8), {
626
635
  variant: "heading-3",
627
- tag: "h2"
636
+ tag: "h2",
637
+ class: "sv-payment-method-picker__title"
628
638
  }, {
629
639
  default: withCtx(() => [
630
640
  createTextVNode(toDisplayString(unref($t)({
@@ -640,11 +650,14 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
640
650
  return openBlock(), createBlock(unref(_sfc_main$7), {
641
651
  key: method.id,
642
652
  "content-background": __props.selectedId === method.id ? "none" : "gray",
643
- class: normalizeClass([{ "!bg-white": __props.selectedId === method.id }, "cursor-pointer"]),
653
+ class: normalizeClass([{ "sv-payment-method-picker__option--selected !bg-white": __props.selectedId === method.id }, "sv-payment-method-picker__option cursor-pointer"]),
644
654
  onClick: ($event) => emit("select", method.id)
645
655
  }, {
646
656
  default: withCtx(() => [
647
- createVNode(unref(_sfc_main$b), { "payment-method": method }, null, 8, ["payment-method"])
657
+ createVNode(unref(_sfc_main$b), {
658
+ class: "sv-payment-method-picker__option-content",
659
+ "payment-method": method
660
+ }, null, 8, ["payment-method"])
648
661
  ]),
649
662
  _: 2
650
663
  }, 1032, ["content-background", "class", "onClick"]);
@@ -654,7 +667,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
654
667
  newOptions.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4, [
655
668
  createVNode(unref(_sfc_main$8), {
656
669
  variant: "heading-3",
657
- tag: "h2"
670
+ tag: "h2",
671
+ class: "sv-payment-method-picker__title"
658
672
  }, {
659
673
  default: withCtx(() => [
660
674
  createTextVNode(toDisplayString(unref($t)({
@@ -670,7 +684,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
670
684
  return openBlock(), createBlock(unref(_sfc_main$7), {
671
685
  key: option.adyen.type,
672
686
  "content-background": __props.selectedId === option.adyen.type ? "none" : "gray",
673
- class: normalizeClass([{ "!bg-white": __props.selectedId === option.adyen.type }, "cursor-pointer"]),
687
+ class: normalizeClass([{
688
+ "sv-payment-method-picker__option--selected !bg-white": __props.selectedId === option.adyen.type
689
+ }, "sv-payment-method-picker__option cursor-pointer"]),
674
690
  onClick: ($event) => emit("select", option.adyen.type)
675
691
  }, {
676
692
  default: withCtx(() => [
@@ -691,7 +707,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
691
707
  class: "h-9 w-9 object-contain"
692
708
  }, null, 8, _hoisted_10)
693
709
  ])),
694
- createVNode(unref(_sfc_main$8), { variant: "body-sm" }, {
710
+ createVNode(unref(_sfc_main$8), {
711
+ variant: "body-sm",
712
+ class: "sv-payment-method-picker__option-label"
713
+ }, {
695
714
  default: withCtx(() => [
696
715
  createTextVNode(toDisplayString(option.name), 1)
697
716
  ]),
@@ -705,9 +724,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
705
724
  ])
706
725
  ])) : createCommentVNode("", true),
707
726
  isPending.value ? (openBlock(), createElementBlock("div", _hoisted_11, [..._cache[0] || (_cache[0] = [
708
- createElementVNode("div", { class: "h-[52px] animate-pulse rounded-md bg-gray-100" }, null, -1),
709
- createElementVNode("div", { class: "h-[52px] animate-pulse rounded-md bg-gray-100" }, null, -1),
710
- createElementVNode("div", { class: "h-[52px] animate-pulse rounded-md bg-gray-100" }, null, -1)
727
+ createElementVNode("div", { class: "sv-skeleton h-[52px] animate-pulse rounded-md bg-gray-100" }, null, -1),
728
+ createElementVNode("div", { class: "sv-skeleton h-[52px] animate-pulse rounded-md bg-gray-100" }, null, -1),
729
+ createElementVNode("div", { class: "sv-skeleton h-[52px] animate-pulse rounded-md bg-gray-100" }, null, -1)
711
730
  ])])) : createCommentVNode("", true)
712
731
  ]);
713
732
  };
@@ -764,9 +783,9 @@ function createPricingPlanSchedulesService() {
764
783
  }
765
784
  const _hoisted_1 = {
766
785
  key: 0,
767
- class: "flex h-full items-center justify-center p-8"
786
+ class: "sv-upgrade-subscription sv-root sv-screen sv-upgrade-subscription--purchased flex h-full items-center justify-center p-8"
768
787
  };
769
- const _hoisted_2 = { class: "flex flex-col items-center py-10" };
788
+ const _hoisted_2 = { class: "sv-upgrade-subscription__success-body flex flex-col items-center py-10" };
770
789
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
771
790
  __name: "UpgradeSubscription",
772
791
  props: {
@@ -778,6 +797,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
778
797
  const { dispatchAction } = useActionDispatchProvider();
779
798
  const { chargeOnDemandPricingItems } = createPricingPlanSchedulesService();
780
799
  const portal = usePortal();
800
+ const logger = useLogger();
781
801
  const customerId = computed(() => portal.value.customer_id);
782
802
  const selectedPricingIds = ref([]);
783
803
  const selectedPaymentMethodId = ref(void 0);
@@ -846,7 +866,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
846
866
  } else {
847
867
  dispatchAction({ action: "pay-invoice", data: { invoiceId: invoice.id } });
848
868
  }
849
- } catch {
869
+ } catch (error) {
870
+ logger.error("PURCHASE_FAILED", "Failed to complete upgrade subscription purchase", {}, error);
850
871
  purchaseError.value = $t({
851
872
  defaultMessage: "Something went wrong. Please try again.",
852
873
  id: "upgrade_subscription.purchase_error",
@@ -858,18 +879,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
858
879
  };
859
880
  return (_ctx, _cache) => {
860
881
  return isPurchased.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
861
- createVNode(unref(_sfc_main$7), null, {
882
+ createVNode(unref(_sfc_main$7), { class: "sv-upgrade-subscription__success" }, {
862
883
  default: withCtx(() => [
863
884
  createElementVNode("div", _hoisted_2, [
864
885
  createVNode(unref(_sfc_main$c), {
865
886
  icon: "check_circle",
866
- class: "text-green-400",
887
+ class: "sv-upgrade-subscription__success-icon text-green-400",
867
888
  size: "lg"
868
889
  }),
869
890
  createVNode(unref(_sfc_main$8), {
870
891
  variant: "heading-3",
871
892
  tag: "span",
872
- class: "mt-2"
893
+ class: "sv-upgrade-subscription__success-title mt-2"
873
894
  }, {
874
895
  default: withCtx(() => [
875
896
  createTextVNode(toDisplayString(unref($t)({
@@ -884,7 +905,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
884
905
  variant: "body-sm",
885
906
  shade: "lighter",
886
907
  tag: "span",
887
- class: "mt-1"
908
+ class: "sv-upgrade-subscription__success-message mt-1"
888
909
  }, {
889
910
  default: withCtx(() => [
890
911
  createTextVNode(toDisplayString(unref($t)({
@@ -899,10 +920,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
899
920
  ]),
900
921
  _: 1
901
922
  })
902
- ])) : (openBlock(), createBlock(unref(ContentWithAsideLayout), { key: 1 }, {
923
+ ])) : (openBlock(), createBlock(unref(ContentWithAsideLayout), {
924
+ key: 1,
925
+ class: "sv-upgrade-subscription sv-root sv-screen"
926
+ }, {
903
927
  content: withCtx(() => [
904
928
  categories.value.length > 0 ? (openBlock(), createBlock(_sfc_main$4, {
905
929
  key: 0,
930
+ class: "sv-upgrade-subscription__pricing-list",
906
931
  categories: categories.value,
907
932
  "selected-pricing-ids": selectedPricingIds.value,
908
933
  onToggle: handleToggle
@@ -910,7 +935,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
910
935
  key: 1,
911
936
  variant: "body-sm",
912
937
  shade: "lighter",
913
- class: "p-4"
938
+ class: "sv-upgrade-subscription__empty-state p-4"
914
939
  }, {
915
940
  default: withCtx(() => [
916
941
  createTextVNode(toDisplayString(unref($t)({
@@ -923,6 +948,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
923
948
  })),
924
949
  createVNode(unref(_sfc_main$e), { spacing: "sm" }),
925
950
  createVNode(_sfc_main$3, {
951
+ class: "sv-upgrade-subscription__payment-method-picker",
926
952
  "customer-id": customerId.value,
927
953
  "subscription-id": __props.configuration.subscriptionId,
928
954
  "selected-id": selectedPaymentMethodId.value,
@@ -931,17 +957,19 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
931
957
  ]),
932
958
  aside: withCtx(() => [
933
959
  createVNode(_sfc_main$6, {
960
+ class: "sv-upgrade-subscription__order-summary",
934
961
  "selected-pricings": selectedPricings.value,
935
962
  invoice: previewInvoice.value,
936
963
  "is-pending": isPreviewPending.value
937
964
  }, null, 8, ["selected-pricings", "invoice", "is-pending"]),
938
965
  purchaseError.value ? (openBlock(), createBlock(unref(_sfc_main$d), {
939
966
  key: 0,
967
+ class: "sv-upgrade-subscription__error sv-error",
940
968
  title: purchaseError.value
941
969
  }, null, 8, ["title"])) : createCommentVNode("", true),
942
970
  createVNode(unref(_sfc_main$a), {
943
971
  size: "lg",
944
- class: "full-width",
972
+ class: "sv-action sv-action--primary sv-action--full-width sv-upgrade-subscription__purchase full-width",
945
973
  type: "button",
946
974
  disabled: !canPurchase.value || isPurchasePending.value,
947
975
  loading: isPurchasePending.value,
@@ -960,7 +988,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
960
988
  tag: "div",
961
989
  variant: "body-sm",
962
990
  shade: "lighter",
963
- class: "flex grow justify-center"
991
+ class: "sv-upgrade-subscription__trust-indicator flex grow justify-center"
964
992
  }, {
965
993
  default: withCtx(() => [
966
994
  createVNode(_sfc_main$2, {
@@ -995,6 +1023,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
995
1023
  onLog: { type: Function },
996
1024
  allowedPortalTypes: { type: Array },
997
1025
  portalObject: { type: Object },
1026
+ cssOverrides: { type: [String, Array] },
998
1027
  branding: { type: Object },
999
1028
  configuration: { type: Object }
1000
1029
  },
@@ -1012,13 +1041,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1012
1041
  "experimental-features": __props.experimentalFeatures,
1013
1042
  "log-level": __props.logLevel,
1014
1043
  "on-log": __props.onLog,
1044
+ "css-overrides": __props.cssOverrides,
1015
1045
  onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
1016
1046
  }, {
1017
1047
  default: withCtx(() => [
1018
1048
  createVNode(_sfc_main$1, { configuration: __props.configuration }, null, 8, ["configuration"])
1019
1049
  ]),
1020
1050
  _: 1
1021
- }, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log"]);
1051
+ }, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log", "css-overrides"]);
1022
1052
  };
1023
1053
  }
1024
1054
  });
@@ -1 +1 @@
1
- export default ".to-right-enter-active[data-v-ce4df87e],.to-right-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateX(-10px);}.to-right-leave[data-v-ce4df87e],.to-right-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateX(0);}.to-right-enter-active[data-v-ce4df87e],.to-right-leave-active[data-v-ce4df87e]{transition: all 250ms;}.to-left-enter-active[data-v-ce4df87e],.to-left-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateX(10px);}.to-left-leave[data-v-ce4df87e],.to-left-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateX(0);}.to-left-enter-active[data-v-ce4df87e],.to-left-leave-active[data-v-ce4df87e]{transition: all 250ms;}.to-top-enter-active[data-v-ce4df87e],.to-top-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateY(10px);}.to-top-leave[data-v-ce4df87e],.to-top-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateY(0);}.to-top-enter-active[data-v-ce4df87e],.to-top-leave-active[data-v-ce4df87e]{transition: all 250ms;}.to-bottom-enter-active[data-v-ce4df87e],.to-bottom-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateY(-10px);}.to-bottom-leave[data-v-ce4df87e],.to-bottom-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateY(0);}.to-bottom-enter-active[data-v-ce4df87e],.to-bottom-leave-active[data-v-ce4df87e]{transition: all 250ms;}";export default ".expand-enter-active,.expand-leave-active{transition: height 300ms ease-in-out;overflow: hidden;}.expand-enter,.expand-leave-to{height: 0;}";export default "thead th:first-of-type,tr td:first-of-type{position: sticky;left: 0;background: inherit;z-index: 2;}thead th:last-of-type,tr td:last-of-type{position: sticky;right: 0;background: inherit;z-index: 2;}";export default "input[type='range']{-webkit-appearance: none;-moz-appearance: none;appearance: none;width: 100%;background: transparent;margin: 0.5rem 0;}input[type='range']::-webkit-slider-thumb{-webkit-appearance: none;appearance: none;width: 1rem;height: 1rem;border: 2px solid rgb(229 231 235);border-radius: 50%;background: #ffffff;box-shadow: 0 1px 3px 0 rgba(0,0,0,0.3);cursor: pointer;-webkit-transition: all 0.1s ease-in-out;transition: all 0.1s ease-in-out;}input[type='range']:disabled::-webkit-slider-thumb{cursor: not-allowed;}input[type='range']::-moz-range-thumb{-moz-appearance: none;appearance: none;width: 1rem;height: 1rem;border: 2px solid rgb(229 231 235);border-radius: 50%;background: #ffffff;box-shadow: 0 1px 3px 0 rgba(0,0,0,0.3);cursor: pointer;-moz-transition: all 0.1s ease-in-out;transition: all 0.1s ease-in-out;}input[type='range']:disabled::-moz-range-thumb{cursor: not-allowed;}input[type='range']:not(:disabled):hover::-webkit-slider-thumb{box-shadow: 0 0 0 6px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']:not(:disabled):hover::-moz-range-thumb{box-shadow: 0 0 0 6px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']:not(:disabled):active::-webkit-slider-thumb{box-shadow: 0 0 0 8px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']:not(:disabled):active::-moz-range-thumb{box-shadow: 0 0 0 8px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']::-webkit-slider-runnable-track{width: 100%;height: 0.5rem;cursor: pointer;background: linear-gradient(to right,var(--color-primary-600)var(--range-percentage,0%),n#e0e5eb var(--range-percentage, 0%)n);border-radius: 0.25rem;}input[type='range']:disabled::-webkit-slider-runnable-track{background: #e0e5eb;cursor: not-allowed;}input[type='range']::-moz-range-track{width: 100%;height: 0.5rem;cursor: pointer;background: linear-gradient(to right,var(--color-primary-600)var(--range-percentage,0%),n#e0e5eb var(--range-percentage, 0%)n);border-radius: 0.25rem;}input[type='range']:disabled::-moz-range-track{background: #e0e5eb;cursor: not-allowed;}input[type='range'].range-sm::-webkit-slider-thumb{width: 0.8rem;height: 0.8rem;margin-top:-0.2rem;}input[type='range'].range-sm::-moz-range-thumb{width: 0.8rem;height: 0.8rem;}input[type='range'].range-sm::-webkit-slider-runnable-track{height: 0.4rem;border-radius: 0.2rem;}input[type='range'].range-sm::-moz-range-track{height: 0.4rem;border-radius: 0.2rem;}input[type='range'].range-md::-webkit-slider-thumb{width: 1rem;height: 1rem;margin-top:-0.25rem;}input[type='range'].range-md::-moz-range-thumb{width: 1rem;height: 1rem;}input[type='range'].range-md::-webkit-slider-runnable-track{height: 0.5rem;border-radius: 0.25rem;}input[type='range'].range-md::-moz-range-track{height: 0.5rem;border-radius: 0.25rem;}input[type='range'].range-lg::-webkit-slider-thumb{width: 1.4rem;height: 1.4rem;margin-top:-0.35rem;}input[type='range'].range-lg::-moz-range-thumb{width: 1.4rem;height: 1.4rem;}input[type='range'].range-lg::-webkit-slider-runnable-track{height: 0.7rem;border-radius: 0.35rem;}input[type='range'].range-lg::-moz-range-track{height: 0.7rem;border-radius: 0.35rem;}input[type='range'].range-xl::-webkit-slider-thumb{width: 1.8rem;height: 1.8rem;margin-top:-0.5rem;}input[type='range'].range-xl::-moz-range-thumb{width: 1.8rem;height: 1.8rem;}input[type='range'].range-xl::-webkit-slider-runnable-track{height: 0.9rem;border-radius: 0.45rem;}input[type='range'].range-xl::-moz-range-track{height: 0.9rem;border-radius: 0.45rem;}";export default ".conditions-root:focus-within>.conditions-with-context-menu[data-v-6310fe1d],.conditions-root:hover>.conditions-with-context-menu[data-v-6310fe1d]{padding-right: 3rem;}.conditions-root:focus-within>.conditions-with-context-menu+.context-menu-wrapper[data-v-6310fe1d],.conditions-root:hover>.conditions-with-context-menu+.context-menu-wrapper[data-v-6310fe1d]{opacity: 1;}";export default ".nested-conditions-border::before{background-image: url(\"data:image/svg+xml,%3Csvg width='4' height='5' fill='none' xmlns='http:}";export default '[data-v-1e3637a9].tiptap h1,.editor-content-typography[data-v-1e3637a9]h1{margin-top: 0px;font-size: 2.1428571em;font-weight: 700;line-height: 1.2;}[data-v-1e3637a9].tiptap h2,.editor-content-typography[data-v-1e3637a9]h2{margin-top: 0px;font-size: 1.5em;font-weight: 700;line-height: 1.3333333;}[data-v-1e3637a9].tiptap h3,.editor-content-typography[data-v-1e3637a9]h3{margin-top: 0px;font-size: 1.2857143em;font-weight: 600;line-height: 1.4444444;}[data-v-1e3637a9].tiptap h4,.editor-content-typography[data-v-1e3637a9]h4{margin-top: 0px;font-size: 1.1em;font-weight: 600;line-height: 1.4444444;}[data-v-1e3637a9].tiptap p,.editor-content-typography[data-v-1e3637a9]p{margin-top: 0px;line-height: 1.45;--tw-text-opacity: 1;color: rgb(71 85 105/var(--tw-text-opacity,1));}[data-v-1e3637a9].tiptap ul,[data-v-1e3637a9].tiptap ol,.editor-content-typography[data-v-1e3637a9]ul,.editor-content-typography[data-v-1e3637a9]ol{margin-top: 0px;padding-left: 1.625em;}[data-v-1e3637a9].tiptap ul,.editor-content-typography[data-v-1e3637a9]ul{list-style-type: disc;}[data-v-1e3637a9].tiptap ol,.editor-content-typography[data-v-1e3637a9]ol{list-style-type: decimal;}[data-v-1e3637a9].tiptap li,.editor-content-typography[data-v-1e3637a9]li{margin-top: 0.2em;line-height: 1.45;--tw-text-opacity: 1;color: rgb(71 85 105/var(--tw-text-opacity,1));}[data-v-1e3637a9].tiptap blockquote,.editor-content-typography[data-v-1e3637a9]blockquote{margin-top: 0px;margin-bottom: 1rem;border-left-width: 3px;--tw-border-opacity: 1;border-color: rgb(203 213 225/var(--tw-border-opacity,1));padding-left: 0.875rem;font-style: italic;line-height: 1.45;--tw-text-opacity: 1;color: rgb(100 116 139/var(--tw-text-opacity,1));}[data-v-1e3637a9].tiptap blockquote p,.editor-content-typography[data-v-1e3637a9]blockquote p{margin-bottom: 0px;color: inherit;}[data-v-1e3637a9].tiptap pre,.editor-content-typography[data-v-1e3637a9]pre{margin-top: 0px;margin-bottom: 1rem;white-space: pre-wrap;border-radius: 0.375rem;border-width: 1px;--tw-border-opacity: 1;border-color: rgb(226 232 240/var(--tw-border-opacity,1));--tw-bg-opacity: 1;background-color: rgb(248 250 252/var(--tw-bg-opacity,1));padding-left: 0.75rem;padding-right: 0.75rem;padding-top: 0.5rem;padding-bottom: 0.5rem;font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size: 0.875em;line-height: 1.5;--tw-text-opacity: 1;color: rgb(51 65 85/var(--tw-text-opacity,1));}[data-v-1e3637a9].tiptap pre code,.editor-content-typography[data-v-1e3637a9]pre code{background-color: transparent;padding: 0px;color: inherit;}[data-v-1e3637a9].tiptap code:not(pre code),.editor-content-typography[data-v-1e3637a9]code:not(pre code){border-radius: 0.25rem;--tw-bg-opacity: 1;background-color: rgb(241 245 249/var(--tw-bg-opacity,1));padding-left: 0.25rem;padding-right: 0.25rem;padding-top: 0.125rem;padding-bottom: 0.125rem;font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size: 0.875em;--tw-text-opacity: 1;color: rgb(51 65 85/var(--tw-text-opacity,1));}[data-v-1e3637a9].tiptap a,.editor-content-typography[data-v-1e3637a9]a{--tw-text-opacity: 1;color: rgb(37 99 235/var(--tw-text-opacity,1));text-decoration-line: none;}[data-v-1e3637a9].tiptap a:hover,.editor-content-typography[data-v-1e3637a9]a:hover{text-decoration-line: underline;}[data-v-1e3637a9].tiptap>*:last-child,.editor-content-typography[data-v-1e3637a9]*:last-child{margin-bottom: 0px;}[data-v-1e3637a9].tiptap .is-empty::before{content: attr(data-placeholder);float: left;height: 0;pointer-events: none;font-weight: 400;font-style: italic;--tw-text-opacity: 1;color: rgb(148 163 184/var(--tw-text-opacity,1));}';export default ".animated-gradient[data-v-f1f0dadf]{background: repeating-linear-gradient(to right,rgba(255,255,255,0)0%,rgba(255,255,255,0.75)50%,rgba(255,255,255,0)100%);width: 100%;background-size: 200% auto;background-position: 0 100%;animation: gradient-f1f0dadf 2s infinite;animation-fill-mode: forwards;animation-timing-function: linear;}@keyframes gradient-f1f0dadf{0%{background-position: 0 0;}100%{background-position:-200% 0;}}";export default ".slide-left-enter-active[data-v-1a3d5742],.slide-left-leave-active[data-v-1a3d5742]{transition: all 0.5s ease;}.slide-left-enter-from[data-v-1a3d5742],.slide-left-leave-to[data-v-1a3d5742]{opacity: 0;transform: translateX(30px);}.slide-right-enter-active[data-v-1a3d5742],.slide-right-leave-active[data-v-1a3d5742]{transition: all 0.5s ease;}.slide-right-enter-from[data-v-1a3d5742],.slide-right-leave-to[data-v-1a3d5742]{opacity: 0;transform: translateX(-30px);}.slide-top-enter-active[data-v-1a3d5742],.slide-top-leave-active[data-v-1a3d5742]{transition: all 0.5s ease;}.slide-top-enter-from[data-v-1a3d5742],.slide-top-leave-to[data-v-1a3d5742]{opacity: 0;transform: translateY(30px);}.slide-bottom-enter-active[data-v-1a3d5742],.slide-bottom-leave-active[data-v-1a3d5742]{transition: all 0.5s ease;}.slide-bottom-enter-from[data-v-1a3d5742],.slide-bottom-leave-to[data-v-1a3d5742]{opacity: 0;transform: translateY(-30px);}.fade-enter-active[data-v-1a3d5742],.fade-leave-active[data-v-1a3d5742]{transition: all 0.5s ease;}.fade-enter-from[data-v-1a3d5742],.fade-leave-to[data-v-1a3d5742]{opacity: 0;}";{}
1
+ .to-right-enter-active[data-v-ce4df87e],.to-right-leave-to[data-v-ce4df87e]{opacity:0;transform:translate(-10px)}.to-right-leave[data-v-ce4df87e],.to-right-enter-to[data-v-ce4df87e]{opacity:1;transform:translate(0)}.to-right-enter-active[data-v-ce4df87e],.to-right-leave-active[data-v-ce4df87e]{transition:all .25s}.to-left-enter-active[data-v-ce4df87e],.to-left-leave-to[data-v-ce4df87e]{opacity:0;transform:translate(10px)}.to-left-leave[data-v-ce4df87e],.to-left-enter-to[data-v-ce4df87e]{opacity:1;transform:translate(0)}.to-left-enter-active[data-v-ce4df87e],.to-left-leave-active[data-v-ce4df87e]{transition:all .25s}.to-top-enter-active[data-v-ce4df87e],.to-top-leave-to[data-v-ce4df87e]{opacity:0;transform:translateY(10px)}.to-top-leave[data-v-ce4df87e],.to-top-enter-to[data-v-ce4df87e]{opacity:1;transform:translateY(0)}.to-top-enter-active[data-v-ce4df87e],.to-top-leave-active[data-v-ce4df87e]{transition:all .25s}.to-bottom-enter-active[data-v-ce4df87e],.to-bottom-leave-to[data-v-ce4df87e]{opacity:0;transform:translateY(-10px)}.to-bottom-leave[data-v-ce4df87e],.to-bottom-enter-to[data-v-ce4df87e]{opacity:1;transform:translateY(0)}.to-bottom-enter-active[data-v-ce4df87e],.to-bottom-leave-active[data-v-ce4df87e]{transition:all .25s}@media print{.card-print-avoid[data-v-9ba3ddf0]{break-inside:avoid-page;page-break-inside:avoid}}.expand-enter-active,.expand-leave-active{transition:height .3s ease-in-out;overflow:hidden}.expand-enter,.expand-leave-to{height:0}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;background:transparent;margin:.5rem 0}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1rem;height:1rem;border:2px solid rgb(229 231 235);border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000004d;cursor:pointer;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}input[type=range]:disabled::-webkit-slider-thumb{cursor:not-allowed}input[type=range]::-moz-range-thumb{-moz-appearance:none;-webkit-appearance:none;appearance:none;width:1rem;height:1rem;border:2px solid rgb(229 231 235);border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000004d;cursor:pointer;-moz-transition:all .1s ease-in-out;transition:all .1s ease-in-out}input[type=range]:disabled::-moz-range-thumb{cursor:not-allowed}input[type=range]:not(:disabled):hover::-webkit-slider-thumb{box-shadow:0 0 0 6px color-mix(in srgb,var(--color-primary-200) 50%,transparent)}input[type=range]:not(:disabled):hover::-moz-range-thumb{box-shadow:0 0 0 6px color-mix(in srgb,var(--color-primary-200) 50%,transparent)}input[type=range]:not(:disabled):active::-webkit-slider-thumb{box-shadow:0 0 0 8px color-mix(in srgb,var(--color-primary-200) 50%,transparent)}input[type=range]:not(:disabled):active::-moz-range-thumb{box-shadow:0 0 0 8px color-mix(in srgb,var(--color-primary-200) 50%,transparent)}input[type=range]::-webkit-slider-runnable-track{width:100%;height:.5rem;cursor:pointer;background:linear-gradient(to right,var(--color-primary-600) var(--range-percentage, 0%),#e0e5eb var(--range-percentage, 0%));border-radius:.25rem}input[type=range]:disabled::-webkit-slider-runnable-track{background:#e0e5eb;cursor:not-allowed}input[type=range]::-moz-range-track{width:100%;height:.5rem;cursor:pointer;background:linear-gradient(to right,var(--color-primary-600) var(--range-percentage, 0%),#e0e5eb var(--range-percentage, 0%));border-radius:.25rem}input[type=range]:disabled::-moz-range-track{background:#e0e5eb;cursor:not-allowed}input[type=range].range-sm::-webkit-slider-thumb{width:.8rem;height:.8rem;margin-top:-.2rem}input[type=range].range-sm::-moz-range-thumb{width:.8rem;height:.8rem}input[type=range].range-sm::-webkit-slider-runnable-track{height:.4rem;border-radius:.2rem}input[type=range].range-sm::-moz-range-track{height:.4rem;border-radius:.2rem}input[type=range].range-md::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem}input[type=range].range-md::-moz-range-thumb{width:1rem;height:1rem}input[type=range].range-md::-webkit-slider-runnable-track{height:.5rem;border-radius:.25rem}input[type=range].range-md::-moz-range-track{height:.5rem;border-radius:.25rem}input[type=range].range-lg::-webkit-slider-thumb{width:1.4rem;height:1.4rem;margin-top:-.35rem}input[type=range].range-lg::-moz-range-thumb{width:1.4rem;height:1.4rem}input[type=range].range-lg::-webkit-slider-runnable-track{height:.7rem;border-radius:.35rem}input[type=range].range-lg::-moz-range-track{height:.7rem;border-radius:.35rem}input[type=range].range-xl::-webkit-slider-thumb{width:1.8rem;height:1.8rem;margin-top:-.5rem}input[type=range].range-xl::-moz-range-thumb{width:1.8rem;height:1.8rem}input[type=range].range-xl::-webkit-slider-runnable-track{height:.9rem;border-radius:.45rem}input[type=range].range-xl::-moz-range-track{height:.9rem;border-radius:.45rem}thead th:first-of-type,tr td:first-of-type{position:sticky;left:0;background:inherit;z-index:2}thead th:last-of-type,tr td:last-of-type{position:sticky;right:0;background:inherit;z-index:2}@media print{.card-header-print-root[data-v-9316d9b2]{-moz-column-break-after:avoid;break-after:avoid-page;page-break-after:avoid}}@media print{.collapsible-card-print-root[data-v-6f1525c7],.collapsible-card-print-content[data-v-6f1525c7]{-moz-column-break-inside:auto;break-inside:auto;page-break-inside:auto}.collapsible-card-print-content[data-v-6f1525c7]{display:block!important}}@media print{.collapsible-list-item-content[data-v-9da2d94d]{display:block!important}}.tiptap h1,.editor-content-typography h1{margin-top:0;font-size:2.1428571em;font-weight:700;line-height:1.2}.tiptap h2,.editor-content-typography h2{margin-top:0;font-size:1.5em;font-weight:700;line-height:1.3333333}.tiptap h3,.editor-content-typography h3{margin-top:0;font-size:1.2857143em;font-weight:600;line-height:1.4444444}.tiptap h4,.editor-content-typography h4{margin-top:0;font-size:1.1em;font-weight:600;line-height:1.4444444}.tiptap p,.editor-content-typography p{margin-top:0;line-height:1.45;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.tiptap ul,.tiptap ol,.editor-content-typography ul,.editor-content-typography ol{margin-top:0;padding-left:1.625em}.tiptap ul,.editor-content-typography ul{list-style-type:disc}.tiptap ol,.editor-content-typography ol{list-style-type:decimal}.tiptap li,.editor-content-typography li{margin-top:.2em;line-height:1.45;--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.tiptap blockquote,.editor-content-typography blockquote{margin-top:0;margin-bottom:1rem;border-left-width:3px;--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1));padding-left:.875rem;font-style:italic;line-height:1.45;--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.tiptap blockquote p,.editor-content-typography blockquote p{margin-bottom:0;color:inherit}.tiptap pre,.editor-content-typography pre{margin-top:0;margin-bottom:1rem;white-space:pre-wrap;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1));padding:.5rem .75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875em;line-height:1.5;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.tiptap pre code,.editor-content-typography pre code{background-color:transparent;padding:0;color:inherit}.tiptap code:not(pre code),.editor-content-typography code:not(pre code){border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1));padding:.125rem .25rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875em;--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.tiptap a,.editor-content-typography a{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1));text-decoration-line:none}.tiptap a:hover,.editor-content-typography a:hover{text-decoration-line:underline}.tiptap>*:last-child,.editor-content-typography *:last-child{margin-bottom:0}[data-v-438af34f] .tiptap .is-empty:before{content:attr(data-placeholder);float:left;height:0;pointer-events:none;font-weight:400;font-style:italic;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.animated-gradient[data-v-f1f0dadf]{background:repeating-linear-gradient(to right,#fff0,#ffffffbf,#fff0);width:100%;background-size:200% auto;background-position:0 100%;animation:gradient-f1f0dadf 2s infinite;animation-fill-mode:forwards;animation-timing-function:linear}@keyframes gradient-f1f0dadf{0%{background-position:0 0}to{background-position:-200% 0}}@media print{.tiered-rule-header[data-v-9e78b558]{-moz-column-break-after:avoid;break-after:avoid;page-break-after:avoid}.tiered-table-print-wrapper[data-v-9e78b558]{-moz-column-break-inside:auto;break-inside:auto;page-break-inside:auto}.tiered-table-print thead[data-v-9e78b558]{display:table-header-group}.tiered-table-print-row[data-v-9e78b558]{-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}}.conditions-root:focus-within>.conditions-with-context-menu[data-v-ecf44f22],.conditions-root:hover>.conditions-with-context-menu[data-v-ecf44f22]{padding-right:3rem}.conditions-root:focus-within>.conditions-with-context-menu+.context-menu-wrapper[data-v-ecf44f22],.conditions-root:hover>.conditions-with-context-menu+.context-menu-wrapper[data-v-ecf44f22]{opacity:1}.nested-conditions-border:before{background-image:url("data:image/svg+xml,%3Csvg width='4' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='m0 0 4 4v1L0 1V0Z' fill='%23CDD6DF'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h4v5H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E")}@media print{.pricing-item-heading[data-v-3d026d53]{-moz-column-break-after:avoid;break-after:avoid;page-break-after:avoid}.pricing-item-block[data-v-3d026d53]{-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}}@media print{.section-label[data-v-f430a83c]{-moz-column-break-after:avoid;break-after:avoid;page-break-after:avoid}}@media print{.category-heading[data-v-2ac99a3d]{-moz-column-break-after:avoid;break-after:avoid;page-break-after:avoid}[data-v-2ac99a3d] .collapsible-card-print-root .card-header-print-root{border-bottom-width:0}}@media print{[data-v-82e565eb] .card-surface{box-shadow:none!important;border-color:#e5e7eb!important}}.slide-left-enter-active[data-v-1a3d5742],.slide-left-leave-active[data-v-1a3d5742]{transition:all .5s ease}.slide-left-enter-from[data-v-1a3d5742],.slide-left-leave-to[data-v-1a3d5742]{opacity:0;transform:translate(30px)}.slide-right-enter-active[data-v-1a3d5742],.slide-right-leave-active[data-v-1a3d5742]{transition:all .5s ease}.slide-right-enter-from[data-v-1a3d5742],.slide-right-leave-to[data-v-1a3d5742]{opacity:0;transform:translate(-30px)}.slide-top-enter-active[data-v-1a3d5742],.slide-top-leave-active[data-v-1a3d5742]{transition:all .5s ease}.slide-top-enter-from[data-v-1a3d5742],.slide-top-leave-to[data-v-1a3d5742]{opacity:0;transform:translateY(30px)}.slide-bottom-enter-active[data-v-1a3d5742],.slide-bottom-leave-active[data-v-1a3d5742]{transition:all .5s ease}.slide-bottom-enter-from[data-v-1a3d5742],.slide-bottom-leave-to[data-v-1a3d5742]{opacity:0;transform:translateY(-30px)}.fade-enter-active[data-v-1a3d5742],.fade-leave-active[data-v-1a3d5742]{transition:all .5s ease}.fade-enter-from[data-v-1a3d5742],.fade-leave-to[data-v-1a3d5742]{opacity:0}
@@ -1,5 +1,5 @@
1
- import { w as withExpand, s as serializeQueryParams, a as withPagination } from "./vendor-ui-BwxuPDg8.mjs";
2
- import { u as useConfig, c as createRequestService } from "./component-CM9g6tbD.mjs";
1
+ import { w as withExpand, s as serializeQueryParams, a as withPagination } from "./vendor-ui-C0K3osvz.mjs";
2
+ import { u as useConfig, c as createRequestService } from "./component-Djrf1L-Z.mjs";
3
3
  const ENDPOINT = "/portal/pricing-plan-subscriptions";
4
4
  function createSubscriptionsService() {
5
5
  const config = useConfig();
@@ -1 +1 @@
1
- const i=require("./vendor-ui-Ce_Yp7xA.js"),e=require("./component-C2Gc-wsE.js"),r="/portal/pricing-plan-subscriptions";exports.createSubscriptionsService=function(){const n=e.useConfig(),_=e.createRequestService();return{getSubscription:function({id:e,expanded:c=!1}){const s=c?["pricing_plan_schedule_infos.id","pricing_plan_schedule_infos.pricing_plan_version_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_plan_id","pricing_plan_schedule_infos.pricing_plan_version.credit_types","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.product_category_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.product_ids","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.entitlements.feature_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.configs.conditions.meter_properties.id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.configs.wallet_grants.wallet_type_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_item_ids","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_based.meter_value_calculation_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_metric.meter_value_calculation.meter_value_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_metric.meter_value_calculation.meter_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_values.id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_properties","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_properties.id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.product_ids","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.configs.conditions.meter_properties.id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.configs.wallet_grants.wallet_type_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_item_ids","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_based.meter_value_calculation_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter_value_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_values","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_values.id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_properties","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_properties.id"]:[];return _({url:`${n.apiUrls.config}${r}/${e}${i.serializeQueryParams(i.withExpand({expandParams:s}))}`})},getActiveSubscriptions:function({customerId:e,pagination:c}){const s=c??{},p=i.withExpand({initialParams:{customer_id:e,statuses:["ACTIVE"],type:"BILLING"},expandParams:["pricing_plan_schedule_infos.pricing_plan_version_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_plan_id"]}),t=i.serializeQueryParams(i.withPagination(p,s));return _({url:`${n.apiUrls.config}${r}${t}`,isCollection:!0})}}};
1
+ const i=require("./vendor-ui-5pJF5KBP.js"),e=require("./component-BOqPDAVk.js"),r="/portal/pricing-plan-subscriptions";exports.createSubscriptionsService=function(){const n=e.useConfig(),_=e.createRequestService();return{getSubscription:function({id:e,expanded:c=!1}){const s=c?["pricing_plan_schedule_infos.id","pricing_plan_schedule_infos.pricing_plan_version_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_plan_id","pricing_plan_schedule_infos.pricing_plan_version.credit_types","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.product_category_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.product_ids","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.entitlements.feature_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.configs.conditions.meter_properties.id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.configs.wallet_grants.wallet_type_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_item_ids","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_based.meter_value_calculation_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_metric.meter_value_calculation.meter_value_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_metric.meter_value_calculation.meter_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_values.id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_properties","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_properties.id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.product_ids","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.configs.conditions.meter_properties.id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.configs.wallet_grants.wallet_type_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_item_ids","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_based.meter_value_calculation_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter_value_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_values","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_values.id","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_properties","pricing_plan_schedule_infos.pricing_plan_version.pricing_categories.pricing_groups.pricings.items.product_items.usage_metric.meter_value_calculation.meter.meter_properties.id"]:[];return _({url:`${n.apiUrls.config}${r}/${e}${i.serializeQueryParams(i.withExpand({expandParams:s}))}`})},getActiveSubscriptions:function({customerId:e,pagination:c}){const s=c??{},p=i.withExpand({initialParams:{customer_id:e,statuses:["ACTIVE"],type:"BILLING"},expandParams:["pricing_plan_schedule_infos.pricing_plan_version_id","pricing_plan_schedule_infos.pricing_plan_version.pricing_plan_id"]}),t=i.serializeQueryParams(i.withPagination(p,s));return _({url:`${n.apiUrls.config}${r}${t}`,isCollection:!0})}}};
@@ -1,5 +1,5 @@
1
1
  import { inject } from "vue";
2
- import { A as ACTION_DISPATCHER_PROVIDER_INJECTION_KEY } from "./component-CM9g6tbD.mjs";
2
+ import { A as ACTION_DISPATCHER_PROVIDER_INJECTION_KEY } from "./component-Djrf1L-Z.mjs";
3
3
  function useActionDispatchProvider() {
4
4
  const dispatchAction = inject(ACTION_DISPATCHER_PROVIDER_INJECTION_KEY);
5
5
  if (!dispatchAction) {
@@ -1 +1 @@
1
- const t=require("vue"),i=require("./component-C2Gc-wsE.js");exports.useActionDispatchProvider=function(){const o=t.inject(i.ACTION_DISPATCHER_PROVIDER_INJECTION_KEY);if(!o)throw new Error("dispatchAction is not provided");return{dispatchAction:o}};
1
+ const t=require("vue"),i=require("./component-BOqPDAVk.js");exports.useActionDispatchProvider=function(){const o=t.inject(i.ACTION_DISPATCHER_PROVIDER_INJECTION_KEY);if(!o)throw new Error("dispatchAction is not provided");return{dispatchAction:o}};
@@ -1,6 +1,6 @@
1
1
  import { ref } from "vue";
2
- import { c as createCustomerService } from "./customer-TIi7iZFw.mjs";
3
- import { u as useService } from "./useService-BuWWE5ND.mjs";
2
+ import { c as createCustomerService } from "./customer-B31QzznT.mjs";
3
+ import { u as useService } from "./useService-BsSEI8DZ.mjs";
4
4
  function useCustomer({ customerId }) {
5
5
  const { getCustomer, updateCustomer } = createCustomerService();
6
6
  const customer = ref();
@@ -1 +1 @@
1
- const e=require("vue"),r=require("./customer-C_Hz_npf.js"),t=require("./useService-9fCKPTmu.js");exports.useCustomer=function({customerId:u}){const{getCustomer:s,updateCustomer:c}=r.createCustomerService(),a=e.ref(),{data:o,...i}=t.useService({service:async()=>{const e=await s(u);return a.value=e,e}}),{data:n,...v}=t.useService({service:async e=>{const r=await c(u,e);return a.value=r,r}});return{customer:a,get:i,update:v}};
1
+ const e=require("vue"),r=require("./customer-hDxW1Dbp.js"),t=require("./useService-Bb9r_sOQ.js");exports.useCustomer=function({customerId:u}){const{getCustomer:s,updateCustomer:c}=r.createCustomerService(),a=e.ref(),{data:o,...i}=t.useService({service:async()=>{const e=await s(u);return a.value=e,e}}),{data:n,...v}=t.useService({service:async e=>{const r=await c(u,e);return a.value=r,r}});return{customer:a,get:i,update:v}};
@@ -1,5 +1,5 @@
1
1
  import { A as ApiStatus } from "./ApiStatus-CyNDp_op.mjs";
2
- import { g as getPaginatedFullList, i as isApiSuccessCollectionResponse } from "./vendor-ui-BwxuPDg8.mjs";
2
+ import { g as getPaginatedFullList, i as isApiSuccessCollectionResponse } from "./vendor-ui-C0K3osvz.mjs";
3
3
  import { shallowRef, ref, computed } from "vue";
4
4
  function toError(error) {
5
5
  return error instanceof Error ? error : new Error("Something went wrong while fetching data.");
@@ -1 +1 @@
1
- const e=require("./ApiStatus-oqvUEWJx.js"),a=require("./vendor-ui-Ce_Yp7xA.js"),t=require("vue");exports.useIncrementalLoading=function({initialData:i=[],service:n}){const u=t.shallowRef(i),s=t.ref(e.ApiStatus.Initial),l=t.ref(null),r=t.ref(1),o=t.ref(!1),c=t.computed(()=>s.value===e.ApiStatus.Loading),v=async t=>{var i;if(!c.value)try{l.value=null,s.value=e.ApiStatus.Loading;const c=await n(t);if(!a.isApiSuccessCollectionResponse(c))return void(s.value=e.ApiStatus.Done);o.value=!!(null==(i=c.links)?void 0:i.next),u.value=[...u.value,...c.data],s.value=e.ApiStatus.Done,r.value=t}catch(v){l.value=function(e){return e instanceof Error?e:new Error("Something went wrong while fetching data.")}(v),s.value=e.ApiStatus.Failed}};return{items:t.computed(()=>structuredClone(u.value)),error:l,fetchInitial:async()=>await v(1),fetchMore:async()=>await v(r.value+1),fetchAll:async()=>{l.value=null,s.value=e.ApiStatus.Loading;const t=await a.getPaginatedFullList(async t=>{const i=await n(t);if(!a.isApiSuccessCollectionResponse(i))throw s.value=e.ApiStatus.Failed,new Error("message"in i?i.message:"Request failed");return i});u.value=t.data,s.value=e.ApiStatus.Done},isPending:c,hasNextBatch:o}};
1
+ const e=require("./ApiStatus-oqvUEWJx.js"),a=require("./vendor-ui-5pJF5KBP.js"),t=require("vue");exports.useIncrementalLoading=function({initialData:i=[],service:n}){const u=t.shallowRef(i),s=t.ref(e.ApiStatus.Initial),l=t.ref(null),r=t.ref(1),o=t.ref(!1),c=t.computed(()=>s.value===e.ApiStatus.Loading),v=async t=>{var i;if(!c.value)try{l.value=null,s.value=e.ApiStatus.Loading;const c=await n(t);if(!a.isApiSuccessCollectionResponse(c))return void(s.value=e.ApiStatus.Done);o.value=!!(null==(i=c.links)?void 0:i.next),u.value=[...u.value,...c.data],s.value=e.ApiStatus.Done,r.value=t}catch(v){l.value=function(e){return e instanceof Error?e:new Error("Something went wrong while fetching data.")}(v),s.value=e.ApiStatus.Failed}};return{items:t.computed(()=>structuredClone(u.value)),error:l,fetchInitial:async()=>await v(1),fetchMore:async()=>await v(r.value+1),fetchAll:async()=>{l.value=null,s.value=e.ApiStatus.Loading;const t=await a.getPaginatedFullList(async t=>{const i=await n(t);if(!a.isApiSuccessCollectionResponse(i))throw s.value=e.ApiStatus.Failed,new Error("message"in i?i.message:"Request failed");return i});u.value=t.data,s.value=e.ApiStatus.Done},isPending:c,hasNextBatch:o}};
@@ -1,5 +1,5 @@
1
- import { c as createInvoicesService } from "./invoices-BuVOuTOm.mjs";
2
- import { c as createPaymentsService } from "./payments-C5fD1PXB.mjs";
1
+ import { c as createInvoicesService } from "./invoices-DIYPN2j_.mjs";
2
+ import { c as createPaymentsService } from "./payments-Dq6R37Fz.mjs";
3
3
  import { ref, onMounted } from "vue";
4
4
  import { u as useWatchDebounced } from "./useWatchDebounced-D1xuIX6_.mjs";
5
5
  const useData = ({
@@ -1 +1 @@
1
- const e=require("./invoices-DbvwXAsm.js"),t=require("./payments-DeutKq9x.js"),n=require("vue"),a=require("./useWatchDebounced-2ZLnfgvG.js");exports.useInvoiceData=function(c){const{getInvoice:r}=e.createInvoicesService(),{getPayments:s}=t.createPaymentsService();return(({getData:e,onError:t,watchValue:c,debounce:r=200})=>{const s=n.ref(),u=n.ref(!0),i=async()=>{try{s.value=await e(c)}catch(n){null==t||t(n)}finally{u.value=!1}};return c&&a.useWatchDebounced(c,()=>{i()},{debounce:r}),n.onMounted(async()=>{i()}),{data:s,isPending:u}})({getData:async()=>{const[e,t]=await Promise.all([r(c),s(c)]);return{invoice:e,paymentAttempts:t}}})};
1
+ const e=require("./invoices-DzkA1jDc.js"),t=require("./payments-DkHhTHto.js"),n=require("vue"),a=require("./useWatchDebounced-2ZLnfgvG.js");exports.useInvoiceData=function(c){const{getInvoice:r}=e.createInvoicesService(),{getPayments:s}=t.createPaymentsService();return(({getData:e,onError:t,watchValue:c,debounce:r=200})=>{const s=n.ref(),u=n.ref(!0),i=async()=>{try{s.value=await e(c)}catch(n){null==t||t(n)}finally{u.value=!1}};return c&&a.useWatchDebounced(c,()=>{i()},{debounce:r}),n.onMounted(async()=>{i()}),{data:s,isPending:u}})({getData:async()=>{const[e,t]=await Promise.all([r(c),s(c)]);return{invoice:e,paymentAttempts:t}}})};