@feedmepos/mf-inventory-portal 1.2.31-dev.1 → 1.2.31
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-DfKh34ES.js → App-b34lNT4g.js} +3 -3
- package/dist/{ApprovalView-DyoKsEqh.js → ApprovalView-CJWjUkLD.js} +5 -5
- package/dist/{BindingsDialog-7rGLzkyA.js → BindingsDialog-BpAb7Yed.js} +2 -2
- package/dist/{BindingsPicker-Cj1DvhQN.js → BindingsPicker-BP-3FzLh.js} +2 -2
- package/dist/{BindingsTable-CAreptqr.js → BindingsTable-DzmlQtl4.js} +3 -3
- package/dist/{ClosingDraftView-DoDGz9Y8.js → ClosingDraftView-D6fO_fMH.js} +60 -61
- package/dist/{ClosingHistoryView-BJSE7ZSv.js → ClosingHistoryView-C17zVEc1.js} +3 -3
- package/dist/{ClosingTemplateView-Dr2eJk4h.js → ClosingTemplateView-BVMBMjJT.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-BzYLm6J6.js → DeliveryOrderPrintPreview-BJ9JnRMI.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-16r_hkBE.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-l27RtcCZ.js} +5 -5
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Csesow4V.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B_Dttq9A.js} +2 -2
- package/dist/{FmMultiselectDialog-BGhSjgbj.js → FmMultiselectDialog-Dmzafvly.js} +2 -2
- package/dist/{FmMultiselectDialog-DUrpqAkF.js → FmMultiselectDialog-DqiUpTi2.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CSv7osJW.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DvJLMTsc.js} +3 -3
- package/dist/{ImportView-BAkyTU_3.js → ImportView-uLAag5za.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-z0IAsrH_.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CXIlMRwW.js} +1 -1
- package/dist/{IngredientGroupView-D7gurA7T.js → IngredientGroupView-BeQ_LkQT.js} +5 -5
- package/dist/{IngredientsView-hwfpMtTX.js → IngredientsView-CkPu-2rA.js} +14 -14
- package/dist/{IntegrationView-DwqzQ6E3.js → IntegrationView-BUOHTp71.js} +11 -11
- package/dist/{InventoryBindingForm-CwjM6Rqk.js → InventoryBindingForm-CAOvY9ez.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BPr8PDwu.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-C_5NB4vt.js} +4 -4
- package/dist/{InventoryBindingSummary-B7UFFMkm.js → InventoryBindingSummary-CwLT55Yp.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Djo2b2Ix.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-36DMDwwv.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BSgGGiN6.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CJbWwn-y.js} +2 -2
- package/dist/{PublishView-CA9gFV_r.js → PublishView-d0ppf8oX.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-BeHd82Y0.js → PurchaseOrderPrintPreview-_KwkZpb1.js} +1 -1
- package/dist/{ReceiveRequestView-DEthRdM1.js → ReceiveRequestView-B5GtyuVE.js} +19 -19
- package/dist/{RecipeView-D45gkYHY.js → RecipeView-otjkQETU.js} +8 -8
- package/dist/{StockView-COx7A4Ac.js → StockView-BduxL8gB.js} +15 -15
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DX35xDkm.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-ChbTPBlO.js} +1 -1
- package/dist/{SupplierView-DHM3dJMZ.js → SupplierView-Cr_GC962.js} +11 -11
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bg2K2ULw.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BX5-zk8F.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CyMEGFh5.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Cr9mpjF-.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CVm2bXic.js → TransferDetails.vue_vue_type_script_setup_true_lang-Dg-75pNX.js} +14 -14
- package/dist/{TransferTemplateView-BtYozLuk.js → TransferTemplateView-C6wrMuVW.js} +15 -15
- package/dist/{UnitView-B4mqodQa.js → UnitView-BmwTzNFW.js} +6 -6
- package/dist/{WarehouseView-CjDM8L_V.js → WarehouseView-4oPEWCrF.js} +5 -5
- package/dist/{WastageTemplateView-Be4Y_zV8.js → WastageTemplateView-8sFf9Hge.js} +14 -14
- package/dist/{app-DYsP0gKj.js → app-DVM1G55m.js} +1347 -1325
- package/dist/app.js +1 -1
- package/dist/{closing-template-BVy1ga2g.js → closing-template-CCr1ydAR.js} +1 -1
- package/dist/{date2-BO7HiZTk.js → date2-CVonRQ-Z.js} +1 -1
- package/dist/{dayjs.min-HNt4C1ja.js → dayjs.min-DlvSKMyw.js} +1 -1
- package/dist/{decimal-BJ8rKm1R.js → decimal-BhQ5pw32.js} +2 -2
- package/dist/{defineDeepModel-CidpVmK7.js → defineDeepModel-DlzvXPT6.js} +1 -1
- package/dist/{duplicate-template-C25Z0lvq.js → duplicate-template-f67LGdet.js} +1 -1
- package/dist/{feature-DCia3aqG.js → feature-CMce8__i.js} +2 -2
- package/dist/{format-time-from-id-BPws326b.js → format-time-from-id-BNEZ_v2a.js} +1 -1
- package/dist/{format-unit-display-C2P3mS8l.js → format-unit-display-DjZ3IZnM.js} +10 -10
- package/dist/{import-export.helper-Dt6ZMAPT.js → import-export.helper-B9EKM8tJ.js} +5 -5
- package/dist/{index-BjUDHtA2.js → index-DAvHyTSs.js} +1 -1
- package/dist/{index-6zxXdF-V.js → index-DCEmbTpz.js} +1 -1
- package/dist/{index-tZj47B-j.js → index-QpIYajD3.js} +3 -3
- package/dist/{lodash-DLMgBu6M.js → lodash-DbQpGXNm.js} +1 -1
- package/dist/{netsuite-BSMLXIQa.js → netsuite-B0K2sZbd.js} +371 -359
- package/dist/{purchase-order-template-D5NGCbI2.js → purchase-order-template-Cd4-p_bP.js} +1 -1
- package/dist/{rules-BiaGzhvQ.js → rules-CGkz1A9e.js} +3 -3
- package/dist/{stock-DOCQ91Jh.js → stock-BvjTEhfz.js} +1 -1
- package/dist/{stock-Ty-89Ap8.js → stock-q-A_pVjF.js} +3 -3
- package/dist/{supplier-Dxb5ULjF.js → supplier-C4r3UrLg.js} +2 -2
- package/dist/{use-ingredient-select-dialog-BI0yIG6A.js → use-ingredient-select-dialog-Fec15IeI.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CbZC-VuL.js → use-inventory-binding-dialog-C6CnLytm.js} +2 -2
- package/dist/{use-template-enabled-locations-2-Dhttpl0B.js → use-template-enabled-locations-2-DdMePMMU.js} +2 -2
- package/dist/{vue-i18n-Cqx7gNJF.js → vue-i18n-CGkTMPnJ.js} +395 -395
- package/dist/{xlsx-ex8Bmftq.js → xlsx-yMnIitX5.js} +1 -1
- package/dist/{xlsx.util-C8YXEqEl.js → xlsx.util-C9t9lGGy.js} +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as B, onUnmounted as D, defineComponent as w, watch as L, onMounted as M, computed as P, resolveComponent as y, openBlock as R, createElementBlock as A, unref as T, createVNode as g, createElementVNode as v, toDisplayString as x, createBlock as F, createCommentVNode as W } from "vue";
|
|
2
|
-
import { u as K, a as $, R as e, m as _, g as a, b as V } from "./app-
|
|
2
|
+
import { u as K, a as $, R as e, m as _, g as a, b as V } from "./app-DVM1G55m.js";
|
|
3
3
|
import { useCoreStore as U, useI18n as k } from "@feedmepos/mf-common";
|
|
4
4
|
import { useRouter as O, useRoute as j } from "vue-router";
|
|
5
|
-
import { u as H } from "./feature-
|
|
6
|
-
import { u as z } from "./netsuite-
|
|
5
|
+
import { u as H } from "./feature-CMce8__i.js";
|
|
6
|
+
import { u as z } from "./netsuite-B0K2sZbd.js";
|
|
7
7
|
import { u as Q } from "./useTabStorage-BkIVScW_.js";
|
|
8
8
|
import { u as Y } from "./googlemap-Dm8ERVai.js";
|
|
9
9
|
function q() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ue, ref as y, watch as ie, computed as d, resolveComponent as ce, openBlock as x, createBlock as X, unref as n, withCtx as k, createElementVNode as c, normalizeClass as pe, createVNode as i, normalizeStyle as de, toDisplayString as me, createElementBlock as fe, createCommentVNode as ve, Teleport as he, mergeProps as _e } from "vue";
|
|
2
|
-
import { u as De, m as b } from "./app-
|
|
3
|
-
import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as be, P as q, a as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { d as Z } from "./date2-
|
|
2
|
+
import { u as De, m as b } from "./app-DVM1G55m.js";
|
|
3
|
+
import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B_Dttq9A.js";
|
|
4
|
+
import { u as be, P as q, a as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Dg-75pNX.js";
|
|
5
|
+
import { d as Z } from "./date2-CVonRQ-Z.js";
|
|
6
6
|
import { u as Se, _ as xe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
7
7
|
import { _ as ke, F as O } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
8
8
|
import { useBreakpoints as qe } from "@feedmepos/ui-library";
|
|
9
9
|
import { useI18n as we } from "@feedmepos/mf-common";
|
|
10
10
|
import { N as Pe, H as Ne } from "./app-rgirz_52.js";
|
|
11
|
-
import { u as Te } from "./netsuite-
|
|
11
|
+
import { u as Te } from "./netsuite-B0K2sZbd.js";
|
|
12
12
|
const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Fe = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as d, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as L, ad as S } from "./app-
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-C_5NB4vt.js";
|
|
3
|
+
import { a as L, ad as S } from "./app-DVM1G55m.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
-
import { a as M } from "./FmMultiselectDialog-
|
|
3
|
-
import { a as x, ad as z } from "./app-
|
|
2
|
+
import { a as M } from "./FmMultiselectDialog-Dmzafvly.js";
|
|
3
|
+
import { a as x, ad as z } from "./app-DVM1G55m.js";
|
|
4
4
|
const F = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex flex-col gap-16"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
|
|
2
|
-
import { F as b, a as P, ad as R } from "./app-
|
|
3
|
-
import "./dayjs.min-
|
|
2
|
+
import { F as b, a as P, ad as R } from "./app-DVM1G55m.js";
|
|
3
|
+
import "./dayjs.min-DlvSKMyw.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import "@feedmepos/mf-common";
|
|
7
7
|
import "./app-rgirz_52.js";
|
|
8
|
-
import "./lodash-
|
|
8
|
+
import "./lodash-DbQpGXNm.js";
|
|
9
9
|
const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
|
|
10
10
|
__name: "binding-ui",
|
|
11
11
|
props: {
|
|
@@ -2,17 +2,17 @@ import { defineComponent as Ee, ref as Y, computed as V, onMounted as qe, resolv
|
|
|
2
2
|
import { F as Ut, u as Pt, _ as Rt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
3
|
import { useCoreStore as Mt, useI18n as vt } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as We, useDialog as Vt, useProxiedModel as Lt, components as be, useBreakpoints as Nt } from "@feedmepos/ui-library";
|
|
5
|
-
import { o as Et, u as ze, E as O, s as M, G as gt, H as he, z as Qe, t as Me, c as zt, a as Ht } from "./app-
|
|
5
|
+
import { o as Et, u as ze, E as O, s as M, G as gt, H as he, z as Qe, t as Me, c as zt, a as Ht } from "./app-DVM1G55m.js";
|
|
6
6
|
import { defineStore as yt, storeToRefs as Ot } from "pinia";
|
|
7
|
-
import { d as Le, e as bt, f as Yt, a as ke } from "./date2-
|
|
8
|
-
import { R as Kt, f as Ze, a as Ge, t as Qt, d as Be, o as ht, p as kt, m as xt, l as Gt } from "./rules-
|
|
9
|
-
import { b as qt, d as Wt } from "./xlsx.util-
|
|
10
|
-
import { u as Dt } from "./stock-
|
|
11
|
-
import { u as Je } from "./stock-
|
|
7
|
+
import { d as Le, e as bt, f as Yt, a as ke } from "./date2-CVonRQ-Z.js";
|
|
8
|
+
import { R as Kt, f as Ze, a as Ge, t as Qt, d as Be, o as ht, p as kt, m as xt, l as Gt } from "./rules-CGkz1A9e.js";
|
|
9
|
+
import { b as qt, d as Wt } from "./xlsx.util-C9t9lGGy.js";
|
|
10
|
+
import { u as Dt } from "./stock-q-A_pVjF.js";
|
|
11
|
+
import { u as Je } from "./stock-BvjTEhfz.js";
|
|
12
12
|
import { D as dt, R as Pe } from "./row-action.enum-BcW_L_nE.js";
|
|
13
13
|
import { c as Zt, _ as Jt, F as Re } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
14
|
-
import { f as Xt } from "./format-time-from-id-
|
|
15
|
-
import { _ as ea } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { f as Xt } from "./format-time-from-id-BNEZ_v2a.js";
|
|
15
|
+
import { _ as ea } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B_Dttq9A.js";
|
|
16
16
|
import { E as ta } from "./empty-placeholder-wf6-BWE8.js";
|
|
17
17
|
const He = Et((s, o) => {
|
|
18
18
|
function e() {
|
|
@@ -107,7 +107,7 @@ const He = Et((s, o) => {
|
|
|
107
107
|
} else
|
|
108
108
|
g.value = null;
|
|
109
109
|
}
|
|
110
|
-
}),
|
|
110
|
+
}), T = V(() => g.value ? g.value.getTime() > (/* @__PURE__ */ new Date()).getTime() : !1);
|
|
111
111
|
async function v(c) {
|
|
112
112
|
h.value = !0;
|
|
113
113
|
try {
|
|
@@ -143,7 +143,7 @@ const He = Et((s, o) => {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
return (c, u) => {
|
|
146
|
-
const I = z("FmLabel"), y = z("FmDatePicker"), b = z("FmTimePicker"), C = z("FmTextField"),
|
|
146
|
+
const I = z("FmLabel"), y = z("FmDatePicker"), b = z("FmTimePicker"), C = z("FmTextField"), B = z("FmButton"), H = z("FmForm");
|
|
147
147
|
return P.value ? (w(), ie(H, {
|
|
148
148
|
key: 1,
|
|
149
149
|
onValidationSuccess: v,
|
|
@@ -178,7 +178,7 @@ const He = Et((s, o) => {
|
|
|
178
178
|
modelValue: N.value,
|
|
179
179
|
"onUpdate:modelValue": u[1] || (u[1] = (K) => N.value = K)
|
|
180
180
|
}, null, 8, ["modelValue"]),
|
|
181
|
-
|
|
181
|
+
T.value ? (w(), E("div", sa, " Cannot select future date ")) : ne("", !0)
|
|
182
182
|
])) : ne("", !0),
|
|
183
183
|
_(C, {
|
|
184
184
|
modelValue: e.value,
|
|
@@ -188,27 +188,26 @@ const He = Et((s, o) => {
|
|
|
188
188
|
rules: [$(Kt)()]
|
|
189
189
|
}, null, 8, ["modelValue", "rules"]),
|
|
190
190
|
i("div", ra, [
|
|
191
|
-
_(
|
|
191
|
+
_(B, {
|
|
192
192
|
label: "Cancel",
|
|
193
193
|
variant: "tertiary",
|
|
194
194
|
onClick: u[3] || (u[3] = (K) => c.onCancel())
|
|
195
195
|
}),
|
|
196
|
-
c.action === $(O).enum.approveDraft ? (w(), ie(
|
|
196
|
+
c.action === $(O).enum.approveDraft ? (w(), ie(B, {
|
|
197
197
|
key: 0,
|
|
198
198
|
label: "Approve",
|
|
199
199
|
type: "button",
|
|
200
200
|
onClick: u[4] || (u[4] = (K) => v(!0)),
|
|
201
201
|
variant: R.value,
|
|
202
202
|
loading: h.value,
|
|
203
|
-
disabled:
|
|
203
|
+
disabled: T.value
|
|
204
204
|
}, null, 8, ["variant", "loading", "disabled"])) : ne("", !0),
|
|
205
|
-
_(
|
|
205
|
+
_(B, {
|
|
206
206
|
label: L.value,
|
|
207
207
|
type: "submit",
|
|
208
208
|
variant: R.value,
|
|
209
|
-
loading: h.value
|
|
210
|
-
|
|
211
|
-
}, null, 8, ["label", "variant", "loading", "disabled"])
|
|
209
|
+
loading: h.value
|
|
210
|
+
}, null, 8, ["label", "variant", "loading"])
|
|
212
211
|
])
|
|
213
212
|
]),
|
|
214
213
|
_: 1
|
|
@@ -232,12 +231,12 @@ function ua(s, o, e, m, x, h) {
|
|
|
232
231
|
const g = At(s), P = m ?? g, L = ht(P, o), R = o.amount === 0 ? null : kt(L, {
|
|
233
232
|
...o,
|
|
234
233
|
amount: Math.abs(o.amount)
|
|
235
|
-
}), k = R ? Ze(R, ca) : null, N = ((Q = s.sku.defaultCost) == null ? void 0 : Q.costPerUnit) ?? { amount: 0, precision: 0 },
|
|
234
|
+
}), k = R ? Ze(R, ca) : null, N = ((Q = s.sku.defaultCost) == null ? void 0 : Q.costPerUnit) ?? { amount: 0, precision: 0 }, T = Number(M.toFormatString({ value: N })), v = ((S = (Z = s.sku.defaultCost) == null ? void 0 : Z.measurement) == null ? void 0 : S.conversion) ?? {
|
|
236
235
|
amount: 1,
|
|
237
236
|
precision: 0
|
|
238
237
|
}, c = Number(
|
|
239
238
|
M.toFormatString({ value: v })
|
|
240
|
-
), u = x ? Number(M.toFormatString({ value: x })) : 0, I = Number(M.toFormatString({ value: o })), y = Number(M.toFormatString({ value: P })), b = I - y, C = b *
|
|
239
|
+
), u = x ? Number(M.toFormatString({ value: x })) : 0, I = Number(M.toFormatString({ value: o })), y = Number(M.toFormatString({ value: P })), b = I - y, C = b * T / c, B = y * T / c, H = I * T / c;
|
|
241
240
|
return {
|
|
242
241
|
code: s.sku.code,
|
|
243
242
|
name: s.sku.name,
|
|
@@ -258,12 +257,12 @@ function ua(s, o, e, m, x, h) {
|
|
|
258
257
|
value: xt(k, 2)
|
|
259
258
|
})
|
|
260
259
|
) : null,
|
|
261
|
-
costPerUnit:
|
|
260
|
+
costPerUnit: T,
|
|
262
261
|
opening: u,
|
|
263
262
|
adjustmentTypes: h ?? _t,
|
|
264
263
|
varianceQty: b,
|
|
265
264
|
varianceInCost: C,
|
|
266
|
-
stockTakeValue:
|
|
265
|
+
stockTakeValue: B,
|
|
267
266
|
systemValue: H
|
|
268
267
|
};
|
|
269
268
|
}
|
|
@@ -366,7 +365,7 @@ function fa(s) {
|
|
|
366
365
|
];
|
|
367
366
|
}
|
|
368
367
|
function pa(s, o, e) {
|
|
369
|
-
var b, C,
|
|
368
|
+
var b, C, B, H, K, Q, Z;
|
|
370
369
|
const m = o.groupBy(
|
|
371
370
|
(S) => S.id,
|
|
372
371
|
(S) => S.balance
|
|
@@ -394,10 +393,10 @@ function pa(s, o, e) {
|
|
|
394
393
|
ee,
|
|
395
394
|
se
|
|
396
395
|
);
|
|
397
|
-
}), k = da(P),
|
|
398
|
-
["Business name:",
|
|
399
|
-
["Business ID:",
|
|
400
|
-
["Menu version",
|
|
396
|
+
}), k = da(P), T = Mt().currentBusiness.value, v = fa(k), c = [
|
|
397
|
+
["Business name:", T == null ? void 0 : T.name],
|
|
398
|
+
["Business ID:", T == null ? void 0 : T._id],
|
|
399
|
+
["Menu version", T == null ? void 0 : T.menuVersion],
|
|
401
400
|
["Created at", new Date(s.createdAt)],
|
|
402
401
|
["Created by", (b = s.createdBy) == null ? void 0 : b.name],
|
|
403
402
|
["Updated at", new Date(s.updatedAt)],
|
|
@@ -405,7 +404,7 @@ function pa(s, o, e) {
|
|
|
405
404
|
["Recent action", s.approvedAt ? "Approve" : s.rejectionHistory ? "Reject" : ""],
|
|
406
405
|
[
|
|
407
406
|
"Action by",
|
|
408
|
-
s.approvedAt ? (
|
|
407
|
+
s.approvedAt ? (B = s.approvedBy) == null ? void 0 : B.name : s.rejectionHistory ? (K = (H = s.rejectionHistory[0]) == null ? void 0 : H.rejectedBy) == null ? void 0 : K.name : ""
|
|
409
408
|
],
|
|
410
409
|
[
|
|
411
410
|
"Action at",
|
|
@@ -418,7 +417,7 @@ function pa(s, o, e) {
|
|
|
418
417
|
[],
|
|
419
418
|
v.map((S) => S.name),
|
|
420
419
|
...R.map((S) => v.map((X) => S[X.id]))
|
|
421
|
-
], u = v.map((S) => `system:${S.id}`), I = qt(c, u), y = `[${
|
|
420
|
+
], u = v.map((S) => `system:${S.id}`), I = qt(c, u), y = `[${T == null ? void 0 : T.name}] closing draft (${Yt(new Date(s.updatedAt))}).xlsx`;
|
|
422
421
|
return Wt(I, y), y;
|
|
423
422
|
}
|
|
424
423
|
const va = { class: "flex flex-col" }, ga = {
|
|
@@ -471,7 +470,7 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
471
470
|
e.value = !0, o.onFinished(m.value.toISOString());
|
|
472
471
|
}
|
|
473
472
|
return (R, k) => {
|
|
474
|
-
const N = z("FmLabel"),
|
|
473
|
+
const N = z("FmLabel"), T = z("FmDatePicker"), v = z("FmTimePicker"), c = z("FmButton"), u = z("FmForm");
|
|
475
474
|
return x.value ? (w(), ie(u, {
|
|
476
475
|
key: 1,
|
|
477
476
|
onValidationSuccess: L,
|
|
@@ -498,7 +497,7 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
498
497
|
])),
|
|
499
498
|
_: 1
|
|
500
499
|
}),
|
|
501
|
-
_(
|
|
500
|
+
_(T, {
|
|
502
501
|
modelValue: h.value,
|
|
503
502
|
"onUpdate:modelValue": k[0] || (k[0] = (I) => h.value = I),
|
|
504
503
|
max: $(Le)(/* @__PURE__ */ new Date())
|
|
@@ -549,8 +548,8 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
549
548
|
async function R(y) {
|
|
550
549
|
var C;
|
|
551
550
|
if (y.status === he.enum.COMPLETED) {
|
|
552
|
-
const
|
|
553
|
-
if (!
|
|
551
|
+
const B = y.closingAdjustmentId;
|
|
552
|
+
if (!B)
|
|
554
553
|
return e.open({
|
|
555
554
|
title: "Something went wrong",
|
|
556
555
|
message: "Closing draft is completed but closing document cannot be found.",
|
|
@@ -558,7 +557,7 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
558
557
|
}), console.error("Closing draft is completed but closing document cannot be found.", {
|
|
559
558
|
draftId: y._id
|
|
560
559
|
}), [];
|
|
561
|
-
const H = await m.readAdjustmentById(
|
|
560
|
+
const H = await m.readAdjustmentById(B);
|
|
562
561
|
return ((H == null ? void 0 : H.skus) ?? []).map((Q) => ({
|
|
563
562
|
id: Q.sku._id,
|
|
564
563
|
balance: Q.fromBalance,
|
|
@@ -587,7 +586,7 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
587
586
|
}
|
|
588
587
|
});
|
|
589
588
|
}
|
|
590
|
-
function
|
|
589
|
+
function T(y, b) {
|
|
591
590
|
o.open({
|
|
592
591
|
title: "Reject draft",
|
|
593
592
|
contentComponent: Ke,
|
|
@@ -638,8 +637,8 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
638
637
|
contentComponent: ba,
|
|
639
638
|
contentComponentProps: {
|
|
640
639
|
draft: y,
|
|
641
|
-
onFinished: (
|
|
642
|
-
o.close(), C == null || C(
|
|
640
|
+
onFinished: (B) => {
|
|
641
|
+
o.close(), C == null || C(B);
|
|
643
642
|
},
|
|
644
643
|
onCancel: async () => {
|
|
645
644
|
o.close(), b == null || b();
|
|
@@ -651,7 +650,7 @@ const va = { class: "flex flex-col" }, ga = {
|
|
|
651
650
|
viewDraft: L,
|
|
652
651
|
closeDraftDialog: u,
|
|
653
652
|
approveDraft: N,
|
|
654
|
-
rejectDraft:
|
|
653
|
+
rejectDraft: T,
|
|
655
654
|
markAsFailed: v,
|
|
656
655
|
syncDraft: c,
|
|
657
656
|
exportDraft: k,
|
|
@@ -793,7 +792,7 @@ const ha = yt(
|
|
|
793
792
|
enableSorting: !1,
|
|
794
793
|
cell(v) {
|
|
795
794
|
var C;
|
|
796
|
-
const c = v.row.original, u = c.status, I = new Date(c.updatedAt), y = (C = c == null ? void 0 : c.rejectionHistory) == null ? void 0 : C.computeFirst((
|
|
795
|
+
const c = v.row.original, u = c.status, I = new Date(c.updatedAt), y = (C = c == null ? void 0 : c.rejectionHistory) == null ? void 0 : C.computeFirst((B) => B.rejectedAt), b = y ? new Date(y) : null;
|
|
797
796
|
return u === "DRAFT" && b ? b.getTime() > I.getTime() ? A(
|
|
798
797
|
"div",
|
|
799
798
|
{
|
|
@@ -920,12 +919,12 @@ const ha = yt(
|
|
|
920
919
|
const e = s, m = V(() => {
|
|
921
920
|
const r = gt();
|
|
922
921
|
return r === "MYR" ? "RM" : r;
|
|
923
|
-
}), x = Dt(), h = Ne(), g = Lt(e, "show"), P = Y(!1), L = Y(!1), R = Y(!1), k = Y(new Array()), N = Y(new Array()),
|
|
922
|
+
}), x = Dt(), h = Ne(), g = Lt(e, "show"), P = Y(!1), L = Y(!1), R = Y(!1), k = Y(new Array()), N = Y(new Array()), T = Y([]), v = Je(), c = He(), u = We(), I = Ht(), y = ze(), b = Bt({}), C = V(() => new Set(
|
|
924
923
|
I.skus.filter((r) => {
|
|
925
924
|
var t;
|
|
926
925
|
return b[(t = r.customAttributes) == null ? void 0 : t.tag];
|
|
927
926
|
}).map((r) => r._id)
|
|
928
|
-
)),
|
|
927
|
+
)), B = o, H = Y({
|
|
929
928
|
templateItem: !0,
|
|
930
929
|
nonTemplateItem: !0
|
|
931
930
|
}), K = V(() => {
|
|
@@ -992,7 +991,7 @@ const ha = yt(
|
|
|
992
991
|
l.has(j) && (D.push(j), l.delete(j));
|
|
993
992
|
});
|
|
994
993
|
const p = Array.from(l).sort();
|
|
995
|
-
|
|
994
|
+
T.value = [...D, ...p];
|
|
996
995
|
} catch (l) {
|
|
997
996
|
u.open({
|
|
998
997
|
title: "Something went wrong",
|
|
@@ -1034,7 +1033,7 @@ const ha = yt(
|
|
|
1034
1033
|
}), console.error("error refreshing stock balances: there is no change in _rev");
|
|
1035
1034
|
return;
|
|
1036
1035
|
}
|
|
1037
|
-
|
|
1036
|
+
B("refresh", p), k.value = p.stockSnapshot ?? [], u.open({
|
|
1038
1037
|
title: "Balance refreshed",
|
|
1039
1038
|
message: "Stock balance has been recalculated.",
|
|
1040
1039
|
type: "success"
|
|
@@ -1185,7 +1184,7 @@ const ha = yt(
|
|
|
1185
1184
|
}
|
|
1186
1185
|
},
|
|
1187
1186
|
// Dynamic adjustment type columns
|
|
1188
|
-
...
|
|
1187
|
+
...T.value.map(
|
|
1189
1188
|
(d) => ({
|
|
1190
1189
|
id: `adjustment_${d}`,
|
|
1191
1190
|
accessorFn: (a) => a.adjustmentAmounts[d] ?? { amount: 0, precision: 0 },
|
|
@@ -1475,7 +1474,7 @@ const ha = yt(
|
|
|
1475
1474
|
}, U = Number(
|
|
1476
1475
|
M.toFormatString({ value: j })
|
|
1477
1476
|
), re = De.value.get(n._id), ce = re ? Number(M.toFormatString({ value: re })) : 0, _e = xe.value.get(n._id), F = {};
|
|
1478
|
-
if (
|
|
1477
|
+
if (T.value.forEach((W) => {
|
|
1479
1478
|
const ue = F[W] ?? { amount: 0, precision: 0 }, fe = _e == null ? void 0 : _e[W];
|
|
1480
1479
|
fe && (F[W] = Gt(ue, fe));
|
|
1481
1480
|
}), !l) {
|
|
@@ -1683,21 +1682,21 @@ const ha = yt(
|
|
|
1683
1682
|
disabled: "",
|
|
1684
1683
|
key: "approve key",
|
|
1685
1684
|
label: "Approve",
|
|
1686
|
-
onClick: t[5] || (t[5] = () => e.draft && $(h).approveDraft(e.draft, () =>
|
|
1685
|
+
onClick: t[5] || (t[5] = () => e.draft && $(h).approveDraft(e.draft, () => B("submitted")))
|
|
1687
1686
|
})
|
|
1688
1687
|
]),
|
|
1689
1688
|
_: 1
|
|
1690
1689
|
})) : (w(), ie(l, {
|
|
1691
1690
|
key: "approve key",
|
|
1692
1691
|
label: "Approve",
|
|
1693
|
-
onClick: t[6] || (t[6] = () => e.draft && $(h).approveDraft(e.draft, () =>
|
|
1692
|
+
onClick: t[6] || (t[6] = () => e.draft && $(h).approveDraft(e.draft, () => B("submitted")))
|
|
1694
1693
|
}))
|
|
1695
1694
|
], 64)) : ne("", !0),
|
|
1696
1695
|
((G = e.draft) == null ? void 0 : G.status) === $(he).enum.DRAFT ? (w(), ie(l, {
|
|
1697
1696
|
key: 1,
|
|
1698
1697
|
label: "Reject",
|
|
1699
1698
|
variant: "destructive",
|
|
1700
|
-
onClick: t[7] || (t[7] = () => e.draft && $(h).rejectDraft(e.draft, () =>
|
|
1699
|
+
onClick: t[7] || (t[7] = () => e.draft && $(h).rejectDraft(e.draft, () => B("submitted")))
|
|
1701
1700
|
})) : ne("", !0),
|
|
1702
1701
|
(J = e.draft) != null && J.approvedAt && ((pe = e.draft) == null ? void 0 : pe.status) !== $(he).enum.COMPLETED ? (w(), ie(Ut, { key: 2 }, {
|
|
1703
1702
|
default: q(() => [
|
|
@@ -1706,7 +1705,7 @@ const ha = yt(
|
|
|
1706
1705
|
loading: R.value,
|
|
1707
1706
|
onClick: t[8] || (t[8] = () => {
|
|
1708
1707
|
e.draft && (R.value = !0, $(h).syncDraft(e.draft, () => {
|
|
1709
|
-
R.value = !1,
|
|
1708
|
+
R.value = !1, B("submitted");
|
|
1710
1709
|
}));
|
|
1711
1710
|
})
|
|
1712
1711
|
}, null, 8, ["loading"])
|
|
@@ -1962,7 +1961,7 @@ const ha = yt(
|
|
|
1962
1961
|
setup(s) {
|
|
1963
1962
|
const { t: o } = vt(), { viewDraft: e } = Ne(), { viewClosingDraftProps: m, viewClosingDraftShow: x } = Ot(Ne()), h = ze(), g = ha(), P = Pt(), { breakpoints: L } = Nt();
|
|
1964
1963
|
h.watchLocation(g.fetchDrafts);
|
|
1965
|
-
const R = V(() => g.loading), k = Y(""), N = V(() => L.value.xs || L.value.sm),
|
|
1964
|
+
const R = V(() => g.loading), k = Y(""), N = V(() => L.value.xs || L.value.sm), T = V(() => N.value ? 10 : 20);
|
|
1966
1965
|
function v(I) {
|
|
1967
1966
|
switch (I) {
|
|
1968
1967
|
case "refresh":
|
|
@@ -2016,28 +2015,28 @@ const ha = yt(
|
|
|
2016
2015
|
"search-value": k.value,
|
|
2017
2016
|
loading: R.value,
|
|
2018
2017
|
onRowClick: y[1] || (y[1] = (C) => $(e)(C.original)),
|
|
2019
|
-
"page-size":
|
|
2018
|
+
"page-size": T.value
|
|
2020
2019
|
}, {
|
|
2021
2020
|
"list-row": q((C) => [
|
|
2022
2021
|
_(Jt, {
|
|
2023
2022
|
row: C,
|
|
2024
|
-
onRowClick: (
|
|
2023
|
+
onRowClick: (B) => $(e)(B)
|
|
2025
2024
|
}, {
|
|
2026
|
-
default: q((
|
|
2025
|
+
default: q((B) => {
|
|
2027
2026
|
var H, K, Q, Z, S, X, me, ee, se, de, xe, De, te, Ae, Te, we, Fe, je, ve, ge;
|
|
2028
2027
|
return [
|
|
2029
2028
|
i("div", nn, [
|
|
2030
2029
|
i("div", on, [
|
|
2031
2030
|
i("div", sn, [
|
|
2032
2031
|
_($(Re), {
|
|
2033
|
-
render: (Q = (K = (H =
|
|
2034
|
-
props: (S = (Z =
|
|
2032
|
+
render: (Q = (K = (H = B._id) == null ? void 0 : H.column) == null ? void 0 : K.columnDef) == null ? void 0 : Q.cell,
|
|
2033
|
+
props: (S = (Z = B._id) == null ? void 0 : Z.getContext) == null ? void 0 : S.call(Z)
|
|
2035
2034
|
}, null, 8, ["render", "props"])
|
|
2036
2035
|
]),
|
|
2037
2036
|
i("div", rn, [
|
|
2038
2037
|
_($(Re), {
|
|
2039
|
-
render: (ee = (me = (X =
|
|
2040
|
-
props: (de = (se =
|
|
2038
|
+
render: (ee = (me = (X = B.name) == null ? void 0 : X.column) == null ? void 0 : me.columnDef) == null ? void 0 : ee.cell,
|
|
2039
|
+
props: (de = (se = B.name) == null ? void 0 : se.getContext) == null ? void 0 : de.call(se)
|
|
2041
2040
|
}, null, 8, ["render", "props"])
|
|
2042
2041
|
]),
|
|
2043
2042
|
i("div", ln, ae([
|
|
@@ -2046,15 +2045,15 @@ const ha = yt(
|
|
|
2046
2045
|
].join(", ")), 1),
|
|
2047
2046
|
i("div", cn, [
|
|
2048
2047
|
_($(Re), {
|
|
2049
|
-
render: (te = (De = (xe =
|
|
2050
|
-
props: (Te = (Ae =
|
|
2048
|
+
render: (te = (De = (xe = B.ref) == null ? void 0 : xe.column) == null ? void 0 : De.columnDef) == null ? void 0 : te.cell,
|
|
2049
|
+
props: (Te = (Ae = B.ref) == null ? void 0 : Ae.getContext) == null ? void 0 : Te.call(Ae)
|
|
2051
2050
|
}, null, 8, ["render", "props"])
|
|
2052
2051
|
])
|
|
2053
2052
|
]),
|
|
2054
2053
|
i("div", null, [
|
|
2055
2054
|
_($(Re), {
|
|
2056
|
-
render: (je = (Fe = (we =
|
|
2057
|
-
props: (ge = (ve =
|
|
2055
|
+
render: (je = (Fe = (we = B.status) == null ? void 0 : we.column) == null ? void 0 : Fe.columnDef) == null ? void 0 : je.cell,
|
|
2056
|
+
props: (ge = (ve = B.status) == null ? void 0 : ve.getContext) == null ? void 0 : ge.call(ve)
|
|
2058
2057
|
}, null, 8, ["render", "props"])
|
|
2059
2058
|
])
|
|
2060
2059
|
])
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as z, ref as y, computed as k, resolveComponent as x, openBlock as d, createElementBlock as v, createVNode as f, withModifiers as te, withCtx as R, 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
2
|
import { F as ce, _ as ie } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
3
|
import { useI18n as H, useCoreStore as re } from "@feedmepos/mf-common";
|
|
4
|
-
import { B as j, z as D, u as ue } from "./app-
|
|
5
|
-
import { _ as de } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { B as j, z as D, u as ue } from "./app-DVM1G55m.js";
|
|
5
|
+
import { _ as de } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B_Dttq9A.js";
|
|
6
6
|
import { useSnackbar as me } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as ve } from "./stock-
|
|
7
|
+
import { u as ve } from "./stock-BvjTEhfz.js";
|
|
8
8
|
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 = {
|
|
9
9
|
key: 2,
|
|
10
10
|
class: "text-red-500 text-sm mt-2"
|
|
@@ -4,23 +4,23 @@ import { useI18n as W, useCoreStore as de } from "@feedmepos/mf-common";
|
|
|
4
4
|
import { useDialog as pe, useDialogChild as Ze, useSnackbar as ce, FmButtonVariant as oe, components as Y, FmAdvancedSort as et, useProxiedModel as tt, useBreakpoints as nt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Ve, storeToRefs as Ue } from "pinia";
|
|
6
6
|
import { F as G } from "./form-mode.enum-BKiNVH6A.js";
|
|
7
|
-
import { a as me } from "./closing-template-
|
|
8
|
-
import { u as fe, c as Ne, a as ve, n as ot } from "./app-
|
|
9
|
-
import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-
|
|
7
|
+
import { a as me } from "./closing-template-CCr1ydAR.js";
|
|
8
|
+
import { u as fe, c as Ne, a as ve, n as ot } from "./app-DVM1G55m.js";
|
|
9
|
+
import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-C9t9lGGy.js";
|
|
10
10
|
import { F as lt } from "./FmDroppableField-J0xUsOTV.js";
|
|
11
|
-
import { f as Be, a as le } from "./date2-
|
|
11
|
+
import { f as Be, a as le } from "./date2-CVonRQ-Z.js";
|
|
12
12
|
import { D as se, R as z } from "./row-action.enum-BcW_L_nE.js";
|
|
13
13
|
import { c as at, F as X, _ as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
14
|
-
import { f as rt } from "./format-time-from-id-
|
|
15
|
-
import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as ct } from "./netsuite-
|
|
17
|
-
import { u as mt } from "./duplicate-template-
|
|
18
|
-
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { R as dt, A as pt } from "./rules-
|
|
20
|
-
import { u as ft } from "./use-ingredient-select-dialog-
|
|
21
|
-
import { d as vt } from "./defineDeepModel-
|
|
22
|
-
import { u as gt } from "./use-template-enabled-locations-2-
|
|
23
|
-
import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { f as rt } from "./format-time-from-id-BNEZ_v2a.js";
|
|
15
|
+
import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Cr9mpjF-.js";
|
|
16
|
+
import { u as ct } from "./netsuite-B0K2sZbd.js";
|
|
17
|
+
import { u as mt } from "./duplicate-template-f67LGdet.js";
|
|
18
|
+
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B_Dttq9A.js";
|
|
19
|
+
import { R as dt, A as pt } from "./rules-CGkz1A9e.js";
|
|
20
|
+
import { u as ft } from "./use-ingredient-select-dialog-Fec15IeI.js";
|
|
21
|
+
import { d as vt } from "./defineDeepModel-DlzvXPT6.js";
|
|
22
|
+
import { u as gt } from "./use-template-enabled-locations-2-DdMePMMU.js";
|
|
23
|
+
import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-BX5-zk8F.js";
|
|
24
24
|
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
25
25
|
const ue = Ve(
|
|
26
26
|
"closingTemplateTable",
|
package/dist/{DeliveryOrderPrintPreview-BzYLm6J6.js → DeliveryOrderPrintPreview-BJ9JnRMI.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, computed as f, ref as h, onMounted as _, 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 g } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { J as y } from "./app-
|
|
3
|
+
import { J as y } from "./app-DVM1G55m.js";
|
|
4
4
|
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
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 = {
|
|
6
6
|
key: 0,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { G as g, u as E, K as R, M as B, x as U } from "./app-
|
|
2
|
-
import { a as C, t as D } from "./rules-
|
|
3
|
-
import { u as H } from "./supplier-
|
|
4
|
-
import { P as T } from "./format-unit-display-
|
|
1
|
+
import { G as g, u as E, K as R, M as B, x as U } from "./app-DVM1G55m.js";
|
|
2
|
+
import { a as C, t as D } from "./rules-CGkz1A9e.js";
|
|
3
|
+
import { u as H } from "./supplier-C4r3UrLg.js";
|
|
4
|
+
import { P as T } from "./format-unit-display-DjZ3IZnM.js";
|
|
5
5
|
import { computed as f, defineComponent as z, mergeModels as x, useModel as j, ref as q, resolveComponent as w, openBlock as L, createElementBlock as O, normalizeStyle as W, createElementVNode as I, createVNode as $, withCtx as K, createBlock as M, createCommentVNode as N, Fragment as J, renderList as Q, unref as V } from "vue";
|
|
6
|
-
import { F as X } from "./FmMultiselectDialog-
|
|
6
|
+
import { F as X } from "./FmMultiselectDialog-Dmzafvly.js";
|
|
7
7
|
function Y(e, r, a) {
|
|
8
8
|
var o;
|
|
9
9
|
if (!!r.measurement === !!a && ((o = r.measurement) == null ? void 0 : o.id) === a)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as I, computed as g, ref as z, resolveComponent as h, openBlock as n, createElementBlock as y, createVNode as _, withCtx as L, createElementVNode as f, toDisplayString as Y, unref as u, createBlock as p, createCommentVNode as w, Fragment as $, renderList as R, watch as E, mergeModels as O, useModel as C, renderSlot as H, normalizeClass as S } from "vue";
|
|
2
2
|
import { useCoreStore as W, useI18n as P } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as q } from "./app-
|
|
4
|
-
import { d as U } from "./date2-
|
|
3
|
+
import { u as q } from "./app-DVM1G55m.js";
|
|
4
|
+
import { d as U } from "./date2-CVonRQ-Z.js";
|
|
5
5
|
import { useBreakpoints as G } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as J, F as K } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
7
7
|
import { b as A } from "./app-rgirz_52.js";
|
|
@@ -3,8 +3,8 @@ var Ie = (F, o, t) => o in F ? Le(F, o, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var me = (F, o, t) => Ie(F, typeof o != "symbol" ? o + "" : o, t);
|
|
4
4
|
import { defineComponent as ye, computed as S, ref as L, watch as ge, openBlock as c, createElementBlock as h, normalizeStyle as G, Fragment as V, renderList as $, renderSlot as ke, createCommentVNode as O, useSlots as De, onMounted as He, onUnmounted as $e, reactive as q, resolveComponent as B, createElementVNode as I, createVNode as _, toDisplayString as ee, unref as H, createSlots as Oe, withCtx as w, createBlock as M, resolveDynamicComponent as fe, normalizeClass as he, withModifiers as Ue, Transition as Pe } from "vue";
|
|
5
5
|
import { useDialogChild as Ee } from "@feedmepos/ui-library";
|
|
6
|
-
import { x as be } from "./app-
|
|
7
|
-
import { d as Ne } from "./index-
|
|
6
|
+
import { x as be } from "./app-DVM1G55m.js";
|
|
7
|
+
import { d as Ne } from "./index-DAvHyTSs.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useI18n as je } from "@feedmepos/mf-common";
|
|
10
10
|
import { N as Ge, H as ze, b as Ke } from "./app-rgirz_52.js";
|
|
@@ -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 { a } from "./FmMultiselectDialog-
|
|
4
|
+
import { a } from "./FmMultiselectDialog-Dmzafvly.js";
|
|
5
5
|
import { h as S } from "vue";
|
|
6
6
|
const w = p("inventoryMultiSelectDialog", () => {
|
|
7
7
|
const l = y(), { t: n } = v();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ie, mergeModels as W, useModel as le, computed as v, ref as B, watch as E, onBeforeUnmount as ae, 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 j, toDisplayString as _, 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 { l as fe } from "./lodash-
|
|
3
|
-
import { s as D } from "./app-
|
|
4
|
-
import { I as R, g as O, d as ve, a as M, c as be, t as ye, f as he, p as Me, b as ge, u as xe } from "./rules-
|
|
2
|
+
import { l as fe } from "./lodash-DbQpGXNm.js";
|
|
3
|
+
import { s as D } from "./app-DVM1G55m.js";
|
|
4
|
+
import { I as R, g as O, d as ve, a as M, c as be, t as ye, f as he, p as Me, b as ge, u as xe } from "./rules-CGkz1A9e.js";
|
|
5
5
|
import "@feedmepos/ui-library";
|
|
6
6
|
function H() {
|
|
7
7
|
return {
|
|
@@ -2,14 +2,14 @@ import { defineComponent as De, ref as F, computed as J, watch as ze, resolveCom
|
|
|
2
2
|
import { u as Ve, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
3
|
import { useCoreStore as Re, useI18n as je } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as We, useSnackbar as Oe, useDialog as Le, useBreakpoints as Je } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as Xe } from "./feature-
|
|
6
|
-
import { a as ie } from "./app-
|
|
7
|
-
import "./dayjs.min-
|
|
5
|
+
import { u as Xe } from "./feature-CMce8__i.js";
|
|
6
|
+
import { a as ie } from "./app-DVM1G55m.js";
|
|
7
|
+
import "./dayjs.min-DlvSKMyw.js";
|
|
8
8
|
import "./app-rgirz_52.js";
|
|
9
|
-
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-
|
|
10
|
-
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-
|
|
9
|
+
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-C9t9lGGy.js";
|
|
10
|
+
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-B9EKM8tJ.js";
|
|
11
11
|
import { r as nt } from "./random-CSbEbElR.js";
|
|
12
|
-
import { d as Ae, a as pe } from "./rules-
|
|
12
|
+
import { d as Ae, a as pe } from "./rules-CGkz1A9e.js";
|
|
13
13
|
import { F as ot } from "./FmDroppableField-J0xUsOTV.js";
|
|
14
14
|
function Ee() {
|
|
15
15
|
return `measurement_${(/* @__PURE__ */ new Date()).toISOString()}_${nt()}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as s, createElementBlock as n, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
|
|
2
|
-
import { a, f as y } from "./rules-
|
|
2
|
+
import { a, f as y } from "./rules-CGkz1A9e.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",
|