@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
@@ -0,0 +1,124 @@
1
+ import { defineComponent as h, openBlock as i, createElementBlock as p, createVNode as m, withCtx as c, createElementVNode as d, renderSlot as u, toDisplayString as a, createCommentVNode as f, createBlock as s, unref as t, createSlots as v, createTextVNode as o } from "vue";
2
+ import { _ as y } from "./Chip.vue.es-D3UDSyXC.mjs";
3
+ import { a as k } from "./Button.vue.es-Zw--kuaU.mjs";
4
+ import { a as _ } from "./customElements-BTj4ii4f.mjs";
5
+ import { f as D } from "./formatting.es-RclXHhKo.mjs";
6
+ const C = { class: "flex gap-4" }, $ = { class: "flex items-center gap-2" }, r = /* @__PURE__ */ h({
7
+ __name: "PricingClauseChip",
8
+ props: {
9
+ iconName: {}
10
+ },
11
+ setup(e) {
12
+ return (n, g) => (i(), p("div", C, [
13
+ m(y, null, {
14
+ default: c(() => [
15
+ d("div", $, [
16
+ m(k, {
17
+ icon: e.iconName,
18
+ size: "xs"
19
+ }, null, 8, ["icon"]),
20
+ d("span", null, [
21
+ u(n.$slots, "chip-content")
22
+ ])
23
+ ])
24
+ ]),
25
+ _: 3
26
+ }),
27
+ u(n.$slots, "chip-postfix")
28
+ ]));
29
+ }
30
+ }), M = { class: "flex flex-col gap-2" }, T = { key: 0 }, A = /* @__PURE__ */ h({
31
+ __name: "InvoicePricingClauseChip",
32
+ props: {
33
+ clauseType: {},
34
+ priceDetailsBand: {},
35
+ invoiceLineDescription: {}
36
+ },
37
+ setup(e) {
38
+ const n = _();
39
+ return (g, B) => (i(), p("div", M, [
40
+ e.invoiceLineDescription ? (i(), p("span", T, a(e.invoiceLineDescription), 1)) : f("", !0),
41
+ e.clauseType === "DISCOUNT" && e.priceDetailsBand ? (i(), s(t(r), {
42
+ key: 1,
43
+ "icon-name": "south_east"
44
+ }, v({ _: 2 }, [
45
+ e.priceDetailsBand.amount ? {
46
+ name: "chip-content",
47
+ fn: c(() => [
48
+ o(a(t(n).$t(
49
+ {
50
+ id: "invoice.amount_discount",
51
+ defaultMessage: "{amount} discount",
52
+ description: "Represents a certain amount of discount, where {amount} is replaced with the amount"
53
+ },
54
+ {
55
+ amount: t(D)(e.priceDetailsBand.amount)
56
+ }
57
+ )), 1)
58
+ ]),
59
+ key: "0"
60
+ } : e.priceDetailsBand.percentage ? {
61
+ name: "chip-content",
62
+ fn: c(() => [
63
+ o(a(t(n).$t(
64
+ {
65
+ id: "invoice.percentage_discount",
66
+ defaultMessage: "{percentage}% discount",
67
+ description: "Represents a certain percentage of discount, where {percentage} is replaced with the percentage (number only)"
68
+ },
69
+ {
70
+ percentage: e.priceDetailsBand.percentage ?? "0"
71
+ }
72
+ )), 1)
73
+ ]),
74
+ key: "1"
75
+ } : void 0
76
+ ]), 1024)) : e.clauseType === "ADJUSTMENT" ? (i(), s(t(r), {
77
+ key: 2,
78
+ "icon-name": "info"
79
+ }, {
80
+ "chip-content": c(() => [
81
+ o(a(t(n).$t({
82
+ id: "invoice.adjustment_chip_body",
83
+ defaultMessage: "Adjustment",
84
+ description: "Used on invoice lines to mark as adjusted"
85
+ }).toUpperCase()), 1)
86
+ ]),
87
+ _: 1
88
+ })) : e.clauseType === "MARKUP" ? (i(), s(t(r), {
89
+ key: 3,
90
+ "icon-name": "north_east"
91
+ }, {
92
+ "chip-content": c(() => {
93
+ var l;
94
+ return [
95
+ o(a(t(n).$t(
96
+ {
97
+ id: "invoice.markup_percentage",
98
+ defaultMessage: "{percentage}% markup",
99
+ description: "Markup percentage, where {percentage} is replaced with the percentage (number only)"
100
+ },
101
+ { percentage: ((l = e.priceDetailsBand) == null ? void 0 : l.percentage) ?? "0" }
102
+ ).toUpperCase()), 1)
103
+ ];
104
+ }),
105
+ _: 1
106
+ })) : e.clauseType === "COMMITMENT" ? (i(), s(t(r), {
107
+ key: 4,
108
+ "icon-name": "sell"
109
+ }, {
110
+ "chip-content": c(() => [
111
+ o(a(t(n).$t({
112
+ id: "invoice.commitment",
113
+ defaultMessage: "commitment",
114
+ description: "Used on invoice lines to mark as commitment"
115
+ }).toUpperCase()), 1)
116
+ ]),
117
+ _: 1
118
+ })) : f("", !0)
119
+ ]));
120
+ }
121
+ });
122
+ export {
123
+ A as _
124
+ };
@@ -0,0 +1,113 @@
1
+ import { defineComponent as c, inject as y, computed as $, openBlock as a, createBlock as i, resolveDynamicComponent as h, mergeProps as d, withCtx as o, renderSlot as n, createElementBlock as u, normalizeClass as p, toDisplayString as v, createCommentVNode as b, createElementVNode as g, createVNode as f, normalizeProps as k } from "vue";
2
+ import { I as B } from "./customElements-BTj4ii4f.mjs";
3
+ import { a as _ } from "./Button.vue.es-Zw--kuaU.mjs";
4
+ import { _ as C } from "./TooltipParagraph.vue.es-Dw0ndjle.mjs";
5
+ function R(t = "") {
6
+ return `${t}${crypto.randomUUID()}`;
7
+ }
8
+ const m = /* @__PURE__ */ c({
9
+ __name: "LabelContent",
10
+ props: {
11
+ tag: { default: "label" },
12
+ required: { type: Boolean },
13
+ name: {},
14
+ screenReaderOnly: { type: Boolean },
15
+ disabled: { type: Boolean },
16
+ i18n: {},
17
+ optionalLabel: {}
18
+ },
19
+ setup(t) {
20
+ const e = t, r = y(B, null), s = $(
21
+ () => {
22
+ var l;
23
+ return ((l = e.i18n) == null ? void 0 : l.optionalLabel) ?? (r ? r.formatMessage({
24
+ id: "label.optional_label",
25
+ defaultMessage: "optional",
26
+ description: "Shown in brackets after a form field label when the field is optional"
27
+ }) : "optional");
28
+ }
29
+ );
30
+ return (l, w) => (a(), i(h(t.tag), d(l.$attrs, {
31
+ class: ["block text-sm font-medium", {
32
+ "sr-only": t.screenReaderOnly,
33
+ "text-disabled": t.disabled,
34
+ "text-default": !t.disabled
35
+ }]
36
+ }), {
37
+ default: o(() => [
38
+ n(l.$slots, "default"),
39
+ t.required ? b("", !0) : (a(), u("span", {
40
+ key: 0,
41
+ class: p(["text-xs font-normal", t.disabled ? "text-disabled" : "text-subtle"])
42
+ }, " (" + v(s.value) + ") ", 3))
43
+ ]),
44
+ _: 3
45
+ }, 16, ["class"]));
46
+ }
47
+ }), L = { class: "flex items-center gap-1" }, I = {
48
+ key: 0,
49
+ class: "leading-none"
50
+ }, N = {
51
+ inheritAttrs: !1
52
+ }, z = /* @__PURE__ */ c({
53
+ ...N,
54
+ __name: "Label",
55
+ props: {
56
+ tag: { default: "label" },
57
+ required: { type: Boolean },
58
+ name: {},
59
+ screenReaderOnly: { type: Boolean },
60
+ disabled: { type: Boolean },
61
+ i18n: {}
62
+ },
63
+ setup(t) {
64
+ return (e, r) => (a(), u("div", {
65
+ class: p(
66
+ t.screenReaderOnly && !e.$slots.suffix ? "sr-only" : "mb-1 flex items-center justify-between"
67
+ )
68
+ }, [
69
+ g("div", L, [
70
+ e.$slots.tooltip ? (a(), i(C, {
71
+ key: 0,
72
+ variant: "outline",
73
+ class: "flex items-center"
74
+ }, {
75
+ default: o(() => {
76
+ var s;
77
+ return [
78
+ f(m, d({ ...e.$props, ...e.$attrs }, {
79
+ i18n: { optionalLabel: (s = t.i18n) == null ? void 0 : s.optionalLabel }
80
+ }), {
81
+ default: o(() => [
82
+ n(e.$slots, "default")
83
+ ]),
84
+ _: 3
85
+ }, 16, ["i18n"]),
86
+ f(_, {
87
+ icon: "help",
88
+ size: "2xs",
89
+ class: "ml-1 rounded drop-shadow-sm hover:cursor-default hover:bg-gray-50"
90
+ })
91
+ ];
92
+ }),
93
+ tooltip: o(() => [
94
+ n(e.$slots, "tooltip")
95
+ ]),
96
+ _: 3
97
+ })) : (a(), i(m, k(d({ key: 1 }, { ...e.$props, ...e.$attrs })), {
98
+ default: o(() => [
99
+ n(e.$slots, "default")
100
+ ]),
101
+ _: 3
102
+ }, 16))
103
+ ]),
104
+ e.$slots.suffix ? (a(), u("div", I, [
105
+ n(e.$slots, "suffix")
106
+ ])) : b("", !0)
107
+ ], 2));
108
+ }
109
+ });
110
+ export {
111
+ z as _,
112
+ R as u
113
+ };
@@ -1,32 +1,32 @@
1
- import { defineComponent as V, openBlock as a, createElementBlock as u, normalizeStyle as X, normalizeClass as m, renderSlot as b, createBlock as T, unref as s, createCommentVNode as r, createElementVNode as c, createTextVNode as k, toDisplayString as w, withCtx as g, useSlots as ie, computed as v, ref as h, useId as de, watch as re, onMounted as ue, onBeforeUnmount as ce, createVNode as x, Transition as fe, withModifiers as me, nextTick as be } from "vue";
2
- import { o as G } from "./index.es-CXkP_k3u.mjs";
3
- import { _ as ye, F as xe } from "./ContextMenu.vue.es-DRxsa7bZ.mjs";
4
- import { b as ve, _ as P } from "./Button.vue.es-rh6mITmN.mjs";
1
+ import { defineComponent as R, openBlock as a, createElementBlock as u, normalizeStyle as Y, normalizeClass as m, renderSlot as b, createBlock as T, unref as s, createCommentVNode as r, createElementVNode as c, createTextVNode as k, toDisplayString as w, withCtx as g, useSlots as de, computed as x, ref as h, useId as re, watch as ue, onMounted as ce, onBeforeUnmount as fe, createVNode as v, Transition as me, withModifiers as be, nextTick as ye } from "vue";
2
+ import { o as P } from "./index.es-C7J3WGGo.mjs";
3
+ import { _ as ve, F as xe } from "./ContextMenu.vue.es-B9mFpUQK.mjs";
4
+ import { b as he, _ as X } from "./Button.vue.es-Zw--kuaU.mjs";
5
5
  import { i as N } from "./slots.es-BA4MyEAa.mjs";
6
- import { _ as he } from "./Avatar.vue.es-Beg7umjO.mjs";
7
- import { _ as ge, a as we } from "./customElements-Di3zwlEU.mjs";
8
- import { _ as ze } from "./IconButton.vue.es-oe4MVBK1.mjs";
9
- import { _ as ke } from "./floating-ui.vue.es-CYt0fSY7.mjs";
10
- const A = 60, Z = "z-index-tracker", Be = () => ({
6
+ import { _ as ge } from "./Avatar.vue.es-r0NbcIib.mjs";
7
+ import { d as we, a as ze } from "./customElements-BTj4ii4f.mjs";
8
+ import { _ as ke } from "./IconButton.vue.es-C8lYFx5_.mjs";
9
+ import { _ as Be } from "./useLazyFloating.es-CycqRyeb.mjs";
10
+ const A = 60, Z = "z-index-tracker", $e = () => ({
11
11
  defaultZIndex: A,
12
12
  getZIndex: () => {
13
- const l = document.querySelectorAll(`.${Z}`);
13
+ const o = document.querySelectorAll(`.${Z}`);
14
14
  let f = A;
15
- return (l ?? []).forEach((i) => {
15
+ return (o ?? []).forEach((i) => {
16
16
  const d = window.getComputedStyle(i).getPropertyValue("z-index");
17
17
  d && +d >= f && (f = +d + 1);
18
18
  }), f;
19
19
  },
20
20
  getTopZIndex: () => {
21
- const l = document.querySelectorAll(`.${Z}`);
21
+ const o = document.querySelectorAll(`.${Z}`);
22
22
  let f = A;
23
- return (l ?? []).forEach((i) => {
23
+ return (o ?? []).forEach((i) => {
24
24
  const d = window.getComputedStyle(i).getPropertyValue("z-index");
25
25
  d && +d > f && (f = +d);
26
26
  }), f;
27
27
  },
28
28
  trackingClass: Z
29
- }), $e = /* @__PURE__ */ V({
29
+ }), Te = /* @__PURE__ */ R({
30
30
  __name: "Backdrop",
31
31
  props: {
32
32
  blurred: { type: Boolean, default: !1 },
@@ -34,19 +34,19 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
34
34
  zIndex: {}
35
35
  },
36
36
  setup(e) {
37
- return (n, l) => (a(), u("div", {
37
+ return (n, o) => (a(), u("div", {
38
38
  class: m(["fixed inset-0", {
39
39
  "bg-white/90 backdrop-blur": e.blurred && e.color === "white",
40
40
  "bg-white/80": !e.blurred && e.color === "white",
41
41
  "bg-gray-200/90 backdrop-blur": e.blurred && e.color === "gray",
42
42
  "bg-gray-200/80": !e.blurred && e.color === "gray"
43
43
  }]),
44
- style: X({ zIndex: e.zIndex })
44
+ style: Y({ zIndex: e.zIndex })
45
45
  }, [
46
46
  b(n.$slots, "default")
47
47
  ], 6));
48
48
  }
49
- }), Te = { class: "grow overflow-hidden text-ellipsis" }, pe = /* @__PURE__ */ V({
49
+ }), Ee = { class: "grow overflow-hidden text-ellipsis" }, pe = /* @__PURE__ */ R({
50
50
  __name: "Title",
51
51
  props: {
52
52
  title: {},
@@ -59,7 +59,7 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
59
59
  resourceId: {}
60
60
  },
61
61
  setup(e) {
62
- return (n, l) => (a(), u("div", {
62
+ return (n, o) => (a(), u("div", {
63
63
  class: m(["flex text-left", {
64
64
  "gap-4": ["md", "lg"].includes(e.size),
65
65
  "gap-3": e.size === "sm",
@@ -67,13 +67,13 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
67
67
  "gap-1": e.size === "xs" && e.variant === "transparent"
68
68
  }])
69
69
  }, [
70
- e.avatar && e.title ? (a(), T(s(he), {
70
+ e.avatar && e.title ? (a(), T(s(ge), {
71
71
  key: 0,
72
72
  initials: e.title.slice(0, 1),
73
73
  "color-hash": e.title,
74
74
  size: ["sm", "xs"].includes(e.size) ? "lg" : "xl"
75
75
  }, null, 8, ["initials", "color-hash", "size"])) : r("", !0),
76
- c("div", Te, [
76
+ c("div", Ee, [
77
77
  e.title || n.$slots.default ? (a(), u("div", {
78
78
  key: 0,
79
79
  class: m([{
@@ -94,7 +94,7 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
94
94
  k(w(e.suffix), 1)
95
95
  ])
96
96
  ], 2)) : r("", !0),
97
- e.subTitle || n.$slots.subTitle && !s(N)(n.$slots.subTitle({})) ? (a(), T(s(ge), {
97
+ e.subTitle || n.$slots.subTitle && !s(N)(n.$slots.subTitle({})) ? (a(), T(s(we), {
98
98
  key: 1,
99
99
  variant: "body-sm",
100
100
  color: "secondary",
@@ -111,28 +111,28 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
111
111
  ])
112
112
  ], 2));
113
113
  }
114
- }), Ce = ["aria-label", "aria-labelledby", "aria-busy"], Ee = {
114
+ }), Ce = ["aria-label", "aria-labelledby", "aria-busy"], Ie = {
115
115
  key: 0,
116
116
  role: "status",
117
117
  class: "absolute bottom-0 left-0 right-0 top-0 z-10 flex items-center justify-center bg-white/80"
118
- }, Ie = { class: "sr-only" }, Se = {
118
+ }, Se = { class: "sr-only" }, Me = {
119
119
  key: 1,
120
120
  "data-testid": "modal-top-bar",
121
121
  class: "flex justify-end border-b border-gray-200 py-2 pr-2"
122
- }, Me = {
122
+ }, Le = {
123
123
  "aria-hidden": "true",
124
124
  class: "sticky top-0 z-10 -mx-6 h-0"
125
- }, Le = {
125
+ }, Ae = {
126
126
  "data-testid": "modal-body-content",
127
127
  class: "py-6"
128
- }, Ae = ["id"], Ze = {
128
+ }, Ze = ["id"], Ne = {
129
129
  "aria-hidden": "true",
130
130
  class: "sticky bottom-0 z-10 -mx-6 h-0"
131
- }, Ne = { key: 0 }, Ve = {
131
+ }, Re = { key: 0 }, Ve = {
132
132
  key: 3,
133
133
  "data-testid": "modal-footer",
134
134
  class: "border-t border-gray-200 px-6 py-3 [&_button]:w-full"
135
- }, De = { class: "flex flex-col gap-2" }, Fe = /* @__PURE__ */ V({
135
+ }, De = { class: "flex flex-col gap-2" }, Fe = /* @__PURE__ */ R({
136
136
  __name: "Modal",
137
137
  props: {
138
138
  children: { default: () => [] },
@@ -154,19 +154,19 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
154
154
  },
155
155
  emits: ["confirm", "close"],
156
156
  setup(e, { emit: n }) {
157
- const l = e, f = n, i = ie(), { $t: d } = we(), D = v(() => {
158
- var t, o;
159
- return !!((t = i.body) != null && t.call(i)) && !N((o = i.body) == null ? void 0 : o.call(i, {}));
160
- }), B = v(() => {
161
- var t, o;
162
- return !!l.title || !!((t = i.header) != null && t.call(i)) && !N((o = i.header) == null ? void 0 : o.call(i, {}));
163
- }), Y = v(() => D.value || B.value), { getZIndex: J, getTopZIndex: Q, trackingClass: W, defaultZIndex: F } = Be(), p = h(), z = h(), $ = h(F), R = de(), O = v(() => {
164
- if (l.ariaLabelledby) return l.ariaLabelledby;
165
- if (!l.ariaLabel && !l.title && B.value) return R;
166
- }), _ = v(() => {
157
+ const o = e, f = n, i = de(), { $t: d } = ze(), V = x(() => {
158
+ var t, l;
159
+ return !!((t = i.body) != null && t.call(i)) && !N((l = i.body) == null ? void 0 : l.call(i, {}));
160
+ }), B = x(() => {
161
+ var t, l;
162
+ return !!o.title || !!((t = i.header) != null && t.call(i)) && !N((l = i.header) == null ? void 0 : l.call(i, {}));
163
+ }), J = x(() => V.value || B.value), { getZIndex: Q, getTopZIndex: W, trackingClass: _, defaultZIndex: D } = $e(), E = h(), z = h(), $ = h(D), F = re(), O = x(() => {
164
+ if (o.ariaLabelledby) return o.ariaLabelledby;
165
+ if (!o.ariaLabel && !o.title && B.value) return F;
166
+ }), ee = x(() => {
167
167
  if (!O.value)
168
- return l.ariaLabel || l.title || void 0;
169
- }), q = h(!1), K = h(!1), ee = v(() => l.blurred || l.isEmbedded), te = {
168
+ return o.ariaLabel || o.title || void 0;
169
+ }), q = h(!1), K = h(!1), te = x(() => o.blurred || o.isEmbedded), le = {
170
170
  xs: "max-w-xs",
171
171
  sm: "max-w-sm",
172
172
  md: "max-w-md",
@@ -178,7 +178,7 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
178
178
  "5xl": "max-w-5xl",
179
179
  "6xl": "max-w-6xl",
180
180
  "7xl": "max-w-7xl"
181
- }, le = [
181
+ }, oe = [
182
182
  "a[href]",
183
183
  "button:not([disabled])",
184
184
  'input:not([disabled]):not([type="hidden"])',
@@ -186,72 +186,78 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
186
186
  "textarea:not([disabled])",
187
187
  '[contenteditable="true"]',
188
188
  '[tabindex]:not([tabindex^="-"])'
189
- ].join(","), C = h(null), j = () => z.value ? Array.from(
190
- z.value.querySelectorAll(le)
191
- ).filter((t) => !t.closest('[aria-hidden="true"]')) : [], oe = () => {
189
+ ].join(","), p = h(null), j = () => z.value ? Array.from(
190
+ z.value.querySelectorAll(oe)
191
+ ).filter((t) => !t.closest('[aria-hidden="true"]')) : [], ae = () => {
192
192
  const t = z.value;
193
193
  if (!t) return;
194
194
  (t.querySelector("[autofocus]") ?? j()[0] ?? t).focus();
195
- }, U = () => l.showModal && $.value >= Q(), E = () => f("close"), ae = () => {
196
- l.noBackdropClose || E();
197
- }, se = () => {
198
- if (!p.value) return;
199
- const { scrollTop: t, scrollHeight: o, clientHeight: y } = p.value;
200
- q.value = t > 0, K.value = t + y < o - 1;
195
+ }, U = () => {
196
+ var t;
197
+ let l = document.activeElement;
198
+ for (; (t = l == null ? void 0 : l.shadowRoot) != null && t.activeElement; )
199
+ l = l.shadowRoot.activeElement;
200
+ return l;
201
+ }, H = () => o.showModal && $.value >= W(), C = () => f("close"), se = () => {
202
+ o.noBackdropClose || C();
203
+ }, ne = () => {
204
+ if (!E.value) return;
205
+ const { scrollTop: t, scrollHeight: l, clientHeight: y } = E.value;
206
+ q.value = t > 0, K.value = t + y < l - 1;
201
207
  };
202
- G("Escape", () => {
203
- l.noClickAway || !U() || E();
204
- }), G("Tab", (t) => {
205
- const o = z.value;
206
- if (!o || !U()) return;
208
+ P("Escape", () => {
209
+ o.noClickAway || !H() || C();
210
+ }), P("Tab", (t) => {
211
+ const l = z.value;
212
+ if (!l || !H()) return;
207
213
  const y = j();
208
214
  if (!y.length) {
209
- t.preventDefault(), o.focus();
215
+ t.preventDefault(), l.focus();
210
216
  return;
211
217
  }
212
- const S = y[0], M = y[y.length - 1], L = document.activeElement;
213
- if (!o.contains(L)) {
218
+ const S = y[0], M = y[y.length - 1], L = U();
219
+ if (!l.contains(L)) {
214
220
  t.preventDefault(), (t.shiftKey ? M : S).focus();
215
221
  return;
216
222
  }
217
223
  t.shiftKey && L === S ? (t.preventDefault(), M.focus()) : !t.shiftKey && L === M && (t.preventDefault(), S.focus());
218
224
  });
219
225
  const I = (t) => {
220
- const o = document.querySelector("body");
221
- o && (o.style.overflowY = t);
222
- }, H = async () => {
223
- $.value = J(), I("hidden"), C.value = document.activeElement, await be(), oe();
224
- }, ne = () => {
226
+ const l = document.querySelector("body");
227
+ l && (l.style.overflowY = t);
228
+ }, G = async () => {
229
+ $.value = Q(), I("hidden"), p.value = U(), await ye(), ae();
230
+ }, ie = () => {
225
231
  var t;
226
- $.value = F, I("unset"), (t = C.value) == null || t.focus(), C.value = null;
232
+ $.value = D, I("unset"), (t = p.value) == null || t.focus(), p.value = null;
227
233
  };
228
- return re(
229
- () => l.showModal,
230
- (t) => t ? H() : ne()
231
- ), ue(() => {
232
- l.showModal && H();
233
- }), ce(() => {
234
+ return ue(
235
+ () => o.showModal,
236
+ (t) => t ? G() : ie()
237
+ ), ce(() => {
238
+ o.showModal && G();
239
+ }), fe(() => {
234
240
  I("unset");
235
- }), (t, o) => (a(), T(s(ye), { to: "modal" }, {
241
+ }), (t, l) => (a(), T(s(ve), { to: "modal" }, {
236
242
  default: g(() => [
237
- x(fe, {
243
+ v(me, {
238
244
  name: "modal",
239
245
  appear: ""
240
246
  }, {
241
247
  default: g(() => [
242
248
  e.showModal ? (a(), u("div", {
243
249
  key: 0,
244
- class: m(["h-modal z-60 fixed left-0 right-0 top-0 flex w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0 md:h-full", s(W)]),
245
- style: X({ zIndex: $.value })
250
+ class: m(["h-modal z-60 fixed left-0 right-0 top-0 flex w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0 md:h-full", s(_)]),
251
+ style: Y({ zIndex: $.value })
246
252
  }, [
247
- x(s($e), {
253
+ v(s(Te), {
248
254
  "aria-hidden": "true",
249
- blurred: ee.value,
250
- color: l.isEmbedded ? "white" : void 0,
251
- onMousedown: me(ae, ["self"])
255
+ blurred: te.value,
256
+ color: o.isEmbedded ? "white" : void 0,
257
+ onMousedown: be(se, ["self"])
252
258
  }, null, 8, ["blurred", "color"]),
253
259
  c("div", {
254
- class: m(["modal-panel relative h-full w-full p-4 md:h-auto", `${te[e.size]}`])
260
+ class: m(["modal-panel relative h-full w-full p-4 md:h-auto", `${le[e.size]}`])
255
261
  }, [
256
262
  c("div", {
257
263
  ref_key: "dialogElementRef",
@@ -259,24 +265,24 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
259
265
  role: "dialog",
260
266
  "aria-modal": "true",
261
267
  tabindex: "-1",
262
- "aria-label": _.value,
268
+ "aria-label": ee.value,
263
269
  "aria-labelledby": O.value,
264
270
  "aria-busy": e.isLoading,
265
271
  class: "relative flex max-h-[min(95vh,920px)] flex-col rounded-xl bg-white shadow-lg focus:outline-none"
266
272
  }, [
267
- e.isLoading ? (a(), u("div", Ee, [
268
- x(ve, {
273
+ e.isLoading ? (a(), u("div", Ie, [
274
+ v(he, {
269
275
  size: "6",
270
276
  "aria-hidden": "true"
271
277
  }),
272
- c("span", Ie, w(s(d)({
278
+ c("span", Se, w(s(d)({
273
279
  defaultMessage: "Loading",
274
280
  id: "h+GlcT",
275
281
  description: "Modal loading state"
276
282
  })), 1)
277
283
  ])) : r("", !0),
278
- e.noCloseButton ? r("", !0) : (a(), u("div", Se, [
279
- x(s(ze), {
284
+ e.noCloseButton ? r("", !0) : (a(), u("div", Me, [
285
+ v(s(ke), {
280
286
  icon: "close",
281
287
  size: "xs",
282
288
  intent: "secondary",
@@ -286,25 +292,25 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
286
292
  id: "U+ONwt",
287
293
  description: "Modal close button"
288
294
  }),
289
- onClick: E
295
+ onClick: C
290
296
  }, null, 8, ["aria-label"])
291
297
  ])),
292
- Y.value ? (a(), u("div", {
298
+ J.value ? (a(), u("div", {
293
299
  key: 2,
294
300
  ref_key: "contentElementRef",
295
- ref: p,
301
+ ref: E,
296
302
  class: m(["overflow-auto px-6", { "overflow-visible": e.overflowVisible }]),
297
- onScroll: se
303
+ onScroll: ne
298
304
  }, [
299
- c("div", Me, [
305
+ c("div", Le, [
300
306
  c("div", {
301
307
  class: m(["transition-duration-700 pointer-events-none h-6 w-full bg-gradient-to-b from-black/[.06] to-transparent transition-opacity", q.value ? "opacity-100" : "opacity-0"])
302
308
  }, null, 2)
303
309
  ]),
304
- c("div", Le, [
310
+ c("div", Ae, [
305
311
  B.value ? (a(), u("div", {
306
312
  key: 0,
307
- id: s(R)
313
+ id: s(F)
308
314
  }, [
309
315
  b(t.$slots, "header", {}, () => [
310
316
  e.title ? (a(), T(pe, {
@@ -314,23 +320,23 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
314
320
  size: "md"
315
321
  }, null, 8, ["title", "sub-title"])) : r("", !0)
316
322
  ], !0)
317
- ], 8, Ae)) : r("", !0),
318
- D.value ? (a(), u("div", {
323
+ ], 8, Ze)) : r("", !0),
324
+ V.value ? (a(), u("div", {
319
325
  key: 1,
320
326
  class: m({ "mt-4": B.value })
321
327
  }, [
322
328
  b(t.$slots, "body", {}, void 0, !0)
323
329
  ], 2)) : r("", !0)
324
330
  ]),
325
- c("div", Ze, [
331
+ c("div", Ne, [
326
332
  c("div", {
327
333
  class: m(["transition-duration-700 pointer-events-none h-6 w-full -translate-y-6 bg-gradient-to-t from-black/[.06] to-transparent transition-opacity", K.value ? "opacity-100" : "opacity-0"])
328
334
  }, null, 2)
329
335
  ])
330
336
  ], 34)) : r("", !0),
331
- x(xe, null, {
337
+ v(xe, null, {
332
338
  default: g(() => [
333
- t.$slots.error ? (a(), u("div", Ne, [
339
+ t.$slots.error ? (a(), u("div", Re, [
334
340
  b(t.$slots, "error", {}, void 0, !0)
335
341
  ])) : r("", !0)
336
342
  ]),
@@ -339,11 +345,11 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
339
345
  t.$slots.footer || e.confirmButtonText || e.cancelButtonText ? (a(), u("div", Ve, [
340
346
  b(t.$slots, "footer", {}, () => [
341
347
  c("div", De, [
342
- x(s(P), {
348
+ v(s(X), {
343
349
  size: "md",
344
350
  autofocus: "",
345
351
  loading: e.isLoading,
346
- onClick: o[0] || (o[0] = (y) => t.$emit("confirm"))
352
+ onClick: l[0] || (l[0] = (y) => t.$emit("confirm"))
347
353
  }, {
348
354
  default: g(() => [
349
355
  k(w(e.confirmButtonText || s(d)({
@@ -354,10 +360,10 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
354
360
  ]),
355
361
  _: 1
356
362
  }, 8, ["loading"]),
357
- x(s(P), {
363
+ v(s(X), {
358
364
  size: "md",
359
365
  intent: "secondary",
360
- onClick: o[1] || (o[1] = (y) => t.$emit("close"))
366
+ onClick: l[1] || (l[1] = (y) => t.$emit("close"))
361
367
  }, {
362
368
  default: g(() => [
363
369
  k(w(e.cancelButtonText || s(d)({
@@ -381,7 +387,7 @@ const A = 60, Z = "z-index-tracker", Be = () => ({
381
387
  _: 3
382
388
  }));
383
389
  }
384
- }), Xe = /* @__PURE__ */ ke(Fe, [["__scopeId", "data-v-f0b441a8"]]);
390
+ }), Ye = /* @__PURE__ */ Be(Fe, [["__scopeId", "data-v-4ca9d1da"]]);
385
391
  export {
386
- Xe as M
392
+ Ye as M
387
393
  };