@feedmepos/mf-inventory-portal 1.2.51 → 1.2.53-dev.2
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-BJ_vKOR1.js → App-C8X881gs.js} +75 -70
- package/dist/{ApprovalView-B_prTTtl.js → ApprovalView-CnwwVO46.js} +34 -34
- package/dist/{BindingsDialog-BPuKgJIk.js → BindingsDialog-MM6wv-je.js} +2 -2
- package/dist/{BindingsPicker-Dv_cmEil.js → BindingsPicker-C_VV8t8e.js} +2 -2
- package/dist/{BindingsTable-BNSfYRfq.js → BindingsTable-CabKT98b.js} +4 -4
- package/dist/{ClosingDraftView-C78tcaJ3.js → ClosingDraftView-D3dwGHdG.js} +19 -18
- package/dist/{ClosingHistoryView-DY8liEk3.js → ClosingHistoryView-CBMIWL-O.js} +27 -27
- package/dist/{ClosingTemplateView-pJXEcrjO.js → ClosingTemplateView-FHCJY1Y1.js} +525 -511
- package/dist/{DeliveryOrderPrintPreview-Bu_l-kxu.js → DeliveryOrderPrintPreview-BB4HVWaM.js} +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dq2vcIMB.js +188 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DHe5G3kX.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BSrjl8Vc.js} +12 -12
- package/dist/FmMultiselectDialog-D8E2bGwL.js +618 -0
- package/dist/{FmMultiselectDialog-C3iCMK5I.js → FmMultiselectDialog-HP5xQpLC.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CefvebOx.js → FmUnitInput.vue_vue_type_script_setup_true_lang--yzPFTUH.js} +3 -3
- package/dist/{ImportView-JrenRgiI.js → ImportView-DQPKyc1T.js} +7 -7
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CSdxodp6.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DZAOa26T.js} +1 -1
- package/dist/{IngredientGroupView-aDFq_ZDh.js → IngredientGroupView-CiR31jQz.js} +108 -107
- package/dist/{IngredientsView-DSh3UqDg.js → IngredientsView-Csa1Lifk.js} +126 -125
- package/dist/{IntegrationView-KhZ78uxM.js → IntegrationView-DqGXjNPx.js} +80 -80
- package/dist/{InventoryBindingForm-DZu0CZYh.js → InventoryBindingForm-kZ6JIgK4.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-D-qjPLHS.js +403 -0
- package/dist/{InventoryBindingSummary-DZxLhZ_-.js → InventoryBindingSummary-Cn3y7cXX.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DAwpZY3n.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-5cpvf_ze.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CPDxwz-V.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DW_3XEAx.js} +2 -2
- package/dist/{PublishView-CLnQ7NBN.js → PublishView-tvxBQLp2.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DiBztBma.js → PurchaseOrderPrintPreview-CqSijErx.js} +1 -1
- package/dist/ReceiveRequestView-Oq87gJ1d.js +2913 -0
- package/dist/{RecipeView-BPIMvoTw.js → RecipeView-c7SNUwhq.js} +83 -82
- package/dist/{StockView-CI8MUJay.js → StockView-B3ocNf5D.js} +113 -112
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DEBHEMkh.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Br3p4H5X.js} +1 -1
- package/dist/{SupplierView-COihDMNY.js → SupplierView-7UHgW64q.js} +28 -27
- package/dist/SurchargeView-CkBBz_W1.js +460 -0
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-D-c0Ayis.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BxqwBD1A.js} +2 -2
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js +84 -0
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DZxJDrcN.js +201 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BVuuw11z.js → TransferDetails.vue_vue_type_script_setup_true_lang-BP7PC5FE.js} +15 -15
- package/dist/{TransferTemplateView-B2NNfrEq.js → TransferTemplateView-gnib1NSD.js} +82 -81
- package/dist/{UnitView-ZsbM07hw.js → UnitView-gccTcBDm.js} +20 -19
- package/dist/{WarehouseView-Cd5RFu5v.js → WarehouseView-9Tzk2HFV.js} +21 -20
- package/dist/WastageTemplateView-bxDDb0it.js +2383 -0
- package/dist/api/adjustment-template.d.ts +1 -0
- package/dist/api/closing-template.d.ts +1 -0
- package/dist/api/netsuite.d.ts +8 -0
- package/dist/api/surcharge.d.ts +31 -0
- package/dist/app-DiX-EfV6.js +8167 -0
- package/dist/{app-CySQTQxj.js → app-S9HQBEDL.js} +4514 -4410
- package/dist/app.d.ts +53 -0
- package/dist/app.js +1 -1
- package/dist/closing-template-DSppbNBU.js +125 -0
- package/dist/component-DpCUABT3.js +82 -0
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +8 -0
- package/dist/components/FmMultiselectDialogProps.d.ts +5 -0
- package/dist/components/TemplatePublishDialog.d.ts +2 -0
- package/dist/{date2-BWoUn1K_.js → date2-a0EDY-8z.js} +1 -1
- package/dist/{dayjs.min-cMW8olEu.js → dayjs.min-D3uqC-FM.js} +26 -26
- package/dist/{decimal-8BRzZQU6.js → decimal-iC0dKSbY.js} +2 -2
- package/dist/{defineDeepModel-AsUZ-DyW.js → defineDeepModel-sBbNFqqR.js} +1 -1
- package/dist/{duplicate-template-CyHfZR3S.js → duplicate-template-Dwe_h80w.js} +1 -1
- package/dist/{feature-Dm0FnWf9.js → feature-12j10xt_.js} +8956 -6221
- package/dist/{format-time-from-id-C9lmv5BP.js → format-time-from-id-Dyyvx-ha.js} +1 -1
- package/dist/{format-unit-display-BV8pJisO.js → format-unit-display-DstE3kKS.js} +11 -11
- package/dist/{import-export.helper-Djxw_H5S.js → import-export.helper-CR8rEBJV.js} +5 -5
- package/dist/{index-D6u3kywf.js → index-BbpxRM23.js} +1 -1
- package/dist/{index-8hCa5_Gb.js → index-Ca8nKTEy.js} +1 -1
- package/dist/{index-DidYtgNc.js → index-CvRrsISb.js} +3 -3
- package/dist/{lodash-CW_Ea6mA.js → lodash-BiCqhRt2.js} +1 -1
- package/dist/netsuite-B84CfGmT.js +5454 -0
- package/dist/{purchase-order-template-BTzjcgrO.js → purchase-order-template-ogVLqXnM.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-DkVWS5mF.js → rules-C0W8tBAK.js} +9 -9
- package/dist/{stock-CHw8pI8V.js → stock-BfY956rP.js} +3 -3
- package/dist/{stock-D8hLHgeN.js → stock-Dy08ISna.js} +1 -1
- package/dist/stores/feature.d.ts +4 -0
- package/dist/stores/integration/netsuite.d.ts +5 -0
- package/dist/stores/surcharge.d.ts +18 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-Dv83IfQr.js → supplier-BGfg_Uzv.js} +2 -2
- package/dist/surcharge-DZkc9Zxa.js +71 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CJjd4g-6.js → use-ingredient-select-dialog-fOf-xHgn.js} +2 -2
- package/dist/{use-inventory-binding-dialog-D4g79p5S.js → use-inventory-binding-dialog-CF6dmCop.js} +2 -2
- package/dist/{use-template-enabled-locations-2-Cg2iqQdq.js → use-template-enabled-locations-2-C9YTP8tP.js} +2 -2
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +4 -1
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +714 -0
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/surcharge/SurchargeView.vue.d.ts +2 -0
- package/dist/{vue-i18n-kUcLfpvT.js → vue-i18n-CVvQI1xZ.js} +571 -571
- package/dist/{xlsx-BjeMbhDF.js → xlsx-C46Afq2T.js} +1 -1
- package/dist/{xlsx.util-9eMlJfd9.js → xlsx.util-iJmlHY2V.js} +1 -1
- package/package.json +2 -2
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dgibb-Fh.js +0 -231
- package/dist/FmMultiselectDialog-CDONDKxE.js +0 -598
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-YuCn0irA.js +0 -375
- package/dist/ReceiveRequestView-_TOSnDGJ.js +0 -2913
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js +0 -162
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D8vbPlie.js +0 -155
- package/dist/WastageTemplateView-DpikyyZW.js +0 -2327
- package/dist/app-uBuHtW8m.js +0 -8127
- package/dist/closing-template-DXGjC5AG.js +0 -117
- package/dist/cypress/component/receive-request/KDI-15-total-price-currency.cy.d.ts +0 -2
- package/dist/netsuite-BEto-z0v.js +0 -5131
- package/dist/views/ingredients/helper/calculate-default-cost.d.ts +0 -9
- package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +0 -22
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as G, ref as v, computed as D, watch as se, resolveComponent as S, openBlock as i, createElementBlock as f, createVNode as g, withModifiers as ie, withCtx as
|
|
1
|
+
import { defineComponent as G, ref as v, computed as D, watch as se, resolveComponent as S, openBlock as i, createElementBlock as f, createVNode as g, withModifiers as ie, withCtx as L, createElementVNode as n, toDisplayString as s, unref as a, Fragment as $, createTextVNode as N, createBlock as T, createCommentVNode as k, renderList as z, normalizeClass as ce, h as re, onMounted as de, Teleport as ue } from "vue";
|
|
2
2
|
import { F as me, _ as fe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
3
|
import { useI18n as J, useCoreStore as ve } from "@feedmepos/mf-common";
|
|
4
|
-
import {
|
|
5
|
-
import { _ as pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { E as Q, B as V, u as ye } from "./app-S9HQBEDL.js";
|
|
5
|
+
import { _ as pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BSrjl8Vc.js";
|
|
6
6
|
import { useSnackbar as W, useDialog as ge } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as _e } from "./stock-
|
|
7
|
+
import { u as _e } from "./stock-Dy08ISna.js";
|
|
8
8
|
const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col gap-16" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col gap-8" }, De = { class: "fm-typo-en-body-md-600" }, we = { class: "flex flex-col gap-8" }, Se = { class: "fm-typo-en-body-md-600" }, Ve = { class: "flex items-center gap-8 mb-8" }, Ae = {
|
|
9
9
|
key: 2,
|
|
10
10
|
class: "text-red-500 text-sm mt-2"
|
|
@@ -14,13 +14,13 @@ const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col
|
|
|
14
14
|
}, Re = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
|
17
|
-
},
|
|
17
|
+
}, Be = {
|
|
18
18
|
key: 1,
|
|
19
19
|
class: "flex flex-col gap-8"
|
|
20
|
-
},
|
|
20
|
+
}, Le = { class: "fm-typo-en-body-sm-600" }, Te = { class: "flex flex-col gap-4" }, Ie = { key: 0 }, Oe = {
|
|
21
21
|
key: 1,
|
|
22
22
|
class: "flex flex-col gap-8"
|
|
23
|
-
},
|
|
23
|
+
}, Ee = { class: "fm-typo-en-body-md-600" }, $e = { class: "flex flex-col gap-8 max-h-[300px] overflow-y-auto" }, Ne = { class: "flex items-center justify-between" }, Pe = { class: "fm-typo-en-body-sm-600" }, Ue = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Ke = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Me = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
|
26
26
|
}, He = {
|
|
@@ -65,7 +65,7 @@ const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col
|
|
|
65
65
|
} catch (e) {
|
|
66
66
|
console.error("Error parsing date from closing ID:", e);
|
|
67
67
|
}
|
|
68
|
-
}),
|
|
68
|
+
}), B = D(() => {
|
|
69
69
|
if (!d.value || !c.value) return "";
|
|
70
70
|
const e = V(d.value), o = c.value;
|
|
71
71
|
if (e && o) {
|
|
@@ -74,7 +74,7 @@ const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col
|
|
|
74
74
|
return l("inventory.stock.recalculation.error.endDateBeforeOpening");
|
|
75
75
|
}
|
|
76
76
|
return "";
|
|
77
|
-
}), U = D(() => !!d.value && !!c.value && !
|
|
77
|
+
}), U = D(() => !!d.value && !!c.value && !B.value), K = D(() => w.value.some(
|
|
78
78
|
(e) => !e.completedAt && !e.failedReason
|
|
79
79
|
));
|
|
80
80
|
async function M() {
|
|
@@ -138,7 +138,7 @@ const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col
|
|
|
138
138
|
se(
|
|
139
139
|
[d, c],
|
|
140
140
|
() => {
|
|
141
|
-
d.value && c.value && !
|
|
141
|
+
d.value && c.value && !B.value ? te() : r.value = [];
|
|
142
142
|
},
|
|
143
143
|
{ immediate: !1 }
|
|
144
144
|
);
|
|
@@ -167,7 +167,7 @@ const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
return (e, o) => {
|
|
170
|
-
const b = S("FmButton"),
|
|
170
|
+
const b = S("FmButton"), E = S("FmSelect"), j = S("FmRadio"), le = S("FmDatePicker"), ae = S("FmAlert"), ne = S("FmDialog");
|
|
171
171
|
return i(), f("div", null, [
|
|
172
172
|
g(b, {
|
|
173
173
|
"prepend-icon": "info",
|
|
@@ -181,10 +181,10 @@ const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col
|
|
|
181
181
|
dismissAway: "",
|
|
182
182
|
"max-width": "600px"
|
|
183
183
|
}, {
|
|
184
|
-
"dialog-header":
|
|
184
|
+
"dialog-header": L(() => [
|
|
185
185
|
n("div", be, s(a(l)("inventory.stock.recalculation.title")), 1)
|
|
186
186
|
]),
|
|
187
|
-
"dialog-footer":
|
|
187
|
+
"dialog-footer": L(() => [
|
|
188
188
|
K.value ? (i(), f("div", Ge, [
|
|
189
189
|
g(b, {
|
|
190
190
|
variant: "tertiary",
|
|
@@ -207,17 +207,17 @@ const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col
|
|
|
207
207
|
}, null, 8, ["disabled", "loading", "label"])
|
|
208
208
|
]))
|
|
209
209
|
]),
|
|
210
|
-
default:
|
|
210
|
+
default: L(() => [
|
|
211
211
|
n("div", he, [
|
|
212
212
|
n("div", ke, s(a(l)("inventory.stock.recalculation.description")), 1),
|
|
213
|
-
K.value ? k("", !0) : (i(), f(
|
|
213
|
+
K.value ? k("", !0) : (i(), f($, { key: 0 }, [
|
|
214
214
|
n("div", xe, [
|
|
215
215
|
n("p", De, [
|
|
216
216
|
N(s(a(l)("inventory.stock.recalculation.openingDate")) + " ", 1),
|
|
217
217
|
o[8] || (o[8] = n("span", { class: "text-fm-color-system-error-300" }, "*", -1))
|
|
218
218
|
]),
|
|
219
219
|
o[9] || (o[9] = n("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)),
|
|
220
|
-
g(
|
|
220
|
+
g(E, {
|
|
221
221
|
modelValue: d.value,
|
|
222
222
|
"onUpdate:modelValue": o[0] || (o[0] = (t) => d.value = t),
|
|
223
223
|
items: R.value,
|
|
@@ -245,7 +245,7 @@ const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col
|
|
|
245
245
|
label: a(l)("inventory.stock.recalculation.selectByClosing")
|
|
246
246
|
}, null, 8, ["modelValue", "label"])
|
|
247
247
|
]),
|
|
248
|
-
_.value ? (i(), T(
|
|
248
|
+
_.value ? (i(), T(E, {
|
|
249
249
|
key: 1,
|
|
250
250
|
modelValue: P.value,
|
|
251
251
|
"onUpdate:modelValue": o[4] || (o[4] = (t) => P.value = t),
|
|
@@ -261,22 +261,22 @@ const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col
|
|
|
261
261
|
min: Z.value,
|
|
262
262
|
disabled: !d.value || u.value
|
|
263
263
|
}, null, 8, ["modelValue", "placeholder", "min", "disabled"])),
|
|
264
|
-
|
|
264
|
+
B.value ? (i(), f("div", Ae, s(B.value), 1)) : k("", !0)
|
|
265
265
|
]),
|
|
266
|
-
d.value && c.value && !
|
|
266
|
+
d.value && c.value && !B.value ? (i(), T(ae, {
|
|
267
267
|
key: 0,
|
|
268
268
|
type: "info"
|
|
269
269
|
}, {
|
|
270
|
-
default:
|
|
270
|
+
default: L(() => [
|
|
271
271
|
n("div", Ce, s(a(l)("inventory.stock.recalculation.info")), 1)
|
|
272
272
|
]),
|
|
273
273
|
_: 1
|
|
274
274
|
})) : k("", !0),
|
|
275
275
|
r.value.length > 0 ? (i(), f("div", Fe, [
|
|
276
|
-
p.value ? (i(), f("div", Re, " Loading affected closing drafts... ")) : (i(), f("div",
|
|
277
|
-
n("div",
|
|
276
|
+
p.value ? (i(), f("div", Re, " Loading affected closing drafts... ")) : (i(), f("div", Be, [
|
|
277
|
+
n("div", Le, " Affected closing draft(s): " + s(r.value.length), 1),
|
|
278
278
|
n("div", Te, [
|
|
279
|
-
(i(!0), f(
|
|
279
|
+
(i(!0), f($, null, z(r.value, (t) => (i(), f("div", {
|
|
280
280
|
key: t._id,
|
|
281
281
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
|
282
282
|
}, [
|
|
@@ -288,9 +288,9 @@ const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col
|
|
|
288
288
|
])) : k("", !0)
|
|
289
289
|
], 64)),
|
|
290
290
|
w.value.length > 0 ? (i(), f("div", Oe, [
|
|
291
|
-
n("p",
|
|
292
|
-
n("div",
|
|
293
|
-
(i(!0), f(
|
|
291
|
+
n("p", Ee, s(a(l)("inventory.stock.recalculation.recentRequests")), 1),
|
|
292
|
+
n("div", $e, [
|
|
293
|
+
(i(!0), f($, null, z(w.value, (t) => (i(), f("div", {
|
|
294
294
|
key: t._id,
|
|
295
295
|
class: "p-12 border border-fm-color-border-primary rounded-8 flex flex-col gap-4"
|
|
296
296
|
}, [
|
|
@@ -416,7 +416,7 @@ const be = { class: "fm-typo-en-heading-lg-600" }, he = { class: "flex flex-col
|
|
|
416
416
|
title: a(h)("inventory.closing.history.title"),
|
|
417
417
|
"onClick:action": _
|
|
418
418
|
}, {
|
|
419
|
-
default:
|
|
419
|
+
default: L(() => [
|
|
420
420
|
n("div", Qe, [
|
|
421
421
|
g(pe, {
|
|
422
422
|
"change-location": "",
|