@feedmepos/mf-inventory-portal 1.0.7-dev.1 → 1.0.7
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-zspCOQeF.js → App-DF14rGlK.js} +49 -50
- package/dist/{ApprovalView-CKJV87es.js → ApprovalView-C_xhq-_c.js} +24 -24
- package/dist/{BindingsDialog-CTmuzAWi.js → BindingsDialog-CCY1fDj8.js} +4 -4
- package/dist/{BindingsPicker-Dabonsov.js → BindingsPicker-CnXbK5O3.js} +6 -6
- package/dist/{BindingsTable-L0yzAoQq.js → BindingsTable-cQIUUuVv.js} +8 -8
- package/dist/{ClosingDraftView-CddxqfNi.js → ClosingDraftView-DUZ31x3s.js} +463 -464
- package/dist/{ClosingTemplateView-BsW-nPec.js → ClosingTemplateView-6ysEDEcV.js} +10 -10
- package/dist/{DeliveryOrderPrintPreview-DQ4msDpJ.js → DeliveryOrderPrintPreview-BGjFS8h7.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-TnVI2vdF.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CanJ2fzb.js} +32 -32
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BRvXmLV6.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BcKtJQMt.js} +86 -86
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BHLx7Lbo.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bb9xMoX-.js} +1 -1
- package/dist/{IngredientGroupView-CF2GLMSD.js → IngredientGroupView-i08KHlW7.js} +11 -11
- package/dist/{IngredientsView-DopQVz7u.js → IngredientsView-D0tBukwK.js} +14 -15
- package/dist/{IntegrationView-EnD2l7af.js → IntegrationView-BqCrKL13.js} +85 -86
- package/dist/{InventoryBindingForm-VP2_coNH.js → InventoryBindingForm-BJwIFQVS.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-dQF7h_Jp.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DU9j1Q8M.js} +27 -27
- package/dist/{InventoryBindingSummary-BCEXzmFu.js → InventoryBindingSummary-B2M3Th8T.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-RfkBlwxw.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BH4A_Lc5.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CGgxjz4P.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CdxCyEBi.js} +10 -10
- package/dist/{PublishView-ExvxeKR_.js → PublishView-B9x92vDM.js} +7 -7
- package/dist/{PurchaseOrderPrintPreview-59AaXtZ_.js → PurchaseOrderPrintPreview-MbGDNmgh.js} +4 -4
- package/dist/{ReceiveRequestView-BxGss8gu.js → ReceiveRequestView-CTNycYUr.js} +52 -53
- package/dist/{RecipeView-BqTsG4xX.js → RecipeView-sHTcJgzP.js} +32 -32
- package/dist/{StockView-D-WvydHv.js → StockView-CUv4dcGJ.js} +72 -73
- package/dist/{SupplierView-C6ruAEih.js → SupplierView-hu6OhDss.js} +11 -12
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CCKlQGMf.js +1746 -0
- package/dist/{TransferTemplateView-qSA3Txpn.js → TransferTemplateView-DMSkUc0D.js} +290 -291
- package/dist/{UnitView-oHDOLM8k.js → UnitView-B5q7IVbT.js} +23 -23
- package/dist/{WarehouseView-C3EqYfCf.js → WarehouseView-Ds6z4Vz6.js} +26 -26
- package/dist/api/bill.d.ts +2 -2
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +44 -44
- package/dist/api/netsuite.d.ts +3 -3
- package/dist/api/purchase-order.d.ts +1 -5
- package/dist/{app-DqrcGlGd.js → app-BmsY87Mv.js} +17641 -17171
- 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/{decimal-rgCB5DGy.js → decimal-Baw9w4_A.js} +1 -1
- package/dist/{format-unit-display-DUWzu8vU.js → format-unit-display-D0_KiU3j.js} +60 -60
- package/dist/{index-YgIaxVhw.js → index-CDydl7WA.js} +1 -1
- package/dist/{index-CH3OzDYK.js → index-C_GU5Tc8.js} +6 -7
- package/dist/{stock-BPNYXwz1.js → stock-C-hm8Kdq.js} +1 -1
- package/dist/stores/feature.d.ts +20 -3
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +7 -7
- package/dist/stores/inventory.d.ts +44 -44
- package/dist/stores/location.d.ts +137 -137
- package/dist/{supplier-CnrH580K.js → supplier-RX_yr24c.js} +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CpnJoeWb.js → use-ingredient-select-dialog-BZhczMUl.js} +1 -1
- package/dist/{use-inventory-binding-dialog-DHvNwt_F.js → use-inventory-binding-dialog-dV-92pLe.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 +68 -68
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +408 -408
- 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/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/netsuite/AddLocationDialog.vue.d.ts +204 -204
- package/dist/views/integration/components/netsuite/LocationConfigurationDialog.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +647 -675
- 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-receive-request-form.d.ts +1146 -1194
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1170 -1218
- 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 +813 -813
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +813 -813
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
- package/dist/{vue-i18n-4m7yAqU2.js → vue-i18n-sbHu6D5a.js} +426 -426
- package/package.json +3 -5
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CQ-Om_rI.js +0 -1894
- package/dist/composable/usePromise.d.ts +0 -41
- package/dist/feature-CifIpcNk.js +0 -17345
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +0 -614
- package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as F, computed as C, defineComponent as Y, resolveComponent as S, openBlock as M, createBlock as O, withCtx as R, createElementVNode as x, createVNode as g, unref as l, createElementBlock as ee, toDisplayString as j, createTextVNode as te, watch as ue, isRef as ce, normalizeClass as de, normalizeStyle as me, createSlots as pe, Teleport as fe, normalizeProps as ve, guardReactiveProps as ge } from "vue";
|
|
2
|
-
import { a as J,
|
|
2
|
+
import { a as J, e as h, f as B, h as ye, D as oe, i as Q, H as be, m as _e, A as xe, J as ne, q as se, u as ke, B as he, _ as we, C as Se, E as Ie, G as ae } from "./app-BmsY87Mv.js";
|
|
3
3
|
import { useDialog as le, useSnackbar as Z, useProxiedModel as Ce, useBreakpoints as Fe } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as W } from "@feedmepos/mf-common";
|
|
5
5
|
import { defineStore as ie, storeToRefs as re } from "pinia";
|
|
@@ -276,7 +276,7 @@ const X = ie(
|
|
|
276
276
|
class: "flex flex-col gap-32"
|
|
277
277
|
}, {
|
|
278
278
|
default: R(() => {
|
|
279
|
-
var I, D, V, T,
|
|
279
|
+
var I, D, V, T, L;
|
|
280
280
|
return [
|
|
281
281
|
x("div", Ae, [
|
|
282
282
|
g(n, {
|
|
@@ -301,10 +301,10 @@ const X = ie(
|
|
|
301
301
|
onClick: s[2] || (s[2] = (k) => G())
|
|
302
302
|
}, {
|
|
303
303
|
default: R(() => {
|
|
304
|
-
var k, E, $,
|
|
304
|
+
var k, E, $, z, N, K, q, P, H;
|
|
305
305
|
return [
|
|
306
306
|
($ = (E = (k = l(o)) == null ? void 0 : k.skus) == null ? void 0 : E[0]) != null && $.name ? (M(), ee("span", Ve, [
|
|
307
|
-
x("span", Ee, "[" + j((K = (N = (
|
|
307
|
+
x("span", Ee, "[" + j((K = (N = (z = l(o)) == null ? void 0 : z.skus) == null ? void 0 : N[0]) == null ? void 0 : K.code) + "]", 1),
|
|
308
308
|
te(" " + j((H = (P = (q = l(o)) == null ? void 0 : q.skus) == null ? void 0 : P[0]) == null ? void 0 : H.name), 1)
|
|
309
309
|
])) : (M(), ee("span", Re, j("Click to select main item")))
|
|
310
310
|
];
|
|
@@ -346,7 +346,7 @@ const X = ie(
|
|
|
346
346
|
}),
|
|
347
347
|
draggable: "",
|
|
348
348
|
"hide-footer": "",
|
|
349
|
-
"page-size": ((
|
|
349
|
+
"page-size": ((L = l(o).skus) == null ? void 0 : L.length) ?? 0
|
|
350
350
|
}, null, 8, ["row-data", "page-size"])
|
|
351
351
|
])
|
|
352
352
|
];
|
|
@@ -491,7 +491,7 @@ const X = ie(
|
|
|
491
491
|
}, 8, ["model-value", "header"]);
|
|
492
492
|
};
|
|
493
493
|
}
|
|
494
|
-
}),
|
|
494
|
+
}), Le = { class: "flex flex-col py-8" }, ze = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ne = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Qe = /* @__PURE__ */ Y({
|
|
495
495
|
__name: "IngredientGroupView",
|
|
496
496
|
setup(U) {
|
|
497
497
|
const c = J(), w = C(() => c.skuGroups), o = ke(), { t: r } = W(), {
|
|
@@ -558,13 +558,13 @@ const X = ie(
|
|
|
558
558
|
onRowClick: l(p)
|
|
559
559
|
}, pe({
|
|
560
560
|
default: R((T) => {
|
|
561
|
-
var
|
|
561
|
+
var L, k, E, $, z, N, K, q, P, H;
|
|
562
562
|
return [
|
|
563
|
-
x("div",
|
|
564
|
-
x("div",
|
|
563
|
+
x("div", Le, [
|
|
564
|
+
x("div", ze, [
|
|
565
565
|
g(l(ae), {
|
|
566
|
-
render: (E = (k = (
|
|
567
|
-
props: (
|
|
566
|
+
render: (E = (k = (L = T.code) == null ? void 0 : L.column) == null ? void 0 : k.columnDef) == null ? void 0 : E.cell,
|
|
567
|
+
props: (z = ($ = T.code) == null ? void 0 : $.getContext) == null ? void 0 : z.call($)
|
|
568
568
|
}, null, 8, ["render", "props"])
|
|
569
569
|
]),
|
|
570
570
|
x("div", Ne, [
|
|
@@ -1,18 +1,17 @@
|
|
|
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, e as K, f as We, S as dt, h as ut, D as Be, i as be, A as _e, b as Ie, j as Ke, k as xe, t as Ze, l as ve, m as Ve, U as mt, n as ct, M as pt, o as Ne, p as ze, c as Je, q as Le, r as Qe, s as vt, v as Xe, w as ft, x as yt, I as gt, y as bt, z as ht, u as _t, B as xt, _ as kt, C as Vt, E as St, G as He } from "./app-BmsY87Mv.js";
|
|
3
|
+
import { useDialog as et, 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-
|
|
10
|
-
import { u as et } from "./feature-CifIpcNk.js";
|
|
8
|
+
import { _ as Ut } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DU9j1Q8M.js";
|
|
9
|
+
import { _ as we } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bb9xMoX-.js";
|
|
11
10
|
import { _ as he } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
12
11
|
import { _ as Rt } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
13
12
|
import "./array-hChJVZLE.js";
|
|
14
13
|
const Fe = It("ingredientForm", function() {
|
|
15
|
-
const o =
|
|
14
|
+
const o = et(), y = ke(), r = ne(), n = q(!1), { t: l } = oe(), i = q();
|
|
16
15
|
function a() {
|
|
17
16
|
const b = {
|
|
18
17
|
unit: {},
|
|
@@ -328,7 +327,7 @@ const Dt = {
|
|
|
328
327
|
emits: ["update:modelValue", "click:submit"],
|
|
329
328
|
setup(u, { expose: o, emit: y }) {
|
|
330
329
|
var ue;
|
|
331
|
-
const { t: r } = oe(), n = u, l = y, i = ne(), a = fe(), h =
|
|
330
|
+
const { t: r } = oe(), n = u, l = y, i = ne(), a = fe(), h = Je(), k = Ie(), g = S(() => k.isEnabled);
|
|
332
331
|
function b(t) {
|
|
333
332
|
if (t.length === 0) return;
|
|
334
333
|
const e = t[0], p = n.modelValue ?? {
|
|
@@ -1138,7 +1137,7 @@ function tt() {
|
|
|
1138
1137
|
id: "baseUnit",
|
|
1139
1138
|
name: "Base unit"
|
|
1140
1139
|
}
|
|
1141
|
-
], o =
|
|
1140
|
+
], o = Je(), y = fe(), r = xe(y.currentCountry.value);
|
|
1142
1141
|
return o.enableTotalCost && u.push(
|
|
1143
1142
|
{
|
|
1144
1143
|
id: "valuationMethod",
|
|
@@ -1167,8 +1166,8 @@ function xn() {
|
|
|
1167
1166
|
[],
|
|
1168
1167
|
n.map((k) => k.name),
|
|
1169
1168
|
...o.map((k) => n.map((g) => k[g.id]))
|
|
1170
|
-
], i = n.map((k) => `system:${k.id}`), a =
|
|
1171
|
-
return
|
|
1169
|
+
], i = n.map((k) => `system:${k.id}`), a = Qe(l, i), h = `${r == null ? void 0 : r.name} ingredients (${vt(/* @__PURE__ */ new Date())}).xlsx`;
|
|
1170
|
+
return Xe(a, h), h;
|
|
1172
1171
|
}
|
|
1173
1172
|
function kn() {
|
|
1174
1173
|
const o = fe().currentBusiness.value, y = tt(), r = [
|
|
@@ -1177,8 +1176,8 @@ function kn() {
|
|
|
1177
1176
|
["Menu version", o == null ? void 0 : o.menuVersion],
|
|
1178
1177
|
[],
|
|
1179
1178
|
y.map((a) => a.name)
|
|
1180
|
-
], n = y.map((a) => `system:${a.id}`), l =
|
|
1181
|
-
return
|
|
1179
|
+
], n = y.map((a) => `system:${a.id}`), l = Qe(r, n), i = "FeedMe ingredients template.xlsx";
|
|
1180
|
+
return Xe(l, i), i;
|
|
1182
1181
|
}
|
|
1183
1182
|
function Vn(u) {
|
|
1184
1183
|
const [
|
|
@@ -1499,10 +1498,10 @@ const Cn = { class: "flex items-center gap-12 pl-8" }, wn = { class: "flex flex-
|
|
|
1499
1498
|
]);
|
|
1500
1499
|
};
|
|
1501
1500
|
}
|
|
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" },
|
|
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" }, no = /* @__PURE__ */ te({
|
|
1503
1502
|
__name: "IngredientsView",
|
|
1504
1503
|
setup(u) {
|
|
1505
|
-
const o = ne(), y = S(() => o.skus), r = _t(), n =
|
|
1504
|
+
const o = ne(), y = S(() => o.skus), r = _t(), n = et(), l = ke(), i = Ie(), { t: a } = oe(), { createIngredient: h, updateIngredient: k } = Fe(), { ingredientDialogProps: g, ingredientViewLoading: b } = $t(Fe()), { columnDefs: s } = Tt();
|
|
1506
1505
|
function x(D) {
|
|
1507
1506
|
switch (D) {
|
|
1508
1507
|
case "add":
|
|
@@ -1728,5 +1727,5 @@ const Cn = { class: "flex items-center gap-12 pl-8" }, wn = { class: "flex flex-
|
|
|
1728
1727
|
}
|
|
1729
1728
|
});
|
|
1730
1729
|
export {
|
|
1731
|
-
|
|
1730
|
+
no as default
|
|
1732
1731
|
};
|