@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.
Files changed (49) hide show
  1. package/dist/{ApprovalView-CjK-fcvU.js → ApprovalView-DvaKP7j9.js} +3 -3
  2. package/dist/{BindingsDialog-DWRDuKnY.js → BindingsDialog-DuJMVo61.js} +1 -1
  3. package/dist/{BindingsPicker-DtgCTWo5.js → BindingsPicker-BoYwB6U_.js} +8 -8
  4. package/dist/{BindingsTable-QevLem81.js → BindingsTable-CWpUfeKm.js} +1 -1
  5. package/dist/{ClosingTemplateView-Cdbp7nYn.js → ClosingTemplateView-Cn96MJVP.js} +26 -26
  6. package/dist/{FmDroppableField-DHF0MZls.js → FmDroppableField-Dlrwk4gA.js} +1 -1
  7. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CPhXgsQD.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CCGydCsm.js} +3 -3
  8. 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
  9. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B7dq1XS-.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTK65n8v.js} +7 -7
  10. package/dist/IngredientGroupView-VNG5Q8ou.js +608 -0
  11. package/dist/{IngredientsView-9xhWEl17.js → IngredientsView-C_rbIOCU.js} +5 -5
  12. package/dist/{IntegrationView-D7916Kg2.js → IntegrationView-OKyiv2vc.js} +2 -2
  13. 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
  14. 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
  15. package/dist/{PurchaseOrderPrintPreview-U-M3r5H9.js → PurchaseOrderPrintPreview-BSyXdhQo.js} +1 -1
  16. package/dist/{ReceiveRequestView-BzChY8ca.js → ReceiveRequestView-C4t8Kkn6.js} +288 -288
  17. package/dist/{RecipeView-GrwiLQkW.js → RecipeView-BnmwgxnO.js} +22 -22
  18. package/dist/{StockView-CMvG-CIC.js → StockView-wKpLuCbC.js} +5 -5
  19. package/dist/{SupplierView-BmqzK7D6.js → SupplierView-CZ23V9tf.js} +418 -415
  20. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CE1aYr3I.js → TransferDetails.vue_vue_type_script_setup_true_lang-Cxm7P4nU.js} +51 -51
  21. package/dist/{TransferTemplateView-CBPSaIJs.js → TransferTemplateView-DAqSN1NH.js} +8 -8
  22. package/dist/{UnitView-4JKlaXtj.js → UnitView-UhJoXWMf.js} +4 -4
  23. package/dist/{WarehouseView-B5qLIIAQ.js → WarehouseView-C-DGIBdE.js} +2 -2
  24. package/dist/{app-B0BJjpJ5.js → app-pFcheyXr.js} +19173 -19122
  25. package/dist/app.d.ts +3 -0
  26. package/dist/app.js +1 -1
  27. package/dist/components/FmMultiselectDialogProps.d.ts +0 -2
  28. package/dist/{decimal-CDTaG5jr.js → decimal-CY3TbMUy.js} +1 -1
  29. package/dist/{defineDeepModel-9-wLB59o.js → defineDeepModel-CWIF7Cxg.js} +1 -1
  30. package/dist/extensions/array.d.ts +1 -1
  31. package/dist/{format-time-from-id-Bwq0tn09.js → format-time-from-id-CSntAOsD.js} +1 -1
  32. package/dist/{format-unit-display-BImgcRNp.js → format-unit-display-BHIBhwk3.js} +49 -49
  33. package/dist/router/name.d.ts +1 -0
  34. package/dist/stores/inventory.d.ts +71 -0
  35. package/dist/style.css +1 -1
  36. package/dist/{supplier-D9s1N_M7.js → supplier-142vtn2Q.js} +1 -1
  37. package/dist/tsconfig.app.tsbuildinfo +1 -1
  38. package/dist/{use-template-enabled-locations-2-BQSfU_U_.js → use-template-enabled-locations-2-DUR98xi2.js} +1 -1
  39. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
  40. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
  41. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
  42. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
  43. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
  44. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
  45. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +215 -0
  46. package/dist/views/supplier/helpers/import-export.helper.d.ts +1 -1
  47. package/dist/{xlsx-A9JiF_qH.js → xlsx-ChOXd9sY.js} +1 -1
  48. package/dist/{xlsx.util-J1g7CG7t.js → xlsx.util-BYVL7Paj.js} +1 -1
  49. package/package.json +3 -3
@@ -1,14 +1,14 @@
1
- import { defineComponent as Y, ref as E, onMounted as re, resolveComponent as F, openBlock as C, createElementBlock as A, Fragment as ie, createElementVNode as w, toDisplayString as ce, createVNode as g, createCommentVNode as K, computed as V, watch as ue, createBlock as T, withCtx as P, unref as y, isRef as Z, normalizeClass as de, normalizeStyle as me, Teleport as pe, normalizeProps as fe, guardReactiveProps as ve } from "vue";
2
- import { u as I, c as G, S as ye, a as z, j as ee, R as ge, U as be, _ as _e, A as we, e as te, f as Re, i as he } from "./app-B0BJjpJ5.js";
1
+ import { defineComponent as Y, ref as E, onMounted as re, resolveComponent as F, openBlock as C, createElementBlock as A, Fragment as ie, createElementVNode as w, toDisplayString as ce, createVNode as g, createCommentVNode as j, computed as V, watch as ue, createBlock as T, withCtx as P, unref as y, isRef as Z, normalizeClass as de, normalizeStyle as me, Teleport as pe, normalizeProps as fe, guardReactiveProps as ve } from "vue";
2
+ import { u as I, c as G, S as ye, a as z, k as ee, R as ge, U as be, _ as _e, A as we, e as te, f as Re, i as he } from "./app-pFcheyXr.js";
3
3
  import { useDialog as xe, useSnackbar as se, useProxiedModel as ne, useBreakpoints as Ce } from "@feedmepos/ui-library";
4
4
  import { i as Ee, _ as Se } from "./is-linked-ingredient-error-fJ2TJb3z.js";
5
5
  import { F as x, D as oe, R as L } from "./row-action.enum-PMKMRrZR.js";
6
- import { _ as le } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-B7dq1XS-.js";
6
+ import { _ as le } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTK65n8v.js";
7
7
  import { defineStore as Fe, storeToRefs as Ve } from "pinia";
8
8
  import { c as ke, _ as De, F as ae } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
9
- import { useI18n as j } from "@feedmepos/mf-common";
10
- import { u as Ie, _ as $e, a as Ae } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bl-BsJNP.js";
11
- import { t as Pe, d as Be } from "./xlsx.util-J1g7CG7t.js";
9
+ import { useI18n as H } from "@feedmepos/mf-common";
10
+ import { u as Ie, _ as $e, a as Ae } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DVMieqhn.js";
11
+ import { t as Pe, d as Be } from "./xlsx.util-BYVL7Paj.js";
12
12
  const Te = {
13
13
  key: 0,
14
14
  class: "flex flex-col items-center w-full h-full gap-24"
@@ -48,7 +48,7 @@ const Te = {
48
48
  name: "Menu",
49
49
  bindings: v.value
50
50
  }, null, 8, ["bindings"])
51
- ])) : K("", !0)
51
+ ])) : j("", !0)
52
52
  ]))
53
53
  ], 64);
54
54
  };
@@ -136,7 +136,7 @@ const Te = {
136
136
  };
137
137
  });
138
138
  function Le() {
139
- const { updateRecipe: R, deleteRecipe: p } = q(), v = I(), { t: r } = j();
139
+ const { updateRecipe: R, deleteRecipe: p } = q(), v = I(), { t: r } = H();
140
140
  async function l(d, u) {
141
141
  const t = G(u);
142
142
  if (d === L.Edit) {
@@ -204,10 +204,10 @@ function Le() {
204
204
  const ze = { class: "flex flex-col gap-40" }, Ye = {
205
205
  key: 0,
206
206
  class: "col-span-2 mt-16 border-1 border-fm-color-neutral-gray-200 fm-corner-radius-lg flex flex-col p-16 gap-16"
207
- }, je = {
207
+ }, He = {
208
208
  key: 0,
209
209
  class: "flex flex-col items-center w-full h-full gap-24"
210
- }, He = { key: 1 }, Ke = /* @__PURE__ */ Y({
210
+ }, Ke = { key: 1 }, je = /* @__PURE__ */ Y({
211
211
  __name: "RecipeForm",
212
212
  props: {
213
213
  mode: {},
@@ -217,7 +217,7 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
217
217
  emits: ["update:modelValue", "click:submit"],
218
218
  setup(R, { expose: p, emit: v }) {
219
219
  var h;
220
- const r = R, l = v, { t: c } = j(), i = V({
220
+ const r = R, l = v, { t: c } = H(), i = V({
221
221
  get() {
222
222
  var n;
223
223
  return ((n = r.modelValue) == null ? void 0 : n.name) ?? "";
@@ -266,7 +266,7 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
266
266
  () => t.recipes.map((n) => ({ label: n.name, value: n.name }))
267
267
  ), m = E((h = r.modelValue) == null ? void 0 : h.name);
268
268
  return (n, o) => {
269
- const k = F("FmTextField"), H = F("FmCard"), $ = F("FmSwitch"), D = F("FmSpacer"), M = F("FmCircularProgress"), U = F("FmForm");
269
+ const k = F("FmTextField"), K = F("FmCard"), $ = F("FmSwitch"), D = F("FmSpacer"), M = F("FmCircularProgress"), U = F("FmForm");
270
270
  return C(), T(U, {
271
271
  ref_key: "formRef",
272
272
  ref: u,
@@ -285,7 +285,7 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
285
285
  ],
286
286
  "label-mark": "required"
287
287
  }, null, 8, ["disabled", "label", "model-value", "rules"]),
288
- g(H, {
288
+ g(K, {
289
289
  variant: "outlined",
290
290
  class: "p-16"
291
291
  }, {
@@ -314,21 +314,21 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
314
314
  disabled: b.value
315
315
  }, null, 8, ["modelValue", "disabled"])
316
316
  ]),
317
- b.value ? (C(), A("div", je, [
317
+ b.value ? (C(), A("div", He, [
318
318
  g(D),
319
319
  w("div", null, [
320
320
  g(M, { size: "xl" })
321
321
  ]),
322
322
  o[3] || (o[3] = w("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading...", -1)),
323
323
  g(D)
324
- ])) : (C(), A("div", He, [
324
+ ])) : (C(), A("div", Ke, [
325
325
  e.value && a.value.length ? (C(), T(le, {
326
326
  key: 0,
327
327
  name: "Menu",
328
328
  bindings: a.value
329
- }, null, 8, ["bindings"])) : K("", !0)
329
+ }, null, 8, ["bindings"])) : j("", !0)
330
330
  ]))
331
- ])) : K("", !0)
331
+ ])) : j("", !0)
332
332
  ]),
333
333
  _: 1
334
334
  }, 512);
@@ -343,7 +343,7 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
343
343
  },
344
344
  emits: ["update:show"],
345
345
  setup(R) {
346
- const p = R, v = I(), r = se(), { t: l } = j(), c = ne(p, "show"), i = ne(p, "recipe"), f = V(() => {
346
+ const p = R, v = I(), r = se(), { t: l } = H(), c = ne(p, "show"), i = ne(p, "recipe"), f = V(() => {
347
347
  switch (p.mode) {
348
348
  case x.READ:
349
349
  return "";
@@ -441,7 +441,7 @@ const ze = { class: "flex flex-col gap-40" }, Ye = {
441
441
  ])
442
442
  ]),
443
443
  default: P(() => [
444
- g(Ke, {
444
+ g(je, {
445
445
  class: "w-full",
446
446
  ref_key: "hasValidationExpose",
447
447
  ref: u,
@@ -509,9 +509,9 @@ const Je = { class: "flex flex-col py-8" }, Qe = { class: "fm-typo-en-body-lg-60
509
509
  if (o === "export")
510
510
  return Oe();
511
511
  }
512
- const e = E(""), b = V(() => f.value), { breakpoints: _ } = Ce(), s = V(() => _.value.xs || _.value.sm), m = V(() => s.value ? 10 : 20), h = Ie(), { t: n } = j();
512
+ const e = E(""), b = V(() => f.value), { breakpoints: _ } = Ce(), s = V(() => _.value.xs || _.value.sm), m = V(() => s.value ? 10 : 20), h = Ie(), { t: n } = H();
513
513
  return (o, k) => {
514
- const H = F("FmTable");
514
+ const K = F("FmTable");
515
515
  return C(), T($e, {
516
516
  title: y(n)("inventory.recipe.title"),
517
517
  actions: [
@@ -540,7 +540,7 @@ const Je = { class: "flex flex-col py-8" }, Qe = { class: "fm-typo-en-body-lg-60
540
540
  search: e.value,
541
541
  "onUpdate:search": k[0] || (k[0] = ($) => e.value = $)
542
542
  }, null, 8, ["search"]),
543
- (C(), T(H, {
543
+ (C(), T(K, {
544
544
  style: me(y(h).tableHeight),
545
545
  "column-defs": y(d),
546
546
  "row-data": t.value,
@@ -1,15 +1,15 @@
1
1
  import { ref as Q, defineComponent as mn, computed as w, resolveComponent as U, openBlock as B, createBlock as ne, withCtx as j, createElementVNode as z, normalizeClass as bo, toDisplayString as P, createVNode as C, createElementBlock as ee, Fragment as Ue, renderList as an, unref as y, h as ro, watch as Eo, isRef as Ri, createCommentVNode as Ce, reactive as Ca, onMounted as br, normalizeStyle as Er, createTextVNode as ft, Teleport as Aa, normalizeProps as ni, mergeProps as ti } from "vue";
2
- import { i as Ma, u as Ba, _ as Da, a as pa } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bl-BsJNP.js";
3
- import { n as yr, i as Bn, u as ho, o as Na, p as ja, c as hi, q as Ua, j as Xi, r as Fi, a as vn, k as ka, t as yo, m as gi, A as La, M as Ga, l as Rt, s as Ya, v as Pe, w as Va, x as Qi, R as Ha, y as wa, z as $a, B as fr, D as ge, E as Ka, f as Rr, G as bi, H as r, J as b, K as hr, L as ao, N as qa, d as Ji, b as Wa, O as Za, P as Xa, C as oi, Q as Qa, T as Ja, V as xa } from "./app-B0BJjpJ5.js";
2
+ import { i as Ma, u as Ba, _ as Da, a as pa } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DVMieqhn.js";
3
+ import { o as yr, i as Bn, u as ho, p as Na, q as ja, c as hi, r as Ua, k as Xi, s as Fi, a as vn, l as ka, t as yo, n as gi, A as La, M as Ga, m as Rt, v as Ya, w as Pe, x as Va, y as Qi, R as Ha, j as wa, z as $a, B as fr, D as ge, E as Ka, f as Rr, G as bi, H as r, J as b, K as hr, L as ao, N as qa, d as Ji, b as Wa, O as Za, P as Xa, C as oi, Q as Qa, T as Ja, V as xa } from "./app-pFcheyXr.js";
4
4
  import { useCoreStore as Tr, useI18n as zn } from "@feedmepos/mf-common";
5
5
  import { useSnackbar as Jn, useDialog as Sr, useProxiedModel as Ti, useBreakpoints as ed } from "@feedmepos/ui-library";
6
6
  import { c as nd, _ as td, F as xi } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
7
- import { g as fo } from "./decimal-CDTaG5jr.js";
8
- import { e as od, u as vr, i as Or, _ as er } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-Dp_JLw2L.js";
7
+ import { g as fo } from "./decimal-CY3TbMUy.js";
8
+ import { e as od, u as vr, i as Or, _ as er } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-CDM7DSyn.js";
9
9
  import { _ as Ei, S as ii, g as Ir } from "./StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js";
10
10
  import { _ as id } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
11
11
  import { defineStore as rd } from "pinia";
12
- import { _ as ad } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ZBxeayIl.js";
12
+ import { _ as ad } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-bEu-8q1N.js";
13
13
  import { E as dd } from "./empty-placeholder-wf6-BWE8.js";
14
14
  const To = yr((n, t) => {
15
15
  const e = Bn(), o = Tr(), i = Jn();