@feedmepos/mf-menu 0.31.31-beta.1 → 0.31.31-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-1TX8v7ZA.js → App-Cvgz2kQV.js} +22 -24
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CR7QrFUG.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Bq84uuiq.js} +22 -22
- package/dist/{Catalog-DWClc58s.js → Catalog-Ye-KpQ31.js} +74 -75
- package/dist/{Category-BqKFvFam.js → Category-BPChBqVR.js} +60 -60
- package/dist/{Category-IYMtMoT-.js → Category-CHcxix2b.js} +28 -28
- package/dist/{CookingGuide-BayJ6zj4.js → CookingGuide-DgygBSoB.js} +101 -103
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Ceq86b3d.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-ClV6LD2-.js} +1 -1
- package/dist/{Group-LqSX7ue6.js → Group-223G1Edd.js} +1 -1
- package/dist/{Group-RujTPTns.js → Group-B7EU1xmY.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-Dj9ZmkYe.js → Group.vue_vue_type_script_setup_true_lang-CAZuyOPy.js} +137 -138
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D5GWkh3G.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CdjRWC9z.js} +13 -13
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-C4IrA3es.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BRQm-UTk.js} +5067 -5049
- package/dist/{Ingredient-_tc8llr1.js → Ingredient-Dl1Z5Qt2.js} +64 -65
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DLFDf-VZ.js → InventoryBinding.vue_vue_type_script_setup_true_lang-CxuQTH0k.js} +1061 -1063
- package/dist/{LinkProductSideSheet-C6rF-G1v.js → LinkProductSideSheet-Y-Z9_9Kp.js} +12 -14
- package/dist/{MenuSetting-xDHeeROY.js → MenuSetting-Be44fmVj.js} +26 -27
- package/dist/{PrintRoute-B_TFMn5e.js → PrintRoute-BURAEZ6X.js} +15 -17
- package/dist/{Product-DdEEqrtc.js → Product-DSlVHbgr.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-zcistmwh.js → Product.vue_vue_type_script_setup_true_lang-DtYarO0L.js} +256 -257
- package/dist/{ProductInternalTools-BcC7BF6W.js → ProductInternalTools-gW57aUAO.js} +45 -45
- package/dist/{Products-Cu0cJshV.js → Products-Czr-70M8.js} +72 -74
- package/dist/{Publish-Bm3Xiks1.js → Publish-XCowNW_z.js} +32 -34
- package/dist/{Recipe-DWK-luIZ.js → Recipe-6oNz21AB.js} +63 -65
- package/dist/{Scheduler-Cb1TeBhW.js → Scheduler-UYFuFk5E.js} +19 -19
- package/dist/{ServingSequence-evSIET_8.js → ServingSequence-w66ujU4D.js} +34 -34
- package/dist/{Setting-Cn3kwC9F.js → Setting-Dgn3lOx7.js} +53 -54
- package/dist/{Subcategory-q4m4qHsU.js → Subcategory-lnzuxCCH.js} +34 -34
- package/dist/{Takeaway-ClepHYGu.js → Takeaway-C5Up5Odr.js} +14 -14
- package/dist/{Takeaway-D-rdUZuh.js → Takeaway-DP1GJUPF.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-y9Yxstu2.js → Takeaway.vue_vue_type_script_setup_true_lang-B45keXn7.js} +40 -41
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BSeLfoOA.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-yEIxG4F2.js} +1108 -1109
- package/dist/{Unit-IM8Naj82.js → Unit-Bt8aRidX.js} +12 -12
- package/dist/{Variant-fzGvwaMo.js → Variant-DXoOAa9M.js} +16 -16
- package/dist/{_id_-BsKNG9Qv.js → _id_-D9tvinax.js} +22 -22
- package/dist/{app-BzQRUMTK.js → app-Cnlv4rmj.js} +3 -3
- package/dist/{app-CoVUUCa_.js → app-DiizQWjo.js} +24 -24
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +88 -16
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +44 -8
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +360 -184
- package/dist/apps/mf-menu/src/components/feature/GroupManager/OptionTable.vue.d.ts +80 -28
- package/dist/apps/mf-menu/src/components/feature/GroupManager/UpdateForm.vue.d.ts +44 -8
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +216 -148
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +216 -148
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/category.d.ts +4 -4
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +218 -150
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +142 -82
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +108 -74
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/OptionTable.vue.d.ts +80 -28
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/UpdateForm.vue.d.ts +44 -8
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/index.d.ts +176 -32
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +324 -222
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +108 -74
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +1374 -1040
- package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +216 -148
- package/dist/apps/mf-menu/src/helper/import-export.d.ts +1374 -1040
- package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +108 -74
- package/dist/apps/mf-menu/src/helper/menu.d.ts +1523 -1155
- package/dist/apps/mf-menu/src/manager/menu/category.d.ts +4 -4
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +1374 -1040
- package/dist/apps/mf-menu/src/manager/menu/subcategory.d.ts +4 -4
- package/dist/apps/mf-menu/src/stores/manager/item.d.ts +324 -222
- package/dist/apps/mf-menu/src/stores/manager/recipe.d.ts +12 -12
- package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +142 -82
- package/dist/apps/mf-menu/src/stores/manager/sku.d.ts +60 -60
- package/dist/apps/mf-menu/src/stores/manager/takeaway.d.ts +6 -6
- package/dist/apps/mf-menu/src/stores/manager/unit.d.ts +12 -12
- package/dist/apps/mf-menu/src/stores/menu.d.ts +1375 -1041
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +216 -148
- package/dist/apps/mf-menu/src/views/CookingGuide/CookingGuideDialog.vue.d.ts +4 -4
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +352 -132
- package/dist/apps/mf-menu/src/views/Scheduler/FilterForm.vue.d.ts +84 -32
- package/dist/apps/mf-menu/src/views/Scheduler/SchedulerDialog.vue.d.ts +84 -32
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-D7AwcSC5.js +24 -0
- package/dist/assets/override-menu-Y9T4wxEn.js +24 -0
- package/dist/assets/validate-menu-DiAW2jY1.js +24 -0
- package/dist/{catalog-CaXceaA2.js → catalog-DUSCax4J.js} +1 -1
- package/dist/{catalogSetting-BGvckFdh.js → catalogSetting-18FJ5pkA.js} +1 -1
- package/dist/{category-u5eo_Vjd.js → category-B9XvlPFy.js} +3 -5
- package/dist/currency-Sno8fZYc.js +7 -0
- package/dist/{dayjs.min-Bsr3tJCn.js → dayjs.min-BsfKOrNo.js} +1 -1
- package/dist/{index-tRQb7RN_.js → index-BDpkSKDX.js} +1 -1
- package/dist/{index-Bbx4iZ6n.js → index-Eomwf2OO.js} +27 -27
- package/dist/{index-DSAG0yWh.js → index-ltyOwsRO.js} +20 -22
- package/dist/{item-BAqzKh4O.js → item-5Kkzf_eF.js} +1069 -1071
- package/dist/{jszip.min-BKJtvCjM.js → jszip.min-CRfpGjN8.js} +545 -545
- package/dist/menu-Btcr0nsk.js +108040 -0
- package/dist/{menu-CDrsBjmr.js → menu-DYs_VNfB.js} +9 -11
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-DfbHonGe.js → priceTier-DvUjWwCM.js} +4 -4
- package/dist/{scheduler-DTWaBudB.js → scheduler-C76blUlS.js} +11 -13
- package/dist/{subcategory-D-R5r1Tr.js → subcategory-C44qN5Vk.js} +133 -135
- package/dist/{toExcel-84VTtSA7.js → toExcel--vNjpF-b.js} +2 -2
- package/dist/{unit-B4zscxzo.js → unit-C4ghZU8x.js} +23 -24
- package/package.json +5 -5
- package/dist/assets/linked-status-eQqjvOq_.js +0 -24
- package/dist/assets/override-menu-C8NTBJgN.js +0 -24
- package/dist/assets/validate-menu-Dn-OO7Ed.js +0 -24
- package/dist/currency-BPHwez-E.js +0 -7
- package/dist/menu-CsIzrBEr.js +0 -74044
|
@@ -1,27 +1,25 @@
|
|
|
1
|
-
import { defineComponent as ae, ref as w, computed as V, resolveComponent as x, createBlock as Y, openBlock as k, unref as i, withCtx as p, createElementVNode as a, createVNode as l, createElementBlock as
|
|
1
|
+
import { defineComponent as ae, ref as w, computed as V, resolveComponent as x, createBlock as Y, openBlock as k, unref as i, withCtx as p, createElementVNode as a, createVNode as l, createElementBlock as I, toDisplayString as S, Fragment as z, renderList as H, withModifiers as le, createCommentVNode as ce, createTextVNode as fe, h as R } from "vue";
|
|
2
2
|
import { useI18n as se } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as ue, useSnackbar as be, useDialog as ye } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ke } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as he } from "./app-
|
|
6
|
-
import {
|
|
5
|
+
import { _ as he } from "./app-DiizQWjo.js";
|
|
6
|
+
import { H as ee, I as me, J as re, G as oe, u as xe, O as Ce, D as we } from "./menu-Btcr0nsk.js";
|
|
7
7
|
import { d as Fe } from "./vuedraggable-CK8z7qA8.js";
|
|
8
8
|
import { _ as Z } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
9
9
|
import { u as pe } from "./discardConfirm-BHni0LNu.js";
|
|
10
|
-
import "
|
|
11
|
-
import "@feedmepos/core/entity";
|
|
12
|
-
import { L as Ve } from "./LinkProductSideSheet-C6rF-G1v.js";
|
|
10
|
+
import { L as Ve } from "./LinkProductSideSheet-Y-Z9_9Kp.js";
|
|
13
11
|
import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
14
|
-
import { _ as
|
|
15
|
-
const
|
|
12
|
+
import { _ as Ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
13
|
+
const $e = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = { class: "space-y-32" }, Ke = { class: "flex bg-fm-color-neutral-gray-100 border-b border-b-fm-color-neutral-gray-200" }, De = { class: "px-16 py-8 w-[40%]" }, Le = { class: "px-16 py-8 grow" }, Ne = { class: "px-16 py-8 w-[40%]" }, Ge = { class: "px-16 py-8 grow" }, Ue = { class: "space-y-16" }, Te = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, Be = { class: "flex gap-8 items-center justify-start" }, Me = /* @__PURE__ */ ae({
|
|
16
14
|
__name: "CookingGuideStepDialog",
|
|
17
15
|
emits: ["onComplete"],
|
|
18
|
-
setup(L, { expose: g, emit:
|
|
16
|
+
setup(L, { expose: g, emit: J }) {
|
|
19
17
|
const { t: u } = se();
|
|
20
18
|
g({
|
|
21
19
|
show: d,
|
|
22
|
-
hide:
|
|
20
|
+
hide: $
|
|
23
21
|
});
|
|
24
|
-
const N =
|
|
22
|
+
const N = J;
|
|
25
23
|
function D() {
|
|
26
24
|
return {
|
|
27
25
|
id: "",
|
|
@@ -35,14 +33,14 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
35
33
|
([t, f]) => ({ key: t, value: f })
|
|
36
34
|
), C.value = !0;
|
|
37
35
|
}
|
|
38
|
-
function
|
|
36
|
+
function $() {
|
|
39
37
|
C.value = !1;
|
|
40
38
|
}
|
|
41
39
|
const m = w(D()), F = w([]);
|
|
42
|
-
function
|
|
40
|
+
function X() {
|
|
43
41
|
F.value.push({ key: "", value: "" });
|
|
44
42
|
}
|
|
45
|
-
function
|
|
43
|
+
function A(v) {
|
|
46
44
|
F.value.splice(v, 1);
|
|
47
45
|
}
|
|
48
46
|
function G(v) {
|
|
@@ -82,8 +80,8 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
82
80
|
C.value = !1;
|
|
83
81
|
}
|
|
84
82
|
);
|
|
85
|
-
function
|
|
86
|
-
|
|
83
|
+
function T() {
|
|
84
|
+
$(), N("onComplete", {
|
|
87
85
|
...m.value,
|
|
88
86
|
variables: F.value.reduce((v, { key: t, value: f }) => ({ ...v, [t]: f }), {})
|
|
89
87
|
});
|
|
@@ -92,31 +90,31 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
92
90
|
const f = x("FmButton"), _ = x("FmTextField"), P = x("FmChip"), W = x("FmTextarea"), q = x("FmSideSheet");
|
|
93
91
|
return k(), Y(q, {
|
|
94
92
|
modelValue: C.value,
|
|
95
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
93
|
+
"onUpdate:modelValue": t[1] || (t[1] = (B) => C.value = B),
|
|
96
94
|
closeButton: !1,
|
|
97
95
|
header: n.value,
|
|
98
96
|
"max-width": 560,
|
|
99
97
|
"is-container": i(ue).FmForm,
|
|
100
98
|
"is-container-props": {
|
|
101
|
-
onValidationSuccess:
|
|
99
|
+
onValidationSuccess: T,
|
|
102
100
|
blameFormChildOnValidationFailed: !0,
|
|
103
101
|
class: "flex flex-col h-full"
|
|
104
102
|
},
|
|
105
103
|
"onOn:clickedAway": i(K)
|
|
106
104
|
}, {
|
|
107
105
|
"side-sheet-header": p(() => [
|
|
108
|
-
a("div",
|
|
106
|
+
a("div", $e, [
|
|
109
107
|
l(f, {
|
|
110
108
|
icon: "arrow_back",
|
|
111
109
|
variant: "tertiary",
|
|
112
110
|
label: i(u)("menu.cooking_guide.step_dialog.actions.back"),
|
|
113
|
-
onClick:
|
|
111
|
+
onClick: $
|
|
114
112
|
}, null, 8, ["label"]),
|
|
115
113
|
a("div", Oe, S(n.value), 1)
|
|
116
114
|
])
|
|
117
115
|
]),
|
|
118
116
|
"side-sheet-footer": p(() => [
|
|
119
|
-
a("div",
|
|
117
|
+
a("div", Be, [
|
|
120
118
|
l(f, {
|
|
121
119
|
label: s.value,
|
|
122
120
|
size: "lg",
|
|
@@ -127,7 +125,7 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
127
125
|
label: i(u)("menu.cooking_guide.step_dialog.actions.cancel"),
|
|
128
126
|
size: "lg",
|
|
129
127
|
variant: "tertiary",
|
|
130
|
-
onClick:
|
|
128
|
+
onClick: $
|
|
131
129
|
}, null, 8, ["label"])
|
|
132
130
|
])
|
|
133
131
|
]),
|
|
@@ -143,7 +141,7 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
143
141
|
variant: "secondary",
|
|
144
142
|
"text-color": "primary",
|
|
145
143
|
"border-color": "primary",
|
|
146
|
-
onClick:
|
|
144
|
+
onClick: X
|
|
147
145
|
}, null, 8, ["label"])
|
|
148
146
|
]),
|
|
149
147
|
default: p(() => [
|
|
@@ -152,26 +150,26 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
152
150
|
a("div", De, S(i(u)("menu.cooking_guide.step_dialog.sections.variables.columns.key")), 1),
|
|
153
151
|
a("div", Le, S(i(u)("menu.cooking_guide.step_dialog.sections.variables.columns.value")), 1)
|
|
154
152
|
]),
|
|
155
|
-
(k(!0),
|
|
156
|
-
key:
|
|
153
|
+
(k(!0), I(z, null, H(F.value, (B, M) => (k(), I("div", {
|
|
154
|
+
key: M,
|
|
157
155
|
class: "flex items-center border-b border-b-fm-color-neutral-gray-100"
|
|
158
156
|
}, [
|
|
159
157
|
a("div", Ne, [
|
|
160
158
|
l(_, {
|
|
161
|
-
modelValue: F.value[
|
|
162
|
-
"onUpdate:modelValue": (O) => F.value[
|
|
159
|
+
modelValue: F.value[M].key,
|
|
160
|
+
"onUpdate:modelValue": (O) => F.value[M].key = O,
|
|
163
161
|
rules: [
|
|
164
162
|
(O) => !!O || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.required"),
|
|
165
163
|
(O) => !O || /^[a-z]+$/.test(O) || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.lowercase"),
|
|
166
|
-
(O) => !O || F.value.findIndex((de) => de.key === O) ===
|
|
164
|
+
(O) => !O || F.value.findIndex((de) => de.key === O) === M || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.duplicate")
|
|
167
165
|
],
|
|
168
166
|
placeholder: i(u)("menu.cooking_guide.step_dialog.sections.variables.placeholders.key")
|
|
169
167
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "rules", "placeholder"])
|
|
170
168
|
]),
|
|
171
169
|
a("div", Ge, [
|
|
172
170
|
l(_, {
|
|
173
|
-
modelValue: F.value[
|
|
174
|
-
"onUpdate:modelValue": (O) => F.value[
|
|
171
|
+
modelValue: F.value[M].value,
|
|
172
|
+
"onUpdate:modelValue": (O) => F.value[M].value = O,
|
|
175
173
|
rules: [
|
|
176
174
|
(O) => !!O || i(u)("menu.cooking_guide.step_dialog.sections.variables.validation.required")
|
|
177
175
|
],
|
|
@@ -182,7 +180,7 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
182
180
|
icon: "delete",
|
|
183
181
|
variant: "tertiary",
|
|
184
182
|
"text-color": "neutral-gray-400",
|
|
185
|
-
onClick: () =>
|
|
183
|
+
onClick: () => A(M)
|
|
186
184
|
}, null, 8, ["onClick"])
|
|
187
185
|
]))), 128))
|
|
188
186
|
])
|
|
@@ -194,17 +192,17 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
194
192
|
}, {
|
|
195
193
|
default: p(() => [
|
|
196
194
|
a("div", Ue, [
|
|
197
|
-
a("div",
|
|
198
|
-
(k(!0),
|
|
199
|
-
key:
|
|
200
|
-
label:
|
|
195
|
+
a("div", Te, [
|
|
196
|
+
(k(!0), I(z, null, H(h.value, (B) => (k(), Y(P, {
|
|
197
|
+
key: B.label,
|
|
198
|
+
label: B.label,
|
|
201
199
|
class: "text-fm-color-primary bg-fm-color-system-warning-100",
|
|
202
|
-
onMousedown: le(() => G(
|
|
200
|
+
onMousedown: le(() => G(B.label), ["prevent"])
|
|
203
201
|
}, null, 8, ["label", "onMousedown"]))), 128))
|
|
204
202
|
]),
|
|
205
203
|
l(W, {
|
|
206
204
|
modelValue: m.value.instruction,
|
|
207
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
205
|
+
"onUpdate:modelValue": t[0] || (t[0] = (B) => m.value.instruction = B),
|
|
208
206
|
ref: "textareaRef"
|
|
209
207
|
}, null, 8, ["modelValue"])
|
|
210
208
|
])
|
|
@@ -217,16 +215,16 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
217
215
|
}, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]);
|
|
218
216
|
};
|
|
219
217
|
}
|
|
220
|
-
}), ze = { class: "w-[700px]" },
|
|
218
|
+
}), ze = { class: "w-[700px]" }, Re = { class: "flex bg-fm-color-neutral-gray-100" }, Ae = { class: "px-16 py-8 grow" }, Pe = { class: "px-16 py-8 w-[200px]" }, qe = { class: "px-16 py-8 w-[200px]" }, je = { class: "px-16 py-8 grow" }, Ye = { class: "px-16 py-8 w-[200px] flex flex-col gap-8" }, He = { class: "px-16 py-8 w-[200px] flex flex-col gap-8" }, Je = /* @__PURE__ */ ae({
|
|
221
219
|
__name: "CookingGuideStepOverrideDialog",
|
|
222
220
|
emits: ["onComplete"],
|
|
223
|
-
setup(L, { expose: g, emit:
|
|
221
|
+
setup(L, { expose: g, emit: J }) {
|
|
224
222
|
const { t: u } = se();
|
|
225
223
|
g({
|
|
226
224
|
show: d,
|
|
227
|
-
hide:
|
|
225
|
+
hide: $
|
|
228
226
|
});
|
|
229
|
-
const N =
|
|
227
|
+
const N = J;
|
|
230
228
|
function D() {
|
|
231
229
|
return {
|
|
232
230
|
productId: "",
|
|
@@ -237,26 +235,26 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
237
235
|
function d(h) {
|
|
238
236
|
U.value = h.itemName, E.value = h.steps, m.value = h.bindings ? ee(h.bindings) : D(), C.value = !0;
|
|
239
237
|
}
|
|
240
|
-
function
|
|
238
|
+
function $() {
|
|
241
239
|
C.value = !1;
|
|
242
240
|
}
|
|
243
241
|
const m = w(D()), F = V(() => m.value.overrides.reduce((h, n) => (h[n.id] = n, h), {}));
|
|
244
|
-
function
|
|
242
|
+
function X(h, n) {
|
|
245
243
|
var s;
|
|
246
244
|
return ((s = F.value[h]) == null ? void 0 : s.variables[n]) ?? "";
|
|
247
245
|
}
|
|
248
|
-
function
|
|
249
|
-
const K = m.value.overrides.findIndex((
|
|
246
|
+
function A(h, n, s) {
|
|
247
|
+
const K = m.value.overrides.findIndex((T) => T.id === h);
|
|
250
248
|
s ? K < 0 ? m.value.overrides.push({
|
|
251
249
|
id: h,
|
|
252
250
|
variables: { [n]: s }
|
|
253
251
|
}) : m.value.overrides[K].variables[n] = s : K >= 0 && (delete m.value.overrides[K].variables[n], Object.keys(m.value.overrides[K].variables).length || m.value.overrides.splice(K, 1));
|
|
254
252
|
}
|
|
255
253
|
function G() {
|
|
256
|
-
|
|
254
|
+
$(), N("onComplete", m.value);
|
|
257
255
|
}
|
|
258
256
|
return (h, n) => {
|
|
259
|
-
const s = x("FmTextField"), K = x("FmSpacer"),
|
|
257
|
+
const s = x("FmTextField"), K = x("FmSpacer"), T = x("FmButton"), v = x("FmDialog");
|
|
260
258
|
return k(), Y(v, {
|
|
261
259
|
modelValue: C.value,
|
|
262
260
|
"onUpdate:modelValue": n[0] || (n[0] = (t) => C.value = t),
|
|
@@ -269,14 +267,14 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
269
267
|
]),
|
|
270
268
|
"dialog-footer": p(() => [
|
|
271
269
|
l(K),
|
|
272
|
-
l(
|
|
270
|
+
l(T, {
|
|
273
271
|
class: "sm:w-full xs:w-full",
|
|
274
272
|
label: i(u)("menu.cooking_guide.step_override_dialog.actions.cancel"),
|
|
275
273
|
size: "md",
|
|
276
274
|
variant: "tertiary",
|
|
277
|
-
onClick:
|
|
275
|
+
onClick: $
|
|
278
276
|
}, null, 8, ["label"]),
|
|
279
|
-
l(
|
|
277
|
+
l(T, {
|
|
280
278
|
class: "sm:w-full xs:w-full",
|
|
281
279
|
label: i(u)("menu.cooking_guide.step_override_dialog.actions.save"),
|
|
282
280
|
size: "md",
|
|
@@ -286,28 +284,28 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
286
284
|
]),
|
|
287
285
|
default: p(() => [
|
|
288
286
|
a("div", ze, [
|
|
289
|
-
a("div",
|
|
290
|
-
a("div",
|
|
287
|
+
a("div", Re, [
|
|
288
|
+
a("div", Ae, S(i(u)("menu.cooking_guide.step_override_dialog.columns.instructions")), 1),
|
|
291
289
|
a("div", Pe, S(i(u)("menu.cooking_guide.step_override_dialog.columns.variables")), 1),
|
|
292
290
|
a("div", qe, S(i(u)("menu.cooking_guide.step_override_dialog.columns.value")), 1)
|
|
293
291
|
]),
|
|
294
|
-
(k(!0),
|
|
292
|
+
(k(!0), I(z, null, H(E.value, (t) => (k(), I("div", {
|
|
295
293
|
key: t.id,
|
|
296
294
|
class: "flex border-t-2"
|
|
297
295
|
}, [
|
|
298
296
|
a("div", je, S(t.instruction), 1),
|
|
299
297
|
a("div", Ye, [
|
|
300
|
-
(k(!0),
|
|
298
|
+
(k(!0), I(z, null, H(t.variables, (f, _) => (k(), I("div", {
|
|
301
299
|
key: _,
|
|
302
300
|
class: "py-8 w-full text-ellipsis overflow-hidden whitespace-nowrap"
|
|
303
301
|
}, S(_), 1))), 128))
|
|
304
302
|
]),
|
|
305
303
|
a("div", He, [
|
|
306
|
-
(k(!0),
|
|
304
|
+
(k(!0), I(z, null, H(t.variables, (f, _) => (k(), I("div", { key: _ }, [
|
|
307
305
|
l(s, {
|
|
308
|
-
"model-value":
|
|
306
|
+
"model-value": X(t.id, _.toString()),
|
|
309
307
|
placeholder: f,
|
|
310
|
-
"onUpdate:modelValue": (P) =>
|
|
308
|
+
"onUpdate:modelValue": (P) => A(t.id, _.toString(), P)
|
|
311
309
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])
|
|
312
310
|
]))), 128))
|
|
313
311
|
])
|
|
@@ -318,7 +316,7 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
318
316
|
}, 8, ["modelValue"]);
|
|
319
317
|
};
|
|
320
318
|
}
|
|
321
|
-
}),
|
|
319
|
+
}), Xe = { class: "fm-typo-en-title-md-600" }, Qe = { class: "space-y-24" }, We = { class: "flex items-center" }, Ze = { class: "flex-1" }, eo = { class: "flex items-center gap-8" }, oo = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, to = { class: "flex-1" }, no = { class: "bg-fm-color-neutral-gray-100 px-16 py-8" }, io = { class: "px-16 py-8 flex-1 flex gap-4 overflow-auto min-w-0" }, lo = { class: "fm-typo-en-body-md-500" }, ao = { class: "px-16 py-8 flex gap-8" }, so = { class: "flex gap-8 items-center justify-start" }, uo = /* @__PURE__ */ ae({
|
|
322
320
|
__name: "CookingGuideDialog",
|
|
323
321
|
props: {
|
|
324
322
|
categorizedItems: {
|
|
@@ -331,7 +329,7 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
331
329
|
}
|
|
332
330
|
},
|
|
333
331
|
emits: ["onSave"],
|
|
334
|
-
setup(L, { expose: g, emit:
|
|
332
|
+
setup(L, { expose: g, emit: J }) {
|
|
335
333
|
const u = L;
|
|
336
334
|
g({
|
|
337
335
|
showModal: U,
|
|
@@ -352,19 +350,19 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
352
350
|
function E() {
|
|
353
351
|
D.value = !1;
|
|
354
352
|
}
|
|
355
|
-
const d = w(N()),
|
|
353
|
+
const d = w(N()), $ = w();
|
|
356
354
|
function m() {
|
|
357
355
|
var e;
|
|
358
|
-
(e =
|
|
356
|
+
(e = $.value) == null || e.show();
|
|
359
357
|
}
|
|
360
358
|
function F(e) {
|
|
361
359
|
var o;
|
|
362
|
-
(o =
|
|
360
|
+
(o = $.value) == null || o.show(e);
|
|
363
361
|
}
|
|
364
|
-
function
|
|
362
|
+
function X(e) {
|
|
365
363
|
d.value.steps.splice(e, 1);
|
|
366
364
|
}
|
|
367
|
-
function
|
|
365
|
+
function A(e) {
|
|
368
366
|
if (!e.id)
|
|
369
367
|
d.value.steps.push({ ...e, id: (/* @__PURE__ */ new Date()).toISOString() });
|
|
370
368
|
else {
|
|
@@ -418,7 +416,7 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
418
416
|
bindings: h(e.itemId, e.combinationKey)
|
|
419
417
|
});
|
|
420
418
|
}
|
|
421
|
-
function
|
|
419
|
+
function T({ productId: e, combinationKey: o, overrides: b }) {
|
|
422
420
|
const r = d.value.bindings.map((c) => ({
|
|
423
421
|
...c,
|
|
424
422
|
overrides: c.productId === e && c.combinationKey == o ? b : c.overrides
|
|
@@ -436,7 +434,7 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
436
434
|
const b = e[o.productId] ?? [];
|
|
437
435
|
return o.combinationKey ? e[o.productId] = [...b, o.combinationKey] : e[o.productId] = [], e;
|
|
438
436
|
}, {})
|
|
439
|
-
), q = w(""),
|
|
437
|
+
), q = w(""), B = V(() => u.categorizedItems.reduce((e, o) => {
|
|
440
438
|
var b, r;
|
|
441
439
|
for (const c of o.items)
|
|
442
440
|
(b = c.variant) != null && b.variantGroupIds.length && ((r = c.variant) == null ? void 0 : r.variantGroupIds.length) > 0 ? e = [
|
|
@@ -457,17 +455,17 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
457
455
|
itemName: c.name
|
|
458
456
|
});
|
|
459
457
|
return e;
|
|
460
|
-
}, [])),
|
|
458
|
+
}, [])), M = V(() => B.value.filter((e) => {
|
|
461
459
|
const o = W.value[e.itemId];
|
|
462
460
|
return !!o && (!e.combinationKey || o.includes(e.combinationKey));
|
|
463
461
|
})), O = V(() => {
|
|
464
462
|
const e = q.value.toLowerCase();
|
|
465
|
-
return e ?
|
|
463
|
+
return e ? M.value.filter(
|
|
466
464
|
(o) => {
|
|
467
465
|
var b;
|
|
468
466
|
return ((b = o.itemCode) == null ? void 0 : b.toLowerCase().includes(e)) || o.itemName.toLowerCase().includes(e) || o.categoryName.toLowerCase().includes(e);
|
|
469
467
|
}
|
|
470
|
-
) :
|
|
468
|
+
) : M.value;
|
|
471
469
|
}), de = V(() => O.value.reduce(
|
|
472
470
|
(e, o) => {
|
|
473
471
|
const b = e.findIndex((r) => r.id === o.categoryId);
|
|
@@ -481,7 +479,7 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
481
479
|
}, e;
|
|
482
480
|
},
|
|
483
481
|
[]
|
|
484
|
-
)), ge =
|
|
482
|
+
)), ge = J;
|
|
485
483
|
w();
|
|
486
484
|
const _e = pe(
|
|
487
485
|
() => !me.isEqual(C.value, d.value),
|
|
@@ -494,7 +492,7 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
494
492
|
}
|
|
495
493
|
return (e, o) => {
|
|
496
494
|
const b = x("FmTextField"), r = x("FmButton"), c = x("FmCardSection"), Q = x("FmCard"), te = x("FmSpacer"), ne = x("FmSearch"), ie = x("FmSideSheet");
|
|
497
|
-
return k(),
|
|
495
|
+
return k(), I(z, null, [
|
|
498
496
|
l(ie, {
|
|
499
497
|
modelValue: D.value,
|
|
500
498
|
"onUpdate:modelValue": o[4] || (o[4] = (y) => D.value = y),
|
|
@@ -509,7 +507,7 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
509
507
|
"onOn:clickedAway": i(_e)
|
|
510
508
|
}, {
|
|
511
509
|
"side-sheet-header": p(() => [
|
|
512
|
-
a("span",
|
|
510
|
+
a("span", Xe, S(f.value), 1)
|
|
513
511
|
]),
|
|
514
512
|
"side-sheet-footer": p(() => [
|
|
515
513
|
a("div", so, [
|
|
@@ -591,7 +589,7 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
591
589
|
l(r, {
|
|
592
590
|
icon: "delete",
|
|
593
591
|
variant: "tertiary",
|
|
594
|
-
onClick: le(() =>
|
|
592
|
+
onClick: le(() => X(j), ["stop"])
|
|
595
593
|
}, null, 8, ["onClick"])
|
|
596
594
|
]),
|
|
597
595
|
_: 2
|
|
@@ -645,11 +643,11 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
645
643
|
}, null, 8, ["modelValue", "placeholder"])
|
|
646
644
|
])
|
|
647
645
|
]),
|
|
648
|
-
(k(!0),
|
|
646
|
+
(k(!0), I(z, null, H(de.value, (y) => (k(), I("div", {
|
|
649
647
|
key: y.id || ""
|
|
650
648
|
}, [
|
|
651
649
|
a("div", no, S(y.name), 1),
|
|
652
|
-
(k(!0),
|
|
650
|
+
(k(!0), I(z, null, H(y.items, (j) => (k(), I("div", {
|
|
653
651
|
key: j.itemId,
|
|
654
652
|
class: "flex items-center"
|
|
655
653
|
}, [
|
|
@@ -677,15 +675,15 @@ const Ie = { class: "flex items-center gap-8" }, Oe = { class: "grow" }, Ee = {
|
|
|
677
675
|
]),
|
|
678
676
|
_: 1
|
|
679
677
|
}, 8, ["modelValue", "header", "is-container", "is-container-props", "onOn:clickedAway"]),
|
|
680
|
-
l(
|
|
678
|
+
l(Me, {
|
|
681
679
|
ref_key: "cookingGuideStepDialogRef",
|
|
682
|
-
ref:
|
|
683
|
-
onOnComplete:
|
|
680
|
+
ref: $,
|
|
681
|
+
onOnComplete: A
|
|
684
682
|
}, null, 512),
|
|
685
|
-
l(
|
|
683
|
+
l(Je, {
|
|
686
684
|
ref_key: "cookingGuideStepOverrideDialogRef",
|
|
687
685
|
ref: s,
|
|
688
|
-
onOnComplete:
|
|
686
|
+
onOnComplete: T
|
|
689
687
|
}, null, 512)
|
|
690
688
|
], 64);
|
|
691
689
|
};
|
|
@@ -724,12 +722,12 @@ const po = {
|
|
|
724
722
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
725
723
|
}, bo = {
|
|
726
724
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
727
|
-
},
|
|
725
|
+
}, Eo = /* @__PURE__ */ ae({
|
|
728
726
|
__name: "CookingGuide",
|
|
729
727
|
setup(L) {
|
|
730
728
|
const {
|
|
731
729
|
t: g
|
|
732
|
-
} = se(),
|
|
730
|
+
} = se(), J = V(() => [{
|
|
733
731
|
accessorKey: "name",
|
|
734
732
|
header: () => g("menu.cooking_guide.table.columns.name"),
|
|
735
733
|
cell: (n) => n.getValue(),
|
|
@@ -763,18 +761,18 @@ const po = {
|
|
|
763
761
|
headerContentClass: "-mx-16"
|
|
764
762
|
},
|
|
765
763
|
enableSorting: !1,
|
|
766
|
-
cell: (n) =>
|
|
764
|
+
cell: (n) => R("div", {
|
|
767
765
|
class: "flex justify-end"
|
|
768
|
-
}, [
|
|
766
|
+
}, [R(ue.FmButton, {
|
|
769
767
|
icon: "delete",
|
|
770
768
|
textColor: "neutral-gray-400",
|
|
771
769
|
variant: "tertiary",
|
|
772
770
|
onClick: le(() => {
|
|
773
|
-
|
|
771
|
+
A(n.row.original);
|
|
774
772
|
}, ["stop", "prevent"])
|
|
775
773
|
})])
|
|
776
774
|
}]), u = xe(), N = V(() => E.checkMenuIsLoading()), D = V(() => u.categorizedItems), C = V(() => u.state.menu.modules.cookingGuide), U = V(() => C.value.length > 0), E = Ce(we(be())), d = w();
|
|
777
|
-
function
|
|
775
|
+
function $() {
|
|
778
776
|
var n;
|
|
779
777
|
N.value || (n = d.value) == null || n.showModal();
|
|
780
778
|
}
|
|
@@ -786,16 +784,16 @@ const po = {
|
|
|
786
784
|
const s = n._id ? co(n) : ro(n);
|
|
787
785
|
await E.updateMenu(s, n.name);
|
|
788
786
|
}
|
|
789
|
-
const
|
|
790
|
-
async function
|
|
791
|
-
let s = [
|
|
787
|
+
const X = ye();
|
|
788
|
+
async function A(n) {
|
|
789
|
+
let s = [R("span", g("menu.cooking_guide.dialogs.remove.message.prefix")), R("span", {
|
|
792
790
|
class: "fm-typo-en-body-lg-600"
|
|
793
|
-
}, n.name),
|
|
794
|
-
n.bindings.length && (s = [
|
|
791
|
+
}, n.name), R("span", "?")];
|
|
792
|
+
n.bindings.length && (s = [R("span", g("menu.cooking_guide.dialogs.remove.message.products_using")), R("span", {
|
|
795
793
|
class: "fm-typo-en-body-lg-600"
|
|
796
|
-
}, n.bindings.length),
|
|
794
|
+
}, n.bindings.length), R("span", g("menu.cooking_guide.dialogs.remove.message.products_count")), ...s]), X.open({
|
|
797
795
|
title: g("menu.cooking_guide.dialogs.remove.title"),
|
|
798
|
-
contentComponent:
|
|
796
|
+
contentComponent: R("div", s),
|
|
799
797
|
primaryActions: {
|
|
800
798
|
text: g("menu.cooking_guide.actions.remove"),
|
|
801
799
|
close: !0,
|
|
@@ -814,8 +812,8 @@ const po = {
|
|
|
814
812
|
return n ? C.value.filter((s) => s.name.toLowerCase().includes(n)) : C.value;
|
|
815
813
|
});
|
|
816
814
|
return (n, s) => {
|
|
817
|
-
const K = x("FmSearch"),
|
|
818
|
-
return k(), Y(
|
|
815
|
+
const K = x("FmSearch"), T = x("FmTable"), v = x("FmButton"), t = x("FmListItem"), f = x("FmList");
|
|
816
|
+
return k(), Y(Ie, {
|
|
819
817
|
heading: i(g)("menu.cooking_guide.title")
|
|
820
818
|
}, {
|
|
821
819
|
"append-heading": p(() => [a("div", po, [U.value ? (k(), Y(ke, {
|
|
@@ -824,9 +822,9 @@ const po = {
|
|
|
824
822
|
icon: "add",
|
|
825
823
|
label: i(g)("menu.cooking_guide.actions.add"),
|
|
826
824
|
variant: "primary",
|
|
827
|
-
onClick: s[0] || (s[0] = () =>
|
|
825
|
+
onClick: s[0] || (s[0] = () => $())
|
|
828
826
|
}, null, 8, ["disabled", "label"])) : ce("", !0)])]),
|
|
829
|
-
default: p(() => [U.value ? (k(),
|
|
827
|
+
default: p(() => [U.value ? (k(), I(z, {
|
|
830
828
|
key: 1
|
|
831
829
|
}, [a("div", go, [l(K, {
|
|
832
830
|
modelValue: G.value,
|
|
@@ -837,8 +835,8 @@ const po = {
|
|
|
837
835
|
}, null, 8, ["modelValue", "placeholder"])]), l(he, {
|
|
838
836
|
class: "xs:hidden block"
|
|
839
837
|
}, {
|
|
840
|
-
default: p(() => [l(
|
|
841
|
-
"column-defs":
|
|
838
|
+
default: p(() => [l(T, {
|
|
839
|
+
"column-defs": J.value,
|
|
842
840
|
loading: N.value,
|
|
843
841
|
"page-size": C.value.length,
|
|
844
842
|
"row-data": C.value,
|
|
@@ -853,7 +851,7 @@ const po = {
|
|
|
853
851
|
class: "w-full px-16 xs:block hidden flex-1 min-h-0 overflow-scroll pb-64",
|
|
854
852
|
separator: ""
|
|
855
853
|
}, {
|
|
856
|
-
default: p(() => [(k(!0),
|
|
854
|
+
default: p(() => [(k(!0), I(z, null, H(h.value, (_) => (k(), Y(t, {
|
|
857
855
|
key: _._id,
|
|
858
856
|
label: _.name,
|
|
859
857
|
style: {
|
|
@@ -870,7 +868,7 @@ const po = {
|
|
|
870
868
|
icon: "delete",
|
|
871
869
|
variant: "tertiary",
|
|
872
870
|
"text-color": "neutral-gray-400",
|
|
873
|
-
onClick: le(() =>
|
|
871
|
+
onClick: le(() => A(_), ["stop"])
|
|
874
872
|
}, null, 8, ["disabled", "onClick"])]),
|
|
875
873
|
_: 2
|
|
876
874
|
}, 1032, ["label", "onClick"]))), 128))]),
|
|
@@ -879,7 +877,7 @@ const po = {
|
|
|
879
877
|
key: 0,
|
|
880
878
|
action: {
|
|
881
879
|
text: i(g)("menu.cooking_guide.empty.action"),
|
|
882
|
-
callback: () =>
|
|
880
|
+
callback: () => $()
|
|
883
881
|
},
|
|
884
882
|
subtitle: i(g)("menu.cooking_guide.empty.subtitle"),
|
|
885
883
|
title: i(g)("menu.cooking_guide.empty.title")
|
|
@@ -895,5 +893,5 @@ const po = {
|
|
|
895
893
|
}
|
|
896
894
|
});
|
|
897
895
|
export {
|
|
898
|
-
|
|
896
|
+
Eo as default
|
|
899
897
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ft, computed as Le, createBlock as ue, openBlock as T, unref as Fe, withCtx as je, renderSlot as Ws, mergeModels as Ls, useModel as ry, ref as be, createElementBlock as ne, onMounted as ay, Fragment as we, createCommentVNode as xe, watch as Ar, resolveComponent as K, createElementVNode as te, createVNode as U, renderList as ct, toDisplayString as $t, mergeProps as iy, normalizeClass as uy, withModifiers as oy } from "vue";
|
|
2
2
|
import { useI18n as qs } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as sy } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
|
|
4
|
-
import { u as ly } from "./menu-
|
|
4
|
+
import { u as ly } from "./menu-Btcr0nsk.js";
|
|
5
5
|
import { useBreakpoints as Ks, useDialog as cy, useDialogChild as fy } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as Qi } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
7
7
|
const Eg = /* @__PURE__ */ ft({
|
|
@@ -2,9 +2,9 @@ import { defineComponent as m, ref as p, createBlock as i, openBlock as d, unref
|
|
|
2
2
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as f } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
4
4
|
import { _ as g } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
5
|
-
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { A as b } from "./item-
|
|
7
|
-
import { a as h } from "./menu-
|
|
5
|
+
import { _ as y } from "./Group.vue_vue_type_script_setup_true_lang-CAZuyOPy.js";
|
|
6
|
+
import { A as b } from "./item-5Kkzf_eF.js";
|
|
7
|
+
import { a as h } from "./menu-DYs_VNfB.js";
|
|
8
8
|
const v = { class: "flex-1 flex justify-between gap-8 pl-8" }, x = { class: "flex items-center" }, k = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, C = { class: "fm-typo-en-body-md-600 font-semibold" }, j = /* @__PURE__ */ m({
|
|
9
9
|
__name: "Group",
|
|
10
10
|
setup(N) {
|