@feedmepos/mf-inventory-portal 1.2.7 → 1.2.8

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 (86) hide show
  1. package/dist/{App-BtLCesbn.js → App-D1IJlQS8.js} +1 -1
  2. package/dist/{ApprovalView-Ba4XBhGf.js → ApprovalView-GnDYWZHY.js} +69 -68
  3. package/dist/{BindingsDialog-BbBUniCu.js → BindingsDialog-Bs00N9mp.js} +2 -2
  4. package/dist/{BindingsPicker-C3q3ROku.js → BindingsPicker-LO15pMdZ.js} +1 -1
  5. package/dist/{BindingsTable-BTxWMif_.js → BindingsTable-g27KG9q4.js} +1 -1
  6. package/dist/{ClosingDraftView-DGITBnaY.js → ClosingDraftView-Ddsgcrmg.js} +203 -203
  7. package/dist/ClosingTemplateView-G8Ya81UZ.js +1862 -0
  8. package/dist/{DeliveryOrderPrintPreview-CUaHpblV.js → DeliveryOrderPrintPreview-qq1rhFKV.js} +8 -8
  9. package/dist/{FmAdminBadge-BdwGZY-f.js → FmAdminBadge-B2NpMmJi.js} +6 -6
  10. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C1i9CHE1.js +230 -0
  11. package/dist/{FmMultiselectDialog-BETfHs3j.js → FmMultiselectDialog-u2dbuZUp.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BNdbeRQp.js → FmUnitInput.vue_vue_type_script_setup_true_lang-vpiiv6C1.js} +23 -23
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-VYMMcwLl.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-3T-d1pIb.js} +1 -1
  14. package/dist/{IngredientGroupView-C4d9b3Td.js → IngredientGroupView-CqB73-e4.js} +12 -12
  15. package/dist/IngredientsView-Cq42ytcN.js +2291 -0
  16. package/dist/{IntegrationView-CWFzRDWO.js → IntegrationView-OHnUGZst.js} +4 -4
  17. package/dist/{InventoryBindingForm-Cx0Prlq8.js → InventoryBindingForm-DorgxR-Y.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-cpR3Sf2Y.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CZy77tY7.js} +41 -41
  19. package/dist/{InventoryBindingSummary-l8XvpxVU.js → InventoryBindingSummary-B_YavyPb.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BjRvIX-v.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-XuEDo134.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-gjuZveKy.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Blq1oE5l.js} +11 -11
  22. package/dist/{PublishView-D2iUnDan.js → PublishView-Ds_ztGcV.js} +14 -14
  23. package/dist/{PurchaseOrderPrintPreview-DdLvM-wt.js → PurchaseOrderPrintPreview-DnyqN_xE.js} +11 -11
  24. package/dist/{ReceiveRequestView-DpF5ZzvH.js → ReceiveRequestView-ChpKsDaF.js} +148 -145
  25. package/dist/{RecipeView-Dvtm8o1Y.js → RecipeView-Dyp9Xcme.js} +49 -49
  26. package/dist/StockView-D-iP52Zw.js +2089 -0
  27. package/dist/{SupplierView-7GtIJ3Fz.js → SupplierView-BaEK3C8q.js} +1133 -1015
  28. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B_ravTwn.js +3058 -0
  29. package/dist/{TransferTemplateView-Cmvg-yvW.js → TransferTemplateView-3zS7hNZz.js} +131 -130
  30. package/dist/{UnitView-DjVm1iVX.js → UnitView-BP5eztAG.js} +59 -59
  31. package/dist/WarehouseView-DMY7Lgwq.js +1066 -0
  32. package/dist/api/inventory.d.ts +8 -0
  33. package/dist/api/netsuite.d.ts +3 -0
  34. package/dist/api/purchase-order-template.d.ts +1 -0
  35. package/dist/api/purchase-order.d.ts +2 -0
  36. package/dist/api/shipment.d.ts +11 -0
  37. package/dist/api/warehouse.d.ts +3 -1
  38. package/dist/{app-Z-ylwRmy.js → app-P6XaUzjP.js} +17877 -17113
  39. package/dist/app.d.ts +96 -9
  40. package/dist/app.js +3 -3
  41. package/dist/closing-template-BGYZPBty.js +53 -0
  42. package/dist/components/FmInventoryTableToolbar.vue.d.ts +9 -2
  43. package/dist/components/netsuite/SubsidiaryTreeDialog.vue.d.ts +2 -0
  44. package/dist/{decimal-D1pJ2776.js → decimal-wz5HXhQ8.js} +1 -1
  45. package/dist/{format-unit-display-9BMm-8A4.js → format-unit-display-DOOJqLop.js} +372 -404
  46. package/dist/{index-BOl10vcm.js → index-CHTB43Wl.js} +1 -1
  47. package/dist/{index-rEIM0AVC.js → index-oR0svfBM.js} +1 -1
  48. package/dist/purchase-order-template-BGunGekw.js +41 -0
  49. package/dist/{stock-B8ewk80v.js → stock-TJayQnag.js} +1 -1
  50. package/dist/stores/feature.d.ts +10 -0
  51. package/dist/stores/integration/netsuite.d.ts +19 -0
  52. package/dist/stores/inventory.d.ts +1 -0
  53. package/dist/stores/location.d.ts +57 -1
  54. package/dist/stores/supplier.d.ts +96 -0
  55. package/dist/stores/warehouse.d.ts +4 -0
  56. package/dist/{supplier-DLSXYY1o.js → supplier-C_vqpE92.js} +1 -1
  57. package/dist/tsconfig.app.tsbuildinfo +1 -1
  58. package/dist/{use-ingredient-select-dialog-CTjwdY3T.js → use-ingredient-select-dialog-CIahwuTX.js} +5 -5
  59. package/dist/{use-inventory-binding-dialog-zXJB7MQY.js → use-inventory-binding-dialog-BiKRXVhY.js} +8 -8
  60. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +24 -0
  61. package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +6 -0
  62. package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +2 -0
  63. package/dist/views/receive-request/components/delivery-order-form/CreateForm.vue.d.ts +16 -0
  64. package/dist/views/receive-request/components/delivery-order-form/CreateFormProps.d.ts +4 -0
  65. package/dist/views/receive-request/components/delivery-order-form/EditForm.vue.d.ts +16 -0
  66. package/dist/views/receive-request/components/delivery-order-form/EditFormProps.d.ts +4 -0
  67. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  68. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +60 -0
  69. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +10 -0
  70. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +94 -0
  71. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +72 -1
  72. package/dist/views/supplier/components/SupplierForm.vue.d.ts +8 -0
  73. package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -0
  74. package/dist/views/supplier/composables/use-supplier-table.d.ts +4 -0
  75. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -0
  76. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -0
  77. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -0
  78. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -0
  79. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -0
  80. package/package.json +3 -3
  81. package/dist/ClosingTemplateView-eRvwxXBq.js +0 -1908
  82. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-lDkElrkF.js +0 -227
  83. package/dist/IngredientsView-BvqWuIVT.js +0 -1876
  84. package/dist/StockView-CRDu_GQ_.js +0 -2086
  85. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DbmLtbZt.js +0 -2494
  86. package/dist/WarehouseView-CBso3SXT.js +0 -1034
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as Q, mergeModels as Te, useModel as we, onMounted as ve, ref as _, computed as T, resolveComponent as B, openBlock as I, createElementBlock as L, createElementVNode as s, toDisplayString as O, unref as S, createVNode as b, createBlock as H, withCtx as N, Fragment as Y, renderList as W, normalizeClass as K, normalizeStyle as je, createSlots as te, createCommentVNode as z, withModifiers as ze, reactive as ge, watch as ye, isRef as le, Teleport as de, h as M, createTextVNode as q, watchEffect as He } from "vue";
2
2
  import { E as Ue } from "./empty-placeholder-wf6-BWE8.js";
3
- import { b1 as Xe, aQ as Qe, f as ne, u as $, b2 as Ye, b3 as Je, n as Ke, b as re, aC as me, j as Pe, aY as fe, a5 as Ae, a6 as be, a as he, a3 as qe, T as G, a0 as ke, b4 as Be, aI as Ce, aU as Ee, v as Fe, z as Le, a1 as ce, c as Ve, _ as Ze, E as Ge } from "./app-Z-ylwRmy.js";
3
+ import { b3 as Xe, aS as Qe, f as ne, u as $, b4 as Ye, b5 as Je, o as Ke, b as re, aF as me, k as Pe, a_ as fe, a7 as Ae, a8 as be, a as he, s as qe, Y as G, a3 as ke, b6 as Be, aL as Ce, aW as Ee, z as Fe, G as Le, a4 as ce, c as Ve, _ as Ze, L as Ge } from "./app-P6XaUzjP.js";
4
4
  import { useDialogChild as We, useDialog as ue, useProxiedModel as ie, useSnackbar as ee, useBreakpoints as Ne, components as oe } from "@feedmepos/ui-library";
5
5
  import { useI18n as Z, useCoreStore as se } from "@feedmepos/mf-common";
6
- import { a as $e, b as et, c as tt, u as nt } from "./index-rEIM0AVC.js";
7
- import { _ as ot, F as st } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BNdbeRQp.js";
8
- import { F as De } from "./FmAdminBadge-BdwGZY-f.js";
6
+ import { a as $e, b as et, c as tt, u as nt } from "./index-oR0svfBM.js";
7
+ import { _ as ot, F as st } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-vpiiv6C1.js";
8
+ import { F as De } from "./FmAdminBadge-B2NpMmJi.js";
9
9
  const at = "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 Me = { exports: {} };
11
11
  (function(C, A) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-cpR3Sf2Y.js";
1
+ import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CZy77tY7.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, b6 as ie, j as h, b7 as T, W as G, V as se, F as de } from "./app-Z-ylwRmy.js";
3
- import { u as re } from "./use-inventory-binding-dialog-zXJB7MQY.js";
4
- import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BNdbeRQp.js";
2
+ import { a as te, a1 as le, b8 as ie, k as h, b9 as T, $ as G, Z as se, F as de } from "./app-P6XaUzjP.js";
3
+ import { u as re } from "./use-inventory-binding-dialog-BiKRXVhY.js";
4
+ import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-vpiiv6C1.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",
@@ -21,16 +21,16 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
21
21
  }, Pe = {
22
22
  class: "flex items-center",
23
23
  style: { "min-height": "48px" }
24
- }, Ne = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Te = { class: "flex flex-col" }, Me = { class: "w-[200px]" }, De = {
24
+ }, Ne = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Te = { class: "flex flex-col" }, Me = { class: "w-[200px]" }, $e = {
25
25
  key: 0,
26
26
  class: "w-[52px]"
27
- }, Ke = { class: "flex flex-col gap-16" }, $e = { class: "flex items-center" }, je = { class: "flex-1 fm-typo-en-title-sm-600" }, Ye = { class: "flex flex-col" }, ze = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, Le = { class: "flex-1 fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, Oe = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary w-[150px] px-16" }, We = {
27
+ }, De = { class: "flex flex-col gap-16" }, Ke = { class: "flex items-center" }, je = { class: "flex-1 fm-typo-en-title-sm-600" }, ze = { class: "flex flex-col" }, Le = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, Oe = { class: "flex-1 fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, Ye = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary w-[150px] px-16" }, We = {
28
28
  class: "flex items-center w-full",
29
29
  style: { "min-height": "48px" }
30
- }, qe = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, He = { class: "line-clamp-1" }, Je = { class: "w-[150px]" }, Qe = {
30
+ }, Ze = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, qe = { class: "line-clamp-1" }, He = { class: "w-[150px]" }, Je = {
31
31
  key: 0,
32
32
  class: "w-[52px]"
33
- }, Xe = { class: "flex flex-col px-12 pb-4" }, ln = /* @__PURE__ */ ee({
33
+ }, Qe = { class: "flex flex-col px-12 pb-4" }, ln = /* @__PURE__ */ ee({
34
34
  __name: "InventoryBindingForm",
35
35
  props: {
36
36
  id: {},
@@ -43,8 +43,8 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
43
43
  enableIngredientGroup: { type: Boolean }
44
44
  },
45
45
  emits: ["update:modelValue", "click:pick-inventory-bindings"],
46
- setup(M, { emit: D }) {
47
- const { t: a } = ce(), x = te(), K = _(() => x.recipeById), I = _(() => x.skuById), $ = _(() => x.skuGroupById), s = M, b = D, A = _(() => le({
46
+ setup(M, { emit: $ }) {
47
+ const { t: a } = ce(), x = te(), D = _(() => x.recipeById), I = _(() => x.skuById), K = _(() => x.skuGroupById), s = M, b = $, A = _(() => le({
48
48
  parentId: s.id,
49
49
  bindings: s.modelValue,
50
50
  recipes: x.recipes.map((o) => o._id === s.id ? {
@@ -63,33 +63,33 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
63
63
  var t;
64
64
  return (t = e.bindingPaths[0]) == null ? void 0 : t.id;
65
65
  }))
66
- ), j = _(() => s.modelValue.filter((e) => e.type === "RECIPE")), { promptIngredientsBinding: Y, promptRecipesBinding: z, promptIngredientGroupsBinding: L } = re();
67
- async function O() {
66
+ ), j = _(() => s.modelValue.filter((e) => e.type === "RECIPE")), { promptIngredientsBinding: z, promptRecipesBinding: L, promptIngredientGroupsBinding: O } = re();
67
+ async function Y() {
68
68
  if (s.iframeMode) {
69
69
  b("click:pick-inventory-bindings", "RECIPE");
70
70
  return;
71
71
  }
72
- z(
72
+ L(
73
73
  s.modelValue,
74
74
  (e) => b("update:modelValue", e),
75
75
  s.id ? [s.id] : []
76
76
  );
77
77
  }
78
78
  const W = _(() => s.modelValue.filter((e) => e.type === "SKU_GROUP"));
79
- async function q() {
80
- L(
79
+ async function Z() {
80
+ O(
81
81
  s.modelValue,
82
82
  (e) => b("update:modelValue", e),
83
83
  s.id ? [s.id] : []
84
84
  );
85
85
  }
86
86
  const R = _(() => s.modelValue.filter((e) => e.type === "SKU") ?? []);
87
- async function H() {
87
+ async function q() {
88
88
  if (s.iframeMode) {
89
89
  b("click:pick-inventory-bindings", "SKU");
90
90
  return;
91
91
  }
92
- Y(
92
+ z(
93
93
  s.modelValue,
94
94
  (e) => b("update:modelValue", e),
95
95
  s.excludeBindingId,
@@ -113,10 +113,10 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
113
113
  throw new Error(`Cannot find ingredient: ${e.id}`);
114
114
  return (d = I.value[e.id]) == null ? void 0 : d.unit;
115
115
  }
116
- function J(e) {
116
+ function H(e) {
117
117
  return { amount: e.amount, measurement: e.measurement };
118
118
  }
119
- function Q(e, t, o) {
119
+ function J(e, t, o) {
120
120
  const d = o.map((f) => f.id !== e ? f : {
121
121
  ...f,
122
122
  amount: t.amount,
@@ -125,7 +125,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
125
125
  b("update:modelValue", d);
126
126
  }
127
127
  const N = ne({});
128
- function X(e) {
128
+ function Q(e) {
129
129
  return N[e.id] ?? {
130
130
  modelValue: {
131
131
  amount: e.amount,
@@ -134,7 +134,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
134
134
  amountAsString: h(e.amount)
135
135
  };
136
136
  }
137
- function Z(e, t) {
137
+ function X(e, t) {
138
138
  oe(() => {
139
139
  N[e.id] = {
140
140
  modelValue: {
@@ -171,7 +171,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
171
171
  "border-color": "primary",
172
172
  label: i(a)("inventory.inventoryBindings.linkRecipe"),
173
173
  "prepend-icon": "link",
174
- onClick: O
174
+ onClick: Y
175
175
  }, null, 8, ["label"]))
176
176
  ]),
177
177
  n("div", be, [
@@ -192,7 +192,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
192
192
  n("div", xe, [
193
193
  n("div", he, [
194
194
  n("div", Ve, [
195
- n("div", Be, m((g = K.value[l.id]) == null ? void 0 : g.name), 1)
195
+ n("div", Be, m((g = D.value[l.id]) == null ? void 0 : g.name), 1)
196
196
  ]),
197
197
  n("div", ke, [
198
198
  y(f, {
@@ -239,7 +239,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
239
239
  "border-color": "primary",
240
240
  label: i(a)("inventory.inventoryBindings.linkIngredientGroup"),
241
241
  "prepend-icon": "link",
242
- onClick: q
242
+ onClick: Z
243
243
  }, null, 8, ["label"]))
244
244
  ]),
245
245
  n("div", Ce, [
@@ -268,7 +268,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
268
268
  ])) : v("", !0),
269
269
  n("div", Pe, [
270
270
  n("div", Ne, [
271
- n("div", Te, m((g = $.value[l.id]) == null ? void 0 : g.name), 1)
271
+ n("div", Te, m((g = K.value[l.id]) == null ? void 0 : g.name), 1)
272
272
  ]),
273
273
  n("div", Me, [
274
274
  y(f, {
@@ -279,7 +279,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
279
279
  invalid: V
280
280
  }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue", "invalid"])
281
281
  ]),
282
- e.readonly ? v("", !0) : (r(), p("div", De, [
282
+ e.readonly ? v("", !0) : (r(), p("div", $e, [
283
283
  y(d, {
284
284
  disabled: e.disabled,
285
285
  type: "button",
@@ -297,8 +297,8 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
297
297
  }, 1032, ["disabled", "modelValue", "rules"]))), 128))
298
298
  ])
299
299
  ])) : v("", !0),
300
- n("div", Ke, [
301
- n("div", $e, [
300
+ n("div", De, [
301
+ n("div", Ke, [
302
302
  n("div", je, m(i(a)("inventory.inventoryBindings.ingredient")), 1),
303
303
  e.readonly ? v("", !0) : (r(), B(d, {
304
304
  key: 0,
@@ -307,13 +307,13 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
307
307
  "border-color": "primary",
308
308
  label: i(a)("inventory.inventoryBindings.linkIngredient"),
309
309
  "prepend-icon": "link",
310
- onClick: H
310
+ onClick: q
311
311
  }, null, 8, ["label"]))
312
312
  ]),
313
- n("div", Ye, [
314
- n("div", ze, [
315
- n("div", Le, m(i(a)("inventory.inventoryBindings.ingredient")), 1),
316
- n("div", Oe, m(i(a)("inventory.inventoryBindings.amount")), 1),
313
+ n("div", ze, [
314
+ n("div", Le, [
315
+ n("div", Oe, m(i(a)("inventory.inventoryBindings.ingredient")), 1),
316
+ n("div", Ye, m(i(a)("inventory.inventoryBindings.amount")), 1),
317
317
  t[5] || (t[5] = n("div", { class: "w-[52px]" }, null, -1))
318
318
  ]),
319
319
  (r(!0), p(E, null, C(R.value, (l, V) => {
@@ -323,21 +323,21 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
323
323
  class: "flex flex-col border-b border-fm-color-neutral-gray-100"
324
324
  }, [
325
325
  n("div", We, [
326
- n("div", qe, [
327
- n("span", He, m((g = I.value[l.id]) == null ? void 0 : g.name), 1)
326
+ n("div", Ze, [
327
+ n("span", qe, m((g = I.value[l.id]) == null ? void 0 : g.name), 1)
328
328
  ]),
329
- n("div", Je, [
329
+ n("div", He, [
330
330
  y(ae, {
331
- "model-value": J(l),
332
- "onUpdate:modelValue": (c) => c && Q(l.id, c, e.modelValue),
333
- "onUpdate:amount": (c) => Z(l, c),
331
+ "model-value": H(l),
332
+ "onUpdate:modelValue": (c) => c && J(l.id, c, e.modelValue),
333
+ "onUpdate:amount": (c) => X(l, c),
334
334
  unit: P(l),
335
335
  placement: V === R.value.length - 1 ? "top" : "bottom",
336
336
  "convert-amount-on-change-unit": "",
337
337
  disabled: e.readonly
338
338
  }, null, 8, ["model-value", "onUpdate:modelValue", "onUpdate:amount", "unit", "placement", "disabled"])
339
339
  ]),
340
- e.readonly ? v("", !0) : (r(), p("div", Qe, [
340
+ e.readonly ? v("", !0) : (r(), p("div", Je, [
341
341
  y(d, {
342
342
  disabled: e.disabled,
343
343
  type: "button",
@@ -347,13 +347,13 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
347
347
  }, null, 8, ["disabled", "onClick"])
348
348
  ]))
349
349
  ]),
350
- n("div", Xe, [
350
+ n("div", Qe, [
351
351
  y(o, {
352
352
  modelValue: +i(h)(l.amount ?? { amount: 1, precision: 0 }),
353
353
  rules: [i(G)(0)]
354
354
  }, null, 8, ["modelValue", "rules"]),
355
355
  y(o, {
356
- modelValue: X(l),
356
+ modelValue: Q(l),
357
357
  rules: [
358
358
  i(ue)(),
359
359
  i(me)(P(l)),
@@ -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-Z-ylwRmy.js";
4
+ import { F as r } from "./app-P6XaUzjP.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-Z-ylwRmy.js";
2
+ import { Z as s } from "./app-P6XaUzjP.js";
3
3
  const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
4
4
  __name: "NumberPrecisionInput",
5
5
  props: {
@@ -1,17 +1,17 @@
1
- import { aI as u, aJ as _, a4 as h, u as F } from "./app-Z-ylwRmy.js";
1
+ import { aL as u, aM as _, a6 as h, u as F } from "./app-P6XaUzjP.js";
2
2
  import { useCoreStore as y } from "@feedmepos/mf-common";
3
- import { ref as v, defineComponent as k, resolveComponent as l, openBlock as g, createElementBlock as S, renderSlot as x, createVNode as m, withCtx as I } from "vue";
4
- function O(e, t) {
3
+ import { ref as v, defineComponent as k, resolveComponent as l, openBlock as g, createElementBlock as S, renderSlot as x, createVNode as m, withCtx as O } from "vue";
4
+ function w(e, t) {
5
5
  return t.map((r) => typeof r.selector == "function" ? r.selector(e) : e[r.selector]);
6
6
  }
7
- function w(e, t) {
8
- const r = t.map((o) => o.name), n = e.map((o) => O(o, t));
7
+ function I(e, t) {
8
+ const r = t.map((o) => o.name), n = e.map((o) => w(o, t));
9
9
  return u.aoa_to_sheet([r, ...n]);
10
10
  }
11
11
  async function C(e, t) {
12
12
  const r = u.book_new();
13
13
  for (const n of e) {
14
- const o = w(
14
+ const o = I(
15
15
  n.data,
16
16
  n.columns.map((a) => typeof a == "string" ? {
17
17
  name: a,
@@ -78,11 +78,11 @@ function D() {
78
78
  }
79
79
  };
80
80
  }
81
- function N(e) {
81
+ function L(e) {
82
82
  let t = e.substring(e.indexOf("_") + 1);
83
83
  return t.includes("_") && (t = t.substring(0, t.lastIndexOf("_"))), Number.isNaN(Date.parse(t)) ? null : new Date(t).toISOString();
84
84
  }
85
- const b = { class: "flex items-center gap-8" }, B = "Experience enhanced inventory features with premium plan.", L = /* @__PURE__ */ k({
85
+ const b = { class: "flex items-center gap-8" }, B = "Experience enhanced inventory features with premium plan.", N = /* @__PURE__ */ k({
86
86
  __name: "PremiumBadge",
87
87
  props: {
88
88
  zIndex: {}
@@ -98,7 +98,7 @@ const b = { class: "flex items-center gap-8" }, B = "Experience enhanced invento
98
98
  content: B,
99
99
  "z-index": t.zIndex
100
100
  }, {
101
- default: I(() => [
101
+ default: O(() => [
102
102
  m(n, { variant: "premium" })
103
103
  ]),
104
104
  _: 1
@@ -108,8 +108,8 @@ const b = { class: "flex items-center gap-8" }, B = "Experience enhanced invento
108
108
  }
109
109
  });
110
110
  export {
111
- L as _,
111
+ N as _,
112
112
  C as e,
113
- N as i,
113
+ L as i,
114
114
  D as u
115
115
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as Q, ref as D, computed as c, watch as X, resolveComponent as l, openBlock as W, createBlock as z, unref as h, createSlots as Z, withCtx as u, createElementVNode as f, normalizeClass as ee, createVNode as a, normalizeStyle as te, Teleport as oe, h as g } from "vue";
2
- import { aC as ne, u as ae, a as se, b0 as le, C as ie, _ as re, a5 as B } from "./app-Z-ylwRmy.js";
2
+ import { aF as ne, u as ae, a as se, b2 as le, K as ie, _ as re, a7 as B } from "./app-P6XaUzjP.js";
3
3
  import { useBreakpoints as ce, useDialog as ue, useSnackbar as me, components as H } from "@feedmepos/ui-library";
4
4
  const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ye = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
5
5
  __name: "PublishView",
6
6
  setup(be) {
7
- const { t } = ne(), { breakpoints: x } = ce(), n = ae(), A = se(), S = le(), i = D(!1), m = c(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), R = ie(), C = ue(), Y = me(), N = c(() => n.locationsWithInventory), _ = c(() => x.value.xs || x.value.sm), $ = c(() => _.value ? 10 : 20);
7
+ const { t } = ne(), { breakpoints: x } = ce(), n = ae(), A = se(), S = le(), i = D(!1), m = c(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), R = ie(), F = ue(), Y = me(), N = c(() => n.locationsWithInventory), _ = c(() => x.value.xs || x.value.sm), $ = c(() => _.value ? 10 : 20);
8
8
  X(
9
9
  () => n._locations,
10
10
  async () => {
@@ -14,7 +14,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
14
14
  { immediate: !0 }
15
15
  // Optional: triggers the watcher immediately on mount
16
16
  );
17
- const U = c(() => [
17
+ const K = c(() => [
18
18
  {
19
19
  label: t("inventory.common.refresh"),
20
20
  value: "refresh",
@@ -22,10 +22,10 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
22
22
  },
23
23
  { label: t("inventory.publish.actions.publishAll"), value: "publish", isPrimary: !0 }
24
24
  ]);
25
- async function q(e) {
25
+ async function U(e) {
26
26
  switch (e) {
27
27
  case "publish":
28
- C.open({
28
+ F.open({
29
29
  title: t("inventory.common.publish"),
30
30
  message: "Are you sure you want to publish to all locations?",
31
31
  primaryActions: { text: t("inventory.common.publish"), close: !0 },
@@ -39,13 +39,13 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
39
39
  break;
40
40
  }
41
41
  }
42
- const w = D(!1), E = [
42
+ const w = D(!1), q = [
43
43
  {
44
44
  value: "publish",
45
45
  label: t("inventory.publish.actions.publishAll")
46
46
  }
47
47
  ];
48
- function K(e) {
48
+ function E(e) {
49
49
  switch (w.value = !1, e) {
50
50
  case "publish":
51
51
  console.log("publish all");
@@ -108,7 +108,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
108
108
  variant: "secondary",
109
109
  icon: "sync",
110
110
  onClick: () => {
111
- C.open({
111
+ F.open({
112
112
  title: t("inventory.common.publish"),
113
113
  message: `Are you sure you want to publish this location "${e.row.original.name}"?`,
114
114
  primaryActions: { text: t("inventory.common.publish"), close: !0 },
@@ -145,8 +145,8 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
145
145
  const s = l("FmChip"), p = l("FlexRender"), d = l("TableActionableRow"), G = l("FmTable"), J = l("FmCollapsibleTabs"), O = l("FmBottomSheet");
146
146
  return W(), z(re, {
147
147
  title: h(t)("inventory.publish.title"),
148
- actions: U.value,
149
- "onClick:action": q
148
+ actions: K.value,
149
+ "onClick:action": U
150
150
  }, Z({
151
151
  default: u(() => [
152
152
  f("div", {
@@ -169,12 +169,12 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
169
169
  "list-row": u((r) => [
170
170
  a(d, { row: r }, {
171
171
  default: u((y) => {
172
- var F, I, k, b, M, L, P, T, v, V;
172
+ var C, I, k, b, M, L, P, T, v, V;
173
173
  return [
174
174
  f("div", pe, [
175
175
  f("div", de, [
176
176
  a(p, {
177
- render: (k = (I = (F = y.code) == null ? void 0 : F.column) == null ? void 0 : I.columnDef) == null ? void 0 : k.cell,
177
+ render: (k = (I = (C = y.code) == null ? void 0 : C.column) == null ? void 0 : I.columnDef) == null ? void 0 : k.cell,
178
178
  props: (M = (b = y.code) == null ? void 0 : b.getContext) == null ? void 0 : M.call(b)
179
179
  }, null, 8, ["render", "props"])
180
180
  ]),
@@ -202,8 +202,8 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
202
202
  default: u(() => [
203
203
  a(J, {
204
204
  class: "pb-8",
205
- items: E,
206
- "onUpdate:modelValue": o[0] || (o[0] = (r) => K(r))
205
+ items: q,
206
+ "onUpdate:modelValue": o[0] || (o[0] = (r) => E(r))
207
207
  })
208
208
  ]),
209
209
  _: 1
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as b, computed as m, ref as x, onMounted as f, openBlock as u, createElementBlock as n, createElementVNode as t, toDisplayString as e, normalizeStyle as g, createTextVNode as i, Fragment as o, createCommentVNode as p, renderList as v } from "vue";
2
2
  import { useRoute as w } from "vue-router";
3
- import { aB as y, ap as k } from "./app-Z-ylwRmy.js";
4
- const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "title" }, N = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = { class: "sub-header" }, F = { class: "address" }, q = { class: "purchase-body" }, B = { class: "text-left" }, L = { class: "text-left" }, U = { class: "text-right" }, V = { class: "text-right" }, H = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, M = { valign: "bottom" }, z = { class: "header" }, J = { class: "caption" }, Q = {
3
+ import { aE as y, ar as k } from "./app-P6XaUzjP.js";
4
+ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "title" }, E = { class: "text-right" }, N = { class: "header" }, O = { class: "sub-header" }, P = { class: "caption" }, D = { class: "address" }, S = { class: "text-right" }, T = { class: "sub-header" }, F = { class: "address" }, q = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, B = { class: "text-right" }, H = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, M = { valign: "bottom" }, z = { class: "header" }, J = { class: "caption" }, Q = {
5
5
  class: "text-left",
6
6
  style: { width: "20%" }
7
7
  }, j = { class: "text-left" }, G = {
@@ -35,8 +35,8 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
35
35
  style: g({ color: c.value })
36
36
  }, e(s.value.status), 5)
37
37
  ]),
38
- t("td", N, [
39
- t("div", O, "ORD #" + e(s.value.orderNumber), 1),
38
+ t("td", E, [
39
+ t("div", N, "ORD #" + e(s.value.orderNumber), 1),
40
40
  t("div", null, e(s.value.createdAt), 1)
41
41
  ])
42
42
  ])
@@ -46,9 +46,9 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
46
46
  t("tr", null, [
47
47
  t("td", null, [
48
48
  l[4] || (l[4] = t("div", { class: "header" }, "Supplier", -1)),
49
- t("div", P, e(s.value.supplier.name), 1),
50
- t("div", D, e(s.value.supplier.registrationNumber), 1),
51
- t("div", E, [
49
+ t("div", O, e(s.value.supplier.name), 1),
50
+ t("div", P, e(s.value.supplier.registrationNumber), 1),
51
+ t("div", D, [
52
52
  i(e(s.value.supplier.line1), 1),
53
53
  l[1] || (l[1] = t("br", null, null, -1)),
54
54
  s.value.supplier.line2 ? (u(), n(o, { key: 0 }, [
@@ -104,10 +104,10 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
104
104
  ], -1)),
105
105
  t("tbody", null, [
106
106
  (u(!0), n(o, null, v(s.value.items, (r, a) => (u(), n("tr", { key: a }, [
107
- t("td", B, e(r.code), 1),
108
- t("td", L, e(r.description), 1),
109
- t("td", U, e(r.quantity), 1),
110
- t("td", V, e(r.unit), 1),
107
+ t("td", L, e(r.code), 1),
108
+ t("td", U, e(r.description), 1),
109
+ t("td", V, e(r.quantity), 1),
110
+ t("td", B, e(r.unit), 1),
111
111
  t("td", H, e(r.cost ? r.cost : "N/A"), 1)
112
112
  ]))), 128))
113
113
  ])