@feedmepos/mf-inventory-portal 0.0.22-dev.46 → 0.0.22-dev.47
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/{ApprovalView-CjK-fcvU.js → ApprovalView-DvaKP7j9.js} +3 -3
- package/dist/{BindingsDialog-DWRDuKnY.js → BindingsDialog-DuJMVo61.js} +1 -1
- package/dist/{BindingsPicker-DtgCTWo5.js → BindingsPicker-BoYwB6U_.js} +8 -8
- package/dist/{BindingsTable-QevLem81.js → BindingsTable-CWpUfeKm.js} +1 -1
- package/dist/{ClosingTemplateView-Cdbp7nYn.js → ClosingTemplateView-Cn96MJVP.js} +26 -26
- package/dist/{FmDroppableField-DHF0MZls.js → FmDroppableField-Dlrwk4gA.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CPhXgsQD.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CCGydCsm.js} +3 -3
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bl-BsJNP.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DVMieqhn.js} +1 -1
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B7dq1XS-.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTK65n8v.js} +7 -7
- package/dist/IngredientGroupView-VNG5Q8ou.js +608 -0
- package/dist/{IngredientsView-9xhWEl17.js → IngredientsView-C_rbIOCU.js} +5 -5
- package/dist/{IntegrationView-D7916Kg2.js → IntegrationView-OKyiv2vc.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ZBxeayIl.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-bEu-8q1N.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dp_JLw2L.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CDM7DSyn.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-U-M3r5H9.js → PurchaseOrderPrintPreview-BSyXdhQo.js} +1 -1
- package/dist/{ReceiveRequestView-BzChY8ca.js → ReceiveRequestView-C4t8Kkn6.js} +288 -288
- package/dist/{RecipeView-GrwiLQkW.js → RecipeView-BnmwgxnO.js} +22 -22
- package/dist/{StockView-CMvG-CIC.js → StockView-wKpLuCbC.js} +5 -5
- package/dist/{SupplierView-BmqzK7D6.js → SupplierView-CZ23V9tf.js} +418 -415
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CE1aYr3I.js → TransferDetails.vue_vue_type_script_setup_true_lang-Cxm7P4nU.js} +51 -51
- package/dist/{TransferTemplateView-CBPSaIJs.js → TransferTemplateView-DAqSN1NH.js} +8 -8
- package/dist/{UnitView-4JKlaXtj.js → UnitView-UhJoXWMf.js} +4 -4
- package/dist/{WarehouseView-B5qLIIAQ.js → WarehouseView-C-DGIBdE.js} +2 -2
- package/dist/{app-B0BJjpJ5.js → app-pFcheyXr.js} +19173 -19122
- package/dist/app.d.ts +3 -0
- package/dist/app.js +1 -1
- package/dist/components/FmMultiselectDialogProps.d.ts +0 -2
- package/dist/{decimal-CDTaG5jr.js → decimal-CY3TbMUy.js} +1 -1
- package/dist/{defineDeepModel-9-wLB59o.js → defineDeepModel-CWIF7Cxg.js} +1 -1
- package/dist/extensions/array.d.ts +1 -1
- package/dist/{format-time-from-id-Bwq0tn09.js → format-time-from-id-CSntAOsD.js} +1 -1
- package/dist/{format-unit-display-BImgcRNp.js → format-unit-display-BHIBhwk3.js} +49 -49
- package/dist/router/name.d.ts +1 -0
- package/dist/stores/inventory.d.ts +71 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-D9s1N_M7.js → supplier-142vtn2Q.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-BQSfU_U_.js → use-template-enabled-locations-2-DUR98xi2.js} +1 -1
- package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +215 -0
- package/dist/views/supplier/helpers/import-export.helper.d.ts +1 -1
- package/dist/{xlsx-A9JiF_qH.js → xlsx-ChOXd9sY.js} +1 -1
- package/dist/{xlsx.util-J1g7CG7t.js → xlsx.util-BYVL7Paj.js} +1 -1
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ae, ref as g, watch as oe, computed as b, resolveComponent as re, openBlock as x, createBlock as J, unref as e, withCtx as y, createElementVNode as s, normalizeClass as ne, createVNode as n, normalizeStyle as se, toDisplayString as le, createElementBlock as ie, createCommentVNode as ce, Teleport as pe, mergeProps as ue } from "vue";
|
|
2
|
-
import { i as me, af as v, V as K } from "./app-
|
|
3
|
-
import { b as de, u as fe, _ as ve, a as _e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as he, b as De, _ as ge } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { i as me, af as v, V as K } from "./app-pFcheyXr.js";
|
|
3
|
+
import { b as de, u as fe, _ as ve, a as _e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DVMieqhn.js";
|
|
4
|
+
import { a as he, b as De, _ as ge } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Cxm7P4nU.js";
|
|
5
5
|
import { _ as be, F as _ } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
6
6
|
import { useBreakpoints as xe } from "@feedmepos/ui-library";
|
|
7
7
|
import { useI18n as ye } from "@feedmepos/mf-common";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as z, createVNode as a, createCommentVNode as R, createElementVNode as P } from "vue";
|
|
2
|
-
import { u as V, az as L, _ as S } from "./app-
|
|
2
|
+
import { u as V, az as L, _ as S } from "./app-pFcheyXr.js";
|
|
3
3
|
const U = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as S, computed as u, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as r, createElementVNode as k } from "vue";
|
|
2
|
-
import { u as M, az as x,
|
|
2
|
+
import { u as M, az as x, j as z } from "./app-pFcheyXr.js";
|
|
3
3
|
const F = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex flex-col gap-16"
|
|
@@ -8,7 +8,7 @@ const F = {
|
|
|
8
8
|
class: "p-24 flex items-center justify-center gap-16"
|
|
9
9
|
}, N = /* @__PURE__ */ S({
|
|
10
10
|
__name: "BindingsPicker",
|
|
11
|
-
setup(
|
|
11
|
+
setup(j) {
|
|
12
12
|
const d = M(), C = u(() => d.recipes), I = u(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = u(() => a.value === "SKU" ? I.value.map((s) => ({
|
|
13
13
|
label: s.name,
|
|
14
14
|
sublabel: s.code,
|
|
@@ -62,9 +62,9 @@ const F = {
|
|
|
62
62
|
];
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
}),
|
|
65
|
+
}), _ = l(), o = x(B);
|
|
66
66
|
async function B() {
|
|
67
|
-
await d.readInventory(),
|
|
67
|
+
await d.readInventory(), _.value = o.onMessage(
|
|
68
68
|
"props:binding-items",
|
|
69
69
|
(e) => {
|
|
70
70
|
g.value = !1, a.value = e.type, i.value = e.bindings;
|
|
@@ -77,21 +77,21 @@ const F = {
|
|
|
77
77
|
function R() {
|
|
78
78
|
o.sendMessage("@submit:items", i.value);
|
|
79
79
|
}
|
|
80
|
-
const
|
|
80
|
+
const y = l();
|
|
81
81
|
return U(() => {
|
|
82
|
-
const e =
|
|
82
|
+
const e = y.value;
|
|
83
83
|
e && new ResizeObserver(() => {
|
|
84
84
|
o.sendMessage("resize", e.scrollHeight);
|
|
85
85
|
}).observe(e);
|
|
86
86
|
}), V(() => {
|
|
87
87
|
var e, s;
|
|
88
|
-
(s = (e =
|
|
88
|
+
(s = (e = _.value) == null ? void 0 : e.removeEventListener) == null || s.call(e);
|
|
89
89
|
}), (e, s) => {
|
|
90
90
|
const n = E("FmButton"), t = E("FmCircularProgress");
|
|
91
91
|
return p(), f("div", {
|
|
92
92
|
class: "bg-white",
|
|
93
93
|
ref_key: "resizeableRef",
|
|
94
|
-
ref:
|
|
94
|
+
ref: y
|
|
95
95
|
}, [
|
|
96
96
|
g.value ? (p(), f("div", w, [
|
|
97
97
|
r(t, { size: "md" }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, ref as c, provide as z, computed as f, resolveComponent as b, openBlock as p, createBlock as h, h as C, onMounted as B, onUnmounted as I, createElementBlock as y, createVNode as N, createElementVNode as x } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { k as v, u as E, az as L } from "./app-pFcheyXr.js";
|
|
3
3
|
import { components as F } from "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
const P = /* @__PURE__ */ _({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ref as S, h as M, defineComponent as H, resolveComponent as F, openBlock as w, createElementBlock as I, createElementVNode as b, normalizeClass as
|
|
2
|
-
import { u as qe, _ as Xe, a as Qe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { ref as S, h as M, defineComponent as H, resolveComponent as F, openBlock as w, createElementBlock as I, createElementVNode as b, normalizeClass as O, createTextVNode as Re, toDisplayString as $, unref as g, createCommentVNode as K, createVNode as T, withCtx as P, Fragment as z, renderList as G, computed as A, watch as Fe, createSlots as je, createBlock as U, isRef as Oe, normalizeStyle as Ye, Teleport as Ke, normalizeProps as Ge, guardReactiveProps as Je, mergeProps as We } from "vue";
|
|
2
|
+
import { u as qe, _ as Xe, a as Qe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DVMieqhn.js";
|
|
3
3
|
import { useCoreStore as le, useI18n as V } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as Ze, useSnackbar as Q, useDialog as ae, FmButtonVariant as Se, components as B, useProxiedModel as et, useBreakpoints as tt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Pe, storeToRefs as Ae } from "pinia";
|
|
6
6
|
import { D as De, R as N, F as L } from "./row-action.enum-PMKMRrZR.js";
|
|
7
|
-
import {
|
|
8
|
-
import { a as oe, b as Ue, d as Ne, s as Ve, r as mt } from "./xlsx.util-
|
|
9
|
-
import { F as ut } from "./FmDroppableField-
|
|
10
|
-
import { c as dt, F as
|
|
11
|
-
import { f as pt } from "./format-time-from-id-
|
|
7
|
+
import { o as nt, i as re, c as Ee, f as ot, u as ie, W as st, h as lt, R as at, A as rt, j as it, X as ct, Y as ne } from "./app-pFcheyXr.js";
|
|
8
|
+
import { a as oe, b as Ue, d as Ne, s as Ve, r as mt } from "./xlsx.util-BYVL7Paj.js";
|
|
9
|
+
import { F as ut } from "./FmDroppableField-Dlrwk4gA.js";
|
|
10
|
+
import { c as dt, F as j, _ as Be } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
11
|
+
import { f as pt } from "./format-time-from-id-CSntAOsD.js";
|
|
12
12
|
import "vue-router";
|
|
13
|
-
import { d as ft } from "./defineDeepModel-
|
|
14
|
-
import { u as gt } from "./use-template-enabled-locations-2-
|
|
13
|
+
import { d as ft } from "./defineDeepModel-CWIF7Cxg.js";
|
|
14
|
+
import { u as gt } from "./use-template-enabled-locations-2-DUR98xi2.js";
|
|
15
15
|
const Z = nt((i, l) => {
|
|
16
16
|
function s() {
|
|
17
17
|
var e;
|
|
@@ -552,7 +552,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
552
552
|
b("div", $t, [
|
|
553
553
|
b("div", Ct, [
|
|
554
554
|
b("div", {
|
|
555
|
-
class:
|
|
555
|
+
class: O({
|
|
556
556
|
"text-fm-color-system-error-300": s.errors.length
|
|
557
557
|
})
|
|
558
558
|
}, [
|
|
@@ -578,7 +578,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
578
578
|
])) : K("", !0)
|
|
579
579
|
]),
|
|
580
580
|
b("div", {
|
|
581
|
-
class:
|
|
581
|
+
class: O([
|
|
582
582
|
"fm-typo-en-body-sm-400",
|
|
583
583
|
{
|
|
584
584
|
"text-fm-color-system-error-200": s.errors.length,
|
|
@@ -666,7 +666,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
666
666
|
b("div", Ft, $(g(y)("inventory.formField.loading")), 1)
|
|
667
667
|
])) : (w(), I(z, { key: 1 }, [
|
|
668
668
|
T(ut, {
|
|
669
|
-
class:
|
|
669
|
+
class: O({
|
|
670
670
|
"w-full": !0,
|
|
671
671
|
"h-[200px]": !l.value
|
|
672
672
|
}),
|
|
@@ -674,13 +674,13 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
674
674
|
onFileUpload: n[0] || (n[0] = (u) => l.value = u),
|
|
675
675
|
label: g(y)("inventory.ingredient.import.uploadTemplate"),
|
|
676
676
|
"button-label": g(y)("inventory.ingredient.import.selectFile")
|
|
677
|
-
},
|
|
677
|
+
}, je({ _: 2 }, [
|
|
678
678
|
l.value ? {
|
|
679
679
|
name: "default",
|
|
680
680
|
fn: P(({ openFileDialog: u }) => [
|
|
681
681
|
b("div", Pt, [
|
|
682
682
|
b("div", {
|
|
683
|
-
class:
|
|
683
|
+
class: O([
|
|
684
684
|
"fm-corner-radius-md p-16 flex items-center gap-16",
|
|
685
685
|
{
|
|
686
686
|
"border border-fm-color-neutral-gray-100": t.value,
|
|
@@ -700,7 +700,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
700
700
|
color: r.value ? "system-error-300" : void 0
|
|
701
701
|
}, null, 8, ["name", "color"])),
|
|
702
702
|
b("div", {
|
|
703
|
-
class:
|
|
703
|
+
class: O([
|
|
704
704
|
"fm-typo-en-body-md-400 flex-1 h-[36px] flex items-center",
|
|
705
705
|
{
|
|
706
706
|
"text-fm-color-typo-disabled": t.value,
|
|
@@ -1145,7 +1145,7 @@ function zt(i) {
|
|
|
1145
1145
|
})
|
|
1146
1146
|
};
|
|
1147
1147
|
}
|
|
1148
|
-
const Ht = { class: "flex flex-col gap-16 py-12" },
|
|
1148
|
+
const Ht = { class: "flex flex-col gap-16 py-12" }, jt = { class: "flex" }, Ot = { class: "flex-1 flex flex-col" }, Yt = { class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, Kt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Gt = { class: "flex flex-col gap-4" }, Jt = /* @__PURE__ */ H({
|
|
1149
1149
|
__name: "ClosingTemplateItem",
|
|
1150
1150
|
props: {
|
|
1151
1151
|
cellByColId: {},
|
|
@@ -1158,13 +1158,13 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, jt =
|
|
|
1158
1158
|
return (t, e) => {
|
|
1159
1159
|
var f, c, m, r, d;
|
|
1160
1160
|
return w(), I("div", Ht, [
|
|
1161
|
-
b("div",
|
|
1162
|
-
b("div",
|
|
1161
|
+
b("div", jt, [
|
|
1162
|
+
b("div", Ot, [
|
|
1163
1163
|
b("div", Yt, $(s.value.original.sku.name), 1),
|
|
1164
1164
|
b("div", Kt, $(s.value.original.sku.code), 1)
|
|
1165
1165
|
]),
|
|
1166
1166
|
b("div", null, [
|
|
1167
|
-
T(g(
|
|
1167
|
+
T(g(j), {
|
|
1168
1168
|
render: (m = (c = (f = t.cellByColId[g(Y).Delete]) == null ? void 0 : f.column) == null ? void 0 : c.columnDef) == null ? void 0 : m.cell,
|
|
1169
1169
|
props: (d = (r = t.cellByColId[g(Y).Delete]) == null ? void 0 : r.getContext) == null ? void 0 : d.call(r)
|
|
1170
1170
|
}, null, 8, ["render", "props"])
|
|
@@ -1177,7 +1177,7 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, jt =
|
|
|
1177
1177
|
return w(), I("div", {
|
|
1178
1178
|
key: y.id
|
|
1179
1179
|
}, [
|
|
1180
|
-
T(g(
|
|
1180
|
+
T(g(j), {
|
|
1181
1181
|
render: (v = (_ = y.column) == null ? void 0 : _.columnDef) == null ? void 0 : v.cell,
|
|
1182
1182
|
props: (n = y.getContext) == null ? void 0 : n.call(y)
|
|
1183
1183
|
}, null, 8, ["render", "props"])
|
|
@@ -1476,7 +1476,7 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, jt =
|
|
|
1476
1476
|
const D = F("FmButton"), te = F("FmSideSheet");
|
|
1477
1477
|
return w(), U(te, {
|
|
1478
1478
|
modelValue: g(m),
|
|
1479
|
-
"onUpdate:modelValue": x[2] || (x[2] = (R) =>
|
|
1479
|
+
"onUpdate:modelValue": x[2] || (x[2] = (R) => Oe(m) ? m.value = R : null),
|
|
1480
1480
|
"dismiss-away": "",
|
|
1481
1481
|
"close-button": "",
|
|
1482
1482
|
"max-width": 800
|
|
@@ -1721,7 +1721,7 @@ const un = /* @__PURE__ */ ct(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1721
1721
|
}, {
|
|
1722
1722
|
default: P(() => [
|
|
1723
1723
|
b("div", {
|
|
1724
|
-
class:
|
|
1724
|
+
class: O([
|
|
1725
1725
|
"flex flex-col gap-8 max-h-full",
|
|
1726
1726
|
{
|
|
1727
1727
|
"p-0": o.value,
|
|
@@ -1754,13 +1754,13 @@ const un = /* @__PURE__ */ ct(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1754
1754
|
b("div", $n, [
|
|
1755
1755
|
b("div", Cn, [
|
|
1756
1756
|
b("div", In, [
|
|
1757
|
-
T(g(
|
|
1757
|
+
T(g(j), {
|
|
1758
1758
|
render: (de = (ue = (me = E._id) == null ? void 0 : me.column) == null ? void 0 : ue.columnDef) == null ? void 0 : de.cell,
|
|
1759
1759
|
props: (pe = (J = E._id) == null ? void 0 : J.getContext) == null ? void 0 : pe.call(J)
|
|
1760
1760
|
}, null, 8, ["render", "props"])
|
|
1761
1761
|
]),
|
|
1762
1762
|
b("div", Sn, [
|
|
1763
|
-
T(g(
|
|
1763
|
+
T(g(j), {
|
|
1764
1764
|
render: (ve = (ge = (fe = E.name) == null ? void 0 : fe.column) == null ? void 0 : ge.columnDef) == null ? void 0 : ve.cell,
|
|
1765
1765
|
props: (ye = (W = E.name) == null ? void 0 : W.getContext) == null ? void 0 : ye.call(W)
|
|
1766
1766
|
}, null, 8, ["render", "props"])
|
|
@@ -1773,14 +1773,14 @@ const un = /* @__PURE__ */ ct(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1773
1773
|
...R.original.items.length >= 3 ? [`and ${R.original.items.length - 3} more items`] : []
|
|
1774
1774
|
].join(", ")), 1),
|
|
1775
1775
|
b("div", Mn, [
|
|
1776
|
-
T(g(
|
|
1776
|
+
T(g(j), {
|
|
1777
1777
|
render: (we = (xe = (_e = E.ref) == null ? void 0 : _e.column) == null ? void 0 : xe.columnDef) == null ? void 0 : we.cell,
|
|
1778
1778
|
props: (ke = (q = E.ref) == null ? void 0 : q.getContext) == null ? void 0 : ke.call(q)
|
|
1779
1779
|
}, null, 8, ["render", "props"])
|
|
1780
1780
|
])
|
|
1781
1781
|
]),
|
|
1782
1782
|
b("div", null, [
|
|
1783
|
-
T(g(
|
|
1783
|
+
T(g(j), {
|
|
1784
1784
|
render: (Ce = ($e = (Te = E.status) == null ? void 0 : Te.column) == null ? void 0 : $e.columnDef) == null ? void 0 : Ce.cell,
|
|
1785
1785
|
props: (Ie = (X = E.status) == null ? void 0 : X.getContext) == null ? void 0 : Ie.call(X)
|
|
1786
1786
|
}, null, 8, ["render", "props"])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as U, ref as d, computed as y, resolveComponent as k, openBlock as s, createElementBlock as c, createElementVNode as p, createCommentVNode as S, renderSlot as u, createBlock as C, normalizeClass as f, toDisplayString as F, unref as B } from "vue";
|
|
2
2
|
import { useI18n as W } from "@feedmepos/mf-common";
|
|
3
|
-
import { X } from "./app-
|
|
3
|
+
import { X } from "./app-pFcheyXr.js";
|
|
4
4
|
const q = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "relative"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as P, t as B, a7 as A, i as D, ad as R, am as H, an as V } from "./app-
|
|
2
|
-
import { u as j } from "./supplier-
|
|
3
|
-
import { P as S } from "./format-unit-display-
|
|
1
|
+
import { a as P, t as B, a7 as A, i as D, ad as R, am as H, an as V } from "./app-pFcheyXr.js";
|
|
2
|
+
import { u as j } from "./supplier-142vtn2Q.js";
|
|
3
|
+
import { P as S } from "./format-unit-display-BHIBhwk3.js";
|
|
4
4
|
import { computed as y, defineComponent as $, mergeModels as W, useModel as J, resolveComponent as w, openBlock as F, createElementBlock as I, normalizeStyle as K, createElementVNode as N, createVNode as Q, withCtx as X, createBlock as x, createCommentVNode as E, Fragment as Y, renderList as Z, unref as M } from "vue";
|
|
5
5
|
function ne(c, i, t, s) {
|
|
6
6
|
var b, g, u;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { reactive as W, onUnmounted as q, defineComponent as T, ref as H, computed as _, resolveComponent as k, openBlock as o, createElementBlock as w, Fragment as V, createElementVNode as f, normalizeClass as D, unref as g, toDisplayString as R, createCommentVNode as b, createBlock as d, withCtx as I, createVNode as M, renderList as S, renderSlot as G, Teleport as z, watch as J, mergeModels as K, useModel as P } from "vue";
|
|
2
2
|
import { useBreakpoints as Y } from "@feedmepos/ui-library";
|
|
3
|
-
import { i as j, V as O } from "./app-
|
|
3
|
+
import { i as j, V as O } from "./app-pFcheyXr.js";
|
|
4
4
|
import { useCoreStore as X, useI18n as Q } from "@feedmepos/mf-common";
|
|
5
5
|
const N = W({});
|
|
6
6
|
function E() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as p, openBlock as s, createElementBlock as n, createElementVNode as r, toDisplayString as o, unref as
|
|
2
|
-
import { a,
|
|
1
|
+
import { defineComponent as p, openBlock as s, createElementBlock as n, createElementVNode as r, toDisplayString as o, unref as i, Fragment as d, renderList as x } from "vue";
|
|
2
|
+
import { a, l as y } from "./app-pFcheyXr.js";
|
|
3
3
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
4
4
|
const v = { class: "flex flex-col" }, g = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, h = { class: "flex-1 py-8 px-16" }, b = {
|
|
5
5
|
class: "flex-0 py-8 px-16",
|
|
@@ -20,28 +20,28 @@ const v = { class: "flex flex-col" }, g = { class: "flex flex-row fm-typo-en-bod
|
|
|
20
20
|
},
|
|
21
21
|
setup($) {
|
|
22
22
|
const { t: m } = _();
|
|
23
|
-
function c(e,
|
|
23
|
+
function c(e, l) {
|
|
24
24
|
var t;
|
|
25
25
|
if (e.measurement) {
|
|
26
26
|
const u = y(e.amount, e.measurement.conversion);
|
|
27
27
|
return `${a(u, !1)} ${(t = e.measurement) == null ? void 0 : t.abbrev}`;
|
|
28
28
|
}
|
|
29
|
-
return `${a(e.amount, !1)} ${
|
|
29
|
+
return `${a(e.amount, !1)} ${l.abbrev}`;
|
|
30
30
|
}
|
|
31
31
|
function f(e) {
|
|
32
32
|
return e.unit !== void 0;
|
|
33
33
|
}
|
|
34
|
-
return (e,
|
|
34
|
+
return (e, l) => (s(), n("div", v, [
|
|
35
35
|
r("div", g, [
|
|
36
36
|
r("div", h, o(e.name), 1),
|
|
37
|
-
r("div", b, o(
|
|
37
|
+
r("div", b, o(i(m)("inventory.ingredient.bindedItems.amount")), 1)
|
|
38
38
|
]),
|
|
39
39
|
(s(!0), n(d, null, x(e.bindings, (t) => (s(), n("div", {
|
|
40
40
|
key: t.id,
|
|
41
41
|
class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
|
|
42
42
|
}, [
|
|
43
43
|
r("div", k, o(t.name), 1),
|
|
44
|
-
f(t) ? (s(), n("div", B, o(c(t, t.unit)), 1)) : (s(), n("div", I, o(
|
|
44
|
+
f(t) ? (s(), n("div", B, o(c(t, t.unit)), 1)) : (s(), n("div", I, o(i(a)(t.amount, !1)), 1))
|
|
45
45
|
]))), 128))
|
|
46
46
|
]));
|
|
47
47
|
}
|