@feedmepos/mf-inventory-portal 0.0.23-dev.4 → 0.0.23-dev.5
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-DReDvY0M.js → App-FsTwD8n6.js} +3 -3
- package/dist/{ApprovalView-BMZlYmRk.js → ApprovalView-BXPFwc54.js} +4 -4
- package/dist/{BindingsDialog-Y2K4I7H7.js → BindingsDialog-CHkMKliu.js} +2 -2
- package/dist/{BindingsPicker-DKBq9c37.js → BindingsPicker-D12ragAp.js} +2 -2
- package/dist/{BindingsTable-45v4SDfp.js → BindingsTable-COag_o6k.js} +4 -4
- package/dist/{ClosingTemplateView-CKJVYSbj.js → ClosingTemplateView-D8jKBDLt.js} +10 -10
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CMEOp-0r.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BQtdWZI5.js} +4 -4
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BhdcqRh-.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-RNrM3eSt.js} +2 -2
- package/dist/{FmMultiselectDialog-D7YtdoyJ.js → FmMultiselectDialog-BQVgChfN.js} +3 -3
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C1DjyjyH.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DECE_vKa.js} +2 -2
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-zjvFEF5C.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BUy5XAra.js} +1 -1
- package/dist/{IngredientGroupView-BuP-HGeg.js → IngredientGroupView-C5W6TKVb.js} +5 -5
- package/dist/IngredientsView-DS18EGAg.js +1665 -0
- package/dist/{IntegrationView-kYCaKG0o.js → IntegrationView-BCXq5C_i.js} +4 -4
- package/dist/{InventoryBindingForm-BXHq4h-n.js → InventoryBindingForm-D2oUHybU.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CVxJ_bV3.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Do_WCGzA.js} +5 -5
- package/dist/{InventoryBindingSummary-Bjasfc_v.js → InventoryBindingSummary-CTzl--8n.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DM0C4raP.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CrdZrQaL.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C3O3JebE.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Ce01_vRB.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-CmjkfTTS.js → PurchaseOrderPrintPreview-C_cUNqE4.js} +1 -1
- package/dist/{ReceiveRequestView-aQZJO8sq.js → ReceiveRequestView-iKUSCnjc.js} +18 -18
- package/dist/{RecipeView-DXO43tFi.js → RecipeView-9jSzsC2o.js} +7 -7
- package/dist/{StockView-D9no-mrA.js → StockView-CkLx8c-q.js} +12 -12
- package/dist/{SupplierView-DAx7E7sR.js → SupplierView-zo_pVaja.js} +463 -461
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DCA0RUfu.js → TransferDetails.vue_vue_type_script_setup_true_lang-DVkVNrNG.js} +9 -9
- package/dist/{TransferTemplateView-CfxdQF1t.js → TransferTemplateView-CkJs2zmu.js} +13 -13
- package/dist/{UnitView-CQPGZ8-r.js → UnitView-DdUCn3QX.js} +5 -5
- package/dist/{WarehouseView-jy-RNCgy.js → WarehouseView-BSKKIUlu.js} +4 -4
- package/dist/{app-KnSMkJBV.js → app-CVmmRPWd.js} +8 -8
- package/dist/app.js +1 -1
- package/dist/{date2-CIeUqUIc.js → date2-B8or025L.js} +1 -1
- package/dist/{dayjs.min-Df5jSnDJ.js → dayjs.min-CIK0S4n6.js} +1 -1
- package/dist/{decimal-BAc9M88Q.js → decimal-DnON7sYp.js} +1 -1
- package/dist/{defineDeepModel-BfuQAIoM.js → defineDeepModel-ZvHrR7G4.js} +1 -1
- package/dist/{feature-dwB4OxRQ.js → feature-CfLuWtSb.js} +12 -6
- package/dist/{format-time-from-id-BbvzyIN6.js → format-time-from-id-DgZIvkJL.js} +1 -1
- package/dist/{format-unit-display-BBWblJEt.js → format-unit-display-BL51mLWH.js} +8 -8
- package/dist/{fuzzy-B9ryZ9VZ.js → fuzzy-BrZpb26S.js} +1 -1
- package/dist/{index-C4yL_7rR.js → index-20AY5LL4.js} +1 -1
- package/dist/{index-Bj1fJum-.js → index-BHBzUsyp.js} +1 -1
- package/dist/{index-BN0CY3sZ.js → index-Cgi2fvdH.js} +27 -21
- package/dist/netsuite-C6f_DtMT.js +224 -0
- package/dist/{rules-C12nWDD1.js → rules-CyLD3MFT.js} +3 -2
- package/dist/stores/feature.d.ts +1 -0
- package/dist/stores/integration/netsuite.d.ts +67 -0
- package/dist/{supplier-DJC0UZWv.js → supplier-pYrSAyO6.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-PEQbFRvO.js → use-inventory-binding-dialog-BRfRiwVk.js} +2 -2
- package/dist/{use-template-enabled-locations-2-k9g5t8tt.js → use-template-enabled-locations-2-BFm4_EuV.js} +2 -2
- package/dist/{xlsx-B4XHad7S.js → xlsx-BFsAkixf.js} +1 -1
- package/dist/{xlsx.util-BSO4SHJi.js → xlsx.util-ClkX4qFH.js} +1 -1
- package/package.json +3 -3
- package/dist/IngredientsView-DMRN-odY.js +0 -1613
- package/dist/netsuite-ByWOS6tI.js +0 -194
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as s } from "./index-
|
|
2
|
-
import { c as d, a as b } from "./date2-
|
|
1
|
+
import { F as s } from "./index-Cgi2fvdH.js";
|
|
2
|
+
import { c as d, a as b } from "./date2-B8or025L.js";
|
|
3
3
|
function P(t, n) {
|
|
4
4
|
return s.convertPrecision({
|
|
5
5
|
value: t,
|
|
@@ -31,6 +31,7 @@ function F(t, n) {
|
|
|
31
31
|
return t.precision >= n ? t : s.convertPrecision({ value: t, precision: n });
|
|
32
32
|
}
|
|
33
33
|
function h(t) {
|
|
34
|
+
if (t.amount === 0) return c(0);
|
|
34
35
|
const n = a(t.amount), r = t.precision - n;
|
|
35
36
|
return s.convertPrecision({ value: t, precision: Math.max(0, r) });
|
|
36
37
|
}
|
package/dist/stores/feature.d.ts
CHANGED
|
@@ -76,6 +76,73 @@ export declare function useNetSuiteStore(): {
|
|
|
76
76
|
};
|
|
77
77
|
readonly netSuiteItemIdToSkuId: Map<unknown, [string, ...string[]]>;
|
|
78
78
|
readonly netSuiteMeasurementIdToMeasurementId: Map<unknown, [string, ...string[]]>;
|
|
79
|
+
readonly netSuiteItemBySkuId: Map<unknown, [{
|
|
80
|
+
pktCode?: string | null | undefined;
|
|
81
|
+
pktName?: string | null | undefined;
|
|
82
|
+
externalId?: string | null | undefined;
|
|
83
|
+
id: string;
|
|
84
|
+
netSuiteId: string;
|
|
85
|
+
unitTypeId: string;
|
|
86
|
+
unitOfMeasureId: string;
|
|
87
|
+
subsidiaryIds: string[];
|
|
88
|
+
includeChildren: boolean;
|
|
89
|
+
}, ...{
|
|
90
|
+
pktCode?: string | null | undefined;
|
|
91
|
+
pktName?: string | null | undefined;
|
|
92
|
+
externalId?: string | null | undefined;
|
|
93
|
+
id: string;
|
|
94
|
+
netSuiteId: string;
|
|
95
|
+
unitTypeId: string;
|
|
96
|
+
unitOfMeasureId: string;
|
|
97
|
+
subsidiaryIds: string[];
|
|
98
|
+
includeChildren: boolean;
|
|
99
|
+
}[]]>;
|
|
100
|
+
readonly unitByNetsuiteId: Map<unknown, [{
|
|
101
|
+
_id: string;
|
|
102
|
+
name: string;
|
|
103
|
+
abbrev: string;
|
|
104
|
+
precision: number;
|
|
105
|
+
measurements: {
|
|
106
|
+
id: string;
|
|
107
|
+
name: string;
|
|
108
|
+
abbrev: string;
|
|
109
|
+
conversion: {
|
|
110
|
+
amount: number;
|
|
111
|
+
precision: number;
|
|
112
|
+
};
|
|
113
|
+
}[];
|
|
114
|
+
}, ...{
|
|
115
|
+
_id: string;
|
|
116
|
+
name: string;
|
|
117
|
+
abbrev: string;
|
|
118
|
+
precision: number;
|
|
119
|
+
measurements: {
|
|
120
|
+
id: string;
|
|
121
|
+
name: string;
|
|
122
|
+
abbrev: string;
|
|
123
|
+
conversion: {
|
|
124
|
+
amount: number;
|
|
125
|
+
precision: number;
|
|
126
|
+
};
|
|
127
|
+
}[];
|
|
128
|
+
}[]]>;
|
|
129
|
+
readonly measurementByNetsuiteId: Map<unknown, [{
|
|
130
|
+
id: string;
|
|
131
|
+
name: string;
|
|
132
|
+
abbrev: string;
|
|
133
|
+
conversion: {
|
|
134
|
+
amount: number;
|
|
135
|
+
precision: number;
|
|
136
|
+
};
|
|
137
|
+
} | undefined, ...({
|
|
138
|
+
id: string;
|
|
139
|
+
name: string;
|
|
140
|
+
abbrev: string;
|
|
141
|
+
conversion: {
|
|
142
|
+
amount: number;
|
|
143
|
+
precision: number;
|
|
144
|
+
};
|
|
145
|
+
} | undefined)[]]>;
|
|
79
146
|
getNetSuiteVendor(supplierId: string): FdoNetSuiteVendor | undefined;
|
|
80
147
|
getNetSuiteLocation(locationId: string): FdoNetSuiteLocation | undefined;
|
|
81
148
|
getLocationSubsidiary(netSuiteLocationId?: string | null): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as m, u, i as y, p as b, q as v } from "./app-
|
|
1
|
+
import { j as m, u, i as y, p as b, q as v } from "./app-CVmmRPWd.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";
|