@feedmepos/mf-inventory-portal 1.7.8-dev.4 → 1.7.8-dev.5

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 (89) hide show
  1. package/dist/{App-DQscws4O.js → App-D8Wp5ryB.js} +6 -6
  2. package/dist/{ApprovalView-U5tT_M-q.js → ApprovalView-CLDg5cYO.js} +9 -9
  3. package/dist/{BindingsDialog-DyYM5Nj5.js → BindingsDialog-BFA0rg2C.js} +2 -2
  4. package/dist/{BindingsPicker-hugg9pUo.js → BindingsPicker-BfYHS2eA.js} +2 -2
  5. package/dist/{BindingsTable-BdJRM76v.js → BindingsTable-B7F9wQxC.js} +3 -3
  6. package/dist/{BulkReceiveRequestView-B-HIGTFR.js → BulkReceiveRequestView-BO4vjL5e.js} +19 -19
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-C9eU5pXc.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-ajits3Y9.js} +1 -1
  8. package/dist/{ClosingDraftView-Dm3r3iCu.js → ClosingDraftView-BsscA5DY.js} +19 -19
  9. package/dist/{ClosingHistoryView-R1OyWlB9.js → ClosingHistoryView-CvRQXhhv.js} +5 -5
  10. package/dist/{ClosingTemplateView-D_02Fxba.js → ClosingTemplateView-DDMtl3FB.js} +16 -16
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CBqkiJIw.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-d8UjuJkx.js} +1 -1
  12. package/dist/{DefaultView-CSuI1XzW.js → DefaultView-BQo604PA.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-V83IgF20.js → DeliveryOrderPrintPreview-DhdFKl2b.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-CLiHCk-I.js → EmailDialog.vue_vue_type_script_setup_true_lang-PxjX6kTn.js} +2251 -2251
  15. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-v4P9coIW.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Dvcp_CWP.js} +1 -1
  16. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C4skEuCm.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DCH6aTm2.js} +2 -2
  17. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bw8eS8Dg.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BELNx0sw.js} +2 -2
  18. package/dist/{FmMultiselectDialog-B84VrbEN.js → FmMultiselectDialog-CiqKHrlY.js} +2 -2
  19. package/dist/{FmMultiselectDialog-Di6eXl5f.js → FmMultiselectDialog-D2PNKTT-.js} +1 -1
  20. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-1RcuY74T.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Cn6lWKEZ.js} +5 -5
  21. package/dist/{ImportView-Bka4gApC.js → ImportView-DN9iSGPs.js} +6 -6
  22. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-jXKviF81.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-96WXMyyo.js} +1 -1
  23. package/dist/{IngredientGroupView-DZOYzgRE.js → IngredientGroupView-C3C4GQh8.js} +5 -5
  24. package/dist/{IngredientsView-BC2mULnV.js → IngredientsView-CtCFxaFo.js} +15 -15
  25. package/dist/{IntegrationExplorerView-BSTvUqS4.js → IntegrationExplorerView-B3Wa6RzP.js} +4 -4
  26. package/dist/{IntegrationView-Bm5DVWBR.js → IntegrationView-IcBvRkMB.js} +2606 -2572
  27. package/dist/{InventoryBindingForm-0CyJIbyY.js → InventoryBindingForm-dTTybBXs.js} +1 -1
  28. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dde4Zog6.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CnenJZ-p.js} +5 -5
  29. package/dist/{InventoryBindingSummary-B0bYc0wY.js → InventoryBindingSummary-BkJZxIL7.js} +1 -1
  30. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C1svSd4b.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BZMr6toh.js} +1 -1
  31. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Bydjv01W.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BNZTR9Y5.js} +1 -1
  32. package/dist/{ProductionView-BtYgwLAF.js → ProductionView-1FoOiiuj.js} +7 -7
  33. package/dist/{PublishView-DtcYU7v0.js → PublishView-Bw7S2ILr.js} +3 -3
  34. package/dist/{PurchaseOrderPrintPreview-DYI5KKeG.js → PurchaseOrderPrintPreview-Bviv98fk.js} +2 -2
  35. package/dist/{ReceiveRequestView-CJt256wV.js → ReceiveRequestView-C_n1RM6N.js} +14 -14
  36. package/dist/{RecipeView-DtSQbFrZ.js → RecipeView-Crcu1-cm.js} +17 -17
  37. package/dist/{SettingsView-efCve9ri.js → SettingsView-B2f3Lz52.js} +4 -4
  38. package/dist/{StockView-BQXa3wy7.js → StockView-wSn0FwKr.js} +21 -21
  39. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-lrYiD0RT.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CbaF-o-f.js} +1 -1
  40. package/dist/{SupplierView-Cp7kf8cX.js → SupplierView-BAHtgGI-.js} +12 -12
  41. package/dist/{SurchargeView-BMPMWmKB.js → SurchargeView-BfBx2avD.js} +6 -6
  42. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-qPN7iyyM.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CLuKmC2H.js} +2 -2
  43. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DZgNgwOL.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-hHOv6vYi.js} +1 -1
  44. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BQ0g2LWI.js → TransferDetails.vue_vue_type_script_setup_true_lang-BeZp49Nq.js} +20 -20
  45. package/dist/{TransferTemplateView-DHBs5jT2.js → TransferTemplateView-C9N_PKIL.js} +20 -20
  46. package/dist/{UnitCostHistoryView-BDTeUddl.js → UnitCostHistoryView-DBqZCd7p.js} +4 -4
  47. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-C3PK87Vo.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-D5OJ-sP9.js} +4 -4
  48. package/dist/{UnitView-CEppvfsB.js → UnitView-BMBirlIS.js} +7 -7
  49. package/dist/{WarehouseView-BQf0ASGK.js → WarehouseView-dtnnHE2k.js} +5 -5
  50. package/dist/{WastageTemplateView-D6VAOkCV.js → WastageTemplateView-B9g3QuGJ.js} +14 -14
  51. package/dist/{app-BhKu8ynm.js → app-7QgZ-jcQ.js} +15 -15
  52. package/dist/app.js +1 -1
  53. package/dist/{closing-template-DQISbNQP.js → closing-template-lgZ0lJ6Y.js} +1 -1
  54. package/dist/{date2-gS9aqjB0.js → date2-BbF8p9O4.js} +1 -1
  55. package/dist/{dayjs.min-C8DdceSi.js → dayjs.min-sD9zGPzl.js} +1 -1
  56. package/dist/{decimal-Bj06cDHA.js → decimal-D-aV23FY.js} +2 -2
  57. package/dist/{defineDeepModel-CFKDNKwE.js → defineDeepModel-iIA-RNNu.js} +1 -1
  58. package/dist/{duplicate-template-ASwMPlzC.js → duplicate-template-kBTgY5Gl.js} +1 -1
  59. package/dist/{feature-CvOqBFg7.js → feature-DlrRY-mt.js} +2 -2
  60. package/dist/{format-time-from-id-CxgQvf6T.js → format-time-from-id-B_eAvVJg.js} +1 -1
  61. package/dist/{format-unit-display-DznmentJ.js → format-unit-display-2aRUWw8u.js} +12 -12
  62. package/dist/{import-export.helper-DfDLuemE.js → import-export.helper-DIa5Tscx.js} +6 -6
  63. package/dist/{index-CTlOe4ZT.js → index-8g5hdBVB.js} +1 -1
  64. package/dist/{index-Cc5QU3VB.js → index-BJJc7e-4.js} +1 -1
  65. package/dist/{index-BPqVg85U.js → index-DYxKpuIk.js} +3 -3
  66. package/dist/{inventory-core-dart.default-C_MzIo34.js → inventory-core-dart.default-BXjIF_eE.js} +1 -1
  67. package/dist/{lz-string-Be4x08fb.js → lz-string-CeKowygk.js} +1 -1
  68. package/dist/{netsuite-Bd_rEQBY.js → netsuite-BCxdDV2-.js} +2 -2
  69. package/dist/{number-DlNjSZOG.js → number-cajQ7GI1.js} +3 -3
  70. package/dist/{predefined-templates-LD5eFPUv.js → predefined-templates-CfkzIE-n.js} +1 -1
  71. package/dist/{purchase-order-template-B0NyDGS9.js → purchase-order-template-HJO5br_X.js} +1 -1
  72. package/dist/{recalculationUtils-JoKGzKtp.js → recalculationUtils-kVDbAOZK.js} +1 -1
  73. package/dist/{rules-CugP4DMD.js → rules-DGiCYfmT.js} +2 -2
  74. package/dist/{stock-Cb9ApLN5.js → stock-B09zS_9Y.js} +1 -1
  75. package/dist/{stock-C28FzUqI.js → stock-BnojJxyS.js} +3 -3
  76. package/dist/{supplier-y0KmKhnl.js → supplier-bpeH7vQY.js} +2 -2
  77. package/dist/{surcharge-BQcNMsi1.js → surcharge-BQG7FV0B.js} +1 -1
  78. package/dist/{uom-rules-Dk-cB_pv.js → uom-rules-B1xAeWmZ.js} +1 -1
  79. package/dist/{use-ingredient-select-dialog-DY14WOp-.js → use-ingredient-select-dialog-CYkDlNuW.js} +2 -2
  80. package/dist/{use-inventory-binding-dialog-BpDRiSYA.js → use-inventory-binding-dialog-DnsG80fH.js} +2 -2
  81. package/dist/{use-template-enabled-locations-DeMIqjCx.js → use-template-enabled-locations-CgLLt9Dp.js} +2 -2
  82. package/dist/{use-transfer-locations-Bc2pYH3n.js → use-transfer-locations-B-vVdTmR.js} +2 -2
  83. package/dist/{useHrmPermission-DD7vuYQc.js → useHrmPermission-7deTbaUF.js} +1 -1
  84. package/dist/{useNavigationMenu-Bk2HJVgu.js → useNavigationMenu-ooJmhmyo.js} +2 -2
  85. package/dist/{useSseClient-ClpobYtc.js → useSseClient-Cd1EzXuP.js} +1 -1
  86. package/dist/views/integration/helper/codemax-receipt.d.ts +28 -0
  87. package/dist/{vue-i18n-Dz6Y6zd1.js → vue-i18n-5YfWhljw.js} +127 -127
  88. package/dist/{xlsx.util-DWcgNrc8.js → xlsx.util-DaJaJsjU.js} +2 -2
  89. package/package.json +6 -6
@@ -1,6 +1,6 @@
1
- import { w as o } from "./app-BhKu8ynm.js";
2
- import { F as l } from "./decimal-Bj06cDHA.js";
3
- import "./dayjs.min-C8DdceSi.js";
1
+ import { w as o } from "./app-7QgZ-jcQ.js";
2
+ import { F as l } from "./decimal-D-aV23FY.js";
3
+ import "./dayjs.min-sD9zGPzl.js";
4
4
  function g(n, t) {
5
5
  return o.convertPrecision({
6
6
  value: n,
@@ -1,4 +1,4 @@
1
- import { d as qn, j as Wn, y as zn } from "./app-BhKu8ynm.js";
1
+ import { d as qn, j as Wn, y as zn } from "./app-7QgZ-jcQ.js";
2
2
  import { defineStore as Vn } from "pinia";
3
3
  import { ref as mt, computed as Kn } from "vue";
4
4
  import { useCoreStore as Yn } from "@feedmepos/mf-common";
@@ -1,4 +1,4 @@
1
- import { d as s } from "./app-BhKu8ynm.js";
1
+ import { d as s } from "./app-7QgZ-jcQ.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = s((n, a) => {
4
4
  function o() {
@@ -1,4 +1,4 @@
1
- import { B as p } from "./app-BhKu8ynm.js";
1
+ import { B as p } from "./app-7QgZ-jcQ.js";
2
2
  function l(s) {
3
3
  return Math.floor(s.getTime() / 1e3) * 1e3;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { c as f, a as u, g as d, b as m } from "./number-DlNjSZOG.js";
2
- import { c as b, d as p } from "./date2-gS9aqjB0.js";
1
+ import { c as f, a as u, g as d, b as m } from "./number-cajQ7GI1.js";
2
+ import { c as b, d as p } from "./date2-BbF8p9O4.js";
3
3
  function M() {
4
4
  return function(e) {
5
5
  return !!e || "Required";
@@ -1,4 +1,4 @@
1
- import { d as m, u as $ } from "./app-BhKu8ynm.js";
1
+ import { d as m, u as $ } from "./app-7QgZ-jcQ.js";
2
2
  import { useCoreStore as B } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as k } from "@feedmepos/ui-library";
4
4
  const N = m((r, a) => {
@@ -1,7 +1,7 @@
1
- import { u as i } from "./stock-Cb9ApLN5.js";
2
- import { a as s, Q as p } from "./app-BhKu8ynm.js";
1
+ import { u as i } from "./stock-B09zS_9Y.js";
2
+ import { a as s, Q as p } from "./app-7QgZ-jcQ.js";
3
3
  import { computed as k, ref as B } from "vue";
4
- import { c as d } from "./number-DlNjSZOG.js";
4
+ import { c as d } from "./number-cajQ7GI1.js";
5
5
  function m() {
6
6
  return {
7
7
  stockBalance: {
@@ -1,5 +1,5 @@
1
- import { d as b, u, m as v, n as w, o as $ } from "./app-BhKu8ynm.js";
2
- import { u as S } from "./feature-CvOqBFg7.js";
1
+ import { d as b, u, m as v, n as w, o as $ } from "./app-7QgZ-jcQ.js";
2
+ import { u as S } from "./feature-DlrRY-mt.js";
3
3
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
4
  import { defineStore as f } from "pinia";
5
5
  import { ref as l, computed as d } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { ref as d } from "vue";
2
- import { d as w, j as g } from "./app-BhKu8ynm.js";
2
+ import { d as w, j as g } from "./app-7QgZ-jcQ.js";
3
3
  import { useCoreStore as h } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as y } from "@feedmepos/ui-library";
5
5
  const p = w((s, r) => {
@@ -1,5 +1,5 @@
1
1
  import { computed as o } from "vue";
2
- import { u } from "./netsuite-Bd_rEQBY.js";
2
+ import { u } from "./netsuite-BCxdDV2-.js";
3
3
  function i(e) {
4
4
  const t = (n) => !!n && n.toLocaleLowerCase().includes("inactive");
5
5
  return t(e.name) || t(e.abbrev);
@@ -1,6 +1,6 @@
1
1
  import { defineStore as S } from "pinia";
2
- import { a as b } from "./app-BhKu8ynm.js";
3
- import { a as A } from "./FmMultiselectDialog-B84VrbEN.js";
2
+ import { a as b } from "./app-7QgZ-jcQ.js";
3
+ import { a as A } from "./FmMultiselectDialog-CiqKHrlY.js";
4
4
  import { useDialog as I } from "@feedmepos/ui-library";
5
5
  import { useI18n as D } from "@feedmepos/mf-common";
6
6
  const w = S(
@@ -1,5 +1,5 @@
1
- import { a as g } from "./FmMultiselectDialog-B84VrbEN.js";
2
- import { a as P } from "./app-BhKu8ynm.js";
1
+ import { a as g } from "./FmMultiselectDialog-CiqKHrlY.js";
2
+ import { a as P } from "./app-7QgZ-jcQ.js";
3
3
  import { useDialog as E } from "@feedmepos/ui-library";
4
4
  function A() {
5
5
  const u = P(), _ = E();
@@ -1,5 +1,5 @@
1
- import { a as A } from "./FmMultiselectDialog-B84VrbEN.js";
2
- import { u as S } from "./app-BhKu8ynm.js";
1
+ import { a as A } from "./FmMultiselectDialog-CiqKHrlY.js";
2
+ import { u as S } from "./app-7QgZ-jcQ.js";
3
3
  import { useI18n as w, useCoreStore as i, useCustomAttributes as _ } from "@feedmepos/mf-common";
4
4
  import { useDialog as C, components as p } from "@feedmepos/ui-library";
5
5
  import { computed as r, h as c } from "vue";
@@ -1,5 +1,5 @@
1
- import { u as g, r as l, V as w, Y as R } from "./app-BhKu8ynm.js";
2
- import { u as E } from "./supplier-y0KmKhnl.js";
1
+ import { u as g, r as l, V as w, Y as R } from "./app-7QgZ-jcQ.js";
2
+ import { u as E } from "./supplier-bpeH7vQY.js";
3
3
  import { computed as u } from "vue";
4
4
  function d(n) {
5
5
  const c = R.safeParse(n);
@@ -1,5 +1,5 @@
1
1
  import { computed as p, toValue as o } from "vue";
2
- import { a5 as n } from "./app-BhKu8ynm.js";
2
+ import { a5 as n } from "./app-7QgZ-jcQ.js";
3
3
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
4
  function g(t, i = "all") {
5
5
  const m = c();
@@ -1,7 +1,7 @@
1
1
  import { computed as T } from "vue";
2
- import { b as v, R as e, a6 as b, a7 as O, a5 as A } from "./app-BhKu8ynm.js";
2
+ import { b as v, R as e, a6 as b, a7 as O, a5 as A } from "./app-7QgZ-jcQ.js";
3
3
  import { useCoreStore as C, useI18n as U } from "@feedmepos/mf-common";
4
- import { u as _ } from "./feature-CvOqBFg7.js";
4
+ import { u as _ } from "./feature-DlrRY-mt.js";
5
5
  const L = O.reduce(
6
6
  (o, r) => {
7
7
  var i;
@@ -1,4 +1,4 @@
1
- import { d as se } from "./app-BhKu8ynm.js";
1
+ import { d as se } from "./app-7QgZ-jcQ.js";
2
2
  import { useCoreStore as ne } from "@feedmepos/mf-common";
3
3
  const re = se((e, t) => ({
4
4
  getSubscribeUrl(s, r, a) {
@@ -17,6 +17,18 @@ export interface CodemaxReceiptLine {
17
17
  amount: number;
18
18
  /** This line's OWN tax — the sum of its taxDetails[].taxAmount, not the subtree's */
19
19
  tax: number;
20
+ /** Tax-inclusive display total (amount + tax) — what the line itself shows beside
21
+ * the info icon; the net/tax split lives only in the tooltip (see `lineBreakdown`).
22
+ * Reconstructed from net + tax, so on a rounding-residual line it can be a cent off
23
+ * the price actually charged by the POS — that cent lives in the invoice's
24
+ * `roundingAdj` instead. Accepted by design. */
25
+ total: number;
26
+ /** This line's own taxes, one entry per taxDetails row — for the per-line tooltip breakdown */
27
+ taxDetails: {
28
+ label: string;
29
+ amount: number;
30
+ percentage: number;
31
+ }[];
20
32
  }
21
33
  export interface CodemaxReceiptTotal {
22
34
  label: string;
@@ -37,6 +49,22 @@ export interface CodemaxReceipt {
37
49
  /** Line-level taxes, summed per tax across the whole invoice */
38
50
  taxes: CodemaxReceiptTax[];
39
51
  }
52
+ export interface CodemaxReceiptBreakdownRow {
53
+ label: string;
54
+ amount: string;
55
+ }
56
+ /**
57
+ * Tax breakdown rows for a taxed line's tooltip (line.tax > 0 — the net was
58
+ * extracted from a tax-inclusive paid price): a `Net` row, then one row per
59
+ * tax. The payload carries no paid/divisor, and on a rounding-residual line
60
+ * the real paid amount includes a cent that lives in the invoice's
61
+ * `roundingAdj` — so a reconstructed "paid" total can be a cent off reality.
62
+ * Rather than assert a total that might be wrong, this only lists the
63
+ * components that are true on their own: net and each tax.
64
+ *
65
+ * Returns null for a tax-free line (no icon shown).
66
+ */
67
+ export declare function lineBreakdown(line: CodemaxReceiptLine): CodemaxReceiptBreakdownRow[] | null;
40
68
  /**
41
69
  * Returns null when the value is not a Codemax invoice payload (skip rows,
42
70
  * run summaries). `billRounding` is the bill's own cash rounding: when it