@feedmepos/mf-inventory-portal 0.0.22-dev.29 → 0.0.22-dev.30

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 (50) hide show
  1. package/dist/{ApprovalView-Ba-tUg0r.js → ApprovalView-BowcCo8d.js} +4 -4
  2. package/dist/{BindingsDialog-BzE7RozX.js → BindingsDialog-CmmLVQTN.js} +1 -1
  3. package/dist/{BindingsPicker-21frBXLS.js → BindingsPicker-BErHbcxb.js} +1 -1
  4. package/dist/{BindingsTable-b5C-I-cP.js → BindingsTable-hrfbN6tX.js} +1 -1
  5. package/dist/{ClosingTemplateView-DMBAODHP.js → ClosingTemplateView-BVefCGpC.js} +374 -370
  6. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DeX65Yyd.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CXHh_Bti.js} +1 -1
  7. package/dist/IngredientsView-BqnUckSv.js +1817 -0
  8. package/dist/{IntegrationView-BMrUQaFT.js → IntegrationView-BEdAKS1I.js} +120 -120
  9. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0Yw7F_u.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-pr7Sb7Om.js} +1 -1
  10. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-IS1pDkV9.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DsYwNO5N.js} +1 -1
  11. package/dist/{PurchaseOrderPrintPreview-CdOwEm2W.js → PurchaseOrderPrintPreview-DzaS_c8R.js} +1 -1
  12. package/dist/{ReceiveRequestView-B86diRXc.js → ReceiveRequestView-CU-bhIjl.js} +6 -6
  13. package/dist/{RecipeView-7zB4lKdK.js → RecipeView-CmETsz5e.js} +3 -3
  14. package/dist/{StockView-zoWR3C4k.js → StockView-BgmjwPbh.js} +6 -6
  15. package/dist/{SupplierView-C-1jW5ON.js → SupplierView-CDm5q1th.js} +3 -3
  16. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BWItuAd0.js → TransferDetails.vue_vue_type_script_setup_true_lang-BZJyhJu4.js} +4 -4
  17. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-lybenWiw.js +1678 -0
  18. package/dist/TransferTemplateView-CSQ2XxFU.js +1232 -0
  19. package/dist/{UnitView-yFNEgTl_.js → UnitView-D7bcDkOX.js} +4 -4
  20. package/dist/{WarehouseView-CregM24b.js → WarehouseView-BJAKVdRs.js} +2 -2
  21. package/dist/api/inventory.d.ts +71 -82
  22. package/dist/{app-BsDFpmXX.js → app-A8ykBdGf.js} +12514 -12256
  23. package/dist/app.js +1 -1
  24. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  25. package/dist/{decimal-B4_Y3KEm.js → decimal-BC4EGBAX.js} +1 -1
  26. package/dist/{defineDeepModel-BYWYdjn7.js → defineDeepModel-Ckfkwau_.js} +3 -3
  27. package/dist/{format-time-from-id-xHkyagtQ.js → format-time-from-id-o1plVFRH.js} +3 -3
  28. package/dist/{id-to-date-BZG9rZhi.js → id-to-date-DyPIToei.js} +1 -1
  29. package/dist/{purchase-order-transaction-type-B2Vf-MS0.js → purchase-order-transaction-type-skN4AmEj.js} +3 -3
  30. package/dist/stores/inventory.d.ts +15 -0
  31. package/dist/stores/location.d.ts +420 -486
  32. package/dist/stores/netsuite.d.ts +1 -1
  33. package/dist/{supplier-B9WHfMl-.js → supplier-DV3Tg4TT.js} +1 -1
  34. package/dist/tsconfig.app.tsbuildinfo +1 -1
  35. package/dist/{use-template-enabled-locations-2-DMyd7rbX.js → use-template-enabled-locations-2-u_kejm-N.js} +1 -1
  36. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +852 -984
  37. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +852 -984
  38. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +996 -58
  39. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1511 -104
  40. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1417 -10
  41. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -82
  42. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1272 -2652
  43. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +399 -859
  44. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +108 -223
  45. package/dist/{xlsx-BFdyFL_3.js → xlsx-CrHTSBmd.js} +1 -1
  46. package/dist/{xlsx.util-UUCw3Kgc.js → xlsx.util-hjzkZFnf.js} +2 -2
  47. package/package.json +1 -1
  48. package/dist/IngredientsView-C6Lxkg-R.js +0 -1758
  49. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-5u4NM7G5.js +0 -1522
  50. package/dist/TransferTemplateView-DnKSCXki.js +0 -1210
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { au as n, _ as r, av as e, as as o, at as t, u as i } from "./app-BsDFpmXX.js";
1
+ import { au as n, _ as r, av as e, as as o, at as t, u as i } from "./app-A8ykBdGf.js";
2
2
  export {
3
3
  n as FmApp,
4
4
  r as InventoryBindingForm,
@@ -0,0 +1,54 @@
1
+ import type { ISelectItem } from '@feedmepos/ui-library';
2
+ import FuzzySearch from 'fuzzy-search';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ search: import("vue").PropType<string>;
5
+ modelValue: {
6
+ type: import("vue").PropType<any>;
7
+ required: true;
8
+ };
9
+ maxHeight: {
10
+ type: import("vue").PropType<number>;
11
+ required: true;
12
+ };
13
+ width: {
14
+ type: import("vue").PropType<string>;
15
+ required: true;
16
+ };
17
+ handleItemChange: {
18
+ type: import("vue").PropType<(isSelected: boolean, item: ISelectItem) => void>;
19
+ required: true;
20
+ };
21
+ items: {
22
+ type: import("vue").PropType<ISelectItem[]>;
23
+ required: true;
24
+ };
25
+ options: {
26
+ type: import("vue").PropType<FuzzySearch.Options>;
27
+ };
28
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
+ search: import("vue").PropType<string>;
30
+ modelValue: {
31
+ type: import("vue").PropType<any>;
32
+ required: true;
33
+ };
34
+ maxHeight: {
35
+ type: import("vue").PropType<number>;
36
+ required: true;
37
+ };
38
+ width: {
39
+ type: import("vue").PropType<string>;
40
+ required: true;
41
+ };
42
+ handleItemChange: {
43
+ type: import("vue").PropType<(isSelected: boolean, item: ISelectItem) => void>;
44
+ required: true;
45
+ };
46
+ items: {
47
+ type: import("vue").PropType<ISelectItem[]>;
48
+ required: true;
49
+ };
50
+ options: {
51
+ type: import("vue").PropType<FuzzySearch.Options>;
52
+ };
53
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
54
+ export default _default;
@@ -1,4 +1,4 @@
1
- import "./app-BsDFpmXX.js";
1
+ import "./app-A8ykBdGf.js";
2
2
  function m(a) {
3
3
  function t(o, n = !0) {
4
4
  const e = Math.round(Math.log10(o));
@@ -1,10 +1,10 @@
1
- import { c as d, ak as i } from "./app-BsDFpmXX.js";
2
- import { getCurrentInstance as r, reactive as m, watch as u } from "vue";
1
+ import { c as d, al as i } from "./app-A8ykBdGf.js";
2
+ import { getCurrentInstance as r, reactive as m, watch as l } from "vue";
3
3
  function b(e = "modelValue") {
4
4
  var o, n;
5
5
  const s = ((o = r()) == null ? void 0 : o.props) ?? {}, a = ((n = r()) == null ? void 0 : n.emit) ?? (() => {
6
6
  }), t = m(d(s[e] ?? {})), c = `update:${i(e)}`;
7
- return u(t, (p) => {
7
+ return l(t, (p) => {
8
8
  a(c, p);
9
9
  }), t;
10
10
  }
@@ -1,5 +1,5 @@
1
- import { al as n } from "./app-BsDFpmXX.js";
2
- function d(r) {
1
+ import { am as n } from "./app-A8ykBdGf.js";
2
+ function m(r) {
3
3
  const t = a(r);
4
4
  return t === null ? "" : n(t);
5
5
  }
@@ -10,6 +10,6 @@ function a(r) {
10
10
  return isNaN(e.getTime()) ? null : e;
11
11
  }
12
12
  export {
13
- d as f,
13
+ m as f,
14
14
  a as p
15
15
  };
@@ -1,4 +1,4 @@
1
- import { u as s, a as i } from "./xlsx-BFdyFL_3.js";
1
+ import { u as s, a as i } from "./xlsx-CrHTSBmd.js";
2
2
  function c(t, e) {
3
3
  return e.map((n) => typeof n.selector == "function" ? n.selector(t) : t[n.selector]);
4
4
  }
@@ -1,9 +1,9 @@
1
- import { o as W, j as N, am as T, c as O, u as G, z as ne, aa as se, K as ce, L as le, an as ie, ag as ue, x as de, b as me, a as pe } from "./app-BsDFpmXX.js";
1
+ import { o as W, j as N, an as T, c as O, u as G, z as ne, aa as se, K as ce, L as le, ao as ie, ag as ue, x as de, b as me, a as pe } from "./app-A8ykBdGf.js";
2
2
  import { ref as g, h as F, defineComponent as fe, onMounted as he, computed as L, resolveComponent as V, openBlock as E, createElementBlock as j, createElementVNode as C, createVNode as I, createCommentVNode as ve, createBlock as z } from "vue";
3
- import { i as ge } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DeX65Yyd.js";
3
+ import { i as ge } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CXHh_Bti.js";
4
4
  import { F as B, D as M, R as _ } from "./row-action.enum-PMKMRrZR.js";
5
5
  import { useDialog as Q, useSnackbar as Y, FmButtonVariant as K, components as q } from "@feedmepos/ui-library";
6
- import { f as ye, p as be } from "./format-time-from-id-xHkyagtQ.js";
6
+ import { f as ye, p as be } from "./format-time-from-id-o1plVFRH.js";
7
7
  import { c as we } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
8
8
  import { useCoreStore as Te, useI18n as De } from "@feedmepos/mf-common";
9
9
  import { defineStore as Se } from "pinia";
@@ -1885,6 +1885,21 @@ export declare function useInventoryStore(): {
1885
1885
  };
1886
1886
  }[];
1887
1887
  }[];
1888
+ readonly unitById: Record<string, {
1889
+ _id: string;
1890
+ name: string;
1891
+ abbrev: string;
1892
+ precision: number;
1893
+ measurements: {
1894
+ id: string;
1895
+ name: string;
1896
+ abbrev: string;
1897
+ conversion: {
1898
+ amount: number;
1899
+ precision: number;
1900
+ };
1901
+ }[];
1902
+ }>;
1888
1903
  readonly recipes: {
1889
1904
  _id: string;
1890
1905
  name: string;