@alauda/ui 6.5.9-beta.20 → 6.5.9-beta.21
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/.changeset/README.md +8 -0
- package/accordion/accordion-item/accordion-item.component.d.ts +3 -3
- package/accordion/accordion.component.d.ts +1 -1
- package/alauda-ui.d.ts +5 -0
- package/anchor/anchor.component.d.ts +2 -2
- package/anchor/anchor.directive.d.ts +3 -3
- package/autocomplete/autocomplete-placeholder.component.d.ts +1 -1
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.directive.d.ts +2 -2
- package/autocomplete/autocomplete.types.d.ts +1 -1
- package/autocomplete/helper-directives.d.ts +1 -1
- package/autocomplete/suggestion/suggestion.component.d.ts +1 -1
- package/autocomplete/suggestion-group/suggestion-group.component.d.ts +1 -1
- package/back-top/back-top.component.d.ts +2 -2
- package/breadcrumb/breadcrumb-item.component.d.ts +1 -1
- package/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/button/button-group/button-group.component.d.ts +1 -1
- package/button/button.component.d.ts +1 -1
- package/button/button.types.d.ts +10 -1
- package/card/card.component.d.ts +1 -1
- package/card/helper-directives.d.ts +6 -3
- package/card/section.component.d.ts +1 -1
- package/checkbox/checkbox-group/checkbox-group.component.d.ts +1 -1
- package/checkbox/checkbox.component.d.ts +1 -1
- package/color-picker/color-picker.component.d.ts +1 -1
- package/date-picker/calendar/date-picker-panel/component.d.ts +1 -1
- package/date-picker/calendar/footer/component.d.ts +1 -1
- package/date-picker/calendar/header/component.d.ts +1 -1
- package/date-picker/calendar/panel/picker-panel.d.ts +1 -1
- package/date-picker/calendar/range-picker-panel/component.d.ts +1 -1
- package/date-picker/date-picker/date-picker.component.d.ts +1 -1
- package/date-picker/date-picker.type.d.ts +2 -2
- package/date-picker/range-picker/range-picker.component.d.ts +1 -1
- package/date-picker/trigger/trigger.component.d.ts +1 -1
- package/dialog/confirm-dialog/confirm-dialog.component.d.ts +1 -1
- package/dialog/dialog-content/dialog-close.directive.d.ts +1 -1
- package/dialog/dialog-content/dialog-content.component.d.ts +1 -1
- package/dialog/dialog-content/dialog-footer.component.d.ts +1 -1
- package/dialog/dialog-content/dialog-header.component.d.ts +1 -1
- package/dialog/dialog.component.d.ts +1 -7
- package/dialog/dialog.service.d.ts +0 -2
- package/dialog/dialog.types.d.ts +3 -3
- package/drawer/component/drawer.component.d.ts +1 -1
- package/drawer/component/helper-directives.d.ts +3 -3
- package/dropdown/dropdown-active.directive.d.ts +1 -1
- package/dropdown/dropdown-button/dropdown-button.component.d.ts +1 -1
- package/dropdown/dropdown.directive.d.ts +1 -1
- package/dropdown/dropdown.types.d.ts +1 -1
- package/dropdown/helper-directives.d.ts +1 -1
- package/dropdown/menu/menu-content.directive.d.ts +1 -1
- package/dropdown/menu/menu.component.d.ts +1 -1
- package/dropdown/menu-group/menu-group.component.d.ts +1 -1
- package/dropdown/menu-item/menu-item.component.d.ts +1 -1
- package/dropdown/submenu/submenu.component.d.ts +1 -1
- package/esm2020/accordion/accordion-item/accordion-item.component.mjs +14 -12
- package/esm2020/accordion/accordion.component.mjs +4 -4
- package/esm2020/accordion/accordion.module.mjs +5 -5
- package/esm2020/alauda-ui.mjs +4 -1
- package/esm2020/anchor/anchor.component.mjs +16 -15
- package/esm2020/anchor/anchor.directive.mjs +27 -27
- package/esm2020/anchor/anchor.module.mjs +6 -5
- package/esm2020/autocomplete/autocomplete-placeholder.component.mjs +3 -3
- package/esm2020/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2020/autocomplete/autocomplete.directive.mjs +28 -27
- package/esm2020/autocomplete/autocomplete.module.mjs +5 -5
- package/esm2020/autocomplete/helper-directives.mjs +3 -3
- package/esm2020/autocomplete/suggestion/suggestion.component.mjs +17 -17
- package/esm2020/autocomplete/suggestion-group/suggestion-group.component.mjs +3 -3
- package/esm2020/back-top/back-top.component.mjs +17 -15
- package/esm2020/back-top/back-top.module.mjs +5 -5
- package/esm2020/breadcrumb/breadcrumb-item.component.mjs +11 -11
- package/esm2020/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2020/breadcrumb/breadcrumb.module.mjs +5 -5
- package/esm2020/button/button-group/button-group.component.mjs +3 -3
- package/esm2020/button/button.component.mjs +22 -21
- package/esm2020/button/button.module.mjs +5 -5
- package/esm2020/button/button.types.mjs +10 -1
- package/esm2020/card/card.component.mjs +4 -4
- package/esm2020/card/card.module.mjs +5 -5
- package/esm2020/card/helper-directives.mjs +13 -11
- package/esm2020/card/section.component.mjs +3 -3
- package/esm2020/checkbox/checkbox-group/checkbox-group.component.mjs +3 -3
- package/esm2020/checkbox/checkbox.component.mjs +20 -20
- package/esm2020/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/color-picker/color-picker.component.mjs +3 -3
- package/esm2020/color-picker/color-picker.module.mjs +5 -5
- package/esm2020/date-picker/calendar/constant.mjs +2 -1
- package/esm2020/date-picker/calendar/date-picker-panel/component.mjs +10 -10
- package/esm2020/date-picker/calendar/footer/component.mjs +5 -5
- package/esm2020/date-picker/calendar/header/component.mjs +11 -7
- package/esm2020/date-picker/calendar/panel/picker-panel.mjs +24 -20
- package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +13 -11
- package/esm2020/date-picker/calendar/util.mjs +2 -1
- package/esm2020/date-picker/date-picker/date-picker.component.mjs +8 -8
- package/esm2020/date-picker/date-picker.module.mjs +15 -13
- package/esm2020/date-picker/range-picker/range-picker.component.mjs +8 -8
- package/esm2020/date-picker/trigger/trigger.component.mjs +18 -18
- package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +6 -6
- package/esm2020/dialog/dialog-animations.mjs +2 -1
- package/esm2020/dialog/dialog-content/dialog-close.directive.mjs +3 -3
- package/esm2020/dialog/dialog-content/dialog-content.component.mjs +5 -4
- package/esm2020/dialog/dialog-content/dialog-footer.component.mjs +3 -3
- package/esm2020/dialog/dialog-content/dialog-header.component.mjs +5 -5
- package/esm2020/dialog/dialog.component.mjs +13 -20
- package/esm2020/dialog/dialog.module.mjs +12 -9
- package/esm2020/dialog/dialog.service.mjs +6 -19
- package/esm2020/drawer/component/drawer.component.mjs +30 -27
- package/esm2020/drawer/component/helper-directives.mjs +14 -10
- package/esm2020/drawer/drawer.module.mjs +6 -5
- package/esm2020/drawer/drawer.service.mjs +3 -3
- package/esm2020/dropdown/dropdown-active.directive.mjs +3 -3
- package/esm2020/dropdown/dropdown-button/dropdown-button.component.mjs +5 -5
- package/esm2020/dropdown/dropdown.directive.mjs +13 -13
- package/esm2020/dropdown/dropdown.module.mjs +5 -5
- package/esm2020/dropdown/helper-directives.mjs +3 -3
- package/esm2020/dropdown/menu/menu-content.directive.mjs +3 -3
- package/esm2020/dropdown/menu/menu.component.mjs +3 -3
- package/esm2020/dropdown/menu-group/menu-group.component.mjs +3 -3
- package/esm2020/dropdown/menu-item/menu-item.component.mjs +3 -3
- package/esm2020/dropdown/submenu/submenu.component.mjs +7 -7
- package/esm2020/form/common-form.mjs +22 -15
- package/esm2020/form/form-item/form-item.component.mjs +9 -9
- package/esm2020/form/form.directive.mjs +17 -17
- package/esm2020/form/form.module.mjs +5 -5
- package/esm2020/form/helper-directives.mjs +15 -15
- package/esm2020/i18n/i18n.module.mjs +4 -4
- package/esm2020/i18n/i18n.pipe.mjs +3 -3
- package/esm2020/i18n/i18n.service.mjs +3 -3
- package/esm2020/icon/icon-register.service.mjs +5 -4
- package/esm2020/icon/icon.component.mjs +3 -3
- package/esm2020/icon/icon.module.mjs +5 -5
- package/esm2020/inline-alert/helper-directives.mjs +3 -3
- package/esm2020/inline-alert/inline-alert.component.mjs +5 -5
- package/esm2020/inline-alert/inline-alert.module.mjs +5 -5
- package/esm2020/input/autosize.directive.mjs +16 -11
- package/esm2020/input/helper-directives.mjs +12 -12
- package/esm2020/input/input-group/input-group.component.mjs +3 -3
- package/esm2020/input/input.component.mjs +18 -14
- package/esm2020/input/input.module.mjs +12 -10
- package/esm2020/input/number-input/number-input.component.mjs +6 -6
- package/esm2020/input/search/search.component.mjs +8 -8
- package/esm2020/input/tags-input/tags-input.component.mjs +32 -27
- package/esm2020/message/message-wrapper.component.mjs +3 -3
- package/esm2020/message/message.component.mjs +8 -8
- package/esm2020/message/message.config.mjs +6 -1
- package/esm2020/message/message.module.mjs +6 -5
- package/esm2020/message/message.service.mjs +3 -3
- package/esm2020/notification/notification-wrapper.component.mjs +3 -3
- package/esm2020/notification/notification.component.mjs +12 -8
- package/esm2020/notification/notification.module.mjs +6 -5
- package/esm2020/notification/notification.service.mjs +3 -3
- package/esm2020/paginator/paginator-intl.mjs +15 -4
- package/esm2020/paginator/paginator.component.mjs +32 -24
- package/esm2020/paginator/paginator.module.mjs +5 -5
- package/esm2020/radio/base-radio.mjs +11 -11
- package/esm2020/radio/radio-button/radio-button.component.mjs +10 -9
- package/esm2020/radio/radio-group/radio-group.component.mjs +7 -4
- package/esm2020/radio/radio.component.mjs +8 -7
- package/esm2020/radio/radio.module.mjs +5 -5
- package/esm2020/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +6 -4
- package/esm2020/scrolling/fixed-size-table-virtual-scroll.directive.mjs +6 -4
- package/esm2020/scrolling/fixed-size-virtual-scroll.directive.mjs +5 -4
- package/esm2020/scrolling/scrolling.module.mjs +4 -4
- package/esm2020/scrolling/virtual-for-of.directive.mjs +3 -3
- package/esm2020/scrolling/virtual-scroll-viewport.component.mjs +3 -3
- package/esm2020/select/base-select.mjs +8 -5
- package/esm2020/select/helper-directives.mjs +6 -6
- package/esm2020/select/multi-select/multi-select.component.mjs +31 -28
- package/esm2020/select/option/option.component.mjs +34 -34
- package/esm2020/select/option-group/option-group.component.mjs +3 -3
- package/esm2020/select/option-placeholder.component.mjs +3 -3
- package/esm2020/select/select.component.mjs +12 -11
- package/esm2020/select/select.module.mjs +12 -10
- package/esm2020/select/validators.mjs +13 -9
- package/esm2020/shared/click-outside.directive.mjs +8 -8
- package/esm2020/shared/shared.module.mjs +4 -4
- package/esm2020/sort/sort-errors.mjs +5 -1
- package/esm2020/sort/sort-header.component.mjs +8 -4
- package/esm2020/sort/sort.directive.mjs +5 -4
- package/esm2020/sort/sort.module.mjs +5 -5
- package/esm2020/status-bar/status-bar.component.mjs +3 -3
- package/esm2020/status-bar/status-bar.module.mjs +5 -5
- package/esm2020/steps/steps.component.mjs +10 -6
- package/esm2020/steps/steps.module.mjs +5 -5
- package/esm2020/switch/switch.component.mjs +5 -5
- package/esm2020/switch/switch.module.mjs +5 -5
- package/esm2020/table/table-cell-def.directive.mjs +8 -4
- package/esm2020/table/table-cell.component.mjs +9 -9
- package/esm2020/table/table-cell.directive.mjs +6 -4
- package/esm2020/table/table-column-def.directive.mjs +10 -4
- package/esm2020/table/table-header-cell-def.directive.mjs +8 -4
- package/esm2020/table/table-header-cell.directive.mjs +6 -4
- package/esm2020/table/table-header-row-def.directive.mjs +8 -4
- package/esm2020/table/table-header-row.component.mjs +5 -4
- package/esm2020/table/table-placeholder.directive.mjs +6 -6
- package/esm2020/table/table-row-def.directive.mjs +9 -4
- package/esm2020/table/table-row.component.mjs +5 -4
- package/esm2020/table/table-scroll.directive.mjs +15 -14
- package/esm2020/table/table.component.mjs +9 -6
- package/esm2020/table/table.module.mjs +5 -5
- package/esm2020/table-of-contents/table-of-contents.module.mjs +5 -5
- package/esm2020/table-of-contents/toc-container.directive.mjs +14 -14
- package/esm2020/table-of-contents/toc-content.directive.mjs +3 -3
- package/esm2020/table-of-contents/toc-link.directive.mjs +7 -7
- package/esm2020/tabs/tab-body.component.mjs +43 -25
- package/esm2020/tabs/tab-context.service.mjs +13 -10
- package/esm2020/tabs/tab-group.component.mjs +73 -28
- package/esm2020/tabs/tab-header-active-indicator.component.mjs +13 -4
- package/esm2020/tabs/tab-header.component.mjs +132 -29
- package/esm2020/tabs/tab.component.mjs +27 -13
- package/esm2020/tabs/tabs.module.mjs +13 -11
- package/esm2020/tabs/tabs.types.mjs +4 -1
- package/esm2020/tag/check-tag/check-tag.component.mjs +3 -3
- package/esm2020/tag/tag.component.mjs +7 -6
- package/esm2020/tag/tag.module.mjs +5 -5
- package/esm2020/theme/theme.module.mjs +5 -5
- package/esm2020/theme/theme.pipe.mjs +12 -12
- package/esm2020/theme/theme.service.mjs +3 -3
- package/esm2020/time-picker/component.mjs +12 -12
- package/esm2020/time-picker/panel/panel.component.mjs +29 -27
- package/esm2020/time-picker/time-picker.module.mjs +16 -14
- package/esm2020/tooltip/base-tooltip.mjs +42 -38
- package/esm2020/tooltip/tooltip-active.directive.mjs +3 -3
- package/esm2020/tooltip/tooltip-copy.directive.mjs +10 -10
- package/esm2020/tooltip/tooltip-intl.mjs +10 -4
- package/esm2020/tooltip/tooltip.component.mjs +5 -5
- package/esm2020/tooltip/tooltip.directive.mjs +3 -3
- package/esm2020/tooltip/tooltip.module.mjs +6 -5
- package/esm2020/tree-select/tree-node-placeholder.component.mjs +3 -3
- package/esm2020/tree-select/tree-select.component.mjs +30 -29
- package/esm2020/tree-select/tree-select.module.mjs +5 -5
- package/esm2020/types.mjs +4 -1
- package/esm2020/utils/bem.mjs +2 -1
- package/esm2020/utils/coercion.mjs +5 -1
- package/fesm2015/alauda-ui.mjs +1959 -1589
- package/fesm2015/alauda-ui.mjs.map +1 -1
- package/fesm2020/alauda-ui.mjs +2193 -1822
- package/fesm2020/alauda-ui.mjs.map +1 -1
- package/form/common-form.d.ts +8 -1
- package/form/form-item/form-item.component.d.ts +1 -1
- package/form/form.directive.d.ts +1 -1
- package/form/form.types.d.ts +2 -2
- package/form/helper-directives.d.ts +5 -5
- package/i18n/i18n.pipe.d.ts +1 -1
- package/i18n/i18n.type.d.ts +1 -1
- package/icon/icon.component.d.ts +1 -1
- package/inline-alert/helper-directives.d.ts +1 -1
- package/inline-alert/inline-alert.component.d.ts +1 -1
- package/inline-alert/inline-alert.types.d.ts +1 -1
- package/input/autosize.directive.d.ts +4 -1
- package/input/helper-directives.d.ts +4 -4
- package/input/input-group/input-group.component.d.ts +1 -1
- package/input/input.component.d.ts +4 -1
- package/input/number-input/number-input.component.d.ts +1 -1
- package/input/search/search.component.d.ts +1 -1
- package/input/tags-input/tags-input.component.d.ts +4 -4
- package/message/message-wrapper.component.d.ts +1 -1
- package/message/message.component.d.ts +1 -1
- package/message/message.config.d.ts +20 -0
- package/notification/notification-wrapper.component.d.ts +1 -1
- package/notification/notification.component.d.ts +5 -1
- package/notification/notification.config.d.ts +1 -1
- package/package.json +9 -9
- package/paginator/paginator-intl.d.ts +9 -0
- package/paginator/paginator.component.d.ts +15 -1
- package/radio/base-radio.d.ts +1 -1
- package/radio/radio-button/radio-button.component.d.ts +1 -1
- package/radio/radio-group/radio-group.component.d.ts +4 -1
- package/radio/radio.component.d.ts +1 -1
- package/radio/radio.types.d.ts +1 -1
- package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +1 -1
- package/scrolling/fixed-size-virtual-scroll.directive.d.ts +1 -1
- package/scrolling/virtual-for-of.directive.d.ts +1 -1
- package/scrolling/virtual-scroll-viewport.component.d.ts +1 -1
- package/select/base-select.d.ts +4 -1
- package/select/helper-directives.d.ts +2 -2
- package/select/multi-select/multi-select.component.d.ts +1 -1
- package/select/option/option.component.d.ts +1 -1
- package/select/option-group/option-group.component.d.ts +1 -1
- package/select/option-placeholder.component.d.ts +1 -1
- package/select/select.component.d.ts +1 -1
- package/select/select.types.d.ts +3 -3
- package/select/validators.d.ts +1 -1
- package/shared/click-outside.directive.d.ts +1 -1
- package/sort/sort-errors.d.ts +4 -0
- package/sort/sort-header.component.d.ts +1 -1
- package/sort/sort.directive.d.ts +1 -1
- package/sort/sort.types.d.ts +2 -2
- package/src/accordion/README.md +13 -0
- package/src/anchor/README.md +23 -0
- package/src/dropdown/README.md +57 -0
- package/src/form/README.md +32 -0
- package/src/icon/README.md +28 -0
- package/src/inline-alert/README.md +16 -0
- package/src/input/number-input/README.md +16 -0
- package/src/select/README.md +57 -0
- package/src/sort/README.md +13 -0
- package/src/table/README.md +8 -0
- package/src/table-of-contents/README.md +94 -0
- package/src/tag/README.md +32 -0
- package/src/tree-select/README.md +34 -0
- package/status-bar/status-bar.component.d.ts +1 -1
- package/status-bar/status-bar.types.d.ts +2 -2
- package/steps/steps.component.d.ts +4 -1
- package/steps/types.d.ts +6 -3
- package/switch/switch.component.d.ts +1 -1
- package/table/table-cell-def.directive.d.ts +5 -1
- package/table/table-cell.component.d.ts +2 -2
- package/table/table-cell.directive.d.ts +2 -1
- package/table/table-column-def.directive.d.ts +5 -1
- package/table/table-header-cell-def.directive.d.ts +5 -1
- package/table/table-header-cell.directive.d.ts +2 -1
- package/table/table-header-row-def.directive.d.ts +5 -1
- package/table/table-header-row.component.d.ts +2 -1
- package/table/table-placeholder.directive.d.ts +2 -2
- package/table/table-row-def.directive.d.ts +6 -1
- package/table/table-row.component.d.ts +2 -1
- package/table/table-scroll.directive.d.ts +2 -2
- package/table/table.component.d.ts +1 -1
- package/table-of-contents/toc-container.directive.d.ts +1 -1
- package/table-of-contents/toc-content.directive.d.ts +1 -1
- package/table-of-contents/toc-link.directive.d.ts +1 -1
- package/tabs/tab-body.component.d.ts +23 -7
- package/tabs/tab-context.service.d.ts +3 -0
- package/tabs/tab-group.component.d.ts +29 -1
- package/tabs/tab-header-active-indicator.component.d.ts +10 -1
- package/tabs/tab-header.component.d.ts +85 -2
- package/tabs/tab.component.d.ts +19 -1
- package/tabs/tabs.types.d.ts +5 -2
- package/tag/check-tag/check-tag.component.d.ts +1 -1
- package/tag/tag.component.d.ts +1 -1
- package/tag/tag.types.d.ts +1 -1
- package/theme/_var.scss +1 -1
- package/theme/theme.pipe.d.ts +4 -4
- package/theme/theme.types.d.ts +3 -3
- package/time-picker/component.d.ts +1 -1
- package/time-picker/panel/panel.component.d.ts +1 -1
- package/time-picker/time-picker.type.d.ts +1 -1
- package/tooltip/base-tooltip.d.ts +1 -1
- package/tooltip/tooltip-active.directive.d.ts +1 -1
- package/tooltip/tooltip-copy.directive.d.ts +1 -1
- package/tooltip/tooltip-intl.d.ts +4 -0
- package/tooltip/tooltip.component.d.ts +1 -1
- package/tooltip/tooltip.directive.d.ts +1 -1
- package/tree-select/tree-node-placeholder.component.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +2 -2
- package/tree-select/tree-select.types.d.ts +1 -1
- package/types.d.ts +5 -2
- package/utils/operators.d.ts +1 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { CdkHeaderCellDef } from '@angular/cdk/table';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Header cell definition for the aui-table.
|
|
5
|
+
* Captures the template of a column's header cell and as well as cell-specific properties.
|
|
6
|
+
*/
|
|
3
7
|
export declare class TableHeaderCellDefDirective extends CdkHeaderCellDef {
|
|
4
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellDefDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDefDirective, "[auiTableHeaderCellDef]", never, {}, {}, never
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDefDirective, "[auiTableHeaderCellDef]", never, {}, {}, never>;
|
|
6
10
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CdkColumnDef, CdkHeaderCell } from '@angular/cdk/table';
|
|
2
2
|
import { ElementRef } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/** Header cell template container that adds the right classes and role. */
|
|
4
5
|
export declare class TableHeaderCellDirective extends CdkHeaderCell {
|
|
5
6
|
constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDirective, "aui-table-header-cell", never, {}, {}, never
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDirective, "aui-table-header-cell", never, {}, {}, never>;
|
|
8
9
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { CdkHeaderRowDef } from '@angular/cdk/table';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Header row definition for the aui-table.
|
|
5
|
+
* Captures the header row's template and other header properties such as the columns to display.
|
|
6
|
+
*/
|
|
3
7
|
export declare class TableHeaderRowDefDirective extends CdkHeaderRowDef {
|
|
4
8
|
columns: Iterable<string>;
|
|
5
9
|
sticky: boolean;
|
|
6
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderRowDefDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderRowDefDirective, "[auiTableHeaderRowDef]", never, { "columns": "auiTableHeaderRowDef"; "sticky": "auiTableHeaderRowDefSticky"; }, {}, never
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderRowDefDirective, "[auiTableHeaderRowDef]", never, { "columns": "auiTableHeaderRowDef"; "sticky": "auiTableHeaderRowDefSticky"; }, {}, never>;
|
|
8
12
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CdkHeaderRow } from '@angular/cdk/table';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/** Header template container that contains the cell outlet. Adds the right class and role. */
|
|
3
4
|
export declare class TableHeaderRowComponent extends CdkHeaderRow {
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderRowComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderRowComponent, "aui-table-header-row", ["auiTableHeaderRow"], {}, {}, never, never
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderRowComponent, "aui-table-header-row", ["auiTableHeaderRow"], {}, {}, never, never>;
|
|
6
7
|
}
|
|
@@ -5,12 +5,12 @@ export declare class TablePlaceholderDefDirective {
|
|
|
5
5
|
templateRef: TemplateRef<any>;
|
|
6
6
|
constructor(templateRef: TemplateRef<any>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TablePlaceholderDefDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderDefDirective, "ng-template[auiTablePlaceholderDef]", never, {}, {}, never
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderDefDirective, "ng-template[auiTablePlaceholderDef]", never, {}, {}, never>;
|
|
9
9
|
}
|
|
10
10
|
export declare class TablePlaceholderOutletDirective implements RowOutlet {
|
|
11
11
|
viewContainer: ViewContainerRef;
|
|
12
12
|
elementRef: ElementRef;
|
|
13
13
|
constructor(viewContainer: ViewContainerRef, elementRef: ElementRef);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TablePlaceholderOutletDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderOutletDirective, "[auiTablePlaceholderOutlet]", never, {}, {}, never
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderOutletDirective, "[auiTablePlaceholderOutlet]", never, {}, {}, never>;
|
|
16
16
|
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { CdkRowDef } from '@angular/cdk/table';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Data row definition for the aui-table.
|
|
5
|
+
* Captures the header row's template and other row properties such as the columns to display and
|
|
6
|
+
* a when predicate that describes when this row should be used.
|
|
7
|
+
*/
|
|
3
8
|
export declare class TableRowDefDirective<T> extends CdkRowDef<T> {
|
|
4
9
|
columns: Iterable<string>;
|
|
5
10
|
set auiTableRowDefWhen(v: (index: number, rowData: T) => boolean);
|
|
6
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDefDirective<any>, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDefDirective<any>, "[auiTableRowDef]", never, { "columns": "auiTableRowDefColumns"; "auiTableRowDefWhen": "auiTableRowDefWhen"; }, {}, never
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDefDirective<any>, "[auiTableRowDef]", never, { "columns": "auiTableRowDefColumns"; "auiTableRowDefWhen": "auiTableRowDefWhen"; }, {}, never>;
|
|
8
13
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CdkRow } from '@angular/cdk/table';
|
|
2
2
|
import { AfterContentInit, ElementRef } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
4
5
|
export declare class TableRowComponent extends CdkRow implements AfterContentInit {
|
|
5
6
|
private readonly elRef;
|
|
6
7
|
disabled: boolean;
|
|
@@ -8,5 +9,5 @@ export declare class TableRowComponent extends CdkRow implements AfterContentIni
|
|
|
8
9
|
constructor(elRef: ElementRef<HTMLElement>);
|
|
9
10
|
ngAfterContentInit(): void;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "aui-table-row", ["auiTableRow"], { "disabled": "disabled"; }, {}, never, never
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "aui-table-row", ["auiTableRow"], { "disabled": "disabled"; }, {}, never, never>;
|
|
12
13
|
}
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class TableScrollWrapperDirective {
|
|
8
8
|
auiTableScrollWrapper: string;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollWrapperDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollWrapperDirective, "[auiTableScrollWrapper]", never, { "auiTableScrollWrapper": "auiTableScrollWrapper"; }, {}, never
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollWrapperDirective, "[auiTableScrollWrapper]", never, { "auiTableScrollWrapper": "auiTableScrollWrapper"; }, {}, never>;
|
|
11
11
|
}
|
|
12
12
|
export declare class TableScrollableDirective extends CdkScrollable implements AfterViewInit, OnInit, OnDestroy {
|
|
13
13
|
private readonly el;
|
|
@@ -29,5 +29,5 @@ export declare class TableScrollableDirective extends CdkScrollable implements A
|
|
|
29
29
|
mutateHorizontalScroll(): void;
|
|
30
30
|
placeClassList(classList: DOMTokenList, condition: boolean, className: string): void;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollableDirective, [null, null, null, { host: true; }, { optional: true; }]>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollableDirective, "[auiTableScrollable]", never, { "scrollable": "auiTableScrollable"; }, {}, never
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollableDirective, "[auiTableScrollable]", never, { "scrollable": "auiTableScrollable"; }, {}, never>;
|
|
33
33
|
}
|
|
@@ -13,5 +13,5 @@ export declare class TableComponent<T> extends CdkTable<T> implements AfterConte
|
|
|
13
13
|
private _clearPlaceholder;
|
|
14
14
|
ngOnDestroy(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aui-table", ["auiTable"], { "enableScrollWrapper": "enableScrollWrapper"; }, {}, ["_placeholderDef"], ["caption", "colgroup, col"]
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aui-table", ["auiTable"], { "enableScrollWrapper": "enableScrollWrapper"; }, {}, ["_placeholderDef"], ["caption", "colgroup, col"]>;
|
|
17
17
|
}
|
|
@@ -24,5 +24,5 @@ export declare class TocContainerDirective implements AfterContentInit, OnDestro
|
|
|
24
24
|
registerContent(tocContent: TocContentDirective): void;
|
|
25
25
|
deregisterContent(tocContent: TocContentDirective): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TocContainerDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TocContainerDirective, "[auiTocContainer]", ["auiTocContainer"], {}, { "activedChange": "activedChange"; }, never
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TocContainerDirective, "[auiTocContainer]", ["auiTocContainer"], {}, { "activedChange": "activedChange"; }, never>;
|
|
28
28
|
}
|
|
@@ -10,5 +10,5 @@ export declare class TocContentDirective implements OnInit, OnDestroy {
|
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TocContentDirective, [null, { optional: true; }]>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TocContentDirective, "[auiTocContent]", never, { "auiTocContent": "auiTocContent"; }, {}, never
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TocContentDirective, "[auiTocContent]", never, { "auiTocContent": "auiTocContent"; }, {}, never>;
|
|
14
14
|
}
|
|
@@ -12,5 +12,5 @@ export declare class TocLinkDirective implements OnInit, OnDestroy {
|
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TocLinkDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TocLinkDirective, "[auiTocLink]", never, { "for": "for"; "auiTocLink": "auiTocLink"; }, {}, never
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TocLinkDirective, "[auiTocLink]", never, { "for": "for"; "auiTocLink": "auiTocLink"; }, {}, never>;
|
|
16
16
|
}
|
|
@@ -5,52 +5,68 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class TabBodyComponent implements OnDestroy {
|
|
6
6
|
private _content;
|
|
7
7
|
content$: BehaviorSubject<TemplatePortal<any>>;
|
|
8
|
+
/** The portal host inside of this container into which the tab body content will be loaded. */
|
|
8
9
|
_portalOutlet: CdkPortalOutlet;
|
|
10
|
+
/** The tab body content to display. */
|
|
9
11
|
get content(): TemplatePortal;
|
|
10
12
|
set content(content: TemplatePortal);
|
|
11
13
|
ngOnDestroy(): void;
|
|
12
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabBodyComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabBodyComponent, "aui-tab-body", never, { "content": "content"; }, {}, never, never
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabBodyComponent, "aui-tab-body", never, { "content": "content"; }, {}, never, never>;
|
|
14
16
|
}
|
|
17
|
+
/** Used to flag tab labels for use with the portal directive */
|
|
15
18
|
export declare class TabLabelDirective extends CdkPortal {
|
|
16
19
|
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
17
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelDirective, "[auiTabLabel]", never, {}, {}, never
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelDirective, "[auiTabLabel]", never, {}, {}, never>;
|
|
19
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Lazy load the embedded template for a tab content.
|
|
25
|
+
*/
|
|
20
26
|
export declare class TabContentDirective {
|
|
21
27
|
template: TemplateRef<any>;
|
|
22
28
|
constructor(template: TemplateRef<any>);
|
|
23
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentDirective, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[auiTabContent]", never, {}, {}, never
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[auiTabContent]", never, {}, {}, never>;
|
|
25
31
|
}
|
|
32
|
+
/** Used to project additional template from host to the tab header. */
|
|
26
33
|
export declare class TabHeaderAddonDirective extends CdkPortal {
|
|
27
34
|
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
28
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderAddonDirective, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabHeaderAddonDirective, "[auiTabHeaderAddon]", never, {}, {}, never
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabHeaderAddonDirective, "[auiTabHeaderAddon]", never, {}, {}, never>;
|
|
30
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Used in the `aui-tab-group` view to display tab labels.
|
|
40
|
+
*/
|
|
31
41
|
export declare class TabLabelWrapperDirective {
|
|
32
42
|
elementRef: ElementRef<HTMLElement>;
|
|
33
43
|
private _disabled;
|
|
44
|
+
/** Whether or not the tab is disabled */
|
|
34
45
|
get disabled(): boolean | '';
|
|
35
46
|
set disabled(value: boolean | '');
|
|
36
47
|
getOffsetLeft(): number;
|
|
37
48
|
getOffsetWidth(): number;
|
|
49
|
+
/** Sets focus on the wrapper element */
|
|
38
50
|
focus(): void;
|
|
39
51
|
constructor(elementRef: ElementRef<HTMLElement>);
|
|
40
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelWrapperDirective, never>;
|
|
41
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelWrapperDirective, "[auiTabLabelWrapper]", never, { "disabled": "disabled"; }, {}, never
|
|
53
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelWrapperDirective, "[auiTabLabelWrapper]", never, { "disabled": "disabled"; }, {}, never>;
|
|
42
54
|
}
|
|
43
55
|
export declare class TabTitleDirective extends CdkPortal {
|
|
44
56
|
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
45
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabTitleDirective, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabTitleDirective, "[auiTabTitle]", never, {}, {}, never
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabTitleDirective, "[auiTabTitle]", never, {}, {}, never>;
|
|
47
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* The portal host directive for the contents of the tab.
|
|
62
|
+
*/
|
|
48
63
|
export declare class TabBodyPortalDirective extends CdkPortalOutlet implements OnInit, OnDestroy {
|
|
49
64
|
private readonly _host;
|
|
50
65
|
private _hostSubscription;
|
|
51
66
|
constructor(componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, _host: TabBodyComponent);
|
|
67
|
+
/** Set initial visibility or set up subscription for changing visibility. */
|
|
52
68
|
ngOnInit(): void;
|
|
53
69
|
ngOnDestroy(): void;
|
|
54
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabBodyPortalDirective, never>;
|
|
55
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabBodyPortalDirective, "[auiTabBodyHost]", never, {}, {}, never
|
|
71
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabBodyPortalDirective, "[auiTabBodyHost]", never, {}, {}, never>;
|
|
56
72
|
}
|
|
@@ -3,6 +3,9 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class TabContextService {
|
|
4
4
|
readonly _parent: TabContextService;
|
|
5
5
|
private readonly active$$;
|
|
6
|
+
/**
|
|
7
|
+
* Whether the tab is currently active.
|
|
8
|
+
*/
|
|
6
9
|
get isActive(): boolean;
|
|
7
10
|
set isActive(isActive: boolean);
|
|
8
11
|
readonly active$: Observable<boolean>;
|
|
@@ -6,8 +6,11 @@ import { TabHeaderComponent } from './tab-header.component';
|
|
|
6
6
|
import { TabComponent } from './tab.component';
|
|
7
7
|
import { TabSize, TabType } from './tabs.types';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
/** A simple change event emitted on focus or selection changes. */
|
|
9
10
|
export declare class TabChangeEvent {
|
|
11
|
+
/** Index of the currently-selected tab. */
|
|
10
12
|
index: number;
|
|
13
|
+
/** Reference to the currently-selected tab. */
|
|
11
14
|
tab: TabComponent;
|
|
12
15
|
}
|
|
13
16
|
export declare class TabGroupComponent implements OnChanges, AfterContentChecked, AfterContentInit, OnDestroy {
|
|
@@ -17,17 +20,24 @@ export declare class TabGroupComponent implements OnChanges, AfterContentChecked
|
|
|
17
20
|
_headerAddon: TabHeaderAddonDirective;
|
|
18
21
|
_tabHeader: TabHeaderComponent;
|
|
19
22
|
_tabTitle: TabTitleDirective;
|
|
23
|
+
/** The tab index that should be selected after the content has been checked. */
|
|
20
24
|
private _indexToSelect;
|
|
25
|
+
/** Subscription to tabs being added/removed. */
|
|
21
26
|
private _tabsSubscription;
|
|
27
|
+
/** Subscription to changes in the tab labels. */
|
|
22
28
|
private _tabLabelSubscription;
|
|
23
29
|
private _selectedIndex;
|
|
24
30
|
private _tab;
|
|
25
31
|
private _type;
|
|
26
32
|
private _size;
|
|
33
|
+
/** true lazy mode for template ref children */
|
|
27
34
|
private _lazy;
|
|
28
35
|
private _previousHeaderAddon;
|
|
36
|
+
/** Emits whenever the type changes */
|
|
29
37
|
readonly _typeChange: Subject<void>;
|
|
38
|
+
/** Emits whenever the size changes */
|
|
30
39
|
readonly _sizeChange: Subject<void>;
|
|
40
|
+
/** The index of the active tab. */
|
|
31
41
|
get selectedIndex(): number | null;
|
|
32
42
|
set selectedIndex(value: number | null);
|
|
33
43
|
get tab(): string;
|
|
@@ -39,26 +49,44 @@ export declare class TabGroupComponent implements OnChanges, AfterContentChecked
|
|
|
39
49
|
set size(val: TabSize);
|
|
40
50
|
get lazy(): boolean;
|
|
41
51
|
set lazy(lazy: boolean);
|
|
52
|
+
/** Output to enable support for two-way binding on `[(selectedIndex)]` */
|
|
42
53
|
readonly selectedIndexChange: EventEmitter<number>;
|
|
43
54
|
readonly tabChange: EventEmitter<string>;
|
|
55
|
+
/** Event emitted when the tab selection has changed. */
|
|
44
56
|
readonly selectedTabChange: EventEmitter<TabChangeEvent>;
|
|
57
|
+
/** Event emitted when focus has changed within a tab group. */
|
|
45
58
|
readonly focusChange: EventEmitter<TabChangeEvent>;
|
|
46
59
|
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
47
60
|
activatedTabs: TabComponent[];
|
|
48
61
|
get activeTab(): TabComponent;
|
|
49
62
|
ngOnChanges(changes: SimpleChanges): void;
|
|
63
|
+
/**
|
|
64
|
+
* After the content is checked, this component knows what tabs have been defined
|
|
65
|
+
* and what the selected index should be. This is where we can know exactly what position
|
|
66
|
+
* each tab should be in according to the new selected index.
|
|
67
|
+
*/
|
|
50
68
|
ngAfterContentChecked(): void;
|
|
51
69
|
ngAfterContentInit(): void;
|
|
52
70
|
ngOnDestroy(): void;
|
|
71
|
+
/** Handle click events, setting new selected index if appropriate. */
|
|
53
72
|
_handleClick(tab: TabComponent, idx: number): void;
|
|
54
73
|
_focusChanged(index: number): void;
|
|
74
|
+
/** Re-aligns the ink bar to the selected tab element. */
|
|
55
75
|
realignActiveIndicator(): void;
|
|
56
76
|
private _changeActivatedTabs;
|
|
77
|
+
/** Clamps the given index to the bounds of 0 and the tabs length. */
|
|
57
78
|
private _clampTabIndex;
|
|
58
79
|
private _findIndexByTab;
|
|
59
80
|
private _createChangeEvent;
|
|
81
|
+
/**
|
|
82
|
+
* Subscribes to changes in the tab labels. This is needed, because the @Input for the label is
|
|
83
|
+
* on the Tab component, whereas the data binding is inside the TabGroup. In order for the
|
|
84
|
+
* binding to be updated, we need to subscribe to changes in it and trigger change detection
|
|
85
|
+
* manually.
|
|
86
|
+
*/
|
|
60
87
|
private _subscribeToTabLabels;
|
|
88
|
+
/** Retrieves the tabindex for the tab. */
|
|
61
89
|
_getTabIndex(tab: TabComponent, idx: number): number | null;
|
|
62
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "aui-tab-group", ["auiTabGroup"], { "selectedIndex": "selectedIndex"; "tab": "tab"; "type": "type"; "title": "title"; "size": "size"; "lazy": "lazy"; }, { "selectedIndexChange": "selectedIndexChange"; "tabChange": "tabChange"; "selectedTabChange": "selectedTabChange"; "focusChange": "focusChange"; }, ["_headerAddon", "_tabTitle", "_tabs"], never
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "aui-tab-group", ["auiTabGroup"], { "selectedIndex": "selectedIndex"; "tab": "tab"; "type": "type"; "title": "title"; "size": "size"; "lazy": "lazy"; }, { "selectedIndexChange": "selectedIndexChange"; "tabChange": "tabChange"; "selectedTabChange": "selectedTabChange"; "focusChange": "focusChange"; }, ["_headerAddon", "_tabTitle", "_tabs"], never>;
|
|
64
92
|
}
|
|
@@ -8,9 +8,18 @@ export declare class TabHeaderActiveIndicatorComponent {
|
|
|
8
8
|
type: TabType;
|
|
9
9
|
bem: Bem;
|
|
10
10
|
constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
|
|
11
|
+
/**
|
|
12
|
+
* Calculates the styles from the provided element in order to align the indicator to that element.
|
|
13
|
+
* Shows the indicator if previously set as hidden.
|
|
14
|
+
* @param element
|
|
15
|
+
*/
|
|
11
16
|
alignToElement(element: HTMLElement): void;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the proper styles to the element.
|
|
19
|
+
* @param element
|
|
20
|
+
*/
|
|
12
21
|
private _setStyles;
|
|
13
22
|
private _getElementPosition;
|
|
14
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderActiveIndicatorComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderActiveIndicatorComponent, "aui-tab-header-active-indicator", never, { "type": "type"; }, {}, never, never
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderActiveIndicatorComponent, "aui-tab-header-active-indicator", never, { "type": "type"; }, {}, never, never>;
|
|
16
25
|
}
|
|
@@ -5,30 +5,53 @@ import { TabHeaderAddonDirective, TabLabelWrapperDirective, TabTitleDirective }
|
|
|
5
5
|
import { TabHeaderActiveIndicatorComponent } from './tab-header-active-indicator.component';
|
|
6
6
|
import { TabSize, TabType } from './tabs.types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* The directions that scrolling can go in when the header's tabs exceed the header width. 'After'
|
|
10
|
+
* will scroll the header towards the end of the tabs list and 'before' will scroll towards the
|
|
11
|
+
* beginning of the list.
|
|
12
|
+
*/
|
|
13
|
+
export declare type ScrollDirection = 'after' | 'before';
|
|
9
14
|
export declare class TabHeaderComponent implements OnDestroy, AfterContentChecked, AfterContentInit {
|
|
10
15
|
private readonly _changeDetectorRef;
|
|
11
16
|
private readonly _viewportRuler;
|
|
12
17
|
bem: Bem;
|
|
13
18
|
_showAddon: boolean;
|
|
19
|
+
/** Whether the controls for pagination should be displayed */
|
|
14
20
|
_showPaginationControls: boolean;
|
|
21
|
+
/** Whether the tab list can be scrolled more towards the end of the tab label list. */
|
|
15
22
|
_disableScrollAfter: boolean;
|
|
23
|
+
/** Whether the tab list can be scrolled more towards the beginning of the tab label list. */
|
|
16
24
|
_disableScrollBefore: boolean;
|
|
25
|
+
/** Whether the scroll distance has changed and should be applied after the view is checked. */
|
|
17
26
|
private _scrollDistanceChanged;
|
|
27
|
+
/** Whether the header should scroll to the selected index after the view has been checked. */
|
|
18
28
|
private _selectedIndexChanged;
|
|
29
|
+
/** The distance in pixels that the tab labels should be translated to the left. */
|
|
19
30
|
private _scrollDistance;
|
|
20
31
|
private _selectedIndex;
|
|
32
|
+
/** Emits when the component is destroyed. */
|
|
21
33
|
private readonly _destroyed;
|
|
34
|
+
/** Used to manage focus between the tabs. */
|
|
22
35
|
private _keyManager;
|
|
36
|
+
/**
|
|
37
|
+
* The number of tab labels that are displayed on the header. When this changes, the header
|
|
38
|
+
* should re-evaluate the scroll position.
|
|
39
|
+
*/
|
|
23
40
|
private _tabLabelCount;
|
|
24
41
|
type: TabType;
|
|
25
42
|
size: TabSize;
|
|
43
|
+
/** The index of the active tab. */
|
|
26
44
|
get selectedIndex(): number;
|
|
27
45
|
set selectedIndex(value: number);
|
|
46
|
+
/** Event emitted when the option is selected. */
|
|
28
47
|
readonly selectFocusedIndex: EventEmitter<number>;
|
|
48
|
+
/** Event emitted when a label is focused. */
|
|
29
49
|
readonly indexFocused: EventEmitter<number>;
|
|
30
50
|
_headerAddon: TabHeaderAddonDirective;
|
|
31
51
|
_title: TabTitleDirective;
|
|
52
|
+
/**
|
|
53
|
+
* workaround for @link https://github.com/microsoft/TypeScript/pull/42425
|
|
54
|
+
*/
|
|
32
55
|
_labelWrappers: QueryList<TabLabelWrapperDirective & {
|
|
33
56
|
disabled?: boolean;
|
|
34
57
|
}>;
|
|
@@ -38,24 +61,84 @@ export declare class TabHeaderComponent implements OnDestroy, AfterContentChecke
|
|
|
38
61
|
_activeIndicator: TabHeaderActiveIndicatorComponent;
|
|
39
62
|
ngOnDestroy(): void;
|
|
40
63
|
ngAfterContentChecked(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Aligns the ink bar to the selected tab on load.
|
|
66
|
+
*/
|
|
41
67
|
ngAfterContentInit(): void;
|
|
68
|
+
/** Sets the distance in pixels that the tab header should be transformed in the X-axis. */
|
|
42
69
|
get scrollDistance(): number;
|
|
43
70
|
set scrollDistance(v: number);
|
|
71
|
+
/** Tracks which element has focus; used for keyboard navigation */
|
|
44
72
|
get focusIndex(): number;
|
|
73
|
+
/** When the focus index is set, we must manually send focus to the correct label */
|
|
45
74
|
set focusIndex(value: number);
|
|
75
|
+
/**
|
|
76
|
+
* Determines if an index is valid. If the tabs are not ready yet, we assume that the user is
|
|
77
|
+
* providing a valid index and return true.
|
|
78
|
+
*/
|
|
46
79
|
_isValidIndex(index: number): boolean;
|
|
47
80
|
_handleKeydown(event: KeyboardEvent): void;
|
|
81
|
+
/**
|
|
82
|
+
* Sets focus on the HTML element for the label wrapper and scrolls it into the view if
|
|
83
|
+
* scrolling is enabled.
|
|
84
|
+
*/
|
|
48
85
|
_setTabFocus(tabIndex: number): void;
|
|
86
|
+
/**
|
|
87
|
+
* Moves the tab list such that the desired tab label (marked by index) is moved into view.
|
|
88
|
+
*
|
|
89
|
+
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
90
|
+
* should be called sparingly.
|
|
91
|
+
*/
|
|
49
92
|
_scrollToLabel(labelIndex: number): void;
|
|
93
|
+
/**
|
|
94
|
+
* Moves the tab list in the 'before' or 'after' direction (towards the beginning of the list or
|
|
95
|
+
* the end of the list, respectively). The distance to scroll is computed to be a third of the
|
|
96
|
+
* length of the tab list view window.
|
|
97
|
+
*
|
|
98
|
+
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
99
|
+
* should be called sparingly.
|
|
100
|
+
*/
|
|
50
101
|
_scrollHeader(scrollDir: ScrollDirection): void;
|
|
102
|
+
/**
|
|
103
|
+
* Callback for when the MutationObserver detects that the content has changed.
|
|
104
|
+
*/
|
|
51
105
|
_onContentChanges(): void;
|
|
106
|
+
/**
|
|
107
|
+
* Updating the view whether pagination should be enabled or not
|
|
108
|
+
*/
|
|
52
109
|
_updatePagination(): void;
|
|
110
|
+
/**
|
|
111
|
+
* Evaluate whether the pagination controls should be displayed. If the scroll width of the
|
|
112
|
+
* tab list is wider than the size of the header container, then the pagination controls should
|
|
113
|
+
* be shown.
|
|
114
|
+
*
|
|
115
|
+
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
116
|
+
* should be called sparingly.
|
|
117
|
+
*/
|
|
53
118
|
_checkPaginationEnabled(): void;
|
|
119
|
+
/**
|
|
120
|
+
* Evaluate whether the before and after controls should be enabled or disabled.
|
|
121
|
+
* If the header is at the beginning of the list (scroll distance is equal to 0) then disable the
|
|
122
|
+
* before button. If the header is at the end of the list (scroll distance is equal to the
|
|
123
|
+
* maximum distance we can scroll), then disable the after button.
|
|
124
|
+
*
|
|
125
|
+
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
126
|
+
* should be called sparingly.
|
|
127
|
+
*/
|
|
54
128
|
_checkScrollingControls(): void;
|
|
129
|
+
/**
|
|
130
|
+
* Determines what is the maximum length in pixels that can be set for the scroll distance. This
|
|
131
|
+
* is equal to the difference in width between the tab list container and tab header container.
|
|
132
|
+
*
|
|
133
|
+
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
134
|
+
* should be called sparingly.
|
|
135
|
+
*/
|
|
55
136
|
_getMaxScrollDistance(): number;
|
|
137
|
+
/** Performs the CSS transformation on the tab list that will cause the list to scroll. */
|
|
56
138
|
_updateTabScrollPosition(): void;
|
|
139
|
+
/** Tells the active indicator to align itself to the current label wrapper */
|
|
57
140
|
_alignActiveIndicatorToSelectedTab(): void;
|
|
58
141
|
constructor(_changeDetectorRef: ChangeDetectorRef, _viewportRuler: ViewportRuler);
|
|
59
142
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderComponent, "aui-tab-header", never, { "type": "type"; "size": "size"; "selectedIndex": "selectedIndex"; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["_headerAddon", "_title", "_labelWrappers"], ["*"]
|
|
143
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderComponent, "aui-tab-header", never, { "type": "type"; "size": "size"; "selectedIndex": "selectedIndex"; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["_headerAddon", "_title", "_labelWrappers"], ["*"]>;
|
|
61
144
|
}
|
package/tabs/tab.component.d.ts
CHANGED
|
@@ -8,18 +8,36 @@ export declare class TabComponent implements AfterContentInit, OnDestroy, OnChan
|
|
|
8
8
|
private readonly _viewContainerRef;
|
|
9
9
|
readonly tabContext: TabContextService;
|
|
10
10
|
name: string;
|
|
11
|
+
/** Plain text label for the tab, used when there is no template label. */
|
|
11
12
|
textLabel: string;
|
|
13
|
+
/** Whether or not to show the close button in the header */
|
|
12
14
|
closeable: boolean;
|
|
15
|
+
/** Whether or not the tab is disabled */
|
|
13
16
|
get disabled(): boolean | '';
|
|
14
17
|
set disabled(value: boolean | '');
|
|
15
18
|
close: EventEmitter<void>;
|
|
19
|
+
/** Content for the tab label given by `<ng-template [auiTabLabel]>`. */
|
|
16
20
|
templateLabel: TabLabelDirective;
|
|
21
|
+
/**
|
|
22
|
+
* Template provided in the tab content that will be used if present, used to enable lazy-loading
|
|
23
|
+
*/
|
|
17
24
|
_explicitContent: TemplateRef<any>;
|
|
25
|
+
/** Template inside the AuiTab view that contains an `<ng-content>`. */
|
|
18
26
|
_implicitContent: TemplateRef<any>;
|
|
19
27
|
get content(): TemplatePortal | null;
|
|
28
|
+
/**
|
|
29
|
+
* The relatively indexed position where 0 represents the center, negative is left, and positive
|
|
30
|
+
* represents the right.
|
|
31
|
+
*/
|
|
20
32
|
position: number | null;
|
|
33
|
+
/**
|
|
34
|
+
* The initial relatively index origin of the tab if it was created and selected after there
|
|
35
|
+
* was already a selected tab. Provides context of what position the tab should originate from.
|
|
36
|
+
*/
|
|
21
37
|
origin: number | null;
|
|
38
|
+
/** Emits whenever the internal state of the tab changes. */
|
|
22
39
|
readonly _stateChanges: Subject<void>;
|
|
40
|
+
/** Portal that will be the hosted content of the tab */
|
|
23
41
|
private _contentPortal;
|
|
24
42
|
private _disabled;
|
|
25
43
|
constructor(_viewContainerRef: ViewContainerRef, tabContext: TabContextService);
|
|
@@ -27,5 +45,5 @@ export declare class TabComponent implements AfterContentInit, OnDestroy, OnChan
|
|
|
27
45
|
ngOnDestroy(): void;
|
|
28
46
|
ngOnChanges(changes: SimpleChanges): void;
|
|
29
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "aui-tab", ["auiTab"], { "name": "name"; "textLabel": "label"; "closeable": "closeable"; "disabled": "disabled"; }, { "close": "close"; }, ["templateLabel", "_explicitContent"], ["*"]
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "aui-tab", ["auiTab"], { "name": "name"; "textLabel": "label"; "closeable": "closeable"; "disabled": "disabled"; }, { "close": "close"; }, ["templateLabel", "_explicitContent"], ["*"]>;
|
|
31
49
|
}
|
package/tabs/tabs.types.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ValueOf } from '../types';
|
|
2
2
|
export declare const TabSize: {
|
|
3
|
+
/** 卡片级尺寸 */
|
|
3
4
|
readonly Large: "large";
|
|
5
|
+
/** 页面级尺寸 */
|
|
4
6
|
readonly Medium: "medium";
|
|
7
|
+
/** 小尺寸 */
|
|
5
8
|
readonly Small: "small";
|
|
6
9
|
};
|
|
7
|
-
export type TabSize = ValueOf<typeof TabSize>;
|
|
10
|
+
export declare type TabSize = ValueOf<typeof TabSize>;
|
|
8
11
|
export declare const TabType: {
|
|
9
12
|
readonly Line: "line";
|
|
10
13
|
readonly Card: "card";
|
|
11
14
|
};
|
|
12
|
-
export type TabType = ValueOf<typeof TabType>;
|
|
15
|
+
export declare type TabType = ValueOf<typeof TabType>;
|
|
@@ -11,5 +11,5 @@ export declare class CheckTagComponent {
|
|
|
11
11
|
checkedChange: EventEmitter<boolean>;
|
|
12
12
|
get rootClass(): string;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckTagComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckTagComponent, "aui-check-tag", never, { "checked": "checked"; "size": "size"; "round": "round"; }, { "checkedChange": "checkedChange"; }, never, ["*"]
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckTagComponent, "aui-check-tag", never, { "checked": "checked"; "size": "size"; "round": "round"; }, { "checkedChange": "checkedChange"; }, never, ["*"]>;
|
|
15
15
|
}
|
package/tag/tag.component.d.ts
CHANGED
|
@@ -23,5 +23,5 @@ export declare class TagComponent {
|
|
|
23
23
|
'background-color': string;
|
|
24
24
|
};
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "aui-tag", never, { "type": "type"; "size": "size"; "closeable": "closeable"; "border": "border"; "solid": "solid"; "invalid": "invalid"; "round": "round"; "color": "color"; "allowClick": "allowClick"; }, { "close": "close"; }, never, ["*"]
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "aui-tag", never, { "type": "type"; "size": "size"; "closeable": "closeable"; "border": "border"; "solid": "solid"; "invalid": "invalid"; "round": "round"; "color": "color"; "allowClick": "allowClick"; }, { "close": "close"; }, never, ["*"]>;
|
|
27
27
|
}
|
package/tag/tag.types.d.ts
CHANGED
package/theme/_var.scss
CHANGED
|
@@ -65,7 +65,7 @@ $tab-label-focus-box-shadow: inset 0 0 0 3px use-rgba(primary, 0.3);
|
|
|
65
65
|
$tab-header-close-icon-size: 16px;
|
|
66
66
|
$tab-header-title-font-size: use-var(font-size-xxl);
|
|
67
67
|
$tab-header-title-spacing: 20px;
|
|
68
|
-
$tab-header-title-padding: 20px 0
|
|
68
|
+
$tab-header-title-padding: 20px 0 12px;
|
|
69
69
|
|
|
70
70
|
// date picker
|
|
71
71
|
$date-picker-body-size: 216px;
|
package/theme/theme.pipe.d.ts
CHANGED
|
@@ -5,17 +5,17 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class RgbColorPipe implements PipeTransform {
|
|
6
6
|
transform: (color: string) => string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<RgbColorPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<RgbColorPipe, "auiRgbColor"
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RgbColorPipe, "auiRgbColor">;
|
|
9
9
|
}
|
|
10
10
|
export declare class RgbaColorPipe implements PipeTransform {
|
|
11
11
|
transform: ([color, opacity]: [string, number]) => string;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<RgbaColorPipe, never>;
|
|
13
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<RgbaColorPipe, "auiRgbaColor"
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RgbaColorPipe, "auiRgbaColor">;
|
|
14
14
|
}
|
|
15
15
|
export declare class CssVarPipe implements PipeTransform {
|
|
16
16
|
transform: (value: string) => string;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CssVarPipe, never>;
|
|
18
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CssVarPipe, "auiCssVar"
|
|
18
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CssVarPipe, "auiCssVar">;
|
|
19
19
|
}
|
|
20
20
|
export declare class ThemePickerPipe<T> implements PipeTransform, OnDestroy {
|
|
21
21
|
private currentTheme;
|
|
@@ -24,5 +24,5 @@ export declare class ThemePickerPipe<T> implements PipeTransform, OnDestroy {
|
|
|
24
24
|
transform(v: ThemeSet<T>): T;
|
|
25
25
|
ngOnDestroy(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThemePickerPipe<any>, never>;
|
|
27
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ThemePickerPipe<any>, "auiThemePicker"
|
|
27
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ThemePickerPipe<any>, "auiThemePicker">;
|
|
28
28
|
}
|
package/theme/theme.types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type Theme = 'light' | 'dark';
|
|
2
|
-
export type ThemeMode = 'system' | 'light' | 'dark';
|
|
3
|
-
export type ThemeSet<T> = [T, T] | Record<Theme, T> | ((theme: Theme) => T);
|
|
1
|
+
export declare type Theme = 'light' | 'dark';
|
|
2
|
+
export declare type ThemeMode = 'system' | 'light' | 'dark';
|
|
3
|
+
export declare type ThemeSet<T> = [T, T] | Record<Theme, T> | ((theme: Theme) => T);
|
|
@@ -34,5 +34,5 @@ export declare class TimePickerComponent extends CommonFormControl<TimePickerDat
|
|
|
34
34
|
clearValue(event: Event): void;
|
|
35
35
|
submit(close?: boolean, value?: Dayjs): void;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "aui-time-picker", never, { "format": "format"; "size": "size"; "placeholder": "placeholder"; "clearable": "clearable"; "showIcon": "showIcon"; "disableHours": "disableHours"; "disableMinutes": "disableMinutes"; "disableSeconds": "disableSeconds"; "hourStep": "hourStep"; "minuteStep": "minuteStep"; "secondStep": "secondStep"; "footerTemplate": "footerTemplate"; }, { "open": "open"; "close": "close"; }, never, never
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "aui-time-picker", never, { "format": "format"; "size": "size"; "placeholder": "placeholder"; "clearable": "clearable"; "showIcon": "showIcon"; "disableHours": "disableHours"; "disableMinutes": "disableMinutes"; "disableSeconds": "disableSeconds"; "hourStep": "hourStep"; "minuteStep": "minuteStep"; "secondStep": "secondStep"; "footerTemplate": "footerTemplate"; }, { "open": "open"; "close": "close"; }, never, never>;
|
|
38
38
|
}
|