@orchidui/dashboard 1.23.3 → 1.23.5

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.
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent as o } from "vue";
2
- const t = o(() => import("../../../OcOverviewMonthlyBarChart-Du2jaTOy.js"));
2
+ const t = o(() => import("../../../OcOverviewMonthlyBarChart-DWCIliP7.js"));
3
3
  export {
4
4
  t as OverviewMonthlyBarChart
5
5
  };
@@ -21,15 +21,15 @@ const O = {
21
21
  setup(d) {
22
22
  const a = d, i = s(() => a.labelData.length === 30), x = s(() => Math.max(...a.chartData));
23
23
  s(() => a.chartData.indexOf(x.value));
24
- const y = (t, e = "SGD") => (typeof t == "number" ? t : Number(t)).toLocaleString("en-US", {
24
+ const g = (t, e = "SGD") => (typeof t == "number" ? t : Number(t)).toLocaleString("en-US", {
25
25
  minimumFractionDigits: 2,
26
26
  maximumFractionDigits: 2
27
- }), g = (t, e = !1) => e ? l(t).format("DD MMM").toUpperCase() : l(t).format("ddd DD/MM").toUpperCase(), D = (t) => {
27
+ }), y = (t, e = !1) => e ? l(t).format("DD MMM").toUpperCase() : l(t).format("ddd DD/MM").toUpperCase(), D = (t) => {
28
28
  const e = [...a.chartData].sort((r, c) => c - r);
29
29
  return t === e[0] ? "#4C8AFD" : t === e[1] ? "#80ACFE" : "#CCDEFE";
30
30
  }, b = s(() => ({
31
31
  xAxis: {
32
- data: a.labelData.map((t) => g(t, i.value)),
32
+ data: a.labelData.map((t) => y(t, i.value)),
33
33
  splitLine: { show: !1 },
34
34
  axisLine: { show: !1 },
35
35
  axisTick: { show: !1 },
@@ -59,7 +59,7 @@ const O = {
59
59
  <span class="text-xs font-medium text-oc-text-300">${r}</span>
60
60
  </div>
61
61
  <div class="flex items-center gap-2">
62
- <span class="font-semibold text-oc-text font-reddit-mono">SGD ${y(c)}</span>
62
+ <span class="font-semibold text-oc-text font-reddit-mono">SGD ${g(c)}</span>
63
63
  </div>
64
64
  </div>
65
65
  `;
@@ -76,6 +76,13 @@ const O = {
76
76
  },
77
77
  splitLine: { show: !1 }
78
78
  },
79
+ grid: {
80
+ left: "0",
81
+ right: "0",
82
+ bottom: "0",
83
+ top: "20",
84
+ containLabel: !0
85
+ },
79
86
  series: [{
80
87
  id: "myBar",
81
88
  data: a.chartData,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orchidui/dashboard",
3
3
  "description": "Orchid Dashboard UI , Dashboard Ui Library Vue 3 tailwind css",
4
- "version": "1.23.3",
4
+ "version": "1.23.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "vite build"
@@ -33,6 +33,6 @@
33
33
  "rollup": "npm:@rollup/wasm-node"
34
34
  },
35
35
  "dependencies": {
36
- "@orchidui/core": "1.23.3"
36
+ "@orchidui/core": "1.23.5"
37
37
  }
38
38
  }