@feedmepos/mf-inventory-portal 0.0.21-dev.3 → 0.0.21-dev.5
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-BHoJzHuo.js +129 -0
- package/dist/{BindingsDialog-TLWBqVLe.js → BindingsDialog-sUZjZtSl.js} +1 -1
- package/dist/{BindingsPicker-CArDO6LQ.js → BindingsPicker-CqzSUVc_.js} +1 -1
- package/dist/{BindingsTable-CVBhfcWm.js → BindingsTable-C1o5EgLy.js} +1 -1
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CpN5Kn8b.js +374 -0
- package/dist/{IngredientsView-Sld49F2i.js → IngredientsView-CrXPIQme.js} +100 -92
- package/dist/IntegrationView-BJT-KMVp.js +1141 -0
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BcDiOeBk.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DH0CcGmX.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DVQozd4y.js → PremiumBadge.vue_vue_type_script_setup_true_lang-kJKVCH40.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-D0Rnf43J.js → PurchaseOrderPrintPreview-k26o__vy.js} +1 -1
- package/dist/ReceiveRequestView-ysOzzBTW.js +216 -0
- package/dist/{RecipeView-ppyuFTCK.js → RecipeView-DAH8YIzY.js} +182 -174
- package/dist/{StockView-CoDH6Yf_.js → StockView-BlCpuSLe.js} +564 -556
- package/dist/{SupplierView-D9pKF63i.js → SupplierView-Bwknjcke.js} +263 -255
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +135 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-ELF9eLeq.js → TransferDetails.vue_vue_type_script_setup_true_lang-LCNiBfi7.js} +4 -4
- package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-BbcRP-G_.js → TransferDialog.vue_vue_type_script_setup_true_lang-BDvtif2q.js} +5 -5
- package/dist/{TransferTemplateView-DMkSlBvQ.js → TransferTemplateView-DcMdNiH6.js} +370 -362
- package/dist/{UnitView-DV4WP6eO.js → UnitView-BVMr4KlR.js} +186 -178
- package/dist/{WarehouseView-DwbO0UGj.js → WarehouseView-Dd-e-IlG.js} +388 -380
- package/dist/{app-Bt8YzxIk.js → app-S6iG6Hux.js} +2531 -2541
- package/dist/app.js +3 -3
- package/dist/{decimal-SucbZ9G4.js → decimal-nOOdFIFP.js} +1 -1
- package/dist/{id-to-date-B81eSX7L.js → id-to-date-CKQ0n3Qi.js} +1 -1
- package/dist/{purchase-order-transaction-type-CuGdiH6i.js → purchase-order-transaction-type-CQ-RpJ0h.js} +3 -3
- package/dist/stores/layout.d.ts +3 -0
- package/dist/{supplier-CMS9fSlT.js → supplier-DQsAfn3q.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{xlsx-BKyJT0L0.js → xlsx-Dgjf-KvE.js} +1 -1
- package/dist/{xlsx.util-bHyU3BvF.js → xlsx.util-CODYzgF8.js} +2 -2
- package/package.json +4 -4
- package/dist/ApprovalView-DE6af6Jx.js +0 -121
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BCI1_Jqi.js +0 -308
- package/dist/IntegrationView-C9lcGzjf.js +0 -1172
- package/dist/ReceiveRequestView-CyWq3rxP.js +0 -208
- package/dist/layout-B2j73HnF.js +0 -151
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { useI18n as R } from "@feedmepos/mf-common";
|
|
2
|
+
import { components as h } from "@feedmepos/ui-library";
|
|
3
|
+
import { h as i, defineComponent as F, computed as B, openBlock as u, createBlock as V, resolveDynamicComponent as z, unref as p, normalizeClass as D, withCtx as M, createElementVNode as c, renderSlot as N, normalizeProps as P, guardReactiveProps as _, createElementBlock as m, Fragment as w, renderList as E, createVNode as b, createCommentVNode as y } from "vue";
|
|
4
|
+
const { FmMenu: L, FmButton: S, FmMenuItem: $ } = h;
|
|
5
|
+
function O(o, a) {
|
|
6
|
+
return i(
|
|
7
|
+
L,
|
|
8
|
+
{
|
|
9
|
+
trigger: "click",
|
|
10
|
+
stopClickPropagation: !0
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"menu-button": () => i(S, {
|
|
14
|
+
type: "button",
|
|
15
|
+
variant: "tertiary",
|
|
16
|
+
icon: "more_vert",
|
|
17
|
+
iconColor: "#000000",
|
|
18
|
+
size: "md"
|
|
19
|
+
}),
|
|
20
|
+
default: () => i(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
style: {
|
|
24
|
+
backgroundColor: "white",
|
|
25
|
+
padding: "4px",
|
|
26
|
+
width: "160px"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
o.map(({ translationKey: t, color: e, value: r }) => {
|
|
30
|
+
const { t: s } = R(), n = s(t);
|
|
31
|
+
return i(
|
|
32
|
+
$,
|
|
33
|
+
{
|
|
34
|
+
onClick() {
|
|
35
|
+
a(r ?? n);
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: () => i(
|
|
40
|
+
"span",
|
|
41
|
+
{
|
|
42
|
+
class: e
|
|
43
|
+
},
|
|
44
|
+
n
|
|
45
|
+
)
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
})
|
|
49
|
+
)
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* vue-table
|
|
55
|
+
*
|
|
56
|
+
* Copyright (c) TanStack
|
|
57
|
+
*
|
|
58
|
+
* This source code is licensed under the MIT license found in the
|
|
59
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
60
|
+
*
|
|
61
|
+
* @license MIT
|
|
62
|
+
*/
|
|
63
|
+
const I = F({
|
|
64
|
+
props: ["render", "props"],
|
|
65
|
+
setup: (o) => () => typeof o.render == "function" || typeof o.render == "object" ? i(o.render, o.props) : o.render
|
|
66
|
+
}), j = { class: "flex gap-4 w-full" }, A = { class: "flex-1" }, T = { class: "flex flex-col" }, q = { key: 0 }, G = { key: 0 }, Q = /* @__PURE__ */ F({
|
|
67
|
+
__name: "TableActionableRow",
|
|
68
|
+
props: {
|
|
69
|
+
row: {},
|
|
70
|
+
onRowClick: {},
|
|
71
|
+
actionColumnId: { default: "action" }
|
|
72
|
+
},
|
|
73
|
+
setup(o) {
|
|
74
|
+
const a = o, t = B(
|
|
75
|
+
() => a.row.getVisibleCells().reduce(
|
|
76
|
+
(e, r) => (e[r.column.id] = r, e),
|
|
77
|
+
{}
|
|
78
|
+
)
|
|
79
|
+
);
|
|
80
|
+
return (e, r) => (u(), V(z(e.onRowClick ? p(h).FmListItem : "div"), {
|
|
81
|
+
class: D([
|
|
82
|
+
"w-full border-b border-fm-color-neutral-gray-100",
|
|
83
|
+
{
|
|
84
|
+
"bg-fm-color-neutral-gray-100": e.row.getIsSelected(),
|
|
85
|
+
"cursor-pointer": typeof e.onRowClick == "function"
|
|
86
|
+
}
|
|
87
|
+
]),
|
|
88
|
+
onClick: r[0] || (r[0] = (s) => {
|
|
89
|
+
var n;
|
|
90
|
+
return (n = e.onRowClick) == null ? void 0 : n.call(e, e.row.original);
|
|
91
|
+
})
|
|
92
|
+
}, {
|
|
93
|
+
default: M(() => {
|
|
94
|
+
var s, n, f, d, C;
|
|
95
|
+
return [
|
|
96
|
+
c("div", j, [
|
|
97
|
+
c("div", A, [
|
|
98
|
+
N(e.$slots, "default", P(_(t.value)), () => [
|
|
99
|
+
c("div", T, [
|
|
100
|
+
(u(!0), m(w, null, E(a.row.getVisibleCells(), (l) => {
|
|
101
|
+
var g, v, k;
|
|
102
|
+
return u(), m(w, {
|
|
103
|
+
key: l.id
|
|
104
|
+
}, [
|
|
105
|
+
l.column.id !== e.actionColumnId ? (u(), m("div", q, [
|
|
106
|
+
b(p(I), {
|
|
107
|
+
render: (v = (g = l.column) == null ? void 0 : g.columnDef) == null ? void 0 : v.cell,
|
|
108
|
+
props: (k = l.getContext) == null ? void 0 : k.call(l)
|
|
109
|
+
}, null, 8, ["render", "props"])
|
|
110
|
+
])) : y("", !0)
|
|
111
|
+
], 64);
|
|
112
|
+
}), 128))
|
|
113
|
+
])
|
|
114
|
+
])
|
|
115
|
+
]),
|
|
116
|
+
t.value[e.actionColumnId ?? ""] ? (u(), m("div", G, [
|
|
117
|
+
c("div", null, [
|
|
118
|
+
b(p(I), {
|
|
119
|
+
render: (f = (n = (s = t.value[e.actionColumnId ?? ""]) == null ? void 0 : s.column) == null ? void 0 : n.columnDef) == null ? void 0 : f.cell,
|
|
120
|
+
props: (C = (d = t.value[e.actionColumnId ?? ""]) == null ? void 0 : d.getContext) == null ? void 0 : C.call(d)
|
|
121
|
+
}, null, 8, ["render", "props"])
|
|
122
|
+
])
|
|
123
|
+
])) : y("", !0)
|
|
124
|
+
])
|
|
125
|
+
];
|
|
126
|
+
}),
|
|
127
|
+
_: 3
|
|
128
|
+
}, 8, ["class"]));
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
export {
|
|
132
|
+
I as F,
|
|
133
|
+
Q as _,
|
|
134
|
+
O as c
|
|
135
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as le, f as ae, P as Z, e as xe, g as De } from "./purchase-order-transaction-type-
|
|
1
|
+
import { b as le, f as ae, P as Z, e as xe, g as De } from "./purchase-order-transaction-type-CQ-RpJ0h.js";
|
|
2
2
|
import { computed as re, h as be, defineComponent as Se, ref as ee, resolveComponent as K, openBlock as d, createBlock as P, unref as s, isRef as Ce, withCtx as te, createElementVNode as e, createVNode as I, createElementBlock as b, Fragment as X, toDisplayString as l, normalizeClass as se, createCommentVNode as p, renderList as oe } from "vue";
|
|
3
|
-
import { c as ge } from "./
|
|
3
|
+
import { c as ge } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
4
4
|
import { D as y, R as f } from "./row-action.enum-PMKMRrZR.js";
|
|
5
|
-
import { B as Re, l as ie, a as ce, a6 as ue, ah as g, c as Ae, j as Ee, ae as q, H as Pe, G as Te, E as Ne, b as Fe, w as je } from "./app-
|
|
6
|
-
import { F as Ie } from "./decimal-
|
|
5
|
+
import { B as Re, l as ie, a as ce, a6 as ue, ah as g, c as Ae, j as Ee, ae as q, H as Pe, G as Te, E as Ne, b as Fe, w as je } from "./app-S6iG6Hux.js";
|
|
6
|
+
import { F as Ie } from "./decimal-nOOdFIFP.js";
|
|
7
7
|
import { components as _e, useDialog as Ue, useSnackbar as Me, useProxiedModel as $e } from "@feedmepos/ui-library";
|
|
8
8
|
import { useI18n as Oe } from "@feedmepos/mf-common";
|
|
9
9
|
import { E as Ke } from "./empty-placeholder-wf6-BWE8.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { reactive as Ee, onMounted as Le, computed as P, h as E, getCurrentInstance as Oe, watch as $e, defineComponent as se, openBlock as I, createElementBlock as A, Fragment as ve, renderList as Pe, createElementVNode as d, toDisplayString as D, unref as e, resolveComponent as T, createVNode as k, withCtx as V, createCommentVNode as z, ref as L, createBlock as j, normalizeClass as Te, normalizeStyle as Ze, isRef as ie } from "vue";
|
|
2
2
|
import { useBreakpoints as Ke, components as re, FmButtonVariant as Qe, useSnackbar as Ae, useDialog as Ge, useProxiedModel as Je } from "@feedmepos/ui-library";
|
|
3
3
|
import { F as fe } from "./row-action.enum-PMKMRrZR.js";
|
|
4
|
-
import { P as $, e as qe, d as Xe } from "./purchase-order-transaction-type-
|
|
5
|
-
import { a as W, t as et, a8 as Fe, D as tt, b as Ne, R as Be, a2 as st, a3 as ot, r as nt, a4 as Ue, G as He, l as at, A as ke, M as lt, a9 as ze, c as rt, aa as it, O as De, P as je, ab as ut, j as Ve, ac as dt, u as Re, ad as ct, ae as pt, af as mt, E as ft, ag as yt, y as vt } from "./app-
|
|
6
|
-
import { _ as We, u as bt } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { P as $, e as qe, d as Xe } from "./purchase-order-transaction-type-CQ-RpJ0h.js";
|
|
5
|
+
import { a as W, t as et, a8 as Fe, D as tt, b as Ne, R as Be, a2 as st, a3 as ot, r as nt, a4 as Ue, G as He, l as at, A as ke, M as lt, a9 as ze, c as rt, aa as it, O as De, P as je, ab as ut, j as Ve, ac as dt, u as Re, ad as ct, ae as pt, af as mt, E as ft, ag as yt, y as vt } from "./app-S6iG6Hux.js";
|
|
6
|
+
import { _ as We, u as bt } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-kJKVCH40.js";
|
|
7
7
|
import { useI18n as de } from "@feedmepos/mf-common";
|
|
8
8
|
import "vue-router";
|
|
9
|
-
import { u as he } from "./supplier-
|
|
10
|
-
import { F as ue, _ as gt } from "./
|
|
9
|
+
import { u as he } from "./supplier-DQsAfn3q.js";
|
|
10
|
+
import { F as ue, _ as gt } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
11
11
|
import { _ as _t } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
12
12
|
function te(s, m, r, n) {
|
|
13
13
|
var u, c, C;
|