@feedmepos/mf-inventory-portal 0.0.22-dev.10 → 0.0.22-dev.12

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 (34) hide show
  1. package/dist/{ApprovalView-FwJEAzkU.js → ApprovalView-Cjeqabxg.js} +26 -26
  2. package/dist/{BindingsDialog-DFLnNDpl.js → BindingsDialog-DYf9izzO.js} +1 -1
  3. package/dist/{BindingsPicker-Dsd2wQUR.js → BindingsPicker--GhOF5Zy.js} +7 -7
  4. package/dist/{BindingsTable-CTvUEEjT.js → BindingsTable-DFGX1bO_.js} +1 -1
  5. package/dist/{ClosingTemplateView-CPbDZmei.js → ClosingTemplateView-D0ZehXOT.js} +90 -89
  6. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-MW-Ni07p.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CzXWOCCv.js} +8 -8
  7. package/dist/{IngredientsView-C07TvvCQ.js → IngredientsView-D-M4VjtX.js} +3 -3
  8. package/dist/{IntegrationView-BAnrTgio.js → IntegrationView-D29NyKuw.js} +2 -2
  9. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-YAjDfJ_v.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DMzUk8cN.js} +1 -1
  10. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CvzA5XrI.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CrYQR5oS.js} +1 -1
  11. package/dist/{PurchaseOrderPrintPreview-FiOxyAL2.js → PurchaseOrderPrintPreview-BmzWBQYf.js} +1 -1
  12. package/dist/{ReceiveRequestView-BTZ_99LY.js → ReceiveRequestView-D5uhgByr.js} +20 -20
  13. package/dist/{RecipeView-BTRlXuIp.js → RecipeView-CREeE1nK.js} +3 -3
  14. package/dist/{StockView-B50nZjP-.js → StockView-jAGaTT7q.js} +586 -568
  15. package/dist/{SupplierView-CYEdoZ7g.js → SupplierView-BjkhByNr.js} +3 -3
  16. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CMMMgbwA.js → TransferDetails.vue_vue_type_script_setup_true_lang-CInXmMf_.js} +4 -4
  17. package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-BKmp6Emq.js → TransferDialog.vue_vue_type_script_setup_true_lang-CLiLhIMS.js} +56 -56
  18. package/dist/{TransferTemplateView-DJYoQWDE.js → TransferTemplateView-CUqEsRJ6.js} +347 -362
  19. package/dist/{UnitView-Cg9lop9G.js → UnitView-BrlpQn3T.js} +4 -4
  20. package/dist/{WarehouseView-DQKq_W8l.js → WarehouseView-CbTTIdv9.js} +15 -15
  21. package/dist/{app-CRbOk4dN.js → app-BDzV3RNp.js} +1932 -1886
  22. package/dist/app.js +1 -1
  23. package/dist/{decimal-BrFW4i9P.js → decimal-CRTw2PGO.js} +1 -1
  24. package/dist/{defineDeepModel-Dihj57Tu.js → defineDeepModel-BoSSw2c6.js} +4 -4
  25. package/dist/{format-time-from-id-CAMmsTAi.js → format-time-from-id-CxoHtJa5.js} +1 -1
  26. package/dist/helper/rules.d.ts +1 -0
  27. package/dist/{id-to-date-CLOPCZAL.js → id-to-date-CJbxtIFh.js} +1 -1
  28. package/dist/{purchase-order-transaction-type-C6B_s24N.js → purchase-order-transaction-type-0nZnCUE7.js} +38 -38
  29. package/dist/{supplier-CQ57ob8j.js → supplier-BA6jJGNv.js} +1 -1
  30. package/dist/tsconfig.app.tsbuildinfo +1 -1
  31. package/dist/{use-template-enabled-locations-2-D5I1uMwS.js → use-template-enabled-locations-2-Di0NHn-g.js} +1 -1
  32. package/dist/{xlsx-WWSZpgZu.js → xlsx-BEDKASqP.js} +1 -1
  33. package/dist/{xlsx.util-DjCdSP8D.js → xlsx.util-MTUBPx67.js} +2 -2
  34. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
- import { defineComponent as ee, ref as h, watch as te, computed as U, resolveComponent as ae, openBlock as g, createBlock as Z, unref as e, withCtx as b, createElementVNode as s, normalizeClass as oe, createVNode as n, normalizeStyle as re, toDisplayString as ne, createElementBlock as se, createCommentVNode as le, Teleport as ie, mergeProps as ce } from "vue";
2
- import { Z as f, O as G, j as pe } from "./app-CRbOk4dN.js";
3
- import { b as ue, u as me, _ as de, a as fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-MW-Ni07p.js";
4
- import { u as _e } from "./purchase-order-transaction-type-C6B_s24N.js";
5
- import { u as ve, _ as De } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CMMMgbwA.js";
1
+ import { defineComponent as ee, ref as h, watch as te, computed as U, resolveComponent as ae, openBlock as g, createBlock as G, unref as e, withCtx as b, createElementVNode as s, normalizeClass as oe, createVNode as n, normalizeStyle as re, toDisplayString as ne, createElementBlock as se, createCommentVNode as le, Teleport as ie, mergeProps as ce } from "vue";
2
+ import { $ as f, P as J, j as pe } from "./app-BDzV3RNp.js";
3
+ import { b as ue, u as me, _ as de, a as fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CzXWOCCv.js";
4
+ import { u as _e } from "./purchase-order-transaction-type-0nZnCUE7.js";
5
+ import { u as ve, _ as De } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CInXmMf_.js";
6
6
  import { _ as he, F as _ } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
7
7
  import { useBreakpoints as ge } from "@feedmepos/ui-library";
8
8
  import { useI18n as be } from "@feedmepos/mf-common";
9
- const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Oe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Re = {
9
+ const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, ke = {
10
10
  key: 0,
11
11
  class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
12
- }, ke = { class: "pt-8" }, je = /* @__PURE__ */ ee({
12
+ }, Oe = { class: "pt-8" }, je = /* @__PURE__ */ ee({
13
13
  __name: "ApprovalView",
14
14
  setup(Se) {
15
- const o = _e("approval"), { columnDefs: J } = ve("approval", o), K = pe();
15
+ const o = _e("approval"), { columnDefs: K } = ve("approval", o), Q = pe();
16
16
  f.object({
17
17
  name: f.string().optional().nullable(),
18
18
  start: f.date().optional().nullable(),
@@ -22,8 +22,8 @@ const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-40
22
22
  name: "",
23
23
  ...ue()
24
24
  }), a = h({
25
- startDate: G(x.value.start ?? /* @__PURE__ */ new Date()),
26
- endDate: G(x.value.end ?? /* @__PURE__ */ new Date())
25
+ startDate: J(x.value.start ?? /* @__PURE__ */ new Date()),
26
+ endDate: J(x.value.end ?? /* @__PURE__ */ new Date())
27
27
  });
28
28
  te([() => a.value.startDate], () => {
29
29
  if (!a.value.startDate)
@@ -38,11 +38,11 @@ const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-40
38
38
  return;
39
39
  }
40
40
  });
41
- const v = h(""), { breakpoints: y } = ge(), D = U(() => y.value.xs || y.value.sm), Q = U(() => D.value ? 10 : 20), W = me(), { t: X } = be();
41
+ const v = h(""), { breakpoints: y } = ge(), D = U(() => y.value.xs || y.value.sm), W = U(() => D.value ? 10 : 20), X = me(), { t: Z } = be();
42
42
  return (w, l) => {
43
43
  const B = ae("FmTable");
44
- return g(), Z(de, {
45
- title: e(X)("inventory.transfer.approval.title")
44
+ return g(), G(de, {
45
+ title: e(Z)("inventory.transfer.approval.title")
46
46
  }, {
47
47
  default: b(() => [
48
48
  s("div", {
@@ -62,13 +62,13 @@ const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-40
62
62
  actions: [{ icon: "refresh", onClick: e(o).fetchData }]
63
63
  }, null, 8, ["search", "actions"]),
64
64
  n(B, {
65
- style: re(e(W).tableHeight),
66
- "column-defs": e(J),
65
+ style: re(e(X).tableHeight),
66
+ "column-defs": e(K),
67
67
  "row-data": e(o).purchaseRequests.value,
68
68
  "search-value": v.value,
69
- loading: !e(K)._currentLocation || e(o).loading.value,
69
+ loading: !e(Q)._currentLocation || e(o).loading.value,
70
70
  onRowClick: l[1] || (l[1] = (r) => e(o).promptShowTransferDetails(r.original.purchaseOrder, r.original)),
71
- "page-size": Q.value
71
+ "page-size": W.value
72
72
  }, {
73
73
  "list-row": b((r) => [
74
74
  n(he, {
@@ -76,31 +76,31 @@ const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-40
76
76
  onRowClick: (t) => e(o).promptShowTransferDetails(t.purchaseOrder, t)
77
77
  }, {
78
78
  default: b((t) => {
79
- var O, R, k, i, S, T, C, z, c, F, M, p, $, u, V, Y, j, q, L, m, N, E, P, A, d, H;
79
+ var R, k, O, i, S, T, C, $, c, z, F, p, M, u, V, Y, j, q, L, m, N, P, E, A, d, H;
80
80
  return [
81
81
  s("div", xe, [
82
82
  s("div", ye, [
83
83
  n(e(_), {
84
- render: (k = (R = (O = t.purchaseOrder__id) == null ? void 0 : O.column) == null ? void 0 : R.columnDef) == null ? void 0 : k.cell,
84
+ render: (O = (k = (R = t.purchaseOrder__id) == null ? void 0 : R.column) == null ? void 0 : k.columnDef) == null ? void 0 : O.cell,
85
85
  props: (S = (i = t.purchaseOrder__id) == null ? void 0 : i.getContext) == null ? void 0 : S.call(i)
86
86
  }, null, 8, ["render", "props"])
87
87
  ]),
88
88
  s("div", we, [
89
89
  n(e(_), {
90
- render: (z = (C = (T = t.to_name) == null ? void 0 : T.column) == null ? void 0 : C.columnDef) == null ? void 0 : z.cell,
91
- props: (F = (c = t.to_name) == null ? void 0 : c.getContext) == null ? void 0 : F.call(c)
90
+ render: ($ = (C = (T = t.to_name) == null ? void 0 : T.column) == null ? void 0 : C.columnDef) == null ? void 0 : $.cell,
91
+ props: (z = (c = t.to_name) == null ? void 0 : c.getContext) == null ? void 0 : z.call(c)
92
92
  }, null, 8, ["render", "props"])
93
93
  ]),
94
- s("div", Oe, ne((V = (u = ($ = (p = (M = r.original.purchaseOrder) == null ? void 0 : M.items) == null ? void 0 : p.map) == null ? void 0 : $.call(p, (I) => `${I.name}`)) == null ? void 0 : u.join) == null ? void 0 : V.call(u, ", ")), 1),
95
- (Y = r.original.purchaseOrder) != null && Y.ref ? (g(), se("div", Re, [
94
+ s("div", Re, ne((V = (u = (M = (p = (F = r.original.purchaseOrder) == null ? void 0 : F.items) == null ? void 0 : p.map) == null ? void 0 : M.call(p, (I) => `${I.name}`)) == null ? void 0 : u.join) == null ? void 0 : V.call(u, ", ")), 1),
95
+ (Y = r.original.purchaseOrder) != null && Y.ref ? (g(), se("div", ke, [
96
96
  n(e(_), {
97
97
  render: (L = (q = (j = t.purchaseOrder_ref) == null ? void 0 : j.column) == null ? void 0 : q.columnDef) == null ? void 0 : L.cell,
98
98
  props: (N = (m = t.purchaseOrder_ref) == null ? void 0 : m.getContext) == null ? void 0 : N.call(m)
99
99
  }, null, 8, ["render", "props"])
100
100
  ])) : le("", !0),
101
- s("div", ke, [
101
+ s("div", Oe, [
102
102
  n(e(_), {
103
- render: (A = (P = (E = t.purchaseOrder_status) == null ? void 0 : E.column) == null ? void 0 : P.columnDef) == null ? void 0 : A.cell,
103
+ render: (A = (E = (P = t.purchaseOrder_status) == null ? void 0 : P.column) == null ? void 0 : E.columnDef) == null ? void 0 : A.cell,
104
104
  props: (H = (d = t.purchaseOrder_status) == null ? void 0 : d.getContext) == null ? void 0 : H.call(d)
105
105
  }, null, 8, ["render", "props"])
106
106
  ])
@@ -113,7 +113,7 @@ const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-40
113
113
  _: 1
114
114
  }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
115
115
  ], 2),
116
- (g(), Z(ie, { to: "body" }, [
116
+ (g(), G(ie, { to: "body" }, [
117
117
  n(De, ce(e(o).transferDetailsProps.value, {
118
118
  onSubmitted: e(o).fetchData
119
119
  }), null, 16, ["onSubmitted"])
@@ -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 d, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
2
- import { u as V, ao as L, _ as S } from "./app-CRbOk4dN.js";
2
+ import { u as V, ap as L, _ as S } from "./app-BDzV3RNp.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, ao as x, y as z } from "./app-CRbOk4dN.js";
2
+ import { u as M, ap as x, z } from "./app-BDzV3RNp.js";
3
3
  const F = {
4
4
  key: 0,
5
5
  class: "flex flex-col gap-16"
@@ -62,9 +62,9 @@ const F = {
62
62
  ];
63
63
  }
64
64
  }
65
- }), y = l(), o = x(B);
65
+ }), _ = l(), o = x(B);
66
66
  async function B() {
67
- await d.readInventory(), y.value = o.onMessage(
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 _ = l();
80
+ const y = l();
81
81
  return U(() => {
82
- const e = _.value;
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 = y.value) == null ? void 0 : e.removeEventListener) == null || s.call(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 C, computed as f, resolveComponent as b, openBlock as p, createBlock as h, h as z, onMounted as B, onUnmounted as I, createElementBlock as y, createVNode as N, createElementVNode as x } from "vue";
2
- import { q as v, u as E, ao as L } from "./app-CRbOk4dN.js";
2
+ import { r as v, u as E, ap as L } from "./app-BDzV3RNp.js";
3
3
  import { components as F } from "@feedmepos/ui-library";
4
4
  import "@feedmepos/mf-common";
5
5
  const P = /* @__PURE__ */ _({