@feedmepos/mf-inventory-portal 1.6.0-dev.1 → 1.6.0-dev.2
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-HlUs-LF4.js → App-BWiKiRD2.js} +4 -4
- package/dist/{ApprovalView-qmRODLFE.js → ApprovalView-TFet-Rht.js} +7 -7
- package/dist/{BindingsDialog-DhSose8-.js → BindingsDialog-ByO16R7B.js} +2 -2
- package/dist/{BindingsPicker-JnvHyWiF.js → BindingsPicker-BzeipJDM.js} +2 -2
- package/dist/{BindingsTable-B8BSFIJ8.js → BindingsTable-CATRwDGx.js} +3 -3
- package/dist/{ClosingDraftView-XGq-b6Sj.js → ClosingDraftView-Bilo3C7N.js} +15 -15
- package/dist/{ClosingHistoryView-DAo8MIT2.js → ClosingHistoryView-DJEhuzBh.js} +5 -5
- package/dist/{ClosingTemplateView-DSFABll0.js → ClosingTemplateView-DTS__1eO.js} +14 -14
- package/dist/{DefaultView-B-HflwRG.js → DefaultView-Dpwvllot.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-Drn8FFa7.js → DeliveryOrderPrintPreview-BZ-BDWlS.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CK8RpMEu.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BMJVOiL_.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-P64wdK5z.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-QvgQwP6t.js} +2 -2
- package/dist/{FmMultiselectDialog-CH126sIF.js → FmMultiselectDialog-B1rAOXTC.js} +2 -2
- package/dist/{FmMultiselectDialog-CRG145W_.js → FmMultiselectDialog-W0_FfMmH.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Dg0alt69.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DNpKzzVC.js} +5 -5
- package/dist/{ImportView-Ca1QPSKV.js → ImportView-B_3OeL5b.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CoFavJB9.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CdNdnCp-.js} +1 -1
- package/dist/{IngredientGroupView-BfBtqgnZ.js → IngredientGroupView-B_v-UNeR.js} +5 -5
- package/dist/{IngredientsView-WzM4VxgZ.js → IngredientsView-DTXevc-8.js} +15 -15
- package/dist/{IntegrationExplorerView-OwTTR-uV.js → IntegrationExplorerView-C6JUipFs.js} +5 -5
- package/dist/IntegrationView-DX4hhKYv.js +5100 -0
- package/dist/{InventoryBindingForm-Cs-8ACDl.js → InventoryBindingForm-BpNKhiGF.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dm9Nna0r.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BWy-YpCv.js} +5 -5
- package/dist/{InventoryBindingSummary-BbhIvkwv.js → InventoryBindingSummary-BL4AkZY3.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Ci0Wx2Gl.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DURnZteR.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BLOC3W1b.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BR0Hc9cL.js} +1 -1
- package/dist/{PublishView-CUNDP20R.js → PublishView-CELngZXP.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-oUPrrGvK.js → PurchaseOrderPrintPreview-HCGMQWdo.js} +2 -2
- package/dist/{ReceiveRequestView-CxcE8Azw.js → ReceiveRequestView-DfrpsGeI.js} +26 -26
- package/dist/{RecipeView-CdN4CJal.js → RecipeView-DCrrdrhp.js} +17 -17
- package/dist/{SettingsView-B5QKC4i7.js → SettingsView-CHoDkUIF.js} +4 -4
- package/dist/{StockView-By0MuX62.js → StockView-DlP1-pbq.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C7Elh3p_.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-NZcNoQ6u.js} +1 -1
- package/dist/{SupplierView-apsm42Mq.js → SupplierView-DqQbgLqh.js} +12 -12
- package/dist/{SurchargeView-B-G77ghZ.js → SurchargeView-CtlXOPJ3.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DlhMQg5r.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BRrHPAJj.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CmYIHCe2.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bw3UN_Zn.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-24nRAago.js → TransferDetails.vue_vue_type_script_setup_true_lang-atZZPJBf.js} +20 -20
- package/dist/{TransferTemplateView-BBIIu12F.js → TransferTemplateView-Dl0k38tD.js} +20 -20
- package/dist/{UnitCostHistoryView-CG-6grmh.js → UnitCostHistoryView-Dh-yAgvG.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DtmY7fLw.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-FqnqY9bU.js} +5 -5
- package/dist/{UnitView-CIrL8HXK.js → UnitView-D5Zvz2xm.js} +7 -7
- package/dist/{WarehouseView-Bvd72APe.js → WarehouseView-s5g9AQq5.js} +5 -5
- package/dist/{WastageTemplateView-DHej2xrY.js → WastageTemplateView-XzJSsB29.js} +14 -14
- package/dist/api/codemax.d.ts +11 -0
- package/dist/api/inventory.d.ts +1 -0
- package/dist/api/netsuite.d.ts +5 -4
- package/dist/api/surcharge.d.ts +1 -0
- package/dist/{app-BCF9ZpO-.js → app-D-l9FM2n.js} +3100 -3028
- package/dist/app.d.ts +20 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-CIuRAYD3.js → closing-template-C56_2aLc.js} +1 -1
- package/dist/{date2-DJVh7XJh.js → date2-CRMgo5NH.js} +1 -1
- package/dist/{dayjs.min-HcfNNaXG.js → dayjs.min-9bo3vPqj.js} +1 -1
- package/dist/{decimal-BZ-WtkK6.js → decimal-CsE7mms2.js} +2 -2
- package/dist/{defineDeepModel-D06G28ot.js → defineDeepModel-DDX70CM6.js} +1 -1
- package/dist/{duplicate-template-y-uKyjAx.js → duplicate-template-BrEOP-1V.js} +1 -1
- package/dist/{feature-DW0OW8Zl.js → feature-Bl6yUhw_.js} +2 -2
- package/dist/{format-time-from-id-CrGnGtJV.js → format-time-from-id-BuMdYlM9.js} +1 -1
- package/dist/{format-unit-display-DVEnGOV-.js → format-unit-display-CMfuvGP6.js} +12 -12
- package/dist/{import-export.helper-CPoS7Xw2.js → import-export.helper-C9F9d-rh.js} +6 -6
- package/dist/{index-BSLoykmu.js → index-BcOtIfdU.js} +1 -1
- package/dist/index-BdSVteJV.js +257 -0
- package/dist/{index-BAI_qEVG.js → index-cbmIhZ6F.js} +1 -1
- package/dist/{inventory-core-dart.default-B8GRBHwH.js → inventory-core-dart.default-DewosGoK.js} +1 -1
- package/dist/{lz-string-DllDsJgA.js → lz-string-Ye-dLAix.js} +1 -1
- package/dist/modules/print-template/api/print-template.d.ts +1 -0
- package/dist/{netsuite-BdXvv_AI.js → netsuite-Dyw1JtQL.js} +2 -2
- package/dist/{number-fWsZU3Us.js → number-YiCgPFTE.js} +3 -3
- package/dist/{predefined-templates-C-9FNSkn.js → predefined-templates-B0Eto9Jx.js} +1 -1
- package/dist/{purchase-order-template-DDMRkK1M.js → purchase-order-template-zHPLRQDQ.js} +1 -1
- package/dist/{recalculationUtils-17E1-6g0.js → recalculationUtils-DZLZlctO.js} +1 -1
- package/dist/{rules-clVHbjpg.js → rules-BsVkaxL5.js} +2 -2
- package/dist/{stock-ZvR0DmAv.js → stock-DlQopDTl.js} +1 -1
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/integration/codemax.d.ts +432 -0
- package/dist/stores/integration/index.d.ts +4 -1
- package/dist/{supplier-BnYLExem.js → supplier-UPX_1aFs.js} +2 -2
- package/dist/{surcharge-CYjKFXbG.js → surcharge-DO3-kAit.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-C_eQhUkx.js → uom-rules-DbhFLCUC.js} +1 -1
- package/dist/{use-ingredient-select-dialog-ClGmxwFU.js → use-ingredient-select-dialog-BASkk3-u.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CpKdIwMo.js → use-inventory-binding-dialog-DTc48xUU.js} +2 -2
- package/dist/{use-template-enabled-locations-deP7LXci.js → use-template-enabled-locations-gwYjb6_p.js} +2 -2
- package/dist/{use-transfer-locations-D3nYdH_3.js → use-transfer-locations-BJ0xIECi.js} +2 -2
- package/dist/{useHrmPermission-CMTlJ6AP.js → useHrmPermission-G4mfvYF8.js} +1 -1
- package/dist/{useNavigationMenu-BxATo1IC.js → useNavigationMenu-Be-99JmQ.js} +2 -2
- package/dist/{useSseClient-CGJVJAXa.js → useSseClient-D1h38l_K.js} +3 -3
- package/dist/views/integration/Codemax.vue.d.ts +2 -0
- package/dist/views/integration/components/ApplyProductCodemax.vue.d.ts +341 -0
- package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +298 -0
- package/dist/views/integration/components/ApplyProductDialogPropsCodemax.d.ts +17 -0
- package/dist/views/integration/components/CodemaxDialog.vue.d.ts +519 -0
- package/dist/{vue-i18n-DCgzd-Rs.js → vue-i18n-fX3C6wjd.js} +282 -282
- package/dist/{xlsx-Cy0iFCJQ.js → xlsx-BsL1DoEA.js} +398 -398
- package/dist/{xlsx.util-D8wvUM2Y.js → xlsx.util-D_XTOHMv.js} +3 -3
- package/package.json +2 -2
- package/dist/IntegrationView-DYAGDE0m.js +0 -4586
- package/dist/index-BF_ER6cD.js +0 -164
package/dist/index-BF_ER6cD.js
DELETED
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import { ref as v, computed as c } from "vue";
|
|
2
|
-
import { u as p } from "./netsuite-BdXvv_AI.js";
|
|
3
|
-
import { u as g, A as h, a as E, E as b } from "./app-BCF9ZpO-.js";
|
|
4
|
-
import { useSnackbar as I } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as m } from "./feature-DW0OW8Zl.js";
|
|
6
|
-
function C() {
|
|
7
|
-
return {
|
|
8
|
-
setting: {
|
|
9
|
-
_id: "",
|
|
10
|
-
enable: !1,
|
|
11
|
-
bindings: [],
|
|
12
|
-
uniqueCode: "",
|
|
13
|
-
branchCode: "",
|
|
14
|
-
server: {
|
|
15
|
-
password: "",
|
|
16
|
-
host: "",
|
|
17
|
-
username: "",
|
|
18
|
-
port: "",
|
|
19
|
-
directory: ""
|
|
20
|
-
},
|
|
21
|
-
histories: [],
|
|
22
|
-
modifiers: [],
|
|
23
|
-
exportAsJson: !1
|
|
24
|
-
},
|
|
25
|
-
menu: [],
|
|
26
|
-
group: [],
|
|
27
|
-
variants: [],
|
|
28
|
-
categories: []
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
const i = v(C());
|
|
32
|
-
function w() {
|
|
33
|
-
return {
|
|
34
|
-
// state
|
|
35
|
-
get isEnabled() {
|
|
36
|
-
return i.value.setting.enable;
|
|
37
|
-
},
|
|
38
|
-
get isBusinessLocation() {
|
|
39
|
-
return g().businessLevel;
|
|
40
|
-
},
|
|
41
|
-
get state() {
|
|
42
|
-
return i.value;
|
|
43
|
-
},
|
|
44
|
-
async init() {
|
|
45
|
-
var e, t, n, d;
|
|
46
|
-
const o = h(), a = E();
|
|
47
|
-
try {
|
|
48
|
-
const r = await a.readCachedMenu();
|
|
49
|
-
i.value.menu = ((e = r.modules) == null ? void 0 : e.item) ?? [], i.value.group = ((t = r.modules) == null ? void 0 : t.group) ?? [], i.value.variants = ((n = r.modules) == null ? void 0 : n.variant) ?? [];
|
|
50
|
-
const f = (((d = r.modules) == null ? void 0 : d.category) ?? []).map((s) => ({
|
|
51
|
-
...s,
|
|
52
|
-
_id: s._id === void 0 ? null : s._id
|
|
53
|
-
}));
|
|
54
|
-
i.value.categories = f, i.value.setting = await o.readSetting();
|
|
55
|
-
} catch (r) {
|
|
56
|
-
I().open({
|
|
57
|
-
title: "Something went wrong",
|
|
58
|
-
message: "Cannot fetch integration info. Please try again.",
|
|
59
|
-
type: "error"
|
|
60
|
-
}), console.error("Error at fetching integration info", r);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
function S() {
|
|
66
|
-
return {
|
|
67
|
-
locationId: ""
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
const l = v(S());
|
|
71
|
-
function x() {
|
|
72
|
-
const o = g(), a = b();
|
|
73
|
-
return o.watchLocation(async (e) => {
|
|
74
|
-
if (m().enabledXilnexOpeningMigration) {
|
|
75
|
-
if (!e) {
|
|
76
|
-
l.value = S();
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
|
-
l.value.locationId = e.dbName;
|
|
80
|
-
const n = await a.readLastClosing(e.dbName);
|
|
81
|
-
n ? l.value.closingDocumentId = n._id : l.value.closingDocumentId = "";
|
|
82
|
-
}
|
|
83
|
-
}), {
|
|
84
|
-
get isEnabled() {
|
|
85
|
-
const e = m();
|
|
86
|
-
return c(() => e.enabledXilnexOpeningMigration).value;
|
|
87
|
-
},
|
|
88
|
-
get state() {
|
|
89
|
-
return l.value;
|
|
90
|
-
},
|
|
91
|
-
async fetchClosingDocumentId() {
|
|
92
|
-
const e = g(), t = await a.readLastClosing(e.currentLocationDBName);
|
|
93
|
-
t ? l.value.closingDocumentId = t._id : l.value.closingDocumentId = "";
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
function y() {
|
|
98
|
-
return {
|
|
99
|
-
locationId: ""
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
const u = v(y());
|
|
103
|
-
function D() {
|
|
104
|
-
const o = g(), a = b();
|
|
105
|
-
return o.watchLocation(async (e) => {
|
|
106
|
-
if (m()) {
|
|
107
|
-
if (!e) {
|
|
108
|
-
u.value = y();
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
u.value.locationId = e.dbName;
|
|
112
|
-
const n = await a.readLastClosing(e.dbName);
|
|
113
|
-
n ? u.value.closingDocumentId = n._id : u.value.closingDocumentId = "";
|
|
114
|
-
}
|
|
115
|
-
}), {
|
|
116
|
-
get isEnabled() {
|
|
117
|
-
const e = m();
|
|
118
|
-
return c(() => e.enabledSynergyOpeningMigration).value;
|
|
119
|
-
},
|
|
120
|
-
get state() {
|
|
121
|
-
return u.value;
|
|
122
|
-
},
|
|
123
|
-
async fetchClosingDocumentId() {
|
|
124
|
-
const e = g(), t = await a.readLastClosing(e.currentLocationDBName);
|
|
125
|
-
t ? u.value.closingDocumentId = t._id : u.value.closingDocumentId = "";
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
function A() {
|
|
130
|
-
const o = p(), a = w(), e = x(), t = D(), n = c(() => o.isEnabled), d = c(() => a.isEnabled), r = c(() => e.isEnabled), f = c(() => t.isEnabled);
|
|
131
|
-
return {
|
|
132
|
-
get enabledIntegrations() {
|
|
133
|
-
return [
|
|
134
|
-
n.value,
|
|
135
|
-
d.value,
|
|
136
|
-
r.value,
|
|
137
|
-
f.value
|
|
138
|
-
].filter((s) => s).length;
|
|
139
|
-
},
|
|
140
|
-
get isNetSuiteEnabled() {
|
|
141
|
-
return n.value;
|
|
142
|
-
},
|
|
143
|
-
async fetchFoodMarketHubSetting() {
|
|
144
|
-
try {
|
|
145
|
-
await a.init();
|
|
146
|
-
} catch (s) {
|
|
147
|
-
console.error("Error fetching FoodMarketHub setting:", s);
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
async fetchNetSuiteSetting() {
|
|
151
|
-
try {
|
|
152
|
-
await o.readSetting();
|
|
153
|
-
} catch (s) {
|
|
154
|
-
console.error("Error fetching NetSuite setting:", s);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
export {
|
|
160
|
-
x as a,
|
|
161
|
-
D as b,
|
|
162
|
-
A as c,
|
|
163
|
-
w as u
|
|
164
|
-
};
|