@feedmepos/mf-inventory-portal 0.0.22-dev.32 → 0.0.22-dev.34
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-COJaxxIv.js → ApprovalView-2pX2IV1F.js} +9 -10
- package/dist/{BindingsDialog-BZ_Xi4WF.js → BindingsDialog-EyImpE9g.js} +1 -1
- package/dist/{BindingsPicker-CT7cW6T6.js → BindingsPicker-CbBNBcWW.js} +1 -1
- package/dist/{BindingsTable-D01Xf3rR.js → BindingsTable-CJeV7Dd2.js} +1 -1
- package/dist/{ClosingTemplateView-1KqjE0Fw.js → ClosingTemplateView-BDEooji1.js} +5 -5
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZtc5R4Z.js +266 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DnCOKma5.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-z-BBBTkh.js} +1 -1
- package/dist/{IngredientsView-N3D-1BPD.js → IngredientsView-BvKaI0nb.js} +3 -3
- package/dist/{IntegrationView-CSv7EbNg.js → IntegrationView-1lXCciJp.js} +120 -120
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D2IFaLGH.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bgd922-L.js} +1 -1
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Bexig132.js +116 -0
- package/dist/{PurchaseOrderPrintPreview-CIVEoeLg.js → PurchaseOrderPrintPreview-036mLqRD.js} +1 -1
- package/dist/ReceiveRequestView-BGlxEJkh.js +1626 -0
- package/dist/{RecipeView-B7EJV9Fd.js → RecipeView-BuiA-2uY.js} +3 -3
- package/dist/{StockView-BL2JzJoE.js → StockView-BKX6NX-g.js} +14 -15
- package/dist/{SupplierView-taLOqF4j.js → SupplierView-Ck5hH5gT.js} +3 -3
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DFDc3P3S.js +1139 -0
- package/dist/TransferTemplateView-ByYEje9E.js +1237 -0
- package/dist/{UnitView-DYeZDXzf.js → UnitView-DB2hQFMC.js} +4 -4
- package/dist/{WarehouseView-B9TG01jw.js → WarehouseView-CFJiuhpx.js} +2 -2
- package/dist/{app-pztf5tL8.js → app-Z9P39kGh.js} +31 -31
- package/dist/app.js +1 -1
- package/dist/{decimal-ICTuLpM4.js → decimal-DIe_fFDH.js} +1 -1
- package/dist/{defineDeepModel-Cep_eUEL.js → defineDeepModel-DH8vhBpR.js} +3 -3
- package/dist/format-time-from-id-CAjL4U2X.js +15 -0
- package/dist/purchase-order-transaction-type-BJDnbhdk.js +338 -0
- package/dist/{supplier-_yZrMtoz.js → supplier-wJJ7ATk2.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-j_9uepqV.js → use-template-enabled-locations-2-CeSeHnX0.js} +1 -1
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +5 -8
- package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
- package/dist/{xlsx-Cz8iRYr9.js → xlsx-DrDljHnF.js} +1 -1
- package/dist/{xlsx.util-Dz3iSFMT.js → xlsx.util-BwF0vRjF.js} +2 -2
- package/package.json +1 -1
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Cz_ykc82.js +0 -88
- package/dist/ReceiveRequestView-mkNXM5bz.js +0 -215
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DIERlQsA.js +0 -858
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-Cccb5NAv.js +0 -1678
- package/dist/TransferTemplateView-CukOHvNg.js +0 -1232
- package/dist/format-time-from-id-CLQWiF0h.js +0 -15
- package/dist/id-to-date-BwmfqnWe.js +0 -30
- package/dist/purchase-order-transaction-type-B2W6wDCt.js +0 -678
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as Y, ref as x, onMounted as ie, resolveComponent as F, openBlock as E, createElementBlock as A, Fragment as re, createElementVNode as w, toDisplayString as ce, createVNode as g, createCommentVNode as K, computed as k, 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, j as he } from "./app-
|
|
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, j as he } from "./app-Z9P39kGh.js";
|
|
3
3
|
import { useDialog as Ce, useSnackbar as se, useProxiedModel as ne, useBreakpoints as Ee } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as xe, _ as Se } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as C, D as oe, R as L } from "./row-action.enum-PMKMRrZR.js";
|
|
6
|
-
import { _ as le, t as Fe, d as ke } from "./xlsx.util-
|
|
6
|
+
import { _ as le, t as Fe, d as ke } from "./xlsx.util-BwF0vRjF.js";
|
|
7
7
|
import { defineStore as Ve, storeToRefs as De } from "pinia";
|
|
8
8
|
import { c as Ie, _ as $e, F as ae } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
9
9
|
import { useI18n as j } from "@feedmepos/mf-common";
|
|
10
|
-
import { u as Ae, _ as Pe, a as Be } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { u as Ae, _ as Pe, a as Be } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-z-BBBTkh.js";
|
|
11
11
|
const Te = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "flex flex-col items-center w-full h-full gap-24"
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { ref as H, defineComponent as re, computed as U, resolveComponent as M, openBlock as B, createBlock as O, withCtx as D, createElementVNode as n, normalizeClass as he, toDisplayString as x, createVNode as S, createElementBlock as L, Fragment as ne, renderList as ae, unref as v, h as ye, watch as ge, isRef as Pe, createCommentVNode as te, reactive as it, onMounted as Qe, normalizeStyle as Xe, createTextVNode as ve, Teleport as ut, normalizeProps as Be, mergeProps as Fe } from "vue";
|
|
2
|
-
import { i as ct, u as dt, _ as mt, a as pt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { o as Ze, j as ue, u as $e, p as vt, q as ft, c as Te, r as yt, k as ze, s as Me, a as ie, l as _t, t as be, n as je, A as kt, M as ht, m as fe, v as gt, w as ee, x as bt, y as Ye, R as xt, z as St, B as $t, D as et, E as W, G as wt, f as tt, H as Ie, J as Bt, d as Ke, b as Ft, K as At, L as Vt, C as Ae, N as Ct, O as Dt, P as Mt, Q as jt } from "./app-
|
|
2
|
+
import { i as ct, u as dt, _ as mt, a as pt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-z-BBBTkh.js";
|
|
3
|
+
import { o as Ze, j as ue, u as $e, p as vt, q as ft, c as Te, r as yt, k as ze, s as Me, a as ie, l as _t, t as be, n as je, A as kt, M as ht, m as fe, v as gt, w as ee, x as bt, y as Ye, R as xt, z as St, B as $t, D as et, E as W, G as wt, f as tt, H as Ie, J as Bt, d as Ke, b as Ft, K as At, L as Vt, C as Ae, N as Ct, O as Dt, P as Mt, Q as jt } from "./app-Z9P39kGh.js";
|
|
4
4
|
import { useCoreStore as nt, useI18n as le } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as de, useDialog as Re, useProxiedModel as He, useBreakpoints as It } from "@feedmepos/ui-library";
|
|
6
6
|
import { c as Ut, _ as Pt, F as Ge } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
7
|
-
import { g as xe } from "./decimal-
|
|
8
|
-
import { e as Tt,
|
|
9
|
-
import { _ as Ue, S as Ve, g as
|
|
7
|
+
import { g as xe } from "./decimal-DIe_fFDH.js";
|
|
8
|
+
import { e as Tt, u as ot, i as st, _ as qe } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-Bexig132.js";
|
|
9
|
+
import { _ as Ue, S as Ve, g as at } from "./StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js";
|
|
10
10
|
import { _ as Rt } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
11
|
-
import { u as at, _ as qe } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-Cz_ykc82.js";
|
|
12
11
|
import { defineStore as Ht } from "pinia";
|
|
13
|
-
import { _ as Et } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as Et } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bgd922-L.js";
|
|
14
13
|
import { E as Lt } from "./empty-placeholder-wf6-BWE8.js";
|
|
15
14
|
const we = Ze((d, u) => {
|
|
16
15
|
const r = ue(), s = nt(), k = de();
|
|
@@ -281,7 +280,7 @@ const Kt = { class: "fm-typo-en-body-md-400 flex-grow" }, rt = /* @__PURE__ */ r
|
|
|
281
280
|
}));
|
|
282
281
|
}
|
|
283
282
|
}), lt = Ht("stockActions", () => {
|
|
284
|
-
const d = H(!1), u = ue(), r = Ee(), s =
|
|
283
|
+
const d = H(!1), u = ue(), r = Ee(), s = ot(), k = de(), l = Re(), { t: a } = le();
|
|
285
284
|
async function i() {
|
|
286
285
|
if (u._currentLocation) {
|
|
287
286
|
d.value = !0;
|
|
@@ -601,7 +600,7 @@ const Qt = { class: "flex items-center" }, Xt = { class: "fm-typo-en-title-md-80
|
|
|
601
600
|
}
|
|
602
601
|
function N(t) {
|
|
603
602
|
const e = w.value.find((f) => f._id === t);
|
|
604
|
-
return e ?
|
|
603
|
+
return e ? at(e.unit, !0) : [];
|
|
605
604
|
}
|
|
606
605
|
function R(t, e) {
|
|
607
606
|
const f = N(t), m = f.find((_) => _.value === e) ?? f.find((_) => _.value === null);
|
|
@@ -837,7 +836,7 @@ const De = {
|
|
|
837
836
|
label: bt(c),
|
|
838
837
|
value: c
|
|
839
838
|
}))
|
|
840
|
-
), l = U(() =>
|
|
839
|
+
), l = U(() => at(r.modelValue.doc.unit, !0)), a = U({
|
|
841
840
|
get() {
|
|
842
841
|
return r.modelValue.type ?? ee.enum.PURCHASE;
|
|
843
842
|
},
|
|
@@ -1188,7 +1187,7 @@ const De = {
|
|
|
1188
1187
|
return ((F = (w = o.skus) == null ? void 0 : w.map) == null ? void 0 : F.call(w, (g) => ({
|
|
1189
1188
|
...g,
|
|
1190
1189
|
ref: o.ref,
|
|
1191
|
-
backdateFrom: o.effectiveAt != null ?
|
|
1190
|
+
backdateFrom: o.effectiveAt != null ? st(o._id) : null
|
|
1192
1191
|
}))) ?? [];
|
|
1193
1192
|
}
|
|
1194
1193
|
).flatMap((o) => {
|
|
@@ -1407,7 +1406,7 @@ const Un = { class: "flex items-center w-full fm-typo-en-title-md-800" }, Pn = {
|
|
|
1407
1406
|
function E(t, e) {
|
|
1408
1407
|
const f = t.reduce(
|
|
1409
1408
|
(m, _) => {
|
|
1410
|
-
const y = _.effectiveAt ??
|
|
1409
|
+
const y = _.effectiveAt ?? st(_._id);
|
|
1411
1410
|
if (!y)
|
|
1412
1411
|
return m;
|
|
1413
1412
|
const A = j(new Date(y), e);
|
|
@@ -1761,10 +1760,10 @@ const Un = { class: "flex items-center w-full fm-typo-en-title-md-800" }, Pn = {
|
|
|
1761
1760
|
}, 8, ["modelValue"]);
|
|
1762
1761
|
};
|
|
1763
1762
|
}
|
|
1764
|
-
}), Io = { class: "flex flex-col gap-8" }, Uo = { class: "flex flex-col" }, Po = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, To = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" },
|
|
1763
|
+
}), Io = { class: "flex flex-col gap-8" }, Uo = { class: "flex flex-col" }, Po = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, To = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Qo = /* @__PURE__ */ re({
|
|
1765
1764
|
__name: "StockView",
|
|
1766
1765
|
setup(d) {
|
|
1767
|
-
const { t: u } = le(), r = $e(), s = ue(), k = Ee(), l = lt(), a =
|
|
1766
|
+
const { t: u } = le(), r = $e(), s = ue(), k = Ee(), l = lt(), a = ot(), { columnDefs: i } = Wt();
|
|
1768
1767
|
Re(), s.watchLocation(c);
|
|
1769
1768
|
const b = H(!1), h = de();
|
|
1770
1769
|
async function c() {
|
|
@@ -1906,5 +1905,5 @@ const Un = { class: "flex items-center w-full fm-typo-en-title-md-800" }, Pn = {
|
|
|
1906
1905
|
}
|
|
1907
1906
|
});
|
|
1908
1907
|
export {
|
|
1909
|
-
|
|
1908
|
+
Qo as default
|
|
1910
1909
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as W, mergeModels as xe, computed as b, useModel as ke, resolveComponent as P, openBlock as D, createElementBlock as B, createElementVNode as r, createVNode as m, withCtx as N, toDisplayString as T, unref as l, Fragment as Ce, renderList as Ie, ref as L, createBlock as z, createCommentVNode as Z, isRef as ve, watch as Me, onMounted as $e, normalizeClass as Ae, normalizeStyle as De, Teleport as Fe } from "vue";
|
|
2
|
-
import { u as ge } from "./supplier-
|
|
2
|
+
import { u as ge } from "./supplier-wJJ7ATk2.js";
|
|
3
3
|
import { D as fe, R as J, F as A } from "./row-action.enum-PMKMRrZR.js";
|
|
4
4
|
import { c as Ue, _ as Re, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
5
|
-
import { c as ee, u as Ve,
|
|
5
|
+
import { c as ee, u as Ve, $ as Pe, d as ye, g as Ne, z as Ee, C as X, h as Te, R as U, b as _e, j as he } from "./app-Z9P39kGh.js";
|
|
6
6
|
import { useI18n as q, useCoreStore as Be } from "@feedmepos/mf-common";
|
|
7
7
|
import { useDialog as Se, useSnackbar as we, useProxiedModel as be, useBreakpoints as Le } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as ze, _ as qe, a as Ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as ze, _ as qe, a as Ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-z-BBBTkh.js";
|
|
9
9
|
import { _ as He } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
10
10
|
function Ke(R, C) {
|
|
11
11
|
const { t: h } = q();
|