@feedmepos/mf-inventory-portal 1.2.42-dev.2 → 1.2.42
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-tCZXxWWi.js → App-DtXK9euh.js} +3 -3
- package/dist/{ApprovalView-DsoqQiwe.js → ApprovalView-Dbgrg06o.js} +6 -6
- package/dist/{BindingsDialog-BCXWR50h.js → BindingsDialog-CmdawNsd.js} +8 -8
- package/dist/{BindingsPicker-B3O_g_Nv.js → BindingsPicker-D69EpcEe.js} +3 -3
- package/dist/{BindingsTable-C9WLnkpX.js → BindingsTable-DWmPKyfq.js} +3 -3
- package/dist/ClosingDraftView-MP_8pz-s.js +2122 -0
- package/dist/{ClosingHistoryView-DZnzhSNn.js → ClosingHistoryView-R8R3Uh7o.js} +22 -22
- package/dist/{ClosingTemplateView-VKu9x3Nz.js → ClosingTemplateView-DvxGKgi5.js} +15 -15
- package/dist/{DeliveryOrderPrintPreview-CD_43MIv.js → DeliveryOrderPrintPreview-D72ZCCD0.js} +9 -9
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DbVm-oVE.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D0_DI2RM.js} +60 -59
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-UocERxk1.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-10nrUrma.js} +2 -2
- package/dist/{FmMultiselectDialog-CsohyGSW.js → FmMultiselectDialog-CDG-TGVz.js} +2 -2
- package/dist/{FmMultiselectDialog-BnSC4X04.js → FmMultiselectDialog-Cu1rrU1D.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BiRrQ1MQ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CBjUDNbp.js} +3 -3
- package/dist/{ImportView-uqB1qMsv.js → ImportView-D6xhqe-Q.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CfypjWW9.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-QqXJLVHH.js} +1 -1
- package/dist/{IngredientGroupView-eN4sBErO.js → IngredientGroupView-ii3vnUZZ.js} +6 -6
- package/dist/{IngredientsView-DQvn_4YD.js → IngredientsView-PEJSbU0k.js} +15 -15
- package/dist/{IntegrationView-DCy2Ovro.js → IntegrationView-BT1gaSY6.js} +12 -12
- package/dist/{InventoryBindingForm-Bi_8m5gH.js → InventoryBindingForm-Cne6-kuv.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CO_qBo1J.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BElyB9Bl.js} +14 -14
- package/dist/{InventoryBindingSummary-BGFGNEaq.js → InventoryBindingSummary-DFT9v5ol.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CTzDO5jB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DaHkM-BT.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Bcs3g9F2.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Cjv7KcJ4.js} +2 -2
- package/dist/{PublishView-BX8Ed4Fw.js → PublishView-DQrfrhE4.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-D6N8SLTM.js → PurchaseOrderPrintPreview-Chx37AA-.js} +9 -9
- package/dist/ReceiveRequestView-BoSyXZpP.js +2841 -0
- package/dist/{RecipeView-qjmtVVz0.js → RecipeView-wmMe34eS.js} +9 -9
- package/dist/{StockView-CKjuCvQc.js → StockView-CT3gj0bi.js} +342 -345
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BpsE9HjF.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BURlS6_T.js} +1 -1
- package/dist/{SupplierView-0Wkmi0vZ.js → SupplierView-DPV9FxB5.js} +12 -12
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-js9xKiOh.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dy43ya9v.js} +2 -2
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js +162 -0
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CFQjYlPf.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CsM4QiJy.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-EHUIhMvO.js → TransferDetails.vue_vue_type_script_setup_true_lang-BZUCFAt1.js} +431 -431
- package/dist/{TransferTemplateView-B686QVLm.js → TransferTemplateView-r5_D5Uoq.js} +355 -355
- package/dist/{UnitView-D3TwY-Rl.js → UnitView-Lat5ebwQ.js} +7 -7
- package/dist/{WarehouseView-wuSCGpc4.js → WarehouseView-OyG_RNCJ.js} +6 -6
- package/dist/{WastageTemplateView-BhVG1haN.js → WastageTemplateView-BsNcFdwO.js} +15 -15
- package/dist/api/closing-draft.d.ts +1 -0
- package/dist/{app-lUdYxPdT.js → app-BKNLF6m8.js} +2302 -2346
- package/dist/app.d.ts +3 -0
- package/dist/app.js +7 -7
- package/dist/{closing-template-5nZX2GD3.js → closing-template-BqKkRwOR.js} +1 -1
- package/dist/{date2-BPDWKAmI.js → date2-CPwYAyn5.js} +1 -1
- package/dist/{dayjs.min-CRgiNB25.js → dayjs.min-GA1Bp4dz.js} +21 -21
- package/dist/{decimal-xfLGGBXv.js → decimal-Di9UOYVh.js} +2 -2
- package/dist/{defineDeepModel-D_Oxy2Kx.js → defineDeepModel-BeUc-GyS.js} +1 -1
- package/dist/{duplicate-template-Blu_HX7A.js → duplicate-template-CPBBWXPV.js} +1 -1
- package/dist/feature-BHauwKBN.js +20162 -0
- package/dist/{format-time-from-id-DUZwcLw9.js → format-time-from-id-CYrBLIMG.js} +1 -1
- package/dist/{format-unit-display-D-X5mzYF.js → format-unit-display-DdLrmVRx.js} +246 -245
- package/dist/helper/component.d.ts +1 -1
- package/dist/helper/object.d.ts +0 -21
- package/dist/{import-export.helper-BgbvcSvd.js → import-export.helper-CdNxlvYU.js} +5 -5
- package/dist/{index-BaMcL6nD.js → index-B-9oJBGk.js} +9 -9
- package/dist/{index-tnlv1Cb_.js → index-BmtNZLpm.js} +1 -1
- package/dist/{index-BvxQIPJI.js → index-DmM3AECr.js} +3 -3
- package/dist/{lodash-C9Qka4SS.js → lodash--jDaTvRg.js} +1 -1
- package/dist/{netsuite-Dns3RQor.js → netsuite-D1TanQZF.js} +70 -70
- package/dist/{purchase-order-template-Yfp5lQ6o.js → purchase-order-template-CkP2Bv2a.js} +1 -1
- package/dist/{rules-2gDRiI3y.js → rules-VFDmrMwu.js} +3 -3
- package/dist/{stock-DMwTxyEy.js → stock-BoT5SHQs.js} +3 -3
- package/dist/{stock-D3amnnvm.js → stock-D73TmDS2.js} +1 -1
- package/dist/{supplier-Bi2nswlc.js → supplier-KMVv2AQj.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-B3j2244S.js → use-ingredient-select-dialog-BUghUhSb.js} +2 -2
- package/dist/{use-inventory-binding-dialog-cEzQyw4F.js → use-inventory-binding-dialog-CWOyVIFk.js} +2 -2
- package/dist/{use-template-enabled-locations-2-CnbMSpm9.js → use-template-enabled-locations-2-CxHgMmfO.js} +2 -2
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
- package/dist/views/receive-request/components/netsuite/NetSuitePanel.vue.d.ts +2 -3
- package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -3
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +2554 -23
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +0 -6
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -3
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +1 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +6 -6
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +7 -7
- package/dist/views/receive-request/constants/purchase-order-transaction-type.d.ts +4 -0
- package/dist/views/receive-request/helper/get-transfer-type.d.ts +2 -1
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -3
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +2 -3
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +3 -4
- package/dist/{vue-i18n-D6IE7fks.js → vue-i18n-DxedrFlV.js} +523 -523
- package/dist/{xlsx-By0V1CHo.js → xlsx-Dp__km89.js} +398 -398
- package/dist/{xlsx.util-DH2bvm7W.js → xlsx.util-BkGzpJpQ.js} +1 -1
- package/package.json +3 -3
- package/dist/ClosingDraftView-SgUfLfsI.js +0 -2089
- package/dist/ReceiveRequestView-CbP7cF9S.js +0 -2873
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +0 -135
- package/dist/feature-BQk-YWoV.js +0 -25699
- package/dist/helper/reactivity.d.ts +0 -11
- package/dist/helper/reactivity.spec.d.ts +0 -1
- package/dist/views/receive-request/components/transfer-form/composables/use-purchase-order-form-controller.d.ts +0 -22
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as H, ref as f, computed as k, resolveComponent as w, openBlock as d, createElementBlock as y, createVNode as p, withModifiers as oe, withCtx as R, createElementVNode as n, toDisplayString as s, unref as a, Fragment as M, createTextVNode as z, createBlock as B, createCommentVNode as V, renderList as le, normalizeClass as ae, h as ne, onMounted as se, Teleport as ie } from "vue";
|
|
2
2
|
import { F as ce, _ as re } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import {
|
|
5
|
-
import { _ as me } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { useI18n as j, useCoreStore as ue } from "@feedmepos/mf-common";
|
|
4
|
+
import { C as G, z as S, u as de } from "./app-BKNLF6m8.js";
|
|
5
|
+
import { _ as me } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-10nrUrma.js";
|
|
6
6
|
import { useSnackbar as J, useDialog as ve } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as ye } from "./stock-
|
|
7
|
+
import { u as ye } from "./stock-D73TmDS2.js";
|
|
8
8
|
const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col gap-16" }, ge = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, _e = { class: "flex flex-col gap-8" }, be = { class: "fm-typo-en-body-md-600" }, he = { class: "flex flex-col gap-8" }, ke = { class: "fm-typo-en-body-md-600" }, xe = { class: "flex items-center gap-8 mb-8" }, De = {
|
|
9
9
|
key: 2,
|
|
10
10
|
class: "text-red-500 text-sm mt-2"
|
|
11
11
|
}, Ve = { class: "fm-typo-en-body-sm-400" }, we = {
|
|
12
12
|
key: 1,
|
|
13
13
|
class: "flex flex-col gap-8"
|
|
14
|
-
}, Se = { class: "fm-typo-en-body-md-600" },
|
|
14
|
+
}, Se = { class: "fm-typo-en-body-md-600" }, Ce = { class: "flex flex-col gap-8 max-h-[300px] overflow-y-auto" }, Ae = { class: "flex items-center justify-between" }, Fe = { class: "fm-typo-en-body-sm-600" }, Re = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Be = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Le = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary"
|
|
17
17
|
}, Te = {
|
|
@@ -26,11 +26,11 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
26
26
|
}, Ee = {
|
|
27
27
|
key: 1,
|
|
28
28
|
class: "flex gap-8 ml-auto"
|
|
29
|
-
}, Ie = /* @__PURE__ */
|
|
29
|
+
}, Ie = /* @__PURE__ */ H({
|
|
30
30
|
__name: "RecalculationDialog",
|
|
31
31
|
emits: ["submitted"],
|
|
32
32
|
setup(Q, { expose: b, emit: L }) {
|
|
33
|
-
const
|
|
33
|
+
const C = L, { t: l } = j(), T = ye(), O = G(), x = J(), v = f(!1), u = f(""), i = f(""), g = f(!1), A = f([]), c = f(!1), D = f([]), r = f(!1), m = k(() => A.value.map((e) => {
|
|
34
34
|
const o = S(e._id), _ = new Date(o);
|
|
35
35
|
return {
|
|
36
36
|
label: `${_.toLocaleDateString()} ${_.toLocaleTimeString()}`,
|
|
@@ -39,7 +39,7 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
39
39
|
})), h = k(() => u.value ? m.value.filter((e) => e.value > u.value) : []), F = k({
|
|
40
40
|
get: () => {
|
|
41
41
|
if (g.value && i.value) {
|
|
42
|
-
const e =
|
|
42
|
+
const e = A.value.find((o) => S(o._id) === i.value);
|
|
43
43
|
return (e == null ? void 0 : e._id) || i.value;
|
|
44
44
|
}
|
|
45
45
|
return i.value;
|
|
@@ -82,7 +82,7 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
82
82
|
c.value = !0;
|
|
83
83
|
try {
|
|
84
84
|
const e = await O.getLastNClosings(30);
|
|
85
|
-
|
|
85
|
+
A.value = e;
|
|
86
86
|
} catch (e) {
|
|
87
87
|
console.error("Error fetching recent closings:", e), x.open({
|
|
88
88
|
title: l("common.error"),
|
|
@@ -112,7 +112,7 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
112
112
|
title: l("common.success"),
|
|
113
113
|
message: "Stock recalculation has been scheduled successfully",
|
|
114
114
|
type: "success"
|
|
115
|
-
}), await U(), v.value = !1,
|
|
115
|
+
}), await U(), v.value = !1, C("submitted");
|
|
116
116
|
} catch (e) {
|
|
117
117
|
console.error("Error scheduling recalculation:", e), x.open({
|
|
118
118
|
title: l("common.error"),
|
|
@@ -171,7 +171,7 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
171
171
|
N.value ? V("", !0) : (d(), y(M, { key: 0 }, [
|
|
172
172
|
n("div", _e, [
|
|
173
173
|
n("p", be, [
|
|
174
|
-
|
|
174
|
+
z(s(a(l)("inventory.stock.recalculation.openingDate")) + " ", 1),
|
|
175
175
|
o[8] || (o[8] = n("span", { class: "text-fm-color-system-error-300" }, "*", -1))
|
|
176
176
|
]),
|
|
177
177
|
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)),
|
|
@@ -186,7 +186,7 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
186
186
|
]),
|
|
187
187
|
n("div", he, [
|
|
188
188
|
n("p", ke, [
|
|
189
|
-
|
|
189
|
+
z(s(a(l)("inventory.stock.recalculation.untilDate")) + " ", 1),
|
|
190
190
|
o[10] || (o[10] = n("span", { class: "text-fm-color-system-error-300" }, "*", -1))
|
|
191
191
|
]),
|
|
192
192
|
n("div", xe, [
|
|
@@ -233,12 +233,12 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
233
233
|
], 64)),
|
|
234
234
|
D.value.length > 0 ? (d(), y("div", we, [
|
|
235
235
|
n("p", Se, s(a(l)("inventory.stock.recalculation.recentRequests")), 1),
|
|
236
|
-
n("div",
|
|
236
|
+
n("div", Ce, [
|
|
237
237
|
(d(!0), y(M, null, le(D.value, (t) => (d(), y("div", {
|
|
238
238
|
key: t._id,
|
|
239
239
|
class: "p-12 border border-fm-color-border-primary rounded-8 flex flex-col gap-4"
|
|
240
240
|
}, [
|
|
241
|
-
n("div",
|
|
241
|
+
n("div", Ae, [
|
|
242
242
|
n("div", Fe, s(a(l)("inventory.stock.recalculation.requestedAt")) + ": " + s(new Date(t.createdAt).toLocaleString()), 1),
|
|
243
243
|
n("div", {
|
|
244
244
|
class: ae(["fm-typo-en-body-xs-600 px-8 py-4 rounded-4", {
|
|
@@ -263,11 +263,11 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
263
263
|
]);
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
|
-
}), Ne = { class: "flex flex-col gap-16 p-16" }, Ge = /* @__PURE__ */
|
|
266
|
+
}), Ne = { class: "flex flex-col gap-16 p-16" }, Ge = /* @__PURE__ */ H({
|
|
267
267
|
__name: "ClosingHistoryView",
|
|
268
268
|
setup(Q) {
|
|
269
269
|
var D;
|
|
270
|
-
const { t: b } =
|
|
270
|
+
const { t: b } = j(), L = G(), C = de(), l = ue(), T = ve(), O = J(), x = f([]), v = f(!1), u = k(() => [
|
|
271
271
|
{
|
|
272
272
|
label: b("inventory.stock.recalculation.title", "Stock Recalculation"),
|
|
273
273
|
value: "recalculation",
|
|
@@ -306,7 +306,7 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
const
|
|
309
|
+
const A = [
|
|
310
310
|
...(D = l.sessionUser.value) != null && D.role.isAdmin ? [
|
|
311
311
|
{
|
|
312
312
|
accessorKey: "_id",
|
|
@@ -339,7 +339,7 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
339
339
|
}
|
|
340
340
|
];
|
|
341
341
|
async function c() {
|
|
342
|
-
if (
|
|
342
|
+
if (C.currentLocationDBName) {
|
|
343
343
|
v.value = !0;
|
|
344
344
|
try {
|
|
345
345
|
const r = await L.getLastNClosings(30);
|
|
@@ -352,8 +352,8 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
return se(async () => {
|
|
355
|
-
|
|
356
|
-
}),
|
|
355
|
+
C.currentLocationDBName && await c();
|
|
356
|
+
}), C.watchLocation(c), (r, m) => {
|
|
357
357
|
const h = w("FmTable");
|
|
358
358
|
return d(), B(re, {
|
|
359
359
|
actions: u.value,
|
|
@@ -370,7 +370,7 @@ const fe = { class: "fm-typo-en-heading-lg-600" }, pe = { class: "flex flex-col
|
|
|
370
370
|
p(h, {
|
|
371
371
|
loading: v.value,
|
|
372
372
|
"row-data": x.value,
|
|
373
|
-
"column-defs":
|
|
373
|
+
"column-defs": A
|
|
374
374
|
}, null, 8, ["loading", "row-data"])
|
|
375
375
|
]),
|
|
376
376
|
(d(), B(ie, { to: "body" }, [
|
|
@@ -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-BqKkRwOR.js";
|
|
8
|
+
import { u as fe, c as Ne, a as ve, n as ot } from "./app-BKNLF6m8.js";
|
|
9
|
+
import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-BkGzpJpQ.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-CPwYAyn5.js";
|
|
12
12
|
import { D as se, R as z } from "./row-action.enum-BcW_L_nE.js";
|
|
13
|
-
import { c as at, F as X, _ as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-
|
|
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-
|
|
13
|
+
import { c as at, F as X, _ as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
|
|
14
|
+
import { f as rt } from "./format-time-from-id-CYrBLIMG.js";
|
|
15
|
+
import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CsM4QiJy.js";
|
|
16
|
+
import { u as ct } from "./netsuite-D1TanQZF.js";
|
|
17
|
+
import { u as mt } from "./duplicate-template-CPBBWXPV.js";
|
|
18
|
+
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-10nrUrma.js";
|
|
19
|
+
import { R as dt, A as pt } from "./rules-VFDmrMwu.js";
|
|
20
|
+
import { u as ft } from "./use-ingredient-select-dialog-BUghUhSb.js";
|
|
21
|
+
import { d as vt } from "./defineDeepModel-BeUc-GyS.js";
|
|
22
|
+
import { u as gt } from "./use-template-enabled-locations-2-CxHgMmfO.js";
|
|
23
|
+
import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dy43ya9v.js";
|
|
24
24
|
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
25
25
|
const ue = Ve(
|
|
26
26
|
"closingTemplateTable",
|
package/dist/{DeliveryOrderPrintPreview-CD_43MIv.js → DeliveryOrderPrintPreview-D72ZCCD0.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
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 {
|
|
3
|
+
import { K as y } from "./app-BKNLF6m8.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,
|
|
7
7
|
class: "subtitle"
|
|
8
|
-
}, S = { class: "sub-header" }, E = { class: "caption" }, T = { class: "address" }, q = { class: "text-right" }, F = { class: "sub-header" }, I = { class: "address" },
|
|
8
|
+
}, S = { class: "sub-header" }, E = { class: "caption" }, T = { class: "address" }, q = { class: "text-right" }, F = { class: "sub-header" }, I = { class: "address" }, U = { class: "purchase-body" }, B = { class: "text-left" }, H = { class: "text-left" }, L = { class: "text-left" }, M = { class: "text-left" }, V = { class: "text-left" }, J = { class: "text-right" }, j = { key: 0 }, z = {
|
|
9
9
|
key: 1,
|
|
10
10
|
style: { "padding-top": "30px" }
|
|
11
|
-
}, G = { valign: "bottom" },
|
|
11
|
+
}, G = { valign: "bottom" }, K = { class: "header" }, Q = { class: "caption" }, W = {
|
|
12
12
|
class: "text-left",
|
|
13
13
|
style: { width: "20%" }
|
|
14
14
|
}, X = { class: "text-left" }, Y = {
|
|
@@ -107,7 +107,7 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
|
|
|
107
107
|
])
|
|
108
108
|
])
|
|
109
109
|
]),
|
|
110
|
-
t("div",
|
|
110
|
+
t("div", U, [
|
|
111
111
|
t("table", null, [
|
|
112
112
|
l[19] || (l[19] = t("thead", { class: "item-header" }, [
|
|
113
113
|
t("tr", null, [
|
|
@@ -127,9 +127,9 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
|
|
|
127
127
|
], -1)),
|
|
128
128
|
t("tbody", null, [
|
|
129
129
|
t("tr", null, [
|
|
130
|
-
t("td",
|
|
131
|
-
t("td",
|
|
132
|
-
t("td",
|
|
130
|
+
t("td", B, e(s.value.orderNumber), 1),
|
|
131
|
+
t("td", H, e(s.value.ref), 1),
|
|
132
|
+
t("td", L, e(s.value.supplier.phoneNumber), 1)
|
|
133
133
|
])
|
|
134
134
|
])
|
|
135
135
|
]),
|
|
@@ -179,8 +179,8 @@ const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub
|
|
|
179
179
|
t("table", null, [
|
|
180
180
|
t("tr", G, [
|
|
181
181
|
t("td", null, [
|
|
182
|
-
t("div",
|
|
183
|
-
t("div",
|
|
182
|
+
t("div", K, "Ref: " + e(r.ref), 1),
|
|
183
|
+
t("div", Q, e(r.createdAt), 1),
|
|
184
184
|
t("div", null, "Remark: " + e(r.remark), 1)
|
|
185
185
|
])
|
|
186
186
|
])
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
3
|
-
import { u as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
1
|
+
import { H as M, u as E, L as R, O as B, x as U } from "./app-BKNLF6m8.js";
|
|
2
|
+
import { a as C, t as H } from "./rules-VFDmrMwu.js";
|
|
3
|
+
import { u as D } from "./supplier-KMVv2AQj.js";
|
|
4
|
+
import { P as T } from "./format-unit-display-DdLrmVRx.js";
|
|
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 J, createBlock as V, createCommentVNode as N, Fragment as K, renderList as Q, unref as g } from "vue";
|
|
6
|
+
import { F as X } from "./FmMultiselectDialog-CDG-TGVz.js";
|
|
7
|
+
function Y(e, r, a) {
|
|
7
8
|
var o;
|
|
8
9
|
if (!!r.measurement === !!a && ((o = r.measurement) == null ? void 0 : o.id) === a)
|
|
9
10
|
return r;
|
|
@@ -19,33 +20,33 @@ function X(e, r, a) {
|
|
|
19
20
|
costPerUnit: r.costPerUnit
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
|
-
function
|
|
23
|
-
var
|
|
24
|
-
const
|
|
23
|
+
function re(e, r, a, u) {
|
|
24
|
+
var P, _, s;
|
|
25
|
+
const i = (s = (_ = (P = u == null ? void 0 : u.supplier) == null ? void 0 : P.supplyItems) == null ? void 0 : _.find(
|
|
25
26
|
(t) => t.skuId === e._id
|
|
26
27
|
)) == null ? void 0 : s.defaultCost;
|
|
27
28
|
if (u != null && u.manualTotalCost)
|
|
28
29
|
return {
|
|
29
30
|
cost: u.manualTotalCost,
|
|
30
31
|
skuDefaultCost: e.defaultCost ?? void 0,
|
|
31
|
-
supplierOverrideCost:
|
|
32
|
+
supplierOverrideCost: i ?? void 0
|
|
32
33
|
};
|
|
33
|
-
const n = e.defaultCost ?
|
|
34
|
+
const n = e.defaultCost ? Y(e.unit, e.defaultCost, e.trackingMeasurement) : void 0, o = i ?? n, p = o == null ? void 0 : o.costPerUnit, v = p ? o != null && o.measurement ? +C(p) / +C(o == null ? void 0 : o.measurement.conversion) : +C(p) : void 0, b = v ? a ? v * +C(a.conversion) : v : void 0, h = b ? +C(r) * b : void 0;
|
|
34
35
|
return {
|
|
35
36
|
cost: h ? {
|
|
36
|
-
...
|
|
37
|
-
currency:
|
|
37
|
+
...H(h ?? 0, 2),
|
|
38
|
+
currency: M()
|
|
38
39
|
} : {
|
|
39
40
|
amount: 0,
|
|
40
41
|
precision: 0,
|
|
41
|
-
currency:
|
|
42
|
+
currency: M()
|
|
42
43
|
},
|
|
43
44
|
skuDefaultCost: e.defaultCost ?? void 0,
|
|
44
|
-
supplierOverrideCost:
|
|
45
|
+
supplierOverrideCost: i ?? void 0
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
function k(e) {
|
|
48
|
-
const r =
|
|
49
|
+
const r = B.safeParse(e);
|
|
49
50
|
if (r.success) return r.data;
|
|
50
51
|
throw new Error("Invalid supplier data");
|
|
51
52
|
}
|
|
@@ -68,23 +69,23 @@ function S(e) {
|
|
|
68
69
|
preparationTime: e.preparationTime
|
|
69
70
|
};
|
|
70
71
|
}
|
|
71
|
-
function
|
|
72
|
-
const
|
|
72
|
+
function ae(e, r, a = !1, u = !1) {
|
|
73
|
+
const i = D(), n = E();
|
|
73
74
|
n.watchLocation(async () => {
|
|
74
75
|
var y;
|
|
75
|
-
await
|
|
76
|
+
await i.readSuppliers();
|
|
76
77
|
const s = e();
|
|
77
78
|
if ((y = s.supplier) != null && y._id) return;
|
|
78
|
-
const t = u ?
|
|
79
|
+
const t = u ? i.suppliers[0] : i.businessSuppliers[0], l = (a ? n.locations.filter((d) => d.doc._id !== n.currentLocation.doc._id) : n.locations)[0];
|
|
79
80
|
r({
|
|
80
81
|
...s,
|
|
81
|
-
supplier: t ? k(t) :
|
|
82
|
+
supplier: t ? k(t) : l ? S(l) : s.supplier
|
|
82
83
|
});
|
|
83
84
|
});
|
|
84
85
|
const o = f(
|
|
85
86
|
() => {
|
|
86
87
|
var s, t;
|
|
87
|
-
return typeof ((t = (s = e()) == null ? void 0 : s.supplier) == null ? void 0 : t.internal) == "string" ?
|
|
88
|
+
return typeof ((t = (s = e()) == null ? void 0 : s.supplier) == null ? void 0 : t.internal) == "string" ? T.TRANSFER : T.PURCHASE;
|
|
88
89
|
}
|
|
89
90
|
), p = f({
|
|
90
91
|
get() {
|
|
@@ -93,8 +94,8 @@ function re(e, r, a = !1, u = !1) {
|
|
|
93
94
|
},
|
|
94
95
|
set(s) {
|
|
95
96
|
const t = e() ?? {};
|
|
96
|
-
if (o.value ===
|
|
97
|
-
const F = (u ?
|
|
97
|
+
if (o.value === T.PURCHASE) {
|
|
98
|
+
const F = (u ? i.suppliers : i.businessSuppliers).find((A) => A._id === s);
|
|
98
99
|
r({
|
|
99
100
|
...t,
|
|
100
101
|
supplier: F ? k(F) : t.supplier
|
|
@@ -109,24 +110,24 @@ function re(e, r, a = !1, u = !1) {
|
|
|
109
110
|
supplier: y ? S(y) : t.supplier
|
|
110
111
|
});
|
|
111
112
|
}
|
|
112
|
-
}), v = f(() =>
|
|
113
|
+
}), v = f(() => i.locationSuppliers.map(k)), b = f(() => i.businessSuppliers.map(k)), h = f(() => {
|
|
113
114
|
const s = [...v.value], t = [...b.value];
|
|
114
115
|
return u ? [...t, ...s] : t;
|
|
115
116
|
}), c = f(() => {
|
|
116
117
|
var m;
|
|
117
|
-
const s = ((m = n._currentLocation) == null ? void 0 : m.type) ===
|
|
118
|
+
const s = ((m = n._currentLocation) == null ? void 0 : m.type) === R.warehouse;
|
|
118
119
|
return (a ? n.allLocations.filter(
|
|
119
|
-
(
|
|
120
|
-
) : n.allLocations).filter((
|
|
121
|
-
}),
|
|
122
|
-
if (o.value ===
|
|
123
|
-
const t = v.value.map((
|
|
124
|
-
label:
|
|
125
|
-
value:
|
|
126
|
-
})), m = b.value.map((
|
|
127
|
-
label:
|
|
120
|
+
(l) => l.doc._id !== n.currentLocation.doc._id
|
|
121
|
+
) : n.allLocations).filter((l) => s || l.acceptRequest).map(S);
|
|
122
|
+
}), P = f(() => {
|
|
123
|
+
if (o.value === T.PURCHASE) {
|
|
124
|
+
const t = v.value.map((l) => ({
|
|
125
|
+
label: l.name,
|
|
126
|
+
value: l._id
|
|
127
|
+
})), m = b.value.map((l) => ({
|
|
128
|
+
label: l.name,
|
|
128
129
|
sublabel: "Business supplier",
|
|
129
|
-
value:
|
|
130
|
+
value: l._id
|
|
130
131
|
}));
|
|
131
132
|
return u ? [...t, ...m] : m;
|
|
132
133
|
}
|
|
@@ -136,10 +137,10 @@ function re(e, r, a = !1, u = !1) {
|
|
|
136
137
|
value: t._id
|
|
137
138
|
}));
|
|
138
139
|
}), _ = f(() => {
|
|
139
|
-
var
|
|
140
|
-
const s = (y = (
|
|
141
|
-
if (o.value ===
|
|
142
|
-
const d =
|
|
140
|
+
var l, y;
|
|
141
|
+
const s = (y = (l = e()) == null ? void 0 : l.supplier) == null ? void 0 : y._id;
|
|
142
|
+
if (o.value === T.PURCHASE) {
|
|
143
|
+
const d = i.suppliers.find((F) => F._id === s);
|
|
143
144
|
return d ? k(d) : null;
|
|
144
145
|
}
|
|
145
146
|
const m = n.allLocations.find((d) => d.doc._id);
|
|
@@ -147,16 +148,16 @@ function re(e, r, a = !1, u = !1) {
|
|
|
147
148
|
});
|
|
148
149
|
return {
|
|
149
150
|
transferLocationModel: p,
|
|
150
|
-
transferLocationOptions:
|
|
151
|
+
transferLocationOptions: P,
|
|
151
152
|
locationOptionsTypePurchase: h,
|
|
152
153
|
locationOptionsTypePurchaseLocationLevel: v,
|
|
153
154
|
locationOptionsTypeTransfer: c,
|
|
154
155
|
selectedLocation: _
|
|
155
156
|
};
|
|
156
157
|
}
|
|
157
|
-
const Z = { class: "overflow-y-auto h-full pb-8" },
|
|
158
|
+
const Z = { class: "overflow-y-auto h-full pb-8" }, ie = /* @__PURE__ */ z({
|
|
158
159
|
__name: "FmFilterableMenuOptions",
|
|
159
|
-
props: /* @__PURE__ */
|
|
160
|
+
props: /* @__PURE__ */ x({
|
|
160
161
|
modelValue: {},
|
|
161
162
|
maxHeight: {},
|
|
162
163
|
width: {},
|
|
@@ -169,15 +170,15 @@ const Z = { class: "overflow-y-auto h-full pb-8" }, ae = /* @__PURE__ */ H({
|
|
|
169
170
|
}),
|
|
170
171
|
emits: ["update:search"],
|
|
171
172
|
setup(e) {
|
|
172
|
-
const r = e, a =
|
|
173
|
-
() => new
|
|
173
|
+
const r = e, a = j(e, "search"), u = f(
|
|
174
|
+
() => new X(r.items, ["label", "sublabel"], {
|
|
174
175
|
caseSensitive: !1,
|
|
175
176
|
sort: !0
|
|
176
177
|
})
|
|
177
|
-
),
|
|
178
|
+
), i = f(() => u.value.search(a.value)), n = q();
|
|
178
179
|
return console.log({ stickyRef: n }), (o, p) => {
|
|
179
|
-
const v =
|
|
180
|
-
return
|
|
180
|
+
const v = w("FmButton"), b = w("FmTextField"), h = w("FmMenuItem");
|
|
181
|
+
return L(), O("div", {
|
|
181
182
|
class: "relative",
|
|
182
183
|
style: W({ width: o.width })
|
|
183
184
|
}, [
|
|
@@ -191,8 +192,8 @@ const Z = { class: "overflow-y-auto h-full pb-8" }, ae = /* @__PURE__ */ H({
|
|
|
191
192
|
"onUpdate:modelValue": p[1] || (p[1] = (c) => a.value = c),
|
|
192
193
|
placeholder: "Filter options"
|
|
193
194
|
}, {
|
|
194
|
-
append:
|
|
195
|
-
a.value ? (
|
|
195
|
+
append: J(() => [
|
|
196
|
+
a.value ? (L(), V(v, {
|
|
196
197
|
key: 0,
|
|
197
198
|
variant: "tertiary",
|
|
198
199
|
"prepend-icon": "close",
|
|
@@ -203,18 +204,18 @@ const Z = { class: "overflow-y-auto h-full pb-8" }, ae = /* @__PURE__ */ H({
|
|
|
203
204
|
}, 8, ["modelValue"])
|
|
204
205
|
], 512),
|
|
205
206
|
I("div", Z, [
|
|
206
|
-
(
|
|
207
|
-
key:
|
|
207
|
+
(L(!0), O(K, null, Q(i.value, (c, P) => (L(), V(h, {
|
|
208
|
+
key: P,
|
|
208
209
|
label: c.label,
|
|
209
210
|
sublabel: c.sublabel,
|
|
210
|
-
"model-value":
|
|
211
|
-
onClick: () => o.handleItemChange(
|
|
211
|
+
"model-value": g(U)(o.modelValue, c.value),
|
|
212
|
+
onClick: () => o.handleItemChange(g(U)(o.modelValue, c.value), c),
|
|
212
213
|
onVnodeMounted: (_) => {
|
|
213
214
|
var s, t;
|
|
214
|
-
return
|
|
215
|
+
return g(U)(o.modelValue, c.value) && ((s = _.el) == null || s.scrollIntoView({ behavior: "instant", block: "end" }), (t = _.el) == null || t.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
215
216
|
}
|
|
216
217
|
}, null, 8, ["label", "sublabel", "model-value", "onClick", "onVnodeMounted"]))), 128)),
|
|
217
|
-
|
|
218
|
+
i.value.length ? N("", !0) : (L(), V(h, {
|
|
218
219
|
key: 0,
|
|
219
220
|
disabled: "",
|
|
220
221
|
label: "No options available"
|
|
@@ -225,7 +226,7 @@ const Z = { class: "overflow-y-auto h-full pb-8" }, ae = /* @__PURE__ */ H({
|
|
|
225
226
|
}
|
|
226
227
|
});
|
|
227
228
|
export {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
ie as _,
|
|
230
|
+
re as c,
|
|
231
|
+
ae as u
|
|
231
232
|
};
|
|
@@ -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-BKNLF6m8.js";
|
|
4
|
+
import { d as U } from "./date2-CPwYAyn5.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-uBuHtW8m.js";
|
|
@@ -3,8 +3,8 @@ var De = (F, o, t) => o in F ? Ie(F, o, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var me = (F, o, t) => De(F, typeof o != "symbol" ? o + "" : o, t);
|
|
4
4
|
import { defineComponent as ge, computed as S, ref as L, watch as ke, openBlock as c, createElementBlock as h, normalizeStyle as j, Fragment as V, renderList as $, renderSlot as _e, createCommentVNode as O, useSlots as He, onMounted as $e, onUnmounted as Oe, reactive as q, resolveComponent as B, createElementVNode as I, createVNode as _, toDisplayString as ee, unref as H, createSlots as Ue, withCtx as w, createBlock as M, resolveDynamicComponent as fe, normalizeClass as he, withModifiers as Pe, Transition as Ee } from "vue";
|
|
5
5
|
import { useDialogChild as Ke } from "@feedmepos/ui-library";
|
|
6
|
-
import {
|
|
7
|
-
import { d as Ne } from "./index-
|
|
6
|
+
import { x as be } from "./app-BKNLF6m8.js";
|
|
7
|
+
import { d as Ne } from "./index-DmM3AECr.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useI18n as je } from "@feedmepos/mf-common";
|
|
10
10
|
import { N as Ge, H as ye, b as ze } from "./app-uBuHtW8m.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-CDG-TGVz.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--jDaTvRg.js";
|
|
3
|
+
import { s as D } from "./app-BKNLF6m8.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-VFDmrMwu.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-BHauwKBN.js";
|
|
6
|
+
import { a as ie } from "./app-BKNLF6m8.js";
|
|
7
|
+
import "./dayjs.min-GA1Bp4dz.js";
|
|
8
8
|
import "./app-uBuHtW8m.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-BkGzpJpQ.js";
|
|
10
|
+
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-CdNxlvYU.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-VFDmrMwu.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-VFDmrMwu.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,17 +1,17 @@
|
|
|
1
1
|
import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R, openBlock as F, 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 L, c as z, j as oe, u as Re } from "./app-
|
|
2
|
+
import { a as L, c as z, j as oe, u as Re } from "./app-BKNLF6m8.js";
|
|
3
3
|
import { useDialog as Ie, useSnackbar as Y, components as U, useProxiedModel as Se, useBreakpoints as Fe } from "@feedmepos/ui-library";
|
|
4
4
|
import { F as S } from "./form-mode.enum-BKiNVH6A.js";
|
|
5
5
|
import { useI18n as P, useCoreStore as Ge } from "@feedmepos/mf-common";
|
|
6
6
|
import { defineStore as ue, storeToRefs as ae } from "pinia";
|
|
7
7
|
import { D as le, R as K } from "./row-action.enum-BcW_L_nE.js";
|
|
8
|
-
import { c as Ve, _ as Ce, F as ie } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { c as Ve, _ as Ce, F as ie } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
|
|
9
9
|
import { u as De, _ as Ae } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
10
|
-
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { d as de } from "./defineDeepModel-
|
|
12
|
-
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-
|
|
10
|
+
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-10nrUrma.js";
|
|
11
|
+
import { d as de } from "./defineDeepModel-BeUc-GyS.js";
|
|
12
|
+
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-VFDmrMwu.js";
|
|
13
13
|
import { x as Ue, N as Be, b as ze } from "./app-uBuHtW8m.js";
|
|
14
|
-
import { u as Le } from "./FmMultiselectDialog-
|
|
14
|
+
import { u as Le } from "./FmMultiselectDialog-Cu1rrU1D.js";
|
|
15
15
|
import { r as me } from "./random-CSbEbElR.js";
|
|
16
16
|
import { u as Pe, R as Ne } from "./usePromise-CbVUCxhj.js";
|
|
17
17
|
const H = ue(
|