@feedmepos/mf-inventory-portal 1.3.6 → 1.3.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 (104) hide show
  1. package/dist/{App-Dpp0kp2e.js → App-CJwfIjMX.js} +3 -3
  2. package/dist/ApprovalView-DOq2oFvo.js +241 -0
  3. package/dist/{BindingsDialog-BPlkzrss.js → BindingsDialog-DCrRYbJJ.js} +5 -5
  4. package/dist/{BindingsPicker-AM4k3s9Z.js → BindingsPicker-B6gakVEN.js} +3 -3
  5. package/dist/{BindingsTable-C6-30brl.js → BindingsTable-IVHY6t4x.js} +5 -5
  6. package/dist/{ClosingDraftView-uRsqurau.js → ClosingDraftView-D1CJtcPl.js} +57 -57
  7. package/dist/{ClosingHistoryView-s2st44Dv.js → ClosingHistoryView-DMGhfS9R.js} +4 -4
  8. package/dist/{ClosingTemplateView-BMyeL_mh.js → ClosingTemplateView-Djo0juNV.js} +16 -16
  9. package/dist/{DeliveryOrderPrintPreview-BRlZ634c.js → DeliveryOrderPrintPreview-yIr0KaZ-.js} +17 -17
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CLSs6bA6.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CboUeuGd.js} +14 -14
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-bIMS8fQq.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--Kdh7Lws.js} +2 -2
  12. package/dist/{FmMultiselectDialog-DVjVqJMs.js → FmMultiselectDialog-CmT3UKF6.js} +1 -1
  13. package/dist/{FmMultiselectDialog-CtNvTe13.js → FmMultiselectDialog-Dfd2CP8Q.js} +2 -2
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DpzpUafg.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C0nfecTl.js} +4 -4
  15. package/dist/{ImportView-DFV9vZdP.js → ImportView-M6gfAQRh.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CQ1s9NEE.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cl1U0OoC.js} +1 -1
  17. package/dist/{IngredientGroupView-DA9vJ8fS.js → IngredientGroupView-C29gfI37.js} +7 -7
  18. package/dist/{IngredientsView-qiA89Spr.js → IngredientsView-DnM7eqv0.js} +17 -17
  19. package/dist/{IntegrationView-Cp9gVEKi.js → IntegrationView-CxXZ90Dg.js} +13 -13
  20. package/dist/{InventoryBindingForm-C7WQo9tq.js → InventoryBindingForm-FImVaTic.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BwbHMBzc.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bay13kwv.js} +5 -5
  22. package/dist/{InventoryBindingSummary-CSC8Oo2Z.js → InventoryBindingSummary-DwHKeLyV.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6fd31Fx.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cViXSxPS.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BMmYypr7.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CCF4_Pyr.js} +1 -1
  25. package/dist/{PublishView-DiMBWtmR.js → PublishView-D8aVGgPP.js} +3 -3
  26. package/dist/{PurchaseOrderPrintPreview-BxsgNwIR.js → PurchaseOrderPrintPreview-CJSISF6B.js} +12 -12
  27. package/dist/ReceiveRequestView-DeOwJD3K.js +2817 -0
  28. package/dist/{RecipeView-h8oz6YWX.js → RecipeView-HugMCN1V.js} +22 -21
  29. package/dist/SettingsView-BqNC4kXc.js +695 -0
  30. package/dist/{StockView-BMLQhXUr.js → StockView-B3hLSoWp.js} +21 -20
  31. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9Ju9qNs.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CuFB8tHC.js} +1 -1
  32. package/dist/{SupplierView-tXBV72Jj.js → SupplierView-DK9liRuA.js} +14 -14
  33. package/dist/{SurchargeView-DDaFJWQd.js → SurchargeView-Cnz3QPAF.js} +8 -8
  34. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bb9YSuiv.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BsesD9UR.js} +2 -2
  35. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bfy6QZ5V.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DHvOhMtd.js} +1 -1
  36. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-xg5Ac0I2.js +3790 -0
  37. package/dist/{TransferTemplateView-vhdc3V8r.js → TransferTemplateView-hUBkM1Y0.js} +20 -19
  38. package/dist/{UnitCostHistoryView-C6axtlfa.js → UnitCostHistoryView-gHpyp4-l.js} +4 -4
  39. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DW8nVpeH.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DOC0W_-a.js} +4 -4
  40. package/dist/{UnitView-Dx030V3h.js → UnitView-Bt4EY0DU.js} +9 -9
  41. package/dist/{WarehouseView-Dvc063hP.js → WarehouseView-C7Aa5MQz.js} +7 -7
  42. package/dist/{WastageTemplateView-0cuBPiRM.js → WastageTemplateView-B59wFpmS.js} +16 -16
  43. package/dist/{app-LDTQJMhy.js → app-Bd2n830Y.js} +3267 -3181
  44. package/dist/app.d.ts +32 -0
  45. package/dist/app.js +2 -2
  46. package/dist/{closing-template-D0LdzwtB.js → closing-template-CbIMkUm-.js} +1 -1
  47. package/dist/{component-DpCUABT3.js → component-kqxARxvM.js} +30 -21
  48. package/dist/components/row-action.enum.d.ts +3 -0
  49. package/dist/{date2-DPXk7flq.js → date2-CH3V-Ucj.js} +1 -1
  50. package/dist/{dayjs.min-mBDQc-9G.js → dayjs.min-0pcsGWEW.js} +1 -1
  51. package/dist/{decimal-BToK0wBw.js → decimal-DqMF4lgE.js} +2 -2
  52. package/dist/defineDeepModel-nM-22Ofl.js +19 -0
  53. package/dist/{duplicate-template-CkTur22u.js → duplicate-template-VcCheWzy.js} +1 -1
  54. package/dist/{export-Nnabwt7T.js → export-DAK4eXwZ.js} +1 -1
  55. package/dist/feature-D9W_Z06D.js +1081 -0
  56. package/dist/{format-time-from-id-DoLZWDHr.js → format-time-from-id-C1atPaNT.js} +1 -1
  57. package/dist/{format-unit-display-DeUVS8Ka.js → format-unit-display-B4zjXa1i.js} +13 -13
  58. package/dist/{import-export.helper-CljIBGLZ.js → import-export.helper-DWUpF27a.js} +6 -6
  59. package/dist/{index-DP8htYK-.js → index-BFpquHWG.js} +3 -3
  60. package/dist/{index-C3rXHanm.js → index-Co-3wUpY.js} +1 -1
  61. package/dist/{index-D3fQ9TVX.js → index-DoyDKyP_.js} +1 -1
  62. package/dist/{feature-DU99Iib1.js → inventory-core-dart.default-BVmmW4IN.js} +322 -1395
  63. package/dist/{lodash-rgAcNpoP.js → lodash-BsMM-AaB.js} +1 -1
  64. package/dist/{lz-string-C9rYv8AB.js → lz-string-BfBty02S.js} +1 -1
  65. package/dist/modules/print-template/api/print-template.d.ts +29 -0
  66. package/dist/modules/print-template/components/BlockConfigPanel.vue.d.ts +19 -0
  67. package/dist/modules/print-template/components/CustomPrintTemplatePreview.vue.d.ts +25 -0
  68. package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +45 -0
  69. package/dist/modules/print-template/components/TemplatePreview.vue.d.ts +22 -0
  70. package/dist/modules/print-template/composables/print-po-with-template.d.ts +25 -0
  71. package/dist/modules/print-template/definitions/block-definitions.d.ts +88 -0
  72. package/dist/modules/print-template/definitions/predefined-templates.d.ts +22 -0
  73. package/dist/modules/print-template/definitions/template-renderer.d.ts +17 -0
  74. package/dist/modules/print-template/index.d.ts +11 -0
  75. package/dist/modules/print-template/store/print-template.d.ts +170 -0
  76. package/dist/modules/print-template/types/print-data.d.ts +52 -0
  77. package/dist/modules/print-template/utils/sanitize-html.d.ts +32 -0
  78. package/dist/{netsuite-BG6BPWro.js → netsuite-B86m9YM_.js} +3 -3
  79. package/dist/{number-SNScDKT8.js → number-Bu93lKcU.js} +3 -3
  80. package/dist/predefined-templates-swTNxWXc.js +4542 -0
  81. package/dist/{purchase-order-template-D8fAq-Zt.js → purchase-order-template-DDmIZDfJ.js} +1 -1
  82. package/dist/router/name.d.ts +1 -0
  83. package/dist/{row-action.enum-BcW_L_nE.js → row-action.enum-Co_O4qD9.js} +11 -3
  84. package/dist/{rules-UuB2i2KE.js → rules-BXeKMOa6.js} +2 -2
  85. package/dist/{stock-BUeSTOdB.js → stock-BkjUFSH-.js} +3 -3
  86. package/dist/{stock-Xag5QdmK.js → stock-D6A9nUUq.js} +1 -1
  87. package/dist/stores/feature.d.ts +2 -0
  88. package/dist/style.css +1 -1
  89. package/dist/{supplier-DSfyrBxJ.js → supplier-BEFK8KT8.js} +2 -2
  90. package/dist/{surcharge-Vp9urWiP.js → surcharge-BKuJQ1bw.js} +1 -1
  91. package/dist/tsconfig.app.tsbuildinfo +1 -1
  92. package/dist/{use-ingredient-select-dialog-D80a30rC.js → use-ingredient-select-dialog-CtkHGZVI.js} +2 -2
  93. package/dist/{use-inventory-binding-dialog-DFD6fQTw.js → use-inventory-binding-dialog-Df4UAdJI.js} +2 -2
  94. package/dist/{use-template-enabled-locations-2-gLYNdIUE.js → use-template-enabled-locations-2-CNT1brYI.js} +2 -2
  95. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +4 -0
  96. package/dist/views/settings/SettingsView.vue.d.ts +2 -0
  97. package/dist/{vue-i18n-u2llGfc9.js → vue-i18n-BaovYGY4.js} +438 -438
  98. package/dist/{xlsx-D-xEkyaF.js → xlsx-Dig-xBj4.js} +1 -1
  99. package/dist/{xlsx.util-CuJApaiU.js → xlsx.util-R4tPgyBp.js} +1 -1
  100. package/package.json +5 -2
  101. package/dist/ApprovalView-Br8e1L7F.js +0 -226
  102. package/dist/ReceiveRequestView-DioKLQuF.js +0 -2802
  103. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-bOAribrn.js +0 -3521
  104. package/dist/defineDeepModel-CKoG7koO.js +0 -19
package/dist/app.d.ts CHANGED
@@ -1202,6 +1202,14 @@ export declare const i18nMessages: {
1202
1202
  code: string;
1203
1203
  };
1204
1204
  };
1205
+ settings: {
1206
+ title: string;
1207
+ printTemplate: {
1208
+ title: string;
1209
+ description: string;
1210
+ edit: string;
1211
+ };
1212
+ };
1205
1213
  publish: {
1206
1214
  title: string;
1207
1215
  actions: {
@@ -2409,6 +2417,14 @@ export declare const i18nMessages: {
2409
2417
  code: string;
2410
2418
  };
2411
2419
  };
2420
+ settings: {
2421
+ title: string;
2422
+ printTemplate: {
2423
+ title: string;
2424
+ description: string;
2425
+ edit: string;
2426
+ };
2427
+ };
2412
2428
  publish: {
2413
2429
  title: string;
2414
2430
  actions: {
@@ -3588,6 +3604,14 @@ export declare const i18nMessages: {
3588
3604
  code: string;
3589
3605
  };
3590
3606
  };
3607
+ settings: {
3608
+ title: string;
3609
+ printTemplate: {
3610
+ title: string;
3611
+ description: string;
3612
+ edit: string;
3613
+ };
3614
+ };
3591
3615
  publish: {
3592
3616
  title: string;
3593
3617
  actions: {
@@ -4767,6 +4791,14 @@ export declare const i18nMessages: {
4767
4791
  code: string;
4768
4792
  };
4769
4793
  };
4794
+ settings: {
4795
+ title: string;
4796
+ printTemplate: {
4797
+ title: string;
4798
+ description: string;
4799
+ edit: string;
4800
+ };
4801
+ };
4770
4802
  publish: {
4771
4803
  title: string;
4772
4804
  actions: {
package/dist/app.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "vue";
2
- import { ar as n, as as e, at as o, aq as t, au as i, a as m } from "./app-LDTQJMhy.js";
2
+ import { at as r, au as e, av as o, as as t, aw as i, a as m } from "./app-Bd2n830Y.js";
3
3
  export {
4
- n as FmApp,
4
+ r as FmApp,
5
5
  e as InventoryBindingForm,
6
6
  o as InventoryBindingSummary,
7
7
  t as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { o as c } from "./app-LDTQJMhy.js";
1
+ import { o as c } from "./app-Bd2n830Y.js";
2
2
  import { useCoreStore as u } from "@feedmepos/mf-common";
3
3
  const d = c((s, a) => {
4
4
  function r() {
@@ -1,40 +1,49 @@
1
1
  import { useI18n as p } from "@feedmepos/mf-common";
2
- import { components as c } from "@feedmepos/ui-library";
2
+ import { components as d } from "@feedmepos/ui-library";
3
3
  import { h as t } from "vue";
4
- const { FmMenu: d, FmButton: b, FmMenuItem: s, FmMenuHeader: g, FmMenuDivider: f } = c;
5
- function M(u, a, i = []) {
6
- const { t: l } = p(), m = [
7
- ...u.map(({ translationKey: n, color: o, value: r }) => {
8
- const e = l(n);
4
+ const { FmMenu: b, FmButton: f, FmMenuItem: u, FmMenuHeader: g, FmMenuDivider: C } = d;
5
+ function F(c, l, a = []) {
6
+ const { t: s } = p(), i = [
7
+ ...c.map(({ translationKey: n, color: o, value: r, badgeWidget: e }) => {
8
+ const m = s(n);
9
9
  return t(
10
- s,
10
+ u,
11
11
  {
12
12
  onClick() {
13
- a(r ?? e);
13
+ l(r ?? m);
14
14
  }
15
15
  },
16
16
  {
17
17
  label: () => t(
18
- "span",
18
+ "div",
19
19
  {
20
- class: o
20
+ class: "flex items-center gap-2"
21
21
  },
22
- e
22
+ [
23
+ t(
24
+ "span",
25
+ {
26
+ class: o
27
+ },
28
+ m
29
+ ),
30
+ e ? e() : null
31
+ ]
23
32
  )
24
33
  }
25
34
  );
26
35
  })
27
36
  ];
28
- return i.length > 0 && m.push(
37
+ return a.length > 0 && i.push(
29
38
  t(g, { label: "Admin Only" }),
30
- t(f),
31
- ...i.map(({ translationKey: n, color: o, value: r }) => {
32
- const e = l(n);
39
+ t(C),
40
+ ...a.map(({ translationKey: n, color: o, value: r }) => {
41
+ const e = s(n);
33
42
  return t(
34
- s,
43
+ u,
35
44
  {
36
45
  onClick() {
37
- a(r ?? e);
46
+ l(r ?? e);
38
47
  },
39
48
  icon: "support_agent"
40
49
  },
@@ -50,13 +59,13 @@ function M(u, a, i = []) {
50
59
  );
51
60
  })
52
61
  ), t(
53
- d,
62
+ b,
54
63
  {
55
64
  trigger: "click",
56
65
  stopClickPropagation: !0
57
66
  },
58
67
  {
59
- "menu-button": () => t(b, {
68
+ "menu-button": () => t(f, {
60
69
  type: "button",
61
70
  variant: "tertiary",
62
71
  icon: "more_vert",
@@ -72,11 +81,11 @@ function M(u, a, i = []) {
72
81
  width: "160px"
73
82
  }
74
83
  },
75
- m
84
+ i
76
85
  )
77
86
  }
78
87
  );
79
88
  }
80
89
  export {
81
- M as c
90
+ F as c
82
91
  };
@@ -1,14 +1,17 @@
1
+ import type { JSX } from 'vue/jsx-runtime';
1
2
  export type RowActionProps = {
2
3
  /** @deprecated use translation key instead */
3
4
  label?: string;
4
5
  translationKey: string;
5
6
  color: string;
6
7
  value?: string;
8
+ badgeWidget?: () => JSX.Element;
7
9
  };
8
10
  export declare enum RowActionEnum {
9
11
  Add = "Add",
10
12
  Create = "Create",
11
13
  Print = "Print",
14
+ PrintCustom = "PrintCustom",
12
15
  Export = "Export",
13
16
  Update = "Update",
14
17
  Details = "Details",
@@ -1,4 +1,4 @@
1
- import { d as l } from "./dayjs.min-mBDQc-9G.js";
1
+ import { d as l } from "./dayjs.min-0pcsGWEW.js";
2
2
  const T = new Intl.DateTimeFormat("en-US", {
3
3
  year: "numeric",
4
4
  month: "2-digit",
@@ -1,4 +1,4 @@
1
- import { ai as Q, A as K } from "./app-LDTQJMhy.js";
1
+ import { ak as Q, A as K } from "./app-Bd2n830Y.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,5 +1,5 @@
1
- import "./dayjs.min-mBDQc-9G.js";
2
- import "./app-LDTQJMhy.js";
1
+ import "./dayjs.min-0pcsGWEW.js";
2
+ import "./app-Bd2n830Y.js";
3
3
  function m(a) {
4
4
  function t(o, n = !0) {
5
5
  const e = Math.round(Math.log10(o));
@@ -0,0 +1,19 @@
1
+ import { c as a, a0 as u } from "./app-Bd2n830Y.js";
2
+ import { getCurrentInstance as d, reactive as l, watch as o } from "vue";
3
+ function g(i = "modelValue", e) {
4
+ var n, c;
5
+ const s = ((n = d()) == null ? void 0 : n.props) ?? {}, f = ((c = d()) == null ? void 0 : c.emit) ?? (() => {
6
+ }), t = l(a(s[i] ?? (e == null ? void 0 : e.default) ?? {})), m = `update:${u(i)}`;
7
+ return e != null && e.watchProps && o(
8
+ () => s[i],
9
+ (r) => {
10
+ r && r !== t && Object.assign(t, a(r));
11
+ },
12
+ { deep: !0, immediate: !0 }
13
+ ), o(t, (r) => {
14
+ f(m, r);
15
+ }), t;
16
+ }
17
+ export {
18
+ g as d
19
+ };
@@ -1,4 +1,4 @@
1
- import { o as p } from "./app-LDTQJMhy.js";
1
+ import { o as p } from "./app-Bd2n830Y.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = p((s, n) => {
4
4
  function o() {
@@ -1,4 +1,4 @@
1
- import { u as s, w as c } from "./xlsx-D-xEkyaF.js";
1
+ import { u as s, w as c } from "./xlsx-Dig-xBj4.js";
2
2
  function i(e, o) {
3
3
  return o.map((t) => typeof t.selector == "function" ? t.selector(e) : e[t.selector]);
4
4
  }