@feedmepos/mf-inventory-portal 0.0.25-dev.5 → 0.0.25-dev.50
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-Kq8apMtA.js → App-B7fIlPKw.js} +29 -28
- package/dist/ApprovalView-Dp20w8em.js +143 -0
- package/dist/{BindingsDialog-DOXckftj.js → BindingsDialog-BIHCuoDe.js} +6 -6
- package/dist/{BindingsPicker-Cm5vh_SU.js → BindingsPicker-DoM1Dh1y.js} +8 -8
- package/dist/{BindingsTable-CqIY16hU.js → BindingsTable-ChJYIxrf.js} +6 -6
- package/dist/ClosingDraftView-L4EHR0Sb.js +1348 -0
- package/dist/ClosingTemplateView-CFVINyCr.js +1859 -0
- package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js +34 -0
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dn-DgO81.js +211 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-0Kw57u62.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CdWkJ2U-.js} +52 -52
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-BN2ec0EU.js +51 -0
- package/dist/{IngredientGroupView-CLmsjrp8.js → IngredientGroupView-Vz6XV_-q.js} +14 -14
- package/dist/{IngredientsView-T5S1322D.js → IngredientsView-D1lmg_97.js} +577 -551
- package/dist/{IntegrationView-DLLrgrr9.js → IntegrationView-CfDmLYwt.js} +661 -690
- package/dist/{InventoryBindingForm-BCPZcNwR.js → InventoryBindingForm-C68ZfWme.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DY96hhyi.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bd13FqsE.js} +96 -96
- package/dist/{InventoryBindingSummary-CpCsz_Xc.js → InventoryBindingSummary-DT9cg2b4.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CP5yNARW.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BfhvXVHK.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Cow0sp-k.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Dvj1F-DM.js} +15 -15
- package/dist/PublishView-DMzULnCX.js +222 -0
- package/dist/{PurchaseOrderPrintPreview-DQ8GaxvA.js → PurchaseOrderPrintPreview-D6wcth8H.js} +1 -1
- package/dist/ReceiveRequestView-DsX41zj-.js +2579 -0
- package/dist/{RecipeView-CROffYxl.js → RecipeView-DlKk9-tm.js} +47 -46
- package/dist/{index-B2ISFLHY.js → StockView-CNmvVK0V.js} +3616 -1783
- package/dist/{SupplierView-DUFTtK7r.js → SupplierView-BcoOgM67.js} +446 -457
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CDDvq_mI.js +1605 -0
- package/dist/TransferTemplateView-BI96LQfP.js +1526 -0
- package/dist/{UnitView-B4jcaZF4.js → UnitView-BF2eBWtF.js} +14 -14
- package/dist/{WarehouseView-BmZtdMZU.js → WarehouseView-joOR4EsJ.js} +332 -314
- package/dist/api/closing-draft.d.ts +1 -0
- package/dist/api/inventory.d.ts +9 -6
- package/dist/api/netsuite.d.ts +22 -5
- package/dist/api/purchase-order.d.ts +7 -1
- package/dist/api/stock.d.ts +1 -0
- package/dist/app-DavuMSpS.js +88117 -0
- package/dist/app.js +1 -1
- package/dist/components/FmAutocompleteTextField.vue.d.ts +31 -0
- package/dist/components/FmCustomAttribute.vue.d.ts +3 -8
- package/dist/components/FmLockableField.vue.d.ts +3 -0
- package/dist/components/FmMultiselectDialog.d.ts +23 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +9 -1
- package/dist/components/FmMultiselectDialogProps.d.ts +2 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
- package/dist/{decimal-T4Ng3pLP.js → decimal-C_LJTg2_.js} +1 -1
- package/dist/feature-D3M-bziy.js +1015 -0
- package/dist/{format-unit-display-D6tf1DHa.js → format-unit-display-BebmN2s-.js} +335 -328
- package/dist/helper/country.d.ts +1 -0
- package/dist/helper/fuzzy.d.ts +10 -0
- package/dist/index-BDEeA1dY.js +12197 -0
- package/dist/index-DzshvJTA.js +77 -0
- package/dist/{stock-CmZXXh6b.js → stock-CHVVTrSI.js} +29 -25
- package/dist/stores/feature.d.ts +7 -5
- package/dist/stores/helper/generate-backend-urls.d.ts +0 -1
- package/dist/stores/integration/index.d.ts +1 -0
- package/dist/stores/integration/netsuite.d.ts +22 -5
- package/dist/stores/inventory.d.ts +141 -8
- package/dist/stores/location.d.ts +9 -0
- package/dist/stores/stock.d.ts +5 -0
- package/dist/stores/warehouse.d.ts +5 -7
- package/dist/style.css +1 -1
- package/dist/{supplier-BVsAD8Ou.js → supplier-Ddl4sUpm.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-ingredient-select-dialog-Z6bbIKfM.js +51 -0
- package/dist/{use-inventory-binding-dialog-CqrrqmB7.js → use-inventory-binding-dialog-Dj45RBWc.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +24 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +24 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -4
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +48 -24
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +1 -1
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +36 -12
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -12
- package/dist/views/dev/components/AutocompleteTextField.vue.d.ts +2 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +3 -3
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
- package/dist/views/ingredients/composables/use-ingredient-select-dialog.d.ts +16 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
- package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +4 -1
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +427 -31
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +8 -4
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +382 -2
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +7 -4
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +18 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +867 -68
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +678 -70
- package/dist/views/receive-request/import/XilnexImportDialog.vue.d.ts +22 -0
- package/dist/views/receive-request/import/XilnexImportForm.vue.d.ts +17 -0
- package/dist/views/receive-request/import/XilnexResult.vue.d.ts +17 -0
- package/dist/views/receive-request/import/export.d.ts +12 -0
- package/dist/views/receive-request/import/props.d.ts +7 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +4 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +220 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +8 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +1 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +10 -5
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +72 -24
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +72 -24
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +305 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +10 -14
- package/dist/{vue-i18n-Mb3AM8uP.js → vue-i18n-Cak3W4nS.js} +331 -331
- package/package.json +4 -4
- package/dist/ApprovalView-DXlXet32.js +0 -138
- package/dist/ClosingDraftView-CABY9YVF.js +0 -1225
- package/dist/ClosingTemplateView-Bsd6W6id.js +0 -1819
- package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-d-Qy7I_I.js +0 -142
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CXjO-PL0.js +0 -286
- package/dist/PublishView-BQ9pqu-S.js +0 -192
- package/dist/ReceiveRequestView-Cj1g6ZzI.js +0 -1876
- package/dist/StockView-D_XXAmSl.js +0 -1817
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BLADqDM9.js +0 -1327
- package/dist/TransferTemplateView-Dy2nZRCc.js +0 -1284
- package/dist/app-DcBKHZIR.js +0 -85643
- package/dist/components/FmCustomAttribute2.vue.d.ts +0 -18
- package/dist/index-Cxi2NbBg.js +0 -29202
|
@@ -3,4 +3,5 @@ export declare const useClosingDraftApi: () => {
|
|
|
3
3
|
getDraft(id: string): Promise<FdoClosingDraft & RevisionIdMeta>;
|
|
4
4
|
readDrafts(): Promise<(FdoClosingDraft & RevisionIdMeta)[]>;
|
|
5
5
|
runOperation(operation: FdtoClosingDraftOperation): Promise<void>;
|
|
6
|
+
sync(operation: FdtoClosingDraftOperation): Promise<void>;
|
|
6
7
|
};
|
package/dist/api/inventory.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare const useInventoryApi: () => {
|
|
|
10
10
|
acceptRequest: boolean;
|
|
11
11
|
dbName: string;
|
|
12
12
|
doc: {
|
|
13
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
13
14
|
_id: string;
|
|
14
15
|
businessId: string;
|
|
15
16
|
profile: {
|
|
@@ -108,6 +109,7 @@ export declare const useInventoryApi: () => {
|
|
|
108
109
|
}[];
|
|
109
110
|
}[] | null | undefined;
|
|
110
111
|
sku?: {
|
|
112
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
111
113
|
trackingMeasurement?: string | null | undefined;
|
|
112
114
|
convert?: {
|
|
113
115
|
measurement?: string | null | undefined;
|
|
@@ -151,7 +153,6 @@ export declare const useInventoryApi: () => {
|
|
|
151
153
|
low: number;
|
|
152
154
|
mid: number;
|
|
153
155
|
} | null | undefined;
|
|
154
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
155
156
|
unit: {
|
|
156
157
|
_id: string;
|
|
157
158
|
name: string;
|
|
@@ -213,6 +214,7 @@ export declare const useInventoryApi: () => {
|
|
|
213
214
|
_id: string;
|
|
214
215
|
name: string;
|
|
215
216
|
skus: {
|
|
217
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
216
218
|
trackingMeasurement?: string | null | undefined;
|
|
217
219
|
convert?: {
|
|
218
220
|
measurement?: string | null | undefined;
|
|
@@ -256,7 +258,6 @@ export declare const useInventoryApi: () => {
|
|
|
256
258
|
low: number;
|
|
257
259
|
mid: number;
|
|
258
260
|
} | null | undefined;
|
|
259
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
260
261
|
code: string;
|
|
261
262
|
_id: string;
|
|
262
263
|
name: string;
|
|
@@ -282,6 +283,7 @@ export declare const useInventoryApi: () => {
|
|
|
282
283
|
}[];
|
|
283
284
|
}[] | null | undefined;
|
|
284
285
|
sku?: {
|
|
286
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
285
287
|
trackingMeasurement?: string | null | undefined;
|
|
286
288
|
convert?: {
|
|
287
289
|
measurement?: string | null | undefined;
|
|
@@ -325,7 +327,6 @@ export declare const useInventoryApi: () => {
|
|
|
325
327
|
low: number;
|
|
326
328
|
mid: number;
|
|
327
329
|
} | null | undefined;
|
|
328
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
329
330
|
unit: {
|
|
330
331
|
_id: string;
|
|
331
332
|
name: string;
|
|
@@ -387,6 +388,7 @@ export declare const useInventoryApi: () => {
|
|
|
387
388
|
_id: string;
|
|
388
389
|
name: string;
|
|
389
390
|
skus: {
|
|
391
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
390
392
|
trackingMeasurement?: string | null | undefined;
|
|
391
393
|
convert?: {
|
|
392
394
|
measurement?: string | null | undefined;
|
|
@@ -430,7 +432,6 @@ export declare const useInventoryApi: () => {
|
|
|
430
432
|
low: number;
|
|
431
433
|
mid: number;
|
|
432
434
|
} | null | undefined;
|
|
433
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
434
435
|
code: string;
|
|
435
436
|
_id: string;
|
|
436
437
|
name: string;
|
|
@@ -456,6 +457,7 @@ export declare const useInventoryApi: () => {
|
|
|
456
457
|
}[];
|
|
457
458
|
}[] | null | undefined;
|
|
458
459
|
sku?: {
|
|
460
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
459
461
|
trackingMeasurement?: string | null | undefined;
|
|
460
462
|
convert?: {
|
|
461
463
|
measurement?: string | null | undefined;
|
|
@@ -499,7 +501,6 @@ export declare const useInventoryApi: () => {
|
|
|
499
501
|
low: number;
|
|
500
502
|
mid: number;
|
|
501
503
|
} | null | undefined;
|
|
502
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
503
504
|
unit: {
|
|
504
505
|
_id: string;
|
|
505
506
|
name: string;
|
|
@@ -561,6 +562,7 @@ export declare const useInventoryApi: () => {
|
|
|
561
562
|
_id: string;
|
|
562
563
|
name: string;
|
|
563
564
|
skus: {
|
|
565
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
564
566
|
trackingMeasurement?: string | null | undefined;
|
|
565
567
|
convert?: {
|
|
566
568
|
measurement?: string | null | undefined;
|
|
@@ -604,7 +606,6 @@ export declare const useInventoryApi: () => {
|
|
|
604
606
|
low: number;
|
|
605
607
|
mid: number;
|
|
606
608
|
} | null | undefined;
|
|
607
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
608
609
|
code: string;
|
|
609
610
|
_id: string;
|
|
610
611
|
name: string;
|
|
@@ -613,6 +614,8 @@ export declare const useInventoryApi: () => {
|
|
|
613
614
|
updatedAt?: string | null | undefined;
|
|
614
615
|
_id: string;
|
|
615
616
|
}>>;
|
|
617
|
+
publishInventory(locationId: string): Promise<String[]>;
|
|
618
|
+
publishAllInventory(): Promise<String[]>;
|
|
616
619
|
urls: {
|
|
617
620
|
portalBackendUrl: string;
|
|
618
621
|
netSuiteBackendUrl: string;
|
package/dist/api/netsuite.d.ts
CHANGED
|
@@ -9,9 +9,13 @@ export declare const useNetSuiteApi: () => {
|
|
|
9
9
|
}[] | null | undefined;
|
|
10
10
|
_id: string;
|
|
11
11
|
items: {
|
|
12
|
+
externalId?: string | null | undefined;
|
|
13
|
+
cogsAccount?: {
|
|
14
|
+
id: string;
|
|
15
|
+
refName: string;
|
|
16
|
+
} | null | undefined;
|
|
12
17
|
pktCode?: string | null | undefined;
|
|
13
18
|
pktName?: string | null | undefined;
|
|
14
|
-
externalId?: string | null | undefined;
|
|
15
19
|
id: string;
|
|
16
20
|
netSuiteId: string;
|
|
17
21
|
unitTypeId: string;
|
|
@@ -28,9 +32,13 @@ export declare const useNetSuiteApi: () => {
|
|
|
28
32
|
subsidiaryId: string;
|
|
29
33
|
}[];
|
|
30
34
|
childItems: {
|
|
35
|
+
externalId?: string | null | undefined;
|
|
36
|
+
cogsAccount?: {
|
|
37
|
+
id: string;
|
|
38
|
+
refName: string;
|
|
39
|
+
} | null | undefined;
|
|
31
40
|
pktCode?: string | null | undefined;
|
|
32
41
|
pktName?: string | null | undefined;
|
|
33
|
-
externalId?: string | null | undefined;
|
|
34
42
|
netSuiteId: string;
|
|
35
43
|
parentNetSuiteId: string;
|
|
36
44
|
unitTypeId: string;
|
|
@@ -64,7 +72,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
64
72
|
}[];
|
|
65
73
|
realm: string;
|
|
66
74
|
}>;
|
|
67
|
-
|
|
75
|
+
getNetSuiteLocation(): Promise<any>;
|
|
76
|
+
syncPurchaseOrder(locationId: string, poId: string): Promise<{
|
|
68
77
|
accessToken?: string | null | undefined;
|
|
69
78
|
syncedAt?: string | null | undefined;
|
|
70
79
|
restlet?: {
|
|
@@ -74,9 +83,13 @@ export declare const useNetSuiteApi: () => {
|
|
|
74
83
|
}[] | null | undefined;
|
|
75
84
|
_id: string;
|
|
76
85
|
items: {
|
|
86
|
+
externalId?: string | null | undefined;
|
|
87
|
+
cogsAccount?: {
|
|
88
|
+
id: string;
|
|
89
|
+
refName: string;
|
|
90
|
+
} | null | undefined;
|
|
77
91
|
pktCode?: string | null | undefined;
|
|
78
92
|
pktName?: string | null | undefined;
|
|
79
|
-
externalId?: string | null | undefined;
|
|
80
93
|
id: string;
|
|
81
94
|
netSuiteId: string;
|
|
82
95
|
unitTypeId: string;
|
|
@@ -93,9 +106,13 @@ export declare const useNetSuiteApi: () => {
|
|
|
93
106
|
subsidiaryId: string;
|
|
94
107
|
}[];
|
|
95
108
|
childItems: {
|
|
109
|
+
externalId?: string | null | undefined;
|
|
110
|
+
cogsAccount?: {
|
|
111
|
+
id: string;
|
|
112
|
+
refName: string;
|
|
113
|
+
} | null | undefined;
|
|
96
114
|
pktCode?: string | null | undefined;
|
|
97
115
|
pktName?: string | null | undefined;
|
|
98
|
-
externalId?: string | null | undefined;
|
|
99
116
|
netSuiteId: string;
|
|
100
117
|
parentNetSuiteId: string;
|
|
101
118
|
unitTypeId: string;
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import type { WithRev } from '@/api/type';
|
|
2
|
+
export type WithToInventoryLocation = {
|
|
3
|
+
toInventoryLocation: FdoInventoryLocation;
|
|
4
|
+
};
|
|
2
5
|
export declare const usePurchaseOrderApi: () => {
|
|
3
|
-
readRequests(dbName?: string): Promise<WithRev<FdoPurchaseOrderRequest>[]>;
|
|
6
|
+
readRequests(dbName?: string): Promise<WithRev<FdoPurchaseOrderRequest & WithToInventoryLocation>[]>;
|
|
4
7
|
getPurchaseOrders({ start, end }: {
|
|
5
8
|
start: string;
|
|
6
9
|
end: string;
|
|
7
10
|
}): Promise<WithRev<FdoPurchaseOrder>[]>;
|
|
11
|
+
getLatestPurchaseOrderRequest(purchaseOrderId: FdoPurchaseOrder['_id']): Promise<FdoPurchaseOrderRequest | undefined>;
|
|
8
12
|
getPurchaseOrderById(id: FdoPurchaseOrder['_id']): Promise<WithRev<FdoPurchaseOrder>>;
|
|
9
13
|
processPurchaseOrder(dto: FdtoPurchaseOrderOperation, db?: string): Promise<WithRev<FdoPurchaseOrder>>;
|
|
14
|
+
processPurchaseOrderV2(dto: FdtoPurchaseOrderOperateV2, db?: string): Promise<WithRev<FdoPurchaseOrder>>;
|
|
10
15
|
createPurchaseOrder(purchase: FdtoCreatePurchaseOrder): Promise<WithRev<FdoPurchaseOrder>>;
|
|
11
16
|
updatePurchaseOrder(purchase: FdtoUpdatePurchaseOrder): Promise<WithRev<FdoPurchaseOrder>>;
|
|
17
|
+
importFromXilnex(payload: FdtoXilnexTransferNote): Promise<void>;
|
|
12
18
|
};
|
|
13
19
|
export declare const purchaseOrderApi: {};
|
package/dist/api/stock.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare const useStockApi: () => {
|
|
|
4
4
|
readSkuBalance(): Promise<FdoProductBalance[]>;
|
|
5
5
|
readSingleAdjustment(id: string): Promise<WithRev<FdoInventoryAdjustment> | null>;
|
|
6
6
|
readStockAdjustment(id: string, start: string, end: string): Promise<WithRev<FdoInventoryAdjustment>[]>;
|
|
7
|
+
readAdjustmentById(id: string): Promise<WithRev<FdoInventoryAdjustment>>;
|
|
7
8
|
convertSku(dto: FdtoConvertSku): Promise<any>;
|
|
8
9
|
adjustSku(dto: FdtoAdjustSkuBalance): Promise<any>;
|
|
9
10
|
recalculation: {
|