@feedmepos/mf-menu 0.31.40-beta.2 → 0.31.40-prod

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 (91) hide show
  1. package/dist/{App-CoKv0BFp.js → App-aWEH-ZEk.js} +9 -9
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-B14Q0hS_.js → ApplyProduct.vue_vue_type_script_setup_true_lang-jJyinQZl.js} +3 -3
  3. package/dist/{Catalog-BRovMtuI.js → Catalog-BoFfFdn8.js} +9 -8
  4. package/dist/{Category-DytZqgIt.js → Category-CWYbb3Jn.js} +4 -4
  5. package/dist/{Category-CT8-B4zh.js → Category-DZ45uikR.js} +6 -6
  6. package/dist/{CookingGuide-Ct5qRLG0.js → CookingGuide-BU0PRWIQ.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-D3R3TCba.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Z5xsKDIE.js} +1 -1
  8. package/dist/FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js +50 -0
  9. package/dist/{Group-Dk1yQTTt.js → Group-BMQDeqiS.js} +1 -1
  10. package/dist/{Group-G_H8i5_8.js → Group-C0T_uknK.js} +3 -3
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-CoTdB2d5.js → Group.vue_vue_type_script_setup_true_lang-DyfmY6F1.js} +8 -8
  12. package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D6qro5w_.js +367 -0
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BKx7uQtR.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Dl-Wvt3D.js} +14 -13
  14. package/dist/{Ingredient-ChynYQq6.js → Ingredient-3lwDUQx_.js} +3 -3
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DyaUxnMx.js → InventoryBinding.vue_vue_type_script_setup_true_lang-VLrrTkSC.js} +2 -2
  16. package/dist/LinkProductSideSheet-LDZjKX95.js +297 -0
  17. package/dist/{app-CiBqmBzO.js → LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js} +2084 -2120
  18. package/dist/MenuSetting-AhutsCVy.js +185 -0
  19. package/dist/{PrintRoute-DwAZHUrQ.js → PrintRoute-DfJ-vUAb.js} +4 -4
  20. package/dist/{Product-Bx2NPQvC.js → Product-F4PoLm9v.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-od_O6x7E.js → Product.vue_vue_type_script_setup_true_lang-DT5gffpA.js} +465 -468
  22. package/dist/{ProductInternalTools-BOguHh06.js → ProductInternalTools-DSGU-OqU.js} +6 -6
  23. package/dist/{Products-DA2hOsxr.js → Products-COzW2Z4g.js} +85 -88
  24. package/dist/{Publish-WATQWkjh.js → Publish-CDXVWCk2.js} +3 -3
  25. package/dist/{Recipe-WPwGgur3.js → Recipe-BZx4wrcP.js} +4 -4
  26. package/dist/{Scheduler-Djjggrh2.js → Scheduler-wHCWSeU2.js} +3 -3
  27. package/dist/{ServingSequence-CryZJTWA.js → ServingSequence-BbYEhDYh.js} +3 -3
  28. package/dist/{Setting-BtLsmoqY.js → Setting-C9Tlw1Iy.js} +45 -44
  29. package/dist/{Subcategory-BvlYDquD.js → Subcategory-C8AwfrKb.js} +4 -4
  30. package/dist/{Takeaway-8khxlcKQ.js → Takeaway-DaEUn-yM.js} +4 -4
  31. package/dist/{Takeaway-BBvFxAlx.js → Takeaway-t1053wg2.js} +1 -1
  32. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-B8blN-yJ.js → Takeaway.vue_vue_type_script_setup_true_lang-7XycP5fU.js} +5 -5
  33. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CA9RlNkt.js → Thumbnail.vue_vue_type_script_setup_true_lang-B7oLH9cP.js} +95 -97
  34. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ci6iqOry.js +5998 -0
  35. package/dist/{Unit-Diu00sM2.js → Unit-CnqptGCz.js} +2 -2
  36. package/dist/{Variant-CO15W0wb.js → Variant-DiOYOwJs.js} +3 -3
  37. package/dist/{_id_-CxA_FzSG.js → _id_-BSfU16VO.js} +75 -78
  38. package/dist/{app-Blbof2Ga.js → app-Cou6qPF2.js} +1 -1
  39. package/dist/{app-5ESai6-B.js → app-Ddb81PNo.js} +278 -278
  40. package/dist/app.js +1 -1
  41. package/dist/apps/mf-menu/src/api/menu.d.ts +1 -2
  42. package/dist/apps/mf-menu/src/app.d.ts +0 -144
  43. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierRuleEditor.vue.d.ts +0 -36
  44. package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +3 -9
  45. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +9 -2
  46. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +4 -294
  47. package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +0 -40
  48. package/dist/apps/mf-menu/src/helper/import-export.d.ts +0 -285
  49. package/dist/apps/mf-menu/src/helper/menu.d.ts +0 -285
  50. package/dist/apps/mf-menu/src/manager/menu/item.d.ts +0 -285
  51. package/dist/apps/mf-menu/src/stores/menu.d.ts +3 -293
  52. package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +0 -166
  53. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  54. package/dist/assets/linked-status-B_crHhZH.js +24 -0
  55. package/dist/assets/override-menu-BmlCEpHH.js +24 -0
  56. package/dist/assets/validate-menu-CF-psoB-.js +24 -0
  57. package/dist/{catalog-CXjEQ80k.js → catalog-DSuJhsUb.js} +1 -1
  58. package/dist/{catalogSetting-aJSUDY_z.js → catalogSetting-C3gEw9ov.js} +1 -1
  59. package/dist/{category-TqQULuHq.js → category-CwWq3KCE.js} +1 -1
  60. package/dist/{currency-CRjh8ne7.js → currency-g45Sh-t6.js} +1 -1
  61. package/dist/{dayjs.min-MBmYgyRY.js → dayjs.min-g3eN5z-V.js} +1 -1
  62. package/dist/index-0Q5T9VZV.js +214 -0
  63. package/dist/{index-dkHuztwB.js → index-0yRUi7LL.js} +1 -1
  64. package/dist/{index-CzjFGFvP.js → index-BLQCYEc6.js} +8 -7
  65. package/dist/{index-B1NS2hBa.js → index-QsLFbxyG.js} +4 -4
  66. package/dist/{item-Dj14On9a.js → item-BvvQ9urP.js} +386 -386
  67. package/dist/{jszip.min-Be1afVon.js → jszip.min-DzdUiaR4.js} +353 -353
  68. package/dist/{menu-C0Xu-iTb.js → menu-DFNvhoNQ.js} +31149 -31298
  69. package/dist/{menu-kRDoPBjm.js → menu-QrVg2Ph7.js} +7 -7
  70. package/dist/{menuV2-D6Gmxd9X.js → menuV2-Ezf_jW40.js} +137 -142
  71. package/dist/mf-menu.css +1 -1
  72. package/dist/{priceTier-CJlFGOpm.js → priceTier-zENsn3P_.js} +1 -1
  73. package/dist/{scheduler-B11d6fJr.js → scheduler-BuwGSv6A.js} +8 -8
  74. package/dist/{subcategory-D6hTbHP-.js → subcategory-O3L_zCJA.js} +2 -2
  75. package/dist/{toExcel-BedErXvS.js → toExcel-CpRy_4nG.js} +2 -2
  76. package/dist/{unit-D5jDzsM2.js → unit-Ct_7Hfa2.js} +41 -42
  77. package/package.json +3 -3
  78. package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B_Yv8Thl.js +0 -399
  79. package/dist/LinkProductSideSheet-DsoPo7Q_.js +0 -361
  80. package/dist/MenuSetting-CDSc-56P.js +0 -618
  81. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-LVWB5CIa.js +0 -5994
  82. package/dist/apps/mf-menu/src/composable/attributes.d.ts +0 -26
  83. package/dist/apps/mf-menu/src/utils/array.d.ts +0 -1
  84. package/dist/apps/mf-menu/src/utils/customAttributes.d.ts +0 -12
  85. package/dist/apps/mf-menu/src/views/MenuSetting/LinkProductRuleGroups.vue.d.ts +0 -2
  86. package/dist/apps/mf-menu/src/views/MenuSetting/RuleGroupSideSheet.vue.d.ts +0 -176
  87. package/dist/assets/linked-status-x1efKEih.js +0 -13
  88. package/dist/assets/override-menu-D8d9BWzy.js +0 -13
  89. package/dist/assets/validate-menu-DUJ20GHx.js +0 -13
  90. package/dist/customAttributes-32VmzFKZ.js +0 -177
  91. package/dist/index-FzHOAFSW.js +0 -246
@@ -1,361 +0,0 @@
1
- import { defineComponent as fe, ref as g, computed as A, watch as ve, resolveComponent as I, createElementBlock as S, openBlock as v, Fragment as M, renderSlot as _e, createVNode as u, unref as l, withCtx as p, createBlock as T, createCommentVNode as z, createElementVNode as _, toDisplayString as Y, renderList as Re } from "vue";
2
- import { H as F, Q as ye, u as q, A as Ae, I as J } from "./menu-C0Xu-iTb.js";
3
- import { b as U } from "./app-CiBqmBzO.js";
4
- import { useI18n as ke, useCustomAttributes as K, useCoreStore as Ce, ItemSelector as he, EMPTY_RULE as B, isEmptyRule as W } from "@feedmepos/mf-common";
5
- import { components as Ve, FmButtonVariant as X } from "@feedmepos/ui-library";
6
- import { c as ge, u as Ie, a as h, m as O, f as E } from "./customAttributes-32VmzFKZ.js";
7
- import { u as Se } from "./discardConfirm-BHni0LNu.js";
8
- import { u as we } from "./menuV2-D6Gmxd9X.js";
9
- import { c as Fe } from "./check-C9mY6LiX.js";
10
- /* empty css */
11
- const Ue = (c, N) => {
12
- const s = c.__vccOpts || c;
13
- for (const [w, i] of N)
14
- s[w] = i;
15
- return s;
16
- };
17
- var d = /* @__PURE__ */ ((c) => (c[c.Normal = 0] = "Normal", c[c.Rules = 1] = "Rules", c))(d || {});
18
- const Be = { class: "fm-typo-en-title-md-600 mr-auto" }, Oe = {
19
- key: 1,
20
- class: "flex items-center gap-12"
21
- }, Ee = { class: "flex items-center gap-8" }, Ne = { class: "text-neutral-600 fm-typo-body-sm" }, Le = { class: "grid md:grid-cols-3 gap-16" }, Me = { class: "md:col-span-2 space-y-16" }, Te = { class: "flex justify-end" }, ze = { class: "flex gap-8 items-center justify-start" }, De = /* @__PURE__ */ fe({
22
- __name: "LinkProductSideSheet",
23
- props: {
24
- initialValue: { default: () => [] },
25
- linkItemRules: {},
26
- menuItems: {},
27
- categories: {},
28
- noScheduler: { type: Boolean },
29
- isLocalOnly: { type: Boolean, default: !1 },
30
- categorizedItems: { default: () => [] },
31
- selectVariant: { type: Boolean, default: !1 },
32
- showVariant: { type: Boolean, default: !1 },
33
- showAddon: { type: Boolean, default: !0 },
34
- title: { default: void 0 },
35
- useCloseBtn: { type: Boolean }
36
- },
37
- emits: ["submit"],
38
- setup(c, { emit: N }) {
39
- const s = c, w = N, { t: i } = ke(), k = g(d.Normal);
40
- function Z(e) {
41
- k.value = e;
42
- }
43
- const b = g(!1), D = (e) => {
44
- Fe.isBoolean(e) ? b.value = e : b.value = !b.value;
45
- };
46
- function L(e) {
47
- return e.reduce((t, a) => (t[a._id] = [...t[a._id] ?? [], a], t), {});
48
- }
49
- const ee = s.initialValue, V = g(L(F(ee))), Q = A(() => Object.values(V.value).flatMap((e) => e)), { itemAttributes: te, convertCategoryIdToName: le, convertCategoryNameToId: ae } = ge({
50
- menuItems: A(() => s.menuItems || []),
51
- categories: A(() => s.categories || [])
52
- }), j = g(
53
- F(s.linkItemRules)
54
- ), r = g();
55
- function x() {
56
- var e;
57
- return (e = j.value) == null ? void 0 : e.map((t) => {
58
- var a, n, f, R;
59
- return {
60
- ...t,
61
- restaurantRule: {
62
- restaurantAttributes: O((a = t.restaurantRule) == null ? void 0 : a.restaurantAttributes),
63
- restaurantCustomAttributes: O((n = t.restaurantRule) == null ? void 0 : n.restaurantCustomAttributes)
64
- },
65
- itemRule: {
66
- itemAttributes: le(O((f = t.itemRule) == null ? void 0 : f.itemAttributes)),
67
- itemCustomAttributes: O((R = t.itemRule) == null ? void 0 : R.itemCustomAttributes)
68
- }
69
- };
70
- });
71
- }
72
- r.value = x();
73
- function G() {
74
- var e;
75
- return (e = r.value) == null ? void 0 : e.map((t) => {
76
- var a, n, f, R;
77
- return {
78
- ...t,
79
- restaurantRule: {
80
- restaurantAttributes: E((a = t.restaurantRule) == null ? void 0 : a.restaurantAttributes),
81
- restaurantCustomAttributes: E((n = t.restaurantRule) == null ? void 0 : n.restaurantCustomAttributes)
82
- },
83
- itemRule: {
84
- itemAttributes: E(ae((f = t.itemRule) == null ? void 0 : f.itemAttributes)),
85
- itemCustomAttributes: E((R = t.itemRule) == null ? void 0 : R.itemCustomAttributes)
86
- }
87
- };
88
- });
89
- }
90
- const ue = Se(
91
- () => {
92
- const e = G();
93
- return !J.isEqual(L(s.initialValue), V.value) || !J.isEqual(s.linkItemRules, e);
94
- },
95
- () => {
96
- b.value = !1;
97
- }
98
- );
99
- function se() {
100
- k.value === d.Rules ? w("submit", {
101
- mode: d.Rules,
102
- linkItemRules: G() ?? []
103
- }) : w("submit", {
104
- mode: d.Normal,
105
- items: Q.value
106
- }), b.value = !1;
107
- }
108
- ve(
109
- () => b.value,
110
- () => {
111
- V.value = L(F(s.initialValue)), j.value = F(s.linkItemRules), r.value = x(), k.value = s.noScheduler && s.linkItemRules && s.linkItemRules.length > 0 ? d.Rules : d.Normal;
112
- }
113
- );
114
- const oe = A(() => {
115
- const e = ye();
116
- return Object.values(e).sort((t, a) => a.sortingIndex - t.sortingIndex).map((t) => ({ label: t.label, value: t.value }));
117
- }), re = A(
118
- () => {
119
- var e;
120
- return (((e = q().state.menu.ruleGroupSettings) == null ? void 0 : e.groups) || []).map((t) => ({
121
- label: t.name,
122
- value: t._id
123
- }));
124
- }
125
- ), { attributes: ne } = K({
126
- valueSource: Ce().restaurants,
127
- entity: "restaurant"
128
- }), { restaurantAttributes: ie } = Ie(), me = A(() => s.menuItems || []), { attributes: de } = K({
129
- valueSource: me,
130
- entity: "item"
131
- });
132
- function ce() {
133
- const e = [
134
- ...r.value || [],
135
- {
136
- orderFrom: Ae.F_ORDER_FROM.enum.ALL,
137
- restaurantRule: {
138
- restaurantAttributes: null,
139
- restaurantCustomAttributes: null
140
- },
141
- itemRule: {
142
- itemAttributes: null,
143
- itemCustomAttributes: null
144
- }
145
- }
146
- ];
147
- r.value = e;
148
- }
149
- function pe(e) {
150
- if (!r.value) return;
151
- const t = [...r.value];
152
- t.splice(e, 1), r.value = t.length ? t : [];
153
- }
154
- function $(e, t, a) {
155
- if (!r.value) return;
156
- const n = [...r.value];
157
- W(t) ? n[e].restaurantRule[a] = null : n[e].restaurantRule[a] = t, r.value = n;
158
- }
159
- function P(e, t, a) {
160
- if (!r.value) return;
161
- const n = [...r.value];
162
- W(t) ? n[e].itemRule[a] = null : n[e].itemRule[a] = t, r.value = n;
163
- }
164
- const H = A(() => {
165
- const e = s.isLocalOnly ? we() : q();
166
- return s.noScheduler && e.currentCatalog;
167
- });
168
- return (e, t) => {
169
- const a = I("fm-button"), n = I("fm-switch"), f = I("FmSelect"), R = I("FmCard"), be = I("fm-side-sheet");
170
- return v(), S(M, null, [
171
- _e(e.$slots, "default", { trigger: D }, void 0, !0),
172
- u(be, {
173
- id: "group-form",
174
- modelValue: b.value,
175
- "onUpdate:modelValue": t[3] || (t[3] = (m) => b.value = m),
176
- "close-button": e.useCloseBtn,
177
- "is-container": l(Ve).FmForm,
178
- "is-container-props": {
179
- onValidationSuccess: se,
180
- blameFormChildOnValidationFailed: !0
181
- },
182
- "max-width": 760,
183
- "onOn:clickedAway": l(ue)
184
- }, {
185
- "side-sheet-header": p(() => [
186
- e.useCloseBtn ? z("", !0) : (v(), T(a, {
187
- key: 0,
188
- variant: l(X).Tertiary,
189
- class: "cursor-pointer mr-4",
190
- "prepend-icon": "arrow_back",
191
- onClick: D
192
- }, null, 8, ["variant"])),
193
- _("p", Be, Y(e.title || l(i)("menu.link_product.title")), 1),
194
- H.value ? (v(), S("div", Oe, [
195
- _("div", Ee, [
196
- u(n, {
197
- label: l(i)("menu.link_product.rules.section_title"),
198
- "model-value": k.value === l(d).Rules,
199
- "onUpdate:modelValue": t[0] || (t[0] = (m) => Z(m ? l(d).Rules : l(d).Normal))
200
- }, null, 8, ["label", "model-value"])
201
- ])
202
- ])) : z("", !0)
203
- ]),
204
- "side-sheet-footer": p(() => [
205
- _("div", ze, [
206
- u(a, {
207
- label: l(i)("menu.common.actions.confirm"),
208
- size: "lg",
209
- type: "submit",
210
- variant: "primary"
211
- }, null, 8, ["label"]),
212
- u(a, {
213
- label: l(i)("menu.common.actions.cancel"),
214
- size: "lg",
215
- variant: "tertiary",
216
- onClick: t[2] || (t[2] = () => b.value = !1)
217
- }, null, 8, ["label"])
218
- ])
219
- ]),
220
- default: p(() => [
221
- (v(), S("div", {
222
- class: "py-8 px-8 overflow-y-auto space-y-24",
223
- key: k.value
224
- }, [
225
- k.value === l(d).Normal ? (v(), T(l(he), {
226
- key: 0,
227
- "auto-focus-search": !0,
228
- "categorized-items": e.categorizedItems,
229
- data: V.value,
230
- "select-variant": e.selectVariant,
231
- "selected-items": Q.value,
232
- "show-variant": e.showVariant,
233
- "show-addon": e.showAddon,
234
- "onUpdate:data": t[1] || (t[1] = (m) => V.value = m)
235
- }, null, 8, ["categorized-items", "data", "select-variant", "selected-items", "show-variant", "show-addon"])) : H.value ? (v(), S(M, { key: 1 }, [
236
- _("p", Ne, Y(l(i)("menu.link_product.rules.hint")), 1),
237
- (v(!0), S(M, null, Re(r.value, (m, C) => (v(), T(R, {
238
- key: C,
239
- class: "p-16 space-y-16",
240
- variant: "outlined"
241
- }, {
242
- default: p(() => [
243
- _("div", Le, [
244
- u(h, {
245
- label: l(i)("menu.link_product.rules.order_from")
246
- }, {
247
- default: p(() => [
248
- u(f, {
249
- items: oe.value,
250
- modelValue: m.orderFrom,
251
- "onUpdate:modelValue": (o) => m.orderFrom = o
252
- }, null, 8, ["items", "modelValue", "onUpdate:modelValue"])
253
- ]),
254
- _: 2
255
- }, 1032, ["label"]),
256
- u(h, {
257
- label: l(i)("menu.rule_groups.title")
258
- }, {
259
- default: p(() => [
260
- u(f, {
261
- items: re.value,
262
- multiselect: "",
263
- "model-value": m.ruleGroupIds || [],
264
- "onUpdate:modelValue": (o) => m.ruleGroupIds = o
265
- }, null, 8, ["items", "model-value", "onUpdate:modelValue"])
266
- ]),
267
- _: 2
268
- }, 1032, ["label"]),
269
- _("div", Me, [
270
- u(h, {
271
- label: l(i)("menu.link_product.rules.restaurant_filter")
272
- }, {
273
- default: p(() => {
274
- var o;
275
- return [
276
- u(l(U), {
277
- attributes: l(ie),
278
- "model-value": ((o = m.restaurantRule) == null ? void 0 : o.restaurantAttributes) || l(B),
279
- "onUpdate:modelValue": (y) => $(C, y, "restaurantAttributes")
280
- }, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])
281
- ];
282
- }),
283
- _: 2
284
- }, 1032, ["label"]),
285
- u(h, {
286
- label: l(i)("menu.link_product.rules.restaurant_custom_attributes_filter")
287
- }, {
288
- default: p(() => {
289
- var o;
290
- return [
291
- u(l(U), {
292
- attributes: l(ne),
293
- "model-value": ((o = m.restaurantRule) == null ? void 0 : o.restaurantCustomAttributes) || l(B),
294
- "onUpdate:modelValue": (y) => $(C, y, "restaurantCustomAttributes")
295
- }, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])
296
- ];
297
- }),
298
- _: 2
299
- }, 1032, ["label"]),
300
- u(h, {
301
- label: l(i)("menu.link_product.rules.item_filter")
302
- }, {
303
- default: p(() => {
304
- var o;
305
- return [
306
- u(l(U), {
307
- attributes: l(te),
308
- "model-value": ((o = m.itemRule) == null ? void 0 : o.itemAttributes) || l(B),
309
- "onUpdate:modelValue": (y) => P(C, y, "itemAttributes")
310
- }, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])
311
- ];
312
- }),
313
- _: 2
314
- }, 1032, ["label"]),
315
- u(h, {
316
- label: l(i)("menu.link_product.rules.item_custom_attributes_filter")
317
- }, {
318
- default: p(() => {
319
- var o;
320
- return [
321
- u(l(U), {
322
- attributes: l(de),
323
- "model-value": ((o = m.itemRule) == null ? void 0 : o.itemCustomAttributes) || l(B),
324
- "onUpdate:modelValue": (y) => P(C, y, "itemCustomAttributes")
325
- }, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])
326
- ];
327
- }),
328
- _: 2
329
- }, 1032, ["label"])
330
- ])
331
- ]),
332
- _("div", Te, [
333
- u(a, {
334
- variant: l(X).Tertiary,
335
- "prepend-icon": "delete",
336
- onClick: (o) => pe(C)
337
- }, null, 8, ["variant", "onClick"])
338
- ])
339
- ]),
340
- _: 2
341
- }, 1024))), 128)),
342
- _("div", null, [
343
- u(a, {
344
- label: l(i)("menu.link_product.rules.add_rule"),
345
- onClick: ce
346
- }, null, 8, ["label"])
347
- ])
348
- ], 64)) : z("", !0)
349
- ]))
350
- ]),
351
- _: 1
352
- }, 8, ["modelValue", "close-button", "is-container", "is-container-props", "onOn:clickedAway"])
353
- ], 64);
354
- };
355
- }
356
- }), Ke = /* @__PURE__ */ Ue(De, [["__scopeId", "data-v-e233e211"]]);
357
- export {
358
- Ke as L,
359
- Ue as _,
360
- d as a
361
- };