@feedmepos/mf-inventory-portal 0.0.19-dev.2 → 0.0.19-dev.4
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-DU7oB2Zk.js → ApprovalView-CT8w22Ga.js} +16 -17
- package/dist/{BindingsDialog-BgfV0G46.js → BindingsDialog-CrB5aA3X.js} +5 -6
- package/dist/{BindingsPicker-tUI5WYBk.js → BindingsPicker-jBTfZ4vJ.js} +6 -7
- package/dist/{BindingsTable-8G-Nc4pC.js → BindingsTable-DaZ3Vxpn.js} +14 -17
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DaHXKF1s.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BWFoHqPU.js} +16 -17
- package/dist/IngredientsView-DOoXPJop.js +1750 -0
- package/dist/IntegrationView-BX1nvP-k.js +1172 -0
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BKlWhMnB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CFConGe4.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-YFcOtdfJ.js → PurchaseOrderPrintPreview-DSXXSlof.js} +13 -13
- package/dist/{ReceiveRequestView-bIXyVVX9.js → ReceiveRequestView-5nXXoRL_.js} +165 -172
- package/dist/RecipeView-DtoX2e_9.js +572 -0
- package/dist/StockView-DTnY8LfO.js +1876 -0
- package/dist/{SupplierView-BiSqTXnz.js → SupplierView-CzWM2tH4.js} +34 -37
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CvbKNb0C.js → TransferDetails.vue_vue_type_script_setup_true_lang-DIc2G2jF.js} +34 -36
- package/dist/UnitView-Bk-OLoW2.js +638 -0
- package/dist/{WarehouseView-B8UxxAL6.js → WarehouseView-C3F_YWO-.js} +49 -50
- package/dist/app-YOcJA0qj.js +66729 -0
- package/dist/app.d.ts +30 -0
- package/dist/app.js +5 -3
- package/dist/{decimal-BtIn4K57.js → decimal-Cr-8e35u.js} +1 -1
- package/dist/{stock-estimate-C4PL0Fcz.js → id-to-date-9OvJMyEX.js} +12 -13
- package/dist/{layout-ITqYtCVu.js → layout-DCDPTIlR.js} +14 -14
- package/dist/router/name.d.ts +1 -2
- package/dist/{supplier-CA0OR3DU.js → supplier-Bos9ifGc.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +14 -2
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -2
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +12 -12
- package/dist/views/recipe/composables/use-recipe-form.d.ts +14 -2
- package/dist/views/recipe/composables/use-recipe-table.d.ts +1 -2
- package/dist/views/stock/composables/use-stock-action.d.ts +26 -0
- package/dist/views/stock/composables/use-stock-table.d.ts +1 -8
- package/dist/views/unit/composables/use-unit-form.d.ts +14 -2
- package/dist/views/unit/composables/use-unit-table.d.ts +1 -2
- package/dist/{xlsx-DAVatAlv.js → xlsx-CUjMCYbh.js} +660 -660
- package/dist/{xlsx.util-BsZI2tNE.js → xlsx.util-ByRzckFP.js} +2 -2
- package/package.json +2 -2
- package/dist/FmMultiselectDialog.vue_vue_type_script_setup_true_lang-CxOk5ule.js +0 -143
- package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-D-vJDMKb.js +0 -236
- package/dist/IngredientsView-CAh7D4tL.js +0 -1760
- package/dist/IntegrationView-Bf7yHuS8.js +0 -1166
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-BdVrpR9J.js +0 -277
- package/dist/RecipeView-BD0mvxCg.js +0 -575
- package/dist/StockView-BCq37bGl.js +0 -1865
- package/dist/UnitView-DSdn__9m.js +0 -643
- package/dist/app-RVyC2D4O.js +0 -43892
- package/dist/date2-C2PfOqbB.js +0 -95
- package/dist/dayjs.min-0pzT_dbr.js +0 -282
- package/dist/fuzzy-yzIM5KUK.js +0 -41
- package/dist/index-l87_vggM.js +0 -21515
- package/dist/number-B5d98l0m.js +0 -97
- package/dist/rules-CCwuHe8Y.js +0 -85
- package/dist/use-inventory-binding-dialog-CTriImiV.js +0 -93
package/dist/app.d.ts
CHANGED
|
@@ -497,6 +497,20 @@ export declare const i18nMessages: {
|
|
|
497
497
|
};
|
|
498
498
|
integration: {
|
|
499
499
|
title: string;
|
|
500
|
+
description: string;
|
|
501
|
+
fmh: {
|
|
502
|
+
title: string;
|
|
503
|
+
description: string;
|
|
504
|
+
};
|
|
505
|
+
apply: {
|
|
506
|
+
title: string;
|
|
507
|
+
products: string;
|
|
508
|
+
addons: string;
|
|
509
|
+
applyProduct: string;
|
|
510
|
+
applyAddon: string;
|
|
511
|
+
name: string;
|
|
512
|
+
code: string;
|
|
513
|
+
};
|
|
500
514
|
};
|
|
501
515
|
};
|
|
502
516
|
};
|
|
@@ -996,9 +1010,25 @@ export declare const i18nMessages: {
|
|
|
996
1010
|
};
|
|
997
1011
|
integration: {
|
|
998
1012
|
title: string;
|
|
1013
|
+
description: string;
|
|
1014
|
+
fmh: {
|
|
1015
|
+
title: string;
|
|
1016
|
+
description: string;
|
|
1017
|
+
};
|
|
1018
|
+
apply: {
|
|
1019
|
+
title: string;
|
|
1020
|
+
products: string;
|
|
1021
|
+
addons: string;
|
|
1022
|
+
applyProduct: string;
|
|
1023
|
+
applyAddon: string;
|
|
1024
|
+
code: string;
|
|
1025
|
+
name: string;
|
|
1026
|
+
};
|
|
999
1027
|
};
|
|
1000
1028
|
};
|
|
1001
1029
|
};
|
|
1002
1030
|
};
|
|
1003
1031
|
export { routers } from './router/shared';
|
|
1004
1032
|
export { default as FmApp } from './App.vue';
|
|
1033
|
+
export { default as InventoryBindingForm } from './views/ingredients/components/inventory-binding/InventoryBindingForm.vue';
|
|
1034
|
+
export { useInventoryStore } from './stores/inventory';
|
package/dist/app.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ah as e, _ as r, af as n, ag as o, u as t } from "./app-YOcJA0qj.js";
|
|
2
2
|
export {
|
|
3
3
|
e as FmApp,
|
|
4
|
-
r as
|
|
5
|
-
|
|
4
|
+
r as InventoryBindingForm,
|
|
5
|
+
n as i18nMessages,
|
|
6
|
+
o as routers,
|
|
7
|
+
t as useInventoryStore
|
|
6
8
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as l, a as f } from "./xlsx-
|
|
2
|
-
import { defineComponent as _, resolveComponent as d, openBlock as
|
|
3
|
-
import {
|
|
1
|
+
import { u as l, a as f } from "./xlsx-CUjMCYbh.js";
|
|
2
|
+
import { defineComponent as _, resolveComponent as d, openBlock as y, createElementBlock as h, renderSlot as F, createVNode as p, withCtx as v, createElementVNode as g, ref as k } from "vue";
|
|
3
|
+
import { n as x, j as I } from "./app-YOcJA0qj.js";
|
|
4
4
|
import { useCoreStore as w } from "@feedmepos/mf-common";
|
|
5
5
|
function S(e, t) {
|
|
6
6
|
return t.map((r) => typeof r.selector == "function" ? r.selector(e) : e[r.selector]);
|
|
@@ -31,7 +31,7 @@ const O = { class: "flex items-center gap-8" }, E = { class: "p-4 bg-fm-color-sy
|
|
|
31
31
|
setup(e) {
|
|
32
32
|
return (t, r) => {
|
|
33
33
|
const o = d("FmIcon"), s = d("FmTooltip");
|
|
34
|
-
return
|
|
34
|
+
return y(), h("div", O, [
|
|
35
35
|
F(t.$slots, "default"),
|
|
36
36
|
p(s, {
|
|
37
37
|
variant: "plain",
|
|
@@ -53,12 +53,7 @@ const O = { class: "flex items-center gap-8" }, E = { class: "p-4 bg-fm-color-sy
|
|
|
53
53
|
]);
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
})
|
|
57
|
-
function T(e) {
|
|
58
|
-
let t = e.substring(e.indexOf("_") + 1);
|
|
59
|
-
return t.includes("_") && (t = t.substring(0, t.lastIndexOf("_"))), Number.isNaN(Date.parse(t)) ? null : new Date(t).toISOString();
|
|
60
|
-
}
|
|
61
|
-
const m = x((e, t) => {
|
|
56
|
+
}), m = x((e, t) => {
|
|
62
57
|
const r = I(), o = w();
|
|
63
58
|
return {
|
|
64
59
|
async getInventoryForecast() {
|
|
@@ -88,7 +83,7 @@ function $() {
|
|
|
88
83
|
};
|
|
89
84
|
}
|
|
90
85
|
const c = k($());
|
|
91
|
-
function
|
|
86
|
+
function T() {
|
|
92
87
|
return {
|
|
93
88
|
// state
|
|
94
89
|
get inventoryForecast() {
|
|
@@ -114,9 +109,13 @@ function M() {
|
|
|
114
109
|
}
|
|
115
110
|
};
|
|
116
111
|
}
|
|
112
|
+
function M(e) {
|
|
113
|
+
let t = e.substring(e.indexOf("_") + 1);
|
|
114
|
+
return t.includes("_") && (t = t.substring(0, t.lastIndexOf("_"))), Number.isNaN(Date.parse(t)) ? null : new Date(t).toISOString();
|
|
115
|
+
}
|
|
117
116
|
export {
|
|
118
117
|
L as _,
|
|
119
118
|
P as e,
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
M as i,
|
|
120
|
+
T as u
|
|
122
121
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { components as
|
|
2
|
-
import { h as i, defineComponent as I, computed as
|
|
3
|
-
import {
|
|
4
|
-
const { FmMenu: S, FmButton: $, FmMenuItem: j } =
|
|
1
|
+
import { components as B, useBreakpoints as M } from "@feedmepos/ui-library";
|
|
2
|
+
import { h as i, defineComponent as I, computed as R, resolveComponent as _, openBlock as a, createBlock as x, normalizeClass as V, withCtx as L, createElementVNode as d, renderSlot as z, normalizeProps as N, guardReactiveProps as P, createElementBlock as c, Fragment as h, renderList as D, createVNode as k, unref as b, createCommentVNode as w } from "vue";
|
|
3
|
+
import { aa as E } from "./app-YOcJA0qj.js";
|
|
4
|
+
const { FmMenu: S, FmButton: $, FmMenuItem: j } = B;
|
|
5
5
|
function Q(o, n) {
|
|
6
6
|
return i(
|
|
7
7
|
S,
|
|
@@ -68,15 +68,15 @@ const y = I({
|
|
|
68
68
|
actionColumnId: { default: "action" }
|
|
69
69
|
},
|
|
70
70
|
setup(o) {
|
|
71
|
-
const n = o, t =
|
|
71
|
+
const n = o, t = R(
|
|
72
72
|
() => n.row.getVisibleCells().reduce(
|
|
73
73
|
(e, r) => (e[r.column.id] = r, e),
|
|
74
74
|
{}
|
|
75
75
|
)
|
|
76
76
|
);
|
|
77
77
|
return (e, r) => {
|
|
78
|
-
const F =
|
|
79
|
-
return
|
|
78
|
+
const F = _("FmListItem");
|
|
79
|
+
return a(), x(F, {
|
|
80
80
|
class: V([
|
|
81
81
|
"px-12 py-16 w-full border-b border-fm-color-neutral-gray-100",
|
|
82
82
|
{
|
|
@@ -91,18 +91,18 @@ const y = I({
|
|
|
91
91
|
})
|
|
92
92
|
}, {
|
|
93
93
|
default: L(() => {
|
|
94
|
-
var m, s, p,
|
|
94
|
+
var m, s, p, u, f;
|
|
95
95
|
return [
|
|
96
96
|
d("div", A, [
|
|
97
97
|
d("div", H, [
|
|
98
98
|
z(e.$slots, "default", N(P(t.value)), () => [
|
|
99
99
|
d("div", T, [
|
|
100
|
-
(
|
|
100
|
+
(a(!0), c(h, null, D(n.row.getVisibleCells(), (l) => {
|
|
101
101
|
var C, g, v;
|
|
102
|
-
return
|
|
102
|
+
return a(), c(h, {
|
|
103
103
|
key: l.id
|
|
104
104
|
}, [
|
|
105
|
-
l.column.id !== e.actionColumnId ? (
|
|
105
|
+
l.column.id !== e.actionColumnId ? (a(), c("div", q, [
|
|
106
106
|
k(b(y), {
|
|
107
107
|
render: (g = (C = l.column) == null ? void 0 : C.columnDef) == null ? void 0 : g.cell,
|
|
108
108
|
props: (v = l.getContext) == null ? void 0 : v.call(l)
|
|
@@ -113,11 +113,11 @@ const y = I({
|
|
|
113
113
|
])
|
|
114
114
|
])
|
|
115
115
|
]),
|
|
116
|
-
t.value[e.actionColumnId ?? ""] ? (
|
|
116
|
+
t.value[e.actionColumnId ?? ""] ? (a(), c("div", G, [
|
|
117
117
|
d("div", null, [
|
|
118
118
|
k(b(y), {
|
|
119
119
|
render: (p = (s = (m = t.value[e.actionColumnId ?? ""]) == null ? void 0 : m.column) == null ? void 0 : s.columnDef) == null ? void 0 : p.cell,
|
|
120
|
-
props: (f = (
|
|
120
|
+
props: (f = (u = t.value[e.actionColumnId ?? ""]) == null ? void 0 : u.getContext) == null ? void 0 : f.call(u)
|
|
121
121
|
}, null, 8, ["render", "props"])
|
|
122
122
|
])
|
|
123
123
|
])) : w("", !0)
|
|
@@ -132,7 +132,7 @@ const y = I({
|
|
|
132
132
|
function W() {
|
|
133
133
|
return {
|
|
134
134
|
get tableHeight() {
|
|
135
|
-
const o = E(), { breakpoints: n } =
|
|
135
|
+
const o = E(), { breakpoints: n } = M();
|
|
136
136
|
return o.isIframeMode ? n.value.xs || n.value.sm ? {
|
|
137
137
|
height: "calc(100dvh - 180px)"
|
|
138
138
|
} : {
|
package/dist/router/name.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type useI18n } from '@feedmepos/mf-common';
|
|
2
1
|
export declare enum RouteName {
|
|
3
2
|
INGREDIENTS = "INGREDIENTS",
|
|
4
3
|
RECIPE = "RECIPE",
|
|
@@ -15,4 +14,4 @@ export declare enum RouteName {
|
|
|
15
14
|
IFRAME_INVENTORY_BINDINGS_DIALOG = "IFRAME_INVENTORY_BINDINGS_DIALOG",
|
|
16
15
|
IFRAME_INVENTORY_BINDINGS_PICKER = "IFRAME_INVENTORY_BINDINGS_PICKER"
|
|
17
16
|
}
|
|
18
|
-
export declare function getReadableRouteName(route: RouteName, t:
|
|
17
|
+
export declare function getReadableRouteName(route: RouteName, t: Translator): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as u, j as o, Q as c, T as l } from "./app-YOcJA0qj.js";
|
|
2
2
|
import { ref as d } from "vue";
|
|
3
3
|
const n = u((e, r) => {
|
|
4
4
|
const a = o();
|
|
@@ -27,7 +27,7 @@ function S() {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
const s = d(S());
|
|
30
|
-
function
|
|
30
|
+
function A() {
|
|
31
31
|
return {
|
|
32
32
|
// state
|
|
33
33
|
get suppliers() {
|
|
@@ -61,5 +61,5 @@ function f() {
|
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
export {
|
|
64
|
-
|
|
64
|
+
A as u
|
|
65
65
|
};
|