@feedmepos/mf-inventory-portal 1.2.7-dev.3 → 1.2.7-dev.4
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-JINYgYlH.js → App-C36fMhxq.js} +1 -1
- package/dist/{ApprovalView-BOVW2i8o.js → ApprovalView-BK-UXBwv.js} +26 -26
- package/dist/{BindingsDialog-BKGLpdd-.js → BindingsDialog-C5ry8Cg7.js} +2 -2
- package/dist/{BindingsPicker-Tml6Oxod.js → BindingsPicker-D1lrIB-Y.js} +1 -1
- package/dist/{BindingsTable-DixFHTyC.js → BindingsTable-CoWyge2-.js} +1 -1
- package/dist/{ClosingDraftView-nYSugXo0.js → ClosingDraftView-FFi85ylu.js} +203 -203
- package/dist/{ClosingTemplateView-C-gfh6s5.js → ClosingTemplateView-BvSH7TM0.js} +53 -53
- package/dist/{DeliveryOrderPrintPreview-BM9ZkrEw.js → DeliveryOrderPrintPreview-BVVWnadB.js} +9 -9
- package/dist/{FmAdminBadge-CiWXN0lw.js → FmAdminBadge-DtBVrN_M.js} +6 -6
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dn_c22ms.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CSigrMC2.js} +21 -21
- package/dist/{FmMultiselectDialog-Bvekm8TI.js → FmMultiselectDialog-Df50mxnw.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D62ZdWwZ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CdSQVfaU.js} +27 -27
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BudJCuVV.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-A7Pgq3Sl.js} +1 -1
- package/dist/{IngredientGroupView-DTQzZBKp.js → IngredientGroupView-BVM3Um9Z.js} +12 -12
- package/dist/IngredientsView-75ahXQeJ.js +2271 -0
- package/dist/{IntegrationView-CN6amPy_.js → IntegrationView-DEUOEn_W.js} +84 -84
- package/dist/{InventoryBindingForm-Dl9n2GJn.js → InventoryBindingForm-C2HvBwlT.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-4N9XvkmZ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CXJSFCLP.js} +41 -41
- package/dist/{InventoryBindingSummary-eAPN3X_L.js → InventoryBindingSummary-B-V9QkyH.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CSp3zFJ3.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BELqcyvD.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D2L9cWwt.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BBE5_txM.js} +5 -5
- package/dist/{PublishView-BzN2wu_M.js → PublishView-DKkCs9F8.js} +17 -17
- package/dist/{PurchaseOrderPrintPreview-BR40N-ew.js → PurchaseOrderPrintPreview-BvFR-uQk.js} +9 -9
- package/dist/{ReceiveRequestView-DtYFO3Wi.js → ReceiveRequestView-BIrBMqdY.js} +80 -80
- package/dist/{RecipeView-DlK-VV0_.js → RecipeView-CI_Tec4J.js} +49 -49
- package/dist/{StockView-B4acF5it.js → StockView-Bx3lqHZg.js} +327 -327
- package/dist/{SupplierView-Cs8-A2B0.js → SupplierView-BT2aZGQE.js} +1103 -1016
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Dzm9Q3SP.js → TransferDetails.vue_vue_type_script_setup_true_lang-DWdnLRCB.js} +6 -6
- package/dist/{TransferTemplateView-DlzKEqem.js → TransferTemplateView-DQtlCFze.js} +88 -87
- package/dist/{UnitView-BsYiE8aM.js → UnitView-h61yFjgP.js} +59 -59
- package/dist/{WarehouseView-DIW3iPB6.js → WarehouseView-I8GqyD2C.js} +25 -25
- package/dist/api/netsuite.d.ts +3 -0
- package/dist/api/purchase-order-template.d.ts +1 -0
- package/dist/{app-Bszzf6y-.js → app-CxSrmhCK.js} +3107 -3010
- package/dist/app.d.ts +57 -0
- package/dist/app.js +3 -3
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +9 -2
- package/dist/components/SubsidiaryTreeDialog.vue.d.ts +2 -0
- package/dist/{decimal-BoNXDQoB.js → decimal-DpfcXNky.js} +1 -1
- package/dist/{format-unit-display-Dbabkv1O.js → format-unit-display-xov4MvuI.js} +368 -400
- package/dist/{index-DlhdJ3A4.js → index-B4hWNXtZ.js} +1 -1
- package/dist/{index-Dk2QEFDL.js → index-CwzV_5fz.js} +1 -1
- package/dist/purchase-order-template-DkBl6qMP.js +41 -0
- package/dist/{stock-BXV3de2I.js → stock-Nt176YY7.js} +1 -1
- package/dist/stores/integration/netsuite.d.ts +10 -0
- package/dist/{supplier-CKKYVzDf.js → supplier-B7gAUwhb.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-DEmxBaQb.js → use-ingredient-select-dialog-9HkEvXXS.js} +5 -5
- package/dist/{use-inventory-binding-dialog-DCN0J-F8.js → use-inventory-binding-dialog-pSVgqxMM.js} +8 -8
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +16 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +4 -0
- package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +2 -0
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -0
- package/package.json +2 -2
- package/dist/IngredientsView-DOUCnkCT.js +0 -1886
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as b, computed as u } from "vue";
|
|
2
|
-
import { u as d,
|
|
2
|
+
import { u as d, b4 as p, aW as v, c as m, b as h } from "./app-CxSrmhCK.js";
|
|
3
3
|
import { useSnackbar as E } from "@feedmepos/ui-library";
|
|
4
4
|
function I() {
|
|
5
5
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b3 as x, ba as V, bb as q, bc as Re, bd as cl, be as sr, bf as Lt, bg as fl, bh as $l } from "./app-CxSrmhCK.js";
|
|
2
2
|
function vl(t, e) {
|
|
3
3
|
for (var r = 0; r < e.length; r++) {
|
|
4
4
|
const n = e[r];
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { a6 as s } from "./app-CxSrmhCK.js";
|
|
2
|
+
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
3
|
+
const u = s((n, a) => {
|
|
4
|
+
function o() {
|
|
5
|
+
var t;
|
|
6
|
+
return `business_${((t = c().currentBusiness.value) == null ? void 0 : t._id) ?? ""}`;
|
|
7
|
+
}
|
|
8
|
+
return {
|
|
9
|
+
async getTemplate(e) {
|
|
10
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template/${e}`;
|
|
11
|
+
return a.get(t);
|
|
12
|
+
},
|
|
13
|
+
async getTemplateBySupplierId(e) {
|
|
14
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template?supplierId=${e}`;
|
|
15
|
+
return a.get(t);
|
|
16
|
+
},
|
|
17
|
+
async readTemplates() {
|
|
18
|
+
const e = o(), r = `${n.inventoryBackendUrl}/${e}/purchase-order-template`;
|
|
19
|
+
return a.get(r);
|
|
20
|
+
},
|
|
21
|
+
async createTemplate(e) {
|
|
22
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template`;
|
|
23
|
+
return a.post(t, e);
|
|
24
|
+
},
|
|
25
|
+
async updateTemplate(e) {
|
|
26
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template`;
|
|
27
|
+
return a.put(t, e);
|
|
28
|
+
},
|
|
29
|
+
async deleteTemplate(e) {
|
|
30
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template`;
|
|
31
|
+
return a.delete(t, { _id: e._id, _rev: e._rev });
|
|
32
|
+
},
|
|
33
|
+
async importTemplates(e) {
|
|
34
|
+
const r = o(), t = `${n.inventoryBackendUrl}/${r}/purchase-order-template/import`;
|
|
35
|
+
return a.post(t, e);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
u
|
|
41
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a6 as m, u as k, a as l, ax as B, Z as p } from "./app-CxSrmhCK.js";
|
|
2
2
|
import { useCoreStore as v } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as $ } from "@feedmepos/ui-library";
|
|
4
4
|
import { ref as y, computed as b } from "vue";
|
|
@@ -20,7 +20,9 @@ interface NetSuiteSettingOption {
|
|
|
20
20
|
}
|
|
21
21
|
export interface NetSuiteState {
|
|
22
22
|
setting: Omit<FdoNetSuiteSetting, 'realm' | 'accessToken'>;
|
|
23
|
+
businessSubsidiaryName: string;
|
|
23
24
|
vendorSubsidiary: Record<string, string>;
|
|
25
|
+
skuSubsidiary: Record<string, string>;
|
|
24
26
|
isReady: boolean;
|
|
25
27
|
skuOptions: Record<string, NetSuiteSettingOption>;
|
|
26
28
|
}
|
|
@@ -40,6 +42,8 @@ export declare function useNetSuiteStore(): {
|
|
|
40
42
|
readonly isReady: boolean;
|
|
41
43
|
readonly isEnabled: boolean;
|
|
42
44
|
readonly isBusinessLocation: boolean;
|
|
45
|
+
readonly businessSubsidiaryId: string | null | undefined;
|
|
46
|
+
readonly businessSubsidiaryName: string;
|
|
43
47
|
readonly state: {
|
|
44
48
|
setting: {
|
|
45
49
|
_id: string;
|
|
@@ -60,6 +64,7 @@ export declare function useNetSuiteStore(): {
|
|
|
60
64
|
subsidiaryIds: string[];
|
|
61
65
|
includeChildren: boolean;
|
|
62
66
|
}[];
|
|
67
|
+
subsidiaryId?: string | null | undefined;
|
|
63
68
|
syncedAt?: string | null | undefined;
|
|
64
69
|
restlet?: {
|
|
65
70
|
type: "createItemReceipt" | "retrieveRecordInfo";
|
|
@@ -114,7 +119,9 @@ export declare function useNetSuiteStore(): {
|
|
|
114
119
|
subsidiaryId: string;
|
|
115
120
|
}[];
|
|
116
121
|
};
|
|
122
|
+
businessSubsidiaryName: string;
|
|
117
123
|
vendorSubsidiary: Record<string, string>;
|
|
124
|
+
skuSubsidiary: Record<string, string>;
|
|
118
125
|
isReady: boolean;
|
|
119
126
|
skuOptions: Record<string, NetSuiteSettingOption>;
|
|
120
127
|
};
|
|
@@ -238,6 +245,8 @@ export declare function useNetSuiteStore(): {
|
|
|
238
245
|
label: string;
|
|
239
246
|
value: FdoPurchaseOrderSubsidiaryNetSuiteSetting;
|
|
240
247
|
}[];
|
|
248
|
+
getBusinessSubsidiaryTree(): FdoNetSuiteSubsidiaryWithChildren[];
|
|
249
|
+
getBusinessSubsidiaryPath(): string[];
|
|
241
250
|
getAvailableItems(subsidiaryId?: string | null): string[];
|
|
242
251
|
getAvailableMeasurements(skuId: string, subsidiaryId?: string | null): string[];
|
|
243
252
|
readSetting(): Promise<void>;
|
|
@@ -247,6 +256,7 @@ export declare function useNetSuiteStore(): {
|
|
|
247
256
|
}>): Promise<any>;
|
|
248
257
|
getNetSuiteLocations(): Promise<any>;
|
|
249
258
|
getVendorSubsidiaryName(supplierId: string): string;
|
|
259
|
+
getSkuSubsidiaryName(skuId: string): string;
|
|
250
260
|
syncPurchaseOrder(poId: string, locationDb?: string): Promise<void>;
|
|
251
261
|
getItemCustomCode(sku: FdoInventorySku, measurementId?: string | null): string | null;
|
|
252
262
|
getNetSuiteLocationOptions(): Promise<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a6 as m, u, c as b, C as w, ay as v, az as $ } from "./app-CxSrmhCK.js";
|
|
2
2
|
import { useCoreStore as c } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as A } from "pinia";
|
|
4
4
|
import { ref as l, computed as d } from "vue";
|