@feedmepos/mf-inventory-portal 1.2.3 → 1.2.4

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 (44) hide show
  1. package/dist/{App-CSdfULWS.js → App-BU_WSlx-.js} +1 -1
  2. package/dist/{ApprovalView-DTwnAFlM.js → ApprovalView-l2DdsNXH.js} +8 -8
  3. package/dist/{BindingsDialog-Bv24Ys1r.js → BindingsDialog-B4tQ9oQ2.js} +2 -2
  4. package/dist/{BindingsPicker-D-HNXv6l.js → BindingsPicker-mVGeJMi2.js} +1 -1
  5. package/dist/{BindingsTable-B5xE1kAV.js → BindingsTable-CQfPvj8g.js} +1 -1
  6. package/dist/{ClosingDraftView-BbLjS-QV.js → ClosingDraftView-BJOcWcjt.js} +93 -93
  7. package/dist/{ClosingTemplateView-Do0CkGUH.js → ClosingTemplateView-DaYjDBPc.js} +17 -17
  8. package/dist/{DeliveryOrderPrintPreview-B2YhyN59.js → DeliveryOrderPrintPreview-vHQa4Pma.js} +7 -7
  9. package/dist/{FmAdminBadge-Cj1R2Bi0.js → FmAdminBadge-DUYqoh_b.js} +3 -3
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C1pSdLfz.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-SmAbact2.js} +11 -11
  11. package/dist/{FmMultiselectDialog-eq994oQ-.js → FmMultiselectDialog-CKfAAKn7.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BheQFvJF.js → FmUnitInput.vue_vue_type_script_setup_true_lang-a967Y4eW.js} +24 -24
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DDbMiztC.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CBI-U1s2.js} +1 -1
  14. package/dist/{IngredientGroupView-DNAdO4WQ.js → IngredientGroupView-CeQ7PRmJ.js} +31 -31
  15. package/dist/{IngredientsView-d-wTEFTk.js → IngredientsView-BmN-1mUc.js} +689 -671
  16. package/dist/{IntegrationView-COWJlO4B.js → IntegrationView-Cm4jdNzA.js} +299 -297
  17. package/dist/{InventoryBindingForm-DngxfNzM.js → InventoryBindingForm-CbDjrC3O.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CfIUE7Oj.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BLuD-xKb.js} +39 -39
  19. package/dist/{InventoryBindingSummary-ZepcUPQ3.js → InventoryBindingSummary-nBwMH1KR.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-rynZcLum.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-EAczeEql.js} +4 -4
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CDfN66ys.js → PremiumBadge.vue_vue_type_script_setup_true_lang-xF4w1bLo.js} +1 -1
  22. package/dist/{PublishView-DuRaDpQj.js → PublishView-CJbpgj4t.js} +1 -1
  23. package/dist/{PurchaseOrderPrintPreview-CiwFb-cX.js → PurchaseOrderPrintPreview-CKL-ESMG.js} +6 -6
  24. package/dist/{ReceiveRequestView-CMtXbZFg.js → ReceiveRequestView-BXup2Y5i.js} +110 -110
  25. package/dist/{RecipeView-C9MuhpHd.js → RecipeView-CYiaWfO2.js} +19 -19
  26. package/dist/{StockView-CzDFioRG.js → StockView-B5ZGzrsN.js} +135 -135
  27. package/dist/{SupplierView-BKHKbhGh.js → SupplierView-DpJB7y5J.js} +3 -3
  28. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-alkGEMZE.js → TransferDetails.vue_vue_type_script_setup_true_lang-Bnw-GVII.js} +6 -6
  29. package/dist/{TransferTemplateView-B-iTVtoR.js → TransferTemplateView-2x7CoPG6.js} +57 -57
  30. package/dist/{UnitView-9cX60HUq.js → UnitView-D7gJR81B.js} +27 -27
  31. package/dist/{WarehouseView-Bt54k8Fr.js → WarehouseView-Cdmvo8AX.js} +8 -8
  32. package/dist/{app-D68Nrj_W.js → app-7RQRfUWP.js} +9646 -9600
  33. package/dist/app.js +1 -1
  34. package/dist/{decimal-DwlcTwF4.js → decimal-BG61A172.js} +1 -1
  35. package/dist/{format-unit-display-B7zglpxP.js → format-unit-display-BcCVYu07.js} +57 -57
  36. package/dist/{index-CaMvI8x0.js → index-B9eaFsQz.js} +1 -1
  37. package/dist/{index-B4zWtnox.js → index-BP5fDtDw.js} +1 -1
  38. package/dist/{stock-FiZmySc9.js → stock-B59nAkMB.js} +1 -1
  39. package/dist/{supplier-AxlUb2WF.js → supplier-T0SjVZcK.js} +1 -1
  40. package/dist/tsconfig.app.tsbuildinfo +1 -1
  41. package/dist/{use-ingredient-select-dialog-BH-QS0jx.js → use-ingredient-select-dialog-Rvaune-D.js} +1 -1
  42. package/dist/{use-inventory-binding-dialog-TU1dCDcj.js → use-inventory-binding-dialog-DNSWmOzX.js} +1 -1
  43. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +157 -12
  44. package/package.json +3 -3
@@ -1,11 +1,11 @@
1
- import { defineComponent as K, ref as E, onMounted as re, resolveComponent as $, openBlock as F, createElementBlock as B, Fragment as ie, createElementVNode as h, toDisplayString as ue, createVNode as g, createCommentVNode as O, computed as k, watch as ce, createBlock as N, withCtx as P, unref as b, isRef as ee, normalizeClass as de, normalizeStyle as me, Teleport as pe, normalizeProps as fe, guardReactiveProps as ve } from "vue";
2
- import { a as A, e as V, f as Q, S as ye, h as ge, D as te, i as Y, j as U, F as H, m as be, U as _e, A as we, c as Re, q as ne, r as he, v as xe, s as Se, u as Ve, B as Ce, _ as Ee, C as Fe, E as $e, G as oe } from "./app-D68Nrj_W.js";
1
+ import { defineComponent as K, ref as E, onMounted as re, resolveComponent as $, openBlock as F, createElementBlock as B, Fragment as ie, createElementVNode as h, toDisplayString as ue, createVNode as g, createCommentVNode as q, computed as k, watch as ce, createBlock as N, withCtx as P, unref as b, isRef as ee, normalizeClass as de, normalizeStyle as me, Teleport as pe, normalizeProps as fe, guardReactiveProps as ve } from "vue";
2
+ import { a as A, e as V, f as Q, S as ye, h as ge, D as te, i as Y, j as U, F as O, n as be, U as _e, A as we, c as Re, r as ne, s as he, w as xe, v as Se, u as Ve, C as Ce, _ as Ee, E as Fe, G as $e, J as oe } from "./app-7RQRfUWP.js";
3
3
  import { useDialog as ke, useSnackbar as se, useProxiedModel as ae, useBreakpoints as Ie } from "@feedmepos/ui-library";
4
4
  import { i as De, _ as Ae } from "./is-linked-ingredient-error-fJ2TJb3z.js";
5
- import { _ as le } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-DDbMiztC.js";
5
+ import { _ as le } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-CBI-U1s2.js";
6
6
  import { defineStore as Be, storeToRefs as Pe } from "pinia";
7
- import { useI18n as q } from "@feedmepos/mf-common";
8
- import { _ as Te } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CfIUE7Oj.js";
7
+ import { useI18n as H } from "@feedmepos/mf-common";
8
+ import { _ as Te } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-BLuD-xKb.js";
9
9
  import { _ as Ue } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
10
10
  const Me = {
11
11
  key: 0,
@@ -46,7 +46,7 @@ const Me = {
46
46
  name: "Menu",
47
47
  bindings: f.value
48
48
  }, null, 8, ["bindings"])
49
- ])) : O("", !0)
49
+ ])) : q("", !0)
50
50
  ]))
51
51
  ], 64);
52
52
  };
@@ -134,7 +134,7 @@ const Me = {
134
134
  };
135
135
  });
136
136
  function Ge() {
137
- const { updateRecipe: w, deleteRecipe: p } = J(), f = A(), { t: l } = q();
137
+ const { updateRecipe: w, deleteRecipe: p } = J(), f = A(), { t: l } = H();
138
138
  async function r(d, u) {
139
139
  const t = Q(u);
140
140
  if (d === Y.Edit) {
@@ -147,9 +147,9 @@ function Ge() {
147
147
  }
148
148
  }
149
149
  function c(d, u) {
150
- const t = d.filter((o) => o.type === H.enum.SKU), n = d.filter(
151
- (o) => o.type === H.enum.SKU_GROUP
152
- ), m = d.filter((o) => o.type === H.enum.RECIPE);
150
+ const t = d.filter((o) => o.type === O.enum.SKU), n = d.filter(
151
+ (o) => o.type === O.enum.SKU_GROUP
152
+ ), m = d.filter((o) => o.type === O.enum.RECIPE);
153
153
  return [
154
154
  ...t.map((o) => ({ ...o, recipeIds: [...u] })),
155
155
  ...n.map((o) => ({ ...o, isGroup: !0, recipeIds: [...u] })),
@@ -212,7 +212,7 @@ const je = { class: "flex flex-col gap-40" }, Ye = {
212
212
  }, Ke = {
213
213
  key: 0,
214
214
  class: "flex flex-col items-center w-full h-full gap-24"
215
- }, qe = { key: 1 }, He = { class: "mt-32" }, Oe = /* @__PURE__ */ K({
215
+ }, He = { key: 1 }, Oe = { class: "mt-32" }, qe = /* @__PURE__ */ K({
216
216
  __name: "RecipeForm",
217
217
  props: {
218
218
  mode: {},
@@ -222,7 +222,7 @@ const je = { class: "flex flex-col gap-40" }, Ye = {
222
222
  emits: ["update:modelValue", "click:submit"],
223
223
  setup(w, { expose: p, emit: f }) {
224
224
  var R;
225
- const l = w, r = f, c = Re(), { t: i } = q(), v = k({
225
+ const l = w, r = f, c = Re(), { t: i } = H(), v = k({
226
226
  get() {
227
227
  var e;
228
228
  return ((e = l.modelValue) == null ? void 0 : e.name) ?? "";
@@ -336,14 +336,14 @@ const je = { class: "flex flex-col gap-40" }, Ye = {
336
336
  ]),
337
337
  s[4] || (s[4] = h("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading...", -1)),
338
338
  g(M)
339
- ])) : _.value && o.value.length ? (F(), B("div", qe, [
339
+ ])) : _.value && o.value.length ? (F(), B("div", He, [
340
340
  g(le, {
341
341
  name: "Menu",
342
342
  bindings: o.value
343
343
  }, null, 8, ["bindings"])
344
- ])) : O("", !0)
345
- ])) : O("", !0),
346
- h("div", He, [
344
+ ])) : q("", !0)
345
+ ])) : q("", !0),
346
+ h("div", Oe, [
347
347
  g(Ue, {
348
348
  entity: "inventoryRecipe",
349
349
  modelValue: u.value,
@@ -364,7 +364,7 @@ const je = { class: "flex flex-col gap-40" }, Ye = {
364
364
  },
365
365
  emits: ["update:show"],
366
366
  setup(w) {
367
- const p = w, f = A(), l = se(), { t: r } = q(), c = ae(p, "show"), i = ae(p, "recipe"), v = k(() => {
367
+ const p = w, f = A(), l = se(), { t: r } = H(), c = ae(p, "show"), i = ae(p, "recipe"), v = k(() => {
368
368
  switch (p.mode) {
369
369
  case V.READ:
370
370
  return "";
@@ -462,7 +462,7 @@ const je = { class: "flex flex-col gap-40" }, Ye = {
462
462
  ])
463
463
  ]),
464
464
  default: P(() => [
465
- g(Oe, {
465
+ g(qe, {
466
466
  class: "w-full",
467
467
  ref_key: "hasValidationExpose",
468
468
  ref: u,
@@ -536,7 +536,7 @@ const Ze = { class: "flex flex-col py-8" }, et = { class: "fm-typo-en-body-lg-60
536
536
  if (R === "export")
537
537
  return Xe();
538
538
  }
539
- const m = E(""), o = k(() => v.value), { breakpoints: _ } = Ie(), a = k(() => _.value.xs || _.value.sm), y = k(() => a.value ? 10 : 20), C = Ce(), { t: x } = q();
539
+ const m = E(""), o = k(() => v.value), { breakpoints: _ } = Ie(), a = k(() => _.value.xs || _.value.sm), y = k(() => a.value ? 10 : 20), C = Ce(), { t: x } = H();
540
540
  return (R, e) => {
541
541
  const s = $("FmTable");
542
542
  return F(), N(Ee, {