@aeris-ui/core 22.0.0-alpha.8 → 22.0.0-alpha.9
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 +2 -2
- package/fesm2022/aeris-ui-core-accordion.mjs +646 -255
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-complete.mjs +1171 -428
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-badge.mjs +562 -115
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-block-ui.mjs +205 -101
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +547 -177
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-group.mjs +153 -38
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +730 -110
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +371 -101
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-carousel.mjs +690 -353
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +915 -423
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +455 -258
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +432 -135
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +430 -117
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-color-picker.mjs +1313 -683
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +819 -310
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1392 -551
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1447 -744
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +900 -450
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +1656 -863
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +1066 -355
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +204 -43
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-drawer.mjs +1002 -326
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +402 -249
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +934 -572
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +1313 -511
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-form-field.mjs +672 -170
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-galleria.mjs +1987 -797
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +110 -33
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-icon-field.mjs +426 -106
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-inplace.mjs +452 -130
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +413 -114
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +650 -248
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +902 -334
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +667 -253
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +618 -152
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-mega-menu.mjs +601 -388
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +1032 -495
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +960 -491
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +477 -145
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +587 -196
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +1550 -552
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +518 -202
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +455 -177
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +329 -127
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +596 -196
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +894 -247
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +1280 -659
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +892 -386
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +545 -177
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +410 -133
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +386 -119
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +502 -225
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-top.mjs +204 -63
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select.mjs +1794 -643
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-slider.mjs +868 -404
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +800 -329
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +880 -270
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +812 -352
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +697 -254
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-table.mjs +1984 -865
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +686 -324
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +846 -212
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1256 -1423
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +132 -147
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +885 -465
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +855 -615
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +390 -127
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toolbar.mjs +458 -121
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +623 -345
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +1356 -601
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +2001 -942
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +1103 -658
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +861 -842
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/aeris-ui-core-accordion.d.ts +166 -93
- package/types/aeris-ui-core-animate-on-scroll.d.ts +71 -31
- package/types/aeris-ui-core-auto-complete.d.ts +326 -149
- package/types/aeris-ui-core-auto-focus.d.ts +24 -16
- package/types/aeris-ui-core-avatar.d.ts +112 -42
- package/types/aeris-ui-core-badge.d.ts +160 -47
- package/types/aeris-ui-core-block-ui.d.ts +47 -27
- package/types/aeris-ui-core-breadcrumb.d.ts +162 -92
- package/types/aeris-ui-core-button-group.d.ts +37 -16
- package/types/aeris-ui-core-button.d.ts +226 -64
- package/types/aeris-ui-core-card.d.ts +74 -37
- package/types/aeris-ui-core-carousel.d.ts +197 -117
- package/types/aeris-ui-core-cascade-select.d.ts +252 -131
- package/types/aeris-ui-core-chart.d.ts +134 -84
- package/types/aeris-ui-core-checkbox.d.ts +139 -55
- package/types/aeris-ui-core-chip.d.ts +116 -51
- package/types/aeris-ui-core-class-names.d.ts +22 -20
- package/types/aeris-ui-core-color-picker.d.ts +347 -150
- package/types/aeris-ui-core-compare.d.ts +224 -101
- package/types/aeris-ui-core-confirm-dialog.d.ts +441 -249
- package/types/aeris-ui-core-confirm-popup.d.ts +440 -268
- package/types/aeris-ui-core-context-menu.d.ts +262 -150
- package/types/aeris-ui-core-date-picker.d.ts +488 -226
- package/types/aeris-ui-core-dialog.d.ts +288 -121
- package/types/aeris-ui-core-divider.d.ts +58 -20
- package/types/aeris-ui-core-drawer.d.ts +273 -116
- package/types/aeris-ui-core-dynamic-dialog.d.ts +157 -140
- package/types/aeris-ui-core-editor.d.ts +243 -124
- package/types/aeris-ui-core-file-upload.d.ts +366 -197
- package/types/aeris-ui-core-filter-service.d.ts +48 -52
- package/types/aeris-ui-core-fluid.d.ts +12 -9
- package/types/aeris-ui-core-focus-trap.d.ts +39 -31
- package/types/aeris-ui-core-form-field.d.ts +158 -62
- package/types/aeris-ui-core-galleria.d.ts +589 -256
- package/types/aeris-ui-core-glass.d.ts +24 -11
- package/types/aeris-ui-core-icon-field.d.ts +94 -34
- package/types/aeris-ui-core-inplace.d.ts +123 -62
- package/types/aeris-ui-core-input-group.d.ts +84 -35
- package/types/aeris-ui-core-input-mask.d.ts +194 -71
- package/types/aeris-ui-core-input-number.d.ts +272 -90
- package/types/aeris-ui-core-input-otp.d.ts +190 -82
- package/types/aeris-ui-core-input-text.d.ts +185 -62
- package/types/aeris-ui-core-key-filter.d.ts +53 -39
- package/types/aeris-ui-core-mega-menu.d.ts +174 -123
- package/types/aeris-ui-core-menu.d.ts +275 -172
- package/types/aeris-ui-core-menubar.d.ts +272 -160
- package/types/aeris-ui-core-message.d.ts +132 -61
- package/types/aeris-ui-core-meter-group.d.ts +162 -90
- package/types/aeris-ui-core-multi-select.d.ts +435 -187
- package/types/aeris-ui-core-order-list.d.ts +143 -66
- package/types/aeris-ui-core-organization-chart.d.ts +132 -77
- package/types/aeris-ui-core-paginator.d.ts +92 -46
- package/types/aeris-ui-core-panel.d.ts +149 -78
- package/types/aeris-ui-core-password.d.ts +257 -108
- package/types/aeris-ui-core-pick-list.d.ts +373 -179
- package/types/aeris-ui-core-popover.d.ts +218 -107
- package/types/aeris-ui-core-progress-bar.d.ts +156 -74
- package/types/aeris-ui-core-progress-spinner.d.ts +110 -48
- package/types/aeris-ui-core-radio-button.d.ts +124 -51
- package/types/aeris-ui-core-rating.d.ts +149 -76
- package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
- package/types/aeris-ui-core-scroll-top.d.ts +64 -29
- package/types/aeris-ui-core-select.d.ts +474 -226
- package/types/aeris-ui-core-skeleton.d.ts +39 -17
- package/types/aeris-ui-core-slider.d.ts +270 -116
- package/types/aeris-ui-core-speed-dial.d.ts +240 -112
- package/types/aeris-ui-core-split-button.d.ts +264 -121
- package/types/aeris-ui-core-splitter.d.ts +224 -106
- package/types/aeris-ui-core-stepper.d.ts +183 -91
- package/types/aeris-ui-core-style-class.d.ts +141 -71
- package/types/aeris-ui-core-table.d.ts +595 -308
- package/types/aeris-ui-core-tabs.d.ts +163 -90
- package/types/aeris-ui-core-textarea.d.ts +261 -81
- package/types/aeris-ui-core-theme-builder.d.ts +463 -475
- package/types/aeris-ui-core-theming.d.ts +42 -49
- package/types/aeris-ui-core-tiered-menu.d.ts +249 -147
- package/types/aeris-ui-core-timeline.d.ts +108 -71
- package/types/aeris-ui-core-toast.d.ts +219 -155
- package/types/aeris-ui-core-toggle-switch.d.ts +125 -52
- package/types/aeris-ui-core-toolbar.d.ts +98 -41
- package/types/aeris-ui-core-tooltip.d.ts +157 -92
- package/types/aeris-ui-core-tree-select.d.ts +359 -179
- package/types/aeris-ui-core-tree-table.d.ts +565 -290
- package/types/aeris-ui-core-tree.d.ts +269 -165
- package/types/aeris-ui-core.d.ts +161 -125
|
@@ -1,245 +1,337 @@
|
|
|
1
|
-
import { DOCUMENT, isPlatformBrowser } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
import { Chart, registerables } from
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Advanced integration point for supplying a Chart.js-compatible renderer.
|
|
8
|
-
* Chart uses the default Chart.js renderer unless this provider is overridden.
|
|
9
|
-
*/
|
|
10
|
-
const AERIS_CHART_FACTORY = new InjectionToken('AERIS_CHART_FACTORY', {
|
|
11
|
-
factory: () => (canvas, configuration) => new Chart(canvas, configuration),
|
|
12
|
-
});
|
|
1
|
+
import { DOCUMENT, isPlatformBrowser } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { Component, DestroyRef, ElementRef, InjectionToken, PLATFORM_ID, afterNextRender, booleanAttribute, computed, effect, inject, input, output, signal, viewChild } from "@angular/core";
|
|
4
|
+
import { Chart, registerables } from "chart.js";
|
|
5
|
+
const AERIS_CHART_FACTORY = new InjectionToken("AERIS_CHART_FACTORY", { factory: () => (canvas, configuration) => new Chart(canvas, configuration) });
|
|
13
6
|
let chartJsRegistered = false;
|
|
14
|
-
class AerisChart {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
7
|
+
var AerisChart = class AerisChart {
|
|
8
|
+
platformId = inject(PLATFORM_ID);
|
|
9
|
+
document = inject(DOCUMENT);
|
|
10
|
+
host = inject(ElementRef);
|
|
11
|
+
chartFactory = inject(AERIS_CHART_FACTORY);
|
|
12
|
+
destroyRef = inject(DestroyRef);
|
|
13
|
+
canvas = viewChild("canvas", ...ngDevMode ? [{ debugName: "canvas" }] : /* istanbul ignore next */ []);
|
|
14
|
+
ready = signal(false, ...ngDevMode ? [{ debugName: "ready" }] : /* istanbul ignore next */ []);
|
|
15
|
+
chartId = `aeris-chart-${++nextChartId}`;
|
|
16
|
+
browser = isPlatformBrowser(this.platformId);
|
|
17
|
+
themeObserver = this.createThemeObserver();
|
|
18
|
+
chart = null;
|
|
19
|
+
renderedType = null;
|
|
20
|
+
renderedPlugins = null;
|
|
21
|
+
type = input("bar", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
|
|
22
|
+
data = input(null, ...ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []);
|
|
23
|
+
options = input(null, ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
24
|
+
plugins = input([], ...ngDevMode ? [{ debugName: "plugins" }] : /* istanbul ignore next */ []);
|
|
25
|
+
height = input("20rem", ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
|
|
26
|
+
responsive = input(true, {
|
|
27
|
+
...ngDevMode ? { debugName: "responsive" } : /* istanbul ignore next */ {},
|
|
28
|
+
transform: booleanAttribute
|
|
29
|
+
});
|
|
30
|
+
redraw = input(false, {
|
|
31
|
+
...ngDevMode ? { debugName: "redraw" } : /* istanbul ignore next */ {},
|
|
32
|
+
transform: booleanAttribute
|
|
33
|
+
});
|
|
34
|
+
ariaLabel = input("Chart", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
35
|
+
ariaDescription = input("", ...ngDevMode ? [{ debugName: "ariaDescription" }] : /* istanbul ignore next */ []);
|
|
36
|
+
emptyMessage = input("No chart data available", ...ngDevMode ? [{ debugName: "emptyMessage" }] : /* istanbul ignore next */ []);
|
|
37
|
+
chartReady = output();
|
|
38
|
+
chartError = output();
|
|
39
|
+
hasData = computed(() => Boolean(this.data()?.datasets.length), ...ngDevMode ? [{ debugName: "hasData" }] : /* istanbul ignore next */ []);
|
|
40
|
+
descriptionId = computed(() => `${this.chartId}-description`, ...ngDevMode ? [{ debugName: "descriptionId" }] : /* istanbul ignore next */ []);
|
|
41
|
+
resolvedAriaLabel = computed(() => this.ariaLabel() || "Chart", ...ngDevMode ? [{ debugName: "resolvedAriaLabel" }] : /* istanbul ignore next */ []);
|
|
42
|
+
accessibleSummary = computed(() => this.chartSummary(this.data()), ...ngDevMode ? [{ debugName: "accessibleSummary" }] : /* istanbul ignore next */ []);
|
|
43
|
+
constructor() {
|
|
44
|
+
this.destroyRef.onDestroy(() => {
|
|
45
|
+
this.themeObserver?.disconnect();
|
|
46
|
+
this.destroyChart();
|
|
47
|
+
});
|
|
48
|
+
afterNextRender(() => {
|
|
49
|
+
if (this.browser) this.setReady();
|
|
50
|
+
});
|
|
51
|
+
effect((onCleanup) => {
|
|
52
|
+
const canvas = this.canvas()?.nativeElement;
|
|
53
|
+
const ready = this.isReady();
|
|
54
|
+
const data = this.data();
|
|
55
|
+
const type = this.type();
|
|
56
|
+
const options = this.options();
|
|
57
|
+
const plugins = this.plugins();
|
|
58
|
+
const responsive = this.responsive();
|
|
59
|
+
const redraw = this.redraw();
|
|
60
|
+
if (!ready || !canvas || !data?.datasets.length) {
|
|
61
|
+
this.destroyChart();
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
this.renderChart(canvas, type, data, options, plugins, responsive, redraw);
|
|
65
|
+
onCleanup(() => void 0);
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
refresh() {
|
|
69
|
+
const canvas = this.canvas()?.nativeElement;
|
|
70
|
+
const data = this.data();
|
|
71
|
+
if (!canvas || !data?.datasets.length || !this.isReady()) return;
|
|
72
|
+
this.renderChart(canvas, this.type(), data, this.options(), this.plugins(), this.responsive(), this.redraw());
|
|
73
|
+
}
|
|
74
|
+
resize(width, height) {
|
|
75
|
+
this.chart?.resize(width, height);
|
|
76
|
+
}
|
|
77
|
+
reset() {
|
|
78
|
+
this.chart?.reset();
|
|
79
|
+
}
|
|
80
|
+
toBase64Image(type, quality) {
|
|
81
|
+
return this.chart?.toBase64Image(type, quality) ?? null;
|
|
82
|
+
}
|
|
83
|
+
setReady() {
|
|
84
|
+
this.ready.set(true);
|
|
85
|
+
}
|
|
86
|
+
isReady() {
|
|
87
|
+
return this.ready();
|
|
88
|
+
}
|
|
89
|
+
renderChart(canvas, type, data, options, plugins, responsive, redraw) {
|
|
90
|
+
try {
|
|
91
|
+
const configuration = this.configuration(type, data, options, plugins, responsive);
|
|
92
|
+
if (!this.chart || this.renderedType !== type || this.renderedPlugins !== plugins || redraw) {
|
|
93
|
+
this.destroyChart();
|
|
94
|
+
this.registerChartJs();
|
|
95
|
+
this.chart = this.chartFactory(canvas, configuration);
|
|
96
|
+
this.renderedType = type;
|
|
97
|
+
this.renderedPlugins = plugins;
|
|
98
|
+
this.chartReady.emit({ chart: this.chart });
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
this.chart.data = configuration.data;
|
|
102
|
+
this.chart.options = configuration.options;
|
|
103
|
+
this.chart.update();
|
|
104
|
+
} catch (error) {
|
|
105
|
+
this.destroyChart();
|
|
106
|
+
this.chartError.emit({ error });
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
configuration(type, data, options, plugins, responsive) {
|
|
110
|
+
return {
|
|
111
|
+
type,
|
|
112
|
+
data: this.copyData(data),
|
|
113
|
+
options: this.themedOptions(options, responsive),
|
|
114
|
+
plugins: [...plugins]
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
copyData(data) {
|
|
118
|
+
return {
|
|
119
|
+
...data,
|
|
120
|
+
labels: data.labels ? [...data.labels] : [],
|
|
121
|
+
datasets: data.datasets.map((dataset) => ({ ...dataset }))
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
themedOptions(options, responsive) {
|
|
125
|
+
const source = options ?? {};
|
|
126
|
+
const style = getComputedStyle(this.host.nativeElement);
|
|
127
|
+
const text = style.getPropertyValue("--aeris-text").trim() || "#222222";
|
|
128
|
+
const muted = style.getPropertyValue("--aeris-text-muted").trim() || "#6d7068";
|
|
129
|
+
const border = style.getPropertyValue("--aeris-border").trim() || "#deddd7";
|
|
130
|
+
const surface = style.getPropertyValue("--aeris-surface").trim() || "#ffffff";
|
|
131
|
+
const scales = Object.fromEntries(Object.entries(source.scales ?? {}).map(([key, scale]) => {
|
|
132
|
+
const sourceScale = scale ?? {};
|
|
133
|
+
return [key, {
|
|
134
|
+
...sourceScale,
|
|
135
|
+
grid: {
|
|
136
|
+
color: border,
|
|
137
|
+
...this.objectValue(sourceScale["grid"])
|
|
138
|
+
},
|
|
139
|
+
ticks: {
|
|
140
|
+
color: muted,
|
|
141
|
+
...this.objectValue(sourceScale["ticks"])
|
|
142
|
+
},
|
|
143
|
+
border: {
|
|
144
|
+
color: border,
|
|
145
|
+
...this.objectValue(sourceScale["border"])
|
|
146
|
+
},
|
|
147
|
+
title: {
|
|
148
|
+
color: text,
|
|
149
|
+
...this.objectValue(sourceScale["title"])
|
|
150
|
+
}
|
|
151
|
+
}];
|
|
152
|
+
}));
|
|
153
|
+
return {
|
|
154
|
+
...source,
|
|
155
|
+
responsive,
|
|
156
|
+
color: source.color ?? text,
|
|
157
|
+
plugins: {
|
|
158
|
+
...source.plugins,
|
|
159
|
+
legend: {
|
|
160
|
+
...source.plugins?.legend,
|
|
161
|
+
labels: {
|
|
162
|
+
color: muted,
|
|
163
|
+
...source.plugins?.legend?.labels
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
tooltip: {
|
|
167
|
+
...source.plugins?.tooltip,
|
|
168
|
+
backgroundColor: source.plugins?.tooltip?.backgroundColor ?? surface,
|
|
169
|
+
titleColor: source.plugins?.tooltip?.titleColor ?? text,
|
|
170
|
+
bodyColor: source.plugins?.tooltip?.bodyColor ?? muted,
|
|
171
|
+
borderColor: source.plugins?.tooltip?.borderColor ?? border,
|
|
172
|
+
borderWidth: source.plugins?.tooltip?.borderWidth ?? 1
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
scales
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
registerChartJs() {
|
|
179
|
+
if (chartJsRegistered) return;
|
|
180
|
+
Chart.register(...registerables);
|
|
181
|
+
chartJsRegistered = true;
|
|
182
|
+
}
|
|
183
|
+
destroyChart() {
|
|
184
|
+
this.chart?.destroy();
|
|
185
|
+
this.chart = null;
|
|
186
|
+
this.renderedType = null;
|
|
187
|
+
this.renderedPlugins = null;
|
|
188
|
+
}
|
|
189
|
+
createThemeObserver() {
|
|
190
|
+
if (!this.browser || typeof MutationObserver === "undefined") return null;
|
|
191
|
+
const observer = new MutationObserver(() => this.refresh());
|
|
192
|
+
observer.observe(this.document.documentElement, {
|
|
193
|
+
attributes: true,
|
|
194
|
+
attributeFilter: [
|
|
195
|
+
"class",
|
|
196
|
+
"data-theme",
|
|
197
|
+
"data-palette",
|
|
198
|
+
"style"
|
|
199
|
+
]
|
|
200
|
+
});
|
|
201
|
+
return observer;
|
|
202
|
+
}
|
|
203
|
+
chartSummary(data) {
|
|
204
|
+
if (!data?.datasets.length) return this.emptyMessage();
|
|
205
|
+
const labels = (data.labels ?? []).map((label) => String(label));
|
|
206
|
+
const datasets = data.datasets.map((dataset, index) => {
|
|
207
|
+
return `${dataset.label || `Dataset ${index + 1}`}: ${dataset.data.map((value) => this.valueText(value)).join(", ")}`;
|
|
208
|
+
});
|
|
209
|
+
return [labels.length ? `Labels: ${labels.join(", ")}.` : "", ...datasets].filter(Boolean).join(" ");
|
|
210
|
+
}
|
|
211
|
+
valueText(value) {
|
|
212
|
+
if (typeof value === "number" || typeof value === "string") return String(value);
|
|
213
|
+
if (value && typeof value === "object") {
|
|
214
|
+
const point = value;
|
|
215
|
+
const x = point["x"];
|
|
216
|
+
const y = point["y"];
|
|
217
|
+
const r = point["r"];
|
|
218
|
+
return [
|
|
219
|
+
x !== void 0 ? `x ${x}` : "",
|
|
220
|
+
y !== void 0 ? `y ${y}` : "",
|
|
221
|
+
r !== void 0 ? `r ${r}` : ""
|
|
222
|
+
].filter(Boolean).join(", ");
|
|
223
|
+
}
|
|
224
|
+
return String(value);
|
|
225
|
+
}
|
|
226
|
+
objectValue(value) {
|
|
227
|
+
return value && typeof value === "object" ? value : {};
|
|
228
|
+
}
|
|
229
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
230
|
+
minVersion: "12.0.0",
|
|
231
|
+
version: "22.2.1",
|
|
232
|
+
ngImport: i0,
|
|
233
|
+
type: AerisChart,
|
|
234
|
+
deps: [],
|
|
235
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
236
|
+
});
|
|
237
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
238
|
+
minVersion: "17.0.0",
|
|
239
|
+
version: "22.2.1",
|
|
240
|
+
type: AerisChart,
|
|
241
|
+
isStandalone: true,
|
|
242
|
+
selector: "aeris-chart",
|
|
243
|
+
inputs: {
|
|
244
|
+
type: {
|
|
245
|
+
classPropertyName: "type",
|
|
246
|
+
publicName: "type",
|
|
247
|
+
isSignal: true,
|
|
248
|
+
isRequired: false,
|
|
249
|
+
transformFunction: null
|
|
250
|
+
},
|
|
251
|
+
data: {
|
|
252
|
+
classPropertyName: "data",
|
|
253
|
+
publicName: "data",
|
|
254
|
+
isSignal: true,
|
|
255
|
+
isRequired: false,
|
|
256
|
+
transformFunction: null
|
|
257
|
+
},
|
|
258
|
+
options: {
|
|
259
|
+
classPropertyName: "options",
|
|
260
|
+
publicName: "options",
|
|
261
|
+
isSignal: true,
|
|
262
|
+
isRequired: false,
|
|
263
|
+
transformFunction: null
|
|
264
|
+
},
|
|
265
|
+
plugins: {
|
|
266
|
+
classPropertyName: "plugins",
|
|
267
|
+
publicName: "plugins",
|
|
268
|
+
isSignal: true,
|
|
269
|
+
isRequired: false,
|
|
270
|
+
transformFunction: null
|
|
271
|
+
},
|
|
272
|
+
height: {
|
|
273
|
+
classPropertyName: "height",
|
|
274
|
+
publicName: "height",
|
|
275
|
+
isSignal: true,
|
|
276
|
+
isRequired: false,
|
|
277
|
+
transformFunction: null
|
|
278
|
+
},
|
|
279
|
+
responsive: {
|
|
280
|
+
classPropertyName: "responsive",
|
|
281
|
+
publicName: "responsive",
|
|
282
|
+
isSignal: true,
|
|
283
|
+
isRequired: false,
|
|
284
|
+
transformFunction: null
|
|
285
|
+
},
|
|
286
|
+
redraw: {
|
|
287
|
+
classPropertyName: "redraw",
|
|
288
|
+
publicName: "redraw",
|
|
289
|
+
isSignal: true,
|
|
290
|
+
isRequired: false,
|
|
291
|
+
transformFunction: null
|
|
292
|
+
},
|
|
293
|
+
ariaLabel: {
|
|
294
|
+
classPropertyName: "ariaLabel",
|
|
295
|
+
publicName: "ariaLabel",
|
|
296
|
+
isSignal: true,
|
|
297
|
+
isRequired: false,
|
|
298
|
+
transformFunction: null
|
|
299
|
+
},
|
|
300
|
+
ariaDescription: {
|
|
301
|
+
classPropertyName: "ariaDescription",
|
|
302
|
+
publicName: "ariaDescription",
|
|
303
|
+
isSignal: true,
|
|
304
|
+
isRequired: false,
|
|
305
|
+
transformFunction: null
|
|
306
|
+
},
|
|
307
|
+
emptyMessage: {
|
|
308
|
+
classPropertyName: "emptyMessage",
|
|
309
|
+
publicName: "emptyMessage",
|
|
310
|
+
isSignal: true,
|
|
311
|
+
isRequired: false,
|
|
312
|
+
transformFunction: null
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
outputs: {
|
|
316
|
+
chartReady: "chartReady",
|
|
317
|
+
chartError: "chartError"
|
|
318
|
+
},
|
|
319
|
+
host: {
|
|
320
|
+
properties: {
|
|
321
|
+
"attr.data-chart-type": "type()",
|
|
322
|
+
"attr.data-responsive": "responsive() || null"
|
|
323
|
+
},
|
|
324
|
+
classAttribute: "aeris-chart"
|
|
325
|
+
},
|
|
326
|
+
viewQueries: [{
|
|
327
|
+
propertyName: "canvas",
|
|
328
|
+
first: true,
|
|
329
|
+
predicate: ["canvas"],
|
|
330
|
+
descendants: true,
|
|
331
|
+
isSignal: true
|
|
332
|
+
}],
|
|
333
|
+
ngImport: i0,
|
|
334
|
+
template: `
|
|
243
335
|
<div class="aeris-chart__canvas-wrap" [style.block-size]="height()">
|
|
244
336
|
<canvas
|
|
245
337
|
#canvas
|
|
@@ -257,11 +349,21 @@ class AerisChart {
|
|
|
257
349
|
<p class="aeris-chart__description" [id]="descriptionId()">{{ ariaDescription() }}</p>
|
|
258
350
|
}
|
|
259
351
|
<p class="aeris-chart__summary">{{ accessibleSummary() }}</p>
|
|
260
|
-
`,
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
352
|
+
`,
|
|
353
|
+
isInline: true,
|
|
354
|
+
styles: [":host{display:block;min-inline-size:0;color:var(--aeris-chart-color, var(--aeris-text, #222222))}.aeris-chart__canvas-wrap{position:relative;box-sizing:border-box;min-block-size:var(--aeris-chart-min-height, 12rem);inline-size:100%;min-inline-size:0;padding:var(--aeris-chart-padding, 1rem);overflow:hidden;border:1px solid var(--aeris-chart-border, var(--aeris-border));border-radius:var(--aeris-chart-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-chart-background, var(--aeris-surface, #fff))}.aeris-chart__canvas{display:block;inline-size:100%!important;block-size:100%!important}.aeris-chart__canvas:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #2c432c) 26%,transparent);outline-offset:-3px}.aeris-chart__empty{position:absolute;inset:0;display:grid;place-items:center;padding:1rem;color:var(--aeris-chart-empty-color, var(--aeris-text-muted, #6d7068));font-size:.875rem;font-weight:650;text-align:center}.aeris-chart__description,.aeris-chart__summary{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@media(prefers-reduced-motion:reduce){.aeris-chart__canvas{transition:none!important}}\n"]
|
|
355
|
+
});
|
|
356
|
+
};
|
|
357
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
358
|
+
minVersion: "12.0.0",
|
|
359
|
+
version: "22.2.1",
|
|
360
|
+
ngImport: i0,
|
|
361
|
+
type: AerisChart,
|
|
362
|
+
decorators: [{
|
|
363
|
+
type: Component,
|
|
364
|
+
args: [{
|
|
365
|
+
selector: "aeris-chart",
|
|
366
|
+
template: `
|
|
265
367
|
<div class="aeris-chart__canvas-wrap" [style.block-size]="height()">
|
|
266
368
|
<canvas
|
|
267
369
|
#canvas
|
|
@@ -279,18 +381,113 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
279
381
|
<p class="aeris-chart__description" [id]="descriptionId()">{{ ariaDescription() }}</p>
|
|
280
382
|
}
|
|
281
383
|
<p class="aeris-chart__summary">{{ accessibleSummary() }}</p>
|
|
282
|
-
`,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
384
|
+
`,
|
|
385
|
+
host: {
|
|
386
|
+
class: "aeris-chart",
|
|
387
|
+
"[attr.data-chart-type]": "type()",
|
|
388
|
+
"[attr.data-responsive]": "responsive() || null"
|
|
389
|
+
},
|
|
390
|
+
styles: [":host{display:block;min-inline-size:0;color:var(--aeris-chart-color, var(--aeris-text, #222222))}.aeris-chart__canvas-wrap{position:relative;box-sizing:border-box;min-block-size:var(--aeris-chart-min-height, 12rem);inline-size:100%;min-inline-size:0;padding:var(--aeris-chart-padding, 1rem);overflow:hidden;border:1px solid var(--aeris-chart-border, var(--aeris-border));border-radius:var(--aeris-chart-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-chart-background, var(--aeris-surface, #fff))}.aeris-chart__canvas{display:block;inline-size:100%!important;block-size:100%!important}.aeris-chart__canvas:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #2c432c) 26%,transparent);outline-offset:-3px}.aeris-chart__empty{position:absolute;inset:0;display:grid;place-items:center;padding:1rem;color:var(--aeris-chart-empty-color, var(--aeris-text-muted, #6d7068));font-size:.875rem;font-weight:650;text-align:center}.aeris-chart__description,.aeris-chart__summary{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@media(prefers-reduced-motion:reduce){.aeris-chart__canvas{transition:none!important}}\n"]
|
|
391
|
+
}]
|
|
392
|
+
}],
|
|
393
|
+
ctorParameters: () => [],
|
|
394
|
+
propDecorators: {
|
|
395
|
+
canvas: [{
|
|
396
|
+
type: i0.ViewChild,
|
|
397
|
+
args: ["canvas", { isSignal: true }]
|
|
398
|
+
}],
|
|
399
|
+
type: [{
|
|
400
|
+
type: i0.Input,
|
|
401
|
+
args: [{
|
|
402
|
+
isSignal: true,
|
|
403
|
+
alias: "type",
|
|
404
|
+
required: false
|
|
405
|
+
}]
|
|
406
|
+
}],
|
|
407
|
+
data: [{
|
|
408
|
+
type: i0.Input,
|
|
409
|
+
args: [{
|
|
410
|
+
isSignal: true,
|
|
411
|
+
alias: "data",
|
|
412
|
+
required: false
|
|
413
|
+
}]
|
|
414
|
+
}],
|
|
415
|
+
options: [{
|
|
416
|
+
type: i0.Input,
|
|
417
|
+
args: [{
|
|
418
|
+
isSignal: true,
|
|
419
|
+
alias: "options",
|
|
420
|
+
required: false
|
|
421
|
+
}]
|
|
422
|
+
}],
|
|
423
|
+
plugins: [{
|
|
424
|
+
type: i0.Input,
|
|
425
|
+
args: [{
|
|
426
|
+
isSignal: true,
|
|
427
|
+
alias: "plugins",
|
|
428
|
+
required: false
|
|
429
|
+
}]
|
|
430
|
+
}],
|
|
431
|
+
height: [{
|
|
432
|
+
type: i0.Input,
|
|
433
|
+
args: [{
|
|
434
|
+
isSignal: true,
|
|
435
|
+
alias: "height",
|
|
436
|
+
required: false
|
|
437
|
+
}]
|
|
438
|
+
}],
|
|
439
|
+
responsive: [{
|
|
440
|
+
type: i0.Input,
|
|
441
|
+
args: [{
|
|
442
|
+
isSignal: true,
|
|
443
|
+
alias: "responsive",
|
|
444
|
+
required: false
|
|
445
|
+
}]
|
|
446
|
+
}],
|
|
447
|
+
redraw: [{
|
|
448
|
+
type: i0.Input,
|
|
449
|
+
args: [{
|
|
450
|
+
isSignal: true,
|
|
451
|
+
alias: "redraw",
|
|
452
|
+
required: false
|
|
453
|
+
}]
|
|
454
|
+
}],
|
|
455
|
+
ariaLabel: [{
|
|
456
|
+
type: i0.Input,
|
|
457
|
+
args: [{
|
|
458
|
+
isSignal: true,
|
|
459
|
+
alias: "ariaLabel",
|
|
460
|
+
required: false
|
|
461
|
+
}]
|
|
462
|
+
}],
|
|
463
|
+
ariaDescription: [{
|
|
464
|
+
type: i0.Input,
|
|
465
|
+
args: [{
|
|
466
|
+
isSignal: true,
|
|
467
|
+
alias: "ariaDescription",
|
|
468
|
+
required: false
|
|
469
|
+
}]
|
|
470
|
+
}],
|
|
471
|
+
emptyMessage: [{
|
|
472
|
+
type: i0.Input,
|
|
473
|
+
args: [{
|
|
474
|
+
isSignal: true,
|
|
475
|
+
alias: "emptyMessage",
|
|
476
|
+
required: false
|
|
477
|
+
}]
|
|
478
|
+
}],
|
|
479
|
+
chartReady: [{
|
|
480
|
+
type: i0.Output,
|
|
481
|
+
args: ["chartReady"]
|
|
482
|
+
}],
|
|
483
|
+
chartError: [{
|
|
484
|
+
type: i0.Output,
|
|
485
|
+
args: ["chartError"]
|
|
486
|
+
}]
|
|
487
|
+
}
|
|
488
|
+
});
|
|
288
489
|
let nextChartId = 0;
|
|
289
490
|
const AerisChartModule = [AerisChart];
|
|
290
|
-
|
|
291
|
-
/**
|
|
292
|
-
* Generated bundle index. Do not edit.
|
|
293
|
-
*/
|
|
294
|
-
|
|
295
491
|
export { AERIS_CHART_FACTORY, AerisChart, AerisChartModule };
|
|
296
|
-
|
|
492
|
+
|
|
493
|
+
//# sourceMappingURL=aeris-ui-core-chart.mjs.map
|