@feedmepos/mf-inventory-portal 0.0.16-dev.4 → 0.0.16

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 (45) hide show
  1. package/dist/{ApprovalView-D9C7rHJx.js → ApprovalView-UPMlfF5g.js} +6 -6
  2. package/dist/{BindingsDialog-buXR6Yk9.js → BindingsDialog-DLiropIq.js} +2 -2
  3. package/dist/{BindingsPicker-BvASTaHN.js → BindingsPicker-DhCy4s2z.js} +2 -2
  4. package/dist/{BindingsTable-Dw1xyhVY.js → BindingsTable-Dhps_Bmp.js} +3 -3
  5. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BNKPrhU4.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DaGRG8JZ.js} +1 -1
  6. package/dist/{FmMultiselectDialog.vue_vue_type_script_setup_true_lang-DjtWEiaX.js → FmMultiselectDialog.vue_vue_type_script_setup_true_lang-C4CDnbbR.js} +2 -2
  7. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BWiho7ex.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BOH3bs27.js} +67 -61
  8. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-i__VP50t.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-pxmVRIYW.js} +1 -1
  9. package/dist/IngredientsView-BugOG1Jr.js +832 -0
  10. package/dist/{IntegrationView-DyZnpLTv.js → IntegrationView-CzsOzr40.js} +3 -3
  11. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-7hywEbm3.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-mXNWcOA1.js} +6 -6
  12. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BoeT2uYW.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BurvAmK1.js} +1 -1
  13. package/dist/{PurchaseOrderPrintPreview-pVK-MsCr.js → PurchaseOrderPrintPreview-ClzPjQT5.js} +1 -1
  14. package/dist/{ReceiveRequestView-CA_RIYvA.js → ReceiveRequestView-DMwEXkO8.js} +140 -138
  15. package/dist/{RecipeView-Sgb8_tc_.js → RecipeView-DueXRRaL.js} +7 -7
  16. package/dist/StockView-BN5rzuO5.js +1887 -0
  17. package/dist/{SupplierView-CGgIoIoe.js → SupplierView-mKXvaKxV.js} +7 -7
  18. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DOwNBvE4.js → TransferDetails.vue_vue_type_script_setup_true_lang-CGQsxC-o.js} +5 -5
  19. package/dist/{UnitView-EC6fIteN.js → UnitView-Blc7xGVs.js} +6 -6
  20. package/dist/{WarehouseView-BBGQOo-p.js → WarehouseView-Bto12ePn.js} +3 -3
  21. package/dist/api/stock.d.ts +0 -8
  22. package/dist/{app-DWEBksMJ.js → app-6F9Nq1nz.js} +3 -3
  23. package/dist/app.js +1 -1
  24. package/dist/components/FmUnitInputRules.d.ts +1 -0
  25. package/dist/components/StockForecast.vue.d.ts +1 -1
  26. package/dist/components/StockForecastProps.d.ts +0 -7
  27. package/dist/{date2-BGw2yxz6.js → date2-BfJmVTjj.js} +4 -4
  28. package/dist/{dayjs.min-DMBlwM1e.js → dayjs.min-fpInHghy.js} +136 -171
  29. package/dist/{decimal-IX5J2M2Q.js → decimal-CCOpA0Pu.js} +1 -1
  30. package/dist/{fuzzy-BJJLQXOg.js → fuzzy-5KUpKfV-.js} +1 -1
  31. package/dist/{init-date-range-JFO0goN0.js → init-date-range-BFXfLRPQ.js} +1 -1
  32. package/dist/{layout-GmP8aw4h.js → layout-17a6ifdn.js} +1 -1
  33. package/dist/{rules-Jd37cDot.js → rules-lFRUMKT0.js} +1 -1
  34. package/dist/{stock-estimate-DUH9oiLY.js → stock-estimate-BpYbGfCv.js} +2 -2
  35. package/dist/{supplier-CeMSP8zW.js → supplier-DcmzVKNJ.js} +1 -1
  36. package/dist/tsconfig.app.tsbuildinfo +1 -1
  37. package/dist/{use-inventory-binding-dialog-C723MT2T.js → use-inventory-binding-dialog-CGJklwZu.js} +2 -2
  38. package/dist/util-CEVKTbZD.js +18 -0
  39. package/dist/{xlsx-DEPBo87X.js → xlsx-Cm2_c_X-.js} +1 -1
  40. package/package.json +5 -5
  41. package/dist/IngredientsView-BATOKqen.js +0 -973
  42. package/dist/StockForecast.vue_vue_type_style_index_0_lang-B5EK101t.js +0 -58
  43. package/dist/StockView-Du8dVSEs.js +0 -1960
  44. package/dist/views/ingredients/helper/sku-days-threshold.helper.d.ts +0 -1
  45. package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +0 -9
@@ -1,58 +0,0 @@
1
- import { defineComponent as d, computed as f, openBlock as i, createElementBlock as l, createElementVNode as r, normalizeClass as c, toDisplayString as m } from "vue";
2
- function _(e, o = !1) {
3
- var t;
4
- return e ? [
5
- {
6
- label: o ? e.abbrev : `1 ${e.name} (${e.abbrev})`,
7
- abbrev: e.abbrev,
8
- value: null
9
- },
10
- ...((t = e.measurements) == null ? void 0 : t.map((a) => ({
11
- label: o ? a.abbrev : `1 ${a.name} (${a.abbrev})`,
12
- abbrev: a.abbrev,
13
- value: a.id
14
- }))) ?? []
15
- ] : [];
16
- }
17
- var n = /* @__PURE__ */ ((e) => (e.noInfo = "no-info", e.low = "low", e.mid = "mid", e.high = "high", e))(n || {});
18
- const p = {
19
- key: 0,
20
- class: "flex"
21
- }, b = {
22
- key: 1,
23
- class: "flex"
24
- }, y = /* @__PURE__ */ r("div", { class: "flex px-8 py-4 bg-fm-color-neutral-gray-100 fm-corner-radius-md gap-8" }, [
25
- /* @__PURE__ */ r("p", { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, "No data")
26
- ], -1), u = [
27
- y
28
- ], g = /* @__PURE__ */ d({
29
- __name: "StockForecast",
30
- props: {
31
- days: {},
32
- level: {}
33
- },
34
- setup(e) {
35
- const o = e, s = f(() => o.level ? o.level : typeof o.days != "number" ? n.noInfo : o.days > 14 ? n.high : o.days >= 7 && o.days <= 14 ? n.mid : n.low);
36
- return (t, a) => typeof o.days == "number" ? (i(), l("div", p, [
37
- r("div", {
38
- class: c([
39
- `fm-forecast-notification-${s.value}`,
40
- "flex items-center gap-8 p-4 fm-corner-radius-md fm-typo-en-body-md-600"
41
- ])
42
- }, [
43
- r("div", {
44
- class: c([
45
- "fm-forecast-notification-indicator",
46
- `fm-forecast-notification-indicator-${s.value}`
47
- ])
48
- }, null, 2),
49
- r("div", null, m(o.days) + " days", 1)
50
- ], 2)
51
- ])) : (i(), l("div", b, u));
52
- }
53
- });
54
- export {
55
- n as S,
56
- g as _,
57
- _ as g
58
- };