@feedmepos/mf-inventory-portal 0.0.22-dev.4 → 0.0.22-dev.40
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/{ApprovalView-xF73Z1jN.js → ApprovalView-JOsQBu1z.js} +25 -26
- package/dist/{BindingsDialog-CCSAxGT4.js → BindingsDialog-DG2ZolH1.js} +9 -9
- package/dist/{BindingsPicker-ErFH0uEQ.js → BindingsPicker-B7h_iST8.js} +22 -22
- package/dist/{BindingsTable-D8ffJgIJ.js → BindingsTable-BToh6gcG.js} +1 -1
- package/dist/ClosingTemplateView-BwMJAxuz.js +1688 -0
- package/dist/FmDroppableField-CJNAT3h2.js +152 -0
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-4NHQdjz7.js +266 -0
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Cc_P0kss.js +364 -0
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-DMOalXUS.js +51 -0
- package/dist/IngredientsView-ChnCqdWi.js +1611 -0
- package/dist/{IntegrationView-54yz2EqS.js → IntegrationView-NWkc9PLW.js} +71 -71
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKvKlCk-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQW6HYyD.js} +1 -1
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BQqcpZIJ.js +116 -0
- package/dist/{PurchaseOrderPrintPreview-pcpWSfl4.js → PurchaseOrderPrintPreview-BvED8ZbQ.js} +7 -7
- package/dist/ReceiveRequestView-DdxBaqmU.js +4069 -0
- package/dist/RecipeView-YdSRy_yP.js +591 -0
- package/dist/Standalone.vue.d.ts +2 -0
- package/dist/StockView-WF5z4dTF.js +7762 -0
- package/dist/{SupplierView-TYCkPXan.js → SupplierView-H2Vi5lSs.js} +111 -111
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D48gSqHW.js +1137 -0
- package/dist/TransferTemplateView-DeT32cat.js +2054 -0
- package/dist/{UnitView-B9yE4-rc.js → UnitView-qD9JSdHT.js} +18 -18
- package/dist/{WarehouseView-DUtVLTjb.js → WarehouseView-C19Dd53y.js} +176 -177
- package/dist/api/bill.d.ts +84 -238
- package/dist/api/closing-template.d.ts +6 -4
- package/dist/api/inventory.d.ts +72 -85
- package/dist/api/netsuite.d.ts +47 -0
- package/dist/api/purchase-order-template.d.ts +4 -6
- package/dist/{app-w8TOQVZc.js → app-DKE_n9Mo.js} +24520 -23671
- package/dist/app.d.ts +7 -0
- package/dist/app.js +3 -3
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
- package/dist/components/FmMinMaxInputRules.d.ts +2 -0
- package/dist/components/FmUnitInputRules.d.ts +2 -0
- package/dist/components/map/GoogleMap.vue.d.ts +4 -4
- package/dist/{decimal-C4q7UMfr.js → decimal-veoPLYim.js} +1 -1
- package/dist/defineDeepModel-u6t3hXU9.js +13 -0
- package/dist/format-time-from-id-8gjg5B98.js +15 -0
- package/dist/helper/rules.d.ts +7 -0
- package/dist/helper/rules.spec.d.ts +1 -0
- package/dist/helper/xlsx.util.d.ts +7 -0
- package/dist/purchase-order-transaction-type-CIDEpjJB.js +348 -0
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/feature.d.ts +0 -1
- package/dist/stores/helper/core-store-proxy.d.ts +3 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/inventory.d.ts +85 -0
- package/dist/stores/location.d.ts +508 -503
- package/dist/stores/netsuite.d.ts +69 -0
- package/dist/stores/route.d.ts +0 -5
- package/dist/stores/supplier.d.ts +120 -3
- package/dist/style.css +1 -1
- package/dist/supplier-DLcmVScz.js +70 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-template-enabled-locations-2-CdJVJikY.js +85 -0
- package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1093 -1026
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +1098 -1037
- package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +45 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1944 -82
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2351 -284
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2300 -233
- package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +42 -119
- package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1263 -1466
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1688 -897
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -0
- package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
- package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
- package/dist/{xlsx-BggStaH1.js → xlsx-CrKrCGZz.js} +1525 -1525
- package/dist/xlsx.util-Bcpkvw1Z.js +78 -0
- package/package.json +5 -5
- package/dist/ClosingTemplateView-DdZlX1ug.js +0 -1030
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ZYtBNoaE.js +0 -372
- package/dist/IngredientsView-DnwwQJTN.js +0 -1758
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Bom_KvXW.js +0 -88
- package/dist/ReceiveRequestView-D5HXMY4Z.js +0 -215
- package/dist/RecipeView-BHkTgm5H.js +0 -581
- package/dist/StockView-iczCFYxn.js +0 -1892
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-EN3JgHKF.js +0 -740
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DC0Ss5hi.js +0 -1409
- package/dist/TransferTemplateView-Bbvpuys7.js +0 -1230
- package/dist/defineDeepModel-BOApqV24.js +0 -13
- package/dist/format-time-from-id-Cafjo8fn.js +0 -15
- package/dist/id-to-date-CtSHSVJF.js +0 -30
- package/dist/layout/layout-routes.d.ts +0 -6
- package/dist/purchase-order-transaction-type-CIC5h-6x.js +0 -712
- package/dist/supplier-CM-vZ4bQ.js +0 -69
- package/dist/use-template-enabled-locations-Bm00vEzC.js +0 -57
- package/dist/xlsx.util-CqlYZLKW.js +0 -109
- /package/dist/{layout/InventoryLayout.vue.d.ts → views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts} +0 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { u, a as m, r as d } from "./xlsx-CrKrCGZz.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
|
+
m(o, e, { compression: !0 });
|
|
67
|
+
}
|
|
68
|
+
async function b(o) {
|
|
69
|
+
return d(await o.arrayBuffer());
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
y as a,
|
|
73
|
+
_ as b,
|
|
74
|
+
S as d,
|
|
75
|
+
b as r,
|
|
76
|
+
g as s,
|
|
77
|
+
k as t
|
|
78
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-inventory-portal",
|
|
3
|
-
"version": "0.0.22-dev.
|
|
3
|
+
"version": "0.0.22-dev.40",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@feedmepos/core": "^2.9.3",
|
|
18
18
|
"@feedmepos/menu": "1.0.34",
|
|
19
|
-
"@feedmepos/mf-common": "
|
|
20
|
-
"@feedmepos/ui-library": "1.3.
|
|
19
|
+
"@feedmepos/mf-common": "1.13.0-beta.1",
|
|
20
|
+
"@feedmepos/ui-library": "1.3.8",
|
|
21
21
|
"@tanstack/vue-table": "^8.17.3",
|
|
22
22
|
"@types/dinero.js": "^1.9.4",
|
|
23
23
|
"@vue/cli-service": "^5.0.8",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"fuzzy-search": "^3.2.1",
|
|
33
33
|
"google-maps": "^4.3.3",
|
|
34
34
|
"pinia": "^2.1.7",
|
|
35
|
-
"vue": "^3.
|
|
35
|
+
"vue": "^3.5.13",
|
|
36
36
|
"vue-country-flag-next": "^2.3.2",
|
|
37
37
|
"vue-i18n": "^10.0.5",
|
|
38
|
-
"vue-router": "^4.
|
|
38
|
+
"vue-router": "^4.4.0",
|
|
39
39
|
"xlsx": "^0.18.5",
|
|
40
40
|
"zod": "3.17.9",
|
|
41
41
|
"@feedmepos/inventory-core": "^0.2.18",
|