@feedmepos/mf-menu 0.31.70-beta.1 → 0.31.71-alpha.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-BYrM7eu_.js → App-C1efkJzL.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DW7WWXPt.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BHDnLuRy.js} +3 -3
- package/dist/{Catalog-DsDT7UmG.js → Catalog-BJjTCl9l.js} +6 -6
- package/dist/{Category-BPYNqqBt.js → Category-C35HseX2.js} +6 -6
- package/dist/{Category-Bh2JPkuX.js → Category-CxrTHk1Y.js} +4 -4
- package/dist/{CookingGuide-trVQ95-q.js → CookingGuide-BwEQicZ8.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BotLSdlH.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-DhiJEKXO.js} +1 -1
- package/dist/{Group-Cuquhrwi.js → Group-2MAzdN5P.js} +1 -1
- package/dist/{Group-Bcpohxou.js → Group-C_AO4FGn.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CjA8BFdo.js → Group.vue_vue_type_script_setup_true_lang-DjEPQI2w.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-STwkKlm-.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Cttg3YhQ.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DzGvvAPu.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-8pgeYhp4.js} +7 -7
- package/dist/{Ingredient-CJThMjBf.js → Ingredient-CL_5yWPs.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-BCSXXPGZ.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Di42poKp.js} +2 -2
- package/dist/{LinkProductSideSheet-yD0LZrwl.js → LinkProductSideSheet-Buso155W.js} +3 -3
- package/dist/{MenuSetting-39ILtlpj.js → MenuSetting-CnREg4Yu.js} +5 -5
- package/dist/{PrintRoute-Bo3Uj4WD.js → PrintRoute-C9sWURzn.js} +4 -4
- package/dist/{Product-D-4vOHWb.js → Product-BLRDuiIG.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DWYIsOXd.js → Product.vue_vue_type_script_setup_true_lang-BpKLqY3j.js} +13 -13
- package/dist/{ProductInternalTools-Cm8btjdU.js → ProductInternalTools-Cn2WRqm6.js} +5 -5
- package/dist/{Products-0a42qrIf.js → Products-BQBfz9A8.js} +11 -11
- package/dist/{Publish-T183LOMo.js → Publish-DMQ9O69V.js} +3 -3
- package/dist/{Recipe-DgLTUxSH.js → Recipe-CXEZt0zY.js} +4 -4
- package/dist/{Scheduler-D00RsNgV.js → Scheduler-hJTrqBhn.js} +3 -3
- package/dist/{ServingSequence-CvOj325Y.js → ServingSequence-CctiqLbz.js} +3 -3
- package/dist/{Setting-Bcsr3GKg.js → Setting-BrKRjfTn.js} +5 -5
- package/dist/{Subcategory-BHPc4SJ-.js → Subcategory-K0jGgZtU.js} +4 -4
- package/dist/{Takeaway-CQMta24J.js → Takeaway-DiJwhBwl.js} +4 -4
- package/dist/{Takeaway-DkTI4pSg.js → Takeaway-o5KBa5oX.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-C7XBPnMH.js → Takeaway.vue_vue_type_script_setup_true_lang-BpgD3grk.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CBA38mrS.js → Thumbnail.vue_vue_type_script_setup_true_lang-BCejAD3E.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D0w9G7dB.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CMZfeg2n.js} +625 -625
- package/dist/{Unit-DIiTje9a.js → Unit-BAy6O7xD.js} +2 -2
- package/dist/{Variant-DHZT93Sn.js → Variant-BtXJASw_.js} +3 -3
- package/dist/{_id_-CcOB_m8o.js → _id_-HD8T1NGg.js} +10 -10
- package/dist/{app-BkPmvRZw.js → app-Bp1A4ItJ.js} +26 -26
- package/dist/{app-CZJoDdrX.js → app-C7AqPK-c.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-BxY5iXlt.js → linked-status-DmzniV97.js} +2 -2
- package/dist/assets/{override-menu-DMGB4GDq.js → override-menu-CdzhzFFi.js} +2 -2
- package/dist/assets/{validate-menu-DwLkqjCY.js → validate-menu-BSL_Zd2w.js} +2 -2
- package/dist/{catalog-6Xdri8ZQ.js → catalog-XPyE5k4t.js} +1 -1
- package/dist/{catalogSetting-DiBo-LP9.js → catalogSetting-C-A9fWEC.js} +1 -1
- package/dist/{category-CWW_n9jw.js → category-DXZrXFYj.js} +1 -1
- package/dist/{currency-DVHB2Joi.js → currency-D939gSij.js} +1 -1
- package/dist/{customAttributes-Dw23OTrM.js → customAttributes-bw8OCoHr.js} +1 -1
- package/dist/{dayjs.min-Da7-BKoh.js → dayjs.min-C3Ch6D78.js} +1 -1
- package/dist/{index-mjnhuOLJ.js → index-B4t_Uzk7.js} +3 -3
- package/dist/{index-4ktPiS1O.js → index-BU5aiCzu.js} +4 -4
- package/dist/{index-DxGfr4bl.js → index-CPb1lDPU.js} +1 -1
- package/dist/{index-BYj-oT0C.js → index-Cq9qqaCC.js} +1 -1
- package/dist/{item-B4NROoTp.js → item-D4uNJyVR.js} +103 -103
- package/dist/{jszip.min-Cf8b4Zbq.js → jszip.min-15VIwqfl.js} +2 -2
- package/dist/{menu-Vir3t1K_.js → menu-BSAn1m0K.js} +1 -1
- package/dist/{menu-BfDt7AyU.js → menu-CPLvXPJu.js} +4 -4
- package/dist/{menuV2-CiI8Hnnx.js → menuV2-DZpI5Elt.js} +39 -39
- package/dist/{priceTier-CqS50iW2.js → priceTier-Bs5Ve98k.js} +1 -1
- package/dist/{scheduler-cGkprlVx.js → scheduler-BKwB9GfG.js} +4 -4
- package/dist/{subcategory-D0Yga-Ws.js → subcategory-DJW1_br9.js} +2 -2
- package/dist/{toExcel-D-dRa5v1.js → toExcel-C_lOM1fZ.js} +2 -2
- package/dist/{unit-CTuSt1jZ.js → unit-ioVHtQya.js} +2 -2
- package/package.json +2 -2
|
@@ -1,19 +1,19 @@
|
|
|
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
|
|
4
|
+
import { an as ue, H as C, D as T, A as ae, ao as re, J as G, I as ie, a8 as x, c as z, X as V, ai as oe, ap as ze, aq as Le, B as qe, aa as Ge, ar as He, as as Be, a7 as Je } from "./menu-CPLvXPJu.js";
|
|
5
5
|
import { defineStore as Ye } from "pinia";
|
|
6
|
-
import { shallowRef as j, ref as
|
|
6
|
+
import { shallowRef as j, ref as H, 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-DmzniV97.js", nt = "/assets/override-menu-CdzhzFFi.js";
|
|
10
10
|
function rt(e) {
|
|
11
11
|
var o;
|
|
12
|
-
const t =
|
|
12
|
+
const t = C(e), n = (o = t.variant) == null ? void 0 : o.variantCombinations;
|
|
13
13
|
return delete t.variant, delete t.thumbnail, [t, ...n || []];
|
|
14
14
|
}
|
|
15
15
|
function ot(e, t, n, o) {
|
|
16
|
-
const r =
|
|
16
|
+
const r = C(t), a = n ? r.modules.catalog.find((m) => m._id === n) : null, l = o ? r.modules.scheduler.find((m) => m._id === o) : null, u = a ? C(a) : void 0, c = n ? r.modules.catalog.filter((m) => m._id !== n) : [], i = l ? C(l) : void 0, f = e.reduce((m, v) => (m[v._id] = rt(v), m), {});
|
|
17
17
|
function h(m = []) {
|
|
18
18
|
const v = e.map((p) => p._id);
|
|
19
19
|
return [
|
|
@@ -104,7 +104,7 @@ function st(e, t) {
|
|
|
104
104
|
};
|
|
105
105
|
return [...o, r];
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function B(e, t) {
|
|
108
108
|
var o;
|
|
109
109
|
if (!t)
|
|
110
110
|
return e;
|
|
@@ -117,7 +117,7 @@ function H(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 B(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 B(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 B(u, c);
|
|
149
149
|
}), r;
|
|
150
150
|
}), {
|
|
151
151
|
...t,
|
|
@@ -153,7 +153,7 @@ function ut(e, t) {
|
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
155
|
async function Ot(e, t, n, o, r, a = !0) {
|
|
156
|
-
const l =
|
|
156
|
+
const l = C(n), u = a ? ot(t, l, o, r) : l, c = t.reduce((h, m) => (h[m._id] = u.modules.item.find((v) => v._id === m._id), h), {}), i = t.reduce((h, m) => {
|
|
157
157
|
const v = m._id;
|
|
158
158
|
return h[v] = st(c[v], e), h;
|
|
159
159
|
}, {}), f = T.getFallbackPrices({
|
|
@@ -245,7 +245,7 @@ async function at(e, t, n) {
|
|
|
245
245
|
async function Kt(e, t, n) {
|
|
246
246
|
var l, u;
|
|
247
247
|
const o = await at(e, t, null), r = [], a = (c, i) => {
|
|
248
|
-
const f =
|
|
248
|
+
const f = C(c);
|
|
249
249
|
for (const h in i)
|
|
250
250
|
i[h] && (f[h] = i[h]);
|
|
251
251
|
return f;
|
|
@@ -254,8 +254,8 @@ async function Kt(e, t, n) {
|
|
|
254
254
|
const i = (l = c.items) == null ? void 0 : l.find((h) => h._id === n && !h.combinationKey), f = e.modules.item.find((h) => h._id === n);
|
|
255
255
|
if (i) {
|
|
256
256
|
const h = (u = c.items) == null ? void 0 : u.filter((v) => v._id === n && v.combinationKey), m = [i, ...h].map((v) => {
|
|
257
|
-
var w,
|
|
258
|
-
const p = v.combinationKey ? (
|
|
257
|
+
var w, I;
|
|
258
|
+
const p = v.combinationKey ? (I = (w = f == null ? void 0 : f.variant) == null ? void 0 : w.variantCombinations) == null ? void 0 : I.find(
|
|
259
259
|
(R) => R.combinationKey === v.combinationKey
|
|
260
260
|
) : f, b = p && f ? a(f, p) : v;
|
|
261
261
|
return a(b, v);
|
|
@@ -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
|
|
364
|
-
o[
|
|
363
|
+
const I = `_${p}`, R = a ? [e[p], b, F] : ["", b, F];
|
|
364
|
+
o[I] = R;
|
|
365
365
|
}
|
|
366
366
|
} else {
|
|
367
367
|
const w = `_${p}`;
|
|
@@ -566,22 +566,22 @@ 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 = H(-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
|
-
n.value =
|
|
572
|
+
n.value = C(v), a.value = C(v), o.value = [{ delta: null }], r.value = 0;
|
|
573
573
|
return;
|
|
574
574
|
}
|
|
575
575
|
const p = t.diff(a.value, v);
|
|
576
|
-
if (r.value < o.value.length - 1 && (o.value = o.value.slice(0, r.value + 1)), o.value.push({ delta: p }), r.value++, a.value =
|
|
576
|
+
if (r.value < o.value.length - 1 && (o.value = o.value.slice(0, r.value + 1)), o.value.push({ delta: p }), r.value++, a.value = C(v), o.value.length > e) {
|
|
577
577
|
const b = o.value[1].delta;
|
|
578
|
-
b && n.value && (n.value = t.patch(
|
|
578
|
+
b && n.value && (n.value = t.patch(C(n.value), b)), o.value.shift(), r.value--;
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
581
|
function i(v) {
|
|
582
582
|
if (!n.value || v < 0 || v >= o.value.length)
|
|
583
583
|
return;
|
|
584
|
-
let p =
|
|
584
|
+
let p = C(n.value);
|
|
585
585
|
for (let b = 1; b <= v; b++) {
|
|
586
586
|
const w = o.value[b];
|
|
587
587
|
w.delta && (p = t.patch(p, w.delta));
|
|
@@ -592,14 +592,14 @@ function St({
|
|
|
592
592
|
if (l.value) {
|
|
593
593
|
r.value--;
|
|
594
594
|
const v = i(r.value);
|
|
595
|
-
return v && (a.value =
|
|
595
|
+
return v && (a.value = C(v)), v;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
function h() {
|
|
599
599
|
if (u.value) {
|
|
600
600
|
r.value++;
|
|
601
601
|
const v = i(r.value);
|
|
602
|
-
return v && (a.value =
|
|
602
|
+
return v && (a.value = C(v)), v;
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
605
|
function m() {
|
|
@@ -616,7 +616,7 @@ function St({
|
|
|
616
616
|
}
|
|
617
617
|
const bt = {
|
|
618
618
|
async updateMenuModule(e, t) {
|
|
619
|
-
const n =
|
|
619
|
+
const n = G.RequestRunner.operation(t, e.modules);
|
|
620
620
|
if (n.validateError.length > 0)
|
|
621
621
|
throw new Error(n.validateError.join(`
|
|
622
622
|
`));
|
|
@@ -671,8 +671,8 @@ const Pt = Ye(
|
|
|
671
671
|
selector: "position"
|
|
672
672
|
}) : []), r = S(() => {
|
|
673
673
|
var s;
|
|
674
|
-
return ((s = t.currentBusiness.value) == null ? void 0 : s.menuVersion) ||
|
|
675
|
-
}), a = S(() => r.value ===
|
|
674
|
+
return ((s = t.currentBusiness.value) == null ? void 0 : s.menuVersion) || z.F_MENU_VERSION.v3;
|
|
675
|
+
}), a = S(() => r.value === z.F_MENU_VERSION.v4), l = S(() => {
|
|
676
676
|
const s = e.menu.modules.catalog;
|
|
677
677
|
return x(s, { selector: "name" });
|
|
678
678
|
}), u = S(() => {
|
|
@@ -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 = H(!1), v = H(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
|
|
731
|
+
let I = null, R = null;
|
|
732
732
|
function Q() {
|
|
733
|
-
R && (R(), R = null),
|
|
733
|
+
R && (R(), R = null), I && I.stop(), I = Qe(!0), R = I.run(() => Ze(
|
|
734
734
|
() => [e.menu, e.currentCatalogId, e.currentSchedulerId],
|
|
735
735
|
() => {
|
|
736
736
|
m.value || w();
|
|
@@ -809,13 +809,13 @@ const Pt = Ye(
|
|
|
809
809
|
}
|
|
810
810
|
const _e = S(() => V(h.value.modules.group, (s) => s.name)), Se = S(() => x(h.value.modules.takeaway, { selector: "name" })), be = S(() => x(e.menu.modules.printDepartment || [], {
|
|
811
811
|
selector: "name"
|
|
812
|
-
})), we = S(() => x(e.menu.modules.unit, { selector: "name" })), Me = S(() => x(
|
|
812
|
+
})), we = S(() => x(e.menu.modules.unit, { selector: "name" })), Me = S(() => x(ze(e.menu.modules.recipe, e.menu.modules.sku), {
|
|
813
813
|
selector: "name"
|
|
814
|
-
})), Ae = S(() => e.menu.modules.cookingGuide),
|
|
814
|
+
})), Ae = S(() => e.menu.modules.cookingGuide), Ce = S(() => {
|
|
815
815
|
const s = Le(e.menu.modules.sku);
|
|
816
816
|
return x(s, { selector: "code" });
|
|
817
817
|
}), U = S(() => {
|
|
818
|
-
const s = !e.currentCatalogId, d = r.value ===
|
|
818
|
+
const s = !e.currentCatalogId, d = r.value === z.F_MENU_VERSION.v4, y = !e.currentSchedulerId, g = {
|
|
819
819
|
create: s && y,
|
|
820
820
|
edit: s && y,
|
|
821
821
|
delete: s && y
|
|
@@ -886,7 +886,7 @@ const Pt = Ye(
|
|
|
886
886
|
function W(s) {
|
|
887
887
|
return `${s.systemCode}/${s.taxCode}`;
|
|
888
888
|
}
|
|
889
|
-
function
|
|
889
|
+
function Ie(s) {
|
|
890
890
|
const [d, y] = s.split("/");
|
|
891
891
|
return { systemCode: d, taxCode: y };
|
|
892
892
|
}
|
|
@@ -898,7 +898,7 @@ const Pt = Ye(
|
|
|
898
898
|
const s = ["SV5", "SV10"], d = qe.Country.getCountryFlattenTaxes(
|
|
899
899
|
se().currentCountry.value
|
|
900
900
|
), y = d.filter((_) => a.value || !s.includes(_.taxCode)).map((_) => ({
|
|
901
|
-
label: `${_.name} (${
|
|
901
|
+
label: `${_.name} (${Ge(_.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 } = Be();
|
|
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) => [G.F_OPERATION_TYPE.delete, G.F_OPERATION_TYPE.deleteMany].includes(A.operation)
|
|
940
940
|
)) {
|
|
941
|
-
const A = await
|
|
941
|
+
const A = await He(g, e.menu.modules);
|
|
942
942
|
if (A !== !0) throw new Error(A);
|
|
943
943
|
}
|
|
944
944
|
const _ = await bt.updateMenuModule(e.menu, g);
|
|
@@ -996,7 +996,7 @@ const Pt = Ye(
|
|
|
996
996
|
units: we,
|
|
997
997
|
recipes: Me,
|
|
998
998
|
cookingGuide: Ae,
|
|
999
|
-
skus:
|
|
999
|
+
skus: Ce,
|
|
1000
1000
|
rules: U,
|
|
1001
1001
|
taxSetting: ke,
|
|
1002
1002
|
// Action
|
|
@@ -1012,7 +1012,7 @@ const Pt = Ye(
|
|
|
1012
1012
|
computeMergedMenu: p,
|
|
1013
1013
|
// helper
|
|
1014
1014
|
encodeTax: W,
|
|
1015
|
-
decodeTax:
|
|
1015
|
+
decodeTax: Ie,
|
|
1016
1016
|
getSelectedTax: Re,
|
|
1017
1017
|
mapVariant: ge,
|
|
1018
1018
|
// history
|
|
@@ -1022,7 +1022,7 @@ const Pt = Ye(
|
|
|
1022
1022
|
redoHistory: je,
|
|
1023
1023
|
// cleanup
|
|
1024
1024
|
$dispose: () => {
|
|
1025
|
-
w.cancel(), R && (R(), R = null),
|
|
1025
|
+
w.cancel(), R && (R(), R = null), I && (I.stop(), I = 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-CPLvXPJu.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-CPLvXPJu.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-bw8OCoHr.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-BSAn1m0K.js";
|
|
8
|
+
import { L as ge } from "./LinkProductSideSheet-Buso155W.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-CPLvXPJu.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-DZpI5Elt.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-8pgeYhp4.js";
|
|
2
|
+
import "./menu-CPLvXPJu.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-CPLvXPJu.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-5fxKLAzS.js";
|
|
10
|
-
import "./menuV2-
|
|
10
|
+
import "./menuV2-DZpI5Elt.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.71-alpha.1",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"vue3-lottie": "^3.3.0",
|
|
54
54
|
"vuedraggable": "^4.1.0",
|
|
55
55
|
"xlsx": "^0.18.5",
|
|
56
|
-
"@feedmepos/mf-common": "^1.
|
|
56
|
+
"@feedmepos/mf-common": "^1.28.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@rollup/plugin-commonjs": "^28.0.2",
|