@feedmepos/mf-menu 0.31.74 → 0.31.75-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.
- package/dist/{App-B6Hn5Wwr.js → App-Cw2D3IXT.js} +528 -585
- package/dist/ApplyProduct.vue_vue_type_script_setup_true_lang-CFtcqy58.js +161 -0
- package/dist/BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-CnCoRLDg.js +74 -0
- package/dist/{Catalog-D-2hDU2I.js → Catalog-B5kAKdVW.js} +9 -9
- package/dist/{Category-hSOIgBkH.js → Category-CAd9BTRX.js} +8 -8
- package/dist/{Category-DjTbuAvE.js → Category-DKjU47aW.js} +5 -5
- package/dist/{CookingGuide-D7ruB7eP.js → CookingGuide-BN739JkB.js} +7 -7
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-mxVSGXAz.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-gii2CTYD.js} +3 -3
- package/dist/{Group-evJZbgZn.js → Group-DmII5Nwf.js} +4 -4
- package/dist/{Group-CjlhbhDV.js → Group-DnpVxZkN.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-DiKraPiw.js → Group.vue_vue_type_script_setup_true_lang-BEeCwmKt.js} +163 -163
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BYku8MAc.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DB5B3PLx.js} +90 -90
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DScxctPb.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BEISm7uc.js} +3046 -3046
- package/dist/{Ingredient-jNDx1pUw.js → Ingredient-CpuyDF4n.js} +30 -30
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CuM_k-C3.js → InventoryBinding.vue_vue_type_script_setup_true_lang-GHiwD8VV.js} +1112 -1112
- package/dist/{LinkProductSideSheet-CAPIdf6P.js → LinkProductSideSheet-DrSKOBLg.js} +129 -129
- package/dist/MenuSelector.vue_vue_type_script_setup_true_lang-Bm_hSelC.js +69 -0
- package/dist/{MenuSetting-C2MDgy57.js → MenuSetting-BNuIUnjz.js} +138 -138
- package/dist/{PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js → PageLayout.vue_vue_type_script_setup_true_lang-vFqWGM6P.js} +8 -8
- package/dist/{PrintRoute-SmWbKr9Y.js → PrintRoute-Dl0oWYju.js} +6 -6
- package/dist/{Product-BCm49V9T.js → Product-IQBP1vvY.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CTOjLqbF.js → Product.vue_vue_type_script_setup_true_lang-Bdss6VRj.js} +607 -607
- package/dist/{ProductInternalTools-DGsvvnIs.js → ProductInternalTools-Dkhbg1WE.js} +11 -11
- package/dist/{Products-D4qeSEfO.js → Products-Dcafs3Lk.js} +59 -59
- package/dist/{Publish-3A3EEQ9x.js → Publish-BTuO4AlR.js} +6 -6
- package/dist/{Recipe-CS7TZGA6.js → Recipe-Dx2ZkHsk.js} +6 -6
- package/dist/{Scheduler-BIwTUJMJ.js → Scheduler-Dh_0J2g9.js} +5 -5
- package/dist/{ServingSequence-C0N8wJfr.js → ServingSequence-DXhx9dcu.js} +5 -5
- package/dist/{Setting-fA6tvQK2.js → Setting-4x_w46t_.js} +5 -5
- package/dist/{Subcategory-BAFAmflQ.js → Subcategory-vztBpQnB.js} +6 -6
- package/dist/{Takeaway-D4aO8zzN.js → Takeaway-CDgIyUrN.js} +5 -5
- package/dist/{Takeaway-CLZouw1j.js → Takeaway-Dz5PxJk_.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-1oN-i9bo.js → Takeaway.vue_vue_type_script_setup_true_lang-BMMXiDFL.js} +6 -6
- package/dist/{TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js → TextChip.vue_vue_type_script_setup_true_lang-BJMcI3U2.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-Dwol_Lkd.js → Thumbnail.vue_vue_type_script_setup_true_lang-DJ8JMV28.js} +74 -74
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-cTzWxjM4.js +5996 -0
- package/dist/{Unit-ByqUb4Po.js → Unit-z7OVmlSq.js} +4 -4
- package/dist/{Variant-BmqrUfen.js → Variant-CFRgvlXf.js} +5 -5
- package/dist/{_id_-RUWzOB0B.js → _id_-B9q3j4_m.js} +11 -11
- package/dist/{app-B1N2F0j8.js → app-CdsS_tMb.js} +1 -1
- package/dist/app-CkCBPor3.js +363 -0
- package/dist/{app-5fxKLAzS.js → app-CzXxFrl1.js} +447 -447
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +0 -1
- package/dist/apps/mf-menu/src/components/feature/CategoryManager/CategoriesSelector.vue.d.ts +1 -1
- package/dist/apps/mf-menu/src/components/feature/MenuSelector.vue.d.ts +1 -1
- package/dist/apps/mf-menu/src/components/feature/SubcategoryManager/SubcategorySelector.vue.d.ts +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-B8qYyYR6.js +13 -0
- package/dist/assets/override-menu-nmSTTTn7.js +13 -0
- package/dist/assets/validate-menu-CF1XZECU.js +13 -0
- package/dist/{catalog-CarmtheV.js → catalog-DBBEUpMo.js} +1 -1
- package/dist/{catalogSetting-BqrTpBP8.js → catalogSetting-DKvBjleU.js} +1 -1
- package/dist/{category-5R83ypNS.js → category-DILExwHL.js} +1 -1
- package/dist/{currency-CUl4r9rT.js → currency-B7Xm1xZJ.js} +1 -1
- package/dist/customAttributes-DrA0YC82.js +180 -0
- package/dist/{index-Ttqt4iFV.js → index-2lrKSO_O.js} +20 -20
- package/dist/{index-DlwLw-BQ.js → index-BoVEGKz7.js} +91 -91
- package/dist/{index-DAWSNP3G.js → index-Bu5LuO1j.js} +4 -4
- package/dist/{index-DUfYYdZ-.js → index-SNNvjtFa.js} +56 -56
- package/dist/{index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js → index.vue_vue_type_script_setup_true_lang-B1_JqsYF.js} +16 -16
- package/dist/{item-B0UPYxsB.js → item-BnOnvN8x.js} +3091 -3174
- package/dist/{iteration-CfmAZiOO.js → iteration-Csz_aSxy.js} +3 -3
- package/dist/{jszip.min-zROpry0S.js → jszip.min-B0T3I-lE.js} +329 -329
- package/dist/{menu-DAac726D.js → menu-3XEn1C9F.js} +6402 -6332
- package/dist/{menu-DpYo8dYR.js → menu-DzbYSPGP.js} +1 -1
- package/dist/{menuV2-DZj_FPqR.js → menuV2-cXg54GYW.js} +93 -93
- package/dist/mf-menu.css +1 -1
- package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +1 -1
- package/dist/{priceTier-BvDLl8v2.js → priceTier-DVd27LFd.js} +1 -1
- package/dist/{scheduler-pNUXG6En.js → scheduler-D8IgBrUX.js} +6 -6
- package/dist/{subcategory-DCDCQnAX.js → subcategory-BOpm3s8K.js} +2 -2
- package/dist/{toExcel-DqMa1Hn8.js → toExcel-BJM3fOB2.js} +2 -2
- package/dist/{unit-CuCXoWPG.js → unit-DF9d3piP.js} +151 -151
- package/dist/{vuedraggable-CK8z7qA8.js → vuedraggable-DnBIRDMr.js} +2 -2
- package/package.json +5 -5
- package/dist/ApplyProduct.vue_vue_type_script_setup_true_lang-CqGU3bJQ.js +0 -161
- package/dist/BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js +0 -74
- package/dist/MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js +0 -69
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CabQS55D.js +0 -6012
- package/dist/app-CHpw_EM1.js +0 -2101
- package/dist/apps/mf-menu/src/components/feature/RemyButton.vue.d.ts +0 -15
- package/dist/apps/mf-menu/src/components/feature/RemyDialog.vue.d.ts +0 -15
- package/dist/apps/mf-menu/src/helper/remy.d.ts +0 -5
- package/dist/assets/linked-status-CFdi7K3K.js +0 -13
- package/dist/assets/override-menu-CXOY8i3w.js +0 -13
- package/dist/assets/validate-menu-DLlrsx2f.js +0 -13
- package/dist/customAttributes-BkqKM_KW.js +0 -180
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as le, ref as $, computed as V, watch as P, resolveComponent as g, createBlock as
|
|
2
|
-
import { u as
|
|
3
|
-
import { useI18n as
|
|
1
|
+
import { defineComponent as le, ref as $, computed as V, watch as P, resolveComponent as g, createBlock as W, openBlock as y, unref as e, withCtx as p, createElementVNode as r, createVNode as l, createElementBlock as R, Fragment as ue, renderList as oe, toDisplayString as D, createCommentVNode as z, withModifiers as be } from "vue";
|
|
2
|
+
import { u as ae, I as X, D as ce, A as ge, H as re } from "./menu-3XEn1C9F.js";
|
|
3
|
+
import { useI18n as se, useCustomAttributes as ie, useCoreStore as de, EMPTY_RULE as q, isEmptyRule as me } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as ne, FmButtonVariant as E, useDialog as ye, useSnackbar as pe, useBreakpoints as he, FmButtonColorThemeVariant as te } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as ke, c as Ce, m as
|
|
6
|
-
import { _ as _e } from "./app-
|
|
7
|
-
import { b as
|
|
5
|
+
import { u as ke, c as Ce, m as K, _ as Z, a as H, f as Y } from "./customAttributes-DrA0YC82.js";
|
|
6
|
+
import { _ as _e } from "./app-CkCBPor3.js";
|
|
7
|
+
import { b as J } from "./app-CzXxFrl1.js";
|
|
8
8
|
import { u as Se } from "./discardConfirm-BHni0LNu.js";
|
|
9
|
-
import { _ as xe } from "./PageLayout.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { C as j, a as N } from "./catalogSetting-
|
|
11
|
-
import { u as we } from "./priceTier-
|
|
9
|
+
import { _ as xe } from "./PageLayout.vue_vue_type_script_setup_true_lang-vFqWGM6P.js";
|
|
10
|
+
import { C as j, a as N } from "./catalogSetting-DKvBjleU.js";
|
|
11
|
+
import { u as we } from "./priceTier-DVd27LFd.js";
|
|
12
12
|
const Re = {
|
|
13
13
|
class: "fm-typo-en-title-md-600 mr-auto"
|
|
14
14
|
}, Ae = {
|
|
@@ -32,12 +32,12 @@ const Re = {
|
|
|
32
32
|
editingGroup: {}
|
|
33
33
|
},
|
|
34
34
|
emits: ["update:modelValue", "submit"],
|
|
35
|
-
setup(
|
|
36
|
-
emit:
|
|
35
|
+
setup(Q, {
|
|
36
|
+
emit: u
|
|
37
37
|
}) {
|
|
38
|
-
const S =
|
|
38
|
+
const S = Q, G = u, {
|
|
39
39
|
t: i
|
|
40
|
-
} =
|
|
40
|
+
} = se(), A = ae(), t = $({
|
|
41
41
|
name: "",
|
|
42
42
|
description: "",
|
|
43
43
|
rules: []
|
|
@@ -62,59 +62,59 @@ const Re = {
|
|
|
62
62
|
categories: V(() => A.categories || [])
|
|
63
63
|
}), x = V({
|
|
64
64
|
get: () => S.modelValue,
|
|
65
|
-
set: (
|
|
65
|
+
set: (o) => G("update:modelValue", o)
|
|
66
66
|
}), L = $(null);
|
|
67
|
-
P(() => S.editingGroup, (
|
|
68
|
-
|
|
69
|
-
name:
|
|
70
|
-
description:
|
|
71
|
-
rules:
|
|
72
|
-
...
|
|
73
|
-
restaurantRule:
|
|
74
|
-
restaurantAttributes:
|
|
75
|
-
restaurantCustomAttributes:
|
|
67
|
+
P(() => S.editingGroup, (o) => {
|
|
68
|
+
o ? t.value = {
|
|
69
|
+
name: o.name,
|
|
70
|
+
description: o.description,
|
|
71
|
+
rules: o.rules.map((s) => ({
|
|
72
|
+
...s,
|
|
73
|
+
restaurantRule: s.restaurantRule ? {
|
|
74
|
+
restaurantAttributes: K(s.restaurantRule.restaurantAttributes),
|
|
75
|
+
restaurantCustomAttributes: K(s.restaurantRule.restaurantCustomAttributes)
|
|
76
76
|
} : void 0,
|
|
77
|
-
itemRule:
|
|
78
|
-
itemAttributes: T(
|
|
79
|
-
itemCustomAttributes:
|
|
77
|
+
itemRule: s.itemRule ? {
|
|
78
|
+
itemAttributes: T(K(s.itemRule.itemAttributes)),
|
|
79
|
+
itemCustomAttributes: K(s.itemRule.itemCustomAttributes)
|
|
80
80
|
} : void 0
|
|
81
81
|
}))
|
|
82
82
|
} : t.value = {
|
|
83
83
|
name: "",
|
|
84
84
|
description: "",
|
|
85
85
|
rules: []
|
|
86
|
-
}, L.value =
|
|
86
|
+
}, L.value = X.cloneDeep(t.value);
|
|
87
87
|
}, {
|
|
88
88
|
immediate: !0
|
|
89
|
-
}), P(() => S.modelValue, (
|
|
90
|
-
|
|
89
|
+
}), P(() => S.modelValue, (o) => {
|
|
90
|
+
o || (t.value = {
|
|
91
91
|
name: "",
|
|
92
92
|
description: "",
|
|
93
93
|
rules: []
|
|
94
94
|
});
|
|
95
95
|
});
|
|
96
|
-
function U(
|
|
97
|
-
return `${
|
|
96
|
+
function U(o) {
|
|
97
|
+
return `${o}_${(/* @__PURE__ */ new Date()).toISOString()}`;
|
|
98
98
|
}
|
|
99
99
|
async function _() {
|
|
100
|
-
var
|
|
101
|
-
const
|
|
102
|
-
_id: ((
|
|
100
|
+
var s;
|
|
101
|
+
const o = {
|
|
102
|
+
_id: ((s = S.editingGroup) == null ? void 0 : s._id) ?? U("group"),
|
|
103
103
|
name: t.value.name,
|
|
104
104
|
description: t.value.description,
|
|
105
|
-
rules: t.value.rules.map((
|
|
106
|
-
_id:
|
|
107
|
-
restaurantRule:
|
|
108
|
-
restaurantAttributes:
|
|
109
|
-
restaurantCustomAttributes:
|
|
105
|
+
rules: t.value.rules.map((a) => ({
|
|
106
|
+
_id: a._id,
|
|
107
|
+
restaurantRule: a.restaurantRule ? {
|
|
108
|
+
restaurantAttributes: Y(a.restaurantRule.restaurantAttributes),
|
|
109
|
+
restaurantCustomAttributes: Y(a.restaurantRule.restaurantCustomAttributes)
|
|
110
110
|
} : void 0,
|
|
111
|
-
itemRule:
|
|
112
|
-
itemAttributes:
|
|
113
|
-
itemCustomAttributes:
|
|
111
|
+
itemRule: a.itemRule ? {
|
|
112
|
+
itemAttributes: Y(I(a.itemRule.itemAttributes)),
|
|
113
|
+
itemCustomAttributes: Y(a.itemRule.itemCustomAttributes)
|
|
114
114
|
} : void 0
|
|
115
115
|
}))
|
|
116
116
|
};
|
|
117
|
-
G("submit",
|
|
117
|
+
G("submit", o);
|
|
118
118
|
}
|
|
119
119
|
function m() {
|
|
120
120
|
t.value.rules.push({
|
|
@@ -129,26 +129,26 @@ const Re = {
|
|
|
129
129
|
}
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
|
-
function v(
|
|
133
|
-
t.value.rules.splice(
|
|
132
|
+
function v(o) {
|
|
133
|
+
t.value.rules.splice(o, 1);
|
|
134
134
|
}
|
|
135
|
-
function C(
|
|
136
|
-
t.value.rules[
|
|
135
|
+
function C(o, s, a) {
|
|
136
|
+
t.value.rules[o].restaurantRule || (t.value.rules[o].restaurantRule = {}), me(s) ? t.value.rules[o].restaurantRule[a] = null : t.value.rules[o].restaurantRule[a] = s;
|
|
137
137
|
}
|
|
138
|
-
function n(
|
|
139
|
-
t.value.rules[
|
|
138
|
+
function n(o, s, a) {
|
|
139
|
+
t.value.rules[o].itemRule || (t.value.rules[o].itemRule = {}), me(s) ? t.value.rules[o].itemRule[a] = null : t.value.rules[o].itemRule[a] = s;
|
|
140
140
|
}
|
|
141
141
|
function c() {
|
|
142
142
|
x.value = !1;
|
|
143
143
|
}
|
|
144
|
-
const f = Se(() => !
|
|
144
|
+
const f = Se(() => !X.isEqual(L.value, t.value), () => {
|
|
145
145
|
x.value = !1;
|
|
146
146
|
});
|
|
147
|
-
return (
|
|
148
|
-
const
|
|
149
|
-
return y(),
|
|
147
|
+
return (o, s) => {
|
|
148
|
+
const a = g("fm-button"), d = g("FmTextField"), ee = g("FmCard"), ve = g("FmFormGroup"), fe = g("fm-side-sheet");
|
|
149
|
+
return y(), W(fe, {
|
|
150
150
|
modelValue: x.value,
|
|
151
|
-
"onUpdate:modelValue":
|
|
151
|
+
"onUpdate:modelValue": s[3] || (s[3] = (b) => x.value = b),
|
|
152
152
|
"is-container": e(ne).FmForm,
|
|
153
153
|
"is-container-props": {
|
|
154
154
|
onValidationSuccess: _,
|
|
@@ -157,31 +157,31 @@ const Re = {
|
|
|
157
157
|
"max-width": 760,
|
|
158
158
|
"onOn:clickedAway": e(f)
|
|
159
159
|
}, {
|
|
160
|
-
"side-sheet-header": p(() => [l(
|
|
160
|
+
"side-sheet-header": p(() => [l(a, {
|
|
161
161
|
variant: e(E).Tertiary,
|
|
162
162
|
class: "cursor-pointer mr-4",
|
|
163
163
|
"prepend-icon": "arrow_back",
|
|
164
|
-
onClick:
|
|
165
|
-
}, null, 8, ["variant"]), r("p", Re, D(
|
|
166
|
-
"side-sheet-footer": p(() => [r("div", $e, [l(
|
|
164
|
+
onClick: s[0] || (s[0] = () => x.value = !1)
|
|
165
|
+
}, null, 8, ["variant"]), r("p", Re, D(Q.editingGroup ? e(i)("menu.rule_groups.edit_group") : e(i)("menu.rule_groups.create_group")), 1)]),
|
|
166
|
+
"side-sheet-footer": p(() => [r("div", $e, [l(a, {
|
|
167
167
|
label: e(i)("common.save"),
|
|
168
168
|
size: "lg",
|
|
169
169
|
type: "submit",
|
|
170
170
|
variant: "primary"
|
|
171
|
-
}, null, 8, ["label"]), l(
|
|
171
|
+
}, null, 8, ["label"]), l(a, {
|
|
172
172
|
label: e(i)("common.cancel"),
|
|
173
173
|
size: "lg",
|
|
174
174
|
variant: "tertiary",
|
|
175
175
|
onClick: c
|
|
176
176
|
}, null, 8, ["label"])])]),
|
|
177
|
-
default: p(() => [r("div", Ae, [l(
|
|
177
|
+
default: p(() => [r("div", Ae, [l(Z, {
|
|
178
178
|
title: e(i)("menu.rule_groups.form.basic_info")
|
|
179
179
|
}, {
|
|
180
180
|
default: p(() => [r("div", Te, [l(d, {
|
|
181
181
|
label: e(i)("menu.rule_groups.form.name"),
|
|
182
182
|
"label-mark": "required",
|
|
183
183
|
modelValue: t.value.name,
|
|
184
|
-
"onUpdate:modelValue":
|
|
184
|
+
"onUpdate:modelValue": s[1] || (s[1] = (b) => t.value.name = b),
|
|
185
185
|
placeholder: e(i)("menu.rule_groups.form.name_placeholder"),
|
|
186
186
|
required: "",
|
|
187
187
|
rules: [(b) => !!(b != null && b.trim()) || e(i)("menu.rule_groups.validation.name_required")]
|
|
@@ -189,7 +189,7 @@ const Re = {
|
|
|
189
189
|
label: e(i)("menu.rule_groups.form.description"),
|
|
190
190
|
"label-mark": "optional",
|
|
191
191
|
modelValue: t.value.description,
|
|
192
|
-
"onUpdate:modelValue":
|
|
192
|
+
"onUpdate:modelValue": s[2] || (s[2] = (b) => t.value.description = b),
|
|
193
193
|
placeholder: e(i)("menu.rule_groups.form.description_placeholder"),
|
|
194
194
|
multiline: "",
|
|
195
195
|
rows: 3
|
|
@@ -200,70 +200,70 @@ const Re = {
|
|
|
200
200
|
"model-value": t.value.rules,
|
|
201
201
|
rules: [(b) => b.length > 0 || e(i)("menu.rule_groups.validation.at_least_one_rule_required")]
|
|
202
202
|
}, {
|
|
203
|
-
default: p(() => [l(
|
|
203
|
+
default: p(() => [l(Z, {
|
|
204
204
|
title: e(i)("menu.rule_groups.form.rules"),
|
|
205
205
|
"sub-title": e(i)("menu.rule_groups.form.rules_description")
|
|
206
206
|
}, {
|
|
207
|
-
default: p(() => [(y(!0), R(ue, null, oe(t.value.rules, (b, O) => (y(),
|
|
207
|
+
default: p(() => [(y(!0), R(ue, null, oe(t.value.rules, (b, O) => (y(), W(ee, {
|
|
208
208
|
key: O,
|
|
209
209
|
class: "p-16 space-y-16",
|
|
210
210
|
variant: "outlined"
|
|
211
211
|
}, {
|
|
212
|
-
default: p(() => [r("div", Ve, [r("div", Fe, [l(
|
|
212
|
+
default: p(() => [r("div", Ve, [r("div", Fe, [l(H, {
|
|
213
213
|
label: e(i)("menu.link_product.rules.restaurant_filter")
|
|
214
214
|
}, {
|
|
215
215
|
default: p(() => {
|
|
216
216
|
var w;
|
|
217
|
-
return [l(e(
|
|
217
|
+
return [l(e(J), {
|
|
218
218
|
attributes: e(h),
|
|
219
|
-
"model-value": ((w = b.restaurantRule) == null ? void 0 : w.restaurantAttributes) || e(
|
|
219
|
+
"model-value": ((w = b.restaurantRule) == null ? void 0 : w.restaurantAttributes) || e(q),
|
|
220
220
|
"onUpdate:modelValue": (B) => C(O, B, "restaurantAttributes")
|
|
221
221
|
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])];
|
|
222
222
|
}),
|
|
223
223
|
_: 2
|
|
224
|
-
}, 1032, ["label"]), l(
|
|
224
|
+
}, 1032, ["label"]), l(H, {
|
|
225
225
|
label: e(i)("menu.link_product.rules.restaurant_custom_attributes_filter")
|
|
226
226
|
}, {
|
|
227
227
|
default: p(() => {
|
|
228
228
|
var w;
|
|
229
|
-
return [l(e(
|
|
229
|
+
return [l(e(J), {
|
|
230
230
|
attributes: e(k),
|
|
231
|
-
"model-value": ((w = b.restaurantRule) == null ? void 0 : w.restaurantCustomAttributes) || e(
|
|
231
|
+
"model-value": ((w = b.restaurantRule) == null ? void 0 : w.restaurantCustomAttributes) || e(q),
|
|
232
232
|
"onUpdate:modelValue": (B) => C(O, B, "restaurantCustomAttributes")
|
|
233
233
|
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])];
|
|
234
234
|
}),
|
|
235
235
|
_: 2
|
|
236
|
-
}, 1032, ["label"]), l(
|
|
236
|
+
}, 1032, ["label"]), l(H, {
|
|
237
237
|
label: e(i)("menu.link_product.rules.item_filter")
|
|
238
238
|
}, {
|
|
239
239
|
default: p(() => {
|
|
240
240
|
var w;
|
|
241
|
-
return [l(e(
|
|
241
|
+
return [l(e(J), {
|
|
242
242
|
attributes: e(M),
|
|
243
|
-
"model-value": ((w = b.itemRule) == null ? void 0 : w.itemAttributes) || e(
|
|
243
|
+
"model-value": ((w = b.itemRule) == null ? void 0 : w.itemAttributes) || e(q),
|
|
244
244
|
"onUpdate:modelValue": (B) => n(O, B, "itemAttributes")
|
|
245
245
|
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])];
|
|
246
246
|
}),
|
|
247
247
|
_: 2
|
|
248
|
-
}, 1032, ["label"]), l(
|
|
248
|
+
}, 1032, ["label"]), l(H, {
|
|
249
249
|
label: e(i)("menu.link_product.rules.item_custom_attributes_filter")
|
|
250
250
|
}, {
|
|
251
251
|
default: p(() => {
|
|
252
252
|
var w;
|
|
253
|
-
return [l(e(
|
|
253
|
+
return [l(e(J), {
|
|
254
254
|
attributes: e(F),
|
|
255
|
-
"model-value": ((w = b.itemRule) == null ? void 0 : w.itemCustomAttributes) || e(
|
|
255
|
+
"model-value": ((w = b.itemRule) == null ? void 0 : w.itemCustomAttributes) || e(q),
|
|
256
256
|
"onUpdate:modelValue": (B) => n(O, B, "itemCustomAttributes")
|
|
257
257
|
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])];
|
|
258
258
|
}),
|
|
259
259
|
_: 2
|
|
260
|
-
}, 1032, ["label"])])]), r("div", Ue, [l(
|
|
260
|
+
}, 1032, ["label"])])]), r("div", Ue, [l(a, {
|
|
261
261
|
variant: e(E).Tertiary,
|
|
262
262
|
"prepend-icon": "delete",
|
|
263
263
|
onClick: (w) => v(O)
|
|
264
264
|
}, null, 8, ["variant", "onClick"])])]),
|
|
265
265
|
_: 2
|
|
266
|
-
}, 1024))), 128)), r("div", null, [l(
|
|
266
|
+
}, 1024))), 128)), r("div", null, [l(a, {
|
|
267
267
|
label: e(i)("menu.link_product.rules.add_rule"),
|
|
268
268
|
onClick: m
|
|
269
269
|
}, null, 8, ["label"])])]),
|
|
@@ -306,10 +306,10 @@ const Re = {
|
|
|
306
306
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
307
307
|
}, He = /* @__PURE__ */ le({
|
|
308
308
|
__name: "LinkProductRuleGroups",
|
|
309
|
-
setup(
|
|
309
|
+
setup(Q) {
|
|
310
310
|
const {
|
|
311
|
-
t:
|
|
312
|
-
} =
|
|
311
|
+
t: u
|
|
312
|
+
} = se(), S = ye(), G = pe(), i = ce(G), A = ae(), t = $(A.state.menu.ruleGroupSettings || {
|
|
313
313
|
groups: []
|
|
314
314
|
});
|
|
315
315
|
P(() => A.state.menu.ruleGroupSettings, (n) => {
|
|
@@ -320,11 +320,11 @@ const Re = {
|
|
|
320
320
|
deep: !0
|
|
321
321
|
});
|
|
322
322
|
const k = $(!1), F = $(null), h = he(), M = V(() => h.breakpoints.value.xs), T = $(""), I = V(() => t.value.groups.filter((n) => n.name.toLowerCase().includes(T.value.toLowerCase()))), x = [{
|
|
323
|
-
header:
|
|
323
|
+
header: u("menu.rule_groups.table.columns.name"),
|
|
324
324
|
accessorKey: "name",
|
|
325
325
|
enableSorting: !0
|
|
326
326
|
}, {
|
|
327
|
-
header:
|
|
327
|
+
header: u("menu.rule_groups.table.columns.description"),
|
|
328
328
|
accessorKey: "description",
|
|
329
329
|
enableSorting: !1
|
|
330
330
|
}, {
|
|
@@ -353,22 +353,22 @@ const Re = {
|
|
|
353
353
|
function m(n) {
|
|
354
354
|
const c = t.value.groups.find((f) => f._id === n);
|
|
355
355
|
c && S.open({
|
|
356
|
-
title:
|
|
357
|
-
message:
|
|
356
|
+
title: u("menu.rule_groups.delete_dialog.title"),
|
|
357
|
+
message: u("menu.rule_groups.delete_dialog.message", {
|
|
358
358
|
name: c.name
|
|
359
359
|
}),
|
|
360
360
|
primaryActions: {
|
|
361
|
-
text:
|
|
361
|
+
text: u("menu.common.actions.remove"),
|
|
362
362
|
close: !1,
|
|
363
363
|
variant: E.Destructive
|
|
364
364
|
},
|
|
365
365
|
secondaryActions: {
|
|
366
|
-
text:
|
|
366
|
+
text: u("menu.common.actions.cancel"),
|
|
367
367
|
close: !0
|
|
368
368
|
}
|
|
369
369
|
}).onPrimary(async () => {
|
|
370
|
-
const f =
|
|
371
|
-
f.groups = f.groups.filter((
|
|
370
|
+
const f = X.cloneDeep(t.value);
|
|
371
|
+
f.groups = f.groups.filter((o) => o._id !== n), await v(f), S.close();
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
374
|
async function v(n) {
|
|
@@ -377,49 +377,49 @@ const Re = {
|
|
|
377
377
|
ruleGroupSettings: n
|
|
378
378
|
});
|
|
379
379
|
}, {
|
|
380
|
-
successMessage:
|
|
380
|
+
successMessage: u("menu.rule_groups.saved_successfully")
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
383
|
async function C(n) {
|
|
384
|
-
var
|
|
385
|
-
const c = (
|
|
384
|
+
var o;
|
|
385
|
+
const c = (o = t.value.groups) == null ? void 0 : o.findIndex((s) => s._id === n._id), f = X.cloneDeep(t.value);
|
|
386
386
|
c >= 0 ? f.groups[c] = n : f.groups.push(n), await v(f), k.value = !1;
|
|
387
387
|
}
|
|
388
388
|
return P(() => k.value, (n) => {
|
|
389
389
|
n || (F.value = null);
|
|
390
390
|
}), (n, c) => {
|
|
391
|
-
const f = g("FmButton"),
|
|
392
|
-
return y(), R("div", null, [M.value ? (y(), R("div", Le, [r("div", Oe, [r("div", je, [l(
|
|
391
|
+
const f = g("FmButton"), o = g("FmSearch"), s = g("FmTable");
|
|
392
|
+
return y(), R("div", null, [M.value ? (y(), R("div", Le, [r("div", Oe, [r("div", je, [l(o, {
|
|
393
393
|
modelValue: T.value,
|
|
394
|
-
"onUpdate:modelValue": c[1] || (c[1] = (
|
|
394
|
+
"onUpdate:modelValue": c[1] || (c[1] = (a) => T.value = a),
|
|
395
395
|
autofocus: "",
|
|
396
396
|
class: "w-full",
|
|
397
|
-
placeholder: e(
|
|
397
|
+
placeholder: e(u)("menu.rule_groups.search_placeholder")
|
|
398
398
|
}, null, 8, ["modelValue", "placeholder"])]), l(f, {
|
|
399
399
|
icon: "add",
|
|
400
400
|
variant: e(E).Secondary,
|
|
401
401
|
onClick: U
|
|
402
|
-
}, null, 8, ["variant"])]), r("div", ze, [(y(!0), R(ue, null, oe(I.value, (
|
|
403
|
-
key:
|
|
402
|
+
}, null, 8, ["variant"])]), r("div", ze, [(y(!0), R(ue, null, oe(I.value, (a) => (y(), R("div", {
|
|
403
|
+
key: a._id,
|
|
404
404
|
class: "flex flex-row py-12 px-16 cursor-pointer",
|
|
405
|
-
onClick: (d) => _(
|
|
406
|
-
}, [r("div", Qe, [r("p", qe, D(
|
|
405
|
+
onClick: (d) => _(a)
|
|
406
|
+
}, [r("div", Qe, [r("p", qe, D(a.name), 1), a.description ? (y(), R("p", Ke, D(a.description), 1)) : z("", !0)]), l(f, {
|
|
407
407
|
"text-color": e(te).NeutralGray400,
|
|
408
408
|
variant: e(E).Tertiary,
|
|
409
409
|
icon: "delete",
|
|
410
|
-
onClick: be((d) => m(
|
|
411
|
-
}, null, 8, ["text-color", "variant", "onClick"])], 8, Pe))), 128))])])) : (y(), R("div", Me, [r("div", Ie, [r("div", null, [r("h1", Be, D(e(
|
|
412
|
-
label: e(
|
|
410
|
+
onClick: be((d) => m(a._id), ["stop"])
|
|
411
|
+
}, null, 8, ["text-color", "variant", "onClick"])], 8, Pe))), 128))])])) : (y(), R("div", Me, [r("div", Ie, [r("div", null, [r("h1", Be, D(e(u)("menu.rule_groups.title")), 1), r("p", Ne, D(e(u)("menu.rule_groups.description")), 1)]), l(f, {
|
|
412
|
+
label: e(u)("menu.rule_groups.create_group"),
|
|
413
413
|
icon: "add",
|
|
414
414
|
onClick: U
|
|
415
|
-
}, null, 8, ["label"])]), r("div", De, [r("div", Ee, [l(
|
|
415
|
+
}, null, 8, ["label"])]), r("div", De, [r("div", Ee, [l(o, {
|
|
416
416
|
modelValue: T.value,
|
|
417
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
417
|
+
"onUpdate:modelValue": c[0] || (c[0] = (a) => T.value = a),
|
|
418
418
|
autofocus: "",
|
|
419
419
|
class: "mb-8",
|
|
420
|
-
placeholder: e(
|
|
420
|
+
placeholder: e(u)("menu.rule_groups.search_placeholder")
|
|
421
421
|
}, null, 8, ["modelValue", "placeholder"])])]), l(_e, null, {
|
|
422
|
-
default: p(() => [l(
|
|
422
|
+
default: p(() => [l(s, {
|
|
423
423
|
"column-defs": x,
|
|
424
424
|
"row-data": I.value,
|
|
425
425
|
"page-size": I.value.length,
|
|
@@ -429,7 +429,7 @@ const Re = {
|
|
|
429
429
|
_: 1
|
|
430
430
|
})])), l(Ge, {
|
|
431
431
|
modelValue: k.value,
|
|
432
|
-
"onUpdate:modelValue": c[2] || (c[2] = (
|
|
432
|
+
"onUpdate:modelValue": c[2] || (c[2] = (a) => k.value = a),
|
|
433
433
|
"editing-group": F.value,
|
|
434
434
|
onSubmit: C
|
|
435
435
|
}, null, 8, ["modelValue", "editing-group"])]);
|
|
@@ -457,22 +457,22 @@ const Re = {
|
|
|
457
457
|
key: 2
|
|
458
458
|
}, vt = /* @__PURE__ */ le({
|
|
459
459
|
__name: "MenuSetting",
|
|
460
|
-
setup(
|
|
460
|
+
setup(Q) {
|
|
461
461
|
var U;
|
|
462
462
|
const {
|
|
463
|
-
t:
|
|
464
|
-
} =
|
|
463
|
+
t: u
|
|
464
|
+
} = se(), S = ae(), G = de(), i = pe(), A = ce(i), t = V(() => ({
|
|
465
465
|
lowStock: S.state.menu.lowStockThreshold,
|
|
466
466
|
taxSetting: S.state.menu.masterCatalogSetting,
|
|
467
467
|
priceTierSettings: S.state.menu.priceTierSettings
|
|
468
468
|
})), k = $("conf"), F = V(() => [{
|
|
469
|
-
label:
|
|
469
|
+
label: u("menu.menu_setting.tabs.menu_configuration"),
|
|
470
470
|
value: "conf"
|
|
471
471
|
}, ...S.isV4 ? [{
|
|
472
|
-
label:
|
|
472
|
+
label: u("menu.menu_setting.tabs.price_group"),
|
|
473
473
|
value: "price-group"
|
|
474
474
|
}, {
|
|
475
|
-
label:
|
|
475
|
+
label: u("menu.menu_setting.tabs.link_product_rule_groups"),
|
|
476
476
|
value: "link-product-rule-groups"
|
|
477
477
|
}] : []]), h = $(j.transformTax((U = t.value.taxSetting) == null ? void 0 : U.inclusiveTaxes));
|
|
478
478
|
P(() => t.value, (_) => {
|
|
@@ -510,11 +510,11 @@ const Re = {
|
|
|
510
510
|
priceTierSettings: x.priceTiers.value
|
|
511
511
|
});
|
|
512
512
|
}, {
|
|
513
|
-
successMessage:
|
|
513
|
+
successMessage: u("menu.menu_setting.fields.low_stock.updated")
|
|
514
514
|
});
|
|
515
515
|
}
|
|
516
516
|
const x = we(), L = [{
|
|
517
|
-
header:
|
|
517
|
+
header: u("menu.price_tier.settings_table.columns.name"),
|
|
518
518
|
accessorKey: "key",
|
|
519
519
|
enableSorting: !1
|
|
520
520
|
}, {
|
|
@@ -530,19 +530,19 @@ const Re = {
|
|
|
530
530
|
}, null)])
|
|
531
531
|
}];
|
|
532
532
|
return (_, m) => {
|
|
533
|
-
const v = g("FmTabs"), C = g("fm-radio"), n = g("fm-radio-group"), c = g("fm-checkbox"), f = g("FormItem"),
|
|
534
|
-
return y(),
|
|
535
|
-
heading: e(
|
|
533
|
+
const v = g("FmTabs"), C = g("fm-radio"), n = g("fm-radio-group"), c = g("fm-checkbox"), f = g("FormItem"), o = g("FmStepperField"), s = g("FmButton"), a = g("FmTable");
|
|
534
|
+
return y(), W(xe, {
|
|
535
|
+
heading: e(u)("menu.menu_setting.title")
|
|
536
536
|
}, {
|
|
537
537
|
default: p(() => [l(v, {
|
|
538
538
|
items: F.value,
|
|
539
539
|
modelValue: k.value,
|
|
540
540
|
"onUpdate:modelValue": m[0] || (m[0] = (d) => k.value = d)
|
|
541
|
-
}, null, 8, ["items", "modelValue"]), r("div", Ye, [k.value === "conf" ? (y(), R("div", Je, [l(
|
|
541
|
+
}, null, 8, ["items", "modelValue"]), r("div", Ye, [k.value === "conf" ? (y(), R("div", Je, [l(Z, {
|
|
542
542
|
title: "Tax setting"
|
|
543
543
|
}, {
|
|
544
544
|
default: p(() => [l(f, {
|
|
545
|
-
label: e(
|
|
545
|
+
label: e(u)("menu.setting.tax.title")
|
|
546
546
|
}, {
|
|
547
547
|
default: p(() => [l(n, {
|
|
548
548
|
"model-value": h.value.mode,
|
|
@@ -552,15 +552,15 @@ const Re = {
|
|
|
552
552
|
}, {
|
|
553
553
|
default: p(() => [l(C, {
|
|
554
554
|
value: e(N).AUTO,
|
|
555
|
-
label: e(
|
|
556
|
-
sublabel: e(
|
|
555
|
+
label: e(u)("menu.setting.tax.modes.auto.label"),
|
|
556
|
+
sublabel: e(u)("menu.setting.tax.modes.auto.sublabel")
|
|
557
557
|
}, null, 8, ["value", "label", "sublabel"]), l(C, {
|
|
558
558
|
value: e(N).MANUAL,
|
|
559
|
-
label: e(
|
|
560
|
-
sublabel: e(
|
|
559
|
+
label: e(u)("menu.setting.tax.modes.manual.label"),
|
|
560
|
+
sublabel: e(u)("menu.setting.tax.modes.manual.sublabel")
|
|
561
561
|
}, null, 8, ["value", "label", "sublabel"])]),
|
|
562
562
|
_: 1
|
|
563
|
-
}, 8, ["model-value"]), h.value.mode === e(N).MANUAL ? (y(), R("div", We, [(y(!0), R(ue, null, oe(M.value, (d) => (y(),
|
|
563
|
+
}, 8, ["model-value"]), h.value.mode === e(N).MANUAL ? (y(), R("div", We, [(y(!0), R(ue, null, oe(M.value, (d) => (y(), W(c, {
|
|
564
564
|
key: d.systemCode,
|
|
565
565
|
"model-value": d.inclusive,
|
|
566
566
|
value: !0,
|
|
@@ -575,32 +575,32 @@ const Re = {
|
|
|
575
575
|
_: 1
|
|
576
576
|
}, 8, ["label"])]),
|
|
577
577
|
_: 1
|
|
578
|
-
}), l(
|
|
579
|
-
title: e(
|
|
580
|
-
"sub-title": e(
|
|
578
|
+
}), l(Z, {
|
|
579
|
+
title: e(u)("menu.menu_setting.fields.low_stock.title"),
|
|
580
|
+
"sub-title": e(u)("menu.menu_setting.fields.low_stock.subtitle")
|
|
581
581
|
}, {
|
|
582
|
-
default: p(() => [l(
|
|
582
|
+
default: p(() => [l(o, {
|
|
583
583
|
"model-value": t.value.lowStock || null,
|
|
584
584
|
min: 0,
|
|
585
585
|
max: 1e3,
|
|
586
586
|
step: 1,
|
|
587
|
-
placeholder: e(
|
|
587
|
+
placeholder: e(u)("menu.menu_setting.fields.low_stock.not_set"),
|
|
588
588
|
"onUpdate:modelValue": m[2] || (m[2] = (d) => {
|
|
589
589
|
t.value.lowStock = d;
|
|
590
590
|
}),
|
|
591
|
-
rules: [(d) => d === null || Number.isInteger(d) || e(
|
|
592
|
-
"helper-text": e(
|
|
591
|
+
rules: [(d) => d === null || Number.isInteger(d) || e(u)("menu.menu_setting.fields.low_stock.must_be_integer")],
|
|
592
|
+
"helper-text": e(u)("menu.menu_setting.fields.low_stock.helper_text")
|
|
593
593
|
}, null, 8, ["model-value", "placeholder", "rules", "helper-text"])]),
|
|
594
594
|
_: 1
|
|
595
|
-
}, 8, ["title", "sub-title"]), l(
|
|
595
|
+
}, 8, ["title", "sub-title"]), l(s, {
|
|
596
596
|
onClick: I,
|
|
597
|
-
label: e(
|
|
598
|
-
}, null, 8, ["label"])])) : z("", !0), k.value === "price-group" ? (y(), R("div", Xe, [r("div", Ze, [r("div", et, [r("div", null, [r("h1", tt, D(e(
|
|
599
|
-
label: e(
|
|
597
|
+
label: e(u)("common.save")
|
|
598
|
+
}, null, 8, ["label"])])) : z("", !0), k.value === "price-group" ? (y(), R("div", Xe, [r("div", Ze, [r("div", et, [r("div", null, [r("h1", tt, D(e(u)("menu.price_tier.price_group")), 1), r("p", lt, D(e(u)("menu.price_tier.description")), 1)]), l(s, {
|
|
599
|
+
label: e(u)("menu.price_tier.add_price_group"),
|
|
600
600
|
icon: "add",
|
|
601
601
|
onClick: e(x).create
|
|
602
602
|
}, null, 8, ["label", "onClick"])]), l(_e, null, {
|
|
603
|
-
default: p(() => [l(
|
|
603
|
+
default: p(() => [l(a, {
|
|
604
604
|
"column-defs": L,
|
|
605
605
|
"row-data": e(x).priceTiers.value,
|
|
606
606
|
"page-size": e(x).priceTiers.value.length,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as a, createElementBlock as l, openBlock as r, normalizeClass as t, createElementVNode as s, renderSlot as o, toDisplayString as c } from "vue";
|
|
2
2
|
const d = {
|
|
3
3
|
class: /* @__PURE__ */ t([
|
|
4
4
|
"flex flex-col",
|
|
@@ -7,22 +7,22 @@ const d = {
|
|
|
7
7
|
"min-h-[calc(100dvh-56px)]",
|
|
8
8
|
"xs:max-h-[calc(100dvh-56px)]"
|
|
9
9
|
])
|
|
10
|
-
},
|
|
10
|
+
}, i = {
|
|
11
11
|
class: /* @__PURE__ */ t([
|
|
12
12
|
"flex items-center",
|
|
13
13
|
"mb-24 xs:mb-0 xs:p-16",
|
|
14
14
|
"xs:border-b border-fm-color-neutral-gray-100"
|
|
15
15
|
])
|
|
16
|
-
},
|
|
16
|
+
}, p = { class: "fm-typo-en-title-md-600" }, f = /* @__PURE__ */ a({
|
|
17
17
|
__name: "PageLayout",
|
|
18
18
|
props: {
|
|
19
19
|
heading: {}
|
|
20
20
|
},
|
|
21
|
-
setup(
|
|
22
|
-
return (e, m) => (
|
|
23
|
-
s("div",
|
|
21
|
+
setup(n) {
|
|
22
|
+
return (e, m) => (r(), l("div", d, [
|
|
23
|
+
s("div", i, [
|
|
24
24
|
o(e.$slots, "prepend-heading"),
|
|
25
|
-
s("h1",
|
|
25
|
+
s("h1", p, c(n.heading), 1),
|
|
26
26
|
o(e.$slots, "append-heading")
|
|
27
27
|
]),
|
|
28
28
|
o(e.$slots, "default")
|
|
@@ -30,5 +30,5 @@ const d = {
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
export {
|
|
33
|
-
_
|
|
33
|
+
f as _
|
|
34
34
|
};
|
|
@@ -2,13 +2,13 @@ import { defineComponent as J, ref as T, computed as f, resolveComponent as g, c
|
|
|
2
2
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as W, useSnackbar as te, useDialog as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as ae } from "./app-
|
|
6
|
-
import { H as j, I as le, J as Y, z as C, u as re, O as se, D as ie } from "./menu-
|
|
7
|
-
import { _ as H } from "./customAttributes-
|
|
5
|
+
import { _ as ae } from "./app-CkCBPor3.js";
|
|
6
|
+
import { H as j, I as le, J as Y, z as C, u as re, O as se, D as ie } from "./menu-3XEn1C9F.js";
|
|
7
|
+
import { _ as H } from "./customAttributes-DrA0YC82.js";
|
|
8
8
|
import { u as ue } from "./discardConfirm-BHni0LNu.js";
|
|
9
|
-
import { L as de } from "./LinkProductSideSheet-
|
|
10
|
-
import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as me } from "./PageLayout.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { L as de } from "./LinkProductSideSheet-DrSKOBLg.js";
|
|
10
|
+
import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-B1_JqsYF.js";
|
|
11
|
+
import { _ as me } from "./PageLayout.vue_vue_type_script_setup_true_lang-vFqWGM6P.js";
|
|
12
12
|
const pe = { class: "fm-typo-en-title-md-600" }, _e = { class: "space-y-32" }, fe = { class: "space-y-16" }, ve = { class: "flex items-center gap-8" }, ye = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ge = { class: "flex-1" }, he = { class: "grow overflow-y-auto" }, be = { 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" }, ke = { class: "py-8" }, Fe = { class: "flex gap-8 items-center justify-start" }, Ie = /* @__PURE__ */ J({
|
|
13
13
|
__name: "PrintDepartmentDialog",
|
|
14
14
|
props: {
|