@feedmepos/mf-menu 0.32.7-beta.2 → 0.32.7-dev
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-BIQ0CTci.js → App-DCkQc7e4.js} +98 -98
- package/dist/ApplyProduct.vue_vue_type_script_setup_true_lang-uzmq3vwy.js +161 -0
- package/dist/BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-DhrXKy3b.js +74 -0
- package/dist/{Catalog-D2wc24o8.js → Catalog-CUPoRid3.js} +9 -9
- package/dist/{Category-DA5-55d2.js → Category-BkvhZ57Y.js} +7 -7
- package/dist/{Category-BPufryqK.js → Category-Cdw0ikhP.js} +4 -4
- package/dist/{CookingGuide-DKvou40e.js → CookingGuide-BZ-4oULM.js} +6 -6
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DHoAYdGI.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CJvVFWdR.js} +3 -3
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js +26 -0
- package/dist/{Group-D60oAvmM.js → Group-C1FaXdUb.js} +1 -1
- package/dist/{Group-Bgpc6qE1.js → Group-Cec83DWm.js} +4 -4
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BXn3--BL.js → Group.vue_vue_type_script_setup_true_lang-2_lLBdX2.js} +128 -128
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BD9IZkwW.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BEDyKWhK.js} +91 -91
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BE3LdBYY.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-BteTvMnx.js} +3225 -3225
- package/dist/{Ingredient-Brv4hml-.js → Ingredient-DulL8h2B.js} +29 -29
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CIOX-pq1.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DoBx7Dal.js} +104 -104
- package/dist/{LinkProductSideSheet-BDMbKJ8o.js → LinkProductSideSheet-Br2eE8pC.js} +251 -251
- package/dist/MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js +69 -0
- package/dist/{MenuSetting-DvCu23my.js → MenuSetting-DxW4LCW4.js} +77 -77
- package/dist/{PageLayout.vue_vue_type_script_setup_true_lang-vFqWGM6P.js → PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js} +8 -8
- package/dist/{PrintRoute-DwgLKDUV.js → PrintRoute-Da6Zkx-0.js} +5 -5
- package/dist/{Product-EmoWM778.js → Product-Cs76t18_.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-5HyO_RYw.js → Product.vue_vue_type_script_setup_true_lang-C6SOu4Vv.js} +606 -606
- package/dist/{ProductInternalTools-PqzouaF2.js → ProductInternalTools-DPbeRvTM.js} +10 -10
- package/dist/{Products-ZgfTT9dI.js → Products--7dGfuuT.js} +52 -52
- package/dist/{Publish-CUdRwmN1.js → Publish-COmZtiyX.js} +5 -5
- package/dist/{Recipe-BRUxyire.js → Recipe-BaN_1zrP.js} +5 -5
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-CPFGkaTr.js → RuleView.vue_vue_type_script_setup_true_lang-DputprQj.js} +451 -448
- package/dist/{Scheduler-BXdZh-xC.js → Scheduler-BSUpIAaK.js} +4 -4
- package/dist/{ServingSequence-EAZHOHiy.js → ServingSequence-dXBb7e5d.js} +4 -4
- package/dist/{Setting-BRut_Xj0.js → Setting-CalEQW0n.js} +6 -6
- package/dist/{Subcategory-D6Yrs-vO.js → Subcategory-zPHtX7Vc.js} +5 -5
- package/dist/{Takeaway-Bi8JfDWa.js → Takeaway-CRDj2Bpe.js} +5 -5
- package/dist/{Takeaway-CRdlNTu7.js → Takeaway-CcnmeTmu.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DKQZ9J8Z.js → Takeaway.vue_vue_type_script_setup_true_lang-Cj7vyOaP.js} +5 -5
- package/dist/{TextChip.vue_vue_type_script_setup_true_lang-BJMcI3U2.js → TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-DDWk-WUW.js → Thumbnail.vue_vue_type_script_setup_true_lang-B0552qsN.js} +74 -74
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BwnyIDNH.js +6038 -0
- package/dist/{Unit-Ccs_k5IS.js → Unit-C7-Oj5S3.js} +3 -3
- package/dist/{Variant-BHmgMXq7.js → Variant-CYiMkE0q.js} +4 -4
- package/dist/{_id_-DSSoi4Gy.js → _id_-D75ZcNlf.js} +11 -11
- package/dist/{app-CzXxFrl1.js → app-5fxKLAzS.js} +447 -447
- package/dist/{app-C8Dm2-h4.js → app-BhLVpUSl.js} +35 -35
- package/dist/{app-B9seAt5l.js → app-DzVMOviz.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +20 -0
- 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/src/components/feature/TreeEditor/store/menuV2.d.ts +2 -1
- package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-BoIPm5hC.js +13 -0
- package/dist/assets/override-menu-DfTrwWpR.js +13 -0
- package/dist/assets/validate-menu-BhWvQ3T9.js +13 -0
- package/dist/{catalog-CD-fdGdY.js → catalog-CudNSsIP.js} +1 -1
- package/dist/{catalogSetting-Ci85lXor.js → catalogSetting-BVHO9tK3.js} +1 -1
- package/dist/{category-6NAH0dUF.js → category-BQpgz1lk.js} +1 -1
- package/dist/{currency-BP_z7R5d.js → currency-BfS7H2KE.js} +1 -1
- package/dist/{index-BLMijxTj.js → index-BHdPJta4.js} +91 -91
- package/dist/{index-C1XCbqC-.js → index-DmGJvREM.js} +56 -56
- package/dist/{index-Cftm4-G_.js → index-DuLXS699.js} +5 -5
- package/dist/{index-DgDQzkPR.js → index-aaoziUNI.js} +30 -30
- package/dist/{index.vue_vue_type_script_setup_true_lang-D-k9WcQV.js → index.vue_vue_type_script_setup_true_lang-Dje9kp-F.js} +40026 -40153
- package/dist/item-BtKW0wdj.js +7685 -0
- package/dist/{iteration-ZG64Re91.js → iteration-CaliNodx.js} +1 -1
- package/dist/{jszip.min-BETdv0rh.js → jszip.min-DXbkmgRD.js} +102 -102
- package/dist/{menu-COMXycAe.js → menu-D-lUEuvX.js} +1 -1
- package/dist/{menuV2-CeRS0Jw3.js → menuV2-D-6O36DO.js} +357 -348
- package/dist/mf-menu.css +1 -1
- package/dist/packages/shared/src/components/form/SelectFilter.vue.d.ts +1 -1
- package/dist/{priceTier-t2T3Q87F.js → priceTier-DKnYaOA9.js} +1 -1
- package/dist/{scheduler-BbJUVuiK.js → scheduler-DEwfbYPL.js} +7 -7
- package/dist/{subcategory-61kOQh4g.js → subcategory-CQKklgcd.js} +2 -2
- package/dist/{toExcel-DIYaK18-.js → toExcel-CRwL-QqF.js} +2 -2
- package/dist/{unit-B6StucsI.js → unit-BzM1rmN7.js} +151 -151
- package/dist/{vuedraggable-DnBIRDMr.js → vuedraggable-CK8z7qA8.js} +2 -2
- package/package.json +3 -2
- package/dist/ApplyProduct.vue_vue_type_script_setup_true_lang-BpEjqhAC.js +0 -161
- package/dist/BottomSheetMenuItem.vue_vue_type_script_setup_true_lang-CnCoRLDg.js +0 -74
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-B3Ixruh-.js +0 -26
- package/dist/MenuSelector.vue_vue_type_script_setup_true_lang-Bm_hSelC.js +0 -69
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-JdHaBpaX.js +0 -5997
- package/dist/assets/linked-status-Cuf8X8_g.js +0 -13
- package/dist/assets/override-menu-yxQLf82k.js +0 -13
- package/dist/assets/validate-menu-BwbenBs6.js +0 -13
- package/dist/item-ByEPWjef.js +0 -6819
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { defineComponent as K, computed as i, h as u, ref as U, resolveComponent as b, createElementBlock as p, openBlock as d, createVNode as f, withCtx as g, createElementVNode as V, createCommentVNode as C, toDisplayString as j, unref as a, isRef as A, createBlock as D, Fragment as G, renderList as H } from "vue";
|
|
2
|
+
import { useI18n as M } from "@feedmepos/mf-common";
|
|
3
|
+
import { components as B, FmButtonColorThemeVariant as h, FmButtonVariant as I } from "@feedmepos/ui-library";
|
|
4
|
+
import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-DputprQj.js";
|
|
5
|
+
import { L as $ } from "./LinkProductSideSheet-Br2eE8pC.js";
|
|
6
|
+
import { u as q } from "./search-BAPEUu1R.js";
|
|
7
|
+
import { u as J, an as Q } from "./index.vue_vue_type_script_setup_true_lang-Dje9kp-F.js";
|
|
8
|
+
const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }, Y = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary"
|
|
11
|
+
}, le = /* @__PURE__ */ K({
|
|
12
|
+
__name: "ApplyProduct",
|
|
13
|
+
props: {
|
|
14
|
+
title: {},
|
|
15
|
+
linkButtonLabel: {},
|
|
16
|
+
overrides: {},
|
|
17
|
+
selectVariant: { type: Boolean },
|
|
18
|
+
showVariant: { type: Boolean },
|
|
19
|
+
editable: { type: Boolean },
|
|
20
|
+
categorizedItems: {},
|
|
21
|
+
items: {},
|
|
22
|
+
variants: {}
|
|
23
|
+
},
|
|
24
|
+
emits: ["update:overrides", "row-click"],
|
|
25
|
+
setup(z, { emit: F }) {
|
|
26
|
+
const s = z, _ = F, L = J(), { searchKey: m, filter: w } = q(), y = i(() => s.categorizedItems || L.categorizedItems), k = i(() => Q(y.value, s.overrides)), P = i(() => k.value.reduce((t, e) => {
|
|
27
|
+
if (w([e.name]))
|
|
28
|
+
return t.push(e), t;
|
|
29
|
+
const r = e.items.filter((n) => w([n.label]));
|
|
30
|
+
return r.length && t.push({ ...e, items: r }), t;
|
|
31
|
+
}, [])), R = i(() => s.showVariant || s.selectVariant);
|
|
32
|
+
function S(t, e) {
|
|
33
|
+
var n, l;
|
|
34
|
+
const r = e ? (n = s.overrides) == null ? void 0 : n.filter((o) => !(o._id === t && o.combinationKey === e)) : (l = s.overrides) == null ? void 0 : l.filter((o) => o._id !== t);
|
|
35
|
+
_("update:overrides", r ?? []);
|
|
36
|
+
}
|
|
37
|
+
const { t: c } = M(), E = i(
|
|
38
|
+
() => (t) => [
|
|
39
|
+
{
|
|
40
|
+
accessorKey: "label",
|
|
41
|
+
enableSorting: !1,
|
|
42
|
+
header: c("menu.apply_product.table.category_count", {
|
|
43
|
+
name: t.name,
|
|
44
|
+
count: t.items.length
|
|
45
|
+
}),
|
|
46
|
+
cell: (e) => {
|
|
47
|
+
var l;
|
|
48
|
+
const r = e.getValue();
|
|
49
|
+
return ((l = e.row.original.variant) == null ? void 0 : l.length) ? u(
|
|
50
|
+
"p",
|
|
51
|
+
{
|
|
52
|
+
class: "flex items-center space-x-8"
|
|
53
|
+
},
|
|
54
|
+
[
|
|
55
|
+
u("p", {}, [r]),
|
|
56
|
+
u(B.FmIcon, {
|
|
57
|
+
name: "keyboard_arrow_up",
|
|
58
|
+
onClick: e.row.getToggleExpandedHandler(),
|
|
59
|
+
class: [
|
|
60
|
+
"cursor-pointer",
|
|
61
|
+
"transition-transform",
|
|
62
|
+
e.row.getIsExpanded() ? "transform rotate-180" : ""
|
|
63
|
+
]
|
|
64
|
+
})
|
|
65
|
+
]
|
|
66
|
+
) : r;
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: "action",
|
|
71
|
+
enableSorting: !1,
|
|
72
|
+
cell: (e) => {
|
|
73
|
+
const r = e.row.original, n = e.row.depth;
|
|
74
|
+
return s.editable ? u(
|
|
75
|
+
"div",
|
|
76
|
+
{
|
|
77
|
+
class: "flex items-center justify-end"
|
|
78
|
+
},
|
|
79
|
+
u(B.FmButton, {
|
|
80
|
+
prependIcon: "delete",
|
|
81
|
+
variant: I.Tertiary,
|
|
82
|
+
textColor: h.NeutralGray400,
|
|
83
|
+
onClick: () => {
|
|
84
|
+
var o;
|
|
85
|
+
if (n > 0) {
|
|
86
|
+
const v = (o = e.row.getParentRow()) == null ? void 0 : o.original;
|
|
87
|
+
S(v.value, r.value);
|
|
88
|
+
} else
|
|
89
|
+
S(r.value);
|
|
90
|
+
}
|
|
91
|
+
})
|
|
92
|
+
) : null;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
), x = U({}), N = (t) => t.variant, T = i(() => k.value.reduce((t, e) => t + e.items.length, 0));
|
|
97
|
+
return (t, e) => {
|
|
98
|
+
const r = b("fm-button"), n = b("fm-search"), l = b("fm-table");
|
|
99
|
+
return d(), p("div", W, [
|
|
100
|
+
f(O, { title: t.title }, {
|
|
101
|
+
"append-title": g(() => [
|
|
102
|
+
V("div", null, [
|
|
103
|
+
t.editable ? (d(), D($, {
|
|
104
|
+
key: 0,
|
|
105
|
+
"categorized-items": y.value,
|
|
106
|
+
"initial-value": t.overrides,
|
|
107
|
+
"select-variant": t.selectVariant,
|
|
108
|
+
"show-variant": R.value,
|
|
109
|
+
title: a(c)("menu.apply_product.link.title"),
|
|
110
|
+
onSubmit: e[0] || (e[0] = ({ items: o }) => _("update:overrides", o))
|
|
111
|
+
}, {
|
|
112
|
+
default: g(({ trigger: o }) => [
|
|
113
|
+
f(r, {
|
|
114
|
+
"text-color": a(h).ColorPrimary,
|
|
115
|
+
"border-color": a(h).ColorPrimary,
|
|
116
|
+
variant: a(I).Secondary,
|
|
117
|
+
label: t.linkButtonLabel || a(c)("menu.common.actions.link_product"),
|
|
118
|
+
"prepend-icon": "link",
|
|
119
|
+
onClick: o
|
|
120
|
+
}, null, 8, ["text-color", "border-color", "variant", "label", "onClick"])
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
}, 8, ["categorized-items", "initial-value", "select-variant", "show-variant", "title"])) : C("", !0)
|
|
124
|
+
])
|
|
125
|
+
]),
|
|
126
|
+
default: g(() => [
|
|
127
|
+
V("div", X, [
|
|
128
|
+
t.editable ? (d(), p("p", Y, j(a(c)("menu.common.labels.product_count", { count: T.value })), 1)) : C("", !0),
|
|
129
|
+
f(n, {
|
|
130
|
+
modelValue: a(m),
|
|
131
|
+
"onUpdate:modelValue": e[1] || (e[1] = (o) => A(m) ? m.value = o : null),
|
|
132
|
+
placeholder: a(c)("menu.common.labels.search_product"),
|
|
133
|
+
class: "flex-1"
|
|
134
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
135
|
+
])
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
}, 8, ["title"]),
|
|
139
|
+
(d(!0), p(G, null, H(P.value, (o) => (d(), p("div", {
|
|
140
|
+
key: o.id || "",
|
|
141
|
+
class: "xs:overflow-x-scroll"
|
|
142
|
+
}, [
|
|
143
|
+
f(l, {
|
|
144
|
+
"column-defs": E.value(o),
|
|
145
|
+
"expanded-state": x.value,
|
|
146
|
+
"get-sub-row": N,
|
|
147
|
+
"page-size": 9999,
|
|
148
|
+
"row-data": o.items,
|
|
149
|
+
"search-value": a(m),
|
|
150
|
+
"shrink-at": !1,
|
|
151
|
+
"hide-footer": "",
|
|
152
|
+
"onUpdate:expandedState": e[2] || (e[2] = (v) => x.value = v)
|
|
153
|
+
}, null, 8, ["column-defs", "expanded-state", "row-data", "search-value"])
|
|
154
|
+
]))), 128))
|
|
155
|
+
]);
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
export {
|
|
160
|
+
le as _
|
|
161
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { defineComponent as p, ref as v, resolveComponent as l, createBlock as a, openBlock as n, withCtx as c, createElementVNode as _, renderSlot as r, createCommentVNode as i, withModifiers as y, nextTick as B, createElementBlock as u, normalizeClass as C, createTextVNode as h, toDisplayString as k } from "vue";
|
|
2
|
+
const F = /* @__PURE__ */ p({
|
|
3
|
+
__name: "BottomSheetMenu",
|
|
4
|
+
setup(m) {
|
|
5
|
+
const e = v(!1);
|
|
6
|
+
async function t() {
|
|
7
|
+
await B(), e.value = !e.value;
|
|
8
|
+
}
|
|
9
|
+
return (s, o) => {
|
|
10
|
+
const f = l("FmButton"), b = l("FmBottomSheet");
|
|
11
|
+
return n(), a(b, {
|
|
12
|
+
modelValue: e.value,
|
|
13
|
+
"onUpdate:modelValue": o[1] || (o[1] = (d) => e.value = d),
|
|
14
|
+
"dismiss-away": "",
|
|
15
|
+
"no-header": "",
|
|
16
|
+
"z-index": 110
|
|
17
|
+
}, {
|
|
18
|
+
"bottom-sheet-button": c(() => [
|
|
19
|
+
s.$slots.button ? i("", !0) : (n(), a(f, {
|
|
20
|
+
key: 0,
|
|
21
|
+
icon: "more_vert",
|
|
22
|
+
variant: "tertiary",
|
|
23
|
+
onClick: y(t, ["stop"])
|
|
24
|
+
})),
|
|
25
|
+
r(s.$slots, "button")
|
|
26
|
+
]),
|
|
27
|
+
default: c(() => [
|
|
28
|
+
_("div", {
|
|
29
|
+
onClick: o[0] || (o[0] = (d) => e.value = !1)
|
|
30
|
+
}, [
|
|
31
|
+
r(s.$slots, "default")
|
|
32
|
+
])
|
|
33
|
+
]),
|
|
34
|
+
_: 3
|
|
35
|
+
}, 8, ["modelValue"]);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}), $ = { class: "py-8 px-12 hover:bg-fm-color-neutral-gray-100" }, S = /* @__PURE__ */ p({
|
|
39
|
+
__name: "BottomSheetMenuItem",
|
|
40
|
+
props: {
|
|
41
|
+
label: {},
|
|
42
|
+
icon: {},
|
|
43
|
+
disabled: { type: Boolean },
|
|
44
|
+
itemClass: {}
|
|
45
|
+
},
|
|
46
|
+
setup(m) {
|
|
47
|
+
const e = m;
|
|
48
|
+
return (t, s) => {
|
|
49
|
+
const o = l("FmIcon");
|
|
50
|
+
return n(), u("div", $, [
|
|
51
|
+
t.$slots.content ? i("", !0) : (n(), u("div", {
|
|
52
|
+
key: 0,
|
|
53
|
+
class: C(["flex items-center", {
|
|
54
|
+
"text-fm-color-typo-disabled": e.disabled,
|
|
55
|
+
"cursor-pointer": !e.disabled,
|
|
56
|
+
"cursor-not-allowed": e.disabled,
|
|
57
|
+
[e.itemClass || ""]: e.itemClass && !e.disabled
|
|
58
|
+
}])
|
|
59
|
+
}, [
|
|
60
|
+
t.icon ? (n(), a(o, {
|
|
61
|
+
key: 0,
|
|
62
|
+
name: t.icon
|
|
63
|
+
}, null, 8, ["name"])) : i("", !0),
|
|
64
|
+
h(" " + k(t.label), 1)
|
|
65
|
+
], 2)),
|
|
66
|
+
r(t.$slots, "content")
|
|
67
|
+
]);
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
export {
|
|
72
|
+
F as _,
|
|
73
|
+
S as a
|
|
74
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as se, computed as x, resolveComponent as _, createBlock as V, openBlock as p, createVNode as o, ref as K, createElementBlock as O, Fragment as j, renderSlot as be, unref as e, withCtx as g, createElementVNode as v, createCommentVNode as z, renderList as X, createTextVNode as xe, toDisplayString as N, markRaw as Ce, toRaw as ke, h as q, withModifiers as Q, normalizeClass as he } from "vue";
|
|
2
2
|
import { useRouter as Oe } from "vue-router";
|
|
3
|
-
import { u as pe, z as M, O as fe, D as ge, B as re, A as Fe, H as le, J as ve, ac as ie, a3 as Me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as pe, z as M, O as fe, D as ge, B as re, A as Fe, H as le, J as ve, ac as ie, a3 as Me } from "./index.vue_vue_type_script_setup_true_lang-Dje9kp-F.js";
|
|
4
4
|
import { useI18n as ue, useCoreStore as _e } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ye, components as ne, FmButtonVariant as J, FmButtonColorThemeVariant as Z, useDialog as Ve, useBreakpoints as De } from "@feedmepos/ui-library";
|
|
6
|
-
import { _ as Se, R as ce } from "./app-
|
|
7
|
-
import { _ as Te } from "./TextChip.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as te } from "./FormItem.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as Ue } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as me, a as we } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as Se, R as ce } from "./app-BhLVpUSl.js";
|
|
7
|
+
import { _ as Te } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
8
|
+
import { _ as te } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
9
|
+
import { _ as Ue } from "./RuleView.vue_vue_type_script_setup_true_lang-DputprQj.js";
|
|
10
|
+
import { _ as me, a as we } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BEDyKWhK.js";
|
|
11
11
|
import { c as Ee } from "./check-C9mY6LiX.js";
|
|
12
|
-
import { C as B, a as P } from "./catalogSetting-
|
|
13
|
-
import { _ as Ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { C as Ne } from "./catalog-
|
|
12
|
+
import { C as B, a as P } from "./catalogSetting-BVHO9tK3.js";
|
|
13
|
+
import { _ as Ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
14
|
+
import { C as Ne } from "./catalog-CudNSsIP.js";
|
|
15
15
|
const Re = /* @__PURE__ */ se({
|
|
16
16
|
__name: "CatalogUsageTable",
|
|
17
17
|
props: {
|
|
@@ -2,18 +2,18 @@ import { defineComponent as A, ref as F, computed as B, watch as se, resolveComp
|
|
|
2
2
|
import { useI18n as j } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Y, components as R, useDialog as ee, FmButtonVariant as X, useBreakpoints as de, FmButtonColorThemeVariant as me } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as pe } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { D as q, u as ge, Z as fe, X as _e, z as K, a2 as ye, O as G, J as te, a3 as ve } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as he } from "./PageLayout.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as be } from "./app-
|
|
5
|
+
import { D as q, u as ge, Z as fe, X as _e, z as K, a2 as ye, O as G, J as te, a3 as ve } from "./index.vue_vue_type_script_setup_true_lang-Dje9kp-F.js";
|
|
6
|
+
import { _ as he } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
+
import { _ as be } from "./app-BhLVpUSl.js";
|
|
8
8
|
import { c as xe } from "./createForm-BoUQeZTd.js";
|
|
9
|
-
import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-DputprQj.js";
|
|
10
10
|
import { u as Ce } from "./discardConfirm-BHni0LNu.js";
|
|
11
11
|
import { c as H } from "./object-DVUNCr7w.js";
|
|
12
12
|
import { r as ke } from "./rules-CIWTZQfh.js";
|
|
13
|
-
import { u as J, a as we } from "./menu-
|
|
13
|
+
import { u as J, a as we } from "./menu-D-lUEuvX.js";
|
|
14
14
|
import { c as Fe } from "./check-C9mY6LiX.js";
|
|
15
|
-
import { u as Ve } from "./item-
|
|
16
|
-
import { u as oe } from "./category-
|
|
15
|
+
import { u as Ve } from "./item-BtKW0wdj.js";
|
|
16
|
+
import { u as oe } from "./category-BQpgz1lk.js";
|
|
17
17
|
const $e = {
|
|
18
18
|
class: "fm-typo-en-title-md-600"
|
|
19
19
|
}, Me = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as V, computed as k, ref as C, resolveComponent as w, createElementBlock as g, openBlock as u, createElementVNode as i, createVNode as _, unref as a, withCtx as K, Fragment as P, renderList as U, toDisplayString as E, createBlock as S } from "vue";
|
|
2
2
|
import { useI18n as L } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as M, useBreakpoints as $, useDialog as I } from "@feedmepos/ui-library";
|
|
4
|
-
import { D as F, u as Y, X as j, O as D, J as q, z as A, a3 as J } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as R } from "./app-
|
|
6
|
-
import { u as O } from "./menu-
|
|
7
|
-
import { u as X } from "./category-
|
|
4
|
+
import { D as F, u as Y, X as j, O as D, J as q, z as A, a3 as J } from "./index.vue_vue_type_script_setup_true_lang-Dje9kp-F.js";
|
|
5
|
+
import { _ as R } from "./app-BhLVpUSl.js";
|
|
6
|
+
import { u as O } from "./menu-D-lUEuvX.js";
|
|
7
|
+
import { u as X } from "./category-BQpgz1lk.js";
|
|
8
8
|
const G = {
|
|
9
9
|
key: 0
|
|
10
10
|
}, H = {
|
|
@@ -2,13 +2,13 @@ import { defineComponent as le, ref as w, computed as V, resolveComponent as x,
|
|
|
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 { H as ee, I as me, J as re, z as oe, u as xe, O as Ce, D as we, a3 as Fe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { d as Ve } from "./vuedraggable-
|
|
8
|
-
import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as he } from "./app-BhLVpUSl.js";
|
|
6
|
+
import { H as ee, I as me, J as re, z as oe, u as xe, O as Ce, D as we, a3 as Fe } from "./index.vue_vue_type_script_setup_true_lang-Dje9kp-F.js";
|
|
7
|
+
import { d as Ve } from "./vuedraggable-CK8z7qA8.js";
|
|
8
|
+
import { _ as Z } from "./RuleView.vue_vue_type_script_setup_true_lang-DputprQj.js";
|
|
9
9
|
import { u as pe } from "./discardConfirm-BHni0LNu.js";
|
|
10
|
-
import { L as Se } from "./LinkProductSideSheet-
|
|
11
|
-
import { _ as Ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { L as Se } from "./LinkProductSideSheet-Br2eE8pC.js";
|
|
11
|
+
import { _ as Ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
12
12
|
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%]" }, Ue = { class: "px-16 py-8 grow" }, Ge = { class: "space-y-16" }, Te = { class: "flex flex-wrap gap-8 overflow-hidden mb-8" }, ze = { class: "flex gap-8 items-center justify-start" }, Be = /* @__PURE__ */ le({
|
|
13
13
|
__name: "CookingGuideStepDialog",
|
|
14
14
|
emits: ["onComplete"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as S, computed as o, createBlock as v, openBlock as t, unref as c, withCtx as g, renderSlot as B, ref as A, resolveComponent as I, createElementBlock as a, createElementVNode as m, createCommentVNode as b, Fragment as f, renderList as C, toDisplayString as d, withModifiers as F } from "vue";
|
|
2
2
|
import { useI18n as V } from "@feedmepos/mf-common";
|
|
3
|
-
import { _ as M } from "./MenuSelector.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as D } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as M } from "./MenuSelector.vue_vue_type_script_setup_true_lang-K6Z0QJBl.js";
|
|
4
|
+
import { u as D } from "./index.vue_vue_type_script_setup_true_lang-Dje9kp-F.js";
|
|
5
5
|
import { useBreakpoints as E } from "@feedmepos/ui-library";
|
|
6
|
-
import { _ as y } from "./TextChip.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as y } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
|
|
7
7
|
const X = /* @__PURE__ */ S({
|
|
8
8
|
__name: "SchedulerSelector",
|
|
9
9
|
setup(k) {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent as r, createElementBlock as s, openBlock as t, createElementVNode as o, renderSlot as n, createCommentVNode as p, toDisplayString as c } from "vue";
|
|
2
|
+
const d = { class: "space-y-8" }, i = { class: "flex items-center justify-between" }, l = { class: "space-y-8" }, a = { class: "fm-typo-en-body-lg-600" }, m = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
5
|
+
}, h = /* @__PURE__ */ r({
|
|
6
|
+
__name: "FormItem",
|
|
7
|
+
props: {
|
|
8
|
+
label: {},
|
|
9
|
+
description: {}
|
|
10
|
+
},
|
|
11
|
+
setup(_) {
|
|
12
|
+
return (e, y) => (t(), s("div", d, [
|
|
13
|
+
o("div", i, [
|
|
14
|
+
o("div", l, [
|
|
15
|
+
o("p", a, c(e.label), 1),
|
|
16
|
+
e.description ? (t(), s("p", m, c(e.description), 1)) : p("", !0)
|
|
17
|
+
]),
|
|
18
|
+
n(e.$slots, "append")
|
|
19
|
+
]),
|
|
20
|
+
n(e.$slots, "default")
|
|
21
|
+
]));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
h as _
|
|
26
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as m, ref as p, createBlock as i, openBlock as d, unref as n, withCtx as a, createElementVNode as e, toDisplayString as c, createCommentVNode as u, createVNode as l } from "vue";
|
|
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
|
-
import { _ as g } from "./PageLayout.vue_vue_type_script_setup_true_lang-
|
|
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-
|
|
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-2_lLBdX2.js";
|
|
6
|
+
import { A as b } from "./item-BtKW0wdj.js";
|
|
7
|
+
import { a as h } from "./menu-D-lUEuvX.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) {
|