@feedmepos/mf-inventory-portal 1.6.0-dev.2 → 1.6.0-dev.4
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-BWiKiRD2.js → App-xiS9XCUg.js} +4 -4
- package/dist/{ApprovalView-TFet-Rht.js → ApprovalView-Co4xloBe.js} +19 -19
- package/dist/{BindingsDialog-ByO16R7B.js → BindingsDialog-Ch1xgZ7D.js} +2 -2
- package/dist/{BindingsPicker-BzeipJDM.js → BindingsPicker-BSNOsgIa.js} +2 -2
- package/dist/{BindingsTable-CATRwDGx.js → BindingsTable-CvoKDM69.js} +3 -3
- package/dist/{ClosingDraftView-Bilo3C7N.js → ClosingDraftView-Chy_R-c9.js} +15 -15
- package/dist/{ClosingHistoryView-DJEhuzBh.js → ClosingHistoryView-DQUYXIe5.js} +86 -85
- package/dist/{ClosingTemplateView-DTS__1eO.js → ClosingTemplateView-yi3O0zya.js} +14 -14
- package/dist/{DefaultView-Dpwvllot.js → DefaultView-w0Bc0QUo.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BZ-BDWlS.js → DeliveryOrderPrintPreview-BzO9UcbC.js} +11 -11
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BMJVOiL_.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DYzIZpMo.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-QvgQwP6t.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C1-Z8zpZ.js} +2 -2
- package/dist/{FmMultiselectDialog-W0_FfMmH.js → FmMultiselectDialog-8k_CySos.js} +1 -1
- package/dist/{FmMultiselectDialog-B1rAOXTC.js → FmMultiselectDialog-C6MHEYsa.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DNpKzzVC.js → FmUnitInput.vue_vue_type_script_setup_true_lang-cf1asT1H.js} +5 -5
- package/dist/{ImportView-B_3OeL5b.js → ImportView-Z8N8eFi0.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CdNdnCp-.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BabrzvVA.js} +1 -1
- package/dist/{IngredientGroupView-B_v-UNeR.js → IngredientGroupView-CNl676Lh.js} +5 -5
- package/dist/{IngredientsView-DTXevc-8.js → IngredientsView-6zB8OUXt.js} +15 -15
- package/dist/{IntegrationExplorerView-C6JUipFs.js → IntegrationExplorerView-C27IyImO.js} +5 -5
- package/dist/{IntegrationView-DX4hhKYv.js → IntegrationView-pDisxkqH.js} +13 -13
- package/dist/{InventoryBindingForm-BpNKhiGF.js → InventoryBindingForm-cJUY8472.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BWy-YpCv.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-_mIak9Y4.js} +5 -5
- package/dist/{InventoryBindingSummary-BL4AkZY3.js → InventoryBindingSummary-DiOokH9o.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DURnZteR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CXBvvJc9.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BR0Hc9cL.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D1JFU868.js} +1 -1
- package/dist/{PublishView-CELngZXP.js → PublishView-CthOIZV3.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-HCGMQWdo.js → PurchaseOrderPrintPreview-CR8pm2bB.js} +11 -11
- package/dist/{ReceiveRequestView-DfrpsGeI.js → ReceiveRequestView-DgqABsfx.js} +26 -26
- package/dist/{RecipeView-DCrrdrhp.js → RecipeView-062Vcx0q.js} +1117 -1104
- package/dist/{SettingsView-CHoDkUIF.js → SettingsView-B36YQEUM.js} +4 -4
- package/dist/{StockView-DlP1-pbq.js → StockView-8orJpsPH.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-NZcNoQ6u.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bw-GxZr8.js} +1 -1
- package/dist/{SupplierView-DqQbgLqh.js → SupplierView-CQi9bh5A.js} +12 -12
- package/dist/{SurchargeView-CtlXOPJ3.js → SurchargeView-BgxF6xyH.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BRrHPAJj.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BbY1p0bB.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bw3UN_Zn.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BiMvxm3x.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-atZZPJBf.js → TransferDetails.vue_vue_type_script_setup_true_lang-DtCPS8FC.js} +122 -122
- package/dist/{TransferTemplateView-Dl0k38tD.js → TransferTemplateView-92Xn4mWr.js} +20 -20
- package/dist/{UnitCostHistoryView-Dh-yAgvG.js → UnitCostHistoryView-cTI5jhBt.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-FqnqY9bU.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-bjr08iok.js} +5 -5
- package/dist/{UnitView-D5Zvz2xm.js → UnitView-BqXvkdiR.js} +7 -7
- package/dist/{WarehouseView-s5g9AQq5.js → WarehouseView-_2zJPaTf.js} +5 -5
- package/dist/WastageTemplateView-DYW58rtZ.js +2381 -0
- package/dist/{app-D-l9FM2n.js → app-B790gOK1.js} +3457 -3347
- package/dist/app.js +1 -1
- package/dist/{closing-template-C56_2aLc.js → closing-template-0jLV_s0d.js} +1 -1
- package/dist/{date2-CRMgo5NH.js → date2-BEmmexd8.js} +1 -1
- package/dist/{dayjs.min-9bo3vPqj.js → dayjs.min-e4Xq09pW.js} +20 -20
- package/dist/{decimal-CsE7mms2.js → decimal-Lptt-Wz-.js} +2 -2
- package/dist/{defineDeepModel-DDX70CM6.js → defineDeepModel-emCSlL_h.js} +1 -1
- package/dist/{duplicate-template-BrEOP-1V.js → duplicate-template-CShJdJ8d.js} +1 -1
- package/dist/{feature-Bl6yUhw_.js → feature-BFFJbkBm.js} +2 -2
- package/dist/{format-time-from-id-BuMdYlM9.js → format-time-from-id-Dj-j01eE.js} +1 -1
- package/dist/{format-unit-display-CMfuvGP6.js → format-unit-display-CJw32VBR.js} +12 -12
- package/dist/{import-export.helper-C9F9d-rh.js → import-export.helper-C07viLOs.js} +6 -6
- package/dist/{index-cbmIhZ6F.js → index-B0mYVcHF.js} +1 -1
- package/dist/{index-BcOtIfdU.js → index-DJZQrFf7.js} +1 -1
- package/dist/{index-BdSVteJV.js → index-TBsXDgch.js} +3 -3
- package/dist/{inventory-core-dart.default-DewosGoK.js → inventory-core-dart.default-BieljiaS.js} +1 -1
- package/dist/{lz-string-Ye-dLAix.js → lz-string-Co3f7xQi.js} +1 -1
- package/dist/{netsuite-Dyw1JtQL.js → netsuite-BMQZw2dt.js} +2 -2
- package/dist/{number-YiCgPFTE.js → number-Czc4vu4K.js} +3 -3
- package/dist/{predefined-templates-B0Eto9Jx.js → predefined-templates-BVHsFJHC.js} +1 -1
- package/dist/{purchase-order-template-zHPLRQDQ.js → purchase-order-template-CMDl8eio.js} +1 -1
- package/dist/{recalculationUtils-DZLZlctO.js → recalculationUtils-BZoPTIoG.js} +1 -1
- package/dist/{rules-BsVkaxL5.js → rules-DuDYwy_d.js} +2 -2
- package/dist/{stock-DlQopDTl.js → stock-DkLzKOLk.js} +1 -1
- package/dist/{supplier-UPX_1aFs.js → supplier-Dk3xHNeA.js} +2 -2
- package/dist/{surcharge-DO3-kAit.js → surcharge-CUNMAeS3.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DbhFLCUC.js → uom-rules-DtG5eCqQ.js} +1 -1
- package/dist/{use-ingredient-select-dialog-BASkk3-u.js → use-ingredient-select-dialog-CkNu7fD6.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DTc48xUU.js → use-inventory-binding-dialog-Cnc65VQI.js} +2 -2
- package/dist/use-template-enabled-locations-CRF0AM-M.js +146 -0
- package/dist/{use-transfer-locations-BJ0xIECi.js → use-transfer-locations-cX4FfzNZ.js} +7 -7
- package/dist/{useHrmPermission-G4mfvYF8.js → useHrmPermission-CmJd4Bup.js} +1 -1
- package/dist/{useNavigationMenu-Be-99JmQ.js → useNavigationMenu-BQZghwYI.js} +2 -2
- package/dist/{useSseClient-D1h38l_K.js → useSseClient-C3PTrM-h.js} +12 -12
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +12 -0
- package/dist/views/adjustment-template/wastage-template/helpers.d.ts +33 -0
- package/dist/views/adjustment-template/wastage-template/helpers.spec.d.ts +1 -0
- package/dist/views/adjustment-template/wastage-template/props.d.ts +2 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +12 -0
- package/dist/{vue-i18n-fX3C6wjd.js → vue-i18n-1noprZJM.js} +202 -202
- package/dist/{xlsx-BsL1DoEA.js → xlsx-i55Kt0AR.js} +1 -1
- package/dist/{xlsx.util-D_XTOHMv.js → xlsx.util-jC5etKar.js} +3 -3
- package/package.json +4 -4
- package/dist/WastageTemplateView-XzJSsB29.js +0 -2327
- package/dist/use-template-enabled-locations-gwYjb6_p.js +0 -132
package/dist/{use-ingredient-select-dialog-BASkk3-u.js → use-ingredient-select-dialog-CkNu7fD6.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as S } from "pinia";
|
|
2
|
-
import { a as b } from "./app-
|
|
3
|
-
import { a as A } from "./FmMultiselectDialog-
|
|
2
|
+
import { a as b } from "./app-B790gOK1.js";
|
|
3
|
+
import { a as A } from "./FmMultiselectDialog-C6MHEYsa.js";
|
|
4
4
|
import { useDialog as I } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
6
6
|
const w = S(
|
package/dist/{use-inventory-binding-dialog-DTc48xUU.js → use-inventory-binding-dialog-Cnc65VQI.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as g } from "./FmMultiselectDialog-
|
|
2
|
-
import { a as P } from "./app-
|
|
1
|
+
import { a as g } from "./FmMultiselectDialog-C6MHEYsa.js";
|
|
2
|
+
import { a as P } from "./app-B790gOK1.js";
|
|
3
3
|
import { useDialog as E } from "@feedmepos/ui-library";
|
|
4
4
|
function A() {
|
|
5
5
|
const u = P(), _ = E();
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { a as A } from "./FmMultiselectDialog-C6MHEYsa.js";
|
|
2
|
+
import { u as S } from "./app-B790gOK1.js";
|
|
3
|
+
import { useI18n as w, useCoreStore as i, useCustomAttributes as _ } from "@feedmepos/mf-common";
|
|
4
|
+
import { useDialog as C, components as p } from "@feedmepos/ui-library";
|
|
5
|
+
import { computed as r, h as c } from "vue";
|
|
6
|
+
function K(a) {
|
|
7
|
+
const f = C(), n = S(), { t: l } = w(), b = r(() => i().restaurants.value.reduce((t, s) => (t[s._id] = s.customAttributes || {}, t), {})), u = r(
|
|
8
|
+
() => i().restaurants.value.filter((o) => {
|
|
9
|
+
var t;
|
|
10
|
+
return (t = o.profile) == null ? void 0 : t.code;
|
|
11
|
+
}).map((o) => ({ value: o.profile.code, label: `${o.profile.name} (${o.profile.code})` }))
|
|
12
|
+
), { attributes: y } = _({
|
|
13
|
+
valueSource: i().restaurants,
|
|
14
|
+
entity: "restaurant"
|
|
15
|
+
});
|
|
16
|
+
function L() {
|
|
17
|
+
var d;
|
|
18
|
+
const o = a.getLocations() ?? [], t = n.locationById, s = o.filter((e) => !t[e.doc._id]);
|
|
19
|
+
f.open({
|
|
20
|
+
title: "Select at least one location",
|
|
21
|
+
contentComponent: c(
|
|
22
|
+
A,
|
|
23
|
+
{
|
|
24
|
+
modelValue: ((d = h.value) == null ? void 0 : d.map((e) => e.doc._id)) ?? [],
|
|
25
|
+
items: n.locations.map((e) => ({
|
|
26
|
+
label: `${e.name}(${e.doc.profile.code ?? "--"})`,
|
|
27
|
+
sublabel: e.type,
|
|
28
|
+
value: e.doc._id,
|
|
29
|
+
customAttributes: {
|
|
30
|
+
...b.value[e.doc._id],
|
|
31
|
+
state: e.doc.profile.address.state,
|
|
32
|
+
...e.doc.profile.code ? { outlet: e.doc.profile.code } : {}
|
|
33
|
+
}
|
|
34
|
+
})),
|
|
35
|
+
filterAttributes: [
|
|
36
|
+
...y.value,
|
|
37
|
+
{
|
|
38
|
+
type: "string",
|
|
39
|
+
key: "state",
|
|
40
|
+
entity: "location",
|
|
41
|
+
values: [
|
|
42
|
+
...new Set(
|
|
43
|
+
n.locations.map((e) => e.doc.profile.address.state).filter(Boolean)
|
|
44
|
+
)
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
...u.value.length > 0 ? [
|
|
48
|
+
{
|
|
49
|
+
type: "string",
|
|
50
|
+
key: "outlet",
|
|
51
|
+
entity: "restaurant",
|
|
52
|
+
options: u.value
|
|
53
|
+
}
|
|
54
|
+
] : []
|
|
55
|
+
],
|
|
56
|
+
attributeKey: "customAttributes"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
appendList() {
|
|
60
|
+
return s.map(
|
|
61
|
+
(e) => c(
|
|
62
|
+
p.FmListItem,
|
|
63
|
+
{
|
|
64
|
+
label: `${e.name}(${e.doc.profile.code ?? "--"})`,
|
|
65
|
+
sublabel: "This location is not manageable by your account.",
|
|
66
|
+
disabled: !0
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
prepend: c(p.FmCheckbox, {
|
|
70
|
+
modelValue: !0,
|
|
71
|
+
value: "",
|
|
72
|
+
disabled: !0
|
|
73
|
+
})
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
),
|
|
80
|
+
contentComponentProps: {},
|
|
81
|
+
primaryActions: {
|
|
82
|
+
text: l("common.confirm"),
|
|
83
|
+
close: !0
|
|
84
|
+
},
|
|
85
|
+
secondaryActions: {
|
|
86
|
+
text: l("common.close"),
|
|
87
|
+
close: !0
|
|
88
|
+
}
|
|
89
|
+
}).onPrimary((e) => {
|
|
90
|
+
const m = [...n.locations.filter((v) => e.includes(v.doc._id)), ...s];
|
|
91
|
+
m.length ? a.setLocations(m) : a.setLocations(null);
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
const h = r(() => {
|
|
95
|
+
var t;
|
|
96
|
+
const o = /* @__PURE__ */ new Set([...n.locations.map((s) => s.doc._id)]);
|
|
97
|
+
return (t = a.getLocations()) == null ? void 0 : t.filter((s) => o.has(s.doc._id));
|
|
98
|
+
}), g = r(() => {
|
|
99
|
+
const o = a.getLocations();
|
|
100
|
+
return o ? o.reduce(
|
|
101
|
+
(t, s) => {
|
|
102
|
+
switch (s.type) {
|
|
103
|
+
case "restaurant": {
|
|
104
|
+
t[0].restaurants += 1;
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
case "warehouse": {
|
|
108
|
+
t[0].warehouses += 1;
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return t[0][s.type] += 1, t;
|
|
113
|
+
},
|
|
114
|
+
[
|
|
115
|
+
{
|
|
116
|
+
restaurants: 0,
|
|
117
|
+
warehouses: 0
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
) : [
|
|
121
|
+
{
|
|
122
|
+
restaurants: "All",
|
|
123
|
+
warehouses: "All"
|
|
124
|
+
}
|
|
125
|
+
];
|
|
126
|
+
});
|
|
127
|
+
return {
|
|
128
|
+
promptSelectLocations: L,
|
|
129
|
+
columnDefs: [
|
|
130
|
+
{
|
|
131
|
+
accessorKey: "restaurants",
|
|
132
|
+
header: () => "Restaurants",
|
|
133
|
+
enableSorting: !1
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
accessorKey: "warehouses",
|
|
137
|
+
header: () => "Warehouses",
|
|
138
|
+
enableSorting: !1
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
rowData: g
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
export {
|
|
145
|
+
K as u
|
|
146
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as g, r as l,
|
|
2
|
-
import { u as E } from "./supplier-
|
|
1
|
+
import { u as g, r as l, T as w, X as R } from "./app-B790gOK1.js";
|
|
2
|
+
import { u as E } from "./supplier-Dk3xHNeA.js";
|
|
3
3
|
import { computed as u } from "vue";
|
|
4
4
|
function d(n) {
|
|
5
5
|
const c = R.safeParse(n);
|
|
@@ -65,8 +65,8 @@ function F(n, c, y = !1, f = !1) {
|
|
|
65
65
|
supplier: a ? _(a) : e.supplier
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
}),
|
|
69
|
-
const s = [...
|
|
68
|
+
}), T = u(() => p.locationSuppliers.map(d)), v = u(() => p.businessSuppliers.map(d)), S = u(() => {
|
|
69
|
+
const s = [...T.value], e = [...v.value];
|
|
70
70
|
return f ? [...e, ...s] : e;
|
|
71
71
|
}), b = u(() => {
|
|
72
72
|
var o;
|
|
@@ -76,10 +76,10 @@ function F(n, c, y = !1, f = !1) {
|
|
|
76
76
|
) : t.allLocations).filter((r) => s || r.acceptRequest).map(_);
|
|
77
77
|
}), O = u(() => {
|
|
78
78
|
if (L.value === l.enum.purchase) {
|
|
79
|
-
const e =
|
|
79
|
+
const e = T.value.map((r) => ({
|
|
80
80
|
label: r.name,
|
|
81
81
|
value: r._id
|
|
82
|
-
})), o =
|
|
82
|
+
})), o = v.value.map((r) => ({
|
|
83
83
|
label: r.name,
|
|
84
84
|
sublabel: "Business supplier",
|
|
85
85
|
value: r._id
|
|
@@ -105,7 +105,7 @@ function F(n, c, y = !1, f = !1) {
|
|
|
105
105
|
transferLocationModel: h,
|
|
106
106
|
transferLocationOptions: O,
|
|
107
107
|
locationOptionsTypePurchase: S,
|
|
108
|
-
locationOptionsTypePurchaseLocationLevel:
|
|
108
|
+
locationOptionsTypePurchaseLocationLevel: T,
|
|
109
109
|
locationOptionsTypeTransfer: b,
|
|
110
110
|
selectedLocation: P
|
|
111
111
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as T } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a4 as P, R as e, b, a5 as A, a3 as O } from "./app-B790gOK1.js";
|
|
3
3
|
import { useCoreStore as C, useI18n as L } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as _ } from "./feature-
|
|
4
|
+
import { u as _ } from "./feature-BFFJbkBm.js";
|
|
5
5
|
const G = P.reduce(
|
|
6
6
|
(o, i) => {
|
|
7
7
|
var s;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as re } from "./stock-
|
|
2
|
-
import { a as K,
|
|
1
|
+
import { u as re } from "./stock-DkLzKOLk.js";
|
|
2
|
+
import { a as K, P as oe, m as ae } from "./app-B790gOK1.js";
|
|
3
3
|
import { ref as ie, computed as ce } from "vue";
|
|
4
|
-
import { c as le } from "./number-
|
|
4
|
+
import { c as le } from "./number-Czc4vu4K.js";
|
|
5
5
|
import { useCoreStore as he } from "@feedmepos/mf-common";
|
|
6
6
|
function ue() {
|
|
7
7
|
return {
|
|
@@ -242,13 +242,13 @@ function ee(e) {
|
|
|
242
242
|
}
|
|
243
243
|
var se = (e) => {
|
|
244
244
|
throw TypeError(e);
|
|
245
|
-
}, H = (e, t, n) => t.has(e) || se("Cannot " + n), a = (e, t, n) => (H(e, t, "read from private field"), n ? n.call(e) : t.get(e)), p = (e, t, n) => t.has(e) ? se("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), u = (e, t, n, s) => (H(e, t, "write to private field"), t.set(e, n), n), w = (e, t, n) => (H(e, t, "access private method"), n), E, k, b, P, D, U, B, A, S,
|
|
245
|
+
}, H = (e, t, n) => t.has(e) || se("Cannot " + n), a = (e, t, n) => (H(e, t, "read from private field"), n ? n.call(e) : t.get(e)), p = (e, t, n) => t.has(e) ? se("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), u = (e, t, n, s) => (H(e, t, "write to private field"), t.set(e, n), n), w = (e, t, n) => (H(e, t, "access private method"), n), E, k, b, P, D, U, B, A, S, M, N, O, R, g, j, q, J, te, X, Y, W, Z, z;
|
|
246
246
|
class $ extends EventTarget {
|
|
247
247
|
constructor(t, n) {
|
|
248
248
|
var s, i;
|
|
249
|
-
super(), p(this, g), this.CONNECTING = 0, this.OPEN = 1, this.CLOSED = 2, p(this, E), p(this, k), p(this, b), p(this, P), p(this, D), p(this, U), p(this, B), p(this, A, null), p(this, S), p(this,
|
|
249
|
+
super(), p(this, g), this.CONNECTING = 0, this.OPEN = 1, this.CLOSED = 2, p(this, E), p(this, k), p(this, b), p(this, P), p(this, D), p(this, U), p(this, B), p(this, A, null), p(this, S), p(this, M), p(this, N, null), p(this, O, null), p(this, R, null), p(this, q, async (r) => {
|
|
250
250
|
var o;
|
|
251
|
-
a(this,
|
|
251
|
+
a(this, M).reset();
|
|
252
252
|
const { body: l, redirected: f, status: v, headers: C } = r;
|
|
253
253
|
if (v === 204) {
|
|
254
254
|
w(this, g, W).call(this, "Server sent HTTP 204, not reconnecting", 204), this.close();
|
|
@@ -274,7 +274,7 @@ class $ extends EventTarget {
|
|
|
274
274
|
let m = !0;
|
|
275
275
|
do {
|
|
276
276
|
const { done: c, value: h } = await T.read();
|
|
277
|
-
h && a(this,
|
|
277
|
+
h && a(this, M).feed(y.decode(h, { stream: !c })), c && (m = !1, a(this, M).reset(), w(this, g, Z).call(this));
|
|
278
278
|
} while (m);
|
|
279
279
|
}), p(this, J, (r) => {
|
|
280
280
|
u(this, S, void 0), !(r.name === "AbortError" || r.type === "aborted") && w(this, g, Z).call(this, G(r));
|
|
@@ -285,7 +285,7 @@ class $ extends EventTarget {
|
|
|
285
285
|
origin: a(this, b) ? a(this, b).origin : a(this, k).origin,
|
|
286
286
|
lastEventId: r.id || ""
|
|
287
287
|
});
|
|
288
|
-
a(this,
|
|
288
|
+
a(this, O) && (!r.event || r.event === "message") && a(this, O).call(this, o), this.dispatchEvent(o);
|
|
289
289
|
}), p(this, Y, (r) => {
|
|
290
290
|
u(this, U, r);
|
|
291
291
|
}), p(this, z, () => {
|
|
@@ -301,7 +301,7 @@ class $ extends EventTarget {
|
|
|
301
301
|
} catch {
|
|
302
302
|
throw me("An invalid or illegal string was specified");
|
|
303
303
|
}
|
|
304
|
-
u(this,
|
|
304
|
+
u(this, M, ve({
|
|
305
305
|
onEvent: a(this, X),
|
|
306
306
|
onRetry: a(this, Y)
|
|
307
307
|
})), u(this, E, this.CONNECTING), u(this, U, 3e3), u(this, D, (s = n == null ? void 0 : n.fetch) != null ? s : globalThis.fetch), u(this, P, (i = n == null ? void 0 : n.withCredentials) != null ? i : !1), w(this, g, j).call(this);
|
|
@@ -346,10 +346,10 @@ class $ extends EventTarget {
|
|
|
346
346
|
}
|
|
347
347
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/message_event) */
|
|
348
348
|
get onmessage() {
|
|
349
|
-
return a(this,
|
|
349
|
+
return a(this, O);
|
|
350
350
|
}
|
|
351
351
|
set onmessage(t) {
|
|
352
|
-
u(this,
|
|
352
|
+
u(this, O, t);
|
|
353
353
|
}
|
|
354
354
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
|
|
355
355
|
get onopen() {
|
|
@@ -377,7 +377,7 @@ class $ extends EventTarget {
|
|
|
377
377
|
a(this, B) && clearTimeout(a(this, B)), a(this, E) !== this.CLOSED && (a(this, S) && a(this, S).abort(), u(this, E, this.CLOSED), u(this, S, void 0));
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
|
-
E = /* @__PURE__ */ new WeakMap(), k = /* @__PURE__ */ new WeakMap(), b = /* @__PURE__ */ new WeakMap(), P = /* @__PURE__ */ new WeakMap(), D = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), A = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakMap(),
|
|
380
|
+
E = /* @__PURE__ */ new WeakMap(), k = /* @__PURE__ */ new WeakMap(), b = /* @__PURE__ */ new WeakMap(), P = /* @__PURE__ */ new WeakMap(), D = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), A = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap(), O = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakSet(), /**
|
|
381
381
|
* Connect to the given URL and start receiving events
|
|
382
382
|
*
|
|
383
383
|
* @internal
|
|
@@ -124,6 +124,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
124
124
|
name: string;
|
|
125
125
|
id: string;
|
|
126
126
|
} | null | undefined;
|
|
127
|
+
defaultRemark?: string | null | undefined;
|
|
127
128
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
128
129
|
_id: string;
|
|
129
130
|
name: string;
|
|
@@ -238,6 +239,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
238
239
|
name: string;
|
|
239
240
|
id: string;
|
|
240
241
|
} | null | undefined;
|
|
242
|
+
defaultRemark?: string | null | undefined;
|
|
241
243
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
242
244
|
_id: string;
|
|
243
245
|
name: string;
|
|
@@ -352,6 +354,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
352
354
|
name: string;
|
|
353
355
|
id: string;
|
|
354
356
|
} | null | undefined;
|
|
357
|
+
defaultRemark?: string | null | undefined;
|
|
355
358
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
356
359
|
_id: string;
|
|
357
360
|
name: string;
|
|
@@ -465,6 +468,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
465
468
|
name: string;
|
|
466
469
|
id: string;
|
|
467
470
|
} | null | undefined;
|
|
471
|
+
defaultRemark?: string | null | undefined;
|
|
468
472
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
469
473
|
_id: string;
|
|
470
474
|
name: string;
|
|
@@ -599,6 +603,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
599
603
|
name: string;
|
|
600
604
|
id: string;
|
|
601
605
|
} | null | undefined;
|
|
606
|
+
defaultRemark?: string | null | undefined;
|
|
602
607
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
603
608
|
_id: string;
|
|
604
609
|
name: string;
|
|
@@ -713,6 +718,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
713
718
|
name: string;
|
|
714
719
|
id: string;
|
|
715
720
|
} | null | undefined;
|
|
721
|
+
defaultRemark?: string | null | undefined;
|
|
716
722
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
717
723
|
_id: string;
|
|
718
724
|
name: string;
|
|
@@ -827,6 +833,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
827
833
|
name: string;
|
|
828
834
|
id: string;
|
|
829
835
|
} | null | undefined;
|
|
836
|
+
defaultRemark?: string | null | undefined;
|
|
830
837
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
831
838
|
_id: string;
|
|
832
839
|
name: string;
|
|
@@ -940,6 +947,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
940
947
|
name: string;
|
|
941
948
|
id: string;
|
|
942
949
|
} | null | undefined;
|
|
950
|
+
defaultRemark?: string | null | undefined;
|
|
943
951
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
944
952
|
_id: string;
|
|
945
953
|
name: string;
|
|
@@ -1074,6 +1082,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
1074
1082
|
name: string;
|
|
1075
1083
|
id: string;
|
|
1076
1084
|
} | null | undefined;
|
|
1085
|
+
defaultRemark?: string | null | undefined;
|
|
1077
1086
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
1078
1087
|
_id: string;
|
|
1079
1088
|
name: string;
|
|
@@ -1188,6 +1197,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
1188
1197
|
name: string;
|
|
1189
1198
|
id: string;
|
|
1190
1199
|
} | null | undefined;
|
|
1200
|
+
defaultRemark?: string | null | undefined;
|
|
1191
1201
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
1192
1202
|
_id: string;
|
|
1193
1203
|
name: string;
|
|
@@ -1302,6 +1312,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
1302
1312
|
name: string;
|
|
1303
1313
|
id: string;
|
|
1304
1314
|
} | null | undefined;
|
|
1315
|
+
defaultRemark?: string | null | undefined;
|
|
1305
1316
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
1306
1317
|
_id: string;
|
|
1307
1318
|
name: string;
|
|
@@ -1415,6 +1426,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
|
|
|
1415
1426
|
name: string;
|
|
1416
1427
|
id: string;
|
|
1417
1428
|
} | null | undefined;
|
|
1429
|
+
defaultRemark?: string | null | undefined;
|
|
1418
1430
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
1419
1431
|
_id: string;
|
|
1420
1432
|
name: string;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Normalizes a reason for comparison: trimmed and lowercased.
|
|
3
|
+
*/
|
|
4
|
+
export declare function normalizeReason(reason: string): string;
|
|
5
|
+
/**
|
|
6
|
+
* Returns true if the candidate reason already exists in the list,
|
|
7
|
+
* compared trimmed and case-insensitively.
|
|
8
|
+
*/
|
|
9
|
+
export declare function isDuplicateReason(candidate: string, reasons: string[]): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Returns the trimmed values of reasons that appear more than once in the
|
|
12
|
+
* list, compared trimmed and case-insensitively. Each duplicate value is
|
|
13
|
+
* reported once (the trimmed form of its first repeated occurrence).
|
|
14
|
+
*/
|
|
15
|
+
export declare function findDuplicateReasons(reasons: string[]): string[];
|
|
16
|
+
/**
|
|
17
|
+
* Returns the stored form of the reason matching the given defaultRemark
|
|
18
|
+
* (an exact match wins over a trimmed, case-insensitive match), or null
|
|
19
|
+
* when the value is blank or matches no reason.
|
|
20
|
+
*/
|
|
21
|
+
export declare function matchReason(reasons: string[], defaultRemark: string | null): string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Returns true if the given reason string is used as a defaultRemark
|
|
24
|
+
* on any of the provided wastage templates, compared trimmed and
|
|
25
|
+
* case-insensitively (legacy defaultRemark values may differ in casing
|
|
26
|
+
* or whitespace from the reason list).
|
|
27
|
+
*/
|
|
28
|
+
export declare function isReasonUsedAsDefault(reason: string, templates: FdoAdjustmentTemplate[]): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the names of all templates that use the given reason as their
|
|
31
|
+
* defaultRemark, compared trimmed and case-insensitively.
|
|
32
|
+
*/
|
|
33
|
+
export declare function getTemplatesUsingReasonAsDefault(reason: string, templates: FdoAdjustmentTemplate[]): string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -22,6 +22,8 @@ export interface WastageTemplateDetailsEvents {
|
|
|
22
22
|
export interface WastageTemplateFormProps {
|
|
23
23
|
modelValue: FdoAdjustmentTemplate;
|
|
24
24
|
disabled?: boolean;
|
|
25
|
+
/** Available reasons for the default remark selector. */
|
|
26
|
+
reasons?: string[];
|
|
25
27
|
}
|
|
26
28
|
export interface WastageTemplateItemTableProps {
|
|
27
29
|
modelValue: FdoAdjustmentTemplateItem[];
|
|
@@ -100,6 +100,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
100
100
|
name: string;
|
|
101
101
|
id: string;
|
|
102
102
|
} | null | undefined;
|
|
103
|
+
defaultRemark?: string | null | undefined;
|
|
103
104
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
104
105
|
_id: string;
|
|
105
106
|
name: string;
|
|
@@ -230,6 +231,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
230
231
|
name: string;
|
|
231
232
|
id: string;
|
|
232
233
|
} | null | undefined;
|
|
234
|
+
defaultRemark?: string | null | undefined;
|
|
233
235
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
234
236
|
_id: string;
|
|
235
237
|
name: string;
|
|
@@ -338,6 +340,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
338
340
|
name: string;
|
|
339
341
|
id: string;
|
|
340
342
|
} | null | undefined;
|
|
343
|
+
defaultRemark?: string | null | undefined;
|
|
341
344
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
342
345
|
_id: string;
|
|
343
346
|
name: string;
|
|
@@ -446,6 +449,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
446
449
|
name: string;
|
|
447
450
|
id: string;
|
|
448
451
|
} | null | undefined;
|
|
452
|
+
defaultRemark?: string | null | undefined;
|
|
449
453
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
450
454
|
_id: string;
|
|
451
455
|
name: string;
|
|
@@ -572,6 +576,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
572
576
|
name: string;
|
|
573
577
|
id: string;
|
|
574
578
|
} | null | undefined;
|
|
579
|
+
defaultRemark?: string | null | undefined;
|
|
575
580
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
576
581
|
_id: string;
|
|
577
582
|
name: string;
|
|
@@ -702,6 +707,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
702
707
|
name: string;
|
|
703
708
|
id: string;
|
|
704
709
|
} | null | undefined;
|
|
710
|
+
defaultRemark?: string | null | undefined;
|
|
705
711
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
706
712
|
_id: string;
|
|
707
713
|
name: string;
|
|
@@ -810,6 +816,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
810
816
|
name: string;
|
|
811
817
|
id: string;
|
|
812
818
|
} | null | undefined;
|
|
819
|
+
defaultRemark?: string | null | undefined;
|
|
813
820
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
814
821
|
_id: string;
|
|
815
822
|
name: string;
|
|
@@ -918,6 +925,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
918
925
|
name: string;
|
|
919
926
|
id: string;
|
|
920
927
|
} | null | undefined;
|
|
928
|
+
defaultRemark?: string | null | undefined;
|
|
921
929
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
922
930
|
_id: string;
|
|
923
931
|
name: string;
|
|
@@ -1044,6 +1052,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
1044
1052
|
name: string;
|
|
1045
1053
|
id: string;
|
|
1046
1054
|
} | null | undefined;
|
|
1055
|
+
defaultRemark?: string | null | undefined;
|
|
1047
1056
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
1048
1057
|
_id: string;
|
|
1049
1058
|
name: string;
|
|
@@ -1174,6 +1183,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
1174
1183
|
name: string;
|
|
1175
1184
|
id: string;
|
|
1176
1185
|
} | null | undefined;
|
|
1186
|
+
defaultRemark?: string | null | undefined;
|
|
1177
1187
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
1178
1188
|
_id: string;
|
|
1179
1189
|
name: string;
|
|
@@ -1282,6 +1292,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
1282
1292
|
name: string;
|
|
1283
1293
|
id: string;
|
|
1284
1294
|
} | null | undefined;
|
|
1295
|
+
defaultRemark?: string | null | undefined;
|
|
1285
1296
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
1286
1297
|
_id: string;
|
|
1287
1298
|
name: string;
|
|
@@ -1390,6 +1401,7 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
|
|
|
1390
1401
|
name: string;
|
|
1391
1402
|
id: string;
|
|
1392
1403
|
} | null | undefined;
|
|
1404
|
+
defaultRemark?: string | null | undefined;
|
|
1393
1405
|
type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
|
|
1394
1406
|
_id: string;
|
|
1395
1407
|
name: string;
|