q2-tecton-elements 1.18.0 → 1.19.1
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/dist/cjs/click-elsewhere.cjs.entry.js +1 -1
- package/dist/cjs/{icons-e2bc9ee9.js → icons-afbdf88a.js} +1 -1
- package/dist/cjs/{index-eccd5617.js → index-3518c78c.js} +1 -1
- package/dist/cjs/{index-0128397d.js → index-734296a7.js} +476 -271
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/q2-avatar.cjs.entry.js +9 -6
- package/dist/cjs/q2-badge_2.cjs.entry.js +46 -7
- package/dist/cjs/q2-btn_2.cjs.entry.js +30 -5
- package/dist/cjs/q2-calendar.cjs.entry.js +102 -63
- package/dist/cjs/q2-card.cjs.entry.js +17 -6
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +7 -3
- package/dist/cjs/q2-carousel.cjs.entry.js +196 -285
- package/dist/cjs/q2-chart-donut.cjs.entry.js +583 -504
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +9 -7
- package/dist/cjs/q2-checkbox.cjs.entry.js +17 -4
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +9 -3
- package/dist/cjs/q2-dropdown.cjs.entry.js +16 -5
- package/dist/cjs/q2-editable-field.cjs.entry.js +16 -6
- package/dist/cjs/q2-icon.cjs.entry.js +6 -4
- package/dist/cjs/q2-loading-element.cjs.entry.js +6 -2
- package/dist/cjs/q2-loc.cjs.entry.js +5 -3
- package/dist/cjs/q2-message.cjs.entry.js +4 -3
- package/dist/cjs/q2-month-picker.cjs.entry.js +9 -7
- package/dist/cjs/q2-optgroup.cjs.entry.js +6 -5
- package/dist/cjs/q2-option-list_2.cjs.entry.js +21 -7
- package/dist/cjs/q2-option.cjs.entry.js +12 -2
- package/dist/cjs/q2-pagination.cjs.entry.js +11 -3
- package/dist/cjs/q2-pill.cjs.entry.js +25 -7
- package/dist/cjs/q2-radio-group.cjs.entry.js +13 -6
- package/dist/cjs/q2-radio.cjs.entry.js +13 -8
- package/dist/cjs/q2-section.cjs.entry.js +44 -11
- package/dist/cjs/q2-select.cjs.entry.js +26 -17
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +8 -3
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +5 -4
- package/dist/cjs/q2-stepper.cjs.entry.js +9 -7
- package/dist/cjs/q2-tab-container.cjs.entry.js +14 -9
- package/dist/cjs/q2-tab-pane.cjs.entry.js +10 -2
- package/dist/cjs/q2-tag.cjs.entry.js +20 -7
- package/dist/cjs/q2-tecton-elements.cjs.js +3 -3
- package/dist/cjs/q2-textarea.cjs.entry.js +20 -4
- package/dist/cjs/q2-tooltip.cjs.entry.js +9 -3
- package/dist/cjs/{shapes-c1a60d46.js → shapes-aad2b98f.js} +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +17 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/click-elsewhere/index.js +18 -17
- package/dist/collection/components/q2-avatar/index.js +100 -92
- package/dist/collection/components/q2-avatar/styles.css +1 -1
- package/dist/collection/components/q2-badge/index.js +119 -111
- package/dist/collection/components/q2-badge/styles.css +1 -1
- package/dist/collection/components/q2-btn/index.js +349 -322
- package/dist/collection/components/q2-btn/styles.css +7 -7
- package/dist/collection/components/q2-calendar/index.js +578 -552
- package/dist/collection/components/q2-calendar/q2-month-picker.css +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +112 -116
- package/dist/collection/components/q2-calendar/styles.css +1 -1
- package/dist/collection/components/q2-card/index.js +262 -244
- package/dist/collection/components/q2-card/styles.css +9 -2
- package/dist/collection/components/q2-carousel/index.js +249 -253
- package/dist/collection/components/q2-carousel/styles.css +1 -1
- package/dist/collection/components/q2-carousel-pane/index.js +108 -96
- package/dist/collection/components/q2-carousel-pane/styles.css +5 -4
- package/dist/collection/components/q2-chart-donut/index.js +350 -334
- package/dist/collection/components/q2-chart-donut/styles.css +3 -3
- package/dist/collection/components/q2-checkbox/index.js +296 -287
- package/dist/collection/components/q2-checkbox/styles.css +2 -2
- package/dist/collection/components/q2-checkbox-group/index.js +156 -152
- package/dist/collection/components/q2-checkbox-group/styles.css +1 -1
- package/dist/collection/components/q2-dropdown/index.js +255 -240
- package/dist/collection/components/q2-dropdown/styles.css +1 -1
- package/dist/collection/components/q2-dropdown-item/index.js +134 -123
- package/dist/collection/components/q2-dropdown-item/styles.css +12 -10
- package/dist/collection/components/q2-editable-field/index.js +300 -293
- package/dist/collection/components/q2-editable-field/styles.css +1 -1
- package/dist/collection/components/q2-icon/icons.js +358 -2158
- package/dist/collection/components/q2-icon/index.js +59 -49
- package/dist/collection/components/q2-icon/styles.css +1 -1
- package/dist/collection/components/q2-input/index.js +729 -705
- package/dist/collection/components/q2-input/styles.css +2 -2
- package/dist/collection/components/q2-loading/index.js +143 -132
- package/dist/collection/components/q2-loading/skeleton/q2-loading-element/index.js +85 -74
- package/dist/collection/components/q2-loading/skeleton/shapes.js +23 -36
- package/dist/collection/components/q2-loading/styles.css +1 -1
- package/dist/collection/components/q2-loc/index.js +49 -39
- package/dist/collection/components/q2-loc/styles.css +1 -1
- package/dist/collection/components/q2-message/index.js +101 -92
- package/dist/collection/components/q2-message/styles.css +1 -1
- package/dist/collection/components/q2-optgroup/index.js +64 -56
- package/dist/collection/components/q2-optgroup/styles.css +1 -1
- package/dist/collection/components/q2-option/index.js +244 -229
- package/dist/collection/components/q2-option/styles.css +5 -1
- package/dist/collection/components/q2-option-list/index.js +291 -270
- package/dist/collection/components/q2-option-list/styles.css +1 -1
- package/dist/collection/components/q2-pagination/index.js +183 -179
- package/dist/collection/components/q2-pagination/styles.css +1 -1
- package/dist/collection/components/q2-pill/index.js +260 -208
- package/dist/collection/components/q2-pill/styles.css +1 -1
- package/dist/collection/components/q2-popover/index.js +169 -151
- package/dist/collection/components/q2-popover/styles.css +2 -2
- package/dist/collection/components/q2-radio/index.js +233 -224
- package/dist/collection/components/q2-radio/styles.css +3 -3
- package/dist/collection/components/q2-radio-group/index.js +252 -244
- package/dist/collection/components/q2-radio-group/styles.css +1 -1
- package/dist/collection/components/q2-section/index.js +169 -131
- package/dist/collection/components/q2-section/styles.css +8 -6
- package/dist/collection/components/q2-select/index.js +393 -381
- package/dist/collection/components/q2-select/styles.css +1 -1
- package/dist/collection/components/q2-stepper/index.js +124 -126
- package/dist/collection/components/q2-stepper/styles.css +2 -1
- package/dist/collection/components/q2-stepper-pane/index.js +165 -149
- package/dist/collection/components/q2-stepper-pane/styles.css +1 -1
- package/dist/collection/components/q2-stepper-vertical/index.js +86 -85
- package/dist/collection/components/q2-stepper-vertical/styles.css +1 -1
- package/dist/collection/components/q2-tab-container/index.js +189 -184
- package/dist/collection/components/q2-tab-container/styles.css +1 -1
- package/dist/collection/components/q2-tab-pane/index.js +185 -166
- package/dist/collection/components/q2-tab-pane/styles.css +1 -1
- package/dist/collection/components/q2-tag/index.js +168 -116
- package/dist/collection/components/q2-tag/styles.css +1 -1
- package/dist/collection/components/q2-textarea/index.js +344 -327
- package/dist/collection/components/q2-textarea/styles.css +2 -2
- package/dist/collection/components/q2-tooltip/index.js +147 -133
- package/dist/collection/components/q2-tooltip/styles.css +1 -1
- package/dist/collection/components/tecton-tab-pane/index.js +287 -266
- package/dist/collection/components/tecton-tab-pane/styles.css +1 -1
- package/dist/collection/utils/index.js +2 -6
- package/dist/esm/click-elsewhere.entry.js +1 -1
- package/dist/esm/{icons-ed54e307.js → icons-78da5dd2.js} +1 -1
- package/dist/esm/{index-eac6b89e.js → index-9c591682.js} +1 -1
- package/dist/esm/{index-6d5ed7cc.js → index-bb1c8c7f.js} +476 -271
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/q2-avatar.entry.js +9 -6
- package/dist/esm/q2-badge_2.entry.js +46 -7
- package/dist/esm/q2-btn_2.entry.js +30 -5
- package/dist/esm/q2-calendar.entry.js +102 -63
- package/dist/esm/q2-card.entry.js +17 -6
- package/dist/esm/q2-carousel-pane.entry.js +7 -3
- package/dist/esm/q2-carousel.entry.js +196 -285
- package/dist/esm/q2-chart-donut.entry.js +583 -504
- package/dist/esm/q2-checkbox-group.entry.js +9 -7
- package/dist/esm/q2-checkbox.entry.js +17 -4
- package/dist/esm/q2-dropdown-item.entry.js +9 -3
- package/dist/esm/q2-dropdown.entry.js +16 -5
- package/dist/esm/q2-editable-field.entry.js +16 -6
- package/dist/esm/q2-icon.entry.js +6 -4
- package/dist/esm/q2-loading-element.entry.js +6 -2
- package/dist/esm/q2-loc.entry.js +5 -3
- package/dist/esm/q2-message.entry.js +4 -3
- package/dist/esm/q2-month-picker.entry.js +9 -7
- package/dist/esm/q2-optgroup.entry.js +6 -5
- package/dist/esm/q2-option-list_2.entry.js +21 -7
- package/dist/esm/q2-option.entry.js +12 -2
- package/dist/esm/q2-pagination.entry.js +11 -3
- package/dist/esm/q2-pill.entry.js +25 -7
- package/dist/esm/q2-radio-group.entry.js +13 -6
- package/dist/esm/q2-radio.entry.js +13 -8
- package/dist/esm/q2-section.entry.js +44 -11
- package/dist/esm/q2-select.entry.js +26 -17
- package/dist/esm/q2-stepper-pane.entry.js +8 -3
- package/dist/esm/q2-stepper-vertical.entry.js +5 -4
- package/dist/esm/q2-stepper.entry.js +9 -7
- package/dist/esm/q2-tab-container.entry.js +14 -9
- package/dist/esm/q2-tab-pane.entry.js +10 -2
- package/dist/esm/q2-tag.entry.js +20 -7
- package/dist/esm/q2-tecton-elements.js +3 -3
- package/dist/esm/q2-textarea.entry.js +20 -4
- package/dist/esm/q2-tooltip.entry.js +9 -3
- package/dist/esm/{shapes-c32e3ba2.js → shapes-62b8a431.js} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +17 -2
- package/dist/loader/package.json +1 -0
- package/dist/q2-tecton-elements/p-0ba564b1.entry.js +1 -0
- package/dist/q2-tecton-elements/p-0fad9c5a.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-73154834.js → p-13a639cf.js} +1 -1
- package/dist/q2-tecton-elements/p-16c11d74.entry.js +1 -0
- package/dist/q2-tecton-elements/p-17e0cbf1.entry.js +1 -0
- package/dist/q2-tecton-elements/p-2c9b1308.entry.js +1 -0
- package/dist/q2-tecton-elements/p-2e832e42.entry.js +1 -0
- package/dist/q2-tecton-elements/p-315fdb74.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-c608e3c9.entry.js → p-444415b5.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-4d700630.entry.js +1 -0
- package/dist/q2-tecton-elements/p-54e792bd.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-80014da0.js → p-5e374fbd.js} +1 -1
- package/dist/q2-tecton-elements/p-5f064e1e.entry.js +39 -0
- package/dist/q2-tecton-elements/p-692f2d09.entry.js +1 -0
- package/dist/q2-tecton-elements/p-6e6b5b80.entry.js +1 -0
- package/dist/q2-tecton-elements/p-74136b15.entry.js +1 -0
- package/dist/q2-tecton-elements/p-7e8f43d1.entry.js +1 -0
- package/dist/q2-tecton-elements/p-8e380edf.entry.js +1 -0
- package/dist/q2-tecton-elements/p-926a3e80.js +2 -0
- package/dist/q2-tecton-elements/{p-93c00587.js → p-92e1faf8.js} +1 -1
- package/dist/q2-tecton-elements/p-9772b15f.entry.js +1 -0
- package/dist/q2-tecton-elements/p-97aa8423.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-17cffd7d.entry.js → p-a987402e.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-aaf42539.entry.js +1 -0
- package/dist/q2-tecton-elements/p-ac674c20.entry.js +1 -0
- package/dist/q2-tecton-elements/p-b8b00394.entry.js +1 -0
- package/dist/q2-tecton-elements/p-c444a60b.entry.js +1 -0
- package/dist/q2-tecton-elements/p-c6c489fe.entry.js +1 -0
- package/dist/q2-tecton-elements/p-ce015552.entry.js +1 -0
- package/dist/q2-tecton-elements/p-d464fccc.entry.js +1 -0
- package/dist/q2-tecton-elements/p-de164483.entry.js +1 -0
- package/dist/q2-tecton-elements/p-df91e954.entry.js +1 -0
- package/dist/q2-tecton-elements/p-e6d26f39.entry.js +1 -0
- package/dist/q2-tecton-elements/p-e8e113c2.entry.js +1 -0
- package/dist/q2-tecton-elements/p-f1d06917.entry.js +1 -0
- package/dist/q2-tecton-elements/p-f219fe9d.entry.js +1 -0
- package/dist/q2-tecton-elements/p-f800fd1e.entry.js +1 -0
- package/dist/q2-tecton-elements/p-fb37e67e.entry.js +1 -0
- package/dist/q2-tecton-elements/p-fc134a5d.entry.js +1 -0
- package/dist/q2-tecton-elements/p-fe88e979.entry.js +1 -0
- package/dist/q2-tecton-elements/p-ffb48ccc.entry.js +1 -0
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/test/helpers.js +6 -0
- package/dist/types/components/q2-pill/index.d.ts +3 -0
- package/dist/types/components/q2-section/index.d.ts +3 -0
- package/dist/types/components/q2-tag/index.d.ts +3 -0
- package/dist/types/components.d.ts +154 -38
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/dist/types/workspace/workspace/{Tecton_tecton-production_master → tecton-production_release_1.19.x}/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +2 -0
- package/package.json +6 -6
- package/dist/q2-tecton-elements/p-02c1b7fd.entry.js +0 -1
- package/dist/q2-tecton-elements/p-04c743f2.entry.js +0 -1
- package/dist/q2-tecton-elements/p-07dc509c.entry.js +0 -1
- package/dist/q2-tecton-elements/p-12caa479.entry.js +0 -1
- package/dist/q2-tecton-elements/p-160dd1c2.entry.js +0 -1
- package/dist/q2-tecton-elements/p-1a3de749.entry.js +0 -1
- package/dist/q2-tecton-elements/p-2061c3fd.entry.js +0 -1
- package/dist/q2-tecton-elements/p-2a217895.entry.js +0 -1
- package/dist/q2-tecton-elements/p-2b94ae62.entry.js +0 -1
- package/dist/q2-tecton-elements/p-2e54f9a0.entry.js +0 -1
- package/dist/q2-tecton-elements/p-375569ff.entry.js +0 -1
- package/dist/q2-tecton-elements/p-3766cc6c.entry.js +0 -1
- package/dist/q2-tecton-elements/p-3eda2714.entry.js +0 -1
- package/dist/q2-tecton-elements/p-421af42d.entry.js +0 -1
- package/dist/q2-tecton-elements/p-4c53713d.entry.js +0 -1
- package/dist/q2-tecton-elements/p-4fd405f5.entry.js +0 -1
- package/dist/q2-tecton-elements/p-509c8924.entry.js +0 -1
- package/dist/q2-tecton-elements/p-55dc3dc1.entry.js +0 -1
- package/dist/q2-tecton-elements/p-5fffb28a.entry.js +0 -1
- package/dist/q2-tecton-elements/p-612e9974.entry.js +0 -1
- package/dist/q2-tecton-elements/p-64ca8c59.entry.js +0 -1
- package/dist/q2-tecton-elements/p-796c2bb5.entry.js +0 -1
- package/dist/q2-tecton-elements/p-86887866.entry.js +0 -1
- package/dist/q2-tecton-elements/p-9204c34d.entry.js +0 -1
- package/dist/q2-tecton-elements/p-9725d55f.entry.js +0 -1
- package/dist/q2-tecton-elements/p-a0fa416d.entry.js +0 -39
- package/dist/q2-tecton-elements/p-bd83e8e2.entry.js +0 -1
- package/dist/q2-tecton-elements/p-be0f2539.entry.js +0 -1
- package/dist/q2-tecton-elements/p-c05b0b55.entry.js +0 -1
- package/dist/q2-tecton-elements/p-c5691700.js +0 -1
- package/dist/q2-tecton-elements/p-d826d7ad.entry.js +0 -1
- package/dist/q2-tecton-elements/p-d9e9340c.entry.js +0 -1
- package/dist/q2-tecton-elements/p-e5757895.entry.js +0 -1
- package/dist/q2-tecton-elements/p-e68c9ef0.entry.js +0 -1
- package/dist/q2-tecton-elements/p-eb33bda4.entry.js +0 -1
- package/dist/q2-tecton-elements/p-f319549d.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, } from '@stencil/core';
|
|
2
2
|
import * as echarts from 'echarts/core';
|
|
3
3
|
import { TooltipComponent, LegendComponent, AriaComponent, } from 'echarts/components';
|
|
4
4
|
import { PieChart } from 'echarts/charts';
|
|
@@ -8,12 +8,6 @@ import { isEventFromElement, loc, overrideFocus } from 'src/utils';
|
|
|
8
8
|
echarts.use([TooltipComponent, LegendComponent, PieChart, CanvasRenderer, AriaComponent, LabelLayout]);
|
|
9
9
|
export class Q2ChartDonut {
|
|
10
10
|
constructor() {
|
|
11
|
-
this.innerRadius = '70%';
|
|
12
|
-
this.outerRadius = '85%';
|
|
13
|
-
this.minSliceSize = '2.5%';
|
|
14
|
-
this.selectedOffset = 10;
|
|
15
|
-
this.hoverScaleSize = 5;
|
|
16
|
-
this.data = [];
|
|
17
11
|
this.defaultRecord = { id: null, value: null, name: null };
|
|
18
12
|
/// Event Handlers ///
|
|
19
13
|
this.onClickElsewhere = (event) => {
|
|
@@ -67,6 +61,19 @@ export class Q2ChartDonut {
|
|
|
67
61
|
this.clearSelection();
|
|
68
62
|
event.stopPropagation();
|
|
69
63
|
};
|
|
64
|
+
this.chartName = undefined;
|
|
65
|
+
this.summaryIcon = undefined;
|
|
66
|
+
this.summaryName = undefined;
|
|
67
|
+
this.innerRadius = '70%';
|
|
68
|
+
this.outerRadius = '85%';
|
|
69
|
+
this.minSliceSize = '2.5%';
|
|
70
|
+
this.selectedOffset = 10;
|
|
71
|
+
this.hoverScaleSize = 5;
|
|
72
|
+
this.format = undefined;
|
|
73
|
+
this.isClickable = undefined;
|
|
74
|
+
this.data = [];
|
|
75
|
+
this.selectedId = undefined;
|
|
76
|
+
this.hoveredId = undefined;
|
|
70
77
|
}
|
|
71
78
|
/// LifeCycle Hooks ///
|
|
72
79
|
componentDidLoad() {
|
|
@@ -323,355 +330,364 @@ export class Q2ChartDonut {
|
|
|
323
330
|
'aria-roledescription': loc('tecton.element.chartDonut.button.roleDescription'),
|
|
324
331
|
}
|
|
325
332
|
: null;
|
|
326
|
-
return (h("div", { class: "center-card-container", style: { width: `calc(${this.innerRadius} - 10%)` } },
|
|
327
|
-
|
|
328
|
-
icon
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
color,
|
|
332
|
-
} })),
|
|
333
|
-
name && h("div", { class: "name" }, name),
|
|
334
|
-
value && h("div", { class: "value" }, displayValue))));
|
|
333
|
+
return (h("div", { class: "center-card-container", style: { width: `calc(${this.innerRadius} - 10%)` } }, h(TagName, Object.assign({ class: "center-card", "test-id": "centerCard" }, props), icon && (h("q2-icon", { type: icon, style: color && {
|
|
334
|
+
'--tct-icon-stroke-primary': color,
|
|
335
|
+
'--tct-icon-stroke-secondary': color,
|
|
336
|
+
color,
|
|
337
|
+
} })), name && h("div", { class: "name" }, name), value && h("div", { class: "value" }, displayValue))));
|
|
335
338
|
}
|
|
336
339
|
render() {
|
|
337
|
-
return (h("click-elsewhere", { onChange: this.onClickElsewhere },
|
|
338
|
-
h("div", { class: "container" },
|
|
339
|
-
h("div", { ref: el => (this.chartContainer = el), class: "chart-container", "test-id": "chartContainer", onClick: this.onContainerClick }),
|
|
340
|
-
this.renderCenterBlock())));
|
|
340
|
+
return (h("click-elsewhere", { onChange: this.onClickElsewhere }, h("div", { class: "container" }, h("div", { ref: el => (this.chartContainer = el), class: "chart-container", "test-id": "chartContainer", onClick: this.onContainerClick }), this.renderCenterBlock())));
|
|
341
341
|
}
|
|
342
342
|
static get is() { return "q2-chart-donut"; }
|
|
343
343
|
static get encapsulation() { return "shadow"; }
|
|
344
|
-
static get originalStyleUrls() {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
"
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
"original": "string",
|
|
373
|
-
"resolved": "string",
|
|
374
|
-
"references": {}
|
|
375
|
-
},
|
|
376
|
-
"required": false,
|
|
377
|
-
"optional": false,
|
|
378
|
-
"docs": {
|
|
379
|
-
"tags": [],
|
|
380
|
-
"text": ""
|
|
381
|
-
},
|
|
382
|
-
"attribute": "summary-icon",
|
|
383
|
-
"reflect": true
|
|
384
|
-
},
|
|
385
|
-
"summaryName": {
|
|
386
|
-
"type": "string",
|
|
387
|
-
"mutable": false,
|
|
388
|
-
"complexType": {
|
|
389
|
-
"original": "string",
|
|
390
|
-
"resolved": "string",
|
|
391
|
-
"references": {}
|
|
392
|
-
},
|
|
393
|
-
"required": false,
|
|
394
|
-
"optional": false,
|
|
395
|
-
"docs": {
|
|
396
|
-
"tags": [],
|
|
397
|
-
"text": ""
|
|
398
|
-
},
|
|
399
|
-
"attribute": "summary-name",
|
|
400
|
-
"reflect": true
|
|
401
|
-
},
|
|
402
|
-
"innerRadius": {
|
|
403
|
-
"type": "string",
|
|
404
|
-
"mutable": true,
|
|
405
|
-
"complexType": {
|
|
406
|
-
"original": "string",
|
|
407
|
-
"resolved": "string",
|
|
408
|
-
"references": {}
|
|
409
|
-
},
|
|
410
|
-
"required": false,
|
|
411
|
-
"optional": false,
|
|
412
|
-
"docs": {
|
|
413
|
-
"tags": [],
|
|
414
|
-
"text": ""
|
|
415
|
-
},
|
|
416
|
-
"attribute": "inner-radius",
|
|
417
|
-
"reflect": false,
|
|
418
|
-
"defaultValue": "'70%'"
|
|
419
|
-
},
|
|
420
|
-
"outerRadius": {
|
|
421
|
-
"type": "string",
|
|
422
|
-
"mutable": true,
|
|
423
|
-
"complexType": {
|
|
424
|
-
"original": "string",
|
|
425
|
-
"resolved": "string",
|
|
426
|
-
"references": {}
|
|
427
|
-
},
|
|
428
|
-
"required": false,
|
|
429
|
-
"optional": false,
|
|
430
|
-
"docs": {
|
|
431
|
-
"tags": [],
|
|
432
|
-
"text": ""
|
|
433
|
-
},
|
|
434
|
-
"attribute": "outer-radius",
|
|
435
|
-
"reflect": false,
|
|
436
|
-
"defaultValue": "'85%'"
|
|
437
|
-
},
|
|
438
|
-
"minSliceSize": {
|
|
439
|
-
"type": "string",
|
|
440
|
-
"mutable": false,
|
|
441
|
-
"complexType": {
|
|
442
|
-
"original": "string",
|
|
443
|
-
"resolved": "string",
|
|
444
|
-
"references": {}
|
|
445
|
-
},
|
|
446
|
-
"required": false,
|
|
447
|
-
"optional": false,
|
|
448
|
-
"docs": {
|
|
449
|
-
"tags": [],
|
|
450
|
-
"text": ""
|
|
451
|
-
},
|
|
452
|
-
"attribute": "min-slice-size",
|
|
453
|
-
"reflect": false,
|
|
454
|
-
"defaultValue": "'2.5%'"
|
|
455
|
-
},
|
|
456
|
-
"selectedOffset": {
|
|
457
|
-
"type": "number",
|
|
458
|
-
"mutable": false,
|
|
459
|
-
"complexType": {
|
|
460
|
-
"original": "number",
|
|
461
|
-
"resolved": "number",
|
|
462
|
-
"references": {}
|
|
463
|
-
},
|
|
464
|
-
"required": false,
|
|
465
|
-
"optional": false,
|
|
466
|
-
"docs": {
|
|
467
|
-
"tags": [],
|
|
468
|
-
"text": ""
|
|
469
|
-
},
|
|
470
|
-
"attribute": "selected-offset",
|
|
471
|
-
"reflect": false,
|
|
472
|
-
"defaultValue": "10"
|
|
473
|
-
},
|
|
474
|
-
"hoverScaleSize": {
|
|
475
|
-
"type": "number",
|
|
476
|
-
"mutable": false,
|
|
477
|
-
"complexType": {
|
|
478
|
-
"original": "number",
|
|
479
|
-
"resolved": "number",
|
|
480
|
-
"references": {}
|
|
344
|
+
static get originalStyleUrls() {
|
|
345
|
+
return {
|
|
346
|
+
"$": ["styles.scss"]
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
static get styleUrls() {
|
|
350
|
+
return {
|
|
351
|
+
"$": ["styles.css"]
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
static get properties() {
|
|
355
|
+
return {
|
|
356
|
+
"chartName": {
|
|
357
|
+
"type": "string",
|
|
358
|
+
"mutable": false,
|
|
359
|
+
"complexType": {
|
|
360
|
+
"original": "string",
|
|
361
|
+
"resolved": "string",
|
|
362
|
+
"references": {}
|
|
363
|
+
},
|
|
364
|
+
"required": false,
|
|
365
|
+
"optional": false,
|
|
366
|
+
"docs": {
|
|
367
|
+
"tags": [],
|
|
368
|
+
"text": ""
|
|
369
|
+
},
|
|
370
|
+
"attribute": "chart-name",
|
|
371
|
+
"reflect": true
|
|
481
372
|
},
|
|
482
|
-
"
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
"
|
|
486
|
-
|
|
373
|
+
"summaryIcon": {
|
|
374
|
+
"type": "string",
|
|
375
|
+
"mutable": false,
|
|
376
|
+
"complexType": {
|
|
377
|
+
"original": "string",
|
|
378
|
+
"resolved": "string",
|
|
379
|
+
"references": {}
|
|
380
|
+
},
|
|
381
|
+
"required": false,
|
|
382
|
+
"optional": false,
|
|
383
|
+
"docs": {
|
|
384
|
+
"tags": [],
|
|
385
|
+
"text": ""
|
|
386
|
+
},
|
|
387
|
+
"attribute": "summary-icon",
|
|
388
|
+
"reflect": true
|
|
487
389
|
},
|
|
488
|
-
"
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
"
|
|
497
|
-
"
|
|
498
|
-
"
|
|
390
|
+
"summaryName": {
|
|
391
|
+
"type": "string",
|
|
392
|
+
"mutable": false,
|
|
393
|
+
"complexType": {
|
|
394
|
+
"original": "string",
|
|
395
|
+
"resolved": "string",
|
|
396
|
+
"references": {}
|
|
397
|
+
},
|
|
398
|
+
"required": false,
|
|
399
|
+
"optional": false,
|
|
400
|
+
"docs": {
|
|
401
|
+
"tags": [],
|
|
402
|
+
"text": ""
|
|
403
|
+
},
|
|
404
|
+
"attribute": "summary-name",
|
|
405
|
+
"reflect": true
|
|
499
406
|
},
|
|
500
|
-
"
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
"
|
|
504
|
-
|
|
407
|
+
"innerRadius": {
|
|
408
|
+
"type": "string",
|
|
409
|
+
"mutable": true,
|
|
410
|
+
"complexType": {
|
|
411
|
+
"original": "string",
|
|
412
|
+
"resolved": "string",
|
|
413
|
+
"references": {}
|
|
414
|
+
},
|
|
415
|
+
"required": false,
|
|
416
|
+
"optional": false,
|
|
417
|
+
"docs": {
|
|
418
|
+
"tags": [],
|
|
419
|
+
"text": ""
|
|
420
|
+
},
|
|
421
|
+
"attribute": "inner-radius",
|
|
422
|
+
"reflect": false,
|
|
423
|
+
"defaultValue": "'70%'"
|
|
505
424
|
},
|
|
506
|
-
"
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
"
|
|
515
|
-
"
|
|
425
|
+
"outerRadius": {
|
|
426
|
+
"type": "string",
|
|
427
|
+
"mutable": true,
|
|
428
|
+
"complexType": {
|
|
429
|
+
"original": "string",
|
|
430
|
+
"resolved": "string",
|
|
431
|
+
"references": {}
|
|
432
|
+
},
|
|
433
|
+
"required": false,
|
|
434
|
+
"optional": false,
|
|
435
|
+
"docs": {
|
|
436
|
+
"tags": [],
|
|
437
|
+
"text": ""
|
|
438
|
+
},
|
|
439
|
+
"attribute": "outer-radius",
|
|
440
|
+
"reflect": false,
|
|
441
|
+
"defaultValue": "'85%'"
|
|
516
442
|
},
|
|
517
|
-
"
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
"
|
|
521
|
-
|
|
443
|
+
"minSliceSize": {
|
|
444
|
+
"type": "string",
|
|
445
|
+
"mutable": false,
|
|
446
|
+
"complexType": {
|
|
447
|
+
"original": "string",
|
|
448
|
+
"resolved": "string",
|
|
449
|
+
"references": {}
|
|
450
|
+
},
|
|
451
|
+
"required": false,
|
|
452
|
+
"optional": false,
|
|
453
|
+
"docs": {
|
|
454
|
+
"tags": [],
|
|
455
|
+
"text": ""
|
|
456
|
+
},
|
|
457
|
+
"attribute": "min-slice-size",
|
|
458
|
+
"reflect": false,
|
|
459
|
+
"defaultValue": "'2.5%'"
|
|
522
460
|
},
|
|
523
|
-
"
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
"
|
|
532
|
-
"
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
}
|
|
461
|
+
"selectedOffset": {
|
|
462
|
+
"type": "number",
|
|
463
|
+
"mutable": false,
|
|
464
|
+
"complexType": {
|
|
465
|
+
"original": "number",
|
|
466
|
+
"resolved": "number",
|
|
467
|
+
"references": {}
|
|
468
|
+
},
|
|
469
|
+
"required": false,
|
|
470
|
+
"optional": false,
|
|
471
|
+
"docs": {
|
|
472
|
+
"tags": [],
|
|
473
|
+
"text": ""
|
|
474
|
+
},
|
|
475
|
+
"attribute": "selected-offset",
|
|
476
|
+
"reflect": false,
|
|
477
|
+
"defaultValue": "10"
|
|
537
478
|
},
|
|
538
|
-
"
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
"
|
|
542
|
-
|
|
479
|
+
"hoverScaleSize": {
|
|
480
|
+
"type": "number",
|
|
481
|
+
"mutable": false,
|
|
482
|
+
"complexType": {
|
|
483
|
+
"original": "number",
|
|
484
|
+
"resolved": "number",
|
|
485
|
+
"references": {}
|
|
486
|
+
},
|
|
487
|
+
"required": false,
|
|
488
|
+
"optional": false,
|
|
489
|
+
"docs": {
|
|
490
|
+
"tags": [],
|
|
491
|
+
"text": ""
|
|
492
|
+
},
|
|
493
|
+
"attribute": "hover-scale-size",
|
|
494
|
+
"reflect": false,
|
|
495
|
+
"defaultValue": "5"
|
|
543
496
|
},
|
|
544
|
-
"
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
"
|
|
559
|
-
"
|
|
497
|
+
"format": {
|
|
498
|
+
"type": "string",
|
|
499
|
+
"mutable": false,
|
|
500
|
+
"complexType": {
|
|
501
|
+
"original": "'currency'",
|
|
502
|
+
"resolved": "\"currency\"",
|
|
503
|
+
"references": {}
|
|
504
|
+
},
|
|
505
|
+
"required": false,
|
|
506
|
+
"optional": false,
|
|
507
|
+
"docs": {
|
|
508
|
+
"tags": [],
|
|
509
|
+
"text": ""
|
|
510
|
+
},
|
|
511
|
+
"attribute": "format",
|
|
512
|
+
"reflect": true
|
|
560
513
|
},
|
|
561
|
-
"
|
|
562
|
-
"
|
|
563
|
-
"
|
|
564
|
-
"
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
514
|
+
"isClickable": {
|
|
515
|
+
"type": "boolean",
|
|
516
|
+
"mutable": false,
|
|
517
|
+
"complexType": {
|
|
518
|
+
"original": "boolean",
|
|
519
|
+
"resolved": "boolean",
|
|
520
|
+
"references": {}
|
|
521
|
+
},
|
|
522
|
+
"required": false,
|
|
523
|
+
"optional": false,
|
|
524
|
+
"docs": {
|
|
525
|
+
"tags": [],
|
|
526
|
+
"text": ""
|
|
527
|
+
},
|
|
528
|
+
"attribute": "is-clickable",
|
|
529
|
+
"reflect": true
|
|
575
530
|
},
|
|
576
|
-
"
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
"
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
"parameters": [{
|
|
587
|
-
"tags": [],
|
|
588
|
-
"text": ""
|
|
589
|
-
}],
|
|
590
|
-
"references": {
|
|
591
|
-
"Promise": {
|
|
592
|
-
"location": "global"
|
|
531
|
+
"data": {
|
|
532
|
+
"type": "unknown",
|
|
533
|
+
"mutable": false,
|
|
534
|
+
"complexType": {
|
|
535
|
+
"original": "IChartData[]",
|
|
536
|
+
"resolved": "IChartData[]",
|
|
537
|
+
"references": {
|
|
538
|
+
"IChartData": {
|
|
539
|
+
"location": "local"
|
|
540
|
+
}
|
|
593
541
|
}
|
|
594
542
|
},
|
|
595
|
-
"
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
543
|
+
"required": false,
|
|
544
|
+
"optional": false,
|
|
545
|
+
"docs": {
|
|
546
|
+
"tags": [],
|
|
547
|
+
"text": ""
|
|
548
|
+
},
|
|
549
|
+
"defaultValue": "[]"
|
|
600
550
|
}
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
551
|
+
};
|
|
552
|
+
}
|
|
553
|
+
static get states() {
|
|
554
|
+
return {
|
|
555
|
+
"selectedId": {},
|
|
556
|
+
"hoveredId": {}
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
static get events() {
|
|
560
|
+
return [{
|
|
561
|
+
"method": "change",
|
|
562
|
+
"name": "change",
|
|
563
|
+
"bubbles": true,
|
|
564
|
+
"cancelable": true,
|
|
565
|
+
"composed": true,
|
|
566
|
+
"docs": {
|
|
567
|
+
"tags": [],
|
|
568
|
+
"text": ""
|
|
569
|
+
},
|
|
570
|
+
"complexType": {
|
|
571
|
+
"original": "any",
|
|
572
|
+
"resolved": "any",
|
|
573
|
+
"references": {}
|
|
574
|
+
}
|
|
575
|
+
}, {
|
|
576
|
+
"method": "click",
|
|
577
|
+
"name": "click",
|
|
578
|
+
"bubbles": true,
|
|
579
|
+
"cancelable": true,
|
|
580
|
+
"composed": true,
|
|
581
|
+
"docs": {
|
|
582
|
+
"tags": [],
|
|
583
|
+
"text": ""
|
|
584
|
+
},
|
|
585
|
+
"complexType": {
|
|
586
|
+
"original": "any",
|
|
587
|
+
"resolved": "any",
|
|
588
|
+
"references": {}
|
|
589
|
+
}
|
|
590
|
+
}];
|
|
591
|
+
}
|
|
592
|
+
static get methods() {
|
|
593
|
+
return {
|
|
594
|
+
"selectById": {
|
|
595
|
+
"complexType": {
|
|
596
|
+
"signature": "(id: string) => Promise<void>",
|
|
597
|
+
"parameters": [{
|
|
598
|
+
"tags": [],
|
|
599
|
+
"text": ""
|
|
600
|
+
}],
|
|
601
|
+
"references": {
|
|
602
|
+
"Promise": {
|
|
603
|
+
"location": "global"
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
"return": "Promise<void>"
|
|
613
607
|
},
|
|
614
|
-
"
|
|
608
|
+
"docs": {
|
|
609
|
+
"text": "",
|
|
610
|
+
"tags": []
|
|
611
|
+
}
|
|
615
612
|
},
|
|
616
|
-
"
|
|
617
|
-
"
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
613
|
+
"selectByIndex": {
|
|
614
|
+
"complexType": {
|
|
615
|
+
"signature": "(index: number) => Promise<void>",
|
|
616
|
+
"parameters": [{
|
|
617
|
+
"tags": [],
|
|
618
|
+
"text": ""
|
|
619
|
+
}],
|
|
620
|
+
"references": {
|
|
621
|
+
"Promise": {
|
|
622
|
+
"location": "global"
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
"return": "Promise<void>"
|
|
629
626
|
},
|
|
630
|
-
"
|
|
627
|
+
"docs": {
|
|
628
|
+
"text": "",
|
|
629
|
+
"tags": []
|
|
630
|
+
}
|
|
631
631
|
},
|
|
632
|
-
"
|
|
633
|
-
"
|
|
634
|
-
|
|
632
|
+
"clearSelection": {
|
|
633
|
+
"complexType": {
|
|
634
|
+
"signature": "() => Promise<void>",
|
|
635
|
+
"parameters": [],
|
|
636
|
+
"references": {
|
|
637
|
+
"Promise": {
|
|
638
|
+
"location": "global"
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
"return": "Promise<void>"
|
|
642
|
+
},
|
|
643
|
+
"docs": {
|
|
644
|
+
"text": "",
|
|
645
|
+
"tags": []
|
|
646
|
+
}
|
|
635
647
|
}
|
|
636
|
-
}
|
|
637
|
-
}
|
|
648
|
+
};
|
|
649
|
+
}
|
|
638
650
|
static get elementRef() { return "hostElement"; }
|
|
639
|
-
static get watchers() {
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
651
|
+
static get watchers() {
|
|
652
|
+
return [{
|
|
653
|
+
"propName": "chartName",
|
|
654
|
+
"methodName": "propsUpdates"
|
|
655
|
+
}, {
|
|
656
|
+
"propName": "innerRadius",
|
|
657
|
+
"methodName": "propsUpdates"
|
|
658
|
+
}, {
|
|
659
|
+
"propName": "outerRadius",
|
|
660
|
+
"methodName": "propsUpdates"
|
|
661
|
+
}, {
|
|
662
|
+
"propName": "minSliceSize",
|
|
663
|
+
"methodName": "propsUpdates"
|
|
664
|
+
}, {
|
|
665
|
+
"propName": "hoverScaleSize",
|
|
666
|
+
"methodName": "propsUpdates"
|
|
667
|
+
}, {
|
|
668
|
+
"propName": "selectedOffset",
|
|
669
|
+
"methodName": "propsUpdates"
|
|
670
|
+
}, {
|
|
671
|
+
"propName": "data",
|
|
672
|
+
"methodName": "propsUpdates"
|
|
673
|
+
}, {
|
|
674
|
+
"propName": "data",
|
|
675
|
+
"methodName": "dataUpdated"
|
|
676
|
+
}, {
|
|
677
|
+
"propName": "innerRadius",
|
|
678
|
+
"methodName": "innerRadiusUpdated"
|
|
679
|
+
}, {
|
|
680
|
+
"propName": "outerRadius",
|
|
681
|
+
"methodName": "outerRadiusUpdated"
|
|
682
|
+
}];
|
|
683
|
+
}
|
|
684
|
+
static get listeners() {
|
|
685
|
+
return [{
|
|
686
|
+
"name": "focus",
|
|
687
|
+
"method": "delegateFocus",
|
|
688
|
+
"target": undefined,
|
|
689
|
+
"capture": false,
|
|
690
|
+
"passive": false
|
|
691
|
+
}];
|
|
692
|
+
}
|
|
677
693
|
}
|