@feedmepos/mf-inventory-portal 0.0.22-dev.46 → 0.0.22-dev.47
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/{ApprovalView-CjK-fcvU.js → ApprovalView-DvaKP7j9.js} +3 -3
- package/dist/{BindingsDialog-DWRDuKnY.js → BindingsDialog-DuJMVo61.js} +1 -1
- package/dist/{BindingsPicker-DtgCTWo5.js → BindingsPicker-BoYwB6U_.js} +8 -8
- package/dist/{BindingsTable-QevLem81.js → BindingsTable-CWpUfeKm.js} +1 -1
- package/dist/{ClosingTemplateView-Cdbp7nYn.js → ClosingTemplateView-Cn96MJVP.js} +26 -26
- package/dist/{FmDroppableField-DHF0MZls.js → FmDroppableField-Dlrwk4gA.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CPhXgsQD.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CCGydCsm.js} +3 -3
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bl-BsJNP.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DVMieqhn.js} +1 -1
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B7dq1XS-.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTK65n8v.js} +7 -7
- package/dist/IngredientGroupView-VNG5Q8ou.js +608 -0
- package/dist/{IngredientsView-9xhWEl17.js → IngredientsView-C_rbIOCU.js} +5 -5
- package/dist/{IntegrationView-D7916Kg2.js → IntegrationView-OKyiv2vc.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ZBxeayIl.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-bEu-8q1N.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dp_JLw2L.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CDM7DSyn.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-U-M3r5H9.js → PurchaseOrderPrintPreview-BSyXdhQo.js} +1 -1
- package/dist/{ReceiveRequestView-BzChY8ca.js → ReceiveRequestView-C4t8Kkn6.js} +288 -288
- package/dist/{RecipeView-GrwiLQkW.js → RecipeView-BnmwgxnO.js} +22 -22
- package/dist/{StockView-CMvG-CIC.js → StockView-wKpLuCbC.js} +5 -5
- package/dist/{SupplierView-BmqzK7D6.js → SupplierView-CZ23V9tf.js} +418 -415
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CE1aYr3I.js → TransferDetails.vue_vue_type_script_setup_true_lang-Cxm7P4nU.js} +51 -51
- package/dist/{TransferTemplateView-CBPSaIJs.js → TransferTemplateView-DAqSN1NH.js} +8 -8
- package/dist/{UnitView-4JKlaXtj.js → UnitView-UhJoXWMf.js} +4 -4
- package/dist/{WarehouseView-B5qLIIAQ.js → WarehouseView-C-DGIBdE.js} +2 -2
- package/dist/{app-B0BJjpJ5.js → app-pFcheyXr.js} +19173 -19122
- package/dist/app.d.ts +3 -0
- package/dist/app.js +1 -1
- package/dist/components/FmMultiselectDialogProps.d.ts +0 -2
- package/dist/{decimal-CDTaG5jr.js → decimal-CY3TbMUy.js} +1 -1
- package/dist/{defineDeepModel-9-wLB59o.js → defineDeepModel-CWIF7Cxg.js} +1 -1
- package/dist/extensions/array.d.ts +1 -1
- package/dist/{format-time-from-id-Bwq0tn09.js → format-time-from-id-CSntAOsD.js} +1 -1
- package/dist/{format-unit-display-BImgcRNp.js → format-unit-display-BHIBhwk3.js} +49 -49
- package/dist/router/name.d.ts +1 -0
- package/dist/stores/inventory.d.ts +71 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-D9s1N_M7.js → supplier-142vtn2Q.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-BQSfU_U_.js → use-template-enabled-locations-2-DUR98xi2.js} +1 -1
- package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +215 -0
- package/dist/views/supplier/helpers/import-export.helper.d.ts +1 -1
- package/dist/{xlsx-A9JiF_qH.js → xlsx-ChOXd9sY.js} +1 -1
- package/dist/{xlsx.util-J1g7CG7t.js → xlsx.util-BYVL7Paj.js} +1 -1
- package/package.json +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as Y, ref as E, onMounted as re, resolveComponent as F, openBlock as C, createElementBlock as A, Fragment as ie, createElementVNode as w, toDisplayString as ce, createVNode as g, createCommentVNode as
|
|
2
|
-
import { u as I, c as G, S as ye, a as z,
|
|
1
|
+
import { defineComponent as Y, ref as E, onMounted as re, resolveComponent as F, openBlock as C, createElementBlock as A, Fragment as ie, createElementVNode as w, toDisplayString as ce, createVNode as g, createCommentVNode as j, computed as V, watch as ue, createBlock as T, withCtx as P, unref as y, isRef as Z, normalizeClass as de, normalizeStyle as me, Teleport as pe, normalizeProps as fe, guardReactiveProps as ve } from "vue";
|
|
2
|
+
import { u as I, c as G, S as ye, a as z, k as ee, R as ge, U as be, _ as _e, A as we, e as te, f as Re, i as he } from "./app-pFcheyXr.js";
|
|
3
3
|
import { useDialog as xe, useSnackbar as se, useProxiedModel as ne, useBreakpoints as Ce } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Ee, _ as Se } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as x, D as oe, R as L } from "./row-action.enum-PMKMRrZR.js";
|
|
6
|
-
import { _ as le } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as le } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTK65n8v.js";
|
|
7
7
|
import { defineStore as Fe, storeToRefs as Ve } from "pinia";
|
|
8
8
|
import { c as ke, _ as De, F as ae } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
9
|
-
import { useI18n as
|
|
10
|
-
import { u as Ie, _ as $e, a as Ae } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { t as Pe, d as Be } from "./xlsx.util-
|
|
9
|
+
import { useI18n as H } from "@feedmepos/mf-common";
|
|
10
|
+
import { u as Ie, _ as $e, a as Ae } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DVMieqhn.js";
|
|
11
|
+
import { t as Pe, d as Be } from "./xlsx.util-BYVL7Paj.js";
|
|
12
12
|
const Te = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "flex flex-col items-center w-full h-full gap-24"
|
|
@@ -48,7 +48,7 @@ const Te = {
|
|
|
48
48
|
name: "Menu",
|
|
49
49
|
bindings: v.value
|
|
50
50
|
}, null, 8, ["bindings"])
|
|
51
|
-
])) :
|
|
51
|
+
])) : j("", !0)
|
|
52
52
|
]))
|
|
53
53
|
], 64);
|
|
54
54
|
};
|
|
@@ -136,7 +136,7 @@ const Te = {
|
|
|
136
136
|
};
|
|
137
137
|
});
|
|
138
138
|
function Le() {
|
|
139
|
-
const { updateRecipe: R, deleteRecipe: p } = q(), v = I(), { t: r } =
|
|
139
|
+
const { updateRecipe: R, deleteRecipe: p } = q(), v = I(), { t: r } = H();
|
|
140
140
|
async function l(d, u) {
|
|
141
141
|
const t = G(u);
|
|
142
142
|
if (d === L.Edit) {
|
|
@@ -204,10 +204,10 @@ function Le() {
|
|
|
204
204
|
const ze = { class: "flex flex-col gap-40" }, Ye = {
|
|
205
205
|
key: 0,
|
|
206
206
|
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"
|
|
207
|
-
},
|
|
207
|
+
}, He = {
|
|
208
208
|
key: 0,
|
|
209
209
|
class: "flex flex-col items-center w-full h-full gap-24"
|
|
210
|
-
},
|
|
210
|
+
}, Ke = { key: 1 }, je = /* @__PURE__ */ Y({
|
|
211
211
|
__name: "RecipeForm",
|
|
212
212
|
props: {
|
|
213
213
|
mode: {},
|
|
@@ -217,7 +217,7 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
|
|
|
217
217
|
emits: ["update:modelValue", "click:submit"],
|
|
218
218
|
setup(R, { expose: p, emit: v }) {
|
|
219
219
|
var h;
|
|
220
|
-
const r = R, l = v, { t: c } =
|
|
220
|
+
const r = R, l = v, { t: c } = H(), i = V({
|
|
221
221
|
get() {
|
|
222
222
|
var n;
|
|
223
223
|
return ((n = r.modelValue) == null ? void 0 : n.name) ?? "";
|
|
@@ -266,7 +266,7 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
|
|
|
266
266
|
() => t.recipes.map((n) => ({ label: n.name, value: n.name }))
|
|
267
267
|
), m = E((h = r.modelValue) == null ? void 0 : h.name);
|
|
268
268
|
return (n, o) => {
|
|
269
|
-
const k = F("FmTextField"),
|
|
269
|
+
const k = F("FmTextField"), K = F("FmCard"), $ = F("FmSwitch"), D = F("FmSpacer"), M = F("FmCircularProgress"), U = F("FmForm");
|
|
270
270
|
return C(), T(U, {
|
|
271
271
|
ref_key: "formRef",
|
|
272
272
|
ref: u,
|
|
@@ -285,7 +285,7 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
|
|
|
285
285
|
],
|
|
286
286
|
"label-mark": "required"
|
|
287
287
|
}, null, 8, ["disabled", "label", "model-value", "rules"]),
|
|
288
|
-
g(
|
|
288
|
+
g(K, {
|
|
289
289
|
variant: "outlined",
|
|
290
290
|
class: "p-16"
|
|
291
291
|
}, {
|
|
@@ -314,21 +314,21 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
|
|
|
314
314
|
disabled: b.value
|
|
315
315
|
}, null, 8, ["modelValue", "disabled"])
|
|
316
316
|
]),
|
|
317
|
-
b.value ? (C(), A("div",
|
|
317
|
+
b.value ? (C(), A("div", He, [
|
|
318
318
|
g(D),
|
|
319
319
|
w("div", null, [
|
|
320
320
|
g(M, { size: "xl" })
|
|
321
321
|
]),
|
|
322
322
|
o[3] || (o[3] = w("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading...", -1)),
|
|
323
323
|
g(D)
|
|
324
|
-
])) : (C(), A("div",
|
|
324
|
+
])) : (C(), A("div", Ke, [
|
|
325
325
|
e.value && a.value.length ? (C(), T(le, {
|
|
326
326
|
key: 0,
|
|
327
327
|
name: "Menu",
|
|
328
328
|
bindings: a.value
|
|
329
|
-
}, null, 8, ["bindings"])) :
|
|
329
|
+
}, null, 8, ["bindings"])) : j("", !0)
|
|
330
330
|
]))
|
|
331
|
-
])) :
|
|
331
|
+
])) : j("", !0)
|
|
332
332
|
]),
|
|
333
333
|
_: 1
|
|
334
334
|
}, 512);
|
|
@@ -343,7 +343,7 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
|
|
|
343
343
|
},
|
|
344
344
|
emits: ["update:show"],
|
|
345
345
|
setup(R) {
|
|
346
|
-
const p = R, v = I(), r = se(), { t: l } =
|
|
346
|
+
const p = R, v = I(), r = se(), { t: l } = H(), c = ne(p, "show"), i = ne(p, "recipe"), f = V(() => {
|
|
347
347
|
switch (p.mode) {
|
|
348
348
|
case x.READ:
|
|
349
349
|
return "";
|
|
@@ -441,7 +441,7 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
|
|
|
441
441
|
])
|
|
442
442
|
]),
|
|
443
443
|
default: P(() => [
|
|
444
|
-
g(
|
|
444
|
+
g(je, {
|
|
445
445
|
class: "w-full",
|
|
446
446
|
ref_key: "hasValidationExpose",
|
|
447
447
|
ref: u,
|
|
@@ -509,9 +509,9 @@ const Je = { class: "flex flex-col py-8" }, Qe = { class: "fm-typo-en-body-lg-60
|
|
|
509
509
|
if (o === "export")
|
|
510
510
|
return Oe();
|
|
511
511
|
}
|
|
512
|
-
const e = E(""), b = V(() => f.value), { breakpoints: _ } = Ce(), s = V(() => _.value.xs || _.value.sm), m = V(() => s.value ? 10 : 20), h = Ie(), { t: n } =
|
|
512
|
+
const e = E(""), b = V(() => f.value), { breakpoints: _ } = Ce(), s = V(() => _.value.xs || _.value.sm), m = V(() => s.value ? 10 : 20), h = Ie(), { t: n } = H();
|
|
513
513
|
return (o, k) => {
|
|
514
|
-
const
|
|
514
|
+
const K = F("FmTable");
|
|
515
515
|
return C(), T($e, {
|
|
516
516
|
title: y(n)("inventory.recipe.title"),
|
|
517
517
|
actions: [
|
|
@@ -540,7 +540,7 @@ const Je = { class: "flex flex-col py-8" }, Qe = { class: "fm-typo-en-body-lg-60
|
|
|
540
540
|
search: e.value,
|
|
541
541
|
"onUpdate:search": k[0] || (k[0] = ($) => e.value = $)
|
|
542
542
|
}, null, 8, ["search"]),
|
|
543
|
-
(C(), T(
|
|
543
|
+
(C(), T(K, {
|
|
544
544
|
style: me(y(h).tableHeight),
|
|
545
545
|
"column-defs": y(d),
|
|
546
546
|
"row-data": t.value,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ref as Q, defineComponent as mn, computed as w, resolveComponent as U, openBlock as B, createBlock as ne, withCtx as j, createElementVNode as z, normalizeClass as bo, toDisplayString as P, createVNode as C, createElementBlock as ee, Fragment as Ue, renderList as an, unref as y, h as ro, watch as Eo, isRef as Ri, createCommentVNode as Ce, reactive as Ca, onMounted as br, normalizeStyle as Er, createTextVNode as ft, Teleport as Aa, normalizeProps as ni, mergeProps as ti } from "vue";
|
|
2
|
-
import { i as Ma, u as Ba, _ as Da, a as pa } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import {
|
|
2
|
+
import { i as Ma, u as Ba, _ as Da, a as pa } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DVMieqhn.js";
|
|
3
|
+
import { o as yr, i as Bn, u as ho, p as Na, q as ja, c as hi, r as Ua, k as Xi, s as Fi, a as vn, l as ka, t as yo, n as gi, A as La, M as Ga, m as Rt, v as Ya, w as Pe, x as Va, y as Qi, R as Ha, j as wa, z as $a, B as fr, D as ge, E as Ka, f as Rr, G as bi, H as r, J as b, K as hr, L as ao, N as qa, d as Ji, b as Wa, O as Za, P as Xa, C as oi, Q as Qa, T as Ja, V as xa } from "./app-pFcheyXr.js";
|
|
4
4
|
import { useCoreStore as Tr, useI18n as zn } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as Jn, useDialog as Sr, useProxiedModel as Ti, useBreakpoints as ed } from "@feedmepos/ui-library";
|
|
6
6
|
import { c as nd, _ as td, F as xi } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
7
|
-
import { g as fo } from "./decimal-
|
|
8
|
-
import { e as od, u as vr, i as Or, _ as er } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { g as fo } from "./decimal-CY3TbMUy.js";
|
|
8
|
+
import { e as od, u as vr, i as Or, _ as er } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-CDM7DSyn.js";
|
|
9
9
|
import { _ as Ei, S as ii, g as Ir } from "./StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js";
|
|
10
10
|
import { _ as id } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
11
11
|
import { defineStore as rd } from "pinia";
|
|
12
|
-
import { _ as ad } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as ad } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-bEu-8q1N.js";
|
|
13
13
|
import { E as dd } from "./empty-placeholder-wf6-BWE8.js";
|
|
14
14
|
const To = yr((n, t) => {
|
|
15
15
|
const e = Bn(), o = Tr(), i = Jn();
|