@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
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { r as m, u, a as d } from "./xlsx-bT1p3YVR.js";
|
|
2
|
+
function* x(o) {
|
|
3
|
+
const [e, n] = o.split(":"), t = /\d+/, l = t.exec(e), c = t.exec(n);
|
|
4
|
+
if (!l || !c)
|
|
5
|
+
throw new Error(`Cannot parse row range for range: ${o}`);
|
|
6
|
+
const s = Number(l[0]), a = Number(c[0]);
|
|
7
|
+
for (let r = s; r <= a; r++)
|
|
8
|
+
yield r;
|
|
9
|
+
}
|
|
10
|
+
function* p(o) {
|
|
11
|
+
const [e, n] = o.split(":"), t = /[^\d]+/, l = t.exec(e), c = t.exec(n);
|
|
12
|
+
if (!l || !c)
|
|
13
|
+
throw new Error(`Cannot parse row range for range: ${o}`);
|
|
14
|
+
let s = 0, a = "A";
|
|
15
|
+
for (yield a; a !== c[0]; ) {
|
|
16
|
+
s++;
|
|
17
|
+
const r = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
18
|
+
let i = s, h = !1, f = "";
|
|
19
|
+
do {
|
|
20
|
+
const w = i % r.length;
|
|
21
|
+
i = Math.floor(i / r.length), f += r.charAt(w), h = i > 0, i -= 1;
|
|
22
|
+
} while (h);
|
|
23
|
+
a = f.split("").reverse().join(""), yield a;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function g(o) {
|
|
27
|
+
var t;
|
|
28
|
+
const e = [], n = o["!ref"];
|
|
29
|
+
if (!n) return e;
|
|
30
|
+
for (const l of x(n)) {
|
|
31
|
+
const c = [];
|
|
32
|
+
for (const s of p(n))
|
|
33
|
+
c.push(((t = o[`${s}${l}`]) == null ? void 0 : t.w) ?? "");
|
|
34
|
+
e.push(c);
|
|
35
|
+
}
|
|
36
|
+
return e;
|
|
37
|
+
}
|
|
38
|
+
function k(o, e, n = "Sheet1") {
|
|
39
|
+
const t = u.aoa_to_sheet([e, ...o]), l = o.reduce((a, r) => Math.max(a, r.length), 0), c = Array.from({ length: l }).map((a, r) => {
|
|
40
|
+
const i = o.map((h) => `${h[r]}`).reduce((h, f) => Math.max(h, f.length + 3), 0);
|
|
41
|
+
return {
|
|
42
|
+
wch: Math.max(i, 5)
|
|
43
|
+
};
|
|
44
|
+
});
|
|
45
|
+
t["!cols"] = c;
|
|
46
|
+
const s = u.book_new();
|
|
47
|
+
return u.book_append_sheet(s, t, n), s;
|
|
48
|
+
}
|
|
49
|
+
function y(o, e) {
|
|
50
|
+
const n = u.aoa_to_sheet([e, ...o]), t = o.reduce((c, s) => Math.max(c, s.length), 0), l = Array.from({ length: t }).map((c, s) => {
|
|
51
|
+
const a = o.map((r) => `${r[s]}`).reduce((r, i) => Math.max(r, i.length + 3), 0);
|
|
52
|
+
return {
|
|
53
|
+
wch: Math.max(a, 5)
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
return n["!cols"] = l, n;
|
|
57
|
+
}
|
|
58
|
+
function _(o, e) {
|
|
59
|
+
const n = u.book_new();
|
|
60
|
+
e ?? (e = Object.keys(o));
|
|
61
|
+
for (const t of e)
|
|
62
|
+
u.book_append_sheet(n, o[t], String(t));
|
|
63
|
+
return n;
|
|
64
|
+
}
|
|
65
|
+
function S(o, e) {
|
|
66
|
+
d(o, e, { compression: !0 });
|
|
67
|
+
}
|
|
68
|
+
async function b(o) {
|
|
69
|
+
return m(await o.arrayBuffer());
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
_ as a,
|
|
73
|
+
k as b,
|
|
74
|
+
S as d,
|
|
75
|
+
b as r,
|
|
76
|
+
g as s,
|
|
77
|
+
y as t
|
|
78
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-inventory-portal",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@feedmepos/custom-attributes": "0.0.1-rc.3",
|
|
19
19
|
"@feedmepos/feature-flag": "^0.0.15",
|
|
20
20
|
"@feedmepos/menu": "1.5.22",
|
|
21
|
-
"@feedmepos/mf-common": "1.27.
|
|
21
|
+
"@feedmepos/mf-common": "^1.27.6",
|
|
22
22
|
"@feedmepos/ui-library": "1.6.9",
|
|
23
23
|
"@tanstack/vue-table": "^8.17.3",
|
|
24
24
|
"@types/dinero.js": "^1.9.4",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"vue-router": "^4.4.0",
|
|
45
45
|
"xlsx": "^0.18.5",
|
|
46
46
|
"@feedmepos/inventory-core": "^1.0.1-dev.2",
|
|
47
|
-
"@feedmepos/inventory-core-2": "^2.0.0",
|
|
48
|
-
"@feedmepos/inventory-core-dart": "^1.0.0",
|
|
49
47
|
"@feedmepos/inventory-core-js": "^1.0.1",
|
|
50
|
-
"@feedmepos/
|
|
51
|
-
"@feedmepos/
|
|
48
|
+
"@feedmepos/inventory-core-dart": "^1.0.0",
|
|
49
|
+
"@feedmepos/inventory-core-2": "^2.0.0",
|
|
50
|
+
"@feedmepos/netsuite-core": "^1.0.0",
|
|
51
|
+
"@feedmepos/zod-inventory": "^1.0.12"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@rushstack/eslint-patch": "^1.10.3",
|