@feedmepos/mf-menu 0.32.43 → 0.32.45-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-C9b4SjED.js → App-u5AOIdU4.js} +1472 -1459
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C1T4Ewek.js → ApplyProduct.vue_vue_type_script_setup_true_lang-RTdI8EVk.js} +3 -3
- package/dist/{Catalog-BVrf3VaX.js → Catalog-DDMz6wD9.js} +44 -44
- package/dist/{Category-BkReM5IG.js → Category-BE0d0_de.js} +24 -24
- package/dist/{Category-BMzIQqIE.js → Category-DoIleKPb.js} +78 -78
- package/dist/{CookingGuide-CvctI1TH.js → CookingGuide-iP5hFtlB.js} +105 -105
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-bYSEp6Wb.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CSaMT7Gr.js} +1 -1
- package/dist/{Group-CHkNuuHE.js → Group-AXDRjsKC.js} +3 -3
- package/dist/{Group-BQzmXagr.js → Group-xjimyqnO.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BkruJTpL.js → Group.vue_vue_type_script_setup_true_lang-DB_X7ws3.js} +173 -173
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CBz83Qd1.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D_IUSYDa.js} +30 -30
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dpx4meDa.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Suib7m8i.js} +1750 -1751
- package/dist/{Ingredient-BNsKYrQB.js → Ingredient-yr2DWIMw.js} +20 -20
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DzzwwdA_.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BpiU1gRP.js} +2 -2
- package/dist/{LinkProductSideSheet-C6-wef-M.js → LinkProductSideSheet-2MbaATTn.js} +45 -45
- package/dist/{MenuSetting-DRaw7b6m.js → MenuSetting-BhkjzPiN.js} +47 -47
- package/dist/{PrintRoute-BKB-thVp.js → PrintRoute-ChqpbVo4.js} +39 -39
- package/dist/{Product-vviXmBR1.js → Product-BpnGnMzm.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-5h-k6zad.js → Product.vue_vue_type_script_setup_true_lang-COkk299w.js} +465 -463
- package/dist/{ProductInternalTools-DtLk3xFR.js → ProductInternalTools-BEwLYcEn.js} +66 -66
- package/dist/Products-lONe7x_i.js +291 -0
- package/dist/{Publish-jx0_H_26.js → Publish-CXRgBz-S.js} +29 -29
- package/dist/{Recipe-Dk04ge-_.js → Recipe-Bbt3hG6N.js} +24 -24
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DaCVUn1i.js → RuleView.vue_vue_type_script_setup_true_lang-DXisBADc.js} +366 -366
- package/dist/{Scheduler-vFTvCVcY.js → Scheduler-DJsgP_Hi.js} +11 -11
- package/dist/{ServingSequence-DiBqQ_iS.js → ServingSequence-DALjVV2I.js} +44 -44
- package/dist/{Setting-CtzJ_pVM.js → Setting-B23o5SoS.js} +17 -17
- package/dist/{Subcategory-Cmv2W67T.js → Subcategory-CS4MEgtM.js} +109 -110
- package/dist/{Takeaway-DBW4UPFZ.js → Takeaway-CI2Y-_LF.js} +13 -13
- package/dist/{Takeaway-ChaYk0Ix.js → Takeaway-D27iA6M6.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-C7RL3ITP.js → Takeaway.vue_vue_type_script_setup_true_lang-Ca3qK9zO.js} +111 -111
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-edwJ1203.js → Thumbnail.vue_vue_type_script_setup_true_lang-Da2jQE45.js} +27 -27
- package/dist/TranslationFieldSection.vue_vue_type_script_setup_true_lang-DUScE-82.js +278 -0
- package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-E3-hgVdd.js +140 -0
- package/dist/TranslationViewChip.vue_vue_type_script_setup_true_lang-BlACWsDs.js +60 -0
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DnuNFxC7.js +6130 -0
- package/dist/{Unit-BgLqPMLe.js → Unit-5pv3oxSc.js} +8 -8
- package/dist/Variant-CTAI6p6r.js +248 -0
- package/dist/{_id_-CDN7as0K.js → _id_-D09xegPQ.js} +28 -28
- package/dist/{app-0AQBxO0B.js → app-8-JCz9b5.js} +1 -1
- package/dist/app-Bk0DN7oZ.js +363 -0
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/translation/LanguageChip.vue.d.ts +18 -0
- package/dist/apps/mf-menu/src/components/translation/LanguageSelector.vue.d.ts +33 -0
- package/dist/apps/mf-menu/src/components/translation/LocaleIconBadge.vue.d.ts +29 -0
- package/dist/apps/mf-menu/src/components/translation/TranslationFieldRow.vue.d.ts +39 -0
- package/dist/apps/mf-menu/src/components/translation/TranslationViewChip.vue.d.ts +15 -0
- package/dist/apps/mf-menu/src/composable/translationLanguages.d.ts +16 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -0
- package/dist/apps/mf-menu/src/utils/translation.d.ts +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-DTIHdzDw.js → linked-status-dENy3aw3.js} +5 -5
- package/dist/assets/{menu-export-CpcyYnR-.js → menu-export-E9V7bg-T.js} +2 -2
- package/dist/assets/{override-menu-CASoFjhZ.js → override-menu-HaI7O9Fu.js} +5 -5
- package/dist/assets/{validate-menu-C5AkexWv.js → validate-menu-C8LhbVSM.js} +2 -2
- package/dist/{catalog-BA1e4WAu.js → catalog-DhXoYsFF.js} +1 -1
- package/dist/{catalogSetting-DE5rjVfj.js → catalogSetting-DyRqWzdW.js} +1 -1
- package/dist/{currency-D5qYOpxI.js → currency-BkmIftYM.js} +1 -1
- package/dist/dayjs.min-nQqVHQcC.js +6 -0
- package/dist/index-28XF3UnN.js +246 -0
- package/dist/{index-vPs04fVf.js → index-BQ95VVc6.js} +33 -32
- package/dist/index-BXWquw9Z.js +472 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DSZsSghE.js → index.vue_vue_type_script_setup_true_lang-CJO2XWIn.js} +270 -244
- package/dist/{item-Dp17qTYi.js → item-DmTvGVsp.js} +3270 -3406
- package/dist/{jszip.min-DlpCmtaR.js → jszip.min-8Z5To_Pk.js} +6 -7
- package/dist/{menu-BOVrJ7di.js → menu-Csu9X1_I.js} +1 -1
- package/dist/{menuV2-BHnldQiM.js → menuV2-CC-vGiv5.js} +71 -71
- package/dist/{priceTier-BRQz1GRF.js → priceTier-Bj9Y6SSr.js} +1 -1
- package/dist/{rules-CO49kqfr.js → rules-Dod2cBHH.js} +12 -12
- package/dist/{scheduler-BDHjl8t7.js → scheduler-B3M-715v.js} +29 -29
- package/dist/{toExcel-DGdZKSxT.js → toExcel-67ufpOxx.js} +2 -2
- package/dist/{unit-D7QVgTp_.js → unit-BQrnccs6.js} +35 -35
- package/package.json +1 -1
- package/dist/Products-BR3iBVFd.js +0 -307
- package/dist/RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-I6qrPmxY.js +0 -144
- package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-Cs6s_csi.js +0 -196
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DIbjlDVn.js +0 -5767
- package/dist/Variant-B8yxF5mJ.js +0 -247
- package/dist/app-BU6wILmn.js +0 -2286
- package/dist/dayjs.min-BFDAHpA8.js +0 -7
- package/dist/index--nQbIQ0d.js +0 -545
- package/dist/translation-BCZ1Ruvv.js +0 -93
- /package/dist/apps/mf-menu/src/components/{TranslationBadge.vue.d.ts → translation/TranslationBadge.vue.d.ts} +0 -0
- /package/dist/apps/mf-menu/src/components/{TranslationFieldSection.vue.d.ts → translation/TranslationFieldSection.vue.d.ts} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as N, useModel as K, computed as B, resolveComponent as d, createBlock as
|
|
1
|
+
import { defineComponent as N, useModel as K, computed as B, resolveComponent as d, createBlock as P, openBlock as b, ref as L, watch as W, withCtx as _, createElementBlock as F, createElementVNode as I, Fragment as q, renderList as X, createVNode as u, unref as e, createCommentVNode as $, withModifiers as Q, onMounted as te, renderSlot as le, toDisplayString as h, createTextVNode as ae } from "vue";
|
|
2
2
|
import { useI18n as z, useCustomAttributes as ue, useCoreStore as re, isEmptyRule as oe, EMPTY_RULE as w } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as x } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
4
|
-
import { u as D } from "./priceTier-
|
|
5
|
-
import { b as
|
|
6
|
-
import { FmButtonVariant as Z, useDialog as ne, components as ie, FmButtonColorThemeVariant as
|
|
7
|
-
import { m as
|
|
8
|
-
import { L as R } from "./catalogSetting-
|
|
9
|
-
import { L as de } from "./LinkProductSideSheet-
|
|
4
|
+
import { u as D } from "./priceTier-Bj9Y6SSr.js";
|
|
5
|
+
import { b as O } from "./app-5fxKLAzS.js";
|
|
6
|
+
import { FmButtonVariant as Z, useDialog as ne, components as ie, FmButtonColorThemeVariant as j } from "@feedmepos/ui-library";
|
|
7
|
+
import { m as G, f as Y, d as se, _ as me } from "./RuleView.vue_vue_type_script_setup_true_lang-DXisBADc.js";
|
|
8
|
+
import { L as R } from "./catalogSetting-DyRqWzdW.js";
|
|
9
|
+
import { L as de } from "./LinkProductSideSheet-2MbaATTn.js";
|
|
10
10
|
import { c as H } from "./check-C9mY6LiX.js";
|
|
11
|
-
import { u as pe,
|
|
11
|
+
import { u as pe, I as J, an as ce } from "./index.vue_vue_type_script_setup_true_lang-CJO2XWIn.js";
|
|
12
12
|
import { c as ve } from "./string-DpfFixWH.js";
|
|
13
13
|
const fe = /* @__PURE__ */ N({
|
|
14
14
|
__name: "LinkPriceTier",
|
|
@@ -24,7 +24,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
24
24
|
})));
|
|
25
25
|
return (V, g) => {
|
|
26
26
|
const i = d("FmSelect");
|
|
27
|
-
return b(),
|
|
27
|
+
return b(), P(i, {
|
|
28
28
|
items: a.value,
|
|
29
29
|
"model-value": r.value ?? [],
|
|
30
30
|
multiselect: !0,
|
|
@@ -53,8 +53,8 @@ const fe = /* @__PURE__ */ N({
|
|
|
53
53
|
return {
|
|
54
54
|
...l,
|
|
55
55
|
restaurantRule: {
|
|
56
|
-
restaurantAttributes:
|
|
57
|
-
restaurantCustomAttributes:
|
|
56
|
+
restaurantAttributes: G((p = l.restaurantRule) == null ? void 0 : p.restaurantAttributes),
|
|
57
|
+
restaurantCustomAttributes: G((c = l.restaurantRule) == null ? void 0 : c.restaurantCustomAttributes)
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
}));
|
|
@@ -101,13 +101,13 @@ const fe = /* @__PURE__ */ N({
|
|
|
101
101
|
}
|
|
102
102
|
return (l, p) => {
|
|
103
103
|
const c = d("FmSelect"), n = d("fm-button"), v = d("FmCard"), E = d("FmButton");
|
|
104
|
-
return b(),
|
|
105
|
-
default: _(() => [(b(!0), F(q, null, X(o.value, (M, S) => (b(),
|
|
104
|
+
return b(), P(me, null, {
|
|
105
|
+
default: _(() => [(b(!0), F(q, null, X(o.value, (M, S) => (b(), P(v, {
|
|
106
106
|
key: S,
|
|
107
107
|
class: "p-16 space-y-16",
|
|
108
108
|
variant: "outlined"
|
|
109
109
|
}, {
|
|
110
|
-
default: _(() => [
|
|
110
|
+
default: _(() => [I("div", null, [u(c, {
|
|
111
111
|
label: "Price groups",
|
|
112
112
|
"label-mark": "required",
|
|
113
113
|
items: s.value,
|
|
@@ -119,7 +119,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
119
119
|
}, {
|
|
120
120
|
default: _(() => {
|
|
121
121
|
var f;
|
|
122
|
-
return [u(e(
|
|
122
|
+
return [u(e(O), {
|
|
123
123
|
attributes: e(g),
|
|
124
124
|
"model-value": (f = M.restaurantRule) == null ? void 0 : f.restaurantAttributes,
|
|
125
125
|
"onUpdate:modelValue": (C) => i(S, C, "restaurantAttributes")
|
|
@@ -131,20 +131,20 @@ const fe = /* @__PURE__ */ N({
|
|
|
131
131
|
}, {
|
|
132
132
|
default: _(() => {
|
|
133
133
|
var f;
|
|
134
|
-
return [u(e(
|
|
134
|
+
return [u(e(O), {
|
|
135
135
|
attributes: e(V),
|
|
136
136
|
"model-value": (f = M.restaurantRule) == null ? void 0 : f.restaurantCustomAttributes,
|
|
137
137
|
"onUpdate:modelValue": (C) => i(S, C, "restaurantCustomAttributes")
|
|
138
138
|
}, null, 8, ["attributes", "model-value", "onUpdate:modelValue"])];
|
|
139
139
|
}),
|
|
140
140
|
_: 2
|
|
141
|
-
}, 1032, ["label"]),
|
|
141
|
+
}, 1032, ["label"]), I("div", _e, [u(n, {
|
|
142
142
|
variant: e(Z).Tertiary,
|
|
143
143
|
"prepend-icon": "delete",
|
|
144
144
|
onClick: (f) => A(S)
|
|
145
145
|
}, null, 8, ["variant", "onClick"])])]),
|
|
146
146
|
_: 2
|
|
147
|
-
}, 1024))), 128)),
|
|
147
|
+
}, 1024))), 128)), I("div", null, [u(E, {
|
|
148
148
|
label: "Add rule",
|
|
149
149
|
onClick: t
|
|
150
150
|
})])]),
|
|
@@ -178,7 +178,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
178
178
|
}
|
|
179
179
|
return (s, t) => {
|
|
180
180
|
const A = d("fm-radio"), k = d("fm-radio-group");
|
|
181
|
-
return !s.isMainCatalog && s.isV4 && e(V).priceTiers.value.length > 0 ? (b(),
|
|
181
|
+
return !s.isMainCatalog && s.isV4 && e(V).priceTiers.value.length > 0 ? (b(), P(x, {
|
|
182
182
|
key: 0,
|
|
183
183
|
label: e(a)("menu.price_tier.link_price_tier")
|
|
184
184
|
}, {
|
|
@@ -298,7 +298,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
298
298
|
le(n.$slots, "default", { trigger: s }),
|
|
299
299
|
u(ee, {
|
|
300
300
|
modelValue: i.value,
|
|
301
|
-
"onUpdate:modelValue": v[4] || (v[4] = (
|
|
301
|
+
"onUpdate:modelValue": v[4] || (v[4] = (U) => i.value = U),
|
|
302
302
|
"is-component": e(ie).FmForm,
|
|
303
303
|
"is-component-props": {
|
|
304
304
|
onValidationSuccess: c
|
|
@@ -312,7 +312,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
312
312
|
class: "sm:w-full xs:w-full ml-auto",
|
|
313
313
|
label: "Cancel",
|
|
314
314
|
variant: "tertiary",
|
|
315
|
-
onClick: v[3] || (v[3] = (
|
|
315
|
+
onClick: v[3] || (v[3] = (U) => s(!1))
|
|
316
316
|
}),
|
|
317
317
|
u(C, {
|
|
318
318
|
label: e(ve)(n.action),
|
|
@@ -323,9 +323,9 @@ const fe = /* @__PURE__ */ N({
|
|
|
323
323
|
}, null, 8, ["label"])
|
|
324
324
|
]),
|
|
325
325
|
default: _(() => {
|
|
326
|
-
var
|
|
326
|
+
var U;
|
|
327
327
|
return [
|
|
328
|
-
|
|
328
|
+
I("div", ge, [
|
|
329
329
|
u(M, {
|
|
330
330
|
modelValue: t.value.percentage,
|
|
331
331
|
"onUpdate:modelValue": v[0] || (v[0] = (m) => t.value.percentage = m),
|
|
@@ -343,7 +343,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
343
343
|
]),
|
|
344
344
|
_: 1
|
|
345
345
|
}, 8, ["modelValue", "rules", "label", "placeholder"]),
|
|
346
|
-
|
|
346
|
+
I("div", null, [
|
|
347
347
|
u(f, {
|
|
348
348
|
modelValue: k.value,
|
|
349
349
|
"onUpdate:modelValue": [
|
|
@@ -353,7 +353,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
353
353
|
class: "space-y-8"
|
|
354
354
|
}, {
|
|
355
355
|
default: _(() => [
|
|
356
|
-
(b(!0), F(q, null, X(p.value, (m) => (b(),
|
|
356
|
+
(b(!0), F(q, null, X(p.value, (m) => (b(), P(S, {
|
|
357
357
|
key: m.value,
|
|
358
358
|
label: m.label,
|
|
359
359
|
value: m.value
|
|
@@ -361,7 +361,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
361
361
|
]),
|
|
362
362
|
_: 1
|
|
363
363
|
}, 8, ["modelValue"]),
|
|
364
|
-
|
|
364
|
+
I("div", ke, [
|
|
365
365
|
u(de, {
|
|
366
366
|
title: "Link products",
|
|
367
367
|
"categorized-items": e(o).categorizedItems,
|
|
@@ -370,10 +370,10 @@ const fe = /* @__PURE__ */ N({
|
|
|
370
370
|
onSubmit: v[2] || (v[2] = ({ items: m }) => A(m))
|
|
371
371
|
}, {
|
|
372
372
|
default: _(({ trigger: m }) => [
|
|
373
|
-
k.value === 1 ? (b(),
|
|
373
|
+
k.value === 1 ? (b(), P(C, {
|
|
374
374
|
key: 0,
|
|
375
|
-
"text-color": e(
|
|
376
|
-
"border-color": e(
|
|
375
|
+
"text-color": e(j).ColorPrimary,
|
|
376
|
+
"border-color": e(j).ColorPrimary,
|
|
377
377
|
variant: e(Z).Secondary,
|
|
378
378
|
label: e(a)("menu.markup.dialog.products.link"),
|
|
379
379
|
"prepend-icon": "link",
|
|
@@ -382,7 +382,7 @@ const fe = /* @__PURE__ */ N({
|
|
|
382
382
|
]),
|
|
383
383
|
_: 1
|
|
384
384
|
}, 8, ["categorized-items", "initial-value"]),
|
|
385
|
-
(
|
|
385
|
+
(U = t.value.includeItems) != null && U.length ? (b(), F("p", Ve, h(e(a)("menu.markup.dialog.products.count", { count: t.value.includeItems.length })), 1)) : $("", !0)
|
|
386
386
|
])
|
|
387
387
|
])
|
|
388
388
|
])
|