@feedmepos/mf-inventory-portal 1.2.27 → 1.2.29
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-CC7EGfq3.js → App-BcetoQcK.js} +1 -1
- package/dist/{ApprovalView-CUg1X3aW.js → ApprovalView-CyRCctkZ.js} +2 -2
- package/dist/{BindingsDialog-DU9Xpkve.js → BindingsDialog-DLN2RPYo.js} +2 -2
- package/dist/{BindingsPicker-CICpOJQB.js → BindingsPicker-CDtYeSVh.js} +1 -1
- package/dist/{BindingsTable-5j4XFSgC.js → BindingsTable-C19Bm8d6.js} +1 -1
- package/dist/{ClosingDraftView-tEiTYZ-G.js → ClosingDraftView-DBFIR6Xv.js} +171 -170
- package/dist/{ClosingHistoryView-DNodhyR1.js → ClosingHistoryView-BEZOwsPz.js} +115 -113
- package/dist/{ClosingTemplateView-0SkHiuJL.js → ClosingTemplateView-COifu0I6.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-CvX6ry9E.js → DeliveryOrderPrintPreview-lBFtH_Rm.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DDl_BtWO.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BhhmWaOl.js} +3 -3
- package/dist/{FmMultiselectDialog-C-0KIt0z.js → FmMultiselectDialog-CBYvYJnE.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Cbbe9RIS.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CLuceimk.js} +1 -1
- package/dist/{ImportView-sK-HTJRQ.js → ImportView-DYNjmjys.js} +2 -2
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DtPc5klg.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BXefPowE.js} +1 -1
- package/dist/{IngredientGroupView-Upqw40GM.js → IngredientGroupView-CNzK_dDv.js} +2 -2
- package/dist/{IngredientsView-NhiZdZHS.js → IngredientsView-BnrA0ijB.js} +7 -7
- package/dist/{IntegrationView-7T__0Ev_.js → IntegrationView-DwcP5MgB.js} +3 -3
- package/dist/{InventoryBindingForm-xTT7wNhN.js → InventoryBindingForm-DeqdcXzm.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-0K76QWtS.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-FuPTxo7z.js} +3 -3
- package/dist/{InventoryBindingSummary-DLrFHIXl.js → InventoryBindingSummary-Dp0bshzL.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DpyuZj6H.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DLvWaFvA.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DOezD2nd.js → PremiumBadge.vue_vue_type_script_setup_true_lang-tLW9bojI.js} +1 -1
- package/dist/{PublishView-uTpUuvdl.js → PublishView-CxIU1aI4.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-AbvNdYvS.js → PurchaseOrderPrintPreview-DWxp3cFM.js} +1 -1
- package/dist/{ReceiveRequestView-DjOOecjI.js → ReceiveRequestView-CF9ingct.js} +8 -8
- package/dist/{RecipeView-vrFJuZiC.js → RecipeView-B87vakmu.js} +3 -3
- package/dist/{StockView-CkkJ1xf5.js → StockView-XJY3690u.js} +8 -8
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DBYSVdr6.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DY1iRl1F.js} +1 -1
- package/dist/{SupplierView-CI2TRzDN.js → SupplierView-Y2NqnJ6-.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-D3jybzG0.js → TransferDetails.vue_vue_type_script_setup_true_lang-l0qRNa0W.js} +5 -5
- package/dist/{TransferTemplateView-CwyaQu5X.js → TransferTemplateView-DBlasHGY.js} +7 -7
- package/dist/{UnitView-C6z_17fA.js → UnitView-C8z90hHr.js} +3 -3
- package/dist/{WarehouseView-VYhM6Tpp.js → WarehouseView-egtnCnzo.js} +1 -1
- package/dist/{app-Jg8LS2E9.js → app-B5p73NM9.js} +198 -198
- package/dist/app.js +1 -1
- package/dist/{decimal-1b-kdzH1.js → decimal-CLM3HUsc.js} +1 -1
- package/dist/{format-unit-display-DQARsLT4.js → format-unit-display-BWoznxQp.js} +3 -3
- package/dist/{import-export.helper-Do4qkk3c.js → import-export.helper-DgKnsYRB.js} +1 -1
- package/dist/{index-usoaj_7j.js → index-CK61uHgW.js} +1 -1
- package/dist/{index-CKiHRjlB.js → index-tMZSFG5r.js} +1 -1
- package/dist/{purchase-order-template-DBi99Bo_.js → purchase-order-template-D7dkJMqf.js} +1 -1
- package/dist/{stock-Kd7XJmQi.js → stock-B3EEUmkF.js} +1 -1
- package/dist/{stock-BjxZjz5L.js → stock-DYBHa0KN.js} +2 -2
- package/dist/{supplier-haJ4RQlV.js → supplier-CY7Hj_a2.js} +1 -1
- package/dist/{use-ingredient-select-dialog-CGvfYQJq.js → use-ingredient-select-dialog-Dlv7Eowu.js} +1 -1
- package/dist/{use-inventory-binding-dialog-PpHMq_mx.js → use-inventory-binding-dialog-DOSfDQte.js} +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as H, ref as
|
|
2
|
-
import { aE as j, ac as D, u as ce, h as ie, I as re, J as ue } from "./app-
|
|
1
|
+
import { defineComponent as H, ref as y, computed as k, resolveComponent as x, openBlock as d, createElementBlock as v, createVNode as f, withModifiers as te, withCtx as F, createElementVNode as s, toDisplayString as c, unref as n, Fragment as K, createTextVNode as M, createBlock as B, createCommentVNode as h, renderList as oe, normalizeClass as le, h as ae, onMounted as ne, Teleport as se } from "vue";
|
|
2
|
+
import { aE as j, ac as D, u as ce, h as ie, I as re, J as ue } from "./app-B5p73NM9.js";
|
|
3
3
|
import { useI18n as z, useCoreStore as de } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as me } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as ve } from "./stock-
|
|
6
|
-
const
|
|
5
|
+
import { u as ve } from "./stock-B3EEUmkF.js";
|
|
6
|
+
const ye = { class: "fm-typo-en-heading-lg-600" }, fe = { class: "flex flex-col gap-16" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ge = { class: "flex flex-col gap-8" }, _e = { class: "fm-typo-en-body-md-600" }, be = { class: "flex flex-col gap-8" }, ke = { class: "fm-typo-en-body-md-600" }, he = { class: "flex items-center gap-8 mb-8" }, xe = {
|
|
7
7
|
key: 2,
|
|
8
8
|
class: "text-red-500 text-sm mt-2"
|
|
9
9
|
}, De = { class: "fm-typo-en-body-sm-400" }, Ve = {
|
|
@@ -28,8 +28,8 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, ye = { class: "flex flex-col
|
|
|
28
28
|
__name: "RecalculationDialog",
|
|
29
29
|
emits: ["submitted"],
|
|
30
30
|
setup(J, { expose: _, emit: T }) {
|
|
31
|
-
const w = T, { t:
|
|
32
|
-
const
|
|
31
|
+
const w = T, { t: l } = z(), V = ve(), A = j(), C = me(), p = y(!1), i = y(""), r = y(""), m = y(!1), S = y([]), a = y(!1), u = y([]), b = y(!1), R = k(() => S.value.map((e) => {
|
|
32
|
+
const o = D(e._id), g = new Date(o);
|
|
33
33
|
return {
|
|
34
34
|
label: `${g.toLocaleDateString()} ${g.toLocaleTimeString()}`,
|
|
35
35
|
value: e._id
|
|
@@ -37,7 +37,7 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, ye = { class: "flex flex-col
|
|
|
37
37
|
})), G = k(() => i.value ? R.value.filter((e) => e.value > i.value) : []), $ = k({
|
|
38
38
|
get: () => {
|
|
39
39
|
if (m.value && r.value) {
|
|
40
|
-
const e = S.value.find((
|
|
40
|
+
const e = S.value.find((o) => D(o._id) === r.value);
|
|
41
41
|
return (e == null ? void 0 : e._id) || r.value;
|
|
42
42
|
}
|
|
43
43
|
return r.value;
|
|
@@ -56,14 +56,14 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, ye = { class: "flex flex-col
|
|
|
56
56
|
}
|
|
57
57
|
}), L = k(() => {
|
|
58
58
|
if (!i.value || !r.value) return "";
|
|
59
|
-
const e = D(i.value),
|
|
60
|
-
if (e &&
|
|
59
|
+
const e = D(i.value), o = r.value;
|
|
60
|
+
if (e && o) {
|
|
61
61
|
const g = new Date(e).getTime();
|
|
62
|
-
if (new Date(
|
|
63
|
-
return
|
|
62
|
+
if (new Date(o).getTime() <= g)
|
|
63
|
+
return l("inventory.stock.recalculation.error.endDateBeforeOpening");
|
|
64
64
|
}
|
|
65
65
|
return "";
|
|
66
|
-
}), N = k(() => !!i.value && !!r.value && !L.value), U = k(() =>
|
|
66
|
+
}), N = k(() => !!i.value && !!r.value && !L.value), U = k(() => u.value.some(
|
|
67
67
|
(e) => !e.completedAt && !e.failedReason
|
|
68
68
|
));
|
|
69
69
|
async function I() {
|
|
@@ -77,25 +77,25 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, ye = { class: "flex flex-col
|
|
|
77
77
|
close: W
|
|
78
78
|
});
|
|
79
79
|
async function X() {
|
|
80
|
-
|
|
80
|
+
a.value = !0;
|
|
81
81
|
try {
|
|
82
|
-
const e = await A.getLastNClosings(
|
|
82
|
+
const e = await A.getLastNClosings(30);
|
|
83
83
|
S.value = e;
|
|
84
84
|
} catch (e) {
|
|
85
85
|
console.error("Error fetching recent closings:", e), C.open({
|
|
86
|
-
title:
|
|
86
|
+
title: l("common.error"),
|
|
87
87
|
message: "Failed to fetch recent closings",
|
|
88
88
|
type: "error"
|
|
89
89
|
});
|
|
90
90
|
} finally {
|
|
91
|
-
|
|
91
|
+
a.value = !1;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
async function P() {
|
|
95
95
|
b.value = !0;
|
|
96
96
|
try {
|
|
97
97
|
const e = await V.recalculation.recalculationRequests();
|
|
98
|
-
|
|
98
|
+
u.value = e;
|
|
99
99
|
} catch (e) {
|
|
100
100
|
console.error("Error fetching recalculation requests:", e);
|
|
101
101
|
} finally {
|
|
@@ -104,152 +104,153 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, ye = { class: "flex flex-col
|
|
|
104
104
|
}
|
|
105
105
|
async function Y() {
|
|
106
106
|
if (N.value) {
|
|
107
|
-
|
|
107
|
+
a.value = !0;
|
|
108
108
|
try {
|
|
109
109
|
await V.recalculation.scheduleRecalculation(i.value, r.value), C.open({
|
|
110
|
-
title:
|
|
110
|
+
title: l("common.success"),
|
|
111
111
|
message: "Stock recalculation has been scheduled successfully",
|
|
112
112
|
type: "success"
|
|
113
113
|
}), await P(), p.value = !1, w("submitted");
|
|
114
114
|
} catch (e) {
|
|
115
115
|
console.error("Error scheduling recalculation:", e), C.open({
|
|
116
|
-
title:
|
|
116
|
+
title: l("common.error"),
|
|
117
117
|
message: "Failed to schedule stock recalculation",
|
|
118
118
|
type: "error"
|
|
119
119
|
});
|
|
120
120
|
} finally {
|
|
121
|
-
|
|
121
|
+
a.value = !1;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
return (e,
|
|
125
|
+
return (e, o) => {
|
|
126
126
|
const g = x("FmButton"), E = x("FmSelect"), O = x("FmRadio"), Z = x("FmDatePicker"), q = x("FmAlert"), ee = x("FmDialog");
|
|
127
|
-
return
|
|
128
|
-
|
|
127
|
+
return d(), v("div", null, [
|
|
128
|
+
f(g, {
|
|
129
129
|
"prepend-icon": "info",
|
|
130
130
|
variant: "tertiary",
|
|
131
131
|
onClick: te(I, ["stop"])
|
|
132
132
|
}),
|
|
133
|
-
|
|
133
|
+
f(ee, {
|
|
134
134
|
modelValue: p.value,
|
|
135
|
-
"onUpdate:modelValue":
|
|
135
|
+
"onUpdate:modelValue": o[7] || (o[7] = (t) => p.value = t),
|
|
136
136
|
"close-button": "",
|
|
137
137
|
dismissAway: "",
|
|
138
138
|
"max-width": "600px"
|
|
139
139
|
}, {
|
|
140
140
|
"dialog-header": F(() => [
|
|
141
|
-
|
|
141
|
+
s("div", ye, c(n(l)("inventory.stock.recalculation.title")), 1)
|
|
142
142
|
]),
|
|
143
143
|
"dialog-footer": F(() => [
|
|
144
|
-
U.value ? (
|
|
145
|
-
|
|
144
|
+
U.value ? (d(), v("div", $e, [
|
|
145
|
+
f(g, {
|
|
146
146
|
variant: "tertiary",
|
|
147
|
-
onClick:
|
|
148
|
-
label: n(
|
|
147
|
+
onClick: o[6] || (o[6] = (t) => p.value = !1),
|
|
148
|
+
label: n(l)("common.close")
|
|
149
149
|
}, null, 8, ["label"])
|
|
150
|
-
])) : (
|
|
151
|
-
|
|
150
|
+
])) : (d(), v("div", Ee, [
|
|
151
|
+
f(g, {
|
|
152
152
|
variant: "tertiary",
|
|
153
|
-
onClick:
|
|
154
|
-
disabled:
|
|
155
|
-
label: n(
|
|
153
|
+
onClick: o[5] || (o[5] = (t) => p.value = !1),
|
|
154
|
+
disabled: a.value,
|
|
155
|
+
label: n(l)("common.cancel")
|
|
156
156
|
}, null, 8, ["disabled", "label"]),
|
|
157
|
-
|
|
157
|
+
f(g, {
|
|
158
158
|
variant: "primary",
|
|
159
159
|
onClick: Y,
|
|
160
|
-
disabled: !N.value ||
|
|
161
|
-
loading:
|
|
162
|
-
label: n(
|
|
160
|
+
disabled: !N.value || a.value,
|
|
161
|
+
loading: a.value,
|
|
162
|
+
label: n(l)("inventory.stock.recalculation.schedule")
|
|
163
163
|
}, null, 8, ["disabled", "loading", "label"])
|
|
164
164
|
]))
|
|
165
165
|
]),
|
|
166
166
|
default: F(() => [
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
U.value ? h("", !0) : (
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
M(
|
|
173
|
-
|
|
167
|
+
s("div", fe, [
|
|
168
|
+
s("div", pe, c(n(l)("inventory.stock.recalculation.description")), 1),
|
|
169
|
+
U.value ? h("", !0) : (d(), v(K, { key: 0 }, [
|
|
170
|
+
s("div", ge, [
|
|
171
|
+
s("p", _e, [
|
|
172
|
+
M(c(n(l)("inventory.stock.recalculation.openingDate")) + " ", 1),
|
|
173
|
+
o[8] || (o[8] = s("span", { class: "text-fm-color-system-error-300" }, "*", -1))
|
|
174
174
|
]),
|
|
175
|
-
|
|
175
|
+
o[9] || (o[9] = s("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary mb-4" }, " Showing the last 30 closing records. Select the opening date to start recalculation. ", -1)),
|
|
176
|
+
f(E, {
|
|
176
177
|
modelValue: i.value,
|
|
177
|
-
"onUpdate:modelValue":
|
|
178
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => i.value = t),
|
|
178
179
|
items: R.value,
|
|
179
|
-
placeholder: n(
|
|
180
|
-
loading:
|
|
181
|
-
disabled:
|
|
180
|
+
placeholder: n(l)("inventory.stock.recalculation.selectOpening"),
|
|
181
|
+
loading: a.value,
|
|
182
|
+
disabled: a.value
|
|
182
183
|
}, null, 8, ["modelValue", "items", "placeholder", "loading", "disabled"])
|
|
183
184
|
]),
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
M(
|
|
187
|
-
|
|
185
|
+
s("div", be, [
|
|
186
|
+
s("p", ke, [
|
|
187
|
+
M(c(n(l)("inventory.stock.recalculation.untilDate")) + " ", 1),
|
|
188
|
+
o[10] || (o[10] = s("span", { class: "text-fm-color-system-error-300" }, "*", -1))
|
|
188
189
|
]),
|
|
189
|
-
|
|
190
|
-
|
|
190
|
+
s("div", he, [
|
|
191
|
+
f(O, {
|
|
191
192
|
modelValue: m.value,
|
|
192
|
-
"onUpdate:modelValue":
|
|
193
|
+
"onUpdate:modelValue": o[1] || (o[1] = (t) => m.value = t),
|
|
193
194
|
value: !1,
|
|
194
|
-
label: n(
|
|
195
|
+
label: n(l)("inventory.stock.recalculation.selectByDate")
|
|
195
196
|
}, null, 8, ["modelValue", "label"]),
|
|
196
|
-
|
|
197
|
+
f(O, {
|
|
197
198
|
modelValue: m.value,
|
|
198
|
-
"onUpdate:modelValue":
|
|
199
|
+
"onUpdate:modelValue": o[2] || (o[2] = (t) => m.value = t),
|
|
199
200
|
value: !0,
|
|
200
|
-
label: n(
|
|
201
|
+
label: n(l)("inventory.stock.recalculation.selectByClosing")
|
|
201
202
|
}, null, 8, ["modelValue", "label"])
|
|
202
203
|
]),
|
|
203
|
-
m.value ? (
|
|
204
|
+
m.value ? (d(), B(E, {
|
|
204
205
|
key: 1,
|
|
205
206
|
modelValue: $.value,
|
|
206
|
-
"onUpdate:modelValue":
|
|
207
|
+
"onUpdate:modelValue": o[4] || (o[4] = (t) => $.value = t),
|
|
207
208
|
items: G.value,
|
|
208
|
-
placeholder: n(
|
|
209
|
-
loading:
|
|
210
|
-
disabled: !i.value ||
|
|
211
|
-
}, null, 8, ["modelValue", "items", "placeholder", "loading", "disabled"])) : (
|
|
209
|
+
placeholder: n(l)("inventory.stock.recalculation.selectClosing"),
|
|
210
|
+
loading: a.value,
|
|
211
|
+
disabled: !i.value || a.value
|
|
212
|
+
}, null, 8, ["modelValue", "items", "placeholder", "loading", "disabled"])) : (d(), B(Z, {
|
|
212
213
|
key: 0,
|
|
213
214
|
modelValue: r.value,
|
|
214
|
-
"onUpdate:modelValue":
|
|
215
|
-
placeholder: n(
|
|
215
|
+
"onUpdate:modelValue": o[3] || (o[3] = (t) => r.value = t),
|
|
216
|
+
placeholder: n(l)("inventory.stock.recalculation.selectDate"),
|
|
216
217
|
min: Q.value,
|
|
217
|
-
disabled: !i.value ||
|
|
218
|
+
disabled: !i.value || a.value
|
|
218
219
|
}, null, 8, ["modelValue", "placeholder", "min", "disabled"])),
|
|
219
|
-
L.value ? (
|
|
220
|
+
L.value ? (d(), v("div", xe, c(L.value), 1)) : h("", !0)
|
|
220
221
|
]),
|
|
221
|
-
i.value && r.value && !L.value ? (
|
|
222
|
+
i.value && r.value && !L.value ? (d(), B(q, {
|
|
222
223
|
key: 0,
|
|
223
224
|
type: "info"
|
|
224
225
|
}, {
|
|
225
226
|
default: F(() => [
|
|
226
|
-
|
|
227
|
+
s("div", De, c(n(l)("inventory.stock.recalculation.info")), 1)
|
|
227
228
|
]),
|
|
228
229
|
_: 1
|
|
229
230
|
})) : h("", !0)
|
|
230
231
|
], 64)),
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
(
|
|
232
|
+
u.value.length > 0 ? (d(), v("div", Ve, [
|
|
233
|
+
s("p", Se, c(n(l)("inventory.stock.recalculation.recentRequests")), 1),
|
|
234
|
+
s("div", we, [
|
|
235
|
+
(d(!0), v(K, null, oe(u.value, (t) => (d(), v("div", {
|
|
235
236
|
key: t._id,
|
|
236
237
|
class: "p-12 border border-fm-color-border-primary rounded-8 flex flex-col gap-4"
|
|
237
238
|
}, [
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
239
|
+
s("div", Ae, [
|
|
240
|
+
s("div", Ce, c(n(l)("inventory.stock.recalculation.requestedAt")) + ": " + c(new Date(t.createdAt).toLocaleString()), 1),
|
|
241
|
+
s("div", {
|
|
241
242
|
class: le(["fm-typo-en-body-xs-600 px-8 py-4 rounded-4", {
|
|
242
243
|
"bg-fm-color-system-error-100 text-fm-color-system-error-500": t.failedReason,
|
|
243
244
|
"bg-fm-color-system-success-100 text-fm-color-system-success-500": t.completedAt,
|
|
244
245
|
"bg-fm-color-system-info-100 text-fm-color-system-info-500": !t.failedReason && !t.completedAt
|
|
245
246
|
}])
|
|
246
|
-
},
|
|
247
|
+
}, c(t.failedReason ? n(l)("inventory.stock.recalculation.status.failed") : t.completedAt ? n(l)("inventory.stock.recalculation.status.completed") : n(l)("inventory.stock.recalculation.status.inProgress")), 3)
|
|
247
248
|
]),
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
t.createdBy ? (
|
|
251
|
-
t.completedAt ? (
|
|
252
|
-
t.failedReason ? (
|
|
249
|
+
s("div", Re, c(n(l)("inventory.stock.recalculation.from")) + ": " + c(new Date(t.recalculateStartDate).toLocaleDateString()), 1),
|
|
250
|
+
s("div", Fe, c(n(l)("inventory.stock.recalculation.to")) + ": " + c(new Date(t.recalculateEndDate).toLocaleDateString()), 1),
|
|
251
|
+
t.createdBy ? (d(), v("div", Be, c(n(l)("inventory.stock.recalculation.requestedBy")) + ": " + c(t.createdBy.name || t.createdBy.id), 1)) : h("", !0),
|
|
252
|
+
t.completedAt ? (d(), v("div", Le, c(n(l)("inventory.stock.recalculation.completedAt")) + ": " + c(new Date(t.completedAt).toLocaleString()), 1)) : h("", !0),
|
|
253
|
+
t.failedReason ? (d(), v("div", Te, c(t.failedReason), 1)) : h("", !0)
|
|
253
254
|
]))), 128))
|
|
254
255
|
])
|
|
255
256
|
])) : h("", !0)
|
|
@@ -264,35 +265,35 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, ye = { class: "flex flex-col
|
|
|
264
265
|
__name: "ClosingHistoryView",
|
|
265
266
|
setup(J) {
|
|
266
267
|
var S;
|
|
267
|
-
const { t: _ } = z(), T = j(), w = ce(),
|
|
268
|
+
const { t: _ } = z(), T = j(), w = ce(), l = de(), V = y([]), A = y(!1), C = k(() => [
|
|
268
269
|
{
|
|
269
270
|
label: _("inventory.stock.recalculation.title", "Stock Recalculation"),
|
|
270
271
|
value: "recalculation",
|
|
271
272
|
prependIcon: "history",
|
|
272
273
|
isAdminOnly: !0
|
|
273
274
|
}
|
|
274
|
-
]), p =
|
|
275
|
-
function i(
|
|
276
|
-
var
|
|
277
|
-
switch (
|
|
275
|
+
]), p = y();
|
|
276
|
+
function i(a) {
|
|
277
|
+
var u;
|
|
278
|
+
switch (a) {
|
|
278
279
|
case "recalculation":
|
|
279
|
-
return (
|
|
280
|
+
return (u = p.value) == null ? void 0 : u.open();
|
|
280
281
|
}
|
|
281
282
|
}
|
|
282
283
|
const r = [
|
|
283
|
-
...(S =
|
|
284
|
+
...(S = l.sessionUser.value) != null && S.role.isAdmin ? [
|
|
284
285
|
{
|
|
285
286
|
accessorKey: "_id",
|
|
286
287
|
header: () => ae(ie, {}, () => `${_("inventory.closing.history.closingId")}`),
|
|
287
|
-
cell: (
|
|
288
|
+
cell: (a) => a.getValue()
|
|
288
289
|
}
|
|
289
290
|
] : [],
|
|
290
291
|
{
|
|
291
292
|
accessorKey: "_id",
|
|
292
293
|
id: "date",
|
|
293
294
|
header: () => _("inventory.closing.history.date"),
|
|
294
|
-
cell: (
|
|
295
|
-
const
|
|
295
|
+
cell: (a) => {
|
|
296
|
+
const u = a.getValue(), b = D(u);
|
|
296
297
|
return new Date(b).toLocaleDateString();
|
|
297
298
|
}
|
|
298
299
|
},
|
|
@@ -300,25 +301,25 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, ye = { class: "flex flex-col
|
|
|
300
301
|
accessorKey: "_id",
|
|
301
302
|
id: "time",
|
|
302
303
|
header: () => _("inventory.closing.history.time"),
|
|
303
|
-
cell: (
|
|
304
|
-
const
|
|
304
|
+
cell: (a) => {
|
|
305
|
+
const u = a.getValue(), b = D(u);
|
|
305
306
|
return new Date(b).toLocaleTimeString();
|
|
306
307
|
}
|
|
307
308
|
},
|
|
308
309
|
{
|
|
309
310
|
accessorKey: "ref",
|
|
310
311
|
header: () => _("inventory.closing.history.createdFrom"),
|
|
311
|
-
cell: (
|
|
312
|
+
cell: (a) => a.getValue() || "-"
|
|
312
313
|
}
|
|
313
314
|
];
|
|
314
315
|
async function m() {
|
|
315
316
|
if (w.currentLocationDBName) {
|
|
316
317
|
A.value = !0;
|
|
317
318
|
try {
|
|
318
|
-
const
|
|
319
|
-
V.value =
|
|
320
|
-
} catch (
|
|
321
|
-
console.error("Error fetching closings:",
|
|
319
|
+
const a = await T.getLastNClosings(30);
|
|
320
|
+
V.value = a;
|
|
321
|
+
} catch (a) {
|
|
322
|
+
console.error("Error fetching closings:", a), V.value = [];
|
|
322
323
|
} finally {
|
|
323
324
|
A.value = !1;
|
|
324
325
|
}
|
|
@@ -326,30 +327,31 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, ye = { class: "flex flex-col
|
|
|
326
327
|
}
|
|
327
328
|
return ne(async () => {
|
|
328
329
|
w.currentLocationDBName && await m();
|
|
329
|
-
}), w.watchLocation(m), (
|
|
330
|
+
}), w.watchLocation(m), (a, u) => {
|
|
330
331
|
const b = x("FmTable");
|
|
331
|
-
return
|
|
332
|
+
return d(), B(re, {
|
|
332
333
|
actions: C.value,
|
|
333
334
|
title: n(_)("inventory.closing.history.title"),
|
|
334
335
|
"onClick:action": i
|
|
335
336
|
}, {
|
|
336
337
|
default: F(() => [
|
|
337
|
-
|
|
338
|
-
|
|
338
|
+
s("div", Ue, [
|
|
339
|
+
f(ue, {
|
|
339
340
|
"change-location": "",
|
|
340
341
|
"hide-filter-options": !0
|
|
341
342
|
}),
|
|
342
|
-
|
|
343
|
+
u[1] || (u[1] = s("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Displaying the last 30 closing records. ", -1)),
|
|
344
|
+
f(b, {
|
|
343
345
|
loading: A.value,
|
|
344
346
|
"row-data": V.value,
|
|
345
347
|
"column-defs": r
|
|
346
348
|
}, null, 8, ["loading", "row-data"])
|
|
347
349
|
]),
|
|
348
|
-
(
|
|
349
|
-
|
|
350
|
+
(d(), B(se, { to: "body" }, [
|
|
351
|
+
f(Ne, {
|
|
350
352
|
ref_key: "recalculationDialogRef",
|
|
351
353
|
ref: p,
|
|
352
|
-
onSubmitted:
|
|
354
|
+
onSubmitted: u[0] || (u[0] = (R) => m())
|
|
353
355
|
}, null, 512)
|
|
354
356
|
]))
|
|
355
357
|
]),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as F, h as R, defineComponent as Y, resolveComponent as P, openBlock as $, createElementBlock as M, createElementVNode as y, normalizeClass as q, createTextVNode as le, toDisplayString as S, unref as d, createCommentVNode as z, createVNode as C, withCtx as A, Fragment as j, renderList as W, computed as V, watch as Ae, createSlots as Ee, createBlock as U, isRef as Ye, normalizeStyle as Ke, Teleport as Ge, normalizeProps as qe, guardReactiveProps as Je, mergeProps as We } from "vue";
|
|
2
|
-
import { u as de, l as ie, an as Xe, D as ne, j as L, i as Qe, f as Ve, ao as Ze, ap as ae, Y as Ue, aq as pe, X as fe, a as ve, b as et, ar as tt, as as Le, C as nt, E as ot, at as st, e as O, L as G, Q as lt, au as at, r as rt, K as Ne, A as it, ab as se, av as ct, aw as mt, G as ut, I as dt, J as pt } from "./app-
|
|
2
|
+
import { u as de, l as ie, an as Xe, D as ne, j as L, i as Qe, f as Ve, ao as Ze, ap as ae, Y as Ue, aq as pe, X as fe, a as ve, b as et, ar as tt, as as Le, C as nt, E as ot, at as st, e as O, L as G, Q as lt, au as at, r as rt, K as Ne, A as it, ab as se, av as ct, aw as mt, G as ut, I as dt, J as pt } from "./app-B5p73NM9.js";
|
|
3
3
|
import { useI18n as K, useCoreStore as ge } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as ce, useDialogChild as ft, useSnackbar as me, FmButtonVariant as oe, components as H, useProxiedModel as vt, useBreakpoints as gt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Be, storeToRefs as ze } from "pinia";
|
|
6
|
-
import { u as yt } from "./use-ingredient-select-dialog-
|
|
6
|
+
import { u as yt } from "./use-ingredient-select-dialog-Dlv7Eowu.js";
|
|
7
7
|
const ue = Be(
|
|
8
8
|
"closingTemplateTable",
|
|
9
9
|
function() {
|
package/dist/{DeliveryOrderPrintPreview-CvX6ry9E.js → DeliveryOrderPrintPreview-lBFtH_Rm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, computed as f, ref as h, onMounted as g, openBlock as u, createElementBlock as i, createElementVNode as t, createTextVNode as n, toDisplayString as e, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as _ } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { aL as y, aw as w } from "./app-
|
|
3
|
+
import { aL as y, aw as w } from "./app-B5p73NM9.js";
|
|
4
4
|
const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub-header" }, O = ["src"], P = { style: { "padding-left": "10px" } }, C = { class: "address" }, D = { class: "text-right" }, R = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "subtitle"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as C, t as B, aB as M, u as E, aN as R, aX as D, p as H, aY as U } from "./app-
|
|
2
|
-
import { u as z } from "./supplier-
|
|
3
|
-
import { P as T } from "./format-unit-display-
|
|
1
|
+
import { n as C, t as B, aB as M, u as E, aN as R, aX as D, p as H, aY as U } from "./app-B5p73NM9.js";
|
|
2
|
+
import { u as z } from "./supplier-CY7Hj_a2.js";
|
|
3
|
+
import { P as T } from "./format-unit-display-BWoznxQp.js";
|
|
4
4
|
import { computed as f, defineComponent as j, mergeModels as q, useModel as x, ref as W, resolveComponent as w, openBlock as L, createElementBlock as O, normalizeStyle as $, createElementVNode as N, createVNode as X, withCtx as Y, createBlock as V, createCommentVNode as I, Fragment as J, renderList as K, unref as g } from "vue";
|
|
5
5
|
function Q(e, a, r) {
|
|
6
6
|
var o;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineStore as p } from "pinia";
|
|
2
2
|
import { useDialog as y } from "@feedmepos/ui-library";
|
|
3
3
|
import { useI18n as v } from "@feedmepos/mf-common";
|
|
4
|
-
import { x as a } from "./app-
|
|
4
|
+
import { x as a } from "./app-B5p73NM9.js";
|
|
5
5
|
import { h as S } from "vue";
|
|
6
6
|
const w = p("inventoryMultiSelectDialog", () => {
|
|
7
7
|
const l = y(), { t: n } = v();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ie, mergeModels as W, useModel as ae, computed as v, ref as B, watch as E, onBeforeUnmount as le, inject as ue, resolveComponent as b, openBlock as d, createElementBlock as y, createElementVNode as u, createVNode as h, withCtx as F, renderSlot as G, normalizeClass as $, toDisplayString as A, withDirectives as re, vModelText as me, createCommentVNode as I, createTextVNode as ce, createBlock as U, Fragment as de, renderList as pe } from "vue";
|
|
2
|
-
import { $ as D, P as R, z as j, a0 as fe, n as M, aW as ve, t as be, bf as ye, Z as he, aA as Me, aU as ge, aT as xe } from "./app-
|
|
2
|
+
import { $ as D, P as R, z as j, a0 as fe, n as M, aW as ve, t as be, bf as ye, Z as he, aA as Me, aU as ge, aT as xe } from "./app-B5p73NM9.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
function H() {
|
|
5
5
|
return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as De, ref as F, computed as J, watch as ze, resolveComponent as Y, openBlock as N, createElementBlock as D, createVNode as A, normalizeClass as ce, unref as i, createSlots as Ke, withCtx as Q, createElementVNode as n, createBlock as se, toDisplayString as a, createCommentVNode as Z, Fragment as Be, renderList as Pe, shallowRef as $e, h as Ie, createTextVNode as k } from "vue";
|
|
2
|
-
import { a as ie, as as je, a0 as Fe, aq as Ve, X as We, n as pe, ap as Re, C as Le, E as Je, G as Xe, I as ke, c as qe } from "./app-
|
|
2
|
+
import { a as ie, as as je, a0 as Fe, aq as Ve, X as We, n as pe, ap as Re, C as Le, E as Je, G as Xe, I as ke, c as qe } from "./app-B5p73NM9.js";
|
|
3
3
|
import { useCoreStore as Ce, useI18n as Oe } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as Qe, useSnackbar as He, useDialog as Ye, useBreakpoints as Ze } from "@feedmepos/ui-library";
|
|
5
|
-
import { s as et, g as tt, b as nt, d as Ae } from "./import-export.helper-
|
|
5
|
+
import { s as et, g as tt, b as nt, d as Ae } from "./import-export.helper-DgKnsYRB.js";
|
|
6
6
|
import { r as ot } from "./random-CSbEbElR.js";
|
|
7
7
|
function Ee() {
|
|
8
8
|
return `measurement_${(/* @__PURE__ */ new Date()).toISOString()}_${ot()}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as n, createElementBlock as s, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
|
|
2
|
-
import { n as a, Z as y } from "./app-
|
|
2
|
+
import { n as a, Z as y } from "./app-B5p73NM9.js";
|
|
3
3
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
4
4
|
const v = { class: "flex flex-col" }, g = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, h = { class: "flex-1 py-8 px-16" }, b = {
|
|
5
5
|
class: "flex-0 py-8 px-16",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as A, computed as F, h as C, defineComponent as j, watch as re, resolveComponent as R, openBlock as G, createElementBlock as B, createVNode as b, unref as l, createElementVNode as c, toDisplayString as $, createBlock as M, withCtx as T, Fragment as pe, renderList as ve, createTextVNode as ye, createCommentVNode as se, isRef as ge, normalizeClass as _e, normalizeStyle as be, createSlots as ke, Teleport as xe, normalizeProps as he, guardReactiveProps as we } from "vue";
|
|
2
|
-
import { a as P, e as S, f as L, i as Re, D as oe, j as K, P as Ie, A as Se, U as Ge, Q as ue, T as Fe, N as Ve, r as de, V as Ce, y as ae, u as De, G as Ae, I as $e, J as Te, K as Ee, L as le } from "./app-
|
|
2
|
+
import { a as P, e as S, f as L, i as Re, D as oe, j as K, P as Ie, A as Se, U as Ge, Q as ue, T as Fe, N as Ve, r as de, V as Ce, y as ae, u as De, G as Ae, I as $e, J as Te, K as Ee, L as le } from "./app-B5p73NM9.js";
|
|
3
3
|
import { useDialog as Me, useSnackbar as J, components as U, useProxiedModel as Ue, useBreakpoints as Be } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as z, useCoreStore as Le } from "@feedmepos/mf-common";
|
|
5
5
|
import { defineStore as ce, storeToRefs as ie } from "pinia";
|
|
6
|
-
import { u as Pe } from "./FmMultiselectDialog-
|
|
6
|
+
import { u as Pe } from "./FmMultiselectDialog-CBYvYJnE.js";
|
|
7
7
|
import { r as me } from "./random-CSbEbElR.js";
|
|
8
8
|
import { u as ze, R as Ne } from "./usePromise-CbVUCxhj.js";
|
|
9
9
|
const H = ce(
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { ref as B, defineComponent as pe, computed as g, resolveComponent as F, openBlock as u, createElementBlock as w, Fragment as X, unref as o, createVNode as a, withModifiers as Bt, createCommentVNode as L, withCtx as y, createElementVNode as l, toDisplayString as A, normalizeClass as te, renderList as ue, createBlock as D, h as Q, renderSlot as xe, createSlots as Ye, createTextVNode as Ge, mergeModels as it, onMounted as Ot, watch as kt, useModel as Dt, isRef as dt, normalizeStyle as Nt, Teleport as ut, normalizeProps as zt, guardReactiveProps as Lt } from "vue";
|
|
2
|
-
import { a as Ce, e as H, f as Tt, S as jt, b as Fe, h as He, i as Wt, D as ct, j as Me, A as Pe, k as wt, l as Vt, n as Ht, o as mt, t as qt, p as Yt, q as pt, r as De, U as Gt, s as Kt, M as Jt, v as vt, w as ft, c as It, x as Ne, _ as Zt, y as yt, z as Qt, B as gt, C as Xt, E as en, N as tn, H as nn, u as ln, G as on, I as an, J as sn, K as rn, L as bt, O as dn } from "./app-
|
|
2
|
+
import { a as Ce, e as H, f as Tt, S as jt, b as Fe, h as He, i as Wt, D as ct, j as Me, A as Pe, k as wt, l as Vt, n as Ht, o as mt, t as qt, p as Yt, q as pt, r as De, U as Gt, s as Kt, M as Jt, v as vt, w as ft, c as It, x as Ne, _ as Zt, y as yt, z as Qt, B as gt, C as Xt, E as en, N as tn, H as nn, u as ln, G as on, I as an, J as sn, K as rn, L as bt, O as dn } from "./app-B5p73NM9.js";
|
|
3
3
|
import { useDialog as Re, useSnackbar as Ae, components as ze, useProxiedModel as ht, useDialogChild as un, useBreakpoints as cn } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as mn, _ as pn } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { useI18n as ve, useCoreStore as St } from "@feedmepos/mf-common";
|
|
6
6
|
import { defineStore as vn, storeToRefs as fn } from "pinia";
|
|
7
|
-
import { g as yn, _ as Le, S as je, a as gn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as bn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as We } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { g as yn, _ as Le, S as je, a as gn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DY1iRl1F.js";
|
|
8
|
+
import { _ as bn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-FuPTxo7z.js";
|
|
9
|
+
import { _ as We } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-BXefPowE.js";
|
|
10
10
|
import { _ as he } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
11
|
-
import { d as Ue, g as hn, e as _n, a as xn } from "./import-export.helper-
|
|
11
|
+
import { d as Ue, g as hn, e as _n, a as xn } from "./import-export.helper-DgKnsYRB.js";
|
|
12
12
|
import { _ as kn } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
13
|
-
import { u as Ct } from "./purchase-order-template-
|
|
14
|
-
import { u as Tn } from "./FmMultiselectDialog-
|
|
13
|
+
import { u as Ct } from "./purchase-order-template-D7dkJMqf.js";
|
|
14
|
+
import { u as Tn } from "./FmMultiselectDialog-CBYvYJnE.js";
|
|
15
15
|
const qe = vn("ingredientForm", function() {
|
|
16
16
|
const s = Re(), T = Ae(), r = Ce(), b = B(!1), { t: S } = ve(), U = B();
|
|
17
17
|
function k() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as Y, mergeModels as Te, useModel as we, onMounted as ve, ref as R, computed as T, resolveComponent as B, openBlock as I, createElementBlock as L, createElementVNode as s, toDisplayString as O, unref as S, createVNode as b, createBlock as H, withCtx as N, Fragment as Q, renderList as W, normalizeClass as K, normalizeStyle as je, createSlots as te, createCommentVNode as z, withModifiers as ze, reactive as ge, watch as ye, isRef as le, Teleport as de, h as M, createTextVNode as q, watchEffect as He } from "vue";
|
|
2
2
|
import { E as Ue } from "./empty-placeholder-wf6-BWE8.js";
|
|
3
|
-
import { b8 as Xe, aY as Ye, f as ne, u as $, b9 as Qe, ba as Je, r as Ke, b as re, aM as me, n as Pe, b3 as fe, ab as Ae, ac as be, a as he, x as qe, h as ke, $ as G, a5 as Be, bb as Ce, aR as Ee, aE as Fe, Y as Le, C as Ve, a6 as ce, c as Ne, I as Ze, J as Ge } from "./app-
|
|
3
|
+
import { b8 as Xe, aY as Ye, f as ne, u as $, b9 as Qe, ba as Je, r as Ke, b as re, aM as me, n as Pe, b3 as fe, ab as Ae, ac as be, a as he, x as qe, h as ke, $ as G, a5 as Be, bb as Ce, aR as Ee, aE as Fe, Y as Le, C as Ve, a6 as ce, c as Ne, I as Ze, J as Ge } from "./app-B5p73NM9.js";
|
|
4
4
|
import { useDialogChild as We, useDialog as ue, useProxiedModel as ie, useSnackbar as ee, useBreakpoints as De, components as oe } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as Z, useCoreStore as se } from "@feedmepos/mf-common";
|
|
6
|
-
import { a as $e, b as et, c as tt, u as nt } from "./index-
|
|
7
|
-
import { _ as ot, F as st } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { a as $e, b as et, c as tt, u as nt } from "./index-tMZSFG5r.js";
|
|
7
|
+
import { _ as ot, F as st } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CLuceimk.js";
|
|
8
8
|
const at = "data:image/svg+xml,%3csvg%20width='200'%20height='101'%20viewBox='0%200%20200%20101'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M98.9161%2038.4456V24.1772H108.527V27.1988H102.12V30.2202H107.347V32.7382H102.12V38.4456H98.9161Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.382%2031.2276C110.382%2027.5345%20113.249%2024.1772%20117.127%2024.1772C121.174%2024.1772%20123.872%2027.7024%20123.872%2031.3953C123.872%2035.0884%20121.005%2038.6133%20117.127%2038.6133C113.08%2038.4456%20110.382%2034.9204%20110.382%2031.2276ZM117.127%2035.5919C119.487%2035.5919%20120.499%2033.4096%20120.499%2031.2276C120.499%2029.0452%20119.319%2027.0309%20117.127%2027.0309C114.935%2027.0309%20113.754%2029.213%20113.754%2031.2276C113.754%2033.5776%20114.935%2035.5919%20117.127%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M126.232%2031.2276C126.232%2027.5345%20129.099%2024.1772%20132.977%2024.1772C137.024%2024.1772%20139.722%2027.7024%20139.722%2031.3953C139.722%2035.0884%20136.855%2038.6133%20132.977%2038.6133C128.93%2038.4456%20126.232%2034.9204%20126.232%2031.2276ZM132.977%2035.5919C135.337%2035.5919%20136.349%2033.4096%20136.349%2031.2276C136.349%2029.0452%20135.169%2027.0309%20132.977%2027.0309C130.785%2027.0309%20129.604%2029.213%20129.604%2031.2276C129.604%2033.5776%20130.785%2035.5919%20132.977%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M142.926%2038.4455V24.345H148.153C152.874%2024.345%20155.235%2027.5343%20155.235%2031.3952C155.235%2035.5918%20152.368%2038.4455%20148.153%2038.4455H142.926ZM148.153%2027.0308H146.129V35.4238H148.153C150.513%2035.4238%20151.862%2033.5775%20151.862%2031.2272C151.862%2028.8773%20150.513%2027.0308%20148.153%2027.0308Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.045%2057.5607V49.1676L107.009%2055.2107H105.324L102.12%2049.1676V57.5607H98.9161V43.4604H102.457L106.167%2050.8465L109.876%2043.4604H113.417V57.5607H110.045Z'%20fill='%235D5359'/%3e%3cpath%20d='M115.947%2057.5607L121.342%2043.4604H124.04L129.436%2057.5607H125.895L124.715%2054.3716H120.331L119.319%2057.5607H115.947ZM122.691%2046.9856L121.005%2052.1893H124.378L122.691%2046.9856Z'%20fill='%235D5359'/%3e%3cpath%20d='M131.965%2057.5607V43.4604H138.373C141.07%2043.4604%20142.925%2045.8105%20142.925%2048.1605C142.925%2049.8393%20142.082%2051.5179%20140.565%2052.1893L143.768%2057.393H140.059L137.192%2052.8607H135V57.393H131.965V57.5607ZM135.169%2050.175H138.204C139.047%2050.175%20139.553%2049.3356%20139.553%2048.1605C139.553%2046.9856%20138.71%2046.3142%20138.035%2046.3142H135.169V50.175Z'%20fill='%235D5359'/%3e%3cpath%20d='M146.635%2057.5607V43.4604H150.007V49.8393L155.403%2043.4604H158.776L153.548%2049.6713L159.281%2057.5607H155.74L151.693%2051.5179L150.007%2053.3642V57.5607H146.635Z'%20fill='%235D5359'/%3e%3cpath%20d='M171.422%2054.7073V57.5607H161.474V43.4604H171.253V46.3142H164.677V48.9999H170.242V51.6856H164.677V54.7073H171.422Z'%20fill='%235D5359'/%3e%3cpath%20d='M185.417%2046.3142H181.202V57.5607H177.829V46.3142H173.614V43.4604H185.417V46.3142Z'%20fill='%235D5359'/%3e%3cpath%20d='M111.057%2062.5967V76.6973H107.853V70.9898H102.12V76.6973H98.9161V62.5967H102.12V68.1361H107.853V62.5967H111.057Z'%20fill='%235D5359'/%3e%3cpath%20d='M124.04%2069.815V62.5967H127.244V69.815C127.244%2073.6758%20125.389%2076.865%20121.005%2076.865C116.453%2076.865%20114.766%2073.5078%20114.766%2069.815V62.5967H117.97V69.815C117.97%2071.997%20118.813%2074.0115%20121.005%2074.0115C123.366%2074.0115%20124.04%2071.997%20124.04%2069.815Z'%20fill='%235D5359'/%3e%3cpath%20d='M138.036%2076.6973H131.122V62.5967H139.047C141.071%2062.5967%20142.251%2064.4433%20142.251%2066.2898C142.251%2067.6327%20141.576%2068.9755%20140.228%2069.4793C141.914%2069.9827%20142.926%2071.1578%20142.926%2073.1721C142.757%2075.5221%20140.733%2076.6973%20138.036%2076.6973ZM134.326%2065.4504V68.3041H137.53C138.204%2068.3041%20138.879%2067.8004%20138.879%2066.7933C138.879%2065.7861%20138.373%2065.2827%20137.698%2065.2827H134.326V65.4504ZM138.204%2070.8221H134.494V73.8435H138.204C139.047%2073.8435%20139.722%2073.1721%20139.722%2072.3327C139.553%2071.6613%20138.879%2070.8221%20138.204%2070.8221Z'%20fill='%235D5359'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M73.4753%2051.4994C78.7281%2050.5396%2082.8911%2046.4891%2083.9954%2041.3137L84.1232%2040.7134L83.9445%2040.1256C80.5804%2029.066%2071.9945%2020.2704%2061.0373%2016.5726C57.4%2015.3451%2053.5046%2014.6804%2049.458%2014.6804C45.4112%2014.6804%2041.5158%2015.3451%2037.8784%2016.5726C26.9214%2020.2704%2018.3354%2029.066%2014.9712%2040.1256L14.7924%2040.7134L14.9206%2041.3137C16.0247%2046.4891%2020.1875%2050.5396%2025.4405%2051.4994V58.8839H14.4183C14.6758%2059.9557%2014.9818%2061.0088%2015.3337%2062.0411C20.1553%2076.1811%2033.6083%2086.3619%2049.458%2086.3619C65.3074%2086.3619%2078.7606%2076.1811%2083.5822%2062.0411C83.9342%2061.0088%2084.2399%2059.9557%2084.4974%2058.8839H73.4753V51.4994ZM41.0517%2020.5973V38.5742C41.0517%2043.1931%2044.8155%2046.9371%2049.458%2046.9371C54.1005%2046.9371%2057.8641%2043.1931%2057.8641%2038.5742V20.5973C55.1919%2019.856%2052.3732%2019.4592%2049.458%2019.4592C46.5428%2019.4592%2043.7241%2019.856%2041.0517%2020.5973ZM62.6675%2022.3673V38.5742C62.6675%2043.1931%2066.431%2046.9371%2071.0735%2046.9371C74.9051%2046.9371%2078.1425%2044.3848%2079.1528%2040.8942C76.4672%2032.6902%2070.4379%2025.9824%2062.6675%2022.3673ZM60.2658%2046.1322C57.8753%2049.5094%2053.9255%2051.7159%2049.458%2051.7159C44.9902%2051.7159%2041.0408%2049.5094%2038.65%2046.1322C36.6982%2048.8894%2033.7074%2050.8662%2030.2439%2051.4994V58.8839H68.6718V51.4994C65.2083%2050.8662%2062.2175%2048.8894%2060.2658%2046.1322ZM21.1583%2063.6628C26.1349%2074.2514%2036.9382%2081.5834%2049.458%2081.5834C61.9776%2081.5834%2072.781%2074.2514%2077.7574%2063.6628H21.1583ZM36.2482%2038.5742V22.3673C28.4779%2025.9824%2022.4486%2032.6902%2019.7631%2040.8942C20.7733%2044.3848%2024.0106%2046.9371%2027.8422%2046.9371C32.4847%2046.9371%2036.2482%2043.1931%2036.2482%2038.5742Z'%20fill='%23FFC35D'/%3e%3c/svg%3e";
|
|
9
9
|
var Me = { exports: {} };
|
|
10
10
|
(function(C, A) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ee, computed as _, reactive as ne, resolveComponent as k, openBlock as r, createElementBlock as p, createVNode as y, withCtx as U, createElementVNode as n, toDisplayString as m, unref as i, createBlock as B, createCommentVNode as v, Fragment as E, renderList as C, nextTick as oe } from "vue";
|
|
2
|
-
import { a as te, a3 as le, bd as ie, n as h, be as T, a1 as G, a0 as se, F as de } from "./app-
|
|
3
|
-
import { u as re } from "./use-inventory-binding-dialog-
|
|
4
|
-
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as te, a3 as le, bd as ie, n as h, be as T, a1 as G, a0 as se, F as de } from "./app-B5p73NM9.js";
|
|
3
|
+
import { u as re } from "./use-inventory-binding-dialog-DOSfDQte.js";
|
|
4
|
+
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CLuceimk.js";
|
|
5
5
|
import { useI18n as ce } from "@feedmepos/mf-common";
|
|
6
6
|
const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-16" }, fe = { class: "flex items-center" }, ve = { class: "flex-1 fm-typo-en-title-sm-600" }, be = { class: "flex flex-col" }, ge = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, _e = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, he = {
|
|
7
7
|
class: "flex items-center",
|
|
@@ -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-B5p73NM9.js";
|
|
5
5
|
const w = /* @__PURE__ */ l({
|
|
6
6
|
__name: "InventoryBindingSummary",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as i, openBlock as F, createBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import { a0 as s } from "./app-
|
|
2
|
+
import { a0 as s } from "./app-B5p73NM9.js";
|
|
3
3
|
const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|