@solvimon/solvimon-web 0.1.0-alpha.29 → 0.1.0-alpha.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -2
- package/dist/{Alert.vue.es-CNrEaLvh.mjs → Alert.vue.es-ZPG49yR_.mjs} +1 -1
- package/dist/{AuthProvider.handle-DKfNs8rr.mjs → AuthProvider.handle-SRR_04XS.mjs} +1 -1
- package/dist/{Avatar.vue.es-r0NbcIib.mjs → Avatar.vue.es-geDQsZwu.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs} +4 -4
- package/dist/{Button.vue.es-Zw--kuaU.mjs → Button.vue.es-j7iYlqtJ.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-B8FDkS9U.mjs → ChargeOnDemandModal-CR01PkP_.mjs} +14 -14
- package/dist/{Checkout.entry.ce-DsGl-5aR.mjs → Checkout.entry.ce-CopWuLJC.mjs} +1784 -1817
- package/dist/{CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs → CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs} +7 -7
- package/dist/{Chip.vue.es-D3UDSyXC.mjs → Chip.vue.es-Dxx_0dte.mjs} +2 -2
- package/dist/{ContextMenu.vue.es-B9mFpUQK.mjs → ContextMenu.vue.es-BJO4U47Q.mjs} +5 -5
- package/dist/{CustomerBillingInformation.vue.es-B8NiQaJs.mjs → CustomerBillingInformation.vue.es-CmNpqcBw.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs} +5 -5
- package/dist/{CustomerShippingAddresses-Bj8Y17O8.mjs → CustomerShippingAddresses-BRPukhRI.mjs} +8 -8
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs} +434 -425
- package/dist/{DividerText.vue.es-CNbgif-3.mjs → DividerText.vue.es-BusbyeAI.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs} +3 -3
- package/dist/{ErrorNotification.vue.es-DNd65mQq.mjs → ErrorNotification.vue.es-F068p7PY.mjs} +2 -2
- package/dist/{FormMessage.vue.es-Cjv358Ab.mjs → FormMessage.vue.es-CwMQpIAW.mjs} +1 -1
- package/dist/{IconButton.vue.es-C8lYFx5_.mjs → IconButton.vue.es-D8DtBW9i.mjs} +2 -2
- package/dist/{IconTitle.vue.es-O2kcqgKm.mjs → IconTitle.vue.es-6VJtjJX2.mjs} +3 -3
- package/dist/{Input.vue.es-D8Oj8MWv.mjs → Input.vue.es-BLyHcmu4.mjs} +4 -4
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs} +4 -4
- package/dist/{InvoicePreview.vue.es-4Q2hzaFS.mjs → InvoicePreview.vue.es-Cpf66_xV.mjs} +4 -4
- package/dist/{InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs → InvoicePricingClauseChip.vue.es-CDrAE901.mjs} +3 -3
- package/dist/{Label.vue.es-DtpLM1KH.mjs → Label.vue.es-es7ZUBSP.mjs} +3 -3
- package/dist/{Modal.vue.es-C8ZcO117.mjs → Modal.vue.es-eeR9FmvQ.mjs} +6 -6
- package/dist/{OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs → OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs} +5 -5
- package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs} +2 -2
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-BvY2nXGV.mjs → PaymentHistoryBlock-CN42ewCn.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-CcfQSzKM.mjs → PaymentIntegrationForm-D3Ye7LZ5.mjs} +1 -1
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs} +5 -5
- package/dist/{PaymentIntegrationFormAdyen-DqgDfO6K.mjs → PaymentIntegrationFormAdyen-Fm-diCCO.mjs} +39 -38
- package/dist/{PaymentIntegrationFormStripe-BYdAkvLt.mjs → PaymentIntegrationFormStripe-BANBL6za.mjs} +14 -13
- package/dist/{PaymentMethod.vue.es-b0p3a0L-.mjs → PaymentMethod.vue.es-t3-VyoE8.mjs} +4 -4
- package/dist/{PaymentMethodForm-BsTrTwCg.mjs → PaymentMethodForm-CqP3GoNj.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs} +6 -6
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs} +7 -7
- package/dist/PlanCustomizationEditor-B76UNEMm.mjs +791 -0
- package/dist/{PortalLinkUnverified-B_EE2wTJ.mjs → PortalLinkUnverified-Cp60_kRJ.mjs} +3 -3
- package/dist/{PortalNotAvailable-DPE9y37H.mjs → PortalNotAvailable-DzSQnfzw.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs → PricingGroupRangeInput.vue.es-Srq_3cga.mjs} +156 -206
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs +177 -0
- package/dist/{RadioGroupExtended.vue.es-3nDXqIGi.mjs → RadioGroupExtended.vue.es-BbBMDf6l.mjs} +5 -5
- package/dist/{Section.vue.es-CvX9tg2f.mjs → Section.vue.es-Oqn1wGPZ.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs} +2 -2
- package/dist/{ShippingAddressesModal-C4p1IXXk.mjs → ShippingAddressesModal-c7nqf4Ny.mjs} +10 -10
- package/dist/StepInput.vue.es-ieh4EuJ7.mjs +213 -0
- package/dist/{SubscriptionDetails.entry.ce-D5SwM0YS.mjs → SubscriptionDetails.entry.ce-uYv45FGH.mjs} +91 -92
- package/dist/{SubscriptionSchedules-BZqlpAtk.mjs → SubscriptionSchedules-DMxX3GpK.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs} +1736 -1721
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs} +4 -4
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs} +9 -9
- package/dist/{TooltipParagraph.vue.es-Dw0ndjle.mjs → TooltipParagraph.vue.es-BES3zsYN.mjs} +1 -1
- package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs} +1 -1
- package/dist/{TrialChip.vue.es-DOopmaXA.mjs → TrialChip.vue.es-C51z1ZiA.mjs} +2 -2
- package/dist/addonQuantity-CCVaA3e-.mjs +758 -0
- package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +8 -8
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.mjs +14 -14
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.mjs +4 -4
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/core/index.mjs +1 -1
- package/dist/{customElements-BTj4ii4f.mjs → customElements-DK4GKNJG.mjs} +10 -10
- package/dist/{customer-BIjC0CWJ.mjs → customer-lf6S5DBR.mjs} +1 -1
- package/dist/{de-DE-DBbERiFr.mjs → de-DE-Cyj_NtiI.mjs} +4 -0
- package/dist/{fr-FR-IWJE-urI.mjs → fr-FR-CRFoWQ7J.mjs} +4 -0
- package/dist/{index.es-C7J3WGGo.mjs → index.es-BrVTOW5D.mjs} +4 -4
- package/dist/index.mjs +2 -2
- package/dist/{invoices-e1sKLgxg.mjs → invoices-DdREPDXV.mjs} +1 -1
- package/dist/{it-IT-B7ui2oxO.mjs → it-IT-DObZEc-U.mjs} +4 -0
- package/dist/{nl-NL-Bafh2xoT.mjs → nl-NL-C02xHilF.mjs} +4 -0
- package/dist/paymentFailure-QZdZHBhf.mjs +47 -0
- package/dist/{paymentMethods-B_82JGk_.mjs → paymentMethods-8w-ccfY_.mjs} +1 -1
- package/dist/{paymentMethods-Nfv9HdkS.mjs → paymentMethods-Goa25rTs.mjs} +2 -2
- package/dist/paymentOutcome-B6sW1eCV.mjs +22 -0
- package/dist/{payments-BnxbzQUC.mjs → payments-CKpU1K3t.mjs} +1 -1
- package/dist/{pricing-BOhvWWMj.mjs → pricing-CEaZGgKe.mjs} +1 -1
- package/dist/pricingItem.es-bCPArbTa.mjs +55 -0
- package/dist/{pricingPlanScheduleOverrides-Dxv5FOBd.mjs → pricingPlanScheduleOverrides-BBp-DmpV.mjs} +2 -2
- package/dist/{pricingPlanSchedules-Dv7ZCgNp.mjs → pricingPlanSchedules-DSMptcAh.mjs} +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +13 -13
- package/dist/screens/PayInvoice/PayInvoice.mjs +33 -32
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +172 -163
- package/dist/{sorting.es-CVyKw23D.mjs → sorting.es-C0pdMgX0.mjs} +1 -1
- package/dist/subscription-BwzkagDI.mjs +212 -0
- package/dist/{subscriptions-BWXZGK0E.mjs → subscriptions-B5bH8hsI.mjs} +1 -1
- package/dist/{taxId.es-DkD3Ltr8.mjs → taxId.es-e6NEvprh.mjs} +2 -2
- package/dist/types/public/core/configuration.d.ts +0 -1
- package/dist/types/public/core/types.d.ts +10 -5
- package/dist/{useActionDispatchProvider-3W2vEyIg.mjs → useActionDispatchProvider-ChAHdwR8.mjs} +1 -1
- package/dist/{useCustomer-cObBvDOu.mjs → useCustomer-CTMhg1nd.mjs} +2 -2
- package/dist/{useCustomerFormLabels-DJWf2O17.mjs → useCustomerFormLabels-D4oDnfxA.mjs} +9 -9
- package/dist/{useIncrementalLoading-CATuO36d.mjs → useIncrementalLoading-CBVutPH8.mjs} +1 -1
- package/dist/{useInvoiceData-DD44HTl7.mjs → useInvoiceData-qUGbBAQK.mjs} +2 -2
- package/dist/{useInvoicesList-CpB-41MQ.mjs → useInvoicesList-wJvZAJpW.mjs} +9 -9
- package/dist/{useLoadInitialData-qzdnBoui.mjs → useLoadInitialData-UvfYXgbi.mjs} +1 -1
- package/dist/{usePaymentFormHold-ByUZi3A-.mjs → usePaymentFormHold-Cwdr-vyc.mjs} +2 -2
- package/dist/{usePaymentMethodAvailability-DUdrs0Ji.mjs → usePaymentMethodAvailability-35l4pWdH.mjs} +4 -4
- package/dist/{usePaymentMethods-ByaKF7mf.mjs → usePaymentMethods-De7hlLHo.mjs} +2 -2
- package/dist/{usePayments-BXABv-lF.mjs → usePayments-hWS7fnOx.mjs} +9 -9
- package/dist/{usePortal-CwR_FxTb.mjs → usePortal-DUfD6hrA.mjs} +1 -1
- package/dist/{useService-BZcbUZHI.mjs → useService-BwzIBIRp.mjs} +1 -1
- package/dist/{useTimePeriod.es-BpdiVwg8.mjs → useTimePeriod.es-BUorDLVK.mjs} +1 -1
- package/package.json +4 -4
- package/dist/PlanCustomizationEditor-D29N4HUM.mjs +0 -711
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs +0 -141
- package/dist/StepInput.vue.es-DweyzpkL.mjs +0 -200
- package/dist/index.es-CpmQmvOg.mjs +0 -633
- package/dist/paymentOutcome-BXEU5-84.mjs +0 -67
- package/dist/pricingPlanSchedule-BPrS2WRd.mjs +0 -132
- package/dist/subscription-BhxoqwcT.mjs +0 -83
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { defineComponent as O, openBlock as f, createElementBlock as $, createElementVNode as v, createVNode as P, unref as p, withCtx as b, renderSlot as V, useModel as x, toRef as M, computed as g, createBlock as _, createTextVNode as N, toDisplayString as I, mergeModels as T } from "vue";
|
|
2
|
+
import { u as k, _ as A } from "./PricingGroupRangeInput.vue.es-Srq_3cga.mjs";
|
|
3
|
+
import { _ as E } from "./RadioGroupExtended.vue.es-BbBMDf6l.mjs";
|
|
4
|
+
import { _ as U } from "./Section.vue.es-Oqn1wGPZ.mjs";
|
|
5
|
+
import { g as C, S as G } from "./addonQuantity-CCVaA3e-.mjs";
|
|
6
|
+
import { d as S, a as R } from "./customElements-DK4GKNJG.mjs";
|
|
7
|
+
import { f as B } from "./formatting.es-RclXHhKo.mjs";
|
|
8
|
+
import { g as D } from "./pricingItem.es-bCPArbTa.mjs";
|
|
9
|
+
import { g as F } from "./pricing-CEaZGgKe.mjs";
|
|
10
|
+
import { u as H } from "./useViewport-psZejz_H.mjs";
|
|
11
|
+
const W = { class: "flex gap-4 border-l-2 border-primary-600 px-2" }, X = { class: "grow" }, j = /* @__PURE__ */ O({
|
|
12
|
+
__name: "PricingGroupTitle",
|
|
13
|
+
setup(u) {
|
|
14
|
+
return (s, a) => (f(), $("div", W, [
|
|
15
|
+
v("div", X, [
|
|
16
|
+
P(p(S), {
|
|
17
|
+
tag: "span",
|
|
18
|
+
variant: "body-sm",
|
|
19
|
+
weight: "semibold"
|
|
20
|
+
}, {
|
|
21
|
+
default: b(() => [
|
|
22
|
+
V(s.$slots, "title")
|
|
23
|
+
]),
|
|
24
|
+
_: 3
|
|
25
|
+
})
|
|
26
|
+
]),
|
|
27
|
+
v("div", null, [
|
|
28
|
+
P(p(S), {
|
|
29
|
+
tag: "span",
|
|
30
|
+
variant: "body-xs",
|
|
31
|
+
color: "subtle"
|
|
32
|
+
}, {
|
|
33
|
+
default: b(() => [
|
|
34
|
+
V(s.$slots, "description")
|
|
35
|
+
]),
|
|
36
|
+
_: 3
|
|
37
|
+
})
|
|
38
|
+
])
|
|
39
|
+
]));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
function q({
|
|
43
|
+
currency: u,
|
|
44
|
+
billingPeriod: s
|
|
45
|
+
}) {
|
|
46
|
+
const { $t: a } = R(), { renderPricingForPricingItem: y } = k({ currency: u, billingPeriod: s }), m = (t) => {
|
|
47
|
+
var i, d, c;
|
|
48
|
+
const n = D({
|
|
49
|
+
pricingItem: t,
|
|
50
|
+
currency: u.value,
|
|
51
|
+
billingPeriod: s.value
|
|
52
|
+
}), o = (c = (d = (i = n == null ? void 0 : n.details) == null ? void 0 : i.bands) == null ? void 0 : d[0]) == null ? void 0 : c.amount;
|
|
53
|
+
return C(t, n) === "units" && o ? a(
|
|
54
|
+
{
|
|
55
|
+
defaultMessage: "{amount} per unit, one-time",
|
|
56
|
+
id: "units.price_per_unit_one_time",
|
|
57
|
+
description: "The price per unit label for a one-off flat item, which is charged once rather than every period"
|
|
58
|
+
},
|
|
59
|
+
{ amount: B(o) }
|
|
60
|
+
) : y({ pricingItem: t });
|
|
61
|
+
};
|
|
62
|
+
return { describePricing: (t) => {
|
|
63
|
+
const n = t.items ?? [];
|
|
64
|
+
return n.length ? n.length === 1 ? m(n[0]) : n.map((o) => {
|
|
65
|
+
var d, c;
|
|
66
|
+
const i = (c = (d = o.product_items) == null ? void 0 : d[0]) == null ? void 0 : c.name;
|
|
67
|
+
return i ? a(
|
|
68
|
+
{
|
|
69
|
+
defaultMessage: "{name}: {pricing}",
|
|
70
|
+
id: "pricing_description.named_item",
|
|
71
|
+
description: "One item of a pricing with several items, as its name and its price"
|
|
72
|
+
},
|
|
73
|
+
{ name: i, pricing: m(o) }
|
|
74
|
+
) : m(o);
|
|
75
|
+
}).reduce(
|
|
76
|
+
(o, i) => a(
|
|
77
|
+
{
|
|
78
|
+
defaultMessage: "{list} · {item}",
|
|
79
|
+
id: "pricing_description.item_list",
|
|
80
|
+
description: "Joins the items of a pricing with several items into one line"
|
|
81
|
+
},
|
|
82
|
+
{ list: o, item: i }
|
|
83
|
+
)
|
|
84
|
+
) : a({
|
|
85
|
+
defaultMessage: "Unsupported pricing",
|
|
86
|
+
id: "pricing_item_pricing.unsupported_pricing_error",
|
|
87
|
+
description: "Text displayed when the pricing item pricing is unsupported"
|
|
88
|
+
});
|
|
89
|
+
} };
|
|
90
|
+
}
|
|
91
|
+
const z = { class: "p-1" }, J = { class: "pt-1" }, w = 3, K = 6, se = /* @__PURE__ */ O({
|
|
92
|
+
__name: "PricingGroupSingleEditor",
|
|
93
|
+
props: /* @__PURE__ */ T({
|
|
94
|
+
modelValue: { type: Array },
|
|
95
|
+
pricings: { type: Array },
|
|
96
|
+
billingPeriod: { type: Object },
|
|
97
|
+
currency: { type: String },
|
|
98
|
+
groupName: { type: String }
|
|
99
|
+
}, {
|
|
100
|
+
modelValue: {
|
|
101
|
+
required: !0
|
|
102
|
+
},
|
|
103
|
+
modelModifiers: {}
|
|
104
|
+
}),
|
|
105
|
+
emits: ["update:modelValue"],
|
|
106
|
+
setup(u) {
|
|
107
|
+
const s = u, a = x(u, "modelValue"), { describePricing: y } = q({
|
|
108
|
+
currency: M(s, "currency"),
|
|
109
|
+
billingPeriod: M(s, "billingPeriod")
|
|
110
|
+
}), { isMobileViewport: m } = H(), h = g(() => s.pricings.map((e) => e.id)), t = g({
|
|
111
|
+
get: () => a.value.find((e) => h.value.includes(e)) ?? void 0,
|
|
112
|
+
set: (e) => {
|
|
113
|
+
const r = a.value.filter((l) => !h.value.includes(l));
|
|
114
|
+
a.value = e ? [...r, e] : r;
|
|
115
|
+
}
|
|
116
|
+
}), n = g({
|
|
117
|
+
get: () => t.value,
|
|
118
|
+
set: (e) => {
|
|
119
|
+
t.value = typeof e == "string" ? e : void 0;
|
|
120
|
+
}
|
|
121
|
+
}), o = g({
|
|
122
|
+
get: () => t.value,
|
|
123
|
+
set: (e) => {
|
|
124
|
+
t.value = e ?? void 0;
|
|
125
|
+
}
|
|
126
|
+
}), i = g(() => s.pricings.map((e) => ({
|
|
127
|
+
label: F(e) ?? "",
|
|
128
|
+
value: e.id,
|
|
129
|
+
description: y(e)
|
|
130
|
+
}))), d = () => i.value.slice(0, w), c = () => i.value.map(({ value: e, label: r, description: l }) => ({
|
|
131
|
+
label: r,
|
|
132
|
+
subLabel: l,
|
|
133
|
+
value: e
|
|
134
|
+
}));
|
|
135
|
+
return (e, r) => (f(), _(p(U), { "no-spacing": "" }, {
|
|
136
|
+
default: b(() => [
|
|
137
|
+
v("div", z, [
|
|
138
|
+
P(j, null, {
|
|
139
|
+
title: b(() => [
|
|
140
|
+
N(I(u.groupName), 1)
|
|
141
|
+
]),
|
|
142
|
+
_: 1
|
|
143
|
+
}),
|
|
144
|
+
v("div", J, [
|
|
145
|
+
i.value.length <= w ? (f(), _(p(E), {
|
|
146
|
+
key: 0,
|
|
147
|
+
modelValue: n.value,
|
|
148
|
+
"onUpdate:modelValue": r[0] || (r[0] = (l) => n.value = l),
|
|
149
|
+
options: d(),
|
|
150
|
+
direction: p(m) ? "column" : "row",
|
|
151
|
+
"show-radio": !1
|
|
152
|
+
}, null, 8, ["modelValue", "options", "direction"])) : i.value.length <= K ? (f(), _(p(G), {
|
|
153
|
+
key: 1,
|
|
154
|
+
"single-model-value": o.value,
|
|
155
|
+
"onUpdate:singleModelValue": r[1] || (r[1] = (l) => o.value = l),
|
|
156
|
+
options: c(),
|
|
157
|
+
size: "xl",
|
|
158
|
+
"show-sub-label-in-input": ""
|
|
159
|
+
}, null, 8, ["single-model-value", "options"])) : (f(), _(p(A), {
|
|
160
|
+
key: 2,
|
|
161
|
+
modelValue: t.value,
|
|
162
|
+
"onUpdate:modelValue": r[2] || (r[2] = (l) => t.value = l),
|
|
163
|
+
options: i.value,
|
|
164
|
+
name: `pricing-group-range-input-${u.groupName}`
|
|
165
|
+
}, null, 8, ["modelValue", "options", "name"]))
|
|
166
|
+
])
|
|
167
|
+
])
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
}));
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
export {
|
|
174
|
+
se as _,
|
|
175
|
+
j as a,
|
|
176
|
+
q as u
|
|
177
|
+
};
|
package/dist/{RadioGroupExtended.vue.es-3nDXqIGi.mjs → RadioGroupExtended.vue.es-BbBMDf6l.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as S, computed as h, openBlock as s, createElementBlock as m, normalizeClass as f, createBlock as b, unref as r, createSlots as R, withCtx as t, createTextVNode as g, toDisplayString as y, renderSlot as o, createCommentVNode as n, createElementVNode as v, normalizeStyle as q, Fragment as p, renderList as D, withDirectives as E, mergeProps as N, isRef as K, vModelRadio as P, createVNode as x } from "vue";
|
|
2
|
-
import { u as T } from "./index.es-
|
|
3
|
-
import { u as z, _ as M } from "./Label.vue.es-
|
|
4
|
-
import { d as w } from "./customElements-
|
|
5
|
-
import { _ as F } from "./Alert.vue.es-
|
|
6
|
-
import { _ as G } from "./FormMessage.vue.es-
|
|
2
|
+
import { u as T } from "./index.es-BrVTOW5D.mjs";
|
|
3
|
+
import { u as z, _ as M } from "./Label.vue.es-es7ZUBSP.mjs";
|
|
4
|
+
import { d as w } from "./customElements-DK4GKNJG.mjs";
|
|
5
|
+
import { _ as F } from "./Alert.vue.es-ZPG49yR_.mjs";
|
|
6
|
+
import { _ as G } from "./FormMessage.vue.es-CwMQpIAW.mjs";
|
|
7
7
|
const I = ["disabled"], L = ["aria-label"], U = ["tabindex", "data-testid", "for", "aria-label", "onKeydown"], j = ["id", "disabled", "value", "name", "aria-checked", "aria-describedby"], A = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "mt-2 text-sm text-secondary"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as n, createElementBlock as r, createBlock as i, unref as c, withCtx as o, renderSlot as a, createCommentVNode as l, resolveDynamicComponent as m, createVNode as u, createSlots as f, createTextVNode as g, toDisplayString as h, createElementVNode as y, normalizeClass as B } from "vue";
|
|
2
|
-
import { d as k } from "./customElements-
|
|
2
|
+
import { d as k } from "./customElements-DK4GKNJG.mjs";
|
|
3
3
|
const $ = { class: "flex items-center gap-4" }, v = { key: 1 }, C = /* @__PURE__ */ s({
|
|
4
4
|
__name: "SectionTitle",
|
|
5
5
|
setup(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, computed as c, openBlock as r, createElementBlock as l, createElementVNode as i, createVNode as p, unref as v, withCtx as g, toDisplayString as d, createTextVNode as f, createCommentVNode as _ } from "vue";
|
|
2
|
-
import { a as V } from "./Button.vue.es-
|
|
3
|
-
import { a as w, d as M } from "./customElements-
|
|
2
|
+
import { a as V } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
3
|
+
import { a as w, d as M } from "./customElements-DK4GKNJG.mjs";
|
|
4
4
|
const x = '<svg xmlns="http://www.w3.org/2000/svg" width="40" height="15" fill="none" viewBox="0 0 40 15"><path fill="currentColor" d="M.049 2.917h5.845c.646 0 1.17.522 1.17 1.166v5.834H1.217c-.646 0-1.17-.522-1.17-1.167V5.833h2.924v2.334H4.14v-3.5H.049zm32.735 0v7h2.922v-5.25h1.17v5.25h2.922V4.083c0-.644-.523-1.166-1.169-1.166zm-16.367 9.916h5.845c.646 0 1.17-.522 1.17-1.166v-8.75h-2.924v5.25H19.34v-5.25h-2.922V8.75c0 .645.523 1.167 1.169 1.167h2.922v1.166h-4.091zm15.197-2.916H25.77c-.646 0-1.17-.522-1.17-1.167V2.917h5.846c.646 0 1.17.522 1.17 1.166V7h-2.923V4.667h-1.17v3.5h4.092zM15.248 0v9.917H9.402c-.646 0-1.17-.522-1.17-1.167V4.083c0-.644.524-1.166 1.17-1.166h1.754v5.25h1.169V0z"/></svg>', b = '<svg xmlns="http://www.w3.org/2000/svg" width="36" height="15" viewBox="0 0 36 15"><path d="M35.996 7.746c0-2.559-1.238-4.578-3.61-4.578-2.378 0-3.816 2.02-3.816 4.559 0 3.011 1.7 4.53 4.137 4.53 1.191 0 2.09-.269 2.77-.648v-2c-.68.34-1.457.547-2.45.547-.968 0-1.828-.34-1.937-1.52h4.887c0-.128.02-.648.02-.89m-4.937-.95c0-1.128.691-1.597 1.32-1.597.61 0 1.258.469 1.258 1.598ZM24.707 3.168c-.977 0-1.61.46-1.957.781l-.133-.62h-2.199v11.66l2.5-.532.012-2.828c.36.258.89.629 1.77.629 1.788 0 3.417-1.442 3.417-4.61-.008-2.898-1.66-4.48-3.41-4.48m-.598 6.89c-.59 0-.941-.21-1.18-.472l-.011-3.707c.262-.29.621-.492 1.191-.492.91 0 1.54 1.02 1.54 2.332 0 1.34-.622 2.34-1.54 2.34M16.98 2.578l2.508-.539V.008L16.98.539ZM16.98 3.34h2.508v8.746H16.98ZM14.29 4.078l-.161-.738h-2.16v8.746h2.5v-5.93c.59-.77 1.59-.629 1.898-.52V3.34c-.316-.121-1.488-.34-2.078.738M9.29 1.168l-2.438.52-.012 8.011c0 1.48 1.11 2.57 2.59 2.57.82 0 1.418-.152 1.75-.332v-2.03c-.32.132-1.899.59-1.899-.887V5.469h1.899v-2.13H9.28ZM2.531 5.879c0-.39.32-.54.848-.54a5.56 5.56 0 0 1 2.48.638V3.629a6.55 6.55 0 0 0-2.48-.461C1.352 3.168 0 4.227 0 6c0 2.758 3.8 2.316 3.8 3.508 0 .46-.402.61-.96.61-.828 0-1.89-.34-2.73-.802V11.7c.93.399 1.87.57 2.73.57 2.078 0 3.512-1.03 3.512-2.82-.012-2.98-3.82-2.453-3.82-3.57m0 0" style="stroke:none;fill-rule:evenodd;fill:currentColor;fill-opacity:1"/></svg>', H = { class: "flex justify-around" }, S = { class: "flex items-center gap-0.5" }, k = ["aria-label", "innerHTML"], N = /* @__PURE__ */ y({
|
|
5
5
|
__name: "SecurePaymentsKPI",
|
|
6
6
|
props: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as H, ref as f, computed as _, openBlock as v, createElementBlock as U, createBlock as D, unref as a, isRef as Z, createCommentVNode as V, createVNode as E, watch as J, createSlots as Q, withCtx as g, createElementVNode as B, createTextVNode as R, toDisplayString as F } from "vue";
|
|
2
|
-
import { _ as q } from "./Button.vue.es-
|
|
3
|
-
import { _ as X } from "./ErrorNotification.vue.es-
|
|
4
|
-
import { _ as Y } from "./Section.vue.es-
|
|
5
|
-
import { a as W, e as ee, d as se } from "./customElements-
|
|
6
|
-
import { M as ae } from "./Modal.vue.es-
|
|
7
|
-
import { t as te, u as ie, _ as oe, a as ne } from "./CustomerShippingAddresses-
|
|
2
|
+
import { _ as q } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
3
|
+
import { _ as X } from "./ErrorNotification.vue.es-F068p7PY.mjs";
|
|
4
|
+
import { _ as Y } from "./Section.vue.es-Oqn1wGPZ.mjs";
|
|
5
|
+
import { a as W, e as ee, d as se } from "./customElements-DK4GKNJG.mjs";
|
|
6
|
+
import { M as ae } from "./Modal.vue.es-eeR9FmvQ.mjs";
|
|
7
|
+
import { t as te, u as ie, _ as oe, a as ne } from "./CustomerShippingAddresses-BRPukhRI.mjs";
|
|
8
8
|
import { f as de, u as re, r as le, a as pe } from "./formControl-BZQLHnOO.mjs";
|
|
9
9
|
import { i as ue, a as ce } from "./typeGuards.es-B4XMtlkM.mjs";
|
|
10
10
|
import { g as me } from "./customer.es-DQKl6wFt.mjs";
|
|
11
|
-
import { g as ge, a as he, t as fe, _ as ve, i as _e } from "./useCustomerFormLabels-
|
|
12
|
-
import { u as ye, s as be, a as Le, r as Ee, _ as Ie } from "./CheckoutAddressFields.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { _ as Se } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { _ as Te } from "./CustomerWalletBalances.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { g as ge, a as he, t as fe, _ as ve, i as _e } from "./useCustomerFormLabels-D4oDnfxA.mjs";
|
|
12
|
+
import { u as ye, s as be, a as Le, r as Ee, _ as Ie } from "./CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs";
|
|
13
|
+
import { _ as Se } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs";
|
|
14
|
+
import { _ as Te } from "./CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs";
|
|
15
15
|
const Ce = ["disabled"], we = /* @__PURE__ */ H({
|
|
16
16
|
__name: "ShippingAddressForm",
|
|
17
17
|
props: {
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { defineComponent as T, createPropsRestProxy as P, computed as m, openBlock as f, createBlock as v, unref as K, mergeProps as U, withCtx as d, createTextVNode as E, toDisplayString as x, useModel as j, ref as F, onMounted as H, watch as L, createSlots as G, createVNode as p, normalizeClass as w, createElementVNode as V, withKeys as N, withModifiers as C, createCommentVNode as B, renderSlot as J, mergeModels as $ } from "vue";
|
|
2
|
+
import { _ as k } from "./IconButton.vue.es-D8DtBW9i.mjs";
|
|
3
|
+
import { _ as O } from "./Input.vue.es-BLyHcmu4.mjs";
|
|
4
|
+
import { d as R } from "./customElements-DK4GKNJG.mjs";
|
|
5
|
+
import { _ as Q } from "./Chip.vue.es-Dxx_0dte.mjs";
|
|
6
|
+
const W = /* @__PURE__ */ T({
|
|
7
|
+
__name: "DeltaChip",
|
|
8
|
+
props: {
|
|
9
|
+
oldValue: {},
|
|
10
|
+
newValue: {},
|
|
11
|
+
intent: { default: "neutral" },
|
|
12
|
+
color: {},
|
|
13
|
+
content: {},
|
|
14
|
+
removable: { type: Boolean },
|
|
15
|
+
size: {},
|
|
16
|
+
variant: {},
|
|
17
|
+
textClass: {},
|
|
18
|
+
tag: {},
|
|
19
|
+
hasChipBefore: { type: Boolean },
|
|
20
|
+
hasChipAfter: { type: Boolean }
|
|
21
|
+
},
|
|
22
|
+
setup(e) {
|
|
23
|
+
const b = P(e, ["oldValue", "newValue", "intent"]), n = m(() => {
|
|
24
|
+
const r = e.newValue - e.oldValue;
|
|
25
|
+
return `${r >= 0 ? "+" : ""}${r}`;
|
|
26
|
+
});
|
|
27
|
+
return (r, o) => (f(), v(K(Q), U(b, {
|
|
28
|
+
intent: e.intent,
|
|
29
|
+
class: "pointer-events-none select-none"
|
|
30
|
+
}), {
|
|
31
|
+
default: d(() => [
|
|
32
|
+
E(x(n.value), 1)
|
|
33
|
+
]),
|
|
34
|
+
_: 1
|
|
35
|
+
}, 16, ["intent"]));
|
|
36
|
+
}
|
|
37
|
+
}), X = { class: "flex items-center gap-1.5" }, te = /* @__PURE__ */ T({
|
|
38
|
+
__name: "StepInput",
|
|
39
|
+
props: /* @__PURE__ */ $({
|
|
40
|
+
step: { default: 1 },
|
|
41
|
+
min: { default: 0 },
|
|
42
|
+
removable: { type: Boolean, default: !1 },
|
|
43
|
+
max: {},
|
|
44
|
+
initialValue: { default: 1 },
|
|
45
|
+
unitName: {},
|
|
46
|
+
showDelta: { type: Boolean, default: !1 },
|
|
47
|
+
size: { default: "md" },
|
|
48
|
+
name: {},
|
|
49
|
+
required: { type: Boolean },
|
|
50
|
+
label: {},
|
|
51
|
+
error: {},
|
|
52
|
+
disabled: { type: Boolean, default: !1 }
|
|
53
|
+
}, {
|
|
54
|
+
modelValue: { required: !0 },
|
|
55
|
+
modelModifiers: {}
|
|
56
|
+
}),
|
|
57
|
+
emits: /* @__PURE__ */ $(["remove"], ["update:modelValue"]),
|
|
58
|
+
setup(e, { emit: b }) {
|
|
59
|
+
const n = e, r = b, o = j(e, "modelValue"), i = F(null), g = m(() => {
|
|
60
|
+
if (n.unitName)
|
|
61
|
+
return n.unitName[o.value === 1 ? "singular" : "plural"];
|
|
62
|
+
}), h = () => {
|
|
63
|
+
n.max && o.value + n.step > n.max || (o.value += n.step);
|
|
64
|
+
}, y = () => {
|
|
65
|
+
if (o.value - n.step < n.min) {
|
|
66
|
+
n.removable && r("remove");
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
o.value -= n.step;
|
|
70
|
+
}, D = () => {
|
|
71
|
+
o.value - n.step >= n.min && y();
|
|
72
|
+
};
|
|
73
|
+
function z(a) {
|
|
74
|
+
var t;
|
|
75
|
+
const l = (t = i.value) == null ? void 0 : t.el;
|
|
76
|
+
if (!l) return;
|
|
77
|
+
const u = parseInt(`${a}`);
|
|
78
|
+
o.value = u, l.innerText = `${u}`, l.focus();
|
|
79
|
+
const s = document.createRange();
|
|
80
|
+
s.selectNodeContents(l), s.collapse(!1);
|
|
81
|
+
const c = window.getSelection();
|
|
82
|
+
c == null || c.removeAllRanges(), c == null || c.addRange(s);
|
|
83
|
+
}
|
|
84
|
+
const M = (a) => {
|
|
85
|
+
const t = a.target;
|
|
86
|
+
t instanceof HTMLElement && !Number.isNaN(parseInt(t.innerText)) && z(t.innerText);
|
|
87
|
+
}, I = () => {
|
|
88
|
+
var a;
|
|
89
|
+
const t = (a = i.value) == null ? void 0 : a.el;
|
|
90
|
+
if (!t) return;
|
|
91
|
+
const l = parseInt(t.innerText);
|
|
92
|
+
(Number.isNaN(l) || l < n.min) && (o.value = n.min, t.innerText = `${n.min}`);
|
|
93
|
+
}, S = m(() => n.disabled ? !1 : n.max ? o.value + n.step < n.max : !0), A = m(() => n.disabled ? !1 : n.removable || o.value - n.step >= n.min);
|
|
94
|
+
function q(a) {
|
|
95
|
+
var t;
|
|
96
|
+
const l = (t = i.value) == null ? void 0 : t.el;
|
|
97
|
+
if (!l || l.getRootNode().activeElement === l) return;
|
|
98
|
+
a.preventDefault(), l.focus();
|
|
99
|
+
const u = document.createRange();
|
|
100
|
+
u.selectNodeContents(l);
|
|
101
|
+
const s = window.getSelection();
|
|
102
|
+
s == null || s.removeAllRanges(), s == null || s.addRange(u);
|
|
103
|
+
}
|
|
104
|
+
return H(() => {
|
|
105
|
+
var a;
|
|
106
|
+
const t = (a = i.value) == null ? void 0 : a.el;
|
|
107
|
+
t && (t.innerText = `${o.value}`);
|
|
108
|
+
}), L(
|
|
109
|
+
() => o.value,
|
|
110
|
+
(a) => {
|
|
111
|
+
var t, l;
|
|
112
|
+
((l = (t = i.value) == null ? void 0 : t.el) == null ? void 0 : l.innerText) !== `${a}` && z(a);
|
|
113
|
+
}
|
|
114
|
+
), (a, t) => (f(), v(O, {
|
|
115
|
+
modelValue: o.value,
|
|
116
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => o.value = l),
|
|
117
|
+
type: "number",
|
|
118
|
+
class: "text-transparent [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
|
|
119
|
+
"prefix-class": {
|
|
120
|
+
"!px-0 w-5": e.size === "sm",
|
|
121
|
+
"!px-0 w-6": e.size === "md",
|
|
122
|
+
"!px-0 w-7": e.size === "lg"
|
|
123
|
+
},
|
|
124
|
+
"suffix-class": {
|
|
125
|
+
"!px-0 w-5": e.size === "sm",
|
|
126
|
+
"!px-0 w-6": e.size === "md",
|
|
127
|
+
"!px-0 w-7": e.size === "lg"
|
|
128
|
+
},
|
|
129
|
+
size: e.size,
|
|
130
|
+
label: e.label,
|
|
131
|
+
disabled: e.disabled,
|
|
132
|
+
name: e.name,
|
|
133
|
+
required: e.required,
|
|
134
|
+
error: e.error
|
|
135
|
+
}, G({
|
|
136
|
+
prefix: d(() => [
|
|
137
|
+
V("div", {
|
|
138
|
+
class: "absolute inset-0 flex items-center justify-center",
|
|
139
|
+
onMousedown: q
|
|
140
|
+
}, [
|
|
141
|
+
V("div", X, [
|
|
142
|
+
p(R, {
|
|
143
|
+
ref_key: "contentEditableRef",
|
|
144
|
+
ref: i,
|
|
145
|
+
tag: "span",
|
|
146
|
+
variant: e.size === "sm" ? "body" : "body-lg",
|
|
147
|
+
contenteditable: !e.disabled,
|
|
148
|
+
class: w(["outline-none", { "pointer-events-none select-none": e.disabled }]),
|
|
149
|
+
weight: "semibold",
|
|
150
|
+
onInput: M,
|
|
151
|
+
onBlur: I,
|
|
152
|
+
onKeydown: [
|
|
153
|
+
N(C(h, ["prevent"]), ["up"]),
|
|
154
|
+
N(C(D, ["prevent"]), ["down"])
|
|
155
|
+
]
|
|
156
|
+
}, null, 8, ["variant", "contenteditable", "class", "onKeydown"]),
|
|
157
|
+
g.value ? (f(), v(R, {
|
|
158
|
+
key: 0,
|
|
159
|
+
tag: "span",
|
|
160
|
+
color: "subtle",
|
|
161
|
+
class: "pointer-events-none select-none"
|
|
162
|
+
}, {
|
|
163
|
+
default: d(() => [
|
|
164
|
+
E(x(" ") + x(g.value), 1)
|
|
165
|
+
]),
|
|
166
|
+
_: 1
|
|
167
|
+
})) : B("", !0),
|
|
168
|
+
e.showDelta ? (f(), v(W, {
|
|
169
|
+
key: 1,
|
|
170
|
+
"old-value": n.initialValue,
|
|
171
|
+
"new-value": o.value,
|
|
172
|
+
class: "pointer-events-none ml-0.5 select-none"
|
|
173
|
+
}, null, 8, ["old-value", "new-value"])) : B("", !0)
|
|
174
|
+
])
|
|
175
|
+
], 32),
|
|
176
|
+
p(k, {
|
|
177
|
+
disabled: !A.value,
|
|
178
|
+
type: "button",
|
|
179
|
+
intent: "subtle",
|
|
180
|
+
size: "sm",
|
|
181
|
+
class: w(["!h-full select-none rounded-br-none rounded-tr-none", { "!w-7": e.size === "lg", "!w-5": e.size === "sm", "!w-6": e.size === "md" }]),
|
|
182
|
+
icon: "remove",
|
|
183
|
+
"prevent-double-click": !1,
|
|
184
|
+
onClick: y
|
|
185
|
+
}, null, 8, ["disabled", "class"])
|
|
186
|
+
]),
|
|
187
|
+
suffix: d(() => [
|
|
188
|
+
p(k, {
|
|
189
|
+
disabled: !S.value,
|
|
190
|
+
type: "button",
|
|
191
|
+
intent: "subtle",
|
|
192
|
+
size: "sm",
|
|
193
|
+
class: w(["!h-full select-none rounded-bl-none rounded-tl-none", { "!w-7": e.size === "lg", "!w-5": e.size === "sm", "!w-6": e.size === "md" }]),
|
|
194
|
+
icon: "add",
|
|
195
|
+
"prevent-double-click": !1,
|
|
196
|
+
onClick: h
|
|
197
|
+
}, null, 8, ["disabled", "class"])
|
|
198
|
+
]),
|
|
199
|
+
_: 2
|
|
200
|
+
}, [
|
|
201
|
+
a.$slots.helper ? {
|
|
202
|
+
name: "helper",
|
|
203
|
+
fn: d(() => [
|
|
204
|
+
J(a.$slots, "helper")
|
|
205
|
+
]),
|
|
206
|
+
key: "0"
|
|
207
|
+
} : void 0
|
|
208
|
+
]), 1032, ["modelValue", "prefix-class", "suffix-class", "size", "label", "disabled", "name", "required", "error"]));
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
export {
|
|
212
|
+
te as _
|
|
213
|
+
};
|