@feedmepos/mf-inventory-portal 1.0.15-dev.2 → 1.0.15-dev.3
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-CgxrN-aD.js → App-3Zym4rob.js} +2 -2
- package/dist/ApprovalView-C4qLlZua.js +213 -0
- package/dist/{BindingsDialog-B_ZMDl-b.js → BindingsDialog-DHaF8DtC.js} +2 -2
- package/dist/{BindingsPicker-B84BG8zT.js → BindingsPicker-C04HnWZ-.js} +1 -1
- package/dist/{BindingsTable-DrvoykYc.js → BindingsTable-CnZUt7GU.js} +1 -1
- package/dist/{ClosingDraftView-Ds9sI2Eg.js → ClosingDraftView-DaMruAln.js} +41 -41
- package/dist/{ClosingTemplateView-BhZ1OXkD.js → ClosingTemplateView-B3lyKcz-.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-Yuxf-jCh.js → DeliveryOrderPrintPreview-CGPkYOfW.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D6ktiUO5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DFJNtwjV.js} +43 -43
- package/dist/{FmMultiselectDialog-4lVsA2Rn.js → FmMultiselectDialog-yR5Mo3U-.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-XmTRSHn_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DoY67RWl.js} +57 -57
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B3PvtR0j.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BSuFAwN3.js} +1 -1
- package/dist/IngredientGroupView-B-hyo-7W.js +898 -0
- package/dist/IngredientsView-Cod5ahQy.js +1778 -0
- package/dist/{IntegrationView-BnrCkjWt.js → IntegrationView-D9KZtPN3.js} +5 -5
- package/dist/{InventoryBindingForm-uyHh2TI_.js → InventoryBindingForm-CrRoablh.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CECDj9Pw.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-W9p7khOs.js} +46 -46
- package/dist/{InventoryBindingSummary-DyHCqgIe.js → InventoryBindingSummary-D88BG4ze.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Dx2lMf6h.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-VtM-wvuF.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BCX3vlmU.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Ccx9QvpN.js} +15 -15
- package/dist/{PublishView-BVGyY6nn.js → PublishView-DhE7YE-k.js} +13 -13
- package/dist/{PurchaseOrderPrintPreview-pbYIFiOG.js → PurchaseOrderPrintPreview-CF_VeOeU.js} +4 -4
- package/dist/ReceiveRequestView-Bx9-NHyn.js +2576 -0
- package/dist/{RecipeView-DcgoCf4g.js → RecipeView-JhM5Z4CP.js} +4 -4
- package/dist/{StockView-zO2uL662.js → StockView-u7jlKoO5.js} +108 -108
- package/dist/{SupplierView-I5bqiX_2.js → SupplierView-BDBBQnGy.js} +37 -37
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BJiobEDM.js +2090 -0
- package/dist/{TransferTemplateView-BDOt17yc.js → TransferTemplateView-CNMHm8Gy.js} +149 -149
- package/dist/{UnitView-BVY5S6-3.js → UnitView-UVgn7ofI.js} +32 -32
- package/dist/{WarehouseView-m6MKrtYq.js → WarehouseView-CEw69mhn.js} +26 -26
- package/dist/{app-DtICLubM.js → app-cfPLYfcH.js} +33227 -25194
- package/dist/app.js +5 -5
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +36 -0
- package/dist/{decimal-C1dAcCf3.js → decimal-BeCLbdwn.js} +1 -1
- package/dist/{feature-Y7qzvbl4.js → feature-dhG2tL_A.js} +79 -79
- package/dist/{format-unit-display-CPqfS4vp.js → format-unit-display-D3UdcFM6.js} +48 -48
- package/dist/{index-DIEdSG3y.js → index-BUou6R58.js} +1 -1
- package/dist/{index-0qsqwB0T.js → index-BkR-Qpc0.js} +4 -4
- package/dist/{stock-CowNp_xM.js → stock-DQPwSZX1.js} +1 -1
- package/dist/{supplier-JVTTlQNL.js → supplier-CAcd6PiU.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Df59lld2.js → use-ingredient-select-dialog-E3qfQso7.js} +5 -5
- package/dist/{use-inventory-binding-dialog-Bxxb93Kz.js → use-inventory-binding-dialog-DRKy4nUx.js} +1 -1
- package/dist/{vue-i18n-DJOdRwc3.js → vue-i18n-DLrqHK28.js} +271 -271
- package/package.json +4 -4
- package/dist/ApprovalView-DNGhkVc9.js +0 -147
- package/dist/IngredientGroupView-usK9stxT.js +0 -8779
- package/dist/IngredientsView-DPx8Z2zo.js +0 -1749
- package/dist/ReceiveRequestView-DZAgH2_u.js +0 -2516
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-NyQg_yR9.js +0 -2020
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-inventory-portal",
|
|
3
|
-
"version": "1.0.15-dev.
|
|
3
|
+
"version": "1.0.15-dev.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@feedmepos/core": "2.14.11",
|
|
18
|
-
"@feedmepos/custom-attributes": "0.0.1-rc.
|
|
18
|
+
"@feedmepos/custom-attributes": "0.0.1-rc.3",
|
|
19
19
|
"@feedmepos/feature-flag": "^0.0.15",
|
|
20
20
|
"@feedmepos/menu": "1.5.22",
|
|
21
21
|
"@feedmepos/mf-common": "1.26.8-beta.2",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"vue-router": "^4.4.0",
|
|
44
44
|
"xlsx": "^0.18.5",
|
|
45
45
|
"@feedmepos/inventory-core": "^1.0.0",
|
|
46
|
-
"@feedmepos/inventory-core-
|
|
46
|
+
"@feedmepos/inventory-core-2": "^2.0.0",
|
|
47
47
|
"@feedmepos/inventory-core-dart": "^1.0.0",
|
|
48
|
+
"@feedmepos/inventory-core-js": "^1.0.1",
|
|
48
49
|
"@feedmepos/netsuite-core": "^1.0.0",
|
|
49
|
-
"@feedmepos/inventory-core-2": "^2.0.0",
|
|
50
50
|
"@feedmepos/zod-inventory": "^1.0.12"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { defineComponent as oe, ref as g, watch as re, computed as b, resolveComponent as ne, openBlock as y, createBlock as K, unref as e, withCtx as x, createElementVNode as l, normalizeClass as se, createVNode as n, normalizeStyle as le, toDisplayString as ie, createElementBlock as ce, createCommentVNode as ue, Teleport as pe, mergeProps as me } from "vue";
|
|
2
|
-
import { u as de, av as v, aG as fe, a8 as Q, z as ve, _ as _e, B as De, C as he, E as _ } from "./app-DtICLubM.js";
|
|
3
|
-
import { a as ge, P as R, b as be, _ as ye } from "./TransferDetails.vue_vue_type_script_setup_true_lang-NyQg_yR9.js";
|
|
4
|
-
import { useBreakpoints as xe } from "@feedmepos/ui-library";
|
|
5
|
-
import { useI18n as Re } from "@feedmepos/mf-common";
|
|
6
|
-
const Oe = { class: "flex flex-col py-8" }, we = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Ce = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
9
|
-
}, Se = { class: "pt-8" }, $e = /* @__PURE__ */ oe({
|
|
10
|
-
__name: "ApprovalView",
|
|
11
|
-
setup(Te) {
|
|
12
|
-
const r = ge(R.APPROVAL), { columnDefs: W } = be(R.APPROVAL, r), X = de();
|
|
13
|
-
v.object({
|
|
14
|
-
name: v.string().optional().nullable(),
|
|
15
|
-
start: v.date().optional().nullable(),
|
|
16
|
-
end: v.date().optional().nullable()
|
|
17
|
-
});
|
|
18
|
-
const O = g({
|
|
19
|
-
name: "",
|
|
20
|
-
...fe()
|
|
21
|
-
}), a = g({
|
|
22
|
-
startDate: Q(O.value.start ?? /* @__PURE__ */ new Date()),
|
|
23
|
-
endDate: Q(O.value.end ?? /* @__PURE__ */ new Date())
|
|
24
|
-
});
|
|
25
|
-
re([() => 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 i = new Date(a.value.startDate);
|
|
33
|
-
if (new Date(a.value.endDate).getTime() < i.getTime()) {
|
|
34
|
-
a.value.endDate = a.value.startDate;
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
r.updateDateRange(a.value.startDate, a.value.endDate);
|
|
38
|
-
});
|
|
39
|
-
const D = g(""), { breakpoints: w } = xe(), h = b(() => w.value.xs || w.value.sm), Z = b(() => h.value ? 10 : 20), B = ve(), { t: P } = Re(), I = b(() => [
|
|
40
|
-
{
|
|
41
|
-
label: P("inventory.common.refresh"),
|
|
42
|
-
value: "refresh"
|
|
43
|
-
}
|
|
44
|
-
]);
|
|
45
|
-
function ee(i) {
|
|
46
|
-
switch (i) {
|
|
47
|
-
case "refresh":
|
|
48
|
-
return r.fetchData();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return (i, s) => {
|
|
52
|
-
const ae = ne("FmTable");
|
|
53
|
-
return y(), K(_e, {
|
|
54
|
-
title: e(P)("inventory.transfer.approval.title"),
|
|
55
|
-
actions: I.value,
|
|
56
|
-
"onClick:action": ee
|
|
57
|
-
}, {
|
|
58
|
-
default: x(() => [
|
|
59
|
-
l("div", {
|
|
60
|
-
class: se([
|
|
61
|
-
"flex flex-col gap-8 max-h-full",
|
|
62
|
-
{
|
|
63
|
-
"p-0": h.value,
|
|
64
|
-
"px-24 ": !h.value
|
|
65
|
-
}
|
|
66
|
-
])
|
|
67
|
-
}, [
|
|
68
|
-
n(De, {
|
|
69
|
-
"date-range-query": "",
|
|
70
|
-
"date-range": a.value,
|
|
71
|
-
"onUpdate:dateRange": s[0] || (s[0] = (o) => a.value = o),
|
|
72
|
-
searchable: "",
|
|
73
|
-
"change-location": "",
|
|
74
|
-
search: D.value,
|
|
75
|
-
"onUpdate:search": s[1] || (s[1] = (o) => D.value = o)
|
|
76
|
-
}, null, 8, ["date-range", "search"]),
|
|
77
|
-
n(ae, {
|
|
78
|
-
style: le(e(B).tableHeight),
|
|
79
|
-
"column-defs": e(W),
|
|
80
|
-
"row-data": e(r).purchaseRequests.value,
|
|
81
|
-
"search-value": D.value,
|
|
82
|
-
loading: !e(X)._currentLocation || e(r).loading.value,
|
|
83
|
-
onRowClick: s[2] || (s[2] = (o) => e(r).promptShowTransferDetails(
|
|
84
|
-
o.original.purchaseOrder,
|
|
85
|
-
o.original
|
|
86
|
-
)),
|
|
87
|
-
"page-size": Z.value
|
|
88
|
-
}, {
|
|
89
|
-
"list-row": x((o) => [
|
|
90
|
-
n(he, {
|
|
91
|
-
row: o,
|
|
92
|
-
onRowClick: (t) => e(r).promptShowTransferDetails(t.purchaseOrder, t)
|
|
93
|
-
}, {
|
|
94
|
-
default: x((t) => {
|
|
95
|
-
var k, C, S, c, T, A, V, z, u, L, M, p, $, m, q, E, F, Y, N, d, j, H, U, G, f, J;
|
|
96
|
-
return [
|
|
97
|
-
l("div", Oe, [
|
|
98
|
-
l("div", we, [
|
|
99
|
-
n(e(_), {
|
|
100
|
-
render: (S = (C = (k = t.purchaseOrder__id) == null ? void 0 : k.column) == null ? void 0 : C.columnDef) == null ? void 0 : S.cell,
|
|
101
|
-
props: (T = (c = t.purchaseOrder__id) == null ? void 0 : c.getContext) == null ? void 0 : T.call(c)
|
|
102
|
-
}, null, 8, ["render", "props"])
|
|
103
|
-
]),
|
|
104
|
-
l("div", Pe, [
|
|
105
|
-
n(e(_), {
|
|
106
|
-
render: (z = (V = (A = t.to_name) == null ? void 0 : A.column) == null ? void 0 : V.columnDef) == null ? void 0 : z.cell,
|
|
107
|
-
props: (L = (u = t.to_name) == null ? void 0 : u.getContext) == null ? void 0 : L.call(u)
|
|
108
|
-
}, null, 8, ["render", "props"])
|
|
109
|
-
]),
|
|
110
|
-
l("div", ke, ie((q = (m = ($ = (p = (M = o.original.purchaseOrder) == null ? void 0 : M.items) == null ? void 0 : p.map) == null ? void 0 : $.call(p, (te) => `${te.name}`)) == null ? void 0 : m.join) == null ? void 0 : q.call(m, ", ")), 1),
|
|
111
|
-
(E = o.original.purchaseOrder) != null && E.ref ? (y(), ce("div", Ce, [
|
|
112
|
-
n(e(_), {
|
|
113
|
-
render: (N = (Y = (F = t.purchaseOrder_ref) == null ? void 0 : F.column) == null ? void 0 : Y.columnDef) == null ? void 0 : N.cell,
|
|
114
|
-
props: (j = (d = t.purchaseOrder_ref) == null ? void 0 : d.getContext) == null ? void 0 : j.call(d)
|
|
115
|
-
}, null, 8, ["render", "props"])
|
|
116
|
-
])) : ue("", !0),
|
|
117
|
-
l("div", Se, [
|
|
118
|
-
n(e(_), {
|
|
119
|
-
render: (G = (U = (H = t.purchaseOrder_status) == null ? void 0 : H.column) == null ? void 0 : U.columnDef) == null ? void 0 : G.cell,
|
|
120
|
-
props: (J = (f = t.purchaseOrder_status) == null ? void 0 : f.getContext) == null ? void 0 : J.call(f)
|
|
121
|
-
}, null, 8, ["render", "props"])
|
|
122
|
-
])
|
|
123
|
-
])
|
|
124
|
-
];
|
|
125
|
-
}),
|
|
126
|
-
_: 2
|
|
127
|
-
}, 1032, ["row", "onRowClick"])
|
|
128
|
-
]),
|
|
129
|
-
_: 1
|
|
130
|
-
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
|
|
131
|
-
], 2),
|
|
132
|
-
(y(), K(pe, { to: "body" }, [
|
|
133
|
-
n(ye, me({
|
|
134
|
-
scope: e(R).APPROVAL
|
|
135
|
-
}, e(r).transferDetailsProps.value, {
|
|
136
|
-
onSubmitted: e(r).fetchData
|
|
137
|
-
}), null, 16, ["scope", "onSubmitted"])
|
|
138
|
-
]))
|
|
139
|
-
]),
|
|
140
|
-
_: 1
|
|
141
|
-
}, 8, ["title", "actions"]);
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
export {
|
|
146
|
-
$e as default
|
|
147
|
-
};
|