@feedmepos/mf-inventory-portal 1.0.5 → 1.0.7-dev.1
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-BC040Les.js → App-zspCOQeF.js} +50 -49
- package/dist/{ApprovalView-DCvl3a_5.js → ApprovalView-CKJV87es.js} +24 -24
- package/dist/{BindingsDialog-CrVuhZqk.js → BindingsDialog-CTmuzAWi.js} +4 -4
- package/dist/{BindingsPicker-lmFa-poh.js → BindingsPicker-Dabonsov.js} +8 -8
- package/dist/{BindingsTable-CT_lSIYf.js → BindingsTable-L0yzAoQq.js} +4 -4
- package/dist/{ClosingDraftView-DRc0FjAS.js → ClosingDraftView-CddxqfNi.js} +464 -463
- package/dist/{ClosingTemplateView-C_X0J-M4.js → ClosingTemplateView-BsW-nPec.js} +10 -10
- package/dist/{DeliveryOrderPrintPreview-BneNiMcQ.js → DeliveryOrderPrintPreview-DQ4msDpJ.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BJWjd3-f.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-TnVI2vdF.js} +32 -32
- package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-BRvXmLV6.js +338 -0
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BhfVsV9p.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BHLx7Lbo.js} +1 -1
- package/dist/{IngredientGroupView-NyW26_DP.js → IngredientGroupView-CF2GLMSD.js} +11 -11
- package/dist/{IngredientsView-BN1jydVe.js → IngredientsView-DopQVz7u.js} +15 -14
- package/dist/IntegrationView-EnD2l7af.js +2149 -0
- package/dist/{InventoryBindingForm-Bf52xXaz.js → InventoryBindingForm-VP2_coNH.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BLCgDC82.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-dQF7h_Jp.js} +27 -27
- package/dist/{InventoryBindingSummary-BM48Xk8j.js → InventoryBindingSummary-BCEXzmFu.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DYSoSSzj.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-RfkBlwxw.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DjtXgvRo.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CGgxjz4P.js} +10 -10
- package/dist/{PublishView-C_c9fd-9.js → PublishView-ExvxeKR_.js} +7 -7
- package/dist/{PurchaseOrderPrintPreview-CmIP1Zpp.js → PurchaseOrderPrintPreview-59AaXtZ_.js} +4 -4
- package/dist/{ReceiveRequestView-DJknUS-e.js → ReceiveRequestView-BxGss8gu.js} +53 -52
- package/dist/{RecipeView-nzgPP4xb.js → RecipeView-BqTsG4xX.js} +32 -32
- package/dist/{StockView-DERznopJ.js → StockView-D-WvydHv.js} +73 -72
- package/dist/{SupplierView-B03zhGGq.js → SupplierView-C6ruAEih.js} +12 -11
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CQ-Om_rI.js +1894 -0
- package/dist/{TransferTemplateView-HLrkeo9I.js → TransferTemplateView-qSA3Txpn.js} +291 -290
- package/dist/{UnitView-yMNF61nI.js → UnitView-oHDOLM8k.js} +23 -23
- package/dist/{WarehouseView-Cl8O3zEO.js → WarehouseView-C3EqYfCf.js} +26 -26
- package/dist/api/bill.d.ts +2 -2
- package/dist/api/closing.d.ts +7 -1
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +44 -44
- package/dist/api/netsuite.d.ts +83 -1
- package/dist/api/purchase-order.d.ts +5 -1
- package/dist/api/stock.d.ts +12 -12
- package/dist/{app-ByZGP6to.js → app-DqrcGlGd.js} +20015 -20284
- package/dist/app.d.ts +7 -7
- package/dist/app.js +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +8 -8
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +5 -5
- package/dist/composable/usePromise.d.ts +41 -0
- package/dist/{decimal-C6ZIb15B.js → decimal-rgCB5DGy.js} +1 -1
- package/dist/feature-CifIpcNk.js +17345 -0
- package/dist/{format-unit-display-Bixr5QQV.js → format-unit-display-DUWzu8vU.js} +60 -60
- package/dist/index-CH3OzDYK.js +126 -0
- package/dist/{index-3ud7W_2Y.js → index-YgIaxVhw.js} +1 -1
- package/dist/{stock-DpKjVgzG.js → stock-BPNYXwz1.js} +1 -1
- package/dist/stores/feature.d.ts +5 -19
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/index.d.ts +1 -0
- package/dist/stores/integration/netsuite.d.ts +18 -7
- package/dist/stores/integration/xilnex.d.ts +12 -0
- package/dist/stores/inventory.d.ts +56 -56
- package/dist/stores/location.d.ts +137 -137
- package/dist/stores/stock.d.ts +12 -12
- package/dist/{supplier-DfKwECUI.js → supplier-CnrH580K.js} +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Cs5SmNLE.js → use-ingredient-select-dialog-CpnJoeWb.js} +1 -1
- package/dist/{use-inventory-binding-dialog-9RGXAtLh.js → use-inventory-binding-dialog-DHvNwt_F.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +228 -228
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +2 -2
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +1 -1
- package/dist/views/adjustment-template/wastage-template/table.d.ts +234 -234
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +76 -76
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +456 -456
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +4 -4
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +252 -252
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +252 -252
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +12 -12
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +8 -8
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +3 -3
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +4 -4
- package/dist/views/integration/XilnexView.vue.d.ts +2 -0
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
- package/dist/views/integration/components/Xilnex/XilnexOpeningImport.vue.d.ts +2 -0
- package/dist/views/integration/components/Xilnex/XilnexProps.d.ts +7 -0
- package/dist/views/integration/components/Xilnex/XilnexSideSheet.vue.d.ts +24 -0
- package/dist/views/integration/components/Xilnex/importFn.d.ts +16 -0
- package/dist/views/integration/components/netsuite/AddLocationDialog.vue.d.ts +1334 -0
- package/dist/views/integration/components/netsuite/LocationConfigurationDialog.vue.d.ts +174 -0
- package/dist/views/integration/components/netsuite/LocationConfigurationDialogProps.d.ts +16 -0
- package/dist/views/integration/components/netsuite/NetSuiteLocationField.vue.d.ts +71 -0
- package/dist/views/receive-request/components/transfer-details/FulfillmentForm.vue.d.ts +5 -1
- package/dist/views/receive-request/components/transfer-details/usePurchaseOrderFn.d.ts +4 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +696 -668
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +22 -22
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +44 -44
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +11 -11
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +614 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1270 -1222
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1197 -1149
- package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +6 -0
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +14 -14
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +22 -22
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +17 -17
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +11 -11
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +805 -805
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +805 -805
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
- package/dist/{vue-i18n-DR_smMg1.js → vue-i18n-4m7yAqU2.js} +426 -426
- package/package.json +5 -2
- package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-CAEBtWpw.js +0 -328
- package/dist/IntegrationView-CVbR75fb.js +0 -1197
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D709Nkfi.js +0 -1723
- package/dist/index-CoqRZydm.js +0 -84
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { ref as q, defineComponent as te, computed as S, resolveComponent as C, openBlock as f, createBlock as B, withCtx as V, createVNode as c, unref as d, createElementBlock as T, Fragment as X, createElementVNode as m, createCommentVNode as j, renderSlot as ce, createTextVNode as Me, toDisplayString as A, normalizeClass as ee, onMounted as at, watch as Ye, renderList as re, isRef as De, createSlots as Ge, normalizeStyle as rt, Teleport as Pe, normalizeProps as st, guardReactiveProps as it } from "vue";
|
|
2
|
-
import { a as ne,
|
|
3
|
-
import { useDialog as
|
|
2
|
+
import { a as ne, d as K, e as We, S as dt, f as ut, D as Be, h as be, A as _e, b as Ie, i as Ke, j as xe, t as Ze, k as ve, l as Ve, U as mt, m as ct, M as pt, n as Ne, o as ze, p as Le, q as Je, r as vt, s as Qe, v as ft, w as yt, I as gt, x as bt, y as ht, u as _t, z as xt, _ as kt, B as Vt, C as St, E as He } from "./app-DqrcGlGd.js";
|
|
3
|
+
import { useDialog as Xe, useSnackbar as ke, useProxiedModel as Oe, useDialogChild as Ct, useBreakpoints as wt } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Ft, _ as Mt } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { useI18n as oe, useCoreStore as fe } from "@feedmepos/mf-common";
|
|
6
6
|
import { defineStore as It, storeToRefs as $t } from "pinia";
|
|
7
7
|
import { g as Et, _ as Se, S as Ce } from "./StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js";
|
|
8
|
-
import { _ as Ut } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as we } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Ut } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-dQF7h_Jp.js";
|
|
9
|
+
import { _ as we } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-BHLx7Lbo.js";
|
|
10
|
+
import { u as et } from "./feature-CifIpcNk.js";
|
|
10
11
|
import { _ as he } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
11
12
|
import { _ as Rt } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
12
13
|
import "./array-hChJVZLE.js";
|
|
13
14
|
const Fe = It("ingredientForm", function() {
|
|
14
|
-
const o =
|
|
15
|
+
const o = Xe(), y = ke(), r = ne(), n = q(!1), { t: l } = oe(), i = q();
|
|
15
16
|
function a() {
|
|
16
17
|
const b = {
|
|
17
18
|
unit: {},
|
|
@@ -327,7 +328,7 @@ const Dt = {
|
|
|
327
328
|
emits: ["update:modelValue", "click:submit"],
|
|
328
329
|
setup(u, { expose: o, emit: y }) {
|
|
329
330
|
var ue;
|
|
330
|
-
const { t: r } = oe(), n = u, l = y, i = ne(), a = fe(), h =
|
|
331
|
+
const { t: r } = oe(), n = u, l = y, i = ne(), a = fe(), h = et(), k = Ie(), g = S(() => k.isEnabled);
|
|
331
332
|
function b(t) {
|
|
332
333
|
if (t.length === 0) return;
|
|
333
334
|
const e = t[0], p = n.modelValue ?? {
|
|
@@ -1137,7 +1138,7 @@ function tt() {
|
|
|
1137
1138
|
id: "baseUnit",
|
|
1138
1139
|
name: "Base unit"
|
|
1139
1140
|
}
|
|
1140
|
-
], o =
|
|
1141
|
+
], o = et(), y = fe(), r = xe(y.currentCountry.value);
|
|
1141
1142
|
return o.enableTotalCost && u.push(
|
|
1142
1143
|
{
|
|
1143
1144
|
id: "valuationMethod",
|
|
@@ -1166,8 +1167,8 @@ function xn() {
|
|
|
1166
1167
|
[],
|
|
1167
1168
|
n.map((k) => k.name),
|
|
1168
1169
|
...o.map((k) => n.map((g) => k[g.id]))
|
|
1169
|
-
], i = n.map((k) => `system:${k.id}`), a =
|
|
1170
|
-
return
|
|
1170
|
+
], i = n.map((k) => `system:${k.id}`), a = Je(l, i), h = `${r == null ? void 0 : r.name} ingredients (${vt(/* @__PURE__ */ new Date())}).xlsx`;
|
|
1171
|
+
return Qe(a, h), h;
|
|
1171
1172
|
}
|
|
1172
1173
|
function kn() {
|
|
1173
1174
|
const o = fe().currentBusiness.value, y = tt(), r = [
|
|
@@ -1176,8 +1177,8 @@ function kn() {
|
|
|
1176
1177
|
["Menu version", o == null ? void 0 : o.menuVersion],
|
|
1177
1178
|
[],
|
|
1178
1179
|
y.map((a) => a.name)
|
|
1179
|
-
], n = y.map((a) => `system:${a.id}`), l =
|
|
1180
|
-
return
|
|
1180
|
+
], n = y.map((a) => `system:${a.id}`), l = Je(r, n), i = "FeedMe ingredients template.xlsx";
|
|
1181
|
+
return Qe(l, i), i;
|
|
1181
1182
|
}
|
|
1182
1183
|
function Vn(u) {
|
|
1183
1184
|
const [
|
|
@@ -1498,10 +1499,10 @@ const Cn = { class: "flex items-center gap-12 pl-8" }, wn = { class: "flex flex-
|
|
|
1498
1499
|
]);
|
|
1499
1500
|
};
|
|
1500
1501
|
}
|
|
1501
|
-
}), zn = { class: "flex flex-col py-8" }, Ln = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Hn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" },
|
|
1502
|
+
}), zn = { class: "flex flex-col py-8" }, Ln = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Hn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, oo = /* @__PURE__ */ te({
|
|
1502
1503
|
__name: "IngredientsView",
|
|
1503
1504
|
setup(u) {
|
|
1504
|
-
const o = ne(), y = S(() => o.skus), r = _t(), n =
|
|
1505
|
+
const o = ne(), y = S(() => o.skus), r = _t(), n = Xe(), l = ke(), i = Ie(), { t: a } = oe(), { createIngredient: h, updateIngredient: k } = Fe(), { ingredientDialogProps: g, ingredientViewLoading: b } = $t(Fe()), { columnDefs: s } = Tt();
|
|
1505
1506
|
function x(D) {
|
|
1506
1507
|
switch (D) {
|
|
1507
1508
|
case "add":
|
|
@@ -1727,5 +1728,5 @@ const Cn = { class: "flex items-center gap-12 pl-8" }, wn = { class: "flex flex-
|
|
|
1727
1728
|
}
|
|
1728
1729
|
});
|
|
1729
1730
|
export {
|
|
1730
|
-
|
|
1731
|
+
oo as default
|
|
1731
1732
|
};
|