@feedmepos/mf-inventory-portal 0.0.23-dev.2 → 0.0.23-dev.21
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-DRE3c1lJ.js → App-CvIvF0fg.js} +59 -51
- package/dist/{ApprovalView-B4ZYcS3B.js → ApprovalView-BOn2HDVY.js} +20 -23
- package/dist/{BindingsDialog-Df1yrWHU.js → BindingsDialog-9qfADiSA.js} +7 -7
- package/dist/{BindingsPicker-BERMWh4w.js → BindingsPicker-CpV9uOqj.js} +7 -8
- package/dist/{BindingsTable-DRIapOWW.js → BindingsTable-BYScxUTj.js} +16 -20
- package/dist/ClosingDraftView-DM7-3zOd.js +1116 -0
- package/dist/{ClosingTemplateView-CbFn3Sdy.js → ClosingTemplateView-Cye5VPAM.js} +66 -76
- package/dist/{FmDroppableField-8RzKjEdL.js → FmDroppableField-AIKfZo3H.js} +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CQUsooGm.js +282 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BHSGZyJL.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CFQc-CBX.js} +121 -119
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DH5IQchQ.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-2r8mut0B.js} +7 -7
- package/dist/{IngredientGroupView-DoETcEvV.js → IngredientGroupView-RNokzPJa.js} +30 -36
- package/dist/IngredientsView-M7K_GAEO.js +1660 -0
- package/dist/{IntegrationView-D1HeBiGF.js → IntegrationView-D9a8d1sO.js} +18 -20
- package/dist/{InventoryBindingForm-Dmz9BQ37.js → InventoryBindingForm-B0Gx5N1p.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DoyqVBOd.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DEOudgKD.js} +15 -17
- package/dist/{InventoryBindingSummary-DrpwiRGZ.js → InventoryBindingSummary-C16Nc5aN.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-yNEswIEI.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CZiypEex.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Br4_VUza.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BbYZwclN.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-cp671yWE.js → PurchaseOrderPrintPreview-DdKF8g0J.js} +13 -14
- package/dist/ReceiveRequestView-DBPRR6fz.js +4186 -0
- package/dist/{RecipeView-CD_dAWLo.js → RecipeView-CzUgVxKz.js} +58 -63
- package/dist/{StockView-DfUzFC1b.js → StockView-DCO3N1FS.js} +1338 -1446
- package/dist/{SupplierView-DB-zrNxh.js → SupplierView-CzV6DYSj.js} +2345 -783
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-00pcY0qu.js +1228 -0
- package/dist/TransferTemplateView-uL5PId9-.js +1265 -0
- package/dist/{UnitView-BlC9-WOA.js → UnitView-d-mCs-cS.js} +40 -44
- package/dist/{WarehouseView-CgEY87Lo.js → WarehouseView-B7z8m-Hv.js} +67 -73
- package/dist/api/adjustment-template.d.ts +23 -0
- package/dist/api/bill.d.ts +2 -2
- package/dist/api/closing-draft.d.ts +6 -0
- package/dist/api/closing.d.ts +1 -0
- package/dist/api/netsuite.d.ts +69 -0
- package/dist/app-CTCC1zfY.js +58871 -0
- package/dist/app.d.ts +56 -0
- package/dist/app.js +2 -2
- package/dist/components/FmMinMaxInputRules.d.ts +4 -1
- package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
- package/dist/components/row-action.enum.d.ts +1 -0
- package/dist/composable/defineDeepModel.d.ts +1 -1
- package/dist/{decimal-D7BCubZO.js → decimal-DhUR6QsF.js} +1 -1
- package/dist/{feature-BR-MsGYt.js → feature-DiGS5Fa4.js} +23 -9
- package/dist/format-unit-display-MRARpSlY.js +1210 -0
- package/dist/index-BSN3RnCl.js +12087 -0
- package/dist/netsuite-CIibMNer.js +251 -0
- package/dist/router/name.d.ts +2 -0
- package/dist/stock-COHpOTJk.js +110 -0
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/integration/netsuite.d.ts +81 -0
- package/dist/stores/inventory.d.ts +1 -4
- package/dist/style.css +1 -1
- package/dist/{supplier-aBuwVukl.js → supplier-csNwTHYl.js} +15 -15
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-CLQ0LUmW.js → use-inventory-binding-dialog-172A48Xx.js} +10 -11
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDetails.vue.d.ts +2 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDialog.vue.d.ts +22 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplatePublish.vue.d.ts +6 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateView.vue.d.ts +2 -0
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +1295 -0
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateForm.vue.d.ts +16 -0
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +35 -0
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +20 -0
- package/dist/views/adjustment-template/wastage-template/props.d.ts +29 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +1273 -0
- package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +2 -0
- package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +22 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +451 -0
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +25 -0
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +2601 -0
- package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -0
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +19 -0
- package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +4 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +24 -192
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +24 -192
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +34 -34
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +54 -54
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +54 -54
- package/dist/views/receive-request/helper/check-netsuite-subsidiary.helper.d.ts +1 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
- package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -8
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -96
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -96
- package/dist/{xlsx-BbtURTDy.js → xlsx-CH-bhcOL.js} +1 -1
- package/dist/{xlsx.util-zYS4OJFi.js → xlsx.util-4aHI7W-Z.js} +1 -1
- package/package.json +3 -3
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-7JYNssTm.js +0 -267
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-KbYSywk2.js +0 -436
- package/dist/FmMultiselectDialog-Da9JMCYa.js +0 -415
- package/dist/IngredientsView-DHAhj9pV.js +0 -1613
- package/dist/ReceiveRequestView-C1WBlpho.js +0 -4082
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +0 -135
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-2mzqFGCz.js +0 -1144
- package/dist/TransferTemplateView-CaAJrqU6.js +0 -1262
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/app-CAyFhmAz.js +0 -33457
- package/dist/date2-D9i5izMt.js +0 -117
- package/dist/dayjs.min-SJKP9zBL.js +0 -282
- package/dist/defineDeepModel-DS4Shctf.js +0 -13
- package/dist/format-time-from-id-CUby60uW.js +0 -15
- package/dist/format-unit-display-D25Al2JZ.js +0 -1198
- package/dist/fuzzy-BryBtMz_.js +0 -41
- package/dist/index-ByJbUSIQ.js +0 -45
- package/dist/index-CFA_VFyX.js +0 -10545
- package/dist/index-CTvgBOum.js +0 -22280
- package/dist/netsuite-D0G4B60k.js +0 -146
- package/dist/normalizeArguments-DP7Hrren.js +0 -1552
- package/dist/row-action.enum-PMKMRrZR.js +0 -50
- package/dist/rules-DxVY0b7F.js +0 -198
- package/dist/use-template-enabled-locations-2-BgTiwy_3.js +0 -86
package/dist/app.d.ts
CHANGED
|
@@ -221,6 +221,62 @@ export declare const i18nMessages: {
|
|
|
221
221
|
addItem: string;
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
|
+
draft: {
|
|
225
|
+
title: string;
|
|
226
|
+
approveDraft: string;
|
|
227
|
+
rejectDraft: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
adjustment: {
|
|
231
|
+
template: {
|
|
232
|
+
wastage: {
|
|
233
|
+
title: string;
|
|
234
|
+
};
|
|
235
|
+
create: {
|
|
236
|
+
title: string;
|
|
237
|
+
success: string;
|
|
238
|
+
successMessage: string;
|
|
239
|
+
error: string;
|
|
240
|
+
errorMessage: string;
|
|
241
|
+
};
|
|
242
|
+
update: {
|
|
243
|
+
title: string;
|
|
244
|
+
success: string;
|
|
245
|
+
successMessage: string;
|
|
246
|
+
error: string;
|
|
247
|
+
errorMessage: string;
|
|
248
|
+
};
|
|
249
|
+
import: {
|
|
250
|
+
title: string;
|
|
251
|
+
message: string;
|
|
252
|
+
new: string;
|
|
253
|
+
allLocations: string;
|
|
254
|
+
nLocations: string;
|
|
255
|
+
nItems: string;
|
|
256
|
+
};
|
|
257
|
+
publish: {
|
|
258
|
+
title: string;
|
|
259
|
+
message: string;
|
|
260
|
+
dialogTitle: string;
|
|
261
|
+
noRecentActivity: string;
|
|
262
|
+
nothingToPublish: string;
|
|
263
|
+
publishing: string;
|
|
264
|
+
recentlyPublishedAt: string;
|
|
265
|
+
stillPublishing: string;
|
|
266
|
+
};
|
|
267
|
+
table: {
|
|
268
|
+
createdAt: string;
|
|
269
|
+
name: string;
|
|
270
|
+
noOfItems: string;
|
|
271
|
+
enabledOutlets: string;
|
|
272
|
+
reference: string;
|
|
273
|
+
status: string;
|
|
274
|
+
published: string;
|
|
275
|
+
unpublished: string;
|
|
276
|
+
enabledForAll: string;
|
|
277
|
+
enabledForN: string;
|
|
278
|
+
};
|
|
279
|
+
};
|
|
224
280
|
};
|
|
225
281
|
ingredient: {
|
|
226
282
|
title: string;
|
package/dist/app.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aN as s, aO as e, aP as o, aM as t, aQ as i, a as m } from "./app-CTCC1zfY.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
s as FmApp,
|
|
5
5
|
e as InventoryBindingForm,
|
|
6
6
|
o as InventoryBindingSummary,
|
|
7
7
|
t as i18nMessages,
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { FmMinMaxInputModel } from './FmMinMaxInputProps';
|
|
2
2
|
import type { FdoDecimal } from '@feedmepos/core/entity';
|
|
3
|
-
export declare function FmMinMaxRequired(
|
|
3
|
+
export declare function FmMinMaxRequired({ min, max }?: {
|
|
4
|
+
min?: boolean;
|
|
5
|
+
max?: boolean;
|
|
6
|
+
}): (model?: FmMinMaxInputModel) => true | "Required";
|
|
4
7
|
/** Both `min` and `max` are inclusive */
|
|
5
8
|
export declare function FmMinMaxBoundary(min: number, max: number): (model?: FmMinMaxInputModel) => string | true;
|
|
6
9
|
export declare function FmMinMaxMultipleOf(decimal: FdoDecimal): (model?: FmMinMaxInputModel) => string | true;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** Use in
|
|
1
|
+
/** Use in "\<script setup\>" only! */
|
|
2
2
|
export declare function defineDeepModel<T>(name?: string): T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCoreStore as t } from "@feedmepos/mf-common";
|
|
2
|
-
import { u as o,
|
|
3
|
-
const
|
|
2
|
+
import { u as o, ao as a, a as i } from "./app-CTCC1zfY.js";
|
|
3
|
+
const c = /* @__PURE__ */ new Set([
|
|
4
4
|
// vivo pizza prod
|
|
5
5
|
"business_6687e91fa7240b001ba3f4c2",
|
|
6
6
|
// vivo dev
|
|
@@ -19,22 +19,30 @@ const i = /* @__PURE__ */ new Set([
|
|
|
19
19
|
"business_655b25254fe3be001b123f0b",
|
|
20
20
|
// zus dev
|
|
21
21
|
"business_671005de24a7f4001c87e25e"
|
|
22
|
-
]),
|
|
22
|
+
]), m = /* @__PURE__ */ new Set([
|
|
23
|
+
// kfc dev
|
|
24
|
+
"business_655b25254fe3be001b123f0b",
|
|
25
|
+
// zus dev
|
|
26
|
+
"business_671005de24a7f4001c87e25e"
|
|
27
|
+
]), S = /* @__PURE__ */ new Set([
|
|
28
|
+
// zus dev
|
|
29
|
+
"business_671005de24a7f4001c87e25e"
|
|
30
|
+
]), h = () => ({
|
|
23
31
|
get businessDbName() {
|
|
24
32
|
var n;
|
|
25
33
|
return `business_${((n = t().currentBusiness.value) == null ? void 0 : n._id) ?? ""}`;
|
|
26
34
|
},
|
|
27
35
|
get isWarehouse() {
|
|
28
36
|
var e;
|
|
29
|
-
return ((e = o()._currentLocation) == null ? void 0 : e.type) ===
|
|
37
|
+
return ((e = o()._currentLocation) == null ? void 0 : e.type) === a.warehouse;
|
|
30
38
|
},
|
|
31
39
|
get restaurantPosVersion() {
|
|
32
40
|
var n;
|
|
33
41
|
const s = o();
|
|
34
42
|
return (n = t().restaurants.value.find(
|
|
35
|
-
(
|
|
43
|
+
(u) => {
|
|
36
44
|
var r;
|
|
37
|
-
return
|
|
45
|
+
return u._id === ((r = s._currentLocation) == null ? void 0 : r.doc._id);
|
|
38
46
|
}
|
|
39
47
|
)) == null ? void 0 : n.posVersion;
|
|
40
48
|
},
|
|
@@ -43,7 +51,7 @@ const i = /* @__PURE__ */ new Set([
|
|
|
43
51
|
return ((e = t().currentBusiness.value) == null ? void 0 : e.menuVersion) === "v4";
|
|
44
52
|
},
|
|
45
53
|
get enableBackdatePo() {
|
|
46
|
-
const s =
|
|
54
|
+
const s = i();
|
|
47
55
|
return b.has(this.businessDbName) && (this.isWarehouse || s.state.closing !== null);
|
|
48
56
|
},
|
|
49
57
|
get autoReceiveWarehouse() {
|
|
@@ -55,7 +63,7 @@ const i = /* @__PURE__ */ new Set([
|
|
|
55
63
|
// if menu v4, must manual receive && must use outlet app
|
|
56
64
|
((e = t().currentBusiness.value) == null ? void 0 : e.menuVersion) === "v4" && // more guard for businesses using menu v4, only those listed for manual receive will be included
|
|
57
65
|
// TODO: may be removed to use menu version only
|
|
58
|
-
|
|
66
|
+
c.has(this.businessDbName)
|
|
59
67
|
);
|
|
60
68
|
},
|
|
61
69
|
get enablePoTemplate() {
|
|
@@ -71,8 +79,14 @@ const i = /* @__PURE__ */ new Set([
|
|
|
71
79
|
get mustUsePoTemplate() {
|
|
72
80
|
const s = t();
|
|
73
81
|
return l.has(this.businessDbName) && s.namespace.value === "dev";
|
|
82
|
+
},
|
|
83
|
+
get mustUseDefaultCost() {
|
|
84
|
+
return m.has(this.businessDbName);
|
|
85
|
+
},
|
|
86
|
+
get businessSupplierOnly() {
|
|
87
|
+
return S.has(this.businessDbName);
|
|
74
88
|
}
|
|
75
89
|
});
|
|
76
90
|
export {
|
|
77
|
-
|
|
91
|
+
h as u
|
|
78
92
|
};
|