@feedmepos/mf-inventory-portal 1.0.8 → 1.0.9-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/{App-DeBNx7kq.js → App-DfxhucPn.js} +50 -49
  2. package/dist/{ApprovalView-CYgDG4X-.js → ApprovalView-BUYgTb8S.js} +24 -24
  3. package/dist/{BindingsDialog-Bojdsd9h.js → BindingsDialog-Cbs9aVch.js} +2 -2
  4. package/dist/{BindingsPicker-TkiARkrC.js → BindingsPicker-BH9bil6g.js} +3 -3
  5. package/dist/{BindingsTable-BWYaPoFt.js → BindingsTable-DBsS_9yb.js} +1 -1
  6. package/dist/ClosingDraftView-CcQssDLY.js +1415 -0
  7. package/dist/{ClosingTemplateView-CUjkAFjw.js → ClosingTemplateView-BHPqi-bL.js} +10 -10
  8. package/dist/{DeliveryOrderPrintPreview-BOEKl7zP.js → DeliveryOrderPrintPreview-DlTLtZ1f.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bve5cng3.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CtJSPDCo.js} +32 -32
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-1-G4gmCj.js → FmUnitInput.vue_vue_type_script_setup_true_lang-B-erI7fq.js} +51 -51
  11. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bl526zYj.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DT4nyE8i.js} +1 -1
  12. package/dist/{IngredientGroupView-stli1Xiv.js → IngredientGroupView-DE15kdqH.js} +11 -11
  13. package/dist/{IngredientsView-jmDSRSkr.js → IngredientsView-BCEznLxB.js} +15 -14
  14. package/dist/{IntegrationView-BQZtDqlR.js → IntegrationView-COSJuqnB.js} +146 -145
  15. package/dist/{InventoryBindingForm-hHgB20dI.js → InventoryBindingForm-B3C8gktf.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BK36mlQE.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bn2X1jxB.js} +20 -20
  17. package/dist/{InventoryBindingSummary-JsAhd0Jm.js → InventoryBindingSummary-BF1OtGum.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4A6bDPB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BMTXHa4I.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C6bND0mn.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CZR7wF6-.js} +10 -10
  20. package/dist/{PublishView-BK7WwXeV.js → PublishView-Cp5tpVb0.js} +12 -12
  21. package/dist/{PurchaseOrderPrintPreview-CMnaZkzc.js → PurchaseOrderPrintPreview-DWOcxCH8.js} +4 -4
  22. package/dist/{ReceiveRequestView-Bb6RQyJ8.js → ReceiveRequestView-CRuhm8r1.js} +53 -52
  23. package/dist/{RecipeView-CZnElbJ8.js → RecipeView-BTS1LBKZ.js} +29 -29
  24. package/dist/{StockView-CDAHrTyi.js → StockView-CuK8s5rt.js} +73 -72
  25. package/dist/{SupplierView-WTgrwbJ_.js → SupplierView-Bwpe9RoM.js} +12 -11
  26. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DDAZMTzq.js +1897 -0
  27. package/dist/{TransferTemplateView-26w6orAY.js → TransferTemplateView-BlluEiV-.js} +291 -290
  28. package/dist/{UnitView-DAl0OS01.js → UnitView-BWGQHOWP.js} +23 -23
  29. package/dist/{WarehouseView-Db2wXza_.js → WarehouseView-dOCu22dg.js} +26 -26
  30. package/dist/api/bill.d.ts +2 -2
  31. package/dist/api/food-market-hub.d.ts +1 -1
  32. package/dist/api/inventory.d.ts +44 -44
  33. package/dist/api/netsuite.d.ts +3 -3
  34. package/dist/api/purchase-order.d.ts +5 -1
  35. package/dist/api/stock.d.ts +1 -0
  36. package/dist/{app-Ch3IXeOL.js → app-BkIAyhP-.js} +16504 -16961
  37. package/dist/app.d.ts +7 -7
  38. package/dist/app.js +1 -1
  39. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +8 -8
  40. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  41. package/dist/components/shell/inventory/binding-ui.vue.d.ts +5 -5
  42. package/dist/composable/usePromise.d.ts +41 -0
  43. package/dist/{decimal-BFWsfQmw.js → decimal-BiC7uGww.js} +1 -1
  44. package/dist/feature-CCDDWpq8.js +17319 -0
  45. package/dist/{format-unit-display-CyBzA_Ye.js → format-unit-display-CLa0op_h.js} +60 -60
  46. package/dist/{index-CKB7R0y2.js → index-BbFvsU1Z.js} +7 -6
  47. package/dist/{index-CSjhH3PC.js → index-UgbyiGok.js} +1 -1
  48. package/dist/{stock-BjY9UvKO.js → stock-SxO4bxTm.js} +29 -25
  49. package/dist/stores/feature.d.ts +5 -20
  50. package/dist/stores/integration/foodmarkethub.d.ts +1 -1
  51. package/dist/stores/integration/netsuite.d.ts +7 -7
  52. package/dist/stores/inventory.d.ts +44 -44
  53. package/dist/stores/location.d.ts +137 -137
  54. package/dist/{supplier-8x-ZFcOk.js → supplier-BVdCk7nI.js} +4 -4
  55. package/dist/tsconfig.app.tsbuildinfo +1 -1
  56. package/dist/{use-ingredient-select-dialog-CxZAaSGc.js → use-ingredient-select-dialog-CDeGXhur.js} +1 -1
  57. package/dist/{use-inventory-binding-dialog-Kmg24YiM.js → use-inventory-binding-dialog-CeRKqMy7.js} +1 -1
  58. package/dist/views/adjustment-template/wastage-template/actions.d.ts +228 -228
  59. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +2 -2
  60. package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +1 -1
  61. package/dist/views/adjustment-template/wastage-template/table.d.ts +234 -234
  62. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +780 -74
  63. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +424 -409
  64. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +4 -4
  65. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +252 -252
  66. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +252 -252
  67. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +12 -12
  68. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  69. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +8 -8
  70. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +3 -3
  71. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +4 -4
  72. package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
  73. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
  74. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
  75. package/dist/views/integration/components/netsuite/AddLocationDialog.vue.d.ts +204 -204
  76. package/dist/views/integration/components/netsuite/LocationConfigurationDialog.vue.d.ts +2 -2
  77. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +665 -637
  78. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +22 -22
  79. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +44 -44
  80. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +11 -11
  81. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +614 -0
  82. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1190 -1142
  83. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1192 -1144
  84. package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +6 -0
  85. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
  86. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  87. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +14 -14
  88. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +22 -22
  89. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +17 -17
  90. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +11 -11
  91. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +805 -805
  92. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +805 -805
  93. package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
  94. package/dist/{vue-i18n-CXd9SF_G.js → vue-i18n-3Mh8tKq8.js} +341 -341
  95. package/package.json +3 -1
  96. package/dist/ClosingDraftView-C0ECZ9zi.js +0 -1394
  97. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-mHNmxBuV.js +0 -1746
@@ -1,10 +1,11 @@
1
1
  import { defineComponent as Q, mergeModels as Bd, computed as I, useModel as Gd, resolveComponent as T, openBlock as S, createElementBlock as F, createElementVNode as g, createVNode as N, withCtx as k, toDisplayString as w, unref as u, Fragment as q, renderList as ee, ref as D, createBlock as j, createCommentVNode as K, isRef as Je, normalizeClass as J, createTextVNode as Hd, watch as Id, createSlots as jd, normalizeStyle as Kd, Teleport as Wd } from "vue";
2
- import { u as re } from "./supplier-8x-ZFcOk.js";
3
- import { b as Ie, h as Yd, D as Qe, i as ie, f as _e, a as Fd, o as ed, p as dd, k as Xd, J as Zd, w as Od, u as pe, m as G, c as wd, e as V, r as Ad, s as zd, v as Td, x as qd, y as Jd, z as Qd, B as et, _ as dt, C as tt, E as rt, G as le } from "./app-Ch3IXeOL.js";
2
+ import { u as re } from "./supplier-BVdCk7nI.js";
3
+ import { b as Ie, f as Yd, D as Qe, h as ie, e as _e, a as Fd, n as ed, o as dd, j as Xd, H as Zd, v as Od, u as pe, l as G, d as V, q as wd, r as zd, s as Ad, w as qd, x as Jd, y as Qd, z as et, _ as dt, B as tt, C as rt, E as le } from "./app-BkIAyhP-.js";
4
4
  import { useI18n as X, useCoreStore as Fe } from "@feedmepos/mf-common";
5
5
  import { useDialog as Oe, useSnackbar as me, useProxiedModel as td, useDialogChild as nt, useBreakpoints as ot } from "@feedmepos/ui-library";
6
6
  import { _ as at } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
7
- import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-1-G4gmCj.js";
7
+ import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-B-erI7fq.js";
8
+ import { u as Td } from "./feature-CCDDWpq8.js";
8
9
  import { defineStore as it } from "pinia";
9
10
  function lt(e, d) {
10
11
  const { t } = X(), r = Ie();
@@ -243,7 +244,7 @@ const st = { class: "flex flex-col gap-12" }, ut = { class: "flex flex-col" }, c
243
244
  },
244
245
  emits: ["update:modelValue", "validation-success"],
245
246
  setup(e, { expose: d, emit: t }) {
246
- const r = e, n = t, o = wd(), a = Fd(), i = I(() => Od(a.skus, "_id")), { t: l } = X(), c = pe(), p = I(() => c.businessLevel), y = I({
247
+ const r = e, n = t, o = Td(), a = Fd(), i = I(() => Od(a.skus, "_id")), { t: l } = X(), c = pe(), p = I(() => c.businessLevel), y = I({
247
248
  get() {
248
249
  var s;
249
250
  return ((s = r.modelValue) == null ? void 0 : s.name) ?? "";
@@ -2357,8 +2358,8 @@ function Y1() {
2357
2358
  [],
2358
2359
  a.map((y) => y.name),
2359
2360
  ...r.map((y) => a.map((f) => y[f.id]))
2360
- ], l = a.map((y) => `system:${y.id}`), c = Ad(i, l), p = `${o == null ? void 0 : o.name} suppliers (${zd(/* @__PURE__ */ new Date())}).xlsx`;
2361
- return Td(c, p), p;
2361
+ ], l = a.map((y) => `system:${y.id}`), c = wd(i, l), p = `${o == null ? void 0 : o.name} suppliers (${zd(/* @__PURE__ */ new Date())}).xlsx`;
2362
+ return Ad(c, p), p;
2362
2363
  }
2363
2364
  function X1() {
2364
2365
  const d = Fe().currentBusiness.value, t = Ud(), r = [
@@ -2367,8 +2368,8 @@ function X1() {
2367
2368
  ["Menu version", d == null ? void 0 : d.menuVersion],
2368
2369
  [],
2369
2370
  t.map((i) => i.name)
2370
- ], n = t.map((i) => `system:${i.id}`), o = Ad(r, n), a = "FeedMe supplier template.xlsx";
2371
- return Td(o, a), a;
2371
+ ], n = t.map((i) => `system:${i.id}`), o = wd(r, n), a = "FeedMe supplier template.xlsx";
2372
+ return Ad(o, a), a;
2372
2373
  }
2373
2374
  function Z1(e) {
2374
2375
  const [
@@ -2806,10 +2807,10 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2806
2807
  }), mr = { class: "flex flex-col py-8" }, yr = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, vr = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, gr = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, hr = {
2807
2808
  key: 0,
2808
2809
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
2809
- }, br = "You are managing business-level supplier list. These suppliers will be made visible to all locations.", Fr = /* @__PURE__ */ Q({
2810
+ }, br = "You are managing business-level supplier list. These suppliers will be made visible to all locations.", Or = /* @__PURE__ */ Q({
2810
2811
  __name: "SupplierView",
2811
2812
  setup(e) {
2812
- const { importSuppliers: d, exportSuppliers: t } = pr(), r = re(), n = pe(), o = wd(), a = Ie(), i = D(!1), l = Oe(), c = me(), { t: p } = X();
2813
+ const { importSuppliers: d, exportSuppliers: t } = pr(), r = re(), n = pe(), o = Td(), a = Ie(), i = D(!1), l = Oe(), c = me(), { t: p } = X();
2813
2814
  n.watchLocation(f);
2814
2815
  const y = I(() => n.businessLevel);
2815
2816
  Id(y, f);
@@ -3013,5 +3014,5 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
3013
3014
  }
3014
3015
  });
3015
3016
  export {
3016
- Fr as default
3017
+ Or as default
3017
3018
  };