@feedmepos/mf-inventory-portal 1.2.29 → 1.2.30
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-BcetoQcK.js → App-CZJre5y8.js} +56 -54
- package/dist/{ApprovalView-CyRCctkZ.js → ApprovalView-CnxHxojY.js} +34 -28
- package/dist/{BindingsDialog-DLN2RPYo.js → BindingsDialog-C6lCOPNs.js} +2 -2
- package/dist/{BindingsPicker-CDtYeSVh.js → BindingsPicker-DZtFKLQ5.js} +6 -5
- package/dist/{BindingsTable-C19Bm8d6.js → BindingsTable-BmQGLuJ4.js} +28 -24
- package/dist/{ClosingDraftView-DBFIR6Xv.js → ClosingDraftView-KLtlh31f.js} +184 -176
- package/dist/{ClosingHistoryView-BEZOwsPz.js → ClosingHistoryView-Rf1yMhMj.js} +43 -41
- package/dist/{ClosingTemplateView-COifu0I6.js → ClosingTemplateView-C_IiKnGx.js} +116 -98
- package/dist/{DeliveryOrderPrintPreview-lBFtH_Rm.js → DeliveryOrderPrintPreview-UF7V005U.js} +15 -14
- package/dist/FmDroppableField-J0xUsOTV.js +154 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BhhmWaOl.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BcMvEdc0.js} +74 -72
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CqAeF0wL.js +279 -0
- package/dist/{FmMultiselectDialog-CBYvYJnE.js → FmMultiselectDialog-B0aKuf2o.js} +1 -1
- package/dist/FmMultiselectDialog-BasrjBFA.js +597 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CLuceimk.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CaYJJkXz.js} +51 -49
- package/dist/{ImportView-DYNjmjys.js → ImportView-DRSoz0uM.js} +81 -74
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BXefPowE.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DA8SlWPy.js} +5 -5
- package/dist/{IngredientGroupView-CNzK_dDv.js → IngredientGroupView-D5Laak2-.js} +73 -65
- package/dist/{IngredientsView-BnrA0ijB.js → IngredientsView-TG3fPQhR.js} +358 -345
- package/dist/{IntegrationView-DwcP5MgB.js → IntegrationView-CElpjyo7.js} +219 -209
- package/dist/{InventoryBindingForm-DeqdcXzm.js → InventoryBindingForm-CBgxRYBd.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-FuPTxo7z.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Ys5GBHoQ.js} +41 -40
- package/dist/{InventoryBindingSummary-Dp0bshzL.js → InventoryBindingSummary-OK3vNWhi.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DLvWaFvA.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-9QRntUlk.js} +5 -5
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-tLW9bojI.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Bc01NoOn.js} +22 -21
- package/dist/{PublishView-CxIU1aI4.js → PublishView-CLMfiLjP.js} +26 -23
- package/dist/{PurchaseOrderPrintPreview-DWxp3cFM.js → PurchaseOrderPrintPreview-Dy77yWDC.js} +10 -9
- package/dist/{ReceiveRequestView-CF9ingct.js → ReceiveRequestView-BhD-NaHE.js} +324 -308
- package/dist/{RecipeView-B87vakmu.js → RecipeView-RWaO94w_.js} +73 -64
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-DY7TaxPK.js +251 -0
- package/dist/{StockView-XJY3690u.js → StockView-D5t8OxaG.js} +292 -282
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DY1iRl1F.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-3Asf1TGd.js} +1 -1
- package/dist/{SupplierView-Y2NqnJ6-.js → SupplierView-DiospFKq.js} +92 -80
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-DfCHteOF.js +177 -0
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +135 -0
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CNtvx-LA.js +123 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-l0qRNa0W.js → TransferDetails.vue_vue_type_script_setup_true_lang-p959Op4k.js} +318 -305
- package/dist/{TransferTemplateView-DBlasHGY.js → TransferTemplateView-ePZFdZ0p.js} +228 -216
- package/dist/{UnitView-C8z90hHr.js → UnitView-Banlxw7y.js} +70 -63
- package/dist/{WarehouseView-egtnCnzo.js → WarehouseView-BL-p5hbi.js} +123 -114
- package/dist/WastageTemplateView-B1pmSuW0.js +2288 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/app-EpEEb8EO.js +64040 -0
- package/dist/app-rgirz_52.js +8024 -0
- package/dist/app.js +6 -6
- package/dist/closing-template-zIjwO1_E.js +117 -0
- package/dist/date2-Dnc8Y81g.js +116 -0
- package/dist/dayjs.min-TdUgzmww.js +282 -0
- package/dist/{decimal-CLM3HUsc.js → decimal-C6s3GvGb.js} +4 -3
- package/dist/defineDeepModel-BSaaXVBF.js +19 -0
- package/dist/duplicate-template-Bw0H416G.js +34 -0
- package/dist/feature-C95Hao53.js +20162 -0
- package/dist/form-mode.enum-BKiNVH6A.js +4 -0
- package/dist/format-time-from-id-DlbHo6kY.js +15 -0
- package/dist/{format-unit-display-BWoznxQp.js → format-unit-display-QBS54q0R.js} +308 -297
- package/dist/{import-export.helper-DgKnsYRB.js → import-export.helper-CUKCKtP7.js} +56 -52
- package/dist/index-CFn_9RMm.js +45 -0
- package/dist/{index-CK61uHgW.js → index-S9Ak__QC.js} +1 -1
- package/dist/{index-tMZSFG5r.js → index-goD-WGVb.js} +16 -14
- package/dist/lodash-gq8IrP4j.js +3678 -0
- package/dist/netsuite-CnhAKyAO.js +4316 -0
- package/dist/{purchase-order-template-D7dkJMqf.js → purchase-order-template-CBIpWdEW.js} +1 -1
- package/dist/router/shared.spec.d.ts +1 -0
- package/dist/row-action.enum-BcW_L_nE.js +67 -0
- package/dist/rules-DKklsaS1.js +201 -0
- package/dist/{stock-B3EEUmkF.js → stock-3K93Mif9.js} +1 -1
- package/dist/{stock-DYBHa0KN.js → stock-BW8fen3H.js} +11 -10
- package/dist/style.css +1 -1
- package/dist/{supplier-CY7Hj_a2.js → supplier-CObCSfot.js} +27 -26
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Dlv7Eowu.js → use-ingredient-select-dialog-DwvQiaVW.js} +4 -3
- package/dist/{use-inventory-binding-dialog-DOSfDQte.js → use-inventory-binding-dialog-CuLEHLDM.js} +4 -3
- package/dist/use-template-enabled-locations-2-DkUJeppb.js +111 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1 -1
- package/dist/vue-i18n-CUznvVzc.js +2365 -0
- package/dist/xlsx-bT1p3YVR.js +24004 -0
- package/dist/xlsx.util-Cr9DpDFb.js +78 -0
- package/package.json +6 -6
- package/dist/app-B5p73NM9.js +0 -130949
|
@@ -1,13 +1,31 @@
|
|
|
1
|
-
import { ref as F, h as R, defineComponent as Y, resolveComponent as P, openBlock as $, createElementBlock as M, createElementVNode as y, normalizeClass as
|
|
2
|
-
import { u as
|
|
3
|
-
import { useI18n as K, useCoreStore as
|
|
4
|
-
import { useDialog as
|
|
5
|
-
import { defineStore as
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
import { ref as F, h as R, defineComponent as Y, resolveComponent as P, openBlock as $, createElementBlock as M, createElementVNode as y, normalizeClass as W, createTextVNode as le, toDisplayString as S, unref as d, createCommentVNode as z, createVNode as C, withCtx as A, Fragment as j, renderList as J, computed as V, watch as Ae, createSlots as Ee, createBlock as U, isRef as Ye, normalizeStyle as Ke, Teleport as Ge, normalizeProps as We, guardReactiveProps as qe, mergeProps as Je } from "vue";
|
|
2
|
+
import { u as Xe, _ as Qe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DY7TaxPK.js";
|
|
3
|
+
import { useI18n as K, useCoreStore as de } from "@feedmepos/mf-common";
|
|
4
|
+
import { useDialog as ie, useDialogChild as Ze, useSnackbar as ce, FmButtonVariant as ne, components as H, useProxiedModel as et, useBreakpoints as tt } from "@feedmepos/ui-library";
|
|
5
|
+
import { defineStore as Ve, storeToRefs as Ue } from "pinia";
|
|
6
|
+
import { F as O } from "./form-mode.enum-BKiNVH6A.js";
|
|
7
|
+
import { a as me } from "./closing-template-zIjwO1_E.js";
|
|
8
|
+
import { u as pe, c as Ne, a as fe, n as nt } from "./app-EpEEb8EO.js";
|
|
9
|
+
import { t as ae, a as ve, d as ge, s as Le, r as ot } from "./xlsx.util-Cr9DpDFb.js";
|
|
10
|
+
import { F as st } from "./FmDroppableField-J0xUsOTV.js";
|
|
11
|
+
import { f as Be, a as se } from "./date2-Dnc8Y81g.js";
|
|
12
|
+
import { D as oe, R as N } from "./row-action.enum-BcW_L_nE.js";
|
|
13
|
+
import { c as lt, F as G, _ as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
14
|
+
import { f as at } from "./format-time-from-id-DlbHo6kY.js";
|
|
15
|
+
import { _ as rt } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CNtvx-LA.js";
|
|
16
|
+
import { u as it } from "./netsuite-CnhAKyAO.js";
|
|
17
|
+
import { u as ct } from "./duplicate-template-Bw0H416G.js";
|
|
18
|
+
import { _ as mt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CqAeF0wL.js";
|
|
19
|
+
import { R as ut, A as dt } from "./rules-DKklsaS1.js";
|
|
20
|
+
import { u as pt } from "./use-ingredient-select-dialog-DwvQiaVW.js";
|
|
21
|
+
import { d as ft } from "./defineDeepModel-BSaaXVBF.js";
|
|
22
|
+
import { u as vt } from "./use-template-enabled-locations-2-DkUJeppb.js";
|
|
23
|
+
import { _ as gt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-DfCHteOF.js";
|
|
24
|
+
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
25
|
+
const ue = Ve(
|
|
8
26
|
"closingTemplateTable",
|
|
9
27
|
function() {
|
|
10
|
-
const { t: a } = K(), s =
|
|
28
|
+
const { t: a } = K(), s = ie(), m = F({}), t = re(), n = F({}), p = F(new Array()), h = F(!1), i = pe(), l = me();
|
|
11
29
|
function v(r) {
|
|
12
30
|
const f = {
|
|
13
31
|
title: r.name,
|
|
@@ -32,7 +50,7 @@ const ue = Be(
|
|
|
32
50
|
};
|
|
33
51
|
s.open({
|
|
34
52
|
title: "Publish template",
|
|
35
|
-
contentComponent:
|
|
53
|
+
contentComponent: rt,
|
|
36
54
|
contentComponentProps: f,
|
|
37
55
|
closeButton: !0,
|
|
38
56
|
primaryActions: {
|
|
@@ -76,16 +94,16 @@ const ue = Be(
|
|
|
76
94
|
}
|
|
77
95
|
}
|
|
78
96
|
function w(r, f) {
|
|
79
|
-
switch (f =
|
|
80
|
-
case
|
|
97
|
+
switch (f = Ne(f), r) {
|
|
98
|
+
case N.Details:
|
|
81
99
|
return t.viewTemplate(f);
|
|
82
|
-
case
|
|
100
|
+
case N.Edit:
|
|
83
101
|
return t.updateTemplate(f);
|
|
84
|
-
case
|
|
102
|
+
case N.Delete:
|
|
85
103
|
return t.deleteTemplate(f, h, o);
|
|
86
|
-
case
|
|
104
|
+
case N.Publish:
|
|
87
105
|
return v(f);
|
|
88
|
-
case
|
|
106
|
+
case N.Duplicate:
|
|
89
107
|
return t.duplicateTemplate(f, h, o);
|
|
90
108
|
}
|
|
91
109
|
}
|
|
@@ -96,7 +114,7 @@ const ue = Be(
|
|
|
96
114
|
accessorKey: "_id",
|
|
97
115
|
header: () => a("inventory.closing.table.createdAt"),
|
|
98
116
|
cell(r) {
|
|
99
|
-
return
|
|
117
|
+
return at(`${r.getValue()}`);
|
|
100
118
|
},
|
|
101
119
|
enableSorting: !0
|
|
102
120
|
},
|
|
@@ -167,12 +185,12 @@ const ue = Be(
|
|
|
167
185
|
id: "action",
|
|
168
186
|
cell(r) {
|
|
169
187
|
const f = r.row.original, u = [
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
188
|
+
oe[N.Edit],
|
|
189
|
+
oe[N.Duplicate],
|
|
190
|
+
oe[N.Delete],
|
|
191
|
+
oe[N.Publish]
|
|
174
192
|
];
|
|
175
|
-
return
|
|
193
|
+
return lt(u, (e) => w(e, f));
|
|
176
194
|
},
|
|
177
195
|
enableSorting: !1,
|
|
178
196
|
size: 40,
|
|
@@ -228,7 +246,7 @@ function Oe() {
|
|
|
228
246
|
}
|
|
229
247
|
function ht(c) {
|
|
230
248
|
var h;
|
|
231
|
-
const s =
|
|
249
|
+
const s = de().currentBusiness.value, t = (h = c.map((i) => {
|
|
232
250
|
var b;
|
|
233
251
|
const l = i.items.flatMap(He), v = Oe(), o = [
|
|
234
252
|
["Template ID", i._id],
|
|
@@ -256,11 +274,11 @@ function ht(c) {
|
|
|
256
274
|
sheets: {},
|
|
257
275
|
sheetOccurence: {}
|
|
258
276
|
}
|
|
259
|
-
)) == null ? void 0 : h.sheets, n = `${s == null ? void 0 : s.name} closing templates (${
|
|
260
|
-
return
|
|
277
|
+
)) == null ? void 0 : h.sheets, n = `${s == null ? void 0 : s.name} closing templates (${Be(/* @__PURE__ */ new Date())}).xlsx`, p = ve(t);
|
|
278
|
+
return ge(p, n), n;
|
|
261
279
|
}
|
|
262
280
|
function bt(c) {
|
|
263
|
-
|
|
281
|
+
de().currentBusiness.value;
|
|
264
282
|
const s = 3, m = (o) => {
|
|
265
283
|
const _ = [], w = o.sku, b = new Set(o.disabledMeasurements || []);
|
|
266
284
|
b.has(w.unit._id) || _.push(w.unit.abbrev);
|
|
@@ -320,11 +338,11 @@ function bt(c) {
|
|
|
320
338
|
header: 0.3,
|
|
321
339
|
footer: 0.3
|
|
322
340
|
};
|
|
323
|
-
const i = c.name.slice(0, 31), l =
|
|
324
|
-
return
|
|
341
|
+
const i = c.name.slice(0, 31), l = ve({ [i]: p }), v = `${c.name} - Closing Template (${Be(/* @__PURE__ */ new Date())}).xlsx`;
|
|
342
|
+
return ge(l, v), v;
|
|
325
343
|
}
|
|
326
344
|
function _t() {
|
|
327
|
-
const c =
|
|
345
|
+
const c = de(), a = fe(), s = it(), m = He({
|
|
328
346
|
sku: {
|
|
329
347
|
unit: {
|
|
330
348
|
_id: "",
|
|
@@ -398,16 +416,16 @@ function _t() {
|
|
|
398
416
|
"Enabled (true/false)",
|
|
399
417
|
...l.length ? ["Netsuite Parent"] : []
|
|
400
418
|
]
|
|
401
|
-
), _ =
|
|
419
|
+
), _ = ve({
|
|
402
420
|
Template: i,
|
|
403
421
|
Ingredients: o
|
|
404
422
|
}), w = `${t == null ? void 0 : t.name} transfer templates import.xlsx`;
|
|
405
|
-
return
|
|
423
|
+
return ge(_, w), w;
|
|
406
424
|
}
|
|
407
425
|
function xt(c) {
|
|
408
426
|
if (!c.length || `${c[0]}`.toLocaleLowerCase() === "all")
|
|
409
427
|
return [];
|
|
410
|
-
const a = /(.*) \(((warehouse_|restaurant_).{24,})\)/, m =
|
|
428
|
+
const a = /(.*) \(((warehouse_|restaurant_).{24,})\)/, m = pe().locationByDbName;
|
|
411
429
|
return c.map((t) => {
|
|
412
430
|
const n = new Array(), p = t.trim(), h = a.exec(p);
|
|
413
431
|
if (!h)
|
|
@@ -487,7 +505,7 @@ function Tt(c) {
|
|
|
487
505
|
);
|
|
488
506
|
}
|
|
489
507
|
function $t(c) {
|
|
490
|
-
const a = c.parent.data, s = new Array(), t =
|
|
508
|
+
const a = c.parent.data, s = new Array(), t = fe().skuByCode[a.code ?? ""];
|
|
491
509
|
if (!t)
|
|
492
510
|
return s.push(`Cannot find ingredient of code ${a.code} ${a.name}`), { errors: s };
|
|
493
511
|
const n = {
|
|
@@ -511,7 +529,7 @@ function $t(c) {
|
|
|
511
529
|
function Ct(c) {
|
|
512
530
|
const a = c.SheetNames.filter(
|
|
513
531
|
(n) => !Object.values(ye).map(String).includes(n)
|
|
514
|
-
), m = ue().templates, t =
|
|
532
|
+
), m = ue().templates, t = nt(m, "_id");
|
|
515
533
|
try {
|
|
516
534
|
return a.reduce(
|
|
517
535
|
(n, p) => {
|
|
@@ -608,7 +626,7 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
608
626
|
y("div", It, [
|
|
609
627
|
y("div", Dt, [
|
|
610
628
|
y("div", {
|
|
611
|
-
class:
|
|
629
|
+
class: W({
|
|
612
630
|
"text-fm-color-system-error-300": s.errors.length
|
|
613
631
|
})
|
|
614
632
|
}, [
|
|
@@ -619,7 +637,7 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
619
637
|
C(n, { "z-index": 50 }, {
|
|
620
638
|
content: A(() => [
|
|
621
639
|
y("ol", null, [
|
|
622
|
-
($(!0), M(j, null,
|
|
640
|
+
($(!0), M(j, null, J(s.errors, (l, v) => ($(), M("li", { key: v }, S(l), 1))), 128))
|
|
623
641
|
])
|
|
624
642
|
]),
|
|
625
643
|
default: A(() => [
|
|
@@ -634,7 +652,7 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
634
652
|
])) : z("", !0)
|
|
635
653
|
]),
|
|
636
654
|
y("div", {
|
|
637
|
-
class:
|
|
655
|
+
class: W([
|
|
638
656
|
"fm-typo-en-body-sm-400",
|
|
639
657
|
{
|
|
640
658
|
"text-fm-color-system-error-200": s.errors.length,
|
|
@@ -649,10 +667,10 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
649
667
|
}), Rt = { class: "flex flex-col gap-24" }, Pt = { class: "fm-typo-en-body-md-400" }, At = {
|
|
650
668
|
key: 0,
|
|
651
669
|
class: "flex items-center gap-8"
|
|
652
|
-
}, Et = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Vt = { class: "flex flex-col gap-8" }, Ut = { class: "line-clamp-2 text-ellipsis break-all" },
|
|
670
|
+
}, Et = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Vt = { class: "flex flex-col gap-8" }, Ut = { class: "line-clamp-2 text-ellipsis break-all" }, Nt = {
|
|
653
671
|
key: 2,
|
|
654
672
|
class: "shrink-0"
|
|
655
|
-
},
|
|
673
|
+
}, Lt = {
|
|
656
674
|
key: 0,
|
|
657
675
|
class: "flex flex-col"
|
|
658
676
|
}, Bt = { class: "text-fm-color-system-error-300 fm-typo-en-body-sm-400" }, zt = {
|
|
@@ -661,7 +679,7 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
661
679
|
}, Ht = { class: "fm-typo-en-body-lg-600" }, Ot = /* @__PURE__ */ Y({
|
|
662
680
|
__name: "ClosingTemplateImport",
|
|
663
681
|
setup(c) {
|
|
664
|
-
const a = F(null), s =
|
|
682
|
+
const a = F(null), s = Ze(), m = ce(), t = F(!1), n = F(!1), p = F(new Array()), h = F([]), i = F([]), l = V(
|
|
665
683
|
() => !!p.value.length || h.value.some((w) => w.errors.length) || i.value.some((w) => w.errors.length)
|
|
666
684
|
), v = V(
|
|
667
685
|
() => !!h.value.length || !!i.value.length
|
|
@@ -721,8 +739,8 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
721
739
|
]),
|
|
722
740
|
y("div", Et, S(d(o)("inventory.formField.loading")), 1)
|
|
723
741
|
])) : ($(), M(j, { key: 1 }, [
|
|
724
|
-
C(
|
|
725
|
-
class:
|
|
742
|
+
C(st, {
|
|
743
|
+
class: W({
|
|
726
744
|
"w-full": !0,
|
|
727
745
|
"h-[200px]": !a.value
|
|
728
746
|
}),
|
|
@@ -736,7 +754,7 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
736
754
|
fn: A(({ openFileDialog: e }) => [
|
|
737
755
|
y("div", Vt, [
|
|
738
756
|
y("div", {
|
|
739
|
-
class:
|
|
757
|
+
class: W([
|
|
740
758
|
"fm-corner-radius-md p-16 flex items-center gap-16",
|
|
741
759
|
{
|
|
742
760
|
"border border-fm-color-neutral-gray-100": t.value,
|
|
@@ -756,7 +774,7 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
756
774
|
color: l.value ? "system-error-300" : void 0
|
|
757
775
|
}, null, 8, ["name", "color"])),
|
|
758
776
|
y("div", {
|
|
759
|
-
class:
|
|
777
|
+
class: W([
|
|
760
778
|
"fm-typo-en-body-md-400 flex-1 h-[36px] flex items-center",
|
|
761
779
|
{
|
|
762
780
|
"text-fm-color-typo-disabled": t.value,
|
|
@@ -766,7 +784,7 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
766
784
|
}, [
|
|
767
785
|
y("div", Ut, S(a.value.name), 1)
|
|
768
786
|
], 2),
|
|
769
|
-
t.value ? z("", !0) : ($(), M("div",
|
|
787
|
+
t.value ? z("", !0) : ($(), M("div", Nt, [
|
|
770
788
|
C(u, {
|
|
771
789
|
label: d(o)("inventory.ingredient.import.replaceFile"),
|
|
772
790
|
variant: l.value ? "destructive" : "secondary",
|
|
@@ -775,8 +793,8 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
775
793
|
}, null, 8, ["label", "variant", "prepend-icon", "onClick"])
|
|
776
794
|
]))
|
|
777
795
|
], 2),
|
|
778
|
-
p.value.length ? ($(), M("div",
|
|
779
|
-
($(!0), M(j, null,
|
|
796
|
+
p.value.length ? ($(), M("div", Lt, [
|
|
797
|
+
($(!0), M(j, null, J(p.value, (x, I) => ($(), M("div", {
|
|
780
798
|
key: I,
|
|
781
799
|
class: "flex gap-8 items-center"
|
|
782
800
|
}, [
|
|
@@ -795,7 +813,7 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
795
813
|
]), 1032, ["class", "label", "button-label"]),
|
|
796
814
|
v.value ? ($(), M("div", zt, [
|
|
797
815
|
y("div", Ht, S(d(o)("inventory.ingredient.import.summary")), 1),
|
|
798
|
-
($(!0), M(j, null,
|
|
816
|
+
($(!0), M(j, null, J(h.value, (e, x) => ($(), U(Pe, {
|
|
799
817
|
key: x,
|
|
800
818
|
name: e.template.name,
|
|
801
819
|
locations: e.template.locations,
|
|
@@ -803,7 +821,7 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
803
821
|
errors: e.errors,
|
|
804
822
|
type: "create"
|
|
805
823
|
}, null, 8, ["name", "locations", "items", "errors"]))), 128)),
|
|
806
|
-
($(!0), M(j, null,
|
|
824
|
+
($(!0), M(j, null, J(i.value, (e) => ($(), U(Pe, {
|
|
807
825
|
key: e.template._id,
|
|
808
826
|
name: e.template.name,
|
|
809
827
|
locations: e.template.locations,
|
|
@@ -816,8 +834,8 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
816
834
|
]);
|
|
817
835
|
};
|
|
818
836
|
}
|
|
819
|
-
}), re =
|
|
820
|
-
const { t: c } = K(), a =
|
|
837
|
+
}), re = Ve("closingTemplateActions", () => {
|
|
838
|
+
const { t: c } = K(), a = ie(), s = ce(), m = me(), t = ct(), n = ue(), { loading: p } = Ue(n), h = F({});
|
|
821
839
|
function i() {
|
|
822
840
|
h.value = {
|
|
823
841
|
mode: O.CREATE,
|
|
@@ -843,12 +861,12 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
843
861
|
message: "Deleted template can no longer be retrieved",
|
|
844
862
|
primaryActions: {
|
|
845
863
|
text: "Delete",
|
|
846
|
-
variant:
|
|
864
|
+
variant: ne.Destructive,
|
|
847
865
|
close: !0
|
|
848
866
|
},
|
|
849
867
|
secondaryActions: {
|
|
850
868
|
text: "Cancel",
|
|
851
|
-
variant:
|
|
869
|
+
variant: ne.Plain,
|
|
852
870
|
close: !0
|
|
853
871
|
}
|
|
854
872
|
}).onPrimary(async () => {
|
|
@@ -885,12 +903,12 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
885
903
|
message: "Duplicated template can be edited after creation",
|
|
886
904
|
primaryActions: {
|
|
887
905
|
text: "Duplicate",
|
|
888
|
-
variant:
|
|
906
|
+
variant: ne.Destructive,
|
|
889
907
|
close: !0
|
|
890
908
|
},
|
|
891
909
|
secondaryActions: {
|
|
892
910
|
text: "Cancel",
|
|
893
|
-
variant:
|
|
911
|
+
variant: ne.Plain,
|
|
894
912
|
close: !0
|
|
895
913
|
},
|
|
896
914
|
contentComponent: Y({
|
|
@@ -942,7 +960,7 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
942
960
|
_.value.show = x;
|
|
943
961
|
},
|
|
944
962
|
"onAction:edit"() {
|
|
945
|
-
_.value.show = !1, l(
|
|
963
|
+
_.value.show = !1, l(Ne(e));
|
|
946
964
|
}
|
|
947
965
|
};
|
|
948
966
|
}
|
|
@@ -1071,7 +1089,7 @@ const St = { class: "flex items-center gap-12 pl-8" }, It = { class: "flex flex-
|
|
|
1071
1089
|
templateDetailsProps: _
|
|
1072
1090
|
};
|
|
1073
1091
|
});
|
|
1074
|
-
var
|
|
1092
|
+
var q = /* @__PURE__ */ ((c) => (c.Name = "Name", c.Unit = "Unit", c.Delete = "Delete", c))(q || {});
|
|
1075
1093
|
function jt(c) {
|
|
1076
1094
|
return {
|
|
1077
1095
|
columnDefs: V(() => {
|
|
@@ -1273,7 +1291,7 @@ function jt(c) {
|
|
|
1273
1291
|
})
|
|
1274
1292
|
};
|
|
1275
1293
|
}
|
|
1276
|
-
const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt = { class: "flex-1 flex flex-col" },
|
|
1294
|
+
const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt = { class: "flex-1 flex flex-col" }, Wt = { class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, qt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Jt = { class: "flex flex-col gap-4" }, Xt = /* @__PURE__ */ Y({
|
|
1277
1295
|
__name: "ClosingTemplateItem",
|
|
1278
1296
|
props: {
|
|
1279
1297
|
cellByColId: {},
|
|
@@ -1281,26 +1299,26 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1281
1299
|
},
|
|
1282
1300
|
setup(c) {
|
|
1283
1301
|
const a = c, s = V(() => a.row), m = V(
|
|
1284
|
-
() => s.value.getVisibleCells().filter((t) => t.column.id !==
|
|
1302
|
+
() => s.value.getVisibleCells().filter((t) => t.column.id !== q.Name && t.column.id !== q.Delete)
|
|
1285
1303
|
);
|
|
1286
1304
|
return (t, n) => {
|
|
1287
1305
|
var p, h, i, l, v;
|
|
1288
1306
|
return $(), M("div", Yt, [
|
|
1289
1307
|
y("div", Kt, [
|
|
1290
1308
|
y("div", Gt, [
|
|
1291
|
-
y("div",
|
|
1292
|
-
y("div",
|
|
1309
|
+
y("div", Wt, S(s.value.original.sku.name), 1),
|
|
1310
|
+
y("div", qt, S(s.value.original.sku.code), 1)
|
|
1293
1311
|
]),
|
|
1294
1312
|
y("div", null, [
|
|
1295
1313
|
C(d(G), {
|
|
1296
|
-
render: (i = (h = (p = t.cellByColId[d(
|
|
1297
|
-
props: (v = (l = t.cellByColId[d(
|
|
1314
|
+
render: (i = (h = (p = t.cellByColId[d(q).Delete]) == null ? void 0 : p.column) == null ? void 0 : h.columnDef) == null ? void 0 : i.cell,
|
|
1315
|
+
props: (v = (l = t.cellByColId[d(q).Delete]) == null ? void 0 : l.getContext) == null ? void 0 : v.call(l)
|
|
1298
1316
|
}, null, 8, ["render", "props"])
|
|
1299
1317
|
])
|
|
1300
1318
|
]),
|
|
1301
|
-
y("div",
|
|
1319
|
+
y("div", Jt, [
|
|
1302
1320
|
n[0] || (n[0] = y("div", { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, null, -1)),
|
|
1303
|
-
($(!0), M(j, null,
|
|
1321
|
+
($(!0), M(j, null, J(m.value, (o) => {
|
|
1304
1322
|
var _, w, b;
|
|
1305
1323
|
return $(), M("div", {
|
|
1306
1324
|
key: o.id
|
|
@@ -1322,13 +1340,13 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1322
1340
|
disabled: { type: Boolean }
|
|
1323
1341
|
},
|
|
1324
1342
|
setup(c, { expose: a }) {
|
|
1325
|
-
const s = c, m =
|
|
1326
|
-
|
|
1343
|
+
const s = c, m = ft(), { t } = K(), n = fe();
|
|
1344
|
+
ie();
|
|
1327
1345
|
const {
|
|
1328
1346
|
promptSelectLocations: p,
|
|
1329
1347
|
columnDefs: h,
|
|
1330
1348
|
rowData: i
|
|
1331
|
-
} =
|
|
1349
|
+
} = vt({
|
|
1332
1350
|
getLocations() {
|
|
1333
1351
|
return m.locations;
|
|
1334
1352
|
},
|
|
@@ -1363,7 +1381,7 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1363
1381
|
get disabled() {
|
|
1364
1382
|
return s.disabled;
|
|
1365
1383
|
}
|
|
1366
|
-
}), b = V(() => w.columnDefs.value), { promptSelectIngredients: r } =
|
|
1384
|
+
}), b = V(() => w.columnDefs.value), { promptSelectIngredients: r } = pt();
|
|
1367
1385
|
async function f() {
|
|
1368
1386
|
const e = n.skus.map((T) => ({
|
|
1369
1387
|
label: T.name,
|
|
@@ -1399,7 +1417,7 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1399
1417
|
"label-mark": "required",
|
|
1400
1418
|
modelValue: d(m).name,
|
|
1401
1419
|
"onUpdate:modelValue": e[0] || (e[0] = (D) => d(m).name = D),
|
|
1402
|
-
rules: [d(
|
|
1420
|
+
rules: [d(ut)()]
|
|
1403
1421
|
}, null, 8, ["label", "modelValue", "rules"]),
|
|
1404
1422
|
C(x, {
|
|
1405
1423
|
label: d(t)("inventory.closing.form.reference"),
|
|
@@ -1475,11 +1493,11 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1475
1493
|
"page-size": o.value ? d(m).items.length : Math.min(10, d(m).items.length)
|
|
1476
1494
|
}, {
|
|
1477
1495
|
"list-row": A((D) => [
|
|
1478
|
-
($(), U(
|
|
1496
|
+
($(), U(ze, {
|
|
1479
1497
|
row: D,
|
|
1480
|
-
key: d(m).items.map((
|
|
1498
|
+
key: d(m).items.map((L) => L.sku._id).join(".")
|
|
1481
1499
|
}, {
|
|
1482
|
-
default: A((
|
|
1500
|
+
default: A((L) => [
|
|
1483
1501
|
y("div", rn, [
|
|
1484
1502
|
o.value ? ($(), U(g, {
|
|
1485
1503
|
key: 0,
|
|
@@ -1489,7 +1507,7 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1489
1507
|
y("div", cn, [
|
|
1490
1508
|
C(Xt, {
|
|
1491
1509
|
row: D,
|
|
1492
|
-
"cell-by-col-id":
|
|
1510
|
+
"cell-by-col-id": L
|
|
1493
1511
|
}, null, 8, ["row", "cell-by-col-id"])
|
|
1494
1512
|
])
|
|
1495
1513
|
])
|
|
@@ -1502,7 +1520,7 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1502
1520
|
], 512),
|
|
1503
1521
|
C(k, {
|
|
1504
1522
|
"model-value": d(m).items.length,
|
|
1505
|
-
rules: [d(
|
|
1523
|
+
rules: [d(dt)(1)]
|
|
1506
1524
|
}, null, 8, ["model-value", "rules"])
|
|
1507
1525
|
])
|
|
1508
1526
|
]),
|
|
@@ -1520,7 +1538,7 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1520
1538
|
emits: ["update:show", "submitted"],
|
|
1521
1539
|
setup(c, { expose: a, emit: s }) {
|
|
1522
1540
|
var T;
|
|
1523
|
-
const m = c, t = s, n =
|
|
1541
|
+
const m = c, t = s, n = me(), p = re(), h = ce(), { t: i } = K(), l = et(m, "show");
|
|
1524
1542
|
function v() {
|
|
1525
1543
|
return {
|
|
1526
1544
|
_id: "",
|
|
@@ -1622,7 +1640,7 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1622
1640
|
o.value && p.exportSingleTemplate(o.value);
|
|
1623
1641
|
}
|
|
1624
1642
|
return (g, k) => {
|
|
1625
|
-
const E = P("FmMenuDivider"), D = P("FmCard"),
|
|
1643
|
+
const E = P("FmMenuDivider"), D = P("FmCard"), L = P("FmButton"), X = P("FmSideSheet");
|
|
1626
1644
|
return $(), U(X, {
|
|
1627
1645
|
modelValue: d(l),
|
|
1628
1646
|
"onUpdate:modelValue": k[2] || (k[2] = (B) => Ye(l) ? l.value = B : null),
|
|
@@ -1658,7 +1676,7 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1658
1676
|
le(" (" + S(o.value.updatedBy.name) + ") ", 1)
|
|
1659
1677
|
], 64)) : z("", !0)
|
|
1660
1678
|
]),
|
|
1661
|
-
C(
|
|
1679
|
+
C(gt, {
|
|
1662
1680
|
"closing-id": o.value._id
|
|
1663
1681
|
}, null, 8, ["closing-id"])
|
|
1664
1682
|
])
|
|
@@ -1681,12 +1699,12 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1681
1699
|
]),
|
|
1682
1700
|
"side-sheet-footer": A(() => [
|
|
1683
1701
|
y("div", _n, [
|
|
1684
|
-
C(
|
|
1702
|
+
C(L, {
|
|
1685
1703
|
loading: w.value,
|
|
1686
1704
|
label: d(i)("common.save"),
|
|
1687
1705
|
onClick: x
|
|
1688
1706
|
}, null, 8, ["loading", "label"]),
|
|
1689
|
-
g.mode === d(O).UPDATE ? ($(), U(
|
|
1707
|
+
g.mode === d(O).UPDATE ? ($(), U(L, {
|
|
1690
1708
|
key: 0,
|
|
1691
1709
|
disabled: w.value,
|
|
1692
1710
|
variant: "secondary",
|
|
@@ -1694,7 +1712,7 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1694
1712
|
"prepend-icon": "download",
|
|
1695
1713
|
onClick: I
|
|
1696
1714
|
}, null, 8, ["disabled", "label"])) : z("", !0),
|
|
1697
|
-
C(
|
|
1715
|
+
C(L, {
|
|
1698
1716
|
disabled: w.value,
|
|
1699
1717
|
variant: "tertiary",
|
|
1700
1718
|
label: d(i)("common.close"),
|
|
@@ -1710,7 +1728,7 @@ const Yt = { class: "flex flex-col gap-16 py-12" }, Kt = { class: "flex" }, Gt =
|
|
|
1710
1728
|
function kn(c, a) {
|
|
1711
1729
|
return $(), M("div");
|
|
1712
1730
|
}
|
|
1713
|
-
const Tn = /* @__PURE__ */
|
|
1731
|
+
const Tn = /* @__PURE__ */ yt(wn, [["render", kn]]), $n = { class: "flex flex-col gap-40" }, Cn = { key: 0 }, Sn = {
|
|
1714
1732
|
key: 1,
|
|
1715
1733
|
class: "flex gap-8 items-center"
|
|
1716
1734
|
}, In = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary" }, Dn = {
|
|
@@ -1723,7 +1741,7 @@ const Tn = /* @__PURE__ */ mt(wn, [["render", kn]]), $n = { class: "flex flex-co
|
|
|
1723
1741
|
__name: "ClosingTemplatePublish",
|
|
1724
1742
|
emits: ["close"],
|
|
1725
1743
|
setup(c, { emit: a }) {
|
|
1726
|
-
const s = F(!1), m =
|
|
1744
|
+
const s = F(!1), m = ce(), t = me(), n = ue(), { t: p } = K(), h = a;
|
|
1727
1745
|
async function i() {
|
|
1728
1746
|
s.value = !0;
|
|
1729
1747
|
try {
|
|
@@ -1811,15 +1829,15 @@ const Tn = /* @__PURE__ */ mt(wn, [["render", kn]]), $n = { class: "flex flex-co
|
|
|
1811
1829
|
]);
|
|
1812
1830
|
};
|
|
1813
1831
|
}
|
|
1814
|
-
}),
|
|
1832
|
+
}), Nn = { class: "flex-1 flex flex-col gap-8" }, Ln = { class: "flex flex-col" }, Bn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, zn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Hn = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, On = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, vo = /* @__PURE__ */ Y({
|
|
1815
1833
|
__name: "ClosingTemplateView",
|
|
1816
1834
|
setup(c) {
|
|
1817
|
-
const { t: a } = K(), { createTemplate: s, updateTemplate: m, exportTemplates: t, importTemplates: n } = re(), { templateDialogProps: p, templateDetailsProps: h } =
|
|
1835
|
+
const { t: a } = K(), { createTemplate: s, updateTemplate: m, exportTemplates: t, importTemplates: n } = re(), { templateDialogProps: p, templateDetailsProps: h } = Ue(re()), i = pe(), l = ie(), v = ue(), o = Xe(), { breakpoints: _ } = tt();
|
|
1818
1836
|
i.watchLocation(v.fetchTemplates);
|
|
1819
1837
|
const w = V(() => v.loading), b = F(""), r = V(() => _.value.xs || _.value.sm), f = V(() => r.value ? 10 : 20);
|
|
1820
1838
|
function u(T) {
|
|
1821
1839
|
switch (T) {
|
|
1822
|
-
case
|
|
1840
|
+
case N.Add:
|
|
1823
1841
|
return s();
|
|
1824
1842
|
case "publish":
|
|
1825
1843
|
return e();
|
|
@@ -1848,7 +1866,7 @@ const Tn = /* @__PURE__ */ mt(wn, [["render", kn]]), $n = { class: "flex flex-co
|
|
|
1848
1866
|
const I = V(() => r.value ? [
|
|
1849
1867
|
{
|
|
1850
1868
|
label: a("inventory.closing.template.create.title"),
|
|
1851
|
-
value:
|
|
1869
|
+
value: N.Add,
|
|
1852
1870
|
isPrimary: !0,
|
|
1853
1871
|
prependIcon: "add"
|
|
1854
1872
|
},
|
|
@@ -1875,7 +1893,7 @@ const Tn = /* @__PURE__ */ mt(wn, [["render", kn]]), $n = { class: "flex flex-co
|
|
|
1875
1893
|
] : [
|
|
1876
1894
|
{
|
|
1877
1895
|
label: a("inventory.closing.template.create.title"),
|
|
1878
|
-
value:
|
|
1896
|
+
value: N.Add,
|
|
1879
1897
|
isPrimary: !0,
|
|
1880
1898
|
prependIcon: "add"
|
|
1881
1899
|
},
|
|
@@ -1903,14 +1921,14 @@ const Tn = /* @__PURE__ */ mt(wn, [["render", kn]]), $n = { class: "flex flex-co
|
|
|
1903
1921
|
return (T, g) => {
|
|
1904
1922
|
const k = P("FmTable");
|
|
1905
1923
|
return $(), M(j, null, [
|
|
1906
|
-
C(
|
|
1924
|
+
C(Qe, {
|
|
1907
1925
|
title: d(a)("inventory.closing.template.title"),
|
|
1908
1926
|
actions: I.value,
|
|
1909
1927
|
"onClick:action": u
|
|
1910
1928
|
}, {
|
|
1911
1929
|
default: A(() => [
|
|
1912
1930
|
y("div", {
|
|
1913
|
-
class:
|
|
1931
|
+
class: W([
|
|
1914
1932
|
"flex flex-col gap-8 max-h-full",
|
|
1915
1933
|
{
|
|
1916
1934
|
"p-0": r.value,
|
|
@@ -1918,7 +1936,7 @@ const Tn = /* @__PURE__ */ mt(wn, [["render", kn]]), $n = { class: "flex flex-co
|
|
|
1918
1936
|
}
|
|
1919
1937
|
])
|
|
1920
1938
|
}, [
|
|
1921
|
-
C(
|
|
1939
|
+
C(mt, {
|
|
1922
1940
|
searchable: "",
|
|
1923
1941
|
search: b.value,
|
|
1924
1942
|
"onUpdate:search": g[0] || (g[0] = (E) => b.value = E)
|
|
@@ -1933,18 +1951,18 @@ const Tn = /* @__PURE__ */ mt(wn, [["render", kn]]), $n = { class: "flex flex-co
|
|
|
1933
1951
|
"page-size": f.value
|
|
1934
1952
|
}, {
|
|
1935
1953
|
"list-row": A((E) => [
|
|
1936
|
-
C(
|
|
1954
|
+
C(ze, {
|
|
1937
1955
|
row: E,
|
|
1938
1956
|
onRowClick: (D) => d(m)(D)
|
|
1939
1957
|
}, {
|
|
1940
1958
|
default: A((D) => {
|
|
1941
|
-
var
|
|
1959
|
+
var L, X, B, Q, he, be, _e, xe, Z, we, ke, Te, $e, Ce, Se, ee, Ie, De, Me, Fe, te, Re;
|
|
1942
1960
|
return [
|
|
1943
|
-
y("div",
|
|
1944
|
-
y("div",
|
|
1961
|
+
y("div", Nn, [
|
|
1962
|
+
y("div", Ln, [
|
|
1945
1963
|
y("div", Bn, [
|
|
1946
1964
|
C(d(G), {
|
|
1947
|
-
render: (B = (X = (
|
|
1965
|
+
render: (B = (X = (L = D._id) == null ? void 0 : L.column) == null ? void 0 : X.columnDef) == null ? void 0 : B.cell,
|
|
1948
1966
|
props: (he = (Q = D._id) == null ? void 0 : Q.getContext) == null ? void 0 : he.call(Q)
|
|
1949
1967
|
}, null, 8, ["render", "props"])
|
|
1950
1968
|
]),
|
|
@@ -1987,8 +2005,8 @@ const Tn = /* @__PURE__ */ mt(wn, [["render", kn]]), $n = { class: "flex flex-co
|
|
|
1987
2005
|
_: 1
|
|
1988
2006
|
}, 8, ["title", "actions"]),
|
|
1989
2007
|
($(), U(Ge, { to: "body" }, [
|
|
1990
|
-
C(Tn, qe(
|
|
1991
|
-
C(xn,
|
|
2008
|
+
C(Tn, We(qe(d(h))), null, 16),
|
|
2009
|
+
C(xn, Je(d(p), {
|
|
1992
2010
|
onSubmitted: g[2] || (g[2] = (E) => d(v).fetchTemplates())
|
|
1993
2011
|
}), null, 16)
|
|
1994
2012
|
]))
|
|
@@ -1997,5 +2015,5 @@ const Tn = /* @__PURE__ */ mt(wn, [["render", kn]]), $n = { class: "flex flex-co
|
|
|
1997
2015
|
}
|
|
1998
2016
|
});
|
|
1999
2017
|
export {
|
|
2000
|
-
|
|
2018
|
+
vo as default
|
|
2001
2019
|
};
|