@alauda/ui 6.5.9-beta.21 → 6.5.9-beta.23
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/accordion/accordion-item/accordion-item.component.d.ts +3 -3
- package/accordion/accordion.component.d.ts +1 -1
- 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 +1 -10
- package/card/card.component.d.ts +1 -1
- package/card/helper-directives.d.ts +3 -6
- 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 -1
- 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 +12 -14
- package/esm2020/accordion/accordion.component.mjs +4 -4
- package/esm2020/accordion/accordion.module.mjs +5 -5
- package/esm2020/alauda-ui.mjs +1 -4
- package/esm2020/anchor/anchor.component.mjs +15 -16
- package/esm2020/anchor/anchor.directive.mjs +27 -27
- package/esm2020/anchor/anchor.module.mjs +5 -6
- package/esm2020/autocomplete/autocomplete-placeholder.component.mjs +3 -3
- package/esm2020/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2020/autocomplete/autocomplete.directive.mjs +27 -28
- 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 +15 -17
- 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 +21 -22
- package/esm2020/button/button.module.mjs +5 -5
- package/esm2020/button/button.types.mjs +1 -10
- package/esm2020/card/card.component.mjs +3 -3
- package/esm2020/card/card.module.mjs +5 -5
- package/esm2020/card/helper-directives.mjs +10 -13
- 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 +1 -2
- 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 +7 -11
- package/esm2020/date-picker/calendar/panel/picker-panel.mjs +20 -24
- package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +11 -13
- package/esm2020/date-picker/calendar/util.mjs +1 -2
- package/esm2020/date-picker/date-picker/date-picker.component.mjs +8 -8
- package/esm2020/date-picker/date-picker.module.mjs +13 -15
- 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 +1 -2
- package/esm2020/dialog/dialog-content/dialog-close.directive.mjs +3 -3
- package/esm2020/dialog/dialog-content/dialog-content.component.mjs +4 -5
- 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 +12 -13
- package/esm2020/dialog/dialog.module.mjs +9 -12
- package/esm2020/dialog/dialog.service.mjs +4 -5
- package/esm2020/drawer/component/drawer.component.mjs +27 -30
- package/esm2020/drawer/component/helper-directives.mjs +10 -14
- package/esm2020/drawer/drawer.module.mjs +5 -6
- 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 +15 -22
- 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 +4 -5
- 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 +11 -16
- 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 +14 -18
- package/esm2020/input/input.module.mjs +10 -12
- 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 +27 -32
- package/esm2020/message/message-wrapper.component.mjs +3 -3
- package/esm2020/message/message.component.mjs +8 -8
- package/esm2020/message/message.config.mjs +1 -6
- package/esm2020/message/message.module.mjs +5 -6
- package/esm2020/message/message.service.mjs +3 -3
- package/esm2020/notification/notification-wrapper.component.mjs +3 -3
- package/esm2020/notification/notification.component.mjs +8 -12
- package/esm2020/notification/notification.module.mjs +5 -6
- package/esm2020/notification/notification.service.mjs +3 -3
- package/esm2020/paginator/paginator-intl.mjs +4 -15
- package/esm2020/paginator/paginator.component.mjs +24 -32
- 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 +9 -10
- package/esm2020/radio/radio-group/radio-group.component.mjs +4 -7
- package/esm2020/radio/radio.component.mjs +7 -8
- package/esm2020/radio/radio.module.mjs +5 -5
- package/esm2020/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +4 -6
- package/esm2020/scrolling/fixed-size-table-virtual-scroll.directive.mjs +4 -6
- package/esm2020/scrolling/fixed-size-virtual-scroll.directive.mjs +4 -5
- 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 +5 -8
- package/esm2020/select/helper-directives.mjs +6 -6
- package/esm2020/select/multi-select/multi-select.component.mjs +28 -31
- 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 +11 -12
- package/esm2020/select/select.module.mjs +10 -12
- package/esm2020/select/validators.mjs +9 -13
- package/esm2020/shared/click-outside.directive.mjs +8 -8
- package/esm2020/shared/shared.module.mjs +4 -4
- package/esm2020/sort/sort-errors.mjs +1 -5
- package/esm2020/sort/sort-header.component.mjs +4 -8
- package/esm2020/sort/sort.directive.mjs +4 -5
- 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 +6 -10
- 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 +4 -8
- package/esm2020/table/table-cell.component.mjs +9 -9
- package/esm2020/table/table-cell.directive.mjs +4 -6
- package/esm2020/table/table-column-def.directive.mjs +4 -10
- package/esm2020/table/table-header-cell-def.directive.mjs +4 -8
- package/esm2020/table/table-header-cell.directive.mjs +4 -6
- package/esm2020/table/table-header-row-def.directive.mjs +4 -8
- package/esm2020/table/table-header-row.component.mjs +4 -5
- package/esm2020/table/table-placeholder.directive.mjs +6 -6
- package/esm2020/table/table-row-def.directive.mjs +4 -9
- package/esm2020/table/table-row.component.mjs +4 -5
- package/esm2020/table/table-scroll.directive.mjs +14 -15
- package/esm2020/table/table.component.mjs +6 -9
- 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 +25 -43
- package/esm2020/tabs/tab-context.service.mjs +10 -13
- package/esm2020/tabs/tab-group.component.mjs +28 -73
- package/esm2020/tabs/tab-header-active-indicator.component.mjs +4 -13
- package/esm2020/tabs/tab-header.component.mjs +28 -131
- package/esm2020/tabs/tab.component.mjs +13 -27
- package/esm2020/tabs/tabs.module.mjs +11 -13
- package/esm2020/tabs/tabs.types.mjs +1 -4
- package/esm2020/tag/check-tag/check-tag.component.mjs +3 -3
- package/esm2020/tag/tag.component.mjs +6 -7
- 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 +27 -29
- package/esm2020/time-picker/time-picker.module.mjs +14 -16
- package/esm2020/tooltip/base-tooltip.mjs +38 -42
- package/esm2020/tooltip/tooltip-active.directive.mjs +3 -3
- package/esm2020/tooltip/tooltip-copy.directive.mjs +10 -10
- package/esm2020/tooltip/tooltip-intl.mjs +4 -10
- package/esm2020/tooltip/tooltip.component.mjs +5 -5
- package/esm2020/tooltip/tooltip.directive.mjs +3 -3
- package/esm2020/tooltip/tooltip.module.mjs +5 -6
- package/esm2020/tree-select/tree-node-placeholder.component.mjs +3 -3
- package/esm2020/tree-select/tree-select.component.mjs +29 -30
- package/esm2020/tree-select/tree-select.module.mjs +5 -5
- package/esm2020/types.mjs +1 -4
- package/esm2020/utils/bem.mjs +1 -2
- package/esm2020/utils/coercion.mjs +1 -5
- package/fesm2015/alauda-ui.mjs +1559 -1952
- package/fesm2015/alauda-ui.mjs.map +1 -1
- package/fesm2020/alauda-ui.mjs +1559 -1953
- package/fesm2020/alauda-ui.mjs.map +1 -1
- package/form/common-form.d.ts +1 -8
- 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 +1 -4
- 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 +1 -4
- 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 +0 -20
- package/notification/notification-wrapper.component.d.ts +1 -1
- package/notification/notification.component.d.ts +1 -5
- package/notification/notification.config.d.ts +1 -1
- package/package.json +9 -9
- package/paginator/paginator-intl.d.ts +0 -9
- package/paginator/paginator.component.d.ts +1 -15
- 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 +1 -4
- 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 +1 -4
- 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 +0 -4
- 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/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 +1 -4
- package/steps/types.d.ts +3 -6
- package/switch/switch.component.d.ts +1 -1
- package/table/table-cell-def.directive.d.ts +1 -5
- package/table/table-cell.component.d.ts +2 -2
- package/table/table-cell.directive.d.ts +1 -2
- package/table/table-column-def.directive.d.ts +1 -5
- package/table/table-header-cell-def.directive.d.ts +1 -5
- package/table/table-header-cell.directive.d.ts +1 -2
- package/table/table-header-row-def.directive.d.ts +1 -5
- package/table/table-header-row.component.d.ts +1 -2
- package/table/table-placeholder.directive.d.ts +2 -2
- package/table/table-row-def.directive.d.ts +1 -6
- package/table/table-row.component.d.ts +1 -2
- 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 +7 -23
- package/tabs/tab-context.service.d.ts +0 -3
- package/tabs/tab-group.component.d.ts +1 -29
- package/tabs/tab-header-active-indicator.component.d.ts +1 -10
- package/tabs/tab-header.component.d.ts +2 -85
- package/tabs/tab.component.d.ts +1 -19
- package/tabs/tabs.types.d.ts +2 -5
- 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/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 +0 -4
- 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 +2 -5
- package/utils/operators.d.ts +1 -1
- package/.changeset/README.md +0 -8
- package/alauda-ui.d.ts +0 -5
- package/src/accordion/README.md +0 -13
- package/src/anchor/README.md +0 -23
- package/src/dropdown/README.md +0 -57
- package/src/form/README.md +0 -32
- package/src/icon/README.md +0 -28
- package/src/inline-alert/README.md +0 -16
- package/src/input/number-input/README.md +0 -16
- package/src/select/README.md +0 -57
- package/src/sort/README.md +0 -13
- package/src/table/README.md +0 -8
- package/src/table-of-contents/README.md +0 -94
- package/src/tag/README.md +0 -32
- package/src/tree-select/README.md +0 -34
package/select/select.types.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ export interface SelectFilterOption<T> extends SelectOption {
|
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
value: T;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
10
|
+
export type OptionFilterFn<T> = (filter: string, option: SelectFilterOption<T>) => boolean;
|
|
11
|
+
export type TrackFn<T, R = unknown> = (value: T) => R;
|
|
12
|
+
export type TagClassFn<V, T extends string | TemplateRef<unknown> = string | TemplateRef<unknown>> = (label: T, value: V) => string | string[] | Set<string> | {
|
|
13
13
|
[className: string]: unknown;
|
|
14
14
|
};
|
|
15
15
|
export declare enum SelectAllStatus {
|
package/select/validators.d.ts
CHANGED
|
@@ -18,5 +18,5 @@ export declare class IncludesDirective<T> implements Validator, AfterContentInit
|
|
|
18
18
|
registerOnValidatorChange(fn: () => void): void;
|
|
19
19
|
validate(control: AbstractControl): ValidationErrors;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<IncludesDirective<any>, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IncludesDirective<any>, "aui-select[ngModel][includes],aui-select[formControl][includes],aui-select[formControlName][includes]", never, { "includes": "includes"; "trackFn": "trackFn"; }, {}, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IncludesDirective<any>, "aui-select[ngModel][includes],aui-select[formControl][includes],aui-select[formControlName][includes]", never, { "includes": "includes"; "trackFn": "trackFn"; }, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
@@ -6,5 +6,5 @@ export declare class ClickOutsideDirective {
|
|
|
6
6
|
onBodyClick(event: Event): void;
|
|
7
7
|
constructor(el: ElementRef<HTMLElement>);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[auiClickOutside]", ["auiClickOutside"], {}, { "auiClickOutside": "auiClickOutside"; }, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[auiClickOutside]", ["auiClickOutside"], {}, { "auiClickOutside": "auiClickOutside"; }, never, never, false, never>;
|
|
10
10
|
}
|
package/sort/sort-errors.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
/** @docs-private */
|
|
2
1
|
export declare function getSortDuplicateSortableIdError(id: string): Error;
|
|
3
|
-
/** @docs-private */
|
|
4
2
|
export declare function getSortHeaderNotContainedWithinSortError(): Error;
|
|
5
|
-
/** @docs-private */
|
|
6
3
|
export declare function getSortHeaderMissingIdError(): Error;
|
|
7
|
-
/** @docs-private */
|
|
8
4
|
export declare function getSortInvalidDirectionError(direction: string): Error;
|
|
@@ -20,5 +20,5 @@ export declare class SortHeaderComponent implements Sortable, OnInit, OnDestroy
|
|
|
20
20
|
_isSorted(): boolean;
|
|
21
21
|
_updateArrowDirection(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SortHeaderComponent, [null, { optional: true; }, { optional: true; }]>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SortHeaderComponent, "[aui-sort-header]", never, { "id": "aui-sort-header"; "start": "start"; }, {}, never, ["*"]>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortHeaderComponent, "[aui-sort-header]", never, { "id": "aui-sort-header"; "start": "start"; }, {}, never, ["*"], false, never>;
|
|
24
24
|
}
|
package/sort/sort.directive.d.ts
CHANGED
|
@@ -17,5 +17,5 @@ export declare class SortDirective implements OnChanges, OnDestroy {
|
|
|
17
17
|
ngOnChanges(): void;
|
|
18
18
|
ngOnDestroy(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SortDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SortDirective, "[auiSort]", ["auiSort"], { "active": "active"; "start": "start"; "direction": "direction"; }, { "sortChange": "sortChange"; }, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SortDirective, "[auiSort]", ["auiSort"], { "active": "active"; "start": "start"; "direction": "direction"; }, { "sortChange": "sortChange"; }, never, never, false, never>;
|
|
21
21
|
}
|
package/sort/sort.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type SortDirection = 'asc' | 'desc' | '';
|
|
2
|
+
export type ArrowViewState = SortDirection | 'hint' | 'active';
|
|
3
3
|
export interface Sortable {
|
|
4
4
|
id: string;
|
|
5
5
|
start: 'asc' | 'desc';
|
|
@@ -9,5 +9,5 @@ export declare class StatusBarComponent {
|
|
|
9
9
|
template: TemplateRef<any>;
|
|
10
10
|
statusClick: EventEmitter<Status>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "aui-status-bar", never, { "status": "status"; "size": "size"; "template": "template"; }, { "statusClick": "statusClick"; }, never, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "aui-status-bar", never, { "status": "status"; "size": "size"; "template": "template"; }, { "statusClick": "statusClick"; }, never, never, false, never>;
|
|
13
13
|
}
|
|
@@ -13,9 +13,9 @@ export declare const StatusType: {
|
|
|
13
13
|
readonly Info: "info";
|
|
14
14
|
readonly Pending: "pending";
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type StatusType = ValueOf<typeof StatusType>;
|
|
17
17
|
export declare const StatusBarSize: {
|
|
18
18
|
readonly Medium: "medium";
|
|
19
19
|
readonly Small: "small";
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type StatusBarSize = ValueOf<typeof StatusBarSize>;
|
|
@@ -7,9 +7,6 @@ export declare class StepsComponent implements OnInit, OnDestroy {
|
|
|
7
7
|
private _steps;
|
|
8
8
|
get steps(): StepItem[];
|
|
9
9
|
set steps(val: StepItem[]);
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated type 为 step 时一般在使用上下文中控制是否可以进行下一步;type 为 progress 时强制按顺序执行
|
|
12
|
-
*/
|
|
13
10
|
linear: boolean;
|
|
14
11
|
get currentIndex(): number;
|
|
15
12
|
set currentIndex(index: number);
|
|
@@ -35,5 +32,5 @@ export declare class StepsComponent implements OnInit, OnDestroy {
|
|
|
35
32
|
isLastActive(i: number, steps: StepItem[]): boolean;
|
|
36
33
|
ngOnDestroy(): void;
|
|
37
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepsComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "aui-steps", ["auiSteps"], { "steps": "steps"; "linear": "linear"; "currentIndex": "currentIndex"; "orientation": "orientation"; "type": "type"; "selectable": "selectable"; }, { "currentIndexChange": "currentIndexChange"; "selectedIndexChange": "selectedIndexChange"; }, never, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "aui-steps", ["auiSteps"], { "steps": "steps"; "linear": "linear"; "currentIndex": "currentIndex"; "orientation": "orientation"; "type": "type"; "selectable": "selectable"; }, { "currentIndexChange": "currentIndexChange"; "selectedIndexChange": "selectedIndexChange"; }, never, never, false, never>;
|
|
39
36
|
}
|
package/steps/types.d.ts
CHANGED
|
@@ -5,16 +5,13 @@ export declare const StepState: {
|
|
|
5
5
|
readonly Error: "error";
|
|
6
6
|
readonly Pending: "pending";
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type StepState = ValueOf<typeof StepState>;
|
|
9
9
|
export interface StepItem {
|
|
10
10
|
label: string;
|
|
11
11
|
description?: string;
|
|
12
12
|
state?: StepState;
|
|
13
13
|
optional?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated 每个步骤不再需要单独控制。通过组件参数 selectable 统一控制
|
|
16
|
-
*/
|
|
17
14
|
editable?: boolean;
|
|
18
15
|
}
|
|
19
|
-
export
|
|
20
|
-
export
|
|
16
|
+
export type StepsOrientation = 'horizontal' | 'vertical';
|
|
17
|
+
export type StepsType = 'step' | 'progress';
|
|
@@ -7,5 +7,5 @@ export declare class SwitchComponent extends CommonFormControl<boolean> {
|
|
|
7
7
|
onSwitch(): void;
|
|
8
8
|
onBlur(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "aui-switch", never, { "loading": "loading"; }, {}, never, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "aui-switch", never, { "loading": "loading"; }, {}, never, never, false, never>;
|
|
11
11
|
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { CdkCellDef } from '@angular/cdk/table';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Cell definition for the aui-table.
|
|
5
|
-
* Captures the template of a column's data row cell as well as cell-specific properties.
|
|
6
|
-
*/
|
|
7
3
|
export declare class TableCellDefDirective extends CdkCellDef {
|
|
8
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDefDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDefDirective, "[auiTableCellDef]", never, {}, {}, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDefDirective, "[auiTableCellDef]", never, {}, {}, never, never, false, never>;
|
|
10
6
|
}
|
|
@@ -7,12 +7,12 @@ export declare class TableExpandButtonCellComponent extends CdkCell {
|
|
|
7
7
|
expandChange: EventEmitter<any>;
|
|
8
8
|
get expanded(): string;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableExpandButtonCellComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableExpandButtonCellComponent, "aui-table-cell[auiExpandButton]", never, { "expand": "expand"; "disabled": "disabled"; }, { "expandChange": "expandChange"; }, never, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableExpandButtonCellComponent, "aui-table-cell[auiExpandButton]", never, { "expand": "expand"; "disabled": "disabled"; }, { "expandChange": "expandChange"; }, never, never, false, never>;
|
|
11
11
|
}
|
|
12
12
|
export declare class TableExpandPanelCellComponent extends CdkCell {
|
|
13
13
|
expand: boolean;
|
|
14
14
|
background: boolean;
|
|
15
15
|
get expanded(): string;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableExpandPanelCellComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableExpandPanelCellComponent, "aui-table-cell[auiExpandPanel]", never, { "expand": "expand"; "background": "background"; }, {}, never, ["*"]>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableExpandPanelCellComponent, "aui-table-cell[auiExpandPanel]", never, { "expand": "expand"; "background": "background"; }, {}, never, ["*"], false, never>;
|
|
18
18
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { CdkCell, CdkColumnDef } from '@angular/cdk/table';
|
|
2
2
|
import { ElementRef } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
/** Cell template container that adds the right classes and role. */
|
|
5
4
|
export declare class TableCellDirective extends CdkCell {
|
|
6
5
|
direction: 'row' | 'column';
|
|
7
6
|
constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDirective, "aui-table-cell", never, { "direction": "direction"; }, {}, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDirective, "aui-table-cell", never, { "direction": "direction"; }, {}, never, never, false, never>;
|
|
10
9
|
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { CdkColumnDef } from '@angular/cdk/table';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Column definition for the aui-table.
|
|
5
|
-
* Defines a set of cells available for a table column.
|
|
6
|
-
*/
|
|
7
3
|
export declare class TableColumnDefDirective extends CdkColumnDef {
|
|
8
4
|
set auiTableColumnDef(value: string);
|
|
9
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnDefDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnDefDirective, "[auiTableColumnDef]", never, { "sticky": "sticky"; "auiTableColumnDef": "auiTableColumnDef"; }, {}, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnDefDirective, "[auiTableColumnDef]", never, { "sticky": "sticky"; "auiTableColumnDef": "auiTableColumnDef"; }, {}, never, never, false, never>;
|
|
11
7
|
}
|
|
@@ -1,10 +1,6 @@
|
|
|
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
|
-
*/
|
|
7
3
|
export declare class TableHeaderCellDefDirective extends CdkHeaderCellDef {
|
|
8
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellDefDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDefDirective, "[auiTableHeaderCellDef]", never, {}, {}, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDefDirective, "[auiTableHeaderCellDef]", never, {}, {}, never, never, false, never>;
|
|
10
6
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
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. */
|
|
5
4
|
export declare class TableHeaderCellDirective extends CdkHeaderCell {
|
|
6
5
|
constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDirective, "aui-table-header-cell", never, {}, {}, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDirective, "aui-table-header-cell", never, {}, {}, never, never, false, never>;
|
|
9
8
|
}
|
|
@@ -1,12 +1,8 @@
|
|
|
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
|
-
*/
|
|
7
3
|
export declare class TableHeaderRowDefDirective extends CdkHeaderRowDef {
|
|
8
4
|
columns: Iterable<string>;
|
|
9
5
|
sticky: boolean;
|
|
10
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderRowDefDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderRowDefDirective, "[auiTableHeaderRowDef]", never, { "columns": "auiTableHeaderRowDef"; "sticky": "auiTableHeaderRowDefSticky"; }, {}, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderRowDefDirective, "[auiTableHeaderRowDef]", never, { "columns": "auiTableHeaderRowDef"; "sticky": "auiTableHeaderRowDefSticky"; }, {}, never, never, false, never>;
|
|
12
8
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
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. */
|
|
4
3
|
export declare class TableHeaderRowComponent extends CdkHeaderRow {
|
|
5
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderRowComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderRowComponent, "aui-table-header-row", ["auiTableHeaderRow"], {}, {}, never, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderRowComponent, "aui-table-header-row", ["auiTableHeaderRow"], {}, {}, never, never, false, never>;
|
|
7
6
|
}
|
|
@@ -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, never, false, 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, never, false, never>;
|
|
16
16
|
}
|
|
@@ -1,13 +1,8 @@
|
|
|
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
|
-
*/
|
|
8
3
|
export declare class TableRowDefDirective<T> extends CdkRowDef<T> {
|
|
9
4
|
columns: Iterable<string>;
|
|
10
5
|
set auiTableRowDefWhen(v: (index: number, rowData: T) => boolean);
|
|
11
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDefDirective<any>, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDefDirective<any>, "[auiTableRowDef]", never, { "columns": "auiTableRowDefColumns"; "auiTableRowDefWhen": "auiTableRowDefWhen"; }, {}, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDefDirective<any>, "[auiTableRowDef]", never, { "columns": "auiTableRowDefColumns"; "auiTableRowDefWhen": "auiTableRowDefWhen"; }, {}, never, never, false, never>;
|
|
13
8
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
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. */
|
|
5
4
|
export declare class TableRowComponent extends CdkRow implements AfterContentInit {
|
|
6
5
|
private readonly elRef;
|
|
7
6
|
disabled: boolean;
|
|
@@ -9,5 +8,5 @@ export declare class TableRowComponent extends CdkRow implements AfterContentIni
|
|
|
9
8
|
constructor(elRef: ElementRef<HTMLElement>);
|
|
10
9
|
ngAfterContentInit(): void;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "aui-table-row", ["auiTableRow"], { "disabled": "disabled"; }, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "aui-table-row", ["auiTableRow"], { "disabled": "disabled"; }, {}, never, never, false, never>;
|
|
13
12
|
}
|
|
@@ -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, never, false, 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, never, false, 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"], false, never>;
|
|
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, never, false, 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, never, false, 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, never, false, never>;
|
|
16
16
|
}
|
|
@@ -5,68 +5,52 @@ 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. */
|
|
9
8
|
_portalOutlet: CdkPortalOutlet;
|
|
10
|
-
/** The tab body content to display. */
|
|
11
9
|
get content(): TemplatePortal;
|
|
12
10
|
set content(content: TemplatePortal);
|
|
13
11
|
ngOnDestroy(): void;
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabBodyComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabBodyComponent, "aui-tab-body", never, { "content": "content"; }, {}, never, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabBodyComponent, "aui-tab-body", never, { "content": "content"; }, {}, never, never, false, never>;
|
|
16
14
|
}
|
|
17
|
-
/** Used to flag tab labels for use with the portal directive */
|
|
18
15
|
export declare class TabLabelDirective extends CdkPortal {
|
|
19
16
|
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
20
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelDirective, "[auiTabLabel]", never, {}, {}, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelDirective, "[auiTabLabel]", never, {}, {}, never, never, false, never>;
|
|
22
19
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Lazy load the embedded template for a tab content.
|
|
25
|
-
*/
|
|
26
20
|
export declare class TabContentDirective {
|
|
27
21
|
template: TemplateRef<any>;
|
|
28
22
|
constructor(template: TemplateRef<any>);
|
|
29
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentDirective, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[auiTabContent]", never, {}, {}, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[auiTabContent]", never, {}, {}, never, never, false, never>;
|
|
31
25
|
}
|
|
32
|
-
/** Used to project additional template from host to the tab header. */
|
|
33
26
|
export declare class TabHeaderAddonDirective extends CdkPortal {
|
|
34
27
|
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
35
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderAddonDirective, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabHeaderAddonDirective, "[auiTabHeaderAddon]", never, {}, {}, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabHeaderAddonDirective, "[auiTabHeaderAddon]", never, {}, {}, never, never, false, never>;
|
|
37
30
|
}
|
|
38
|
-
/**
|
|
39
|
-
* Used in the `aui-tab-group` view to display tab labels.
|
|
40
|
-
*/
|
|
41
31
|
export declare class TabLabelWrapperDirective {
|
|
42
32
|
elementRef: ElementRef<HTMLElement>;
|
|
43
33
|
private _disabled;
|
|
44
|
-
/** Whether or not the tab is disabled */
|
|
45
34
|
get disabled(): boolean | '';
|
|
46
35
|
set disabled(value: boolean | '');
|
|
47
36
|
getOffsetLeft(): number;
|
|
48
37
|
getOffsetWidth(): number;
|
|
49
|
-
/** Sets focus on the wrapper element */
|
|
50
38
|
focus(): void;
|
|
51
39
|
constructor(elementRef: ElementRef<HTMLElement>);
|
|
52
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelWrapperDirective, never>;
|
|
53
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelWrapperDirective, "[auiTabLabelWrapper]", never, { "disabled": "disabled"; }, {}, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelWrapperDirective, "[auiTabLabelWrapper]", never, { "disabled": "disabled"; }, {}, never, never, false, never>;
|
|
54
42
|
}
|
|
55
43
|
export declare class TabTitleDirective extends CdkPortal {
|
|
56
44
|
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
57
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabTitleDirective, never>;
|
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabTitleDirective, "[auiTabTitle]", never, {}, {}, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabTitleDirective, "[auiTabTitle]", never, {}, {}, never, never, false, never>;
|
|
59
47
|
}
|
|
60
|
-
/**
|
|
61
|
-
* The portal host directive for the contents of the tab.
|
|
62
|
-
*/
|
|
63
48
|
export declare class TabBodyPortalDirective extends CdkPortalOutlet implements OnInit, OnDestroy {
|
|
64
49
|
private readonly _host;
|
|
65
50
|
private _hostSubscription;
|
|
66
51
|
constructor(componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, _host: TabBodyComponent);
|
|
67
|
-
/** Set initial visibility or set up subscription for changing visibility. */
|
|
68
52
|
ngOnInit(): void;
|
|
69
53
|
ngOnDestroy(): void;
|
|
70
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabBodyPortalDirective, never>;
|
|
71
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabBodyPortalDirective, "[auiTabBodyHost]", never, {}, {}, never>;
|
|
55
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabBodyPortalDirective, "[auiTabBodyHost]", never, {}, {}, never, never, false, never>;
|
|
72
56
|
}
|
|
@@ -3,9 +3,6 @@ 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
|
-
*/
|
|
9
6
|
get isActive(): boolean;
|
|
10
7
|
set isActive(isActive: boolean);
|
|
11
8
|
readonly active$: Observable<boolean>;
|
|
@@ -6,11 +6,8 @@ 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. */
|
|
10
9
|
export declare class TabChangeEvent {
|
|
11
|
-
/** Index of the currently-selected tab. */
|
|
12
10
|
index: number;
|
|
13
|
-
/** Reference to the currently-selected tab. */
|
|
14
11
|
tab: TabComponent;
|
|
15
12
|
}
|
|
16
13
|
export declare class TabGroupComponent implements OnChanges, AfterContentChecked, AfterContentInit, OnDestroy {
|
|
@@ -20,24 +17,17 @@ export declare class TabGroupComponent implements OnChanges, AfterContentChecked
|
|
|
20
17
|
_headerAddon: TabHeaderAddonDirective;
|
|
21
18
|
_tabHeader: TabHeaderComponent;
|
|
22
19
|
_tabTitle: TabTitleDirective;
|
|
23
|
-
/** The tab index that should be selected after the content has been checked. */
|
|
24
20
|
private _indexToSelect;
|
|
25
|
-
/** Subscription to tabs being added/removed. */
|
|
26
21
|
private _tabsSubscription;
|
|
27
|
-
/** Subscription to changes in the tab labels. */
|
|
28
22
|
private _tabLabelSubscription;
|
|
29
23
|
private _selectedIndex;
|
|
30
24
|
private _tab;
|
|
31
25
|
private _type;
|
|
32
26
|
private _size;
|
|
33
|
-
/** true lazy mode for template ref children */
|
|
34
27
|
private _lazy;
|
|
35
28
|
private _previousHeaderAddon;
|
|
36
|
-
/** Emits whenever the type changes */
|
|
37
29
|
readonly _typeChange: Subject<void>;
|
|
38
|
-
/** Emits whenever the size changes */
|
|
39
30
|
readonly _sizeChange: Subject<void>;
|
|
40
|
-
/** The index of the active tab. */
|
|
41
31
|
get selectedIndex(): number | null;
|
|
42
32
|
set selectedIndex(value: number | null);
|
|
43
33
|
get tab(): string;
|
|
@@ -49,44 +39,26 @@ export declare class TabGroupComponent implements OnChanges, AfterContentChecked
|
|
|
49
39
|
set size(val: TabSize);
|
|
50
40
|
get lazy(): boolean;
|
|
51
41
|
set lazy(lazy: boolean);
|
|
52
|
-
/** Output to enable support for two-way binding on `[(selectedIndex)]` */
|
|
53
42
|
readonly selectedIndexChange: EventEmitter<number>;
|
|
54
43
|
readonly tabChange: EventEmitter<string>;
|
|
55
|
-
/** Event emitted when the tab selection has changed. */
|
|
56
44
|
readonly selectedTabChange: EventEmitter<TabChangeEvent>;
|
|
57
|
-
/** Event emitted when focus has changed within a tab group. */
|
|
58
45
|
readonly focusChange: EventEmitter<TabChangeEvent>;
|
|
59
46
|
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
60
47
|
activatedTabs: TabComponent[];
|
|
61
48
|
get activeTab(): TabComponent;
|
|
62
49
|
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
|
-
*/
|
|
68
50
|
ngAfterContentChecked(): void;
|
|
69
51
|
ngAfterContentInit(): void;
|
|
70
52
|
ngOnDestroy(): void;
|
|
71
|
-
/** Handle click events, setting new selected index if appropriate. */
|
|
72
53
|
_handleClick(tab: TabComponent, idx: number): void;
|
|
73
54
|
_focusChanged(index: number): void;
|
|
74
|
-
/** Re-aligns the ink bar to the selected tab element. */
|
|
75
55
|
realignActiveIndicator(): void;
|
|
76
56
|
private _changeActivatedTabs;
|
|
77
|
-
/** Clamps the given index to the bounds of 0 and the tabs length. */
|
|
78
57
|
private _clampTabIndex;
|
|
79
58
|
private _findIndexByTab;
|
|
80
59
|
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
|
-
*/
|
|
87
60
|
private _subscribeToTabLabels;
|
|
88
|
-
/** Retrieves the tabindex for the tab. */
|
|
89
61
|
_getTabIndex(tab: TabComponent, idx: number): number | null;
|
|
90
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, 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>;
|
|
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, false, never>;
|
|
92
64
|
}
|
|
@@ -8,18 +8,9 @@ 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
|
-
*/
|
|
16
11
|
alignToElement(element: HTMLElement): void;
|
|
17
|
-
/**
|
|
18
|
-
* Sets the proper styles to the element.
|
|
19
|
-
* @param element
|
|
20
|
-
*/
|
|
21
12
|
private _setStyles;
|
|
22
13
|
private _getElementPosition;
|
|
23
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderActiveIndicatorComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderActiveIndicatorComponent, "aui-tab-header-active-indicator", never, { "type": "type"; }, {}, never, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderActiveIndicatorComponent, "aui-tab-header-active-indicator", never, { "type": "type"; }, {}, never, never, false, never>;
|
|
25
16
|
}
|