@feedmepos/mf-inventory-portal 0.0.23-dev.8 → 0.0.23-dev.9
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-PIGOcNDx.js → App-ByLgARNp.js} +37 -33
- package/dist/{ApprovalView-D1BiL6Eb.js → ApprovalView-e85YmdZN.js} +4 -4
- package/dist/{BindingsDialog-Svbe6kls.js → BindingsDialog-giBUD0IH.js} +2 -2
- package/dist/{BindingsPicker-CuPWowOy.js → BindingsPicker-CC4MmPbF.js} +2 -2
- package/dist/{BindingsTable-C0wTK7Tu.js → BindingsTable-WphZdzrA.js} +6 -6
- package/dist/ClosingDraftView-CQM1Sx45.js +755 -0
- package/dist/{ClosingTemplateView-DYB4bk26.js → ClosingTemplateView-1lzoDyet.js} +32 -31
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DApYBey2.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Cv-vvzr5.js} +19 -19
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BHY6DKjD.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BvkN-71q.js} +2 -2
- package/dist/{FmMultiselectDialog-DmiCS2MH.js → FmMultiselectDialog-DScMA6iG.js} +15 -15
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BZijME3G.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DIFQcrc0.js} +2 -2
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DEmObD4q.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-t4pim_k9.js} +1 -1
- package/dist/{IngredientGroupView-CwyP0VR-.js → IngredientGroupView-UegBM_JK.js} +12 -11
- package/dist/{IngredientsView-NtoU_ukl.js → IngredientsView-BfW-jZLM.js} +13 -12
- package/dist/{IntegrationView-CGBphMfH.js → IntegrationView-FYNNzKia.js} +50 -50
- package/dist/{InventoryBindingForm-C86nm-C1.js → InventoryBindingForm-DsHv_IHG.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-B-hMO0wv.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BURSXafS.js} +13 -13
- package/dist/{InventoryBindingSummary-DLQRCqmv.js → InventoryBindingSummary-BLb4MRPZ.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CZsvmIju.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BG78-DHs.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BsEfEmYR.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CqID5_7v.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-BQ4eedE7.js → PurchaseOrderPrintPreview-BBMU3teq.js} +1 -1
- package/dist/{ReceiveRequestView-5CJF48wa.js → ReceiveRequestView-vbANEzne.js} +19 -19
- package/dist/{RecipeView-DxCEmBEs.js → RecipeView-DW4DY0C0.js} +11 -10
- package/dist/{StockView-DcTDvPWu.js → StockView-C5btudss.js} +1356 -1457
- package/dist/{SupplierView-Bz44BdU-.js → SupplierView-B2aObtwK.js} +14 -13
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DpVa6Exh.js → TransferDetails.vue_vue_type_script_setup_true_lang-B2LOvVef.js} +17 -16
- package/dist/{TransferTemplateView-D-bEaxob.js → TransferTemplateView-BKumN_p6.js} +57 -56
- package/dist/{UnitView-C0BQQzCx.js → UnitView-CHLucv9s.js} +81 -80
- package/dist/{WarehouseView-CXZwvNvG.js → WarehouseView-G8pej6Y2.js} +25 -24
- package/dist/api/closing-draft.d.ts +6 -0
- package/dist/api/closing.d.ts +1 -0
- package/dist/{app-D0Gx27w2.js → app-BXjk74IB.js} +2175 -2140
- package/dist/app.d.ts +3 -0
- package/dist/app.js +1 -1
- package/dist/components/row-action.enum.d.ts +1 -0
- package/dist/{date2-Ci5ROICb.js → date2-CWAt9bRf.js} +1 -1
- package/dist/{dayjs.min-CHLyNvFi.js → dayjs.min-D3jPOnu6.js} +17 -17
- package/dist/{decimal-BfCXdz5w.js → decimal-DC07xoJW.js} +1 -1
- package/dist/{defineDeepModel-BUK9npmw.js → defineDeepModel-CiD4GtOw.js} +1 -1
- package/dist/{feature-B_jNIFmj.js → feature-6tcLMotY.js} +1 -1
- package/dist/form-mode.enum-BKiNVH6A.js +4 -0
- package/dist/{format-time-from-id-DBB6aOha.js → format-time-from-id-CYU5Z9Mt.js} +1 -1
- package/dist/{format-unit-display-CDJ1ljmF.js → format-unit-display-CY-0bznr.js} +83 -82
- package/dist/{fuzzy-t_DxwCxM.js → fuzzy-BMkhNYLR.js} +1 -1
- package/dist/{index-Cqh8dnaX.js → index-BXwQa14X.js} +1 -1
- package/dist/{index-CaC2cCOr.js → index-CRLd5xyg.js} +1 -1
- package/dist/{index-CEnwiSNc.js → index-DqwAtOgI.js} +1 -1
- package/dist/{netsuite-Amm_idsL.js → netsuite-fYUUk_ss.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{row-action.enum-PMKMRrZR.js → row-action.enum-7rGLGZ5v.js} +10 -5
- package/dist/{rules-DrmWDZZ7.js → rules-BmRGm3yv.js} +39 -35
- package/dist/stock-CEX0DP2B.js +111 -0
- package/dist/stores/inventory.d.ts +1 -4
- package/dist/style.css +1 -1
- package/dist/{supplier-J8OTJPSV.js → supplier-CdJmZr7w.js} +22 -22
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-BYHugl4t.js → use-inventory-binding-dialog-B0G2XYSw.js} +2 -2
- package/dist/{use-template-enabled-locations-2-rSd9SeNy.js → use-template-enabled-locations-2-xbPJWHCs.js} +2 -2
- package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +2 -0
- package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +22 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +447 -0
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +22 -0
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +2601 -0
- package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +24 -192
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +24 -192
- package/dist/{xlsx-BCfGO1MX.js → xlsx-CTOKp7SQ.js} +1 -1
- package/dist/{xlsx.util-Bf_CCXgS.js → xlsx.util-D5NFSfDg.js} +1 -1
- package/package.json +1 -1
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { ref as M, h as F, defineComponent as
|
|
2
|
-
import { u as qe, _ as Qe, a as Xe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { ref as M, h as F, defineComponent as O, resolveComponent as R, openBlock as k, createElementBlock as I, createElementVNode as _, normalizeClass as Y, createTextVNode as Fe, toDisplayString as C, unref as v, createCommentVNode as G, createVNode as T, withCtx as P, Fragment as H, renderList as J, computed as E, watch as Re, createSlots as Pe, createBlock as V, isRef as je, normalizeStyle as Ye, Teleport as Ke, normalizeProps as Ge, guardReactiveProps as Je, mergeProps as We } from "vue";
|
|
2
|
+
import { u as qe, _ as Qe, a as Xe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BvkN-71q.js";
|
|
3
3
|
import { useCoreStore as le, useI18n as B } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as Ze, useSnackbar as Z, useDialog as ae, FmButtonVariant as Se, components as L, useProxiedModel as et, useBreakpoints as tt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Ae, storeToRefs as Ee } from "pinia";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { a as oe, b as Ve, d as Ne, s as Be, r as st } from "./xlsx.util-
|
|
6
|
+
import { F as z } from "./form-mode.enum-BKiNVH6A.js";
|
|
7
|
+
import { k as nt, u as re, c as Ue, a as ie, i as ot } from "./app-BXjk74IB.js";
|
|
8
|
+
import { a as oe, b as Ve, d as Ne, s as Be, r as st } from "./xlsx.util-D5NFSfDg.js";
|
|
9
9
|
import { F as lt } from "./FmDroppableField-8RzKjEdL.js";
|
|
10
|
-
import { f as at, d as ne } from "./date2-
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
10
|
+
import { f as at, d as ne } from "./date2-CWAt9bRf.js";
|
|
11
|
+
import { D as Me, R as N } from "./row-action.enum-7rGLGZ5v.js";
|
|
12
|
+
import { c as rt, F as j, _ as Le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
13
|
+
import { f as it } from "./format-time-from-id-CYU5Z9Mt.js";
|
|
14
|
+
import { u as ct } from "./netsuite-fYUUk_ss.js";
|
|
15
|
+
import { R as mt, A as ut } from "./rules-BmRGm3yv.js";
|
|
16
|
+
import { F as dt } from "./FmMultiselectDialog-DScMA6iG.js";
|
|
17
|
+
import { d as pt } from "./defineDeepModel-CiD4GtOw.js";
|
|
18
|
+
import { u as ft } from "./use-template-enabled-locations-2-xbPJWHCs.js";
|
|
18
19
|
import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
19
20
|
const ee = nt((r, s) => {
|
|
20
21
|
function o() {
|
|
@@ -537,7 +538,7 @@ function kt(r) {
|
|
|
537
538
|
const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-col" }, Ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary flex items-center gap-4" }, It = {
|
|
538
539
|
key: 0,
|
|
539
540
|
class: "text-fm-color-typo-secondary fm-typo-en-body-sm-400"
|
|
540
|
-
}, St = { key: 0 }, De = /* @__PURE__ */
|
|
541
|
+
}, St = { key: 0 }, De = /* @__PURE__ */ O({
|
|
541
542
|
__name: "ClosingTemplateImportItem",
|
|
542
543
|
props: {
|
|
543
544
|
type: {},
|
|
@@ -606,7 +607,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
606
607
|
}, Vt = { class: "text-fm-color-system-error-300 fm-typo-en-body-sm-400" }, Nt = {
|
|
607
608
|
key: 0,
|
|
608
609
|
class: "max-h-[200px] overflow-y-auto flex flex-col gap-8"
|
|
609
|
-
}, Bt = { class: "fm-typo-en-body-lg-600" }, Lt = /* @__PURE__ */
|
|
610
|
+
}, Bt = { class: "fm-typo-en-body-lg-600" }, Lt = /* @__PURE__ */ O({
|
|
610
611
|
__name: "ClosingTemplateImport",
|
|
611
612
|
setup(r) {
|
|
612
613
|
const s = M(null), o = Ze(), l = Z(), e = M(!1), t = M(!1), y = M(new Array()), p = M([]), f = M([]), i = E(
|
|
@@ -1149,7 +1150,7 @@ function zt(r) {
|
|
|
1149
1150
|
})
|
|
1150
1151
|
};
|
|
1151
1152
|
}
|
|
1152
|
-
const Ht = { class: "flex flex-col gap-16 py-12" },
|
|
1153
|
+
const Ht = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, jt = { 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__ */ O({
|
|
1153
1154
|
__name: "ClosingTemplateItem",
|
|
1154
1155
|
props: {
|
|
1155
1156
|
cellByColId: {},
|
|
@@ -1162,13 +1163,13 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, jt = { class: "flex" }, Ot =
|
|
|
1162
1163
|
return (e, t) => {
|
|
1163
1164
|
var y, p, f, i, d;
|
|
1164
1165
|
return k(), I("div", Ht, [
|
|
1165
|
-
_("div",
|
|
1166
|
-
_("div",
|
|
1166
|
+
_("div", Ot, [
|
|
1167
|
+
_("div", jt, [
|
|
1167
1168
|
_("div", Yt, C(o.value.original.sku.name), 1),
|
|
1168
1169
|
_("div", Kt, C(o.value.original.sku.code), 1)
|
|
1169
1170
|
]),
|
|
1170
1171
|
_("div", null, [
|
|
1171
|
-
T(v(
|
|
1172
|
+
T(v(j), {
|
|
1172
1173
|
render: (f = (p = (y = e.cellByColId[v(K).Delete]) == null ? void 0 : y.column) == null ? void 0 : p.columnDef) == null ? void 0 : f.cell,
|
|
1173
1174
|
props: (d = (i = e.cellByColId[v(K).Delete]) == null ? void 0 : i.getContext) == null ? void 0 : d.call(i)
|
|
1174
1175
|
}, null, 8, ["render", "props"])
|
|
@@ -1181,7 +1182,7 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, jt = { class: "flex" }, Ot =
|
|
|
1181
1182
|
return k(), I("div", {
|
|
1182
1183
|
key: m.id
|
|
1183
1184
|
}, [
|
|
1184
|
-
T(v(
|
|
1185
|
+
T(v(j), {
|
|
1185
1186
|
render: (h = (g = m.column) == null ? void 0 : g.columnDef) == null ? void 0 : h.cell,
|
|
1186
1187
|
props: (u = m.getContext) == null ? void 0 : u.call(m)
|
|
1187
1188
|
}, null, 8, ["render", "props"])
|
|
@@ -1191,7 +1192,7 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, jt = { class: "flex" }, Ot =
|
|
|
1191
1192
|
]);
|
|
1192
1193
|
};
|
|
1193
1194
|
}
|
|
1194
|
-
}), Wt = { class: "flex flex-col gap-16" }, qt = { class: "flex flex-col gap-24" }, Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center" }, Zt = { class: "flex-1 fm-typo-en-title-sm-600" }, en = { class: "flex flex-col gap-16" }, tn = { class: "flex items-center" }, nn = { class: "flex-1 gap-8 fm-typo-en-title-sm-600" }, on = /* @__PURE__ */
|
|
1195
|
+
}), Wt = { class: "flex flex-col gap-16" }, qt = { class: "flex flex-col gap-24" }, Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center" }, Zt = { class: "flex-1 fm-typo-en-title-sm-600" }, en = { class: "flex flex-col gap-16" }, tn = { class: "flex items-center" }, nn = { class: "flex-1 gap-8 fm-typo-en-title-sm-600" }, on = /* @__PURE__ */ O({
|
|
1195
1196
|
__name: "ClosingTemplateForm",
|
|
1196
1197
|
props: {
|
|
1197
1198
|
modelValue: {},
|
|
@@ -1385,7 +1386,7 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, jt = { class: "flex" }, Ot =
|
|
|
1385
1386
|
}, 8, ["disabled"]);
|
|
1386
1387
|
};
|
|
1387
1388
|
}
|
|
1388
|
-
}), sn = { class: "flex items-center" }, ln = { class: "fm-typo-en-title-md-600" }, an = { class: "flex gap-4" }, rn = /* @__PURE__ */
|
|
1389
|
+
}), sn = { class: "flex items-center" }, ln = { class: "fm-typo-en-title-md-600" }, an = { class: "flex gap-4" }, rn = /* @__PURE__ */ O({
|
|
1389
1390
|
__name: "ClosingTemplateDialog",
|
|
1390
1391
|
props: {
|
|
1391
1392
|
mode: {},
|
|
@@ -1497,7 +1498,7 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, jt = { class: "flex" }, Ot =
|
|
|
1497
1498
|
const A = R("FmButton"), D = R("FmSideSheet");
|
|
1498
1499
|
return k(), V(D, {
|
|
1499
1500
|
modelValue: v(f),
|
|
1500
|
-
"onUpdate:modelValue": w[2] || (w[2] = (S) =>
|
|
1501
|
+
"onUpdate:modelValue": w[2] || (w[2] = (S) => je(f) ? f.value = S : null),
|
|
1501
1502
|
"dismiss-away": "",
|
|
1502
1503
|
"close-button": "",
|
|
1503
1504
|
"max-width": 800
|
|
@@ -1551,7 +1552,7 @@ const un = /* @__PURE__ */ vt(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1551
1552
|
}, yn = {
|
|
1552
1553
|
key: 3,
|
|
1553
1554
|
class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary flex flex-col gap-12"
|
|
1554
|
-
}, hn = { class: "fm-typo-en-body-md-600" }, bn = { class: "fm-typo-en-body-md-600" }, _n = { key: 4 }, xn = { class: "fm-typo-en-body-md-600" }, wn = { class: "fm-typo-en-body-md-600" }, kn = { class: "flex sm:flex-col xs:flex-col justify-end gap-8 w-full mb-16" }, Tn = /* @__PURE__ */
|
|
1555
|
+
}, hn = { class: "fm-typo-en-body-md-600" }, bn = { class: "fm-typo-en-body-md-600" }, _n = { key: 4 }, xn = { class: "fm-typo-en-body-md-600" }, wn = { class: "fm-typo-en-body-md-600" }, kn = { class: "flex sm:flex-col xs:flex-col justify-end gap-8 w-full mb-16" }, Tn = /* @__PURE__ */ O({
|
|
1555
1556
|
__name: "ClosingTemplatePublish",
|
|
1556
1557
|
emits: ["close"],
|
|
1557
1558
|
setup(r, { emit: s }) {
|
|
@@ -1643,7 +1644,7 @@ const un = /* @__PURE__ */ vt(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1643
1644
|
]);
|
|
1644
1645
|
};
|
|
1645
1646
|
}
|
|
1646
|
-
}), $n = { class: "flex-1 flex flex-col gap-8" }, Cn = { class: "flex flex-col" }, In = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Sn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Mn = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Dn = { class: "fm-typo-en-body-lg-400 line-clamp-2" },
|
|
1647
|
+
}), $n = { class: "flex-1 flex flex-col gap-8" }, Cn = { class: "flex flex-col" }, In = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Sn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Mn = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Dn = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, qn = /* @__PURE__ */ O({
|
|
1647
1648
|
__name: "ClosingTemplateView",
|
|
1648
1649
|
setup(r) {
|
|
1649
1650
|
const { t: s } = B(), { createTemplate: o, updateTemplate: l, exportTemplates: e, importTemplates: t } = se(), { templateDialogProps: y, templateDetailsProps: p } = Ee(se()), f = re(), i = ae(), d = te(), m = qe(), { breakpoints: g } = tt();
|
|
@@ -1775,13 +1776,13 @@ const un = /* @__PURE__ */ vt(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1775
1776
|
_("div", $n, [
|
|
1776
1777
|
_("div", Cn, [
|
|
1777
1778
|
_("div", In, [
|
|
1778
|
-
T(v(
|
|
1779
|
+
T(v(j), {
|
|
1779
1780
|
render: (de = (ue = (me = U._id) == null ? void 0 : me.column) == null ? void 0 : ue.columnDef) == null ? void 0 : de.cell,
|
|
1780
1781
|
props: (pe = (W = U._id) == null ? void 0 : W.getContext) == null ? void 0 : pe.call(W)
|
|
1781
1782
|
}, null, 8, ["render", "props"])
|
|
1782
1783
|
]),
|
|
1783
1784
|
_("div", Sn, [
|
|
1784
|
-
T(v(
|
|
1785
|
+
T(v(j), {
|
|
1785
1786
|
render: (ge = (ve = (fe = U.name) == null ? void 0 : fe.column) == null ? void 0 : ve.columnDef) == null ? void 0 : ge.cell,
|
|
1786
1787
|
props: (ye = (q = U.name) == null ? void 0 : q.getContext) == null ? void 0 : ye.call(q)
|
|
1787
1788
|
}, null, 8, ["render", "props"])
|
|
@@ -1790,18 +1791,18 @@ const un = /* @__PURE__ */ vt(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1790
1791
|
count: ((be = S.original.locations) == null ? void 0 : be.length) ?? 0
|
|
1791
1792
|
}) : v(s)("inventory.closing.table.enabledForAll")), 1),
|
|
1792
1793
|
_("div", Mn, C([
|
|
1793
|
-
...S.original.items.slice(0, 3).map((
|
|
1794
|
+
...S.original.items.slice(0, 3).map((Oe) => Oe.sku.name),
|
|
1794
1795
|
...S.original.items.length >= 3 ? [`and ${S.original.items.length - 3} more items`] : []
|
|
1795
1796
|
].join(", ")), 1),
|
|
1796
1797
|
_("div", Dn, [
|
|
1797
|
-
T(v(
|
|
1798
|
+
T(v(j), {
|
|
1798
1799
|
render: (we = (xe = (_e = U.ref) == null ? void 0 : _e.column) == null ? void 0 : xe.columnDef) == null ? void 0 : we.cell,
|
|
1799
1800
|
props: (ke = (Q = U.ref) == null ? void 0 : Q.getContext) == null ? void 0 : ke.call(Q)
|
|
1800
1801
|
}, null, 8, ["render", "props"])
|
|
1801
1802
|
])
|
|
1802
1803
|
]),
|
|
1803
1804
|
_("div", null, [
|
|
1804
|
-
T(v(
|
|
1805
|
+
T(v(j), {
|
|
1805
1806
|
render: (Ce = ($e = (Te = U.status) == null ? void 0 : Te.column) == null ? void 0 : $e.columnDef) == null ? void 0 : Ce.cell,
|
|
1806
1807
|
props: (Ie = (X = U.status) == null ? void 0 : X.getContext) == null ? void 0 : Ie.call(X)
|
|
1807
1808
|
}, null, 8, ["render", "props"])
|
|
@@ -1829,5 +1830,5 @@ const un = /* @__PURE__ */ vt(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1829
1830
|
}
|
|
1830
1831
|
});
|
|
1831
1832
|
export {
|
|
1832
|
-
|
|
1833
|
+
qn as default
|
|
1833
1834
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as k, t as R } from "./rules-
|
|
3
|
-
import { u as j } from "./supplier-
|
|
4
|
-
import { P as S } from "./format-unit-display-
|
|
5
|
-
import { computed as y, defineComponent as $, mergeModels as W, useModel as J, resolveComponent as U, openBlock as T, createElementBlock as A, normalizeStyle as K, createElementVNode as
|
|
1
|
+
import { w as V, u as E, I, B as H, D as M } from "./app-BXjk74IB.js";
|
|
2
|
+
import { a as k, t as R } from "./rules-BmRGm3yv.js";
|
|
3
|
+
import { u as j } from "./supplier-CdJmZr7w.js";
|
|
4
|
+
import { P as S } from "./format-unit-display-CY-0bznr.js";
|
|
5
|
+
import { computed as y, defineComponent as $, mergeModels as W, useModel as J, resolveComponent as U, openBlock as T, createElementBlock as A, normalizeStyle as K, createElementVNode as D, createVNode as Q, withCtx as X, createBlock as w, createCommentVNode as N, Fragment as Y, renderList as Z, unref as x } from "vue";
|
|
6
6
|
function z(l, r, e) {
|
|
7
7
|
var s;
|
|
8
8
|
if (!!r.measurement === !!e && ((s = r.measurement) == null ? void 0 : s.id) === e)
|
|
@@ -28,11 +28,11 @@ function re(l, r, e, n) {
|
|
|
28
28
|
)) == null ? void 0 : u.defaultCost, o = l.defaultCost ? z(l.unit, l.defaultCost, l.trackingMeasurement) : void 0, s = t ?? o, i = s == null ? void 0 : s.costPerUnit, c = i ? s != null && s.measurement ? +k(i) / +k(s == null ? void 0 : s.measurement.conversion) : +k(i) : void 0, p = c ? e ? c * +k(e.conversion) : c : void 0, f = p ? +k(r) * p : void 0;
|
|
29
29
|
return f ? {
|
|
30
30
|
...R(f ?? 0, 2),
|
|
31
|
-
currency:
|
|
31
|
+
currency: V()
|
|
32
32
|
} : {
|
|
33
33
|
amount: 0,
|
|
34
34
|
precision: 0,
|
|
35
|
-
currency:
|
|
35
|
+
currency: V()
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
function F(l) {
|
|
@@ -57,7 +57,7 @@ function C(l) {
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
function ie(l, r, e = !1, n = !1) {
|
|
60
|
-
const t = j(), o =
|
|
60
|
+
const t = j(), o = E();
|
|
61
61
|
o.watchLocation(async () => {
|
|
62
62
|
var v;
|
|
63
63
|
await t.readSuppliers();
|
|
@@ -82,7 +82,7 @@ function ie(l, r, e = !1, n = !1) {
|
|
|
82
82
|
set(u) {
|
|
83
83
|
const a = l() ?? {};
|
|
84
84
|
if (s.value === S.PURCHASE) {
|
|
85
|
-
const _ = (n ? t.suppliers : t.businessSuppliers).find((
|
|
85
|
+
const _ = (n ? t.suppliers : t.businessSuppliers).find((B) => B._id === u);
|
|
86
86
|
r({
|
|
87
87
|
...a,
|
|
88
88
|
supplier: _ ? F(_) : a.supplier
|
|
@@ -100,7 +100,7 @@ function ie(l, r, e = !1, n = !1) {
|
|
|
100
100
|
return n ? [...a, ...u] : a;
|
|
101
101
|
}), L = y(() => {
|
|
102
102
|
var h;
|
|
103
|
-
const u = ((h = o._currentLocation) == null ? void 0 : h.type) ===
|
|
103
|
+
const u = ((h = o._currentLocation) == null ? void 0 : h.type) === I.warehouse;
|
|
104
104
|
return (e ? o.locations.filter((d) => d.doc._id !== o.currentLocation.doc._id) : o.locations).filter((d) => u || d.acceptRequest).map(C);
|
|
105
105
|
}), b = y(() => {
|
|
106
106
|
if (s.value === S.PURCHASE) {
|
|
@@ -237,36 +237,36 @@ const G = { class: "sticky top-0 bg-white mb-8" }, q = { class: "overflow-y-auto
|
|
|
237
237
|
class: "relative",
|
|
238
238
|
style: K({ maxHeight: `${o.maxHeight}px`, width: o.width })
|
|
239
239
|
}, [
|
|
240
|
-
|
|
240
|
+
D("div", G, [
|
|
241
241
|
Q(c, {
|
|
242
242
|
modelValue: e.value,
|
|
243
243
|
"onUpdate:modelValue": s[1] || (s[1] = (f) => e.value = f),
|
|
244
244
|
placeholder: "Filter options"
|
|
245
245
|
}, {
|
|
246
246
|
append: X(() => [
|
|
247
|
-
e.value ? (T(),
|
|
247
|
+
e.value ? (T(), w(i, {
|
|
248
248
|
key: 0,
|
|
249
249
|
variant: "tertiary",
|
|
250
250
|
"prepend-icon": "close",
|
|
251
251
|
onClick: s[0] || (s[0] = (f) => e.value = "")
|
|
252
|
-
})) :
|
|
252
|
+
})) : N("", !0)
|
|
253
253
|
]),
|
|
254
254
|
_: 1
|
|
255
255
|
}, 8, ["modelValue"])
|
|
256
256
|
]),
|
|
257
|
-
|
|
258
|
-
(T(!0), A(Y, null, Z(t.value, (f, L) => (T(),
|
|
257
|
+
D("div", q, [
|
|
258
|
+
(T(!0), A(Y, null, Z(t.value, (f, L) => (T(), w(p, {
|
|
259
259
|
key: L,
|
|
260
260
|
label: f.label,
|
|
261
261
|
sublabel: f.sublabel,
|
|
262
|
-
"model-value":
|
|
263
|
-
onClick: () => o.handleItemChange(
|
|
262
|
+
"model-value": x(M)(o.modelValue, f.value),
|
|
263
|
+
onClick: () => o.handleItemChange(x(M)(o.modelValue, f.value), f),
|
|
264
264
|
onVnodeMounted: (b) => {
|
|
265
265
|
var g;
|
|
266
|
-
return
|
|
266
|
+
return x(M)(o.modelValue, f.value) && ((g = b.el) == null || g.scrollIntoView({ behavior: "smooth", block: "center" }), console.log("scrollTo", b.el)), void 0;
|
|
267
267
|
}
|
|
268
268
|
}, null, 8, ["label", "sublabel", "model-value", "onClick", "onVnodeMounted"]))), 128)),
|
|
269
|
-
t.value.length ?
|
|
269
|
+
t.value.length ? N("", !0) : (T(), w(p, {
|
|
270
270
|
key: 0,
|
|
271
271
|
disabled: "",
|
|
272
272
|
label: "No options available"
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { u as j } from "./app-
|
|
3
|
+
import { u as j } from "./app-BXjk74IB.js";
|
|
4
4
|
import { useCoreStore as X, useI18n as Q } from "@feedmepos/mf-common";
|
|
5
|
-
import { c as O } from "./date2-
|
|
5
|
+
import { c as O } from "./date2-CWAt9bRf.js";
|
|
6
6
|
const N = W({});
|
|
7
7
|
function E() {
|
|
8
8
|
const v = `${Math.random()}`, l = new ResizeObserver((s) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as oe, computed as _, ref as C, watch as ne, openBlock as d, createElementBlock as v, normalizeStyle as A, Fragment as S, renderList as
|
|
1
|
+
import { defineComponent as oe, computed as _, ref as C, watch as ne, openBlock as d, createElementBlock as v, normalizeStyle as A, Fragment as S, renderList as z, renderSlot as fe, createCommentVNode as M, onMounted as be, reactive as q, resolveComponent as w, createElementVNode as V, createVNode as c, toDisplayString as K, unref as B, createSlots as ye, withCtx as y, createBlock as L, normalizeClass as te, withModifiers as he, Transition as ge } from "vue";
|
|
2
2
|
import { useDialogChild as ke, useSnackbar as _e } from "@feedmepos/ui-library";
|
|
3
|
-
import {
|
|
4
|
-
import { f as xe } from "./fuzzy-
|
|
5
|
-
import { d as Fe } from "./index-
|
|
3
|
+
import { D as m } from "./app-BXjk74IB.js";
|
|
4
|
+
import { f as xe } from "./fuzzy-BMkhNYLR.js";
|
|
5
|
+
import { d as Fe } from "./index-BXwQa14X.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { useI18n as we } from "@feedmepos/mf-common";
|
|
8
8
|
import { _ as Ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -39,7 +39,7 @@ const Se = /* @__PURE__ */ oe({
|
|
|
39
39
|
class: "relative",
|
|
40
40
|
style: A({ minHeight: u.value })
|
|
41
41
|
}, [
|
|
42
|
-
(d(!0), v(S, null,
|
|
42
|
+
(d(!0), v(S, null, z(n.value, (f) => (d(), v(S, { key: f }, [
|
|
43
43
|
f >= 0 && f < r.length ? (d(), v("div", {
|
|
44
44
|
key: 0,
|
|
45
45
|
class: "absolute w-full left-0 bg-white",
|
|
@@ -69,7 +69,7 @@ const Se = /* @__PURE__ */ oe({
|
|
|
69
69
|
}, He = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, Ie = {
|
|
70
70
|
key: 2,
|
|
71
71
|
class: "p-16 text-fm-color-typo-disabled fm-typo-en-body-lg-400 text-center"
|
|
72
|
-
},
|
|
72
|
+
}, De = /* @__PURE__ */ oe({
|
|
73
73
|
__name: "FmMultiselectDialog",
|
|
74
74
|
props: {
|
|
75
75
|
modelValue: {},
|
|
@@ -95,7 +95,7 @@ const Se = /* @__PURE__ */ oe({
|
|
|
95
95
|
var k;
|
|
96
96
|
return m(F.value, (k = u.modelValue) == null ? void 0 : k[0]);
|
|
97
97
|
}) : 0;
|
|
98
|
-
(a =
|
|
98
|
+
(a = D.value) == null || a.scrollTo({ top: e * 64 - 64, behavior: "smooth" }), (b = (o = O.value) == null ? void 0 : o.inputEl) == null || b.focus();
|
|
99
99
|
}), ne([() => n.value], ([e]) => {
|
|
100
100
|
$.emitData(e), H("update:modelValue", e);
|
|
101
101
|
});
|
|
@@ -195,7 +195,7 @@ const Se = /* @__PURE__ */ oe({
|
|
|
195
195
|
var l;
|
|
196
196
|
I.value = ((l = e.target) == null ? void 0 : l.scrollTop) ?? I;
|
|
197
197
|
}
|
|
198
|
-
const me = _(() => I.value > 100),
|
|
198
|
+
const me = _(() => I.value > 100), D = C(), O = C();
|
|
199
199
|
return (e, l) => {
|
|
200
200
|
var ee, le;
|
|
201
201
|
const a = w("FmIcon"), o = w("FmTextField"), b = w("FmCircularProgress"), F = w("FmCheckbox"), k = w("FmListItem"), Z = w("FmButton"), pe = w("FmList");
|
|
@@ -204,7 +204,7 @@ const Se = /* @__PURE__ */ oe({
|
|
|
204
204
|
onScroll: J,
|
|
205
205
|
onScrollend: J,
|
|
206
206
|
ref_key: "scrollable",
|
|
207
|
-
ref:
|
|
207
|
+
ref: D
|
|
208
208
|
}, [
|
|
209
209
|
V("div", Ve, [
|
|
210
210
|
e.noShadow ? M("", !0) : (d(), v("div", Te)),
|
|
@@ -260,7 +260,7 @@ const Se = /* @__PURE__ */ oe({
|
|
|
260
260
|
]),
|
|
261
261
|
_: 1
|
|
262
262
|
}, 8, ["model-value", "indeterminate"])),
|
|
263
|
-
e.groups ? (d(!0), v(S, { key: 2 },
|
|
263
|
+
e.groups ? (d(!0), v(S, { key: 2 }, z(e.groups, (t) => (d(), v(S, {
|
|
264
264
|
key: t.id
|
|
265
265
|
}, [
|
|
266
266
|
c(k, {
|
|
@@ -288,7 +288,7 @@ const Se = /* @__PURE__ */ oe({
|
|
|
288
288
|
]),
|
|
289
289
|
_: 2
|
|
290
290
|
}, 1032, ["label", "sublabel", "disabled"]),
|
|
291
|
-
(d(!0), v(S, null,
|
|
291
|
+
(d(!0), v(S, null, z(s.value.filter((i) => i.groupId === t.id), (i) => (d(), v("div", {
|
|
292
292
|
key: i.value,
|
|
293
293
|
class: te([
|
|
294
294
|
"transition-all overflow-y-clip",
|
|
@@ -351,7 +351,7 @@ const Se = /* @__PURE__ */ oe({
|
|
|
351
351
|
];
|
|
352
352
|
}),
|
|
353
353
|
_: 1
|
|
354
|
-
}, 8, ["length", "scrollTop"])) : (d(!0), v(S, { key: 1 },
|
|
354
|
+
}, 8, ["length", "scrollTop"])) : (d(!0), v(S, { key: 1 }, z(s.value, (t) => (d(), v("div", {
|
|
355
355
|
key: t.value,
|
|
356
356
|
class: te([
|
|
357
357
|
"transition-all overflow-y-clip",
|
|
@@ -387,7 +387,7 @@ const Se = /* @__PURE__ */ oe({
|
|
|
387
387
|
]),
|
|
388
388
|
V("div", {
|
|
389
389
|
class: "sticky bottom-24",
|
|
390
|
-
style: A({ transform: `translateX(${(((le =
|
|
390
|
+
style: A({ transform: `translateX(${(((le = D.value) == null ? void 0 : le.clientWidth) ?? 0) - 80}px)` })
|
|
391
391
|
}, [
|
|
392
392
|
c(ge, { name: "fade" }, {
|
|
393
393
|
default: y(() => [
|
|
@@ -399,7 +399,7 @@ const Se = /* @__PURE__ */ oe({
|
|
|
399
399
|
"prepend-icon": "keyboard_arrow_up",
|
|
400
400
|
onClick: l[3] || (l[3] = () => {
|
|
401
401
|
var t;
|
|
402
|
-
return (t =
|
|
402
|
+
return (t = D.value) == null ? void 0 : t.scrollTo({ top: 0, behavior: "smooth" });
|
|
403
403
|
})
|
|
404
404
|
})) : M("", !0)
|
|
405
405
|
]),
|
|
@@ -409,7 +409,7 @@ const Se = /* @__PURE__ */ oe({
|
|
|
409
409
|
], 544);
|
|
410
410
|
};
|
|
411
411
|
}
|
|
412
|
-
}), je = /* @__PURE__ */ Ce(
|
|
412
|
+
}), je = /* @__PURE__ */ Ce(De, [["__scopeId", "data-v-fa6c2f94"]]);
|
|
413
413
|
export {
|
|
414
414
|
je as F
|
|
415
415
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as oe, mergeModels as O, useModel as se, computed as v, ref as P, watch as z, inject as ie, resolveComponent as b, openBlock as f, createElementBlock as y, createElementVNode as u, createVNode as M, withCtx as h, renderSlot as T, normalizeClass as V, toDisplayString as F, withDirectives as le, vModelText as ae, createCommentVNode as q, createTextVNode as ue, createBlock as W, Fragment as re, renderList as me } from "vue";
|
|
2
|
-
import { F as I } from "./index-
|
|
3
|
-
import { I as k, g as L, c as ce, a as g,
|
|
2
|
+
import { F as I } from "./index-CRLd5xyg.js";
|
|
3
|
+
import { I as k, g as L, c as ce, a as g, p as de, t as pe, b as fe, m as ve, n as be, u as ye } from "./rules-BmRGm3yv.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
function E() {
|
|
6
6
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as s, createElementBlock as n, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
|
|
2
|
-
import { a, b as y } from "./rules-
|
|
2
|
+
import { a, b as y } from "./rules-BmRGm3yv.js";
|
|
3
3
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
4
4
|
const v = { class: "flex flex-col" }, b = { 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" }, g = { class: "flex-1 py-8 px-16" }, h = {
|
|
5
5
|
class: "flex-0 py-8 px-16",
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { ref as C, computed as I, 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 H, 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, c as B, h as oe, u as ye } from "./app-
|
|
2
|
+
import { a as J, c as B, h as oe, u as ye } from "./app-BXjk74IB.js";
|
|
3
3
|
import { useDialog as le, useSnackbar as Z, useProxiedModel as be, useBreakpoints as _e } from "@feedmepos/ui-library";
|
|
4
|
-
import { F as h
|
|
4
|
+
import { F as h } from "./form-mode.enum-BKiNVH6A.js";
|
|
5
5
|
import { useI18n as W } from "@feedmepos/mf-common";
|
|
6
|
-
import { defineStore as ie, storeToRefs as
|
|
6
|
+
import { defineStore as ie, storeToRefs as ne } from "pinia";
|
|
7
|
+
import { D as se, R as Q } from "./row-action.enum-7rGLGZ5v.js";
|
|
7
8
|
import { c as xe, _ as ke, F as ae } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
8
|
-
import { u as he, _ as we, a as Se } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { u as he, _ as we, a as Se } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BvkN-71q.js";
|
|
9
10
|
import "./array-hChJVZLE.js";
|
|
10
|
-
import { d as Fe } from "./defineDeepModel-
|
|
11
|
-
import { R as Ie, A as Ce } from "./rules-
|
|
12
|
-
import { F as re } from "./FmMultiselectDialog-
|
|
11
|
+
import { d as Fe } from "./defineDeepModel-CiD4GtOw.js";
|
|
12
|
+
import { R as Ie, A as Ce } from "./rules-BmRGm3yv.js";
|
|
13
|
+
import { F as re } from "./FmMultiselectDialog-DScMA6iG.js";
|
|
13
14
|
const X = ie(
|
|
14
15
|
"ingredientGroupactions",
|
|
15
16
|
function() {
|
|
@@ -131,7 +132,7 @@ const X = ie(
|
|
|
131
132
|
header: "",
|
|
132
133
|
cell(f) {
|
|
133
134
|
return xe(
|
|
134
|
-
[
|
|
135
|
+
[se[Q.Edit], se[Q.Delete]],
|
|
135
136
|
(y) => {
|
|
136
137
|
p(y, f.row.original);
|
|
137
138
|
}
|
|
@@ -497,7 +498,7 @@ const X = ie(
|
|
|
497
498
|
}, 8, ["model-value", "header"]);
|
|
498
499
|
};
|
|
499
500
|
}
|
|
500
|
-
}), 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" },
|
|
501
|
+
}), 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" }, ot = /* @__PURE__ */ Y({
|
|
501
502
|
__name: "IngredientGroupView",
|
|
502
503
|
setup(U) {
|
|
503
504
|
const c = J(), w = I(() => c.skuGroups), o = ye(), { t: r } = W(), {
|
|
@@ -505,7 +506,7 @@ const X = ie(
|
|
|
505
506
|
updateIngredientGroup: p,
|
|
506
507
|
importIngredientGroups: v,
|
|
507
508
|
exportIngredientGroups: f
|
|
508
|
-
} = X(), { columnDefs: y, loading: A } =
|
|
509
|
+
} = X(), { columnDefs: y, loading: A } = ne(Ae()), { ingredientGroupDialogProps: b } = ne(X());
|
|
509
510
|
function d(D) {
|
|
510
511
|
switch (D) {
|
|
511
512
|
case "add":
|
|
@@ -606,5 +607,5 @@ const X = ie(
|
|
|
606
607
|
}
|
|
607
608
|
});
|
|
608
609
|
export {
|
|
609
|
-
|
|
610
|
+
ot as default
|
|
610
611
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { ref as G, defineComponent as me, computed as V, resolveComponent as $, openBlock as v, createBlock as A, withCtx as S, createVNode as f, unref as d, createElementBlock as R, Fragment as J, createElementVNode as u, createCommentVNode as H, onMounted as nt, watch as ze, normalizeClass as le, createTextVNode as He, toDisplayString as N, renderList as te, isRef as Ee, createSlots as Oe, normalizeStyle as ot, Teleport as Re, normalizeProps as lt, guardReactiveProps as rt } from "vue";
|
|
2
|
-
import { a as re, c as je, S as at, d as he, e as ve, f as Ae, C as xe, h as De, i as st, u as it } from "./app-
|
|
2
|
+
import { a as re, c as je, S as at, d as he, e as ve, f as Ae, C as xe, h as De, i as st, u as it } from "./app-BXjk74IB.js";
|
|
3
3
|
import { useDialog as Ye, useSnackbar as _e, useProxiedModel as Te, useDialogChild as ut, useBreakpoints as dt } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as mt, _ as ct } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
|
-
import { F as W
|
|
5
|
+
import { F as W } from "./form-mode.enum-BKiNVH6A.js";
|
|
6
6
|
import { useI18n as ae, useCoreStore as fe } from "@feedmepos/mf-common";
|
|
7
7
|
import { defineStore as pt, storeToRefs as vt } from "pinia";
|
|
8
|
+
import { D as Pe, R as ge } from "./row-action.enum-7rGLGZ5v.js";
|
|
8
9
|
import { c as ft, _ as yt, F as Be } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
9
|
-
import { u as gt, _ as bt, a as ht } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { A as be, a as Ge, t as qe, R as Ve, U as _t, M as xt, I as Vt } from "./rules-
|
|
10
|
+
import { u as gt, _ as bt, a as ht } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BvkN-71q.js";
|
|
11
|
+
import { A as be, a as Ge, t as qe, R as Ve, U as _t, M as xt, I as Vt } from "./rules-BmRGm3yv.js";
|
|
11
12
|
import { g as kt, _ as ke, S as Se } from "./StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js";
|
|
12
|
-
import { _ as St } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { _ as Ce } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { u as We } from "./feature-
|
|
13
|
+
import { _ as St } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-BURSXafS.js";
|
|
14
|
+
import { _ as Ce } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-t4pim_k9.js";
|
|
15
|
+
import { u as We } from "./feature-6tcLMotY.js";
|
|
15
16
|
import { _ as we } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
16
|
-
import { u as Ct } from "./netsuite-
|
|
17
|
-
import { t as Ke, d as Je, s as wt, r as Ft } from "./xlsx.util-
|
|
18
|
-
import { f as Mt } from "./date2-
|
|
17
|
+
import { u as Ct } from "./netsuite-fYUUk_ss.js";
|
|
18
|
+
import { t as Ke, d as Je, s as wt, r as Ft } from "./xlsx.util-D5NFSfDg.js";
|
|
19
|
+
import { f as Mt } from "./date2-CWAt9bRf.js";
|
|
19
20
|
import { F as It } from "./FmDroppableField-8RzKjEdL.js";
|
|
20
21
|
import "./array-hChJVZLE.js";
|
|
21
22
|
const Fe = pt("ingredientForm", function() {
|
|
@@ -1434,7 +1435,7 @@ const xn = { class: "flex items-center gap-12 pl-8" }, Vn = { class: "flex flex-
|
|
|
1434
1435
|
]);
|
|
1435
1436
|
};
|
|
1436
1437
|
}
|
|
1437
|
-
}), Tn = { class: "flex flex-col py-8" }, Pn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Bn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" },
|
|
1438
|
+
}), Tn = { class: "flex flex-col py-8" }, Pn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Bn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, so = /* @__PURE__ */ me({
|
|
1438
1439
|
__name: "IngredientsView",
|
|
1439
1440
|
setup(a) {
|
|
1440
1441
|
const r = re(), g = V(() => r.skus), s = it(), n = Ye(), l = _e(), { t: o } = ae(), { createIngredient: m, updateIngredient: y } = Fe(), { ingredientDialogProps: _, ingredientViewLoading: x } = vt(Fe()), { columnDefs: b } = $t();
|
|
@@ -1661,5 +1662,5 @@ const xn = { class: "flex items-center gap-12 pl-8" }, Vn = { class: "flex flex-
|
|
|
1661
1662
|
}
|
|
1662
1663
|
});
|
|
1663
1664
|
export {
|
|
1664
|
-
|
|
1665
|
+
so as default
|
|
1665
1666
|
};
|