@feedmepos/mf-inventory-portal 1.2.6 → 1.2.7-dev.1

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 (67) hide show
  1. package/dist/{App-B2pFxU6Q.js → App-Dg4euzi-.js} +1 -1
  2. package/dist/{ApprovalView-MLCuBCV2.js → ApprovalView-CPEajz8D.js} +50 -49
  3. package/dist/{BindingsDialog-CL68c1d8.js → BindingsDialog-D69Lz-W9.js} +2 -2
  4. package/dist/{BindingsPicker-C1PiRtoM.js → BindingsPicker-CvM0o8k2.js} +1 -1
  5. package/dist/{BindingsTable-B4VyAoNq.js → BindingsTable-DX9KrKZx.js} +1 -1
  6. package/dist/{ClosingDraftView-bLQW2std.js → ClosingDraftView-zo2KEPba.js} +2 -2
  7. package/dist/{ClosingTemplateView-CABbUEYU.js → ClosingTemplateView-DfkfCFdy.js} +2 -2
  8. package/dist/{DeliveryOrderPrintPreview-BybM2hq8.js → DeliveryOrderPrintPreview-Cl_G1v2L.js} +8 -8
  9. package/dist/{FmAdminBadge-iN9PJ5nY.js → FmAdminBadge--YYdqDeq.js} +1 -1
  10. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BnxjX2Nv.js +230 -0
  11. package/dist/{FmMultiselectDialog-nsl8cwzo.js → FmMultiselectDialog-CENHExht.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-COw0sQLE.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DTfMfCVb.js} +15 -15
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BYcFWA7r.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-D65OfkW-.js} +1 -1
  14. package/dist/{IngredientGroupView-oIBLqCBm.js → IngredientGroupView-BBw9UqRf.js} +2 -2
  15. package/dist/{IngredientsView-DfGezD1v.js → IngredientsView-WtOZ9Ara.js} +71 -61
  16. package/dist/{IntegrationView-jcuZnZ67.js → IntegrationView-YFafrCnU.js} +84 -84
  17. package/dist/{InventoryBindingForm-CQlTv-66.js → InventoryBindingForm-DNljyNN-.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CevEjjIF.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-C2dTKKAj.js} +3 -3
  19. package/dist/{InventoryBindingSummary-DRJn6ORe.js → InventoryBindingSummary-DOONgjR-.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CwwxbHy9.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D3Elw6_K.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-O2GL2zkX.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CYiwHmvH.js} +7 -7
  22. package/dist/{PublishView-CY3Gvt3-.js → PublishView-CL5U8cyq.js} +7 -7
  23. package/dist/{PurchaseOrderPrintPreview-Ck5HQc6r.js → PurchaseOrderPrintPreview-PfG5JjNN.js} +8 -8
  24. package/dist/{ReceiveRequestView-Da8bRntN.js → ReceiveRequestView-DB-Df7af.js} +82 -79
  25. package/dist/{RecipeView-B0_ddeT-.js → RecipeView-DYYehKGI.js} +3 -3
  26. package/dist/{StockView-BetJ_LZd.js → StockView-lbA_CgVg.js} +7 -7
  27. package/dist/{SupplierView-DpDWVeHg.js → SupplierView-DKq68lkF.js} +862 -831
  28. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DKR568Dl.js +2578 -0
  29. package/dist/{TransferTemplateView-L0NONcqq.js → TransferTemplateView-CYdVExkv.js} +57 -57
  30. package/dist/{UnitView-DSTeDI8u.js → UnitView-BLDTNtXw.js} +3 -3
  31. package/dist/WarehouseView-ByfTvgQq.js +1066 -0
  32. package/dist/api/inventory.d.ts +8 -0
  33. package/dist/api/shipment.d.ts +11 -0
  34. package/dist/api/warehouse.d.ts +3 -1
  35. package/dist/{app-B7cGGPpZ.js → app-DEpHnIaM.js} +13795 -13214
  36. package/dist/app.d.ts +24 -9
  37. package/dist/app.js +1 -1
  38. package/dist/{decimal-DYg5n_FX.js → decimal-BdGG2NHb.js} +1 -1
  39. package/dist/{format-unit-display-DHgB2J8m.js → format-unit-display-DoCxmNPB.js} +21 -21
  40. package/dist/{index-C6Wn55RU.js → index-BI2zM3ru.js} +1 -1
  41. package/dist/{index-C9zJBvXv.js → index-CCmaDOGB.js} +1 -1
  42. package/dist/{stock-BcEKPJrt.js → stock-CtzGgdTO.js} +1 -1
  43. package/dist/stores/feature.d.ts +2 -0
  44. package/dist/stores/inventory.d.ts +1 -0
  45. package/dist/stores/location.d.ts +57 -1
  46. package/dist/stores/supplier.d.ts +96 -0
  47. package/dist/stores/warehouse.d.ts +4 -0
  48. package/dist/{supplier-DFoYi5-b.js → supplier-hiLnFx22.js} +1 -1
  49. package/dist/tsconfig.app.tsbuildinfo +1 -1
  50. package/dist/{use-ingredient-select-dialog-C7mHdhdS.js → use-ingredient-select-dialog-BWBy-LTC.js} +1 -1
  51. package/dist/{use-inventory-binding-dialog-CPjMBzhD.js → use-inventory-binding-dialog-6H3lD9xF.js} +1 -1
  52. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  53. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +60 -0
  54. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +10 -0
  55. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +94 -0
  56. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +72 -1
  57. package/dist/views/supplier/components/SupplierForm.vue.d.ts +8 -0
  58. package/dist/views/supplier/composables/use-supplier-table.d.ts +4 -0
  59. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -0
  60. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -0
  61. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -0
  62. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -0
  63. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -0
  64. package/package.json +2 -2
  65. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-1G6EEocg.js +0 -227
  66. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-AIFutKLT.js +0 -2494
  67. package/dist/WarehouseView-DGJhvS_u.js +0 -1034
@@ -1,17 +1,17 @@
1
- import { aI as u, aJ as _, a4 as h, u as F } from "./app-B7cGGPpZ.js";
1
+ import { aJ as u, aK as _, a4 as h, u as F } from "./app-DEpHnIaM.js";
2
2
  import { useCoreStore as y } from "@feedmepos/mf-common";
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 I } from "vue";
4
- function O(e, t) {
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
+ function w(e, t) {
5
5
  return t.map((r) => typeof r.selector == "function" ? r.selector(e) : e[r.selector]);
6
6
  }
7
- function w(e, t) {
8
- const r = t.map((o) => o.name), n = e.map((o) => O(o, t));
7
+ function I(e, t) {
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
11
  async function C(e, t) {
12
12
  const r = u.book_new();
13
13
  for (const n of e) {
14
- const o = w(
14
+ const o = I(
15
15
  n.data,
16
16
  n.columns.map((a) => typeof a == "string" ? {
17
17
  name: a,
@@ -98,7 +98,7 @@ const b = { class: "flex items-center gap-8" }, B = "Experience enhanced invento
98
98
  content: B,
99
99
  "z-index": t.zIndex
100
100
  }, {
101
- default: I(() => [
101
+ default: O(() => [
102
102
  m(n, { variant: "premium" })
103
103
  ]),
104
104
  _: 1
@@ -1,10 +1,10 @@
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 { aC as ne, u as ae, a as se, b0 as le, C as ie, _ as re, a5 as B } from "./app-B7cGGPpZ.js";
1
+ import { defineComponent as Q, ref as V, 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 { aD as ne, u as ae, a as se, b1 as le, C as ie, _ as re, a5 as B } from "./app-DEpHnIaM.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",
6
6
  setup(be) {
7
- const { t } = ne(), { breakpoints: x } = ce(), n = ae(), A = se(), S = le(), i = D(!1), m = c(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), R = ie(), C = ue(), Y = me(), N = c(() => n.locationsWithInventory), _ = c(() => x.value.xs || x.value.sm), $ = c(() => _.value ? 10 : 20);
7
+ const { t } = ne(), { breakpoints: x } = ce(), n = ae(), A = se(), S = le(), i = V(!1), m = c(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), R = ie(), C = ue(), Y = me(), N = c(() => n.locationsWithInventory), _ = c(() => x.value.xs || x.value.sm), $ = c(() => _.value ? 10 : 20);
8
8
  X(
9
9
  () => n._locations,
10
10
  async () => {
@@ -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), E = [
42
+ const w = V(!1), E = [
43
43
  {
44
44
  value: "publish",
45
45
  label: t("inventory.publish.actions.publishAll")
@@ -169,7 +169,7 @@ 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 F, I, k, b, M, L, P, T, v, V;
172
+ var F, I, k, b, M, L, P, D, v, T;
173
173
  return [
174
174
  f("div", pe, [
175
175
  f("div", de, [
@@ -180,8 +180,8 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
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,
184
- props: (V = (v = y.name) == null ? void 0 : v.getContext) == null ? void 0 : V.call(v)
183
+ render: (D = (P = (L = y.name) == null ? void 0 : L.column) == null ? void 0 : P.columnDef) == null ? void 0 : D.cell,
184
+ props: (T = (v = y.name) == null ? void 0 : v.getContext) == null ? void 0 : T.call(v)
185
185
  }, null, 8, ["render", "props"])
186
186
  ])
187
187
  ])
@@ -1,7 +1,7 @@
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 { aB as y, ap as k } from "./app-B7cGGPpZ.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" }, B = { class: "text-left" }, L = { class: "text-left" }, U = { class: "text-right" }, V = { class: "text-right" }, H = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, M = { valign: "bottom" }, z = { class: "header" }, J = { class: "caption" }, Q = {
3
+ import { aC as y, ap as k } from "./app-DEpHnIaM.js";
4
+ const C = { class: "purchase-box" }, A = { 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" }, Q = {
5
5
  class: "text-left",
6
6
  style: { width: "20%" }
7
7
  }, j = { class: "text-left" }, G = {
@@ -25,9 +25,9 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
25
25
  }), _ = w(), s = x(JSON.parse(_.query.data));
26
26
  return f(() => {
27
27
  setTimeout(() => window.print(), 500);
28
- }), (Y, l) => (u(), n("div", A, [
28
+ }), (Y, l) => (u(), n("div", C, [
29
29
  t("table", null, [
30
- t("tr", C, [
30
+ t("tr", A, [
31
31
  t("td", null, [
32
32
  t("div", R, e(s.value.title ?? "Inventory Order"), 1),
33
33
  t("div", null, "Ref: " + e(s.value.ref), 1),
@@ -104,10 +104,10 @@ 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", B, 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),
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
111
  t("td", H, e(r.cost ? r.cost : "N/A"), 1)
112
112
  ]))), 128))
113
113
  ])