@feedmepos/mf-inventory-portal 0.0.5 → 0.0.7-dev.1
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-CTQdDgGH.js → ApprovalView-BYZcvkso.js} +6 -6
- package/dist/BindingsDialog-pdS86VDU.js +94 -0
- package/dist/{BindingsPicker-CQIGhTCR.js → BindingsPicker-D891Cfzu.js} +2 -2
- package/dist/{BindingsTable-Da4BLkvc.js → BindingsTable-tmr6QwLk.js} +30 -31
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DcixBOcX.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bss0q2Zt.js} +7 -7
- package/dist/{FmMultiselectDialog.vue_vue_type_script_setup_true_lang-BXU7x6di.js → FmMultiselectDialog.vue_vue_type_script_setup_true_lang-BHcLUkdm.js} +19 -20
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CD89qCIa.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BIww2Noe.js} +1 -1
- package/dist/IngredientsView-BH6G7830.js +819 -0
- package/dist/{IntegrationView-BRWYO3VE.js → IntegrationView-CfJn6Fzn.js} +3 -3
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-39U8Iavr.js +258 -0
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DBK7mpQS.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-nDxqau1g.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-CH9gVYDg.js → PurchaseOrderPrintPreview-Db2U_IQL.js} +1 -1
- package/dist/ReceiveRequestView-CgVfcS8C.js +1483 -0
- package/dist/{RecipeView-DFG9Wkx-.js → RecipeView-C9_Y_A9b.js} +58 -58
- package/dist/StockView-CoUI3Faj.js +1916 -0
- package/dist/SupplierView-CNq6wVfN.js +818 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Ffe9bhq8.js → TransferDetails.vue_vue_type_script_setup_true_lang-Cmajrg-9.js} +5 -5
- package/dist/{UnitView-C3XVSbJY.js → UnitView-Buyp4Gnc.js} +190 -177
- package/dist/{WarehouseView-BntzAdz3.js → WarehouseView-DbUib0PR.js} +56 -56
- package/dist/api/inventory.d.ts +33 -0
- package/dist/api/stock-estimate.d.ts +16 -0
- package/dist/api/stock.d.ts +8 -0
- package/dist/app-DM4Thqjw.js +42756 -0
- package/dist/app.js +1 -1
- package/dist/components/StockForecast.vue.d.ts +12 -0
- package/dist/components/StockForecastProps.d.ts +3 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +16 -0
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +16 -0
- package/dist/core.d.ts +3 -2
- package/dist/date2-DpU4LDaP.js +199 -0
- package/dist/dayjs.min-D4Q_pHH9.js +13556 -0
- package/dist/{decimal-D3a0BwVj.js → decimal-M4vjE6Br.js} +1 -1
- package/dist/{fuzzy-BW8ZYsDG.js → fuzzy-fD_FTJWH.js} +1 -1
- package/dist/helper/number.d.ts +1 -0
- package/dist/{init-date-range-M3Q03-Fd.js → init-date-range-DJ1Nl5TB.js} +1 -1
- package/dist/{layout-BvUjg6JS.js → layout-kY567oHX.js} +1 -1
- package/dist/{rules-DHfAMDW3.js → rules-CVxh5XVG.js} +3 -3
- package/dist/stock-estimate-lkaYlz7I.js +90 -0
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/inventory.d.ts +64 -0
- package/dist/stores/stock-estimate.d.ts +11 -0
- package/dist/stores/supplier.d.ts +19 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-DTiiOLtg.js → supplier-evd71Y1H.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-B6JO7050.js → use-inventory-binding-dialog-CGuXojFC.js} +2 -2
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +16 -0
- package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +23 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +213 -7
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +102 -2
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +306 -6
- package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +9 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +32 -0
- package/dist/views/stock/type.d.ts +1 -0
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +38 -2
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +45 -0
- package/dist/views/supplier/composables/use-supplier-table.d.ts +19 -1
- package/dist/{xlsx-BljO4Lx2.js → xlsx-DpBw8KA4.js} +1010 -1010
- package/package.json +13 -7
- package/dist/BindingsDialog-DvX_DRsO.js +0 -82
- package/dist/IngredientsView-2ZKdzsgI.js +0 -739
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CnsDmPTe.js +0 -240
- package/dist/ReceiveRequestView-DQBqc3GF.js +0 -1298
- package/dist/StockView-DLWMp_I5.js +0 -1733
- package/dist/SupplierView-CZhM2ie3.js +0 -607
- package/dist/app-BzDhmCVx.js +0 -36639
- package/dist/components/shell/inventory/binding-ui.test.d.ts +0 -1
- package/dist/components/ui-library/FmSpecialChip.vue.d.ts +0 -79
- package/dist/date2-C7HiAWQG.js +0 -209
- package/dist/dayjs.min-Db57WhI9.js +0 -282
- package/dist/id-to-date-ReZIpUDw.js +0 -30
- package/dist/index-D46it8Rk.js +0 -12956
package/package.json
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-inventory-portal",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7-dev.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public",
|
|
10
|
+
"registry": "https://registry.npmjs.org",
|
|
11
|
+
"tag": "beta"
|
|
12
|
+
},
|
|
8
13
|
"module": "./dist/app.js",
|
|
9
14
|
"exports": {
|
|
10
15
|
".": {
|
|
@@ -16,8 +21,8 @@
|
|
|
16
21
|
"dependencies": {
|
|
17
22
|
"@feedmepos/core": "^2.9.3",
|
|
18
23
|
"@feedmepos/menu": "1.0.34",
|
|
19
|
-
"@feedmepos/mf-common": "1.8.
|
|
20
|
-
"@feedmepos/ui-library": "1.2.
|
|
24
|
+
"@feedmepos/mf-common": "1.8.23",
|
|
25
|
+
"@feedmepos/ui-library": "1.2.48",
|
|
21
26
|
"@tanstack/vue-table": "^8.17.3",
|
|
22
27
|
"@types/dinero.js": "^1.9.4",
|
|
23
28
|
"@vue/cli-service": "^5.0.8",
|
|
@@ -37,9 +42,9 @@
|
|
|
37
42
|
"vue-router": "^4.3.2",
|
|
38
43
|
"xlsx": "^0.18.5",
|
|
39
44
|
"zod": "3.17.9",
|
|
40
|
-
"@feedmepos/inventory-core": "^0.2.
|
|
41
|
-
"@feedmepos/
|
|
42
|
-
"@feedmepos/inventory
|
|
45
|
+
"@feedmepos/inventory-core": "^0.2.13",
|
|
46
|
+
"@feedmepos/inventory-core-js": "^1.0.0",
|
|
47
|
+
"@feedmepos/zod-inventory": "^1.0.8"
|
|
43
48
|
},
|
|
44
49
|
"devDependencies": {
|
|
45
50
|
"@rushstack/eslint-patch": "^1.10.3",
|
|
@@ -65,11 +70,12 @@
|
|
|
65
70
|
"tailwindcss": "3.4.1",
|
|
66
71
|
"typescript": "5.2.2",
|
|
67
72
|
"vite": "5.4.8",
|
|
73
|
+
"vite-plugin-commonjs": "^0.10.3",
|
|
68
74
|
"vitest": "^1.6.0",
|
|
69
75
|
"vue-tsc": "^1.8.27"
|
|
70
76
|
},
|
|
71
77
|
"scripts": {
|
|
72
|
-
"build:dts": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist
|
|
78
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist",
|
|
73
79
|
"build-types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false",
|
|
74
80
|
"build:mf": "vite build --mode fmmf",
|
|
75
81
|
"build:mf:prod": "PORTAL_ENV=production vite build --mode fmmf",
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { defineComponent as B, ref as o, onMounted as C, onUnmounted as F, watch as M, resolveComponent as r, openBlock as a, createElementBlock as m, createBlock as h, withCtx as w, createVNode as i, createElementVNode as v } from "vue";
|
|
2
|
-
import { _ as I } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CnsDmPTe.js";
|
|
3
|
-
import { u as z, x as V } from "./app-BzDhmCVx.js";
|
|
4
|
-
const E = { class: "flex justify-end gap-8 items-center" }, L = {
|
|
5
|
-
key: 1,
|
|
6
|
-
class: "p-24 flex items-center justify-center gap-16"
|
|
7
|
-
}, R = /* @__PURE__ */ v("div", null, "Loading bindings dialog...", -1), P = /* @__PURE__ */ B({
|
|
8
|
-
__name: "BindingsDialog",
|
|
9
|
-
setup(S) {
|
|
10
|
-
const g = z(), l = o(!0), s = o(new Array()), c = o(), n = V(p);
|
|
11
|
-
async function p() {
|
|
12
|
-
await g.readInventory(), c.value = n.onMessage(
|
|
13
|
-
"props:inventory-bindings",
|
|
14
|
-
(e) => {
|
|
15
|
-
l.value = !1, s.value = e;
|
|
16
|
-
}
|
|
17
|
-
), n.sendMessage("props:inventory-bindings");
|
|
18
|
-
}
|
|
19
|
-
function f() {
|
|
20
|
-
n.sendMessage("@submit:inventory-bindings", s.value);
|
|
21
|
-
}
|
|
22
|
-
function _() {
|
|
23
|
-
n.sendMessage("@close:inventory-bindings");
|
|
24
|
-
}
|
|
25
|
-
function y(e) {
|
|
26
|
-
n.sendMessage("@click:pick-inventory-bindings", e);
|
|
27
|
-
}
|
|
28
|
-
const d = o();
|
|
29
|
-
return C(() => {
|
|
30
|
-
const e = d.value;
|
|
31
|
-
e && new ResizeObserver(() => {
|
|
32
|
-
n.sendMessage("resize", e.scrollHeight);
|
|
33
|
-
}).observe(e);
|
|
34
|
-
}), F(() => {
|
|
35
|
-
var e, t;
|
|
36
|
-
(t = (e = c.value) == null ? void 0 : e.removeEventListener) == null || t.call(e);
|
|
37
|
-
}), M([() => s.value], ([e]) => {
|
|
38
|
-
n.sendMessage("@update:inventory-bindings", e);
|
|
39
|
-
}), (e, t) => {
|
|
40
|
-
const u = r("FmButton"), b = r("FmForm"), k = r("FmCircularProgress");
|
|
41
|
-
return a(), m("div", {
|
|
42
|
-
class: "bg-white",
|
|
43
|
-
ref_key: "resizeableRef",
|
|
44
|
-
ref: d
|
|
45
|
-
}, [
|
|
46
|
-
l.value ? (a(), m("div", L, [
|
|
47
|
-
i(k, { size: "md" }),
|
|
48
|
-
R
|
|
49
|
-
])) : (a(), h(b, {
|
|
50
|
-
key: 0,
|
|
51
|
-
onValidationSuccess: f,
|
|
52
|
-
class: "flex flex-col gap-16"
|
|
53
|
-
}, {
|
|
54
|
-
default: w(() => [
|
|
55
|
-
i(I, {
|
|
56
|
-
"model-value": s.value,
|
|
57
|
-
"onUpdate:modelValue": t[0] || (t[0] = (x) => s.value = x),
|
|
58
|
-
"iframe-mode": "",
|
|
59
|
-
"onClick:pickInventoryBindings": y
|
|
60
|
-
}, null, 8, ["model-value"]),
|
|
61
|
-
v("div", E, [
|
|
62
|
-
i(u, {
|
|
63
|
-
type: "button",
|
|
64
|
-
variant: "tertiary",
|
|
65
|
-
label: "Close",
|
|
66
|
-
onClick: _
|
|
67
|
-
}),
|
|
68
|
-
i(u, {
|
|
69
|
-
type: "submit",
|
|
70
|
-
label: "Submit"
|
|
71
|
-
})
|
|
72
|
-
])
|
|
73
|
-
]),
|
|
74
|
-
_: 1
|
|
75
|
-
}))
|
|
76
|
-
], 512);
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
export {
|
|
81
|
-
P as default
|
|
82
|
-
};
|