@feedmepos/mf-inventory-portal 0.0.25-dev.7 → 0.0.25-dev.8
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-qJehfAde.js → App-CKLQeRNl.js} +1 -1
- package/dist/{ApprovalView-BuqKIEPL.js → ApprovalView-BWO2tkbO.js} +6 -6
- package/dist/{BindingsDialog-BrF-YAJ2.js → BindingsDialog-C0kTZLOn.js} +9 -9
- package/dist/{BindingsPicker-DK41dcoG.js → BindingsPicker-DjcS3uTL.js} +10 -10
- package/dist/{BindingsTable-DxlRhKzN.js → BindingsTable-Ctpv958D.js} +10 -10
- package/dist/{ClosingDraftView-CpGQMN37.js → ClosingDraftView-CsAPSZPc.js} +2 -2
- package/dist/{ClosingTemplateView-4l891KsC.js → ClosingTemplateView-D0HWVhk3.js} +477 -492
- package/dist/{FmCustomAttribute.vue_vue_type_script_setup_true_lang-CyHyOhG6.js → FmCustomAttribute.vue_vue_type_script_setup_true_lang-BF0lKP9Y.js} +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DJfBmiRt.js +211 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-3LU_3Y8h.js → FmUnitInput.vue_vue_type_script_setup_true_lang-qZ7Kx-KR.js} +1 -1
- package/dist/{IngredientGroupView-Bjv9Kih7.js → IngredientGroupView-Dc3glXN3.js} +1 -1
- package/dist/{IngredientsView-ChJbe-U_.js → IngredientsView-btzrUQ1-.js} +392 -382
- package/dist/{IntegrationView-Cmh47qP7.js → IntegrationView-DO1SF1Ca.js} +660 -623
- package/dist/{InventoryBindingForm-GmcCTBqN.js → InventoryBindingForm-_2p-YetL.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQrjMOFh.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-B7ump1tl.js} +5 -5
- package/dist/{InventoryBindingSummary-w1pFGR3C.js → InventoryBindingSummary-CEdLu3d9.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cxr2xhRR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-kLdZ5acK.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CzxVUAC8.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Da0gmGST.js} +1 -1
- package/dist/{PublishView-pWAEdGLi.js → PublishView-CXTiPWIx.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-CZczBXL2.js → PurchaseOrderPrintPreview-DBviMTyA.js} +1 -1
- package/dist/{ReceiveRequestView-tWyQCrIN.js → ReceiveRequestView-Ct1AQDGK.js} +8 -8
- package/dist/{RecipeView-Dy1BBW3o.js → RecipeView-C0HiPNvf.js} +3 -3
- package/dist/{StockView-B0c0FiPr.js → StockView-BG8jsV_X.js} +7 -7
- package/dist/{SupplierView-BUs8xZPq.js → SupplierView-th75_ohq.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BA0HIuSW.js → TransferDetails.vue_vue_type_script_setup_true_lang-n7fH8GRs.js} +19 -19
- package/dist/{TransferTemplateView-MSbvSo96.js → TransferTemplateView-Dcz6xGR_.js} +443 -460
- package/dist/{UnitView-GBK0ovxt.js → UnitView-lnoMsoBN.js} +3 -3
- package/dist/{WarehouseView-CXoj99HO.js → WarehouseView-ChXcNnmp.js} +1 -1
- package/dist/{app-Du-JrqLm.js → app-B4RHEuan.js} +6283 -6208
- package/dist/app.js +1 -1
- package/dist/components/FmLockableField.vue.d.ts +3 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +9 -1
- package/dist/components/FmMultiselectDialogProps.d.ts +2 -0
- package/dist/{decimal-BXePRNLM.js → decimal-BocxWSo6.js} +1 -1
- package/dist/{format-unit-display-BdC0fMRb.js → format-unit-display-E_NtfEtV.js} +2 -2
- package/dist/helper/fuzzy.d.ts +10 -0
- package/dist/{index-irnhqIWw.js → index-B-MhJgPv.js} +3 -3
- package/dist/{index-cY9fiIBU.js → index-ro6xANOo.js} +1 -1
- package/dist/{stock-CE5Qq59r.js → stock-DpmweZQd.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-Cy-jlD0j.js → supplier--P-eubcS.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-ingredient-select-dialog-C7WZf5D4.js +52 -0
- package/dist/{use-inventory-binding-dialog-nHDQBRL3.js → use-inventory-binding-dialog-DW_kAtLh.js} +1 -1
- package/dist/views/ingredients/composables/use-ingredient-select-dialog.d.ts +16 -0
- package/dist/{vue-i18n-DIA7c33f.js → vue-i18n-SeWrkOlu.js} +134 -134
- package/package.json +3 -3
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DRqpc9k0.js +0 -286
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as x, onUnmounted as F, defineComponent as h, watch as P, onMounted as U, computed as g, resolveComponent as b, openBlock as S, createElementBlock as I, unref as v, createVNode as _, createElementVNode as p, toDisplayString as w, createBlock as G, createCommentVNode as M } from "vue";
|
|
2
|
-
import { u as k, a as D, b as H, R as e, c as B, g as s, d as W } from "./app-
|
|
2
|
+
import { u as k, a as D, b as H, R as e, c as B, g as s, d as W } from "./app-B4RHEuan.js";
|
|
3
3
|
import { useCoreStore as A, useI18n as O } from "@feedmepos/mf-common";
|
|
4
4
|
import { useRouter as C, useRoute as K } from "vue-router";
|
|
5
5
|
import { u as $ } from "./useTabStorage-BkIVScW_.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as ae, ref as g, watch as oe, computed as b, resolveComponent as re, openBlock as x, createBlock as J, unref as e, withCtx as y, 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, av as v,
|
|
3
|
-
import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, av as v, aG as de, a8 as K, z as fe, _ as ve, B as _e, E as he, G as _ } from "./app-B4RHEuan.js";
|
|
3
|
+
import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-n7fH8GRs.js";
|
|
4
4
|
import { useBreakpoints as xe } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as ye } from "@feedmepos/mf-common";
|
|
6
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 = {
|
|
@@ -85,7 +85,7 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
85
85
|
onRowClick: (t) => e(o).promptShowTransferDetails(t.purchaseOrder, t)
|
|
86
86
|
}, {
|
|
87
87
|
default: y((t) => {
|
|
88
|
-
var O, S, T, i, C, z,
|
|
88
|
+
var O, S, T, i, C, z, M, $, u, F, V, p, Y, m, q, E, L, N, P, d, j, A, G, H, f, U;
|
|
89
89
|
return [
|
|
90
90
|
s("div", we, [
|
|
91
91
|
s("div", Re, [
|
|
@@ -96,8 +96,8 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
96
96
|
]),
|
|
97
97
|
s("div", ke, [
|
|
98
98
|
n(e(_), {
|
|
99
|
-
render: (
|
|
100
|
-
props: (
|
|
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
101
|
}, null, 8, ["render", "props"])
|
|
102
102
|
]),
|
|
103
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),
|
|
@@ -109,7 +109,7 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
109
109
|
])) : ie("", !0),
|
|
110
110
|
s("div", Te, [
|
|
111
111
|
n(e(_), {
|
|
112
|
-
render: (
|
|
112
|
+
render: (H = (G = (A = t.purchaseOrder_status) == null ? void 0 : A.column) == null ? void 0 : G.columnDef) == null ? void 0 : H.cell,
|
|
113
113
|
props: (U = (f = t.purchaseOrder_status) == null ? void 0 : f.getContext) == null ? void 0 : U.call(f)
|
|
114
114
|
}, null, 8, ["render", "props"])
|
|
115
115
|
])
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { a as
|
|
1
|
+
import { defineComponent as w, ref as o, onMounted as C, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-B7ump1tl.js";
|
|
3
|
+
import { a as L, aM as S } from "./app-B4RHEuan.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
7
7
|
}, E = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "p-24 flex items-center justify-center gap-16"
|
|
10
|
-
}, D = /* @__PURE__ */
|
|
10
|
+
}, D = /* @__PURE__ */ w({
|
|
11
11
|
__name: "BindingsDialog",
|
|
12
12
|
setup(N) {
|
|
13
|
-
const p =
|
|
13
|
+
const p = L(), d = o(!0), s = o(new Array()), u = o(), t = S(y);
|
|
14
14
|
async function y() {
|
|
15
15
|
await p.readInventory(), u.value = t.onMessage("props:inventory-bindings", (e) => {
|
|
16
16
|
d.value = !1, s.value = e;
|
|
@@ -29,7 +29,7 @@ const U = {
|
|
|
29
29
|
t.sendMessage("@click:pick-inventory-bindings", e);
|
|
30
30
|
}
|
|
31
31
|
const m = o(), r = o(!0);
|
|
32
|
-
|
|
32
|
+
C(() => {
|
|
33
33
|
v();
|
|
34
34
|
const e = m.value;
|
|
35
35
|
e && new ResizeObserver(() => {
|
|
@@ -55,7 +55,7 @@ const U = {
|
|
|
55
55
|
}, [
|
|
56
56
|
d.value ? (i(), c("div", E, [
|
|
57
57
|
a(h, { size: "md" }),
|
|
58
|
-
n[2] || (n[2] =
|
|
58
|
+
n[2] || (n[2] = P("div", null, "Loading bindings dialog...", -1))
|
|
59
59
|
])) : (i(), I(B, {
|
|
60
60
|
key: 0,
|
|
61
61
|
onValidationSuccess: n[1] || (n[1] = () => r.value ? void 0 : b()),
|
|
@@ -64,9 +64,9 @@ const U = {
|
|
|
64
64
|
class: "flex flex-col gap-16"
|
|
65
65
|
}, {
|
|
66
66
|
default: R(() => [
|
|
67
|
-
a(
|
|
67
|
+
a(V, {
|
|
68
68
|
"model-value": s.value,
|
|
69
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
69
|
+
"onUpdate:modelValue": n[0] || (n[0] = (M) => s.value = M),
|
|
70
70
|
"iframe-mode": "",
|
|
71
71
|
"onClick:pickInventoryBindings": k
|
|
72
72
|
}, null, 8, ["model-value"]),
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as
|
|
1
|
+
import { defineComponent as R, computed as r, ref as l, onMounted as S, onUnmounted as U, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
+
import { a as V, aM as x, J as z } from "./app-B4RHEuan.js";
|
|
3
3
|
const F = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex flex-col gap-16"
|
|
6
6
|
}, K = { class: "flex justify-end gap-8 items-center" }, w = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "p-24 flex items-center justify-center gap-16"
|
|
9
|
-
}, N = /* @__PURE__ */
|
|
9
|
+
}, N = /* @__PURE__ */ R({
|
|
10
10
|
__name: "BindingsPicker",
|
|
11
11
|
setup(L) {
|
|
12
|
-
const d =
|
|
12
|
+
const d = V(), C = r(() => d.recipes), I = r(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = r(() => a.value === "SKU" ? I.value.map((s) => ({
|
|
13
13
|
label: s.name,
|
|
14
14
|
sublabel: s.code,
|
|
15
15
|
value: s
|
|
@@ -71,19 +71,19 @@ const F = {
|
|
|
71
71
|
}
|
|
72
72
|
), o.sendMessage("props:binding-items");
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function M() {
|
|
75
75
|
o.sendMessage("@close");
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function P() {
|
|
78
78
|
o.sendMessage("@submit:items", i.value);
|
|
79
79
|
}
|
|
80
80
|
const y = l();
|
|
81
|
-
return
|
|
81
|
+
return S(() => {
|
|
82
82
|
const e = y.value;
|
|
83
83
|
e && new ResizeObserver(() => {
|
|
84
84
|
o.sendMessage("resize", e.scrollHeight);
|
|
85
85
|
}).observe(e);
|
|
86
|
-
}),
|
|
86
|
+
}), U(() => {
|
|
87
87
|
var e, s;
|
|
88
88
|
(s = (e = _.value) == null ? void 0 : e.removeEventListener) == null || s.call(e);
|
|
89
89
|
}), (e, s) => {
|
|
@@ -106,11 +106,11 @@ const F = {
|
|
|
106
106
|
u(n, {
|
|
107
107
|
variant: "tertiary",
|
|
108
108
|
label: "Close",
|
|
109
|
-
onClick:
|
|
109
|
+
onClick: M
|
|
110
110
|
}),
|
|
111
111
|
u(n, {
|
|
112
112
|
label: "Submit",
|
|
113
|
-
onClick:
|
|
113
|
+
onClick: P
|
|
114
114
|
})
|
|
115
115
|
])
|
|
116
116
|
]))
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as _, ref as c, provide as C, computed as f, resolveComponent as b, openBlock as p, createBlock as h, h as z, onMounted as B, onUnmounted as I, createElementBlock as y, createVNode as N, createElementVNode as
|
|
2
|
-
import { F as v, a as
|
|
3
|
-
import { components as
|
|
1
|
+
import { defineComponent as _, ref as c, provide as C, computed as f, resolveComponent as b, openBlock as p, createBlock as h, h as z, onMounted as B, onUnmounted as I, createElementBlock as y, createVNode as N, createElementVNode as x } from "vue";
|
|
2
|
+
import { F as v, a as E, aM as F } from "./app-B4RHEuan.js";
|
|
3
|
+
import { components as L } from "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
|
-
const
|
|
5
|
+
const M = /* @__PURE__ */ _({
|
|
6
6
|
__name: "binding-ui",
|
|
7
7
|
props: {
|
|
8
8
|
items: { default: () => [] },
|
|
@@ -64,7 +64,7 @@ const P = /* @__PURE__ */ _({
|
|
|
64
64
|
size: 24,
|
|
65
65
|
cell(i) {
|
|
66
66
|
const e = a.value.find((n) => n.key === i.row.original.key);
|
|
67
|
-
return z(
|
|
67
|
+
return z(L.FmButton, {
|
|
68
68
|
icon: "edit",
|
|
69
69
|
bgColor: "white",
|
|
70
70
|
textColor: "neutral-grey-400",
|
|
@@ -87,13 +87,13 @@ const P = /* @__PURE__ */ _({
|
|
|
87
87
|
}, null, 8, ["row-data"]);
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
|
-
}),
|
|
90
|
+
}), P = {
|
|
91
91
|
key: 1,
|
|
92
92
|
class: "p-24 flex items-center justify-center gap-16"
|
|
93
93
|
}, D = /* @__PURE__ */ _({
|
|
94
94
|
__name: "BindingsTable",
|
|
95
95
|
setup(k) {
|
|
96
|
-
const d =
|
|
96
|
+
const d = E(), u = c(!0), o = c(new Array()), m = f(() => d.recipes), a = f(() => d.skus), g = c(""), i = F(n), e = c();
|
|
97
97
|
async function n() {
|
|
98
98
|
await d.readInventory(), e.value = i.onMessage(
|
|
99
99
|
"props:grouped-bindings",
|
|
@@ -124,10 +124,10 @@ const P = /* @__PURE__ */ _({
|
|
|
124
124
|
ref_key: "resizeableRef",
|
|
125
125
|
ref: l
|
|
126
126
|
}, [
|
|
127
|
-
u.value ? (p(), y("div",
|
|
127
|
+
u.value ? (p(), y("div", P, [
|
|
128
128
|
N(w, { size: "md" }),
|
|
129
|
-
r[0] || (r[0] =
|
|
130
|
-
])) : (p(), h(
|
|
129
|
+
r[0] || (r[0] = x("div", null, "Loading bindings table...", -1))
|
|
130
|
+
])) : (p(), h(M, {
|
|
131
131
|
key: 0,
|
|
132
132
|
items: o.value,
|
|
133
133
|
recipes: m.value,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as ye, ref as O, resolveComponent as E, openBlock as _, createBlock as ne, withCtx as N, createElementVNode as o, createTextVNode as ge, toDisplayString as L, unref as h, createVNode as D, h as $, computed as M, onMounted as He, watch as ze, isRef as _e, createElementBlock as F, Fragment as W, createCommentVNode as le, normalizeClass as ie, renderList as ue, normalizeStyle as we, Teleport as Ee, mergeProps as Le } from "vue";
|
|
2
|
-
import { X as Ne, u as be, af as q, m as Oe, K as he, j as C, t as Ve, L as ce, q as Ke, r as Ye, s as Ge, ag as ke, ah as je, a3 as Ce, ai as Se, aj as oe, a9 as qe, ae as X, V as Be, D as De, i as de, h as Ze, f as We, a as Xe, z as Je, _ as Qe, B as et, E as tt, G as me } from "./app-
|
|
2
|
+
import { X as Ne, u as be, af as q, m as Oe, K as he, j as C, t as Ve, L as ce, q as Ke, r as Ye, s as Ge, ag as ke, ah as je, a3 as Ce, ai as Se, aj as oe, a9 as qe, ae as X, V as Be, D as De, i as de, h as Ze, f as We, a as Xe, z as Je, _ as Qe, B as et, E as tt, G as me } from "./app-B4RHEuan.js";
|
|
3
3
|
import { useCoreStore as at, useI18n as Fe } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as Ae, useDialog as nt, useProxiedModel as ot, components as ae, useBreakpoints as st } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Re, storeToRefs as rt } from "pinia";
|
|
6
|
-
import { u as $e } from "./stock-
|
|
6
|
+
import { u as $e } from "./stock-DpmweZQd.js";
|
|
7
7
|
import { E as lt } from "./empty-placeholder-wf6-BWE8.js";
|
|
8
8
|
const Te = Ne((n, d) => {
|
|
9
9
|
function e() {
|