@feedmepos/mf-inventory-portal 0.0.20-dev.1 → 0.0.21-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 (58) hide show
  1. package/dist/{ApprovalView-CF-RhtHH.js → ApprovalView-DW0_5glj.js} +5 -5
  2. package/dist/{BindingsDialog-0_fCmf7t.js → BindingsDialog-Czx4IaxD.js} +1 -1
  3. package/dist/{BindingsPicker-CT-56t-W.js → BindingsPicker-C25wyJ5c.js} +1 -1
  4. package/dist/BindingsTable-DypE3NR_.js +145 -0
  5. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6yg6_JPe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CHNBnuDM.js} +1 -1
  6. package/dist/IngredientsView-B-Hwi7zE.js +1751 -0
  7. package/dist/{IntegrationView-D7hqf0P5.js → IntegrationView-BrsjpHwN.js} +2 -2
  8. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HcOKpAlW.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DZOs6wE2.js} +1 -1
  9. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BTOE1vFl.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Y3A-wRZm.js} +1 -1
  10. package/dist/{PurchaseOrderPrintPreview-C92PdleC.js → PurchaseOrderPrintPreview-BYxCDtxN.js} +1 -1
  11. package/dist/{ReceiveRequestView-BaxEQWOD.js → ReceiveRequestView-Da81c19A.js} +7 -7
  12. package/dist/{RecipeView-CDgZpLPk.js → RecipeView-21VHawYH.js} +4 -4
  13. package/dist/{StockView-B77CrARl.js → StockView-BRxg62Jk.js} +499 -487
  14. package/dist/{SupplierView-DQ3hB7q2.js → SupplierView-BR7mmuKe.js} +4 -4
  15. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-lsyakQIl.js → TransferDetails.vue_vue_type_script_setup_true_lang-BixtDHmX.js} +88 -87
  16. package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-DN7NCT72.js → TransferDialog.vue_vue_type_script_setup_true_lang-q75hFaSf.js} +473 -475
  17. package/dist/TransferTemplateView-BXNj1QDe.js +1381 -0
  18. package/dist/{UnitView-DlmlVNOx.js → UnitView-bO2BhUFj.js} +5 -5
  19. package/dist/{WarehouseView-DXWls5vv.js → WarehouseView-CmB2drN4.js} +3 -3
  20. package/dist/api/inventory.d.ts +104 -5
  21. package/dist/api/stock.d.ts +8 -0
  22. package/dist/{app-P7rGzGsF.js → app-CmxCdDLB.js} +5169 -5113
  23. package/dist/app.d.ts +6 -0
  24. package/dist/app.js +3 -3
  25. package/dist/components/FmUnitInputProps.d.ts +1 -0
  26. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
  27. package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
  28. package/dist/{decimal-4ONRlhOO.js → decimal-jg7WewgV.js} +1 -1
  29. package/dist/{id-to-date-D8Ey2CVj.js → id-to-date-5ySGvt_H.js} +1 -1
  30. package/dist/{layout-D-zXtsSp.js → layout-DTjCHRyt.js} +6 -6
  31. package/dist/purchase-order-transaction-type-B9KguKXt.js +723 -0
  32. package/dist/stores/inventory.d.ts +4 -4
  33. package/dist/stores/location.d.ts +308 -1612
  34. package/dist/style.css +1 -1
  35. package/dist/{supplier-DsUIjl-L.js → supplier-D1iKgl2Z.js} +1 -1
  36. package/dist/tsconfig.app.tsbuildinfo +1 -1
  37. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  38. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  39. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +5 -5
  40. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  41. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  42. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +12 -12
  43. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +12 -12
  44. package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +9 -0
  45. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
  46. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +2 -2
  47. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +1 -1
  48. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +109 -0
  49. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -2
  50. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1461 -249
  51. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +926 -118
  52. package/dist/{xlsx-zfERRe6K.js → xlsx-DE-wX-rr.js} +1 -1
  53. package/dist/{xlsx.util-DnbiJzsk.js → xlsx.util-ktlEcFIy.js} +2 -2
  54. package/package.json +3 -3
  55. package/dist/BindingsTable-DEftAnTN.js +0 -120
  56. package/dist/IngredientsView-Au6oRwF2.js +0 -1663
  57. package/dist/TransferTemplateView-Dt04xMCK.js +0 -1290
  58. package/dist/format-unit-display-DJpElzu_.js +0 -707
package/dist/app.d.ts CHANGED
@@ -163,6 +163,9 @@ export declare const i18nMessages: {
163
163
  applyOperationalGroup: string;
164
164
  subtitle: string;
165
165
  operationalLabel: string;
166
+ operationalLabelHint: string;
167
+ preset: string;
168
+ custom: string;
166
169
  };
167
170
  table: {
168
171
  loading: string;
@@ -792,6 +795,9 @@ export declare const i18nMessages: {
792
795
  applyOperationalGroup: string;
793
796
  subtitle: string;
794
797
  operationalLabel: string;
798
+ operationalLabelHint: string;
799
+ preset: string;
800
+ custom: string;
795
801
  };
796
802
  table: {
797
803
  loading: string;
package/dist/app.js CHANGED
@@ -1,7 +1,7 @@
1
- import { ap as s, _ as r, aq as e, an as o, ao as t, u as i } from "./app-P7rGzGsF.js";
1
+ import { aq as r, _ as s, ar as e, ao as o, ap as t, u as i } from "./app-CmxCdDLB.js";
2
2
  export {
3
- s as FmApp,
4
- r as InventoryBindingForm,
3
+ r as FmApp,
4
+ s as InventoryBindingForm,
5
5
  e as InventoryBindingSummary,
6
6
  o as i18nMessages,
7
7
  t as routers,
@@ -13,6 +13,7 @@ export interface FmUnitInputProps extends FmTextFieldWithoutModelValue {
13
13
  convertAmountOnChangeUnit?: boolean;
14
14
  formatMinimumPrecision?: number;
15
15
  disableUnit?: boolean;
16
+ stepperOnly?: boolean;
16
17
  stepper?: FdoDecimal | null;
17
18
  }
18
19
  export interface FmUnitInputEvents {
@@ -83,11 +83,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
83
83
  precision: number;
84
84
  };
85
85
  } | null | undefined;
86
- operationalGroup?: string | null | undefined;
87
86
  thresholds?: {
88
87
  low: number;
89
88
  mid: number;
90
89
  } | null | undefined;
90
+ operationalGroup?: string | null | undefined;
91
91
  unit: {
92
92
  _id: string;
93
93
  name: string;
@@ -63,11 +63,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
63
63
  precision: number;
64
64
  };
65
65
  } | null | undefined;
66
- operationalGroup?: string | null | undefined;
67
66
  thresholds?: {
68
67
  low: number;
69
68
  mid: number;
70
69
  } | null | undefined;
70
+ operationalGroup?: string | null | undefined;
71
71
  unit: {
72
72
  _id: string;
73
73
  name: string;
@@ -1,4 +1,4 @@
1
- import "./app-P7rGzGsF.js";
1
+ import "./app-CmxCdDLB.js";
2
2
  function m(a) {
3
3
  function t(o, n = !0) {
4
4
  const e = Math.round(Math.log10(o));
@@ -1,4 +1,4 @@
1
- import { u as s, a as i } from "./xlsx-zfERRe6K.js";
1
+ import { u as s, a as i } from "./xlsx-DE-wX-rr.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,17 +1,17 @@
1
1
  import { useI18n as R } from "@feedmepos/mf-common";
2
2
  import { components as I, useBreakpoints as B } from "@feedmepos/ui-library";
3
3
  import { h as s, defineComponent as F, computed as M, openBlock as a, createBlock as V, resolveDynamicComponent as x, unref as p, normalizeClass as z, withCtx as D, createElementVNode as c, renderSlot as L, normalizeProps as N, guardReactiveProps as P, createElementBlock as m, Fragment as k, renderList as _, createVNode as b, createCommentVNode as w } from "vue";
4
- import { ai as E } from "./app-P7rGzGsF.js";
5
- const { FmMenu: S, FmButton: $, FmMenuItem: j } = I;
4
+ import { aj as j } from "./app-CmxCdDLB.js";
5
+ const { FmMenu: E, FmButton: S, FmMenuItem: $ } = I;
6
6
  function U(o, r) {
7
7
  return s(
8
- S,
8
+ E,
9
9
  {
10
10
  trigger: "click",
11
11
  stopClickPropagation: !0
12
12
  },
13
13
  {
14
- "menu-button": () => s($, {
14
+ "menu-button": () => s(S, {
15
15
  type: "button",
16
16
  variant: "tertiary",
17
17
  icon: "more_vert",
@@ -30,7 +30,7 @@ function U(o, r) {
30
30
  o.map(({ translationKey: l, color: e, value: t }) => {
31
31
  const { t: u } = R(), n = u(l);
32
32
  return s(
33
- j,
33
+ $,
34
34
  {
35
35
  onClick() {
36
36
  r(t ?? n);
@@ -132,7 +132,7 @@ const y = F({
132
132
  function X() {
133
133
  return {
134
134
  get tableHeight() {
135
- const o = E(), { breakpoints: r } = B();
135
+ const o = j(), { breakpoints: r } = B();
136
136
  return o.isIframeMode ? r.value.xs || r.value.sm ? {
137
137
  height: "calc(100dvh - 180px)"
138
138
  } : {