@feedmepos/mf-inventory-portal 1.2.22-dev.1 → 1.2.22-dev.2
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-DtwLZ9Ng.js} +1 -1
- package/dist/{ApprovalView-B99YGXOt.js → ApprovalView-DTiPzA1y.js} +9 -9
- package/dist/{BindingsDialog-DGFYmVX9.js → BindingsDialog--1wB_TX2.js} +2 -2
- package/dist/{BindingsPicker-CVWxRkDE.js → BindingsPicker-JjZfjlvz.js} +9 -9
- package/dist/{BindingsTable-Cxs_cQrM.js → BindingsTable-M2CGWdTD.js} +1 -1
- package/dist/{ClosingDraftView-gBO5Icdy.js → ClosingDraftView-B800NjEZ.js} +101 -101
- package/dist/ClosingTemplateView-B1TVIzzy.js +2001 -0
- package/dist/{DeliveryOrderPrintPreview-D-H7S-4t.js → DeliveryOrderPrintPreview-CUXfCixj.js} +8 -8
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BsPMd4IE.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bdw3Q4Dz.js} +33 -33
- package/dist/{FmMultiselectDialog-DXVvibUU.js → FmMultiselectDialog-CyYcvvyg.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Dq8lMkNV.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D-FDSjxY.js} +49 -49
- package/dist/{ImportView-DUPfQshy.js → ImportView-BR7JpsG8.js} +27 -27
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DxLVS1Ar.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bae5DUA9.js} +8 -8
- package/dist/{IngredientGroupView-CqPl6RZI.js → IngredientGroupView-c6XH5Fzg.js} +17 -17
- package/dist/{IngredientsView--7ro7P7J.js → IngredientsView-D4JiQ6Bp.js} +72 -73
- package/dist/{IntegrationView-BZnq8gYp.js → IntegrationView-BdOTe6FG.js} +3 -3
- package/dist/{InventoryBindingForm-DASUGZuO.js → InventoryBindingForm-kqrZutMr.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-l_EgNW0u.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DZ-Mr8-U.js} +12 -12
- package/dist/{InventoryBindingSummary-BoUAsK9S.js → InventoryBindingSummary-D4p9cOiy.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DimqJCjO.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bj_2aQiY.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C_wNgXUC.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CX9H2gLU.js} +7 -7
- package/dist/{PublishView-B-Zal--Y.js → PublishView-DcQQtuF8.js} +10 -10
- package/dist/{PurchaseOrderPrintPreview-CoXu4VO-.js → PurchaseOrderPrintPreview-Ueo4Yftu.js} +13 -13
- package/dist/{ReceiveRequestView-B7rprDy7.js → ReceiveRequestView-Cikz66hY.js} +115 -115
- package/dist/{RecipeView-BbMlUt0v.js → RecipeView-DL1kKy2w.js} +50 -50
- package/dist/{StockView-Bko2-Rzd.js → StockView-DzaCcxc5.js} +7 -7
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DONtcweN.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DP5AFZM2.js} +1 -1
- package/dist/{SupplierView-D4hAT4CW.js → SupplierView-CJuI_jPc.js} +93 -93
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BoZEbHkN.js +3233 -0
- package/dist/{TransferTemplateView-BLWYhdZG.js → TransferTemplateView-DiGdnr0-.js} +140 -140
- package/dist/{UnitView-Boi_sRGP.js → UnitView-CA2isH5r.js} +44 -44
- package/dist/{WarehouseView-B1aAyncU.js → WarehouseView-BMUJN1D1.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-DdrL4md8.js} +8229 -7971
- package/dist/app.js +4 -4
- package/dist/{decimal-Cf4voIJl.js → decimal-DJjE7Vf3.js} +1 -1
- package/dist/{format-unit-display-CjsVuoHS.js → format-unit-display-CK-PNM0G.js} +33 -33
- package/dist/{import-export.helper-DmouV6nF.js → import-export.helper-CJeCekEB.js} +6 -6
- package/dist/{index-DK93lkR_.js → index-Crgf6sCC.js} +1 -1
- package/dist/{index-D2C87f4k.js → index-D4F6boO1.js} +1 -1
- package/dist/{purchase-order-template-CQcIyT35.js → purchase-order-template-BOLP3UzN.js} +1 -1
- package/dist/{stock-CRKwCBhd.js → stock-DqL6z9wL.js} +1 -1
- package/dist/{supplier-BGeDlnSm.js → supplier-CW3GGX9U.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Dg3hbUaX.js → use-ingredient-select-dialog-CrCo-DHA.js} +1 -1
- package/dist/{use-inventory-binding-dialog-DRCiAYUs.js → use-inventory-binding-dialog-RdX9Q4q9.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/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +8 -4
- package/package.json +4 -4
- 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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aQ as u, aR as _, aa as h, u as F } from "./app-DdrL4md8.js";
|
|
2
2
|
import { useCoreStore as y } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as v, defineComponent as k, resolveComponent as l, openBlock as g, createElementBlock as S, renderSlot as x, createVNode as m, withCtx as O } from "vue";
|
|
4
4
|
function w(e, t) {
|
|
@@ -8,7 +8,7 @@ function I(e, t) {
|
|
|
8
8
|
const r = t.map((o) => o.name), n = e.map((o) => w(o, t));
|
|
9
9
|
return u.aoa_to_sheet([r, ...n]);
|
|
10
10
|
}
|
|
11
|
-
async function
|
|
11
|
+
async function C(e, t) {
|
|
12
12
|
const r = u.book_new();
|
|
13
13
|
for (const n of e) {
|
|
14
14
|
const o = I(
|
|
@@ -52,7 +52,7 @@ function $() {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
const c = v($());
|
|
55
|
-
function
|
|
55
|
+
function D() {
|
|
56
56
|
return {
|
|
57
57
|
// state
|
|
58
58
|
get inventoryForecast() {
|
|
@@ -78,7 +78,7 @@ function C() {
|
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function N(e) {
|
|
82
82
|
let t = e.substring(e.indexOf("_") + 1);
|
|
83
83
|
return t.includes("_") && (t = t.substring(0, t.lastIndexOf("_"))), Number.isNaN(Date.parse(t)) ? null : new Date(t).toISOString();
|
|
84
84
|
}
|
|
@@ -109,7 +109,7 @@ const b = { class: "flex items-center gap-8" }, B = "Experience enhanced invento
|
|
|
109
109
|
});
|
|
110
110
|
export {
|
|
111
111
|
L as _,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
C as e,
|
|
113
|
+
N as i,
|
|
114
|
+
D as u
|
|
115
115
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Q, ref as D, computed as c, watch as X, resolveComponent as l, openBlock as W, createBlock as z, unref as h, createSlots as Z, withCtx as u, createElementVNode as f, normalizeClass as ee, createVNode as a, normalizeStyle as te, Teleport as oe, h as g } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aL as ne, u as ae, a as se, b7 as le, G as ie, I as re, ab as B } from "./app-DdrL4md8.js";
|
|
3
3
|
import { useBreakpoints as ce, useDialog as ue, useSnackbar as me, components as H } from "@feedmepos/ui-library";
|
|
4
4
|
const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ye = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
|
|
5
5
|
__name: "PublishView",
|
|
@@ -14,7 +14,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
14
14
|
{ immediate: !0 }
|
|
15
15
|
// Optional: triggers the watcher immediately on mount
|
|
16
16
|
);
|
|
17
|
-
const
|
|
17
|
+
const U = c(() => [
|
|
18
18
|
{
|
|
19
19
|
label: t("inventory.common.refresh"),
|
|
20
20
|
value: "refresh",
|
|
@@ -22,7 +22,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
22
22
|
},
|
|
23
23
|
{ label: t("inventory.publish.actions.publishAll"), value: "publish", isPrimary: !0 }
|
|
24
24
|
]);
|
|
25
|
-
async function
|
|
25
|
+
async function q(e) {
|
|
26
26
|
switch (e) {
|
|
27
27
|
case "publish":
|
|
28
28
|
I.open({
|
|
@@ -39,7 +39,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
39
39
|
break;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
const w = D(!1),
|
|
42
|
+
const w = D(!1), E = [
|
|
43
43
|
{
|
|
44
44
|
value: "publish",
|
|
45
45
|
label: t("inventory.publish.actions.publishAll")
|
|
@@ -145,8 +145,8 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
145
145
|
const s = l("FmChip"), p = l("FlexRender"), d = l("TableActionableRow"), j = l("FmTable"), J = l("FmCollapsibleTabs"), O = l("FmBottomSheet");
|
|
146
146
|
return W(), z(re, {
|
|
147
147
|
title: h(t)("inventory.publish.title"),
|
|
148
|
-
actions:
|
|
149
|
-
"onClick:action":
|
|
148
|
+
actions: U.value,
|
|
149
|
+
"onClick:action": q
|
|
150
150
|
}, Z({
|
|
151
151
|
default: u(() => [
|
|
152
152
|
f("div", {
|
|
@@ -169,18 +169,18 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
169
169
|
"list-row": u((r) => [
|
|
170
170
|
a(d, { row: r }, {
|
|
171
171
|
default: u((y) => {
|
|
172
|
-
var C, F, k, b,
|
|
172
|
+
var C, F, k, b, L, M, P, T, v, V;
|
|
173
173
|
return [
|
|
174
174
|
f("div", pe, [
|
|
175
175
|
f("div", de, [
|
|
176
176
|
a(p, {
|
|
177
177
|
render: (k = (F = (C = y.code) == null ? void 0 : C.column) == null ? void 0 : F.columnDef) == null ? void 0 : k.cell,
|
|
178
|
-
props: (
|
|
178
|
+
props: (L = (b = y.code) == null ? void 0 : b.getContext) == null ? void 0 : L.call(b)
|
|
179
179
|
}, null, 8, ["render", "props"])
|
|
180
180
|
]),
|
|
181
181
|
f("div", ye, [
|
|
182
182
|
a(p, {
|
|
183
|
-
render: (T = (P = (
|
|
183
|
+
render: (T = (P = (M = y.name) == null ? void 0 : M.column) == null ? void 0 : P.columnDef) == null ? void 0 : T.cell,
|
|
184
184
|
props: (V = (v = y.name) == null ? void 0 : v.getContext) == null ? void 0 : V.call(v)
|
|
185
185
|
}, null, 8, ["render", "props"])
|
|
186
186
|
])
|
|
@@ -202,7 +202,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
202
202
|
default: u(() => [
|
|
203
203
|
a(J, {
|
|
204
204
|
class: "pb-8",
|
|
205
|
-
items:
|
|
205
|
+
items: E,
|
|
206
206
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => G(r))
|
|
207
207
|
})
|
|
208
208
|
]),
|
package/dist/{PurchaseOrderPrintPreview-CoXu4VO-.js → PurchaseOrderPrintPreview-Ueo4Yftu.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as b, computed as m, ref as x, onMounted as f, openBlock as u, createElementBlock as n, createElementVNode as t, toDisplayString as e, normalizeStyle as g, createTextVNode as i, Fragment as o, createCommentVNode as p, renderList as v } from "vue";
|
|
2
2
|
import { useRoute as w } from "vue-router";
|
|
3
|
-
import {
|
|
4
|
-
const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "title" }, N = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = { class: "sub-header" }, F = { class: "address" }, q = { class: "purchase-body" },
|
|
3
|
+
import { aK as y, aw as k } from "./app-DdrL4md8.js";
|
|
4
|
+
const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "title" }, N = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = { class: "sub-header" }, F = { class: "address" }, q = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, B = { class: "text-right" }, H = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, M = { valign: "bottom" }, z = { class: "header" }, J = { class: "caption" }, K = {
|
|
5
5
|
class: "text-left",
|
|
6
6
|
style: { width: "20%" }
|
|
7
|
-
},
|
|
7
|
+
}, Q = { class: "text-left" }, j = {
|
|
8
8
|
class: "text-right",
|
|
9
9
|
style: { width: "15%" }
|
|
10
|
-
},
|
|
10
|
+
}, G = {
|
|
11
11
|
class: "text-right",
|
|
12
12
|
style: { width: "15%" }
|
|
13
13
|
}, W = /* @__PURE__ */ b({
|
|
@@ -104,11 +104,11 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
|
|
|
104
104
|
], -1)),
|
|
105
105
|
t("tbody", null, [
|
|
106
106
|
(u(!0), n(o, null, v(s.value.items, (r, a) => (u(), n("tr", { key: a }, [
|
|
107
|
-
t("td",
|
|
108
|
-
t("td",
|
|
109
|
-
t("td",
|
|
110
|
-
t("td",
|
|
111
|
-
t("td",
|
|
107
|
+
t("td", L, e(r.code), 1),
|
|
108
|
+
t("td", U, e(r.description), 1),
|
|
109
|
+
t("td", V, e(r.quantity), 1),
|
|
110
|
+
t("td", B, e(r.unit), 1),
|
|
111
|
+
t("td", H, e(r.cost ? r.cost : "N/A"), 1)
|
|
112
112
|
]))), 128))
|
|
113
113
|
])
|
|
114
114
|
])
|
|
@@ -135,10 +135,10 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
|
|
|
135
135
|
t("table", null, [
|
|
136
136
|
t("tbody", null, [
|
|
137
137
|
(u(!0), n(o, null, v(r.items, (d, h) => (u(), n("tr", { key: h }, [
|
|
138
|
-
t("td",
|
|
139
|
-
t("td",
|
|
140
|
-
t("td",
|
|
141
|
-
t("td",
|
|
138
|
+
t("td", K, e(d.code), 1),
|
|
139
|
+
t("td", Q, e(d.description), 1),
|
|
140
|
+
t("td", j, e(d.quantity), 1),
|
|
141
|
+
t("td", G, e(d.unit), 1)
|
|
142
142
|
]))), 128))
|
|
143
143
|
])
|
|
144
144
|
])
|