@feedmepos/mf-menu 0.31.58 → 0.31.59-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-4OJNK33x.js → App-BOPLjp2t.js} +9 -9
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-z1Zz5Sp5.js → ApplyProduct.vue_vue_type_script_setup_true_lang-B0w-0323.js} +3 -3
- package/dist/{Catalog-ChQ6kyxu.js → Catalog-gBWbOsnM.js} +6 -6
- package/dist/{Category-DneMgC68.js → Category-CeF88DtX.js} +4 -4
- package/dist/{Category-BUWAbpnF.js → Category-D5ppD_g8.js} +6 -6
- package/dist/{CookingGuide-SMIrGRhO.js → CookingGuide-CJukilxD.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-CO5hvXyK.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BMP7V0dP.js} +1 -1
- package/dist/{Group-C_-gHlF6.js → Group-C-zR2RKW.js} +3 -3
- package/dist/{Group-Bwa18nwy.js → Group-CEQbAUmY.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-3CfTDFvi.js → Group.vue_vue_type_script_setup_true_lang-h5FbAvbs.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D2YjWZFt.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Cy2NGGs0.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-n49ilrgv.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Gtkau8ku.js} +1617 -1616
- package/dist/{Ingredient-tjdvEfBz.js → Ingredient-B0Ms0Ol5.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-D_1BK_Nv.js → InventoryBinding.vue_vue_type_script_setup_true_lang-B4BxYfdg.js} +2 -2
- package/dist/{LinkProductSideSheet-DZKUJVBg.js → LinkProductSideSheet-B1y2Ayvj.js} +3 -3
- package/dist/{MenuSetting-DBxurtBc.js → MenuSetting-DclPszys.js} +5 -5
- package/dist/{PrintRoute-BYcX0ngY.js → PrintRoute-BnzR0uWT.js} +4 -4
- package/dist/{Product-aYPPIX5w.js → Product-BoSo8lss.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-1EbJ3SkW.js → Product.vue_vue_type_script_setup_true_lang-DIjDOk5_.js} +13 -13
- package/dist/{ProductInternalTools-0WfRyVYc.js → ProductInternalTools-Bdte6TiU.js} +6 -6
- package/dist/{Products-RFrNHHZ3.js → Products-nv1C711P.js} +12 -12
- package/dist/Publish-C780zto1.js +582 -0
- package/dist/{Recipe-eQU0cvIu.js → Recipe-mjjd4B1O.js} +4 -4
- package/dist/{Scheduler-BEcYM9Iw.js → Scheduler-mfPG6062.js} +3 -3
- package/dist/{ServingSequence-PJip9tl8.js → ServingSequence-CRs6qSMs.js} +3 -3
- package/dist/{Setting-DiJc2cl5.js → Setting-DZ2GbgN6.js} +5 -5
- package/dist/{Subcategory-BCxf7Gns.js → Subcategory-Cgd9qnoN.js} +4 -4
- package/dist/{Takeaway-C8MqmlYi.js → Takeaway-B8m-KeUW.js} +4 -4
- package/dist/{Takeaway-BxcdiIlz.js → Takeaway-BiDzpaT9.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-bAgTm0N3.js → Takeaway.vue_vue_type_script_setup_true_lang-vYeVX-ZM.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-DEwikUuP.js → Thumbnail.vue_vue_type_script_setup_true_lang-DeeXDIAS.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-cgKST8tG.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-hHOmCp8A.js} +15 -15
- package/dist/{Unit-DcJmP_Ps.js → Unit-CALtexAk.js} +2 -2
- package/dist/{Variant-Do_WyYNh.js → Variant-DzkUpsBK.js} +3 -3
- package/dist/{_id_-BceqPzR5.js → _id_-B3dZqQFx.js} +10 -10
- package/dist/{app-CAXZLHIp.js → app-CcaKJaQg.js} +1 -1
- package/dist/{app-DXgWN7R_.js → app-L6-9-FPx.js} +30 -30
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +4 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProduct.vue.d.ts +12 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/ApplyProductDialog.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +32 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/OptionTable.vue.d.ts +10 -0
- package/dist/apps/mf-menu/src/components/feature/GroupManager/UpdateForm.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +14 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +14 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +14 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +12 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +7 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/OptionTable.vue.d.ts +10 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/UpdateForm.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/form/GroupManager/index.d.ts +24 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +21 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +7 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +73 -0
- package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +14 -0
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +12 -0
- package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +0 -1
- package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +7 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +80 -0
- package/dist/apps/mf-menu/src/helper/menuImport.d.ts +73 -0
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +73 -0
- package/dist/apps/mf-menu/src/stores/manager/item.d.ts +21 -0
- package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +12 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +73 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +14 -0
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +46 -0
- package/dist/apps/mf-menu/src/views/Scheduler/FilterForm.vue.d.ts +10 -0
- package/dist/apps/mf-menu/src/views/Scheduler/SchedulerDialog.vue.d.ts +10 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-focDgSo7.js +13 -0
- package/dist/assets/override-menu-B4q9lesJ.js +13 -0
- package/dist/assets/validate-menu-De0Bu4qH.js +13 -0
- package/dist/{catalog-BuS51no9.js → catalog-DC9IVpL1.js} +1 -1
- package/dist/{catalogSetting-Bbls_J1a.js → catalogSetting-Crbl9TFz.js} +1 -1
- package/dist/{category-BUmk-ooT.js → category-C8Q_lN6Q.js} +1 -1
- package/dist/{currency-Ch7w-XAU.js → currency-vandbXgQ.js} +1 -1
- package/dist/{customAttributes-DXI1EmC-.js → customAttributes-Cj0PdMZu.js} +1 -1
- package/dist/{dayjs.min-CErGuRpO.js → dayjs.min-B4sm2fZr.js} +1 -1
- package/dist/{index-mdjKX0Ji.js → index-COwTqSNG.js} +4 -4
- package/dist/{index-ekKM58m3.js → index-DRl2ccS-.js} +1 -1
- package/dist/{index-CO0l1aSP.js → index-DvKBm3gm.js} +3 -3
- package/dist/{index-D3n5el48.js → index-NPN9_5oT.js} +1 -1
- package/dist/{item-BlpLdm39.js → item-mzvS_pFv.js} +375 -375
- package/dist/{jszip.min-C89zynEq.js → jszip.min-UpFUrh5P.js} +2 -2
- package/dist/menu-CDIfnu9y.js +132665 -0
- package/dist/{menu-DsUyJSm2.js → menu-CebF4MOX.js} +1 -1
- package/dist/{menuV2-ZcV0fJla.js → menuV2-C0BdBTv7.js} +30 -30
- package/dist/{priceTier-tSzlPPnO.js → priceTier-BEA_b-IX.js} +1 -1
- package/dist/{scheduler-CMxzeUSM.js → scheduler-oUiE2ldE.js} +4 -4
- package/dist/{subcategory-BdAgTTXj.js → subcategory-2hHCLbWG.js} +2 -2
- package/dist/{toExcel-BC7oAHOo.js → toExcel-zRg8UHeP.js} +2 -2
- package/dist/{unit-90XRSsu5.js → unit-CYPHVVUz.js} +2 -2
- package/package.json +2 -2
- package/dist/Publish-CPm55mPz.js +0 -567
- package/dist/assets/linked-status-SkhWmTpd.js +0 -13
- package/dist/assets/override-menu-DnMJwh8J.js +0 -13
- package/dist/assets/validate-menu-C40JtIjv.js +0 -13
- package/dist/menu-B6iWDS6T.js +0 -108625
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var Ue = Object.defineProperty;
|
|
2
2
|
var We = (e, t, n) => t in e ? Ue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var ne = (e, t, n) => We(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { an as ue, H as I, D as T, A as ae, ao as re, J as
|
|
4
|
+
import { an as ue, H as I, D as T, A as ae, ao as re, J as B, I as ie, a8 as x, c as L, X as V, ai as oe, ap as Le, aq as qe, B as ze, aa as Be, ar as Ge, as as He, a7 as Je } from "./menu-CDIfnu9y.js";
|
|
5
5
|
import { defineStore as Ye } from "pinia";
|
|
6
|
-
import { shallowRef as j, ref as
|
|
6
|
+
import { shallowRef as j, ref as G, computed as S, shallowReactive as Xe, effectScope as Qe, watch as Ze } from "vue";
|
|
7
7
|
import { useCoreStore as se } from "@feedmepos/mf-common";
|
|
8
8
|
import { useSnackbar as et } from "@feedmepos/ui-library";
|
|
9
|
-
const tt = "/assets/linked-status-
|
|
9
|
+
const tt = "/assets/linked-status-focDgSo7.js", nt = "/assets/override-menu-B4q9lesJ.js";
|
|
10
10
|
function rt(e) {
|
|
11
11
|
var o;
|
|
12
12
|
const t = I(e), n = (o = t.variant) == null ? void 0 : o.variantCombinations;
|
|
@@ -104,7 +104,7 @@ function st(e, t) {
|
|
|
104
104
|
};
|
|
105
105
|
return [...o, r];
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function H(e, t) {
|
|
108
108
|
var o;
|
|
109
109
|
if (!t)
|
|
110
110
|
return e;
|
|
@@ -117,7 +117,7 @@ function B(e, t) {
|
|
|
117
117
|
const i = (f = a == null ? void 0 : a.items) == null ? void 0 : f.find(
|
|
118
118
|
(h) => h._id === c._id && h.combinationKey === c.combinationKey
|
|
119
119
|
);
|
|
120
|
-
return
|
|
120
|
+
return H(c, i);
|
|
121
121
|
}), r;
|
|
122
122
|
}), n;
|
|
123
123
|
}
|
|
@@ -131,7 +131,7 @@ function ut(e, t) {
|
|
|
131
131
|
);
|
|
132
132
|
if (!a)
|
|
133
133
|
throw new Error(`Item overrider not found - ${r._id} - ${r.combinationKey}`);
|
|
134
|
-
return
|
|
134
|
+
return H(a, r);
|
|
135
135
|
})
|
|
136
136
|
});
|
|
137
137
|
const o = n.find((r) => !r.combinationKey);
|
|
@@ -145,7 +145,7 @@ function ut(e, t) {
|
|
|
145
145
|
const c = (i = a == null ? void 0 : a.items) == null ? void 0 : i.find(
|
|
146
146
|
(f) => f._id === u._id && f.combinationKey === u.combinationKey
|
|
147
147
|
);
|
|
148
|
-
return
|
|
148
|
+
return H(u, c);
|
|
149
149
|
}), r;
|
|
150
150
|
}), {
|
|
151
151
|
...t,
|
|
@@ -256,7 +256,7 @@ async function Kt(e, t, n) {
|
|
|
256
256
|
const h = (u = c.items) == null ? void 0 : u.filter((v) => v._id === n && v.combinationKey), m = [i, ...h].map((v) => {
|
|
257
257
|
var w, C;
|
|
258
258
|
const p = v.combinationKey ? (C = (w = f == null ? void 0 : f.variant) == null ? void 0 : w.variantCombinations) == null ? void 0 : C.find(
|
|
259
|
-
(
|
|
259
|
+
(R) => R.combinationKey === v.combinationKey
|
|
260
260
|
) : f, b = p && f ? a(f, p) : v;
|
|
261
261
|
return a(b, v);
|
|
262
262
|
});
|
|
@@ -294,7 +294,7 @@ function O(e) {
|
|
|
294
294
|
function P(e) {
|
|
295
295
|
return e instanceof RegExp ? e.toString() : e;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function k(e) {
|
|
298
298
|
return typeof e == "object" && e !== null && !Array.isArray(e) && !(e instanceof Date) && !(e instanceof RegExp);
|
|
299
299
|
}
|
|
300
300
|
function K(e, t) {
|
|
@@ -310,7 +310,7 @@ function K(e, t) {
|
|
|
310
310
|
if (!K(e[n], t[n])) return !1;
|
|
311
311
|
return !0;
|
|
312
312
|
}
|
|
313
|
-
if (
|
|
313
|
+
if (k(e) && k(t)) {
|
|
314
314
|
const n = Object.keys(e), o = Object.keys(t);
|
|
315
315
|
if (n.length !== o.length) return !1;
|
|
316
316
|
for (const r of n)
|
|
@@ -344,7 +344,7 @@ function lt(e, t, n) {
|
|
|
344
344
|
const o = { _t: "a" }, r = ((m = n == null ? void 0 : n.arrays) == null ? void 0 : m.detectMove) !== !1, a = ((v = n == null ? void 0 : n.arrays) == null ? void 0 : v.includeValueOnMove) === !0, l = n == null ? void 0 : n.objectHash;
|
|
345
345
|
let u = r ? ct(e, t, l) : [];
|
|
346
346
|
if (!l && e.length === t.length && e.length > 0 && u.length < e.length) {
|
|
347
|
-
const p =
|
|
347
|
+
const p = k(e[0]) || Array.isArray(e[0]), b = u.length > 0;
|
|
348
348
|
if (p || b) {
|
|
349
349
|
u = [];
|
|
350
350
|
for (let w = 0; w < e.length; w++)
|
|
@@ -360,8 +360,8 @@ function lt(e, t, n) {
|
|
|
360
360
|
if (b !== void 0) {
|
|
361
361
|
const w = J(e[p], t[b], n);
|
|
362
362
|
if (w !== void 0 && (o[b] = w), r && b !== p) {
|
|
363
|
-
const C = `_${p}`,
|
|
364
|
-
o[C] =
|
|
363
|
+
const C = `_${p}`, R = a ? [e[p], b, F] : ["", b, F];
|
|
364
|
+
o[C] = R;
|
|
365
365
|
}
|
|
366
366
|
} else {
|
|
367
367
|
const w = `_${p}`;
|
|
@@ -403,7 +403,7 @@ function J(e, t, n) {
|
|
|
403
403
|
}
|
|
404
404
|
if (Array.isArray(e) && Array.isArray(t))
|
|
405
405
|
return lt(e, t, n);
|
|
406
|
-
if (
|
|
406
|
+
if (k(e) && k(t))
|
|
407
407
|
return dt(e, t, n);
|
|
408
408
|
const a = n != null && n.cloneDiffValues ? O(e) : e, l = n != null && n.cloneDiffValues ? O(t) : t;
|
|
409
409
|
return [P(a), P(l)];
|
|
@@ -467,7 +467,7 @@ function Y(e, t, n) {
|
|
|
467
467
|
if (t.length === 3 && t[2] === M)
|
|
468
468
|
return;
|
|
469
469
|
}
|
|
470
|
-
return
|
|
470
|
+
return k(t) && t._t === "a" ? mt(e, t) : k(t) && k(e) ? vt(e, t) : e;
|
|
471
471
|
}
|
|
472
472
|
function le(e, t, n) {
|
|
473
473
|
return Y(e, t);
|
|
@@ -522,7 +522,7 @@ function X(e) {
|
|
|
522
522
|
if (e.length === 3 && e[2] === F)
|
|
523
523
|
return e;
|
|
524
524
|
}
|
|
525
|
-
return
|
|
525
|
+
return k(e) && e._t === "a" ? yt(e) : k(e) ? ht(e) : e;
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
function de(e) {
|
|
@@ -566,7 +566,7 @@ function St({
|
|
|
566
566
|
includeValueOnMove: !1
|
|
567
567
|
},
|
|
568
568
|
cloneDiffValues: !1
|
|
569
|
-
}), n = j(null), o = j([]), r =
|
|
569
|
+
}), n = j(null), o = j([]), r = G(-1), a = j(null), l = S(() => r.value > 0), u = S(() => r.value < o.value.length - 1);
|
|
570
570
|
function c(v) {
|
|
571
571
|
if (n.value === null) {
|
|
572
572
|
n.value = I(v), a.value = I(v), o.value = [{ delta: null }], r.value = 0;
|
|
@@ -616,7 +616,7 @@ function St({
|
|
|
616
616
|
}
|
|
617
617
|
const bt = {
|
|
618
618
|
async updateMenuModule(e, t) {
|
|
619
|
-
const n =
|
|
619
|
+
const n = B.RequestRunner.operation(t, e.modules);
|
|
620
620
|
if (n.validateError.length > 0)
|
|
621
621
|
throw new Error(n.validateError.join(`
|
|
622
622
|
`));
|
|
@@ -692,7 +692,7 @@ const Pt = Ye(
|
|
|
692
692
|
function f(s, d = !0) {
|
|
693
693
|
e.menu = { ...s, _rev: e.menu._rev }, d && D.push(e.menu);
|
|
694
694
|
}
|
|
695
|
-
const h = j(fe()), m =
|
|
695
|
+
const h = j(fe()), m = G(!1), v = G(1);
|
|
696
696
|
async function p() {
|
|
697
697
|
var y;
|
|
698
698
|
m.value = !0;
|
|
@@ -728,9 +728,9 @@ const Pt = Ye(
|
|
|
728
728
|
return h.value = d, m.value = !1, v.value = v.value + 1, d;
|
|
729
729
|
}
|
|
730
730
|
const w = ie.debounce(p, 200);
|
|
731
|
-
let C = null,
|
|
731
|
+
let C = null, R = null;
|
|
732
732
|
function Q() {
|
|
733
|
-
|
|
733
|
+
R && (R(), R = null), C && C.stop(), C = Qe(!0), R = C.run(() => Ze(
|
|
734
734
|
() => [e.menu, e.currentCatalogId, e.currentSchedulerId],
|
|
735
735
|
() => {
|
|
736
736
|
m.value || w();
|
|
@@ -890,15 +890,15 @@ const Pt = Ye(
|
|
|
890
890
|
const [d, y] = s.split("/");
|
|
891
891
|
return { systemCode: d, taxCode: y };
|
|
892
892
|
}
|
|
893
|
-
function
|
|
893
|
+
function Re(s, d, y) {
|
|
894
894
|
return (s ?? d ?? []).map((g) => W(g)).find((g) => y.some((_) => _.value === g));
|
|
895
895
|
}
|
|
896
|
-
const
|
|
896
|
+
const ke = S(() => {
|
|
897
897
|
var g;
|
|
898
898
|
const s = ["SV5", "SV10"], d = ze.Country.getCountryFlattenTaxes(
|
|
899
899
|
se().currentCountry.value
|
|
900
900
|
), y = d.filter((_) => a.value || !s.includes(_.taxCode)).map((_) => ({
|
|
901
|
-
label: `${_.name} (${
|
|
901
|
+
label: `${_.name} (${Be(_.rate)}%)`,
|
|
902
902
|
value: W(_),
|
|
903
903
|
meta: {
|
|
904
904
|
rate: _.rate
|
|
@@ -912,7 +912,7 @@ const Pt = Ye(
|
|
|
912
912
|
const s = await Je.readMenu();
|
|
913
913
|
e.menu = s ?? e.menu, te(null);
|
|
914
914
|
}, xe = async () => {
|
|
915
|
-
const { fetchAllRestaurants: s } =
|
|
915
|
+
const { fetchAllRestaurants: s } = He();
|
|
916
916
|
await s({
|
|
917
917
|
onBatchEnd: (d) => {
|
|
918
918
|
e.restaurants = d;
|
|
@@ -936,9 +936,9 @@ const Pt = Ye(
|
|
|
936
936
|
}));
|
|
937
937
|
try {
|
|
938
938
|
if (d || g.some(
|
|
939
|
-
(A) => [
|
|
939
|
+
(A) => [B.F_OPERATION_TYPE.delete, B.F_OPERATION_TYPE.deleteMany].includes(A.operation)
|
|
940
940
|
)) {
|
|
941
|
-
const A = await
|
|
941
|
+
const A = await Ge(g, e.menu.modules);
|
|
942
942
|
if (A !== !0) throw new Error(A);
|
|
943
943
|
}
|
|
944
944
|
const _ = await bt.updateMenuModule(e.menu, g);
|
|
@@ -998,7 +998,7 @@ const Pt = Ye(
|
|
|
998
998
|
cookingGuide: Ae,
|
|
999
999
|
skus: Ie,
|
|
1000
1000
|
rules: U,
|
|
1001
|
-
taxSetting:
|
|
1001
|
+
taxSetting: ke,
|
|
1002
1002
|
// Action
|
|
1003
1003
|
setMenu: f,
|
|
1004
1004
|
readMenu: Ee,
|
|
@@ -1013,7 +1013,7 @@ const Pt = Ye(
|
|
|
1013
1013
|
// helper
|
|
1014
1014
|
encodeTax: W,
|
|
1015
1015
|
decodeTax: Ce,
|
|
1016
|
-
getSelectedTax:
|
|
1016
|
+
getSelectedTax: Re,
|
|
1017
1017
|
mapVariant: ge,
|
|
1018
1018
|
// history
|
|
1019
1019
|
canUndoHistory: Ke,
|
|
@@ -1022,7 +1022,7 @@ const Pt = Ye(
|
|
|
1022
1022
|
redoHistory: je,
|
|
1023
1023
|
// cleanup
|
|
1024
1024
|
$dispose: () => {
|
|
1025
|
-
w.cancel(),
|
|
1025
|
+
w.cancel(), R && (R(), R = null), C && (C.stop(), C = null), Ne();
|
|
1026
1026
|
},
|
|
1027
1027
|
$reinitialize: () => {
|
|
1028
1028
|
Q();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as d, ref as g, watch as _, resolveComponent as S, createBlock as T, openBlock as f, unref as y, computed as h } from "vue";
|
|
2
2
|
import { useI18n as m } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialogChild as w, useDialog as x, useSnackbar as C } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as k, G as M } from "./menu-
|
|
4
|
+
import { u as k, G as M } from "./menu-CDIfnu9y.js";
|
|
5
5
|
const v = /* @__PURE__ */ d({
|
|
6
6
|
__name: "AddPriceGroupDialog",
|
|
7
7
|
setup(s) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ie, computed as Y, resolveComponent as _, createElementBlock as d, openBlock as u, createVNode as t, createCommentVNode as F, unref as n, toDisplayString as L, createElementVNode as h, withCtx as v, Fragment as N, renderList as M, createBlock as I, ref as H, Transition as se, createTextVNode as me } from "vue";
|
|
2
|
-
import { H as S, A as r, u as pe, I as ve, J as ue } from "./menu-
|
|
2
|
+
import { H as S, A as r, u as pe, I as ve, J as ue } from "./menu-CDIfnu9y.js";
|
|
3
3
|
import { useI18n as de } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as _e } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as ne, a as fe } from "./customAttributes-
|
|
5
|
+
import { _ as ne, a as fe } from "./customAttributes-Cj0PdMZu.js";
|
|
6
6
|
import { u as ye } from "./discardConfirm-BHni0LNu.js";
|
|
7
|
-
import { u as he } from "./menu-
|
|
8
|
-
import { L as ge } from "./LinkProductSideSheet-
|
|
7
|
+
import { u as he } from "./menu-CebF4MOX.js";
|
|
8
|
+
import { L as ge } from "./LinkProductSideSheet-B1y2Ayvj.js";
|
|
9
9
|
const Ve = { class: "space-y-8" }, Fe = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "space-y-16"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, watch as _, ref as E, resolveComponent as f, createBlock as x, openBlock as A, unref as c, withCtx as C, createVNode as V } from "vue";
|
|
2
|
-
import { J as l, A as d, u as F } from "./menu-
|
|
2
|
+
import { J as l, A as d, u as F } from "./menu-CDIfnu9y.js";
|
|
3
3
|
import { useI18n as b } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as P } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as v } from "./menuV2-
|
|
5
|
+
import { u as v } from "./menuV2-C0BdBTv7.js";
|
|
6
6
|
const y = /* @__PURE__ */ M({
|
|
7
7
|
__name: "AddSubcategoryDialogContentComponent",
|
|
8
8
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import "./menu-
|
|
1
|
+
import { u as C } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Gtkau8ku.js";
|
|
2
|
+
import "./menu-CDIfnu9y.js";
|
|
3
3
|
var Z = {
|
|
4
4
|
defaultAmount: 0,
|
|
5
5
|
defaultCurrency: "USD",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineStore as J } from "pinia";
|
|
2
2
|
import { defineComponent as O, computed as U, ref as h, watch as T, resolveComponent as V, createBlock as W, openBlock as F, withCtx as w, createVNode as m, createElementVNode as f, normalizeClass as Q, createElementBlock as A, toDisplayString as M, unref as l, Fragment as q, renderSlot as X, renderList as Z, getCurrentInstance as ee } from "vue";
|
|
3
|
-
import { a5 as P, a6 as te, a3 as B, H as k, O as $, G as I, D as E, a4 as ne, J as C, A as D, I as oe, u as ae } from "./menu-
|
|
3
|
+
import { a5 as P, a6 as te, a3 as B, H as k, O as $, G as I, D as E, a4 as ne, J as C, A as D, I as oe, u as ae } from "./menu-CDIfnu9y.js";
|
|
4
4
|
import { useI18n as L } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as j, components as le, useDialog as ue, FmButtonVariant as ie } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as se } from "./discardConfirm-BHni0LNu.js";
|
|
7
7
|
import { c as re } from "./check-C9mY6LiX.js";
|
|
8
8
|
import "./vuedraggable-CK8z7qA8.js";
|
|
9
9
|
import "./app-CiBqmBzO.js";
|
|
10
|
-
import "./menuV2-
|
|
10
|
+
import "./menuV2-C0BdBTv7.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { c as me } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
const de = ["value", "disabled"], ce = /* @__PURE__ */ O({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-menu",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.59-prod",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@feedmepos/core-legacy": "file:../../core-legacy-1.3.tar.gz",
|
|
22
22
|
"@feedmepos/custom-attributes": "0.0.1-rc.4",
|
|
23
23
|
"@feedmepos/inventory-core": "^0.2.6",
|
|
24
|
-
"@feedmepos/menu": "1.7.
|
|
24
|
+
"@feedmepos/menu": "1.7.19",
|
|
25
25
|
"@feedmepos/mf-inventory-portal": "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz",
|
|
26
26
|
"@feedmepos/remy-vue-client": "0.1.3-beta.8",
|
|
27
27
|
"@feedmepos/ui-library": "1.7.4",
|