genesys-spark-chart-components 4.12.1-beta.1 → 4.29.1-beta.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.
Files changed (90) hide show
  1. package/LICENSE +2 -2
  2. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  3. package/dist/cjs/genesys-chart-webcomponents.cjs.js +5 -3
  4. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +124 -123
  5. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +213 -212
  6. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +120 -119
  7. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +96 -95
  8. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +126 -125
  9. package/dist/cjs/gux-visualization-beta.cjs.entry.js +213 -213
  10. package/dist/cjs/{index-1e13a15f.js → index-a4712860.js} +185 -63
  11. package/dist/cjs/loader.cjs.js +4 -2
  12. package/dist/cjs/log-error-28c7064e.js +21 -0
  13. package/dist/cjs/{usage-30f04ec3.js → usage-c351d7fb.js} +63 -63
  14. package/dist/collection/collection-manifest.json +2 -2
  15. package/dist/collection/components/beta/gux-chart-column/gux-chart-column.js +324 -324
  16. package/dist/collection/components/beta/gux-chart-column/gux-chart-column.locale.js +88 -88
  17. package/dist/collection/components/beta/gux-chart-column/tests/gux-column-chart.spec.js +16 -16
  18. package/dist/collection/components/beta/gux-chart-donut/gux-chart-donut.js +550 -550
  19. package/dist/collection/components/beta/gux-chart-donut/tests/gux-chart-donut.spec.js +5 -5
  20. package/dist/collection/components/beta/gux-chart-line/gux-chart-line.js +375 -375
  21. package/dist/collection/components/beta/gux-chart-line/gux-chart-line.locale.js +88 -88
  22. package/dist/collection/components/beta/gux-chart-line/tests/gux-chart-line.e2e.js +13 -13
  23. package/dist/collection/components/beta/gux-chart-line/tests/gux-chart-line.spec.js +16 -16
  24. package/dist/collection/components/beta/gux-chart-pie/gux-chart-pie.js +266 -266
  25. package/dist/collection/components/beta/gux-chart-pie/tests/gux-chart-pie.spec.js +5 -5
  26. package/dist/collection/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.js +347 -347
  27. package/dist/collection/components/beta/gux-chart-scatter-plot/tests/gux-chart-scatter-plot.spec.js +27 -27
  28. package/dist/collection/components/beta/gux-visualization/gux-visualization.js +133 -133
  29. package/dist/collection/components/beta/gux-visualization/gux-visualization.locale.js +88 -88
  30. package/dist/collection/components/beta/gux-visualization/tests/gux-visualization.e2e.js +25 -25
  31. package/dist/collection/components/beta/gux-visualization/tests/gux-visualization.spec.js +26 -26
  32. package/dist/collection/i18n/fetchResources.js +7 -7
  33. package/dist/collection/i18n/index.js +56 -56
  34. package/dist/collection/test/axeConfig.js +4 -4
  35. package/dist/collection/test/e2eTestUtils.js +14 -14
  36. package/dist/collection/test/specTestUtils.js +5 -5
  37. package/dist/collection/utils/dom/get-closest-element.js +12 -12
  38. package/dist/collection/utils/error/log-error.js +2 -2
  39. package/dist/collection/utils/theme/color-palette.js +10 -10
  40. package/dist/collection/utils/tracking/usage.js +47 -47
  41. package/dist/collection/utils/tracking/usage.spec.js +108 -108
  42. package/dist/esm/app-globals-0f993ce5.js +3 -0
  43. package/dist/esm/genesys-chart-webcomponents.js +6 -4
  44. package/dist/esm/gux-chart-column-beta.entry.js +124 -123
  45. package/dist/esm/gux-chart-donut-beta.entry.js +213 -212
  46. package/dist/esm/gux-chart-line-beta.entry.js +120 -119
  47. package/dist/esm/gux-chart-pie-beta.entry.js +96 -95
  48. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +126 -125
  49. package/dist/esm/gux-visualization-beta.entry.js +213 -213
  50. package/dist/esm/{index-701d93cf.js → index-82fd7406.js} +185 -63
  51. package/dist/esm/loader.js +5 -3
  52. package/dist/esm/log-error-ff9bdda4.js +18 -0
  53. package/dist/esm/{usage-61eee3bd.js → usage-6655c04e.js} +63 -63
  54. package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.css +1 -1
  55. package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
  56. package/dist/genesys-chart-webcomponents/p-1bc0cc3a.js +2 -0
  57. package/dist/genesys-chart-webcomponents/{p-d4a346df.entry.js → p-291b128b.entry.js} +1 -1
  58. package/dist/genesys-chart-webcomponents/p-51f2502a.entry.js +11 -0
  59. package/dist/genesys-chart-webcomponents/{p-137f5b8f.entry.js → p-64f0b385.entry.js} +1 -1
  60. package/dist/genesys-chart-webcomponents/{p-b5179379.entry.js → p-65020b8a.entry.js} +1 -1
  61. package/dist/genesys-chart-webcomponents/{p-d9928f8c.entry.js → p-83283e73.entry.js} +1 -1
  62. package/dist/genesys-chart-webcomponents/p-e1255160.js +1 -0
  63. package/dist/genesys-chart-webcomponents/{p-c3aa8578.entry.js → p-e42dd3ba.entry.js} +1 -1
  64. package/dist/genesys-chart-webcomponents/{p-97c45977.js → p-f6832775.js} +1 -1
  65. package/dist/stencil-wrapper.js +1 -1
  66. package/dist/types/components/beta/gux-chart-column/gux-chart-column.d.ts +45 -45
  67. package/dist/types/components/beta/gux-chart-column/gux-chart-column.locale.d.ts +20 -20
  68. package/dist/types/components/beta/gux-chart-donut/gux-chart-donut.d.ts +30 -30
  69. package/dist/types/components/beta/gux-chart-line/gux-chart-line.d.ts +44 -44
  70. package/dist/types/components/beta/gux-chart-line/gux-chart-line.locale.d.ts +20 -20
  71. package/dist/types/components/beta/gux-chart-pie/gux-chart-pie.d.ts +19 -19
  72. package/dist/types/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.d.ts +48 -48
  73. package/dist/types/components/beta/gux-visualization/gux-visualization.d.ts +13 -13
  74. package/dist/types/components/beta/gux-visualization/gux-visualization.locale.d.ts +20 -20
  75. package/dist/types/components.d.ts +12 -0
  76. package/dist/types/i18n/fetchResources.d.ts +3 -3
  77. package/dist/types/i18n/index.d.ts +1 -1
  78. package/dist/types/stencil-public-runtime.d.ts +10 -0
  79. package/dist/types/stencil-wrapper.d.ts +1 -1
  80. package/dist/types/test/axeConfig.d.ts +4 -4
  81. package/dist/types/test/e2eTestUtils.d.ts +4 -4
  82. package/dist/types/test/jestMatcherUtils.d.ts +4 -4
  83. package/dist/types/utils/tracking/usage.d.ts +11 -11
  84. package/package.json +24 -24
  85. package/dist/cjs/log-error-c46b4b4c.js +0 -21
  86. package/dist/component-specs.json +0 -187
  87. package/dist/esm/log-error-0fc61f6f.js +0 -18
  88. package/dist/genesys-chart-webcomponents/p-3e4b3dbc.js +0 -2
  89. package/dist/genesys-chart-webcomponents/p-b901e9e0.entry.js +0 -11
  90. /package/dist/genesys-chart-webcomponents/{p-82f0ea01.js → p-f50e3789.js} +0 -0
@@ -1,225 +1,226 @@
1
- import { r as registerInstance, h, g as getElement } from './index-701d93cf.js';
2
- import { t as trackComponent } from './usage-61eee3bd.js';
3
- import { V as VISUALIZATION_COLORS, l as logError } from './log-error-0fc61f6f.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-82fd7406.js';
2
+ import { t as trackComponent } from './usage-6655c04e.js';
3
+ import { V as VISUALIZATION_COLORS, l as logError } from './log-error-ff9bdda4.js';
4
4
 
5
5
  const guxChartDonutCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
6
+ const GuxChartDonutBetaStyle0 = guxChartDonutCss;
6
7
 
7
8
  const DEFAULT_COLOR_FIELD_NAME = 'category';
8
9
  const DEFAULT_LABEL_FIELD_NAME = 'value';
9
10
  const DEFAULT_RING_WIDTH = 32;
10
11
  const GuxDonutChart = class {
11
- constructor(hostRef) {
12
- registerInstance(this, hostRef);
13
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
14
- this.baseChartSpec = {
15
- $schema: 'https://vega.github.io/schema/vega-lite/v5.json',
16
- config: {
17
- legend: {
18
- symbolType: 'circle'
19
- }
20
- },
21
- encoding: {
22
- theta: { field: 'value', type: 'quantitative', stack: true },
23
- color: {
24
- field: DEFAULT_COLOR_FIELD_NAME,
25
- type: 'nominal',
26
- scale: { range: VISUALIZATION_COLORS },
27
- legend: null
28
- }
29
- },
30
- layer: [
31
- {
32
- mark: { type: 'arc', outerRadius: 80 }
33
- },
34
- {
35
- mark: { type: 'text', radius: 90 },
36
- encoding: {
37
- text: { field: DEFAULT_LABEL_FIELD_NAME, type: 'quantitative' }
38
- }
39
- }
40
- ],
41
- view: { stroke: null }
42
- };
43
- this.chartData = undefined;
44
- this.includeLegend = undefined;
45
- this.legendPosition = 'right';
46
- this.legendTitle = undefined;
47
- this.colorFieldName = undefined;
48
- this.outerRadius = undefined;
49
- this.innerRadius = undefined;
50
- this.labelRadius = undefined;
51
- this.labelField = undefined;
52
- this.gauge = undefined;
53
- this.centerText = undefined;
54
- this.centerSubText = undefined;
55
- this.showTooltip = true;
56
- this.tooltipOptions = undefined;
57
- this.legendX = undefined;
58
- this.legendY = undefined;
59
- this.legendFontSize = undefined;
60
- this.legendSymbolSize = undefined;
61
- this.embedOptions = undefined;
62
- }
63
- parseData() {
64
- if (!this.outerRadius && !this.innerRadius) {
65
- logError(this.root, 'requires at least one of outer-radius or inner-radius');
66
- }
67
- let chartData = {};
68
- if (this.chartData) {
69
- chartData = { data: this.chartData };
70
- }
71
- if (this.legendPosition) {
72
- this.baseChartSpec.config.legend.orient = this.legendPosition;
73
- }
74
- if (this.includeLegend) {
75
- this.baseChartSpec.encoding.color.legend = {};
76
- if (this.legendX || this.legendY) {
77
- this.baseChartSpec.config.legend.orient = 'none';
78
- if (this.legendX) {
79
- this.baseChartSpec.encoding.color.legend.legendX = this.legendX;
80
- }
81
- if (this.legendY) {
82
- this.baseChartSpec.encoding.color.legend.legendY = this.legendY;
83
- }
84
- }
85
- if (this.legendFontSize) {
86
- this.baseChartSpec.encoding.color.legend.labelFontSize =
87
- this.legendFontSize;
88
- }
89
- if (this.legendSymbolSize) {
90
- this.baseChartSpec.encoding.color.legend.symbolSize =
91
- this.legendSymbolSize;
92
- }
93
- }
94
- else {
95
- this.baseChartSpec.encoding.color.legend = null;
96
- }
97
- const colorFieldName = this.colorFieldName || DEFAULT_COLOR_FIELD_NAME;
98
- if (colorFieldName) {
99
- this.baseChartSpec.encoding.color.field = colorFieldName;
100
- }
101
- const legendTitle = this.legendTitle;
102
- if (legendTitle) {
103
- this.baseChartSpec.encoding.color.title = legendTitle;
104
- }
105
- else {
106
- this.baseChartSpec.encoding.color.title = '';
107
- }
108
- let outerRadius = this.outerRadius;
109
- let innerRadius = this.innerRadius;
110
- if (!outerRadius) {
111
- outerRadius = innerRadius + DEFAULT_RING_WIDTH;
112
- }
113
- if (!innerRadius) {
114
- innerRadius = outerRadius - DEFAULT_RING_WIDTH;
115
- }
116
- let layerFiels = 1;
117
- if (this.gauge) {
118
- this.baseChartSpec.layer = [
119
- {
120
- data: { values: [{ progress: 'default', value: 100 }] },
121
- mark: { type: 'arc', innerRadius },
122
- encoding: {
123
- theta: { field: 'value', type: 'quantitative' },
124
- color: { value: '#E4E9F0' },
125
- tooltip: null
126
- }
127
- },
128
- {
129
- mark: { type: 'arc', outerRadius, innerRadius, padAngle: 0.01 }
130
- },
131
- {
132
- mark: { type: 'arc', innerRadius, padAngle: 0.01 }
133
- }
134
- ];
135
- layerFiels = 2;
136
- }
137
- else {
138
- this.baseChartSpec.layer = [
139
- {
140
- mark: { type: 'arc', outerRadius, innerRadius }
141
- },
142
- {
143
- mark: { type: 'arc', innerRadius, stroke: '#fff' }
144
- }
145
- ];
146
- }
147
- const centerText = this.centerText;
148
- if (centerText) {
149
- // eslint-disable-next-line @typescript-eslint/no-unsafe-call
150
- this.baseChartSpec.layer.push({
151
- data: { values: [{ centerText: centerText, value: 0 }] },
152
- mark: { align: 'center', type: 'text', baseline: 'middle' },
153
- encoding: {
154
- color: { value: '#4C5054' },
155
- text: { field: 'centerText' },
156
- size: { value: { expr: 'height * 0.09' } },
157
- tooltip: null
158
- }
159
- });
160
- }
161
- const centerSubText = this.centerSubText;
162
- if (centerSubText) {
163
- // eslint-disable-next-line @typescript-eslint/no-unsafe-call
164
- this.baseChartSpec.layer.push({
165
- data: { values: [{ centerSubText: centerSubText, value: 0 }] },
166
- mark: {
167
- align: 'center',
168
- type: 'text',
169
- baseline: 'middle',
170
- y: { expr: 'height/2 + 20' }
171
- },
172
- encoding: {
173
- color: { value: '#6A6D70' },
174
- text: { field: 'centerSubText' },
175
- size: { value: { expr: 'height * 0.06' } },
176
- tooltip: null
177
- }
178
- });
12
+ constructor(hostRef) {
13
+ registerInstance(this, hostRef);
14
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
15
+ this.baseChartSpec = {
16
+ $schema: 'https://vega.github.io/schema/vega-lite/v5.json',
17
+ config: {
18
+ legend: {
19
+ symbolType: 'circle'
20
+ }
21
+ },
22
+ encoding: {
23
+ theta: { field: 'value', type: 'quantitative', stack: true },
24
+ color: {
25
+ field: DEFAULT_COLOR_FIELD_NAME,
26
+ type: 'nominal',
27
+ scale: { range: VISUALIZATION_COLORS },
28
+ legend: null
29
+ }
30
+ },
31
+ layer: [
32
+ {
33
+ mark: { type: 'arc', outerRadius: 80 }
34
+ },
35
+ {
36
+ mark: { type: 'text', radius: 90 },
37
+ encoding: {
38
+ text: { field: DEFAULT_LABEL_FIELD_NAME, type: 'quantitative' }
39
+ }
40
+ }
41
+ ],
42
+ view: { stroke: null }
43
+ };
44
+ this.chartData = undefined;
45
+ this.includeLegend = undefined;
46
+ this.legendPosition = 'right';
47
+ this.legendTitle = undefined;
48
+ this.colorFieldName = undefined;
49
+ this.outerRadius = undefined;
50
+ this.innerRadius = undefined;
51
+ this.labelRadius = undefined;
52
+ this.labelField = undefined;
53
+ this.gauge = undefined;
54
+ this.centerText = undefined;
55
+ this.centerSubText = undefined;
56
+ this.showTooltip = true;
57
+ this.tooltipOptions = undefined;
58
+ this.legendX = undefined;
59
+ this.legendY = undefined;
60
+ this.legendFontSize = undefined;
61
+ this.legendSymbolSize = undefined;
62
+ this.embedOptions = undefined;
63
+ }
64
+ parseData() {
65
+ if (!this.outerRadius && !this.innerRadius) {
66
+ logError(this.root, 'requires at least one of outer-radius or inner-radius');
67
+ }
68
+ let chartData = {};
69
+ if (this.chartData) {
70
+ chartData = { data: this.chartData };
71
+ }
72
+ if (this.legendPosition) {
73
+ this.baseChartSpec.config.legend.orient = this.legendPosition;
74
+ }
75
+ if (this.includeLegend) {
76
+ this.baseChartSpec.encoding.color.legend = {};
77
+ if (this.legendX || this.legendY) {
78
+ this.baseChartSpec.config.legend.orient = 'none';
79
+ if (this.legendX) {
80
+ this.baseChartSpec.encoding.color.legend.legendX = this.legendX;
81
+ }
82
+ if (this.legendY) {
83
+ this.baseChartSpec.encoding.color.legend.legendY = this.legendY;
84
+ }
85
+ }
86
+ if (this.legendFontSize) {
87
+ this.baseChartSpec.encoding.color.legend.labelFontSize =
88
+ this.legendFontSize;
89
+ }
90
+ if (this.legendSymbolSize) {
91
+ this.baseChartSpec.encoding.color.legend.symbolSize =
92
+ this.legendSymbolSize;
93
+ }
94
+ }
95
+ else {
96
+ this.baseChartSpec.encoding.color.legend = null;
97
+ }
98
+ const colorFieldName = this.colorFieldName || DEFAULT_COLOR_FIELD_NAME;
99
+ if (colorFieldName) {
100
+ this.baseChartSpec.encoding.color.field = colorFieldName;
101
+ }
102
+ const legendTitle = this.legendTitle;
103
+ if (legendTitle) {
104
+ this.baseChartSpec.encoding.color.title = legendTitle;
105
+ }
106
+ else {
107
+ this.baseChartSpec.encoding.color.title = '';
108
+ }
109
+ let outerRadius = this.outerRadius;
110
+ let innerRadius = this.innerRadius;
111
+ if (!outerRadius) {
112
+ outerRadius = innerRadius + DEFAULT_RING_WIDTH;
113
+ }
114
+ if (!innerRadius) {
115
+ innerRadius = outerRadius - DEFAULT_RING_WIDTH;
116
+ }
117
+ let layerFiels = 1;
118
+ if (this.gauge) {
119
+ this.baseChartSpec.layer = [
120
+ {
121
+ data: { values: [{ progress: 'default', value: 100 }] },
122
+ mark: { type: 'arc', innerRadius },
123
+ encoding: {
124
+ theta: { field: 'value', type: 'quantitative' },
125
+ color: { value: '#E4E9F0' },
126
+ tooltip: null
127
+ }
128
+ },
129
+ {
130
+ mark: { type: 'arc', outerRadius, innerRadius, padAngle: 0.01 }
131
+ },
132
+ {
133
+ mark: { type: 'arc', innerRadius, padAngle: 0.01 }
134
+ }
135
+ ];
136
+ layerFiels = 2;
137
+ }
138
+ else {
139
+ this.baseChartSpec.layer = [
140
+ {
141
+ mark: { type: 'arc', outerRadius, innerRadius }
142
+ },
143
+ {
144
+ mark: { type: 'arc', innerRadius, stroke: '#fff' }
145
+ }
146
+ ];
147
+ }
148
+ const centerText = this.centerText;
149
+ if (centerText) {
150
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
151
+ this.baseChartSpec.layer.push({
152
+ data: { values: [{ centerText: centerText, value: 0 }] },
153
+ mark: { align: 'center', type: 'text', baseline: 'middle' },
154
+ encoding: {
155
+ color: { value: '#4C5054' },
156
+ text: { field: 'centerText' },
157
+ size: { value: { expr: 'height * 0.09' } },
158
+ tooltip: null
159
+ }
160
+ });
161
+ }
162
+ const centerSubText = this.centerSubText;
163
+ if (centerSubText) {
164
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
165
+ this.baseChartSpec.layer.push({
166
+ data: { values: [{ centerSubText: centerSubText, value: 0 }] },
167
+ mark: {
168
+ align: 'center',
169
+ type: 'text',
170
+ baseline: 'middle',
171
+ y: { expr: 'height/2 + 20' }
172
+ },
173
+ encoding: {
174
+ color: { value: '#6A6D70' },
175
+ text: { field: 'centerSubText' },
176
+ size: { value: { expr: 'height * 0.06' } },
177
+ tooltip: null
178
+ }
179
+ });
180
+ }
181
+ const labelRadius = this.labelRadius;
182
+ const labelField = this.labelField || DEFAULT_LABEL_FIELD_NAME;
183
+ if (labelRadius) {
184
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
185
+ this.baseChartSpec.layer.push({
186
+ mark: { type: 'text', radius: labelRadius },
187
+ encoding: {
188
+ text: { field: labelField, type: 'quantitative' }
189
+ }
190
+ });
191
+ }
192
+ if (this.showTooltip) {
193
+ if (this.tooltipOptions) {
194
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
195
+ this.baseChartSpec.layer[layerFiels].mark.tooltip = { content: 'data' };
196
+ this.tooltipSpec = {
197
+ actions: false,
198
+ tooltip: this.tooltipOptions
199
+ };
200
+ }
201
+ else {
202
+ this.baseChartSpec.encoding.tooltip = {
203
+ field: labelField,
204
+ aggregate: 'count',
205
+ type: 'quantitative'
206
+ };
207
+ }
208
+ }
209
+ const spec = Object.assign(this.baseChartSpec, chartData);
210
+ this.visualizationSpec = spec;
179
211
  }
180
- const labelRadius = this.labelRadius;
181
- const labelField = this.labelField || DEFAULT_LABEL_FIELD_NAME;
182
- if (labelRadius) {
183
- // eslint-disable-next-line @typescript-eslint/no-unsafe-call
184
- this.baseChartSpec.layer.push({
185
- mark: { type: 'text', radius: labelRadius },
186
- encoding: {
187
- text: { field: labelField, type: 'quantitative' }
188
- }
189
- });
212
+ componentWillLoad() {
213
+ trackComponent(this.root);
214
+ this.parseData();
190
215
  }
191
- if (this.showTooltip) {
192
- if (this.tooltipOptions) {
193
- // eslint-disable-next-line @typescript-eslint/no-unsafe-call
194
- this.baseChartSpec.layer[layerFiels].mark.tooltip = { content: 'data' };
195
- this.tooltipSpec = {
196
- actions: false,
197
- tooltip: this.tooltipOptions
198
- };
199
- }
200
- else {
201
- this.baseChartSpec.encoding.tooltip = {
202
- field: labelField,
203
- aggregate: 'count',
204
- type: 'quantitative'
205
- };
206
- }
216
+ render() {
217
+ return (h("gux-visualization-beta", { key: '1841c32ed4312b87b8bdeca52a007a6905effce9', visualizationSpec: this.visualizationSpec, embedOptions: this.tooltipSpec }));
207
218
  }
208
- const spec = Object.assign(this.baseChartSpec, chartData);
209
- this.visualizationSpec = spec;
210
- }
211
- componentWillLoad() {
212
- trackComponent(this.root);
213
- this.parseData();
214
- }
215
- render() {
216
- return (h("gux-visualization-beta", { visualizationSpec: this.visualizationSpec, embedOptions: this.tooltipSpec }));
217
- }
218
- get root() { return getElement(this); }
219
- static get watchers() { return {
220
- "chartData": ["parseData"]
221
- }; }
219
+ get root() { return getElement(this); }
220
+ static get watchers() { return {
221
+ "chartData": ["parseData"]
222
+ }; }
222
223
  };
223
- GuxDonutChart.style = guxChartDonutCss;
224
+ GuxDonutChart.style = GuxChartDonutBetaStyle0;
224
225
 
225
226
  export { GuxDonutChart as gux_chart_donut_beta };