@feedmepos/mf-menu 0.32.3-beta.1 → 0.32.4-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-DJBZBaaC.js → App-5YVGeojR.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-c9SlmPp2.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DhoHYIHW.js} +20 -20
- package/dist/{Catalog-Ct9jk3A_.js → Catalog-BTNv5n_D.js} +18 -18
- package/dist/{Category-Cf5KfKdv.js → Category-BE-kkKcL.js} +22 -23
- package/dist/{Category-CTTAtG31.js → Category-DuLhbRxE.js} +21 -22
- package/dist/{CookingGuide-BaNzajgf.js → CookingGuide-JtE8QMC6.js} +92 -93
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CRodr6tr.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DdJ-o_PW.js} +1 -1
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-B3Ixruh-.js +26 -0
- package/dist/{Group-BfRPCCbK.js → Group-BP-j3K6J.js} +1 -1
- package/dist/{Group-BJep-xq-.js → Group-DhS9e2E3.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CoCq0edM.js → Group.vue_vue_type_script_setup_true_lang-DXUQrXXI.js} +33 -34
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DviXfima.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CXzz4ClS.js} +24 -23
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DSrxcKIK.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Bpt-8tbe.js} +11525 -11504
- package/dist/{Ingredient-BnzW69zW.js → Ingredient-NSl0x-0T.js} +5 -6
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-D8m1pyLp.js → InventoryBinding.vue_vue_type_script_setup_true_lang-ByrNVvzs.js} +2 -2
- package/dist/LinkProductSideSheet-B_R_2iH6.js +692 -0
- package/dist/MenuSetting-C7cpv4S3.js +580 -0
- package/dist/{PrintRoute-CLsiDIkn.js → PrintRoute-DmP7KH58.js} +10 -11
- package/dist/{Product-DHE0XtX1.js → Product-B6gwN4g0.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-CVR8j-XT.js → Product.vue_vue_type_script_setup_true_lang-BKhn8Txf.js} +15 -16
- package/dist/{ProductInternalTools-BQOXHzYp.js → ProductInternalTools-D5xIh2j2.js} +5 -5
- package/dist/Products-Cxx8pJGK.js +692 -0
- package/dist/{Publish-BlEcoJaI.js → Publish-ZCzRBB5V.js} +21 -22
- package/dist/{Recipe-CkcNxf7p.js → Recipe-DcHdr_5J.js} +9 -10
- package/dist/RuleView.vue_vue_type_script_setup_true_lang-edNbsZTq.js +3282 -0
- package/dist/{Scheduler-DV0s_qkV.js → Scheduler-ZhDXk5gQ.js} +18 -19
- package/dist/{ServingSequence-CFd8Nwws.js → ServingSequence-DcfMbHjn.js} +15 -16
- package/dist/{Setting-B55IsZCX.js → Setting-fqf_sOIc.js} +45 -44
- package/dist/{Subcategory-BXCcVdR3.js → Subcategory-BidmfEOK.js} +18 -19
- package/dist/{Takeaway-BDvcwBHP.js → Takeaway-C83SKEvl.js} +1 -1
- package/dist/{Takeaway--U_lsgYi.js → Takeaway-p6thRg74.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DaYk2xdF.js → Takeaway.vue_vue_type_script_setup_true_lang-Dq6CjXCv.js} +48 -49
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-VBpTghy9.js → Thumbnail.vue_vue_type_script_setup_true_lang-CjLOy2k9.js} +10 -10
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-IBM6rC5M.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CWdsp9eo.js} +17 -16
- package/dist/{Unit-DkvTsQWA.js → Unit-CKIaBxVE.js} +7 -8
- package/dist/{Variant-tte76SbR.js → Variant-CE21vKC4.js} +38 -39
- package/dist/{_id_-AVMi3j91.js → _id_-BhWpg9Kj.js} +10 -10
- package/dist/{app-0s3jY-aE.js → app-BkcVM9nE.js} +1 -1
- package/dist/app-CEIhTuYG.js +363 -0
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +250 -0
- package/dist/apps/mf-menu/src/components/rule_group/CatalogLinkItemRuleForm.vue.d.ts +146 -0
- package/dist/apps/mf-menu/src/components/rule_group/CatalogLinkItemRuleView.vue.d.ts +158 -0
- package/dist/apps/mf-menu/src/components/rule_group/RuleCondition.vue.d.ts +103 -0
- package/dist/apps/mf-menu/src/components/rule_group/RuleConditionListView.vue.d.ts +54 -0
- package/dist/apps/mf-menu/src/components/rule_group/RuleConditionSelector.vue.d.ts +50 -0
- package/dist/apps/mf-menu/src/components/rule_group/RuleForm.vue.d.ts +117 -0
- package/dist/apps/mf-menu/src/components/rule_group/RuleView.vue.d.ts +141 -0
- package/dist/apps/mf-menu/src/composable/attributes.d.ts +10 -0
- package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +2 -3
- package/dist/apps/mf-menu/src/helper/menuExport.d.ts +3 -1
- package/dist/apps/mf-menu/src/helper/menuImport.d.ts +3 -2
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-DEGoFflv.js → linked-status-CStQ46Ze.js} +2 -2
- package/dist/assets/{override-menu-CZe07SCm.js → override-menu-DHTQAnIJ.js} +2 -2
- package/dist/assets/{validate-menu-BnHfAUEN.js → validate-menu-C_kUDOhd.js} +2 -2
- package/dist/{catalog-YE_knev1.js → catalog-WBrPmQwl.js} +1 -1
- package/dist/{catalogSetting-CeVHRHOo.js → catalogSetting-BAry7I_V.js} +1 -1
- package/dist/{category-Dph1iWr8.js → category-bW36h16p.js} +1 -1
- package/dist/{currency-Byslycrk.js → currency-vVxHIVBs.js} +1 -1
- package/dist/{index-C0T32LLy.js → index-Ba5-dCQA.js} +1 -1
- package/dist/{index-CUTY6cCm.js → index-C0EV3eSc.js} +20 -20
- package/dist/{index-DycbrG1l.js → index-XZlEgR2k.js} +8 -7
- package/dist/{index-Ddt_Nw9F.js → index-pxnQHVnU.js} +4 -4
- package/dist/{menu-tHhzkxDL.js → index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js} +18612 -18558
- package/dist/item-mFv0bFSn.js +7648 -0
- package/dist/{iteration-CcobmcUk.js → iteration-CaFp1Rtz.js} +3 -3
- package/dist/{jszip.min-DQrtMdm5.js → jszip.min-BkSmQKmf.js} +353 -353
- package/dist/{menu-DkRrqTVY.js → menu-ud-tWfIM.js} +1 -1
- package/dist/{menuV2-DJevKCqE.js → menuV2-xUMdUls0.js} +65 -65
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-Bkogs1qc.js → priceTier-BVTab4k1.js} +1 -1
- package/dist/{scheduler-BGQ_lxUL.js → scheduler-CAt7sELO.js} +13 -12
- package/dist/{subcategory-DvxvLe8X.js → subcategory-DMZuedoM.js} +2 -2
- package/dist/{toExcel-DQ4jlZPI.js → toExcel-CczXOnKy.js} +2 -2
- package/dist/{unit-DoxpI5dG.js → unit-CbD3sYqC.js} +2 -2
- package/package.json +4 -3
- package/dist/LinkProductSideSheet-C4yBnJSM.js +0 -361
- package/dist/MenuSetting-Fxl8F6N5.js +0 -618
- package/dist/Products-BLvwrz9P.js +0 -689
- package/dist/app-CjfWVFOg.js +0 -363
- package/dist/customAttributes-DvbvCfOd.js +0 -180
- package/dist/index.vue_vue_type_script_setup_true_lang-B1_JqsYF.js +0 -57
- package/dist/item-x1WWjISR.js +0 -9175
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z as u, H as i } from "./
|
|
1
|
+
import { z as u, H as i } from "./index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js";
|
|
2
2
|
var a = /* @__PURE__ */ ((e) => (e.AUTO = "auto", e.MANUAL = "manual", e))(a || {}), m = /* @__PURE__ */ ((e) => (e[e.Normal = 0] = "Normal", e[e.Rules = 1] = "Rules", e))(m || {});
|
|
3
3
|
class s {
|
|
4
4
|
static fromCatalog(r, n) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as M, watch as _, ref as f, resolveComponent as g, createBlock as x, openBlock as C, unref as l, withCtx as V, createVNode as A } from "vue";
|
|
2
|
-
import { J as s, z as u, u as F } from "./
|
|
2
|
+
import { J as s, z as u, u as F } from "./index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js";
|
|
3
3
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as O } from "@feedmepos/ui-library";
|
|
5
5
|
const y = /* @__PURE__ */ M({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, resolveComponent as d, createBlock as f, openBlock as i, Teleport as E, createVNode as _, Transition as g, withCtx as h, createCommentVNode as L, withKeys as w, normalizeStyle as F, normalizeClass as p, createElementVNode as m, renderSlot as x, createElementBlock as T, toDisplayString as R, Fragment as A, renderList as v, computed as C, unref as I } from "vue";
|
|
2
|
-
import { _ as k } from "./LinkProductSideSheet-
|
|
2
|
+
import { _ as k } from "./LinkProductSideSheet-B_R_2iH6.js";
|
|
3
3
|
import { useI18n as U } from "@feedmepos/mf-common";
|
|
4
4
|
const N = {
|
|
5
5
|
class: /* @__PURE__ */ p([
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as W, ref as A, resolveComponent as v, createElementBlock as E, openBlock as I, Fragment as B, createElementVNode as g, createVNode as c, normalizeClass as T, withCtx as _, toDisplayString as S, unref as i, h as G, watch as O, onMounted as K, nextTick as M, readonly as N, getCurrentInstance as U, getCurrentScope as L, onScopeDispose as $ } from "vue";
|
|
2
2
|
import { useI18n as q, useCustomAttributes as H, useCoreStore as J } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as Q } from "@feedmepos/ui-library";
|
|
4
|
-
import {
|
|
4
|
+
import { d as X, _ as k } from "./RuleView.vue_vue_type_script_setup_true_lang-edNbsZTq.js";
|
|
5
5
|
const Y = {
|
|
6
6
|
class: /* @__PURE__ */ T(["fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap", "text-fm-color-neutral-gray-400"])
|
|
7
7
|
}, Z = {
|
|
@@ -38,8 +38,8 @@ const Y = {
|
|
|
38
38
|
header: () => t("portalshell.customAttributes.form.value"),
|
|
39
39
|
accessorKey: "values",
|
|
40
40
|
enableSorting: !1,
|
|
41
|
-
cell: (
|
|
42
|
-
const s =
|
|
41
|
+
cell: (d) => {
|
|
42
|
+
const s = d.row.original, u = s.values;
|
|
43
43
|
return G(Q.FmSelect, {
|
|
44
44
|
modelValue: s.value,
|
|
45
45
|
placeholder: t("portalshell.customAttributes.form.valuePlaceholder"),
|
|
@@ -53,12 +53,12 @@ const Y = {
|
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
}], m = n;
|
|
56
|
-
function b(
|
|
57
|
-
return
|
|
56
|
+
function b(d) {
|
|
57
|
+
return d.reduce((s, u) => (u.value != null && (s[u.key] = u.value), s), {});
|
|
58
58
|
}
|
|
59
59
|
const h = () => {
|
|
60
|
-
const
|
|
61
|
-
restaurantCustomAttributes: b(
|
|
60
|
+
const d = r.value.filter((l) => l.value != null), s = a.value.filter((l) => l.value != null), u = {
|
|
61
|
+
restaurantCustomAttributes: b(d),
|
|
62
62
|
restaurantAttributes: b(s)
|
|
63
63
|
};
|
|
64
64
|
m("confirm", u), C();
|
|
@@ -66,20 +66,20 @@ const Y = {
|
|
|
66
66
|
function w() {
|
|
67
67
|
var u, l;
|
|
68
68
|
f.value = !0;
|
|
69
|
-
const
|
|
70
|
-
r.value.forEach((
|
|
71
|
-
|
|
69
|
+
const d = ((u = o.currentRestaurantAttrParams) == null ? void 0 : u.restaurantCustomAttributes) ?? {};
|
|
70
|
+
r.value.forEach((p) => {
|
|
71
|
+
p.value = d[p.key] ?? void 0;
|
|
72
72
|
});
|
|
73
73
|
const s = ((l = o.currentRestaurantAttrParams) == null ? void 0 : l.restaurantAttributes) ?? {};
|
|
74
|
-
a.value.forEach((
|
|
75
|
-
|
|
74
|
+
a.value.forEach((p) => {
|
|
75
|
+
p.value = s[p.key] ?? void 0;
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
function C() {
|
|
79
79
|
f.value = !1;
|
|
80
80
|
}
|
|
81
|
-
return (
|
|
82
|
-
const u = v("FmIcon"), l = v("FmChip"),
|
|
81
|
+
return (d, s) => {
|
|
82
|
+
const u = v("FmIcon"), l = v("FmChip"), p = v("FmTable"), V = v("FmSpacer"), F = v("fm-button"), j = v("FmDialog");
|
|
83
83
|
return I(), E(B, null, [g("div", {
|
|
84
84
|
class: "cursor-pointer",
|
|
85
85
|
onClick: w
|
|
@@ -114,7 +114,7 @@ const Y = {
|
|
|
114
114
|
default: _(() => [g("div", ee, [c(k, {
|
|
115
115
|
title: i(t)("menu.link_product.rules.restaurant_custom_attributes_filter")
|
|
116
116
|
}, {
|
|
117
|
-
default: _(() => [c(
|
|
117
|
+
default: _(() => [c(p, {
|
|
118
118
|
"column-defs": y,
|
|
119
119
|
"row-data": i(r),
|
|
120
120
|
"shrink-at": !1,
|
|
@@ -125,7 +125,7 @@ const Y = {
|
|
|
125
125
|
}, 8, ["title"]), c(k, {
|
|
126
126
|
title: i(t)("menu.link_product.rules.restaurant_filter")
|
|
127
127
|
}, {
|
|
128
|
-
default: _(() => [c(
|
|
128
|
+
default: _(() => [c(p, {
|
|
129
129
|
"column-defs": y,
|
|
130
130
|
"row-data": i(a),
|
|
131
131
|
"shrink-at": !1,
|
|
@@ -145,9 +145,9 @@ function fe(e) {
|
|
|
145
145
|
function x(e) {
|
|
146
146
|
return typeof e == "function" ? e() : i(e);
|
|
147
147
|
}
|
|
148
|
-
const
|
|
148
|
+
const de = typeof window < "u" && typeof document < "u";
|
|
149
149
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
150
|
-
const te = Object.prototype.toString,
|
|
150
|
+
const te = Object.prototype.toString, pe = (e) => te.call(e) === "[object Object]", D = () => {
|
|
151
151
|
};
|
|
152
152
|
function P(e, n) {
|
|
153
153
|
function o(...t) {
|
|
@@ -237,8 +237,8 @@ export {
|
|
|
237
237
|
me as _,
|
|
238
238
|
ve as a,
|
|
239
239
|
fe as b,
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
pe as c,
|
|
241
|
+
de as i,
|
|
242
242
|
D as n,
|
|
243
243
|
be as r,
|
|
244
244
|
x as t,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent as G, computed as w, ref as E, watch as C, resolveComponent as g, createElementBlock as F, openBlock as V, Fragment as K, renderSlot as j, createVNode as s, unref as n, withCtx as m, createElementVNode as d, createBlock as M, createCommentVNode as U, normalizeClass as H, createSlots as J, toDisplayString as Q } from "vue";
|
|
2
|
-
import { O as W, D as X, H as f, B, J as D, z as I, I as Z } from "./
|
|
2
|
+
import { O as W, D as X, H as f, B, J as D, z as I, I as Z } from "./index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js";
|
|
3
3
|
import { d as ee } from "./vuedraggable-DnBIRDMr.js";
|
|
4
4
|
import { useI18n as te } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ae, components as ne } from "@feedmepos/ui-library";
|
|
6
|
-
import { _ as oe
|
|
6
|
+
import { _ as oe } from "./FormItem.vue_vue_type_script_setup_true_lang-B3Ixruh-.js";
|
|
7
|
+
import { _ as le } from "./RuleView.vue_vue_type_script_setup_true_lang-edNbsZTq.js";
|
|
7
8
|
import { u as ie } from "./discardConfirm-BHni0LNu.js";
|
|
8
|
-
import { _ as se } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as se } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DhoHYIHW.js";
|
|
9
10
|
import { c as re } from "./check-C9mY6LiX.js";
|
|
10
11
|
const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32" }, de = ["data-not-allow-sort"], ce = {
|
|
11
12
|
key: 1,
|
|
@@ -146,7 +147,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
|
|
|
146
147
|
var _;
|
|
147
148
|
return [
|
|
148
149
|
d("div", me, [
|
|
149
|
-
s(
|
|
150
|
+
s(le, {
|
|
150
151
|
title: n(o)("menu.variant.form.detail")
|
|
151
152
|
}, {
|
|
152
153
|
default: m(() => [
|
|
@@ -159,7 +160,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
|
|
|
159
160
|
rules: [(u) => !!u || n(o)("menu.variant.form.name.required")],
|
|
160
161
|
placeholder: n(o)("menu.variant.form.name.placeholder")
|
|
161
162
|
}, null, 8, ["label", "helper-text", "modelValue", "rules", "placeholder"]),
|
|
162
|
-
s(
|
|
163
|
+
s(oe, {
|
|
163
164
|
label: n(o)("menu.variant.form.options.title")
|
|
164
165
|
}, {
|
|
165
166
|
default: m(() => [
|
|
@@ -232,7 +233,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
|
|
|
232
233
|
], 64);
|
|
233
234
|
};
|
|
234
235
|
}
|
|
235
|
-
}),
|
|
236
|
+
}), we = ve;
|
|
236
237
|
export {
|
|
237
|
-
|
|
238
|
+
we as V
|
|
238
239
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as S, z as A, u as K, H as O, B as q, I as z } from "./
|
|
1
|
+
import { A as S, z as A, u as K, H as O, B as q, I as z } from "./index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js";
|
|
2
2
|
import { defineComponent as T, ref as y, computed as B, watch as L, onMounted as R, onBeforeUnmount as H, resolveComponent as _, createBlock as N, openBlock as M, withModifiers as C, withCtx as g, renderSlot as U, createElementBlock as P, Fragment as W, createVNode as f, unref as i, createElementVNode as D, createCommentVNode as j, toDisplayString as Y } from "vue";
|
|
3
3
|
import { useI18n as I } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as Z } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as G } from "./
|
|
5
|
+
import { _ as G } from "./RuleView.vue_vue_type_script_setup_true_lang-edNbsZTq.js";
|
|
6
6
|
import { u as J } from "./discardConfirm-BHni0LNu.js";
|
|
7
|
-
import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DhoHYIHW.js";
|
|
8
8
|
import { c as X } from "./check-C9mY6LiX.js";
|
|
9
|
-
import { f as ee } from "./currency-
|
|
9
|
+
import { f as ee } from "./currency-vVxHIVBs.js";
|
|
10
10
|
import { c as te } from "./string-DpfFixWH.js";
|
|
11
11
|
const ae = /* @__PURE__ */ T({
|
|
12
12
|
__name: "CurrencyInput",
|