@feedmepos/mf-inventory-portal 1.2.22-dev.1 → 1.2.22-dev.3
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-CVo40hoN.js → App-aHs88TEq.js} +1 -1
- package/dist/{ApprovalView-B99YGXOt.js → ApprovalView-DBZQsKg9.js} +9 -9
- package/dist/{BindingsDialog-DGFYmVX9.js → BindingsDialog-arTYvJn2.js} +2 -2
- package/dist/{BindingsPicker-CVWxRkDE.js → BindingsPicker-Bm0s6sKE.js} +9 -9
- package/dist/{BindingsTable-Cxs_cQrM.js → BindingsTable-DXlM-qDU.js} +1 -1
- package/dist/ClosingDraftView-DVB02I09.js +1888 -0
- package/dist/ClosingTemplateView-k8EkjlIJ.js +2001 -0
- package/dist/{DeliveryOrderPrintPreview-D-H7S-4t.js → DeliveryOrderPrintPreview-CSv5FOby.js} +8 -8
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BsPMd4IE.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D0BKSSSp.js} +33 -33
- package/dist/{FmMultiselectDialog-DXVvibUU.js → FmMultiselectDialog-DOf8rbVD.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Dq8lMkNV.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BZX05ToS.js} +49 -49
- package/dist/{ImportView-DUPfQshy.js → ImportView-6ckPf1Ll.js} +27 -27
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DxLVS1Ar.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-QK12Klz5.js} +8 -8
- package/dist/{IngredientGroupView-CqPl6RZI.js → IngredientGroupView-D2RuwnJ3.js} +17 -17
- package/dist/{IngredientsView--7ro7P7J.js → IngredientsView-CZIyrGJ0.js} +72 -73
- package/dist/{IntegrationView-BZnq8gYp.js → IntegrationView-D9JrR8Hb.js} +3 -3
- package/dist/{InventoryBindingForm-DASUGZuO.js → InventoryBindingForm-6QGOGZlB.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-l_EgNW0u.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DG_WKGVU.js} +12 -12
- package/dist/{InventoryBindingSummary-BoUAsK9S.js → InventoryBindingSummary-CoeODKLp.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DimqJCjO.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Ovi_bWlF.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C_wNgXUC.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CaKjg0eV.js} +7 -7
- package/dist/{PublishView-B-Zal--Y.js → PublishView-BLtshSks.js} +10 -10
- package/dist/{PurchaseOrderPrintPreview-CoXu4VO-.js → PurchaseOrderPrintPreview-DCLjVNlh.js} +13 -13
- package/dist/{ReceiveRequestView-B7rprDy7.js → ReceiveRequestView-DdJ3_qMY.js} +115 -115
- package/dist/{RecipeView-BbMlUt0v.js → RecipeView-DYFDguU9.js} +50 -50
- package/dist/{StockView-Bko2-Rzd.js → StockView-DyUrO7Y0.js} +7 -7
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DONtcweN.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bj05qEWl.js} +1 -1
- package/dist/{SupplierView-D4hAT4CW.js → SupplierView-BYDbDGfd.js} +93 -93
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DuaHM-Wk.js +3233 -0
- package/dist/{TransferTemplateView-BLWYhdZG.js → TransferTemplateView-db5L1CIZ.js} +140 -140
- package/dist/{UnitView-Boi_sRGP.js → UnitView-4ygzmFTY.js} +44 -44
- package/dist/{WarehouseView-B1aAyncU.js → WarehouseView-D-b-t21n.js} +66 -66
- package/dist/api/adjustment-template.d.ts +1 -0
- package/dist/api/closing-template.d.ts +1 -0
- package/dist/{app-C4dN86_k.js → app-BDiHcGqi.js} +30052 -30029
- package/dist/app.js +4 -4
- package/dist/{decimal-Cf4voIJl.js → decimal-C-phHxE7.js} +1 -1
- package/dist/{format-unit-display-CjsVuoHS.js → format-unit-display-MVZRrkkD.js} +33 -33
- package/dist/{import-export.helper-DmouV6nF.js → import-export.helper-C3camZX5.js} +6 -6
- package/dist/{index-DK93lkR_.js → index-B60G756h.js} +1 -1
- package/dist/{index-D2C87f4k.js → index-B6zknB--.js} +1 -1
- package/dist/{purchase-order-template-CQcIyT35.js → purchase-order-template-Bkz_Xjv5.js} +1 -1
- package/dist/{stock-CRKwCBhd.js → stock-DnawcaKQ.js} +1 -1
- package/dist/{supplier-BGeDlnSm.js → supplier-Bq0fMcn0.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Dg3hbUaX.js → use-ingredient-select-dialog-BH2O0eEN.js} +1 -1
- package/dist/{use-inventory-binding-dialog-DRCiAYUs.js → use-inventory-binding-dialog-CI_pMWSk.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +60 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +56 -0
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +468 -0
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +8 -1
- package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +8 -4
- package/package.json +3 -3
- package/dist/ClosingDraftView-gBO5Icdy.js +0 -1739
- package/dist/ClosingTemplateView-C61_1m3k.js +0 -1970
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Cr30q-Ft.js +0 -3394
- package/dist/closing-template-CNtgIoiQ.js +0 -53
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as A, e as C, f as W, S as ge, i as be, D as ne, j,
|
|
1
|
+
import { defineComponent as j, ref as E, onMounted as ie, resolveComponent as I, openBlock as k, createElementBlock as B, Fragment as ue, createElementVNode as x, toDisplayString as ce, createVNode as y, createCommentVNode as q, computed as F, watch as de, createBlock as G, withCtx as U, unref as g, isRef as te, normalizeClass as me, normalizeStyle as pe, Teleport as fe, normalizeProps as ve, guardReactiveProps as ye } from "vue";
|
|
2
|
+
import { a as A, e as C, f as W, S as ge, i as be, D as ne, j as Y, n as P, F as H, r as _e, U as Re, A as he, c as we, y as oe, W as Se, X as xe, Y as Ve, u as Ce, G as Ee, I as ke, J as Ie, K as Fe, L as ae } from "./app-BDiHcGqi.js";
|
|
3
3
|
import { useDialog as le, useSnackbar as X, useProxiedModel as se, useBreakpoints as $e } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as De, _ as Ae } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
|
-
import { _ as re } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as re } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-QK12Klz5.js";
|
|
6
6
|
import { defineStore as Be, storeToRefs as Pe } from "pinia";
|
|
7
7
|
import { useI18n as O } from "@feedmepos/mf-common";
|
|
8
|
-
import { _ as Ue } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Ue } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DG_WKGVU.js";
|
|
9
9
|
import { _ as Te } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
10
10
|
const Me = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "flex flex-col items-center w-full h-full gap-24"
|
|
13
|
-
}, Ge = { key: 1 }, Ne = { key: 0 }, Le = /* @__PURE__ */
|
|
13
|
+
}, Ge = { key: 1 }, Ne = { key: 0 }, Le = /* @__PURE__ */ j({
|
|
14
14
|
__name: "DeleteDialog",
|
|
15
15
|
props: {
|
|
16
16
|
type: {},
|
|
@@ -30,23 +30,23 @@ const Me = {
|
|
|
30
30
|
return (c, m) => {
|
|
31
31
|
const w = I("FmSpacer"), r = I("FmCircularProgress");
|
|
32
32
|
return k(), B(ue, null, [
|
|
33
|
-
|
|
33
|
+
x("p", null, ce(c.message), 1),
|
|
34
34
|
s.value ? (k(), B("div", Me, [
|
|
35
35
|
y(w),
|
|
36
|
-
|
|
36
|
+
x("div", null, [
|
|
37
37
|
y(r, { size: "xl" })
|
|
38
38
|
]),
|
|
39
|
-
m[0] || (m[0] =
|
|
39
|
+
m[0] || (m[0] = x("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading...", -1)),
|
|
40
40
|
y(w)
|
|
41
41
|
])) : (k(), B("div", Ge, [
|
|
42
|
-
m[2] || (m[2] =
|
|
42
|
+
m[2] || (m[2] = x("br", null, null, -1)),
|
|
43
43
|
v.value.length > 0 ? (k(), B("div", Ne, [
|
|
44
|
-
m[1] || (m[1] =
|
|
44
|
+
m[1] || (m[1] = x("p", { class: "fm-typo-en-body-lg-600" }, "Affected menu items:", -1)),
|
|
45
45
|
y(re, {
|
|
46
46
|
name: "Menu",
|
|
47
47
|
bindings: v.value
|
|
48
48
|
}, null, 8, ["bindings"])
|
|
49
|
-
])) :
|
|
49
|
+
])) : q("", !0)
|
|
50
50
|
]))
|
|
51
51
|
], 64);
|
|
52
52
|
};
|
|
@@ -137,19 +137,19 @@ function ze() {
|
|
|
137
137
|
const { updateRecipe: b, deleteRecipe: f } = J(), v = A(), { t: s } = O();
|
|
138
138
|
async function l(r, p) {
|
|
139
139
|
const n = W(p);
|
|
140
|
-
if (r ===
|
|
140
|
+
if (r === Y.Edit) {
|
|
141
141
|
await b(n);
|
|
142
142
|
return;
|
|
143
143
|
}
|
|
144
|
-
if (r ===
|
|
144
|
+
if (r === Y.Delete) {
|
|
145
145
|
await f(n);
|
|
146
146
|
return;
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
function c(r, p) {
|
|
150
|
-
const n = r.filter((i) => i.type ===
|
|
151
|
-
(i) => i.type ===
|
|
152
|
-
), u = r.filter((i) => i.type ===
|
|
150
|
+
const n = r.filter((i) => i.type === H.enum.SKU), o = r.filter(
|
|
151
|
+
(i) => i.type === H.enum.SKU_GROUP
|
|
152
|
+
), u = r.filter((i) => i.type === H.enum.RECIPE);
|
|
153
153
|
return [
|
|
154
154
|
...n.map((i) => ({ ...i, recipeIds: [...p] })),
|
|
155
155
|
...o.map((i) => ({ ...i, isGroup: !0, recipeIds: [...p] })),
|
|
@@ -174,7 +174,7 @@ function ze() {
|
|
|
174
174
|
header: "",
|
|
175
175
|
cell(r) {
|
|
176
176
|
return be(
|
|
177
|
-
[ne[
|
|
177
|
+
[ne[Y.Edit], ne[Y.Delete]],
|
|
178
178
|
(p) => {
|
|
179
179
|
l(p, r.row.original.original);
|
|
180
180
|
}
|
|
@@ -193,26 +193,26 @@ function ze() {
|
|
|
193
193
|
return r.map((n) => ({
|
|
194
194
|
recipe: n.name,
|
|
195
195
|
ingredients: c(n.contains, /* @__PURE__ */ new Set([n._id])).map((o) => {
|
|
196
|
-
var i,
|
|
196
|
+
var i, S, e, d, _, h;
|
|
197
197
|
if (o.isGroup) {
|
|
198
198
|
const R = p.skuGroupById[o.id];
|
|
199
199
|
return o.recipeIds.slice(1).length ? `(${(i = p.recipeById[o.recipeIds.at(-1) ?? ""]) == null ? void 0 : i.name}) ${R.name} (x ${P(o.amount)})` : `${R.name} (x${P(o.amount)})`;
|
|
200
200
|
}
|
|
201
201
|
const u = p.skuById[o.id];
|
|
202
|
-
return u ? o.recipeIds.slice(1).length ? `(${(
|
|
202
|
+
return u ? o.recipeIds.slice(1).length ? `(${(S = p.recipeById[o.recipeIds.at(-1) ?? ""]) == null ? void 0 : S.name}) ${u.name} (${P(o.amount)}${((e = o.measurement) == null ? void 0 : e.abbrev) ?? ((d = u == null ? void 0 : u.unit) == null ? void 0 : d.abbrev)})` : `${u.name} (${P(o.amount)}${((_ = o.measurement) == null ? void 0 : _.abbrev) ?? ((h = u == null ? void 0 : u.unit) == null ? void 0 : h.abbrev)})` : null;
|
|
203
203
|
}).filter((o) => o).join(", "),
|
|
204
204
|
original: n
|
|
205
205
|
}));
|
|
206
206
|
}
|
|
207
207
|
return { columnDefs: m, formatRowData: w };
|
|
208
208
|
}
|
|
209
|
-
const Ke = { class: "flex flex-col gap-40" },
|
|
209
|
+
const Ke = { class: "flex flex-col gap-40" }, Ye = {
|
|
210
210
|
key: 0,
|
|
211
211
|
class: "col-span-2 mt-16 border-1 border-fm-color-neutral-gray-200 fm-corner-radius-lg flex flex-col p-16 gap-16"
|
|
212
|
-
},
|
|
212
|
+
}, je = {
|
|
213
213
|
key: 0,
|
|
214
214
|
class: "flex flex-col items-center w-full h-full gap-24"
|
|
215
|
-
}, Oe = { key: 1 },
|
|
215
|
+
}, Oe = { key: 1 }, He = { class: "mt-32" }, qe = /* @__PURE__ */ j({
|
|
216
216
|
__name: "RecipeForm",
|
|
217
217
|
props: {
|
|
218
218
|
mode: {},
|
|
@@ -270,8 +270,8 @@ const Ke = { class: "flex flex-col gap-40" }, je = {
|
|
|
270
270
|
(a = (t = o.value) == null ? void 0 : t.resetInputs) == null || a.call(t);
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
|
-
const u = A(), i = E([]),
|
|
274
|
-
de(
|
|
273
|
+
const u = A(), i = E([]), S = E(!1), e = E(!1);
|
|
274
|
+
de(S, async (t) => {
|
|
275
275
|
d(t);
|
|
276
276
|
});
|
|
277
277
|
async function d(t) {
|
|
@@ -289,7 +289,7 @@ const Ke = { class: "flex flex-col gap-40" }, je = {
|
|
|
289
289
|
onValidationSuccess: n
|
|
290
290
|
}, {
|
|
291
291
|
default: U(() => [
|
|
292
|
-
|
|
292
|
+
x("div", Ke, [
|
|
293
293
|
y($, {
|
|
294
294
|
disabled: t.disabled,
|
|
295
295
|
label: g(m)("inventory.recipe.name"),
|
|
@@ -321,29 +321,29 @@ const Ke = { class: "flex flex-col gap-40" }, je = {
|
|
|
321
321
|
_: 1
|
|
322
322
|
})
|
|
323
323
|
]),
|
|
324
|
-
t.mode !== g(C).CREATE ? (k(), B("div",
|
|
324
|
+
t.mode !== g(C).CREATE ? (k(), B("div", Ye, [
|
|
325
325
|
y(N, {
|
|
326
326
|
label: "Show binded items",
|
|
327
|
-
modelValue:
|
|
328
|
-
"onUpdate:modelValue": a[2] || (a[2] = (V) =>
|
|
327
|
+
modelValue: S.value,
|
|
328
|
+
"onUpdate:modelValue": a[2] || (a[2] = (V) => S.value = V),
|
|
329
329
|
"label-placement": "right",
|
|
330
330
|
disabled: e.value
|
|
331
331
|
}, null, 8, ["modelValue", "disabled"]),
|
|
332
|
-
e.value ? (k(), B("div",
|
|
332
|
+
e.value ? (k(), B("div", je, [
|
|
333
333
|
y(M),
|
|
334
|
-
|
|
334
|
+
x("div", null, [
|
|
335
335
|
y(L, { size: "xl" })
|
|
336
336
|
]),
|
|
337
|
-
a[4] || (a[4] =
|
|
337
|
+
a[4] || (a[4] = x("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading...", -1)),
|
|
338
338
|
y(M)
|
|
339
|
-
])) :
|
|
339
|
+
])) : S.value && i.value.length ? (k(), B("div", Oe, [
|
|
340
340
|
y(re, {
|
|
341
341
|
name: "Menu",
|
|
342
342
|
bindings: i.value
|
|
343
343
|
}, null, 8, ["bindings"])
|
|
344
|
-
])) :
|
|
345
|
-
])) :
|
|
346
|
-
|
|
344
|
+
])) : q("", !0)
|
|
345
|
+
])) : q("", !0),
|
|
346
|
+
x("div", He, [
|
|
347
347
|
y(Te, {
|
|
348
348
|
entity: "inventoryRecipe",
|
|
349
349
|
modelValue: p.value,
|
|
@@ -355,7 +355,7 @@ const Ke = { class: "flex flex-col gap-40" }, je = {
|
|
|
355
355
|
}, 512);
|
|
356
356
|
};
|
|
357
357
|
}
|
|
358
|
-
}), Je = { class: "flex gap-4" }, We = /* @__PURE__ */
|
|
358
|
+
}), Je = { class: "flex gap-4" }, We = /* @__PURE__ */ j({
|
|
359
359
|
__name: "RecipeDialog",
|
|
360
360
|
props: {
|
|
361
361
|
show: { type: Boolean },
|
|
@@ -426,7 +426,7 @@ const Ke = { class: "flex flex-col gap-40" }, je = {
|
|
|
426
426
|
var e, d;
|
|
427
427
|
(d = (e = p.value) == null ? void 0 : e.validateInputs) == null || d.call(e);
|
|
428
428
|
}
|
|
429
|
-
function
|
|
429
|
+
function S() {
|
|
430
430
|
switch (f.mode) {
|
|
431
431
|
case C.READ:
|
|
432
432
|
return;
|
|
@@ -447,7 +447,7 @@ const Ke = { class: "flex flex-col gap-40" }, je = {
|
|
|
447
447
|
"max-width": 500
|
|
448
448
|
}, {
|
|
449
449
|
"side-sheet-footer": U(() => [
|
|
450
|
-
|
|
450
|
+
x("div", Je, [
|
|
451
451
|
y(_, {
|
|
452
452
|
loading: n.value,
|
|
453
453
|
label: r.value,
|
|
@@ -462,7 +462,7 @@ const Ke = { class: "flex flex-col gap-40" }, je = {
|
|
|
462
462
|
])
|
|
463
463
|
]),
|
|
464
464
|
default: U(() => [
|
|
465
|
-
y(
|
|
465
|
+
y(qe, {
|
|
466
466
|
class: "w-full",
|
|
467
467
|
ref_key: "hasValidationExpose",
|
|
468
468
|
ref: p,
|
|
@@ -470,7 +470,7 @@ const Ke = { class: "flex flex-col gap-40" }, je = {
|
|
|
470
470
|
"onUpdate:modelValue": d[0] || (d[0] = (R) => te(m) ? m.value = R : null),
|
|
471
471
|
mode: e.mode,
|
|
472
472
|
disabled: n.value,
|
|
473
|
-
"onClick:submit": d[1] || (d[1] = (R) =>
|
|
473
|
+
"onClick:submit": d[1] || (d[1] = (R) => S())
|
|
474
474
|
}, null, 8, ["modelValue", "mode", "disabled"])
|
|
475
475
|
]),
|
|
476
476
|
_: 1
|
|
@@ -486,7 +486,7 @@ function Qe() {
|
|
|
486
486
|
var o;
|
|
487
487
|
const n = Xe(r.customAttributes);
|
|
488
488
|
if ((o = r.contains) != null && o.length) {
|
|
489
|
-
const u = r.contains.filter((e) => e.type === "RECIPE"), i = r.contains.filter((e) => e.type === "SKU"),
|
|
489
|
+
const u = r.contains.filter((e) => e.type === "RECIPE"), i = r.contains.filter((e) => e.type === "SKU"), S = r.contains.filter((e) => e.type === "SKU_GROUP");
|
|
490
490
|
return [
|
|
491
491
|
...p === 0 ? [] : [["", "", "", "", "", "", ""]],
|
|
492
492
|
...u.map(
|
|
@@ -517,7 +517,7 @@ function Qe() {
|
|
|
517
517
|
];
|
|
518
518
|
}
|
|
519
519
|
),
|
|
520
|
-
...
|
|
520
|
+
...S.map(
|
|
521
521
|
(e, d) => {
|
|
522
522
|
var _, h;
|
|
523
523
|
return [
|
|
@@ -537,10 +537,10 @@ function Qe() {
|
|
|
537
537
|
...p === 0 ? [] : [["", "", "", "", "", "", ""]],
|
|
538
538
|
[r.name, "No bindings", "", "", "", "", n]
|
|
539
539
|
];
|
|
540
|
-
}), w =
|
|
541
|
-
|
|
540
|
+
}), w = Se(c, ["Name", "Type", "Code", "Item", "Amount", "Unit", "Custom Attributes"]);
|
|
541
|
+
xe(w, `RECIPE_${Ve(/* @__PURE__ */ new Date(), "-", "-")}.xlsx`);
|
|
542
542
|
}
|
|
543
|
-
const Ze = { class: "flex flex-col py-8" }, et = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, tt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, dt = /* @__PURE__ */
|
|
543
|
+
const Ze = { class: "flex flex-col py-8" }, et = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, tt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, dt = /* @__PURE__ */ j({
|
|
544
544
|
__name: "RecipeView",
|
|
545
545
|
setup(b) {
|
|
546
546
|
const f = A(), v = F(() => f.recipes), s = Ce(), { createRecipe: l, updateRecipe: c } = J(), { recipeDialogProps: m, recipeViewLoading: w } = Pe(J()), { columnDefs: r, formatRowData: p } = ze(), n = F(() => p(v.value));
|
|
@@ -551,7 +551,7 @@ const Ze = { class: "flex flex-col py-8" }, et = { class: "fm-typo-en-body-lg-60
|
|
|
551
551
|
if (R === "export")
|
|
552
552
|
return Qe();
|
|
553
553
|
}
|
|
554
|
-
const u = E(""), i = F(() => w.value), { breakpoints:
|
|
554
|
+
const u = E(""), i = F(() => w.value), { breakpoints: S } = $e(), e = F(() => S.value.xs || S.value.sm), d = F(() => e.value ? 10 : 20), _ = Ee(), { t: h } = O();
|
|
555
555
|
return (R, t) => {
|
|
556
556
|
const a = I("FmTable");
|
|
557
557
|
return k(), G(ke, {
|
|
@@ -568,7 +568,7 @@ const Ze = { class: "flex flex-col py-8" }, et = { class: "fm-typo-en-body-lg-60
|
|
|
568
568
|
"onClick:action": o
|
|
569
569
|
}, {
|
|
570
570
|
default: U(() => [
|
|
571
|
-
|
|
571
|
+
x("div", {
|
|
572
572
|
class: me([
|
|
573
573
|
"flex flex-col gap-8 max-h-full",
|
|
574
574
|
{
|
|
@@ -600,14 +600,14 @@ const Ze = { class: "flex flex-col py-8" }, et = { class: "fm-typo-en-body-lg-60
|
|
|
600
600
|
default: U((D) => {
|
|
601
601
|
var N, M, L, T, V, z, Q, Z, K, ee;
|
|
602
602
|
return [
|
|
603
|
-
|
|
604
|
-
|
|
603
|
+
x("div", Ze, [
|
|
604
|
+
x("div", et, [
|
|
605
605
|
y(g(ae), {
|
|
606
606
|
render: (L = (M = (N = D.recipe) == null ? void 0 : N.column) == null ? void 0 : M.columnDef) == null ? void 0 : L.cell,
|
|
607
607
|
props: (V = (T = D.recipe) == null ? void 0 : T.getContext) == null ? void 0 : V.call(T)
|
|
608
608
|
}, null, 8, ["render", "props"])
|
|
609
609
|
]),
|
|
610
|
-
|
|
610
|
+
x("div", tt, [
|
|
611
611
|
y(g(ae), {
|
|
612
612
|
render: (Z = (Q = (z = D.ingredients) == null ? void 0 : z.column) == null ? void 0 : Q.columnDef) == null ? void 0 : Z.cell,
|
|
613
613
|
props: (ee = (K = D.ingredients) == null ? void 0 : K.getContext) == null ? void 0 : ee.call(K)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as ue, ref as O, computed as P, resolveComponent as U, openBlock as A, createBlock as z, withCtx as T, createElementVNode as e, normalizeClass as he, toDisplayString as v, createVNode as y, createElementBlock as L, Fragment as ne, renderList as ie, unref as s, h as ye, watch as xe, isRef as je, createCommentVNode as se, reactive as nt, mergeModels as qe, useModel as pt, onMounted as Le, createTextVNode as de, normalizeStyle as ot, Teleport as ft, normalizeProps as Te, mergeProps as He } from "vue";
|
|
2
|
-
import { u as ke,
|
|
3
|
-
import { u as Me, a as be } from "./stock-
|
|
4
|
-
import { g as Se } from "./decimal-
|
|
5
|
-
import { e as Lt, u as rt, i as it, _ as Ze } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as Ye, S as Re, g as ut, a as zt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as ke, a2 as fe, f as De, h as ze, i as vt, a as Be, F as Xe, a3 as yt, z as Ne, n as ve, Z as _t, t as Ae, a1 as Ve, A as kt, M as bt, a0 as _e, a4 as gt, a5 as te, a6 as ht, a7 as Je, a8 as st, a9 as Ge, r as xt, x as at, aa as St, ab as wt, ac as Ft, ad as Ee, $ as Z, ae as $t, Y as lt, af as Fe, ag as At, ah as Vt, v as Pe, w as Ct, q as jt, c as Dt, ai as Bt, aj as Mt, ak as It, al as Ut, am as Tt, b as Ht, N as Et, H as Pt, G as Rt, I as Ot, J as Nt, K as Yt, L as Qe } from "./app-BDiHcGqi.js";
|
|
3
|
+
import { u as Me, a as be } from "./stock-DnawcaKQ.js";
|
|
4
|
+
import { g as Se } from "./decimal-C-phHxE7.js";
|
|
5
|
+
import { e as Lt, u as rt, i as it, _ as Ze } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-CaKjg0eV.js";
|
|
6
|
+
import { _ as Ye, S as Re, g as ut, a as zt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bj05qEWl.js";
|
|
7
7
|
import { _ as Gt } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
8
8
|
import { useI18n as ce, useCoreStore as Ke } from "@feedmepos/mf-common";
|
|
9
9
|
import { useSnackbar as ge, useDialog as Ie, useProxiedModel as Ue, useBreakpoints as Kt } from "@feedmepos/ui-library";
|
|
10
10
|
import { defineStore as Wt } from "pinia";
|
|
11
|
-
import { u as qt } from "./use-inventory-binding-dialog-
|
|
12
|
-
import { _ as Xt } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { u as qt } from "./use-inventory-binding-dialog-CI_pMWSk.js";
|
|
12
|
+
import { _ as Xt } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Ovi_bWlF.js";
|
|
13
13
|
import { E as Jt } from "./empty-placeholder-wf6-BWE8.js";
|
|
14
14
|
var $e = /* @__PURE__ */ ((_) => (_.History = "History", _.Convert = "Convert", _.Adjust = "Adjust", _))($e || {});
|
|
15
15
|
const Qt = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as I, computed as x, openBlock as l, createElementBlock as d, createElementVNode as e, normalizeClass as b, toDisplayString as u, unref as p, ref as D, resolveComponent as B, Fragment as $, createVNode as k, createCommentVNode as N, withCtx as C, renderList as E } from "vue";
|
|
2
2
|
import { useI18n as F, useCoreStore as A } from "@feedmepos/mf-common";
|
|
3
|
-
import { b as U } from "./app-
|
|
3
|
+
import { b as U } from "./app-BDiHcGqi.js";
|
|
4
4
|
function ee(o, n = !1) {
|
|
5
5
|
var c;
|
|
6
6
|
return o ? [
|