@feedmepos/mf-inventory-portal 1.2.2 → 1.2.4-dev.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-CJcHE7SO.js → App-CdweYGJb.js} +1 -1
- package/dist/{ApprovalView-BdZJkIr1.js → ApprovalView-N5aTAawv.js} +8 -8
- package/dist/{BindingsDialog-MWca_bmU.js → BindingsDialog-CF43nBIL.js} +2 -2
- package/dist/{BindingsPicker-BoBmsimf.js → BindingsPicker-UXffTvIT.js} +1 -1
- package/dist/{BindingsTable-QBDWp4j9.js → BindingsTable-bGEdChlq.js} +1 -1
- package/dist/{ClosingDraftView-CyAhtevG.js → ClosingDraftView-CU6ncRGd.js} +93 -93
- package/dist/{ClosingTemplateView-B26aUQk_.js → ClosingTemplateView-B7hlv-ol.js} +17 -17
- package/dist/{DeliveryOrderPrintPreview-CxE7zXQu.js → DeliveryOrderPrintPreview-BHsASpvc.js} +7 -7
- package/dist/{FmAdminBadge-BodsgRyK.js → FmAdminBadge-phxApe08.js} +3 -3
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CsjT5AZ0.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CQi8T-o4.js} +11 -11
- package/dist/{FmMultiselectDialog-sRLyNp7M.js → FmMultiselectDialog-Cw7978N9.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-9s0vqpVr.js → FmUnitInput.vue_vue_type_script_setup_true_lang-m_DVEWZp.js} +24 -24
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DYxW0unH.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CK2uHzWs.js} +1 -1
- package/dist/{IngredientGroupView-Ctk4HYE6.js → IngredientGroupView-BLlM22XE.js} +31 -31
- package/dist/{IngredientsView-dtDwA_D5.js → IngredientsView-D-MLnQUs.js} +689 -671
- package/dist/{IntegrationView-CJK4FoWD.js → IntegrationView-DS8GfDcu.js} +299 -297
- package/dist/{InventoryBindingForm-f4FJY7WU.js → InventoryBindingForm-Cxl3010v.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BCRie802.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DVytESGu.js} +39 -39
- package/dist/{InventoryBindingSummary-C3xrP0g7.js → InventoryBindingSummary-BPLbgkdU.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CegSNvou.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6G0tvu8.js} +4 -4
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BldOmlfF.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DIgC7Vso.js} +1 -1
- package/dist/{PublishView-bOQCoZjJ.js → PublishView-C7M3-gQh.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-DpSX1kkc.js → PurchaseOrderPrintPreview-ZhFYuurj.js} +6 -6
- package/dist/{ReceiveRequestView-cyfbwDOt.js → ReceiveRequestView-BCdKPhsr.js} +110 -110
- package/dist/{RecipeView-N4FN3GYa.js → RecipeView-DUmXQOxV.js} +19 -19
- package/dist/{StockView-CBF3sxnP.js → StockView-BcxAyI7w.js} +135 -135
- package/dist/{SupplierView-NiBkcSkm.js → SupplierView-q04_80bh.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CetqKDir.js → TransferDetails.vue_vue_type_script_setup_true_lang-CBFgpKee.js} +6 -6
- package/dist/{TransferTemplateView-BvG3PQr1.js → TransferTemplateView-Cfcu-qeJ.js} +57 -57
- package/dist/{UnitView-DNk7uGXP.js → UnitView-BAPZkTQp.js} +27 -27
- package/dist/{WarehouseView-CcP_C-f5.js → WarehouseView-9AkOoqZV.js} +8 -8
- package/dist/{app-D7pUBlkb.js → app-Bcq0U90V.js} +9806 -9756
- package/dist/app.js +1 -1
- package/dist/composable/defineApi.d.ts +1 -1
- package/dist/{decimal-Dt_QQfvw.js → decimal-Dhnp84Mk.js} +1 -1
- package/dist/{format-unit-display-BcBpuzq_.js → format-unit-display-X0is3zJN.js} +57 -57
- package/dist/{index-CNxvakYX.js → index-Bb9d1Qcc.js} +1 -1
- package/dist/{index-Bao9EhFU.js → index-CnqZ1tak.js} +1 -1
- package/dist/{stock-BipLzZlr.js → stock-DcD5Tbqe.js} +1 -1
- package/dist/{supplier-Bi1zyqXc.js → supplier-njZB-A08.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-B_an8zOX.js → use-ingredient-select-dialog-CFxbHyQu.js} +1 -1
- package/dist/{use-inventory-binding-dialog-nf05eODU.js → use-inventory-binding-dialog-CtvdrDNH.js} +1 -1
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +157 -12
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as K, ref as E, onMounted as re, resolveComponent as $, openBlock as F, createElementBlock as B, Fragment as ie, createElementVNode as h, toDisplayString as ue, createVNode as g, createCommentVNode as
|
|
2
|
-
import { a as A, e as V, f as Q, S as ye, h as ge, D as te, i as Y, j as U, F as
|
|
1
|
+
import { defineComponent as K, ref as E, onMounted as re, resolveComponent as $, openBlock as F, createElementBlock as B, Fragment as ie, createElementVNode as h, toDisplayString as ue, createVNode as g, createCommentVNode as q, computed as k, watch as ce, createBlock as N, withCtx as P, unref as b, isRef as ee, normalizeClass as de, normalizeStyle as me, Teleport as pe, normalizeProps as fe, guardReactiveProps as ve } from "vue";
|
|
2
|
+
import { a as A, e as V, f as Q, S as ye, h as ge, D as te, i as Y, j as U, F as O, n as be, U as _e, A as we, c as Re, r as ne, s as he, w as xe, v as Se, u as Ve, C as Ce, _ as Ee, E as Fe, G as $e, J as oe } from "./app-Bcq0U90V.js";
|
|
3
3
|
import { useDialog as ke, useSnackbar as se, useProxiedModel as ae, useBreakpoints as Ie } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as De, _ as Ae } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
|
-
import { _ as le } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as le } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-CK2uHzWs.js";
|
|
6
6
|
import { defineStore as Be, storeToRefs as Pe } from "pinia";
|
|
7
|
-
import { useI18n as
|
|
8
|
-
import { _ as Te } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { useI18n as H } from "@feedmepos/mf-common";
|
|
8
|
+
import { _ as Te } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DVytESGu.js";
|
|
9
9
|
import { _ as Ue } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
10
10
|
const Me = {
|
|
11
11
|
key: 0,
|
|
@@ -46,7 +46,7 @@ const Me = {
|
|
|
46
46
|
name: "Menu",
|
|
47
47
|
bindings: f.value
|
|
48
48
|
}, null, 8, ["bindings"])
|
|
49
|
-
])) :
|
|
49
|
+
])) : q("", !0)
|
|
50
50
|
]))
|
|
51
51
|
], 64);
|
|
52
52
|
};
|
|
@@ -134,7 +134,7 @@ const Me = {
|
|
|
134
134
|
};
|
|
135
135
|
});
|
|
136
136
|
function Ge() {
|
|
137
|
-
const { updateRecipe: w, deleteRecipe: p } = J(), f = A(), { t: l } =
|
|
137
|
+
const { updateRecipe: w, deleteRecipe: p } = J(), f = A(), { t: l } = H();
|
|
138
138
|
async function r(d, u) {
|
|
139
139
|
const t = Q(u);
|
|
140
140
|
if (d === Y.Edit) {
|
|
@@ -147,9 +147,9 @@ function Ge() {
|
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
function c(d, u) {
|
|
150
|
-
const t = d.filter((o) => o.type ===
|
|
151
|
-
(o) => o.type ===
|
|
152
|
-
), m = d.filter((o) => o.type ===
|
|
150
|
+
const t = d.filter((o) => o.type === O.enum.SKU), n = d.filter(
|
|
151
|
+
(o) => o.type === O.enum.SKU_GROUP
|
|
152
|
+
), m = d.filter((o) => o.type === O.enum.RECIPE);
|
|
153
153
|
return [
|
|
154
154
|
...t.map((o) => ({ ...o, recipeIds: [...u] })),
|
|
155
155
|
...n.map((o) => ({ ...o, isGroup: !0, recipeIds: [...u] })),
|
|
@@ -212,7 +212,7 @@ const je = { class: "flex flex-col gap-40" }, Ye = {
|
|
|
212
212
|
}, Ke = {
|
|
213
213
|
key: 0,
|
|
214
214
|
class: "flex flex-col items-center w-full h-full gap-24"
|
|
215
|
-
},
|
|
215
|
+
}, He = { key: 1 }, Oe = { class: "mt-32" }, qe = /* @__PURE__ */ K({
|
|
216
216
|
__name: "RecipeForm",
|
|
217
217
|
props: {
|
|
218
218
|
mode: {},
|
|
@@ -222,7 +222,7 @@ const je = { class: "flex flex-col gap-40" }, Ye = {
|
|
|
222
222
|
emits: ["update:modelValue", "click:submit"],
|
|
223
223
|
setup(w, { expose: p, emit: f }) {
|
|
224
224
|
var R;
|
|
225
|
-
const l = w, r = f, c = Re(), { t: i } =
|
|
225
|
+
const l = w, r = f, c = Re(), { t: i } = H(), v = k({
|
|
226
226
|
get() {
|
|
227
227
|
var e;
|
|
228
228
|
return ((e = l.modelValue) == null ? void 0 : e.name) ?? "";
|
|
@@ -336,14 +336,14 @@ const je = { class: "flex flex-col gap-40" }, Ye = {
|
|
|
336
336
|
]),
|
|
337
337
|
s[4] || (s[4] = h("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading...", -1)),
|
|
338
338
|
g(M)
|
|
339
|
-
])) : _.value && o.value.length ? (F(), B("div",
|
|
339
|
+
])) : _.value && o.value.length ? (F(), B("div", He, [
|
|
340
340
|
g(le, {
|
|
341
341
|
name: "Menu",
|
|
342
342
|
bindings: o.value
|
|
343
343
|
}, null, 8, ["bindings"])
|
|
344
|
-
])) :
|
|
345
|
-
])) :
|
|
346
|
-
h("div",
|
|
344
|
+
])) : q("", !0)
|
|
345
|
+
])) : q("", !0),
|
|
346
|
+
h("div", Oe, [
|
|
347
347
|
g(Ue, {
|
|
348
348
|
entity: "inventoryRecipe",
|
|
349
349
|
modelValue: u.value,
|
|
@@ -364,7 +364,7 @@ const je = { class: "flex flex-col gap-40" }, Ye = {
|
|
|
364
364
|
},
|
|
365
365
|
emits: ["update:show"],
|
|
366
366
|
setup(w) {
|
|
367
|
-
const p = w, f = A(), l = se(), { t: r } =
|
|
367
|
+
const p = w, f = A(), l = se(), { t: r } = H(), c = ae(p, "show"), i = ae(p, "recipe"), v = k(() => {
|
|
368
368
|
switch (p.mode) {
|
|
369
369
|
case V.READ:
|
|
370
370
|
return "";
|
|
@@ -462,7 +462,7 @@ const je = { class: "flex flex-col gap-40" }, Ye = {
|
|
|
462
462
|
])
|
|
463
463
|
]),
|
|
464
464
|
default: P(() => [
|
|
465
|
-
g(
|
|
465
|
+
g(qe, {
|
|
466
466
|
class: "w-full",
|
|
467
467
|
ref_key: "hasValidationExpose",
|
|
468
468
|
ref: u,
|
|
@@ -536,7 +536,7 @@ const Ze = { class: "flex flex-col py-8" }, et = { class: "fm-typo-en-body-lg-60
|
|
|
536
536
|
if (R === "export")
|
|
537
537
|
return Xe();
|
|
538
538
|
}
|
|
539
|
-
const m = E(""), o = k(() => v.value), { breakpoints: _ } = Ie(), a = k(() => _.value.xs || _.value.sm), y = k(() => a.value ? 10 : 20), C = Ce(), { t: x } =
|
|
539
|
+
const m = E(""), o = k(() => v.value), { breakpoints: _ } = Ie(), a = k(() => _.value.xs || _.value.sm), y = k(() => a.value ? 10 : 20), C = Ce(), { t: x } = H();
|
|
540
540
|
return (R, e) => {
|
|
541
541
|
const s = $("FmTable");
|
|
542
542
|
return F(), N(Ee, {
|