@hybridcore/ui 1.6.8 → 1.6.10

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 (47) hide show
  1. package/dist/AnimatedTheme-ktdO3Bel.js +7708 -0
  2. package/dist/{AxisRenderer-DTyLLA6c.js → AxisRenderer-BCQoUJw6.js} +51 -49
  3. package/dist/{AxisRendererY-C_ItLPNV.js → AxisRendererY-AXWvGU6r.js} +3 -3
  4. package/dist/{Bullet-DVczI2TD.js → Bullet-Djj7Vs9T.js} +1 -1
  5. package/dist/{Button-CcsPEIDh.js → Button-BLY4PVJC.js} +3 -3
  6. package/dist/{CategoryAxis-CwnfaGc8.js → CategoryAxis-B6NqW8qd.js} +3 -3
  7. package/dist/{Circle-Cy5s-pVc.js → Circle-BnfBNKBD.js} +1 -1
  8. package/dist/ColorSet-cyPmWGwh.js +77 -0
  9. package/dist/{ColumnSeries-CjgdJ2QL.js → ColumnSeries-CtRTsn-E.js} +4 -4
  10. package/dist/{DateAxis-YX3QNIB-.js → DateAxis-DEXKps1S.js} +8 -7
  11. package/dist/{ColorSet-C7vpNXhM.js → Entity-BJCuhdq_.js} +638 -712
  12. package/dist/GaplessDateAxis-B2g2jgSG.js +376 -0
  13. package/dist/{Hierarchy-Bihj0S61.js → Hierarchy-CEOK8Gzh.js} +21 -19
  14. package/dist/{Legend-Dp_MKfS4.js → Legend-CFvQiIfn.js} +11 -10
  15. package/dist/{LineSeries-Uiv5o56b.js → LineSeries-D_IL2qGF.js} +13 -12
  16. package/dist/{LinearGradient-DiRq5YcI.js → LinearGradient-CxQyCSEB.js} +11 -11
  17. package/dist/{PieSeries-B2fW3z0s.js → PieSeries-CMH0Z7pz.js} +34 -32
  18. package/dist/{RoundedRectangle-CWLi2PXn.js → RoundedRectangle-BKLX1LKM.js} +4 -4
  19. package/dist/{Scrollbar-D86MJyr2.js → Scrollbar-CTI7_8Qw.js} +4 -4
  20. package/dist/{Slice-B19rbYDZ.js → Slice-BUncQh1B.js} +2 -2
  21. package/dist/{Tick-2bcLyHpF.js → Tick--VhF0xlz.js} +15 -15
  22. package/dist/Tooltip-vyZRZWih.js +3606 -0
  23. package/dist/{XYCursor-C8WktvKM.js → XYCursor-CVUSpqb9.js} +3 -3
  24. package/dist/{ZoomableContainer-DYyqwaMb.js → ZoomableContainer-Ca_pDVYQ.js} +7 -7
  25. package/dist/components/charts/_common/tooltip.js +73 -0
  26. package/dist/components/charts/_common/utils.js +10 -9
  27. package/dist/components/charts/candlestick/logic.js +191 -164
  28. package/dist/components/charts/column-line-mix/logic.js +116 -107
  29. package/dist/components/charts/donut-chart/logic.js +36 -34
  30. package/dist/components/charts/drill-down-treemap/logic.js +49 -48
  31. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +102 -101
  32. package/dist/components/charts/heatmap/logic.js +33 -32
  33. package/dist/components/charts/highlighting-line-data/logic.js +26 -24
  34. package/dist/components/charts/line/logic.js +147 -185
  35. package/dist/components/charts/logaritmic-scale/logic.js +99 -84
  36. package/dist/components/charts/multiple-value-axes/logic.js +117 -107
  37. package/dist/components/charts/nested-pie/logic.js +3 -3
  38. package/dist/components/charts/packed-circles/logic.js +28 -27
  39. package/dist/components/charts/pie-chart/logic.js +43 -41
  40. package/dist/components/charts/stacked-area-radar/logic.js +124 -121
  41. package/dist/components/charts/stacked-column-chart/logic.js +107 -95
  42. package/dist/components/charts/xy-chart/logic.js +112 -98
  43. package/dist/components/metric-card/MetricChart.js +29 -28
  44. package/dist/main.d.ts +13 -0
  45. package/package.json +1 -1
  46. package/dist/AnimatedTheme-jnasw6rT.js +0 -11305
  47. package/dist/DataProcessor-CHDO51q4.js +0 -83
@@ -1,83 +0,0 @@
1
- import { E as c, e as h, q as a, r as l, t as o, u, v as n } from "./ColorSet-C7vpNXhM.js";
2
- class p extends c {
3
- constructor() {
4
- super(...arguments), Object.defineProperty(this, "_checkDates", {
5
- enumerable: !0,
6
- configurable: !0,
7
- writable: !0,
8
- value: !1
9
- }), Object.defineProperty(this, "_checkNumbers", {
10
- enumerable: !0,
11
- configurable: !0,
12
- writable: !0,
13
- value: !1
14
- }), Object.defineProperty(this, "_checkColors", {
15
- enumerable: !0,
16
- configurable: !0,
17
- writable: !0,
18
- value: !1
19
- }), Object.defineProperty(this, "_checkEmpty", {
20
- enumerable: !0,
21
- configurable: !0,
22
- writable: !0,
23
- value: !1
24
- }), Object.defineProperty(this, "_checkDeep", {
25
- enumerable: !0,
26
- configurable: !0,
27
- writable: !0,
28
- value: !1
29
- });
30
- }
31
- _afterNew() {
32
- super._afterNew(), this._checkFeatures(), this.on("dateFields", () => this._checkFeatures()), this.on("dateFormat", () => this._checkFeatures()), this.on("numericFields", () => this._checkFeatures()), this.on("colorFields", () => this._checkFeatures()), this.on("emptyAs", () => this._checkFeatures());
33
- }
34
- _checkFeatures() {
35
- (this.isDirty("dateFields") || this.isDirty("dateFormat")) && (this._checkDates = this.get("dateFields") && this.get("dateFields").length > 0), this.isDirty("numericFields") && (this._checkNumbers = this.get("numericFields") && this.get("numericFields").length > 0), this.isDirty("colorFields") && (this._checkColors = this.get("colorFields") && this.get("colorFields").length > 0), this.isDirty("emptyAs") && (this._checkEmpty = this.get("emptyAs") != null), this._checkDeepFeatures();
36
- }
37
- _checkDeepFeatures() {
38
- const e = [];
39
- h(["dateFields", "numericFields", "colorFields"], (t) => {
40
- h(this.get(t, []), (s) => {
41
- const i = s.split(".");
42
- for (i.pop(); i.length > 0; )
43
- e.push(i.join(".")), i.pop();
44
- });
45
- }), this._checkDeep = e.length > 0, this.setPrivate("deepFields", e);
46
- }
47
- /**
48
- * Processess entire array of data.
49
- *
50
- * NOTE: calling this will modify original array!
51
- */
52
- processMany(e) {
53
- a(e) && (this._checkDates || this._checkNumbers || this._checkColors || this._checkEmpty) && h(e, (t) => {
54
- this.processRow(t);
55
- });
56
- }
57
- /**
58
- * Processes a row (object) of data.
59
- *
60
- * NOTE: calling this will modify values of the original object!
61
- */
62
- processRow(e, t = "") {
63
- l(e, (s, i) => {
64
- const r = t + s;
65
- this._checkEmpty && (e[s] = this._maybeToEmpty(e[s])), this._checkNumbers && (e[s] = this._maybeToNumber(r, e[s])), this._checkDates && (e[s] = this._maybeToDate(r, e[s])), this._checkColors && (e[s] = this._maybeToColor(r, e[s])), this._checkDeep && this.getPrivate("deepFields", []).indexOf(r) !== -1 && n(e[s]) && this.processRow(e[s], r + ".");
66
- });
67
- }
68
- _maybeToNumber(e, t) {
69
- return this.get("numericFields").indexOf(e) !== -1 ? o(t) : t;
70
- }
71
- _maybeToDate(e, t) {
72
- return this.get("dateFields").indexOf(e) !== -1 ? this._root.dateFormatter.parse(t, this.get("dateFormat", "")).getTime() : t;
73
- }
74
- _maybeToEmpty(e) {
75
- return (e == null || e == "") && this.get("emptyAs") != null ? this.get("emptyAs") : e;
76
- }
77
- _maybeToColor(e, t) {
78
- return this.get("colorFields").indexOf(e) !== -1 ? u.fromAny(t) : t;
79
- }
80
- }
81
- export {
82
- p as D
83
- };