@feedmepos/mf-inventory-portal 1.2.21 → 1.2.22-dev.2

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 (58) hide show
  1. package/dist/{App-W6D-o08-.js → App-DtwLZ9Ng.js} +1 -1
  2. package/dist/{ApprovalView-BZbz53sS.js → ApprovalView-DTiPzA1y.js} +9 -9
  3. package/dist/{BindingsDialog-Dfz4UC2D.js → BindingsDialog--1wB_TX2.js} +2 -2
  4. package/dist/{BindingsPicker-CUZ6fUJL.js → BindingsPicker-JjZfjlvz.js} +9 -9
  5. package/dist/{BindingsTable-DLyW3TKI.js → BindingsTable-M2CGWdTD.js} +1 -1
  6. package/dist/{ClosingDraftView-D8rYJLzL.js → ClosingDraftView-B800NjEZ.js} +101 -101
  7. package/dist/ClosingTemplateView-B1TVIzzy.js +2001 -0
  8. package/dist/{DeliveryOrderPrintPreview-DsA24Pnj.js → DeliveryOrderPrintPreview-CUXfCixj.js} +8 -8
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CSgZa48L.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bdw3Q4Dz.js} +33 -33
  10. package/dist/{FmMultiselectDialog-cBcJaj1q.js → FmMultiselectDialog-CyYcvvyg.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B7bQq5iJ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D-FDSjxY.js} +49 -49
  12. package/dist/{ImportView-BiGFDwgB.js → ImportView-BR7JpsG8.js} +27 -27
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BxMg3wSa.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bae5DUA9.js} +8 -8
  14. package/dist/{IngredientGroupView-cOtXBmbd.js → IngredientGroupView-c6XH5Fzg.js} +17 -17
  15. package/dist/{IngredientsView-CZ5DxCkP.js → IngredientsView-D4JiQ6Bp.js} +72 -73
  16. package/dist/{IntegrationView-DhBH_Vdb.js → IntegrationView-BdOTe6FG.js} +3 -3
  17. package/dist/{InventoryBindingForm-CDD_kUI6.js → InventoryBindingForm-kqrZutMr.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-SyVUEz6e.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DZ-Mr8-U.js} +12 -12
  19. package/dist/{InventoryBindingSummary-BqTUX2Vr.js → InventoryBindingSummary-D4p9cOiy.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bobv93nw.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Bj_2aQiY.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-TA0bATB6.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CX9H2gLU.js} +7 -7
  22. package/dist/{PublishView-CN3AcICc.js → PublishView-DcQQtuF8.js} +10 -10
  23. package/dist/{PurchaseOrderPrintPreview-DkCHxiUR.js → PurchaseOrderPrintPreview-Ueo4Yftu.js} +13 -13
  24. package/dist/{ReceiveRequestView-Cnk3y0pY.js → ReceiveRequestView-Cikz66hY.js} +115 -115
  25. package/dist/{RecipeView-h5BAcpPp.js → RecipeView-DL1kKy2w.js} +50 -50
  26. package/dist/StockView-DzaCcxc5.js +2384 -0
  27. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BtAp8Jyl.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DP5AFZM2.js} +1 -1
  28. package/dist/{SupplierView-mV32uCUV.js → SupplierView-CJuI_jPc.js} +93 -93
  29. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BoZEbHkN.js +3233 -0
  30. package/dist/{TransferTemplateView-0fDZ7h02.js → TransferTemplateView-DiGdnr0-.js} +140 -140
  31. package/dist/{UnitView-BWeYh3xJ.js → UnitView-CA2isH5r.js} +44 -44
  32. package/dist/{WarehouseView-CgOBUpUw.js → WarehouseView-BMUJN1D1.js} +66 -66
  33. package/dist/api/adjustment-template.d.ts +1 -0
  34. package/dist/api/closing-template.d.ts +1 -0
  35. package/dist/{app-DZsfOzL0.js → app-DdrL4md8.js} +11518 -11220
  36. package/dist/app.d.ts +21 -0
  37. package/dist/app.js +4 -4
  38. package/dist/{decimal-utpTSxBA.js → decimal-DJjE7Vf3.js} +1 -1
  39. package/dist/{format-unit-display-JVq8RwWN.js → format-unit-display-CK-PNM0G.js} +33 -33
  40. package/dist/{import-export.helper-DHZ7P1SR.js → import-export.helper-CJeCekEB.js} +6 -6
  41. package/dist/{index-DNzkuf7T.js → index-Crgf6sCC.js} +1 -1
  42. package/dist/{index-Db0orR3s.js → index-D4F6boO1.js} +1 -1
  43. package/dist/layout/SingleColumnLayout.vue.d.ts +6 -3
  44. package/dist/{purchase-order-template-CkUvuhlD.js → purchase-order-template-BOLP3UzN.js} +1 -1
  45. package/dist/{stock-Cbg0VYIw.js → stock-DqL6z9wL.js} +1 -1
  46. package/dist/{supplier-kyi141cP.js → supplier-CW3GGX9U.js} +1 -1
  47. package/dist/tsconfig.app.tsbuildinfo +1 -1
  48. package/dist/{use-ingredient-select-dialog-ByVlB3un.js → use-ingredient-select-dialog-CrCo-DHA.js} +1 -1
  49. package/dist/{use-inventory-binding-dialog-DhuHKXCT.js → use-inventory-binding-dialog-RdX9Q4q9.js} +1 -1
  50. package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -0
  51. package/dist/views/adjustment-template/wastage-template/table.d.ts +60 -0
  52. package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +8 -4
  53. package/dist/views/stock/components/dialog/StockAdjustmentSideSheet.vue.d.ts +20 -0
  54. package/package.json +1 -1
  55. package/dist/ClosingTemplateView-BFMoAEiM.js +0 -1970
  56. package/dist/StockView-D_ACLa2e.js +0 -2160
  57. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BXtVtPx2.js +0 -3394
  58. package/dist/closing-template-ixqnpXdN.js +0 -53
@@ -1,4 +1,4 @@
1
- import { aN as u, aO as _, a7 as h, u as F } from "./app-DZsfOzL0.js";
1
+ import { aQ as u, aR as _, aa as h, u as F } from "./app-DdrL4md8.js";
2
2
  import { useCoreStore as y } from "@feedmepos/mf-common";
3
3
  import { ref as v, defineComponent as k, resolveComponent as l, openBlock as g, createElementBlock as S, renderSlot as x, createVNode as m, withCtx as O } from "vue";
4
4
  function w(e, t) {
@@ -8,7 +8,7 @@ function I(e, t) {
8
8
  const r = t.map((o) => o.name), n = e.map((o) => w(o, t));
9
9
  return u.aoa_to_sheet([r, ...n]);
10
10
  }
11
- async function A(e, t) {
11
+ async function C(e, t) {
12
12
  const r = u.book_new();
13
13
  for (const n of e) {
14
14
  const o = I(
@@ -52,7 +52,7 @@ function $() {
52
52
  };
53
53
  }
54
54
  const c = v($());
55
- function C() {
55
+ function D() {
56
56
  return {
57
57
  // state
58
58
  get inventoryForecast() {
@@ -78,7 +78,7 @@ function C() {
78
78
  }
79
79
  };
80
80
  }
81
- function D(e) {
81
+ function N(e) {
82
82
  let t = e.substring(e.indexOf("_") + 1);
83
83
  return t.includes("_") && (t = t.substring(0, t.lastIndexOf("_"))), Number.isNaN(Date.parse(t)) ? null : new Date(t).toISOString();
84
84
  }
@@ -109,7 +109,7 @@ const b = { class: "flex items-center gap-8" }, B = "Experience enhanced invento
109
109
  });
110
110
  export {
111
111
  L as _,
112
- A as e,
113
- D as i,
114
- C as u
112
+ C as e,
113
+ N as i,
114
+ D as u
115
115
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Q, ref as D, computed as c, watch as X, resolveComponent as l, openBlock as W, createBlock as z, unref as h, createSlots as Z, withCtx as u, createElementVNode as f, normalizeClass as ee, createVNode as a, normalizeStyle as te, Teleport as oe, h as g } from "vue";
2
- import { aI as ne, u as ae, a as se, b4 as le, E as ie, G as re, a8 as B } from "./app-DZsfOzL0.js";
2
+ import { aL as ne, u as ae, a as se, b7 as le, G as ie, I as re, ab as B } from "./app-DdrL4md8.js";
3
3
  import { useBreakpoints as ce, useDialog as ue, useSnackbar as me, components as H } from "@feedmepos/ui-library";
4
4
  const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ye = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
5
5
  __name: "PublishView",
@@ -14,7 +14,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
14
14
  { immediate: !0 }
15
15
  // Optional: triggers the watcher immediately on mount
16
16
  );
17
- const E = c(() => [
17
+ const U = c(() => [
18
18
  {
19
19
  label: t("inventory.common.refresh"),
20
20
  value: "refresh",
@@ -22,7 +22,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
22
22
  },
23
23
  { label: t("inventory.publish.actions.publishAll"), value: "publish", isPrimary: !0 }
24
24
  ]);
25
- async function U(e) {
25
+ async function q(e) {
26
26
  switch (e) {
27
27
  case "publish":
28
28
  I.open({
@@ -39,7 +39,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
39
39
  break;
40
40
  }
41
41
  }
42
- const w = D(!1), q = [
42
+ const w = D(!1), E = [
43
43
  {
44
44
  value: "publish",
45
45
  label: t("inventory.publish.actions.publishAll")
@@ -145,8 +145,8 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
145
145
  const s = l("FmChip"), p = l("FlexRender"), d = l("TableActionableRow"), j = l("FmTable"), J = l("FmCollapsibleTabs"), O = l("FmBottomSheet");
146
146
  return W(), z(re, {
147
147
  title: h(t)("inventory.publish.title"),
148
- actions: E.value,
149
- "onClick:action": U
148
+ actions: U.value,
149
+ "onClick:action": q
150
150
  }, Z({
151
151
  default: u(() => [
152
152
  f("div", {
@@ -169,18 +169,18 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
169
169
  "list-row": u((r) => [
170
170
  a(d, { row: r }, {
171
171
  default: u((y) => {
172
- var C, F, k, b, M, L, P, T, v, V;
172
+ var C, F, k, b, L, M, P, T, v, V;
173
173
  return [
174
174
  f("div", pe, [
175
175
  f("div", de, [
176
176
  a(p, {
177
177
  render: (k = (F = (C = y.code) == null ? void 0 : C.column) == null ? void 0 : F.columnDef) == null ? void 0 : k.cell,
178
- props: (M = (b = y.code) == null ? void 0 : b.getContext) == null ? void 0 : M.call(b)
178
+ props: (L = (b = y.code) == null ? void 0 : b.getContext) == null ? void 0 : L.call(b)
179
179
  }, null, 8, ["render", "props"])
180
180
  ]),
181
181
  f("div", ye, [
182
182
  a(p, {
183
- render: (T = (P = (L = y.name) == null ? void 0 : L.column) == null ? void 0 : P.columnDef) == null ? void 0 : T.cell,
183
+ render: (T = (P = (M = y.name) == null ? void 0 : M.column) == null ? void 0 : P.columnDef) == null ? void 0 : T.cell,
184
184
  props: (V = (v = y.name) == null ? void 0 : v.getContext) == null ? void 0 : V.call(v)
185
185
  }, null, 8, ["render", "props"])
186
186
  ])
@@ -202,7 +202,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
202
202
  default: u(() => [
203
203
  a(J, {
204
204
  class: "pb-8",
205
- items: q,
205
+ items: E,
206
206
  "onUpdate:modelValue": o[0] || (o[0] = (r) => G(r))
207
207
  })
208
208
  ]),
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as b, computed as m, ref as x, onMounted as f, openBlock as u, createElementBlock as n, createElementVNode as t, toDisplayString as e, normalizeStyle as g, createTextVNode as i, Fragment as o, createCommentVNode as p, renderList as v } from "vue";
2
2
  import { useRoute as w } from "vue-router";
3
- import { aH as y, au as k } from "./app-DZsfOzL0.js";
4
- const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "title" }, N = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = { class: "sub-header" }, F = { class: "address" }, q = { class: "purchase-body" }, H = { class: "text-left" }, L = { class: "text-left" }, U = { class: "text-right" }, V = { class: "text-right" }, B = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, M = { valign: "bottom" }, z = { class: "header" }, J = { class: "caption" }, Q = {
3
+ import { aK as y, aw as k } from "./app-DdrL4md8.js";
4
+ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "title" }, N = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = { class: "sub-header" }, F = { class: "address" }, q = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, B = { class: "text-right" }, H = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, M = { valign: "bottom" }, z = { class: "header" }, J = { class: "caption" }, K = {
5
5
  class: "text-left",
6
6
  style: { width: "20%" }
7
- }, j = { class: "text-left" }, G = {
7
+ }, Q = { class: "text-left" }, j = {
8
8
  class: "text-right",
9
9
  style: { width: "15%" }
10
- }, K = {
10
+ }, G = {
11
11
  class: "text-right",
12
12
  style: { width: "15%" }
13
13
  }, W = /* @__PURE__ */ b({
@@ -104,11 +104,11 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
104
104
  ], -1)),
105
105
  t("tbody", null, [
106
106
  (u(!0), n(o, null, v(s.value.items, (r, a) => (u(), n("tr", { key: a }, [
107
- t("td", H, e(r.code), 1),
108
- t("td", L, e(r.description), 1),
109
- t("td", U, e(r.quantity), 1),
110
- t("td", V, e(r.unit), 1),
111
- t("td", B, e(r.cost ? r.cost : "N/A"), 1)
107
+ t("td", L, e(r.code), 1),
108
+ t("td", U, e(r.description), 1),
109
+ t("td", V, e(r.quantity), 1),
110
+ t("td", B, e(r.unit), 1),
111
+ t("td", H, e(r.cost ? r.cost : "N/A"), 1)
112
112
  ]))), 128))
113
113
  ])
114
114
  ])
@@ -135,10 +135,10 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
135
135
  t("table", null, [
136
136
  t("tbody", null, [
137
137
  (u(!0), n(o, null, v(r.items, (d, h) => (u(), n("tr", { key: h }, [
138
- t("td", Q, e(d.code), 1),
139
- t("td", j, e(d.description), 1),
140
- t("td", G, e(d.quantity), 1),
141
- t("td", K, e(d.unit), 1)
138
+ t("td", K, e(d.code), 1),
139
+ t("td", Q, e(d.description), 1),
140
+ t("td", j, e(d.quantity), 1),
141
+ t("td", G, e(d.unit), 1)
142
142
  ]))), 128))
143
143
  ])
144
144
  ])