@feedmepos/mf-inventory-portal 0.0.23-dev.3 → 0.0.23-dev.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-BREfwtck.js → App-Brc7GX7l.js} +85 -73
- package/dist/{ApprovalView-DCzLx24G.js → ApprovalView-CMRd7pcC.js} +24 -27
- package/dist/{BindingsDialog-CUcC8lue.js → BindingsDialog-DoakDtFI.js} +4 -4
- package/dist/{BindingsPicker-3VOdZBWI.js → BindingsPicker-BC3rjqKw.js} +8 -9
- package/dist/{BindingsTable-D5Lt6GOO.js → BindingsTable-xKRvhEV5.js} +18 -22
- package/dist/ClosingDraftView-DlaVbAHy.js +1190 -0
- package/dist/{ClosingTemplateView-CukthwOo.js → ClosingTemplateView-DFxLuV8k.js} +272 -286
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DjGGEGQ9.js +282 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DigsIOB0.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DNEwc797.js} +116 -114
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DweLQVwq.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DlM-xGKh.js} +5 -5
- package/dist/{IngredientGroupView-CkD8x2CP.js → IngredientGroupView-C4bL0O5L.js} +63 -69
- package/dist/IngredientsView-CfS8FgxA.js +1657 -0
- package/dist/{IntegrationView-BfeV07OO.js → IntegrationView-aSAeFNtp.js} +92 -95
- package/dist/{InventoryBindingForm-BsSmth0U.js → InventoryBindingForm-C7rIUyV1.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CMV5e99K.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Ba6WLcom.js} +25 -27
- package/dist/{InventoryBindingSummary-BHloDawE.js → InventoryBindingSummary-Ix92wSE6.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BjddpTCS.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-6BUIvm7C.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BZBa_99i.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Cd6LQ6Yz.js} +23 -24
- package/dist/{PurchaseOrderPrintPreview-CTdd-RuH.js → PurchaseOrderPrintPreview-DJSF8YaR.js} +13 -14
- package/dist/ReceiveRequestView-BUyShiP2.js +4188 -0
- package/dist/{RecipeView-CrmDQdc5.js → RecipeView-c0XB2_P8.js} +79 -85
- package/dist/{StockView-Xb3fQaiD.js → StockView-DNPNymCW.js} +1338 -1446
- package/dist/{SupplierView-CrtIiaz0.js → SupplierView-Cz0hgito.js} +2325 -787
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-ySR4KngR.js +1227 -0
- package/dist/TransferTemplateView-B7kzPdfT.js +1264 -0
- package/dist/{UnitView-C6BgrZ1G.js → UnitView-BKWbaZfc.js} +40 -44
- package/dist/{WarehouseView-Hhd76ybU.js → WarehouseView-BgE3teyT.js} +94 -100
- package/dist/api/adjustment-template.d.ts +23 -0
- package/dist/api/bill.d.ts +2 -2
- package/dist/api/closing-draft.d.ts +6 -0
- package/dist/api/closing.d.ts +1 -0
- package/dist/api/netsuite.d.ts +1 -1
- package/dist/app-Bkg0JUKr.js +84182 -0
- package/dist/app.d.ts +56 -0
- package/dist/app.js +2 -2
- package/dist/components/FmMinMaxInputRules.d.ts +4 -1
- package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
- package/dist/components/row-action.enum.d.ts +1 -0
- package/dist/composable/defineDeepModel.d.ts +1 -1
- package/dist/{decimal-rPKr5T-H.js → decimal-CZ3lFF__.js} +1 -1
- package/dist/{feature-z95vJnA1.js → feature-By_PNrnn.js} +23 -9
- package/dist/format-unit-display-ZlJT10zr.js +1207 -0
- package/dist/index-B4nO9Djl.js +12087 -0
- package/dist/router/name.d.ts +2 -0
- package/dist/stock-DNajb8lV.js +125 -0
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/integration/netsuite.d.ts +69 -1
- package/dist/stores/inventory.d.ts +1 -4
- package/dist/style.css +1 -1
- package/dist/{supplier-BixmjZyl.js → supplier-eaFF1izE.js} +15 -15
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-BRygbm1p.js → use-inventory-binding-dialog-14JW4t6q.js} +10 -11
- package/dist/views/adjustment-template/import/AdjustmentTemplateImport.vue.d.ts +2 -0
- package/dist/views/adjustment-template/import/AdjustmentTemplateImportItem.vue.d.ts +18 -0
- package/dist/views/adjustment-template/import/export.d.ts +60 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDetails.vue.d.ts +2 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDialog.vue.d.ts +22 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplatePublish.vue.d.ts +6 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateView.vue.d.ts +2 -0
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +1295 -0
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateForm.vue.d.ts +16 -0
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +35 -0
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +20 -0
- package/dist/views/adjustment-template/wastage-template/props.d.ts +29 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +1273 -0
- package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +2 -0
- package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +22 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +621 -0
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +25 -0
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +3621 -0
- package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -0
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +19 -0
- package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +4 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +24 -192
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +25 -193
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +34 -34
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +54 -54
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +54 -54
- package/dist/views/receive-request/helper/check-netsuite-subsidiary.helper.d.ts +1 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
- package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -8
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -96
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -96
- package/package.json +3 -3
- package/dist/FmDroppableField-8RzKjEdL.js +0 -154
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dwb3eBLo.js +0 -267
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CvtvzIt1.js +0 -436
- package/dist/FmMultiselectDialog-CKBcMDGC.js +0 -415
- package/dist/IngredientsView-DuK4YSD6.js +0 -1613
- package/dist/ReceiveRequestView-CgWNaYs1.js +0 -4104
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +0 -135
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C9H41eg7.js +0 -1189
- package/dist/TransferTemplateView-Cc7VRbZ7.js +0 -1262
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/app-CwUHqg7h.js +0 -33462
- package/dist/date2-CHNm4ELK.js +0 -117
- package/dist/dayjs.min-FE3dpxHU.js +0 -282
- package/dist/defineDeepModel-Dc1zZzOi.js +0 -13
- package/dist/format-time-from-id-CaPj8EHN.js +0 -15
- package/dist/format-unit-display-Bkz5kW6p.js +0 -1198
- package/dist/fuzzy-DXqhGaFi.js +0 -41
- package/dist/index-BMJHz32O.js +0 -22277
- package/dist/index-Be5vGZdr.js +0 -45
- package/dist/index-D2juQPg6.js +0 -10545
- package/dist/netsuite-P0as0Moa.js +0 -194
- package/dist/normalizeArguments-DP7Hrren.js +0 -1552
- package/dist/row-action.enum-PMKMRrZR.js +0 -50
- package/dist/rules-BQz4NGht.js +0 -198
- package/dist/use-template-enabled-locations-2-Dd15d-ng.js +0 -86
- package/dist/xlsx-k2Rf0NcF.js +0 -24004
- package/dist/xlsx.util-CJxPf7XZ.js +0 -78
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { defineComponent as K, computed as _, openBlock as v, createElementBlock as w, createElementVNode as l, Fragment as q, renderList as H, toDisplayString as V, createCommentVNode as Y, ref as M, resolveComponent as I, createBlock as T, withCtx as R, createVNode as y, unref as a, isRef as Z, normalizeClass as ae, normalizeStyle as re, Teleport as ie, normalizeProps as ue, guardReactiveProps as de } from "vue";
|
|
2
|
-
import { a as G, S as me,
|
|
3
|
-
import { useDialog as
|
|
4
|
-
import { i as
|
|
5
|
-
import {
|
|
6
|
-
import { defineStore as be, storeToRefs as ge } from "pinia";
|
|
7
|
-
import { c as xe, _ as _e, F as he } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
2
|
+
import { a as G, d as U, S as me, f as ce, D as ee, h as N, e as oe, l as j, A as pe, i as J, K as fe, L as ve, n as te, u as ye, x as be, y as ge, z as xe, B as _e, E as he } from "./app-Bkg0JUKr.js";
|
|
3
|
+
import { useDialog as Ve, useSnackbar as le, useProxiedModel as ne, useBreakpoints as Ue } from "@feedmepos/ui-library";
|
|
4
|
+
import { i as we, _ as Ce } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
|
+
import { defineStore as ke, storeToRefs as Se } from "pinia";
|
|
8
6
|
import { useI18n as O } from "@feedmepos/mf-common";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { F as Se } from "./decimal-rPKr5T-H.js";
|
|
12
|
-
import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BjddpTCS.js";
|
|
7
|
+
import { F as Fe } from "./decimal-CZ3lFF__.js";
|
|
8
|
+
import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-6BUIvm7C.js";
|
|
13
9
|
const Ee = { class: "flex flex-col gap-8" }, Ie = {
|
|
14
10
|
key: 0,
|
|
15
11
|
class: "flex flex-col"
|
|
@@ -96,8 +92,8 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
|
|
|
96
92
|
])) : Y("", !0)
|
|
97
93
|
]));
|
|
98
94
|
}
|
|
99
|
-
}), Q =
|
|
100
|
-
const f =
|
|
95
|
+
}), Q = ke("unitForm", function() {
|
|
96
|
+
const f = Ve(), b = le(), i = G(), r = M(!1), o = M();
|
|
101
97
|
function m() {
|
|
102
98
|
const n = {
|
|
103
99
|
unit: {},
|
|
@@ -129,9 +125,9 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
|
|
|
129
125
|
type: "success"
|
|
130
126
|
});
|
|
131
127
|
} catch (u) {
|
|
132
|
-
u instanceof me &&
|
|
128
|
+
u instanceof me && we(u) ? f.open({
|
|
133
129
|
title: "Cannot delete unit",
|
|
134
|
-
contentComponent:
|
|
130
|
+
contentComponent: Ce,
|
|
135
131
|
contentComponentProps: {
|
|
136
132
|
subject: (n == null ? void 0 : n.name) ?? "",
|
|
137
133
|
items: u.errorResponse.message
|
|
@@ -220,8 +216,8 @@ function Ne() {
|
|
|
220
216
|
id: "action",
|
|
221
217
|
header: "",
|
|
222
218
|
cell(o) {
|
|
223
|
-
return
|
|
224
|
-
[
|
|
219
|
+
return ce(
|
|
220
|
+
[ee[N.Edit], ee[N.Delete]],
|
|
225
221
|
(m) => {
|
|
226
222
|
i(m, o.row.original);
|
|
227
223
|
}
|
|
@@ -320,7 +316,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
320
316
|
(t = (e = x.value) == null ? void 0 : e.resetInputs) == null || t.call(e);
|
|
321
317
|
}
|
|
322
318
|
}), (e, t) => {
|
|
323
|
-
const d = I("FmTextField"), D = I("FmStepperField"),
|
|
319
|
+
const d = I("FmTextField"), D = I("FmStepperField"), S = I("FmButton"), F = I("FmCard"), E = I("FmForm");
|
|
324
320
|
return v(), T(E, {
|
|
325
321
|
ref_key: "formRef",
|
|
326
322
|
ref: x,
|
|
@@ -360,12 +356,12 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
360
356
|
label: a(o)("inventory.unit.precision"),
|
|
361
357
|
modelValue: s.value,
|
|
362
358
|
"onUpdate:modelValue": t[2] || (t[2] = (C) => s.value = C),
|
|
363
|
-
rules: [a(
|
|
359
|
+
rules: [a(pe)(0)]
|
|
364
360
|
}, null, 8, ["disabled", "label", "modelValue", "rules"])
|
|
365
361
|
])
|
|
366
362
|
]),
|
|
367
363
|
l("div", Ge, [
|
|
368
|
-
y(
|
|
364
|
+
y(S, {
|
|
369
365
|
disabled: e.disabled,
|
|
370
366
|
type: "button",
|
|
371
367
|
"prepend-icon": "add",
|
|
@@ -374,7 +370,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
374
370
|
onClick: u
|
|
375
371
|
}, null, 8, ["disabled", "label"])
|
|
376
372
|
]),
|
|
377
|
-
(v(!0), w(q, null, H((P = e.modelValue) == null ? void 0 : P.measurements, (C, h) => (v(), T(
|
|
373
|
+
(v(!0), w(q, null, H((P = e.modelValue) == null ? void 0 : P.measurements, (C, h) => (v(), T(F, {
|
|
378
374
|
class: "flex flex-col gap-16 p-16",
|
|
379
375
|
variant: "outlined",
|
|
380
376
|
key: C.id
|
|
@@ -382,7 +378,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
382
378
|
default: R(() => [
|
|
383
379
|
l("div", Oe, [
|
|
384
380
|
l("div", Ye, V(a(o)("inventory.unit.measurement.measurementDefault", [h + 1])), 1),
|
|
385
|
-
y(
|
|
381
|
+
y(S, {
|
|
386
382
|
disabled: e.disabled,
|
|
387
383
|
variant: "tertiary",
|
|
388
384
|
"prepend-icon": "delete",
|
|
@@ -421,13 +417,13 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
421
417
|
"onUpdate:modelValue": ($) => n.value = n.value.map(
|
|
422
418
|
(A, B) => B === h ? {
|
|
423
419
|
...A,
|
|
424
|
-
conversion: a(
|
|
425
|
-
a(
|
|
420
|
+
conversion: a(Fe).toPrecision(
|
|
421
|
+
a(fe)($),
|
|
426
422
|
s.value
|
|
427
423
|
)
|
|
428
424
|
} : A
|
|
429
425
|
),
|
|
430
|
-
rules: [a(
|
|
426
|
+
rules: [a(ve)(0)],
|
|
431
427
|
step: +a(J)({ amount: 1, precision: s.value }),
|
|
432
428
|
"helper-text": a(o)("inventory.unit.measurement.conversionHelper", {
|
|
433
429
|
measurementSymbol: e.modelValue.measurements[h].name || " measurement unit",
|
|
@@ -454,7 +450,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
454
450
|
},
|
|
455
451
|
emits: ["update:show"],
|
|
456
452
|
setup(k) {
|
|
457
|
-
const f = k, b = G(), i = le(), { t: r } = O(), o =
|
|
453
|
+
const f = k, b = G(), i = le(), { t: r } = O(), o = ne(f, "show"), m = ne(f, "unit"), c = _(() => {
|
|
458
454
|
switch (f.mode) {
|
|
459
455
|
case U.READ:
|
|
460
456
|
return "";
|
|
@@ -485,7 +481,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
485
481
|
type: "success"
|
|
486
482
|
});
|
|
487
483
|
} catch (t) {
|
|
488
|
-
t instanceof
|
|
484
|
+
t instanceof te || i.open({
|
|
489
485
|
title: r("inventory.unit.create.error.title"),
|
|
490
486
|
message: r("inventory.unit.create.error.message"),
|
|
491
487
|
type: "error"
|
|
@@ -503,7 +499,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
503
499
|
type: "success"
|
|
504
500
|
});
|
|
505
501
|
} catch (t) {
|
|
506
|
-
t instanceof
|
|
502
|
+
t instanceof te || i.open({
|
|
507
503
|
title: r("inventory.unit.update.error.title"),
|
|
508
504
|
message: r("inventory.unit.update.error.message"),
|
|
509
505
|
type: "error"
|
|
@@ -527,10 +523,10 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
527
523
|
}
|
|
528
524
|
}
|
|
529
525
|
return (t, d) => {
|
|
530
|
-
const D = I("FmButton"),
|
|
531
|
-
return v(), T(
|
|
526
|
+
const D = I("FmButton"), S = I("FmSideSheet");
|
|
527
|
+
return v(), T(S, {
|
|
532
528
|
"model-value": a(o),
|
|
533
|
-
"onUpdate:modelValue": d[3] || (d[3] = (
|
|
529
|
+
"onUpdate:modelValue": d[3] || (d[3] = (F) => Z(o) ? o.value = F : null),
|
|
534
530
|
header: c.value,
|
|
535
531
|
"close-button": "",
|
|
536
532
|
"dismiss-away": "",
|
|
@@ -547,7 +543,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
547
543
|
disabled: n.value,
|
|
548
544
|
label: a(r)("common.close"),
|
|
549
545
|
variant: "tertiary",
|
|
550
|
-
onClick: d[2] || (d[2] = (
|
|
546
|
+
onClick: d[2] || (d[2] = (F) => o.value = !1)
|
|
551
547
|
}, null, 8, ["disabled", "label"])
|
|
552
548
|
])
|
|
553
549
|
]),
|
|
@@ -557,27 +553,27 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
557
553
|
ref_key: "hasValidationExpose",
|
|
558
554
|
ref: s,
|
|
559
555
|
modelValue: a(m),
|
|
560
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
556
|
+
"onUpdate:modelValue": d[0] || (d[0] = (F) => Z(m) ? m.value = F : null),
|
|
561
557
|
mode: t.mode,
|
|
562
558
|
disabled: n.value,
|
|
563
|
-
"onClick:submit": d[1] || (d[1] = (
|
|
559
|
+
"onClick:submit": d[1] || (d[1] = (F) => e())
|
|
564
560
|
}, null, 8, ["modelValue", "mode", "disabled"])
|
|
565
561
|
]),
|
|
566
562
|
_: 1
|
|
567
563
|
}, 8, ["model-value", "header"]);
|
|
568
564
|
};
|
|
569
565
|
}
|
|
570
|
-
}), nt = { class: "flex flex-col py-8" }, ot = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, lt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" },
|
|
566
|
+
}), nt = { class: "flex flex-col py-8" }, ot = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, lt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, pt = /* @__PURE__ */ K({
|
|
571
567
|
__name: "UnitView",
|
|
572
568
|
setup(k) {
|
|
573
|
-
const f = G(), b =
|
|
569
|
+
const f = G(), b = ye(), i = _(() => f.units), { createUnit: r, updateUnit: o } = Q(), { unitDialogProps: m, unitViewLoading: c } = Se(Q()), { columnDefs: p } = Ne();
|
|
574
570
|
function s(D) {
|
|
575
571
|
D === "add" && r();
|
|
576
572
|
}
|
|
577
|
-
const n = M(""), u = _(() => c.value), { breakpoints: g } =
|
|
578
|
-
return (D,
|
|
579
|
-
const
|
|
580
|
-
return v(), T(
|
|
573
|
+
const n = M(""), u = _(() => c.value), { breakpoints: g } = Ue(), x = _(() => g.value.xs || g.value.sm), e = _(() => x.value ? 10 : 20), t = be(), { t: d } = O();
|
|
574
|
+
return (D, S) => {
|
|
575
|
+
const F = I("FmTable");
|
|
576
|
+
return v(), T(ge, {
|
|
581
577
|
title: a(d)("inventory.unit.title"),
|
|
582
578
|
actions: [
|
|
583
579
|
{ label: a(d)("inventory.unit.create.title"), value: "add", isPrimary: !0, prependIcon: "add" }
|
|
@@ -594,18 +590,18 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
594
590
|
}
|
|
595
591
|
])
|
|
596
592
|
}, [
|
|
597
|
-
y(
|
|
593
|
+
y(xe, {
|
|
598
594
|
searchable: "",
|
|
599
595
|
search: n.value,
|
|
600
|
-
"onUpdate:search":
|
|
596
|
+
"onUpdate:search": S[0] || (S[0] = (E) => n.value = E)
|
|
601
597
|
}, null, 8, ["search"]),
|
|
602
|
-
y(
|
|
598
|
+
y(F, {
|
|
603
599
|
style: re(a(t).tableHeight),
|
|
604
600
|
"column-defs": a(p),
|
|
605
601
|
"row-data": i.value,
|
|
606
602
|
"search-value": n.value,
|
|
607
603
|
loading: !a(b)._currentLocation || u.value,
|
|
608
|
-
onRowClick:
|
|
604
|
+
onRowClick: S[1] || (S[1] = (E) => a(o)(E.original)),
|
|
609
605
|
"page-size": e.value
|
|
610
606
|
}, {
|
|
611
607
|
"list-row": R((E) => [
|
|
@@ -643,5 +639,5 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
|
|
|
643
639
|
}
|
|
644
640
|
});
|
|
645
641
|
export {
|
|
646
|
-
|
|
642
|
+
pt as default
|
|
647
643
|
};
|