@orchidui/dashboard 1.14.0 → 1.16.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("../../../OcBarRaceChart-Cu4K9WI5.js"));
2
+ const t = o(() => import("../../../OcBarRaceChart-D_XrqdiO.js"));
3
3
  export {
4
4
  t as BarRaceChart
5
5
  };
@@ -1,6 +1,6 @@
1
- import { computed as d, ref as h, openBlock as i, createElementBlock as s, createElementVNode as l, Fragment as m, renderList as u, toDisplayString as f } from "vue";
1
+ import { computed as d, ref as h, openBlock as i, createElementBlock as l, createElementVNode as s, Fragment as m, renderList as u, renderSlot as f, toDisplayString as y } from "vue";
2
2
  import { useChart as x } from "./Dashboard/composables/useChart.js";
3
- const y = { class: "grid grid-cols-2" }, v = { class: "pt-4 pb-7 flex flex-col h-[100%]" }, b = { class: "text-[14px] flex flex-1 items-center justify-start pr-2" }, g = { class: "truncate" }, _ = {
3
+ const g = { class: "grid grid-cols-2" }, v = { class: "pt-4 pb-7 flex flex-col h-[100%]" }, b = { class: "text-[14px] flex flex-1 items-center justify-start pr-2 gap-3" }, w = { class: "truncate" }, D = {
4
4
  __name: "OcBarRaceChart",
5
5
  props: {
6
6
  variant: {
@@ -21,7 +21,7 @@ const y = { class: "grid grid-cols-2" }, v = { class: "pt-4 pb-7 flex flex-col h
21
21
  const t = a, r = {
22
22
  primary: "#2465DE",
23
23
  purple: "#B14AED"
24
- }, c = d(() => ({
24
+ }, p = d(() => ({
25
25
  xAxis: {
26
26
  show: !1,
27
27
  type: "value"
@@ -121,13 +121,15 @@ const y = { class: "grid grid-cols-2" }, v = { class: "pt-4 pb-7 flex flex-col h
121
121
  }
122
122
  ]
123
123
  })), n = h();
124
- return x(n, c), (e, o) => (i(), s("div", y, [
125
- l("div", v, [
126
- (i(!0), s(m, null, u(a.legendData, (p) => (i(), s("div", b, [
127
- l("div", g, f(p), 1)
124
+ return x(n, p), (e, o) => (i(), l("div", g, [
125
+ s("div", v, [
126
+ (i(!0), l(m, null, u(a.legendData, (c) => (i(), l("div", b, [
127
+ f(e.$slots, "legend-item", { data: c }, () => [
128
+ s("div", w, y(c), 1)
129
+ ])
128
130
  ]))), 256))
129
131
  ]),
130
- l("div", {
132
+ s("div", {
131
133
  ref_key: "barRaceChart",
132
134
  ref: n,
133
135
  class: "h-full"
@@ -136,5 +138,5 @@ const y = { class: "grid grid-cols-2" }, v = { class: "pt-4 pb-7 flex flex-col h
136
138
  }
137
139
  };
138
140
  export {
139
- _ as default
141
+ D as default
140
142
  };
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.14.0",
4
+ "version": "1.16.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "vite build"