@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,14 +1,13 @@
|
|
|
1
|
-
import { getCurrentInstance as te, defineComponent as
|
|
2
|
-
import { D as q, u as Q, O as W, J as z, z as N, H as L, A as se,
|
|
3
|
-
import { useI18n as X, useCoreStore as
|
|
4
|
-
import { useDialog as
|
|
5
|
-
import { _ as
|
|
6
|
-
import {
|
|
7
|
-
import { a as ye, l as ee, T as pe } from "./index-Ddt_Nw9F.js";
|
|
1
|
+
import { getCurrentInstance as te, defineComponent as ne, computed as h, watch as oe, h as R, resolveComponent as S, createElementBlock as C, openBlock as _, Fragment as O, normalizeClass as D, createElementVNode as k, createVNode as V, unref as t, isRef as j, withCtx as P, renderList as ie, createBlock as $, createCommentVNode as G, toDisplayString as I, withModifiers as H } from "vue";
|
|
2
|
+
import { D as q, u as Q, O as W, J as z, z as N, H as L, A as se, an as J, a3 as re } from "./index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js";
|
|
3
|
+
import { useI18n as X, useCoreStore as le } from "@feedmepos/mf-common";
|
|
4
|
+
import { useDialog as ce, useSnackbar as Z, FmButtonVariant as A, components as de, useBreakpoints as ue } from "@feedmepos/ui-library";
|
|
5
|
+
import { _ as me } from "./app-CEIhTuYG.js";
|
|
6
|
+
import { a as ye, l as ee, T as pe } from "./index-pxnQHVnU.js";
|
|
8
7
|
import { u as fe } from "./search-BAPEUu1R.js";
|
|
9
|
-
import { f as F } from "./currency-
|
|
8
|
+
import { f as F } from "./currency-vVxHIVBs.js";
|
|
10
9
|
import { defineStore as _e } from "pinia";
|
|
11
|
-
import { C as ke } from "./catalog-
|
|
10
|
+
import { C as ke } from "./catalog-WBrPmQwl.js";
|
|
12
11
|
import { c as ve } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
12
|
function we(T, U, l, m) {
|
|
14
13
|
var y, v, w, g;
|
|
@@ -46,7 +45,7 @@ function we(T, U, l, m) {
|
|
|
46
45
|
return i;
|
|
47
46
|
}
|
|
48
47
|
const ge = _e("takeaway-manager", () => {
|
|
49
|
-
const T =
|
|
48
|
+
const T = ce(), U = Z(), l = q(U), m = W(l), i = Q(), f = te(), { t: y } = X(), v = (a) => {
|
|
50
49
|
var e, u;
|
|
51
50
|
const { vNode: d } = ve(
|
|
52
51
|
ye,
|
|
@@ -65,8 +64,8 @@ const ge = _e("takeaway-manager", () => {
|
|
|
65
64
|
fallback: e,
|
|
66
65
|
action: "update",
|
|
67
66
|
"onUpdate:takeaway": async (b) => {
|
|
68
|
-
let
|
|
69
|
-
b.price ?
|
|
67
|
+
let n = L(i.currentCatalog);
|
|
68
|
+
b.price ? n.override.takeaway[a._id] = { price: b.price } : delete n.override.takeaway[a._id], n = we(n, a, b, i.state.menu.modules.item), await new ke(n, i, m.updateMenu, T).update();
|
|
70
69
|
}
|
|
71
70
|
});
|
|
72
71
|
}
|
|
@@ -143,23 +142,23 @@ const ge = _e("takeaway-manager", () => {
|
|
|
143
142
|
}, Ie = {
|
|
144
143
|
key: 1,
|
|
145
144
|
class: "xs:pt-24"
|
|
146
|
-
},
|
|
145
|
+
}, Re = /* @__PURE__ */ ne({
|
|
147
146
|
__name: "Takeaway",
|
|
148
147
|
emits: ["update:count"],
|
|
149
148
|
setup(T, {
|
|
150
149
|
emit: U
|
|
151
150
|
}) {
|
|
152
|
-
const l = Q(), m = ge(), i = h(() => l.rules.item.bindToVariant), f = h(() => l.rules.takeaway), y = W(q(Z())), v =
|
|
153
|
-
...
|
|
151
|
+
const l = Q(), m = ge(), i = h(() => l.rules.item.bindToVariant), f = h(() => l.rules.takeaway), y = W(q(Z())), v = le(), w = h(() => se.Country.getCountry(v.currentCountry.value).currency), g = h(() => l.takeaways.map((n) => ({
|
|
152
|
+
...n,
|
|
154
153
|
usedBy: l.items.reduce((s, p) => {
|
|
155
|
-
var
|
|
156
|
-
const x = p.takeawayUsed ===
|
|
157
|
-
if ((!i.value || !((E = (
|
|
154
|
+
var o, E, Y;
|
|
155
|
+
const x = p.takeawayUsed === n._id;
|
|
156
|
+
if ((!i.value || !((E = (o = p.variant) == null ? void 0 : o.variantGroupIds) != null && E.length)) && x)
|
|
158
157
|
s.push({
|
|
159
158
|
_id: p._id
|
|
160
159
|
});
|
|
161
160
|
else {
|
|
162
|
-
const ae = (((Y = p.variant) == null ? void 0 : Y.variantCombinations) || []).filter((K) => K.takeawayUsed ===
|
|
161
|
+
const ae = (((Y = p.variant) == null ? void 0 : Y.variantCombinations) || []).filter((K) => K.takeawayUsed === n._id || !K.takeawayUsed && x).map((K) => ({
|
|
163
162
|
_id: p._id,
|
|
164
163
|
combinationKey: K.combinationKey
|
|
165
164
|
}));
|
|
@@ -170,9 +169,9 @@ const ge = _e("takeaway-manager", () => {
|
|
|
170
169
|
}))), {
|
|
171
170
|
filter: r,
|
|
172
171
|
searchKey: c
|
|
173
|
-
} = fe(), a = h(() => g.value.filter((
|
|
174
|
-
|
|
175
|
-
d("update:count",
|
|
172
|
+
} = fe(), a = h(() => g.value.filter((n) => r([n.name, F(n.price, !1)]))), d = U;
|
|
173
|
+
oe(() => a.value.length, (n) => {
|
|
174
|
+
d("update:count", n);
|
|
176
175
|
}, {
|
|
177
176
|
immediate: !0
|
|
178
177
|
});
|
|
@@ -193,8 +192,8 @@ const ge = _e("takeaway-manager", () => {
|
|
|
193
192
|
meta: {
|
|
194
193
|
textAlign: "right"
|
|
195
194
|
},
|
|
196
|
-
cell: (
|
|
197
|
-
const s =
|
|
195
|
+
cell: (n) => {
|
|
196
|
+
const s = n.getValue();
|
|
198
197
|
return F(s, !1);
|
|
199
198
|
}
|
|
200
199
|
}, {
|
|
@@ -202,8 +201,8 @@ const ge = _e("takeaway-manager", () => {
|
|
|
202
201
|
header: () => e("menu.takeaway.table.columns.products"),
|
|
203
202
|
enableSorting: !1,
|
|
204
203
|
size: 200,
|
|
205
|
-
cell: (
|
|
206
|
-
const s =
|
|
204
|
+
cell: (n) => {
|
|
205
|
+
const s = n.getValue(), p = J(l.categorizedItems, s).flatMap((x) => x.items).length ?? 0;
|
|
207
206
|
return e("menu.takeaway.table.items_linked", {
|
|
208
207
|
count: p
|
|
209
208
|
});
|
|
@@ -215,18 +214,18 @@ const ge = _e("takeaway-manager", () => {
|
|
|
215
214
|
cellClass: "pl-16",
|
|
216
215
|
headerContentClass: "-mx-16"
|
|
217
216
|
},
|
|
218
|
-
cell: (
|
|
217
|
+
cell: (n) => R("div", {
|
|
219
218
|
class: "flex justify-end items-center"
|
|
220
|
-
}, [f.value.delete ? R(
|
|
219
|
+
}, [f.value.delete ? R(de.FmButton, {
|
|
221
220
|
prependIcon: "delete",
|
|
222
221
|
variant: A.Tertiary,
|
|
223
222
|
textColor: "neutral-gray-400",
|
|
224
223
|
onClick: (s) => {
|
|
225
|
-
s.stopPropagation(), m.deleteTakeaway(
|
|
224
|
+
s.stopPropagation(), m.deleteTakeaway(n.row.original);
|
|
226
225
|
}
|
|
227
226
|
}) : null])
|
|
228
|
-
}]), M =
|
|
229
|
-
return (
|
|
227
|
+
}]), M = ue(), b = h(() => M.breakpoints.value.xs);
|
|
228
|
+
return (n, s) => {
|
|
230
229
|
const p = S("fm-search"), x = S("fm-table"), B = S("fm-button");
|
|
231
230
|
return g.value.length ? (_(), C(O, {
|
|
232
231
|
key: 0
|
|
@@ -236,26 +235,26 @@ const ge = _e("takeaway-manager", () => {
|
|
|
236
235
|
class: "w-full",
|
|
237
236
|
autofocus: "",
|
|
238
237
|
modelValue: t(c),
|
|
239
|
-
"onUpdate:modelValue": s[2] || (s[2] = (
|
|
238
|
+
"onUpdate:modelValue": s[2] || (s[2] = (o) => j(c) ? c.value = o : null),
|
|
240
239
|
placeholder: t(e)("menu.takeaway.table.search.placeholder")
|
|
241
|
-
}, null, 8, ["modelValue", "placeholder"])]), k("div", Ve, [(_(!0), C(O, null, ie(a.value, (
|
|
242
|
-
key:
|
|
240
|
+
}, null, 8, ["modelValue", "placeholder"])]), k("div", Ve, [(_(!0), C(O, null, ie(a.value, (o) => (_(), C("div", {
|
|
241
|
+
key: o._id,
|
|
243
242
|
class: D(["py-12 px-16", "flex space-x-8", "items-center"]),
|
|
244
243
|
onClick: () => {
|
|
245
|
-
f.value.edit && t(m).updateTakeaway(
|
|
244
|
+
f.value.edit && t(m).updateTakeaway(o);
|
|
246
245
|
}
|
|
247
|
-
}, [k("div", Ue, [k("p", Me, I(
|
|
246
|
+
}, [k("div", Ue, [k("p", Me, I(o.name), 1), k("p", Ee, I(`${t(J)(t(l).categorizedItems, o.usedBy).flatMap((E) => E.items).length ?? 0} items linked`), 1), k("p", Ke, " Price: " + I(w.value.symbol) + I(t(F)(o.price, !1)), 1)]), f.value.delete ? (_(), $(B, {
|
|
248
247
|
key: 0,
|
|
249
248
|
variant: t(A).Tertiary,
|
|
250
249
|
"text-color": "neutral-gray-400",
|
|
251
250
|
"prepend-icon": "delete",
|
|
252
|
-
onClick: H(() => t(m).deleteTakeaway(
|
|
251
|
+
onClick: H(() => t(m).deleteTakeaway(o), ["stop"])
|
|
253
252
|
}, null, 8, ["variant", "onClick"])) : G("", !0)], 8, Te))), 128))])], 64)) : (_(), C("div", be, [k("div", he, [k("div", xe, [V(p, {
|
|
254
253
|
autofocus: "",
|
|
255
254
|
modelValue: t(c),
|
|
256
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
255
|
+
"onUpdate:modelValue": s[0] || (s[0] = (o) => j(c) ? c.value = o : null),
|
|
257
256
|
placeholder: t(e)("menu.takeaway.table.search.placeholder")
|
|
258
|
-
}, null, 8, ["modelValue", "placeholder"])])]), V(
|
|
257
|
+
}, null, 8, ["modelValue", "placeholder"])])]), V(me, null, {
|
|
259
258
|
default: P(() => [V(x, {
|
|
260
259
|
"column-defs": u.value,
|
|
261
260
|
loading: t(y).checkMenuIsLoading(),
|
|
@@ -266,12 +265,12 @@ const ge = _e("takeaway-manager", () => {
|
|
|
266
265
|
class: "flex-1 overflow-hidden",
|
|
267
266
|
"hide-footer": "",
|
|
268
267
|
"pin-header-row": "",
|
|
269
|
-
onRowClick: s[1] || (s[1] = (
|
|
270
|
-
f.value.edit && t(m).updateTakeaway(
|
|
268
|
+
onRowClick: s[1] || (s[1] = (o) => {
|
|
269
|
+
f.value.edit && t(m).updateTakeaway(o.original);
|
|
271
270
|
})
|
|
272
271
|
}, null, 8, ["column-defs", "loading", "page-size", "row-data", "search-value"])]),
|
|
273
272
|
_: 1
|
|
274
|
-
})]))], 64)) : (_(), C("div", Ie, [V(t(
|
|
273
|
+
})]))], 64)) : (_(), C("div", Ie, [V(t(re), {
|
|
275
274
|
subtitle: t(e)("menu.takeaway.empty.subtitle"),
|
|
276
275
|
title: t(e)("menu.takeaway.empty.title")
|
|
277
276
|
}, {
|
|
@@ -280,19 +279,19 @@ const ge = _e("takeaway-manager", () => {
|
|
|
280
279
|
"bind-to-variant": i.value,
|
|
281
280
|
action: "add",
|
|
282
281
|
"apply-product": "",
|
|
283
|
-
"onUpdate:takeaway": s[3] || (s[3] = (
|
|
282
|
+
"onUpdate:takeaway": s[3] || (s[3] = (o) => t(y).updateMenu({
|
|
284
283
|
module: t(N.F_MENU_MODULE_V4_KEY).enum.takeaway,
|
|
285
284
|
operation: t(z.F_OPERATION_TYPE).create,
|
|
286
|
-
data:
|
|
287
|
-
link: t(ee)(
|
|
288
|
-
},
|
|
285
|
+
data: o,
|
|
286
|
+
link: t(ee)(o.usedBy || [])
|
|
287
|
+
}, o.name))
|
|
289
288
|
}, {
|
|
290
289
|
default: P(({
|
|
291
|
-
trigger:
|
|
290
|
+
trigger: o
|
|
292
291
|
}) => [V(B, {
|
|
293
292
|
"prepend-icon": "add",
|
|
294
293
|
label: t(e)("menu.takeaway.empty.action"),
|
|
295
|
-
onClick: H(
|
|
294
|
+
onClick: H(o, ["stop"])
|
|
296
295
|
}, null, 8, ["label", "onClick"])]),
|
|
297
296
|
_: 1
|
|
298
297
|
}, 8, ["bind-to-variant"])) : G("", !0)]),
|
|
@@ -302,5 +301,5 @@ const ge = _e("takeaway-manager", () => {
|
|
|
302
301
|
}
|
|
303
302
|
});
|
|
304
303
|
export {
|
|
305
|
-
|
|
304
|
+
Re as _
|
|
306
305
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { computed as d, defineComponent as x, ref as F, resolveComponent as b, createElementBlock as L, openBlock as w, normalizeClass as O, createVNode as K, normalizeStyle as $, withCtx as B, createBlock as U, createCommentVNode as j } from "vue";
|
|
2
|
-
import { z as h, J as E, D as R, O as C,
|
|
3
|
-
import { u as S } from "./menuV2-
|
|
4
|
-
import { C as v, h as N } from "./catalog-
|
|
5
|
-
import { useSnackbar as
|
|
6
|
-
import { a as T } from "./LinkProductSideSheet-
|
|
2
|
+
import { z as h, J as E, D as R, O as C, ak as D, u as y, c as J } from "./index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js";
|
|
3
|
+
import { u as S } from "./menuV2-xUMdUls0.js";
|
|
4
|
+
import { C as v, h as N } from "./catalog-WBrPmQwl.js";
|
|
5
|
+
import { useSnackbar as k, useDialog as Y } from "@feedmepos/ui-library";
|
|
6
|
+
import { a as T } from "./LinkProductSideSheet-B_R_2iH6.js";
|
|
7
7
|
import { useI18n as q } from "@feedmepos/mf-common";
|
|
8
8
|
function G() {
|
|
9
9
|
const e = S(), o = d(() => e.categorizedRawMenuItems.filter((u) => u.items.length > 0)), i = d(() => {
|
|
@@ -97,7 +97,7 @@ async function z(e, o) {
|
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
function H() {
|
|
100
|
-
const e = S(), o =
|
|
100
|
+
const e = S(), o = k(), i = Y(), c = R(o), g = C(c), p = d(() => {
|
|
101
101
|
const n = e.categorizedRawMenuItems, a = new Set(
|
|
102
102
|
e.currentCatalog ? v.getItemAvailable(e.currentCatalog) : e.state.menu.modules.item.map((t) => t._id)
|
|
103
103
|
);
|
|
@@ -160,7 +160,7 @@ function H() {
|
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
const Q = () => {
|
|
163
|
-
const e = y(), o =
|
|
163
|
+
const e = y(), o = k(), i = R(o), c = C(i), g = d(() => e.categorizedRawMenuItems.filter((n) => n.items.length > 0)), p = d(() => {
|
|
164
164
|
const n = e.currentCatalog;
|
|
165
165
|
return n ? v.getItemAvailable(n).map((a) => ({ _id: a })) : [];
|
|
166
166
|
});
|
|
@@ -219,7 +219,7 @@ const Q = () => {
|
|
|
219
219
|
saveLinkItemRules: u
|
|
220
220
|
};
|
|
221
221
|
}, W = () => {
|
|
222
|
-
const e = y(), o =
|
|
222
|
+
const e = y(), o = k(), i = Y(), c = R(o), g = C(c), p = d(() => {
|
|
223
223
|
const n = e.categorizedRawMenuItems, a = new Set(
|
|
224
224
|
e.currentCatalog ? v.getItemAvailable(e.currentCatalog) : e.state.menu.modules.item.map((t) => t._id)
|
|
225
225
|
);
|
|
@@ -291,8 +291,8 @@ function se(e) {
|
|
|
291
291
|
if (M.mode === T.Rules)
|
|
292
292
|
m.saveLinkItemRules(M.linkItemRules);
|
|
293
293
|
else {
|
|
294
|
-
const
|
|
295
|
-
f.value ? m.applyProduct(
|
|
294
|
+
const P = M.items.map((V) => V._id);
|
|
295
|
+
f.value ? m.applyProduct(P) : l.applyProduct(P);
|
|
296
296
|
}
|
|
297
297
|
}, A = d(() => [o, ...t.state.menu.modules.category ?? []]);
|
|
298
298
|
return {
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import { computed as D, shallowRef as jt, ref as q, watch as _e, nextTick as tt, getCurrentInstance as Tn, onMounted as Ae, defineComponent as re, resolveComponent as j, createElementBlock as J, openBlock as $, createBlock as H, normalizeClass as fe, createElementVNode as N, createVNode as w, unref as o, withCtx as G, toDisplayString as ge, mergeModels as Wt, useModel as qt, createCommentVNode as X, resolveDirective as Ht, withDirectives as pt, createTextVNode as Sn, renderSlot as Me, h as ve, Fragment as Oe, renderList as Ne, vShow as Xt, withModifiers as qe, createSlots as Fn, onBeforeUnmount as Ft, watchEffect as On, onUnmounted as Dn, normalizeStyle as ct, mergeProps as Vn, normalizeProps as $n, guardReactiveProps as Pn, Teleport as Rn, Transition as Un, withKeys as Mn } from "vue";
|
|
2
|
-
import { g as An, o as Nn, f as Ln, a as Gn, n as Jt, I as Kn, S as Bn, _ as Ot, C as zn, b as Qt, c as It, e as Zt, d as Yn, m as jn, F as Wn, M as en, h as qn, r as Hn, i as tn, j as At, k as nn, l as Xn, P as Jn, p as Qn, q as on, u as Zn, T as Be } from "./item-
|
|
3
|
-
import { _ as eo, T as to } from "./app-
|
|
4
|
-
import { A as be, J as ye, z as te, D as nt, K as no, M as oo, N as ao, O as Dt, P as ro, B as Le, Q as lo, H as me, R as io, T as Vt, I as Ie, U as gt, V as so, W as uo, X as vt, Y as Nt, Z as co, u as an, $ as mo } from "./
|
|
2
|
+
import { g as An, o as Nn, f as Ln, a as Gn, n as Jt, I as Kn, S as Bn, _ as Ot, C as zn, b as Qt, c as It, e as Zt, d as Yn, m as jn, F as Wn, M as en, h as qn, r as Hn, i as tn, j as At, k as nn, l as Xn, P as Jn, p as Qn, q as on, u as Zn, T as Be } from "./item-mFv0bFSn.js";
|
|
3
|
+
import { _ as eo, T as to } from "./app-CEIhTuYG.js";
|
|
4
|
+
import { A as be, J as ye, z as te, D as nt, K as no, M as oo, N as ao, O as Dt, P as ro, B as Le, Q as lo, H as me, R as io, T as Vt, I as Ie, U as gt, V as so, W as uo, X as vt, Y as Nt, Z as co, u as an, $ as mo } from "./index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js";
|
|
5
5
|
import { useI18n as de, useCoreStore as ot, CustomAttributesForm as rn } from "@feedmepos/mf-common";
|
|
6
6
|
import { useDialog as Ge, useDialogChild as $t, useSnackbar as Ue, FmButtonColorThemeVariant as Fe, components as Ce, FmButtonVariant as We, useBreakpoints as po } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as Pt } from "./discardConfirm-BHni0LNu.js";
|
|
8
8
|
import { defineStore as fo } from "pinia";
|
|
9
|
-
import { _ as De, a as
|
|
10
|
-
import { u as se, g as ln, m as vo } from "./menuV2-
|
|
11
|
-
import { s as kt, _ as bo } from "./index-
|
|
9
|
+
import { _ as De, a as go } from "./RuleView.vue_vue_type_script_setup_true_lang-edNbsZTq.js";
|
|
10
|
+
import { u as se, g as ln, m as vo } from "./menuV2-xUMdUls0.js";
|
|
11
|
+
import { s as kt, _ as bo } from "./index-Ba5-dCQA.js";
|
|
12
12
|
import { useRemyStore as sn, RemyButton as un } from "@feedmepos/mf-remy-panel";
|
|
13
|
-
import { _ as
|
|
14
|
-
import { _ as
|
|
15
|
-
import { _ as
|
|
13
|
+
import { _ as Re } from "./FormItem.vue_vue_type_script_setup_true_lang-B3Ixruh-.js";
|
|
14
|
+
import { _ as Lt } from "./category-bW36h16p.js";
|
|
15
|
+
import { _ as yo, a as _o, u as ho } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CjLOy2k9.js";
|
|
16
|
+
import { _ as Qe, L as Et } from "./LinkProductSideSheet-B_R_2iH6.js";
|
|
16
17
|
import { _ as cn } from "./tooltip-CQW9YRO5.js";
|
|
17
|
-
import { _ as He, T as wo, l as xo } from "./index-
|
|
18
|
+
import { _ as He, T as wo, l as xo } from "./index-pxnQHVnU.js";
|
|
18
19
|
import { u as Co } from "./search-BAPEUu1R.js";
|
|
19
20
|
import { c as Rt } from "./check-C9mY6LiX.js";
|
|
20
|
-
import { f as et } from "./currency-
|
|
21
|
+
import { f as et } from "./currency-vVxHIVBs.js";
|
|
21
22
|
import { c as Io } from "./string-DpfFixWH.js";
|
|
22
23
|
import { useInventoryStore as ko, InventoryBindingSummary as Eo } from "@feedmepos/mf-inventory-portal";
|
|
23
|
-
import { u as To } from "./priceTier-
|
|
24
|
+
import { u as To } from "./priceTier-BVTab4k1.js";
|
|
24
25
|
import { d as Ut } from "./vuedraggable-DnBIRDMr.js";
|
|
25
|
-
import { _ as So } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
26
|
+
import { _ as So } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DhoHYIHW.js";
|
|
26
27
|
import "./app-CzXxFrl1.js";
|
|
27
28
|
/* empty css */
|
|
28
|
-
import { i as Fo, t as Mt, w as Oo, a as dn, b as mn, n as Do, c as Vo, r as $o, _ as Po } from "./index-
|
|
29
|
+
import { i as Fo, t as Mt, w as Oo, a as dn, b as mn, n as Do, c as Vo, r as $o, _ as Po } from "./index-C0EV3eSc.js";
|
|
29
30
|
import { c as dt } from "./object-DVUNCr7w.js";
|
|
30
31
|
import { _ as Ro } from "./TextChip.vue_vue_type_script_setup_true_lang-BJMcI3U2.js";
|
|
31
32
|
import { _ as Gt } from "./MenuSelector.vue_vue_type_script_setup_true_lang-Bm_hSelC.js";
|
|
@@ -5968,7 +5969,7 @@ const _l = { key: 0 }, hl = ["innerHTML"], wl = /* @__PURE__ */ re({
|
|
|
5968
5969
|
]);
|
|
5969
5970
|
};
|
|
5970
5971
|
}
|
|
5971
|
-
}), ii = /* @__PURE__ */ Qe(li, [["__scopeId", "data-v-6c3052b3"]]),
|
|
5972
|
+
}), ii = /* @__PURE__ */ Qe(li, [["__scopeId", "data-v-6c3052b3"]]), Li = /* @__PURE__ */ re({
|
|
5972
5973
|
__name: "TreeEditorOpenner",
|
|
5973
5974
|
setup(e) {
|
|
5974
5975
|
const l = an(), t = on();
|
|
@@ -5992,5 +5993,5 @@ const _l = { key: 0 }, hl = ["innerHTML"], wl = /* @__PURE__ */ re({
|
|
|
5992
5993
|
}
|
|
5993
5994
|
});
|
|
5994
5995
|
export {
|
|
5995
|
-
|
|
5996
|
+
Li as _
|
|
5996
5997
|
};
|
|
@@ -2,10 +2,9 @@ import { defineComponent as L, computed as d, ref as g, h as k, withModifiers as
|
|
|
2
2
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as E, components as K, useBreakpoints as R, FmButtonVariant as I } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as q } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { D as A, u as G } from "./
|
|
6
|
-
import { _ as
|
|
7
|
-
import {
|
|
8
|
-
import { u as O, U as P } from "./unit-DoxpI5dG.js";
|
|
5
|
+
import { D as A, u as G, a3 as H } from "./index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js";
|
|
6
|
+
import { _ as J } from "./PageLayout.vue_vue_type_script_setup_true_lang-vFqWGM6P.js";
|
|
7
|
+
import { u as O, U as P } from "./unit-CbD3sYqC.js";
|
|
9
8
|
const Q = {
|
|
10
9
|
key: 0,
|
|
11
10
|
class: "h-[600px]"
|
|
@@ -29,7 +28,7 @@ const Q = {
|
|
|
29
28
|
class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4"
|
|
30
29
|
}, se = {
|
|
31
30
|
class: "fm-typo-en-body-md-600 font-semibold"
|
|
32
|
-
},
|
|
31
|
+
}, _e = /* @__PURE__ */ L({
|
|
33
32
|
__name: "Unit",
|
|
34
33
|
setup(re) {
|
|
35
34
|
const w = E();
|
|
@@ -72,10 +71,10 @@ const Q = {
|
|
|
72
71
|
const F = d(() => m.value.length), B = R(), M = d(() => B.breakpoints.value.xs);
|
|
73
72
|
return (s, l) => {
|
|
74
73
|
const y = p("FmSearch"), $ = p("FmTable"), j = p("fm-button"), z = p("FmSpacer");
|
|
75
|
-
return a(), b(
|
|
74
|
+
return a(), b(J, {
|
|
76
75
|
heading: e(n)("menu.unit.title")
|
|
77
76
|
}, {
|
|
78
|
-
default: h(() => [m.value.length === 0 ? (a(), b(e(
|
|
77
|
+
default: h(() => [m.value.length === 0 ? (a(), b(e(H), {
|
|
79
78
|
key: 0,
|
|
80
79
|
action: {
|
|
81
80
|
text: e(n)("menu.unit.add"),
|
|
@@ -140,5 +139,5 @@ const Q = {
|
|
|
140
139
|
}
|
|
141
140
|
});
|
|
142
141
|
export {
|
|
143
|
-
|
|
142
|
+
_e as default
|
|
144
143
|
};
|
|
@@ -2,20 +2,19 @@ import { getCurrentInstance as U, defineComponent as $, computed as g, onMounted
|
|
|
2
2
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as G, useSnackbar as N, FmButtonVariant as M, components as J, useBreakpoints as q } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as H } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { _ as Q } from "./app-
|
|
6
|
-
import { D as K, u as P, O as j, J as W, z as X } from "./
|
|
7
|
-
import {
|
|
8
|
-
import { V as S } from "./index-DycbrG1l.js";
|
|
5
|
+
import { _ as Q } from "./app-CEIhTuYG.js";
|
|
6
|
+
import { D as K, u as P, O as j, J as W, z as X, a3 as Z } from "./index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js";
|
|
7
|
+
import { V as S } from "./index-XZlEgR2k.js";
|
|
9
8
|
import { _ as ee } from "./PageLayout.vue_vue_type_script_setup_true_lang-vFqWGM6P.js";
|
|
10
9
|
import { u as te } from "./search-BAPEUu1R.js";
|
|
11
|
-
import { defineStore as
|
|
12
|
-
import { c as
|
|
13
|
-
const ae =
|
|
14
|
-
const B = G(),
|
|
10
|
+
import { defineStore as ne } from "pinia";
|
|
11
|
+
import { c as oe } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
12
|
+
const ae = ne("variant-manager", () => {
|
|
13
|
+
const B = G(), o = N(), _ = K(o), h = j(_);
|
|
15
14
|
P();
|
|
16
15
|
const d = U(), { t: c } = D(), x = (l) => {
|
|
17
16
|
var y, a;
|
|
18
|
-
const { vNode: b } =
|
|
17
|
+
const { vNode: b } = oe(
|
|
19
18
|
S,
|
|
20
19
|
d,
|
|
21
20
|
l
|
|
@@ -78,11 +77,11 @@ const ae = oe("variant-manager", () => {
|
|
|
78
77
|
}, _e = {
|
|
79
78
|
key: 1,
|
|
80
79
|
class: "xs:pt-16"
|
|
81
|
-
},
|
|
80
|
+
}, Se = /* @__PURE__ */ $({
|
|
82
81
|
__name: "Variant",
|
|
83
82
|
setup(B) {
|
|
84
83
|
const {
|
|
85
|
-
t:
|
|
84
|
+
t: o
|
|
86
85
|
} = D(), _ = P(), h = j(K(N())), d = ae(), c = g(() => _.variants.map((a) => ({
|
|
87
86
|
...a,
|
|
88
87
|
usedBy: _.items.filter((e) => {
|
|
@@ -103,12 +102,12 @@ const ae = oe("variant-manager", () => {
|
|
|
103
102
|
A(() => _.selectCatalog(null));
|
|
104
103
|
const l = g(() => [{
|
|
105
104
|
accessorKey: "name",
|
|
106
|
-
header: () =>
|
|
105
|
+
header: () => o("menu.variant.columns.name"),
|
|
107
106
|
size: 360,
|
|
108
107
|
enableSorting: !1
|
|
109
108
|
}, {
|
|
110
109
|
accessorKey: "options",
|
|
111
|
-
header: () =>
|
|
110
|
+
header: () => o("menu.variant.columns.options"),
|
|
112
111
|
size: 560,
|
|
113
112
|
enableSorting: !1,
|
|
114
113
|
cell: (a) => {
|
|
@@ -117,10 +116,10 @@ const ae = oe("variant-manager", () => {
|
|
|
117
116
|
}
|
|
118
117
|
}, {
|
|
119
118
|
accessorKey: "usedBy",
|
|
120
|
-
header: () =>
|
|
119
|
+
header: () => o("menu.variant.columns.applied_products"),
|
|
121
120
|
enableSorting: !1,
|
|
122
121
|
size: 180,
|
|
123
|
-
cell: (a) =>
|
|
122
|
+
cell: (a) => o("menu.common.labels.items_linked", {
|
|
124
123
|
count: a.getValue().length
|
|
125
124
|
})
|
|
126
125
|
}, {
|
|
@@ -144,18 +143,18 @@ const ae = oe("variant-manager", () => {
|
|
|
144
143
|
return (a, e) => {
|
|
145
144
|
const s = k("fm-search"), O = k("fm-table"), E = k("fm-button");
|
|
146
145
|
return u(), F(ee, {
|
|
147
|
-
heading: t(
|
|
146
|
+
heading: t(o)("menu.variant.title")
|
|
148
147
|
}, {
|
|
149
148
|
"append-heading": p(() => [c.value.length ? (u(), F(t(S), {
|
|
150
149
|
key: 0
|
|
151
150
|
}, {
|
|
152
151
|
default: p(({
|
|
153
|
-
trigger:
|
|
152
|
+
trigger: n
|
|
154
153
|
}) => [i(H, {
|
|
155
154
|
class: "ml-auto",
|
|
156
|
-
label: t(
|
|
155
|
+
label: t(o)("menu.variant.add"),
|
|
157
156
|
"prepend-icon": "add",
|
|
158
|
-
onClick: w(
|
|
157
|
+
onClick: w(n, ["stop"])
|
|
159
158
|
}, null, 8, ["label", "onClick"])]),
|
|
160
159
|
_: 1
|
|
161
160
|
})) : Y("", !0)]),
|
|
@@ -166,28 +165,28 @@ const ae = oe("variant-manager", () => {
|
|
|
166
165
|
}, [r("div", ie, [i(s, {
|
|
167
166
|
autofocus: "",
|
|
168
167
|
modelValue: t(m),
|
|
169
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
170
|
-
placeholder: t(
|
|
168
|
+
"onUpdate:modelValue": e[2] || (e[2] = (n) => I(m) ? m.value = n : null),
|
|
169
|
+
placeholder: t(o)("menu.common.labels.search_placeholder", {
|
|
171
170
|
type: "variants"
|
|
172
171
|
})
|
|
173
|
-
}, null, 8, ["modelValue", "placeholder"])]), r("div", ce, [(u(!0), f(V, null, R(v.value, (
|
|
174
|
-
key:
|
|
172
|
+
}, null, 8, ["modelValue", "placeholder"])]), r("div", ce, [(u(!0), f(V, null, R(v.value, (n) => (u(), f("div", {
|
|
173
|
+
key: n._id,
|
|
175
174
|
class: L(["py-12 px-16", "flex space-x-8", "items-center", "cursor-pointer"]),
|
|
176
|
-
onClick: () => t(d).updateVariant(
|
|
177
|
-
}, [r("div", ue, [r("p", de, C(
|
|
178
|
-
count:
|
|
179
|
-
})), 1), r("p", fe, C(t(
|
|
180
|
-
values:
|
|
175
|
+
onClick: () => t(d).updateVariant(n)
|
|
176
|
+
}, [r("div", ue, [r("p", de, C(n.name), 1), r("div", null, [r("p", pe, C(t(o)("menu.common.labels.items_linked", {
|
|
177
|
+
count: n.usedBy.length
|
|
178
|
+
})), 1), r("p", fe, C(t(o)("menu.variant.mobile.value", {
|
|
179
|
+
values: n.options.map((T) => T.name).join(", ")
|
|
181
180
|
})), 1)])]), i(E, {
|
|
182
181
|
variant: t(M).Tertiary,
|
|
183
182
|
"prepend-icon": "delete",
|
|
184
183
|
"text-color": "neutral-gray-400",
|
|
185
|
-
onClick: w(() => t(d).deleteVariant(
|
|
184
|
+
onClick: w(() => t(d).deleteVariant(n), ["stop"])
|
|
186
185
|
}, null, 8, ["variant", "onClick"])], 8, me))), 128))])], 64)) : (u(), f("div", le, [r("div", se, [r("div", re, [i(s, {
|
|
187
186
|
autofocus: "",
|
|
188
187
|
modelValue: t(m),
|
|
189
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
190
|
-
placeholder: t(
|
|
188
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => I(m) ? m.value = n : null),
|
|
189
|
+
placeholder: t(o)("menu.common.labels.search_placeholder", {
|
|
191
190
|
type: "variants"
|
|
192
191
|
})
|
|
193
192
|
}, null, 8, ["modelValue", "placeholder"])])]), i(Q, null, {
|
|
@@ -200,22 +199,22 @@ const ae = oe("variant-manager", () => {
|
|
|
200
199
|
class: "flex-1 overflow-hidden",
|
|
201
200
|
"hide-footer": "",
|
|
202
201
|
"pin-header-row": "",
|
|
203
|
-
onRowClick: e[1] || (e[1] = (
|
|
204
|
-
t(d).updateVariant(
|
|
202
|
+
onRowClick: e[1] || (e[1] = (n) => {
|
|
203
|
+
t(d).updateVariant(n.original);
|
|
205
204
|
})
|
|
206
205
|
}, null, 8, ["column-defs", "loading", "page-size", "row-data"])]),
|
|
207
206
|
_: 1
|
|
208
207
|
})]))], 64)) : (u(), f("div", _e, [i(Z, {
|
|
209
|
-
subtitle: t(
|
|
210
|
-
title: t(
|
|
208
|
+
subtitle: t(o)("menu.variant.empty.subtitle"),
|
|
209
|
+
title: t(o)("menu.variant.empty.title")
|
|
211
210
|
}, {
|
|
212
211
|
action: p(() => [i(t(S), null, {
|
|
213
212
|
default: p(({
|
|
214
|
-
trigger:
|
|
213
|
+
trigger: n
|
|
215
214
|
}) => [i(E, {
|
|
216
215
|
"prepend-icon": "add",
|
|
217
|
-
label: t(
|
|
218
|
-
onClick: w(
|
|
216
|
+
label: t(o)("menu.variant.add"),
|
|
217
|
+
onClick: w(n, ["stop"])
|
|
219
218
|
}, null, 8, ["label", "onClick"])]),
|
|
220
219
|
_: 1
|
|
221
220
|
})]),
|
|
@@ -227,5 +226,5 @@ const ae = oe("variant-manager", () => {
|
|
|
227
226
|
}
|
|
228
227
|
});
|
|
229
228
|
export {
|
|
230
|
-
|
|
229
|
+
Se as default
|
|
231
230
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent as H, computed as d, ref as p, watch as A, onMounted as F, resolveComponent as m, createElementBlock as K, openBlock as b, Fragment as W, createVNode as n, withCtx as u, createElementVNode as i, toDisplayString as M, unref as e, createBlock as D } from "vue";
|
|
2
|
-
import { D as j } from "./iteration-
|
|
2
|
+
import { D as j } from "./iteration-CaFp1Rtz.js";
|
|
3
3
|
import { useRoute as J, useRouter as Q } from "vue-router";
|
|
4
|
-
import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { D as ee, u as te, B as ae, H as oe, O as ne } from "./
|
|
4
|
+
import { _ as X, w as Z } from "./ImportProductDialog.vue_vue_type_script_setup_true_lang-Bpt-8tbe.js";
|
|
5
|
+
import { D as ee, u as te, B as ae, H as oe, O as ne } from "./index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js";
|
|
6
6
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as se } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as R } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
9
|
-
import { L as V } from "./LinkProductSideSheet-
|
|
10
|
-
import { _ as ue } from "./index-
|
|
9
|
+
import { L as V } from "./LinkProductSideSheet-B_R_2iH6.js";
|
|
10
|
+
import { _ as ue } from "./index-Ba5-dCQA.js";
|
|
11
11
|
import { _ as re } from "./PageLayout.vue_vue_type_script_setup_true_lang-vFqWGM6P.js";
|
|
12
|
-
import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { a as me } from "./menu-
|
|
14
|
-
import { m as ce } from "./toExcel-
|
|
15
|
-
import { _ as de, u as pe, c as _e } from "./scheduler-
|
|
16
|
-
import { R as r } from "./app-
|
|
12
|
+
import { u as ie } from "./Thumbnail.vue_vue_type_script_setup_true_lang-CjLOy2k9.js";
|
|
13
|
+
import { a as me } from "./menu-ud-tWfIM.js";
|
|
14
|
+
import { m as ce } from "./toExcel-CczXOnKy.js";
|
|
15
|
+
import { _ as de, u as pe, c as _e } from "./scheduler-CAt7sELO.js";
|
|
16
|
+
import { R as r } from "./app-CEIhTuYG.js";
|
|
17
17
|
const fe = { class: "px-12 py-8" }, ve = { class: "px-12 py-8" }, ge = { class: "flex ml-auto space-x-8" }, be = { class: "flex-1 flex flex-col overflow-hidden" }, Ge = /* @__PURE__ */ H({
|
|
18
18
|
__name: "[id]",
|
|
19
19
|
setup(ke) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineStore as r } from "pinia";
|
|
2
|
-
import {
|
|
2
|
+
import { a8 as a, a9 as s, aa as l } from "./index.vue_vue_type_script_setup_true_lang-CFPMPQFg.js";
|
|
3
3
|
const u = {
|
|
4
4
|
async read() {
|
|
5
5
|
return a(await s().get("/public-setting"));
|