@feedmepos/mf-inventory-portal 1.7.9-dev.4 → 1.7.10

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 (127) hide show
  1. package/dist/App-CT5mXYl4.js +311 -0
  2. package/dist/{ApprovalView-B0MC_Gv4.js → ApprovalView-4CriKmQs.js} +9 -9
  3. package/dist/{BindingsDialog-CUyLeRvh.js → BindingsDialog-D5avj8DX.js} +2 -2
  4. package/dist/{BindingsPicker-UkwLozYB.js → BindingsPicker-B2JyOm_w.js} +2 -2
  5. package/dist/{BindingsTable-4WbqclQu.js → BindingsTable-DJfkWc5P.js} +4 -4
  6. package/dist/BulkReceiveRequestView-C4r4B2n6.js +2595 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-aHOlyDp1.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CRY1w8Uc.js} +1 -1
  8. package/dist/{ClosingDraftView-BZChpOPr.js → ClosingDraftView-C_JJDMNJ.js} +19 -19
  9. package/dist/{ClosingHistoryView-B8kE6kDk.js → ClosingHistoryView-Cy9fcVVb.js} +5 -5
  10. package/dist/{ClosingTemplateView-cJuk2ph0.js → ClosingTemplateView-CFrmV6RZ.js} +16 -16
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CraIMmym.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-D_Y4h8g5.js} +1 -1
  12. package/dist/{DefaultView-2P-3baXd.js → DefaultView-CyhHLBCD.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-JrmelmiW.js → DeliveryOrderPrintPreview-BOzx-kfp.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DK8FWZde.js → EmailDialog.vue_vue_type_script_setup_true_lang-Wvxs_biL.js} +3432 -3437
  15. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DSO8GPQh.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CWmS36Up.js} +6 -6
  16. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BX4lkn8x.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CNGKBlwp.js} +2 -2
  17. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D4ASSJTr.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CWqr4ICd.js} +2 -2
  18. package/dist/{FmMultiselectDialog-C3KVaJ4n.js → FmMultiselectDialog-A3tJaEBt.js} +2 -2
  19. package/dist/{FmMultiselectDialog-Cf2O3ZGm.js → FmMultiselectDialog-JvuPIzZ9.js} +1 -1
  20. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B8Iz9egz.js → FmUnitInput.vue_vue_type_script_setup_true_lang-FATEPxnN.js} +6 -6
  21. package/dist/{ImportView-BpcbGOsq.js → ImportView-Jok6zpZ0.js} +496 -499
  22. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CPqxv23A.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CxxVwj29.js} +1 -1
  23. package/dist/{IngredientGroupView-DGiHqjGP.js → IngredientGroupView-BB6OBLUK.js} +5 -5
  24. package/dist/{IngredientsView-CymfMlp3.js → IngredientsView-DcGhQPOm.js} +17 -18
  25. package/dist/{IntegrationExplorerView-B4ihljuB.js → IntegrationExplorerView-D8GhmHTT.js} +4 -4
  26. package/dist/{IntegrationView-DBC5-V2I.js → IntegrationView-QMy0h7t-.js} +925 -912
  27. package/dist/{InventoryBindingForm-BrC9MQI_.js → InventoryBindingForm-CKvocLMW.js} +1 -1
  28. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-GcuRE825.js +441 -0
  29. package/dist/{InventoryBindingSummary-DJnyHxXU.js → InventoryBindingSummary-C8eGVfFI.js} +1 -1
  30. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cu7JdR_i.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BplA_VhH.js} +1 -1
  31. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D29jHwzz.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BkvJ-zUb.js} +1 -1
  32. package/dist/{ProductionView-BFXAINYn.js → ProductionView-DumThbF9.js} +7 -7
  33. package/dist/{PublishView-C2ZKNjV0.js → PublishView-Dz2d8J5W.js} +3 -3
  34. package/dist/{PurchaseOrderPrintPreview-DUaNv22q.js → PurchaseOrderPrintPreview-BWuFnitC.js} +2 -2
  35. package/dist/{ReceiveRequestView-B0bHSidO.js → ReceiveRequestView-D3RFPv1X.js} +14 -14
  36. package/dist/RecipeView-8KT5mjQG.js +3584 -0
  37. package/dist/{SettingsView-GU0zqJPQ.js → SettingsView-D7N5tJ1d.js} +4 -4
  38. package/dist/{StockView-KEXdcwRV.js → StockView-Du9YBbV4.js} +21 -21
  39. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CrF431ux.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Oj_EIBiV.js} +1 -1
  40. package/dist/{SupplierView-J5XPtBtn.js → SupplierView-C3g_atPq.js} +12 -12
  41. package/dist/{SurchargeView-vbWzu1yC.js → SurchargeView-uumxAdLb.js} +6 -6
  42. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DO3XuHWt.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DjpAimFP.js} +2 -2
  43. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CnATZ2gf.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BrDA6x40.js} +1 -1
  44. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BekwCPEW.js → TransferDetails.vue_vue_type_script_setup_true_lang-DoeW6SAT.js} +1575 -1639
  45. package/dist/{TransferTemplateView-V4XgaVtH.js → TransferTemplateView-DLTlaG0Q.js} +20 -20
  46. package/dist/{UnitCostHistoryView-CLC3Bk51.js → UnitCostHistoryView-D7lguCzD.js} +4 -4
  47. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-QfJddUKl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-B1ULmOk_.js} +4 -4
  48. package/dist/{UnitView-zdd28Okm.js → UnitView-CiWarwFw.js} +8 -8
  49. package/dist/{WarehouseView-80yYhx0q.js → WarehouseView-D_viW3um.js} +5 -5
  50. package/dist/{WastageTemplateView-BdkoxGXU.js → WastageTemplateView-BsGkTDVl.js} +14 -14
  51. package/dist/api/codemax.d.ts +5 -1
  52. package/dist/api/purchase-order.d.ts +0 -2
  53. package/dist/{app-BNb3mgP7.js → app-CmK8hghR.js} +18885 -19669
  54. package/dist/app.d.ts +9 -900
  55. package/dist/app.js +1 -1
  56. package/dist/{closing-template-B0OnLwK4.js → closing-template-DgGSyate.js} +1 -1
  57. package/dist/{date2-CEZilXJj.js → date2-CQePW31N.js} +5 -5
  58. package/dist/{dayjs.min-CM9pMep8.js → dayjs.min-lHU_s16T.js} +1 -1
  59. package/dist/{decimal-C7T3duiU.js → decimal-Q-0yK4sD.js} +2 -2
  60. package/dist/{defineDeepModel-BqXFlLTg.js → defineDeepModel-DTWu03v1.js} +1 -1
  61. package/dist/{duplicate-template-DNNNayq0.js → duplicate-template-BVN2zmVh.js} +1 -1
  62. package/dist/{feature-TVuArq91.js → feature-DskgoIu-.js} +2 -2
  63. package/dist/{format-time-from-id-BnKJ6XGj.js → format-time-from-id-DFIRpxdl.js} +1 -1
  64. package/dist/{format-unit-display-CXPWPWDC.js → format-unit-display-DnU4JEjD.js} +27 -27
  65. package/dist/{import-export.helper-BD5ZmNlI.js → import-export.helper-D7rPvGnr.js} +6 -6
  66. package/dist/{index-HB5HxMo3.js → index-Ck0KnOaw.js} +33 -27
  67. package/dist/{index-B6exMf0H.js → index-CzKCjhD3.js} +1 -1
  68. package/dist/{index-DB5lmTJv.js → index-N5G5c2tx.js} +3232 -3306
  69. package/dist/{inventory-core-dart.default-DIZjn9Qf.js → inventory-core-dart.default-B_ynwM9E.js} +1 -1
  70. package/dist/{lz-string-Ba7A8pQ9.js → lz-string-Dqta9kLv.js} +1 -1
  71. package/dist/{netsuite-DfDg_rIm.js → netsuite-C6tsULzY.js} +2 -3
  72. package/dist/{number-Da0xDyut.js → number-B_a5obOf.js} +3 -3
  73. package/dist/{predefined-templates-6OB7_XaD.js → predefined-templates-DQRYYpsy.js} +1 -1
  74. package/dist/{purchase-order-template-B5tBswYT.js → purchase-order-template-C85h_67x.js} +1 -1
  75. package/dist/{recalculationUtils-De3fjfMb.js → recalculationUtils-B4_UwPtC.js} +1 -1
  76. package/dist/{rules-CEMsIT_O.js → rules-CepJg59P.js} +2 -2
  77. package/dist/{stock-v1xKxzUF.js → stock-CXK2UPZu.js} +1 -1
  78. package/dist/{stock-B8Es7Hve.js → stock-Cz3EmZVG.js} +3 -3
  79. package/dist/stores/bulk-job.d.ts +0 -13
  80. package/dist/style.css +1 -1
  81. package/dist/{supplier-CutnfZkn.js → supplier-CeTkaUn4.js} +2 -2
  82. package/dist/{surcharge-B_J4MXnT.js → surcharge-CZZH4mHP.js} +8 -8
  83. package/dist/tsconfig.app.tsbuildinfo +1 -1
  84. package/dist/{uom-rules-iPENmQml.js → uom-rules-T1KgfW3u.js} +1 -1
  85. package/dist/{use-ingredient-select-dialog-pf4BGGJC.js → use-ingredient-select-dialog-BwIL8Qbe.js} +2 -2
  86. package/dist/{use-inventory-binding-dialog-EQZqHiBh.js → use-inventory-binding-dialog-D41PpdND.js} +2 -2
  87. package/dist/{use-template-enabled-locations-BBWgOLck.js → use-template-enabled-locations-BMX79cCz.js} +2 -2
  88. package/dist/{use-transfer-locations-BN_jm_Uj.js → use-transfer-locations-DXULS6Qy.js} +2 -2
  89. package/dist/{useHrmPermission-C0Uv8j0R.js → useHrmPermission-Cbo_q33w.js} +1 -1
  90. package/dist/{useNavigationMenu-DK7Fgr5l.js → useNavigationMenu-DrDBMCyh.js} +2 -2
  91. package/dist/{useSseClient-EppRU129.js → useSseClient-BBQaDkMe.js} +1 -1
  92. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -2
  93. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -2
  94. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +0 -4
  95. package/dist/views/receive-request/components/email-dialog/EmailDialogProps.d.ts +9 -23
  96. package/dist/views/recipe/composables/use-recipe-table.d.ts +0 -11
  97. package/dist/{vue-i18n-CKFIvxhf.js → vue-i18n-AIAscLzr.js} +421 -421
  98. package/dist/{xlsx.util-DIO7WN8q.js → xlsx.util-Bws7po4u.js} +2 -2
  99. package/package.json +5 -5
  100. package/dist/App-Bte0vWY7.js +0 -1434
  101. package/dist/BulkReceiveRequestView-Bt_Kz7Pw.js +0 -2657
  102. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CHTlQULY.js +0 -563
  103. package/dist/RecipeView-D8lfLSJW.js +0 -3625
  104. package/dist/api/changelog.d.ts +0 -132
  105. package/dist/views/changelog/components/ChangelogDialog.vue.d.ts +0 -19
  106. package/dist/views/changelog/components/ChangelogFloatingButton.vue.d.ts +0 -2
  107. package/dist/views/changelog/components/ChangelogPanel.spec.d.ts +0 -1
  108. package/dist/views/changelog/components/ChangelogPanel.vue.d.ts +0 -20
  109. package/dist/views/changelog/composables/change-path.d.ts +0 -10
  110. package/dist/views/changelog/composables/commit-message.d.ts +0 -9
  111. package/dist/views/changelog/composables/commit-message.spec.d.ts +0 -1
  112. package/dist/views/changelog/composables/json-line-diff.d.ts +0 -10
  113. package/dist/views/changelog/composables/json-line-diff.spec.d.ts +0 -1
  114. package/dist/views/changelog/composables/use-changelog.d.ts +0 -90
  115. package/dist/views/changelog/composables/use-changelog.spec.d.ts +0 -1
  116. package/dist/views/changelog/composables/use-inventory-record-commits.d.ts +0 -97
  117. package/dist/views/changelog/composables/use-inventory-record-commits.spec.d.ts +0 -1
  118. package/dist/views/changelog/composables/use-snapshot-diff.d.ts +0 -29
  119. package/dist/views/changelog/composables/use-snapshot-diff.spec.d.ts +0 -1
  120. package/dist/views/changelog/composables/value-tree.d.ts +0 -14
  121. package/dist/views/changelog/composables/value-tree.spec.d.ts +0 -1
  122. package/dist/views/import/helper/submit-rows.d.ts +0 -13
  123. package/dist/views/import/helper/submit-rows.spec.d.ts +0 -1
  124. package/dist/views/ingredients/components/inventory-binding/RecipeBindingBreakdown.vue.d.ts +0 -25
  125. package/dist/views/ingredients/components/inventory-binding/composables/recipe-breakdown.d.ts +0 -34
  126. package/dist/views/ingredients/components/inventory-binding/composables/recipe-breakdown.spec.d.ts +0 -1
  127. package/dist/views/receive-request/components/email-dialog/EmailDialog.spec.d.ts +0 -1
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { ax as s, ay as e, az as o, aw as t, a7 as i, a as m } from "./app-BNb3mgP7.js";
2
+ import { ax as s, ay as e, az as o, aw as t, a7 as i, a as m } from "./app-CmK8hghR.js";
3
3
  export {
4
4
  s as FmApp,
5
5
  e as InventoryBindingForm,
@@ -1,4 +1,4 @@
1
- import { d as u } from "./app-BNb3mgP7.js";
1
+ import { m as u } from "./app-CmK8hghR.js";
2
2
  import { useCoreStore as m } from "@feedmepos/mf-common";
3
3
  const i = u((s, a) => {
4
4
  function r() {
@@ -1,4 +1,4 @@
1
- import { d as l } from "./dayjs.min-CM9pMep8.js";
1
+ import { d as l } from "./dayjs.min-lHU_s16T.js";
2
2
  const T = new Intl.DateTimeFormat("en-US", {
3
3
  year: "numeric",
4
4
  month: "2-digit",
@@ -102,10 +102,10 @@ function I(e, t = /* @__PURE__ */ new Date()) {
102
102
  };
103
103
  }
104
104
  export {
105
- g as a,
106
- p as b,
107
- c,
108
- M as d,
105
+ p as a,
106
+ c as b,
107
+ M as c,
108
+ g as d,
109
109
  h as e,
110
110
  w as f,
111
111
  I as g,
@@ -1,4 +1,4 @@
1
- import { y as Q, X } from "./app-BNb3mgP7.js";
1
+ import { y as Q, X } from "./app-CmK8hghR.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, R) {
4
4
  (function(W, k) {
@@ -1,5 +1,5 @@
1
- import "./dayjs.min-CM9pMep8.js";
2
- import "./app-BNb3mgP7.js";
1
+ import "./dayjs.min-lHU_s16T.js";
2
+ import "./app-CmK8hghR.js";
3
3
  function m(a) {
4
4
  function t(o, n = !0) {
5
5
  const e = Math.round(Math.log10(o));
@@ -1,4 +1,4 @@
1
- import { c as a, a4 as u } from "./app-BNb3mgP7.js";
1
+ import { c as a, a4 as u } from "./app-CmK8hghR.js";
2
2
  import { getCurrentInstance as d, reactive as l, watch as o } from "vue";
3
3
  function g(i = "modelValue", e) {
4
4
  var n, c;
@@ -1,4 +1,4 @@
1
- import { d as p } from "./app-BNb3mgP7.js";
1
+ import { m as p } from "./app-CmK8hghR.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = p((s, n) => {
4
4
  function o() {
@@ -2,9 +2,9 @@ var ht = Object.defineProperty;
2
2
  var pt = (l, u, _) => u in l ? ht(l, u, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : l[u] = _;
3
3
  var ce = (l, u, _) => pt(l, typeof u != "symbol" ? u + "" : u, _);
4
4
  import { useCoreStore as Ke } from "@feedmepos/mf-common";
5
- import { X as ve, a as ft, u as Ve, k as ot } from "./app-BNb3mgP7.js";
5
+ import { X as ve, a as ft, u as Ve, j as ot } from "./app-CmK8hghR.js";
6
6
  import { readonly as Ge, ref as de } from "vue";
7
- import "./inventory-core-dart.default-DIZjn9Qf.js";
7
+ import "./inventory-core-dart.default-B_ynwM9E.js";
8
8
  var qe = { exports: {} };
9
9
  (function(l, u) {
10
10
  (function(_, p) {
@@ -1,4 +1,4 @@
1
- import { h as n } from "./date2-CEZilXJj.js";
1
+ import { h as n } from "./date2-CQePW31N.js";
2
2
  function d(r) {
3
3
  const t = a(r);
4
4
  return t === null ? "" : n(t);
@@ -1,24 +1,24 @@
1
1
  import { components as ce, useDialogChild as Pe, useSnackbar as de, useDialog as Me, FmButtonVariant as te } from "@feedmepos/ui-library";
2
2
  import { defineStore as pe } from "pinia";
3
3
  import { F as xe } from "./form-mode.enum-BKiNVH6A.js";
4
- import { u as fe } from "./purchase-order-template-B5tBswYT.js";
5
- import { ref as I, h as oe, defineComponent as ye, resolveComponent as W, createElementBlock as F, openBlock as O, createElementVNode as N, createCommentVNode as J, normalizeClass as Z, createTextVNode as Be, toDisplayString as q, unref as B, createVNode as z, withCtx as me, Fragment as Y, renderList as ae, onMounted as Le, computed as H, watch as Qe, createSlots as Ue, createBlock as re } from "vue";
6
- import { a as X, c as ve, r as L, u as ie, m as qe, k as _e, s as Ve, R as we } from "./app-BNb3mgP7.js";
4
+ import { u as fe } from "./purchase-order-template-C85h_67x.js";
5
+ import { ref as I, h as oe, defineComponent as ye, resolveComponent as W, createElementBlock as F, openBlock as O, createElementVNode as N, createCommentVNode as J, normalizeClass as Z, createTextVNode as Be, toDisplayString as q, unref as B, createVNode as j, withCtx as me, Fragment as Y, renderList as ae, onMounted as Le, computed as H, watch as Qe, createSlots as Ue, createBlock as re } from "vue";
6
+ import { a as X, c as ve, r as L, u as ie, l as qe, j as _e, s as Ve, R as we } from "./app-CmK8hghR.js";
7
7
  import { useRouter as He } from "vue-router";
8
- import { a as ze } from "./FmMultiselectDialog-C3KVaJ4n.js";
8
+ import { a as je } from "./FmMultiselectDialog-A3tJaEBt.js";
9
9
  import { D as ne, R as U } from "./row-action.enum-ncgDYAjP.js";
10
- import { c as je } from "./component-BmLAdDiY.js";
11
- import { f as Ye } from "./format-time-from-id-BnKJ6XGj.js";
10
+ import { c as ze } from "./component-BmLAdDiY.js";
11
+ import { f as Ye } from "./format-time-from-id-DFIRpxdl.js";
12
12
  import { useI18n as he, useCoreStore as Ie } from "@feedmepos/mf-common";
13
- import { t as K, a as Ce, d as Oe, s as Ae, r as Ke } from "./xlsx.util-DIO7WN8q.js";
13
+ import { t as K, a as Ce, d as Oe, s as Ae, r as Ke } from "./xlsx.util-Bws7po4u.js";
14
14
  import { F as Ge } from "./FmDroppableField-J0tG_U3w.js";
15
- import { a as G, c as We, t as se, g as ue } from "./number-Da0xDyut.js";
16
- import { f as Je } from "./date2-CEZilXJj.js";
17
- import { u as ge } from "./supplier-CutnfZkn.js";
18
- import { a as Ze, B as Xe } from "./rules-CEMsIT_O.js";
19
- import { u as Te } from "./netsuite-DfDg_rIm.js";
20
- import { u as et } from "./duplicate-template-DNNNayq0.js";
21
- import { u as tt } from "./vue-i18n-CKFIvxhf.js";
15
+ import { a as G, c as We, t as se, g as ue } from "./number-B_a5obOf.js";
16
+ import { f as Je } from "./date2-CQePW31N.js";
17
+ import { u as ge } from "./supplier-CeTkaUn4.js";
18
+ import { a as Ze, B as Xe } from "./rules-CepJg59P.js";
19
+ import { u as Te } from "./netsuite-C6tsULzY.js";
20
+ import { u as et } from "./duplicate-template-BVN2zmVh.js";
21
+ import { u as tt } from "./vue-i18n-AIAscLzr.js";
22
22
  function De(n) {
23
23
  const e = X(), o = n.sku, d = e.skuById[o._id];
24
24
  if (d.unit._id !== o.unit._id) return !0;
@@ -161,7 +161,7 @@ const be = pe(
161
161
  ne[U.Duplicate],
162
162
  ne[U.Delete]
163
163
  ];
164
- return je(h, (b) => i(b, c));
164
+ return ze(h, (b) => i(b, c));
165
165
  },
166
166
  enableSorting: !1,
167
167
  size: 40,
@@ -737,14 +737,14 @@ const dt = { class: "flex items-center gap-12 pl-8" }, pt = { class: "flex flex-
737
737
  e.type === "create" ? (O(), F("span", vt, "(new)")) : J("", !0)
738
738
  ], 2),
739
739
  e.errors.length ? (O(), F("div", ht, [
740
- z(u, { "z-index": 50 }, {
740
+ j(u, { "z-index": 50 }, {
741
741
  content: me(() => [
742
742
  N("ol", null, [
743
743
  (O(!0), F(Y, null, ae(e.errors, (r, i) => (O(), F("li", { key: i }, q(r), 1))), 128))
744
744
  ])
745
745
  ]),
746
746
  default: me(() => [
747
- z(d, {
747
+ j(d, {
748
748
  name: "error",
749
749
  size: "sm",
750
750
  color: "system-error-300"
@@ -850,14 +850,14 @@ const dt = { class: "flex items-center gap-12 pl-8" }, pt = { class: "flex flex-
850
850
  t[2] || (t[2] = N("div", { class: "fm-typo-en-body-md-400" }, "Import transfer templates from excel sheets.", -1)),
851
851
  s.value ? (O(), F("div", Tt, [
852
852
  N("div", null, [
853
- z(S, {
853
+ j(S, {
854
854
  size: "md",
855
855
  color: "neutral-gray-200"
856
856
  })
857
857
  ]),
858
858
  t[1] || (t[1] = N("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, "Loading...", -1))
859
859
  ])) : (O(), F(Y, { key: 1 }, [
860
- z(Ge, {
860
+ j(Ge, {
861
861
  class: Z({
862
862
  "w-full": !0,
863
863
  "h-[200px]": !e.value
@@ -903,7 +903,7 @@ const dt = { class: "flex items-center gap-12 pl-8" }, pt = { class: "flex flex-
903
903
  N("div", St, q(e.value.name), 1)
904
904
  ], 2),
905
905
  u.value ? J("", !0) : (O(), F("div", xt, [
906
- z(w, {
906
+ j(w, {
907
907
  label: B(c)("inventory.ingredient.import.replaceFile"),
908
908
  variant: p.value ? "destructive" : "secondary",
909
909
  "prepend-icon": p.value ? void 0 : "autorenew",
@@ -916,7 +916,7 @@ const dt = { class: "flex items-center gap-12 pl-8" }, pt = { class: "flex flex-
916
916
  key: _,
917
917
  class: "flex gap-8 items-center"
918
918
  }, [
919
- z(E, {
919
+ j(E, {
920
920
  name: "error",
921
921
  size: "sm",
922
922
  color: "system-error-300"
@@ -997,8 +997,8 @@ const Ct = {
997
997
  return $.purchaseOrder.items = $.purchaseOrder.items.map((k) => {
998
998
  if (k.sku._id !== T) return k;
999
999
  const P = {};
1000
- for (const j of p.value)
1001
- for (const ee of Ct[j])
1000
+ for (const z of p.value)
1001
+ for (const ee of Ct[z])
1002
1002
  P[ee] = i.value[ee];
1003
1003
  return { ...k, ...P };
1004
1004
  }), $;
@@ -1039,13 +1039,13 @@ const Ct = {
1039
1039
  ), $ = /* @__PURE__ */ new Map();
1040
1040
  C.forEach((k, P) => {
1041
1041
  if (k.status === "rejected") {
1042
- const j = T[P], ee = k.reason instanceof Error ? k.reason.message : String(k.reason ?? "Unknown error");
1043
- $.set(j._id, ee);
1042
+ const z = T[P], ee = k.reason instanceof Error ? k.reason.message : String(k.reason ?? "Unknown error");
1043
+ $.set(z._id, ee);
1044
1044
  } else
1045
1045
  b.value = /* @__PURE__ */ new Set([...b.value, T[P]._id]);
1046
1046
  }), $.size > 0 ? (h.value = $, await d.fetchTemplates(), l.value = l.value.map((k) => {
1047
1047
  if (!$.has(k._id)) return k;
1048
- const P = d.templates.find((j) => j._id === k._id);
1048
+ const P = d.templates.find((z) => z._id === k._id);
1049
1049
  return P ? { ...k, _rev: P._rev } : k;
1050
1050
  }), o.open({
1051
1051
  title: e("inventory.transfer.template.bulkEditor.save.partialErrorTitle"),
@@ -1293,7 +1293,7 @@ const Ct = {
1293
1293
  });
1294
1294
  return D.sort((g, M) => +!!g.disabled - +!!M.disabled), n.open({
1295
1295
  title: "Select one template",
1296
- contentComponent: ze,
1296
+ contentComponent: je,
1297
1297
  contentComponentProps: {
1298
1298
  items: D,
1299
1299
  singleSelect: !0
@@ -1,10 +1,10 @@
1
- import { a as w, t as H, f as T } from "./number-Da0xDyut.js";
2
- import { u as P } from "./feature-TVuArq91.js";
1
+ import { a as w, t as H, f as T } from "./number-B_a5obOf.js";
2
+ import { u as P } from "./feature-DskgoIu-.js";
3
3
  import { useCoreStore as y } from "@feedmepos/mf-common";
4
- import { a as g, g as k, m as j, e as S } from "./app-BNb3mgP7.js";
5
- import { b as N, d as $, s as I } from "./xlsx.util-DIO7WN8q.js";
6
- import { f as _ } from "./date2-CEZilXJj.js";
7
- import { I as O } from "./rules-CEMsIT_O.js";
4
+ import { a as g, g as k, l as j, d as S } from "./app-CmK8hghR.js";
5
+ import { b as N, d as $, s as I } from "./xlsx.util-Bws7po4u.js";
6
+ import { f as _ } from "./date2-CQePW31N.js";
7
+ import { I as O } from "./rules-CepJg59P.js";
8
8
  function U() {
9
9
  return {
10
10
  low: 6,
@@ -1,10 +1,10 @@
1
- import { ref as b, computed as f } from "vue";
2
- import { u as w } from "./netsuite-DfDg_rIm.js";
3
- import { A as L, a as p, u as y, d as B, G as h } from "./app-BNb3mgP7.js";
4
- import { useSnackbar as E } from "@feedmepos/ui-library";
5
- import { useCoreStore as C } from "@feedmepos/mf-common";
6
- import { u as v } from "./feature-TVuArq91.js";
7
- function k() {
1
+ import { ref as v, computed as f } from "vue";
2
+ import { u as w } from "./netsuite-C6tsULzY.js";
3
+ import { A as L, a as p, u as y, m as k, G as h } from "./app-CmK8hghR.js";
4
+ import { useSnackbar as B } from "@feedmepos/ui-library";
5
+ import { useCoreStore as E } from "@feedmepos/mf-common";
6
+ import { u as S } from "./feature-DskgoIu-.js";
7
+ function C() {
8
8
  return {
9
9
  setting: {
10
10
  _id: "",
@@ -29,7 +29,7 @@ function k() {
29
29
  categories: []
30
30
  };
31
31
  }
32
- const d = b(k());
32
+ const d = v(C());
33
33
  function U() {
34
34
  return {
35
35
  // state
@@ -54,7 +54,7 @@ function U() {
54
54
  }));
55
55
  d.value.categories = a, d.value.setting = await o.readSetting();
56
56
  } catch (e) {
57
- E().open({
57
+ B().open({
58
58
  title: "Something went wrong",
59
59
  message: "Cannot fetch integration info. Please try again.",
60
60
  type: "error"
@@ -63,8 +63,8 @@ function U() {
63
63
  }
64
64
  };
65
65
  }
66
- const I = B((o, r) => {
67
- const n = y(), s = C(), i = () => {
66
+ const I = k((o, r) => {
67
+ const n = y(), s = E(), i = () => {
68
68
  var t, e;
69
69
  return ((t = s.sessionUser.value) == null ? void 0 : t.email) ?? ((e = s.sessionUser.value) == null ? void 0 : e.id) ?? "portal";
70
70
  };
@@ -101,12 +101,18 @@ const I = B((o, r) => {
101
101
  const a = n.currentLocationId, c = `${o.codemaxBackendUrl}/${a}/sync-log/latest`;
102
102
  return await r.post(c, {
103
103
  billIds: t,
104
- includePayload: (e == null ? void 0 : e.includePayload) === !0
104
+ includePayload: (e == null ? void 0 : e.includePayload) === !0,
105
+ includeSkipped: (e == null ? void 0 : e.includeSkipped) === !0
105
106
  });
106
107
  },
107
- async readSyncLogsForBills(t) {
108
- const e = n.currentLocationId, a = `${o.codemaxBackendUrl}/${e}/sync-log/for-bills`;
109
- return await r.post(a, { billIds: t });
108
+ // Skipped attempts are excluded unless asked for — every rescan logs one
109
+ // per unchanged bill, so they drown the attempts that did something
110
+ async readSyncLogsForBills(t, e) {
111
+ const a = n.currentLocationId, c = `${o.codemaxBackendUrl}/${a}/sync-log/for-bills`;
112
+ return await r.post(c, {
113
+ billIds: t,
114
+ includeSkipped: (e == null ? void 0 : e.includeSkipped) === !0
115
+ });
110
116
  },
111
117
  // Backend windows runs to the last 7 days; limit is just a backstop
112
118
  async readSyncRuns(t = 100) {
@@ -115,9 +121,9 @@ const I = B((o, r) => {
115
121
  },
116
122
  async readSyncLog(t) {
117
123
  const e = n.currentLocationId, a = new URLSearchParams();
118
- t.billId && a.set("billId", t.billId), t.billSeq && a.set("billSeq", t.billSeq), t.includePayload && a.set("includePayload", "true"), t.limit != null && a.set("limit", String(t.limit)), t.offset != null && a.set("offset", String(t.offset));
119
- const c = a.toString(), S = `${o.codemaxBackendUrl}/${e}/sync-log${c ? `?${c}` : ""}`;
120
- return await r.get(S);
124
+ t.billId && a.set("billId", t.billId), t.billSeq && a.set("billSeq", t.billSeq), t.includePayload && a.set("includePayload", "true"), t.includeSkipped && a.set("includeSkipped", "true"), t.limit != null && a.set("limit", String(t.limit)), t.offset != null && a.set("offset", String(t.offset));
125
+ const c = a.toString(), b = `${o.codemaxBackendUrl}/${e}/sync-log${c ? `?${c}` : ""}`;
126
+ return await r.get(b);
121
127
  },
122
128
  async resyncBills(t) {
123
129
  const e = n.currentLocationId, a = `${o.codemaxBackendUrl}/${e}/resync-bills`;
@@ -157,7 +163,7 @@ function A() {
157
163
  categories: []
158
164
  };
159
165
  }
160
- const u = b(A());
166
+ const u = v(A());
161
167
  function D() {
162
168
  const o = p();
163
169
  return {
@@ -190,11 +196,11 @@ function x() {
190
196
  locationId: ""
191
197
  };
192
198
  }
193
- const g = b(x());
199
+ const g = v(x());
194
200
  function F() {
195
201
  const o = y(), r = h();
196
202
  return o.watchLocation(async (n) => {
197
- if (v().enabledXilnexOpeningMigration) {
203
+ if (S().enabledXilnexOpeningMigration) {
198
204
  if (!n) {
199
205
  g.value = x();
200
206
  return;
@@ -205,7 +211,7 @@ function F() {
205
211
  }
206
212
  }), {
207
213
  get isEnabled() {
208
- const n = v();
214
+ const n = S();
209
215
  return f(() => n.enabledXilnexOpeningMigration).value;
210
216
  },
211
217
  get state() {
@@ -222,11 +228,11 @@ function $() {
222
228
  locationId: ""
223
229
  };
224
230
  }
225
- const m = b($());
231
+ const m = v($());
226
232
  function _() {
227
233
  const o = y(), r = h();
228
234
  return o.watchLocation(async (n) => {
229
- if (v()) {
235
+ if (S()) {
230
236
  if (!n) {
231
237
  m.value = $();
232
238
  return;
@@ -237,7 +243,7 @@ function _() {
237
243
  }
238
244
  }), {
239
245
  get isEnabled() {
240
- const n = v();
246
+ const n = S();
241
247
  return f(() => n.enabledSynergyOpeningMigration).value;
242
248
  },
243
249
  get state() {
@@ -250,7 +256,7 @@ function _() {
250
256
  };
251
257
  }
252
258
  function O() {
253
- const o = w(), r = U(), n = D(), s = F(), i = _(), t = f(() => o.isEnabled), e = f(() => r.isEnabled), a = f(() => n.isEnabled), c = f(() => s.isEnabled), S = f(() => i.isEnabled);
259
+ const o = w(), r = U(), n = D(), s = F(), i = _(), t = f(() => o.isEnabled), e = f(() => r.isEnabled), a = f(() => n.isEnabled), c = f(() => s.isEnabled), b = f(() => i.isEnabled);
254
260
  return {
255
261
  get enabledIntegrations() {
256
262
  return [
@@ -258,7 +264,7 @@ function O() {
258
264
  e.value,
259
265
  a.value,
260
266
  c.value,
261
- S.value
267
+ b.value
262
268
  ].filter((l) => l).length;
263
269
  },
264
270
  get isNetSuiteEnabled() {
@@ -1,4 +1,4 @@
1
- import { y as h } from "./app-BNb3mgP7.js";
1
+ import { y as h } from "./app-CmK8hghR.js";
2
2
  var a = { exports: {} };
3
3
  function x(r, s = 100, u = {}) {
4
4
  if (typeof r != "function")