@feedmepos/mf-inventory-portal 0.0.23-dev.42 → 0.0.23-dev.44
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-Cr-n7HVf.js → App-Bu28H-qV.js} +66 -63
- package/dist/{ApprovalView-BYHDmt9W.js → ApprovalView-Cgb6Getu.js} +20 -20
- package/dist/{BindingsDialog-CI0nYM1_.js → BindingsDialog-DGtPuzr1.js} +2 -2
- package/dist/{BindingsPicker-BVzF3C8O.js → BindingsPicker-BamL3_Vk.js} +3 -3
- package/dist/{BindingsTable-B21_9L2o.js → BindingsTable-C9FeglE4.js} +1 -1
- package/dist/{ClosingDraftView-k2Vsz8-W.js → ClosingDraftView-C_B1u3g1.js} +47 -47
- package/dist/{ClosingTemplateView-BLda7tYC.js → ClosingTemplateView-BxK3yAV4.js} +21 -21
- package/dist/{FmCustomAttribute.vue_vue_type_script_setup_true_lang-DUDOaU6F.js → FmCustomAttribute.vue_vue_type_script_setup_true_lang-DAWPJ65s.js} +11 -11
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CXuer_x5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D1PU7pae.js} +7 -7
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Ds3yBf9U.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D1AIFe-0.js} +37 -37
- package/dist/{IngredientGroupView-CgZ4YT3i.js → IngredientGroupView-S7ps5Bsc.js} +1 -1
- package/dist/{IngredientsView-tPERrF9O.js → IngredientsView-BesGBkXM.js} +14 -15
- package/dist/{IntegrationView-CoF_rdWv.js → IntegrationView-Bkf7zGLw.js} +1 -1
- package/dist/{InventoryBindingForm-BSnofTIL.js → InventoryBindingForm-DHwTsR2G.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-4d9oz7Xh.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CseHejfD.js} +51 -51
- package/dist/{InventoryBindingSummary-qm9ZUFny.js → InventoryBindingSummary-COybHYsZ.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CQY98Hj6.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cgv6gv2x.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-NUkiVop4.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BGJNkqYH.js} +6 -6
- package/dist/PublishView-2EcaLsU2.js +192 -0
- package/dist/{PurchaseOrderPrintPreview-CIWiq2NB.js → PurchaseOrderPrintPreview-DPFfFQQd.js} +5 -5
- package/dist/ReceiveRequestView-Dnl79p8h.js +1843 -0
- package/dist/{RecipeView-CzWlx1Xv.js → RecipeView-CmaMGv6N.js} +25 -25
- package/dist/{StockView-IPXGJNN8.js → StockView-CLw8un14.js} +121 -122
- package/dist/{SupplierView-DuL3NXc0.js → SupplierView-DLcZ6HDt.js} +11 -12
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-82Bu89OE.js → TransferDetails.vue_vue_type_script_setup_true_lang-DgwS1KTx.js} +137 -137
- package/dist/{TransferTemplateView-BEaRafuO.js → TransferTemplateView-BRDq2_Zw.js} +81 -82
- package/dist/{UnitView-Cwo0mthQ.js → UnitView-rJrXqu8W.js} +14 -14
- package/dist/{WarehouseView-DzjQrpyv.js → WarehouseView-BwSLmicZ.js} +33 -33
- package/dist/api/inventory.d.ts +4 -0
- package/dist/{app-CpuFfqWF.js → app-F909rQ5n.js} +12512 -11478
- package/dist/app.d.ts +24 -0
- package/dist/app.js +1 -1
- package/dist/{decimal-bSGrDlvd.js → decimal-0pQSNdVz.js} +1 -1
- package/dist/{format-unit-display-D4gi2D-O.js → format-unit-display-CM40cl03.js} +60 -60
- package/dist/{index-Cn1ato-l.js → index-DzA11XLY.js} +88 -88
- package/dist/{index-COeURijn.js → index-rBUXpqWE.js} +3 -3
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -0
- package/dist/router/name.d.ts +1 -0
- package/dist/{stock-B1Rchi6n.js → stock-c68S1hmD.js} +3 -3
- package/dist/stores/feature.d.ts +34 -2
- package/dist/stores/location.d.ts +29 -1
- package/dist/{supplier-CeY_Gro-.js → supplier-CPuz6JVf.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-BXqY40wn.js → use-inventory-binding-dialog-DjlU5nUb.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +48 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +48 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -0
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +48 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +48 -0
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +48 -0
- package/dist/views/publish/PublishView.vue.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +16 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +24 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +24 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -0
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -0
- package/dist/vue-i18n-BiavdzKQ.js +2365 -0
- package/package.json +1 -1
- package/dist/ReceiveRequestView-Dgt3FeGb.js +0 -4205
- package/dist/feature-D8aRYGen.js +0 -962
package/dist/stores/feature.d.ts
CHANGED
|
@@ -1,9 +1,40 @@
|
|
|
1
|
+
/** NOTE: for consistency, keep the key and value names the same with flagsmith value*/
|
|
2
|
+
export declare enum InventoryFeature {
|
|
3
|
+
inventory_portal_must_use_transfer_template = "inventory_portal_must_use_transfer_template",
|
|
4
|
+
inventory_portal_use_iframe = "inventory_portal_use_iframe",
|
|
5
|
+
inventory_pos_adjust_v1 = "inventory_pos_adjust_v1",
|
|
6
|
+
inventory_pos_adjust_v2_wastage = "inventory_pos_adjust_v2_wastage",
|
|
7
|
+
inventory_pos_closing_recalculation = "inventory_pos_closing_recalculation",
|
|
8
|
+
inventory_pos_closing_v1 = "inventory_pos_closing_v1",
|
|
9
|
+
inventory_pos_closing_v2 = "inventory_pos_closing_v2",
|
|
10
|
+
inventory_pos_convert_v1 = "inventory_pos_convert_v1",
|
|
11
|
+
inventory_pos_costing = "inventory_pos_costing",
|
|
12
|
+
inventory_pos_stock_return = "inventory_pos_stock_return",
|
|
13
|
+
inventory_pos_transfer_require_fulfillment = "inventory_pos_transfer_require_fulfillment",
|
|
14
|
+
inventory_purchase_order_approval = "inventory_purchase_order_approval"
|
|
15
|
+
}
|
|
16
|
+
export interface FeatureState {
|
|
17
|
+
enableTotalCost: boolean;
|
|
18
|
+
enableBackdatePo: boolean;
|
|
19
|
+
/** @deprecated TODO: remove */
|
|
20
|
+
autoReceiveWarehouse: boolean;
|
|
21
|
+
/** @deprecated TODO: remove */
|
|
22
|
+
manualReceive: boolean;
|
|
23
|
+
enablePoTemplate: boolean;
|
|
24
|
+
enableClosingTemplate: boolean;
|
|
25
|
+
enableWastageTemplate: boolean;
|
|
26
|
+
enableIngredientGroup: boolean;
|
|
27
|
+
mustUsePoTemplate: boolean;
|
|
28
|
+
/** @deprecated TODO: remove */
|
|
29
|
+
mustUseDefaultCost: boolean;
|
|
30
|
+
enableSupplierMasterList: boolean;
|
|
31
|
+
businessSupplierOnly: boolean;
|
|
32
|
+
}
|
|
1
33
|
export declare const useFeatureStore: () => {
|
|
2
34
|
readonly businessDbName: string;
|
|
3
35
|
readonly isWarehouse: boolean;
|
|
4
36
|
readonly restaurantPosVersion: string | null | undefined;
|
|
5
37
|
readonly enableTotalCost: boolean;
|
|
6
|
-
/** @deprecated TODO: remove */
|
|
7
38
|
readonly enableBackdatePo: boolean;
|
|
8
39
|
/** @deprecated TODO: remove */
|
|
9
40
|
readonly autoReceiveWarehouse: boolean;
|
|
@@ -13,10 +44,11 @@ export declare const useFeatureStore: () => {
|
|
|
13
44
|
readonly enableClosingTemplate: boolean;
|
|
14
45
|
readonly enableWastageTemplate: boolean;
|
|
15
46
|
readonly enableIngredientGroup: boolean;
|
|
16
|
-
readonly enableSupplierMasterList: boolean;
|
|
17
47
|
readonly mustUsePoTemplate: boolean;
|
|
18
48
|
/** @deprecated TODO: remove */
|
|
19
49
|
readonly mustUseDefaultCost: boolean;
|
|
50
|
+
readonly enableSupplierMasterList: boolean;
|
|
20
51
|
readonly businessSupplierOnly: boolean;
|
|
21
52
|
init(): Promise<void>;
|
|
53
|
+
setUser(location: FdoInventoryLocation): Promise<void>;
|
|
22
54
|
};
|
|
@@ -8,6 +8,10 @@ export declare const InventoryLocationType: {
|
|
|
8
8
|
export type InventoryLocation = FdoInventoryLocation;
|
|
9
9
|
export declare function useLocationStore(): {
|
|
10
10
|
_currentLocation: {
|
|
11
|
+
inventory?: {
|
|
12
|
+
_id: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
} | null | undefined;
|
|
11
15
|
type: "restaurant" | "warehouse";
|
|
12
16
|
name: string;
|
|
13
17
|
acceptRequest: boolean;
|
|
@@ -95,6 +99,10 @@ export declare function useLocationStore(): {
|
|
|
95
99
|
};
|
|
96
100
|
} | null;
|
|
97
101
|
_locations: {
|
|
102
|
+
inventory?: {
|
|
103
|
+
_id: string;
|
|
104
|
+
updatedAt: string;
|
|
105
|
+
} | null | undefined;
|
|
98
106
|
type: "restaurant" | "warehouse";
|
|
99
107
|
name: string;
|
|
100
108
|
acceptRequest: boolean;
|
|
@@ -183,6 +191,10 @@ export declare function useLocationStore(): {
|
|
|
183
191
|
}[] | null;
|
|
184
192
|
readonly state: {
|
|
185
193
|
_currentLocation: {
|
|
194
|
+
inventory?: {
|
|
195
|
+
_id: string;
|
|
196
|
+
updatedAt: string;
|
|
197
|
+
} | null | undefined;
|
|
186
198
|
type: "restaurant" | "warehouse";
|
|
187
199
|
name: string;
|
|
188
200
|
acceptRequest: boolean;
|
|
@@ -270,6 +282,10 @@ export declare function useLocationStore(): {
|
|
|
270
282
|
};
|
|
271
283
|
} | null;
|
|
272
284
|
_locations: {
|
|
285
|
+
inventory?: {
|
|
286
|
+
_id: string;
|
|
287
|
+
updatedAt: string;
|
|
288
|
+
} | null | undefined;
|
|
273
289
|
type: "restaurant" | "warehouse";
|
|
274
290
|
name: string;
|
|
275
291
|
acceptRequest: boolean;
|
|
@@ -358,6 +374,10 @@ export declare function useLocationStore(): {
|
|
|
358
374
|
}[] | null;
|
|
359
375
|
};
|
|
360
376
|
readonly currentLocation: {
|
|
377
|
+
inventory?: {
|
|
378
|
+
_id: string;
|
|
379
|
+
updatedAt: string;
|
|
380
|
+
} | null | undefined;
|
|
361
381
|
type: "restaurant" | "warehouse";
|
|
362
382
|
name: string;
|
|
363
383
|
acceptRequest: boolean;
|
|
@@ -448,6 +468,10 @@ export declare function useLocationStore(): {
|
|
|
448
468
|
readonly currentLocationDBName: string;
|
|
449
469
|
readonly currentLocationId: any;
|
|
450
470
|
readonly locations: {
|
|
471
|
+
inventory?: {
|
|
472
|
+
_id: string;
|
|
473
|
+
updatedAt: string;
|
|
474
|
+
} | null | undefined;
|
|
451
475
|
type: "restaurant" | "warehouse";
|
|
452
476
|
name: string;
|
|
453
477
|
acceptRequest: boolean;
|
|
@@ -536,6 +560,10 @@ export declare function useLocationStore(): {
|
|
|
536
560
|
}[];
|
|
537
561
|
readonly locationByDbName: {
|
|
538
562
|
[key: string]: {
|
|
563
|
+
inventory?: {
|
|
564
|
+
_id: string;
|
|
565
|
+
updatedAt: string;
|
|
566
|
+
} | null | undefined;
|
|
539
567
|
type: "restaurant" | "warehouse";
|
|
540
568
|
name: string;
|
|
541
569
|
acceptRequest: boolean;
|
|
@@ -624,7 +652,7 @@ export declare function useLocationStore(): {
|
|
|
624
652
|
};
|
|
625
653
|
};
|
|
626
654
|
businessLevel: boolean;
|
|
627
|
-
watchLocation(callback: (location?: InventoryLocation | null) => Promise<void
|
|
655
|
+
watchLocation(callback: (location?: InventoryLocation | null) => Promise<void>, persistentKey?: string): void;
|
|
628
656
|
readLocations(): Promise<void>;
|
|
629
657
|
setLocations(resp: InventoryLocation[]): void;
|
|
630
658
|
selectLocation(location?: InventoryLocation, skipStorage?: boolean): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { X as m, u, v as y, al as b, am as v } from "./app-F909rQ5n.js";
|
|
2
2
|
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as w } from "pinia";
|
|
4
4
|
import { ref as l, computed as d } from "vue";
|