@orchidui/dashboard 1.59.0 → 1.61.0

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-D9_FsW21.js"));
2
+ const t = o(() => import("../../../OcOverviewMonthlyBarChart-zvNIg1f3.js"));
3
3
  export {
4
4
  t as OverviewMonthlyBarChart
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent as e } from "vue";
2
- const r = e(() => import("../../../OcOverviewPieChart-D2CKOk4R.js"));
2
+ const r = e(() => import("../../../OcOverviewPieChart-DZaeNduU.js"));
3
3
  export {
4
4
  r as OcOverviewPieChart
5
5
  };
@@ -1,12 +1,12 @@
1
1
  import { computed as i, ref as w, watch as F, createElementBlock as M, openBlock as S } from "vue";
2
2
  import { u as B } from "./useChart-D5nAyTGV.js";
3
- import { d as u } from "./dayjs.min-CTPVfFeV.js";
3
+ import { d as m } from "./dayjs.min-CTPVfFeV.js";
4
4
  const E = {
5
5
  __name: "OcOverviewMonthlyBarChart",
6
6
  props: {
7
7
  variant: {
8
8
  type: String,
9
- validator: (m) => ["primary", "purple"].includes(m)
9
+ validator: (u) => ["primary", "purple"].includes(u)
10
10
  },
11
11
  showTooltip: Boolean,
12
12
  showLegend: Boolean,
@@ -18,13 +18,13 @@ const E = {
18
18
  tooltipFormatter: Function,
19
19
  tooltipValueFormatter: Function
20
20
  },
21
- setup(m) {
22
- const e = m, s = i(() => e.labelData.length === 30), x = i(() => Math.max(...e.chartData));
21
+ setup(u) {
22
+ const e = u, s = i(() => e.labelData.length === 30), x = i(() => Math.max(...e.chartData));
23
23
  i(() => e.chartData.indexOf(x.value));
24
24
  const h = (t, a = "SGD") => (typeof t == "number" ? t : Number(t)).toLocaleString("en-US", {
25
25
  minimumFractionDigits: 2,
26
26
  maximumFractionDigits: 2
27
- }), y = (t, a = !1) => a ? u(t).format("DD MMM").toUpperCase() : u(t).format("ddd DD/MM").toUpperCase(), g = (t) => {
27
+ }), y = (t, a = !1) => a ? m(t).format("DD MMM").toUpperCase() : m(t).format("ddd DD/MM").toUpperCase(), g = (t) => {
28
28
  const a = [...e.chartData].sort((r, l) => l - r);
29
29
  return t === a[0] ? "#4C8AFD" : t === a[1] ? "#80ACFE" : "#CCDEFE";
30
30
  }, D = i(() => ({
@@ -50,7 +50,7 @@ const E = {
50
50
  lineStyle: { color: "#2465DE" }
51
51
  },
52
52
  formatter: (t) => {
53
- const a = e.labelData[t[0].dataIndex], r = u(a).format("DD MMM YYYY"), l = t[0].value;
53
+ const a = e.labelData[t[0].dataIndex], r = m(a).format("DD MMM YYYY"), l = t[0].value;
54
54
  return `
55
55
  <div class="py-3 px-4">
56
56
  <div class="flex items-center gap-2">
@@ -81,6 +81,7 @@ const E = {
81
81
  top: "20",
82
82
  containLabel: !0
83
83
  },
84
+ animation: !1,
84
85
  series: [{
85
86
  id: "myBar",
86
87
  data: e.chartData,
@@ -92,7 +93,7 @@ const E = {
92
93
  },
93
94
  clip: !0
94
95
  }]
95
- })), b = i(() => e.labelData.map((t, a) => u(t).day() === 6 && a + 1 < e.labelData.length ? [a, a + 1] : null).filter(Boolean)), v = {
96
+ })), b = i(() => e.labelData.map((t, a) => m(t).day() === 6 && a + 1 < e.labelData.length ? [a, a + 1] : null).filter(Boolean)), v = {
96
97
  itemStyle: {
97
98
  color: {
98
99
  type: "linear",
@@ -30,6 +30,7 @@ const L = { class: "flex flex-col items-center justify-center" }, N = { class: "
30
30
  borderColor: "#fff",
31
31
  borderWidth: 2
32
32
  },
33
+ animation: !1,
33
34
  label: {
34
35
  show: !1
35
36
  // Hide default labels
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.59.0",
4
+ "version": "1.61.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "vite build"
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "dayjs": "^1.11.10",
37
37
  "echarts": "^5.4.3",
38
- "@orchidui/core": "1.59.0",
38
+ "@orchidui/core": "1.61.0",
39
39
  "lottie-web": "^5.12.2",
40
40
  "quill": "^2.0.3",
41
41
  "quill-better-table": "^1.2.10",