@feedmepos/mf-menu 0.31.16-beta.1 → 0.31.17-beta.1
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-Bsppf5CN.js → App-BUjwToat.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DTuPAGEJ.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CBPOCkmg.js} +2 -2
- package/dist/{Catalog-Bj3MNcLG.js → Catalog-BkfsckOV.js} +18 -18
- package/dist/{Category-CHvG2e6b.js → Category-C7EPAK0G.js} +36 -36
- package/dist/{Category-WLIH1Zyc.js → Category-DTKlxBpE.js} +24 -24
- package/dist/{CookingGuide-C8N45xnL.js → CookingGuide-DCazfCuz.js} +56 -56
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-GriZxAIw.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-2hApsFMq.js} +1 -1
- package/dist/{Group-CR3LWKXE.js → Group-DLjkPLk9.js} +1 -1
- package/dist/{Group-Byj3qEBv.js → Group-DNBFvwk-.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-tecpeqJT.js → Group.vue_vue_type_script_setup_true_lang-8Upt5al2.js} +54 -54
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BkLHDcZV.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BIWySrgb.js} +6 -6
- package/dist/ImportProductDialog.vue_vue_type_script_setup_true_lang-YOzhk0a0.js +96257 -0
- package/dist/{Ingredient-BCfCDCFS.js → Ingredient-BUIIhzYV.js} +52 -52
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CpXnjduY.js → InventoryBinding.vue_vue_type_script_setup_true_lang-nqY-pxrW.js} +1052 -1052
- package/dist/{LinkProductSideSheet-BGlLnnm9.js → LinkProductSideSheet-xIuPAwp7.js} +14 -14
- package/dist/{MenuSetting-CdKhTxyc.js → MenuSetting-C3J66nHM.js} +11 -11
- package/dist/{PrintRoute-B-UlUlSD.js → PrintRoute-DnZrJ9IW.js} +26 -26
- package/dist/{Product-BggNPOwm.js → Product-jBcyCvO7.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DPOaafZ-.js → Product.vue_vue_type_script_setup_true_lang-CsaY9Kve.js} +113 -113
- package/dist/ProductInternalTools-CUZSrxvR.js +415 -0
- package/dist/Products-CRFXG-Du.js +270 -0
- package/dist/{Publish-BTPdN1Ub.js → Publish-Ch5QlJ9v.js} +37 -37
- package/dist/{Recipe-CibJRxHH.js → Recipe-BZJUndG3.js} +25 -25
- package/dist/{Scheduler-DAShXnol.js → Scheduler-BgMTPzhG.js} +13 -13
- package/dist/{ServingSequence-DFs7VR5V.js → ServingSequence-BISPWfTD.js} +36 -36
- package/dist/{Setting-aApApOKZ.js → Setting-4L-p0np0.js} +24 -24
- package/dist/{Subcategory-CGnGq5Kd.js → Subcategory-CptCl4cb.js} +39 -39
- package/dist/{Takeaway-rJDqoozq.js → Takeaway-BAM3XfIf.js} +1 -1
- package/dist/{Takeaway-C8M-Z4eK.js → Takeaway-DqiGDTfg.js} +12 -12
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-CrFeCwvr.js → Takeaway.vue_vue_type_script_setup_true_lang-oZo0esEd.js} +25 -25
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CCVSPoDB.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C7QOuqzZ.js} +115 -115
- package/dist/{Unit-CcWjE73k.js → Unit-BYAvg037.js} +8 -8
- package/dist/{Variant-BDPjFaAa.js → Variant-uGUG4vH2.js} +18 -18
- package/dist/{_id_-mUBoDBKS.js → _id_-Uf140OcM.js} +19 -19
- package/dist/{app-BBoQR7rs.js → app-50bXo6rU.js} +262 -247
- package/dist/{app-sdhJyRKX.js → app-CUuWtEOn.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +12 -0
- package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +1618 -0
- package/dist/apps/mf-menu/src/components/productInternalTools/ImageUpdatePreview.vue.d.ts +33 -0
- package/dist/apps/mf-menu/src/components/productInternalTools/ImageUploadDialog.vue.d.ts +28 -0
- package/dist/apps/mf-menu/src/helper/import-export.d.ts +15 -19
- package/dist/apps/mf-menu/src/utils/batchProcessor.d.ts +33 -0
- package/dist/apps/mf-menu/src/utils/images.d.ts +44 -0
- package/dist/apps/mf-menu/src/views/Product/ProductInternalTools.vue.d.ts +2 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-BkX3Y-ws.js → linked-status-Dsak7omL.js} +2 -2
- package/dist/assets/{override-menu-Bo0ZNZ-U.js → override-menu-COqLF5sS.js} +2 -2
- package/dist/assets/{validate-menu-CIWz9YXT.js → validate-menu-DkLBw23v.js} +2 -2
- package/dist/{catalog-BbukcamZ.js → catalog-x_NpHc5w.js} +1 -1
- package/dist/{catalogSetting-7ZMZjqGs.js → catalogSetting-DU_dUoSh.js} +1 -1
- package/dist/{category-Cq2MmCBq.js → category-DJRGfRhf.js} +1 -1
- package/dist/{currency-OQd6moI9.js → currency-ljvNxerM.js} +1 -1
- package/dist/{dayjs.min-m51FMJgI.js → dayjs.min-DsjutQjn.js} +1 -1
- package/dist/{index-b9FcXU4s.js → index-Bb7-YO3o.js} +23 -23
- package/dist/{index-DlTid7hh.js → index-C58VTE70.js} +14 -14
- package/dist/{index-B5uSVMTf.js → index-CBnsZeF8.js} +1 -1
- package/dist/{item-96CGb3Kx.js → item-Cerfyitf.js} +1521 -1485
- package/dist/jszip.min-Co4cqzOU.js +2393 -0
- package/dist/{menu-Bqiz6B2P.js → menu-B7KFi80A.js} +154 -154
- package/dist/{menu-BmBsIlGC.js → menu-Bpul41jT.js} +1 -1
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-Ck8MqQWD.js → priceTier-CfW69h1F.js} +1 -1
- package/dist/{scheduler-DeOCwKnf.js → scheduler-DsO3qpTw.js} +3 -3
- package/dist/{subcategory-DbiQCCF5.js → subcategory-Cb_rqtHz.js} +84 -84
- package/dist/{toExcel-BsguLQA5.js → toExcel-P9X-WSN5.js} +15 -15
- package/dist/{unit-CnM6N-39.js → unit-Dej_sihQ.js} +24 -24
- package/package.json +3 -2
- package/dist/ImportProductDialog.vue_vue_type_script_setup_true_lang-BRlU0arf.js +0 -73010
- package/dist/Products-DZFgAKxB.js +0 -2660
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as ie, computed as b, ref as $, reactive as Ve, watch as Ce, resolveComponent as d, createElementBlock as y, openBlock as m, Fragment as V, renderSlot as Me, createVNode as s, unref as e, withCtx as k, createBlock as
|
|
1
|
+
import { defineComponent as ie, computed as b, ref as $, reactive as Ve, watch as Ce, resolveComponent as d, createElementBlock as y, openBlock as m, Fragment as V, renderSlot as Me, createVNode as s, unref as e, withCtx as k, createBlock as I, createCommentVNode as G, createElementVNode as v, renderList as j, normalizeClass as J, createTextVNode as we, toDisplayString as U, getCurrentInstance as Ee, h as te, withModifiers as oe } from "vue";
|
|
2
2
|
import { useI18n as Q } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as W, components as se, useDialog as $e, FmButtonVariant as ue, useBreakpoints as Ue } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as Ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import {
|
|
6
|
-
import { _ as
|
|
5
|
+
import { O as re, B as X, u as Z, H as Oe, A as K, I as Be, D as le, J as q, G as H } from "./menu-B7KFi80A.js";
|
|
6
|
+
import { _ as Ie } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
7
|
import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
8
|
-
import { defineStore as
|
|
9
|
-
import { _ as ae, g as Le } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as
|
|
11
|
-
import { c as
|
|
12
|
-
import { u as
|
|
13
|
-
import { c as
|
|
14
|
-
const Ye = { class: "fm-typo-en-title-md-600" },
|
|
8
|
+
import { defineStore as Te } from "pinia";
|
|
9
|
+
import { _ as ae, g as Le } from "./InventoryBinding.vue_vue_type_script_setup_true_lang-nqY-pxrW.js";
|
|
10
|
+
import { u as De } from "./discardConfirm-BHni0LNu.js";
|
|
11
|
+
import { c as Pe } from "./check-C9mY6LiX.js";
|
|
12
|
+
import { u as Re } from "./unit-Dej_sihQ.js";
|
|
13
|
+
import { c as Ae } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
14
|
+
const Ye = { class: "fm-typo-en-title-md-600" }, ze = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "pt-8 flex flex-col gap-8"
|
|
17
|
-
},
|
|
17
|
+
}, Ke = {
|
|
18
18
|
key: 1,
|
|
19
19
|
class: "pt-8 space-y-40"
|
|
20
20
|
}, Ge = { class: "flex flex-row gap-16" }, je = { class: "overflow-x-hidden overflow-y-auto max-h-[300px]" }, qe = { class: "flex gap-8 items-center justify-start" }, He = /* @__PURE__ */ ie({
|
|
@@ -24,12 +24,12 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
24
24
|
usedCodes: { default: () => [] },
|
|
25
25
|
invalidSkuAndRecipe: {}
|
|
26
26
|
},
|
|
27
|
-
setup(
|
|
28
|
-
const { t: l } = Q(), r =
|
|
27
|
+
setup(T, { expose: N }) {
|
|
28
|
+
const { t: l } = Q(), r = T, u = re(X(W())), S = Re(), h = b(() => r.initialValue ? l("menu.sku.update") : l("menu.sku.add")), x = b(
|
|
29
29
|
() => r.initialValue ? l("menu.common.actions.update") : l("menu.common.actions.add")
|
|
30
30
|
), C = $(!1), f = $(!1), M = (t) => {
|
|
31
|
-
|
|
32
|
-
},
|
|
31
|
+
Pe.isBoolean(t) ? f.value = t : f.value = !f.value;
|
|
32
|
+
}, O = Z(), a = b(() => O.units), i = b(() => a.value.map(({ name: t, _id: o, abbrev: g, measurements: B }) => ({
|
|
33
33
|
label: t,
|
|
34
34
|
value: o,
|
|
35
35
|
options: [
|
|
@@ -37,24 +37,24 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
37
37
|
label: `${t} (${g})`,
|
|
38
38
|
value: null
|
|
39
39
|
},
|
|
40
|
-
...
|
|
41
|
-
label: `${
|
|
40
|
+
...B.map(({ name: A, id: Y, abbrev: z }) => ({
|
|
41
|
+
label: `${A} (${z})`,
|
|
42
42
|
value: Y
|
|
43
43
|
}))
|
|
44
44
|
]
|
|
45
45
|
}))), c = b(() => a.value.length > 0), n = Ve(
|
|
46
|
-
r.initialValue ?
|
|
47
|
-
...
|
|
48
|
-
unit: a.value[0] ||
|
|
46
|
+
r.initialValue ? Oe(r.initialValue) : {
|
|
47
|
+
...K.generator.initSku(),
|
|
48
|
+
unit: a.value[0] || K.generator.initUnit()
|
|
49
49
|
}
|
|
50
50
|
), F = $(!!n.convert), L = b(() => {
|
|
51
51
|
var o;
|
|
52
52
|
const t = i.value.find((g) => g.value === n.unit._id);
|
|
53
53
|
return ((o = ((t == null ? void 0 : t.options) || []).find((g) => g.value === (n.trackingMeasurement || null))) == null ? void 0 : o.label) || "";
|
|
54
|
-
}),
|
|
54
|
+
}), D = (t) => n.unit._id === t.value && n.trackingMeasurement === (t.value || null);
|
|
55
55
|
function _(t, o) {
|
|
56
56
|
const g = o || void 0;
|
|
57
|
-
n.unit._id === t && n.trackingMeasurement === g || (n.unit = a.value.find((
|
|
57
|
+
n.unit._id === t && n.trackingMeasurement === g || (n.unit = a.value.find((B) => B._id === t), n.trackingMeasurement = g, n.convert && (n.convert.measurement = g));
|
|
58
58
|
}
|
|
59
59
|
const de = b(() => {
|
|
60
60
|
const t = i.value.find((o) => o.value === n.unit._id);
|
|
@@ -75,17 +75,17 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
75
75
|
F.value && (n.convert = {
|
|
76
76
|
...n.convert,
|
|
77
77
|
inventoryBindings: t
|
|
78
|
-
}),
|
|
78
|
+
}), R.value = !1;
|
|
79
79
|
}
|
|
80
80
|
const pe = b(() => r.invalidSkuAndRecipe.skus), ve = b(() => r.invalidSkuAndRecipe.recipes);
|
|
81
81
|
l("menu.sku.errors.select_recipe_ingredient");
|
|
82
|
-
const
|
|
82
|
+
const R = $(!1);
|
|
83
83
|
function _e() {
|
|
84
84
|
var t;
|
|
85
|
-
return
|
|
85
|
+
return R.value = (((t = n.convert) == null ? void 0 : t.inventoryBindings) || []).length === 0, !R.value;
|
|
86
86
|
}
|
|
87
|
-
const fe =
|
|
88
|
-
() => !
|
|
87
|
+
const fe = De(
|
|
88
|
+
() => !Be.isEqual(n, r.initialValue || K.generator.initSku()),
|
|
89
89
|
() => {
|
|
90
90
|
f.value = !1;
|
|
91
91
|
}
|
|
@@ -123,7 +123,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
123
123
|
show: f,
|
|
124
124
|
trigger: M
|
|
125
125
|
}), (t, o) => {
|
|
126
|
-
const g = d("FmTextField"),
|
|
126
|
+
const g = d("FmTextField"), B = d("FmLabel"), A = d("FmField"), Y = d("FmMenuHeader"), z = d("FmMenuDivider"), ge = d("FmMenuItem"), ye = d("FmMenu"), ke = d("FmFormGroup"), he = d("FmSwitch"), xe = d("FmSelect"), Fe = d("FmCard"), ne = d("fm-button"), Se = d("fm-side-sheet");
|
|
127
127
|
return m(), y(V, null, [
|
|
128
128
|
Me(t.$slots, "default", { trigger: M }),
|
|
129
129
|
s(Se, {
|
|
@@ -159,7 +159,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
159
159
|
])
|
|
160
160
|
]),
|
|
161
161
|
default: k(() => [
|
|
162
|
-
c.value ? (m(), y("div",
|
|
162
|
+
c.value ? (m(), y("div", Ke, [
|
|
163
163
|
v("div", Ge, [
|
|
164
164
|
s(g, {
|
|
165
165
|
class: "flex-2",
|
|
@@ -191,14 +191,14 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
191
191
|
"model-value": L.value
|
|
192
192
|
}, {
|
|
193
193
|
label: k(() => [
|
|
194
|
-
s(
|
|
194
|
+
s(B, {
|
|
195
195
|
label: e(l)("menu.sku.columns.unit")
|
|
196
196
|
}, null, 8, ["label"])
|
|
197
197
|
]),
|
|
198
198
|
default: k(({ invalid: p }) => [
|
|
199
199
|
s(ye, { "z-index": 101 }, {
|
|
200
200
|
"menu-button": k(() => [
|
|
201
|
-
s(
|
|
201
|
+
s(A, {
|
|
202
202
|
class: J([
|
|
203
203
|
"fm-typo-en-body-lg-400",
|
|
204
204
|
{
|
|
@@ -216,16 +216,16 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
216
216
|
]),
|
|
217
217
|
default: k(() => [
|
|
218
218
|
v("div", je, [
|
|
219
|
-
(m(!0), y(V, null, j(i.value, (w,
|
|
219
|
+
(m(!0), y(V, null, j(i.value, (w, P) => (m(), y(V, { key: P }, [
|
|
220
220
|
s(Y, {
|
|
221
221
|
label: w.label
|
|
222
222
|
}, null, 8, ["label"]),
|
|
223
|
-
s(
|
|
224
|
-
(m(!0), y(V, null, j(w.options, (E, dn) => (m(),
|
|
223
|
+
s(z),
|
|
224
|
+
(m(!0), y(V, null, j(w.options, (E, dn) => (m(), I(ge, {
|
|
225
225
|
label: E.label,
|
|
226
|
-
"model-value":
|
|
226
|
+
"model-value": D(E),
|
|
227
227
|
onClick: (mn) => _(w.value, E.value),
|
|
228
|
-
"x-should-scroll-into": `${
|
|
228
|
+
"x-should-scroll-into": `${D(E)}`
|
|
229
229
|
}, null, 8, ["label", "model-value", "onClick", "x-should-scroll-into"]))), 256))
|
|
230
230
|
], 64))), 128))
|
|
231
231
|
])
|
|
@@ -240,7 +240,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
240
240
|
class: "p-16 flex flex-col gap-16"
|
|
241
241
|
}, {
|
|
242
242
|
default: k(() => {
|
|
243
|
-
var p, w,
|
|
243
|
+
var p, w, P;
|
|
244
244
|
return [
|
|
245
245
|
s(he, {
|
|
246
246
|
value: "",
|
|
@@ -266,7 +266,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
266
266
|
"onUpdate:modelValue": ee
|
|
267
267
|
}, null, 8, ["model-value", "type", "filter-option-ids"]),
|
|
268
268
|
s(ae, {
|
|
269
|
-
"model-value": ((
|
|
269
|
+
"model-value": ((P = n.convert) == null ? void 0 : P.inventoryBindings) || [],
|
|
270
270
|
type: e(le.F_INVENTORY_BINDING_TYPE).enum.SKU,
|
|
271
271
|
"filter-option-ids": pe.value,
|
|
272
272
|
"onUpdate:modelValue": ee
|
|
@@ -276,8 +276,8 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
276
276
|
}),
|
|
277
277
|
_: 1
|
|
278
278
|
})
|
|
279
|
-
])) : (m(), y("div",
|
|
280
|
-
a.value.length === 0 ? (m(),
|
|
279
|
+
])) : (m(), y("div", ze, [
|
|
280
|
+
a.value.length === 0 ? (m(), I(e(ce), {
|
|
281
281
|
key: 0,
|
|
282
282
|
action: {
|
|
283
283
|
text: e(l)("menu.unit.add"),
|
|
@@ -295,10 +295,10 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
295
295
|
], 64);
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
-
}), Je = He, Qe =
|
|
299
|
-
const
|
|
298
|
+
}), Je = He, Qe = Te("sku-manager", () => {
|
|
299
|
+
const T = $e(), N = W(), l = X(N), r = re(l), u = Z(), S = Ee(), { t: h } = Q(), x = (a) => {
|
|
300
300
|
var c, n;
|
|
301
|
-
const { vNode: i } =
|
|
301
|
+
const { vNode: i } = Ae(
|
|
302
302
|
Je,
|
|
303
303
|
S,
|
|
304
304
|
a
|
|
@@ -322,8 +322,8 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
322
322
|
async function M(a) {
|
|
323
323
|
C(a);
|
|
324
324
|
}
|
|
325
|
-
async function
|
|
326
|
-
|
|
325
|
+
async function O(a) {
|
|
326
|
+
T.open({
|
|
327
327
|
title: h("menu.common.dialog.remove.ingredient.title"),
|
|
328
328
|
message: h("menu.common.dialog.remove.ingredient.message", { name: a.name }),
|
|
329
329
|
primaryActions: {
|
|
@@ -350,7 +350,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
350
350
|
return {
|
|
351
351
|
createSku: f,
|
|
352
352
|
updateSku: M,
|
|
353
|
-
deleteSku:
|
|
353
|
+
deleteSku: O
|
|
354
354
|
};
|
|
355
355
|
}), We = {
|
|
356
356
|
key: 0,
|
|
@@ -379,7 +379,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
379
379
|
class: "fm-typo-en-body-md-600 font-semibold"
|
|
380
380
|
}, Cn = /* @__PURE__ */ ie({
|
|
381
381
|
__name: "Ingredient",
|
|
382
|
-
setup(
|
|
382
|
+
setup(T) {
|
|
383
383
|
const N = W();
|
|
384
384
|
X(N);
|
|
385
385
|
const l = Z(), r = Qe(), {
|
|
@@ -425,13 +425,13 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
425
425
|
function f(i) {
|
|
426
426
|
r.updateSku(i);
|
|
427
427
|
}
|
|
428
|
-
const M = b(() => S.value.length),
|
|
428
|
+
const M = b(() => S.value.length), O = Ue(), a = b(() => O.breakpoints.value.xs);
|
|
429
429
|
return (i, c) => {
|
|
430
|
-
const n = d("FmSearch"), F = d("FmTable"), L = d("fm-button"),
|
|
431
|
-
return m(),
|
|
430
|
+
const n = d("FmSearch"), F = d("FmTable"), L = d("fm-button"), D = d("FmSpacer");
|
|
431
|
+
return m(), I(Ie, {
|
|
432
432
|
heading: e(u)("menu.ingredient.title")
|
|
433
433
|
}, {
|
|
434
|
-
default: k(() => [S.value.length === 0 ? (m(),
|
|
434
|
+
default: k(() => [S.value.length === 0 ? (m(), I(e(ce), {
|
|
435
435
|
key: 0,
|
|
436
436
|
action: {
|
|
437
437
|
text: e(u)("menu.ingredient.empty.action"),
|
|
@@ -479,7 +479,7 @@ const Ye = { class: "fm-typo-en-title-md-600" }, Ke = {
|
|
|
479
479
|
"pin-header-row": "",
|
|
480
480
|
onRowClick: c[1] || (c[1] = (_) => f(_.original))
|
|
481
481
|
}, null, 8, ["column-defs", "row-data", "page-size"])]))], 64))]),
|
|
482
|
-
"append-heading": k(() => [v("div", sn, [v("div", un, [v("div", rn, [v("p", cn, U(M.value), 1)])]), s(
|
|
482
|
+
"append-heading": k(() => [v("div", sn, [v("div", un, [v("div", rn, [v("p", cn, U(M.value), 1)])]), s(D), S.value.length > 0 ? (m(), I(Ne, {
|
|
483
483
|
key: 0,
|
|
484
484
|
label: e(u)("menu.ingredient.actions.add"),
|
|
485
485
|
"prepend-icon": "add",
|