@feedmepos/mf-inventory-portal 0.0.23-dev.41 → 0.0.23-dev.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-DW2K97Bb.js → App-Cr-n7HVf.js} +104 -98
- package/dist/{ApprovalView-BgSxdrwt.js → ApprovalView-BYHDmt9W.js} +5 -5
- package/dist/{BindingsDialog-CQtusdvp.js → BindingsDialog-CI0nYM1_.js} +2 -2
- package/dist/{BindingsPicker-BnEjRAah.js → BindingsPicker-BVzF3C8O.js} +3 -3
- package/dist/{BindingsTable-DpTPAef_.js → BindingsTable-B21_9L2o.js} +1 -1
- package/dist/ClosingDraftView-k2Vsz8-W.js +1225 -0
- package/dist/{ClosingTemplateView-CMTJHywt.js → ClosingTemplateView-BLda7tYC.js} +21 -21
- package/dist/{FmCustomAttribute.vue_vue_type_script_setup_true_lang-zOmcCdDR.js → FmCustomAttribute.vue_vue_type_script_setup_true_lang-DUDOaU6F.js} +8 -8
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-mAPA5_sB.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CXuer_x5.js} +3 -3
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BjNpfucZ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Ds3yBf9U.js} +12 -12
- package/dist/{IngredientGroupView-CrEfiZvn.js → IngredientGroupView-CgZ4YT3i.js} +1 -1
- package/dist/{IngredientsView-BB8LQlU9.js → IngredientsView-tPERrF9O.js} +4 -4
- package/dist/{IntegrationView-D2wTkDyX.js → IntegrationView-CoF_rdWv.js} +1 -1
- package/dist/{InventoryBindingForm-DW7rJDc1.js → InventoryBindingForm-BSnofTIL.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Ci8UI1eQ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-4d9oz7Xh.js} +18 -18
- package/dist/{InventoryBindingSummary-B40KofiI.js → InventoryBindingSummary-qm9ZUFny.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DD7VT9MS.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CQY98Hj6.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BGuXTfn6.js → PremiumBadge.vue_vue_type_script_setup_true_lang-NUkiVop4.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-DQmx28Be.js → PurchaseOrderPrintPreview-CIWiq2NB.js} +1 -1
- package/dist/{ReceiveRequestView-CJknzKfd.js → ReceiveRequestView-Dgt3FeGb.js} +10 -10
- package/dist/{RecipeView-D5oWQ9Yd.js → RecipeView-CzWlx1Xv.js} +3 -3
- package/dist/{StockView-U59PHCy2.js → StockView-IPXGJNN8.js} +103 -103
- package/dist/{SupplierView-CLjjpTNZ.js → SupplierView-DuL3NXc0.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DLDDXnyG.js → TransferDetails.vue_vue_type_script_setup_true_lang-82Bu89OE.js} +43 -43
- package/dist/{TransferTemplateView-CFoVrPIX.js → TransferTemplateView-BEaRafuO.js} +25 -25
- package/dist/{UnitView-CAopphN_.js → UnitView-Cwo0mthQ.js} +14 -14
- package/dist/{WarehouseView-DUZku5U6.js → WarehouseView-DzjQrpyv.js} +140 -140
- package/dist/{app-0klJzLit.js → app-CpuFfqWF.js} +226 -226
- package/dist/app.js +1 -1
- package/dist/{decimal-Cu4rlnvU.js → decimal-bSGrDlvd.js} +1 -1
- package/dist/{feature-C1wCaXKQ.js → feature-D8aRYGen.js} +199 -183
- package/dist/{format-unit-display-CMa5UhY1.js → format-unit-display-D4gi2D-O.js} +58 -58
- package/dist/{index-HTBqkVVr.js → index-COeURijn.js} +3 -3
- package/dist/{index-BJaMpEVJ.js → index-Cn1ato-l.js} +1 -1
- package/dist/{stock-CB4yNRMO.js → stock-B1Rchi6n.js} +1 -1
- package/dist/stores/feature.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-biIIXGyr.js → supplier-CeY_Gro-.js} +1 -1
- package/dist/{use-inventory-binding-dialog-BopoOOxB.js → use-inventory-binding-dialog-BXqY40wn.js} +1 -1
- package/package.json +1 -1
- package/dist/ClosingDraftView-CXKYLCZS.js +0 -1190
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as Q, mergeModels as Gd, computed as F, useModel as Hd, resolveComponent as T, openBlock as E, createElementBlock as O, createElementVNode as g, createVNode as N, withCtx as k, toDisplayString as A, unref as f, Fragment as q, renderList as ee, ref as L, createBlock as j, createCommentVNode as K, isRef as Qe, createTextVNode as Id, normalizeClass as J, watch as Fd, createSlots as jd, onMounted as Kd, normalizeStyle as Wd, Teleport as Yd } from "vue";
|
|
2
|
-
import { u as re } from "./supplier-
|
|
3
|
-
import { b as Fe, f as Xd, D as ed, h as ie, e as Pe, a as Od, n as dd, j as Zd,
|
|
2
|
+
import { u as re } from "./supplier-CeY_Gro-.js";
|
|
3
|
+
import { b as Fe, f as Xd, D as ed, h as ie, e as Pe, a as Od, n as dd, j as Zd, H as zd, C as he, s as wd, u as pe, l as G, d as U, p as Ad, q as qd, r as Rd, v as Jd, w as Qd, x as et, y as dt, _ as tt, z as rt, B as nt, E as le } from "./app-CpuFfqWF.js";
|
|
4
4
|
import { useI18n as X, useCoreStore as Oe } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as we, useSnackbar as me, useProxiedModel as td, useDialogChild as ot, useBreakpoints as at } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as $t } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
7
|
-
import { _ as it } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as Td } from "./feature-
|
|
7
|
+
import { _ as it } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-Ds3yBf9U.js";
|
|
8
|
+
import { u as Td } from "./feature-D8aRYGen.js";
|
|
9
9
|
import { defineStore as lt } from "pinia";
|
|
10
10
|
function st(e, d) {
|
|
11
11
|
const { t } = X(), r = Fe();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import {
|
|
1
|
+
import { ref as V, computed as Y, h as oe, defineComponent as _e, unref as i, openBlock as g, createElementBlock as D, createElementVNode as e, toDisplayString as S, createCommentVNode as T, resolveComponent as J, createVNode as U, createBlock as W, isRef as Ge, withCtx as de, Fragment as ne, normalizeClass as ye, createTextVNode as Te, renderList as pe } from "vue";
|
|
2
|
+
import { W as He, u as be, aF as k, a1 as ze, a3 as Ye, a4 as Qe, ah as We, d as xe, e as Ie, aq as B, T as Fe, aG as Je, Y as Se, K as he, i as fe, aH as Be, a8 as ge, f as Pe, D as K, h as F, b as Me, a2 as Ze, an as Ce, a0 as $e, ad as Ee } from "./app-CpuFfqWF.js";
|
|
3
3
|
import { useDialog as we, useSnackbar as Re, useProxiedModel as Xe } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as Ue } from "./feature-
|
|
5
|
-
import { b as et, u as tt, f as Le, P as ie } from "./format-unit-display-
|
|
6
|
-
import { F as rt } from "./decimal-
|
|
4
|
+
import { u as Ue } from "./feature-D8aRYGen.js";
|
|
5
|
+
import { b as et, u as tt, f as Le, P as ie } from "./format-unit-display-D4gi2D-O.js";
|
|
6
|
+
import { F as rt } from "./decimal-bSGrDlvd.js";
|
|
7
7
|
import { useI18n as je } from "@feedmepos/mf-common";
|
|
8
8
|
import { E as st } from "./empty-placeholder-wf6-BWE8.js";
|
|
9
|
-
const
|
|
9
|
+
const Ke = He((v, y) => {
|
|
10
10
|
const b = be();
|
|
11
11
|
return {
|
|
12
12
|
async readRequests(r) {
|
|
@@ -37,7 +37,7 @@ const Ve = He((v, y) => {
|
|
|
37
37
|
return await y.put(c, r);
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
|
-
}),
|
|
40
|
+
}), Ve = {
|
|
41
41
|
[k.enum.confirmDraft]: {
|
|
42
42
|
primaryActions: {
|
|
43
43
|
text: "Confirm draft",
|
|
@@ -94,9 +94,9 @@ const Ve = He((v, y) => {
|
|
|
94
94
|
message: "Purchase order will be rejected.",
|
|
95
95
|
successMessage: "Purchase order has been rejected"
|
|
96
96
|
}
|
|
97
|
-
}, ve =
|
|
97
|
+
}, ve = V();
|
|
98
98
|
function $r(v, y) {
|
|
99
|
-
const b = we(), r = be(), O = Ue(), c = et(), R = tt(), l =
|
|
99
|
+
const b = we(), r = be(), O = Ue(), c = et(), R = tt(), l = V(!1), h = Re(), o = Ke(), s = V(new Array()), u = V(
|
|
100
100
|
y != null && y.startDate && (y != null && y.endDate) ? y : ze()
|
|
101
101
|
), m = Y(() => {
|
|
102
102
|
const p = new Date(u.value.startDate), d = new Date(u.value.endDate);
|
|
@@ -104,7 +104,7 @@ function $r(v, y) {
|
|
|
104
104
|
start: Ye(p).toISOString(),
|
|
105
105
|
end: Qe(d).toISOString()
|
|
106
106
|
};
|
|
107
|
-
}), f =
|
|
107
|
+
}), f = V(new Array()), C = We(), z = V(null);
|
|
108
108
|
async function te(p) {
|
|
109
109
|
function d(n) {
|
|
110
110
|
const _ = {
|
|
@@ -154,7 +154,7 @@ function $r(v, y) {
|
|
|
154
154
|
try {
|
|
155
155
|
s.value = await o.getPurchaseOrders(m.value).then((q) => q.sort((n, _) => _._id.localeCompare(n._id)));
|
|
156
156
|
const p = await C.readLastClosing(!0), d = p == null ? void 0 : p._id;
|
|
157
|
-
d && (z.value =
|
|
157
|
+
d && (z.value = Je(d)), O.mustUsePoTemplate && await R.fetchTemplates();
|
|
158
158
|
} catch {
|
|
159
159
|
h.open({
|
|
160
160
|
title: "Something went wrong",
|
|
@@ -179,7 +179,7 @@ function $r(v, y) {
|
|
|
179
179
|
l.value = !1;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Z() {
|
|
183
183
|
switch (v) {
|
|
184
184
|
case "receive/request":
|
|
185
185
|
return G();
|
|
@@ -191,16 +191,16 @@ function $r(v, y) {
|
|
|
191
191
|
u.value = {
|
|
192
192
|
startDate: p,
|
|
193
193
|
endDate: d
|
|
194
|
-
},
|
|
194
|
+
}, Z();
|
|
195
195
|
}
|
|
196
196
|
r.watchLocation(async (p) => {
|
|
197
197
|
if (!p) {
|
|
198
198
|
s.value = [];
|
|
199
199
|
return;
|
|
200
200
|
}
|
|
201
|
-
await
|
|
201
|
+
await Z();
|
|
202
202
|
});
|
|
203
|
-
const X =
|
|
203
|
+
const X = V(), t = V(Math.random().toString());
|
|
204
204
|
async function a(p, d) {
|
|
205
205
|
var w, $;
|
|
206
206
|
const q = Math.random().toString();
|
|
@@ -262,11 +262,11 @@ function $r(v, y) {
|
|
|
262
262
|
type: "error"
|
|
263
263
|
}), console.error("Error when submitting PO operation", d, p, _);
|
|
264
264
|
} finally {
|
|
265
|
-
l.value = !1,
|
|
265
|
+
l.value = !1, Z();
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
async function N(p, d, q) {
|
|
269
|
-
const n =
|
|
269
|
+
const n = Ve[d];
|
|
270
270
|
if (!n) {
|
|
271
271
|
h.open({
|
|
272
272
|
title: "Something went wrong",
|
|
@@ -288,7 +288,7 @@ function $r(v, y) {
|
|
|
288
288
|
purchaseOrders: s,
|
|
289
289
|
purchaseRequests: f,
|
|
290
290
|
updateDateRange: re,
|
|
291
|
-
fetchData:
|
|
291
|
+
fetchData: Z,
|
|
292
292
|
loading: l,
|
|
293
293
|
transferDialogProps: ve,
|
|
294
294
|
promptCreateTransferDialog: te,
|
|
@@ -412,31 +412,31 @@ function Er(v, y) {
|
|
|
412
412
|
switch (s.status) {
|
|
413
413
|
case "DRAFT":
|
|
414
414
|
return [
|
|
415
|
-
|
|
416
|
-
|
|
415
|
+
K[F.Update],
|
|
416
|
+
K[F.Details],
|
|
417
417
|
s.supplier.internal === "restaurant" || s.supplier.internal === "warehouse" ? me[k.enum.submitRequest] : me[k.enum.confirmDraft],
|
|
418
418
|
me[k.enum.cancelDraft],
|
|
419
|
-
|
|
419
|
+
K[F.Print]
|
|
420
420
|
];
|
|
421
421
|
case "RECEIVING":
|
|
422
422
|
return [
|
|
423
423
|
me[k.enum.completeReceive],
|
|
424
|
-
|
|
425
|
-
|
|
424
|
+
K[F.Details],
|
|
425
|
+
K[F.Print]
|
|
426
426
|
];
|
|
427
427
|
case "REQUESTING":
|
|
428
|
-
return v === "receive/request" ? [
|
|
428
|
+
return v === "receive/request" ? [K[F.Details], K[F.Print]] : [
|
|
429
429
|
me[k.enum.approveRequest],
|
|
430
430
|
me[k.enum.rejectRequest],
|
|
431
|
-
|
|
432
|
-
|
|
431
|
+
K[F.Details],
|
|
432
|
+
K[F.Print]
|
|
433
433
|
];
|
|
434
434
|
case "PROCESSING":
|
|
435
|
-
return [
|
|
435
|
+
return [K[F.Details], K[F.Print]];
|
|
436
436
|
case "COMPLETE":
|
|
437
437
|
case "CANCEL":
|
|
438
438
|
default:
|
|
439
|
-
return [
|
|
439
|
+
return [K[F.Details], K[F.Print]];
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
function c(s) {
|
|
@@ -653,7 +653,7 @@ const ot = {
|
|
|
653
653
|
}).join(", ") : "-";
|
|
654
654
|
});
|
|
655
655
|
return (c, R) => {
|
|
656
|
-
var l, h, o, s, u, m, f, C, z, te, ce, G, ue,
|
|
656
|
+
var l, h, o, s, u, m, f, C, z, te, ce, G, ue, Z;
|
|
657
657
|
return i(b).isEnabled ? (g(), D("div", ot, [
|
|
658
658
|
e("div", lt, [
|
|
659
659
|
R[0] || (R[0] = e("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, "NetSuite subsidiary", -1)),
|
|
@@ -665,7 +665,7 @@ const ot = {
|
|
|
665
665
|
])),
|
|
666
666
|
(ce = (te = (z = c.purchaseOrder) == null ? void 0 : z.netSuite) == null ? void 0 : te.additionalInfo) != null && ce.transactionnumber ? (g(), D("div", mt, [
|
|
667
667
|
R[1] || (R[1] = e("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " NetSuite Transaction Number ", -1)),
|
|
668
|
-
e("div", ft, S((
|
|
668
|
+
e("div", ft, S((Z = (ue = (G = c.purchaseOrder) == null ? void 0 : G.netSuite) == null ? void 0 : ue.additionalInfo) == null ? void 0 : Z.transactionnumber), 1)
|
|
669
669
|
])) : T("", !0),
|
|
670
670
|
i(b).isEnabled && c.transferType === i(ie).TRANSFER && !c.isTransferBetweenOutlets ? (g(), D("div", pt, [
|
|
671
671
|
R[2] || (R[2] = e("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " NetSuite fulfillment IDs ", -1)),
|
|
@@ -685,7 +685,7 @@ const ot = {
|
|
|
685
685
|
isTransferBetweenOutlets: { type: Boolean }
|
|
686
686
|
},
|
|
687
687
|
setup(v) {
|
|
688
|
-
const y = v, b = Me(), r = Re(), O = we(), c =
|
|
688
|
+
const y = v, b = Me(), r = Re(), O = we(), c = V(!1), R = Y(() => {
|
|
689
689
|
var u, m, f, C;
|
|
690
690
|
let h = !0;
|
|
691
691
|
b.isEnabled || (h = !1);
|
|
@@ -742,7 +742,7 @@ const ot = {
|
|
|
742
742
|
});
|
|
743
743
|
}
|
|
744
744
|
return (h, o) => {
|
|
745
|
-
const s =
|
|
745
|
+
const s = J("FmButton");
|
|
746
746
|
return R.value ? (g(), D("div", ht, [
|
|
747
747
|
U(s, {
|
|
748
748
|
"prepend-icon": "sync",
|
|
@@ -769,7 +769,7 @@ const ot = {
|
|
|
769
769
|
}, Ut = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Lt = { class: "fm-typo-en-body-lg-600" }, jt = {
|
|
770
770
|
key: 4,
|
|
771
771
|
class: "flex flex-col gap-4"
|
|
772
|
-
},
|
|
772
|
+
}, Kt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Vt = { class: "fm-typo-en-body-lg-600" }, Gt = { class: "border border-fm-color-neutral-gray-200 fm-corner-radius-lg p-16" }, Ht = { class: "flex flex-col gap-8" }, zt = { class: "fm-typo-en-body-lg-600" }, Yt = { class: "flex gap-8" }, Qt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary flex flex-col gap-4" }, Wt = { class: "flex w-full gap-4" }, Jt = { class: "basis-1/2 shrink-0 grow fm-typo-en-body-lg-400 line-clamp-2" }, Zt = { class: "fm-typo-en-body-lg-600 line-clamp-2" }, Xt = { class: "flex w-full gap-4 fm-typo-en-body-sm-400" }, er = { class: "grow fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-1" }, tr = {
|
|
773
773
|
key: 0,
|
|
774
774
|
class: "line-clamp-1 fm-typo-en-body-lg-400 text-fm-color-typo-secondary"
|
|
775
775
|
}, rr = { class: "py-8" }, sr = { class: "flex justify-end gap-4 items-center" }, ar = { class: "fm-typo-en-body-lg-600" }, nr = {
|
|
@@ -823,7 +823,7 @@ const ot = {
|
|
|
823
823
|
label: l("inventory.transfer.receiveRequest.details.deliveryHistory"),
|
|
824
824
|
value: "deliveryHistory"
|
|
825
825
|
}
|
|
826
|
-
], u =
|
|
826
|
+
], u = V(s[0]), m = V(!1), f = V(""), C = V(!0), z = Ke(), te = Xe(b, "show");
|
|
827
827
|
async function ce(t, a, P) {
|
|
828
828
|
f.value = a, m.value = !0, C.value = !1;
|
|
829
829
|
try {
|
|
@@ -856,7 +856,7 @@ const ot = {
|
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
async function G(t) {
|
|
859
|
-
const a =
|
|
859
|
+
const a = Ve[t];
|
|
860
860
|
if (!a) {
|
|
861
861
|
c.open({
|
|
862
862
|
title: "Something went wrong",
|
|
@@ -877,7 +877,7 @@ const ot = {
|
|
|
877
877
|
const ue = Y(() => {
|
|
878
878
|
var t, a;
|
|
879
879
|
return ((t = b.purchaseOrder) == null ? void 0 : t.status) === B.enum.RECEIVING || ((a = b.purchaseOrder) == null ? void 0 : a.status) === B.enum.COMPLETE;
|
|
880
|
-
}),
|
|
880
|
+
}), Z = Y(() => {
|
|
881
881
|
var d, q, n;
|
|
882
882
|
const P = (((d = b.purchaseOrder) == null ? void 0 : d.deliveryOrder) ?? []).flatMap((_) => _.received ?? []).reduce(
|
|
883
883
|
(_, w) => {
|
|
@@ -888,7 +888,7 @@ const ot = {
|
|
|
888
888
|
), N = Object.entries(P).reduce(
|
|
889
889
|
(_, [w, $]) => {
|
|
890
890
|
const x = $.reduce((L, j) => {
|
|
891
|
-
const Q =
|
|
891
|
+
const Q = Ze(
|
|
892
892
|
L,
|
|
893
893
|
Math.max(L.precision, j.amount.precision)
|
|
894
894
|
);
|
|
@@ -1003,7 +1003,7 @@ const ot = {
|
|
|
1003
1003
|
});
|
|
1004
1004
|
return (t, a) => {
|
|
1005
1005
|
var x, L;
|
|
1006
|
-
const P =
|
|
1006
|
+
const P = J("FmButtonGroup"), N = J("FmChip"), p = J("FmMenuDivider"), d = J("FmCard"), q = J("FmIcon"), n = J("FmTooltip"), _ = J("FmSpacer"), w = J("FmButton"), $ = J("FmSideSheet");
|
|
1007
1007
|
return g(), W($, {
|
|
1008
1008
|
header: i(l)("inventory.transfer.receiveRequest.details.title") + ((x = t.purchaseOrder) != null && x.seqNumber ? ` #${(L = t.purchaseOrder) == null ? void 0 : L.seqNumber}` : ""),
|
|
1009
1009
|
modelValue: i(te),
|
|
@@ -1085,8 +1085,8 @@ const ot = {
|
|
|
1085
1085
|
e("div", Lt, S(t.purchaseOrder.ref), 1)
|
|
1086
1086
|
])) : T("", !0),
|
|
1087
1087
|
(Ne = t.purchaseOrder) != null && Ne.remark ? (g(), D("div", jt, [
|
|
1088
|
-
e("div",
|
|
1089
|
-
e("div",
|
|
1088
|
+
e("div", Kt, S(i(l)("inventory.transfer.receiveRequest.details.remark")), 1),
|
|
1089
|
+
e("div", Vt, S(t.purchaseOrder.remark), 1)
|
|
1090
1090
|
])) : T("", !0)
|
|
1091
1091
|
])
|
|
1092
1092
|
];
|
|
@@ -1138,8 +1138,8 @@ const ot = {
|
|
|
1138
1138
|
class: "flex flex-col"
|
|
1139
1139
|
}, [
|
|
1140
1140
|
e("div", Wt, [
|
|
1141
|
-
e("div",
|
|
1142
|
-
e("div",
|
|
1141
|
+
e("div", Jt, S(A.name), 1),
|
|
1142
|
+
e("div", Zt, S(i(fe)(Z.value[A.sku._id], !1)) + "/" + S(i(Le)(A.quantity, A.sku.unit, A.measurement)), 1)
|
|
1143
1143
|
]),
|
|
1144
1144
|
e("div", Xt, [
|
|
1145
1145
|
e("div", er, S(A.code), 1),
|
|
@@ -1323,5 +1323,5 @@ export {
|
|
|
1323
1323
|
$r as a,
|
|
1324
1324
|
Er as b,
|
|
1325
1325
|
at as g,
|
|
1326
|
-
|
|
1326
|
+
Ke as u
|
|
1327
1327
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as J, onMounted as ce, computed as R, ref as E, watch as pe, inject as Ze, resolveComponent as V, openBlock as D, createElementBlock as K, createElementVNode as t, createVNode as c, withCtx as q, renderSlot as Oe, withDirectives as Ve, normalizeClass as ie, vModelText as Ae, reactive as Je, h as Z, toDisplayString as O, unref as e, createBlock as W, mergeProps as Ee, isRef as Ue, createCommentVNode as Y, Fragment as qe, renderList as Xe, normalizeStyle as Ye, Teleport as et, normalizeProps as tt, guardReactiveProps as ot } from "vue";
|
|
2
|
+
import { G as Ne, ax as ue, t as De, I as st, ay as lt, az as nt, i as G, aA as at, b as ze, Z as Re, l as me, a as He, O as re, K as rt, A as de, M as it, E as Q, u as je, ab as ut, B as Qe, H as mt, J as dt, d as ee, aB as ne, a8 as ct, a0 as pt, y as ft, h as Pe, _ as yt, z as vt } from "./app-CpuFfqWF.js";
|
|
3
3
|
import { useI18n as X } from "@feedmepos/mf-common";
|
|
4
|
-
import { P as H, a as bt, f as xt, t as _t, b as Le, u as ht } from "./format-unit-display-
|
|
4
|
+
import { P as H, a as bt, f as xt, t as _t, b as Le, u as ht } from "./format-unit-display-D4gi2D-O.js";
|
|
5
5
|
import { components as ae, useDialog as gt, useSnackbar as Tt, useProxiedModel as Ke, useBreakpoints as Ft } from "@feedmepos/ui-library";
|
|
6
6
|
import { storeToRefs as Be } from "pinia";
|
|
7
|
-
import { _ as wt, b as kt, F as St, a as Ct } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as Ge } from "./feature-
|
|
9
|
-
import { c as Mt, u as $t, _ as It } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as Ot } from "./supplier-
|
|
11
|
-
const Vt = { class: "flex flex-col" }, At = { class: "flex flex-col" }, Dt = { class: "flex-1" }, Rt = { class: "flex items-center" }, Pt = { class: "flex-1" }, Lt = { class: "flex-1" }, Bt = /* @__PURE__ */
|
|
7
|
+
import { _ as wt, b as kt, F as St, a as Ct } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-Ds3yBf9U.js";
|
|
8
|
+
import { u as Ge } from "./feature-D8aRYGen.js";
|
|
9
|
+
import { c as Mt, u as $t, _ as It } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CXuer_x5.js";
|
|
10
|
+
import { u as Ot } from "./supplier-CeY_Gro-.js";
|
|
11
|
+
const Vt = { class: "flex flex-col" }, At = { class: "flex flex-col" }, Dt = { class: "flex-1" }, Rt = { class: "flex items-center" }, Pt = { class: "flex-1" }, Lt = { class: "flex-1" }, Bt = /* @__PURE__ */ J({
|
|
12
12
|
__name: "FmMinMaxInput",
|
|
13
13
|
props: {
|
|
14
14
|
rules: {},
|
|
@@ -79,7 +79,7 @@ const Vt = { class: "flex flex-col" }, At = { class: "flex flex-col" }, Dt = { c
|
|
|
79
79
|
b.max = null;
|
|
80
80
|
u.min = b.min, u.max = b.max;
|
|
81
81
|
});
|
|
82
|
-
const d = Symbol.for("fm:form-state"), k =
|
|
82
|
+
const d = Symbol.for("fm:form-state"), k = Ze(d, null), h = R(() => x.disabled ?? (k == null ? void 0 : k.getDisabled()) ?? !1), A = E(), F = E(), v = E(!1), g = E(!1), I = R(() => v.value || g.value), B = R(() => [...[
|
|
83
83
|
function() {
|
|
84
84
|
return typeof o(i.value) == "string" || typeof o(l.value) == "string" ? "Must be a number" : !0;
|
|
85
85
|
},
|
|
@@ -177,7 +177,7 @@ function qt(y) {
|
|
|
177
177
|
}
|
|
178
178
|
var L = /* @__PURE__ */ ((y) => (y.Code = "Code", y.Name = "Name", y.DefaultAmount = "DefaultAmount", y.Limit = "Limit", y.MinimumAmount = "MinimumAmount", y.Step = "Step", y.Cost = "Cost", y.Delete = "Delete", y))(L || {});
|
|
179
179
|
function Nt(y) {
|
|
180
|
-
const { t: x } = X(), u = ze(), o =
|
|
180
|
+
const { t: x } = X(), u = ze(), o = Je({});
|
|
181
181
|
ce(() => {
|
|
182
182
|
for (const i of y.items) {
|
|
183
183
|
if (!i.totalCost)
|
|
@@ -196,7 +196,7 @@ function Nt(y) {
|
|
|
196
196
|
size: 180,
|
|
197
197
|
cell(i) {
|
|
198
198
|
const l = i.row.original;
|
|
199
|
-
return
|
|
199
|
+
return Z(ae.FmTextField, {
|
|
200
200
|
modelValue: l.code,
|
|
201
201
|
"onUpdate:modelValue": (d) => {
|
|
202
202
|
y.updateItem({
|
|
@@ -217,7 +217,7 @@ function Nt(y) {
|
|
|
217
217
|
minSize: 300,
|
|
218
218
|
cell(i) {
|
|
219
219
|
const l = i.row.original;
|
|
220
|
-
return
|
|
220
|
+
return Z(ae.FmTextField, {
|
|
221
221
|
modelValue: l.name,
|
|
222
222
|
"onUpdate:modelValue": (d) => {
|
|
223
223
|
y.updateItem({
|
|
@@ -242,7 +242,7 @@ function Nt(y) {
|
|
|
242
242
|
var I;
|
|
243
243
|
return ((I = l.measurement) == null ? void 0 : I.id) === g.id;
|
|
244
244
|
}), F = l.sku.unit._id !== k.unit._id || !h || l.measurement && !A;
|
|
245
|
-
return
|
|
245
|
+
return Z(wt, {
|
|
246
246
|
style: {
|
|
247
247
|
flex: "1 1 0%"
|
|
248
248
|
},
|
|
@@ -299,7 +299,7 @@ function Nt(y) {
|
|
|
299
299
|
minSize: 280,
|
|
300
300
|
cell(i) {
|
|
301
301
|
const l = i.row.original;
|
|
302
|
-
return
|
|
302
|
+
return Z(Bt, {
|
|
303
303
|
style: {
|
|
304
304
|
flex: "1 1 0%"
|
|
305
305
|
},
|
|
@@ -336,7 +336,7 @@ function Nt(y) {
|
|
|
336
336
|
minSize: 100,
|
|
337
337
|
cell(i) {
|
|
338
338
|
const l = i.row.original;
|
|
339
|
-
return
|
|
339
|
+
return Z(ae.FmTextField, {
|
|
340
340
|
modelValue: G(l.quantityStep ?? Re.reset(), !1),
|
|
341
341
|
key: l.sku._id,
|
|
342
342
|
"onUpdate:modelValue": (d) => {
|
|
@@ -361,7 +361,7 @@ function Nt(y) {
|
|
|
361
361
|
header: "",
|
|
362
362
|
cell(i) {
|
|
363
363
|
const l = i.row.original;
|
|
364
|
-
return
|
|
364
|
+
return Z(ae.FmButton, {
|
|
365
365
|
class: "delete-button",
|
|
366
366
|
key: l.sku._id,
|
|
367
367
|
type: "button",
|
|
@@ -386,7 +386,7 @@ function Nt(y) {
|
|
|
386
386
|
columnDefs: R(() => Ge().enableTotalCost && y.transferType === H.PURCHASE ? m : m.filter((l) => l.id !== "Cost"))
|
|
387
387
|
};
|
|
388
388
|
}
|
|
389
|
-
const zt = { class: "flex flex-col gap-8 py-16" }, Ht = { class: "flex items-center" }, jt = { class: "flex-1 flex gap-1 items-center" }, Qt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Kt = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Gt = { class: "flex gap-8 w-full" }, Wt = { class: "flex-1 flex flex-col gap-4" },
|
|
389
|
+
const zt = { class: "flex flex-col gap-8 py-16" }, Ht = { class: "flex items-center" }, jt = { class: "flex-1 flex gap-1 items-center" }, Qt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Kt = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Gt = { class: "flex gap-8 w-full" }, Wt = { class: "flex-1 flex flex-col gap-4" }, Zt = { class: "flex-1 flex flex-col gap-4" }, Jt = { class: "flex gap-8 w-full" }, Xt = { class: "flex-1 flex flex-col gap-4" }, Yt = { class: "flex-1 flex flex-col gap-4" }, eo = { class: "flex gap-8 w-full" }, to = { class: "flex-1 flex flex-col gap-4" }, oo = /* @__PURE__ */ J({
|
|
390
390
|
__name: "TransferTemplateItem",
|
|
391
391
|
props: {
|
|
392
392
|
cellByColId: {},
|
|
@@ -421,7 +421,7 @@ const zt = { class: "flex flex-col gap-8 py-16" }, Ht = { class: "flex items-cen
|
|
|
421
421
|
}, null, 8, ["render", "props"]),
|
|
422
422
|
o[0] || (o[0] = t("div", { class: "fm-typo-en-body-md-600 text-fm-color-primary" }, null, -1))
|
|
423
423
|
]),
|
|
424
|
-
t("div",
|
|
424
|
+
t("div", Zt, [
|
|
425
425
|
c(m, {
|
|
426
426
|
label: e(x)(`inventory.transfer.form.items.table.${e(L).Name}`)
|
|
427
427
|
}, null, 8, ["label"]),
|
|
@@ -432,7 +432,7 @@ const zt = { class: "flex flex-col gap-8 py-16" }, Ht = { class: "flex items-cen
|
|
|
432
432
|
o[1] || (o[1] = t("div", { class: "fm-typo-en-body-md-600 text-fm-color-primary" }, null, -1))
|
|
433
433
|
])
|
|
434
434
|
]),
|
|
435
|
-
t("div",
|
|
435
|
+
t("div", Jt, [
|
|
436
436
|
t("div", Xt, [
|
|
437
437
|
c(m, {
|
|
438
438
|
label: e(x)(`inventory.transfer.form.items.table.${e(L).DefaultAmount}`)
|
|
@@ -469,7 +469,7 @@ const zt = { class: "flex flex-col gap-8 py-16" }, Ht = { class: "flex items-cen
|
|
|
469
469
|
]);
|
|
470
470
|
};
|
|
471
471
|
}
|
|
472
|
-
}), so = { class: "flex flex-col gap-16" }, lo = { class: "flex flex-col gap-24" }, no = { class: "flex flex-col gap-16" }, ao = { class: "flex items-center" }, ro = { class: "flex flex-col" }, io = { class: "flex flex-col gap-16" }, uo = { class: "flex" }, mo = { class: "flex-1 gap-8 fm-typo-en-title-sm-600" }, co = /* @__PURE__ */
|
|
472
|
+
}), so = { class: "flex flex-col gap-16" }, lo = { class: "flex flex-col gap-24" }, no = { class: "flex flex-col gap-16" }, ao = { class: "flex items-center" }, ro = { class: "flex flex-col" }, io = { class: "flex flex-col gap-16" }, uo = { class: "flex" }, mo = { class: "flex-1 gap-8 fm-typo-en-title-sm-600" }, co = /* @__PURE__ */ J({
|
|
473
473
|
__name: "TransferTemplateForm",
|
|
474
474
|
props: {
|
|
475
475
|
modelValue: {},
|
|
@@ -777,7 +777,7 @@ const zt = { class: "flex flex-col gap-8 py-16" }, Ht = { class: "flex items-cen
|
|
|
777
777
|
}, 8, ["disabled"]);
|
|
778
778
|
};
|
|
779
779
|
}
|
|
780
|
-
}), po = { class: "flex items-center" }, fo = { class: "fm-typo-en-title-md-800" }, yo = { class: "flex gap-4" }, vo = /* @__PURE__ */
|
|
780
|
+
}), po = { class: "flex items-center" }, fo = { class: "fm-typo-en-title-md-800" }, yo = { class: "flex gap-4" }, vo = /* @__PURE__ */ J({
|
|
781
781
|
__name: "TransferTemplateDialog",
|
|
782
782
|
props: {
|
|
783
783
|
mode: {},
|
|
@@ -971,7 +971,7 @@ const zt = { class: "flex flex-col gap-8 py-16" }, Ht = { class: "flex items-cen
|
|
|
971
971
|
}, Ho = {
|
|
972
972
|
key: 0,
|
|
973
973
|
class: "flex gap-4 items-center"
|
|
974
|
-
}, jo = { class: "flex flex-col gap-12" }, Qo = { class: "flex flex-col gap-8" }, Ko = { class: "flex gap-8 xs:flex-col" }, Go = /* @__PURE__ */
|
|
974
|
+
}, jo = { class: "flex flex-col gap-12" }, Qo = { class: "flex flex-col gap-8" }, Ko = { class: "flex gap-8 xs:flex-col" }, Go = /* @__PURE__ */ J({
|
|
975
975
|
__name: "TransferTemplateDetails",
|
|
976
976
|
props: {
|
|
977
977
|
template: {},
|
|
@@ -1112,7 +1112,7 @@ const zt = { class: "flex flex-col gap-8 py-16" }, Ht = { class: "flex items-cen
|
|
|
1112
1112
|
}, 8, ["header", "modelValue", "dismiss-away"]);
|
|
1113
1113
|
};
|
|
1114
1114
|
}
|
|
1115
|
-
}), Wo = { class: "flex-1 flex flex-col gap-8" },
|
|
1115
|
+
}), Wo = { class: "flex-1 flex flex-col gap-8" }, Zo = { class: "flex flex-col" }, Jo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xo = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Yo = { class: "fm-typo-en-body-lg-400" }, es = { class: "fm-typo-en-body-lg-400 line-clamp-1" }, ts = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, cs = /* @__PURE__ */ J({
|
|
1116
1116
|
__name: "TransferTemplateView",
|
|
1117
1117
|
setup(y) {
|
|
1118
1118
|
const { t: x } = X(), { createTemplate: u, viewTemplate: o, importTemplates: m, exportTemplates: S } = Le(), { templateDialogProps: i, templateDetailsProps: l } = Be(Le()), d = ht(), { loading: k, templates: h } = Be(d), A = E(!1), F = ft(), v = je(), { breakpoints: g } = Ft();
|
|
@@ -1202,8 +1202,8 @@ const zt = { class: "flex flex-col gap-8 py-16" }, Ht = { class: "flex items-cen
|
|
|
1202
1202
|
var P, U, N, j, T, z, fe, ye, te, ve, be, xe, _e, oe, he, ge, Te, Fe, we, ke, se, Se, Ce, Me, $e, le, Ie;
|
|
1203
1203
|
return [
|
|
1204
1204
|
t("div", Wo, [
|
|
1205
|
-
t("div",
|
|
1206
|
-
t("div",
|
|
1205
|
+
t("div", Zo, [
|
|
1206
|
+
t("div", Jo, [
|
|
1207
1207
|
c(e(Q), {
|
|
1208
1208
|
render: (N = (U = (P = _._id) == null ? void 0 : P.column) == null ? void 0 : U.columnDef) == null ? void 0 : N.cell,
|
|
1209
1209
|
props: (T = (j = _._id) == null ? void 0 : j.getContext) == null ? void 0 : T.call(j)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as H, computed as g, openBlock as v, createElementBlock as C, createElementVNode as l, Fragment as j, renderList as q, toDisplayString as V, createCommentVNode as Y, ref as M, resolveComponent as $, createBlock as T, withCtx as A, createVNode as y, unref as o, isRef as ee, normalizeClass as re, normalizeStyle as ie, Teleport as ue, normalizeProps as de, guardReactiveProps as me } from "vue";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as K, d as w, S as ce, f as pe, D as te, h as L, e as le, l as N, A as fe, i as J, K as ve, L as ye, o as ne, u as be, b as ge, y as xe, _ as _e, z as he, B as Ve, E as Ue } from "./app-CpuFfqWF.js";
|
|
3
3
|
import { useDialog as we, useSnackbar as se, useProxiedModel as oe, useBreakpoints as Ce } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Se, _ as ke } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { defineStore as Ee, storeToRefs as Fe } from "pinia";
|
|
6
|
-
import { useI18n as
|
|
7
|
-
import { F as $e } from "./decimal-
|
|
8
|
-
import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { useI18n as G } from "@feedmepos/mf-common";
|
|
7
|
+
import { F as $e } from "./decimal-bSGrDlvd.js";
|
|
8
|
+
import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CQY98Hj6.js";
|
|
9
9
|
const De = { class: "flex flex-col gap-8" }, Ae = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "flex flex-col"
|
|
@@ -30,7 +30,7 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
|
|
|
30
30
|
unit: {}
|
|
31
31
|
},
|
|
32
32
|
setup(k) {
|
|
33
|
-
const f = k, b =
|
|
33
|
+
const f = k, b = K(), i = g(() => b.validateUnitUsage(f.unit)), r = g(() => i.value.filter((c) => c.from === "INGREDIENT")), s = g(() => i.value.filter((c) => c.from === "RECIPE")), d = g(() => i.value.filter((c) => c.from === "MENU"));
|
|
34
34
|
return (c, p) => (v(), C("div", De, [
|
|
35
35
|
p[3] || (p[3] = l("div", { class: "fm-typo-en-body-md-400" }, "Sorry, this unit is used in the following modules:", -1)),
|
|
36
36
|
r.value.length ? (v(), C("div", Ae, [
|
|
@@ -93,7 +93,7 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
|
|
|
93
93
|
]));
|
|
94
94
|
}
|
|
95
95
|
}), Q = Ee("unitForm", function() {
|
|
96
|
-
const f = we(), b = se(), i =
|
|
96
|
+
const f = we(), b = se(), i = K(), r = M(!1), s = M();
|
|
97
97
|
function d() {
|
|
98
98
|
const n = {
|
|
99
99
|
unit: {},
|
|
@@ -187,7 +187,7 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
|
|
|
187
187
|
};
|
|
188
188
|
});
|
|
189
189
|
function qe() {
|
|
190
|
-
const { updateUnit: k, deleteUnit: f } = Q(), { t: b } =
|
|
190
|
+
const { updateUnit: k, deleteUnit: f } = Q(), { t: b } = G();
|
|
191
191
|
async function i(s, d) {
|
|
192
192
|
const c = le(d);
|
|
193
193
|
if (s === L.Edit) {
|
|
@@ -232,7 +232,7 @@ function qe() {
|
|
|
232
232
|
}
|
|
233
233
|
] };
|
|
234
234
|
}
|
|
235
|
-
const He = { class: "flex flex-col gap-24" },
|
|
235
|
+
const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge = { class: "flex-1" }, Oe = { class: "flex-1" }, Ye = { class: "flex" }, Je = { class: "flex items-center" }, Qe = { class: "fm-typo-en-body-lg-600 flex-grow" }, We = { class: "flex flex-col gap-24" }, Xe = { class: "flex gap-24" }, Ze = { class: "flex-1" }, et = { class: "flex-1" }, tt = /* @__PURE__ */ H({
|
|
236
236
|
__name: "UnitForm",
|
|
237
237
|
props: {
|
|
238
238
|
mode: {},
|
|
@@ -241,7 +241,7 @@ const He = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Ke
|
|
|
241
241
|
},
|
|
242
242
|
emits: ["update:modelValue", "click:submit"],
|
|
243
243
|
setup(k, { expose: f, emit: b }) {
|
|
244
|
-
const i = k, r = b, { t: s } =
|
|
244
|
+
const i = k, r = b, { t: s } = G();
|
|
245
245
|
function d() {
|
|
246
246
|
r("click:submit");
|
|
247
247
|
}
|
|
@@ -327,8 +327,8 @@ const He = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Ke
|
|
|
327
327
|
var E;
|
|
328
328
|
return [
|
|
329
329
|
l("div", He, [
|
|
330
|
-
l("div",
|
|
331
|
-
l("div",
|
|
330
|
+
l("div", Ke, [
|
|
331
|
+
l("div", Ge, [
|
|
332
332
|
y(m, {
|
|
333
333
|
disabled: e.disabled,
|
|
334
334
|
label: o(s)("inventory.unit.name"),
|
|
@@ -450,7 +450,7 @@ const He = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Ke
|
|
|
450
450
|
},
|
|
451
451
|
emits: ["update:show"],
|
|
452
452
|
setup(k) {
|
|
453
|
-
const f = k, b =
|
|
453
|
+
const f = k, b = K(), i = se(), { t: r } = G(), s = oe(f, "show"), d = oe(f, "unit"), c = g(() => {
|
|
454
454
|
switch (f.mode) {
|
|
455
455
|
case w.READ:
|
|
456
456
|
return "";
|
|
@@ -566,11 +566,11 @@ const He = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Ke
|
|
|
566
566
|
}), lt = { class: "flex flex-col py-8" }, st = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, vt = /* @__PURE__ */ H({
|
|
567
567
|
__name: "UnitView",
|
|
568
568
|
setup(k) {
|
|
569
|
-
const f =
|
|
569
|
+
const f = K(), b = be(), i = ge(), r = g(() => f.units), { createUnit: s, updateUnit: d } = Q(), { unitDialogProps: c, unitViewLoading: p } = Fe(Q()), { columnDefs: a } = qe();
|
|
570
570
|
function n(D) {
|
|
571
571
|
D === "add" && s();
|
|
572
572
|
}
|
|
573
|
-
const u = M(""), x = g(() => p.value), { breakpoints: _ } = Ce(), e = g(() => _.value.xs || _.value.sm), t = g(() => e.value ? 10 : 20), m = xe(), { t: I } =
|
|
573
|
+
const u = M(""), x = g(() => p.value), { breakpoints: _ } = Ce(), e = g(() => _.value.xs || _.value.sm), t = g(() => e.value ? 10 : 20), m = xe(), { t: I } = G();
|
|
574
574
|
return (D, U) => {
|
|
575
575
|
const O = $("FmTable");
|
|
576
576
|
return v(), T(_e, {
|