@aeris-ui/core 22.0.0-alpha.0 → 22.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -3
- 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 +1228 -446
- 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 +209 -101
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +581 -189
- 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 +741 -139
- 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 +773 -369
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +1171 -521
- 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 +440 -140
- 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-code-block.mjs +637 -0
- package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs +1340 -700
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +823 -318
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1404 -555
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1471 -740
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +918 -443
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +1942 -1123
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +1079 -346
- 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 +1015 -322
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +410 -254
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +967 -587
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +1379 -522
- 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 +688 -0
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-galleria.mjs +2446 -1117
- 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 -98
- 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 -107
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +658 -255
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +926 -291
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +678 -264
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +625 -158
- 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 +613 -382
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +1062 -472
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +994 -393
- 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 +623 -230
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +1598 -561
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +592 -220
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +485 -199
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +428 -123
- 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 +925 -249
- 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 +912 -375
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +549 -176
- 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 +394 -124
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +506 -231
- 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 +226 -63
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select.mjs +1845 -648
- 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 +884 -430
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +861 -337
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +955 -266
- 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 +2034 -869
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +789 -279
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +856 -219
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1284 -1399
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +132 -144
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +909 -441
- 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 +1076 -384
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +398 -132
- 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 +625 -330
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +1453 -621
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +2019 -940
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +1107 -658
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +985 -316
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +20 -8
- package/schematics/ng-add/schema.json +1 -1
- package/schematics/runtime/schematics/ng-add/options.js +4 -4
- package/schematics/runtime/schematics/ng-add/options.js.map +1 -1
- package/schematics/runtime/schematics/ng-add/workspace.js +1 -1
- package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-contrast.js +6 -17
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-foundation.js +10 -4
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +28 -5
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +2 -2
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +22 -8
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +12 -4
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +7 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +49 -33
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_fallback-colors.scss +10 -0
- package/styles/_mobile.scss +16 -0
- package/styles/_tokens.scss +5 -5
- package/styles/aeris.css +412 -125
- package/styles/controls.css +61 -29
- package/tools/aeris-theme.mjs +2 -2
- package/tools/aeris-theme.schema.json +5 -2
- package/types/aeris-ui-core-accordion.d.ts +167 -93
- package/types/aeris-ui-core-animate-on-scroll.d.ts +72 -31
- package/types/aeris-ui-core-auto-complete.d.ts +327 -140
- 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 -46
- package/types/aeris-ui-core-block-ui.d.ts +47 -27
- package/types/aeris-ui-core-breadcrumb.d.ts +163 -92
- package/types/aeris-ui-core-button-group.d.ts +37 -16
- package/types/aeris-ui-core-button.d.ts +226 -67
- package/types/aeris-ui-core-card.d.ts +74 -37
- package/types/aeris-ui-core-carousel.d.ts +201 -117
- package/types/aeris-ui-core-cascade-select.d.ts +257 -123
- package/types/aeris-ui-core-chart.d.ts +134 -84
- package/types/aeris-ui-core-checkbox.d.ts +139 -54
- 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-code-block.d.ts +188 -0
- package/types/aeris-ui-core-color-picker.d.ts +348 -143
- package/types/aeris-ui-core-compare.d.ts +224 -102
- package/types/aeris-ui-core-confirm-dialog.d.ts +442 -245
- package/types/aeris-ui-core-confirm-popup.d.ts +442 -263
- package/types/aeris-ui-core-context-menu.d.ts +264 -146
- package/types/aeris-ui-core-date-picker.d.ts +489 -217
- package/types/aeris-ui-core-dialog.d.ts +288 -117
- package/types/aeris-ui-core-divider.d.ts +58 -20
- package/types/aeris-ui-core-drawer.d.ts +273 -112
- package/types/aeris-ui-core-dynamic-dialog.d.ts +158 -137
- package/types/aeris-ui-core-editor.d.ts +250 -123
- package/types/aeris-ui-core-file-upload.d.ts +367 -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 +163 -0
- package/types/aeris-ui-core-galleria.d.ts +588 -256
- package/types/aeris-ui-core-glass.d.ts +24 -11
- package/types/aeris-ui-core-icon-field.d.ts +94 -32
- package/types/aeris-ui-core-inplace.d.ts +123 -62
- package/types/aeris-ui-core-input-group.d.ts +84 -33
- package/types/aeris-ui-core-input-mask.d.ts +194 -69
- package/types/aeris-ui-core-input-number.d.ts +272 -87
- package/types/aeris-ui-core-input-otp.d.ts +191 -81
- package/types/aeris-ui-core-input-text.d.ts +185 -60
- package/types/aeris-ui-core-key-filter.d.ts +53 -39
- package/types/aeris-ui-core-mega-menu.d.ts +175 -121
- package/types/aeris-ui-core-menu.d.ts +277 -168
- package/types/aeris-ui-core-menubar.d.ts +273 -135
- package/types/aeris-ui-core-message.d.ts +132 -60
- package/types/aeris-ui-core-meter-group.d.ts +163 -90
- package/types/aeris-ui-core-multi-select.d.ts +439 -180
- package/types/aeris-ui-core-order-list.d.ts +144 -66
- package/types/aeris-ui-core-organization-chart.d.ts +133 -77
- package/types/aeris-ui-core-paginator.d.ts +93 -38
- package/types/aeris-ui-core-panel.d.ts +149 -78
- package/types/aeris-ui-core-password.d.ts +258 -102
- package/types/aeris-ui-core-pick-list.d.ts +374 -179
- package/types/aeris-ui-core-popover.d.ts +219 -105
- package/types/aeris-ui-core-progress-bar.d.ts +157 -73
- package/types/aeris-ui-core-progress-spinner.d.ts +110 -48
- package/types/aeris-ui-core-radio-button.d.ts +124 -50
- 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 +66 -29
- package/types/aeris-ui-core-select.d.ts +475 -217
- package/types/aeris-ui-core-skeleton.d.ts +39 -17
- package/types/aeris-ui-core-slider.d.ts +270 -115
- package/types/aeris-ui-core-speed-dial.d.ts +241 -111
- package/types/aeris-ui-core-split-button.d.ts +267 -113
- package/types/aeris-ui-core-splitter.d.ts +225 -106
- package/types/aeris-ui-core-stepper.d.ts +184 -91
- package/types/aeris-ui-core-style-class.d.ts +141 -71
- package/types/aeris-ui-core-table.d.ts +596 -304
- package/types/aeris-ui-core-tabs.d.ts +181 -76
- package/types/aeris-ui-core-textarea.d.ts +261 -78
- package/types/aeris-ui-core-theme-builder.d.ts +472 -450
- package/types/aeris-ui-core-theming.d.ts +42 -45
- package/types/aeris-ui-core-tiered-menu.d.ts +251 -142
- package/types/aeris-ui-core-timeline.d.ts +109 -71
- package/types/aeris-ui-core-toast.d.ts +225 -115
- package/types/aeris-ui-core-toggle-switch.d.ts +125 -51
- package/types/aeris-ui-core-toolbar.d.ts +98 -41
- package/types/aeris-ui-core-tooltip.d.ts +157 -88
- package/types/aeris-ui-core-tree-select.d.ts +364 -171
- package/types/aeris-ui-core-tree-table.d.ts +566 -286
- package/types/aeris-ui-core-tree.d.ts +270 -165
- package/types/aeris-ui-core.d.ts +197 -72
|
@@ -1,344 +1,589 @@
|
|
|
1
|
-
import { DOCUMENT, isPlatformBrowser } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
1
|
+
import { DOCUMENT, isPlatformBrowser } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { DestroyRef, Directive, ElementRef, PLATFORM_ID, Renderer2, afterNextRender, booleanAttribute, computed, effect, inject, input, output, signal } from "@angular/core";
|
|
4
|
+
var AerisStyleClassDirective = class AerisStyleClassDirective {
|
|
5
|
+
target = input("@next", {
|
|
6
|
+
...ngDevMode ? { debugName: "target" } : /* istanbul ignore next */ {},
|
|
7
|
+
alias: "aerisStyleClass"
|
|
8
|
+
});
|
|
9
|
+
toggleClasses = input("", {
|
|
10
|
+
...ngDevMode ? { debugName: "toggleClasses" } : /* istanbul ignore next */ {},
|
|
11
|
+
alias: "aerisStyleClassToggle"
|
|
12
|
+
});
|
|
13
|
+
enterFromClasses = input("", {
|
|
14
|
+
...ngDevMode ? { debugName: "enterFromClasses" } : /* istanbul ignore next */ {},
|
|
15
|
+
alias: "aerisStyleClassEnterFrom"
|
|
16
|
+
});
|
|
17
|
+
enterActiveClasses = input("", {
|
|
18
|
+
...ngDevMode ? { debugName: "enterActiveClasses" } : /* istanbul ignore next */ {},
|
|
19
|
+
alias: "aerisStyleClassEnterActive"
|
|
20
|
+
});
|
|
21
|
+
enterToClasses = input("", {
|
|
22
|
+
...ngDevMode ? { debugName: "enterToClasses" } : /* istanbul ignore next */ {},
|
|
23
|
+
alias: "aerisStyleClassEnterTo"
|
|
24
|
+
});
|
|
25
|
+
leaveFromClasses = input("", {
|
|
26
|
+
...ngDevMode ? { debugName: "leaveFromClasses" } : /* istanbul ignore next */ {},
|
|
27
|
+
alias: "aerisStyleClassLeaveFrom"
|
|
28
|
+
});
|
|
29
|
+
leaveActiveClasses = input("", {
|
|
30
|
+
...ngDevMode ? { debugName: "leaveActiveClasses" } : /* istanbul ignore next */ {},
|
|
31
|
+
alias: "aerisStyleClassLeaveActive"
|
|
32
|
+
});
|
|
33
|
+
leaveToClasses = input("", {
|
|
34
|
+
...ngDevMode ? { debugName: "leaveToClasses" } : /* istanbul ignore next */ {},
|
|
35
|
+
alias: "aerisStyleClassLeaveTo"
|
|
36
|
+
});
|
|
37
|
+
initiallyVisible = input(false, {
|
|
38
|
+
...ngDevMode ? { debugName: "initiallyVisible" } : /* istanbul ignore next */ {},
|
|
39
|
+
alias: "aerisStyleClassInitiallyVisible",
|
|
40
|
+
transform: booleanAttribute
|
|
41
|
+
});
|
|
42
|
+
dismissOnOutside = input(false, {
|
|
43
|
+
...ngDevMode ? { debugName: "dismissOnOutside" } : /* istanbul ignore next */ {},
|
|
44
|
+
alias: "aerisStyleClassDismissOnOutside",
|
|
45
|
+
transform: booleanAttribute
|
|
46
|
+
});
|
|
47
|
+
dismissOnEscape = input(false, {
|
|
48
|
+
...ngDevMode ? { debugName: "dismissOnEscape" } : /* istanbul ignore next */ {},
|
|
49
|
+
alias: "aerisStyleClassDismissOnEscape",
|
|
50
|
+
transform: booleanAttribute
|
|
51
|
+
});
|
|
52
|
+
dismissOnResize = input(false, {
|
|
53
|
+
...ngDevMode ? { debugName: "dismissOnResize" } : /* istanbul ignore next */ {},
|
|
54
|
+
alias: "aerisStyleClassDismissOnResize",
|
|
55
|
+
transform: booleanAttribute
|
|
56
|
+
});
|
|
57
|
+
resizeTarget = input("window", {
|
|
58
|
+
...ngDevMode ? { debugName: "resizeTarget" } : /* istanbul ignore next */ {},
|
|
59
|
+
alias: "aerisStyleClassResizeTarget"
|
|
60
|
+
});
|
|
61
|
+
disabled = input(false, {
|
|
62
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
63
|
+
alias: "aerisStyleClassDisabled",
|
|
64
|
+
transform: booleanAttribute
|
|
65
|
+
});
|
|
66
|
+
shown = output();
|
|
67
|
+
hidden = output();
|
|
68
|
+
internalState = signal("hidden", ...ngDevMode ? [{ debugName: "internalState" }] : /* istanbul ignore next */ []);
|
|
69
|
+
state = this.internalState.asReadonly();
|
|
70
|
+
visible = computed(() => {
|
|
71
|
+
const state = this.internalState();
|
|
72
|
+
return state === "entering" || state === "shown";
|
|
73
|
+
}, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
74
|
+
document = inject(DOCUMENT);
|
|
75
|
+
browser = isPlatformBrowser(inject(PLATFORM_ID));
|
|
76
|
+
host = inject(ElementRef).nativeElement;
|
|
77
|
+
renderer = inject(Renderer2);
|
|
78
|
+
destroyRef = inject(DestroyRef);
|
|
79
|
+
currentTarget = null;
|
|
80
|
+
transitionId = 0;
|
|
81
|
+
pendingCancelers = [];
|
|
82
|
+
constructor() {
|
|
83
|
+
afterNextRender(() => this.prepareTarget());
|
|
84
|
+
effect((onCleanup) => {
|
|
85
|
+
const enabled = this.dismissOnResize() && this.visible() && !this.disabled();
|
|
86
|
+
const resizeTarget = this.resizeTarget();
|
|
87
|
+
if (!this.browser || !enabled) return;
|
|
88
|
+
onCleanup(this.listenForResize(resizeTarget));
|
|
89
|
+
});
|
|
90
|
+
this.destroyRef.onDestroy(() => this.cancelTransition());
|
|
91
|
+
}
|
|
92
|
+
toggle() {
|
|
93
|
+
return this.toggleWithContext(null, "api");
|
|
94
|
+
}
|
|
95
|
+
show() {
|
|
96
|
+
return this.showWithContext(null, "api");
|
|
97
|
+
}
|
|
98
|
+
hide() {
|
|
99
|
+
return this.hideWithContext(null, "api");
|
|
100
|
+
}
|
|
101
|
+
handleTrigger(event) {
|
|
102
|
+
this.toggleWithContext(event, "trigger");
|
|
103
|
+
}
|
|
104
|
+
handleOutsidePointer(event) {
|
|
105
|
+
if (!this.dismissOnOutside() || !this.visible() || this.disabled()) return;
|
|
106
|
+
const target = event.target;
|
|
107
|
+
const controlled = this.resolveTarget();
|
|
108
|
+
if (!target || this.host.contains(target) || controlled?.contains(target)) return;
|
|
109
|
+
this.hideWithContext(event, "outside");
|
|
110
|
+
}
|
|
111
|
+
handleDocumentKeydown(event) {
|
|
112
|
+
if (event.key !== "Escape" || event.defaultPrevented || !this.dismissOnEscape() || !this.visible() || this.disabled()) return;
|
|
113
|
+
if (this.hideWithContext(event, "escape")) event.preventDefault();
|
|
114
|
+
}
|
|
115
|
+
toggleWithContext(event, reason) {
|
|
116
|
+
return this.visible() ? this.hideWithContext(event, reason) : this.showWithContext(event, reason);
|
|
117
|
+
}
|
|
118
|
+
showWithContext(event, reason) {
|
|
119
|
+
if (!this.browser || this.disabled() || this.visible()) return false;
|
|
120
|
+
const target = this.prepareTarget();
|
|
121
|
+
if (!target) return false;
|
|
122
|
+
const toggleClasses = this.tokens(this.toggleClasses());
|
|
123
|
+
if (toggleClasses.length > 0) {
|
|
124
|
+
this.cancelTransition();
|
|
125
|
+
for (const className of toggleClasses) this.renderer.addClass(target, className);
|
|
126
|
+
this.complete(target, "shown", event, reason);
|
|
127
|
+
return true;
|
|
128
|
+
}
|
|
129
|
+
this.runTransition(target, "enter", event, reason);
|
|
130
|
+
return true;
|
|
131
|
+
}
|
|
132
|
+
hideWithContext(event, reason) {
|
|
133
|
+
if (!this.browser || this.disabled() || !this.visible()) return false;
|
|
134
|
+
const target = this.prepareTarget();
|
|
135
|
+
if (!target) return false;
|
|
136
|
+
const toggleClasses = this.tokens(this.toggleClasses());
|
|
137
|
+
if (toggleClasses.length > 0) {
|
|
138
|
+
this.cancelTransition();
|
|
139
|
+
for (const className of toggleClasses) this.renderer.removeClass(target, className);
|
|
140
|
+
this.complete(target, "hidden", event, reason);
|
|
141
|
+
return true;
|
|
142
|
+
}
|
|
143
|
+
this.runTransition(target, "leave", event, reason);
|
|
144
|
+
return true;
|
|
145
|
+
}
|
|
146
|
+
prepareTarget() {
|
|
147
|
+
if (!this.browser) return null;
|
|
148
|
+
const target = this.resolveTarget();
|
|
149
|
+
if (!target || target === this.currentTarget) return target;
|
|
150
|
+
this.cancelTransition();
|
|
151
|
+
this.currentTarget = target;
|
|
152
|
+
const toggleClasses = this.tokens(this.toggleClasses());
|
|
153
|
+
if (toggleClasses.length > 0) {
|
|
154
|
+
const active = toggleClasses.every((className) => target.classList.contains(className));
|
|
155
|
+
this.internalState.set(active ? "shown" : "hidden");
|
|
156
|
+
return target;
|
|
157
|
+
}
|
|
158
|
+
this.clearTransitionClasses(target);
|
|
159
|
+
target.hidden = !this.initiallyVisible();
|
|
160
|
+
this.internalState.set(this.initiallyVisible() ? "shown" : "hidden");
|
|
161
|
+
return target;
|
|
162
|
+
}
|
|
163
|
+
resolveTarget() {
|
|
164
|
+
const value = this.target();
|
|
165
|
+
if (typeof value !== "string") return value;
|
|
166
|
+
const selector = value.trim();
|
|
167
|
+
if (!selector) return null;
|
|
168
|
+
if (selector === "@self") return this.host;
|
|
169
|
+
if (selector === "@next") return this.host.nextElementSibling;
|
|
170
|
+
if (selector === "@previous") return this.host.previousElementSibling;
|
|
171
|
+
if (selector === "@parent") return this.host.parentElement;
|
|
172
|
+
if (selector === "@grandparent") return this.host.parentElement?.parentElement ?? null;
|
|
173
|
+
try {
|
|
174
|
+
return this.document.querySelector(selector);
|
|
175
|
+
} catch {
|
|
176
|
+
return null;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
runTransition(target, direction, event, reason) {
|
|
180
|
+
this.cancelTransition();
|
|
181
|
+
const id = ++this.transitionId;
|
|
182
|
+
const entering = direction === "enter";
|
|
183
|
+
const from = this.tokens(entering ? this.enterFromClasses() : this.leaveFromClasses());
|
|
184
|
+
const active = this.tokens(entering ? this.enterActiveClasses() : this.leaveActiveClasses());
|
|
185
|
+
const to = this.tokens(entering ? this.enterToClasses() : this.leaveToClasses());
|
|
186
|
+
this.clearTransitionClasses(target);
|
|
187
|
+
for (const className of [...from, ...active]) this.renderer.addClass(target, className);
|
|
188
|
+
target.hidden = false;
|
|
189
|
+
this.internalState.set(entering ? "entering" : "leaving");
|
|
190
|
+
if (this.prefersReducedMotion(target)) {
|
|
191
|
+
this.completeTransition(id, target, entering, event, reason);
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
target.getBoundingClientRect();
|
|
195
|
+
this.scheduleFrame(target, () => {
|
|
196
|
+
if (id !== this.transitionId) return;
|
|
197
|
+
for (const className of from) this.renderer.removeClass(target, className);
|
|
198
|
+
for (const className of to) this.renderer.addClass(target, className);
|
|
199
|
+
const duration = this.motionDuration(target);
|
|
200
|
+
if (duration <= 0) {
|
|
201
|
+
queueMicrotask(() => this.completeTransition(id, target, entering, event, reason));
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
const view = target.ownerDocument.defaultView;
|
|
205
|
+
if (!view) {
|
|
206
|
+
this.completeTransition(id, target, entering, event, reason);
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
const timer = view.setTimeout(() => this.completeTransition(id, target, entering, event, reason), duration);
|
|
210
|
+
this.pendingCancelers.push(() => view.clearTimeout(timer));
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
completeTransition(id, target, entering, event, reason) {
|
|
214
|
+
if (id !== this.transitionId) return;
|
|
215
|
+
this.cancelPending();
|
|
216
|
+
this.clearTransitionClasses(target);
|
|
217
|
+
target.hidden = !entering;
|
|
218
|
+
this.complete(target, entering ? "shown" : "hidden", event, reason);
|
|
219
|
+
}
|
|
220
|
+
complete(target, state, originalEvent, reason) {
|
|
221
|
+
this.internalState.set(state);
|
|
222
|
+
const event = {
|
|
223
|
+
target,
|
|
224
|
+
reason,
|
|
225
|
+
originalEvent
|
|
226
|
+
};
|
|
227
|
+
if (state === "shown") this.shown.emit(event);
|
|
228
|
+
else this.hidden.emit(event);
|
|
229
|
+
}
|
|
230
|
+
scheduleFrame(target, callback) {
|
|
231
|
+
const view = target.ownerDocument.defaultView;
|
|
232
|
+
if (!view) {
|
|
233
|
+
callback();
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
236
|
+
if (typeof view.requestAnimationFrame === "function") {
|
|
237
|
+
const frame = view.requestAnimationFrame(callback);
|
|
238
|
+
this.pendingCancelers.push(() => view.cancelAnimationFrame(frame));
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
const timer = view.setTimeout(callback, 16);
|
|
242
|
+
this.pendingCancelers.push(() => view.clearTimeout(timer));
|
|
243
|
+
}
|
|
244
|
+
listenForResize(value) {
|
|
245
|
+
if (value === "window" || value === "document") return this.renderer.listen("window", "resize", (event) => this.hideWithContext(event, "resize"));
|
|
246
|
+
const observed = this.resolveResizeTarget(value);
|
|
247
|
+
const Observer = this.document.defaultView?.ResizeObserver;
|
|
248
|
+
if (!observed || !Observer) return this.renderer.listen("window", "resize", (event) => this.hideWithContext(event, "resize"));
|
|
249
|
+
let previousSize = null;
|
|
250
|
+
const observer = new Observer((entries) => {
|
|
251
|
+
const entry = entries.find((candidate) => candidate.target === observed);
|
|
252
|
+
if (!entry) return;
|
|
253
|
+
const size = {
|
|
254
|
+
width: entry.contentRect.width,
|
|
255
|
+
height: entry.contentRect.height
|
|
256
|
+
};
|
|
257
|
+
if (previousSize && (size.width !== previousSize.width || size.height !== previousSize.height)) this.hideWithContext(null, "resize");
|
|
258
|
+
previousSize = size;
|
|
259
|
+
});
|
|
260
|
+
observer.observe(observed);
|
|
261
|
+
return () => observer.disconnect();
|
|
262
|
+
}
|
|
263
|
+
resolveResizeTarget(value) {
|
|
264
|
+
if (typeof value !== "string") return value;
|
|
265
|
+
try {
|
|
266
|
+
return this.document.querySelector(value);
|
|
267
|
+
} catch {
|
|
268
|
+
return null;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
prefersReducedMotion(target) {
|
|
272
|
+
return target.ownerDocument.defaultView?.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? false;
|
|
273
|
+
}
|
|
274
|
+
motionDuration(target) {
|
|
275
|
+
const style = target.ownerDocument.defaultView?.getComputedStyle(target);
|
|
276
|
+
if (!style) return 0;
|
|
277
|
+
return Math.max(this.maxTime(style.transitionDuration, style.transitionDelay), this.maxTime(style.animationDuration, style.animationDelay));
|
|
278
|
+
}
|
|
279
|
+
maxTime(durations, delays) {
|
|
280
|
+
const durationValues = this.parseTimes(durations);
|
|
281
|
+
const delayValues = this.parseTimes(delays);
|
|
282
|
+
return durationValues.reduce((maximum, duration, index) => Math.max(maximum, duration + (delayValues[index % Math.max(1, delayValues.length)] ?? 0)), 0);
|
|
283
|
+
}
|
|
284
|
+
parseTimes(value) {
|
|
285
|
+
return value.split(",").map((part) => {
|
|
286
|
+
const time = part.trim();
|
|
287
|
+
const number = Number.parseFloat(time);
|
|
288
|
+
if (!Number.isFinite(number)) return 0;
|
|
289
|
+
return time.endsWith("ms") ? number : number * 1e3;
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
clearTransitionClasses(target) {
|
|
293
|
+
const classes = [
|
|
294
|
+
this.enterFromClasses(),
|
|
295
|
+
this.enterActiveClasses(),
|
|
296
|
+
this.enterToClasses(),
|
|
297
|
+
this.leaveFromClasses(),
|
|
298
|
+
this.leaveActiveClasses(),
|
|
299
|
+
this.leaveToClasses()
|
|
300
|
+
];
|
|
301
|
+
for (const className of classes.flatMap((value) => this.tokens(value))) this.renderer.removeClass(target, className);
|
|
302
|
+
}
|
|
303
|
+
cancelTransition() {
|
|
304
|
+
this.transitionId += 1;
|
|
305
|
+
this.cancelPending();
|
|
306
|
+
if (this.currentTarget) this.clearTransitionClasses(this.currentTarget);
|
|
307
|
+
}
|
|
308
|
+
cancelPending() {
|
|
309
|
+
for (const cancel of this.pendingCancelers.splice(0)) cancel();
|
|
310
|
+
}
|
|
311
|
+
tokens(value) {
|
|
312
|
+
return value.split(/\s+/u).filter(Boolean);
|
|
313
|
+
}
|
|
314
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
315
|
+
minVersion: "12.0.0",
|
|
316
|
+
version: "22.2.2",
|
|
317
|
+
ngImport: i0,
|
|
318
|
+
type: AerisStyleClassDirective,
|
|
319
|
+
deps: [],
|
|
320
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
321
|
+
});
|
|
322
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
323
|
+
minVersion: "17.1.0",
|
|
324
|
+
version: "22.2.2",
|
|
325
|
+
type: AerisStyleClassDirective,
|
|
326
|
+
isStandalone: true,
|
|
327
|
+
selector: "[aerisStyleClass]",
|
|
328
|
+
inputs: {
|
|
329
|
+
target: {
|
|
330
|
+
classPropertyName: "target",
|
|
331
|
+
publicName: "aerisStyleClass",
|
|
332
|
+
isSignal: true,
|
|
333
|
+
isRequired: false,
|
|
334
|
+
transformFunction: null
|
|
335
|
+
},
|
|
336
|
+
toggleClasses: {
|
|
337
|
+
classPropertyName: "toggleClasses",
|
|
338
|
+
publicName: "aerisStyleClassToggle",
|
|
339
|
+
isSignal: true,
|
|
340
|
+
isRequired: false,
|
|
341
|
+
transformFunction: null
|
|
342
|
+
},
|
|
343
|
+
enterFromClasses: {
|
|
344
|
+
classPropertyName: "enterFromClasses",
|
|
345
|
+
publicName: "aerisStyleClassEnterFrom",
|
|
346
|
+
isSignal: true,
|
|
347
|
+
isRequired: false,
|
|
348
|
+
transformFunction: null
|
|
349
|
+
},
|
|
350
|
+
enterActiveClasses: {
|
|
351
|
+
classPropertyName: "enterActiveClasses",
|
|
352
|
+
publicName: "aerisStyleClassEnterActive",
|
|
353
|
+
isSignal: true,
|
|
354
|
+
isRequired: false,
|
|
355
|
+
transformFunction: null
|
|
356
|
+
},
|
|
357
|
+
enterToClasses: {
|
|
358
|
+
classPropertyName: "enterToClasses",
|
|
359
|
+
publicName: "aerisStyleClassEnterTo",
|
|
360
|
+
isSignal: true,
|
|
361
|
+
isRequired: false,
|
|
362
|
+
transformFunction: null
|
|
363
|
+
},
|
|
364
|
+
leaveFromClasses: {
|
|
365
|
+
classPropertyName: "leaveFromClasses",
|
|
366
|
+
publicName: "aerisStyleClassLeaveFrom",
|
|
367
|
+
isSignal: true,
|
|
368
|
+
isRequired: false,
|
|
369
|
+
transformFunction: null
|
|
370
|
+
},
|
|
371
|
+
leaveActiveClasses: {
|
|
372
|
+
classPropertyName: "leaveActiveClasses",
|
|
373
|
+
publicName: "aerisStyleClassLeaveActive",
|
|
374
|
+
isSignal: true,
|
|
375
|
+
isRequired: false,
|
|
376
|
+
transformFunction: null
|
|
377
|
+
},
|
|
378
|
+
leaveToClasses: {
|
|
379
|
+
classPropertyName: "leaveToClasses",
|
|
380
|
+
publicName: "aerisStyleClassLeaveTo",
|
|
381
|
+
isSignal: true,
|
|
382
|
+
isRequired: false,
|
|
383
|
+
transformFunction: null
|
|
384
|
+
},
|
|
385
|
+
initiallyVisible: {
|
|
386
|
+
classPropertyName: "initiallyVisible",
|
|
387
|
+
publicName: "aerisStyleClassInitiallyVisible",
|
|
388
|
+
isSignal: true,
|
|
389
|
+
isRequired: false,
|
|
390
|
+
transformFunction: null
|
|
391
|
+
},
|
|
392
|
+
dismissOnOutside: {
|
|
393
|
+
classPropertyName: "dismissOnOutside",
|
|
394
|
+
publicName: "aerisStyleClassDismissOnOutside",
|
|
395
|
+
isSignal: true,
|
|
396
|
+
isRequired: false,
|
|
397
|
+
transformFunction: null
|
|
398
|
+
},
|
|
399
|
+
dismissOnEscape: {
|
|
400
|
+
classPropertyName: "dismissOnEscape",
|
|
401
|
+
publicName: "aerisStyleClassDismissOnEscape",
|
|
402
|
+
isSignal: true,
|
|
403
|
+
isRequired: false,
|
|
404
|
+
transformFunction: null
|
|
405
|
+
},
|
|
406
|
+
dismissOnResize: {
|
|
407
|
+
classPropertyName: "dismissOnResize",
|
|
408
|
+
publicName: "aerisStyleClassDismissOnResize",
|
|
409
|
+
isSignal: true,
|
|
410
|
+
isRequired: false,
|
|
411
|
+
transformFunction: null
|
|
412
|
+
},
|
|
413
|
+
resizeTarget: {
|
|
414
|
+
classPropertyName: "resizeTarget",
|
|
415
|
+
publicName: "aerisStyleClassResizeTarget",
|
|
416
|
+
isSignal: true,
|
|
417
|
+
isRequired: false,
|
|
418
|
+
transformFunction: null
|
|
419
|
+
},
|
|
420
|
+
disabled: {
|
|
421
|
+
classPropertyName: "disabled",
|
|
422
|
+
publicName: "aerisStyleClassDisabled",
|
|
423
|
+
isSignal: true,
|
|
424
|
+
isRequired: false,
|
|
425
|
+
transformFunction: null
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
outputs: {
|
|
429
|
+
shown: "shown",
|
|
430
|
+
hidden: "hidden"
|
|
431
|
+
},
|
|
432
|
+
host: {
|
|
433
|
+
listeners: {
|
|
434
|
+
"click": "handleTrigger($event)",
|
|
435
|
+
"document:pointerdown": "handleOutsidePointer($event)",
|
|
436
|
+
"document:keydown": "handleDocumentKeydown($event)"
|
|
437
|
+
},
|
|
438
|
+
properties: { "attr.data-aeris-style-class-state": "state()" }
|
|
439
|
+
},
|
|
440
|
+
exportAs: ["aerisStyleClass"],
|
|
441
|
+
ngImport: i0
|
|
442
|
+
});
|
|
443
|
+
};
|
|
444
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
445
|
+
minVersion: "12.0.0",
|
|
446
|
+
version: "22.2.2",
|
|
447
|
+
ngImport: i0,
|
|
448
|
+
type: AerisStyleClassDirective,
|
|
449
|
+
decorators: [{
|
|
450
|
+
type: Directive,
|
|
451
|
+
args: [{
|
|
452
|
+
selector: "[aerisStyleClass]",
|
|
453
|
+
exportAs: "aerisStyleClass",
|
|
454
|
+
host: {
|
|
455
|
+
"[attr.data-aeris-style-class-state]": "state()",
|
|
456
|
+
"(click)": "handleTrigger($event)",
|
|
457
|
+
"(document:pointerdown)": "handleOutsidePointer($event)",
|
|
458
|
+
"(document:keydown)": "handleDocumentKeydown($event)"
|
|
459
|
+
}
|
|
460
|
+
}]
|
|
461
|
+
}],
|
|
462
|
+
ctorParameters: () => [],
|
|
463
|
+
propDecorators: {
|
|
464
|
+
target: [{
|
|
465
|
+
type: i0.Input,
|
|
466
|
+
args: [{
|
|
467
|
+
isSignal: true,
|
|
468
|
+
alias: "aerisStyleClass",
|
|
469
|
+
required: false
|
|
470
|
+
}]
|
|
471
|
+
}],
|
|
472
|
+
toggleClasses: [{
|
|
473
|
+
type: i0.Input,
|
|
474
|
+
args: [{
|
|
475
|
+
isSignal: true,
|
|
476
|
+
alias: "aerisStyleClassToggle",
|
|
477
|
+
required: false
|
|
478
|
+
}]
|
|
479
|
+
}],
|
|
480
|
+
enterFromClasses: [{
|
|
481
|
+
type: i0.Input,
|
|
482
|
+
args: [{
|
|
483
|
+
isSignal: true,
|
|
484
|
+
alias: "aerisStyleClassEnterFrom",
|
|
485
|
+
required: false
|
|
486
|
+
}]
|
|
487
|
+
}],
|
|
488
|
+
enterActiveClasses: [{
|
|
489
|
+
type: i0.Input,
|
|
490
|
+
args: [{
|
|
491
|
+
isSignal: true,
|
|
492
|
+
alias: "aerisStyleClassEnterActive",
|
|
493
|
+
required: false
|
|
494
|
+
}]
|
|
495
|
+
}],
|
|
496
|
+
enterToClasses: [{
|
|
497
|
+
type: i0.Input,
|
|
498
|
+
args: [{
|
|
499
|
+
isSignal: true,
|
|
500
|
+
alias: "aerisStyleClassEnterTo",
|
|
501
|
+
required: false
|
|
502
|
+
}]
|
|
503
|
+
}],
|
|
504
|
+
leaveFromClasses: [{
|
|
505
|
+
type: i0.Input,
|
|
506
|
+
args: [{
|
|
507
|
+
isSignal: true,
|
|
508
|
+
alias: "aerisStyleClassLeaveFrom",
|
|
509
|
+
required: false
|
|
510
|
+
}]
|
|
511
|
+
}],
|
|
512
|
+
leaveActiveClasses: [{
|
|
513
|
+
type: i0.Input,
|
|
514
|
+
args: [{
|
|
515
|
+
isSignal: true,
|
|
516
|
+
alias: "aerisStyleClassLeaveActive",
|
|
517
|
+
required: false
|
|
518
|
+
}]
|
|
519
|
+
}],
|
|
520
|
+
leaveToClasses: [{
|
|
521
|
+
type: i0.Input,
|
|
522
|
+
args: [{
|
|
523
|
+
isSignal: true,
|
|
524
|
+
alias: "aerisStyleClassLeaveTo",
|
|
525
|
+
required: false
|
|
526
|
+
}]
|
|
527
|
+
}],
|
|
528
|
+
initiallyVisible: [{
|
|
529
|
+
type: i0.Input,
|
|
530
|
+
args: [{
|
|
531
|
+
isSignal: true,
|
|
532
|
+
alias: "aerisStyleClassInitiallyVisible",
|
|
533
|
+
required: false
|
|
534
|
+
}]
|
|
535
|
+
}],
|
|
536
|
+
dismissOnOutside: [{
|
|
537
|
+
type: i0.Input,
|
|
538
|
+
args: [{
|
|
539
|
+
isSignal: true,
|
|
540
|
+
alias: "aerisStyleClassDismissOnOutside",
|
|
541
|
+
required: false
|
|
542
|
+
}]
|
|
543
|
+
}],
|
|
544
|
+
dismissOnEscape: [{
|
|
545
|
+
type: i0.Input,
|
|
546
|
+
args: [{
|
|
547
|
+
isSignal: true,
|
|
548
|
+
alias: "aerisStyleClassDismissOnEscape",
|
|
549
|
+
required: false
|
|
550
|
+
}]
|
|
551
|
+
}],
|
|
552
|
+
dismissOnResize: [{
|
|
553
|
+
type: i0.Input,
|
|
554
|
+
args: [{
|
|
555
|
+
isSignal: true,
|
|
556
|
+
alias: "aerisStyleClassDismissOnResize",
|
|
557
|
+
required: false
|
|
558
|
+
}]
|
|
559
|
+
}],
|
|
560
|
+
resizeTarget: [{
|
|
561
|
+
type: i0.Input,
|
|
562
|
+
args: [{
|
|
563
|
+
isSignal: true,
|
|
564
|
+
alias: "aerisStyleClassResizeTarget",
|
|
565
|
+
required: false
|
|
566
|
+
}]
|
|
567
|
+
}],
|
|
568
|
+
disabled: [{
|
|
569
|
+
type: i0.Input,
|
|
570
|
+
args: [{
|
|
571
|
+
isSignal: true,
|
|
572
|
+
alias: "aerisStyleClassDisabled",
|
|
573
|
+
required: false
|
|
574
|
+
}]
|
|
575
|
+
}],
|
|
576
|
+
shown: [{
|
|
577
|
+
type: i0.Output,
|
|
578
|
+
args: ["shown"]
|
|
579
|
+
}],
|
|
580
|
+
hidden: [{
|
|
581
|
+
type: i0.Output,
|
|
582
|
+
args: ["hidden"]
|
|
583
|
+
}]
|
|
584
|
+
}
|
|
585
|
+
});
|
|
337
586
|
const AerisStyleClassModule = [AerisStyleClassDirective];
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Generated bundle index. Do not edit.
|
|
341
|
-
*/
|
|
342
|
-
|
|
343
587
|
export { AerisStyleClassDirective, AerisStyleClassModule };
|
|
344
|
-
|
|
588
|
+
|
|
589
|
+
//# sourceMappingURL=aeris-ui-core-style-class.mjs.map
|