@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,151 +1,365 @@
|
|
|
1
|
-
import { NgTemplateOutlet } 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
|
-
|
|
1
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { Component, Directive, TemplateRef, booleanAttribute, computed, contentChild, inject, input, numberAttribute } from "@angular/core";
|
|
4
|
+
var AerisProgressBarValueTemplate = class AerisProgressBarValueTemplate {
|
|
5
|
+
template = inject(TemplateRef);
|
|
6
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
7
|
+
minVersion: "12.0.0",
|
|
8
|
+
version: "22.2.3",
|
|
9
|
+
ngImport: i0,
|
|
10
|
+
type: AerisProgressBarValueTemplate,
|
|
11
|
+
deps: [],
|
|
12
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
13
|
+
});
|
|
14
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
15
|
+
minVersion: "14.0.0",
|
|
16
|
+
version: "22.2.3",
|
|
17
|
+
type: AerisProgressBarValueTemplate,
|
|
18
|
+
isStandalone: true,
|
|
19
|
+
selector: "ng-template[aerisProgressBarValue]",
|
|
20
|
+
ngImport: i0
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
24
|
+
minVersion: "12.0.0",
|
|
25
|
+
version: "22.2.3",
|
|
26
|
+
ngImport: i0,
|
|
27
|
+
type: AerisProgressBarValueTemplate,
|
|
28
|
+
decorators: [{
|
|
29
|
+
type: Directive,
|
|
30
|
+
args: [{ selector: "ng-template[aerisProgressBarValue]" }]
|
|
31
|
+
}]
|
|
32
|
+
});
|
|
33
|
+
var AerisProgressBarStepTemplate = class AerisProgressBarStepTemplate {
|
|
34
|
+
template = inject(TemplateRef);
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
36
|
+
minVersion: "12.0.0",
|
|
37
|
+
version: "22.2.3",
|
|
38
|
+
ngImport: i0,
|
|
39
|
+
type: AerisProgressBarStepTemplate,
|
|
40
|
+
deps: [],
|
|
41
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
42
|
+
});
|
|
43
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
44
|
+
minVersion: "14.0.0",
|
|
45
|
+
version: "22.2.3",
|
|
46
|
+
type: AerisProgressBarStepTemplate,
|
|
47
|
+
isStandalone: true,
|
|
48
|
+
selector: "ng-template[aerisProgressBarStep]",
|
|
49
|
+
ngImport: i0
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
53
|
+
minVersion: "12.0.0",
|
|
54
|
+
version: "22.2.3",
|
|
55
|
+
ngImport: i0,
|
|
56
|
+
type: AerisProgressBarStepTemplate,
|
|
57
|
+
decorators: [{
|
|
58
|
+
type: Directive,
|
|
59
|
+
args: [{ selector: "ng-template[aerisProgressBarStep]" }]
|
|
60
|
+
}]
|
|
61
|
+
});
|
|
23
62
|
let nextProgressBarId = 0;
|
|
24
|
-
class AerisProgressBar {
|
|
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
|
-
|
|
63
|
+
var AerisProgressBar = class AerisProgressBar {
|
|
64
|
+
valueTemplate = contentChild(AerisProgressBarValueTemplate, ...ngDevMode ? [{ debugName: "valueTemplate" }] : /* istanbul ignore next */ []);
|
|
65
|
+
stepTemplate = contentChild(AerisProgressBarStepTemplate, ...ngDevMode ? [{ debugName: "stepTemplate" }] : /* istanbul ignore next */ []);
|
|
66
|
+
id = input(`aeris-progress-bar-${++nextProgressBarId}`, ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
|
|
67
|
+
value = input(0, {
|
|
68
|
+
...ngDevMode ? { debugName: "value" } : /* istanbul ignore next */ {},
|
|
69
|
+
transform: numberAttribute
|
|
70
|
+
});
|
|
71
|
+
min = input(0, {
|
|
72
|
+
...ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {},
|
|
73
|
+
transform: numberAttribute
|
|
74
|
+
});
|
|
75
|
+
max = input(100, {
|
|
76
|
+
...ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {},
|
|
77
|
+
transform: numberAttribute
|
|
78
|
+
});
|
|
79
|
+
mode = input("determinate", ...ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []);
|
|
80
|
+
severity = input("primary", ...ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []);
|
|
81
|
+
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
82
|
+
showValue = input(true, {
|
|
83
|
+
...ngDevMode ? { debugName: "showValue" } : /* istanbul ignore next */ {},
|
|
84
|
+
transform: booleanAttribute
|
|
85
|
+
});
|
|
86
|
+
striped = input(false, {
|
|
87
|
+
...ngDevMode ? { debugName: "striped" } : /* istanbul ignore next */ {},
|
|
88
|
+
transform: booleanAttribute
|
|
89
|
+
});
|
|
90
|
+
animated = input(false, {
|
|
91
|
+
...ngDevMode ? { debugName: "animated" } : /* istanbul ignore next */ {},
|
|
92
|
+
transform: booleanAttribute
|
|
93
|
+
});
|
|
94
|
+
rounded = input(true, {
|
|
95
|
+
...ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {},
|
|
96
|
+
transform: booleanAttribute
|
|
97
|
+
});
|
|
98
|
+
ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
99
|
+
ariaLabelledBy = input("", ...ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
|
|
100
|
+
ariaDescribedBy = input("", ...ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []);
|
|
101
|
+
ariaValueText = input("", ...ngDevMode ? [{ debugName: "ariaValueText" }] : /* istanbul ignore next */ []);
|
|
102
|
+
steps = input([], ...ngDevMode ? [{ debugName: "steps" }] : /* istanbul ignore next */ []);
|
|
103
|
+
activeStep = input(null, ...ngDevMode ? [{ debugName: "activeStep" }] : /* istanbul ignore next */ []);
|
|
104
|
+
valueFormatter = input(null, ...ngDevMode ? [{ debugName: "valueFormatter" }] : /* istanbul ignore next */ []);
|
|
105
|
+
normalizedMin = computed(() => {
|
|
106
|
+
const min = this.min();
|
|
107
|
+
return Number.isFinite(min) ? min : 0;
|
|
108
|
+
}, ...ngDevMode ? [{ debugName: "normalizedMin" }] : /* istanbul ignore next */ []);
|
|
109
|
+
normalizedMax = computed(() => {
|
|
110
|
+
const min = this.normalizedMin();
|
|
111
|
+
const max = this.max();
|
|
112
|
+
return Number.isFinite(max) && max > min ? max : min + 100;
|
|
113
|
+
}, ...ngDevMode ? [{ debugName: "normalizedMax" }] : /* istanbul ignore next */ []);
|
|
114
|
+
clampedValue = computed(() => {
|
|
115
|
+
const value = this.value();
|
|
116
|
+
return this.clamp(Number.isFinite(value) ? value : this.normalizedMin(), this.normalizedMin(), this.normalizedMax());
|
|
117
|
+
}, ...ngDevMode ? [{ debugName: "clampedValue" }] : /* istanbul ignore next */ []);
|
|
118
|
+
percent = computed(() => {
|
|
119
|
+
const min = this.normalizedMin();
|
|
120
|
+
const range = this.normalizedMax() - min;
|
|
121
|
+
if (range <= 0) return 0;
|
|
122
|
+
return Math.round((this.clampedValue() - min) / range * 1e3) / 10;
|
|
123
|
+
}, ...ngDevMode ? [{ debugName: "percent" }] : /* istanbul ignore next */ []);
|
|
124
|
+
percentStyle = computed(() => `${this.percent()}%`, ...ngDevMode ? [{ debugName: "percentStyle" }] : /* istanbul ignore next */ []);
|
|
125
|
+
valueContext = computed(() => ({
|
|
126
|
+
$implicit: this.clampedValue(),
|
|
127
|
+
value: this.clampedValue(),
|
|
128
|
+
min: this.normalizedMin(),
|
|
129
|
+
max: this.normalizedMax(),
|
|
130
|
+
percent: this.percent()
|
|
131
|
+
}), ...ngDevMode ? [{ debugName: "valueContext" }] : /* istanbul ignore next */ []);
|
|
132
|
+
valueText = computed(() => {
|
|
133
|
+
const formatter = this.valueFormatter();
|
|
134
|
+
if (formatter) return formatter(this.valueContext());
|
|
135
|
+
return `${Math.round(this.percent())}%`;
|
|
136
|
+
}, ...ngDevMode ? [{ debugName: "valueText" }] : /* istanbul ignore next */ []);
|
|
137
|
+
resolvedAriaValueText = computed(() => {
|
|
138
|
+
if (this.mode() !== "determinate") return this.ariaValueText() || null;
|
|
139
|
+
return this.ariaValueText() || this.valueText();
|
|
140
|
+
}, ...ngDevMode ? [{ debugName: "resolvedAriaValueText" }] : /* istanbul ignore next */ []);
|
|
141
|
+
stepViews = computed(() => {
|
|
142
|
+
const steps = this.steps();
|
|
143
|
+
if (steps.length === 0) return [];
|
|
144
|
+
const activeStep = this.activeStep();
|
|
145
|
+
const denominator = Math.max(1, steps.length - 1);
|
|
146
|
+
return steps.map((step, index) => {
|
|
147
|
+
const fallbackPercent = steps.length === 1 ? 100 : index / denominator * 100;
|
|
148
|
+
const stepPercent = this.stepPercent(step.value, fallbackPercent);
|
|
149
|
+
const active = activeStep === null ? this.percent() >= stepPercent : activeStep === index;
|
|
150
|
+
const complete = activeStep === null ? this.percent() >= stepPercent : index <= activeStep;
|
|
151
|
+
return {
|
|
152
|
+
step,
|
|
153
|
+
index,
|
|
154
|
+
active,
|
|
155
|
+
complete,
|
|
156
|
+
percentValue: stepPercent,
|
|
157
|
+
percent: `${stepPercent}%`,
|
|
158
|
+
context: {
|
|
159
|
+
$implicit: step,
|
|
160
|
+
step,
|
|
161
|
+
index,
|
|
162
|
+
active,
|
|
163
|
+
complete,
|
|
164
|
+
percent: stepPercent
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
});
|
|
168
|
+
}, ...ngDevMode ? [{ debugName: "stepViews" }] : /* istanbul ignore next */ []);
|
|
169
|
+
stepPercent(value, fallback) {
|
|
170
|
+
if (value === void 0 || !Number.isFinite(value)) return this.clamp(fallback, 0, 100);
|
|
171
|
+
const min = this.normalizedMin();
|
|
172
|
+
const max = this.normalizedMax();
|
|
173
|
+
return this.clamp((value - min) / (max - min) * 100, 0, 100);
|
|
174
|
+
}
|
|
175
|
+
clamp(value, min, max) {
|
|
176
|
+
return Math.min(Math.max(value, min), max);
|
|
177
|
+
}
|
|
178
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
179
|
+
minVersion: "12.0.0",
|
|
180
|
+
version: "22.2.3",
|
|
181
|
+
ngImport: i0,
|
|
182
|
+
type: AerisProgressBar,
|
|
183
|
+
deps: [],
|
|
184
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
185
|
+
});
|
|
186
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
187
|
+
minVersion: "17.0.0",
|
|
188
|
+
version: "22.2.3",
|
|
189
|
+
type: AerisProgressBar,
|
|
190
|
+
isStandalone: true,
|
|
191
|
+
selector: "aeris-progress-bar",
|
|
192
|
+
inputs: {
|
|
193
|
+
id: {
|
|
194
|
+
classPropertyName: "id",
|
|
195
|
+
publicName: "id",
|
|
196
|
+
isSignal: true,
|
|
197
|
+
isRequired: false,
|
|
198
|
+
transformFunction: null
|
|
199
|
+
},
|
|
200
|
+
value: {
|
|
201
|
+
classPropertyName: "value",
|
|
202
|
+
publicName: "value",
|
|
203
|
+
isSignal: true,
|
|
204
|
+
isRequired: false,
|
|
205
|
+
transformFunction: null
|
|
206
|
+
},
|
|
207
|
+
min: {
|
|
208
|
+
classPropertyName: "min",
|
|
209
|
+
publicName: "min",
|
|
210
|
+
isSignal: true,
|
|
211
|
+
isRequired: false,
|
|
212
|
+
transformFunction: null
|
|
213
|
+
},
|
|
214
|
+
max: {
|
|
215
|
+
classPropertyName: "max",
|
|
216
|
+
publicName: "max",
|
|
217
|
+
isSignal: true,
|
|
218
|
+
isRequired: false,
|
|
219
|
+
transformFunction: null
|
|
220
|
+
},
|
|
221
|
+
mode: {
|
|
222
|
+
classPropertyName: "mode",
|
|
223
|
+
publicName: "mode",
|
|
224
|
+
isSignal: true,
|
|
225
|
+
isRequired: false,
|
|
226
|
+
transformFunction: null
|
|
227
|
+
},
|
|
228
|
+
severity: {
|
|
229
|
+
classPropertyName: "severity",
|
|
230
|
+
publicName: "severity",
|
|
231
|
+
isSignal: true,
|
|
232
|
+
isRequired: false,
|
|
233
|
+
transformFunction: null
|
|
234
|
+
},
|
|
235
|
+
size: {
|
|
236
|
+
classPropertyName: "size",
|
|
237
|
+
publicName: "size",
|
|
238
|
+
isSignal: true,
|
|
239
|
+
isRequired: false,
|
|
240
|
+
transformFunction: null
|
|
241
|
+
},
|
|
242
|
+
showValue: {
|
|
243
|
+
classPropertyName: "showValue",
|
|
244
|
+
publicName: "showValue",
|
|
245
|
+
isSignal: true,
|
|
246
|
+
isRequired: false,
|
|
247
|
+
transformFunction: null
|
|
248
|
+
},
|
|
249
|
+
striped: {
|
|
250
|
+
classPropertyName: "striped",
|
|
251
|
+
publicName: "striped",
|
|
252
|
+
isSignal: true,
|
|
253
|
+
isRequired: false,
|
|
254
|
+
transformFunction: null
|
|
255
|
+
},
|
|
256
|
+
animated: {
|
|
257
|
+
classPropertyName: "animated",
|
|
258
|
+
publicName: "animated",
|
|
259
|
+
isSignal: true,
|
|
260
|
+
isRequired: false,
|
|
261
|
+
transformFunction: null
|
|
262
|
+
},
|
|
263
|
+
rounded: {
|
|
264
|
+
classPropertyName: "rounded",
|
|
265
|
+
publicName: "rounded",
|
|
266
|
+
isSignal: true,
|
|
267
|
+
isRequired: false,
|
|
268
|
+
transformFunction: null
|
|
269
|
+
},
|
|
270
|
+
ariaLabel: {
|
|
271
|
+
classPropertyName: "ariaLabel",
|
|
272
|
+
publicName: "ariaLabel",
|
|
273
|
+
isSignal: true,
|
|
274
|
+
isRequired: false,
|
|
275
|
+
transformFunction: null
|
|
276
|
+
},
|
|
277
|
+
ariaLabelledBy: {
|
|
278
|
+
classPropertyName: "ariaLabelledBy",
|
|
279
|
+
publicName: "ariaLabelledBy",
|
|
280
|
+
isSignal: true,
|
|
281
|
+
isRequired: false,
|
|
282
|
+
transformFunction: null
|
|
283
|
+
},
|
|
284
|
+
ariaDescribedBy: {
|
|
285
|
+
classPropertyName: "ariaDescribedBy",
|
|
286
|
+
publicName: "ariaDescribedBy",
|
|
287
|
+
isSignal: true,
|
|
288
|
+
isRequired: false,
|
|
289
|
+
transformFunction: null
|
|
290
|
+
},
|
|
291
|
+
ariaValueText: {
|
|
292
|
+
classPropertyName: "ariaValueText",
|
|
293
|
+
publicName: "ariaValueText",
|
|
294
|
+
isSignal: true,
|
|
295
|
+
isRequired: false,
|
|
296
|
+
transformFunction: null
|
|
297
|
+
},
|
|
298
|
+
steps: {
|
|
299
|
+
classPropertyName: "steps",
|
|
300
|
+
publicName: "steps",
|
|
301
|
+
isSignal: true,
|
|
302
|
+
isRequired: false,
|
|
303
|
+
transformFunction: null
|
|
304
|
+
},
|
|
305
|
+
activeStep: {
|
|
306
|
+
classPropertyName: "activeStep",
|
|
307
|
+
publicName: "activeStep",
|
|
308
|
+
isSignal: true,
|
|
309
|
+
isRequired: false,
|
|
310
|
+
transformFunction: null
|
|
311
|
+
},
|
|
312
|
+
valueFormatter: {
|
|
313
|
+
classPropertyName: "valueFormatter",
|
|
314
|
+
publicName: "valueFormatter",
|
|
315
|
+
isSignal: true,
|
|
316
|
+
isRequired: false,
|
|
317
|
+
transformFunction: null
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
host: {
|
|
321
|
+
attributes: { "role": "progressbar" },
|
|
322
|
+
properties: {
|
|
323
|
+
"attr.id": "id()",
|
|
324
|
+
"attr.aria-valuemin": "mode() === \"determinate\" ? normalizedMin() : null",
|
|
325
|
+
"attr.aria-valuemax": "mode() === \"determinate\" ? normalizedMax() : null",
|
|
326
|
+
"attr.aria-valuenow": "mode() === \"determinate\" ? clampedValue() : null",
|
|
327
|
+
"attr.aria-valuetext": "resolvedAriaValueText()",
|
|
328
|
+
"attr.aria-label": "ariaLabel() || null",
|
|
329
|
+
"attr.aria-labelledby": "ariaLabelledBy() || null",
|
|
330
|
+
"attr.aria-describedby": "ariaDescribedBy() || null",
|
|
331
|
+
"attr.data-mode": "mode()",
|
|
332
|
+
"attr.data-severity": "severity()",
|
|
333
|
+
"attr.data-size": "size()",
|
|
334
|
+
"attr.data-striped": "striped() || null",
|
|
335
|
+
"attr.data-animated": "animated() || null",
|
|
336
|
+
"attr.data-rounded": "rounded() || null",
|
|
337
|
+
"style.--aeris-progress-bar-value": "percentStyle()"
|
|
338
|
+
},
|
|
339
|
+
classAttribute: "aeris-progress-bar"
|
|
340
|
+
},
|
|
341
|
+
queries: [{
|
|
342
|
+
propertyName: "valueTemplate",
|
|
343
|
+
first: true,
|
|
344
|
+
predicate: AerisProgressBarValueTemplate,
|
|
345
|
+
descendants: true,
|
|
346
|
+
isSignal: true
|
|
347
|
+
}, {
|
|
348
|
+
propertyName: "stepTemplate",
|
|
349
|
+
first: true,
|
|
350
|
+
predicate: AerisProgressBarStepTemplate,
|
|
351
|
+
descendants: true,
|
|
352
|
+
isSignal: true
|
|
353
|
+
}],
|
|
354
|
+
ngImport: i0,
|
|
355
|
+
template: `
|
|
145
356
|
<div class="aeris-progress-bar__track">
|
|
146
|
-
<span class="aeris-progress-bar__fill" [style.inline-size.%]="
|
|
357
|
+
<span class="aeris-progress-bar__fill" [style.inline-size.%]="percent()"></span>
|
|
358
|
+
<span class="aeris-progress-bar__activity" aria-hidden="true">
|
|
359
|
+
<span class="aeris-progress-bar__sweep"></span>
|
|
360
|
+
</span>
|
|
147
361
|
@if (showValue() && mode() === 'determinate') {
|
|
148
|
-
<span class="aeris-progress-bar__value">
|
|
362
|
+
<span class="aeris-progress-bar__value" aria-hidden="true">
|
|
149
363
|
@if (valueTemplate(); as template) {
|
|
150
364
|
<ng-container
|
|
151
365
|
[ngTemplateOutlet]="template.template"
|
|
@@ -165,9 +379,26 @@ class AerisProgressBar {
|
|
|
165
379
|
class="aeris-progress-bar__step"
|
|
166
380
|
[attr.data-active]="item.active || null"
|
|
167
381
|
[attr.data-complete]="item.complete || null"
|
|
382
|
+
[attr.data-edge-start]="item.percentValue === 0 || null"
|
|
383
|
+
[attr.data-edge-end]="item.percentValue === 100 || null"
|
|
168
384
|
[style.--aeris-progress-bar-step-position]="item.percent"
|
|
169
385
|
>
|
|
170
|
-
<
|
|
386
|
+
<svg
|
|
387
|
+
class="aeris-progress-bar__step-marker"
|
|
388
|
+
viewBox="0 0 20 20"
|
|
389
|
+
aria-hidden="true"
|
|
390
|
+
focusable="false"
|
|
391
|
+
>
|
|
392
|
+
@if (item.active) {
|
|
393
|
+
<path
|
|
394
|
+
class="aeris-progress-bar__step-selected"
|
|
395
|
+
fill-rule="evenodd"
|
|
396
|
+
d="M19 10a9 9 0 1 1-18 0a9 9 0 1 1 18 0Z M18 10a8 8 0 1 1-16 0a8 8 0 1 1 16 0Z M16 10a6 6 0 1 1-12 0a6 6 0 1 1 12 0Z"
|
|
397
|
+
/>
|
|
398
|
+
} @else {
|
|
399
|
+
<circle class="aeris-progress-bar__step-dot" cx="10" cy="10" r="5" />
|
|
400
|
+
}
|
|
401
|
+
</svg>
|
|
171
402
|
<span class="aeris-progress-bar__step-label">
|
|
172
403
|
@if (stepTemplate(); as template) {
|
|
173
404
|
<ng-container
|
|
@@ -182,15 +413,39 @@ class AerisProgressBar {
|
|
|
182
413
|
}
|
|
183
414
|
</ol>
|
|
184
415
|
}
|
|
185
|
-
`,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
416
|
+
`,
|
|
417
|
+
isInline: true,
|
|
418
|
+
styles: [":host{--_accent: var(--aeris-primary, #111111);--_on-accent: var(--aeris-on-primary, #ffffff);--_height: var(--aeris-progress-bar-height, .875rem);display:grid;gap:var(--aeris-progress-bar-gap, .75rem);min-inline-size:0;color:var(--aeris-progress-bar-text, var(--aeris-text, #111111))}:host([data-size=sm]){--_height: var(--aeris-progress-bar-sm-height, .5rem)}:host([data-size=lg]){--_height: var(--aeris-progress-bar-lg-height, 1.25rem)}:host([data-severity=secondary]){--_accent: var(--aeris-surface-3, var(--aeris-border, #efefef));--_on-accent: var(--aeris-text, #111111)}:host([data-severity=success]){--_accent: var(--aeris-success, #6f8a68);--_on-accent: #fff}:host([data-severity=info]){--_accent: var(--aeris-info, #6b8793);--_on-accent: #fff}:host([data-severity=warning]){--_accent: var(--aeris-warning, #c38600);--_on-accent: var(--aeris-on-warning, #211600)}:host([data-severity=danger]){--_accent: var(--aeris-danger, #c81e2a);--_on-accent: #fff}:host([data-severity=neutral]){--_accent: var(--aeris-text-3, #6f7667);--_on-accent: #fff}:host([data-severity=contrast]){--_accent: var(--aeris-text, #111111);--_on-accent: var(--aeris-surface, #fff)}.aeris-progress-bar__track{position:relative;min-inline-size:0;block-size:var(--_height);overflow:hidden;border-radius:var(--aeris-progress-bar-radius, 999px);background:var(--aeris-progress-bar-track, color-mix(in srgb, var(--_accent) 14%, var(--aeris-surface-2, #f3f3f3)));box-shadow:inset 0 0 0 1px var(--aeris-progress-bar-track-border, color-mix(in srgb, var(--_accent) 12%, transparent))}:host([data-rounded=false]) .aeris-progress-bar__track{border-radius:var(--aeris-radius-sm, .4375rem)}.aeris-progress-bar__fill{position:absolute;inset-block:0;inset-inline-start:0;inline-size:0%;min-inline-size:0;border-radius:inherit;background:var(--aeris-progress-bar-fill, var(--_accent));transition:inline-size var(--aeris-motion-emphasized, .32s) var(--aeris-ease-enter, ease-out),opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host([data-striped=true]) :is(.aeris-progress-bar__fill,.aeris-progress-bar__sweep){background:linear-gradient(45deg,color-mix(in srgb,#fff 22%,transparent) 25%,transparent 25%,transparent 50%,color-mix(in srgb,#fff 22%,transparent) 50%,color-mix(in srgb,#fff 22%,transparent) 75%,transparent 75%,transparent),var(--aeris-progress-bar-fill, var(--_accent));background-size:1.2rem 1.2rem}:host([data-mode=determinate][data-striped=true][data-animated=true]) .aeris-progress-bar__fill{animation:aeris-progress-bar-stripes .9s linear infinite}:host([data-mode=indeterminate]) .aeris-progress-bar__fill{opacity:0}.aeris-progress-bar__activity{position:absolute;inset:0;border-radius:inherit;opacity:0;visibility:hidden;transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),visibility 0s var(--aeris-motion-normal, .15s)}:host([data-mode=indeterminate]) .aeris-progress-bar__activity{opacity:1;visibility:visible;transition-delay:0s}.aeris-progress-bar__sweep{position:absolute;inset-block:0;inset-inline-start:0;inline-size:42%;border-radius:inherit;background:var(--aeris-progress-bar-fill, var(--_accent));animation:aeris-progress-bar-indeterminate 1.25s ease-in-out infinite;animation-play-state:paused}:host([data-mode=indeterminate]) .aeris-progress-bar__sweep{animation-play-state:running}:host(:dir(rtl)) .aeris-progress-bar__sweep{animation-name:aeris-progress-bar-indeterminate-rtl}.aeris-progress-bar__value{position:absolute;inset:0;z-index:1;display:inline-grid;place-items:center;padding-inline:.5rem;color:var(--aeris-progress-bar-value-text, var(--_on-accent));font-size:var(--aeris-progress-bar-value-font-size, .75rem);font-weight:var(--aeris-font-weight-bold, 700);line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.14)}:host([data-size=sm]) .aeris-progress-bar__value{display:none}.aeris-progress-bar__steps{position:relative;display:block;min-block-size:2.75rem;margin:0;padding:0;list-style:none}.aeris-progress-bar__step{position:absolute;inset-block-start:0;inset-inline-start:var(--aeris-progress-bar-step-position);display:grid;justify-items:center;gap:.35rem;inline-size:max-content;max-inline-size:min(8rem,40vw);color:var(--aeris-progress-bar-step-text, var(--aeris-text-3, #6f7667));font-size:var(--aeris-font-size-sm, .75rem);font-weight:var(--aeris-font-weight-bold, 700);text-align:center;transform:translate(-50%)}.aeris-progress-bar__step[data-edge-start=true]{justify-items:start;text-align:start;transform:none}.aeris-progress-bar__step[data-edge-end=true]{justify-items:end;text-align:end;transform:translate(-100%)}.aeris-progress-bar__step-label{max-inline-size:inherit;overflow-wrap:normal;word-break:normal}:host-context([dir=rtl]) .aeris-progress-bar__step{transform:translate(50%)}:host-context([dir=rtl]) .aeris-progress-bar__step[data-edge-start=true]{transform:none}:host-context([dir=rtl]) .aeris-progress-bar__step[data-edge-end=true]{transform:translate(100%)}.aeris-progress-bar__step-marker{display:block;inline-size:var(--aeris-progress-bar-step-marker-size, 1.25rem);block-size:var(--aeris-progress-bar-step-marker-size, 1.25rem);overflow:hidden}.aeris-progress-bar__step-dot{fill:var(--aeris-progress-bar-step-background, var(--aeris-surface, #fff));stroke:var(--aeris-progress-bar-step-border, var(--aeris-border, #efefef));stroke-width:2;transition:fill var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),stroke var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-progress-bar__step-selected{fill:var(--_accent);stroke:none}.aeris-progress-bar__step[data-complete=true]{color:var(--aeris-progress-bar-step-complete-text, var(--aeris-text, #111111))}.aeris-progress-bar__step[data-complete=true] .aeris-progress-bar__step-dot{stroke:var(--_accent);fill:var(--_accent)}@keyframes aeris-progress-bar-indeterminate{0%{transform:translate(-115%)}55%{transform:translate(80%)}to{transform:translate(245%)}}@keyframes aeris-progress-bar-indeterminate-rtl{0%{transform:translate(115%)}55%{transform:translate(-80%)}to{transform:translate(-245%)}}@keyframes aeris-progress-bar-stripes{0%{background-position:0 0}to{background-position:1.2rem 0}}@media(max-width:36rem){.aeris-progress-bar__steps{min-block-size:3rem}.aeris-progress-bar__step-label{max-inline-size:4.5rem}}@media(prefers-reduced-motion:reduce){.aeris-progress-bar__fill,.aeris-progress-bar__activity,.aeris-progress-bar__sweep,.aeris-progress-bar__step-dot{transition:none;animation:none!important}}\n"],
|
|
419
|
+
dependencies: [{
|
|
420
|
+
kind: "directive",
|
|
421
|
+
type: NgTemplateOutlet,
|
|
422
|
+
selector: "[ngTemplateOutlet]",
|
|
423
|
+
inputs: [
|
|
424
|
+
"ngTemplateOutletContext",
|
|
425
|
+
"ngTemplateOutlet",
|
|
426
|
+
"ngTemplateOutletInjector"
|
|
427
|
+
]
|
|
428
|
+
}]
|
|
429
|
+
});
|
|
430
|
+
};
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
432
|
+
minVersion: "12.0.0",
|
|
433
|
+
version: "22.2.3",
|
|
434
|
+
ngImport: i0,
|
|
435
|
+
type: AerisProgressBar,
|
|
436
|
+
decorators: [{
|
|
437
|
+
type: Component,
|
|
438
|
+
args: [{
|
|
439
|
+
selector: "aeris-progress-bar",
|
|
440
|
+
imports: [NgTemplateOutlet],
|
|
441
|
+
template: `
|
|
190
442
|
<div class="aeris-progress-bar__track">
|
|
191
|
-
<span class="aeris-progress-bar__fill" [style.inline-size.%]="
|
|
443
|
+
<span class="aeris-progress-bar__fill" [style.inline-size.%]="percent()"></span>
|
|
444
|
+
<span class="aeris-progress-bar__activity" aria-hidden="true">
|
|
445
|
+
<span class="aeris-progress-bar__sweep"></span>
|
|
446
|
+
</span>
|
|
192
447
|
@if (showValue() && mode() === 'determinate') {
|
|
193
|
-
<span class="aeris-progress-bar__value">
|
|
448
|
+
<span class="aeris-progress-bar__value" aria-hidden="true">
|
|
194
449
|
@if (valueTemplate(); as template) {
|
|
195
450
|
<ng-container
|
|
196
451
|
[ngTemplateOutlet]="template.template"
|
|
@@ -210,9 +465,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
210
465
|
class="aeris-progress-bar__step"
|
|
211
466
|
[attr.data-active]="item.active || null"
|
|
212
467
|
[attr.data-complete]="item.complete || null"
|
|
468
|
+
[attr.data-edge-start]="item.percentValue === 0 || null"
|
|
469
|
+
[attr.data-edge-end]="item.percentValue === 100 || null"
|
|
213
470
|
[style.--aeris-progress-bar-step-position]="item.percent"
|
|
214
471
|
>
|
|
215
|
-
<
|
|
472
|
+
<svg
|
|
473
|
+
class="aeris-progress-bar__step-marker"
|
|
474
|
+
viewBox="0 0 20 20"
|
|
475
|
+
aria-hidden="true"
|
|
476
|
+
focusable="false"
|
|
477
|
+
>
|
|
478
|
+
@if (item.active) {
|
|
479
|
+
<path
|
|
480
|
+
class="aeris-progress-bar__step-selected"
|
|
481
|
+
fill-rule="evenodd"
|
|
482
|
+
d="M19 10a9 9 0 1 1-18 0a9 9 0 1 1 18 0Z M18 10a8 8 0 1 1-16 0a8 8 0 1 1 16 0Z M16 10a6 6 0 1 1-12 0a6 6 0 1 1 12 0Z"
|
|
483
|
+
/>
|
|
484
|
+
} @else {
|
|
485
|
+
<circle class="aeris-progress-bar__step-dot" cx="10" cy="10" r="5" />
|
|
486
|
+
}
|
|
487
|
+
</svg>
|
|
216
488
|
<span class="aeris-progress-bar__step-label">
|
|
217
489
|
@if (stepTemplate(); as template) {
|
|
218
490
|
<ng-container
|
|
@@ -227,34 +499,189 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
227
499
|
}
|
|
228
500
|
</ol>
|
|
229
501
|
}
|
|
230
|
-
`,
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
502
|
+
`,
|
|
503
|
+
host: {
|
|
504
|
+
class: "aeris-progress-bar",
|
|
505
|
+
"[attr.id]": "id()",
|
|
506
|
+
role: "progressbar",
|
|
507
|
+
"[attr.aria-valuemin]": "mode() === \"determinate\" ? normalizedMin() : null",
|
|
508
|
+
"[attr.aria-valuemax]": "mode() === \"determinate\" ? normalizedMax() : null",
|
|
509
|
+
"[attr.aria-valuenow]": "mode() === \"determinate\" ? clampedValue() : null",
|
|
510
|
+
"[attr.aria-valuetext]": "resolvedAriaValueText()",
|
|
511
|
+
"[attr.aria-label]": "ariaLabel() || null",
|
|
512
|
+
"[attr.aria-labelledby]": "ariaLabelledBy() || null",
|
|
513
|
+
"[attr.aria-describedby]": "ariaDescribedBy() || null",
|
|
514
|
+
"[attr.data-mode]": "mode()",
|
|
515
|
+
"[attr.data-severity]": "severity()",
|
|
516
|
+
"[attr.data-size]": "size()",
|
|
517
|
+
"[attr.data-striped]": "striped() || null",
|
|
518
|
+
"[attr.data-animated]": "animated() || null",
|
|
519
|
+
"[attr.data-rounded]": "rounded() || null",
|
|
520
|
+
"[style.--aeris-progress-bar-value]": "percentStyle()"
|
|
521
|
+
},
|
|
522
|
+
styles: [":host{--_accent: var(--aeris-primary, #111111);--_on-accent: var(--aeris-on-primary, #ffffff);--_height: var(--aeris-progress-bar-height, .875rem);display:grid;gap:var(--aeris-progress-bar-gap, .75rem);min-inline-size:0;color:var(--aeris-progress-bar-text, var(--aeris-text, #111111))}:host([data-size=sm]){--_height: var(--aeris-progress-bar-sm-height, .5rem)}:host([data-size=lg]){--_height: var(--aeris-progress-bar-lg-height, 1.25rem)}:host([data-severity=secondary]){--_accent: var(--aeris-surface-3, var(--aeris-border, #efefef));--_on-accent: var(--aeris-text, #111111)}:host([data-severity=success]){--_accent: var(--aeris-success, #6f8a68);--_on-accent: #fff}:host([data-severity=info]){--_accent: var(--aeris-info, #6b8793);--_on-accent: #fff}:host([data-severity=warning]){--_accent: var(--aeris-warning, #c38600);--_on-accent: var(--aeris-on-warning, #211600)}:host([data-severity=danger]){--_accent: var(--aeris-danger, #c81e2a);--_on-accent: #fff}:host([data-severity=neutral]){--_accent: var(--aeris-text-3, #6f7667);--_on-accent: #fff}:host([data-severity=contrast]){--_accent: var(--aeris-text, #111111);--_on-accent: var(--aeris-surface, #fff)}.aeris-progress-bar__track{position:relative;min-inline-size:0;block-size:var(--_height);overflow:hidden;border-radius:var(--aeris-progress-bar-radius, 999px);background:var(--aeris-progress-bar-track, color-mix(in srgb, var(--_accent) 14%, var(--aeris-surface-2, #f3f3f3)));box-shadow:inset 0 0 0 1px var(--aeris-progress-bar-track-border, color-mix(in srgb, var(--_accent) 12%, transparent))}:host([data-rounded=false]) .aeris-progress-bar__track{border-radius:var(--aeris-radius-sm, .4375rem)}.aeris-progress-bar__fill{position:absolute;inset-block:0;inset-inline-start:0;inline-size:0%;min-inline-size:0;border-radius:inherit;background:var(--aeris-progress-bar-fill, var(--_accent));transition:inline-size var(--aeris-motion-emphasized, .32s) var(--aeris-ease-enter, ease-out),opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host([data-striped=true]) :is(.aeris-progress-bar__fill,.aeris-progress-bar__sweep){background:linear-gradient(45deg,color-mix(in srgb,#fff 22%,transparent) 25%,transparent 25%,transparent 50%,color-mix(in srgb,#fff 22%,transparent) 50%,color-mix(in srgb,#fff 22%,transparent) 75%,transparent 75%,transparent),var(--aeris-progress-bar-fill, var(--_accent));background-size:1.2rem 1.2rem}:host([data-mode=determinate][data-striped=true][data-animated=true]) .aeris-progress-bar__fill{animation:aeris-progress-bar-stripes .9s linear infinite}:host([data-mode=indeterminate]) .aeris-progress-bar__fill{opacity:0}.aeris-progress-bar__activity{position:absolute;inset:0;border-radius:inherit;opacity:0;visibility:hidden;transition:opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),visibility 0s var(--aeris-motion-normal, .15s)}:host([data-mode=indeterminate]) .aeris-progress-bar__activity{opacity:1;visibility:visible;transition-delay:0s}.aeris-progress-bar__sweep{position:absolute;inset-block:0;inset-inline-start:0;inline-size:42%;border-radius:inherit;background:var(--aeris-progress-bar-fill, var(--_accent));animation:aeris-progress-bar-indeterminate 1.25s ease-in-out infinite;animation-play-state:paused}:host([data-mode=indeterminate]) .aeris-progress-bar__sweep{animation-play-state:running}:host(:dir(rtl)) .aeris-progress-bar__sweep{animation-name:aeris-progress-bar-indeterminate-rtl}.aeris-progress-bar__value{position:absolute;inset:0;z-index:1;display:inline-grid;place-items:center;padding-inline:.5rem;color:var(--aeris-progress-bar-value-text, var(--_on-accent));font-size:var(--aeris-progress-bar-value-font-size, .75rem);font-weight:var(--aeris-font-weight-bold, 700);line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.14)}:host([data-size=sm]) .aeris-progress-bar__value{display:none}.aeris-progress-bar__steps{position:relative;display:block;min-block-size:2.75rem;margin:0;padding:0;list-style:none}.aeris-progress-bar__step{position:absolute;inset-block-start:0;inset-inline-start:var(--aeris-progress-bar-step-position);display:grid;justify-items:center;gap:.35rem;inline-size:max-content;max-inline-size:min(8rem,40vw);color:var(--aeris-progress-bar-step-text, var(--aeris-text-3, #6f7667));font-size:var(--aeris-font-size-sm, .75rem);font-weight:var(--aeris-font-weight-bold, 700);text-align:center;transform:translate(-50%)}.aeris-progress-bar__step[data-edge-start=true]{justify-items:start;text-align:start;transform:none}.aeris-progress-bar__step[data-edge-end=true]{justify-items:end;text-align:end;transform:translate(-100%)}.aeris-progress-bar__step-label{max-inline-size:inherit;overflow-wrap:normal;word-break:normal}:host-context([dir=rtl]) .aeris-progress-bar__step{transform:translate(50%)}:host-context([dir=rtl]) .aeris-progress-bar__step[data-edge-start=true]{transform:none}:host-context([dir=rtl]) .aeris-progress-bar__step[data-edge-end=true]{transform:translate(100%)}.aeris-progress-bar__step-marker{display:block;inline-size:var(--aeris-progress-bar-step-marker-size, 1.25rem);block-size:var(--aeris-progress-bar-step-marker-size, 1.25rem);overflow:hidden}.aeris-progress-bar__step-dot{fill:var(--aeris-progress-bar-step-background, var(--aeris-surface, #fff));stroke:var(--aeris-progress-bar-step-border, var(--aeris-border, #efefef));stroke-width:2;transition:fill var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),stroke var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-progress-bar__step-selected{fill:var(--_accent);stroke:none}.aeris-progress-bar__step[data-complete=true]{color:var(--aeris-progress-bar-step-complete-text, var(--aeris-text, #111111))}.aeris-progress-bar__step[data-complete=true] .aeris-progress-bar__step-dot{stroke:var(--_accent);fill:var(--_accent)}@keyframes aeris-progress-bar-indeterminate{0%{transform:translate(-115%)}55%{transform:translate(80%)}to{transform:translate(245%)}}@keyframes aeris-progress-bar-indeterminate-rtl{0%{transform:translate(115%)}55%{transform:translate(-80%)}to{transform:translate(-245%)}}@keyframes aeris-progress-bar-stripes{0%{background-position:0 0}to{background-position:1.2rem 0}}@media(max-width:36rem){.aeris-progress-bar__steps{min-block-size:3rem}.aeris-progress-bar__step-label{max-inline-size:4.5rem}}@media(prefers-reduced-motion:reduce){.aeris-progress-bar__fill,.aeris-progress-bar__activity,.aeris-progress-bar__sweep,.aeris-progress-bar__step-dot{transition:none;animation:none!important}}\n"]
|
|
523
|
+
}]
|
|
524
|
+
}],
|
|
525
|
+
propDecorators: {
|
|
526
|
+
valueTemplate: [{
|
|
527
|
+
type: i0.ContentChild,
|
|
528
|
+
args: [i0.forwardRef(() => AerisProgressBarValueTemplate), { isSignal: true }]
|
|
529
|
+
}],
|
|
530
|
+
stepTemplate: [{
|
|
531
|
+
type: i0.ContentChild,
|
|
532
|
+
args: [i0.forwardRef(() => AerisProgressBarStepTemplate), { isSignal: true }]
|
|
533
|
+
}],
|
|
534
|
+
id: [{
|
|
535
|
+
type: i0.Input,
|
|
536
|
+
args: [{
|
|
537
|
+
isSignal: true,
|
|
538
|
+
alias: "id",
|
|
539
|
+
required: false
|
|
540
|
+
}]
|
|
541
|
+
}],
|
|
542
|
+
value: [{
|
|
543
|
+
type: i0.Input,
|
|
544
|
+
args: [{
|
|
545
|
+
isSignal: true,
|
|
546
|
+
alias: "value",
|
|
547
|
+
required: false
|
|
548
|
+
}]
|
|
549
|
+
}],
|
|
550
|
+
min: [{
|
|
551
|
+
type: i0.Input,
|
|
552
|
+
args: [{
|
|
553
|
+
isSignal: true,
|
|
554
|
+
alias: "min",
|
|
555
|
+
required: false
|
|
556
|
+
}]
|
|
557
|
+
}],
|
|
558
|
+
max: [{
|
|
559
|
+
type: i0.Input,
|
|
560
|
+
args: [{
|
|
561
|
+
isSignal: true,
|
|
562
|
+
alias: "max",
|
|
563
|
+
required: false
|
|
564
|
+
}]
|
|
565
|
+
}],
|
|
566
|
+
mode: [{
|
|
567
|
+
type: i0.Input,
|
|
568
|
+
args: [{
|
|
569
|
+
isSignal: true,
|
|
570
|
+
alias: "mode",
|
|
571
|
+
required: false
|
|
572
|
+
}]
|
|
573
|
+
}],
|
|
574
|
+
severity: [{
|
|
575
|
+
type: i0.Input,
|
|
576
|
+
args: [{
|
|
577
|
+
isSignal: true,
|
|
578
|
+
alias: "severity",
|
|
579
|
+
required: false
|
|
580
|
+
}]
|
|
581
|
+
}],
|
|
582
|
+
size: [{
|
|
583
|
+
type: i0.Input,
|
|
584
|
+
args: [{
|
|
585
|
+
isSignal: true,
|
|
586
|
+
alias: "size",
|
|
587
|
+
required: false
|
|
588
|
+
}]
|
|
589
|
+
}],
|
|
590
|
+
showValue: [{
|
|
591
|
+
type: i0.Input,
|
|
592
|
+
args: [{
|
|
593
|
+
isSignal: true,
|
|
594
|
+
alias: "showValue",
|
|
595
|
+
required: false
|
|
596
|
+
}]
|
|
597
|
+
}],
|
|
598
|
+
striped: [{
|
|
599
|
+
type: i0.Input,
|
|
600
|
+
args: [{
|
|
601
|
+
isSignal: true,
|
|
602
|
+
alias: "striped",
|
|
603
|
+
required: false
|
|
604
|
+
}]
|
|
605
|
+
}],
|
|
606
|
+
animated: [{
|
|
607
|
+
type: i0.Input,
|
|
608
|
+
args: [{
|
|
609
|
+
isSignal: true,
|
|
610
|
+
alias: "animated",
|
|
611
|
+
required: false
|
|
612
|
+
}]
|
|
613
|
+
}],
|
|
614
|
+
rounded: [{
|
|
615
|
+
type: i0.Input,
|
|
616
|
+
args: [{
|
|
617
|
+
isSignal: true,
|
|
618
|
+
alias: "rounded",
|
|
619
|
+
required: false
|
|
620
|
+
}]
|
|
621
|
+
}],
|
|
622
|
+
ariaLabel: [{
|
|
623
|
+
type: i0.Input,
|
|
624
|
+
args: [{
|
|
625
|
+
isSignal: true,
|
|
626
|
+
alias: "ariaLabel",
|
|
627
|
+
required: false
|
|
628
|
+
}]
|
|
629
|
+
}],
|
|
630
|
+
ariaLabelledBy: [{
|
|
631
|
+
type: i0.Input,
|
|
632
|
+
args: [{
|
|
633
|
+
isSignal: true,
|
|
634
|
+
alias: "ariaLabelledBy",
|
|
635
|
+
required: false
|
|
636
|
+
}]
|
|
637
|
+
}],
|
|
638
|
+
ariaDescribedBy: [{
|
|
639
|
+
type: i0.Input,
|
|
640
|
+
args: [{
|
|
641
|
+
isSignal: true,
|
|
642
|
+
alias: "ariaDescribedBy",
|
|
643
|
+
required: false
|
|
644
|
+
}]
|
|
645
|
+
}],
|
|
646
|
+
ariaValueText: [{
|
|
647
|
+
type: i0.Input,
|
|
648
|
+
args: [{
|
|
649
|
+
isSignal: true,
|
|
650
|
+
alias: "ariaValueText",
|
|
651
|
+
required: false
|
|
652
|
+
}]
|
|
653
|
+
}],
|
|
654
|
+
steps: [{
|
|
655
|
+
type: i0.Input,
|
|
656
|
+
args: [{
|
|
657
|
+
isSignal: true,
|
|
658
|
+
alias: "steps",
|
|
659
|
+
required: false
|
|
660
|
+
}]
|
|
661
|
+
}],
|
|
662
|
+
activeStep: [{
|
|
663
|
+
type: i0.Input,
|
|
664
|
+
args: [{
|
|
665
|
+
isSignal: true,
|
|
666
|
+
alias: "activeStep",
|
|
667
|
+
required: false
|
|
668
|
+
}]
|
|
669
|
+
}],
|
|
670
|
+
valueFormatter: [{
|
|
671
|
+
type: i0.Input,
|
|
672
|
+
args: [{
|
|
673
|
+
isSignal: true,
|
|
674
|
+
alias: "valueFormatter",
|
|
675
|
+
required: false
|
|
676
|
+
}]
|
|
677
|
+
}]
|
|
678
|
+
}
|
|
679
|
+
});
|
|
249
680
|
const AerisProgressBarModule = [
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
681
|
+
AerisProgressBar,
|
|
682
|
+
AerisProgressBarValueTemplate,
|
|
683
|
+
AerisProgressBarStepTemplate
|
|
253
684
|
];
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Generated bundle index. Do not edit.
|
|
257
|
-
*/
|
|
258
|
-
|
|
259
685
|
export { AerisProgressBar, AerisProgressBarModule, AerisProgressBarStepTemplate, AerisProgressBarValueTemplate };
|
|
260
|
-
|
|
686
|
+
|
|
687
|
+
//# sourceMappingURL=aeris-ui-core-progress-bar.mjs.map
|