@feedmepos/mf-inventory-portal 1.2.53 → 1.2.55-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 (98) hide show
  1. package/dist/{App-BsfuPPE8.js → App-Dr4bSbWV.js} +75 -70
  2. package/dist/{ApprovalView-DpYZ90XA.js → ApprovalView-BrUi6das.js} +34 -34
  3. package/dist/{BindingsDialog-BV-jLs8M.js → BindingsDialog-DtsEDaFx.js} +2 -2
  4. package/dist/{BindingsPicker-B1hTzIMf.js → BindingsPicker-BDSimsxV.js} +2 -2
  5. package/dist/{BindingsTable-LQX4W3ew.js → BindingsTable-ArpmNkQm.js} +4 -4
  6. package/dist/{ClosingDraftView-BmeO2Js_.js → ClosingDraftView-D7qz1YGt.js} +19 -18
  7. package/dist/{ClosingHistoryView--gDKiBmN.js → ClosingHistoryView-ND9smQRb.js} +27 -27
  8. package/dist/{ClosingTemplateView-CeH6R1_D.js → ClosingTemplateView--1tzOPIu.js} +18 -17
  9. package/dist/{DeliveryOrderPrintPreview-uf9jap78.js → DeliveryOrderPrintPreview-Ctv1Qp_a.js} +1 -1
  10. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-lA-iPoWZ.js +188 -0
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-mZtCQnzs.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-UJewH4Il.js} +12 -12
  12. package/dist/FmMultiselectDialog-Br5_D-b5.js +618 -0
  13. package/dist/{FmMultiselectDialog-B9qB5-LO.js → FmMultiselectDialog-BrJlUxMZ.js} +1 -1
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-27q4Oj88.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BvIdnKjl.js} +3 -3
  15. package/dist/{ImportView-D4k9msYw.js → ImportView-fEnHrPWZ.js} +7 -7
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BYoVIP2q.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVELkyVY.js} +1 -1
  17. package/dist/{IngredientGroupView-C20V_hvY.js → IngredientGroupView-B1owkM3C.js} +108 -107
  18. package/dist/{IngredientsView-DzsB-qrK.js → IngredientsView-BTKXnnw5.js} +126 -125
  19. package/dist/{IntegrationView-DFSUowj3.js → IntegrationView-C2jarXxh.js} +80 -80
  20. package/dist/{InventoryBindingForm-Dlnx6-L7.js → InventoryBindingForm-Gq8XfKbC.js} +1 -1
  21. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-BVkTXQvA.js +403 -0
  22. package/dist/{InventoryBindingSummary-CgpN2hF0.js → InventoryBindingSummary-CqQu65hi.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-tv-itLDe.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DIukT297.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-3BHMqt41.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D2aU4Ij2.js} +2 -2
  25. package/dist/{PublishView-BtMTxpSh.js → PublishView-CBYg-KST.js} +3 -3
  26. package/dist/{PurchaseOrderPrintPreview-DGCQUgF5.js → PurchaseOrderPrintPreview-C_jrGksW.js} +1 -1
  27. package/dist/ReceiveRequestView-iawt5dnN.js +2915 -0
  28. package/dist/{RecipeView-CPnCVxz2.js → RecipeView-Dv5BTxLT.js} +83 -82
  29. package/dist/{StockView-DYHl_yAy.js → StockView-oSkKCORB.js} +113 -112
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Desv7VmF.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BJ3gnpTq.js} +1 -1
  31. package/dist/{SupplierView-BtKlc0mc.js → SupplierView-tipIYgX7.js} +28 -27
  32. package/dist/SurchargeView-CW1lsyEC.js +460 -0
  33. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-C2fsq7Kj.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-B3FZqxjr.js} +2 -2
  34. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js +84 -0
  35. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C6utSuyH.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D86rTw7c.js} +17 -17
  36. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BMhCFnlM.js → TransferDetails.vue_vue_type_script_setup_true_lang-cGzs-dHw.js} +15 -15
  37. package/dist/{TransferTemplateView-D0_xhGDZ.js → TransferTemplateView-dSJSgnil.js} +82 -81
  38. package/dist/{UnitView-BAX2GeM3.js → UnitView-VHi5WMrF.js} +20 -19
  39. package/dist/{WarehouseView-CccEHOZw.js → WarehouseView-DLZaux-w.js} +21 -20
  40. package/dist/{WastageTemplateView-CMNtM1FX.js → WastageTemplateView-KyvwCkdu.js} +67 -66
  41. package/dist/api/netsuite.d.ts +8 -0
  42. package/dist/api/stock-estimate.d.ts +1 -0
  43. package/dist/api/surcharge.d.ts +31 -0
  44. package/dist/{app-D_U5i9il.js → app-Cq2T5z21.js} +4511 -4405
  45. package/dist/app-DiX-EfV6.js +8167 -0
  46. package/dist/app.d.ts +52 -0
  47. package/dist/app.js +1 -1
  48. package/dist/{closing-template-Bl0MMVQ3.js → closing-template-TwdeC6qT.js} +1 -1
  49. package/dist/component-DpCUABT3.js +82 -0
  50. package/dist/components/FmInventoryTableToolbar.vue.d.ts +8 -0
  51. package/dist/components/FmMultiselectDialogProps.d.ts +5 -0
  52. package/dist/{date2-bUTaCyeL.js → date2-Dunl1OWI.js} +1 -1
  53. package/dist/{dayjs.min-CsC_tYI1.js → dayjs.min-D_81k3gd.js} +26 -26
  54. package/dist/{decimal-DLO8y7yi.js → decimal-B9DLzi9Y.js} +2 -2
  55. package/dist/{defineDeepModel-Qi54tGyL.js → defineDeepModel-B15nBS96.js} +1 -1
  56. package/dist/{duplicate-template-CMQSNAkP.js → duplicate-template-BSxFsv2u.js} +1 -1
  57. package/dist/{feature-C3Qi_YOQ.js → feature-KwyjpPTq.js} +8956 -6221
  58. package/dist/{format-time-from-id-CiF32HPN.js → format-time-from-id-BfL9V23H.js} +1 -1
  59. package/dist/{format-unit-display-CWaFU32C.js → format-unit-display-BfSLhflE.js} +11 -11
  60. package/dist/{import-export.helper-CmZ04MNQ.js → import-export.helper-TUsgMxew.js} +5 -5
  61. package/dist/{index-DWbh3c13.js → index-C2H5HeFF.js} +1 -1
  62. package/dist/{index-BV6lZh0u.js → index-CXtJlhZZ.js} +3 -3
  63. package/dist/{index-v0HfyjdJ.js → index-DTnKa-sF.js} +1 -1
  64. package/dist/{lodash-l5GzTb80.js → lodash-DRR2nS2T.js} +1 -1
  65. package/dist/{netsuite-DlEPiEX1.js → netsuite-CAFiEoX5.js} +2034 -1687
  66. package/dist/{purchase-order-template-C-MSW7Bo.js → purchase-order-template-CSJXceBK.js} +1 -1
  67. package/dist/router/name.d.ts +1 -0
  68. package/dist/{rules-BF70lxi7.js → rules-BdFLL1aa.js} +9 -9
  69. package/dist/{stock-CU4n1u6e.js → stock-B80FaSS2.js} +1 -1
  70. package/dist/{stock-FcnkYSxh.js → stock-CgsgvX9b.js} +3 -3
  71. package/dist/stores/feature.d.ts +4 -0
  72. package/dist/stores/integration/netsuite.d.ts +5 -0
  73. package/dist/stores/surcharge.d.ts +18 -0
  74. package/dist/style.css +1 -1
  75. package/dist/{supplier-BV8FzK18.js → supplier-BsycjnD1.js} +2 -2
  76. package/dist/surcharge-BH6kETCu.js +71 -0
  77. package/dist/tsconfig.app.tsbuildinfo +1 -1
  78. package/dist/{use-ingredient-select-dialog-FCv8J6-r.js → use-ingredient-select-dialog-B2cFOc3t.js} +2 -2
  79. package/dist/{use-inventory-binding-dialog-UNAoymW3.js → use-inventory-binding-dialog-CKUtJDHW.js} +2 -2
  80. package/dist/{use-template-enabled-locations-2-6TzeRZSX.js → use-template-enabled-locations-2-tPL4lEZ_.js} +2 -2
  81. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +1 -0
  82. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -0
  83. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
  84. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  85. package/dist/views/surcharge/SurchargeView.vue.d.ts +2 -0
  86. package/dist/{vue-i18n-W40GsXxp.js → vue-i18n-BhCaMx-9.js} +213 -213
  87. package/dist/{xlsx-BD3jzYqf.js → xlsx-DJaY2xSF.js} +398 -398
  88. package/dist/{xlsx.util-DA4HjNKa.js → xlsx.util-CZq_uKdw.js} +1 -1
  89. package/package.json +3 -4
  90. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BPPKetxg.js +0 -231
  91. package/dist/FmMultiselectDialog-C9pVEMlL.js +0 -598
  92. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-DiKt7AYo.js +0 -375
  93. package/dist/ReceiveRequestView-AY3n7b7j.js +0 -2923
  94. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js +0 -162
  95. package/dist/app-uBuHtW8m.js +0 -8127
  96. package/dist/cypress/component/receive-request/KDI-15-total-price-currency.cy.d.ts +0 -2
  97. package/dist/views/ingredients/helper/calculate-default-cost.d.ts +0 -9
  98. package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +0 -22
@@ -1,18 +1,19 @@
1
1
  import { ref as D, defineComponent as j, watch as ee, onMounted as te, onUnmounted as $e, openBlock as W, createElementBlock as B, toRaw as we, reactive as Se, createElementVNode as g, toDisplayString as E, unref as u, createVNode as k, resolveComponent as N, createSlots as Te, withCtx as I, createTextVNode as Me, renderSlot as De, createBlock as z, createCommentVNode as ae, computed as $, isRef as Ve, normalizeClass as We, normalizeStyle as Re } from "vue";
2
- import { o as Pe, p as Ue, q as Ee, c as G, r as Ne, S as Le, u as Ie } from "./app-D_U5i9il.js";
2
+ import { o as Pe, p as Ue, q as Ee, c as G, r as Ne, S as Le, u as Ie } from "./app-Cq2T5z21.js";
3
3
  import { useCoreStore as Fe, useI18n as O } from "@feedmepos/mf-common";
4
4
  import { D as _e, R as J } from "./row-action.enum-BcW_L_nE.js";
5
- import { c as qe, _ as Be, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
6
- import { u as ze, _ as je } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
5
+ import { c as qe } from "./component-DpCUABT3.js";
6
+ import { u as Be, _ as ze } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
7
7
  import { F as U } from "./form-mode.enum-BKiNVH6A.js";
8
- import { useDialogChild as Oe, useDialog as Ce, useSnackbar as le, useProxiedModel as oe, useBreakpoints as Ge } from "@feedmepos/ui-library";
9
- import { R as L } from "./rules-BF70lxi7.js";
8
+ import { useDialogChild as je, useDialog as Ce, useSnackbar as le, useProxiedModel as oe, useBreakpoints as Oe } from "@feedmepos/ui-library";
9
+ import { R as L } from "./rules-BdFLL1aa.js";
10
10
  import { c as se, u as re } from "./googlemap-Dm8ERVai.js";
11
- import { d as Ke } from "./index-DWbh3c13.js";
12
- import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- import { _ as Ye } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
14
- import { u as Ze } from "./feature-C3Qi_YOQ.js";
15
- import { _ as Je } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-mZtCQnzs.js";
11
+ import { d as Ge } from "./index-C2H5HeFF.js";
12
+ import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ import { _ as He } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
14
+ import { u as Ye } from "./feature-KwyjpPTq.js";
15
+ import { _ as Ze, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
16
+ import { _ as Je } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-UJewH4Il.js";
16
17
  const X = Pe((v, h) => {
17
18
  const b = Fe();
18
19
  return {
@@ -291,9 +292,9 @@ const eo = /* @__PURE__ */ j({
291
292
  }
292
293
  },
293
294
  setup(v) {
294
- const h = v, b = Oe(), a = re(), { t: n } = O(), i = Se(
295
+ const h = v, b = je(), a = re(), { t: n } = O(), i = Se(
295
296
  G(h.coordinate ? h.coordinate : se.jb)
296
- ), r = D(""), l = Ke(async function() {
297
+ ), r = D(""), l = Ge(async function() {
297
298
  r.value = await a.getFirstMatchingAddress(
298
299
  i.lat,
299
300
  i.lng
@@ -333,7 +334,7 @@ const eo = /* @__PURE__ */ j({
333
334
  }, null, 8, ["center", "markers"])
334
335
  ]));
335
336
  }
336
- }), co = /* @__PURE__ */ He(io, [["__scopeId", "data-v-272f5e8b"]]);
337
+ }), co = /* @__PURE__ */ Ke(io, [["__scopeId", "data-v-272f5e8b"]]);
337
338
  function Ae([v, h]) {
338
339
  return {
339
340
  lat: h,
@@ -469,7 +470,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
469
470
  },
470
471
  emits: ["update:modelValue", "validation-success"],
471
472
  setup(v, { expose: h, emit: b }) {
472
- const a = v, n = b, i = Ze(), { t: r } = O(), l = $({
473
+ const a = v, n = b, i = Ye(), { t: r } = O(), l = $({
473
474
  get() {
474
475
  var o, e;
475
476
  return ((e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.name) ?? "";
@@ -738,7 +739,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
738
739
  ])
739
740
  ]),
740
741
  g("div", null, [
741
- k(Ye, {
742
+ k(He, {
742
743
  entity: "warehouse",
743
744
  modelValue: q.value,
744
745
  "onUpdate:modelValue": e[12] || (e[12] = (p) => q.value = p)
@@ -902,7 +903,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
902
903
  }), Do = { class: "flex flex-col py-8" }, Wo = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Ro = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Po = {
903
904
  key: 0,
904
905
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
905
- }, Uo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, Qo = /* @__PURE__ */ j({
906
+ }, Uo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, Xo = /* @__PURE__ */ j({
906
907
  __name: "WarehouseView",
907
908
  setup(v) {
908
909
  const h = xe(), b = Ie(), a = $(() => h.warehouses), n = Ce(), i = le(), r = D(!1), { t: l } = O();
@@ -975,10 +976,10 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
975
976
  r.value = !1;
976
977
  }
977
978
  }
978
- const { breakpoints: m } = Ge(), f = $(() => m.value.xs || m.value.sm), A = $(() => f.value ? 10 : 20), q = ze();
979
+ const { breakpoints: m } = Oe(), f = $(() => m.value.xs || m.value.sm), A = $(() => f.value ? 10 : 20), q = Be();
979
980
  return (V, o) => {
980
981
  const e = N("FmTable");
981
- return W(), z(je, {
982
+ return W(), z(ze, {
982
983
  title: u(l)("inventory.warehouse.title"),
983
984
  actions: [
984
985
  {
@@ -1016,7 +1017,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
1016
1017
  "page-size": A.value
1017
1018
  }, {
1018
1019
  "list-row": I((t) => [
1019
- k(Be, {
1020
+ k(Ze, {
1020
1021
  row: t,
1021
1022
  onRowClick: (s) => w(s.original)
1022
1023
  }, {
@@ -1071,5 +1072,5 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
1071
1072
  }
1072
1073
  });
1073
1074
  export {
1074
- Qo as default
1075
+ Xo as default
1075
1076
  };
@@ -1,31 +1,32 @@
1
- import { ref as D, h as P, defineComponent as G, resolveComponent as E, openBlock as I, createElementBlock as A, createElementVNode as y, normalizeClass as Y, createTextVNode as Z, toDisplayString as F, unref as x, createCommentVNode as z, createVNode as C, createBlock as O, Fragment as K, renderList as X, computed as U, watch as pe, createSlots as Ue, withCtx as j, isRef as Le, normalizeStyle as Qe, Teleport as Xe, normalizeProps as Ze, guardReactiveProps as et, mergeProps as je } from "vue";
1
+ import { ref as M, h as P, defineComponent as G, resolveComponent as E, openBlock as I, createElementBlock as A, createElementVNode as y, normalizeClass as Y, createTextVNode as Z, toDisplayString as F, unref as x, createCommentVNode as z, createVNode as C, createBlock as O, Fragment as K, renderList as X, computed as U, watch as pe, createSlots as Ue, withCtx as j, isRef as Le, normalizeStyle as Qe, Teleport as Xe, normalizeProps as Ze, guardReactiveProps as et, mergeProps as je } from "vue";
2
2
  import { u as tt, _ as nt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
3
3
  import { useI18n as J, useCoreStore as Ne } from "@feedmepos/mf-common";
4
4
  import { D as ce, R as B } from "./row-action.enum-BcW_L_nE.js";
5
- import { _ as st } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-mZtCQnzs.js";
5
+ import { _ as st } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-UJewH4Il.js";
6
6
  import { useDialog as ee, useDialogChild as ot, useSnackbar as te, FmButtonVariant as Q, components as H, useProxiedModel as Be, useBreakpoints as at } from "@feedmepos/ui-library";
7
7
  import { defineStore as ze, storeToRefs as Oe } from "pinia";
8
- import { c as lt, _ as rt, F as me } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
9
- import { u as he, c as We, a as ne, E as N, n as it, C as fe } from "./app-D_U5i9il.js";
8
+ import { _ as lt, F as me } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
9
+ import { u as he, c as We, a as ne, G as N, n as rt, D as fe } from "./app-Cq2T5z21.js";
10
10
  import { F as q } from "./form-mode.enum-BKiNVH6A.js";
11
- import { f as ut } from "./format-time-from-id-CiF32HPN.js";
12
- import { u as se } from "./closing-template-Bl0MMVQ3.js";
13
- import { _ as ct } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C6utSuyH.js";
14
- import { t as ve, a as He, d as Ke, s as Ye, r as mt } from "./xlsx.util-DA4HjNKa.js";
15
- import { f as dt, a as de } from "./date2-bUTaCyeL.js";
16
- import { u as pt } from "./netsuite-DlEPiEX1.js";
11
+ import { c as it } from "./component-DpCUABT3.js";
12
+ import { f as ut } from "./format-time-from-id-BfL9V23H.js";
13
+ import { u as se } from "./closing-template-TwdeC6qT.js";
14
+ import { _ as ct } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D86rTw7c.js";
15
+ import { t as ve, a as He, d as Ke, s as Ye, r as mt } from "./xlsx.util-CZq_uKdw.js";
16
+ import { f as dt, a as de } from "./date2-Dunl1OWI.js";
17
+ import { u as pt } from "./netsuite-CAFiEoX5.js";
17
18
  import { F as ft } from "./FmDroppableField-J0xUsOTV.js";
18
- import { u as vt } from "./duplicate-template-CMQSNAkP.js";
19
- import { A as yt, R as Ge } from "./rules-BF70lxi7.js";
20
- import { d as ht } from "./defineDeepModel-Qi54tGyL.js";
21
- import { u as gt } from "./use-template-enabled-locations-2-6TzeRZSX.js";
22
- import { a as bt } from "./FmMultiselectDialog-C9pVEMlL.js";
23
- import { _ as _t } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-C2fsq7Kj.js";
19
+ import { u as vt } from "./duplicate-template-BSxFsv2u.js";
20
+ import { A as yt, R as Ge } from "./rules-BdFLL1aa.js";
21
+ import { d as ht } from "./defineDeepModel-B15nBS96.js";
22
+ import { u as gt } from "./use-template-enabled-locations-2-tPL4lEZ_.js";
23
+ import { a as bt } from "./FmMultiselectDialog-Br5_D-b5.js";
24
+ import { _ as _t } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-B3FZqxjr.js";
24
25
  import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
25
26
  const oe = ze(
26
27
  "wastageTable",
27
28
  function() {
28
- const { t: l } = J(), i = ee(), v = ye(), p = D({}), r = D(new Array()), m = D(!1), o = he(), t = se(), s = D({}), u = D();
29
+ const { t: l } = J(), i = ee(), v = ye(), p = M({}), r = M(new Array()), m = M(!1), o = he(), t = se(), s = M({}), u = M();
29
30
  async function b() {
30
31
  if (o._currentLocation)
31
32
  try {
@@ -183,7 +184,7 @@ const oe = ze(
183
184
  header: () => l("inventory.adjustment.template.table.status"),
184
185
  enableSorting: !1,
185
186
  cell(a) {
186
- const d = a.row.original, e = d._rev, c = a.row.original.locations || o.locations, $ = c.filter((h) => !!(s.value[h.dbName] || []).find((M) => M._id === d._id && M._rev === e)).length === c.length;
187
+ const d = a.row.original, e = d._rev, c = a.row.original.locations || o.locations, $ = c.filter((h) => !!(s.value[h.dbName] || []).find((D) => D._id === d._id && D._rev === e)).length === c.length;
187
188
  return P(
188
189
  "div",
189
190
  {
@@ -211,7 +212,7 @@ const oe = ze(
211
212
  ce[B.Delete],
212
213
  ce[B.Publish]
213
214
  ];
214
- return lt(e, (c) => _(c, d));
215
+ return it(e, (c) => _(c, d));
215
216
  },
216
217
  enableSorting: !1,
217
218
  size: 40,
@@ -547,7 +548,7 @@ function Ct(f) {
547
548
  function Ft(f) {
548
549
  const l = f.SheetNames.filter(
549
550
  (r) => !Object.values(ge).map(String).includes(r)
550
- ), v = oe().templates, p = it(v, "_id");
551
+ ), v = oe().templates, p = rt(v, "_id");
551
552
  try {
552
553
  return l.reduce(
553
554
  (m, o) => {
@@ -623,7 +624,7 @@ function Ft(f) {
623
624
  };
624
625
  }
625
626
  }
626
- const At = { class: "flex" }, Rt = { class: "flex flex-col flex-1" }, Mt = { class: "flex flex-col" }, Dt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary flex items-center gap-4" }, Et = {
627
+ const At = { class: "flex" }, Rt = { class: "flex flex-col flex-1" }, Dt = { class: "flex flex-col" }, Mt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary flex items-center gap-4" }, Et = {
627
628
  key: 0,
628
629
  class: "text-fm-color-typo-secondary fm-typo-en-body-sm-400"
629
630
  }, Pt = { key: 0 }, jt = { class: "ml-auto" }, Vt = { key: 0 }, Ve = /* @__PURE__ */ G({
@@ -636,7 +637,7 @@ const At = { class: "flex" }, Rt = { class: "flex flex-col flex-1" }, Mt = { cla
636
637
  errors: {}
637
638
  },
638
639
  setup(f) {
639
- const l = f, { t: i } = J(), v = D(!1), p = () => {
640
+ const l = f, { t: i } = J(), v = M(!1), p = () => {
640
641
  l.errors.length && (v.value = !v.value);
641
642
  };
642
643
  return (r, m) => {
@@ -651,8 +652,8 @@ const At = { class: "flex" }, Rt = { class: "flex flex-col flex-1" }, Mt = { cla
651
652
  }]),
652
653
  onClick: p
653
654
  }, [
654
- y("div", Mt, [
655
- y("div", Dt, [
655
+ y("div", Dt, [
656
+ y("div", Mt, [
656
657
  y("div", {
657
658
  class: Y({
658
659
  "text-fm-color-system-error-300": r.errors.length
@@ -719,7 +720,7 @@ const At = { class: "flex" }, Rt = { class: "flex flex-col flex-1" }, Mt = { cla
719
720
  }, Gt = { class: "fm-typo-en-body-lg-600" }, Jt = /* @__PURE__ */ G({
720
721
  __name: "AdjustmentTemplateImport",
721
722
  setup(f) {
722
- const l = D(null), i = ot(), v = te(), p = D(!1), r = D(!1), m = D(new Array()), o = D([]), t = D([]), s = U(
723
+ const l = M(null), i = ot(), v = te(), p = M(!1), r = M(!1), m = M(new Array()), o = M([]), t = M([]), s = U(
723
724
  () => !!m.value.length || o.value.some((T) => T.errors.length) || t.value.some((T) => T.errors.length)
724
725
  ), u = U(
725
726
  () => !!o.value.length || !!t.value.length
@@ -875,7 +876,7 @@ const At = { class: "flex" }, Rt = { class: "flex flex-col flex-1" }, Mt = { cla
875
876
  };
876
877
  }
877
878
  }), ye = ze("wastageTemplateAction", () => {
878
- const { t: f } = J(), l = ee(), i = te(), v = se(), p = vt(), r = oe(), { loading: m } = Oe(r), o = D({});
879
+ const { t: f } = J(), l = ee(), i = te(), v = se(), p = vt(), r = oe(), { loading: m } = Oe(r), o = M({});
879
880
  function t() {
880
881
  o.value = {
881
882
  mode: q.CREATE,
@@ -1032,7 +1033,7 @@ const At = { class: "flex" }, Rt = { class: "flex flex-col flex-1" }, Mt = { cla
1032
1033
  }
1033
1034
  });
1034
1035
  }
1035
- const T = D({});
1036
+ const T = M({});
1036
1037
  function w(e) {
1037
1038
  T.value = {
1038
1039
  template: e,
@@ -1142,7 +1143,7 @@ const At = { class: "flex" }, Rt = { class: "flex flex-col flex-1" }, Mt = { cla
1142
1143
  m.value = !1, r.fetchTemplates();
1143
1144
  }
1144
1145
  }
1145
- const a = D({});
1146
+ const a = M({});
1146
1147
  function d() {
1147
1148
  a.value = {
1148
1149
  show: !0,
@@ -1424,7 +1425,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1424
1425
  },
1425
1426
  emits: ["update:modelValue"],
1426
1427
  setup(f, { expose: l, emit: i }) {
1427
- const v = f, p = D(v.modelValue), { t: r } = J(), m = i, o = ne(), t = ee(), s = D(), u = D("");
1428
+ const v = f, p = M(v.modelValue), { t: r } = J(), m = i, o = ne(), t = ee(), s = M(), u = M("");
1428
1429
  l({
1429
1430
  validateInputs: () => {
1430
1431
  var _, n;
@@ -1466,22 +1467,22 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1466
1467
  function k() {
1467
1468
  var $;
1468
1469
  const _ = o.skus.map((h) => {
1469
- var S, M;
1470
+ var S, D;
1470
1471
  return {
1471
1472
  type: "sku",
1472
1473
  name: h.name,
1473
1474
  description: h.code,
1474
1475
  data: h,
1475
- searchKeys: (S = h.customAttributes) != null && S.tag ? [(M = h.customAttributes) == null ? void 0 : M.tag] : void 0
1476
+ searchKeys: (S = h.customAttributes) != null && S.tag ? [(D = h.customAttributes) == null ? void 0 : D.tag] : void 0
1476
1477
  };
1477
1478
  }), n = o.recipes.map((h) => {
1478
- var S, M;
1479
+ var S, D;
1479
1480
  return {
1480
1481
  type: "recipe",
1481
1482
  name: h.name,
1482
1483
  description: "",
1483
1484
  data: h,
1484
- searchKeys: (S = h.customAttributes) != null && S.tag ? [(M = h.customAttributes) == null ? void 0 : M.tag] : void 0
1485
+ searchKeys: (S = h.customAttributes) != null && S.tag ? [(D = h.customAttributes) == null ? void 0 : D.tag] : void 0
1485
1486
  };
1486
1487
  }), a = (($ = o.menu.cache) == null ? void 0 : $.modules.item.map((h) => ({
1487
1488
  type: "menu",
@@ -1489,10 +1490,10 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1489
1490
  description: `${h.code}`,
1490
1491
  data: h
1491
1492
  }))) ?? [], d = [..._, ...n, ...a].map((h) => {
1492
- var M;
1493
+ var D;
1493
1494
  const S = [h.type == "sku" ? "Ingredient" : h.type == "recipe" ? "Recipe" : "Menu"];
1494
1495
  if (h.type == "sku" || h.type == "recipe") {
1495
- const V = (M = h.data.customAttributes) == null ? void 0 : M.tag;
1496
+ const V = (D = h.data.customAttributes) == null ? void 0 : D.tag;
1496
1497
  V && S.push(V);
1497
1498
  }
1498
1499
  return {
@@ -1536,7 +1537,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1536
1537
  variant: "tertiary"
1537
1538
  }
1538
1539
  }).onPrimary((h) => {
1539
- const S = p.value ?? [], M = h.map((L) => {
1540
+ const S = p.value ?? [], D = h.map((L) => {
1540
1541
  const V = S.find((ae) => ae.id === L.data._id);
1541
1542
  return V ? {
1542
1543
  ...V
@@ -1548,7 +1549,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1548
1549
  disabledMeasurements: []
1549
1550
  };
1550
1551
  });
1551
- M.sort((L, V) => L.name.localeCompare(V.name)), console.log(p.value), p.value = M, m("update:modelValue", w.value);
1552
+ D.sort((L, V) => L.name.localeCompare(V.name)), console.log(p.value), p.value = D, m("update:modelValue", w.value);
1552
1553
  });
1553
1554
  }
1554
1555
  return (_, n) => {
@@ -1633,7 +1634,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1633
1634
  setLocations(t) {
1634
1635
  i.locations = t;
1635
1636
  }
1636
- }), o = D();
1637
+ }), o = M();
1637
1638
  return l({
1638
1639
  validateInputs: () => {
1639
1640
  var t, s;
@@ -1715,7 +1716,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1715
1716
  items: []
1716
1717
  };
1717
1718
  }
1718
- const u = D(v.modelValue ?? s()), b = D(((d = v.modelValue) == null ? void 0 : d._id) ?? `${Math.random()}`);
1719
+ const u = M(v.modelValue ?? s()), b = M(((d = v.modelValue) == null ? void 0 : d._id) ?? `${Math.random()}`);
1719
1720
  pe(
1720
1721
  () => v.show,
1721
1722
  (e) => {
@@ -1723,7 +1724,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1723
1724
  e && (u.value = v.modelValue ?? s(), b.value = ((c = v.modelValue) == null ? void 0 : c._id) ?? `${Math.random()}`);
1724
1725
  }
1725
1726
  );
1726
- const g = D(!1), T = U(() => {
1727
+ const g = M(!1), T = U(() => {
1727
1728
  switch (v.mode) {
1728
1729
  case q.READ:
1729
1730
  return "";
@@ -1733,7 +1734,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1733
1734
  return o("inventory.adjustment.template.update.title");
1734
1735
  }
1735
1736
  return "";
1736
- }), w = D();
1737
+ }), w = M();
1737
1738
  l({
1738
1739
  validateInputs: () => {
1739
1740
  var e, c;
@@ -1809,7 +1810,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1809
1810
  const R = E("FmMenuDivider"), $ = E("FmCard"), h = E("FmButton"), S = E("FmSideSheet");
1810
1811
  return I(), O(S, {
1811
1812
  modelValue: x(t),
1812
- "onUpdate:modelValue": c[2] || (c[2] = (M) => Le(t) ? t.value = M : null),
1813
+ "onUpdate:modelValue": c[2] || (c[2] = (D) => Le(t) ? t.value = D : null),
1813
1814
  "dismiss-away": "",
1814
1815
  "close-button": "",
1815
1816
  "max-width": 800
@@ -1827,7 +1828,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1827
1828
  class: "flex flex-col gap-8 px-12 py-16 mb-16"
1828
1829
  }, {
1829
1830
  default: j(() => {
1830
- var M;
1831
+ var D;
1831
1832
  return [
1832
1833
  y("div", fn, [
1833
1834
  y("div", vn, F(x(o)("inventory.transfer.template.details.templateSummary")), 1)
@@ -1839,7 +1840,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1839
1840
  y("div", bn, [
1840
1841
  y("div", _n, [
1841
1842
  Z(F(x(de)(u.value.updatedAt)) + " ", 1),
1842
- (M = u.value.updatedBy) != null && M.name ? (I(), A(K, { key: 0 }, [
1843
+ (D = u.value.updatedBy) != null && D.name ? (I(), A(K, { key: 0 }, [
1843
1844
  Z(" (" + F(u.value.updatedBy.name) + ") ", 1)
1844
1845
  ], 64)) : z("", !0)
1845
1846
  ]),
@@ -1860,7 +1861,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1860
1861
  ref: w,
1861
1862
  onValidationSuccess: n,
1862
1863
  "model-value": u.value,
1863
- "onUpdate:modelValue": c[0] || (c[0] = (M) => u.value = M),
1864
+ "onUpdate:modelValue": c[0] || (c[0] = (D) => u.value = D),
1864
1865
  disabled: g.value,
1865
1866
  key: b.value
1866
1867
  }, null, 8, ["model-value", "disabled"]))
@@ -1876,7 +1877,7 @@ const Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center"
1876
1877
  disabled: g.value,
1877
1878
  variant: "tertiary",
1878
1879
  label: x(o)("common.close"),
1879
- onClick: c[1] || (c[1] = (M) => p("update:show", !1))
1880
+ onClick: c[1] || (c[1] = (D) => p("update:show", !1))
1880
1881
  }, null, 8, ["disabled", "label"])
1881
1882
  ])
1882
1883
  ]),
@@ -1897,11 +1898,11 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
1897
1898
  }, Rn = {
1898
1899
  key: 3,
1899
1900
  class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary flex flex-col gap-12"
1900
- }, Mn = { class: "fm-typo-en-body-md-600" }, Dn = { class: "fm-typo-en-body-md-600" }, En = { key: 4 }, Pn = { class: "fm-typo-en-body-md-600" }, jn = { class: "fm-typo-en-body-md-600" }, Vn = { class: "flex sm:flex-col xs:flex-col justify-end gap-8 w-full mb-16" }, Un = /* @__PURE__ */ G({
1901
+ }, Dn = { class: "fm-typo-en-body-md-600" }, Mn = { class: "fm-typo-en-body-md-600" }, En = { key: 4 }, Pn = { class: "fm-typo-en-body-md-600" }, jn = { class: "fm-typo-en-body-md-600" }, Vn = { class: "flex sm:flex-col xs:flex-col justify-end gap-8 w-full mb-16" }, Un = /* @__PURE__ */ G({
1901
1902
  __name: "WastageTemplatePublish",
1902
1903
  emits: ["close"],
1903
1904
  setup(f, { emit: l }) {
1904
- const i = D(!1), v = te(), p = se(), r = oe(), { t: m } = J(), o = l;
1905
+ const i = M(!1), v = te(), p = se(), r = oe(), { t: m } = J(), o = l;
1905
1906
  async function t() {
1906
1907
  i.value = !0;
1907
1908
  try {
@@ -1945,10 +1946,10 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
1945
1946
  tag: "p"
1946
1947
  }, {
1947
1948
  started: j(() => [
1948
- y("span", Mn, F(x(de)(new Date(s.value.createdAt))), 1)
1949
+ y("span", Dn, F(x(de)(new Date(s.value.createdAt))), 1)
1949
1950
  ]),
1950
1951
  finished: j(() => [
1951
- y("span", Dn, F(x(de)(new Date(s.value.updatedAt))), 1)
1952
+ y("span", Mn, F(x(de)(new Date(s.value.updatedAt))), 1)
1952
1953
  ]),
1953
1954
  _: 1
1954
1955
  }),
@@ -1996,7 +1997,7 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
1996
1997
  },
1997
1998
  emits: ["update:show", "submitted"],
1998
1999
  setup(f, { emit: l }) {
1999
- const i = f, v = Be(i, "show"), p = D(""), r = te(), m = ee(), o = D([]), t = l, s = oe(), u = se(), b = D(!1);
2000
+ const i = f, v = Be(i, "show"), p = M(""), r = te(), m = ee(), o = M([]), t = l, s = oe(), u = se(), b = M(!1);
2000
2001
  pe(
2001
2002
  () => i.show,
2002
2003
  (n) => {
@@ -2066,7 +2067,7 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
2066
2067
  b.value = !1;
2067
2068
  }
2068
2069
  }
2069
- }, k = D(), _ = () => {
2070
+ }, k = M(), _ = () => {
2070
2071
  var n, a;
2071
2072
  (a = (n = k.value) == null ? void 0 : n.validateInputs) == null || a.call(n);
2072
2073
  };
@@ -2106,21 +2107,21 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
2106
2107
  separator: ""
2107
2108
  }, {
2108
2109
  default: j(() => [
2109
- (I(!0), A(K, null, X(o.value, (S, M) => (I(), A("div", {
2110
- key: M,
2110
+ (I(!0), A(K, null, X(o.value, (S, D) => (I(), A("div", {
2111
+ key: D,
2111
2112
  class: "flex items-center gap-8 px-1 py-2"
2112
2113
  }, [
2113
2114
  y("div", zn, [
2114
2115
  C(e, {
2115
- initials: String(M + 1),
2116
+ initials: String(D + 1),
2116
2117
  size: "sm"
2117
2118
  }, null, 8, ["initials"])
2118
2119
  ]),
2119
2120
  y("div", On, [
2120
2121
  C(c, {
2121
2122
  class: "cursor-pointer text-fm-color-typo-tertiary",
2122
- modelValue: o.value[M],
2123
- "onUpdate:modelValue": (L) => o.value[M] = L,
2123
+ modelValue: o.value[D],
2124
+ "onUpdate:modelValue": (L) => o.value[D] = L,
2124
2125
  maxLength: 500,
2125
2126
  rules: [x(Ge)()]
2126
2127
  }, null, 8, ["modelValue", "onUpdate:modelValue", "rules"])
@@ -2130,7 +2131,7 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
2130
2131
  variant: "tertiary",
2131
2132
  size: "md",
2132
2133
  "prepend-icon": "delete",
2133
- onClick: (L) => g(M)
2134
+ onClick: (L) => g(D)
2134
2135
  }, null, 8, ["onClick"])
2135
2136
  ])
2136
2137
  ]))), 128))
@@ -2163,14 +2164,14 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
2163
2164
  }, 8, ["modelValue", "dismiss-away"]);
2164
2165
  };
2165
2166
  }
2166
- }), Yn = { class: "flex items-center gap-5" }, Gn = { class: "flex items-center gap-2" }, Jn = { class: "flex-1 flex flex-col gap-8" }, qn = { class: "flex flex-col" }, Qn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Zn = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, ks = /* @__PURE__ */ G({
2167
+ }), Yn = { class: "flex items-center gap-5" }, Gn = { class: "flex items-center gap-2" }, Jn = { class: "flex-1 flex flex-col gap-8" }, qn = { class: "flex flex-col" }, Qn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Xn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Zn = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, $s = /* @__PURE__ */ G({
2167
2168
  __name: "WastageTemplateView",
2168
2169
  setup(f) {
2169
2170
  const { t: l } = J(), { createTemplate: i, updateTemplate: v, exportTemplates: p, importTemplates: r, viewReason: m } = ye(), { templateDialogProps: o, templateDetailsProps: t, templateReasonProps: s } = Oe(
2170
2171
  ye()
2171
2172
  ), u = he(), b = ee(), g = oe(), T = tt(), { breakpoints: w } = at();
2172
2173
  u.watchLocation(g.fetchTemplates);
2173
- const k = U(() => g.loading), _ = D(""), n = U(() => w.value.xs || w.value.sm), a = U(() => n.value ? 10 : 20);
2174
+ const k = U(() => g.loading), _ = M(""), n = U(() => w.value.xs || w.value.sm), a = U(() => n.value ? 10 : 20);
2174
2175
  function d(h) {
2175
2176
  switch (h) {
2176
2177
  case B.Add:
@@ -2257,7 +2258,7 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
2257
2258
  m();
2258
2259
  };
2259
2260
  return (h, S) => {
2260
- const M = E("FmButton"), L = E("FmTable");
2261
+ const D = E("FmButton"), L = E("FmTable");
2261
2262
  return I(), A(K, null, [
2262
2263
  C(nt, {
2263
2264
  title: x(l)("inventory.adjustment.template.wastage.title"),
@@ -2275,7 +2276,7 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
2275
2276
  ])
2276
2277
  }, [
2277
2278
  y("div", Yn, [
2278
- C(M, {
2279
+ C(D, {
2279
2280
  class: "ml-auto",
2280
2281
  "prepend-icon": "edit",
2281
2282
  key: "Reason for wastage",
@@ -2314,12 +2315,12 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
2314
2315
  "page-size": a.value
2315
2316
  }, {
2316
2317
  "list-row": j((V) => [
2317
- C(rt, {
2318
+ C(lt, {
2318
2319
  row: V,
2319
2320
  onRowClick: (W) => x(v)(W)
2320
2321
  }, {
2321
2322
  default: j((W) => {
2322
- var ae, be, _e, le, xe, we, Te, ke, re, $e, Se, Ie, Ce, Fe, Ae, ie, Re, Me, De, Ee, ue, Pe;
2323
+ var ae, be, _e, le, xe, we, Te, ke, re, $e, Se, Ie, Ce, Fe, Ae, ie, Re, De, Me, Ee, ue, Pe;
2323
2324
  return [
2324
2325
  y("div", Jn, [
2325
2326
  y("div", qn, [
@@ -2348,7 +2349,7 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
2348
2349
  ]),
2349
2350
  y("div", null, [
2350
2351
  C(x(me), {
2351
- render: (Ee = (De = (Me = W.status) == null ? void 0 : Me.column) == null ? void 0 : De.columnDef) == null ? void 0 : Ee.cell,
2352
+ render: (Ee = (Me = (De = W.status) == null ? void 0 : De.column) == null ? void 0 : Me.columnDef) == null ? void 0 : Ee.cell,
2352
2353
  props: (Pe = (ue = W.status) == null ? void 0 : ue.getContext) == null ? void 0 : Pe.call(ue)
2353
2354
  }, null, 8, ["render", "props"])
2354
2355
  ])
@@ -2378,5 +2379,5 @@ const $n = /* @__PURE__ */ xt(Tn, [["render", kn]]), Sn = { class: "flex flex-co
2378
2379
  }
2379
2380
  });
2380
2381
  export {
2381
- ks as default
2382
+ $s as default
2382
2383
  };
@@ -14,6 +14,7 @@ export declare const useNetSuiteApi: () => {
14
14
  name?: string | null | undefined;
15
15
  externalId?: string | null | undefined;
16
16
  itemType?: string | null | undefined;
17
+ itemSubType?: string | null | undefined;
17
18
  cogsAccount?: {
18
19
  id: string;
19
20
  refName: string;
@@ -39,6 +40,7 @@ export declare const useNetSuiteApi: () => {
39
40
  name?: string | null | undefined;
40
41
  externalId?: string | null | undefined;
41
42
  itemType?: string | null | undefined;
43
+ itemSubType?: string | null | undefined;
42
44
  cogsAccount?: {
43
45
  id: string;
44
46
  refName: string;
@@ -95,6 +97,7 @@ export declare const useNetSuiteApi: () => {
95
97
  name?: string | null | undefined;
96
98
  externalId?: string | null | undefined;
97
99
  itemType?: string | null | undefined;
100
+ itemSubType?: string | null | undefined;
98
101
  cogsAccount?: {
99
102
  id: string;
100
103
  refName: string;
@@ -120,6 +123,7 @@ export declare const useNetSuiteApi: () => {
120
123
  name?: string | null | undefined;
121
124
  externalId?: string | null | undefined;
122
125
  itemType?: string | null | undefined;
126
+ itemSubType?: string | null | undefined;
123
127
  cogsAccount?: {
124
128
  id: string;
125
129
  refName: string;
@@ -178,6 +182,7 @@ export declare const useNetSuiteApi: () => {
178
182
  name?: string | null | undefined;
179
183
  externalId?: string | null | undefined;
180
184
  itemType?: string | null | undefined;
185
+ itemSubType?: string | null | undefined;
181
186
  cogsAccount?: {
182
187
  id: string;
183
188
  refName: string;
@@ -203,6 +208,7 @@ export declare const useNetSuiteApi: () => {
203
208
  name?: string | null | undefined;
204
209
  externalId?: string | null | undefined;
205
210
  itemType?: string | null | undefined;
211
+ itemSubType?: string | null | undefined;
206
212
  cogsAccount?: {
207
213
  id: string;
208
214
  refName: string;
@@ -260,6 +266,7 @@ export declare const useNetSuiteApi: () => {
260
266
  name?: string | null | undefined;
261
267
  externalId?: string | null | undefined;
262
268
  itemType?: string | null | undefined;
269
+ itemSubType?: string | null | undefined;
263
270
  cogsAccount?: {
264
271
  id: string;
265
272
  refName: string;
@@ -285,6 +292,7 @@ export declare const useNetSuiteApi: () => {
285
292
  name?: string | null | undefined;
286
293
  externalId?: string | null | undefined;
287
294
  itemType?: string | null | undefined;
295
+ itemSubType?: string | null | undefined;
288
296
  cogsAccount?: {
289
297
  id: string;
290
298
  refName: string;
@@ -9,6 +9,7 @@ export interface IFdtoPurchaseOrderForecast {
9
9
  id: string;
10
10
  amount: number;
11
11
  }[];
12
+ prediction_id?: string;
12
13
  }
13
14
  export declare const useStockEstimateApi: () => {
14
15
  getInventoryForecast(): Promise<IFdtoInventoryForecast>;
@@ -0,0 +1,31 @@
1
+ import type { CreateType } from './type';
2
+ export declare const useSurchargeApi: () => {
3
+ browse(): Promise<{
4
+ value?: any;
5
+ rule?: any;
6
+ _id: string;
7
+ name: string;
8
+ businessId: string;
9
+ applyTo: "purchaseOrder";
10
+ }[]>;
11
+ create(surcharge: CreateType<FdoInventorySurcharge>): Promise<FdoInventorySurcharge>;
12
+ read(id: string): Promise<FdoInventorySurcharge>;
13
+ update(id: string, surcharge: FdoInventorySurcharge): Promise<FdoInventorySurcharge>;
14
+ delete(id: string): Promise<{
15
+ value?: any;
16
+ rule?: any;
17
+ _id: string;
18
+ name: string;
19
+ businessId: string;
20
+ applyTo: "purchaseOrder";
21
+ }>;
22
+ urls: {
23
+ portalBackendUrl: string;
24
+ netSuiteBackendUrl: string;
25
+ businessesBackendUrl: string;
26
+ inventoryBackendUrl: string;
27
+ foodMarketHubUrl: string;
28
+ menuV4BackendUrl: string;
29
+ dataBackendUrl: string;
30
+ };
31
+ };