@feedmepos/mf-inventory-portal 1.3.6 → 1.3.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/{App-Dpp0kp2e.js → App-CJwfIjMX.js} +3 -3
- package/dist/ApprovalView-DOq2oFvo.js +241 -0
- package/dist/{BindingsDialog-BPlkzrss.js → BindingsDialog-DCrRYbJJ.js} +5 -5
- package/dist/{BindingsPicker-AM4k3s9Z.js → BindingsPicker-B6gakVEN.js} +3 -3
- package/dist/{BindingsTable-C6-30brl.js → BindingsTable-IVHY6t4x.js} +5 -5
- package/dist/{ClosingDraftView-uRsqurau.js → ClosingDraftView-D1CJtcPl.js} +57 -57
- package/dist/{ClosingHistoryView-s2st44Dv.js → ClosingHistoryView-DMGhfS9R.js} +4 -4
- package/dist/{ClosingTemplateView-BMyeL_mh.js → ClosingTemplateView-Djo0juNV.js} +16 -16
- package/dist/{DeliveryOrderPrintPreview-BRlZ634c.js → DeliveryOrderPrintPreview-yIr0KaZ-.js} +17 -17
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CLSs6bA6.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CboUeuGd.js} +14 -14
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-bIMS8fQq.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--Kdh7Lws.js} +2 -2
- package/dist/{FmMultiselectDialog-DVjVqJMs.js → FmMultiselectDialog-CmT3UKF6.js} +1 -1
- package/dist/{FmMultiselectDialog-CtNvTe13.js → FmMultiselectDialog-Dfd2CP8Q.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DpzpUafg.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C0nfecTl.js} +4 -4
- package/dist/{ImportView-DFV9vZdP.js → ImportView-M6gfAQRh.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CQ1s9NEE.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cl1U0OoC.js} +1 -1
- package/dist/{IngredientGroupView-DA9vJ8fS.js → IngredientGroupView-C29gfI37.js} +7 -7
- package/dist/{IngredientsView-qiA89Spr.js → IngredientsView-DnM7eqv0.js} +17 -17
- package/dist/{IntegrationView-Cp9gVEKi.js → IntegrationView-CxXZ90Dg.js} +13 -13
- package/dist/{InventoryBindingForm-C7WQo9tq.js → InventoryBindingForm-FImVaTic.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BwbHMBzc.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bay13kwv.js} +5 -5
- package/dist/{InventoryBindingSummary-CSC8Oo2Z.js → InventoryBindingSummary-DwHKeLyV.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6fd31Fx.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cViXSxPS.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BMmYypr7.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CCF4_Pyr.js} +1 -1
- package/dist/{PublishView-DiMBWtmR.js → PublishView-D8aVGgPP.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-BxsgNwIR.js → PurchaseOrderPrintPreview-CJSISF6B.js} +12 -12
- package/dist/ReceiveRequestView-DeOwJD3K.js +2817 -0
- package/dist/{RecipeView-h8oz6YWX.js → RecipeView-HugMCN1V.js} +22 -21
- package/dist/SettingsView-BqNC4kXc.js +695 -0
- package/dist/{StockView-BMLQhXUr.js → StockView-B3hLSoWp.js} +21 -20
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9Ju9qNs.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CuFB8tHC.js} +1 -1
- package/dist/{SupplierView-tXBV72Jj.js → SupplierView-DK9liRuA.js} +14 -14
- package/dist/{SurchargeView-DDaFJWQd.js → SurchargeView-Cnz3QPAF.js} +8 -8
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bb9YSuiv.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BsesD9UR.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bfy6QZ5V.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DHvOhMtd.js} +1 -1
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-xg5Ac0I2.js +3790 -0
- package/dist/{TransferTemplateView-vhdc3V8r.js → TransferTemplateView-hUBkM1Y0.js} +20 -19
- package/dist/{UnitCostHistoryView-C6axtlfa.js → UnitCostHistoryView-gHpyp4-l.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DW8nVpeH.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DOC0W_-a.js} +4 -4
- package/dist/{UnitView-Dx030V3h.js → UnitView-Bt4EY0DU.js} +9 -9
- package/dist/{WarehouseView-Dvc063hP.js → WarehouseView-C7Aa5MQz.js} +7 -7
- package/dist/{WastageTemplateView-0cuBPiRM.js → WastageTemplateView-B59wFpmS.js} +16 -16
- package/dist/{app-LDTQJMhy.js → app-Bd2n830Y.js} +3267 -3181
- package/dist/app.d.ts +32 -0
- package/dist/app.js +2 -2
- package/dist/{closing-template-D0LdzwtB.js → closing-template-CbIMkUm-.js} +1 -1
- package/dist/{component-DpCUABT3.js → component-kqxARxvM.js} +30 -21
- package/dist/components/row-action.enum.d.ts +3 -0
- package/dist/{date2-DPXk7flq.js → date2-CH3V-Ucj.js} +1 -1
- package/dist/{dayjs.min-mBDQc-9G.js → dayjs.min-0pcsGWEW.js} +1 -1
- package/dist/{decimal-BToK0wBw.js → decimal-DqMF4lgE.js} +2 -2
- package/dist/defineDeepModel-nM-22Ofl.js +19 -0
- package/dist/{duplicate-template-CkTur22u.js → duplicate-template-VcCheWzy.js} +1 -1
- package/dist/{export-Nnabwt7T.js → export-DAK4eXwZ.js} +1 -1
- package/dist/feature-D9W_Z06D.js +1081 -0
- package/dist/{format-time-from-id-DoLZWDHr.js → format-time-from-id-C1atPaNT.js} +1 -1
- package/dist/{format-unit-display-DeUVS8Ka.js → format-unit-display-B4zjXa1i.js} +13 -13
- package/dist/{import-export.helper-CljIBGLZ.js → import-export.helper-DWUpF27a.js} +6 -6
- package/dist/{index-DP8htYK-.js → index-BFpquHWG.js} +3 -3
- package/dist/{index-C3rXHanm.js → index-Co-3wUpY.js} +1 -1
- package/dist/{index-D3fQ9TVX.js → index-DoyDKyP_.js} +1 -1
- package/dist/{feature-DU99Iib1.js → inventory-core-dart.default-BVmmW4IN.js} +322 -1395
- package/dist/{lodash-rgAcNpoP.js → lodash-BsMM-AaB.js} +1 -1
- package/dist/{lz-string-C9rYv8AB.js → lz-string-BfBty02S.js} +1 -1
- package/dist/modules/print-template/api/print-template.d.ts +29 -0
- package/dist/modules/print-template/components/BlockConfigPanel.vue.d.ts +19 -0
- package/dist/modules/print-template/components/CustomPrintTemplatePreview.vue.d.ts +25 -0
- package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +45 -0
- package/dist/modules/print-template/components/TemplatePreview.vue.d.ts +22 -0
- package/dist/modules/print-template/composables/print-po-with-template.d.ts +25 -0
- package/dist/modules/print-template/definitions/block-definitions.d.ts +88 -0
- package/dist/modules/print-template/definitions/predefined-templates.d.ts +22 -0
- package/dist/modules/print-template/definitions/template-renderer.d.ts +17 -0
- package/dist/modules/print-template/index.d.ts +11 -0
- package/dist/modules/print-template/store/print-template.d.ts +170 -0
- package/dist/modules/print-template/types/print-data.d.ts +52 -0
- package/dist/modules/print-template/utils/sanitize-html.d.ts +32 -0
- package/dist/{netsuite-BG6BPWro.js → netsuite-B86m9YM_.js} +3 -3
- package/dist/{number-SNScDKT8.js → number-Bu93lKcU.js} +3 -3
- package/dist/predefined-templates-swTNxWXc.js +4542 -0
- package/dist/{purchase-order-template-D8fAq-Zt.js → purchase-order-template-DDmIZDfJ.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{row-action.enum-BcW_L_nE.js → row-action.enum-Co_O4qD9.js} +11 -3
- package/dist/{rules-UuB2i2KE.js → rules-BXeKMOa6.js} +2 -2
- package/dist/{stock-BUeSTOdB.js → stock-BkjUFSH-.js} +3 -3
- package/dist/{stock-Xag5QdmK.js → stock-D6A9nUUq.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-DSfyrBxJ.js → supplier-BEFK8KT8.js} +2 -2
- package/dist/{surcharge-Vp9urWiP.js → surcharge-BKuJQ1bw.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-D80a30rC.js → use-ingredient-select-dialog-CtkHGZVI.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DFD6fQTw.js → use-inventory-binding-dialog-Df4UAdJI.js} +2 -2
- package/dist/{use-template-enabled-locations-2-gLYNdIUE.js → use-template-enabled-locations-2-CNT1brYI.js} +2 -2
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +4 -0
- package/dist/views/settings/SettingsView.vue.d.ts +2 -0
- package/dist/{vue-i18n-u2llGfc9.js → vue-i18n-BaovYGY4.js} +438 -438
- package/dist/{xlsx-D-xEkyaF.js → xlsx-Dig-xBj4.js} +1 -1
- package/dist/{xlsx.util-CuJApaiU.js → xlsx.util-R4tPgyBp.js} +1 -1
- package/package.json +5 -2
- package/dist/ApprovalView-Br8e1L7F.js +0 -226
- package/dist/ReceiveRequestView-DioKLQuF.js +0 -2802
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-bOAribrn.js +0 -3521
- package/dist/defineDeepModel-CKoG7koO.js +0 -19
package/dist/app.d.ts
CHANGED
|
@@ -1202,6 +1202,14 @@ export declare const i18nMessages: {
|
|
|
1202
1202
|
code: string;
|
|
1203
1203
|
};
|
|
1204
1204
|
};
|
|
1205
|
+
settings: {
|
|
1206
|
+
title: string;
|
|
1207
|
+
printTemplate: {
|
|
1208
|
+
title: string;
|
|
1209
|
+
description: string;
|
|
1210
|
+
edit: string;
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1205
1213
|
publish: {
|
|
1206
1214
|
title: string;
|
|
1207
1215
|
actions: {
|
|
@@ -2409,6 +2417,14 @@ export declare const i18nMessages: {
|
|
|
2409
2417
|
code: string;
|
|
2410
2418
|
};
|
|
2411
2419
|
};
|
|
2420
|
+
settings: {
|
|
2421
|
+
title: string;
|
|
2422
|
+
printTemplate: {
|
|
2423
|
+
title: string;
|
|
2424
|
+
description: string;
|
|
2425
|
+
edit: string;
|
|
2426
|
+
};
|
|
2427
|
+
};
|
|
2412
2428
|
publish: {
|
|
2413
2429
|
title: string;
|
|
2414
2430
|
actions: {
|
|
@@ -3588,6 +3604,14 @@ export declare const i18nMessages: {
|
|
|
3588
3604
|
code: string;
|
|
3589
3605
|
};
|
|
3590
3606
|
};
|
|
3607
|
+
settings: {
|
|
3608
|
+
title: string;
|
|
3609
|
+
printTemplate: {
|
|
3610
|
+
title: string;
|
|
3611
|
+
description: string;
|
|
3612
|
+
edit: string;
|
|
3613
|
+
};
|
|
3614
|
+
};
|
|
3591
3615
|
publish: {
|
|
3592
3616
|
title: string;
|
|
3593
3617
|
actions: {
|
|
@@ -4767,6 +4791,14 @@ export declare const i18nMessages: {
|
|
|
4767
4791
|
code: string;
|
|
4768
4792
|
};
|
|
4769
4793
|
};
|
|
4794
|
+
settings: {
|
|
4795
|
+
title: string;
|
|
4796
|
+
printTemplate: {
|
|
4797
|
+
title: string;
|
|
4798
|
+
description: string;
|
|
4799
|
+
edit: string;
|
|
4800
|
+
};
|
|
4801
|
+
};
|
|
4770
4802
|
publish: {
|
|
4771
4803
|
title: string;
|
|
4772
4804
|
actions: {
|
package/dist/app.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { at as r, au as e, av as o, as as t, aw as i, a as m } from "./app-Bd2n830Y.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
r as FmApp,
|
|
5
5
|
e as InventoryBindingForm,
|
|
6
6
|
o as InventoryBindingSummary,
|
|
7
7
|
t as i18nMessages,
|
|
@@ -1,40 +1,49 @@
|
|
|
1
1
|
import { useI18n as p } from "@feedmepos/mf-common";
|
|
2
|
-
import { components as
|
|
2
|
+
import { components as d } from "@feedmepos/ui-library";
|
|
3
3
|
import { h as t } from "vue";
|
|
4
|
-
const { FmMenu:
|
|
5
|
-
function
|
|
6
|
-
const { t:
|
|
7
|
-
...
|
|
8
|
-
const
|
|
4
|
+
const { FmMenu: b, FmButton: f, FmMenuItem: u, FmMenuHeader: g, FmMenuDivider: C } = d;
|
|
5
|
+
function F(c, l, a = []) {
|
|
6
|
+
const { t: s } = p(), i = [
|
|
7
|
+
...c.map(({ translationKey: n, color: o, value: r, badgeWidget: e }) => {
|
|
8
|
+
const m = s(n);
|
|
9
9
|
return t(
|
|
10
|
-
|
|
10
|
+
u,
|
|
11
11
|
{
|
|
12
12
|
onClick() {
|
|
13
|
-
|
|
13
|
+
l(r ?? m);
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
label: () => t(
|
|
18
|
-
"
|
|
18
|
+
"div",
|
|
19
19
|
{
|
|
20
|
-
class:
|
|
20
|
+
class: "flex items-center gap-2"
|
|
21
21
|
},
|
|
22
|
-
|
|
22
|
+
[
|
|
23
|
+
t(
|
|
24
|
+
"span",
|
|
25
|
+
{
|
|
26
|
+
class: o
|
|
27
|
+
},
|
|
28
|
+
m
|
|
29
|
+
),
|
|
30
|
+
e ? e() : null
|
|
31
|
+
]
|
|
23
32
|
)
|
|
24
33
|
}
|
|
25
34
|
);
|
|
26
35
|
})
|
|
27
36
|
];
|
|
28
|
-
return
|
|
37
|
+
return a.length > 0 && i.push(
|
|
29
38
|
t(g, { label: "Admin Only" }),
|
|
30
|
-
t(
|
|
31
|
-
...
|
|
32
|
-
const e =
|
|
39
|
+
t(C),
|
|
40
|
+
...a.map(({ translationKey: n, color: o, value: r }) => {
|
|
41
|
+
const e = s(n);
|
|
33
42
|
return t(
|
|
34
|
-
|
|
43
|
+
u,
|
|
35
44
|
{
|
|
36
45
|
onClick() {
|
|
37
|
-
|
|
46
|
+
l(r ?? e);
|
|
38
47
|
},
|
|
39
48
|
icon: "support_agent"
|
|
40
49
|
},
|
|
@@ -50,13 +59,13 @@ function M(u, a, i = []) {
|
|
|
50
59
|
);
|
|
51
60
|
})
|
|
52
61
|
), t(
|
|
53
|
-
|
|
62
|
+
b,
|
|
54
63
|
{
|
|
55
64
|
trigger: "click",
|
|
56
65
|
stopClickPropagation: !0
|
|
57
66
|
},
|
|
58
67
|
{
|
|
59
|
-
"menu-button": () => t(
|
|
68
|
+
"menu-button": () => t(f, {
|
|
60
69
|
type: "button",
|
|
61
70
|
variant: "tertiary",
|
|
62
71
|
icon: "more_vert",
|
|
@@ -72,11 +81,11 @@ function M(u, a, i = []) {
|
|
|
72
81
|
width: "160px"
|
|
73
82
|
}
|
|
74
83
|
},
|
|
75
|
-
|
|
84
|
+
i
|
|
76
85
|
)
|
|
77
86
|
}
|
|
78
87
|
);
|
|
79
88
|
}
|
|
80
89
|
export {
|
|
81
|
-
|
|
90
|
+
F as c
|
|
82
91
|
};
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import type { JSX } from 'vue/jsx-runtime';
|
|
1
2
|
export type RowActionProps = {
|
|
2
3
|
/** @deprecated use translation key instead */
|
|
3
4
|
label?: string;
|
|
4
5
|
translationKey: string;
|
|
5
6
|
color: string;
|
|
6
7
|
value?: string;
|
|
8
|
+
badgeWidget?: () => JSX.Element;
|
|
7
9
|
};
|
|
8
10
|
export declare enum RowActionEnum {
|
|
9
11
|
Add = "Add",
|
|
10
12
|
Create = "Create",
|
|
11
13
|
Print = "Print",
|
|
14
|
+
PrintCustom = "PrintCustom",
|
|
12
15
|
Export = "Export",
|
|
13
16
|
Update = "Update",
|
|
14
17
|
Details = "Details",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { c as a, a0 as u } from "./app-Bd2n830Y.js";
|
|
2
|
+
import { getCurrentInstance as d, reactive as l, watch as o } from "vue";
|
|
3
|
+
function g(i = "modelValue", e) {
|
|
4
|
+
var n, c;
|
|
5
|
+
const s = ((n = d()) == null ? void 0 : n.props) ?? {}, f = ((c = d()) == null ? void 0 : c.emit) ?? (() => {
|
|
6
|
+
}), t = l(a(s[i] ?? (e == null ? void 0 : e.default) ?? {})), m = `update:${u(i)}`;
|
|
7
|
+
return e != null && e.watchProps && o(
|
|
8
|
+
() => s[i],
|
|
9
|
+
(r) => {
|
|
10
|
+
r && r !== t && Object.assign(t, a(r));
|
|
11
|
+
},
|
|
12
|
+
{ deep: !0, immediate: !0 }
|
|
13
|
+
), o(t, (r) => {
|
|
14
|
+
f(m, r);
|
|
15
|
+
}), t;
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
g as d
|
|
19
|
+
};
|