@feedmepos/mf-inventory-portal 1.5.11-dev.3 → 1.5.12-dev.0
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-t6gPmao7.js → App-ym7zoIt4.js} +4 -4
- package/dist/{ApprovalView-D4Wqhsua.js → ApprovalView-DS1cgEM3.js} +7 -7
- package/dist/{BindingsDialog-BgJ1tEto.js → BindingsDialog-pA-lQ0Qx.js} +2 -2
- package/dist/{BindingsPicker-Dc2IFjLi.js → BindingsPicker-D-lS8rtE.js} +2 -2
- package/dist/{BindingsTable-CfYp1p03.js → BindingsTable-CCG83TCM.js} +3 -3
- package/dist/{ClosingDraftView-Sc2BxLZ5.js → ClosingDraftView-BI6RvZMJ.js} +15 -15
- package/dist/{ClosingHistoryView-D8l29kr9.js → ClosingHistoryView-CzSQ7tNH.js} +5 -5
- package/dist/{ClosingTemplateView-DrzWU7be.js → ClosingTemplateView-By2oAuyO.js} +14 -14
- package/dist/{DefaultView-Do4Gc3-x.js → DefaultView-eHfv7jOS.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-Cp0TLV28.js → DeliveryOrderPrintPreview-59gPCEN9.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BJA5wTiE.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DJnbYUPk.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_1_ijOK.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BmoeRycM.js} +2 -2
- package/dist/{FmMultiselectDialog-BOSgMmVe.js → FmMultiselectDialog-BQct_7_1.js} +2 -2
- package/dist/{FmMultiselectDialog-DPvFk4GL.js → FmMultiselectDialog-y6iFhI-b.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Ex8cHZaI.js → FmUnitInput.vue_vue_type_script_setup_true_lang-5FB2Q2M7.js} +5 -5
- package/dist/{ImportView-DWK0W15d.js → ImportView-CFhTlC6A.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BFu71gqD.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang--lvhU0IL.js} +1 -1
- package/dist/{IngredientGroupView-Cn6gzOBy.js → IngredientGroupView-98vFl0cv.js} +5 -5
- package/dist/{IngredientsView-D32kZ7d3.js → IngredientsView-DOyC-80n.js} +15 -15
- package/dist/{IntegrationExplorerView-D2qnrmy6.js → IntegrationExplorerView-yqqhYVKa.js} +5 -5
- package/dist/IntegrationView-BR7yLMpk.js +5100 -0
- package/dist/{InventoryBindingForm-DoxN1NxS.js → InventoryBindingForm-TOMIZzTV.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BvdmF6fv.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CCwsG2nZ.js} +5 -5
- package/dist/{InventoryBindingSummary-Cdx5Jab9.js → InventoryBindingSummary-Kq71Npw5.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-3nIQi_k-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BpqRkOKa.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DaRgO7fj.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BXQXxebS.js} +1 -1
- package/dist/{PublishView-DzI-UU85.js → PublishView-B3iAIUeC.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CwNlIMsu.js → PurchaseOrderPrintPreview-C7BYCDq4.js} +2 -2
- package/dist/{ReceiveRequestView-D6tSWtrn.js → ReceiveRequestView-C0RZHVVz.js} +26 -26
- package/dist/{RecipeView-BDgAMk-z.js → RecipeView-CGMCm-6C.js} +17 -17
- package/dist/{SettingsView-Hf60Y0J0.js → SettingsView-Dy36ihuC.js} +4 -4
- package/dist/{StockView-1B-2Vf1V.js → StockView-DG8gGcR6.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ba_wQ5Ju.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-7jJ-_TKD.js} +1 -1
- package/dist/{SupplierView-fHcYDGFM.js → SupplierView-DkXdKVSS.js} +12 -12
- package/dist/{SurchargeView-DkL78h98.js → SurchargeView-CnQFI8Np.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-C6YVS0bk.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CjxxSwOw.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-gO_Wtu02.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CgxcV8uB.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BHKrq-iQ.js → TransferDetails.vue_vue_type_script_setup_true_lang-P4wynSco.js} +20 -20
- package/dist/TransferTemplateView-D6dO4-GT.js +2327 -0
- package/dist/{UnitCostHistoryView-CPIJwYgP.js → UnitCostHistoryView-lq-q2AHS.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DzseV5bD.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DSlyQqSb.js} +5 -5
- package/dist/{UnitView-D8CvRusr.js → UnitView-d_Imf603.js} +7 -7
- package/dist/{WarehouseView-CGOjzNX2.js → WarehouseView-61nx-AdI.js} +5 -5
- package/dist/{WastageTemplateView-wJFwncFJ.js → WastageTemplateView-CjFGIKQo.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-BW79dfel.js → app-vpgIgmf7.js} +2108 -1788
- package/dist/app.d.ts +268 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-BrVS-MpK.js → closing-template-Dq6tC4Zx.js} +1 -1
- package/dist/{date2-ClhppfDY.js → date2-Bdr9V2CH.js} +1 -1
- package/dist/{dayjs.min-DTgFIQkI.js → dayjs.min-DyMZZmIx.js} +1 -1
- package/dist/{decimal-ClPxw7qT.js → decimal-naJvMnG2.js} +2 -2
- package/dist/{defineDeepModel-Dmr5ASnP.js → defineDeepModel-33cmeIFu.js} +1 -1
- package/dist/{duplicate-template-BnJAqy44.js → duplicate-template-DSu6924D.js} +1 -1
- package/dist/{feature-BAZ0m6J0.js → feature-yi8Tnb7H.js} +2 -2
- package/dist/{format-time-from-id-CKgj656W.js → format-time-from-id-Dq0qIwbK.js} +1 -1
- package/dist/format-unit-display-dtvjecol.js +1432 -0
- package/dist/{import-export.helper-BRHo1Hi8.js → import-export.helper-DDiyb9cx.js} +6 -6
- package/dist/index-B4O6YlPQ.js +257 -0
- package/dist/{index-B5QDO_WU.js → index-B4vbL-WN.js} +9 -2
- package/dist/{index-C4Qke4jw.js → index-Dmrgz0N_.js} +1 -1
- package/dist/{inventory-core-dart.default-D7w9ZZFQ.js → inventory-core-dart.default-DzEwllSu.js} +1 -1
- package/dist/{lz-string-DLIa3ELl.js → lz-string-DECQ92Sb.js} +1 -1
- package/dist/modules/print-template/api/print-template.d.ts +1 -0
- package/dist/{netsuite-DC4pocTl.js → netsuite-CKOqNFIz.js} +2 -2
- package/dist/{number-T0uPxOq3.js → number-CwVsldWr.js} +3 -3
- package/dist/{predefined-templates-Dkk6anWi.js → predefined-templates-7P8LQiMs.js} +1 -1
- package/dist/{purchase-order-template-DWf8ItXq.js → purchase-order-template-CFGG5iZS.js} +1 -1
- package/dist/{recalculationUtils-BAYpPYM2.js → recalculationUtils-CxUnAgYt.js} +1 -1
- package/dist/{rules-wxLo26xP.js → rules-C-5mKwH6.js} +2 -2
- package/dist/{stock-Ck-zidTo.js → stock-B_XDv328.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-jOv7SNpw.js → supplier-BDDyN8pD.js} +2 -2
- package/dist/{surcharge-ujbP636S.js → surcharge-9qVO99TB.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-mz2HXBL-.js → uom-rules-2xdoSjfc.js} +1 -1
- package/dist/{use-ingredient-select-dialog-BusXVXZW.js → use-ingredient-select-dialog-BHgTuz0K.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DCRvIaOC.js → use-inventory-binding-dialog-CVpVEZ-n.js} +2 -2
- package/dist/{use-template-enabled-locations-DEzvQah6.js → use-template-enabled-locations-esKf16CY.js} +2 -2
- package/dist/{use-transfer-locations-ku-9ZBUn.js → use-transfer-locations-CMPfQCpO.js} +2 -2
- package/dist/{useHrmPermission-CEtD6BoY.js → useHrmPermission-BfjsEgXe.js} +1 -1
- package/dist/{useNavigationMenu-BTYlf6zF.js → useNavigationMenu-DQV4rPXu.js} +2 -2
- package/dist/{useSseClient-UFc2h6Hw.js → useSseClient-DyY87MX7.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/views/recipe/composables/use-recipe-bulk-editor.d.ts +3 -3
- package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorDialog.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorStep1.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorStep2.vue.d.ts +8 -0
- package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorStep3.vue.d.ts +2 -0
- package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +3225 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +4 -1
- package/dist/views/transfer-template/helpers/template-item-bulk-editor-export.d.ts +9 -0
- package/dist/{vue-i18n-B4kzuMPA.js → vue-i18n-WjLZbUYJ.js} +206 -206
- package/dist/{xlsx-lV47NWo8.js → xlsx-BoG4Nhqx.js} +398 -398
- package/dist/{xlsx.util-KjOwaQ_K.js → xlsx.util-BSJ5fdz4.js} +3 -3
- package/package.json +3 -3
- package/dist/IntegrationView-C28JHFG3.js +0 -4586
- package/dist/TransferTemplateView-BhGR0SDH.js +0 -1564
- package/dist/format-unit-display-Lbm7q5cC.js +0 -1268
- package/dist/index-C8iWZSA_.js +0 -164
package/dist/index-C8iWZSA_.js
DELETED
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import { ref as v, computed as c } from "vue";
|
|
2
|
-
import { u as p } from "./netsuite-DC4pocTl.js";
|
|
3
|
-
import { u as g, A as h, a as E, E as b } from "./app-BW79dfel.js";
|
|
4
|
-
import { useSnackbar as I } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as m } from "./feature-BAZ0m6J0.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
|
-
};
|