@feedmepos/mf-menu 0.32.25 → 0.32.26
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/dist/{App-BhInUoKN.js → App-Dp-8zehp.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-xgohdhi_.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DI0VxiW7.js} +3 -3
- package/dist/{Catalog-BMuCjiGt.js → Catalog-Cw_Xojik.js} +6 -6
- package/dist/{Category-DIy0UEip.js → Category-BJYthYB7.js} +4 -4
- package/dist/{Category-CyEmotFt.js → Category-BxB0eGxV.js} +6 -6
- package/dist/CookingGuide-1neng9qE.js +897 -0
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CZGtvZOY.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Q8oLyKmJ.js} +1 -1
- package/dist/{Group-DAxmY3Ck.js → Group-CkPe5Fqu.js} +3 -3
- package/dist/{Group-zLEjb0xH.js → Group-DAiBEinY.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-un8R3wn5.js → Group.vue_vue_type_script_setup_true_lang-BVFm-JBn.js} +8 -8
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DnQrVAcp.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-C-DaPzxN.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-V9S39Mvy.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DkePKepB.js} +6 -6
- package/dist/{Ingredient-IHyWyllE.js → Ingredient-x5wwjW2A.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CUOspYLG.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DVjswfLr.js} +2 -2
- package/dist/{LinkProductSideSheet-Ly9aSaWk.js → LinkProductSideSheet-BN4HFmpb.js} +3 -3
- package/dist/{MenuSetting-DiNAKj-a.js → MenuSetting-DpbWOZlY.js} +5 -5
- package/dist/PrintRoute-CYdsK7wJ.js +421 -0
- package/dist/{Product-BDyKBbJY.js → Product-DDFtWG20.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-B11gackF.js → Product.vue_vue_type_script_setup_true_lang-DJoH3J_y.js} +12 -12
- package/dist/{ProductInternalTools-BtOQNqCq.js → ProductInternalTools-zW68cRSr.js} +5 -5
- package/dist/{Products-CwuSlhEt.js → Products-BNgojmA7.js} +34 -34
- package/dist/{Publish-B7ckvgqb.js → Publish-CDJzoFZz.js} +3 -3
- package/dist/{Recipe-KY-xA5wY.js → Recipe-DsCPORMf.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CJpwxk9I.js → RuleView.vue_vue_type_script_setup_true_lang-CV-v29gB.js} +2 -2
- package/dist/{Scheduler-RZWHKI0g.js → Scheduler-BYqDX5Af.js} +46 -48
- package/dist/{ServingSequence-CmsfRT5D.js → ServingSequence-CjZ_HTfv.js} +3 -3
- package/dist/{Setting-OYGSEZus.js → Setting-GCi9K1A8.js} +5 -5
- package/dist/{Subcategory-NU9fdC5-.js → Subcategory-BjYJ5Ggj.js} +4 -4
- package/dist/{Takeaway-ZNuKwOhN.js → Takeaway-C3yVXeEm.js} +1 -1
- package/dist/{Takeaway-DjM7dKfV.js → Takeaway-D7V_Jk2R.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-BkcD-Lqc.js → Takeaway.vue_vue_type_script_setup_true_lang-zsbmGuVF.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CyJo71sr.js → Thumbnail.vue_vue_type_script_setup_true_lang-6LsEBodQ.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Dlr4gHn1.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DrT6Soxk.js} +13 -13
- package/dist/{Unit-EdC4of9q.js → Unit-CFEgG5RM.js} +2 -2
- package/dist/{Variant-CrNRExr4.js → Variant-dC0Xe5--.js} +3 -3
- package/dist/{_id_-CnjXjfz8.js → _id_-BLMYDJ2q.js} +9 -9
- package/dist/{app-CJA-WhTq.js → app-8ulgmMLm.js} +26 -26
- package/dist/{app-B_8wJ4F4.js → app-DTHraR-9.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-Bvjq9sDQ.js → linked-status-DCO0b5HQ.js} +2 -2
- package/dist/assets/{menu-export-Cbu0nG8q.js → menu-export-Dca8D-Rk.js} +2 -2
- package/dist/assets/{override-menu-_SPLovuD.js → override-menu-Ci5ChFwD.js} +2 -2
- package/dist/assets/{validate-menu-SV3sMfRO.js → validate-menu-BrdFNNbG.js} +2 -2
- package/dist/{catalog-BSNJ6mIG.js → catalog-Bz0Yw2UN.js} +1 -1
- package/dist/{catalogSetting-Fp6VJZUZ.js → catalogSetting-CMYZsOkN.js} +1 -1
- package/dist/{category-Sp4vX_o9.js → category-DpomNpHr.js} +1 -1
- package/dist/{currency-B6210cWU.js → currency-dW-R1lVE.js} +1 -1
- package/dist/{dayjs.min-BNIAth1A.js → dayjs.min-BQOJHjW7.js} +1 -1
- package/dist/{index-BYqjVZOi.js → index-B2dTgoh-.js} +4 -4
- package/dist/{index-Lcrmd6Rk.js → index-BrzlRzBD.js} +3 -3
- package/dist/{index-CfiFRWSa.js → index-CMJpjaRo.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CwDbpnGk.js → index.vue_vue_type_script_setup_true_lang-yUQNrgQE.js} +4 -4
- package/dist/{item-BvsFVAAk.js → item-DKfwJc8E.js} +1524 -1529
- package/dist/{jszip.min-DVk3siNX.js → jszip.min-7_y6qXto.js} +2 -2
- package/dist/{menu-d0PO1aSx.js → menu-l9zOehNJ.js} +1 -1
- package/dist/{menuV2-BCg91Z2l.js → menuV2-B_iK6FFa.js} +66 -66
- package/dist/{priceTier-D8XJ-CyI.js → priceTier-BoLGapBH.js} +1 -1
- package/dist/{scheduler-BdlqfPaI.js → scheduler-CGrUFMkn.js} +4 -4
- package/dist/{subcategory-Ll36bics.js → subcategory-DMkQoAh6.js} +2 -2
- package/dist/{toExcel-DuTdzRLV.js → toExcel-DFwdsude.js} +2 -2
- package/dist/{unit-BBGppOP0.js → unit-CYOSuXzI.js} +2 -2
- package/package.json +1 -1
- package/dist/CookingGuide-DWgpLwLV.js +0 -896
- package/dist/PrintRoute-wiFmi52b.js +0 -420
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
import { defineComponent as J, ref as T, computed as p, resolveComponent as g, createBlock as k, openBlock as c, unref as l, withCtx as _, createElementVNode as d, createVNode as m, createCommentVNode as Q, toDisplayString as P, createElementBlock as M, Fragment as A, renderList as R, h as f, withModifiers as q } from "vue";
|
|
2
|
+
import { useI18n as H } from "@feedmepos/mf-common";
|
|
3
|
+
import { components as W, useBreakpoints as te, useSnackbar as oe, useDialog as ne } from "@feedmepos/ui-library";
|
|
4
|
+
import { _ as ae } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
+
import { _ as le } from "./app-8ulgmMLm.js";
|
|
6
|
+
import { I as j, J as re, M as Y, A as V, u as se, Q as ie, G as ue, a5 as de } from "./index.vue_vue_type_script_setup_true_lang-yUQNrgQE.js";
|
|
7
|
+
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-CV-v29gB.js";
|
|
8
|
+
import { u as ce } from "./discardConfirm-BHni0LNu.js";
|
|
9
|
+
import { L as me } from "./LinkProductSideSheet-BN4HFmpb.js";
|
|
10
|
+
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
11
|
+
const _e = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, ve = { class: "space-y-16" }, ye = { class: "flex items-center gap-8" }, ge = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, he = { class: "flex-1" }, be = { class: "grow overflow-y-auto" }, ke = { class: "text-fm-color-typo-secondary bg-fm-color-neutral-gray-100 px-16 py-8 border-b border-b-fm-color-neutral-gray-200" }, xe = { class: "px-16 py-8 flex-1" }, Fe = { class: "py-8" }, Ie = { class: "flex gap-8 items-center justify-start" }, Ce = /* @__PURE__ */ J({
|
|
12
|
+
__name: "PrintDepartmentDialog",
|
|
13
|
+
props: {
|
|
14
|
+
categorizedItems: {
|
|
15
|
+
type: Array,
|
|
16
|
+
required: !0
|
|
17
|
+
},
|
|
18
|
+
canApplyItems: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !0
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
emits: ["onSave"],
|
|
24
|
+
setup(v, { expose: t, emit: x }) {
|
|
25
|
+
const N = v;
|
|
26
|
+
t({
|
|
27
|
+
showModal: O,
|
|
28
|
+
hideModal: S
|
|
29
|
+
});
|
|
30
|
+
function w() {
|
|
31
|
+
return {
|
|
32
|
+
_id: "",
|
|
33
|
+
name: "",
|
|
34
|
+
applyToItems: []
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
const F = T(!1), h = T(void 0);
|
|
38
|
+
function O(s) {
|
|
39
|
+
h.value = s ? j(s) : w(), r.value = j(h.value), F.value = !0;
|
|
40
|
+
}
|
|
41
|
+
function S() {
|
|
42
|
+
F.value = !1;
|
|
43
|
+
}
|
|
44
|
+
const r = T(w());
|
|
45
|
+
function U({ items: s }) {
|
|
46
|
+
r.value = {
|
|
47
|
+
...r.value,
|
|
48
|
+
applyToItems: s.map((o) => o._id)
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function L(s) {
|
|
52
|
+
r.value = {
|
|
53
|
+
...r.value,
|
|
54
|
+
applyToItems: r.value.applyToItems.filter((o) => o !== s)
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
const { t: a } = H(), z = p(() => r.value._id ? a("menu.print_route.department_dialog.update.title") : a("menu.print_route.department_dialog.add.title")), $ = p(() => r.value._id ? a("menu.print_route.department_dialog.update.action") : a("menu.print_route.department_dialog.add.action")), D = p(() => r.value.applyToItems.length), I = p(
|
|
58
|
+
() => r.value.applyToItems.reduce((s, o) => (s[o] = [], s), {})
|
|
59
|
+
), C = T(""), B = p(() => {
|
|
60
|
+
const s = C.value.toLowerCase();
|
|
61
|
+
return N.categorizedItems.reduce((o, b) => {
|
|
62
|
+
const E = b.items.filter(
|
|
63
|
+
(i) => (!s || i.name.toLowerCase().includes(s)) && !!I.value[i._id]
|
|
64
|
+
);
|
|
65
|
+
return E.length && o.push({ ...b, items: E }), o;
|
|
66
|
+
}, []);
|
|
67
|
+
}), e = x, n = ce(
|
|
68
|
+
() => !re.isEqual(h.value, r.value),
|
|
69
|
+
() => {
|
|
70
|
+
F.value = !1;
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
function y() {
|
|
74
|
+
S(), e("onSave", r.value);
|
|
75
|
+
}
|
|
76
|
+
return (s, o) => {
|
|
77
|
+
const b = g("FmTextField"), E = g("FmSpacer"), i = g("FmButton"), X = g("FmSearch"), Z = g("FmSideSheet");
|
|
78
|
+
return c(), k(Z, {
|
|
79
|
+
modelValue: F.value,
|
|
80
|
+
"onUpdate:modelValue": o[3] || (o[3] = (u) => F.value = u),
|
|
81
|
+
header: z.value,
|
|
82
|
+
"max-width": 560,
|
|
83
|
+
"is-container": l(W).FmForm,
|
|
84
|
+
"is-container-props": {
|
|
85
|
+
onValidationSuccess: y,
|
|
86
|
+
blameFormChildOnValidationFailed: !0,
|
|
87
|
+
class: "flex flex-col h-full"
|
|
88
|
+
},
|
|
89
|
+
"onOn:clickedAway": l(n)
|
|
90
|
+
}, {
|
|
91
|
+
"side-sheet-header": _(() => [
|
|
92
|
+
d("span", _e, P(z.value), 1)
|
|
93
|
+
]),
|
|
94
|
+
"side-sheet-footer": _(() => [
|
|
95
|
+
d("div", Ie, [
|
|
96
|
+
m(i, {
|
|
97
|
+
label: $.value,
|
|
98
|
+
size: "lg",
|
|
99
|
+
variant: "primary",
|
|
100
|
+
type: "submit"
|
|
101
|
+
}, null, 8, ["label"]),
|
|
102
|
+
m(i, {
|
|
103
|
+
label: l(a)("menu.print_route.department_dialog.actions.cancel"),
|
|
104
|
+
size: "lg",
|
|
105
|
+
variant: "tertiary",
|
|
106
|
+
onClick: S
|
|
107
|
+
}, null, 8, ["label"])
|
|
108
|
+
])
|
|
109
|
+
]),
|
|
110
|
+
default: _(() => [
|
|
111
|
+
d("div", fe, [
|
|
112
|
+
m(G, {
|
|
113
|
+
title: l(a)("menu.print_route.department_dialog.sections.route_detail.title")
|
|
114
|
+
}, {
|
|
115
|
+
default: _(() => [
|
|
116
|
+
m(b, {
|
|
117
|
+
autofocus: "",
|
|
118
|
+
modelValue: r.value.name,
|
|
119
|
+
"onUpdate:modelValue": o[0] || (o[0] = (u) => r.value.name = u),
|
|
120
|
+
rules: [
|
|
121
|
+
(u) => !!u || l(a)("menu.print_route.department_dialog.sections.route_detail.name.required")
|
|
122
|
+
],
|
|
123
|
+
label: l(a)("menu.print_route.department_dialog.sections.route_detail.name.label"),
|
|
124
|
+
placeholder: l(a)("menu.print_route.department_dialog.sections.route_detail.name.placeholder")
|
|
125
|
+
}, null, 8, ["modelValue", "rules", "label", "placeholder"])
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
}, 8, ["title"]),
|
|
129
|
+
v.canApplyItems ? (c(), k(G, {
|
|
130
|
+
key: 0,
|
|
131
|
+
title: l(a)("menu.print_route.department_dialog.sections.link_product.title")
|
|
132
|
+
}, {
|
|
133
|
+
"append-title": _(() => [
|
|
134
|
+
m(E),
|
|
135
|
+
m(me, {
|
|
136
|
+
"categorized-items": v.categorizedItems,
|
|
137
|
+
"initial-value": r.value.applyToItems.map((u) => ({
|
|
138
|
+
_id: u
|
|
139
|
+
})),
|
|
140
|
+
onSubmit: o[1] || (o[1] = (u) => U(u))
|
|
141
|
+
}, {
|
|
142
|
+
default: _(({ trigger: u }) => [
|
|
143
|
+
m(i, {
|
|
144
|
+
icon: "link",
|
|
145
|
+
label: l(a)("menu.scheduler.dialog.sections.products.link"),
|
|
146
|
+
variant: "secondary",
|
|
147
|
+
"text-color": "primary",
|
|
148
|
+
"border-color": "primary",
|
|
149
|
+
onClick: u
|
|
150
|
+
}, null, 8, ["label", "onClick"])
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
}, 8, ["categorized-items", "initial-value"])
|
|
154
|
+
]),
|
|
155
|
+
default: _(() => [
|
|
156
|
+
d("div", ve, [
|
|
157
|
+
d("div", ye, [
|
|
158
|
+
d("div", ge, P(l(a)("menu.print_route.department_dialog.sections.link_product.products_linked", {
|
|
159
|
+
count: D.value
|
|
160
|
+
})), 1),
|
|
161
|
+
d("div", he, [
|
|
162
|
+
m(X, {
|
|
163
|
+
modelValue: C.value,
|
|
164
|
+
"onUpdate:modelValue": o[2] || (o[2] = (u) => C.value = u),
|
|
165
|
+
placeholder: l(a)("menu.print_route.department_dialog.sections.link_product.search")
|
|
166
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
167
|
+
])
|
|
168
|
+
]),
|
|
169
|
+
d("div", be, [
|
|
170
|
+
(c(!0), M(A, null, R(B.value, (u, ee) => (c(), M("div", {
|
|
171
|
+
key: u.id || ee
|
|
172
|
+
}, [
|
|
173
|
+
d("div", ke, P(u.name), 1),
|
|
174
|
+
(c(!0), M(A, null, R(u.items, (K) => (c(), M("div", {
|
|
175
|
+
key: K._id,
|
|
176
|
+
class: "flex items-center border-b border-b-fm-color-neutral-gray-100"
|
|
177
|
+
}, [
|
|
178
|
+
d("div", xe, P(K.name), 1),
|
|
179
|
+
d("div", Fe, [
|
|
180
|
+
m(i, {
|
|
181
|
+
icon: "delete",
|
|
182
|
+
variant: "tertiary",
|
|
183
|
+
"text-color": "neutral-gray-400",
|
|
184
|
+
onClick: () => L(K._id)
|
|
185
|
+
}, null, 8, ["onClick"])
|
|
186
|
+
])
|
|
187
|
+
]))), 128))
|
|
188
|
+
]))), 128))
|
|
189
|
+
])
|
|
190
|
+
])
|
|
191
|
+
]),
|
|
192
|
+
_: 1
|
|
193
|
+
}, 8, ["title"])) : Q("", !0)
|
|
194
|
+
])
|
|
195
|
+
]),
|
|
196
|
+
_: 1
|
|
197
|
+
}, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]);
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
function Ve(v, t) {
|
|
202
|
+
return {
|
|
203
|
+
module: V.F_MENU_MODULE_V4_KEY.enum.printDepartment,
|
|
204
|
+
operation: Y.F_OPERATION_TYPE.create,
|
|
205
|
+
data: V.FdoMenuPrintDepartment.parse(v),
|
|
206
|
+
link: t.map((x) => ({
|
|
207
|
+
module: V.F_MENU_MODULE_V4_KEY.enum.item,
|
|
208
|
+
id: x
|
|
209
|
+
}))
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
function we(v, t) {
|
|
213
|
+
return {
|
|
214
|
+
module: V.F_MENU_MODULE_V4_KEY.enum.printDepartment,
|
|
215
|
+
operation: Y.F_OPERATION_TYPE.update,
|
|
216
|
+
data: V.FdoMenuPrintDepartment.parse(v),
|
|
217
|
+
link: t.map((x) => ({
|
|
218
|
+
module: V.F_MENU_MODULE_V4_KEY.enum.item,
|
|
219
|
+
id: x
|
|
220
|
+
}))
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
function Ee(v) {
|
|
224
|
+
return {
|
|
225
|
+
module: V.F_MENU_MODULE_V4_KEY.enum.printDepartment,
|
|
226
|
+
operation: Y.F_OPERATION_TYPE.delete,
|
|
227
|
+
data: v._id
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
const Te = {
|
|
231
|
+
class: "flex flex-1 justify-end"
|
|
232
|
+
}, Pe = {
|
|
233
|
+
class: "flex justify-end items-center"
|
|
234
|
+
}, Me = {
|
|
235
|
+
class: "grow space-y-4"
|
|
236
|
+
}, Se = {
|
|
237
|
+
class: "fm-typo-en-body-lg-600"
|
|
238
|
+
}, Le = {
|
|
239
|
+
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
240
|
+
}, Ye = /* @__PURE__ */ J({
|
|
241
|
+
__name: "PrintRoute",
|
|
242
|
+
setup(v) {
|
|
243
|
+
const {
|
|
244
|
+
t
|
|
245
|
+
} = H(), x = te(), N = p(() => x.breakpoints.value.xs), w = se(), F = p(() => w.categorizedItems), h = p(() => {
|
|
246
|
+
const e = w.state.menu.modules.item;
|
|
247
|
+
return w.printDepartments.map((y) => ({
|
|
248
|
+
...y,
|
|
249
|
+
applyToItems: e.reduce((s, o) => {
|
|
250
|
+
var b;
|
|
251
|
+
return (b = o.print) != null && b.department.includes(y._id) && s.push(o), s;
|
|
252
|
+
}, [])
|
|
253
|
+
}), []);
|
|
254
|
+
}), O = p(() => h.value.length > 0), S = p(() => [{
|
|
255
|
+
accessorKey: "name",
|
|
256
|
+
header: () => t("menu.print_route.table.columns.name"),
|
|
257
|
+
cell: (e) => e.getValue(),
|
|
258
|
+
enableSorting: !1
|
|
259
|
+
}, {
|
|
260
|
+
accessorKey: "applyToItems",
|
|
261
|
+
header: () => t("menu.print_route.table.columns.products"),
|
|
262
|
+
cell: (e) => {
|
|
263
|
+
const n = e.getValue();
|
|
264
|
+
return t("menu.print_route.table.columns.products_count", {
|
|
265
|
+
count: n.length
|
|
266
|
+
});
|
|
267
|
+
},
|
|
268
|
+
enableSorting: !1
|
|
269
|
+
}, {
|
|
270
|
+
accessorKey: "_id",
|
|
271
|
+
header: "",
|
|
272
|
+
size: 52,
|
|
273
|
+
meta: {
|
|
274
|
+
cellClass: "pl-16",
|
|
275
|
+
headerContentClass: "-mx-16"
|
|
276
|
+
},
|
|
277
|
+
enableSorting: !1,
|
|
278
|
+
cell: (e) => f("div", {
|
|
279
|
+
class: "flex justify-end"
|
|
280
|
+
}, [f(W.FmButton, {
|
|
281
|
+
icon: "delete",
|
|
282
|
+
textColor: "neutral-gray-400",
|
|
283
|
+
variant: "tertiary",
|
|
284
|
+
onClick: q(() => {
|
|
285
|
+
D(e.row.original);
|
|
286
|
+
}, ["stop", "prevent"])
|
|
287
|
+
})])
|
|
288
|
+
}]);
|
|
289
|
+
function r() {
|
|
290
|
+
var e;
|
|
291
|
+
a.value || (e = C.value) == null || e.showModal();
|
|
292
|
+
}
|
|
293
|
+
function U(e) {
|
|
294
|
+
var n;
|
|
295
|
+
a.value || (n = C.value) == null || n.showModal({
|
|
296
|
+
...e,
|
|
297
|
+
applyToItems: e.applyToItems.map(({
|
|
298
|
+
_id: y
|
|
299
|
+
}) => y)
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
const L = ie(ue(oe())), a = p(() => L.checkMenuIsLoading());
|
|
303
|
+
async function z(e) {
|
|
304
|
+
const n = e._id ? we(e, e.applyToItems) : Ve(e, e.applyToItems);
|
|
305
|
+
await L.updateMenu(n, e.name);
|
|
306
|
+
}
|
|
307
|
+
const $ = ne();
|
|
308
|
+
function D(e) {
|
|
309
|
+
let n = [f("span", t("menu.print_route.dialogs.remove.message.prefix")), f("span", {
|
|
310
|
+
class: "fm-typo-en-body-lg-600"
|
|
311
|
+
}, e.name), f("span", "?")];
|
|
312
|
+
e.applyToItems.length && (n = [f("span", t("menu.print_route.dialogs.remove.message.products_using")), f("span", {
|
|
313
|
+
class: "fm-typo-en-body-lg-600"
|
|
314
|
+
}, e.applyToItems.length), f("span", t("menu.print_route.dialogs.remove.message.products_count")), ...n, f("div", {
|
|
315
|
+
class: "mt-8 fm-typo-en-body-md-400"
|
|
316
|
+
}, e.applyToItems.map((y) => f("li", {
|
|
317
|
+
class: "mt-4"
|
|
318
|
+
}, y.name)))]), $.open({
|
|
319
|
+
title: t("menu.print_route.dialogs.remove.title"),
|
|
320
|
+
contentComponent: f("div", n),
|
|
321
|
+
primaryActions: {
|
|
322
|
+
text: t("menu.print_route.actions.remove"),
|
|
323
|
+
close: !0,
|
|
324
|
+
variant: "destructive"
|
|
325
|
+
},
|
|
326
|
+
secondaryActions: {
|
|
327
|
+
text: t("menu.print_route.actions.cancel"),
|
|
328
|
+
close: !0
|
|
329
|
+
}
|
|
330
|
+
}).onPrimary(async () => {
|
|
331
|
+
await L.updateMenu(Ee(e), e.name, !0);
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
const I = T(""), C = T(), B = p(() => {
|
|
335
|
+
if (!I.value) return h.value;
|
|
336
|
+
const e = I.value.toLowerCase();
|
|
337
|
+
return h.value.filter((n) => n.name.toLowerCase().includes(e));
|
|
338
|
+
});
|
|
339
|
+
return (e, n) => {
|
|
340
|
+
const y = g("FmSearch"), s = g("FmTable"), o = g("FmButton"), b = g("FmListItem"), E = g("FmList");
|
|
341
|
+
return c(), k(pe, {
|
|
342
|
+
heading: l(t)("menu.print_route.title")
|
|
343
|
+
}, {
|
|
344
|
+
"append-heading": _(() => [d("div", Te, [O.value ? (c(), k(ae, {
|
|
345
|
+
key: 0,
|
|
346
|
+
disabled: a.value,
|
|
347
|
+
icon: "add",
|
|
348
|
+
label: l(t)("menu.print_route.actions.add"),
|
|
349
|
+
variant: "primary",
|
|
350
|
+
onClick: r
|
|
351
|
+
}, null, 8, ["disabled", "label"])) : Q("", !0)])]),
|
|
352
|
+
default: _(() => [O.value ? (c(), M(A, {
|
|
353
|
+
key: 1
|
|
354
|
+
}, [d("div", Pe, [m(y, {
|
|
355
|
+
autofocus: "",
|
|
356
|
+
modelValue: I.value,
|
|
357
|
+
"onUpdate:modelValue": n[0] || (n[0] = (i) => I.value = i),
|
|
358
|
+
class: "my-8 w-[320px] xs:w-full xs:px-16",
|
|
359
|
+
placeholder: l(t)("menu.print_route.table.search.placeholder")
|
|
360
|
+
}, null, 8, ["modelValue", "placeholder"])]), N.value ? (c(), k(E, {
|
|
361
|
+
key: 1,
|
|
362
|
+
class: "w-full px-16 flex-1 min-h-0 overflow-scroll pb-64",
|
|
363
|
+
separator: ""
|
|
364
|
+
}, {
|
|
365
|
+
default: _(() => [(c(!0), M(A, null, R(B.value, (i) => (c(), k(b, {
|
|
366
|
+
key: i._id,
|
|
367
|
+
label: i.name,
|
|
368
|
+
style: {
|
|
369
|
+
padding: "12px 0 !important"
|
|
370
|
+
},
|
|
371
|
+
onClick: () => U(i)
|
|
372
|
+
}, {
|
|
373
|
+
default: _(() => [d("div", Me, [d("div", Se, P(i.name), 1), d("div", Le, P(l(t)("menu.print_route.table.mobile.products_linked", {
|
|
374
|
+
count: i.applyToItems.length
|
|
375
|
+
})), 1)]), m(o, {
|
|
376
|
+
disabled: a.value,
|
|
377
|
+
icon: "delete",
|
|
378
|
+
variant: "tertiary",
|
|
379
|
+
"text-color": "neutral-gray-400",
|
|
380
|
+
onClick: q(() => D(i), ["stop"])
|
|
381
|
+
}, null, 8, ["disabled", "onClick"])]),
|
|
382
|
+
_: 2
|
|
383
|
+
}, 1032, ["label", "onClick"]))), 128))]),
|
|
384
|
+
_: 1
|
|
385
|
+
})) : (c(), k(le, {
|
|
386
|
+
key: 0
|
|
387
|
+
}, {
|
|
388
|
+
default: _(() => [m(s, {
|
|
389
|
+
"column-defs": S.value,
|
|
390
|
+
loading: a.value,
|
|
391
|
+
"page-size": h.value.length,
|
|
392
|
+
"row-data": h.value,
|
|
393
|
+
"search-value": I.value,
|
|
394
|
+
shrinkAt: !1,
|
|
395
|
+
"hide-footer": "",
|
|
396
|
+
"pin-header-row": "",
|
|
397
|
+
onRowClick: n[1] || (n[1] = (i) => U(i.original))
|
|
398
|
+
}, null, 8, ["column-defs", "loading", "page-size", "row-data", "search-value"])]),
|
|
399
|
+
_: 1
|
|
400
|
+
}))], 64)) : (c(), k(l(de), {
|
|
401
|
+
key: 0,
|
|
402
|
+
action: {
|
|
403
|
+
text: l(t)("menu.print_route.empty.action"),
|
|
404
|
+
callback: r
|
|
405
|
+
},
|
|
406
|
+
subtitle: l(t)("menu.print_route.empty.subtitle"),
|
|
407
|
+
title: l(t)("menu.print_route.empty.title")
|
|
408
|
+
}, null, 8, ["action", "subtitle", "title"])), m(Ce, {
|
|
409
|
+
ref_key: "printDepartmentRef",
|
|
410
|
+
ref: C,
|
|
411
|
+
"categorized-items": F.value,
|
|
412
|
+
onOnSave: z
|
|
413
|
+
}, null, 8, ["categorized-items"])]),
|
|
414
|
+
_: 1
|
|
415
|
+
}, 8, ["heading"]);
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
});
|
|
419
|
+
export {
|
|
420
|
+
Ye as default
|
|
421
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { ref as F, computed as h, defineComponent as N, resolveComponent as O, createBlock as I, openBlock as m, withCtx as T, createElementVNode as g, createVNode as d, unref as a, createElementBlock as k, Fragment as pe, renderList as we, createCommentVNode as M, normalizeClass as ve, toDisplayString as K, withModifiers as fe, mergeModels as Ze, useModel as Xe, renderSlot as _e, watch as de, createTextVNode as et, watchEffect as tt, nextTick as Ae, resolveDynamicComponent as lt, onMounted as at, h as W, isRef as je, normalizeStyle as ft } from "vue";
|
|
2
|
-
import { u as Fe, T as Ce, B as me, I as Re, J as ge, W as gt, af as bt, ag as _t, ah as Pe, ai as yt, R as ht, a5 as be, aj as Ee } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Fe, T as Ce, B as me, I as Re, J as ge, W as gt, af as bt, ag as _t, ah as Pe, ai as yt, R as ht, a5 as be, aj as Ee } from "./index.vue_vue_type_script_setup_true_lang-yUQNrgQE.js";
|
|
3
3
|
import { useI18n as Ie, useCoreStore as ze, useCustomAttributes as xt } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as Se } from "./menu-
|
|
5
|
-
import { L as Ge } from "./LinkProductSideSheet-
|
|
6
|
-
import { r as Ct, _ as Le } from "./index-
|
|
7
|
-
import { _ as Me, a as We } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { f as wt, o as St, a as Vt, m as Ft } from "./menuV2-
|
|
10
|
-
import { u as ot, C as It } from "./item-
|
|
4
|
+
import { u as Se } from "./menu-l9zOehNJ.js";
|
|
5
|
+
import { L as Ge } from "./LinkProductSideSheet-BN4HFmpb.js";
|
|
6
|
+
import { r as Ct, _ as Le } from "./index-CMJpjaRo.js";
|
|
7
|
+
import { _ as Me, a as We } from "./CustomAttributeChip.vue_vue_type_script_setup_true_lang-Q8oLyKmJ.js";
|
|
8
|
+
import { _ as Ue, u as kt } from "./Thumbnail.vue_vue_type_script_setup_true_lang-6LsEBodQ.js";
|
|
9
|
+
import { f as wt, o as St, a as Vt, m as Ft } from "./menuV2-B_iK6FFa.js";
|
|
10
|
+
import { u as ot, C as It } from "./item-DKfwJc8E.js";
|
|
11
11
|
import { b as qe, H as $t } from "./app-5fxKLAzS.js";
|
|
12
12
|
import { useBreakpoints as rt, components as te, useDialog as Tt, FmButtonColorThemeVariant as q, FmButtonVariant as ee } from "@feedmepos/ui-library";
|
|
13
13
|
import { F as Pt } from "./index-CisutoS9.js";
|
|
14
|
-
import { _ as De, a as At } from "./app-
|
|
14
|
+
import { _ as De, a as At } from "./app-8ulgmMLm.js";
|
|
15
15
|
import { _ as ke } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
16
|
-
import { _ as Rt } from "./index-
|
|
17
|
-
import { r as Mt, _ as Ut } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { _ as Rt } from "./index-B2dTgoh-.js";
|
|
17
|
+
import { r as Mt, _ as Ut } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DkePKepB.js";
|
|
18
18
|
import { c as zt } from "./check-C9mY6LiX.js";
|
|
19
|
-
import { f as Dt } from "./currency-
|
|
19
|
+
import { f as Dt } from "./currency-dW-R1lVE.js";
|
|
20
20
|
import { w as Ot } from "./tooltip-B5BiPMx9.js";
|
|
21
21
|
function Bt(C, e, i = C) {
|
|
22
22
|
const n = F(!0), t = h(() => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as v, computed as $, resolveComponent as G, createElementBlock as c, openBlock as r, createElementVNode as s, createVNode as I, unref as h, createCommentVNode as T, normalizeClass as E, toDisplayString as U, createStaticVNode as B, Fragment as P, renderList as O, createBlock as oe, withCtx as R } from "vue";
|
|
2
|
-
import { J as A, F as ne } from "./jszip.min-
|
|
3
|
-
import { G as le, u as ie, J as D, a2 as re, N as ce, O as de, P as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { J as A, F as ne } from "./jszip.min-7_y6qXto.js";
|
|
3
|
+
import { G as le, u as ie, J as D, a2 as re, N as ce, O as de, P as me } from "./index.vue_vue_type_script_setup_true_lang-yUQNrgQE.js";
|
|
4
4
|
import { useI18n as ue } from "@feedmepos/mf-common";
|
|
5
5
|
import { FmButtonVariant as z, useSnackbar as V, useDialog as ge, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as pe } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { u as fe, a as he } from "./menu-
|
|
8
|
-
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { t as be, v as ve, w as _e } from "./item-
|
|
7
|
+
import { u as fe, a as he } from "./menu-l9zOehNJ.js";
|
|
8
|
+
import { a as ye } from "./Product.vue_vue_type_script_setup_true_lang-DJoH3J_y.js";
|
|
9
|
+
import { t as be, v as ve, w as _e } from "./item-DKfwJc8E.js";
|
|
10
10
|
const we = { class: "h-full flex flex-col" }, xe = { class: "flex items-center justify-between p-16 border-b border-gray-200" }, Ie = { class: "flex gap-8" }, ke = { class: "border-b border-gray-200" }, Ce = { class: "flex" }, Ue = { class: "flex-1 overflow-hidden" }, je = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "h-full flex flex-col"
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as E, computed as g, ref as
|
|
2
|
-
import { D as F } from "./dayjs.min-
|
|
3
|
-
import { J as oe, F as ne } from "./jszip.min-
|
|
4
|
-
import { u as J, G as W, B as R, H, A as Z, D as ae, I as re, J as U, K as se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as E, computed as g, ref as j, resolveComponent as M, createBlock as y, openBlock as m, unref as e, withCtx as c, createElementVNode as i, toDisplayString as q, createVNode as o, createCommentVNode as G, createElementBlock as A, Fragment as P } from "vue";
|
|
2
|
+
import { D as F } from "./dayjs.min-BQOJHjW7.js";
|
|
3
|
+
import { J as oe, F as ne } from "./jszip.min-7_y6qXto.js";
|
|
4
|
+
import { u as J, G as W, B as R, H, A as Z, D as ae, I as re, J as U, K as se } from "./index.vue_vue_type_script_setup_true_lang-yUQNrgQE.js";
|
|
5
|
+
import { w as ie } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-DkePKepB.js";
|
|
6
6
|
import { useCoreStore as K, useI18n as le } from "@feedmepos/mf-common";
|
|
7
7
|
import { useDialog as Q, useDialogChild as ue, useSnackbar as X, useBreakpoints as ce, FmButtonVariant as $, FmButtonColorThemeVariant as h } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as V } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
9
|
import { _ as me, a as z } from "./BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js";
|
|
10
10
|
import { _ as de } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
11
|
-
import { u as pe, a as fe } from "./menu-
|
|
12
|
-
import { u as _e } from "./item-
|
|
13
|
-
import { _ as L, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { L as
|
|
15
|
-
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { m as ye } from "./toExcel-
|
|
11
|
+
import { u as pe, a as fe } from "./menu-l9zOehNJ.js";
|
|
12
|
+
import { u as _e } from "./item-DKfwJc8E.js";
|
|
13
|
+
import { _ as L, a as ve } from "./Product.vue_vue_type_script_setup_true_lang-DJoH3J_y.js";
|
|
14
|
+
import { L as O } from "./LinkProductSideSheet-BN4HFmpb.js";
|
|
15
|
+
import { _ as ge } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DrT6Soxk.js";
|
|
16
|
+
import { u as be } from "./Thumbnail.vue_vue_type_script_setup_true_lang-6LsEBodQ.js";
|
|
17
|
+
import { m as ye } from "./toExcel-DFwdsude.js";
|
|
18
18
|
const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "flex justify-end gap-8" }, Se = /* @__PURE__ */ E({
|
|
19
19
|
__name: "ConfirmActionDialog",
|
|
20
20
|
props: {
|
|
@@ -22,8 +22,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
22
22
|
value: {},
|
|
23
23
|
message: { default: "To confirm your action, type <b>[[value]]</b> in the text field." }
|
|
24
24
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const t =
|
|
25
|
+
setup(C) {
|
|
26
|
+
const t = C, S = g(() => t.message.replace("[[value]]", t.value)), k = j(""), r = Q(), { emitAction: x } = ue();
|
|
27
27
|
return (d, s) => {
|
|
28
28
|
const p = M("FmTextField"), f = M("FmButton"), _ = M("FmForm");
|
|
29
29
|
return m(), y(_, {
|
|
@@ -32,7 +32,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
32
32
|
}, {
|
|
33
33
|
default: c(() => [
|
|
34
34
|
i("div", ke, [
|
|
35
|
-
i("div", null,
|
|
35
|
+
i("div", null, q(d.description), 1),
|
|
36
36
|
i("div", { innerHTML: S.value }, null, 8, xe),
|
|
37
37
|
i("div", null, [
|
|
38
38
|
o(p, {
|
|
@@ -65,8 +65,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
65
65
|
}
|
|
66
66
|
}), Me = /* @__PURE__ */ E({
|
|
67
67
|
__name: "Migrate",
|
|
68
|
-
setup(
|
|
69
|
-
const t = J(), S = K(), k = X(), { minor: r } = W(k), x =
|
|
68
|
+
setup(C) {
|
|
69
|
+
const t = J(), S = K(), k = X(), { minor: r } = W(k), x = j(!1), d = Q();
|
|
70
70
|
async function s() {
|
|
71
71
|
p.value || x.value || d.open({
|
|
72
72
|
title: "Migrate to new version",
|
|
@@ -108,12 +108,12 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
108
108
|
action: "Migrate",
|
|
109
109
|
"z-index": 0,
|
|
110
110
|
onOnAction: s
|
|
111
|
-
})) :
|
|
111
|
+
})) : G("", !0);
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
}),
|
|
114
|
+
}), we = "/assets/menu-export-Dca8D-Rk.js", Ce = { class: "flex-1 flex justify-between gap-8 pl-8" }, Fe = { class: "flex items-center" }, $e = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, Ve = { class: "fm-typo-en-body-md-600 font-semibold" }, Ee = { class: "flex gap-8" }, Je = /* @__PURE__ */ E({
|
|
115
115
|
__name: "Products",
|
|
116
|
-
setup(
|
|
116
|
+
setup(C) {
|
|
117
117
|
const { t } = le(), S = K(), k = W(X()), r = J(), x = g(() => r.rules.item), d = _e(), s = g(() => !r.state.currentSchedulerId), { selectedCategories: p } = pe(), f = g(() => ({
|
|
118
118
|
...ae.menuV4ToV3(re(r.state.menu)),
|
|
119
119
|
_id: r.state.menu._id,
|
|
@@ -124,8 +124,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
124
124
|
});
|
|
125
125
|
async function l(u, n) {
|
|
126
126
|
const v = new oe();
|
|
127
|
-
for (let
|
|
128
|
-
v.file(`${n[
|
|
127
|
+
for (let w = 0; w < u.length; w++)
|
|
128
|
+
v.file(`${n[w]}.xlsx`, u[w]);
|
|
129
129
|
const a = await v.generateAsync({ type: "blob" });
|
|
130
130
|
ne.saveAs(a, `books_${F().format("DD-MM-YYYY_HH-mm")}.zip`);
|
|
131
131
|
}
|
|
@@ -138,7 +138,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
138
138
|
`addonGroup_${n}`,
|
|
139
139
|
`itemLinkedAddon_${n}`
|
|
140
140
|
], a = await se(
|
|
141
|
-
|
|
141
|
+
we,
|
|
142
142
|
JSON.stringify({
|
|
143
143
|
menu: u,
|
|
144
144
|
attributeSettings: S.itemAttributeSettings.value
|
|
@@ -160,8 +160,8 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
160
160
|
}
|
|
161
161
|
const {
|
|
162
162
|
menuItems: T,
|
|
163
|
-
categories:
|
|
164
|
-
linkItemRules:
|
|
163
|
+
categories: D,
|
|
164
|
+
linkItemRules: I,
|
|
165
165
|
handleSubmit: N,
|
|
166
166
|
catalogManager: Y,
|
|
167
167
|
schedulerManager: B
|
|
@@ -176,10 +176,10 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
176
176
|
o(ve)
|
|
177
177
|
]),
|
|
178
178
|
"append-heading": c(() => [
|
|
179
|
-
i("div",
|
|
179
|
+
i("div", Ce, [
|
|
180
180
|
i("div", Fe, [
|
|
181
181
|
i("div", $e, [
|
|
182
|
-
i("p", Ve,
|
|
182
|
+
i("p", Ve, q(_.value), 1)
|
|
183
183
|
])
|
|
184
184
|
]),
|
|
185
185
|
i("div", Ee, [
|
|
@@ -239,14 +239,14 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
239
239
|
label: e(t)("menu.products.actions.add"),
|
|
240
240
|
"prepend-icon": "add",
|
|
241
241
|
onClick: n[0] || (n[0] = (a) => e(d).create(null))
|
|
242
|
-
}, null, 8, ["label"])) : s.value ? (m(), y(
|
|
242
|
+
}, null, 8, ["label"])) : s.value ? (m(), y(O, {
|
|
243
243
|
key: 1,
|
|
244
244
|
"categorized-items": e(Y).linkableItems.value,
|
|
245
245
|
"initial-value": e(Y).currentItems.value,
|
|
246
246
|
"show-variant": !1,
|
|
247
247
|
"menu-items": e(T),
|
|
248
|
-
categories: e(
|
|
249
|
-
"link-item-rules": e(
|
|
248
|
+
categories: e(D),
|
|
249
|
+
"link-item-rules": e(I),
|
|
250
250
|
"no-scheduler": s.value,
|
|
251
251
|
onSubmit: e(N)
|
|
252
252
|
}, {
|
|
@@ -258,14 +258,14 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
258
258
|
}, null, 8, ["label", "onClick"])
|
|
259
259
|
]),
|
|
260
260
|
_: 1
|
|
261
|
-
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (m(), y(
|
|
261
|
+
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"])) : (m(), y(O, {
|
|
262
262
|
key: 2,
|
|
263
263
|
"categorized-items": e(B).linkableItems.value,
|
|
264
264
|
"initial-value": e(B).currentItems.value,
|
|
265
265
|
"show-variant": !1,
|
|
266
266
|
"menu-items": e(T),
|
|
267
|
-
categories: e(
|
|
268
|
-
"link-item-rules": e(
|
|
267
|
+
categories: e(D),
|
|
268
|
+
"link-item-rules": e(I),
|
|
269
269
|
"no-scheduler": s.value,
|
|
270
270
|
onSubmit: e(N)
|
|
271
271
|
}, {
|
|
@@ -277,7 +277,7 @@ const ke = { class: "space-y-24 mb-24" }, xe = ["innerHTML"], he = { class: "fle
|
|
|
277
277
|
]),
|
|
278
278
|
_: 1
|
|
279
279
|
}, 8, ["categorized-items", "initial-value", "menu-items", "categories", "link-item-rules", "no-scheduler", "onSubmit"]))
|
|
280
|
-
], 64)) :
|
|
280
|
+
], 64)) : G("", !0)
|
|
281
281
|
])
|
|
282
282
|
])
|
|
283
283
|
]),
|