@aeris-ui/core 22.0.0-alpha.1 → 22.0.0-alpha.11
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 +232 -191
- package/THIRD_PARTY_LICENSES.md +48 -0
- package/fesm2022/aeris-ui-core-accordion.mjs +666 -273
- 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 +1301 -450
- 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 +221 -101
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +609 -199
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
- package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button-group.mjs +554 -36
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +911 -137
- 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 +835 -369
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +1294 -525
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +594 -262
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +619 -150
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +1109 -121
- 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 +687 -0
- package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs +2436 -1076
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
- package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-compare.mjs +870 -338
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1454 -575
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1499 -760
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +975 -449
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs +946 -0
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs +2538 -1183
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +1187 -368
- 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 +1712 -345
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +418 -254
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +1808 -783
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +1529 -536
- 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 +2821 -1143
- 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 +496 -132
- 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 +713 -257
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +1095 -297
- 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 +703 -160
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
- package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
- 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-listbox.mjs +789 -0
- package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs +662 -388
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +1111 -478
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +1081 -411
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +513 -147
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +641 -230
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +1832 -577
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
- package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-order-list.mjs +748 -220
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +521 -201
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +671 -127
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +602 -210
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +1046 -269
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +1796 -703
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +1354 -385
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +609 -182
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +428 -133
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +502 -132
- 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 +279 -69
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
- package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-select.mjs +1984 -668
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
- package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
- 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 +882 -337
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +972 -268
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +831 -356
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +705 -256
- 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 +2927 -923
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +855 -283
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +919 -221
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1368 -1407
- 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 +966 -447
- 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 +1109 -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 +1340 -131
- 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 +1650 -627
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +2442 -994
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +1257 -670
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +1601 -312
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +48 -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-color-derivation.js +1 -1
- package/schematics/runtime/theme-builder/aeris-contrast.js +38 -17
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-foundation.js +13 -8
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +33 -23
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +8 -2
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +63 -76
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +15 -5
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +18 -2
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +121 -34
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_choice-card.scss +93 -0
- package/styles/_fallback-colors.scss +10 -0
- package/styles/_icon-artwork.scss +14 -0
- package/styles/_icon-template.scss +42 -0
- package/styles/_mobile.scss +16 -0
- package/styles/_selection-icons.scss +12 -0
- package/styles/_table-pinning.scss +119 -0
- package/styles/_tokens.scss +5 -5
- package/styles/aeris.css +447 -137
- package/styles/controls.css +205 -35
- package/tools/aeris-theme.mjs +4 -4
- package/tools/aeris-theme.schema.json +18 -13
- 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 +339 -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 +48 -27
- package/types/aeris-ui-core-breadcrumb.d.ts +163 -92
- package/types/aeris-ui-core-button-forms.d.ts +18 -0
- package/types/aeris-ui-core-button-group.d.ts +150 -16
- package/types/aeris-ui-core-button.d.ts +274 -67
- package/types/aeris-ui-core-card.d.ts +74 -37
- package/types/aeris-ui-core-carousel.d.ts +213 -117
- package/types/aeris-ui-core-cascade-select.d.ts +275 -123
- package/types/aeris-ui-core-chart.d.ts +150 -84
- package/types/aeris-ui-core-checkbox.d.ts +173 -54
- package/types/aeris-ui-core-chip.d.ts +316 -56
- package/types/aeris-ui-core-class-names.d.ts +22 -20
- package/types/aeris-ui-core-code-block.d.ts +201 -0
- package/types/aeris-ui-core-color-picker.d.ts +450 -143
- package/types/aeris-ui-core-command-palette.d.ts +267 -0
- package/types/aeris-ui-core-compare.d.ts +230 -102
- package/types/aeris-ui-core-confirm-dialog.d.ts +450 -245
- package/types/aeris-ui-core-confirm-popup.d.ts +442 -263
- package/types/aeris-ui-core-context-menu.d.ts +270 -146
- package/types/aeris-ui-core-date-picker.d.ts +594 -219
- package/types/aeris-ui-core-dialog.d.ts +301 -117
- package/types/aeris-ui-core-divider.d.ts +58 -20
- package/types/aeris-ui-core-drawer.d.ts +380 -112
- package/types/aeris-ui-core-dynamic-dialog.d.ts +162 -137
- package/types/aeris-ui-core-editor.d.ts +257 -123
- package/types/aeris-ui-core-file-upload.d.ts +385 -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 +636 -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 +129 -62
- package/types/aeris-ui-core-input-group.d.ts +84 -33
- package/types/aeris-ui-core-input-mask.d.ts +201 -69
- package/types/aeris-ui-core-input-number.d.ts +291 -87
- package/types/aeris-ui-core-input-otp.d.ts +191 -81
- package/types/aeris-ui-core-input-text.d.ts +195 -60
- package/types/aeris-ui-core-kbd.d.ts +74 -0
- package/types/aeris-ui-core-key-filter.d.ts +53 -39
- package/types/aeris-ui-core-listbox.d.ts +222 -0
- package/types/aeris-ui-core-mega-menu.d.ts +181 -121
- package/types/aeris-ui-core-menu.d.ts +283 -168
- package/types/aeris-ui-core-menubar.d.ts +289 -135
- package/types/aeris-ui-core-message.d.ts +138 -60
- package/types/aeris-ui-core-meter-group.d.ts +169 -90
- package/types/aeris-ui-core-multi-select.d.ts +469 -180
- package/types/aeris-ui-core-navbar.d.ts +208 -0
- package/types/aeris-ui-core-order-list.d.ts +168 -66
- package/types/aeris-ui-core-organization-chart.d.ts +139 -77
- package/types/aeris-ui-core-paginator.d.ts +129 -38
- package/types/aeris-ui-core-panel.d.ts +149 -78
- package/types/aeris-ui-core-password.d.ts +276 -102
- package/types/aeris-ui-core-pick-list.d.ts +428 -179
- package/types/aeris-ui-core-popover.d.ts +294 -105
- package/types/aeris-ui-core-progress-bar.d.ts +163 -73
- package/types/aeris-ui-core-progress-spinner.d.ts +116 -48
- package/types/aeris-ui-core-radio-button.d.ts +146 -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 +73 -29
- package/types/aeris-ui-core-select-native.d.ts +40 -0
- package/types/aeris-ui-core-select.d.ts +487 -217
- package/types/aeris-ui-core-sidebar.d.ts +220 -0
- 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 +224 -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 +729 -304
- package/types/aeris-ui-core-tabs.d.ts +193 -76
- package/types/aeris-ui-core-textarea.d.ts +271 -78
- package/types/aeris-ui-core-theme-builder.d.ts +220 -463
- package/types/aeris-ui-core-theming.d.ts +42 -45
- package/types/aeris-ui-core-tiered-menu.d.ts +257 -142
- package/types/aeris-ui-core-timeline.d.ts +109 -71
- package/types/aeris-ui-core-toast.d.ts +231 -115
- package/types/aeris-ui-core-toggle-switch.d.ts +125 -51
- package/types/aeris-ui-core-toolbar.d.ts +314 -47
- package/types/aeris-ui-core-tooltip.d.ts +157 -88
- package/types/aeris-ui-core-tree-select.d.ts +394 -171
- package/types/aeris-ui-core-tree-table.d.ts +629 -288
- package/types/aeris-ui-core-tree.d.ts +294 -165
- package/types/aeris-ui-core.d.ts +338 -74
|
@@ -1,149 +1,456 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
type
|
|
6
|
-
type
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ElementRef, TemplateRef } from "@angular/core";
|
|
3
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
4
|
+
import { AerisAppendTo, AerisOverlayCollisionPadding } from "@aeris-ui/core";
|
|
5
|
+
export type AerisColorPickerSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
6
|
+
export type AerisColorPickerAppearance = 'outline' | 'filled';
|
|
7
|
+
export type AerisColorFormat = 'hex' | 'rgb' | 'hsl';
|
|
8
|
+
export type AerisColorPickerPresentation = 'picker' | 'palette' | 'area' | 'slider';
|
|
9
|
+
export type AerisColorPickerChannel = 'hue' | 'saturation' | 'brightness' | 'lightness' | 'red' | 'green' | 'blue' | 'alpha';
|
|
10
|
+
export type AerisColorPickerOrientation = 'horizontal' | 'vertical';
|
|
11
|
+
export interface AerisColorPickerPreset {
|
|
12
|
+
readonly value: string;
|
|
13
|
+
readonly label?: string;
|
|
14
|
+
readonly disabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface PresetView {
|
|
17
|
+
readonly value: string;
|
|
18
|
+
readonly label: string;
|
|
19
|
+
readonly disabled: boolean;
|
|
20
|
+
readonly color: string;
|
|
21
|
+
readonly selected: boolean;
|
|
22
|
+
readonly translucent: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface AerisColorPickerChangeEvent {
|
|
25
|
+
readonly originalEvent: Event;
|
|
26
|
+
readonly value: string;
|
|
27
|
+
readonly hex: string;
|
|
11
28
|
}
|
|
12
29
|
interface RgbColor {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
30
|
+
readonly r: number;
|
|
31
|
+
readonly g: number;
|
|
32
|
+
readonly b: number;
|
|
16
33
|
}
|
|
17
34
|
interface HsvColor {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
35
|
+
readonly h: number;
|
|
36
|
+
readonly s: number;
|
|
37
|
+
readonly v: number;
|
|
38
|
+
}
|
|
39
|
+
export declare class AerisColorPicker implements ControlValueAccessor {
|
|
40
|
+
readonly clearIconTemplate: import("@angular/core").InputSignal<TemplateRef<void> | undefined>;
|
|
41
|
+
readonly eyedropperIconTemplate: import("@angular/core").InputSignal<TemplateRef<void> | undefined>;
|
|
42
|
+
readonly closeIconTemplate: import("@angular/core").InputSignal<TemplateRef<void> | undefined>;
|
|
43
|
+
protected readonly dismissOverlay: () => boolean;
|
|
44
|
+
private readonly host;
|
|
45
|
+
private readonly injector;
|
|
46
|
+
private readonly pickerPanel;
|
|
47
|
+
private readonly panelPortal;
|
|
48
|
+
private readonly colorPlane;
|
|
49
|
+
private readonly channelInput;
|
|
50
|
+
protected readonly triggerButton: import("@angular/core").Signal<ElementRef<HTMLButtonElement> | undefined>;
|
|
51
|
+
private readonly generatedId;
|
|
52
|
+
private readonly formDisabled;
|
|
53
|
+
private readonly textDraft;
|
|
54
|
+
private readonly planeDragging;
|
|
55
|
+
private readonly hsvDraft;
|
|
56
|
+
private readonly hslDraft;
|
|
57
|
+
private panelPointerInteraction;
|
|
58
|
+
private eyeDropperAbortController;
|
|
59
|
+
private onChange;
|
|
60
|
+
private onTouched;
|
|
61
|
+
readonly panelId: string;
|
|
62
|
+
readonly value: import("@angular/core").ModelSignal<string>;
|
|
63
|
+
readonly format: import("@angular/core").ModelSignal<AerisColorFormat>;
|
|
64
|
+
readonly inputId: import("@angular/core").InputSignal<string>;
|
|
65
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
66
|
+
readonly formats: import("@angular/core").InputSignal<readonly AerisColorFormat[]>;
|
|
67
|
+
readonly appendTo: import("@angular/core").InputSignal<AerisAppendTo>;
|
|
68
|
+
readonly viewportMargin: import("@angular/core").InputSignal<number | AerisOverlayCollisionPadding>;
|
|
69
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
70
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
71
|
+
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
72
|
+
readonly ariaDescribedBy: import("@angular/core").InputSignal<string | undefined>;
|
|
73
|
+
readonly triggerAriaLabel: import("@angular/core").InputSignal<string>;
|
|
74
|
+
/** @deprecated Use panelAriaLabel instead. */
|
|
75
|
+
readonly nativeAriaLabel: import("@angular/core").InputSignal<string>;
|
|
76
|
+
readonly panelAriaLabel: import("@angular/core").InputSignal<string>;
|
|
77
|
+
readonly textAriaLabel: import("@angular/core").InputSignal<string>;
|
|
78
|
+
readonly formatAriaLabel: import("@angular/core").InputSignal<string>;
|
|
79
|
+
readonly hueAriaLabel: import("@angular/core").InputSignal<string>;
|
|
80
|
+
readonly alpha: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
81
|
+
readonly opacityLabel: import("@angular/core").InputSignal<string>;
|
|
82
|
+
readonly alphaAriaLabel: import("@angular/core").InputSignal<string>;
|
|
83
|
+
readonly planeAriaLabel: import("@angular/core").InputSignal<string>;
|
|
84
|
+
readonly presetsAriaLabel: import("@angular/core").InputSignal<string>;
|
|
85
|
+
readonly presetsLabel: import("@angular/core").InputSignal<string>;
|
|
86
|
+
readonly emptyLabel: import("@angular/core").InputSignal<string>;
|
|
87
|
+
readonly clearButtonAriaLabel: import("@angular/core").InputSignal<string>;
|
|
88
|
+
readonly closeButtonAriaLabel: import("@angular/core").InputSignal<string>;
|
|
89
|
+
readonly eyeDropperAriaLabel: import("@angular/core").InputSignal<string>;
|
|
90
|
+
readonly size: import("@angular/core").InputSignal<AerisColorPickerSize>;
|
|
91
|
+
readonly appearance: import("@angular/core").InputSignal<AerisColorPickerAppearance>;
|
|
92
|
+
readonly presentation: import("@angular/core").InputSignal<AerisColorPickerPresentation>;
|
|
93
|
+
readonly channel: import("@angular/core").InputSignal<AerisColorPickerChannel>;
|
|
94
|
+
readonly orientation: import("@angular/core").InputSignal<AerisColorPickerOrientation>;
|
|
95
|
+
readonly showDots: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
96
|
+
readonly presets: import("@angular/core").InputSignal<readonly (string | AerisColorPickerPreset)[]>;
|
|
97
|
+
readonly showInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
98
|
+
readonly showValue: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
99
|
+
readonly showFormat: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
100
|
+
readonly showEyeDropper: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
101
|
+
readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
102
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
103
|
+
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
104
|
+
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
105
|
+
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
106
|
+
readonly touched: import("@angular/core").InputSignal<boolean | null>;
|
|
107
|
+
protected readonly displayInvalid: import("@angular/core").Signal<boolean>;
|
|
108
|
+
readonly fluid: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
109
|
+
readonly changed: import("@angular/core").OutputEmitterRef<AerisColorPickerChangeEvent>;
|
|
110
|
+
readonly focused: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
111
|
+
readonly blurred: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
112
|
+
readonly touch: import("@angular/core").OutputEmitterRef<void>;
|
|
113
|
+
readonly cleared: import("@angular/core").OutputEmitterRef<void>;
|
|
114
|
+
readonly opened: import("@angular/core").OutputEmitterRef<void>;
|
|
115
|
+
readonly closed: import("@angular/core").OutputEmitterRef<void>;
|
|
116
|
+
protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
117
|
+
protected readonly presetFocus: import("@angular/core").WritableSignal<string | null>;
|
|
118
|
+
private readonly selectedPreset;
|
|
119
|
+
protected readonly eyeDropperAvailable: import("@angular/core").WritableSignal<boolean>;
|
|
120
|
+
protected readonly eyeDropperActive: import("@angular/core").WritableSignal<boolean>;
|
|
121
|
+
protected readonly resolvedInputId: import("@angular/core").Signal<string>;
|
|
122
|
+
protected readonly resolvedPanelAriaLabel: import("@angular/core").Signal<string>;
|
|
123
|
+
protected readonly effectiveDisabled: import("@angular/core").Signal<boolean>;
|
|
124
|
+
private readonly opacityEnabled;
|
|
125
|
+
protected readonly parsedValue: import("@angular/core").Signal<ParsedColor | null>;
|
|
126
|
+
protected readonly opacity: import("@angular/core").Signal<number>;
|
|
127
|
+
protected readonly opacityPercent: import("@angular/core").Signal<number>;
|
|
128
|
+
protected readonly opaqueHex: import("@angular/core").Signal<string>;
|
|
129
|
+
protected readonly hexValue: import("@angular/core").Signal<string>;
|
|
130
|
+
protected readonly previewColor: import("@angular/core").Signal<string>;
|
|
131
|
+
protected readonly hsvValue: import("@angular/core").Signal<HsvColor>;
|
|
132
|
+
protected readonly hueColor: import("@angular/core").Signal<string>;
|
|
133
|
+
private readonly hslValue;
|
|
134
|
+
protected readonly channelLabel: import("@angular/core").Signal<string>;
|
|
135
|
+
protected readonly channelMax: import("@angular/core").Signal<100 | 359 | 255>;
|
|
136
|
+
protected readonly channelValue: import("@angular/core").Signal<number>;
|
|
137
|
+
protected readonly channelText: import("@angular/core").Signal<string>;
|
|
138
|
+
protected readonly channelGradient: import("@angular/core").Signal<string>;
|
|
139
|
+
protected readonly planeAriaValue: import("@angular/core").Signal<string>;
|
|
140
|
+
protected readonly textValue: import("@angular/core").Signal<string>;
|
|
141
|
+
protected readonly textInvalid: import("@angular/core").Signal<boolean>;
|
|
142
|
+
protected readonly normalizedFormats: import("@angular/core").Signal<readonly AerisColorFormat[]>;
|
|
143
|
+
protected readonly normalizedPresets: import("@angular/core").Signal<{
|
|
144
|
+
selected: boolean;
|
|
145
|
+
value: string;
|
|
146
|
+
label: string;
|
|
147
|
+
disabled: boolean;
|
|
148
|
+
color: string;
|
|
149
|
+
translucent: boolean;
|
|
150
|
+
}[]>;
|
|
151
|
+
protected readonly presetTabStop: import("@angular/core").Signal<string | null>;
|
|
152
|
+
private readonly closeUnavailablePanel;
|
|
153
|
+
constructor();
|
|
154
|
+
writeValue(value: unknown): void;
|
|
155
|
+
registerOnChange(callback: (value: string) => void): void;
|
|
156
|
+
registerOnTouched(callback: () => void): void;
|
|
157
|
+
setDisabledState(disabled: boolean): void;
|
|
158
|
+
focus(options?: FocusOptions): void;
|
|
159
|
+
open(): void;
|
|
160
|
+
close(restoreFocus?: boolean): void;
|
|
161
|
+
toggle(): void;
|
|
162
|
+
reset(): void;
|
|
163
|
+
clear(): void;
|
|
164
|
+
protected openEyeDropper(event: Event): void;
|
|
165
|
+
protected handleTriggerKeydown(event: KeyboardEvent): void;
|
|
166
|
+
protected handlePanelKeydown(event: KeyboardEvent): void;
|
|
167
|
+
protected handlePanelPointerDown(): void;
|
|
168
|
+
protected endPanelPointerInteraction(): void;
|
|
169
|
+
protected handlePlanePointerDown(event: PointerEvent): void;
|
|
170
|
+
protected handlePlanePointerMove(event: PointerEvent): void;
|
|
171
|
+
protected handlePlanePointerUp(event: PointerEvent): void;
|
|
172
|
+
protected handlePlanePointerCancel(event: PointerEvent): void;
|
|
173
|
+
protected handlePlaneKeydown(event: KeyboardEvent): void;
|
|
174
|
+
protected handleHueInput(event: Event): void;
|
|
175
|
+
protected guardReadonlySlider(event: PointerEvent): void;
|
|
176
|
+
protected handleChannelKeydown(event: KeyboardEvent): void;
|
|
177
|
+
protected handleChannelInput(event: Event): void;
|
|
178
|
+
private setChannel;
|
|
179
|
+
private colorForChannel;
|
|
180
|
+
protected handleAlphaInput(event: Event): void;
|
|
181
|
+
protected handleTextInput(event: Event): void;
|
|
182
|
+
protected handleTextChange(event: Event): void;
|
|
183
|
+
protected handleTextKeydown(event: KeyboardEvent): void;
|
|
184
|
+
protected handleBlur(event: FocusEvent): void;
|
|
185
|
+
protected handleFocusOut(event: FocusEvent): void;
|
|
186
|
+
protected selectFormat(nextFormat: AerisColorFormat, event: Event): void;
|
|
187
|
+
protected selectPreset(preset: PresetView, event: Event): void;
|
|
188
|
+
protected handlePresetKeydown(event: KeyboardEvent): void;
|
|
189
|
+
protected emitCommitted(event: Event): void;
|
|
190
|
+
private updateFromPlanePointer;
|
|
191
|
+
private commitText;
|
|
192
|
+
private setFromHex;
|
|
193
|
+
private setFromHsv;
|
|
194
|
+
private setValue;
|
|
195
|
+
private coerceValue;
|
|
196
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AerisColorPicker, never>;
|
|
197
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AerisColorPicker, "aeris-color-picker", never, {
|
|
198
|
+
"clearIconTemplate": {
|
|
199
|
+
"alias": "clearIconTemplate";
|
|
200
|
+
"required": false;
|
|
201
|
+
"isSignal": true;
|
|
202
|
+
};
|
|
203
|
+
"eyedropperIconTemplate": {
|
|
204
|
+
"alias": "eyedropperIconTemplate";
|
|
205
|
+
"required": false;
|
|
206
|
+
"isSignal": true;
|
|
207
|
+
};
|
|
208
|
+
"closeIconTemplate": {
|
|
209
|
+
"alias": "closeIconTemplate";
|
|
210
|
+
"required": false;
|
|
211
|
+
"isSignal": true;
|
|
212
|
+
};
|
|
213
|
+
"value": {
|
|
214
|
+
"alias": "value";
|
|
215
|
+
"required": false;
|
|
216
|
+
"isSignal": true;
|
|
217
|
+
};
|
|
218
|
+
"format": {
|
|
219
|
+
"alias": "format";
|
|
220
|
+
"required": false;
|
|
221
|
+
"isSignal": true;
|
|
222
|
+
};
|
|
223
|
+
"inputId": {
|
|
224
|
+
"alias": "inputId";
|
|
225
|
+
"required": false;
|
|
226
|
+
"isSignal": true;
|
|
227
|
+
};
|
|
228
|
+
"name": {
|
|
229
|
+
"alias": "name";
|
|
230
|
+
"required": false;
|
|
231
|
+
"isSignal": true;
|
|
232
|
+
};
|
|
233
|
+
"formats": {
|
|
234
|
+
"alias": "formats";
|
|
235
|
+
"required": false;
|
|
236
|
+
"isSignal": true;
|
|
237
|
+
};
|
|
238
|
+
"appendTo": {
|
|
239
|
+
"alias": "appendTo";
|
|
240
|
+
"required": false;
|
|
241
|
+
"isSignal": true;
|
|
242
|
+
};
|
|
243
|
+
"viewportMargin": {
|
|
244
|
+
"alias": "viewportMargin";
|
|
245
|
+
"required": false;
|
|
246
|
+
"isSignal": true;
|
|
247
|
+
};
|
|
248
|
+
"placeholder": {
|
|
249
|
+
"alias": "placeholder";
|
|
250
|
+
"required": false;
|
|
251
|
+
"isSignal": true;
|
|
252
|
+
};
|
|
253
|
+
"ariaLabel": {
|
|
254
|
+
"alias": "ariaLabel";
|
|
255
|
+
"required": false;
|
|
256
|
+
"isSignal": true;
|
|
257
|
+
};
|
|
258
|
+
"ariaLabelledBy": {
|
|
259
|
+
"alias": "ariaLabelledBy";
|
|
260
|
+
"required": false;
|
|
261
|
+
"isSignal": true;
|
|
262
|
+
};
|
|
263
|
+
"ariaDescribedBy": {
|
|
264
|
+
"alias": "ariaDescribedBy";
|
|
265
|
+
"required": false;
|
|
266
|
+
"isSignal": true;
|
|
267
|
+
};
|
|
268
|
+
"triggerAriaLabel": {
|
|
269
|
+
"alias": "triggerAriaLabel";
|
|
270
|
+
"required": false;
|
|
271
|
+
"isSignal": true;
|
|
272
|
+
};
|
|
273
|
+
"nativeAriaLabel": {
|
|
274
|
+
"alias": "nativeAriaLabel";
|
|
275
|
+
"required": false;
|
|
276
|
+
"isSignal": true;
|
|
277
|
+
};
|
|
278
|
+
"panelAriaLabel": {
|
|
279
|
+
"alias": "panelAriaLabel";
|
|
280
|
+
"required": false;
|
|
281
|
+
"isSignal": true;
|
|
282
|
+
};
|
|
283
|
+
"textAriaLabel": {
|
|
284
|
+
"alias": "textAriaLabel";
|
|
285
|
+
"required": false;
|
|
286
|
+
"isSignal": true;
|
|
287
|
+
};
|
|
288
|
+
"formatAriaLabel": {
|
|
289
|
+
"alias": "formatAriaLabel";
|
|
290
|
+
"required": false;
|
|
291
|
+
"isSignal": true;
|
|
292
|
+
};
|
|
293
|
+
"hueAriaLabel": {
|
|
294
|
+
"alias": "hueAriaLabel";
|
|
295
|
+
"required": false;
|
|
296
|
+
"isSignal": true;
|
|
297
|
+
};
|
|
298
|
+
"alpha": {
|
|
299
|
+
"alias": "alpha";
|
|
300
|
+
"required": false;
|
|
301
|
+
"isSignal": true;
|
|
302
|
+
};
|
|
303
|
+
"opacityLabel": {
|
|
304
|
+
"alias": "opacityLabel";
|
|
305
|
+
"required": false;
|
|
306
|
+
"isSignal": true;
|
|
307
|
+
};
|
|
308
|
+
"alphaAriaLabel": {
|
|
309
|
+
"alias": "alphaAriaLabel";
|
|
310
|
+
"required": false;
|
|
311
|
+
"isSignal": true;
|
|
312
|
+
};
|
|
313
|
+
"planeAriaLabel": {
|
|
314
|
+
"alias": "planeAriaLabel";
|
|
315
|
+
"required": false;
|
|
316
|
+
"isSignal": true;
|
|
317
|
+
};
|
|
318
|
+
"presetsAriaLabel": {
|
|
319
|
+
"alias": "presetsAriaLabel";
|
|
320
|
+
"required": false;
|
|
321
|
+
"isSignal": true;
|
|
322
|
+
};
|
|
323
|
+
"presetsLabel": {
|
|
324
|
+
"alias": "presetsLabel";
|
|
325
|
+
"required": false;
|
|
326
|
+
"isSignal": true;
|
|
327
|
+
};
|
|
328
|
+
"emptyLabel": {
|
|
329
|
+
"alias": "emptyLabel";
|
|
330
|
+
"required": false;
|
|
331
|
+
"isSignal": true;
|
|
332
|
+
};
|
|
333
|
+
"clearButtonAriaLabel": {
|
|
334
|
+
"alias": "clearButtonAriaLabel";
|
|
335
|
+
"required": false;
|
|
336
|
+
"isSignal": true;
|
|
337
|
+
};
|
|
338
|
+
"closeButtonAriaLabel": {
|
|
339
|
+
"alias": "closeButtonAriaLabel";
|
|
340
|
+
"required": false;
|
|
341
|
+
"isSignal": true;
|
|
342
|
+
};
|
|
343
|
+
"eyeDropperAriaLabel": {
|
|
344
|
+
"alias": "eyeDropperAriaLabel";
|
|
345
|
+
"required": false;
|
|
346
|
+
"isSignal": true;
|
|
347
|
+
};
|
|
348
|
+
"size": {
|
|
349
|
+
"alias": "size";
|
|
350
|
+
"required": false;
|
|
351
|
+
"isSignal": true;
|
|
352
|
+
};
|
|
353
|
+
"appearance": {
|
|
354
|
+
"alias": "appearance";
|
|
355
|
+
"required": false;
|
|
356
|
+
"isSignal": true;
|
|
357
|
+
};
|
|
358
|
+
"presentation": {
|
|
359
|
+
"alias": "presentation";
|
|
360
|
+
"required": false;
|
|
361
|
+
"isSignal": true;
|
|
362
|
+
};
|
|
363
|
+
"channel": {
|
|
364
|
+
"alias": "channel";
|
|
365
|
+
"required": false;
|
|
366
|
+
"isSignal": true;
|
|
367
|
+
};
|
|
368
|
+
"orientation": {
|
|
369
|
+
"alias": "orientation";
|
|
370
|
+
"required": false;
|
|
371
|
+
"isSignal": true;
|
|
372
|
+
};
|
|
373
|
+
"showDots": {
|
|
374
|
+
"alias": "showDots";
|
|
375
|
+
"required": false;
|
|
376
|
+
"isSignal": true;
|
|
377
|
+
};
|
|
378
|
+
"presets": {
|
|
379
|
+
"alias": "presets";
|
|
380
|
+
"required": false;
|
|
381
|
+
"isSignal": true;
|
|
382
|
+
};
|
|
383
|
+
"showInput": {
|
|
384
|
+
"alias": "showInput";
|
|
385
|
+
"required": false;
|
|
386
|
+
"isSignal": true;
|
|
387
|
+
};
|
|
388
|
+
"showValue": {
|
|
389
|
+
"alias": "showValue";
|
|
390
|
+
"required": false;
|
|
391
|
+
"isSignal": true;
|
|
392
|
+
};
|
|
393
|
+
"showFormat": {
|
|
394
|
+
"alias": "showFormat";
|
|
395
|
+
"required": false;
|
|
396
|
+
"isSignal": true;
|
|
397
|
+
};
|
|
398
|
+
"showEyeDropper": {
|
|
399
|
+
"alias": "showEyeDropper";
|
|
400
|
+
"required": false;
|
|
401
|
+
"isSignal": true;
|
|
402
|
+
};
|
|
403
|
+
"clearable": {
|
|
404
|
+
"alias": "clearable";
|
|
405
|
+
"required": false;
|
|
406
|
+
"isSignal": true;
|
|
407
|
+
};
|
|
408
|
+
"disabled": {
|
|
409
|
+
"alias": "disabled";
|
|
410
|
+
"required": false;
|
|
411
|
+
"isSignal": true;
|
|
412
|
+
};
|
|
413
|
+
"readonly": {
|
|
414
|
+
"alias": "readonly";
|
|
415
|
+
"required": false;
|
|
416
|
+
"isSignal": true;
|
|
417
|
+
};
|
|
418
|
+
"required": {
|
|
419
|
+
"alias": "required";
|
|
420
|
+
"required": false;
|
|
421
|
+
"isSignal": true;
|
|
422
|
+
};
|
|
423
|
+
"invalid": {
|
|
424
|
+
"alias": "invalid";
|
|
425
|
+
"required": false;
|
|
426
|
+
"isSignal": true;
|
|
427
|
+
};
|
|
428
|
+
"touched": {
|
|
429
|
+
"alias": "touched";
|
|
430
|
+
"required": false;
|
|
431
|
+
"isSignal": true;
|
|
432
|
+
};
|
|
433
|
+
"fluid": {
|
|
434
|
+
"alias": "fluid";
|
|
435
|
+
"required": false;
|
|
436
|
+
"isSignal": true;
|
|
437
|
+
};
|
|
438
|
+
}, {
|
|
439
|
+
"value": "valueChange";
|
|
440
|
+
"format": "formatChange";
|
|
441
|
+
"changed": "changed";
|
|
442
|
+
"focused": "focused";
|
|
443
|
+
"blurred": "blurred";
|
|
444
|
+
"touch": "touch";
|
|
445
|
+
"cleared": "cleared";
|
|
446
|
+
"opened": "opened";
|
|
447
|
+
"closed": "closed";
|
|
448
|
+
}, never, never, true, never>;
|
|
21
449
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
private readonly colorPlane;
|
|
28
|
-
private readonly triggerButton;
|
|
29
|
-
private readonly generatedId;
|
|
30
|
-
private readonly formDisabled;
|
|
31
|
-
private readonly textDraft;
|
|
32
|
-
private readonly planeDragging;
|
|
33
|
-
private readonly hsvDraft;
|
|
34
|
-
private panelPointerInteraction;
|
|
35
|
-
private eyeDropperAbortController;
|
|
36
|
-
private onChange;
|
|
37
|
-
private onTouched;
|
|
38
|
-
readonly panelId: string;
|
|
39
|
-
readonly value: _angular_core.ModelSignal<string>;
|
|
40
|
-
readonly format: _angular_core.ModelSignal<AerisColorFormat>;
|
|
41
|
-
readonly inputId: _angular_core.InputSignal<string>;
|
|
42
|
-
readonly name: _angular_core.InputSignal<string>;
|
|
43
|
-
readonly formats: _angular_core.InputSignal<readonly AerisColorFormat[]>;
|
|
44
|
-
readonly placeholder: _angular_core.InputSignal<string>;
|
|
45
|
-
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
46
|
-
readonly ariaLabelledby: _angular_core.InputSignal<string | undefined>;
|
|
47
|
-
readonly ariaDescribedby: _angular_core.InputSignal<string | undefined>;
|
|
48
|
-
readonly triggerAriaLabel: _angular_core.InputSignal<string>;
|
|
49
|
-
/** @deprecated Use panelAriaLabel instead. */
|
|
50
|
-
readonly nativeAriaLabel: _angular_core.InputSignal<string>;
|
|
51
|
-
readonly panelAriaLabel: _angular_core.InputSignal<string>;
|
|
52
|
-
readonly textAriaLabel: _angular_core.InputSignal<string>;
|
|
53
|
-
readonly formatAriaLabel: _angular_core.InputSignal<string>;
|
|
54
|
-
readonly hueAriaLabel: _angular_core.InputSignal<string>;
|
|
55
|
-
readonly planeAriaLabel: _angular_core.InputSignal<string>;
|
|
56
|
-
readonly presetsAriaLabel: _angular_core.InputSignal<string>;
|
|
57
|
-
readonly presetsLabel: _angular_core.InputSignal<string>;
|
|
58
|
-
readonly emptyLabel: _angular_core.InputSignal<string>;
|
|
59
|
-
readonly clearButtonAriaLabel: _angular_core.InputSignal<string>;
|
|
60
|
-
readonly closeButtonAriaLabel: _angular_core.InputSignal<string>;
|
|
61
|
-
readonly eyeDropperAriaLabel: _angular_core.InputSignal<string>;
|
|
62
|
-
readonly size: _angular_core.InputSignal<AerisColorPickerSize>;
|
|
63
|
-
readonly appearance: _angular_core.InputSignal<AerisColorPickerAppearance>;
|
|
64
|
-
readonly presets: _angular_core.InputSignal<readonly string[]>;
|
|
65
|
-
readonly showInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
66
|
-
readonly showValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
67
|
-
readonly showFormat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
68
|
-
readonly showEyeDropper: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
69
|
-
readonly clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
70
|
-
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
71
|
-
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
72
|
-
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
73
|
-
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
74
|
-
readonly fluid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
75
|
-
readonly valueInput: _angular_core.OutputEmitterRef<string>;
|
|
76
|
-
readonly changed: _angular_core.OutputEmitterRef<AerisColorPickerChangeEvent>;
|
|
77
|
-
readonly focused: _angular_core.OutputEmitterRef<FocusEvent>;
|
|
78
|
-
readonly blurred: _angular_core.OutputEmitterRef<FocusEvent>;
|
|
79
|
-
readonly touch: _angular_core.OutputEmitterRef<void>;
|
|
80
|
-
readonly cleared: _angular_core.OutputEmitterRef<void>;
|
|
81
|
-
readonly opened: _angular_core.OutputEmitterRef<void>;
|
|
82
|
-
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
83
|
-
protected readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
84
|
-
protected readonly panelPositioned: _angular_core.WritableSignal<boolean>;
|
|
85
|
-
protected readonly panelTop: _angular_core.WritableSignal<number>;
|
|
86
|
-
protected readonly panelLeft: _angular_core.WritableSignal<number>;
|
|
87
|
-
protected readonly eyeDropperAvailable: _angular_core.WritableSignal<boolean>;
|
|
88
|
-
protected readonly eyeDropperActive: _angular_core.WritableSignal<boolean>;
|
|
89
|
-
protected readonly resolvedInputId: _angular_core.Signal<string>;
|
|
90
|
-
protected readonly resolvedPanelAriaLabel: _angular_core.Signal<string>;
|
|
91
|
-
protected readonly effectiveDisabled: _angular_core.Signal<boolean>;
|
|
92
|
-
protected readonly parsedValue: _angular_core.Signal<{
|
|
93
|
-
readonly hex: string;
|
|
94
|
-
readonly rgb: RgbColor;
|
|
95
|
-
} | null>;
|
|
96
|
-
protected readonly hexValue: _angular_core.Signal<string>;
|
|
97
|
-
protected readonly hsvValue: _angular_core.Signal<HsvColor>;
|
|
98
|
-
protected readonly hueColor: _angular_core.Signal<string>;
|
|
99
|
-
protected readonly planeAriaValue: _angular_core.Signal<string>;
|
|
100
|
-
protected readonly textValue: _angular_core.Signal<string>;
|
|
101
|
-
protected readonly textInvalid: _angular_core.Signal<boolean>;
|
|
102
|
-
protected readonly normalizedFormats: _angular_core.Signal<readonly AerisColorFormat[]>;
|
|
103
|
-
protected readonly normalizedPresets: _angular_core.Signal<string[]>;
|
|
104
|
-
private readonly closeUnavailablePanel;
|
|
105
|
-
constructor();
|
|
106
|
-
writeValue(value: unknown): void;
|
|
107
|
-
registerOnChange(callback: (value: string) => void): void;
|
|
108
|
-
registerOnTouched(callback: () => void): void;
|
|
109
|
-
setDisabledState(disabled: boolean): void;
|
|
110
|
-
focus(options?: FocusOptions): void;
|
|
111
|
-
open(): void;
|
|
112
|
-
close(restoreFocus?: boolean): void;
|
|
113
|
-
toggle(): void;
|
|
114
|
-
reset(): void;
|
|
115
|
-
clear(): void;
|
|
116
|
-
protected positionPanel(): void;
|
|
117
|
-
protected openEyeDropper(event: Event): void;
|
|
118
|
-
private calculatePanelPosition;
|
|
119
|
-
private applyPanelPosition;
|
|
120
|
-
protected handleTriggerKeydown(event: KeyboardEvent): void;
|
|
121
|
-
protected handlePanelKeydown(event: KeyboardEvent): void;
|
|
122
|
-
protected handlePanelPointerDown(): void;
|
|
123
|
-
protected endPanelPointerInteraction(): void;
|
|
124
|
-
protected handlePlanePointerDown(event: PointerEvent): void;
|
|
125
|
-
protected handlePlanePointerMove(event: PointerEvent): void;
|
|
126
|
-
protected handlePlanePointerUp(event: PointerEvent): void;
|
|
127
|
-
protected handlePlanePointerCancel(event: PointerEvent): void;
|
|
128
|
-
protected handlePlaneKeydown(event: KeyboardEvent): void;
|
|
129
|
-
protected handleHueInput(event: Event): void;
|
|
130
|
-
protected handleTextInput(event: Event): void;
|
|
131
|
-
protected handleTextChange(event: Event): void;
|
|
132
|
-
protected handleTextKeydown(event: KeyboardEvent): void;
|
|
133
|
-
protected handleBlur(event: FocusEvent): void;
|
|
134
|
-
protected handleFocusOut(event: FocusEvent): void;
|
|
135
|
-
protected selectFormat(nextFormat: AerisColorFormat, event: Event): void;
|
|
136
|
-
protected selectPreset(hex: string, event: Event): void;
|
|
137
|
-
protected emitCommitted(event: Event): void;
|
|
138
|
-
private updateFromPlanePointer;
|
|
139
|
-
private commitText;
|
|
140
|
-
private setFromHex;
|
|
141
|
-
private setFromHsv;
|
|
142
|
-
private setValue;
|
|
143
|
-
private coerceValue;
|
|
144
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AerisColorPicker, never>;
|
|
145
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AerisColorPicker, "aeris-color-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "formats": { "alias": "formats"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "triggerAriaLabel": { "alias": "triggerAriaLabel"; "required": false; "isSignal": true; }; "nativeAriaLabel": { "alias": "nativeAriaLabel"; "required": false; "isSignal": true; }; "panelAriaLabel": { "alias": "panelAriaLabel"; "required": false; "isSignal": true; }; "textAriaLabel": { "alias": "textAriaLabel"; "required": false; "isSignal": true; }; "formatAriaLabel": { "alias": "formatAriaLabel"; "required": false; "isSignal": true; }; "hueAriaLabel": { "alias": "hueAriaLabel"; "required": false; "isSignal": true; }; "planeAriaLabel": { "alias": "planeAriaLabel"; "required": false; "isSignal": true; }; "presetsAriaLabel": { "alias": "presetsAriaLabel"; "required": false; "isSignal": true; }; "presetsLabel": { "alias": "presetsLabel"; "required": false; "isSignal": true; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; "isSignal": true; }; "clearButtonAriaLabel": { "alias": "clearButtonAriaLabel"; "required": false; "isSignal": true; }; "closeButtonAriaLabel": { "alias": "closeButtonAriaLabel"; "required": false; "isSignal": true; }; "eyeDropperAriaLabel": { "alias": "eyeDropperAriaLabel"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "showInput": { "alias": "showInput"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "showFormat": { "alias": "showFormat"; "required": false; "isSignal": true; }; "showEyeDropper": { "alias": "showEyeDropper"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "format": "formatChange"; "valueInput": "valueInput"; "changed": "changed"; "focused": "focused"; "blurred": "blurred"; "touch": "touch"; "cleared": "cleared"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
|
|
450
|
+
interface ParsedColor {
|
|
451
|
+
readonly hex: string;
|
|
452
|
+
readonly rgb: RgbColor;
|
|
453
|
+
readonly alpha: number;
|
|
454
|
+
readonly hasAlpha: boolean;
|
|
146
455
|
}
|
|
147
|
-
|
|
148
|
-
export { AerisColorPicker };
|
|
149
|
-
export type { AerisColorFormat, AerisColorPickerAppearance, AerisColorPickerChangeEvent, AerisColorPickerSize };
|
|
456
|
+
export {};
|