@feedmepos/mf-inventory-portal 1.7.8-dev.0 → 1.7.8-dev.2

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 (95) hide show
  1. package/dist/App-U47rY2Jb.js +1047 -0
  2. package/dist/{ApprovalView-B4q5mqes.js → ApprovalView-B9FANJAO.js} +9 -9
  3. package/dist/{BindingsDialog-B_LjWtSV.js → BindingsDialog-BgSDKyBG.js} +2 -2
  4. package/dist/{BindingsPicker-B-0waWJB.js → BindingsPicker-D0vxwn7C.js} +2 -2
  5. package/dist/{BindingsTable-CMZWm4ZL.js → BindingsTable-C5reUXmA.js} +3 -3
  6. package/dist/{BulkReceiveRequestView-DPozDWQD.js → BulkReceiveRequestView-DwLRo67t.js} +19 -19
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DEZB5R56.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BUTlcssb.js} +1 -1
  8. package/dist/{ClosingDraftView-BYkJg-R4.js → ClosingDraftView-B1zZ3aIa.js} +19 -19
  9. package/dist/{ClosingHistoryView-Djy_dIWY.js → ClosingHistoryView-CU18j78j.js} +5 -5
  10. package/dist/{ClosingTemplateView-DKBLzKtu.js → ClosingTemplateView-BqDtL7ow.js} +16 -16
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CH9kPcx5.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Cl_pGeUh.js} +1 -1
  12. package/dist/{DefaultView-BRW9EIZh.js → DefaultView-Gid5oA6p.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-CcLwWI3S.js → DeliveryOrderPrintPreview-9xYdwvYj.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DcZwy14F.js → EmailDialog.vue_vue_type_script_setup_true_lang-DJpX9Krf.js} +2251 -2251
  15. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BQOLDYzb.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-nl3FRdHk.js} +1 -1
  16. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bt0eURos.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bny1eKDG.js} +2 -2
  17. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DdnsFwk-.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DjSnlgdR.js} +2 -2
  18. package/dist/{FmMultiselectDialog-CVFXYx33.js → FmMultiselectDialog-TqAkWUct.js} +2 -2
  19. package/dist/{FmMultiselectDialog-B1KagbRR.js → FmMultiselectDialog-b3oeCeNm.js} +1 -1
  20. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DRxDsOtR.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C05vgRcd.js} +5 -5
  21. package/dist/{ImportView-tuRtpDS3.js → ImportView-xUT7qw16.js} +6 -6
  22. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-UctOljlp.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Rb3mLGHB.js} +1 -1
  23. package/dist/{IngredientGroupView-CxHASJov.js → IngredientGroupView-DEmt1Nt2.js} +5 -5
  24. package/dist/{IngredientsView-I_NoY6H0.js → IngredientsView-C71EIjYh.js} +15 -15
  25. package/dist/{IntegrationExplorerView-DB3_aXAV.js → IntegrationExplorerView-J-CDF7z3.js} +4 -4
  26. package/dist/{IntegrationView-JxkVQewS.js → IntegrationView-DQz4LVNR.js} +2226 -2257
  27. package/dist/{InventoryBindingForm-CLKh2-Ef.js → InventoryBindingForm-DhLq-Usu.js} +1 -1
  28. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-dSxe0nHQ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-D0jdszMn.js} +5 -5
  29. package/dist/{InventoryBindingSummary-B1IlrBo6.js → InventoryBindingSummary-D8uUEt6E.js} +1 -1
  30. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B6QWqTod.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DyA3ldCI.js} +1 -1
  31. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CW54hiSd.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DxBIFJBj.js} +1 -1
  32. package/dist/{ProductionView-DUNGnQEg.js → ProductionView--6IWl-7i.js} +7 -7
  33. package/dist/{PublishView-GBCruZ-w.js → PublishView-Db2agQ9W.js} +3 -3
  34. package/dist/{PurchaseOrderPrintPreview-Fo2tLSO5.js → PurchaseOrderPrintPreview-YconyHNq.js} +2 -2
  35. package/dist/{ReceiveRequestView-B4gPHwMV.js → ReceiveRequestView-Difh1lL5.js} +14 -14
  36. package/dist/{RecipeView-BR3VA_0D.js → RecipeView-BW72z99u.js} +17 -17
  37. package/dist/{SettingsView-BczYIrR-.js → SettingsView-CmaWy05N.js} +4 -4
  38. package/dist/{StockView-DZyaHXe3.js → StockView-D0rgzA23.js} +21 -21
  39. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DgBvjMZN.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CXFnxoxS.js} +1 -1
  40. package/dist/{SupplierView-g0MNvSO2.js → SupplierView-CRd_rgz2.js} +12 -12
  41. package/dist/{SurchargeView-MuoYcxap.js → SurchargeView-Bwyn5pGN.js} +6 -6
  42. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DbG2xt4U.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-bwBYqedG.js} +2 -2
  43. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BXKv2j2R.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B1Ygs7u3.js} +1 -1
  44. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-k8_ucJn5.js → TransferDetails.vue_vue_type_script_setup_true_lang-B8WiPRIm.js} +20 -20
  45. package/dist/{TransferTemplateView-IL8bL6W2.js → TransferTemplateView-DsrX-RtB.js} +20 -20
  46. package/dist/{UnitCostHistoryView-D2NG4GHN.js → UnitCostHistoryView-BAxvHdRS.js} +4 -4
  47. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BOc6nlA9.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-Cr65A-G_.js} +4 -4
  48. package/dist/{UnitView-Dg9t1qUE.js → UnitView-BHd4lqWW.js} +7 -7
  49. package/dist/{WarehouseView-Bk0OfnU4.js → WarehouseView-DYifatvo.js} +5 -5
  50. package/dist/{WastageTemplateView-UmEEALA1.js → WastageTemplateView-xL8JVZek.js} +14 -14
  51. package/dist/api/changelog.d.ts +18 -0
  52. package/dist/{app-05jiAJnw.js → app-COKbtOA1.js} +27 -19
  53. package/dist/app.d.ts +8 -0
  54. package/dist/app.js +1 -1
  55. package/dist/{closing-template-SQIDVXpI.js → closing-template-Bq6pmQSd.js} +1 -1
  56. package/dist/{date2-CnQ-plxk.js → date2-CofSmYX_.js} +1 -1
  57. package/dist/{dayjs.min-CQUk3G17.js → dayjs.min-trXBuULa.js} +1 -1
  58. package/dist/{decimal-DD5QGGH8.js → decimal-DYB7G8ew.js} +2 -2
  59. package/dist/{defineDeepModel-C8Llkit7.js → defineDeepModel-C6XCyElP.js} +1 -1
  60. package/dist/{duplicate-template-BwLwRZXS.js → duplicate-template-CZLpC0rN.js} +1 -1
  61. package/dist/{feature-7eCXC9nQ.js → feature-Cbh3pnRj.js} +2 -2
  62. package/dist/{format-time-from-id-Bty8dxXQ.js → format-time-from-id-OaWsMH6F.js} +1 -1
  63. package/dist/{format-unit-display-SJe9iKBr.js → format-unit-display-DKOe2Ppl.js} +12 -12
  64. package/dist/{import-export.helper-CMc5rD06.js → import-export.helper-ZIrat15C.js} +6 -6
  65. package/dist/{index-BRJ7Ys9V.js → index-BHemLKdK.js} +3 -3
  66. package/dist/{index-DcjoHL6D.js → index-BpO95fSn.js} +1 -1
  67. package/dist/{index-CiCDb-aF.js → index-Dcn2QZGA.js} +1 -1
  68. package/dist/{inventory-core-dart.default-0faW3OGz.js → inventory-core-dart.default-Dd6MmFba.js} +1 -1
  69. package/dist/{lz-string-DbZLr0IA.js → lz-string-CVdKtz16.js} +1 -1
  70. package/dist/{netsuite-BU5IuQNf.js → netsuite-C0SGMd47.js} +2 -2
  71. package/dist/{number-DvZJcu2N.js → number-Bi7AWAN2.js} +3 -3
  72. package/dist/{predefined-templates-E4JzADwF.js → predefined-templates-L1kkS5g4.js} +1 -1
  73. package/dist/{purchase-order-template-B6z8EahZ.js → purchase-order-template-Brk4EUzk.js} +1 -1
  74. package/dist/{recalculationUtils-B_LV5xTn.js → recalculationUtils-D6xZMdzy.js} +1 -1
  75. package/dist/{rules-BoXqX10l.js → rules--pM-Unx3.js} +2 -2
  76. package/dist/{stock-Dy-Zteij.js → stock-CYOnWr3j.js} +3 -3
  77. package/dist/{stock-D5Vjh3qn.js → stock-Cu6RYbIs.js} +1 -1
  78. package/dist/style.css +1 -1
  79. package/dist/{supplier-8_XKZUX2.js → supplier-CA8KF1mH.js} +2 -2
  80. package/dist/{surcharge-C7DsqmPY.js → surcharge-DF9qRHpB.js} +1 -1
  81. package/dist/tsconfig.app.tsbuildinfo +1 -1
  82. package/dist/{uom-rules-B4YF_ueP.js → uom-rules-BG4sWtFl.js} +1 -1
  83. package/dist/{use-ingredient-select-dialog-BPGzdwcV.js → use-ingredient-select-dialog-Hg6ZfIBZ.js} +2 -2
  84. package/dist/{use-inventory-binding-dialog-DYeYv1Lr.js → use-inventory-binding-dialog-BIMMsFZL.js} +2 -2
  85. package/dist/{use-template-enabled-locations-Czv-2BCl.js → use-template-enabled-locations-DbPL-RjZ.js} +2 -2
  86. package/dist/{use-transfer-locations-BEhFaiIF.js → use-transfer-locations-CAy8I4Gf.js} +2 -2
  87. package/dist/{useHrmPermission-DNOCARgd.js → useHrmPermission-Cp3-GUqd.js} +1 -1
  88. package/dist/{useNavigationMenu-CJiSVVq0.js → useNavigationMenu-ClMKGUkQ.js} +2 -2
  89. package/dist/{useSseClient-Cc-8N-dD.js → useSseClient-DV1y9ywo.js} +1 -1
  90. package/dist/views/integration/components/CodemaxInvoiceReceipt.vue.d.ts +2 -12
  91. package/dist/views/integration/helper/codemax-receipt.d.ts +11 -17
  92. package/dist/{vue-i18n-MLvug4V3.js → vue-i18n-CwUASG3Y.js} +304 -304
  93. package/dist/{xlsx.util-D59-BdmQ.js → xlsx.util-uIqKDV5h.js} +2 -2
  94. package/package.json +3 -3
  95. package/dist/App-9hCIA42i.js +0 -978
@@ -1,5 +1,5 @@
1
1
  import { computed as o } from "vue";
2
- import { u } from "./netsuite-BU5IuQNf.js";
2
+ import { u } from "./netsuite-C0SGMd47.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-05jiAJnw.js";
3
- import { a as A } from "./FmMultiselectDialog-CVFXYx33.js";
2
+ import { a as b } from "./app-COKbtOA1.js";
3
+ import { a as A } from "./FmMultiselectDialog-TqAkWUct.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-CVFXYx33.js";
2
- import { a as P } from "./app-05jiAJnw.js";
1
+ import { a as g } from "./FmMultiselectDialog-TqAkWUct.js";
2
+ import { a as P } from "./app-COKbtOA1.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-CVFXYx33.js";
2
- import { u as S } from "./app-05jiAJnw.js";
1
+ import { a as A } from "./FmMultiselectDialog-TqAkWUct.js";
2
+ import { u as S } from "./app-COKbtOA1.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-05jiAJnw.js";
2
- import { u as E } from "./supplier-8_XKZUX2.js";
1
+ import { u as g, r as l, V as w, Y as R } from "./app-COKbtOA1.js";
2
+ import { u as E } from "./supplier-CA8KF1mH.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-05jiAJnw.js";
2
+ import { a5 as n } from "./app-COKbtOA1.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-05jiAJnw.js";
2
+ import { b as v, R as e, a6 as b, a7 as O, a5 as A } from "./app-COKbtOA1.js";
3
3
  import { useCoreStore as C, useI18n as U } from "@feedmepos/mf-common";
4
- import { u as _ } from "./feature-7eCXC9nQ.js";
4
+ import { u as _ } from "./feature-Cbh3pnRj.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-05jiAJnw.js";
1
+ import { d as se } from "./app-COKbtOA1.js";
2
2
  import { useCoreStore as ne } from "@feedmepos/mf-common";
3
3
  const re = se((e, t) => ({
4
4
  getSubscribeUrl(s, r, a) {
@@ -1,19 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
2
  payload: unknown;
3
- billTaxes?: {
4
- inclusive: boolean;
5
- taxCode: string;
6
- taxName: string;
7
- amount: number;
8
- }[] | undefined;
3
+ billRounding?: number | undefined;
9
4
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
5
  payload: unknown;
11
- billTaxes?: {
12
- inclusive: boolean;
13
- taxCode: string;
14
- taxName: string;
15
- amount: number;
16
- }[] | undefined;
6
+ billRounding?: number | undefined;
17
7
  }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
8
  export default _default;
19
9
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -7,7 +7,6 @@
7
7
  * hand numbers back as strings — every amount is coerced, and the shape is
8
8
  * probed rather than zod-parsed so an old or partial payload still renders.
9
9
  */
10
- import type { FdtoCodemaxBillTax } from '@feedmepos/codemax-core';
11
10
  export interface CodemaxReceiptLine {
12
11
  /** 0 = invoice item, 1 = tier-1 modifier, 2+ = nested modifier */
13
12
  depth: number;
@@ -16,24 +15,17 @@ export interface CodemaxReceiptLine {
16
15
  quantity: number;
17
16
  /** Net amount (after discount) of this line alone — modifiers are priced separately */
18
17
  amount: number;
18
+ /** This line's OWN tax — the sum of its taxDetails[].taxAmount, not the subtree's */
19
+ tax: number;
19
20
  }
20
21
  export interface CodemaxReceiptTotal {
21
22
  label: string;
22
- /** null = charged on the bill but absent from the payload — an inclusive
23
- * tax is skipped by the transform, so there is no amount to report */
24
- amount: number | null;
25
- /** Set on tax rows only: true renders an "inclusive" chip beside the row */
26
- inclusive?: boolean | null;
23
+ amount: number;
27
24
  strong?: boolean;
28
25
  }
29
26
  export interface CodemaxReceiptTax {
30
27
  label: string;
31
- /** null = the tax is charged on the bill but absent from the payload — the
32
- * transform skips inclusive taxes, so there is no amount to report */
33
- amount: number | null;
34
- /** From the bill row's tax config; null when the bill row carries none and
35
- * the payload's own numbers reconcile neither way */
36
- inclusive: boolean | null;
28
+ amount: number;
37
29
  }
38
30
  export interface CodemaxReceipt {
39
31
  lines: CodemaxReceiptLine[];
@@ -46,9 +38,11 @@ export interface CodemaxReceipt {
46
38
  taxes: CodemaxReceiptTax[];
47
39
  }
48
40
  /**
49
- * Returns null when the value is not a Codemax invoice payload (skip rows, run
50
- * summaries). `billTaxes` comes from the bill row the payload has no
51
- * inclusive flag of its own and decides whether each tax is reported inside
52
- * the prices (a pill) or added on top (a summary row).
41
+ * Returns null when the value is not a Codemax invoice payload (skip rows,
42
+ * run summaries). `billRounding` is the bill's own cash rounding: when it
43
+ * differs from the payload's `roundingAdj`, the totals block splits rounding
44
+ * into a `Rounding (bill)` row and a `Tax rounding` residual row; otherwise
45
+ * (no `billRounding`, or nothing left over once split) it falls back to a
46
+ * single `Rounding` row.
53
47
  */
54
- export declare function buildCodemaxReceipt(payload: unknown, billTaxes?: FdtoCodemaxBillTax[]): CodemaxReceipt | null;
48
+ export declare function buildCodemaxReceipt(payload: unknown, billRounding?: number): CodemaxReceipt | null;