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

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 (189) hide show
  1. package/README.md +26 -1
  2. package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
  3. package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
  4. package/dist/{Avatar.vue.es-Beg7umjO.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
  5. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +8 -8
  6. package/dist/{Button.vue.es-rh6mITmN.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
  7. package/dist/{ChargeOnDemandModal-CPjPa_uq.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +35 -34
  8. package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
  9. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
  10. package/dist/{Chip.vue.es-Cn2R_0mE.mjs → Chip.vue.es-D3UDSyXC.mjs} +3 -3
  11. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  12. package/dist/{ContextMenu.vue.es-DRxsa7bZ.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
  13. package/dist/{CustomerBillingInformation.vue.es-DQfL5RMR.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
  14. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +21 -20
  15. package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
  16. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs} +798 -792
  17. package/dist/{DividerText.vue.es-M0XqSz55.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
  18. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
  19. package/dist/{ErrorNotification.vue.es-CKlt4hr2.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
  20. package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
  21. package/dist/{IconButton.vue.es-oe4MVBK1.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
  22. package/dist/{IconTitle.vue.es-BO6KBS4v.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
  23. package/dist/{Input.vue.es-DAlPmtE_.mjs → Input.vue.es-D8Oj8MWv.mjs} +23 -22
  24. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +2 -2
  25. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs} +4 -4
  26. package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
  27. package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
  28. package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
  29. package/dist/{Modal.vue.es-CTNACAst.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
  30. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
  31. package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
  32. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +46 -88
  33. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
  34. package/dist/{PaymentHistoryBlock-BmA8jbMb.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
  35. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +4 -4
  36. package/dist/{PaymentIntegrationForm-D1Xw-xIt.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
  37. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs} +68 -69
  38. package/dist/{PaymentIntegrationFormAdyen-CfT5aD4L.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +126 -117
  39. package/dist/{PaymentIntegrationFormStripe-DKXJ-mjd.mjs → PaymentIntegrationFormStripe-BYdAkvLt.mjs} +193 -179
  40. package/dist/{PaymentMethod.vue.es-Cauxx4Xr.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
  41. package/dist/{PaymentMethodForm-CypZOYUZ.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
  42. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +7 -7
  43. package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs} +36 -35
  44. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +7 -7
  45. package/dist/{PlanCustomizationEditor-Xtww2r9K.mjs → PlanCustomizationEditor-D29N4HUM.mjs} +9 -9
  46. package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
  47. package/dist/{PortalNotAvailable-B_59GUwN.mjs → PortalNotAvailable-DPE9y37H.mjs} +2 -2
  48. package/dist/{PricingGroupRangeInput.vue.es-C9LJW3b8.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
  49. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +32 -32
  50. package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
  51. package/dist/{Section.vue.es-iS8hVGWA.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
  52. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
  53. package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
  54. package/dist/{StepInput.vue.es-Dpan1RQd.mjs → StepInput.vue.es-DweyzpkL.mjs} +4 -4
  55. package/dist/{SubscriptionDetails.entry.ce-DufQX3uI.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +230 -225
  56. package/dist/{SubscriptionSchedules-DAahcNoI.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
  57. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
  58. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs} +3 -3
  59. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +23 -22
  60. package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
  61. package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
  62. package/dist/{TrialChip.vue.es-B-XBSHWE.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
  63. package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
  64. package/dist/{cn.es-2bVdkiFV.mjs → cn.es-B8acFrov.mjs} +380 -476
  65. package/dist/components/BillingInformation/BillingInformation.mjs +9 -7
  66. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +57 -54
  67. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -18
  68. package/dist/components/Invoice/Invoice.mjs +2660 -193
  69. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +6 -4
  70. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +18 -17
  71. package/dist/components/InvoicesList/InvoicesList.mjs +13 -11
  72. package/dist/components/PaymentHistory/PaymentHistory.mjs +8 -6
  73. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +19 -17
  74. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +19 -17
  75. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +20 -18
  76. package/dist/components/WalletBalances/WalletBalances.mjs +17 -15
  77. package/dist/customElements-BTj4ii4f.mjs +5072 -0
  78. package/dist/{customer-CqddTiOr.mjs → customer-BIjC0CWJ.mjs} +1 -1
  79. package/dist/customer.es-DQKl6wFt.mjs +24 -0
  80. package/dist/{de-DE-BW8dMvhW.mjs → de-DE-DBbERiFr.mjs} +38 -0
  81. package/dist/{de-DE-BNMj3boy.mjs → de-DE-UJ6X6jXu.mjs} +1 -1
  82. package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
  83. package/dist/{formControl-CsITfsBk.mjs → formControl-BZQLHnOO.mjs} +5 -5
  84. package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
  85. package/dist/fr-FR-IWJE-urI.mjs +431 -0
  86. package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
  87. package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
  88. package/dist/index.es-CpmQmvOg.mjs +633 -0
  89. package/dist/index.mjs +2 -2
  90. package/dist/{invoices-Cf1qDAv4.mjs → invoices-e1sKLgxg.mjs} +3 -3
  91. package/dist/{it-IT-Byg06KWc.mjs → it-IT-B7ui2oxO.mjs} +38 -0
  92. package/dist/{it-IT-DRvuxM1F.mjs → it-IT-DnJP5URH.mjs} +1 -1
  93. package/dist/{nl-NL-x3zQqzZ7.mjs → nl-NL-Bafh2xoT.mjs} +38 -0
  94. package/dist/{nl-NL-DLUwWbMG.mjs → nl-NL-q9xfTZF0.mjs} +1 -1
  95. package/dist/{paymentMethods-BUuOmDq9.mjs → paymentMethods-B_82JGk_.mjs} +2 -2
  96. package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
  97. package/dist/{paymentOutcome-D17VD4MV.mjs → paymentOutcome-BXEU5-84.mjs} +5 -5
  98. package/dist/payments-BnxbzQUC.mjs +68 -0
  99. package/dist/pricing-BOhvWWMj.mjs +29 -0
  100. package/dist/{pricingPlanScheduleOverrides-COr9F8DO.mjs → pricingPlanScheduleOverrides-Dxv5FOBd.mjs} +2 -2
  101. package/dist/{pricingPlanSchedules-BK_o9p6h.mjs → pricingPlanSchedules-Dv7ZCgNp.mjs} +1 -1
  102. package/dist/screens/Checkout/Checkout.mjs +2 -2
  103. package/dist/screens/CustomerOverview/CustomerOverview.mjs +128 -83
  104. package/dist/screens/PayInvoice/PayInvoice.mjs +572 -218
  105. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +21 -19
  106. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  107. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +261 -266
  108. package/dist/{sorting.es-qtEN8J8T.mjs → sorting.es-CVyKw23D.mjs} +1 -1
  109. package/dist/subscriptions-BWXZGK0E.mjs +66 -0
  110. package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
  111. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -0
  112. package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
  113. package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
  114. package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
  115. package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
  116. package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
  117. package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
  118. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +11 -0
  119. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +4 -1
  120. package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
  121. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +23 -1
  122. package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
  123. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
  124. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  125. package/dist/types/components/providers/Provider/Provider.types.d.ts +1 -1
  126. package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -1
  127. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
  128. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +2 -0
  129. package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
  130. package/dist/types/public/core/types.d.ts +5 -0
  131. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +3 -1
  132. package/dist/types/translations/supported.d.ts +1 -1
  133. package/dist/types/types/portalAuthentication.d.ts +2 -0
  134. package/dist/types/types/portalToken.d.ts +9 -0
  135. package/dist/types/types/shippingAddress.d.ts +9 -0
  136. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
  137. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
  138. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
  139. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
  140. package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
  141. package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
  142. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
  143. package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
  144. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
  145. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
  146. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  147. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
  148. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
  149. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
  150. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
  151. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
  152. package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
  153. package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
  154. package/dist/{useActionDispatchProvider-DC_fUykI.mjs → useActionDispatchProvider-3W2vEyIg.mjs} +1 -1
  155. package/dist/{useCustomer-C3kTh7wn.mjs → useCustomer-cObBvDOu.mjs} +2 -2
  156. package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
  157. package/dist/{useIncrementalLoading-C_sHmW7d.mjs → useIncrementalLoading-CATuO36d.mjs} +2 -2
  158. package/dist/{useInvoiceData-BIh8-h8b.mjs → useInvoiceData-DD44HTl7.mjs} +2 -2
  159. package/dist/{useInvoicesList-Y6p0Pqpy.mjs → useInvoicesList-CpB-41MQ.mjs} +10 -10
  160. package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
  161. package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
  162. package/dist/{usePaymentFormHold-FfNc578l.mjs → usePaymentFormHold-ByUZi3A-.mjs} +28 -36
  163. package/dist/{usePaymentMethodAvailability-CnYTvG15.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +4 -4
  164. package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
  165. package/dist/{usePayments-CykCZPG2.mjs → usePayments-BXABv-lF.mjs} +9 -9
  166. package/dist/{usePortal-CxzKGhbK.mjs → usePortal-CwR_FxTb.mjs} +1 -1
  167. package/dist/{useService-B0OQJmif.mjs → useService-BZcbUZHI.mjs} +3 -3
  168. package/dist/{useTimePeriod.es-JkXdHNWr.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
  169. package/package.json +7 -7
  170. package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +0 -50
  171. package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +0 -5279
  172. package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
  173. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +0 -362
  174. package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
  175. package/dist/InvoiceSummary.vue.es-DbNoGfYN.mjs +0 -2596
  176. package/dist/RadioGroupExtended.vue.es-UtKsdmiv.mjs +0 -163
  177. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs +0 -688
  178. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs +0 -5221
  179. package/dist/TooltipParagraph.vue.es-BjCn2BF6.mjs +0 -129
  180. package/dist/customElements-Di3zwlEU.mjs +0 -6447
  181. package/dist/customer.es-B5ppZf0j.mjs +0 -20
  182. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
  183. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
  184. package/dist/payments-Ci8bF4C6.mjs +0 -45
  185. package/dist/subscriptions-CwogJODR.mjs +0 -54
  186. package/dist/useCustomerFormLabels-CK7K50nB.mjs +0 -1369
  187. package/dist/useLoadInitialData-4k_Cyqef.mjs +0 -15
  188. package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +0 -40
  189. package/dist/usePaymentMethods-gvr-rmwE.mjs +0 -15
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, computed as r, openBlock as b, createBlock as x, resolveDynamicComponent as f, mergeProps as h, withCtx as u, createVNode as c, unref as m, normalizeClass as s, renderSlot as v, createTextVNode as y, toDisplayString as C, createElementBlock as p, createCommentVNode as w } from "vue";
2
- import { _ as z } from "./customElements-Di3zwlEU.mjs";
3
- import { a as B } from "./Button.vue.es-rh6mITmN.mjs";
2
+ import { d as z } from "./customElements-BTj4ii4f.mjs";
3
+ import { a as B } from "./Button.vue.es-Zw--kuaU.mjs";
4
4
  const k = {
5
5
  neutral: {
6
6
  base: "bg-gray-50",
@@ -90,7 +90,7 @@ const k = {
90
90
  variant: "body-xs",
91
91
  weight: "normal",
92
92
  color: "inherit",
93
- center: "",
93
+ align: "center",
94
94
  class: s([e.textClass, "inline-flex h-full flex-grow items-center justify-center gap-1 leading-none"])
95
95
  }, {
96
96
  default: u(() => [
@@ -0,0 +1,32 @@
1
+ import { openBlock as e, createElementBlock as o, renderSlot as t, createCommentVNode as d, createElementVNode as a } from "vue";
2
+ const i = (s, l) => {
3
+ const r = s.__vccOpts || s;
4
+ for (const [c, n] of l)
5
+ r[c] = n;
6
+ return r;
7
+ }, _ = {}, u = { class: "sv-layout grid w-full grid-cols-1 gap-4" }, f = {
8
+ key: 0,
9
+ class: "sv-layout__header"
10
+ }, g = { class: "sv-layout__body flex flex-col items-start gap-6 md:flex-row" }, m = { class: "sv-layout__content grid w-full grow grid-cols-1 gap-4 md:w-auto" }, h = {
11
+ key: 0,
12
+ class: "sv-layout__aside grid w-full grid-cols-1 gap-4 md:w-80 md:shrink-0"
13
+ };
14
+ function v(s, l) {
15
+ return e(), o("div", u, [
16
+ s.$slots.header ? (e(), o("div", f, [
17
+ t(s.$slots, "header")
18
+ ])) : d("", !0),
19
+ a("div", g, [
20
+ a("div", m, [
21
+ t(s.$slots, "content")
22
+ ]),
23
+ s.$slots.aside ? (e(), o("aside", h, [
24
+ t(s.$slots, "aside")
25
+ ])) : d("", !0)
26
+ ])
27
+ ]);
28
+ }
29
+ const p = /* @__PURE__ */ i(_, [["render", v]]);
30
+ export {
31
+ p as C
32
+ };
@@ -1,32 +1,32 @@
1
- import { defineComponent as g, openBlock as s, createBlock as b, resolveDynamicComponent as x, withCtx as r, renderSlot as m, createElementBlock as p, unref as i, withModifiers as j, normalizeClass as M, createCommentVNode as v, createSlots as G, normalizeProps as q, mergeProps as S, createVNode as h, createTextVNode as k, toDisplayString as C, Fragment as y, renderList as L, TransitionGroup as R, Comment as K, inject as U, onMounted as W, Teleport as z, ref as w, computed as E, createElementVNode as B, Transition as J, normalizeStyle as Q, useSlots as X } from "vue";
2
- import { _ as P, u as Y, a as Z, o as N, f as _ } from "./floating-ui.vue.es-CYt0fSY7.mjs";
3
- import { _ as D, p as ee, D as te } from "./customElements-Di3zwlEU.mjs";
4
- import { a as ne, _ as V } from "./Button.vue.es-rh6mITmN.mjs";
5
- import { _ as le } from "./DividerText.vue.es-M0XqSz55.mjs";
1
+ import { defineComponent as y, openBlock as s, createBlock as b, resolveDynamicComponent as M, withCtx as r, renderSlot as m, createElementBlock as p, unref as i, withModifiers as L, normalizeClass as S, createCommentVNode as v, createSlots as G, normalizeProps as q, mergeProps as F, createVNode as h, createTextVNode as k, toDisplayString as C, Fragment as g, renderList as j, TransitionGroup as R, Comment as K, inject as W, onMounted as J, Teleport as T, ref as B, computed as P, createElementVNode as E, Transition as Q, normalizeStyle as U, useSlots as X } from "vue";
2
+ import { _ as z, u as Y } from "./useLazyFloating.es-CycqRyeb.mjs";
3
+ import { d as A, p as Z, D as N } from "./customElements-BTj4ii4f.mjs";
4
+ import { a as _, _ as V } from "./Button.vue.es-Zw--kuaU.mjs";
5
+ import { _ as ee } from "./DividerText.vue.es-CNbgif-3.mjs";
6
6
  import { _ as O } from "./Divider.vue.es-DnP_HqLz.mjs";
7
- import { e as oe, o as ae } from "./index.es-CXkP_k3u.mjs";
8
- import { p as se } from "./object.es-8aLDIncs.mjs";
9
- import { _ as ie } from "./Chip.vue.es-Cn2R_0mE.mjs";
10
- const re = /* @__PURE__ */ g({
7
+ import { e as te, o as ne } from "./index.es-C7J3WGGo.mjs";
8
+ import { p as le } from "./object.es-8aLDIncs.mjs";
9
+ import { _ as oe } from "./Chip.vue.es-D3UDSyXC.mjs";
10
+ const ae = /* @__PURE__ */ y({
11
11
  __name: "FullClickableBlock",
12
12
  props: {
13
13
  tag: { default: "div" }
14
14
  },
15
15
  setup(e) {
16
- return (n, l) => (s(), b(x(e.tag), { class: "relative" }, {
16
+ return (n, l) => (s(), b(M(e.tag), { class: "relative" }, {
17
17
  default: r(() => [
18
18
  m(n.$slots, "default")
19
19
  ]),
20
20
  _: 3
21
21
  }));
22
22
  }
23
- }), de = {}, ce = { class: "appearance-none after:absolute after:inset-0" };
24
- function ue(e, n) {
25
- return s(), p("button", ce, [
23
+ }), se = {}, ie = { class: "appearance-none after:absolute after:inset-0" };
24
+ function re(e, n) {
25
+ return s(), p("button", ie, [
26
26
  m(e.$slots, "default")
27
27
  ]);
28
28
  }
29
- const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key: 1 }, ve = /* @__PURE__ */ g({
29
+ const de = /* @__PURE__ */ z(se, [["render", re]]), ce = { key: 0 }, ue = { key: 1 }, fe = /* @__PURE__ */ y({
30
30
  __name: "ListGroupItem",
31
31
  props: {
32
32
  disabled: { type: Boolean, default: !1 },
@@ -35,19 +35,19 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
35
35
  variant: {}
36
36
  },
37
37
  setup(e) {
38
- return (n, l) => (s(), b(i(re), {
38
+ return (n, l) => (s(), b(i(ae), {
39
39
  tag: "li",
40
- class: M(["w-full border-b border-gray-200 px-4 py-2 transition-colors", {
40
+ class: S(["w-full border-b border-gray-200 px-4 py-2 transition-colors last:border-b-0", {
41
41
  block: !e.disabled && e.onClick,
42
42
  "focus-within:bg-gray-50 focus-within:text-default hover:bg-gray-50 hover:text-default": !e.disabled && e.onClick && e.variant !== "danger",
43
43
  "text-red-700 focus-within:bg-red-50 focus-within:text-red-700 hover:bg-red-50": !e.disabled && e.onClick && e.variant === "danger",
44
44
  "cursor-not-allowed bg-gray-50 text-disabled": e.disabled
45
45
  }]),
46
- onClick: l[1] || (l[1] = j(() => {
46
+ onClick: l[1] || (l[1] = L(() => {
47
47
  }, ["stop"]))
48
48
  }, {
49
49
  default: r(() => [
50
- (s(), b(x(e.onClick ? i(fe) : "span"), {
50
+ (s(), b(M(e.onClick ? i(de) : "span"), {
51
51
  class: "flex w-full items-start gap-2 text-left focus:outline-none active:outline-none",
52
52
  disabled: e.onClick ? e.disabled : void 0,
53
53
  type: e.onClick ? "button" : void 0,
@@ -58,17 +58,17 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
58
58
  })
59
59
  }, {
60
60
  default: r(() => [
61
- n.$slots.prefix ? (s(), p("div", be, [
61
+ n.$slots.prefix ? (s(), p("div", ce, [
62
62
  m(n.$slots, "prefix")
63
63
  ])) : v("", !0),
64
64
  m(n.$slots, "default"),
65
- n.$slots.suffix ? (s(), p("div", me, [
65
+ n.$slots.suffix ? (s(), p("div", ue, [
66
66
  m(n.$slots, "suffix")
67
67
  ])) : v("", !0)
68
68
  ]),
69
69
  _: 3
70
70
  }, 8, ["disabled", "type", "data-testid"])),
71
- n.$slots.description ? (s(), b(i(D), {
71
+ n.$slots.description ? (s(), b(i(A), {
72
72
  key: 0,
73
73
  tag: "span",
74
74
  variant: "body-xs",
@@ -84,7 +84,7 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
84
84
  _: 3
85
85
  }, 8, ["class"]));
86
86
  }
87
- }), H = /* @__PURE__ */ g({
87
+ }), H = /* @__PURE__ */ y({
88
88
  __name: "ContextMenuItem",
89
89
  props: {
90
90
  icon: {},
@@ -100,16 +100,16 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
100
100
  active: { type: Boolean }
101
101
  },
102
102
  setup(e) {
103
- return (n, l) => (s(), b(i(ve), {
104
- class: M(["border-none", { [`${e.classes}`]: !!e.classes, "bg-primary-50 text-primary-700": e.active }]),
103
+ return (n, l) => (s(), b(i(fe), {
104
+ class: S(["border-none", { [`${e.classes}`]: !!e.classes, "bg-primary-50 text-primary-700": e.active }]),
105
105
  "data-testid": e.testId,
106
106
  disabled: e.disabled,
107
107
  variant: e.variant,
108
108
  onClick: e.onClick
109
109
  }, G({
110
110
  default: r(() => [
111
- e.labelPrefixComponent ? (s(), b(x(e.labelPrefixComponent.component), q(S({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : v("", !0),
112
- h(i(D), {
111
+ e.labelPrefixComponent ? (s(), b(M(e.labelPrefixComponent.component), q(F({ key: 0 }, e.labelPrefixComponent.props)), null, 16)) : v("", !0),
112
+ h(i(A), {
113
113
  tag: "span",
114
114
  variant: "body-sm",
115
115
  color: "inherit"
@@ -119,14 +119,14 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
119
119
  ]),
120
120
  _: 1
121
121
  }),
122
- e.labelSuffixComponent ? (s(), b(x(e.labelSuffixComponent.component), S({ key: 1 }, e.labelSuffixComponent.props, { class: "ml-2" }), null, 16)) : v("", !0)
122
+ e.labelSuffixComponent ? (s(), b(M(e.labelSuffixComponent.component), F({ key: 1 }, e.labelSuffixComponent.props, { class: "ml-2" }), null, 16)) : v("", !0)
123
123
  ]),
124
124
  _: 2
125
125
  }, [
126
126
  e.icon ? {
127
127
  name: "prefix",
128
128
  fn: r(() => [
129
- h(i(ne), { icon: e.icon }, null, 8, ["icon"])
129
+ h(i(_), { icon: e.icon }, null, 8, ["icon"])
130
130
  ]),
131
131
  key: "0"
132
132
  } : void 0,
@@ -139,17 +139,17 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
139
139
  } : void 0
140
140
  ]), 1032, ["class", "data-testid", "disabled", "variant", "onClick"]));
141
141
  }
142
- }), pe = /* @__PURE__ */ g({
142
+ }), be = /* @__PURE__ */ y({
143
143
  __name: "ContextMenuGroup",
144
144
  props: {
145
145
  label: {},
146
146
  items: {}
147
147
  },
148
148
  setup(e) {
149
- return (n, l) => (s(), p(y, null, [
150
- h(i(le), { "has-outer-divider": "" }, {
149
+ return (n, l) => (s(), p(g, null, [
150
+ h(i(ee), { "has-outer-divider": "" }, {
151
151
  default: r(() => [
152
- h(i(D), {
152
+ h(i(A), {
153
153
  class: "py-2",
154
154
  variant: "caps-heading"
155
155
  }, {
@@ -161,7 +161,7 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
161
161
  ]),
162
162
  _: 1
163
163
  }),
164
- (s(!0), p(y, null, L(e.items, (t, c) => (s(), p(y, { key: c }, [
164
+ (s(!0), p(g, null, j(e.items, (t, c) => (s(), p(g, { key: c }, [
165
165
  t === "divider" ? (s(), b(i(O), { key: 0 })) : t.label ? (s(), b(H, {
166
166
  key: 1,
167
167
  label: t.label,
@@ -177,8 +177,8 @@ const fe = /* @__PURE__ */ P(de, [["render", ue]]), be = { key: 0 }, me = { key:
177
177
  ], 64))), 128))
178
178
  ], 64));
179
179
  }
180
- }), he = {};
181
- function ge(e, n) {
180
+ }), me = {};
181
+ function ve(e, n) {
182
182
  return s(), b(R, {
183
183
  "enter-active-class": "duration-100 ease-out transform-gpu",
184
184
  "enter-from-class": "opacity-0",
@@ -193,35 +193,35 @@ function ge(e, n) {
193
193
  _: 3
194
194
  });
195
195
  }
196
- const ye = /* @__PURE__ */ P(he, [["render", ge]]), F = (e, n = !0, l = []) => (e.forEach((t) => {
196
+ const pe = /* @__PURE__ */ z(me, [["render", ve]]), D = (e, n = !0, l = []) => (e.forEach((t) => {
197
197
  if (t !== null) {
198
198
  if (typeof t != "object") {
199
199
  (typeof t == "string" || typeof t == "number") && l.push(k(String(t)));
200
200
  return;
201
201
  }
202
202
  if (Array.isArray(t)) {
203
- F(t, n, l);
203
+ D(t, n, l);
204
204
  return;
205
205
  }
206
- if (t.type === y) {
206
+ if (t.type === g) {
207
207
  if (t.children === null)
208
208
  return;
209
- Array.isArray(t.children) && F(t.children, n, l);
209
+ Array.isArray(t.children) && D(t.children, n, l);
210
210
  } else t.type !== K && l.push(t);
211
211
  }
212
- }), l), ke = (e, n = "default", l = void 0) => {
212
+ }), l), he = (e, n = "default", l = void 0) => {
213
213
  const t = e[n];
214
214
  if (!t)
215
215
  return null;
216
- const c = F(t(l));
216
+ const c = D(t(l));
217
217
  return c.length === 1 ? c[0] : null;
218
- }, Ce = {
218
+ }, ye = {
219
219
  focus: ["onFocus", "onBlur"],
220
220
  click: ["onClick"],
221
221
  hover: ["onMouseenter", "onMouseleave"]
222
222
  };
223
- function $e(e, n) {
224
- Object.entries(Ce).forEach(([, l]) => {
223
+ function ge(e, n) {
224
+ Object.entries(ye).forEach(([, l]) => {
225
225
  l.forEach((t) => {
226
226
  e.props ? e.props = Object.assign({}, e.props) : e.props = {};
227
227
  const c = e.props[t], f = n[t];
@@ -231,7 +231,7 @@ function $e(e, n) {
231
231
  });
232
232
  });
233
233
  }
234
- const I = g({
234
+ const I = y({
235
235
  name: "SlotListener",
236
236
  props: {
237
237
  trigger: {
@@ -266,9 +266,9 @@ const I = g({
266
266
  onMouseleave: this.handleMouseLeave,
267
267
  onFocus: this.handleFocus,
268
268
  onBlur: this.handleBlur
269
- }, l = ke(e, "default"), t = [n];
269
+ }, l = he(e, "default"), t = [n];
270
270
  return l != null && l.props && t.push(
271
- se(
271
+ le(
272
272
  l.props,
273
273
  "onClick",
274
274
  "onMouseenter",
@@ -276,7 +276,7 @@ const I = g({
276
276
  "onFocus",
277
277
  "onBlur"
278
278
  )
279
- ), l && $e(l, {
279
+ ), l && ge(l, {
280
280
  onBlur: (f) => {
281
281
  t.forEach((o) => {
282
282
  var a;
@@ -309,7 +309,7 @@ const I = g({
309
309
  }
310
310
  }), l;
311
311
  }
312
- }), we = ["id"], xe = /* @__PURE__ */ g({
312
+ }), ke = ["id"], Ce = /* @__PURE__ */ y({
313
313
  __name: "Portal",
314
314
  props: {
315
315
  to: {},
@@ -317,20 +317,20 @@ const I = g({
317
317
  disabled: { type: Boolean }
318
318
  },
319
319
  setup(e) {
320
- const n = e, l = n.to ? U(ee(n.to), null) : null, t = l !== null;
321
- return W(() => {
320
+ const n = e, l = n.to ? W(Z(n.to), null) : null, t = l !== null;
321
+ return J(() => {
322
322
  if (!(n.name || n.to))
323
323
  throw new Error("Define either the `to` or the `name` prop.");
324
324
  }), (c, f) => e.name ? (s(), p("div", {
325
325
  key: 0,
326
326
  id: `portal-${e.name}`
327
- }, null, 8, we)) : e.to && t && i(l) ? (s(), b(z, {
327
+ }, null, 8, ke)) : e.to && t && i(l) ? (s(), b(T, {
328
328
  key: 1,
329
329
  to: i(l),
330
330
  disabled: e.disabled
331
331
  }, [
332
332
  m(c.$slots, "default")
333
- ], 8, ["to", "disabled"])) : e.to && !t ? (s(), b(z, {
333
+ ], 8, ["to", "disabled"])) : e.to && !t ? (s(), b(T, {
334
334
  key: 2,
335
335
  to: `#portal-${e.to}`,
336
336
  disabled: e.disabled
@@ -338,7 +338,7 @@ const I = g({
338
338
  m(c.$slots, "default")
339
339
  ], 8, ["to", "disabled"])) : v("", !0);
340
340
  }
341
- }), Me = { class: "inline-flex items-center" }, Be = /* @__PURE__ */ g({
341
+ }), $e = { class: "inline-flex items-center" }, we = /* @__PURE__ */ y({
342
342
  __name: "Dropdown",
343
343
  props: {
344
344
  placement: { default: "bottom-end" },
@@ -350,7 +350,7 @@ const I = g({
350
350
  dropdownClass: {}
351
351
  },
352
352
  setup(e) {
353
- const n = e, l = w(!1), t = () => l.value = !1, c = () => {
353
+ const n = e, l = B(!1), t = () => l.value = !1, c = () => {
354
354
  n.disabled || (l.value = !l.value);
355
355
  }, f = {
356
356
  bottom: "to-bottom",
@@ -365,39 +365,38 @@ const I = g({
365
365
  top: "to-top",
366
366
  "top-start": "to-top",
367
367
  "top-end": "to-top"
368
- }, o = w(), a = w(), u = w(), d = E(
368
+ }, o = B(), a = B(), u = B(), d = P(
369
369
  () => n.transition === null ? f[n.placement] : n.transition
370
370
  ), { floatingStyles: $ } = Y(u, a, {
371
- whileElementsMounted: Z,
372
371
  placement: n.placement,
373
- middleware: [N(n.offset), _()]
372
+ middleware: ({ offset: w, flip: x }) => [w(n.offset), x()]
374
373
  });
375
- return oe(u, () => {
374
+ return te(u, () => {
376
375
  l.value && (l.value = !1);
377
- }), ae("Escape", () => {
376
+ }), ne("Escape", () => {
378
377
  l.value = !1;
379
- }), (A, T) => (s(), p("div", {
378
+ }), (w, x) => (s(), p("div", {
380
379
  ref_key: "wrapper",
381
380
  ref: u,
382
381
  class: "relative inline-flex"
383
382
  }, [
384
- B("div", Me, [
383
+ E("div", $e, [
385
384
  h(i(I), { onClick: c }, {
386
385
  default: r(() => [
387
- m(A.$slots, "trigger", { visible: l.value }, () => [
386
+ m(w.$slots, "trigger", { visible: l.value }, () => [
388
387
  h(i(V), {
389
388
  ref_key: "trigger",
390
389
  ref: o
391
390
  }, {
392
- suffix: r(() => [...T[0] || (T[0] = [
393
- B("svg", {
391
+ suffix: r(() => [...x[0] || (x[0] = [
392
+ E("svg", {
394
393
  class: "ml-2 h-4 w-4",
395
394
  fill: "none",
396
395
  stroke: "currentColor",
397
396
  viewBox: "0 0 24 24",
398
397
  xmlns: "http://www.w3.org/2000/svg"
399
398
  }, [
400
- B("path", {
399
+ E("path", {
401
400
  "stroke-linecap": "round",
402
401
  "stroke-linejoin": "round",
403
402
  "stroke-width": "2",
@@ -415,23 +414,23 @@ const I = g({
415
414
  _: 3
416
415
  })
417
416
  ]),
418
- h(i(xe), {
419
- to: i(te),
417
+ h(i(Ce), {
418
+ to: i(N),
420
419
  disabled: e.isPortalDisabled
421
420
  }, {
422
421
  default: r(() => [
423
- h(J, { name: d.value }, {
422
+ h(Q, { name: d.value }, {
424
423
  default: r(() => [
425
424
  l.value ? (s(), p("div", {
426
425
  key: 0,
427
426
  ref_key: "content",
428
427
  ref: a,
429
- style: Q(i($)),
430
- class: M(["z-60 divide-y divide-gray-100 rounded bg-white shadow", e.dropdownClass])
428
+ style: U(i($)),
429
+ class: S(["z-60 divide-y divide-gray-100 rounded bg-white shadow", e.dropdownClass])
431
430
  }, [
432
431
  h(i(I), { onClick: t }, {
433
432
  default: r(() => [
434
- m(A.$slots, "default", {}, void 0, !0)
433
+ m(w.$slots, "default", {}, void 0, !0)
435
434
  ]),
436
435
  _: 3
437
436
  })
@@ -444,14 +443,14 @@ const I = g({
444
443
  }, 8, ["to", "disabled"])
445
444
  ], 512));
446
445
  }
447
- }), Se = /* @__PURE__ */ P(Be, [["__scopeId", "data-v-c0f85806"]]), Ee = /* @__PURE__ */ g({
446
+ }), xe = /* @__PURE__ */ z(we, [["__scopeId", "data-v-db2f039a"]]), Be = /* @__PURE__ */ y({
448
447
  __name: "ListGroup",
449
448
  props: {
450
449
  width: { default: "default" }
451
450
  },
452
451
  setup(e) {
453
452
  return (n, l) => (s(), p("ul", {
454
- class: M(["overflow-hidden rounded border border-gray-200 bg-white text-sm font-medium", {
453
+ class: S(["overflow-hidden rounded border border-gray-200 bg-white text-sm font-medium", {
455
454
  "w-48": e.width === "default",
456
455
  "w-64": e.width === "wide"
457
456
  }])
@@ -459,7 +458,7 @@ const I = g({
459
458
  m(n.$slots, "default")
460
459
  ], 2));
461
460
  }
462
- }), Fe = { class: "relative inline-flex" }, Oe = /* @__PURE__ */ g({
461
+ }), Me = { class: "relative inline-flex" }, Le = /* @__PURE__ */ y({
463
462
  inheritAttrs: !1,
464
463
  __name: "ContextMenu",
465
464
  props: {
@@ -475,20 +474,20 @@ const I = g({
475
474
  showActiveCount: { type: Boolean, default: !0 }
476
475
  },
477
476
  setup(e) {
478
- const n = e, l = X(), t = E(
477
+ const n = e, l = X(), t = P(
479
478
  () => {
480
479
  var o, a;
481
480
  return n.disabled ?? (((a = ((o = n.items) == null ? void 0 : o.flatMap(
482
481
  (u) => u !== "divider" && "items" in u ? u.items : u
483
482
  )) ?? []) == null ? void 0 : a.filter((u) => u !== "divider").every((u) => u.disabled)) && !l.default);
484
483
  }
485
- ), c = (o) => (o ?? []).reduce((a, u) => u === "divider" ? a : "items" in u ? a + c(u.items) : a + (u.active ? 1 : 0), 0), f = E(() => c(n.items));
486
- return (o, a) => (s(), p("div", Fe, [
487
- h(i(ye), null, {
484
+ ), c = (o) => (o ?? []).reduce((a, u) => u === "divider" ? a : "items" in u ? a + c(u.items) : a + (u.active ? 1 : 0), 0), f = P(() => c(n.items));
485
+ return (o, a) => (s(), p("div", Me, [
486
+ h(i(pe), null, {
488
487
  default: r(() => {
489
488
  var u;
490
489
  return [
491
- (u = e.items) != null && u.length || o.$slots.default || e.disabled ? (s(), b(i(Se), S({
490
+ (u = e.items) != null && u.length || o.$slots.default || e.disabled ? (s(), b(i(xe), F({
492
491
  key: 0,
493
492
  "is-portal-disabled": t.value
494
493
  }, o.$attrs, { "dropdown-class": e.dropdownClass }), {
@@ -503,20 +502,20 @@ const I = g({
503
502
  "data-testid": "context-menu",
504
503
  disabled: t.value,
505
504
  "icon-prefix": e.icon,
506
- onClick: a[0] || (a[0] = j(() => {
505
+ onClick: a[0] || (a[0] = L(() => {
507
506
  }, ["stop"]))
508
507
  }, null, 8, ["pill", "intent", "size", "disabled", "icon-prefix"])
509
508
  ])
510
509
  ]),
511
510
  default: r(() => [
512
- e.items || o.$slots.default ? (s(), b(i(Ee), {
511
+ e.items || o.$slots.default ? (s(), b(i(Be), {
513
512
  key: 0,
514
513
  width: e.width,
515
514
  class: "z-60 p-0.5"
516
515
  }, {
517
516
  default: r(() => [
518
517
  m(o.$slots, "header"),
519
- e.items ? (s(!0), p(y, { key: 0 }, L(e.items, (d, $) => (s(), p(y, { key: $ }, [
518
+ e.items ? (s(!0), p(g, { key: 0 }, j(e.items, (d, $) => (s(), p(g, { key: $ }, [
520
519
  d === "divider" && $ < e.items.length - 1 ? (s(), b(i(O), {
521
520
  key: 0,
522
521
  spacing: "none"
@@ -533,7 +532,7 @@ const I = g({
533
532
  disabled: d.disabled,
534
533
  active: d.active,
535
534
  onClick: d.onClick
536
- }, null, 8, ["label", "variant", "icon", "label-suffix-component", "label-prefix-component", "description", "classes", "test-id", "disabled", "active", "onClick"])) : d !== "divider" ? (s(), b(pe, {
535
+ }, null, 8, ["label", "variant", "icon", "label-suffix-component", "label-prefix-component", "description", "classes", "test-id", "disabled", "active", "onClick"])) : d !== "divider" ? (s(), b(be, {
537
536
  key: 2,
538
537
  class: "rounded-sm",
539
538
  label: d.label,
@@ -551,7 +550,7 @@ const I = g({
551
550
  }),
552
551
  _: 3
553
552
  }),
554
- e.showActiveCount && f.value > 0 ? (s(), b(i(ie), {
553
+ e.showActiveCount && f.value > 0 ? (s(), b(i(oe), {
555
554
  key: 0,
556
555
  size: "xs",
557
556
  intent: "brand",
@@ -567,7 +566,7 @@ const I = g({
567
566
  }
568
567
  });
569
568
  export {
570
- ye as F,
571
- xe as _,
572
- Oe as a
569
+ pe as F,
570
+ Ce as _,
571
+ Le as a
573
572
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as x, computed as v, openBlock as c, createBlock as C, withCtx as i, createElementBlock as d, createVNode as o, createTextVNode as a, toDisplayString as r, unref as u, createCommentVNode as b, renderSlot as B } from "vue";
2
- import { a as N, _ as l } from "./customElements-Di3zwlEU.mjs";
3
- import { _ as S } from "./Section.vue.es-iS8hVGWA.mjs";
2
+ import { a as N, d as l } from "./customElements-BTj4ii4f.mjs";
3
+ import { _ as S } from "./Section.vue.es-CvX9tg2f.mjs";
4
4
  import { g as k } from "./getCountryNameByCode.es-BDHua7VM.mjs";
5
- import { a as A } from "./customer.es-B5ppZf0j.mjs";
5
+ import { a as A } from "./customer.es-DQKl6wFt.mjs";
6
6
  import { a as M } from "./typeGuards.es-B4XMtlkM.mjs";
7
7
  const V = ["US", "CA"];
8
8
  function z(e) {
@@ -1,10 +1,10 @@
1
- import { defineComponent as v, computed as _, openBlock as a, createBlock as m, unref as t, createSlots as w, withCtx as s, createVNode as c, createTextVNode as p, toDisplayString as h, createCommentVNode as g } from "vue";
2
- import { _ as y } from "./Button.vue.es-rh6mITmN.mjs";
3
- import { _ as u } from "./Section.vue.es-iS8hVGWA.mjs";
4
- import { a as b, _ as k } from "./customElements-Di3zwlEU.mjs";
5
- import { _ as A } from "./PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs";
1
+ import { defineComponent as v, computed as _, openBlock as s, createBlock as m, unref as t, createSlots as w, withCtx as a, createVNode as c, createTextVNode as p, toDisplayString as h, createCommentVNode as g } from "vue";
2
+ import { _ as u } from "./Button.vue.es-Zw--kuaU.mjs";
3
+ import { _ as y } from "./Section.vue.es-CvX9tg2f.mjs";
4
+ import { a as b, d as k } from "./customElements-BTj4ii4f.mjs";
5
+ import { _ as A } from "./PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs";
6
6
  import { _ as M } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
7
- import { u as B } from "./useActionDispatchProvider-DC_fUykI.mjs";
7
+ import { u as B } from "./useActionDispatchProvider-3W2vEyIg.mjs";
8
8
  import { r as $ } from "./configuration-BytDBAWs.mjs";
9
9
  const x = /* @__PURE__ */ v({
10
10
  __name: "CustomerPaymentMethodsBlock",
@@ -16,10 +16,11 @@ const x = /* @__PURE__ */ v({
16
16
  emits: ["view-all-payment-methods", "add-payment-method"],
17
17
  setup(e) {
18
18
  const l = e, { $t: o } = b(), r = _(() => l.paymentMethods.length > 0);
19
- return (d, i) => (a(), m(t(u), {
19
+ return (d, i) => (s(), m(t(y), {
20
20
  class: "sv-payment-methods",
21
21
  "no-spacing": "",
22
22
  "no-border": "",
23
+ "content-background": "none",
23
24
  title: t(o)(
24
25
  {
25
26
  defaultMessage: "{count, plural, one {Payment method} other {Payment methods}}",
@@ -29,22 +30,22 @@ const x = /* @__PURE__ */ v({
29
30
  { count: String(e.paymentMethods.length) }
30
31
  )
31
32
  }, w({
32
- default: s(() => [
33
- r.value ? (a(), m(A, {
33
+ default: a(() => [
34
+ r.value ? (s(), m(A, {
34
35
  key: 0,
35
36
  "payment-methods": e.paymentMethods
36
- }, null, 8, ["payment-methods"])) : (a(), m(t(u), {
37
+ }, null, 8, ["payment-methods"])) : (s(), m(t(y), {
37
38
  key: 1,
38
39
  class: "sv-empty-state sv-payment-methods__empty"
39
40
  }, {
40
- default: s(() => [
41
+ default: a(() => [
41
42
  c(t(k), {
42
43
  variant: "body-sm",
43
44
  color: "subtle",
44
45
  "no-spacing": "",
45
46
  class: "sv-payment-methods__empty-message"
46
47
  }, {
47
- default: s(() => [
48
+ default: a(() => [
48
49
  p(h(t(o)({
49
50
  defaultMessage: "Add a payment method for recurring invoice payments.",
50
51
  description: "Helper text for adding a payment method when no payment methods are configured",
@@ -53,7 +54,7 @@ const x = /* @__PURE__ */ v({
53
54
  ]),
54
55
  _: 1
55
56
  }),
56
- e.showAddButton ? (a(), m(t(y), {
57
+ e.showAddButton ? (s(), m(t(u), {
57
58
  key: 0,
58
59
  class: "sv-action sv-action--secondary sv-action--full-width sv-payment-methods__add mt-4 w-full",
59
60
  intent: "secondary",
@@ -61,7 +62,7 @@ const x = /* @__PURE__ */ v({
61
62
  type: "button",
62
63
  onClick: i[1] || (i[1] = (n) => d.$emit("add-payment-method"))
63
64
  }, {
64
- default: s(() => [
65
+ default: a(() => [
65
66
  p(h(t(o)({
66
67
  defaultMessage: "Add payment method",
67
68
  description: "Text for the add payment method button that is shown when no payment methods have been configured",
@@ -78,16 +79,16 @@ const x = /* @__PURE__ */ v({
78
79
  }, [
79
80
  e.showViewAllButton ? {
80
81
  name: "right",
81
- fn: s(() => [
82
- c(t(y), {
83
- size: "sm",
82
+ fn: a(() => [
83
+ c(t(u), {
84
+ size: "xs",
84
85
  intent: "subtle",
85
86
  "icon-suffix": "arrow_right_alt",
86
87
  class: "sv-action sv-action--ghost sv-payment-methods__view-all",
87
88
  type: "button",
88
89
  onClick: i[0] || (i[0] = (n) => d.$emit("view-all-payment-methods"))
89
90
  }, {
90
- default: s(() => [
91
+ default: a(() => [
91
92
  p(h(t(o)({
92
93
  defaultMessage: "View all",
93
94
  id: "customer_overview.payment_methods_block.view_all_payment_methods_link_label",
@@ -115,11 +116,11 @@ const x = /* @__PURE__ */ v({
115
116
  }, o = e, r = _(
116
117
  () => $(l, o.configuration)
117
118
  ), { dispatchAction: d } = B();
118
- return (i, n) => e.isLoading ? (a(), m(M, {
119
+ return (i, n) => e.isLoading ? (s(), m(M, {
119
120
  key: 0,
120
121
  variant: "section",
121
122
  class: "sv-payment-methods sv-root sv-component sv-loading h-72"
122
- })) : (a(), m(x, {
123
+ })) : (s(), m(x, {
123
124
  key: 1,
124
125
  class: "sv-payment-methods sv-root sv-component",
125
126
  "payment-methods": e.paymentMethods,