@jcdecor/vue 0.1.0 → 0.1.6
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.
- package/README.md +7 -7
- package/dist/charts.js +97 -74
- package/dist/charts.js.map +1 -1
- package/dist/chat/ChatComposer.d.ts +14 -0
- package/dist/chat/ChatMessage.d.ts +4 -0
- package/dist/chat/ChatThread.d.ts +8 -0
- package/dist/chat/ConversationList.d.ts +8 -0
- package/dist/chat/types.d.ts +2 -0
- package/dist/chat.js +97 -55
- package/dist/chat.js.map +1 -1
- package/dist/components/PageHeader/PageHeader.d.ts +10 -29
- package/dist/components/PageHeader/PageHeader.types.d.ts +55 -0
- package/dist/components/PageHeader/PageHeader.vars.d.ts +2 -0
- package/dist/components/PageHeader/PageHeader.vue.d.ts +43 -0
- package/dist/components/TopNav/TopNav.types.d.ts +10 -2
- package/dist/components/TopNav/TopNav.vue.d.ts +2 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.js +634 -565
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme/themeDefaults.d.ts +27 -2
- package/dist/themeDefaults-C4raY1h-.js +52 -0
- package/dist/themeDefaults-C4raY1h-.js.map +1 -0
- package/package.json +1 -1
- package/dist/themeDefaults-Ckd05FUY.js +0 -29
- package/dist/themeDefaults-Ckd05FUY.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Design System da **JC Decor** para Vue 3: tema, tokens e componentes construídos sobre o [Mantine Vue](https://mantine-vue.dev) (porte comunitário do Mantine). É o irmão do [`@jcdecor/ui`](../ui) (React): mesmos tokens, mesmo CSS, mesmos nomes de componentes.
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
5
|
+
- Paleta da marca em rampas OKLCH com contraste WCAG AA, Poppins, spacing, raios e sombras (tokens compartilhados com o React)
|
|
6
|
+
- Tema claro (padrão) e escuro, lembrado no localStorage, com variáveis CSS `--ds-*`
|
|
7
|
+
- Todo o `@mantine-vue/core` reexportado já temado, mais `KpiCard`, `Tag`, `PromoBanner`, `TopNav`, `DataTable`, `ProductCard`, `PriceTag`…
|
|
8
|
+
- `@jcdecor/vue/chat`: bolhas, conversa, composer, lista de conversas e layout de atendimento
|
|
9
|
+
- `@jcdecor/vue/charts`: gráficos do `@mantine-vue/charts` (ECharts) na paleta da marca, em pt-BR, claro/escuro
|
|
10
|
+
- `@jcdecor/vue/brand`: logos e ilustrações SVG recoloríveis
|
|
11
11
|
|
|
12
12
|
## Instalação
|
|
13
13
|
|
|
@@ -65,4 +65,4 @@ const favorite = ref(false);
|
|
|
65
65
|
- `DataTable` aceita `#cell-<coluna>="{ row, index }"` além de `column.render`.
|
|
66
66
|
- Gráficos usam ECharts (canvas): as cores da marca são convertidas para hex e trocam sozinhas com o tema; a altura é `height` (`h` é aceito como alias).
|
|
67
67
|
|
|
68
|
-
Documentação: https://jc-decor.github.io/design-system/instalacao-vue
|
|
68
|
+
Documentação: https://jc-decor.github.io/design-system/instalacao-vue — escolha **Vue** no seletor do topo para ver todos os exemplos, códigos e playgrounds em Vue.
|
package/dist/charts.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as e } from "./themeDefaults-C4raY1h-.js";
|
|
2
2
|
import { c as t, l as n, n as r, o as i, r as a, u as o } from "./tokens-CDSk_JkY.js";
|
|
3
3
|
import { a as s, d as c } from "./format-D40SMATK.js";
|
|
4
4
|
import { Group as l, SegmentedControl as u, Text as d, hasNode as f, resolveNode as p, useComputedColorScheme as m, useMantineTheme as h } from "@mantine-vue/core";
|
|
5
|
-
import { computed as g, defineComponent as _, h as v, inject as y,
|
|
6
|
-
import { THEME_KEY as
|
|
7
|
-
import { AreaChart as
|
|
5
|
+
import { computed as g, defineComponent as _, h as v, inject as ee, nextTick as y, onMounted as b, onUpdated as x, provide as S, ref as C, toValue as w } from "vue";
|
|
6
|
+
import { THEME_KEY as T } from "vue-echarts";
|
|
7
|
+
import { AreaChart as te, BarChart as ne, BarsList as re, BubbleChart as ie, CandlestickChart as ae, ChartLegend as oe, ChartTooltip as se, CompositeChart as ce, DonutChart as le, FunnelChart as ue, GaugeChart as de, Heatmap as fe, LineChart as pe, MatrixChart as me, PieChart as E, RadarChart as D, RadialBarChart as O, SankeyChart as k, ScatterChart as A, Sparkline as j, Treemap as M, WaffleChart as N } from "@mantine-vue/charts";
|
|
8
8
|
//#region src/charts/echartsTheme.ts
|
|
9
|
-
var
|
|
10
|
-
function
|
|
11
|
-
if (!
|
|
9
|
+
var P = (e) => !!e && typeof e == "object" && !Array.isArray(e) && Object.getPrototypeOf(e) === Object.prototype;
|
|
10
|
+
function F(e, t) {
|
|
11
|
+
if (!P(t)) return e;
|
|
12
12
|
let n = { ...e };
|
|
13
|
-
for (let [e, r] of Object.entries(t)) r !== void 0 && (n[e] =
|
|
13
|
+
for (let [e, r] of Object.entries(t)) r !== void 0 && (n[e] = P(r) && P(n[e]) ? F(n[e], r) : r);
|
|
14
14
|
return n;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function I(e, n = {}) {
|
|
17
17
|
let a = o[e], s = {
|
|
18
18
|
axisLine: { lineStyle: { color: a.borderSoft } },
|
|
19
19
|
axisTick: {
|
|
@@ -112,46 +112,46 @@ function P(e, n = {}) {
|
|
|
112
112
|
}
|
|
113
113
|
//#endregion
|
|
114
114
|
//#region src/charts/palette.ts
|
|
115
|
-
function
|
|
115
|
+
function L(e) {
|
|
116
116
|
return a[e % a.length];
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function R(e) {
|
|
119
119
|
return e.map((e, t) => ({
|
|
120
120
|
...e,
|
|
121
|
-
color: e.color ??
|
|
121
|
+
color: e.color ?? L(t)
|
|
122
122
|
}));
|
|
123
123
|
}
|
|
124
|
-
var
|
|
125
|
-
function
|
|
124
|
+
var z = (e) => s(e), he = /^var\(\s*--jc-chart-(\d+)\s*(?:,[^)]*)?\)$/, ge = /^var\(\s*--mantine-color-([a-z][\w]*)-(\d)\s*\)$/i, _e = /^([a-z][\w]*)(?:\.(\d))?$/i;
|
|
125
|
+
function ve(e, t) {
|
|
126
126
|
let n = e.primaryShade;
|
|
127
127
|
return typeof n == "number" ? n : n?.[t] ?? 6;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function B(e, t, n) {
|
|
130
130
|
if (typeof e != "string") return;
|
|
131
131
|
let i = e.trim();
|
|
132
132
|
if (!i) return;
|
|
133
|
-
let a =
|
|
133
|
+
let a = he.exec(i);
|
|
134
134
|
if (a) {
|
|
135
135
|
let e = r[n], t = Number(a[1]) - 1;
|
|
136
136
|
return t >= 0 ? e[t % e.length] : i;
|
|
137
137
|
}
|
|
138
|
-
let o =
|
|
138
|
+
let o = ge.exec(i);
|
|
139
139
|
if (o) return t.colors[o[1]]?.[Number(o[2])] ?? i;
|
|
140
140
|
if (i === "white" && t.white) return t.white;
|
|
141
141
|
if (i === "black" && t.black) return t.black;
|
|
142
|
-
let s =
|
|
142
|
+
let s = _e.exec(i);
|
|
143
143
|
if (s) {
|
|
144
144
|
let e = t.colors[s[1]];
|
|
145
|
-
if (e) return e[s[2] === void 0 ?
|
|
145
|
+
if (e) return e[s[2] === void 0 ? ve(t, n) : Number(s[2])] ?? i;
|
|
146
146
|
}
|
|
147
147
|
return i;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function V(e, t) {
|
|
150
150
|
let n = r[t];
|
|
151
151
|
return n[e % n.length];
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
let e = h(), t = m("light"), n = g(() => t.value === "dark" ? "dark" : "light"), i = g(() => o[n.value]), a = g(() => r[n.value]), s = (t) =>
|
|
153
|
+
function H() {
|
|
154
|
+
let e = h(), t = m("light"), n = g(() => t.value === "dark" ? "dark" : "light"), i = g(() => o[n.value]), a = g(() => r[n.value]), s = (t) => B(t, e.value, n.value), c = (e) => V(e, n.value);
|
|
155
155
|
return {
|
|
156
156
|
scheme: n,
|
|
157
157
|
tokens: i,
|
|
@@ -166,38 +166,47 @@ function U() {
|
|
|
166
166
|
}
|
|
167
167
|
//#endregion
|
|
168
168
|
//#region src/charts/charts.ts
|
|
169
|
-
var
|
|
169
|
+
var ye = (e) => e.replace(/-([a-z])/g, (e, t) => t.toUpperCase()), be = /* @__PURE__ */ new Set([
|
|
170
170
|
"connectNulls",
|
|
171
171
|
"roundCaps",
|
|
172
172
|
"autoresize",
|
|
173
173
|
"loading"
|
|
174
|
-
]),
|
|
175
|
-
function
|
|
174
|
+
]), xe = (e) => be.has(e) || /^with[A-Z]/.test(e);
|
|
175
|
+
function U(e) {
|
|
176
176
|
let t = {};
|
|
177
177
|
for (let [n, r] of Object.entries(e)) {
|
|
178
|
-
let e = n.startsWith("data-") || n.startsWith("aria-") ? n :
|
|
179
|
-
t[e] = r === "" &&
|
|
178
|
+
let e = n.startsWith("data-") || n.startsWith("aria-") ? n : ye(n);
|
|
179
|
+
t[e] = r === "" && xe(e) ? !0 : r;
|
|
180
180
|
}
|
|
181
181
|
return t;
|
|
182
182
|
}
|
|
183
|
-
var
|
|
183
|
+
var Se = (e) => Object.fromEntries(Object.entries(e).filter(([, e]) => e !== void 0)), W = (e) => Array.isArray(e) ? e : void 0, G = (e) => typeof e == "string" ? e : void 0, K = (e) => typeof e == "function" ? e : z;
|
|
184
184
|
function q(e, t, n) {
|
|
185
185
|
return _({
|
|
186
186
|
name: `Jc${e}`,
|
|
187
187
|
inheritAttrs: !1,
|
|
188
188
|
props: n.props ?? {},
|
|
189
189
|
setup(e, { attrs: r, slots: i, expose: a }) {
|
|
190
|
-
let o =
|
|
191
|
-
|
|
192
|
-
let l =
|
|
193
|
-
|
|
190
|
+
let o = H(), s = ee(T, null), c = g(() => F(I(o.scheme.value, n.themeOptions?.(e)), w(s)));
|
|
191
|
+
S(T, c);
|
|
192
|
+
let l = C(), u = /* @__PURE__ */ new WeakSet(), d = () => {
|
|
193
|
+
let t = n.patch && l.value?.getEchartsInstance?.();
|
|
194
|
+
if (!t || u.has(t)) return;
|
|
195
|
+
u.add(t);
|
|
196
|
+
let i = () => n.patch(t, {
|
|
197
|
+
...e,
|
|
198
|
+
...U(r)
|
|
199
|
+
});
|
|
200
|
+
t.on("rendered", i), i();
|
|
201
|
+
};
|
|
202
|
+
return n.patch && (b(() => y(d)), x(() => y(d))), a({
|
|
194
203
|
getEchartsInstance: () => l.value?.getEchartsInstance?.(),
|
|
195
204
|
resize: () => l.value?.resize?.(),
|
|
196
205
|
setOption: (e) => l.value?.setOption?.(e)
|
|
197
206
|
}), () => {
|
|
198
207
|
let { h: a, ...s } = {
|
|
199
|
-
...
|
|
200
|
-
...
|
|
208
|
+
...Se(e),
|
|
209
|
+
...U(r)
|
|
201
210
|
};
|
|
202
211
|
s.height === void 0 && a !== void 0 && (s.height = a);
|
|
203
212
|
let c = {
|
|
@@ -232,9 +241,9 @@ function J(e, t, { c: n, t: r }) {
|
|
|
232
241
|
valueFormatter: s,
|
|
233
242
|
textColor: a,
|
|
234
243
|
gridColor: o,
|
|
235
|
-
xAxisProps:
|
|
236
|
-
yAxisProps:
|
|
237
|
-
rightYAxisProps:
|
|
244
|
+
xAxisProps: F(d ? u : l, t.xAxisProps),
|
|
245
|
+
yAxisProps: F(d ? l : u, t.yAxisProps),
|
|
246
|
+
rightYAxisProps: F(u, t.rightYAxisProps),
|
|
238
247
|
referenceLines: Y(t.referenceLines, n, r.text3),
|
|
239
248
|
referenceAreas: Y(t.referenceAreas, n, r.text3),
|
|
240
249
|
referenceDots: Y(t.referenceDots, n, r.text3),
|
|
@@ -247,8 +256,8 @@ function Y(e, t, n) {
|
|
|
247
256
|
color: t.resolve(e.color) ?? n
|
|
248
257
|
}));
|
|
249
258
|
}
|
|
250
|
-
function
|
|
251
|
-
return
|
|
259
|
+
function Ce(e, t) {
|
|
260
|
+
return F({ valueFormatter: (e) => t(Number(e)) }, e.tooltipProps);
|
|
252
261
|
}
|
|
253
262
|
var X = {
|
|
254
263
|
light: [
|
|
@@ -263,17 +272,29 @@ var X = {
|
|
|
263
272
|
n.horizon[500],
|
|
264
273
|
n.horizon[300]
|
|
265
274
|
]
|
|
266
|
-
},
|
|
275
|
+
}, we = q("LineChart", pe, { build: (e, t) => J({
|
|
267
276
|
height: 280,
|
|
268
277
|
curveType: "monotone",
|
|
269
278
|
strokeWidth: 2.5
|
|
270
|
-
}, e, t) }),
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
279
|
+
}, e, t) }), Te = q("AreaChart", te, {
|
|
280
|
+
props: { fillOpacity: {
|
|
281
|
+
type: Number,
|
|
282
|
+
default: void 0
|
|
283
|
+
} },
|
|
284
|
+
patch: (e, t) => {
|
|
285
|
+
let n = e.getOption().series ?? [];
|
|
286
|
+
if (!n.some((e) => e.type === "line" && !e.areaStyle)) return;
|
|
287
|
+
let r = typeof t.fillOpacity == "number" ? t.fillOpacity : .25;
|
|
288
|
+
e.setOption({ series: n.map((e) => e.type === "line" && !e.areaStyle ? { areaStyle: { opacity: r } } : {}) });
|
|
289
|
+
},
|
|
290
|
+
build: (e, t) => J({
|
|
291
|
+
height: 280,
|
|
292
|
+
curveType: "monotone",
|
|
293
|
+
strokeWidth: 2.5,
|
|
294
|
+
fillOpacity: .25
|
|
295
|
+
}, e, t)
|
|
296
|
+
});
|
|
297
|
+
function Ee(e) {
|
|
277
298
|
let t = e.barProps && typeof e.barProps == "object" ? e.barProps : {}, n = t.radius ?? t.borderRadius;
|
|
278
299
|
if (Array.isArray(n)) return n;
|
|
279
300
|
let r = e.type === "stacked" || e.type === "percent", i = typeof n == "number" ? n : r ? 0 : 4;
|
|
@@ -289,7 +310,7 @@ function Ce(e) {
|
|
|
289
310
|
0
|
|
290
311
|
];
|
|
291
312
|
}
|
|
292
|
-
var
|
|
313
|
+
var De = q("BarChart", ne, {
|
|
293
314
|
props: {
|
|
294
315
|
type: String,
|
|
295
316
|
orientation: String,
|
|
@@ -298,12 +319,12 @@ var we = q("BarChart", ee, {
|
|
|
298
319
|
default: void 0
|
|
299
320
|
}
|
|
300
321
|
},
|
|
301
|
-
themeOptions: (e) => ({ barRadius:
|
|
322
|
+
themeOptions: (e) => ({ barRadius: Ee(e) }),
|
|
302
323
|
build: (e, t) => J({ height: 280 }, e, t)
|
|
303
|
-
}),
|
|
324
|
+
}), Oe = q("CompositeChart", ce, { build: (e, t) => J({
|
|
304
325
|
height: 280,
|
|
305
326
|
curveType: "monotone"
|
|
306
|
-
}, e, t) }),
|
|
327
|
+
}, e, t) }), ke = q("RadarChart", D, { build: (e, { c: t }) => ({
|
|
307
328
|
height: 300,
|
|
308
329
|
...e,
|
|
309
330
|
series: t.withPalette(W(e.series))
|
|
@@ -312,19 +333,21 @@ function Z(e, t, { c: n, t: r }) {
|
|
|
312
333
|
let i = K(t.valueFormatter);
|
|
313
334
|
return {
|
|
314
335
|
height: typeof t.size == "number" ? t.size : 160,
|
|
336
|
+
...typeof t.size == "number" && { width: t.size },
|
|
315
337
|
withTooltip: !0,
|
|
338
|
+
chartLabelFontSize: 14,
|
|
316
339
|
...e,
|
|
317
340
|
...t,
|
|
318
341
|
valueFormatter: i,
|
|
319
|
-
tooltipProps:
|
|
342
|
+
tooltipProps: Ce(t, i),
|
|
320
343
|
chartLabelColor: n.resolve(G(t.chartLabelColor)) ?? r.text,
|
|
321
344
|
data: n.withPalette(W(t.data))
|
|
322
345
|
};
|
|
323
346
|
}
|
|
324
|
-
var
|
|
347
|
+
var Ae = q("DonutChart", le, { build: (e, t) => Z({
|
|
325
348
|
paddingAngle: 2,
|
|
326
349
|
thickness: 52
|
|
327
|
-
}, e, t) }),
|
|
350
|
+
}, e, t) }), je = q("PieChart", E, { build: (e, t) => Z({}, e, t) }), Me = q("Sparkline", j, { build: (e, { c: t }) => {
|
|
328
351
|
let n = e.trendColors;
|
|
329
352
|
return {
|
|
330
353
|
height: 48,
|
|
@@ -335,21 +358,21 @@ var De = q("DonutChart", se, { build: (e, t) => Z({
|
|
|
335
358
|
color: t.resolve(G(e.color)) ?? t.color(0),
|
|
336
359
|
trendColors: n && Object.fromEntries(Object.entries(n).map(([e, n]) => [e, t.resolve(n)]))
|
|
337
360
|
};
|
|
338
|
-
} }),
|
|
361
|
+
} }), Ne = q("ScatterChart", A, { build: (e, { c: t }) => ({
|
|
339
362
|
...e,
|
|
340
363
|
series: t.withPalette(W(e.series))
|
|
341
|
-
}) }),
|
|
342
|
-
valueFormatter:
|
|
364
|
+
}) }), Pe = q("BubbleChart", ie, { build: (e, { c: t }) => ({
|
|
365
|
+
valueFormatter: z,
|
|
343
366
|
...e,
|
|
344
367
|
color: t.resolve(G(e.color)) ?? t.color(0)
|
|
345
|
-
}) }),
|
|
346
|
-
valueFormatter:
|
|
368
|
+
}) }), Fe = q("FunnelChart", ue, { build: (e, { c: t }) => ({
|
|
369
|
+
valueFormatter: z,
|
|
347
370
|
...e,
|
|
348
371
|
data: t.withPalette(W(e.data))
|
|
349
|
-
}) }),
|
|
372
|
+
}) }), Q = q("RadialBarChart", O, { build: (e, { c: t }) => ({
|
|
350
373
|
...e,
|
|
351
374
|
data: t.withPalette(W(e.data))
|
|
352
|
-
}) }),
|
|
375
|
+
}) }), Ie = q("BarsList", re, {
|
|
353
376
|
themeOptions: () => ({ barRadius: [
|
|
354
377
|
0,
|
|
355
378
|
4,
|
|
@@ -357,20 +380,20 @@ var De = q("DonutChart", se, { build: (e, t) => Z({
|
|
|
357
380
|
0
|
|
358
381
|
] }),
|
|
359
382
|
build: (e, { c: t, t: n }) => ({
|
|
360
|
-
valueFormatter:
|
|
383
|
+
valueFormatter: z,
|
|
361
384
|
...e,
|
|
362
385
|
barColor: t.resolve(G(e.barColor)) ?? t.color(0),
|
|
363
386
|
textColor: t.resolve(G(e.textColor) ?? G(e.barTextColor)) ?? n.text2
|
|
364
387
|
})
|
|
365
|
-
}),
|
|
388
|
+
}), Le = q("Heatmap", fe, { build: (e, { c: t, scheme: n }) => ({
|
|
366
389
|
...e,
|
|
367
390
|
colors: (W(e.colors) ?? X[n]).map((e) => t.resolve(e) ?? e)
|
|
368
|
-
}) }),
|
|
391
|
+
}) }), Re = q("MatrixChart", me, { build: (e, { c: t, t: n, scheme: r }) => ({
|
|
369
392
|
...e,
|
|
370
393
|
colors: (W(e.colors) ?? X[r]).map((e) => t.resolve(e) ?? e),
|
|
371
394
|
emptyColor: t.resolve(G(e.emptyColor)) ?? n.surface2
|
|
372
|
-
}) }),
|
|
373
|
-
valueFormatter:
|
|
395
|
+
}) }), ze = q("GaugeChart", de, { build: (e, { c: t, t: n }) => ({
|
|
396
|
+
valueFormatter: z,
|
|
374
397
|
...e,
|
|
375
398
|
filledColor: t.resolve(G(e.filledColor)) ?? t.color(0),
|
|
376
399
|
trackColor: t.resolve(G(e.trackColor)) ?? n.borderSoft,
|
|
@@ -379,15 +402,15 @@ var De = q("DonutChart", se, { build: (e, t) => Z({
|
|
|
379
402
|
...e,
|
|
380
403
|
color: t.resolve(e.color) ?? t.color(n)
|
|
381
404
|
}))
|
|
382
|
-
}) }),
|
|
405
|
+
}) }), Be = q("WaffleChart", N, { build: (e, { c: t, t: n }) => ({
|
|
383
406
|
...e,
|
|
384
407
|
data: t.withPalette(W(e.data)),
|
|
385
408
|
emptyColor: t.resolve(G(e.emptyColor)) ?? n.borderSoft
|
|
386
|
-
}) }),
|
|
387
|
-
valueFormatter:
|
|
409
|
+
}) }), Ve = q("Treemap", M, { build: (e, { c: t }) => ({
|
|
410
|
+
valueFormatter: z,
|
|
388
411
|
...e,
|
|
389
412
|
data: t.withPalette(W(e.data))
|
|
390
|
-
}) }),
|
|
413
|
+
}) }), He = q("SankeyChart", k, { build: (e, { c: t }) => {
|
|
391
414
|
let n = (e) => e && t.withPalette(e).map((e) => ({
|
|
392
415
|
...e,
|
|
393
416
|
itemStyle: {
|
|
@@ -396,19 +419,19 @@ var De = q("DonutChart", se, { build: (e, t) => Z({
|
|
|
396
419
|
}
|
|
397
420
|
}));
|
|
398
421
|
return {
|
|
399
|
-
valueFormatter:
|
|
422
|
+
valueFormatter: z,
|
|
400
423
|
...e,
|
|
401
424
|
...e.nodes !== void 0 && { nodes: n(W(e.nodes)) },
|
|
402
425
|
...e.data !== void 0 && { data: n(W(e.data)) }
|
|
403
426
|
};
|
|
404
|
-
} }),
|
|
427
|
+
} }), Ue = q("CandlestickChart", ae, { build: (e, { c: t }) => ({
|
|
405
428
|
...e,
|
|
406
429
|
upColor: t.resolve(G(e.upColor) ?? "evergreen"),
|
|
407
430
|
downColor: t.resolve(G(e.downColor) ?? "danger")
|
|
408
431
|
}) }), $ = {
|
|
409
432
|
type: null,
|
|
410
433
|
default: void 0
|
|
411
|
-
},
|
|
434
|
+
}, We = _({
|
|
412
435
|
name: "ChartCard",
|
|
413
436
|
inheritAttrs: !1,
|
|
414
437
|
props: {
|
|
@@ -468,6 +491,6 @@ var De = q("DonutChart", se, { build: (e, t) => Z({
|
|
|
468
491
|
}
|
|
469
492
|
});
|
|
470
493
|
//#endregion
|
|
471
|
-
export {
|
|
494
|
+
export { Te as AreaChart, De as BarChart, Ie as BarsList, Pe as BubbleChart, Ue as CandlestickChart, We as ChartCard, oe as ChartLegend, se as ChartTooltip, Oe as CompositeChart, Ae as DonutChart, Fe as FunnelChart, ze as GaugeChart, Le as Heatmap, we as LineChart, Re as MatrixChart, je as PieChart, ke as RadarChart, Q as RadialBarChart, He as SankeyChart, Ne as ScatterChart, Me as Sparkline, Ve as Treemap, Be as WaffleChart, r as chartColors, a as chartPalette, I as createJcEChartsTheme, F as mergeChartOptions, L as paletteColor, V as paletteHex, z as ptBRValueFormatter, B as resolveChartColor, H as useJcChartColors, R as withPalette };
|
|
472
495
|
|
|
473
496
|
//# sourceMappingURL=charts.js.map
|