@feedmepos/mf-inventory-portal 0.0.17-dev.1 → 0.0.17-dev.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/{ApprovalView-NJ4FogNu.js → ApprovalView-C72rFK1R.js} +9 -9
  2. package/dist/{BindingsDialog-B-j1k1SE.js → BindingsDialog-gL9pxfYy.js} +5 -5
  3. package/dist/{BindingsPicker-CEi3jyh0.js → BindingsPicker-5mFctYt_.js} +6 -6
  4. package/dist/{BindingsTable-DHYJ2Eqm.js → BindingsTable-C6x9dxpe.js} +26 -26
  5. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-1XPAzm5R.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CYZ5Ecsh.js} +1 -1
  6. package/dist/{FmMultiselectDialog.vue_vue_type_script_setup_true_lang-DL98UqsQ.js → FmMultiselectDialog.vue_vue_type_script_setup_true_lang-blApBVkg.js} +9 -9
  7. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-Db_M7Cx1.js +236 -0
  8. package/dist/IngredientsView-P0zlf89O.js +1771 -0
  9. package/dist/{IntegrationView-DxqyRxVR.js → IntegrationView-C1SXz981.js} +4 -4
  10. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang--KLpvU2e.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BfBvA1g5.js} +6 -6
  11. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HpuL5QhV.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CSuO9X2f.js} +1 -1
  12. package/dist/{PurchaseOrderPrintPreview-BGbCA7Al.js → PurchaseOrderPrintPreview-DGZafWSJ.js} +4 -4
  13. package/dist/ReceiveRequestView-C8yrU5NY.js +1435 -0
  14. package/dist/RecipeView-DJy1k_j1.js +581 -0
  15. package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-Dov3Uq2z.js +64 -0
  16. package/dist/{StockView-Pyk4MBIQ.js → StockView-CEmw7w_F.js} +13 -13
  17. package/dist/SupplierView-D0y-ASGR.js +804 -0
  18. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Ctqjw3f1.js → TransferDetails.vue_vue_type_script_setup_true_lang-DzK7B6nw.js} +5 -5
  19. package/dist/{UnitView-DVauPXKw.js → UnitView-PnHtBAGc.js} +7 -7
  20. package/dist/{WarehouseView-BYivsQgQ.js → WarehouseView-DXhn95Vl.js} +4 -4
  21. package/dist/api/inventory.d.ts +105 -0
  22. package/dist/{app-DXqS7qYg.js → app-CjkBFVBh.js} +2693 -2664
  23. package/dist/app.js +1 -1
  24. package/dist/components/FmDroppableField.vue.d.ts +75 -0
  25. package/dist/components/FmUnitInputProps.d.ts +1 -0
  26. package/dist/components/FmUnitInputRules.d.ts +3 -1
  27. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -0
  28. package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -0
  29. package/dist/{date2-B96h4mWb.js → date2-D-5KX0_X.js} +55 -46
  30. package/dist/{dayjs.min-CQkpEWlm.js → dayjs.min-BKYgFjeY.js} +526 -514
  31. package/dist/{decimal-DQOX97fs.js → decimal-CNnMmnJA.js} +1 -1
  32. package/dist/{fuzzy-Dr-kBYFA.js → fuzzy-BPDipSKr.js} +1 -1
  33. package/dist/helper/number.d.ts +8 -0
  34. package/dist/helper/random.d.ts +2 -0
  35. package/dist/helper/xlsx.util.d.ts +1 -0
  36. package/dist/{init-date-range-6CJBD0GL.js → init-date-range-58-0kupV.js} +1 -1
  37. package/dist/{layout-CVjYEZxq.js → layout-D2Kwl_3f.js} +12 -12
  38. package/dist/{rules-B_-yQn9M.js → rules-D0MrF_UU.js} +1 -1
  39. package/dist/{stock-estimate-DoU-A7bG.js → stock-estimate-CwklebfL.js} +2 -2
  40. package/dist/stores/inventory.d.ts +5 -0
  41. package/dist/style.css +1 -1
  42. package/dist/{supplier-D2Wuv0oV.js → supplier-D4woY4Fa.js} +1 -1
  43. package/dist/tsconfig.app.tsbuildinfo +1 -1
  44. package/dist/{use-inventory-binding-dialog-Bc0Yx1fK.js → use-inventory-binding-dialog-C6CEI0CS.js} +2 -2
  45. package/dist/views/ingredients/components/import-ingredients/ImportIngredientItem.vue.d.ts +12 -0
  46. package/dist/views/ingredients/components/import-ingredients/ImportIngredientItemProps.d.ts +6 -0
  47. package/dist/views/ingredients/components/import-ingredients/ImportIngredients.vue.d.ts +2 -0
  48. package/dist/views/ingredients/components/import-ingredients/ImportIngredientsProps.d.ts +5 -0
  49. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -0
  50. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -0
  51. package/dist/views/ingredients/helper/import-export.helper.d.ts +47 -0
  52. package/dist/views/ingredients/helper/sku-id.helper.d.ts +1 -0
  53. package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistoryProps.d.ts +1 -0
  54. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +5 -0
  55. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +4 -0
  56. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +12 -0
  57. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +4 -2
  58. package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
  59. package/dist/xlsx-BfH_6O8P.js +24004 -0
  60. package/dist/xlsx.util-BpHfmZp6.js +107 -0
  61. package/package.json +7 -6
  62. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-DqD-jNxc.js +0 -229
  63. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-BYi6BUwT.js +0 -49
  64. package/dist/IngredientsView-DNbppADe.js +0 -973
  65. package/dist/ReceiveRequestView-C1ae5dRi.js +0 -1434
  66. package/dist/RecipeView-BwP8jlG0.js +0 -596
  67. package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js +0 -53
  68. package/dist/SupplierView-CVZ7bOgA.js +0 -803
  69. package/dist/xlsx-Vw9D2Jo4.js +0 -15510
@@ -1,11 +1,11 @@
1
1
  import { ref as F, computed as re, h as Se, defineComponent as Ue, resolveComponent as H, openBlock as f, createBlock as I, unref as y, isRef as Me, withCtx as se, createElementVNode as e, createVNode as G, createElementBlock as x, Fragment as ee, normalizeClass as ae, toDisplayString as O, createCommentVNode as S, renderList as me } from "vue";
2
- import { i as Fe } from "./init-date-range-6CJBD0GL.js";
3
- import { f as Le, e as oe, t as v, v as je, c as Ce, p as M, s as Y, a as xe } from "./app-DXqS7qYg.js";
4
- import { r as ne, m as Be, n as Ie, i as Pe, c as pe, a as ce, l as Ve, k as Ge, j as Ke } from "./date2-B96h4mWb.js";
2
+ import { i as Fe } from "./init-date-range-58-0kupV.js";
3
+ import { h as Le, f as oe, v, w as je, c as Ce, q as M, s as Y, a as xe } from "./app-CjkBFVBh.js";
4
+ import { r as ne, m as Be, n as Ie, i as Pe, c as pe, a as ce, l as Ve, k as Ge, j as Ke } from "./date2-D-5KX0_X.js";
5
5
  import { F as ke, D as N, R as k } from "./row-action.enum-BwQbURNh.js";
6
6
  import { useDialog as Ne, useSnackbar as Ee, components as Ae, useProxiedModel as ze } from "@feedmepos/ui-library";
7
- import { c as Re } from "./layout-CVjYEZxq.js";
8
- import { F as He } from "./decimal-DQOX97fs.js";
7
+ import { c as Re } from "./layout-D2Kwl_3f.js";
8
+ import { F as He } from "./decimal-CNnMmnJA.js";
9
9
  import { E as Qe } from "./empty-placeholder-wf6-BWE8.js";
10
10
  const Te = Le((a, i) => {
11
11
  const d = oe();
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as q, computed as x, openBlock as c, createElementBlock as U, Fragment as z, renderList as j, createElementVNode as l, toDisplayString as g, createCommentVNode as G, ref as R, resolveComponent as A, createBlock as T, withCtx as I, createVNode as m, unref as d, isRef as W, normalizeStyle as se, Teleport as ae, normalizeProps as ne, guardReactiveProps as re } from "vue";
2
- import { u as H, S as ie, c as te, b as X, e as de } from "./app-DXqS7qYg.js";
2
+ import { u as H, S as ie, c as te, b as X, f as de } from "./app-CjkBFVBh.js";
3
3
  import { useDialog as ue, useSnackbar as oe, useProxiedModel as Z, useBreakpoints as ce } from "@feedmepos/ui-library";
4
4
  import { i as me, _ as pe } from "./is-linked-ingredient-error-C6AghEwR.js";
5
5
  import { F as w, D as ee, R as N } from "./row-action.enum-BwQbURNh.js";
6
- import { c as fe, _ as ve, F as be, u as ye } from "./layout-CVjYEZxq.js";
7
- import { _ as _e } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js";
8
- import { R as L, A as ge, a as xe } from "./rules-B_-yQn9M.js";
9
- import { a as O, c as he } from "./date2-B96h4mWb.js";
10
- import { F as Ve } from "./decimal-DQOX97fs.js";
11
- import { _ as we } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HpuL5QhV.js";
6
+ import { c as fe, _ as ve, F as be, u as ye } from "./layout-D2Kwl_3f.js";
7
+ import { _ as _e } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-Dov3Uq2z.js";
8
+ import { R as L, A as ge, a as xe } from "./rules-D0MrF_UU.js";
9
+ import { a as O, c as he } from "./date2-D-5KX0_X.js";
10
+ import { F as Ve } from "./decimal-CNnMmnJA.js";
11
+ import { _ as we } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CSuO9X2f.js";
12
12
  const Ue = { class: "flex flex-col gap-8" }, Ce = /* @__PURE__ */ l("div", { class: "fm-typo-en-body-md-400" }, "Sorry, this unit is used in the following modules:", -1), $e = {
13
13
  key: 0,
14
14
  class: "flex flex-col"
@@ -1,11 +1,11 @@
1
1
  import { ref as D, defineComponent as q, watch as Y, onMounted as oe, onUnmounted as Me, openBlock as T, createElementBlock as B, toRaw as be, reactive as Se, createElementVNode as g, toDisplayString as X, createVNode as k, pushScopeId as Fe, popScopeId as De, resolveComponent as U, unref as C, createSlots as Pe, withCtx as I, createTextVNode as Te, renderSlot as Ee, createBlock as N, createCommentVNode as xe, computed as F, isRef as we, normalizeStyle as Re } from "vue";
2
- import { f as We, j as Ue, k as Le, c as z, l as te, m as ae, n as Ie, _ as Be, e as Ne } from "./app-DXqS7qYg.js";
2
+ import { h as We, k as Ue, l as Le, c as z, m as te, n as ae, o as Ie, _ as Be, f as Ne } from "./app-CjkBFVBh.js";
3
3
  import { useCoreStore as qe } from "@feedmepos/mf-common";
4
4
  import { D as Ve, R as Z, F as R } from "./row-action.enum-BwQbURNh.js";
5
- import { c as ze, _ as je, F as J, u as Oe } from "./layout-CVjYEZxq.js";
6
- import { _ as Ge } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js";
5
+ import { c as ze, _ as je, F as J, u as Oe } from "./layout-D2Kwl_3f.js";
6
+ import { _ as Ge } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-Dov3Uq2z.js";
7
7
  import { useDialogChild as Ke, useDialog as Ce, useSnackbar as le, useProxiedModel as ee, useBreakpoints as He } from "@feedmepos/ui-library";
8
- import { R as L } from "./rules-B_-yQn9M.js";
8
+ import { R as L } from "./rules-D0MrF_UU.js";
9
9
  const Q = We((u, c) => {
10
10
  const p = qe();
11
11
  return {
@@ -61,6 +61,7 @@ export declare const useInventoryApi: () => {
61
61
  low: number;
62
62
  mid: number;
63
63
  } | null | undefined;
64
+ operationalGroup?: string | null | undefined;
64
65
  unit: {
65
66
  _id: string;
66
67
  name: string;
@@ -163,6 +164,110 @@ export declare const useInventoryApi: () => {
163
164
  low: number;
164
165
  mid: number;
165
166
  } | null | undefined;
167
+ operationalGroup?: string | null | undefined;
168
+ unit: {
169
+ _id: string;
170
+ name: string;
171
+ abbrev: string;
172
+ precision: number;
173
+ measurements: {
174
+ id: string;
175
+ name: string;
176
+ abbrev: string;
177
+ conversion: {
178
+ amount: number;
179
+ precision: number;
180
+ };
181
+ }[];
182
+ };
183
+ code: string;
184
+ _id: string;
185
+ name: string;
186
+ }[] | null | undefined;
187
+ recipe?: {
188
+ _id: string;
189
+ name: string;
190
+ contains: {
191
+ measurement?: {
192
+ id: string;
193
+ name: string;
194
+ abbrev: string;
195
+ conversion: {
196
+ amount: number;
197
+ precision: number;
198
+ };
199
+ } | null | undefined;
200
+ type: "RECIPE" | "SKU";
201
+ amount: {
202
+ amount: number;
203
+ precision: number;
204
+ };
205
+ id: string;
206
+ }[];
207
+ }[] | null | undefined;
208
+ updatedAt?: string | null | undefined;
209
+ _id: string;
210
+ }>>;
211
+ importSkus(skus: FdtoBulkSkuRequest): Promise<WithRev<{
212
+ unit?: {
213
+ _id: string;
214
+ name: string;
215
+ abbrev: string;
216
+ precision: number;
217
+ measurements: {
218
+ id: string;
219
+ name: string;
220
+ abbrev: string;
221
+ conversion: {
222
+ amount: number;
223
+ precision: number;
224
+ };
225
+ }[];
226
+ }[] | null | undefined;
227
+ sku?: {
228
+ trackingMeasurement?: string | null | undefined;
229
+ convert?: {
230
+ measurement?: string | null | undefined;
231
+ inventoryBindings?: {
232
+ measurement?: {
233
+ id: string;
234
+ name: string;
235
+ abbrev: string;
236
+ conversion: {
237
+ amount: number;
238
+ precision: number;
239
+ };
240
+ } | null | undefined;
241
+ type: "RECIPE" | "SKU";
242
+ amount: {
243
+ amount: number;
244
+ precision: number;
245
+ };
246
+ id: string;
247
+ }[] | null | undefined;
248
+ } | null | undefined;
249
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
250
+ defaultCost?: {
251
+ measurement?: {
252
+ id: string;
253
+ name: string;
254
+ abbrev: string;
255
+ conversion: {
256
+ amount: number;
257
+ precision: number;
258
+ };
259
+ } | null | undefined;
260
+ costPerUnit: {
261
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
262
+ amount: number;
263
+ precision: number;
264
+ };
265
+ } | null | undefined;
266
+ thresholds?: {
267
+ low: number;
268
+ mid: number;
269
+ } | null | undefined;
270
+ operationalGroup?: string | null | undefined;
166
271
  unit: {
167
272
  _id: string;
168
273
  name: string;