@feedmepos/mf-inventory-portal 1.2.4-dev.1 → 1.2.5-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 (67) hide show
  1. package/dist/{App-CdweYGJb.js → App-plHMDZk7.js} +1 -1
  2. package/dist/{ApprovalView-N5aTAawv.js → ApprovalView-CChHxp4X.js} +50 -49
  3. package/dist/{BindingsDialog-CF43nBIL.js → BindingsDialog-CU-u0hJx.js} +2 -2
  4. package/dist/{BindingsPicker-UXffTvIT.js → BindingsPicker-BpbNVNQQ.js} +1 -1
  5. package/dist/{BindingsTable-bGEdChlq.js → BindingsTable-v1QcskCd.js} +1 -1
  6. package/dist/{ClosingDraftView-CU6ncRGd.js → ClosingDraftView-D9HwfK7e.js} +2 -2
  7. package/dist/{ClosingTemplateView-B7hlv-ol.js → ClosingTemplateView-ancesrdQ.js} +2 -2
  8. package/dist/{DeliveryOrderPrintPreview-BHsASpvc.js → DeliveryOrderPrintPreview-DLSzR6HB.js} +8 -8
  9. package/dist/{FmAdminBadge-phxApe08.js → FmAdminBadge-Cb9aT29U.js} +1 -1
  10. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Cp0j6Sx0.js +230 -0
  11. package/dist/{FmMultiselectDialog-Cw7978N9.js → FmMultiselectDialog-SoaYz3_K.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-m_DVEWZp.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D5k7Xk3M.js} +15 -15
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CK2uHzWs.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-NY7TPnoY.js} +1 -1
  14. package/dist/{IngredientGroupView-BLlM22XE.js → IngredientGroupView-DmbPHuWG.js} +2 -2
  15. package/dist/{IngredientsView-D-MLnQUs.js → IngredientsView-Bxb_BeyP.js} +71 -61
  16. package/dist/{IntegrationView-DS8GfDcu.js → IntegrationView-B8mnGO1_.js} +84 -84
  17. package/dist/{InventoryBindingForm-Cxl3010v.js → InventoryBindingForm-B2tlc3uk.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DVytESGu.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-C-qi9Mri.js} +3 -3
  19. package/dist/{InventoryBindingSummary-BPLbgkdU.js → InventoryBindingSummary-BUkLwuPN.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6G0tvu8.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-4W5T_8W7.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DIgC7Vso.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DCtPbVFp.js} +7 -7
  22. package/dist/{PublishView-C7M3-gQh.js → PublishView-Dkq9VZOG.js} +7 -7
  23. package/dist/{PurchaseOrderPrintPreview-ZhFYuurj.js → PurchaseOrderPrintPreview-C-jyn09w.js} +8 -8
  24. package/dist/{ReceiveRequestView-BCdKPhsr.js → ReceiveRequestView-V4YNI_Jd.js} +82 -79
  25. package/dist/{RecipeView-DUmXQOxV.js → RecipeView-Ck3RZRhC.js} +3 -3
  26. package/dist/{StockView-BcxAyI7w.js → StockView-nstUyEXe.js} +7 -7
  27. package/dist/{SupplierView-q04_80bh.js → SupplierView-eXyZsmHQ.js} +862 -831
  28. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-OCR95cDM.js +2578 -0
  29. package/dist/{TransferTemplateView-Cfcu-qeJ.js → TransferTemplateView-DZG_UCWg.js} +57 -57
  30. package/dist/{UnitView-BAPZkTQp.js → UnitView-COiitpcS.js} +3 -3
  31. package/dist/WarehouseView-DhBpkfGm.js +1066 -0
  32. package/dist/api/inventory.d.ts +8 -0
  33. package/dist/api/shipment.d.ts +11 -0
  34. package/dist/api/warehouse.d.ts +3 -1
  35. package/dist/{app-Bcq0U90V.js → app-DayXXH4q.js} +14439 -13858
  36. package/dist/app.d.ts +24 -9
  37. package/dist/app.js +1 -1
  38. package/dist/{decimal-Dhnp84Mk.js → decimal-CFYWiBC2.js} +1 -1
  39. package/dist/{format-unit-display-X0is3zJN.js → format-unit-display-DIr9pTFo.js} +21 -21
  40. package/dist/{index-Bb9d1Qcc.js → index-DLOpJmH-.js} +1 -1
  41. package/dist/{index-CnqZ1tak.js → index-tQKFc6GI.js} +1 -1
  42. package/dist/{stock-DcD5Tbqe.js → stock-DeAkNJnm.js} +1 -1
  43. package/dist/stores/feature.d.ts +2 -0
  44. package/dist/stores/inventory.d.ts +1 -0
  45. package/dist/stores/location.d.ts +57 -1
  46. package/dist/stores/supplier.d.ts +96 -0
  47. package/dist/stores/warehouse.d.ts +4 -0
  48. package/dist/{supplier-njZB-A08.js → supplier-C4DAoZrI.js} +1 -1
  49. package/dist/tsconfig.app.tsbuildinfo +1 -1
  50. package/dist/{use-ingredient-select-dialog-CFxbHyQu.js → use-ingredient-select-dialog-CV7X8z4O.js} +1 -1
  51. package/dist/{use-inventory-binding-dialog-CtvdrDNH.js → use-inventory-binding-dialog-nuT-Ptlx.js} +1 -1
  52. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  53. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +60 -0
  54. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +10 -0
  55. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +94 -0
  56. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +72 -1
  57. package/dist/views/supplier/components/SupplierForm.vue.d.ts +8 -0
  58. package/dist/views/supplier/composables/use-supplier-table.d.ts +4 -0
  59. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -0
  60. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -0
  61. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -0
  62. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -0
  63. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -0
  64. package/package.json +2 -2
  65. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CQi8T-o4.js +0 -227
  66. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CBFgpKee.js +0 -2494
  67. package/dist/WarehouseView-9AkOoqZV.js +0 -1034
@@ -1,11 +1,11 @@
1
- import { defineComponent as Y, mergeModels as Te, useModel as Se, onMounted as pe, ref as M, computed as _, resolveComponent as F, openBlock as I, createElementBlock as V, createElementVNode as a, toDisplayString as T, unref as S, createVNode as h, createBlock as U, withCtx as O, Fragment as J, renderList as W, normalizeClass as q, normalizeStyle as je, createSlots as se, createCommentVNode as z, withModifiers as _e, reactive as ve, watch as ge, isRef as ae, Teleport as ce, h as D, createTextVNode as P, watchEffect as ze } from "vue";
1
+ import { defineComponent as Y, mergeModels as Te, useModel as Se, onMounted as pe, ref as R, computed as _, resolveComponent as F, openBlock as I, createElementBlock as V, createElementVNode as a, toDisplayString as T, unref as S, createVNode as h, createBlock as U, withCtx as O, Fragment as J, renderList as W, normalizeClass as q, normalizeStyle as je, createSlots as se, createCommentVNode as z, withModifiers as _e, reactive as ve, watch as ge, isRef as ae, Teleport as ce, h as D, createTextVNode as P, watchEffect as ze } from "vue";
2
2
  import { E as He } from "./empty-placeholder-wf6-BWE8.js";
3
- import { b1 as Ue, aQ as Xe, f as te, u as $, b2 as Qe, b as ie, aC as de, j as Ye, aY as me, a5 as ye, a6 as Ae, a as be, a3 as Je, T as G, a0 as we, b3 as ke, aI as Be, aU as Ce, v as Ee, z as Fe, a1 as ue, c as Le, _ as Ke, E as Pe } from "./app-Bcq0U90V.js";
3
+ import { b2 as Ue, aR as Xe, f as te, u as $, b3 as Qe, b as ie, aD as de, j as Ye, aZ as me, a5 as ye, a6 as Ae, a as be, a3 as Je, T as G, a0 as we, b4 as ke, aJ as Be, aV as Ce, v as Ee, z as Fe, a1 as ue, c as Le, _ as Ke, E as Pe } from "./app-DayXXH4q.js";
4
4
  import { useDialogChild as qe, useDialog as re, useProxiedModel as le, useSnackbar as ee, useBreakpoints as Ve, components as ne } from "@feedmepos/ui-library";
5
5
  import { useI18n as Z, useCoreStore as oe } from "@feedmepos/mf-common";
6
- import { a as Ze, b as Ge, c as We, u as $e } from "./index-Bb9d1Qcc.js";
7
- import { _ as et, F as tt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-m_DVEWZp.js";
8
- import { F as Ne } from "./FmAdminBadge-phxApe08.js";
6
+ import { a as Ze, b as Ge, c as We, u as $e } from "./index-DLOpJmH-.js";
7
+ import { _ as et, F as tt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D5k7Xk3M.js";
8
+ import { F as Ne } from "./FmAdminBadge-Cb9aT29U.js";
9
9
  const nt = "data:image/svg+xml,%3csvg%20width='200'%20height='101'%20viewBox='0%200%20200%20101'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M98.9161%2038.4456V24.1772H108.527V27.1988H102.12V30.2202H107.347V32.7382H102.12V38.4456H98.9161Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.382%2031.2276C110.382%2027.5345%20113.249%2024.1772%20117.127%2024.1772C121.174%2024.1772%20123.872%2027.7024%20123.872%2031.3953C123.872%2035.0884%20121.005%2038.6133%20117.127%2038.6133C113.08%2038.4456%20110.382%2034.9204%20110.382%2031.2276ZM117.127%2035.5919C119.487%2035.5919%20120.499%2033.4096%20120.499%2031.2276C120.499%2029.0452%20119.319%2027.0309%20117.127%2027.0309C114.935%2027.0309%20113.754%2029.213%20113.754%2031.2276C113.754%2033.5776%20114.935%2035.5919%20117.127%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M126.232%2031.2276C126.232%2027.5345%20129.099%2024.1772%20132.977%2024.1772C137.024%2024.1772%20139.722%2027.7024%20139.722%2031.3953C139.722%2035.0884%20136.855%2038.6133%20132.977%2038.6133C128.93%2038.4456%20126.232%2034.9204%20126.232%2031.2276ZM132.977%2035.5919C135.337%2035.5919%20136.349%2033.4096%20136.349%2031.2276C136.349%2029.0452%20135.169%2027.0309%20132.977%2027.0309C130.785%2027.0309%20129.604%2029.213%20129.604%2031.2276C129.604%2033.5776%20130.785%2035.5919%20132.977%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M142.926%2038.4455V24.345H148.153C152.874%2024.345%20155.235%2027.5343%20155.235%2031.3952C155.235%2035.5918%20152.368%2038.4455%20148.153%2038.4455H142.926ZM148.153%2027.0308H146.129V35.4238H148.153C150.513%2035.4238%20151.862%2033.5775%20151.862%2031.2272C151.862%2028.8773%20150.513%2027.0308%20148.153%2027.0308Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.045%2057.5607V49.1676L107.009%2055.2107H105.324L102.12%2049.1676V57.5607H98.9161V43.4604H102.457L106.167%2050.8465L109.876%2043.4604H113.417V57.5607H110.045Z'%20fill='%235D5359'/%3e%3cpath%20d='M115.947%2057.5607L121.342%2043.4604H124.04L129.436%2057.5607H125.895L124.715%2054.3716H120.331L119.319%2057.5607H115.947ZM122.691%2046.9856L121.005%2052.1893H124.378L122.691%2046.9856Z'%20fill='%235D5359'/%3e%3cpath%20d='M131.965%2057.5607V43.4604H138.373C141.07%2043.4604%20142.925%2045.8105%20142.925%2048.1605C142.925%2049.8393%20142.082%2051.5179%20140.565%2052.1893L143.768%2057.393H140.059L137.192%2052.8607H135V57.393H131.965V57.5607ZM135.169%2050.175H138.204C139.047%2050.175%20139.553%2049.3356%20139.553%2048.1605C139.553%2046.9856%20138.71%2046.3142%20138.035%2046.3142H135.169V50.175Z'%20fill='%235D5359'/%3e%3cpath%20d='M146.635%2057.5607V43.4604H150.007V49.8393L155.403%2043.4604H158.776L153.548%2049.6713L159.281%2057.5607H155.74L151.693%2051.5179L150.007%2053.3642V57.5607H146.635Z'%20fill='%235D5359'/%3e%3cpath%20d='M171.422%2054.7073V57.5607H161.474V43.4604H171.253V46.3142H164.677V48.9999H170.242V51.6856H164.677V54.7073H171.422Z'%20fill='%235D5359'/%3e%3cpath%20d='M185.417%2046.3142H181.202V57.5607H177.829V46.3142H173.614V43.4604H185.417V46.3142Z'%20fill='%235D5359'/%3e%3cpath%20d='M111.057%2062.5967V76.6973H107.853V70.9898H102.12V76.6973H98.9161V62.5967H102.12V68.1361H107.853V62.5967H111.057Z'%20fill='%235D5359'/%3e%3cpath%20d='M124.04%2069.815V62.5967H127.244V69.815C127.244%2073.6758%20125.389%2076.865%20121.005%2076.865C116.453%2076.865%20114.766%2073.5078%20114.766%2069.815V62.5967H117.97V69.815C117.97%2071.997%20118.813%2074.0115%20121.005%2074.0115C123.366%2074.0115%20124.04%2071.997%20124.04%2069.815Z'%20fill='%235D5359'/%3e%3cpath%20d='M138.036%2076.6973H131.122V62.5967H139.047C141.071%2062.5967%20142.251%2064.4433%20142.251%2066.2898C142.251%2067.6327%20141.576%2068.9755%20140.228%2069.4793C141.914%2069.9827%20142.926%2071.1578%20142.926%2073.1721C142.757%2075.5221%20140.733%2076.6973%20138.036%2076.6973ZM134.326%2065.4504V68.3041H137.53C138.204%2068.3041%20138.879%2067.8004%20138.879%2066.7933C138.879%2065.7861%20138.373%2065.2827%20137.698%2065.2827H134.326V65.4504ZM138.204%2070.8221H134.494V73.8435H138.204C139.047%2073.8435%20139.722%2073.1721%20139.722%2072.3327C139.553%2071.6613%20138.879%2070.8221%20138.204%2070.8221Z'%20fill='%235D5359'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M73.4753%2051.4994C78.7281%2050.5396%2082.8911%2046.4891%2083.9954%2041.3137L84.1232%2040.7134L83.9445%2040.1256C80.5804%2029.066%2071.9945%2020.2704%2061.0373%2016.5726C57.4%2015.3451%2053.5046%2014.6804%2049.458%2014.6804C45.4112%2014.6804%2041.5158%2015.3451%2037.8784%2016.5726C26.9214%2020.2704%2018.3354%2029.066%2014.9712%2040.1256L14.7924%2040.7134L14.9206%2041.3137C16.0247%2046.4891%2020.1875%2050.5396%2025.4405%2051.4994V58.8839H14.4183C14.6758%2059.9557%2014.9818%2061.0088%2015.3337%2062.0411C20.1553%2076.1811%2033.6083%2086.3619%2049.458%2086.3619C65.3074%2086.3619%2078.7606%2076.1811%2083.5822%2062.0411C83.9342%2061.0088%2084.2399%2059.9557%2084.4974%2058.8839H73.4753V51.4994ZM41.0517%2020.5973V38.5742C41.0517%2043.1931%2044.8155%2046.9371%2049.458%2046.9371C54.1005%2046.9371%2057.8641%2043.1931%2057.8641%2038.5742V20.5973C55.1919%2019.856%2052.3732%2019.4592%2049.458%2019.4592C46.5428%2019.4592%2043.7241%2019.856%2041.0517%2020.5973ZM62.6675%2022.3673V38.5742C62.6675%2043.1931%2066.431%2046.9371%2071.0735%2046.9371C74.9051%2046.9371%2078.1425%2044.3848%2079.1528%2040.8942C76.4672%2032.6902%2070.4379%2025.9824%2062.6675%2022.3673ZM60.2658%2046.1322C57.8753%2049.5094%2053.9255%2051.7159%2049.458%2051.7159C44.9902%2051.7159%2041.0408%2049.5094%2038.65%2046.1322C36.6982%2048.8894%2033.7074%2050.8662%2030.2439%2051.4994V58.8839H68.6718V51.4994C65.2083%2050.8662%2062.2175%2048.8894%2060.2658%2046.1322ZM21.1583%2063.6628C26.1349%2074.2514%2036.9382%2081.5834%2049.458%2081.5834C61.9776%2081.5834%2072.781%2074.2514%2077.7574%2063.6628H21.1583ZM36.2482%2038.5742V22.3673C28.4779%2025.9824%2022.4486%2032.6902%2019.7631%2040.8942C20.7733%2044.3848%2024.0106%2046.9371%2027.8422%2046.9371C32.4847%2046.9371%2036.2482%2043.1931%2036.2482%2038.5742Z'%20fill='%23FFC35D'/%3e%3c/svg%3e";
10
10
  var De = { exports: {} };
11
11
  (function(C, y) {
@@ -92,7 +92,7 @@ const at = { class: "flex flex-col gap-12 h-[350px]" }, lt = { class: "flex item
92
92
  }, ut = ["data-cy"], ct = { class: "flex flex-col" }, dt = { class: "fm-typo-en-body-md-400" }, mt = {
93
93
  key: 1,
94
94
  class: "w-full py-16 text-fm-color-typo-disabled fm-typo-en-body-md-400 text-center"
95
- }, Me = /* @__PURE__ */ Y({
95
+ }, Re = /* @__PURE__ */ Y({
96
96
  __name: "FmNestedMultiselectDialog",
97
97
  props: /* @__PURE__ */ Te({
98
98
  modelValue: {}
@@ -106,7 +106,7 @@ const at = { class: "flex flex-col gap-12 h-[350px]" }, lt = { class: "flex item
106
106
  pe(() => {
107
107
  o.emitData(y.value);
108
108
  });
109
- const r = M(""), { t: n } = Z();
109
+ const r = R(""), { t: n } = Z();
110
110
  function t(e) {
111
111
  return he(
112
112
  r.value,
@@ -131,7 +131,7 @@ const at = { class: "flex flex-col gap-12 h-[350px]" }, lt = { class: "flex item
131
131
  function w(e, l, B = 0, L = !1) {
132
132
  if (K(e) && e.children.length) {
133
133
  const { children: N, ...H } = e, X = N.flatMap(
134
- (R, j) => w(R, [...l, j], B + 1, L || e.disabled)
134
+ (M, j) => w(M, [...l, j], B + 1, L || e.disabled)
135
135
  );
136
136
  return [
137
137
  {
@@ -221,7 +221,7 @@ const at = { class: "flex flex-col gap-12 h-[350px]" }, lt = { class: "flex item
221
221
  } : H
222
222
  );
223
223
  }
224
- const g = M(new Array());
224
+ const g = R(new Array());
225
225
  function p(e) {
226
226
  const l = e.join();
227
227
  return g.value.find((B) => l === B);
@@ -248,7 +248,7 @@ const at = { class: "flex flex-col gap-12 h-[350px]" }, lt = { class: "flex item
248
248
  a("div", rt, [
249
249
  h(B, {
250
250
  modelValue: r.value,
251
- "onUpdate:modelValue": l[0] || (l[0] = (R) => r.value = R),
251
+ "onUpdate:modelValue": l[0] || (l[0] = (M) => r.value = M),
252
252
  placeholder: S(n)("inventory.formField.filterItems")
253
253
  }, null, 8, ["modelValue", "placeholder"])
254
254
  ])
@@ -258,65 +258,65 @@ const at = { class: "flex flex-col gap-12 h-[350px]" }, lt = { class: "flex item
258
258
  class: "flex-1 overflow-y-auto"
259
259
  }, {
260
260
  default: O(() => [
261
- (I(!0), V(J, null, W(f.value, (R) => (I(), V("div", {
262
- key: R.keys.join(),
261
+ (I(!0), V(J, null, W(f.value, (M) => (I(), V("div", {
262
+ key: M.keys.join(),
263
263
  class: q([
264
264
  "transition-all overflow-y-clip",
265
- c(R.keys) ? "max-h-0 opacity-0" : "max-h-[50px] opacity-100"
265
+ c(M.keys) ? "max-h-0 opacity-0" : "max-h-[50px] opacity-100"
266
266
  ]),
267
- "data-cy": `nested-${R.keys.join("-")}-${R.label}`
267
+ "data-cy": `nested-${M.keys.join("-")}-${M.label}`
268
268
  }, [
269
269
  h(H, {
270
- clickable: R.selectable !== !1,
271
- onClick: () => R.selectable === !1 || R.disabled || v(R.keys, y.value, !s(R.keys, y.value)),
270
+ clickable: M.selectable !== !1,
271
+ onClick: () => M.selectable === !1 || M.disabled || v(M.keys, y.value, !s(M.keys, y.value)),
272
272
  style: je({
273
- paddingLeft: `${16 + R.indent * 16}px`,
273
+ paddingLeft: `${16 + M.indent * 16}px`,
274
274
  paddingTop: "4px",
275
275
  paddingBottom: "4px"
276
276
  }),
277
- disabled: R.selectable !== !1 && R.disabled
277
+ disabled: M.selectable !== !1 && M.disabled
278
278
  }, se({
279
279
  default: O(() => [
280
280
  a("div", ct, [
281
281
  a("div", dt, [
282
- (I(!0), V(J, null, W(S(st)(r.value, R.label).segments, (j, Q) => (I(), V("span", {
282
+ (I(!0), V(J, null, W(S(st)(r.value, M.label).segments, (j, Q) => (I(), V("span", {
283
283
  key: Q,
284
284
  class: q({
285
285
  "font-bold": j.isMatch
286
286
  })
287
287
  }, T(j.segment), 3))), 128))
288
288
  ]),
289
- R.sublabel ? (I(), V("div", {
289
+ M.sublabel ? (I(), V("div", {
290
290
  key: 0,
291
291
  class: q([
292
292
  "fm-typo-en-body-sm-400",
293
- R.disabled ? "" : "text-fm-color-typo-secondary"
293
+ M.disabled ? "" : "text-fm-color-typo-secondary"
294
294
  ])
295
- }, T(R.sublabel), 3)) : z("", !0)
295
+ }, T(M.sublabel), 3)) : z("", !0)
296
296
  ])
297
297
  ]),
298
298
  _: 2
299
299
  }, [
300
- R.selectable !== !1 ? {
300
+ M.selectable !== !1 ? {
301
301
  name: "prepend",
302
302
  fn: O(() => [
303
303
  h(L, {
304
- disabled: R.disabled,
305
- "model-value": s(R.keys, y.value),
306
- value: R.keys,
307
- indeterminate: x(R.keys, y.value)
304
+ disabled: M.disabled,
305
+ "model-value": s(M.keys, y.value),
306
+ value: M.keys,
307
+ indeterminate: x(M.keys, y.value)
308
308
  }, null, 8, ["disabled", "model-value", "value", "indeterminate"])
309
309
  ]),
310
310
  key: "0"
311
311
  } : void 0,
312
- R.collapsible ? {
312
+ M.collapsible ? {
313
313
  name: "append",
314
314
  fn: O(() => [
315
315
  h(N, {
316
- "prepend-icon": p(R.keys) ? "expand_less" : "expand_more",
316
+ "prepend-icon": p(M.keys) ? "expand_less" : "expand_more",
317
317
  size: "md",
318
318
  variant: "tertiary",
319
- onClick: _e(() => d(R.keys), ["stop"])
319
+ onClick: _e(() => d(M.keys), ["stop"])
320
320
  }, null, 8, ["prepend-icon", "onClick"])
321
321
  ]),
322
322
  key: "1"
@@ -415,7 +415,7 @@ const at = { class: "flex flex-col gap-12 h-[350px]" }, lt = { class: "flex item
415
415
  };
416
416
  n.open({
417
417
  title: "Select Addons",
418
- contentComponent: Me,
418
+ contentComponent: Re,
419
419
  contentComponentProps: u,
420
420
  primaryActions: {
421
421
  text: "Confirm",
@@ -538,10 +538,10 @@ function kt(C, y, o) {
538
538
  items: r[t._id || ""] || []
539
539
  }));
540
540
  }
541
- function Re(C, y) {
541
+ function Me(C, y) {
542
542
  if (C.length == 1)
543
543
  return C[0];
544
- const o = C[0], r = C.slice(1, C.length), n = Re(r, y);
544
+ const o = C[0], r = C.slice(1, C.length), n = Me(r, y);
545
545
  return o.reduce((i, b) => [...i, ...n.map((w) => y(b, w))], new Array());
546
546
  }
547
547
  function Bt(C) {
@@ -554,7 +554,7 @@ function Bt(C) {
554
554
  })
555
555
  )
556
556
  );
557
- return Re(y, (r, n) => ({
557
+ return Me(y, (r, n) => ({
558
558
  combinationKey: [...r.combinationKey, ...n.combinationKey],
559
559
  selectionName: [...r.selectionName, ...n.selectionName]
560
560
  })).map((r) => {
@@ -569,10 +569,10 @@ function Bt(C) {
569
569
  const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-100 px-5 py-5 gap-5 mb-3" }, Et = { class: "flex items-center" }, Ft = { class: "text-lg font-bold flex-grow" }, Lt = {
570
570
  key: 0,
571
571
  class: "table-auto w-full"
572
- }, Vt = { class: "text-left" }, Nt = { class: "min-w-64" }, Dt = { class: "flex flex-col" }, Ot = { class: "fm-typo-en-body-md-400" }, Mt = {
572
+ }, Vt = { class: "text-left" }, Nt = { class: "min-w-64" }, Dt = { class: "flex flex-col" }, Ot = { class: "fm-typo-en-body-md-400" }, Rt = {
573
573
  key: 0,
574
574
  class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400"
575
- }, Rt = { class: "w-1" }, fe = /* @__PURE__ */ Y({
575
+ }, Mt = { class: "w-1" }, fe = /* @__PURE__ */ Y({
576
576
  __name: "ApplyProduct",
577
577
  props: {
578
578
  isAddon: {
@@ -711,11 +711,11 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
711
711
  productId: B,
712
712
  combinationKey: L,
713
713
  code: ((N = d.find(
714
- ({ productId: X, combinationKey: R }) => B === X && L === R
714
+ ({ productId: X, combinationKey: M }) => B === X && L === M
715
715
  )) == null ? void 0 : N.code) ?? ""
716
716
  } : {
717
717
  productId: B,
718
- code: ((H = d.find(({ productId: X, combinationKey: R }) => B === X && !R)) == null ? void 0 : H.code) ?? ""
718
+ code: ((H = d.find(({ productId: X, combinationKey: M }) => B === X && !M)) == null ? void 0 : H.code) ?? ""
719
719
  };
720
720
  });
721
721
  if (!A.active)
@@ -749,7 +749,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
749
749
  };
750
750
  n.open({
751
751
  title: `Select ${t.value}`,
752
- contentComponent: Me,
752
+ contentComponent: Re,
753
753
  contentComponentProps: d,
754
754
  primaryActions: {
755
755
  text: "Confirm",
@@ -791,7 +791,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
791
791
  a("td", null, [
792
792
  a("div", Dt, [
793
793
  a("div", Ot, T(v.itemCode) + " " + T(v.name), 1),
794
- v.variantName ? (I(), V("div", Mt, T(v.variantName), 1)) : z("", !0)
794
+ v.variantName ? (I(), V("div", Rt, T(v.variantName), 1)) : z("", !0)
795
795
  ])
796
796
  ]),
797
797
  a("td", null, [
@@ -805,7 +805,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
805
805
  ]
806
806
  }, null, 8, ["model-value", "onUpdate:modelValue", "rules"])
807
807
  ]),
808
- a("td", Rt, [
808
+ a("td", Mt, [
809
809
  h(c, {
810
810
  type: "button",
811
811
  variant: "tertiary",
@@ -842,7 +842,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
842
842
  for (const s of Object.keys(o.setting))
843
843
  n[s] = o.setting[s];
844
844
  });
845
- const t = M(), i = le(o, "show");
845
+ const t = R(), i = le(o, "show");
846
846
  function b() {
847
847
  var m, s;
848
848
  (s = (m = t.value) == null ? void 0 : m.validateInputs) == null || s.call(m);
@@ -935,7 +935,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
935
935
  function m(g) {
936
936
  n.bindings = [...w.value, ...g];
937
937
  }
938
- const s = M(), u = le(o, "show");
938
+ const s = R(), u = le(o, "show");
939
939
  function x() {
940
940
  var g, p;
941
941
  (p = (g = s.value) == null ? void 0 : g.validateInputs) == null || p.call(g);
@@ -1000,12 +1000,12 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1000
1000
  }), Ht = { key: 0 }, Ut = { class: "flex justify-center" }, Xt = ["src"], Qt = { class: "flex flex-col items-center gap-2" }, Yt = { class: "text-lg font-bold" }, Jt = { class: "text-fm-color-neutral-gray-300" }, Kt = { key: 0 }, Pt = /* @__PURE__ */ Y({
1001
1001
  __name: "FoodMarketHub",
1002
1002
  setup(C) {
1003
- const y = oe(), o = ee(), r = $(), n = M(!1), t = Ze(), i = _(() => t.state.menu ?? []), b = _(() => t.state.group ?? []), w = _(() => t.state.variants ?? []), f = _(() => t.state.categories ?? []), m = Qe(), s = _(() => {
1003
+ const y = oe(), o = ee(), r = $(), n = R(!1), t = Ze(), i = _(() => t.state.menu ?? []), b = _(() => t.state.group ?? []), w = _(() => t.state.variants ?? []), f = _(() => t.state.categories ?? []), m = Qe(), s = _(() => {
1004
1004
  var c;
1005
1005
  return (c = y.currentBusiness.value) == null ? void 0 : c.menuVersion;
1006
1006
  });
1007
1007
  r.watchLocation(t.init);
1008
- const u = M(!1);
1008
+ const u = R(!1);
1009
1009
  async function x() {
1010
1010
  u.value = !0;
1011
1011
  }
@@ -1231,7 +1231,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1231
1231
  });
1232
1232
  }
1233
1233
  }
1234
- ], t = C, i = y, b = M({}), w = M(), f = M(""), m = _(() => t.nsLocationsNotBeingUsed.map((x) => ({
1234
+ ], t = C, i = y, b = R({}), w = R(), f = R(""), m = _(() => t.nsLocationsNotBeingUsed.map((x) => ({
1235
1235
  label: x.name,
1236
1236
  value: x
1237
1237
  }))), s = _(() => Object.values(b.value).length === 0 || Object.values(b.value).some(
@@ -1310,13 +1310,13 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1310
1310
  },
1311
1311
  emits: ["update:setting", "update:show", "update:loading", "submit"],
1312
1312
  setup(C, { emit: y }) {
1313
- const o = oe(), r = $(), n = M(!1), t = C, i = y, b = ve(te(t.setting));
1313
+ const o = oe(), r = $(), n = R(!1), t = C, i = y, b = ve(te(t.setting));
1314
1314
  ge([() => t.show], ([d]) => {
1315
1315
  if (d)
1316
1316
  for (const c of Object.keys(t.setting))
1317
1317
  b[c] = t.setting[c];
1318
1318
  });
1319
- const w = M(), f = le(t, "show"), m = M(), s = M(""), u = _(() => t.setting.locations.filter(
1319
+ const w = R(), f = le(t, "show"), m = R(), s = R(""), u = _(() => t.setting.locations.filter(
1320
1320
  (d) => d.name.toLowerCase().includes(s.value.toLowerCase()) || d.netSuiteId.toLowerCase().includes(s.value.toLowerCase())
1321
1321
  )), x = [
1322
1322
  {
@@ -1593,7 +1593,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1593
1593
  }), pn = { class: "flex items-center gap-8 mb-8" }, vn = /* @__PURE__ */ Y({
1594
1594
  __name: "InventoryTransferOutTable",
1595
1595
  setup(C) {
1596
- const y = M([]), o = me(), r = M(!1), n = M(!1), t = ee(), i = $();
1596
+ const y = R([]), o = me(), r = R(!1), n = R(!1), t = ee(), i = $();
1597
1597
  pe(async () => {
1598
1598
  const m = /* @__PURE__ */ new Date(), s = /* @__PURE__ */ new Date();
1599
1599
  s.setDate(s.getDate() - 30), r.value = !0;
@@ -1713,7 +1713,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1713
1713
  },
1714
1714
  size: 150
1715
1715
  }
1716
- ], f = M();
1716
+ ], f = R();
1717
1717
  return (m, s) => {
1718
1718
  const u = F("FmButton"), x = F("FmTable");
1719
1719
  return I(), V(J, null, [
@@ -1760,7 +1760,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1760
1760
  currentLocationSubsidiary: {}
1761
1761
  },
1762
1762
  setup(C) {
1763
- const y = re(), o = ie(), r = be(), n = me(), t = ee(), { t: i } = de(), b = M([]), w = [{ label: "Transfer Out" }, { label: "History" }], f = M(w[0]), m = M(!1), s = M(null), u = M(null), x = C, E = _(() => {
1763
+ const y = re(), o = ie(), r = be(), n = me(), t = ee(), { t: i } = de(), b = R([]), w = [{ label: "Transfer Out" }, { label: "History" }], f = R(w[0]), m = R(!1), s = R(null), u = R(null), x = C, E = _(() => {
1764
1764
  const A = o.currentLocationSetting, v = o.configuredLocations;
1765
1765
  return x.nsLocations.map((e) => ({
1766
1766
  label: e.name,
@@ -1854,8 +1854,8 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1854
1854
  }
1855
1855
  }).onPrimary((L) => {
1856
1856
  const N = b.value, H = L.map((X) => {
1857
- const R = N.find((Q) => Q.sku._id === X._id);
1858
- return R || {
1857
+ const M = N.find((Q) => Q.sku._id === X._id);
1858
+ return M || {
1859
1859
  sku: X,
1860
1860
  code: X.code,
1861
1861
  name: X.name,
@@ -1865,11 +1865,11 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1865
1865
  }
1866
1866
  };
1867
1867
  });
1868
- H.sort((X, R) => X.sku.code.localeCompare(R.sku.code)), b.value = H;
1868
+ H.sort((X, M) => X.sku.code.localeCompare(M.sku.code)), b.value = H;
1869
1869
  });
1870
1870
  }
1871
1871
  return (A, v) => {
1872
- const e = F("FmButtonGroup"), l = F("FmLabel"), B = F("FmField"), L = F("FmSimpleDatePicker"), N = F("FmTimePicker"), H = F("FmSelect"), X = F("FmIcon"), R = F("FmButton");
1872
+ const e = F("FmButtonGroup"), l = F("FmLabel"), B = F("FmField"), L = F("FmSimpleDatePicker"), N = F("FmTimePicker"), H = F("FmSelect"), X = F("FmIcon"), M = F("FmButton");
1873
1873
  return I(), V("div", gn, [
1874
1874
  h(e, {
1875
1875
  modelValue: f.value,
@@ -1959,7 +1959,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1959
1959
  a("span", In, "ID: " + T(u.value.netsuiteId), 1),
1960
1960
  a("span", Sn, "Subsidiary: " + T(u.value.subsidiaryName), 1)
1961
1961
  ]),
1962
- h(R, {
1962
+ h(M, {
1963
1963
  class: "ml-2",
1964
1964
  variant: "secondary",
1965
1965
  label: "Clear",
@@ -1968,7 +1968,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1968
1968
  ])) : z("", !0)
1969
1969
  ]),
1970
1970
  a("div", wn, [
1971
- h(R, {
1971
+ h(M, {
1972
1972
  class: "ml-auto",
1973
1973
  variant: "secondary",
1974
1974
  "prepend-icon": "add",
@@ -1981,7 +1981,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1981
1981
  "onUpdate:modelValue": v[5] || (v[5] = (j) => b.value = j)
1982
1982
  }, null, 8, ["modelValue"]),
1983
1983
  a("div", kn, [
1984
- h(R, {
1984
+ h(M, {
1985
1985
  class: "ml-auto mt-4",
1986
1986
  variant: "primary",
1987
1987
  "prepend-icon": "add",
@@ -2017,7 +2017,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
2017
2017
  setup(C) {
2018
2018
  const y = re();
2019
2019
  oe();
2020
- const o = me(), r = ee(), n = M(!1), t = C, i = M([]);
2020
+ const o = me(), r = ee(), n = R(!1), t = C, i = R([]);
2021
2021
  async function b() {
2022
2022
  var f;
2023
2023
  n.value = !0;
@@ -2103,7 +2103,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
2103
2103
  }), Dn = { class: "flex flex-col gap-8" }, On = {
2104
2104
  key: 0,
2105
2105
  class: "flex flex-col gap-4"
2106
- }, Mn = { style: { "list-style-type": "initial", "padding-left": "1rem" } }, Rn = /* @__PURE__ */ Y({
2106
+ }, Rn = { style: { "list-style-type": "initial", "padding-left": "1rem" } }, Mn = /* @__PURE__ */ Y({
2107
2107
  __name: "PurchaseOrder",
2108
2108
  props: {
2109
2109
  currentLocationSetting: {}
@@ -2111,7 +2111,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
2111
2111
  setup(C) {
2112
2112
  const y = re();
2113
2113
  oe();
2114
- const o = me(), r = ee(), n = M(!1), t = C, i = M([]);
2114
+ const o = me(), r = ee(), n = R(!1), t = C, i = R([]);
2115
2115
  async function b() {
2116
2116
  var f;
2117
2117
  n.value = !0;
@@ -2172,7 +2172,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
2172
2172
  }, null, 8, ["disabled", "loading"]),
2173
2173
  i.value.length > 0 ? (I(), V("div", On, [
2174
2174
  m[0] || (m[0] = a("p", null, "Purchase Order NetSuite ID not match with existing orders", -1)),
2175
- a("ul", Mn, [
2175
+ a("ul", Rn, [
2176
2176
  (I(!0), V(J, null, W(i.value, (u) => (I(), V("li", { key: u }, T(u), 1))), 128))
2177
2177
  ]),
2178
2178
  a("div", null, [
@@ -2220,7 +2220,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
2220
2220
  value: "purchaseOrder"
2221
2221
  /* PURCHASE_ORDER */
2222
2222
  }
2223
- ], s = M(m[0].value), u = _(() => r.currentLocationSubsidiary()), x = _(() => r.currentLocationSetting), E = _(() => n.nsLocations.filter(
2223
+ ], s = R(m[0].value), u = _(() => r.currentLocationSubsidiary()), x = _(() => r.currentLocationSetting), E = _(() => n.nsLocations.filter(
2224
2224
  (g) => g.subsidiaryId === u.value.id || g.netsuiteId === u.value.id
2225
2225
  ));
2226
2226
  return (g, p) => {
@@ -2246,7 +2246,7 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
2246
2246
  key: 1,
2247
2247
  currentLocationSetting: x.value
2248
2248
  }, null, 8, ["currentLocationSetting"])) : z("", !0),
2249
- s.value === "purchaseOrder" ? (I(), U(Rn, {
2249
+ s.value === "purchaseOrder" ? (I(), U(Mn, {
2250
2250
  key: 2,
2251
2251
  currentLocationSetting: x.value
2252
2252
  }, null, 8, ["currentLocationSetting"])) : z("", !0)
@@ -2295,11 +2295,11 @@ const Ct = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
2295
2295
  }), Qn = { class: "flex justify-center" }, Yn = ["src"], Jn = { class: "flex flex-col items-center gap-2" }, Kn = { class: "text-lg font-bold" }, Pn = { class: "text-fm-color-neutral-gray-300" }, qn = /* @__PURE__ */ Y({
2296
2296
  __name: "NetSuite",
2297
2297
  setup(C) {
2298
- const y = ie(), o = ee(), r = M(!1), n = M(!1);
2298
+ const y = ie(), o = ee(), r = R(!1), n = R(!1);
2299
2299
  async function t() {
2300
2300
  n.value = !0;
2301
2301
  }
2302
- const i = M([]);
2302
+ const i = R([]);
2303
2303
  ze(async () => {
2304
2304
  if (y.isReady && y.isEnabled) {
2305
2305
  r.value = !0;
@@ -2522,7 +2522,7 @@ const $n = { class: "flex flex-col gap-4" }, eo = { class: "flex flex-col" }, to
2522
2522
  disabledReason: "Current location is not binded to NetSuite"
2523
2523
  }
2524
2524
  ] : []
2525
- ]), b = M(i.value[0].value), { t: w } = de(), f = M(null), m = M(), s = M(""), u = M([]), x = M([]), E = [
2525
+ ]), b = R(i.value[0].value), { t: w } = de(), f = R(null), m = R(), s = R(""), u = R([]), x = R([]), E = [
2526
2526
  {
2527
2527
  id: "ingredient",
2528
2528
  header: () => "Ingredient",
@@ -2613,7 +2613,7 @@ const $n = { class: "flex flex-col gap-4" }, eo = { class: "flex flex-col" }, to
2613
2613
  accessorKey: "message",
2614
2614
  header: "Error Message"
2615
2615
  }
2616
- ], g = M(!1);
2616
+ ], g = R(!1);
2617
2617
  async function p() {
2618
2618
  if (f.value) {
2619
2619
  g.value = !0;
@@ -2665,7 +2665,7 @@ const $n = { class: "flex flex-col gap-4" }, eo = { class: "flex flex-col" }, to
2665
2665
  }
2666
2666
  }
2667
2667
  }
2668
- const c = M(""), A = _({
2668
+ const c = R(""), A = _({
2669
2669
  get() {
2670
2670
  return c.value;
2671
2671
  },
@@ -2678,7 +2678,7 @@ const $n = { class: "flex flex-col gap-4" }, eo = { class: "flex flex-col" }, to
2678
2678
  return isNaN(e.getTime()) ? null : ye(e);
2679
2679
  });
2680
2680
  return (e, l) => {
2681
- const B = F("FmLabel"), L = F("FmField"), N = F("FmSimpleDatePicker"), H = F("FmButton"), X = F("FmRadio"), R = F("FmRadioGroup"), j = F("FmTable");
2681
+ const B = F("FmLabel"), L = F("FmField"), N = F("FmSimpleDatePicker"), H = F("FmButton"), X = F("FmRadio"), M = F("FmRadioGroup"), j = F("FmTable");
2682
2682
  return I(), V("div", $n, [
2683
2683
  a("div", eo, [
2684
2684
  h(B, { label: "Latest closing" })
@@ -2743,7 +2743,7 @@ const $n = { class: "flex flex-col gap-4" }, eo = { class: "flex flex-col" }, to
2743
2743
  key: "0"
2744
2744
  } : void 0
2745
2745
  ]), 1024),
2746
- h(R, {
2746
+ h(M, {
2747
2747
  modelValue: b.value,
2748
2748
  "onUpdate:modelValue": l[2] || (l[2] = (Q) => b.value = Q),
2749
2749
  label: "Retrieve cost from",
@@ -2833,7 +2833,7 @@ const $n = { class: "flex flex-col gap-4" }, eo = { class: "flex flex-col" }, to
2833
2833
  "transferNote"
2834
2834
  /* TRANSFER_NOTE */
2835
2835
  ) }
2836
- ], m = M(f[0]);
2836
+ ], m = R(f[0]);
2837
2837
  return (u, x) => {
2838
2838
  var d;
2839
2839
  const E = F("FmIcon"), k = F("FmButtonGroup"), g = F("FmButton"), p = F("FmSideSheet");
@@ -2903,7 +2903,7 @@ const $n = { class: "flex flex-col gap-4" }, eo = { class: "flex flex-col" }, to
2903
2903
  }), wo = /* @__PURE__ */ Y({
2904
2904
  __name: "XilnexView",
2905
2905
  setup(C) {
2906
- const y = Le(), o = $(), r = M(!1);
2906
+ const y = Le(), o = $(), r = R(!1);
2907
2907
  async function n() {
2908
2908
  r.value = !0, console.log("Opening Xilnex migration dialog");
2909
2909
  }
@@ -3057,7 +3057,7 @@ const Eo = { class: "flex flex-col gap-4" }, Fo = { class: "flex flex-col" }, Lo
3057
3057
  class: /* @__PURE__ */ q(["fm-corner-radius-md p-16 flex items-center gap-16"])
3058
3058
  }, Oo = {
3059
3059
  class: /* @__PURE__ */ q(["fm-typo-en-body-md-400 flex-1 h-[36px] flex items-center gap-3"])
3060
- }, Mo = { class: "line-clamp-2 text-ellipsis break-all" }, Ro = { class: "flex flex-col" }, To = { class: "font-medium" }, jo = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, _o = { class: "flex" }, zo = { class: "flex" }, Ho = { key: 1 }, Uo = /* @__PURE__ */ Y({
3060
+ }, Ro = { class: "line-clamp-2 text-ellipsis break-all" }, Mo = { class: "flex flex-col" }, To = { class: "font-medium" }, jo = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, _o = { class: "flex" }, zo = { class: "flex" }, Ho = { key: 1 }, Uo = /* @__PURE__ */ Y({
3061
3061
  __name: "SynergyOpeningImport",
3062
3062
  setup(C) {
3063
3063
  const y = We(), o = be(), r = Ce(), n = ee(), t = _(() => [
@@ -3066,7 +3066,7 @@ const Eo = { class: "flex flex-col gap-4" }, Fo = { class: "flex flex-col" }, Lo
3066
3066
  label: "Synergy",
3067
3067
  subLabel: "Based on Synergy's item cost from excel file"
3068
3068
  }
3069
- ]), i = M(t.value[0].value), { t: b } = de(), w = M(null), f = M(), m = M(""), s = M([]), u = M([]), x = [
3069
+ ]), i = R(t.value[0].value), { t: b } = de(), w = R(null), f = R(), m = R(""), s = R([]), u = R([]), x = [
3070
3070
  {
3071
3071
  id: "ingredient",
3072
3072
  header: () => "Ingredient",
@@ -3157,7 +3157,7 @@ const Eo = { class: "flex flex-col gap-4" }, Fo = { class: "flex flex-col" }, Lo
3157
3157
  accessorKey: "message",
3158
3158
  header: "Error Message"
3159
3159
  }
3160
- ], k = M(!1);
3160
+ ], k = R(!1);
3161
3161
  async function g() {
3162
3162
  if (w.value) {
3163
3163
  k.value = !0;
@@ -3208,7 +3208,7 @@ const Eo = { class: "flex flex-col gap-4" }, Fo = { class: "flex flex-col" }, Lo
3208
3208
  }
3209
3209
  }
3210
3210
  }
3211
- const d = M(""), c = _({
3211
+ const d = R(""), c = _({
3212
3212
  get() {
3213
3213
  return d.value;
3214
3214
  },
@@ -3221,7 +3221,7 @@ const Eo = { class: "flex flex-col gap-4" }, Fo = { class: "flex flex-col" }, Lo
3221
3221
  return isNaN(v.getTime()) ? null : ye(v);
3222
3222
  });
3223
3223
  return (v, e) => {
3224
- const l = F("FmLabel"), B = F("FmField"), L = F("FmSimpleDatePicker"), N = F("FmButton"), H = F("FmRadio"), X = F("FmRadioGroup"), R = F("FmTable");
3224
+ const l = F("FmLabel"), B = F("FmField"), L = F("FmSimpleDatePicker"), N = F("FmButton"), H = F("FmRadio"), X = F("FmRadioGroup"), M = F("FmTable");
3225
3225
  return I(), V("div", Eo, [
3226
3226
  a("div", Fo, [
3227
3227
  h(l, { label: "Latest closing" })
@@ -3272,7 +3272,7 @@ const Eo = { class: "flex flex-col gap-4" }, Fo = { class: "flex flex-col" }, Lo
3272
3272
  a("div", No, [
3273
3273
  a("div", Do, [
3274
3274
  a("div", Oo, [
3275
- a("div", Mo, T(w.value.name), 1),
3275
+ a("div", Ro, T(w.value.name), 1),
3276
3276
  h(N, {
3277
3277
  label: S(b)("inventory.ingredient.import.replaceFile"),
3278
3278
  variant: "secondary",
@@ -3301,7 +3301,7 @@ const Eo = { class: "flex flex-col gap-4" }, Fo = { class: "flex flex-col" }, Lo
3301
3301
  disabled: j.disabled
3302
3302
  }, {
3303
3303
  label: O(() => [
3304
- a("div", Ro, [
3304
+ a("div", Mo, [
3305
3305
  a("span", To, T(j.label), 1),
3306
3306
  a("span", jo, T(j.disabled ? j.disabledReason : j.subLabel), 1)
3307
3307
  ])
@@ -3324,7 +3324,7 @@ const Eo = { class: "flex flex-col gap-4" }, Fo = { class: "flex flex-col" }, Lo
3324
3324
  ]),
3325
3325
  w.value && u.value.length > 0 ? (I(), V(J, { key: 0 }, [
3326
3326
  e[4] || (e[4] = a("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4" }, "Results", -1)),
3327
- h(R, {
3327
+ h(M, {
3328
3328
  modelValue: f.value,
3329
3329
  "onUpdate:modelValue": e[3] || (e[3] = (j) => f.value = j),
3330
3330
  "row-data": u.value,
@@ -3335,7 +3335,7 @@ const Eo = { class: "flex flex-col gap-4" }, Fo = { class: "flex flex-col" }, Lo
3335
3335
  ], 64)) : z("", !0),
3336
3336
  s.value.length > 0 ? (I(), V(J, { key: 1 }, [
3337
3337
  e[5] || (e[5] = a("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4 text-red-600" }, "Errors", -1)),
3338
- h(R, {
3338
+ h(M, {
3339
3339
  "row-data": s.value,
3340
3340
  "column-defs": E
3341
3341
  }, null, 8, ["row-data"])
@@ -3425,7 +3425,7 @@ const Eo = { class: "flex flex-col gap-4" }, Fo = { class: "flex flex-col" }, Lo
3425
3425
  }), Go = /* @__PURE__ */ Y({
3426
3426
  __name: "SynergyView",
3427
3427
  setup(C) {
3428
- const y = Le(), o = $(), r = M(!1);
3428
+ const y = Le(), o = $(), r = R(!1);
3429
3429
  async function n() {
3430
3430
  r.value = !0, console.log("Opening Synergy migration dialog");
3431
3431
  }
@@ -3481,7 +3481,7 @@ const Eo = { class: "flex flex-col gap-4" }, Fo = { class: "flex flex-col" }, Lo
3481
3481
  }, ds = /* @__PURE__ */ Y({
3482
3482
  __name: "IntegrationView",
3483
3483
  setup(C) {
3484
- const y = $(), o = M(!1), r = $e(), { breakpoints: n } = Ve(), t = _(() => n.value.xs || n.value.sm), { t: i } = Z();
3484
+ const y = $(), o = R(!1), r = $e(), { breakpoints: n } = Ve(), t = _(() => n.value.xs || n.value.sm), { t: i } = Z();
3485
3485
  return pe(async () => {
3486
3486
  if (y._currentLocation) {
3487
3487
  o.value = !0;
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DVytESGu.js";
1
+ import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-C-qi9Mri.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ee, computed as _, reactive as ne, resolveComponent as k, openBlock as r, createElementBlock as p, createVNode as y, withCtx as U, createElementVNode as n, toDisplayString as m, unref as i, createBlock as B, createCommentVNode as v, Fragment as E, renderList as C, nextTick as oe } from "vue";
2
- import { a as te, Y as le, b5 as ie, j as h, b6 as T, W as G, V as se, F as de } from "./app-Bcq0U90V.js";
3
- import { u as re } from "./use-inventory-binding-dialog-CtvdrDNH.js";
4
- import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-m_DVEWZp.js";
2
+ import { a as te, Y as le, b6 as ie, j as h, b7 as T, W as G, V as se, F as de } from "./app-DayXXH4q.js";
3
+ import { u as re } from "./use-inventory-binding-dialog-nuT-Ptlx.js";
4
+ import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D5k7Xk3M.js";
5
5
  import { useI18n as ce } from "@feedmepos/mf-common";
6
6
  const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-16" }, fe = { class: "flex items-center" }, ve = { class: "flex-1 fm-typo-en-title-sm-600" }, be = { class: "flex flex-col" }, ge = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, _e = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, he = {
7
7
  class: "flex items-center",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock as d, h as g } from "vue";
2
2
  import { useI18n as p } from "@feedmepos/mf-common";
3
3
  import { components as u } from "@feedmepos/ui-library";
4
- import { F as r } from "./app-Bcq0U90V.js";
4
+ import { F as r } from "./app-DayXXH4q.js";
5
5
  const w = /* @__PURE__ */ l({
6
6
  __name: "InventoryBindingSummary",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as i, openBlock as F, createBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
2
- import { V as s } from "./app-Bcq0U90V.js";
2
+ import { V as s } from "./app-DayXXH4q.js";
3
3
  const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
4
4
  __name: "NumberPrecisionInput",
5
5
  props: {