@feedmepos/mf-inventory-portal 0.0.25-dev.11 → 0.0.25-dev.12
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-CO-6e1yq.js → App-PehI6qSK.js} +2 -2
- package/dist/ApprovalView-a6tbFyO2.js +140 -0
- package/dist/{BindingsDialog-oWRH8tAd.js → BindingsDialog-BNco1Vhd.js} +2 -2
- package/dist/{BindingsPicker-CpM2ldne.js → BindingsPicker-Dns2kFS-.js} +1 -1
- package/dist/{BindingsTable-BA3ATsO3.js → BindingsTable-DTrXzYzr.js} +1 -1
- package/dist/{ClosingDraftView-CS2v3zbm.js → ClosingDraftView-BXBkI6WL.js} +2 -2
- package/dist/{ClosingTemplateView-BS8RaUgX.js → ClosingTemplateView-BiAGOmVg.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-7qLOtuzy.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-IlN0Uj04.js} +3 -3
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Dn5wTNsE.js → FmUnitInput.vue_vue_type_script_setup_true_lang-JDL6LVAb.js} +1 -1
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Wv_HtVUG.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DR5ewA1c.js} +1 -1
- package/dist/{IngredientGroupView-DLDfRzPQ.js → IngredientGroupView-Bci0qysG.js} +1 -1
- package/dist/{IngredientsView-IpEhZhFt.js → IngredientsView-Dpc_GncE.js} +4 -4
- package/dist/{IntegrationView-D8DFRPr1.js → IntegrationView-DCWg-DR4.js} +1 -1
- package/dist/{InventoryBindingForm-9255LnDG.js → InventoryBindingForm-BwwF-2NM.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BqlOlgnY.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-1BVSUfuT.js} +3 -3
- package/dist/{InventoryBindingSummary-BPEwj0Gs.js → InventoryBindingSummary-DgoHed7T.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-E53iSENL.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bu4Dw_6P.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CByTbk0u.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CW7-Eu69.js} +1 -1
- package/dist/{PublishView-SUyD0hW-.js → PublishView-DVYBAYBI.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-CSi_l2J8.js → PurchaseOrderPrintPreview-Dp2v_J3o.js} +1 -1
- package/dist/{ReceiveRequestView-DA7CofZ1.js → ReceiveRequestView-DVq8tkzd.js} +388 -380
- package/dist/{RecipeView-DYGIII7T.js → RecipeView-Cv5EH2Ah.js} +3 -3
- package/dist/{StockView-DjQlAXbi.js → StockView-B7x9Pywp.js} +7 -7
- package/dist/{SupplierView-CB8pq2dk.js → SupplierView-BgyqCgOQ.js} +4 -4
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-ByAN3s-h.js +1494 -0
- package/dist/{TransferTemplateView-CjVir2Ql.js → TransferTemplateView-C30bwI6y.js} +7 -7
- package/dist/{UnitView-DD8sGjaR.js → UnitView-IUEnJvH0.js} +3 -3
- package/dist/{WarehouseView-BE131osn.js → WarehouseView-Bcwta2ui.js} +1 -1
- package/dist/api/purchase-order.d.ts +1 -0
- package/dist/{app-CbAke6dP.js → app-BKrf9Qul.js} +10 -10
- package/dist/app.js +1 -1
- package/dist/{decimal-ITAjlTW6.js → decimal-pm1D555G.js} +1 -1
- package/dist/{feature-Dq5knPmf.js → feature-IIGwFZ6m.js} +1 -1
- package/dist/{format-unit-display-D-Ho5ga9.js → format-unit-display-DAzCcqoK.js} +2 -2
- package/dist/{index-DpN0zX69.js → index-phCfzXTb.js} +2 -2
- package/dist/{stock-CjI4mNO9.js → stock-B9Im7AGF.js} +1 -1
- package/dist/{supplier-DnImzKTa.js → supplier-D5z7EqEg.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-AgNLUJRC.js → use-ingredient-select-dialog-QJXtuwbP.js} +1 -1
- package/dist/{use-inventory-binding-dialog-sJsbhbQI.js → use-inventory-binding-dialog-DbK__hMV.js} +1 -1
- package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +2 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +6 -2
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2 -2
- package/dist/{vue-i18n-DYyu2tND.js → vue-i18n-sbiTSWWp.js} +221 -221
- package/package.json +3 -3
- package/dist/ApprovalView-CibKgQlF.js +0 -138
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-IxGRO3vL.js +0 -1461
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-inventory-portal",
|
|
3
|
-
"version": "0.0.25-dev.
|
|
3
|
+
"version": "0.0.25-dev.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"vue-router": "^4.4.0",
|
|
43
43
|
"xlsx": "^0.18.5",
|
|
44
44
|
"zod": "3.17.9",
|
|
45
|
-
"@feedmepos/inventory-core": "^0.
|
|
45
|
+
"@feedmepos/inventory-core-js": "^1.0.1",
|
|
46
46
|
"@feedmepos/zod-inventory": "^1.0.12",
|
|
47
|
-
"@feedmepos/inventory-core
|
|
47
|
+
"@feedmepos/inventory-core": "^0.2.18"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@rushstack/eslint-patch": "^1.10.3",
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { defineComponent as ae, ref as g, watch as oe, computed as b, resolveComponent as re, openBlock as y, createBlock as G, unref as e, withCtx as x, createElementVNode as s, normalizeClass as ne, createVNode as n, normalizeStyle as se, toDisplayString as le, createElementBlock as ce, createCommentVNode as ie, Teleport as ue, mergeProps as pe } from "vue";
|
|
2
|
-
import { u as me, az as v, aK as de, ab as J, y as fe, _ as ve, z as _e, B as he, E as _ } from "./app-CbAke6dP.js";
|
|
3
|
-
import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-IxGRO3vL.js";
|
|
4
|
-
import { useBreakpoints as ye } from "@feedmepos/ui-library";
|
|
5
|
-
import { useI18n as xe } from "@feedmepos/mf-common";
|
|
6
|
-
const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ke = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Oe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Se = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
9
|
-
}, Te = { class: "pt-8" }, Ye = /* @__PURE__ */ ae({
|
|
10
|
-
__name: "ApprovalView",
|
|
11
|
-
setup(Ce) {
|
|
12
|
-
const o = De("approval"), { columnDefs: Q } = ge("approval", o), W = me();
|
|
13
|
-
v.object({
|
|
14
|
-
name: v.string().optional().nullable(),
|
|
15
|
-
start: v.date().optional().nullable(),
|
|
16
|
-
end: v.date().optional().nullable()
|
|
17
|
-
});
|
|
18
|
-
const w = g({
|
|
19
|
-
name: "",
|
|
20
|
-
...de()
|
|
21
|
-
}), a = g({
|
|
22
|
-
startDate: J(w.value.start ?? /* @__PURE__ */ new Date()),
|
|
23
|
-
endDate: J(w.value.end ?? /* @__PURE__ */ new Date())
|
|
24
|
-
});
|
|
25
|
-
oe([() => a.value.startDate], () => {
|
|
26
|
-
if (!a.value.startDate)
|
|
27
|
-
return;
|
|
28
|
-
if (!a.value.endDate) {
|
|
29
|
-
a.value.endDate = a.value.startDate;
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
const c = new Date(a.value.startDate);
|
|
33
|
-
if (new Date(a.value.endDate).getTime() < c.getTime()) {
|
|
34
|
-
a.value.endDate = a.value.startDate;
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
const h = g(""), { breakpoints: R } = ye(), D = b(() => R.value.xs || R.value.sm), X = b(() => D.value ? 10 : 20), Z = fe(), { t: k } = xe(), B = b(() => [
|
|
39
|
-
{
|
|
40
|
-
label: k("common.refresh"),
|
|
41
|
-
value: "refresh"
|
|
42
|
-
}
|
|
43
|
-
]);
|
|
44
|
-
function I(c) {
|
|
45
|
-
switch (c) {
|
|
46
|
-
case "refresh":
|
|
47
|
-
return o.fetchData();
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
return (c, l) => {
|
|
51
|
-
const ee = re("FmTable");
|
|
52
|
-
return y(), G(ve, {
|
|
53
|
-
title: e(k)("inventory.transfer.approval.title"),
|
|
54
|
-
actions: B.value,
|
|
55
|
-
"onClick:action": I
|
|
56
|
-
}, {
|
|
57
|
-
default: x(() => [
|
|
58
|
-
s("div", {
|
|
59
|
-
class: ne([
|
|
60
|
-
"flex flex-col gap-8 max-h-full",
|
|
61
|
-
{
|
|
62
|
-
"p-0": D.value,
|
|
63
|
-
"px-24 ": !D.value
|
|
64
|
-
}
|
|
65
|
-
])
|
|
66
|
-
}, [
|
|
67
|
-
n(_e, {
|
|
68
|
-
searchable: "",
|
|
69
|
-
"change-location": "",
|
|
70
|
-
search: h.value,
|
|
71
|
-
"onUpdate:search": l[0] || (l[0] = (r) => h.value = r)
|
|
72
|
-
}, null, 8, ["search"]),
|
|
73
|
-
n(ee, {
|
|
74
|
-
style: se(e(Z).tableHeight),
|
|
75
|
-
"column-defs": e(Q),
|
|
76
|
-
"row-data": e(o).purchaseRequests.value,
|
|
77
|
-
"search-value": h.value,
|
|
78
|
-
loading: !e(W)._currentLocation || e(o).loading.value,
|
|
79
|
-
onRowClick: l[1] || (l[1] = (r) => e(o).promptShowTransferDetails(r.original.purchaseOrder, r.original)),
|
|
80
|
-
"page-size": X.value
|
|
81
|
-
}, {
|
|
82
|
-
"list-row": x((r) => [
|
|
83
|
-
n(he, {
|
|
84
|
-
row: r,
|
|
85
|
-
onRowClick: (t) => e(o).promptShowTransferDetails(t.purchaseOrder, t)
|
|
86
|
-
}, {
|
|
87
|
-
default: x((t) => {
|
|
88
|
-
var O, S, T, i, C, z, M, $, u, F, V, p, Y, m, q, E, L, N, P, d, j, A, H, K, f, U;
|
|
89
|
-
return [
|
|
90
|
-
s("div", we, [
|
|
91
|
-
s("div", Re, [
|
|
92
|
-
n(e(_), {
|
|
93
|
-
render: (T = (S = (O = t.purchaseOrder__id) == null ? void 0 : O.column) == null ? void 0 : S.columnDef) == null ? void 0 : T.cell,
|
|
94
|
-
props: (C = (i = t.purchaseOrder__id) == null ? void 0 : i.getContext) == null ? void 0 : C.call(i)
|
|
95
|
-
}, null, 8, ["render", "props"])
|
|
96
|
-
]),
|
|
97
|
-
s("div", ke, [
|
|
98
|
-
n(e(_), {
|
|
99
|
-
render: ($ = (M = (z = t.to_name) == null ? void 0 : z.column) == null ? void 0 : M.columnDef) == null ? void 0 : $.cell,
|
|
100
|
-
props: (F = (u = t.to_name) == null ? void 0 : u.getContext) == null ? void 0 : F.call(u)
|
|
101
|
-
}, null, 8, ["render", "props"])
|
|
102
|
-
]),
|
|
103
|
-
s("div", Oe, le((q = (m = (Y = (p = (V = r.original.purchaseOrder) == null ? void 0 : V.items) == null ? void 0 : p.map) == null ? void 0 : Y.call(p, (te) => `${te.name}`)) == null ? void 0 : m.join) == null ? void 0 : q.call(m, ", ")), 1),
|
|
104
|
-
(E = r.original.purchaseOrder) != null && E.ref ? (y(), ce("div", Se, [
|
|
105
|
-
n(e(_), {
|
|
106
|
-
render: (P = (N = (L = t.purchaseOrder_ref) == null ? void 0 : L.column) == null ? void 0 : N.columnDef) == null ? void 0 : P.cell,
|
|
107
|
-
props: (j = (d = t.purchaseOrder_ref) == null ? void 0 : d.getContext) == null ? void 0 : j.call(d)
|
|
108
|
-
}, null, 8, ["render", "props"])
|
|
109
|
-
])) : ie("", !0),
|
|
110
|
-
s("div", Te, [
|
|
111
|
-
n(e(_), {
|
|
112
|
-
render: (K = (H = (A = t.purchaseOrder_status) == null ? void 0 : A.column) == null ? void 0 : H.columnDef) == null ? void 0 : K.cell,
|
|
113
|
-
props: (U = (f = t.purchaseOrder_status) == null ? void 0 : f.getContext) == null ? void 0 : U.call(f)
|
|
114
|
-
}, null, 8, ["render", "props"])
|
|
115
|
-
])
|
|
116
|
-
])
|
|
117
|
-
];
|
|
118
|
-
}),
|
|
119
|
-
_: 2
|
|
120
|
-
}, 1032, ["row", "onRowClick"])
|
|
121
|
-
]),
|
|
122
|
-
_: 1
|
|
123
|
-
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
|
|
124
|
-
], 2),
|
|
125
|
-
(y(), G(ue, { to: "body" }, [
|
|
126
|
-
n(be, pe(e(o).transferDetailsProps.value, {
|
|
127
|
-
onSubmitted: e(o).fetchData
|
|
128
|
-
}), null, 16, ["onSubmitted"])
|
|
129
|
-
]))
|
|
130
|
-
]),
|
|
131
|
-
_: 1
|
|
132
|
-
}, 8, ["title", "actions"]);
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
export {
|
|
137
|
-
Ye as default
|
|
138
|
-
};
|