@feedmepos/mf-inventory-portal 1.0.10-dev.2 → 1.0.10-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-COPx00z6.js → App-l4jzZz2B.js} +2 -2
- package/dist/{ApprovalView-DEtUW_BD.js → ApprovalView-pI2KqhAM.js} +2 -2
- package/dist/{BindingsDialog-8WUk3Dv3.js → BindingsDialog-B5NR3aUs.js} +2 -2
- package/dist/{BindingsPicker-D8ABQZWj.js → BindingsPicker-XEQd0P-O.js} +1 -1
- package/dist/{BindingsTable-E4ObCYZW.js → BindingsTable-joZoNmA-.js} +1 -1
- package/dist/{ClosingDraftView-BuwTXzoD.js → ClosingDraftView-Czbf7PyV.js} +2 -2
- package/dist/{ClosingTemplateView-Dwlu2WDi.js → ClosingTemplateView-Di4ooMUW.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-CZQP0ZBf.js → DeliveryOrderPrintPreview-DrzLgjJs.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CIpktJ_p.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ina596Zt.js} +3 -3
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BAsfttD3.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DIqWc5Dd.js} +1 -1
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BtLdE9Qw.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CWh_2Uxr.js} +1 -1
- package/dist/{IngredientGroupView-DKncarkj.js → IngredientGroupView-CuIAGfZ0.js} +1 -1
- package/dist/{IngredientsView-DJhR4pNL.js → IngredientsView-BBbmdZw7.js} +4 -4
- package/dist/IntegrationView-jR-lVJFD.js +9612 -0
- package/dist/{InventoryBindingForm-CakKTaAx.js → InventoryBindingForm-B4Y9qwh5.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-qrYebXqE.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-7mfrPICj.js} +31 -31
- package/dist/{InventoryBindingSummary-ax4kqODn.js → InventoryBindingSummary-De7unho4.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BD8iRcNk.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B6QlAKSW.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D13DAIwe.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CrSyRk_D.js} +1 -1
- package/dist/{PublishView-BMQzmmkT.js → PublishView-Dgk2MSw2.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-CdbxZWLq.js → PurchaseOrderPrintPreview-CNHaBzZN.js} +1 -1
- package/dist/{ReceiveRequestView-Blxchs0k.js → ReceiveRequestView-BybKYygC.js} +9 -9
- package/dist/{RecipeView-Bnigp2lS.js → RecipeView-14vPYYbY.js} +3 -3
- package/dist/{StockView-B4p6XQPR.js → StockView-yHYxCPrw.js} +7 -7
- package/dist/{SupplierView-ojORzTSY.js → SupplierView-DGhFEzcI.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-G478rFCP.js → TransferDetails.vue_vue_type_script_setup_true_lang-Cx0idoW5.js} +6 -6
- package/dist/{TransferTemplateView-DTN23wTJ.js → TransferTemplateView-D-wv8s6l.js} +7 -7
- package/dist/{UnitView-w-bUgjIw.js → UnitView-3tR5QLsQ.js} +3 -3
- package/dist/{WarehouseView-cJ7u4vTr.js → WarehouseView-CnijW-n9.js} +1 -1
- package/dist/{app-DtLEhFCD.js → app-BHu45pdq.js} +6883 -6980
- package/dist/app.js +5 -5
- package/dist/{decimal-D0mDm48J.js → decimal-4K1H5vq1.js} +1 -1
- package/dist/{feature-GZEf4CLT.js → feature-IimaQ0YM.js} +2 -2
- package/dist/{format-unit-display-Dl7kbJn1.js → format-unit-display-ButdcliX.js} +2 -2
- package/dist/{index-BglOiNaU.js → index-B7Ct1j-A.js} +2 -2
- package/dist/{index-DKLr1Nm9.js → index-DnOnkr3L.js} +1 -1
- package/dist/{stock-V0Qm2pTD.js → stock-_PILi5j9.js} +1 -1
- package/dist/{supplier-DK4PWcz4.js → supplier-iZkILTHb.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BfJ-qHni.js → use-ingredient-select-dialog-CO6QUE9q.js} +1 -1
- package/dist/{use-inventory-binding-dialog-C5IYjwW5.js → use-inventory-binding-dialog-Dfdizb-l.js} +1 -1
- package/dist/{vue-i18n-3LoKMrMa.js → vue-i18n-mlupysSx.js} +135 -135
- package/package.json +6 -5
- package/dist/IntegrationView-DbehNBiT.js +0 -10361
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as Z, O as ee,
|
|
3
|
-
import { u as le } from "./use-inventory-binding-dialog-
|
|
4
|
-
import { _ as re, c as se, d as de } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as J, computed as b, reactive as Q, resolveComponent as x, openBlock as m, createElementBlock as f, createVNode as c, withCtx as F, createElementVNode as n, toDisplayString as v, unref as l, createBlock as V, createCommentVNode as _, Fragment as S, renderList as T, nextTick as X } from "vue";
|
|
2
|
+
import { a as Z, O as ee, b7 as ne, i as B, b8 as oe, L as N, K as te, F as ie } from "./app-BHu45pdq.js";
|
|
3
|
+
import { u as le } from "./use-inventory-binding-dialog-Dfdizb-l.js";
|
|
4
|
+
import { _ as re, c as se, d as de } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DIqWc5Dd.js";
|
|
5
5
|
import { useI18n as ae } from "@feedmepos/mf-common";
|
|
6
|
-
const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-16" }, ce = { class: "flex items-center" }, pe = { class: "flex-1 fm-typo-en-title-sm-600" }, ye = { class: "flex flex-col" }, fe = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, ve = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" },
|
|
6
|
+
const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-16" }, ce = { class: "flex items-center" }, pe = { class: "flex-1 fm-typo-en-title-sm-600" }, ye = { class: "flex flex-col" }, fe = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, ve = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, be = {
|
|
7
7
|
class: "flex items-center w-full border-b border-fm-color-neutral-gray-100",
|
|
8
8
|
style: { "min-height": "48px" }
|
|
9
|
-
},
|
|
9
|
+
}, _e = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, ge = { class: "flex flex-col" }, xe = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "flex gap-4 text-fm-color-system-error-300 fm-typo-en-body-sm-400"
|
|
12
12
|
}, he = { class: "w-[200px]" }, Ve = {
|
|
@@ -18,7 +18,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
18
18
|
}, Ae = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Re = { class: "line-clamp-1" }, Se = { class: "w-[150px]" }, Te = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "w-[52px]"
|
|
21
|
-
}, Ne = { class: "flex flex-col px-12 pb-4" }, ze = /* @__PURE__ */
|
|
21
|
+
}, Ne = { class: "flex flex-col px-12 pb-4" }, ze = /* @__PURE__ */ J({
|
|
22
22
|
__name: "InventoryBindingForm",
|
|
23
23
|
props: {
|
|
24
24
|
id: {},
|
|
@@ -31,19 +31,19 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["update:modelValue", "click:pick-inventory-bindings"],
|
|
33
33
|
setup(P, { emit: M }) {
|
|
34
|
-
const { t: p } = ae(), I = Z(), w =
|
|
34
|
+
const { t: p } = ae(), I = Z(), w = b(() => I.inventory.recipe ?? []), h = b(() => I.inventory.sku ?? []), r = P, y = M, U = b(() => ee({
|
|
35
35
|
bindings: r.modelValue,
|
|
36
36
|
recipes: w.value.map((t) => t._id === r.id ? {
|
|
37
37
|
...t,
|
|
38
38
|
contains: r.modelValue
|
|
39
39
|
} : t),
|
|
40
40
|
skus: h.value
|
|
41
|
-
}).inventoryBindings.filter((t) => "error" in t && t.error).map((t) => t).filter((t) => t.reason === ne.enum.circularDependency)), D =
|
|
41
|
+
}).inventoryBindings.filter((t) => "error" in t && t.error).map((t) => t).filter((t) => t.reason === ne.enum.circularDependency)), D = b(
|
|
42
42
|
() => new Set(U.value.map((e) => {
|
|
43
43
|
var o;
|
|
44
44
|
return (o = e.bindingPaths[0]) == null ? void 0 : o.id;
|
|
45
45
|
}))
|
|
46
|
-
), K =
|
|
46
|
+
), K = b(() => r.modelValue.filter((e) => e.type === "RECIPE")), { promptIngredientsBinding: $, promptRecipesBinding: z } = le();
|
|
47
47
|
async function G() {
|
|
48
48
|
if (r.iframeMode) {
|
|
49
49
|
y("click:pick-inventory-bindings", "RECIPE");
|
|
@@ -55,7 +55,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
55
55
|
r.id ? [r.id] : []
|
|
56
56
|
);
|
|
57
57
|
}
|
|
58
|
-
const E =
|
|
58
|
+
const E = b(() => r.modelValue.filter((e) => e.type === "SKU") ?? []);
|
|
59
59
|
async function L() {
|
|
60
60
|
if (r.iframeMode) {
|
|
61
61
|
y("click:pick-inventory-bindings", "SKU");
|
|
@@ -68,7 +68,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
68
68
|
r.id ? [r.id] : []
|
|
69
69
|
);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function j(e, o, t) {
|
|
72
72
|
const s = +o;
|
|
73
73
|
let d = t;
|
|
74
74
|
o.length > 0 && isFinite(s) ? d = t.map((a) => (a.id !== e || (a.amount = te(s)), a)) : d = t.map((a) => (a.id !== e || (a.amount = { amount: 0, precision: 0 }), a)), y("update:modelValue", d);
|
|
@@ -85,10 +85,10 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
85
85
|
throw new Error(`Cannot find ingredient: ${e.id}`);
|
|
86
86
|
return (s = h.value.find((d) => d._id === e.id)) == null ? void 0 : s.unit;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function O(e) {
|
|
89
89
|
return { amount: e.amount, measurement: e.measurement };
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function Y(e, o, t) {
|
|
92
92
|
const s = t.map((d) => d.id !== e ? d : {
|
|
93
93
|
...d,
|
|
94
94
|
amount: o.amount,
|
|
@@ -96,7 +96,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
96
96
|
});
|
|
97
97
|
y("update:modelValue", s);
|
|
98
98
|
}
|
|
99
|
-
const R =
|
|
99
|
+
const R = Q({});
|
|
100
100
|
function W(e) {
|
|
101
101
|
return R[e.id] ?? {
|
|
102
102
|
modelValue: {
|
|
@@ -106,8 +106,8 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
106
106
|
amountAsString: B(e.amount)
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
109
|
+
function q(e, o) {
|
|
110
|
+
X(() => {
|
|
111
111
|
R[e.id] = {
|
|
112
112
|
modelValue: {
|
|
113
113
|
amount: e.amount,
|
|
@@ -118,7 +118,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
return (e, o) => {
|
|
121
|
-
const t = x("FmFormGroup"), s = x("FmButton"), d = x("FmIcon"), a = x("FmTextField"),
|
|
121
|
+
const t = x("FmFormGroup"), s = x("FmButton"), d = x("FmIcon"), a = x("FmTextField"), H = x("FmTooltip");
|
|
122
122
|
return m(), f("div", ue, [
|
|
123
123
|
c(t, {
|
|
124
124
|
disabled: e.disabled,
|
|
@@ -133,7 +133,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
133
133
|
n("div", me, [
|
|
134
134
|
n("div", ce, [
|
|
135
135
|
n("div", pe, v(l(p)("inventory.inventoryBindings.recipe")), 1),
|
|
136
|
-
e.readonly ?
|
|
136
|
+
e.readonly ? _("", !0) : (m(), V(s, {
|
|
137
137
|
key: 0,
|
|
138
138
|
variant: "secondary",
|
|
139
139
|
"text-color": "primary",
|
|
@@ -158,8 +158,8 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
158
158
|
default: F(({ invalid: k }) => {
|
|
159
159
|
var g;
|
|
160
160
|
return [
|
|
161
|
-
n("div",
|
|
162
|
-
n("div",
|
|
161
|
+
n("div", be, [
|
|
162
|
+
n("div", _e, [
|
|
163
163
|
n("div", ge, [
|
|
164
164
|
n("div", null, v((g = w.value.find((u) => u._id === i.id)) == null ? void 0 : g.name), 1),
|
|
165
165
|
D.value.has(i.id) ? (m(), f("div", xe, [
|
|
@@ -169,7 +169,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
169
169
|
size: "sm"
|
|
170
170
|
}),
|
|
171
171
|
o[3] || (o[3] = n("div", null, "There is circular linking in your binding.", -1))
|
|
172
|
-
])) :
|
|
172
|
+
])) : _("", !0)
|
|
173
173
|
])
|
|
174
174
|
]),
|
|
175
175
|
n("div", he, [
|
|
@@ -177,11 +177,11 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
177
177
|
class: "w-full",
|
|
178
178
|
disabled: e.disabled,
|
|
179
179
|
modelValue: +l(B)(i.amount ?? { amount: 1, precision: 0 }),
|
|
180
|
-
"onUpdate:modelValue": (u) =>
|
|
180
|
+
"onUpdate:modelValue": (u) => j(i.id, u, e.modelValue),
|
|
181
181
|
invalid: k
|
|
182
182
|
}, null, 8, ["disabled", "modelValue", "onUpdate:modelValue", "invalid"])
|
|
183
183
|
]),
|
|
184
|
-
e.readonly ?
|
|
184
|
+
e.readonly ? _("", !0) : (m(), f("div", Ve, [
|
|
185
185
|
c(s, {
|
|
186
186
|
disabled: e.disabled,
|
|
187
187
|
type: "button",
|
|
@@ -201,7 +201,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
201
201
|
n("div", Be, [
|
|
202
202
|
n("div", ke, [
|
|
203
203
|
n("div", Fe, v(l(p)("inventory.inventoryBindings.ingredient")), 1),
|
|
204
|
-
e.readonly ?
|
|
204
|
+
e.readonly ? _("", !0) : (m(), V(s, {
|
|
205
205
|
key: 0,
|
|
206
206
|
variant: "secondary",
|
|
207
207
|
"text-color": "primary",
|
|
@@ -226,7 +226,7 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
226
226
|
n("div", Ce, [
|
|
227
227
|
n("div", Ae, [
|
|
228
228
|
n("span", Re, v((g = h.value.find((u) => u._id === i.id)) == null ? void 0 : g.name), 1),
|
|
229
|
-
U.value.length ? (m(), V(
|
|
229
|
+
U.value.length ? (m(), V(H, {
|
|
230
230
|
key: 0,
|
|
231
231
|
variant: "plain",
|
|
232
232
|
placement: "bottom",
|
|
@@ -242,20 +242,20 @@ const ue = { class: "flex flex-col gap-24" }, me = { class: "flex flex-col gap-1
|
|
|
242
242
|
})
|
|
243
243
|
]),
|
|
244
244
|
_: 1
|
|
245
|
-
}, 8, ["content"])) :
|
|
245
|
+
}, 8, ["content"])) : _("", !0)
|
|
246
246
|
]),
|
|
247
247
|
n("div", Se, [
|
|
248
248
|
c(re, {
|
|
249
|
-
"model-value":
|
|
250
|
-
"onUpdate:modelValue": (u) =>
|
|
251
|
-
"onUpdate:amount": (u) =>
|
|
249
|
+
"model-value": O(i),
|
|
250
|
+
"onUpdate:modelValue": (u) => Y(i.id, u, e.modelValue),
|
|
251
|
+
"onUpdate:amount": (u) => q(i, u),
|
|
252
252
|
unit: A(i),
|
|
253
253
|
placement: k === E.value.length - 1 ? "top" : "bottom",
|
|
254
254
|
"convert-amount-on-change-unit": "",
|
|
255
255
|
disabled: e.readonly
|
|
256
256
|
}, null, 8, ["model-value", "onUpdate:modelValue", "onUpdate:amount", "unit", "placement", "disabled"])
|
|
257
257
|
]),
|
|
258
|
-
e.readonly ?
|
|
258
|
+
e.readonly ? _("", !0) : (m(), f("div", Te, [
|
|
259
259
|
c(s, {
|
|
260
260
|
disabled: e.disabled,
|
|
261
261
|
type: "button",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock as d, h as g } from "vue";
|
|
2
2
|
import { useI18n as p } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as u } from "@feedmepos/ui-library";
|
|
4
|
-
import { F as r } from "./app-
|
|
4
|
+
import { F as r } from "./app-BHu45pdq.js";
|
|
5
5
|
const w = /* @__PURE__ */ l({
|
|
6
6
|
__name: "InventoryBindingSummary",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, computed as V, ref as w, watch as h, resolveComponent as u, openBlock as F, createBlock as A, withCtx as s, createVNode as g, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import { K as d } from "./app-
|
|
2
|
+
import { K as d } from "./app-BHu45pdq.js";
|
|
3
3
|
const _ = ["value", "disabled"], D = /* @__PURE__ */ y({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aw as d, ax as f, X as _, u as h } from "./app-
|
|
1
|
+
import { aw as d, ax as f, X as _, u as h } from "./app-BHu45pdq.js";
|
|
2
2
|
import { useCoreStore as F } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as y, defineComponent as v, resolveComponent as p, openBlock as k, createElementBlock as g, renderSlot as x, createVNode as l, withCtx as S } from "vue";
|
|
4
4
|
function w(e, t) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as Q, ref as D, computed as r, resolveComponent as s, openBlock as I, createBlock as B, unref as v, createSlots as X, withCtx as u, createElementVNode as h, normalizeClass as Z, createVNode as n, normalizeStyle as ee, Teleport as te, h as f } from "vue";
|
|
2
|
-
import { u as oe, a as ne, aM as ae, z as se, _ as le, ae as H } from "./app-
|
|
2
|
+
import { u as oe, a as ne, aM as ae, z as se, _ as le, ae as H } from "./app-BHu45pdq.js";
|
|
3
3
|
import { useBreakpoints as ie, useDialog as re, useSnackbar as ue, components as R } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as ce } from "./vue-i18n-
|
|
4
|
+
import { u as ce } from "./vue-i18n-mlupysSx.js";
|
|
5
5
|
const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
|
|
6
6
|
__name: "PublishView",
|
|
7
7
|
setup(ye) {
|
package/dist/{PurchaseOrderPrintPreview-CdbxZWLq.js → PurchaseOrderPrintPreview-CNHaBzZN.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, computed as x, ref as m, onMounted as f, openBlock as n, createElementBlock as u, createElementVNode as t, toDisplayString as l, normalizeStyle as g, createTextVNode as i, Fragment as d, createCommentVNode as p, renderList as v, normalizeClass as w } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { aq as y, ad as R } from "./app-
|
|
3
|
+
import { aq as y, ad as R } from "./app-BHu45pdq.js";
|
|
4
4
|
const C = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "text-right" }, P = { class: "header" }, D = { class: "sub-header" }, E = { class: "caption" }, O = { class: "address" }, S = { class: "text-right" }, q = { class: "sub-header" }, T = { class: "address" }, F = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, z = { style: { "padding-top": "30px" } }, B = { valign: "bottom" }, H = { class: "header" }, I = { class: "caption" }, M = {
|
|
5
5
|
class: "text-left",
|
|
6
6
|
style: { width: "20%" }
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { reactive as yt, onMounted as Be, watch as fe, computed as q, h as j, defineComponent as le, openBlock as k, createElementBlock as T, Fragment as ae, renderList as Ce, createElementVNode as l, toDisplayString as A, unref as t, resolveComponent as I, createVNode as d, withCtx as V, createCommentVNode as B, ref as E, createBlock as Q, normalizeClass as K, normalizeStyle as bt, createTextVNode as Fe, nextTick as $t, mergeProps as Ke, isRef as ke, createSlots as Dt, Teleport as It, normalizeProps as Tt, guardReactiveProps as Vt } from "vue";
|
|
2
|
-
import { H as Qe, b as ze, $ as gt, l as Re, i as xe, a1 as Xe, K as Pt, an as Rt, A as Ne, M as At, m as _t, a8 as Ze, E as de, ao as Et, a as Le, ap as qt, aq as Ut, ar as Mt, G as ht, u as Ge, as as Ot, at as Nt, a0 as Bt, V as zt, au as Lt, C as kt, d as Pe, w as Ht, x as jt, y as Yt, av as Oe, a2 as ct, z as Kt, _ as Qt, B as Xt, N as mt } from "./app-
|
|
3
|
-
import { u as We, a as Zt, P as Ye, b as Gt, _ as Wt, g as Jt } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as xt, u as es, i as ts, e as ss } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { H as Qe, b as ze, $ as gt, l as Re, i as xe, a1 as Xe, K as Pt, an as Rt, A as Ne, M as At, m as _t, a8 as Ze, E as de, ao as Et, a as Le, ap as qt, aq as Ut, ar as Mt, G as ht, u as Ge, as as Ot, at as Nt, a0 as Bt, V as zt, au as Lt, C as kt, d as Pe, w as Ht, x as jt, y as Yt, av as Oe, a2 as ct, z as Kt, _ as Qt, B as Xt, N as mt } from "./app-BHu45pdq.js";
|
|
3
|
+
import { u as We, a as Zt, P as Ye, b as Gt, _ as Wt, g as Jt } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Cx0idoW5.js";
|
|
4
|
+
import { _ as xt, u as es, i as ts, e as ss } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-CrSyRk_D.js";
|
|
5
5
|
import { u as os } from "./useTabStorage-BkIVScW_.js";
|
|
6
6
|
import { useDialog as Ct, useBreakpoints as Je, components as pe, FmButtonVariant as as, useSnackbar as $e, useProxiedModel as St } from "@feedmepos/ui-library";
|
|
7
|
-
import { P as te, u as wt } from "./format-unit-display-
|
|
8
|
-
import { _ as ls, F as ns, a as rs, b as is } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { u as et } from "./feature-
|
|
10
|
-
import { c as ye, u as us, _ as ds } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { P as te, u as wt } from "./format-unit-display-ButdcliX.js";
|
|
8
|
+
import { _ as ls, F as ns, a as rs, b as is } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DIqWc5Dd.js";
|
|
9
|
+
import { u as et } from "./feature-IimaQ0YM.js";
|
|
10
|
+
import { c as ye, u as us, _ as ds } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ina596Zt.js";
|
|
11
11
|
import { useI18n as ce } from "@feedmepos/mf-common";
|
|
12
12
|
import { defineStore as cs } from "pinia";
|
|
13
|
-
import { u as tt } from "./supplier-
|
|
13
|
+
import { u as tt } from "./supplier-iZkILTHb.js";
|
|
14
14
|
import { _ as ms } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
15
|
-
import { u as ps } from "./vue-i18n-
|
|
15
|
+
import { u as ps } from "./vue-i18n-mlupysSx.js";
|
|
16
16
|
import "./array-hChJVZLE.js";
|
|
17
17
|
cs("inventoryMultiSelectDialog", () => {
|
|
18
18
|
const v = Ct(), { t: _ } = ce();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as Ge, ref as pe, onMounted as ll, resolveComponent as z, openBlock as T, createElementBlock as ue, Fragment as Ie, createElementVNode as B, toDisplayString as kn, createVNode as S, createCommentVNode as je, mergeModels as el, useModel as by, unref as ne, createBlock as de, computed as Ze, watch as Jn, renderList as $t, withCtx as Ae, renderSlot as ky, mergeProps as xy, normalizeClass as cl, isRef as tl, normalizeStyle as wy, Teleport as Ay, normalizeProps as Cy, guardReactiveProps as $y } from "vue";
|
|
2
|
-
import { a as qt, d as ut, e as yu, S as Vy, f as Oy, D as nl, h as Ra, i as Sa, F as rl, G as jy, l as dl, A as fl, U as Ry, p as al, q as Sy, s as Ey, r as Iy, u as Zy, z as Fy, _ as Ty, B as Ny, C as Py, E as il } from "./app-
|
|
2
|
+
import { a as qt, d as ut, e as yu, S as Vy, f as Oy, D as nl, h as Ra, i as Sa, F as rl, G as jy, l as dl, A as fl, U as Ry, p as al, q as Sy, s as Ey, r as Iy, u as Zy, z as Fy, _ as Ty, B as Ny, C as Py, E as il } from "./app-BHu45pdq.js";
|
|
3
3
|
import { useDialog as pl, useSnackbar as hl, useBreakpoints as ml, useDialogChild as Uy, useProxiedModel as ul } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as My, _ as Dy } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
|
-
import { _ as vl } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as vl } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-CWh_2Uxr.js";
|
|
6
6
|
import { defineStore as Ly, storeToRefs as By } from "pinia";
|
|
7
7
|
import { useI18n as Da } from "@feedmepos/mf-common";
|
|
8
|
-
import { _ as yl } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as yl } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-7mfrPICj.js";
|
|
9
9
|
import { _ as zy } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
10
10
|
const Wy = {
|
|
11
11
|
key: 0,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as ie, ref as O, computed as U, resolveComponent as M, openBlock as A, createBlock as Y, withCtx as D, createElementVNode as t, normalizeClass as ge, toDisplayString as h, createVNode as g, createElementBlock as R, Fragment as X, renderList as le, unref as r, h as _e, watch as be, isRef as Ie, createCommentVNode as ne, reactive as at, onMounted as Ge, normalizeStyle as Je, createTextVNode as ce, Teleport as rt, normalizeProps as we, mergeProps as $e } from "vue";
|
|
2
|
-
import { u as pe, N as lt, e as Te, f as it, a as Ue, F as Le, O as ut, P as Be, i as de, J as ct, t as xe, L as De, A as dt, M as mt, K as fe, Q as pt, T as te, V as vt, W as Ne, l as ft, H as yt, X as _t, Y as kt, Z as Qe, $ as q, a0 as ht, r as Xe, a1 as ke, a2 as gt, a3 as bt, n as Ae, k as ze, o as xt, a4 as St, a5 as Ft, a6 as wt, a7 as $t, a8 as At, z as Ct, _ as Vt, B as Mt, C as Bt, E as Ye } from "./app-
|
|
3
|
-
import { u as Pe, a as He } from "./stock-
|
|
4
|
-
import { g as Se } from "./decimal-
|
|
5
|
-
import { e as Dt, u as Ze, i as et, _ as Ke } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as pe, N as lt, e as Te, f as it, a as Ue, F as Le, O as ut, P as Be, i as de, J as ct, t as xe, L as De, A as dt, M as mt, K as fe, Q as pt, T as te, V as vt, W as Ne, l as ft, H as yt, X as _t, Y as kt, Z as Qe, $ as q, a0 as ht, r as Xe, a1 as ke, a2 as gt, a3 as bt, n as Ae, k as ze, o as xt, a4 as St, a5 as Ft, a6 as wt, a7 as $t, a8 as At, z as Ct, _ as Vt, B as Mt, C as Bt, E as Ye } from "./app-BHu45pdq.js";
|
|
3
|
+
import { u as Pe, a as He } from "./stock-_PILi5j9.js";
|
|
4
|
+
import { g as Se } from "./decimal-4K1H5vq1.js";
|
|
5
|
+
import { e as Dt, u as Ze, i as et, _ as Ke } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-CrSyRk_D.js";
|
|
6
6
|
import { _ as je, S as Ce, g as tt } from "./StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js";
|
|
7
7
|
import { _ as jt } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
8
8
|
import { useI18n as ue, useCoreStore as It } from "@feedmepos/mf-common";
|
|
9
9
|
import { useSnackbar as ye, useDialog as nt, useProxiedModel as Ee, useBreakpoints as Tt } from "@feedmepos/ui-library";
|
|
10
10
|
import { defineStore as Ut } from "pinia";
|
|
11
|
-
import { u as Pt } from "./use-inventory-binding-dialog-
|
|
12
|
-
import { _ as Ht } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { u as Pt } from "./use-inventory-binding-dialog-Dfdizb-l.js";
|
|
12
|
+
import { _ as Ht } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B6QlAKSW.js";
|
|
13
13
|
import { E as Et } from "./empty-placeholder-wf6-BWE8.js";
|
|
14
14
|
import "./array-hChJVZLE.js";
|
|
15
|
-
import { u as Rt } from "./feature-
|
|
15
|
+
import { u as Rt } from "./feature-IimaQ0YM.js";
|
|
16
16
|
var he = /* @__PURE__ */ ((f) => (f.History = "History", f.Convert = "Convert", f.Adjust = "Adjust", f))(he || {});
|
|
17
17
|
const Ot = [
|
|
18
18
|
{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as Q, mergeModels as Bd, computed as I, useModel as Gd, resolveComponent as T, openBlock as S, createElementBlock as F, createElementVNode as g, createVNode as N, withCtx as k, toDisplayString as w, unref as u, Fragment as q, renderList as ee, ref as D, createBlock as j, createCommentVNode as K, isRef as Je, normalizeClass as J, createTextVNode as Hd, watch as Id, createSlots as jd, normalizeStyle as Kd, Teleport as Wd } from "vue";
|
|
2
|
-
import { u as re } from "./supplier-
|
|
3
|
-
import { b as Ie, f as Yd, D as Qe, h as ie, e as _e, a as Fd, n as ed, o as dd, j as Xd, H as Zd, v as Od, u as pe, l as G, d as V, q as wd, r as zd, s as Ad, w as qd, x as Jd, y as Qd, z as et, _ as dt, B as tt, C as rt, E as le } from "./app-
|
|
2
|
+
import { u as re } from "./supplier-iZkILTHb.js";
|
|
3
|
+
import { b as Ie, f as Yd, D as Qe, h as ie, e as _e, a as Fd, n as ed, o as dd, j as Xd, H as Zd, v as Od, u as pe, l as G, d as V, q as wd, r as zd, s as Ad, w as qd, x as Jd, y as Qd, z as et, _ as dt, B as tt, C as rt, E as le } from "./app-BHu45pdq.js";
|
|
4
4
|
import { useI18n as X, useCoreStore as Fe } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as Oe, useSnackbar as me, useProxiedModel as td, useDialogChild as nt, useBreakpoints as ot } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as at } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
7
|
-
import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as Td } from "./feature-
|
|
7
|
+
import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DIqWc5Dd.js";
|
|
8
|
+
import { u as Td } from "./feature-IimaQ0YM.js";
|
|
9
9
|
import { defineStore as it } from "pinia";
|
|
10
10
|
function lt(e, d) {
|
|
11
11
|
const { t } = X(), r = Ie();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { X as it, u as ue, aH as N, b as Ue, a2 as ut, a4 as dt, a5 as mt, aI as ft, d as We, e as tt, V as rt, aJ as pt, Z as Fe, K as Oe, i as oe, aK as st, a9 as ke, f as Xe, h as K, D as Z, aq as se, a3 as yt, an as Je, a1 as xe, aL as vt, ae as Te, ar as ht } from "./app-
|
|
1
|
+
import { X as it, u as ue, aH as N, b as Ue, a2 as ut, a4 as dt, a5 as mt, aI as ft, d as We, e as tt, V as rt, aJ as pt, Z as Fe, K as Oe, i as oe, aK as st, a9 as ke, f as Xe, h as K, D as Z, aq as se, a3 as yt, an as Je, a1 as xe, aL as vt, ae as Te, ar as ht } from "./app-BHu45pdq.js";
|
|
2
2
|
import { ref as V, computed as z, h as q, defineComponent as De, onMounted as at, unref as p, openBlock as w, createElementBlock as D, createElementVNode as a, toDisplayString as R, createCommentVNode as L, resolveComponent as H, createVNode as E, reactive as bt, createBlock as le, withCtx as ie, watch as gt, isRef as _t, Fragment as te, normalizeClass as Re, createTextVNode as $e, renderList as pe, resolveDynamicComponent as wt } from "vue";
|
|
3
|
-
import { F as St } from "./decimal-
|
|
4
|
-
import { b as xt, u as Rt, f as nt, P as ve } from "./format-unit-display-
|
|
3
|
+
import { F as St } from "./decimal-4K1H5vq1.js";
|
|
4
|
+
import { b as xt, u as Rt, f as nt, P as ve } from "./format-unit-display-ButdcliX.js";
|
|
5
5
|
import { useCoreStore as Le, useI18n as ot } from "@feedmepos/mf-common";
|
|
6
6
|
import { E as Ot } from "./empty-placeholder-wf6-BWE8.js";
|
|
7
7
|
import { useDialog as Ve, useSnackbar as Me, components as Ze, FmButtonVariant as re, useProxiedModel as kt } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as je, F as Ce } from "./feature-
|
|
9
|
-
import { u as Dt } from "./index-
|
|
10
|
-
import { _ as Nt, F as qt, a as At } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as je, F as Ce } from "./feature-IimaQ0YM.js";
|
|
9
|
+
import { u as Dt } from "./index-B7Ct1j-A.js";
|
|
10
|
+
import { _ as Nt, F as qt, a as At } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DIqWc5Dd.js";
|
|
11
11
|
const Ne = it((t, l) => {
|
|
12
12
|
const n = ue(), h = Le();
|
|
13
13
|
return {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ee, onMounted as ve, computed as U, ref as Q, watch as be, inject as et, resolveComponent as A, openBlock as R, createElementBlock as j, createElementVNode as s, createVNode as p, withCtx as N, renderSlot as Re, withDirectives as Ae, normalizeClass as X, vModelText as Pe, reactive as tt, h as Z, toDisplayString as D, unref as t, createCommentVNode as oe, Fragment as _e, renderList as ze, normalizeStyle as He, createBlock as J, mergeProps as Qe, isRef as je, Teleport as st, normalizeProps as ot, guardReactiveProps as lt } from "vue";
|
|
2
|
-
import { G as Ke, ay as ce, t as Ue, I as nt, az as at, aA as rt, i as Y, aB as it, b as ut, a as Ge, $ as Be, l as fe, P as me, K as ue, A as ye, M as dt, E as W, u as We, ac as mt, V as pt, C as Ye, d as ne, aC as de, a9 as ct, a1 as ft, z as yt, h as Le, _ as vt, B as bt } from "./app-
|
|
2
|
+
import { G as Ke, ay as ce, t as Ue, I as nt, az as at, aA as rt, i as Y, aB as it, b as ut, a as Ge, $ as Be, l as fe, P as me, K as ue, A as ye, M as dt, E as W, u as We, ac as mt, V as pt, C as Ye, d as ne, aC as de, a9 as ct, a1 as ft, z as yt, h as Le, _ as vt, B as bt } from "./app-BHu45pdq.js";
|
|
3
3
|
import { useI18n as le } from "@feedmepos/mf-common";
|
|
4
|
-
import { P as G, a as _t, f as ht, t as xt, b as qe, u as gt } from "./format-unit-display-
|
|
4
|
+
import { P as G, a as _t, f as ht, t as xt, b as qe, u as gt } from "./format-unit-display-ButdcliX.js";
|
|
5
5
|
import { components as se, useDialog as kt, useSnackbar as Tt, useProxiedModel as Ze, useBreakpoints as wt } from "@feedmepos/ui-library";
|
|
6
6
|
import { defineStore as Ft, storeToRefs as Ee } from "pinia";
|
|
7
|
-
import { _ as It, b as St, F as Ct, a as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as pe } from "./feature-
|
|
9
|
-
import { c as Ot, u as Mt, _ as Vt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as Dt } from "./supplier-
|
|
11
|
-
import { u as Rt } from "./use-ingredient-select-dialog-
|
|
7
|
+
import { _ as It, b as St, F as Ct, a as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DIqWc5Dd.js";
|
|
8
|
+
import { u as pe } from "./feature-IimaQ0YM.js";
|
|
9
|
+
import { c as Ot, u as Mt, _ as Vt } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ina596Zt.js";
|
|
10
|
+
import { u as Dt } from "./supplier-iZkILTHb.js";
|
|
11
|
+
import { u as Rt } from "./use-ingredient-select-dialog-CO6QUE9q.js";
|
|
12
12
|
const At = { class: "flex flex-col" }, Pt = { class: "flex flex-col" }, Ut = { class: "flex-1" }, Bt = { class: "flex items-center" }, Lt = { class: "flex-1" }, qt = { class: "flex-1" }, Et = /* @__PURE__ */ ee({
|
|
13
13
|
__name: "FmMinMaxInput",
|
|
14
14
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as H, computed as g, openBlock as v, createElementBlock as C, createElementVNode as l, Fragment as j, renderList as q, toDisplayString as V, createCommentVNode as Y, ref as M, resolveComponent as $, createBlock as T, withCtx as A, createVNode as y, unref as o, isRef as ee, normalizeClass as re, normalizeStyle as ie, Teleport as ue, normalizeProps as de, guardReactiveProps as me } from "vue";
|
|
2
|
-
import { a as K, d as w, S as ce, f as pe, D as te, h as L, e as le, l as N, A as fe, i as J, K as ve, L as ye, p as ne, u as be, b as ge, z as xe, _ as _e, B as he, C as Ve, E as Ue } from "./app-
|
|
2
|
+
import { a as K, d as w, S as ce, f as pe, D as te, h as L, e as le, l as N, A as fe, i as J, K as ve, L as ye, p as ne, u as be, b as ge, z as xe, _ as _e, B as he, C as Ve, E as Ue } from "./app-BHu45pdq.js";
|
|
3
3
|
import { useDialog as we, useSnackbar as se, useProxiedModel as oe, useBreakpoints as Ce } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Se, _ as ke } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { defineStore as Ee, storeToRefs as Fe } from "pinia";
|
|
6
6
|
import { useI18n as G } from "@feedmepos/mf-common";
|
|
7
|
-
import { F as $e } from "./decimal-
|
|
8
|
-
import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { F as $e } from "./decimal-4K1H5vq1.js";
|
|
8
|
+
import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B6QlAKSW.js";
|
|
9
9
|
const De = { class: "flex flex-col gap-8" }, Ae = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "flex flex-col"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as D, defineComponent as j, watch as ee, onMounted as te, onUnmounted as xe, openBlock as R, createElementBlock as z, toRaw as be, reactive as Fe, createElementVNode as g, toDisplayString as L, unref as c, createVNode as V, resolveComponent as B, createSlots as $e, withCtx as q, createTextVNode as Se, renderSlot as We, createBlock as I, createCommentVNode as Ae, computed as $, isRef as we, normalizeClass as De, normalizeStyle as Pe } from "vue";
|
|
2
|
-
import { X as Re, ak as Ue, al as Ee, f as Te, D as Ve, h as J, e as G, am as Le, ad as Ne, l as N, d as T, S as Be, u as qe, z as ze, _ as Ie, B as je, C as Oe, E as Q } from "./app-
|
|
2
|
+
import { X as Re, ak as Ue, al as Ee, f as Te, D as Ve, h as J, e as G, am as Le, ad as Ne, l as N, d as T, S as Be, u as qe, z as ze, _ as Ie, B as je, C as Oe, E as Q } from "./app-BHu45pdq.js";
|
|
3
3
|
import { useCoreStore as Ge, useI18n as O } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as Ke, useDialog as Me, useSnackbar as ae, useProxiedModel as oe, useBreakpoints as He } from "@feedmepos/ui-library";
|
|
5
5
|
import { c as le, u as se } from "./googlemap-Dm8ERVai.js";
|