vlite3 1.4.21 → 1.4.23

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 (37) hide show
  1. package/components/Cart/Cart.vue.js +53 -49
  2. package/components/Cart/CartCouponInput.vue.d.ts +1 -0
  3. package/components/Cart/CartCouponInput.vue.js +36 -33
  4. package/components/Cart/CartLineItem.vue.d.ts +1 -0
  5. package/components/Cart/CartLineItem.vue.js +121 -113
  6. package/components/Cart/CartSummary.vue.d.ts +1 -0
  7. package/components/Cart/CartSummary.vue.js +59 -51
  8. package/components/Cart/CartVariant1.vue.js +66 -63
  9. package/components/Cart/CartVariant2.vue.js +50 -47
  10. package/components/Cart/CartVariant3.vue.js +61 -58
  11. package/components/Cart/CartVariant4.vue.js +72 -68
  12. package/components/CategoryManager/CategoryManager.vue2.js +2 -2
  13. package/components/Dropdown/DropdownMenu.vue.js +1 -1
  14. package/components/Form/AccordionView.vue.js +80 -77
  15. package/components/Form/Form.vue.js +2 -2
  16. package/components/Form/Form.vue2.js +164 -162
  17. package/components/Form/FormField.vue.js +26 -28
  18. package/components/Form/FormFields.vue.js +2 -2
  19. package/components/Form/FormFields.vue2.js +21 -18
  20. package/components/Form/composables/useForm.js +150 -150
  21. package/components/Form/index.vue.js +1 -1
  22. package/components/Form/index.vue2.js +43 -39
  23. package/components/Input.vue.js +3 -3
  24. package/components/Price/Price.vue.js +2 -2
  25. package/components/RichTextEditor/RichTextEditor.vue.js +4 -4
  26. package/components/RichTextEditor/RichTextLinkPopover.vue3.js +2 -2
  27. package/components/RichTextEditor/RichTextToolbar.vue3.js +2 -2
  28. package/components/Screen/ScreenFilter.vue.js +2 -2
  29. package/components/Textarea.vue.js +14 -14
  30. package/index.js +389 -388
  31. package/package.json +1 -1
  32. package/style.css +1 -1
  33. package/utils/i18n.d.ts +10 -4
  34. package/utils/i18n.js +14 -3
  35. /package/components/Dropdown/{DropdownMenu.vue3.js → DropdownMenu.vue2.js} +0 -0
  36. /package/components/RichTextEditor/{RichTextLinkPopover.vue.js → RichTextLinkPopover.vue2.js} +0 -0
  37. /package/components/RichTextEditor/{RichTextToolbar.vue.js → RichTextToolbar.vue2.js} +0 -0
@@ -1,17 +1,17 @@
1
- import { defineComponent as B, computed as v, openBlock as a, createElementBlock as i, normalizeClass as o, createElementVNode as n, toDisplayString as d, createCommentVNode as s, createBlock as g, withCtx as y, createTextVNode as k, Fragment as $, renderList as V, createVNode as h } from "vue";
2
- import N from "../Icon.vue.js";
3
- import C from "../Button.vue.js";
4
- import D from "./CartLineItem.vue.js";
5
- import E from "./CartSummary.vue.js";
6
- import L from "./CartCouponInput.vue.js";
7
- import I from "./CartEmptyState.vue.js";
8
- const P = {
1
+ import { defineComponent as N, computed as d, openBlock as a, createElementBlock as u, normalizeClass as o, createElementVNode as n, toDisplayString as m, createCommentVNode as s, createBlock as g, withCtx as k, createTextVNode as h, Fragment as V, renderList as z, createVNode as C } from "vue";
2
+ import D from "../Icon.vue.js";
3
+ import w from "../Button.vue.js";
4
+ import E from "./CartLineItem.vue.js";
5
+ import L from "./CartSummary.vue.js";
6
+ import I from "./CartCouponInput.vue.js";
7
+ import P from "./CartEmptyState.vue.js";
8
+ const R = {
9
9
  key: 1,
10
10
  class: "rounded-lg border border-border overflow-hidden"
11
- }, R = { class: "divide-y divide-border" }, T = {
11
+ }, T = { class: "divide-y divide-border" }, j = {
12
12
  key: 0,
13
13
  class: "space-y-2 mt-4"
14
- }, j = { class: "font-medium text-foreground" }, J = /* @__PURE__ */ B({
14
+ }, A = { class: "font-medium text-foreground" }, K = /* @__PURE__ */ N({
15
15
  __name: "CartVariant3",
16
16
  props: {
17
17
  data: {},
@@ -23,11 +23,11 @@ const P = {
23
23
  containerClass: {}
24
24
  },
25
25
  emits: ["update:quantity", "remove", "clear", "apply-coupon", "remove-coupon", "coupon-change", "continue", "continue-shopping"],
26
- setup(e, { emit: z }) {
27
- const b = e, u = z, r = v(() => b.data), x = v(() => b.labels || {}), c = v(() => b.actions || {}), p = v(() => b.features || {}), m = v(() => r.value.empty || !r.value.items || r.value.items.length === 0), w = v(
28
- () => r.value.totals.itemCount ?? r.value.items?.reduce((S, t) => S + (t.quantity || 0), 0) ?? 0
29
- );
30
- return (S, t) => (a(), i("div", {
26
+ setup(e, { emit: q }) {
27
+ const b = e, i = q, c = d(() => b.data), y = d(() => b.labels || {}), r = d(() => b.actions || {}), p = d(() => b.features || {}), v = d(() => c.value.empty || !c.value.items || c.value.items.length === 0), S = d(
28
+ () => c.value.totals.itemCount ?? c.value.items?.reduce(($, t) => $ + (t.quantity || 0), 0) ?? 0
29
+ ), x = d(() => c.value.currency || c.value.totals.currency);
30
+ return ($, t) => (a(), u("div", {
31
31
  class: o(["v-cart v-cart-v3 w-full bg-background text-foreground", e.containerClass])
32
32
  }, [
33
33
  n("div", {
@@ -36,39 +36,39 @@ const P = {
36
36
  n("div", null, [
37
37
  n("h1", {
38
38
  class: o(["font-extrabold tracking-tight text-foreground", e.compact ? "text-xl" : "text-3xl"])
39
- }, d(r.value.title || x.value.cart || "Shopping Cart"), 3),
40
- m.value ? s("", !0) : (a(), i("p", {
39
+ }, m(c.value.title || y.value.cart || "Shopping Cart"), 3),
40
+ v.value ? s("", !0) : (a(), u("p", {
41
41
  key: 0,
42
42
  class: o(["text-muted-foreground mt-0.5", e.compact ? "text-xs" : "text-sm"])
43
- }, d(w.value) + " " + d(w.value === 1 ? "item" : "items") + " in your cart ", 3))
43
+ }, m(S.value) + " " + m(S.value === 1 ? "item" : "items") + " in your cart ", 3))
44
44
  ]),
45
- e.features.clearable && !m.value && !e.data.readonly ? (a(), g(C, {
45
+ e.features.clearable && !v.value && !e.data.readonly ? (a(), g(w, {
46
46
  key: 0,
47
47
  variant: "ghost",
48
48
  size: "sm",
49
49
  icon: "lucide:trash-2",
50
50
  class: "self-start",
51
- onClick: t[0] || (t[0] = (l) => u("clear"))
51
+ onClick: t[0] || (t[0] = (l) => i("clear"))
52
52
  }, {
53
- default: y(() => [
54
- k(d(x.value.clearCart || "Clear cart"), 1)
53
+ default: k(() => [
54
+ h(m(y.value.clearCart || "Clear cart"), 1)
55
55
  ]),
56
56
  _: 1
57
57
  })) : s("", !0)
58
58
  ], 2),
59
59
  n("div", {
60
60
  class: o(["grid gap-6", [
61
- m.value ? "grid-cols-1" : "grid-cols-1 lg:grid-cols-[1fr_360px] xl:grid-cols-[1fr_400px]",
61
+ v.value ? "grid-cols-1" : "grid-cols-1 lg:grid-cols-[1fr_360px] xl:grid-cols-[1fr_400px]",
62
62
  e.compact ? "gap-4" : "gap-6"
63
63
  ]])
64
64
  }, [
65
65
  n("div", null, [
66
- m.value ? (a(), g(I, {
66
+ v.value ? (a(), g(P, {
67
67
  key: 0,
68
68
  labels: e.labels,
69
69
  compact: e.compact,
70
- onContinueShopping: t[1] || (t[1] = (l) => u("continue-shopping"))
71
- }, null, 8, ["labels", "compact"])) : (a(), i("div", P, [
70
+ onContinueShopping: t[1] || (t[1] = (l) => i("continue-shopping"))
71
+ }, null, 8, ["labels", "compact"])) : (a(), u("div", R, [
72
72
  n("div", {
73
73
  class: o(["bg-muted/40 border-b border-border text-muted-foreground uppercase tracking-wider font-bold flex items-center", [e.compact ? "px-3 py-2 text-[10px]" : "px-4 py-2.5 text-xs"]])
74
74
  }, [
@@ -80,25 +80,26 @@ const P = {
80
80
  class: o(e.compact ? "w-20 text-right" : "w-28 text-right")
81
81
  }, "Total", 2)
82
82
  ], 2),
83
- n("ul", R, [
84
- (a(!0), i($, null, V(e.data.items, (l) => (a(), i("li", {
83
+ n("ul", T, [
84
+ (a(!0), u(V, null, z(e.data.items, (l) => (a(), u("li", {
85
85
  key: l.id
86
86
  }, [
87
- h(D, {
87
+ C(E, {
88
88
  item: l,
89
89
  features: e.features,
90
90
  labels: e.labels,
91
91
  compact: e.compact,
92
92
  readonly: e.data.readonly,
93
+ currency: x.value,
93
94
  layout: "card",
94
- "onUpdate:quantity": t[2] || (t[2] = (f, q) => u("update:quantity", f, q)),
95
- onRemove: t[3] || (t[3] = (f) => u("remove", f))
96
- }, null, 8, ["item", "features", "labels", "compact", "readonly"])
95
+ "onUpdate:quantity": t[2] || (t[2] = (f, B) => i("update:quantity", f, B)),
96
+ onRemove: t[3] || (t[3] = (f) => i("remove", f))
97
+ }, null, 8, ["item", "features", "labels", "compact", "readonly", "currency"])
97
98
  ]))), 128))
98
99
  ])
99
100
  ]))
100
101
  ]),
101
- m.value ? s("", !0) : (a(), i("aside", {
102
+ v.value ? s("", !0) : (a(), u("aside", {
102
103
  key: 0,
103
104
  class: o(["lg:sticky lg:top-4 self-start", e.compact ? "space-y-3" : "space-y-4"])
104
105
  }, [
@@ -111,75 +112,77 @@ const P = {
111
112
  n("div", {
112
113
  class: o(e.compact ? "space-y-3" : "space-y-4")
113
114
  }, [
114
- e.features.coupon ? (a(), g(L, {
115
+ e.features.coupon ? (a(), g(I, {
115
116
  key: 0,
116
117
  coupon: e.data.coupon,
117
118
  labels: e.labels,
118
119
  compact: e.compact,
119
120
  readonly: e.data.readonly,
120
- onApply: t[4] || (t[4] = (l) => u("apply-coupon", l)),
121
- onRemove: t[5] || (t[5] = (l) => u("remove-coupon")),
122
- onChange: t[6] || (t[6] = (l) => u("coupon-change", l))
123
- }, null, 8, ["coupon", "labels", "compact", "readonly"])) : s("", !0),
121
+ currency: x.value,
122
+ onApply: t[4] || (t[4] = (l) => i("apply-coupon", l)),
123
+ onRemove: t[5] || (t[5] = (l) => i("remove-coupon")),
124
+ onChange: t[6] || (t[6] = (l) => i("coupon-change", l))
125
+ }, null, 8, ["coupon", "labels", "compact", "readonly", "currency"])) : s("", !0),
124
126
  n("div", {
125
127
  class: o(["border-t border-border", e.compact ? "pt-2" : "pt-3"])
126
128
  }, [
127
- h(E, {
129
+ C(L, {
128
130
  totals: e.data.totals,
129
131
  features: e.features,
130
132
  labels: e.labels,
131
133
  compact: e.compact,
132
134
  coupon: e.data.coupon,
135
+ currency: x.value,
133
136
  variant: "Variant3"
134
- }, null, 8, ["totals", "features", "labels", "compact", "coupon"])
137
+ }, null, 8, ["totals", "features", "labels", "compact", "coupon", "currency"])
135
138
  ], 2)
136
139
  ], 2),
137
- c.value.showContinue && p.value.continue || c.value.showContinueShopping && p.value.continueShopping ? (a(), i("div", T, [
138
- c.value.showContinue && p.value.continue ? (a(), g(C, {
140
+ r.value.showContinue && p.value.continue || r.value.showContinueShopping && p.value.continueShopping ? (a(), u("div", j, [
141
+ r.value.showContinue && p.value.continue ? (a(), g(w, {
139
142
  key: 0,
140
143
  variant: "primary",
141
144
  size: e.compact ? "md" : "lg",
142
145
  block: !0,
143
- icon: c.value.continueIcon || "lucide:lock",
144
- disabled: c.value.continueDisabled || m.value,
146
+ icon: r.value.continueIcon || "lucide:lock",
147
+ disabled: r.value.continueDisabled || v.value,
145
148
  class: "w-full",
146
- onClick: t[7] || (t[7] = (l) => u("continue"))
149
+ onClick: t[7] || (t[7] = (l) => i("continue"))
147
150
  }, {
148
- default: y(() => [
149
- k(d(c.value.continueLabel || x.value.continue || "Proceed to checkout"), 1)
151
+ default: k(() => [
152
+ h(m(r.value.continueLabel || y.value.continue || "Proceed to checkout"), 1)
150
153
  ]),
151
154
  _: 1
152
155
  }, 8, ["size", "icon", "disabled"])) : s("", !0),
153
- c.value.showContinueShopping && p.value.continueShopping ? (a(), g(C, {
156
+ r.value.showContinueShopping && p.value.continueShopping ? (a(), g(w, {
154
157
  key: 1,
155
158
  variant: "ghost",
156
159
  size: e.compact ? "sm" : "md",
157
160
  block: !0,
158
- icon: c.value.continueShoppingIcon || "lucide:arrow-left",
159
- disabled: c.value.continueShoppingDisabled,
161
+ icon: r.value.continueShoppingIcon || "lucide:arrow-left",
162
+ disabled: r.value.continueShoppingDisabled,
160
163
  class: "w-full",
161
- onClick: t[8] || (t[8] = (l) => u("continue-shopping"))
164
+ onClick: t[8] || (t[8] = (l) => i("continue-shopping"))
162
165
  }, {
163
- default: y(() => [
164
- k(d(c.value.continueShoppingLabel || x.value.continueShopping || "Continue shopping"), 1)
166
+ default: k(() => [
167
+ h(m(r.value.continueShoppingLabel || y.value.continueShopping || "Continue shopping"), 1)
165
168
  ]),
166
169
  _: 1
167
170
  }, 8, ["size", "icon", "disabled"])) : s("", !0)
168
171
  ])) : s("", !0)
169
172
  ], 2),
170
- p.value.trustSignals && r.value.trustSignals?.length ? (a(), i("div", {
173
+ p.value.trustSignals && c.value.trustSignals?.length ? (a(), u("div", {
171
174
  key: 0,
172
175
  class: o(["rounded-lg border border-border bg-muted/30", e.compact ? "p-3 space-y-2" : "p-4 space-y-2.5"])
173
176
  }, [
174
- (a(!0), i($, null, V(r.value.trustSignals, (l, f) => (a(), i("div", {
177
+ (a(!0), u(V, null, z(c.value.trustSignals, (l, f) => (a(), u("div", {
175
178
  key: f,
176
179
  class: o(["flex items-center gap-2", e.compact ? "text-xs" : "text-sm"])
177
180
  }, [
178
- h(N, {
181
+ C(D, {
179
182
  icon: l.icon,
180
183
  class: "w-4 h-4 text-muted-foreground"
181
184
  }, null, 8, ["icon"]),
182
- n("span", j, d(l.text), 1)
185
+ n("span", A, m(l.text), 1)
183
186
  ], 2))), 128))
184
187
  ], 2)) : s("", !0)
185
188
  ], 2))
@@ -188,5 +191,5 @@ const P = {
188
191
  }
189
192
  });
190
193
  export {
191
- J as default
194
+ K as default
192
195
  };
@@ -1,21 +1,21 @@
1
- import { defineComponent as q, computed as c, openBlock as o, createElementBlock as i, normalizeClass as r, createElementVNode as m, createVNode as v, toDisplayString as b, createCommentVNode as u, unref as z, createBlock as y, Fragment as B, renderList as N, withCtx as k, createTextVNode as C } from "vue";
2
- import D from "../Icon.vue.js";
3
- import E from "../Price/Price.vue.js";
4
- import w from "../Button.vue.js";
5
- import L from "./CartLineItem.vue.js";
6
- import j from "./CartSummary.vue.js";
7
- import I from "./CartCouponInput.vue.js";
8
- import R from "./CartEmptyState.vue.js";
9
- const T = { class: "flex items-center gap-2 min-w-0" }, A = {
1
+ import { defineComponent as z, computed as i, openBlock as n, createElementBlock as c, normalizeClass as s, createElementVNode as m, createVNode as y, toDisplayString as b, createCommentVNode as r, unref as B, createBlock as g, Fragment as N, renderList as D, withCtx as C, createTextVNode as w } from "vue";
2
+ import E from "../Icon.vue.js";
3
+ import L from "../Price/Price.vue.js";
4
+ import $ from "../Button.vue.js";
5
+ import j from "./CartLineItem.vue.js";
6
+ import I from "./CartSummary.vue.js";
7
+ import R from "./CartCouponInput.vue.js";
8
+ import T from "./CartEmptyState.vue.js";
9
+ const A = { class: "flex items-center gap-2 min-w-0" }, F = {
10
10
  key: 0,
11
11
  class: "inline-flex items-center justify-center px-1.5 h-5 rounded-full bg-primary/10 text-primary text-[10px] font-bold tabular-nums"
12
- }, F = {
12
+ }, U = {
13
13
  key: 0,
14
14
  class: "text-xs text-muted-foreground"
15
- }, U = { class: "font-semibold text-foreground" }, G = { class: "flex-1 min-h-0 overflow-y-auto" }, H = {
15
+ }, G = { class: "font-semibold text-foreground" }, H = { class: "flex-1 min-h-0 overflow-y-auto" }, J = {
16
16
  key: 1,
17
17
  class: "space-y-1.5 pt-0.5"
18
- }, Y = /* @__PURE__ */ q({
18
+ }, Z = /* @__PURE__ */ z({
19
19
  __name: "CartVariant4",
20
20
  props: {
21
21
  data: {},
@@ -27,119 +27,123 @@ const T = { class: "flex items-center gap-2 min-w-0" }, A = {
27
27
  containerClass: {}
28
28
  },
29
29
  emits: ["update:quantity", "remove", "clear", "apply-coupon", "remove-coupon", "coupon-change", "continue", "continue-shopping"],
30
- setup(e, { emit: $ }) {
31
- const p = e, l = $, s = c(() => p.data), g = c(() => p.labels || {}), n = c(() => p.actions || {}), f = c(() => p.features || {}), d = c(() => s.value.empty || !s.value.items || s.value.items.length === 0), S = c(
32
- () => s.value.totals.itemCount ?? s.value.items?.reduce((h, t) => h + (t.quantity || 0), 0) ?? 0
33
- );
34
- return (h, t) => (o(), i("div", {
35
- class: r(["v-cart v-cart-v4 flex flex-col bg-background text-foreground border border-border rounded-lg overflow-hidden w-full h-full", [e.containerClass]])
30
+ setup(e, { emit: S }) {
31
+ const v = e, l = S, u = i(() => v.data), x = i(() => v.labels || {}), a = i(() => v.actions || {}), p = i(() => v.features || {}), d = i(() => u.value.empty || !u.value.items || u.value.items.length === 0), V = i(
32
+ () => u.value.totals.itemCount ?? u.value.items?.reduce((k, t) => k + (t.quantity || 0), 0) ?? 0
33
+ ), f = i(() => u.value.currency || u.value.totals.currency);
34
+ return (k, t) => (n(), c("div", {
35
+ class: s(["v-cart v-cart-v4 flex flex-col bg-background text-foreground border border-border rounded-lg overflow-hidden w-full h-full", [e.containerClass]])
36
36
  }, [
37
37
  m("div", {
38
- class: r(["flex items-center justify-between gap-2 border-b border-border shrink-0", e.compact ? "px-3 py-2" : "px-4 py-2.5"])
38
+ class: s(["flex items-center justify-between gap-2 border-b border-border shrink-0", e.compact ? "px-3 py-2" : "px-4 py-2.5"])
39
39
  }, [
40
- m("div", T, [
41
- v(D, {
40
+ m("div", A, [
41
+ y(E, {
42
42
  icon: "lucide:shopping-bag",
43
- class: r(e.compact ? "w-4 h-4" : "w-4.5 h-4.5")
43
+ class: s(e.compact ? "w-4 h-4" : "w-4.5 h-4.5")
44
44
  }, null, 8, ["class"]),
45
45
  m("p", {
46
- class: r(["font-bold text-foreground truncate", (e.compact, "text-sm")])
47
- }, b(s.value.title || g.value.cart || "Cart"), 3),
48
- d.value ? u("", !0) : (o(), i("span", A, b(S.value), 1))
46
+ class: s(["font-bold text-foreground truncate", (e.compact, "text-sm")])
47
+ }, b(u.value.title || x.value.cart || "Cart"), 3),
48
+ d.value ? r("", !0) : (n(), c("span", F, b(V.value), 1))
49
49
  ]),
50
- !d.value && !e.compact ? (o(), i("p", F, [
51
- m("span", U, [
52
- v(z(E), {
50
+ !d.value && !e.compact ? (n(), c("p", U, [
51
+ m("span", G, [
52
+ y(B(L), {
53
53
  value: e.data.totals.grandTotal,
54
+ currency: f.value,
54
55
  class: "text-foreground font-semibold"
55
- }, null, 8, ["value"])
56
+ }, null, 8, ["value", "currency"])
56
57
  ])
57
- ])) : u("", !0)
58
+ ])) : r("", !0)
58
59
  ], 2),
59
- m("div", G, [
60
- d.value ? (o(), y(R, {
60
+ m("div", H, [
61
+ d.value ? (n(), g(T, {
61
62
  key: 0,
62
63
  labels: e.labels,
63
64
  compact: !0,
64
- onContinueShopping: t[0] || (t[0] = (a) => l("continue-shopping"))
65
- }, null, 8, ["labels"])) : (o(), i("ul", {
65
+ onContinueShopping: t[0] || (t[0] = (o) => l("continue-shopping"))
66
+ }, null, 8, ["labels"])) : (n(), c("ul", {
66
67
  key: 1,
67
- class: r(["divide-y divide-border", e.compact ? "px-3" : "px-4"])
68
+ class: s(["divide-y divide-border", e.compact ? "px-3" : "px-4"])
68
69
  }, [
69
- (o(!0), i(B, null, N(e.data.items, (a) => (o(), i("li", {
70
- key: a.id
70
+ (n(!0), c(N, null, D(e.data.items, (o) => (n(), c("li", {
71
+ key: o.id
71
72
  }, [
72
- v(L, {
73
- item: a,
73
+ y(j, {
74
+ item: o,
74
75
  features: e.features,
75
76
  labels: e.labels,
76
77
  compact: e.compact,
77
78
  readonly: e.data.readonly,
79
+ currency: f.value,
78
80
  layout: "mini",
79
- "onUpdate:quantity": t[1] || (t[1] = (x, V) => l("update:quantity", x, V)),
80
- onRemove: t[2] || (t[2] = (x) => l("remove", x))
81
- }, null, 8, ["item", "features", "labels", "compact", "readonly"])
81
+ "onUpdate:quantity": t[1] || (t[1] = (h, q) => l("update:quantity", h, q)),
82
+ onRemove: t[2] || (t[2] = (h) => l("remove", h))
83
+ }, null, 8, ["item", "features", "labels", "compact", "readonly", "currency"])
82
84
  ]))), 128))
83
85
  ], 2))
84
86
  ]),
85
- d.value ? u("", !0) : (o(), i("div", {
87
+ d.value ? r("", !0) : (n(), c("div", {
86
88
  key: 0,
87
- class: r(["border-t border-border bg-muted/30 shrink-0", e.compact ? "p-3 space-y-2" : "p-4 space-y-3"])
89
+ class: s(["border-t border-border bg-muted/30 shrink-0", e.compact ? "p-3 space-y-2" : "p-4 space-y-3"])
88
90
  }, [
89
- v(j, {
91
+ y(I, {
90
92
  totals: e.data.totals,
91
93
  features: e.features,
92
94
  labels: e.labels,
93
95
  compact: e.compact,
94
96
  coupon: e.data.coupon,
97
+ currency: f.value,
95
98
  variant: "Variant4"
96
- }, null, 8, ["totals", "features", "labels", "compact", "coupon"]),
97
- e.features.coupon ? (o(), y(I, {
99
+ }, null, 8, ["totals", "features", "labels", "compact", "coupon", "currency"]),
100
+ e.features.coupon ? (n(), g(R, {
98
101
  key: 0,
99
102
  coupon: e.data.coupon,
100
103
  labels: e.labels,
101
104
  compact: e.compact,
102
105
  readonly: e.data.readonly,
103
- onApply: t[3] || (t[3] = (a) => l("apply-coupon", a)),
104
- onRemove: t[4] || (t[4] = (a) => l("remove-coupon")),
105
- onChange: t[5] || (t[5] = (a) => l("coupon-change", a))
106
- }, null, 8, ["coupon", "labels", "compact", "readonly"])) : u("", !0),
107
- n.value.showContinue && f.value.continue || n.value.showContinueShopping && f.value.continueShopping ? (o(), i("div", H, [
108
- n.value.showContinue && f.value.continue ? (o(), y(w, {
106
+ currency: f.value,
107
+ onApply: t[3] || (t[3] = (o) => l("apply-coupon", o)),
108
+ onRemove: t[4] || (t[4] = (o) => l("remove-coupon")),
109
+ onChange: t[5] || (t[5] = (o) => l("coupon-change", o))
110
+ }, null, 8, ["coupon", "labels", "compact", "readonly", "currency"])) : r("", !0),
111
+ a.value.showContinue && p.value.continue || a.value.showContinueShopping && p.value.continueShopping ? (n(), c("div", J, [
112
+ a.value.showContinue && p.value.continue ? (n(), g($, {
109
113
  key: 0,
110
114
  variant: "primary",
111
115
  size: e.compact ? "sm" : "md",
112
116
  block: !0,
113
- icon: n.value.continueIcon || "lucide:arrow-right",
114
- disabled: n.value.continueDisabled || d.value,
117
+ icon: a.value.continueIcon || "lucide:arrow-right",
118
+ disabled: a.value.continueDisabled || d.value,
115
119
  class: "w-full",
116
- onClick: t[6] || (t[6] = (a) => l("continue"))
120
+ onClick: t[6] || (t[6] = (o) => l("continue"))
117
121
  }, {
118
- default: k(() => [
119
- C(b(n.value.continueLabel || g.value.continue || "Checkout"), 1)
122
+ default: C(() => [
123
+ w(b(a.value.continueLabel || x.value.continue || "Checkout"), 1)
120
124
  ]),
121
125
  _: 1
122
- }, 8, ["size", "icon", "disabled"])) : u("", !0),
123
- n.value.showContinueShopping && f.value.continueShopping ? (o(), y(w, {
126
+ }, 8, ["size", "icon", "disabled"])) : r("", !0),
127
+ a.value.showContinueShopping && p.value.continueShopping ? (n(), g($, {
124
128
  key: 1,
125
129
  variant: "ghost",
126
130
  size: "sm",
127
131
  block: !0,
128
- icon: n.value.continueShoppingIcon || "lucide:arrow-left",
129
- disabled: n.value.continueShoppingDisabled,
132
+ icon: a.value.continueShoppingIcon || "lucide:arrow-left",
133
+ disabled: a.value.continueShoppingDisabled,
130
134
  class: "w-full",
131
- onClick: t[7] || (t[7] = (a) => l("continue-shopping"))
135
+ onClick: t[7] || (t[7] = (o) => l("continue-shopping"))
132
136
  }, {
133
- default: k(() => [
134
- C(b(n.value.continueShoppingLabel || g.value.continueShopping || "Continue shopping"), 1)
137
+ default: C(() => [
138
+ w(b(a.value.continueShoppingLabel || x.value.continueShopping || "Continue shopping"), 1)
135
139
  ]),
136
140
  _: 1
137
- }, 8, ["icon", "disabled"])) : u("", !0)
138
- ])) : u("", !0)
141
+ }, 8, ["icon", "disabled"])) : r("", !0)
142
+ ])) : r("", !0)
139
143
  ], 2))
140
144
  ], 2));
141
145
  }
142
146
  });
143
147
  export {
144
- Y as default
148
+ Z as default
145
149
  };
@@ -22,8 +22,8 @@ import qe from "../IconPicker.vue.js";
22
22
  /* empty css */
23
23
  /* empty css */
24
24
  /* empty css */
25
- /* empty css */
26
- /* empty css */
25
+ /* empty css */
26
+ /* empty css */
27
27
  import "../../core/config.js";
28
28
  /* empty css */
29
29
  /* empty css */
@@ -1,4 +1,4 @@
1
- import o from "./DropdownMenu.vue3.js";
1
+ import o from "./DropdownMenu.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-173c7a02"]]);