@alauda/ui 7.4.2-beta.8 → 8.0.0
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/anchor/types.d.ts +2 -2
- package/autocomplete/autocomplete.directive.d.ts +1 -1
- package/checkbox/checkbox-group/checkbox-group.component.d.ts +1 -1
- package/date-picker/calendar/util.d.ts +2 -2
- package/dialog/confirm-dialog/confirm-dialog-config.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 +3 -3
- package/drawer/component/internal/internal.component.d.ts +3 -3
- package/drawer/drawer.service.d.ts +2 -1
- package/drawer/types.d.ts +2 -2
- package/dropdown/dropdown-active.directive.d.ts +1 -1
- package/esm2022/accordion/accordion-item/accordion-item.component.mjs +11 -11
- package/esm2022/accordion/accordion.component.mjs +6 -6
- package/esm2022/accordion/accordion.module.mjs +4 -4
- package/esm2022/anchor/anchor.component.mjs +8 -8
- package/esm2022/anchor/anchor.directive.mjs +14 -14
- package/esm2022/anchor/anchor.module.mjs +4 -4
- package/esm2022/anchor/types.mjs +1 -1
- package/esm2022/anchor/utils.mjs +1 -1
- package/esm2022/autocomplete/autocomplete-placeholder.component.mjs +3 -3
- package/esm2022/autocomplete/autocomplete.component.mjs +8 -8
- package/esm2022/autocomplete/autocomplete.directive.mjs +9 -11
- package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2022/autocomplete/helper-directives.mjs +3 -3
- package/esm2022/autocomplete/suggestion/suggestion.component.mjs +7 -7
- package/esm2022/autocomplete/suggestion-group/suggestion-group.component.mjs +4 -4
- package/esm2022/back-top/back-top.component.mjs +7 -7
- package/esm2022/back-top/back-top.module.mjs +4 -4
- package/esm2022/breadcrumb/breadcrumb-item.component.mjs +4 -4
- package/esm2022/breadcrumb/breadcrumb.component.mjs +4 -4
- package/esm2022/breadcrumb/breadcrumb.module.mjs +4 -4
- package/esm2022/button/button-group/button-group.component.mjs +3 -3
- package/esm2022/button/button.component.mjs +5 -5
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/card/card.component.mjs +4 -4
- package/esm2022/card/card.module.mjs +4 -4
- package/esm2022/card/helper-directives.mjs +9 -9
- package/esm2022/card/section.component.mjs +3 -3
- package/esm2022/checkbox/checkbox-group/checkbox-group.component.mjs +5 -5
- package/esm2022/checkbox/checkbox.component.mjs +8 -8
- package/esm2022/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/color-picker/color-picker.component.mjs +3 -3
- package/esm2022/color-picker/color-picker.module.mjs +4 -4
- package/esm2022/date-picker/calendar/date-picker-panel/component.mjs +4 -4
- package/esm2022/date-picker/calendar/footer/component.mjs +3 -3
- package/esm2022/date-picker/calendar/header/component.mjs +17 -13
- package/esm2022/date-picker/calendar/panel/picker-panel.mjs +10 -7
- package/esm2022/date-picker/calendar/range-picker-panel/component.mjs +6 -6
- package/esm2022/date-picker/calendar/util.mjs +1 -1
- package/esm2022/date-picker/date-picker/date-picker.component.mjs +4 -4
- package/esm2022/date-picker/date-picker.module.mjs +4 -4
- package/esm2022/date-picker/range-picker/range-picker.component.mjs +4 -4
- package/esm2022/date-picker/trigger/trigger.component.mjs +7 -8
- package/esm2022/dialog/confirm-dialog/confirm-dialog-config.mjs +1 -1
- package/esm2022/dialog/confirm-dialog/confirm-dialog.component.mjs +7 -7
- package/esm2022/dialog/dialog-content/dialog-close.directive.mjs +6 -6
- package/esm2022/dialog/dialog-content/dialog-content.component.mjs +4 -4
- package/esm2022/dialog/dialog-content/dialog-footer.component.mjs +3 -3
- package/esm2022/dialog/dialog-content/dialog-header.component.mjs +6 -6
- package/esm2022/dialog/dialog.component.mjs +6 -6
- package/esm2022/dialog/dialog.module.mjs +4 -4
- package/esm2022/dialog/dialog.service.mjs +7 -7
- package/esm2022/dialog/dialog.types.mjs +1 -1
- package/esm2022/dialog/utils/index.mjs +1 -1
- package/esm2022/drawer/component/drawer.component.mjs +5 -5
- package/esm2022/drawer/component/internal/internal.component.mjs +6 -6
- package/esm2022/drawer/drawer.module.mjs +4 -4
- package/esm2022/drawer/drawer.service.mjs +5 -5
- package/esm2022/drawer/helper-directives.mjs +9 -9
- package/esm2022/drawer/types.mjs +1 -1
- package/esm2022/dropdown/dropdown-active.directive.mjs +4 -4
- package/esm2022/dropdown/dropdown-button/dropdown-button.component.mjs +3 -3
- package/esm2022/dropdown/dropdown.directive.mjs +5 -5
- package/esm2022/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/dropdown/helper-directives.mjs +3 -3
- package/esm2022/dropdown/menu/menu.component.mjs +3 -3
- package/esm2022/dropdown/menu-group/menu-group.component.mjs +4 -4
- package/esm2022/dropdown/menu-item/menu-item.component.mjs +3 -3
- package/esm2022/dropdown/submenu/submenu.component.mjs +3 -3
- package/esm2022/form/common-form.mjs +5 -5
- package/esm2022/form/form-item/form-item.component.mjs +6 -6
- package/esm2022/form/form.directive.mjs +6 -6
- package/esm2022/form/form.module.mjs +4 -4
- package/esm2022/form/helper-directives.mjs +15 -15
- package/esm2022/i18n/i18n.module.mjs +4 -4
- package/esm2022/i18n/i18n.pipe.mjs +4 -4
- package/esm2022/i18n/i18n.service.mjs +5 -5
- package/esm2022/icon/icon-register.service.mjs +6 -6
- package/esm2022/icon/icon.component.mjs +5 -5
- package/esm2022/icon/icon.module.mjs +4 -4
- package/esm2022/inline-alert/helper-directives.mjs +3 -3
- package/esm2022/inline-alert/inline-alert.component.mjs +4 -4
- package/esm2022/inline-alert/inline-alert.module.mjs +4 -4
- package/esm2022/input/autosize.directive.mjs +5 -5
- package/esm2022/input/helper-directives.mjs +12 -12
- package/esm2022/input/input-group/input-group.component.mjs +3 -3
- package/esm2022/input/input.component.mjs +6 -6
- package/esm2022/input/input.module.mjs +4 -4
- package/esm2022/input/number-input/number-input.component.mjs +6 -6
- package/esm2022/input/search/search.component.mjs +5 -5
- package/esm2022/input/tags-input/tags-input.component.mjs +7 -7
- package/esm2022/input/tags-input/with-max-row-count.mjs +1 -1
- package/esm2022/input/utils/index.mjs +1 -1
- package/esm2022/internal/utils/bem.mjs +1 -1
- package/esm2022/internal/utils/fn.mjs +1 -1
- package/esm2022/internal/utils/observe-dom.mjs +1 -1
- package/esm2022/internal/utils/scroll-into-view.mjs +1 -1
- package/esm2022/internal/utils/styles-renderer.mjs +1 -1
- package/esm2022/message/base-message.mjs +1 -1
- package/esm2022/message/message-wrapper.component.mjs +4 -4
- package/esm2022/message/message.component.mjs +6 -6
- package/esm2022/message/message.config.mjs +1 -1
- package/esm2022/message/message.module.mjs +4 -4
- package/esm2022/message/message.service.mjs +5 -5
- package/esm2022/notification/notification-wrapper.component.mjs +4 -4
- package/esm2022/notification/notification.component.mjs +5 -5
- package/esm2022/notification/notification.config.mjs +1 -1
- package/esm2022/notification/notification.module.mjs +4 -4
- package/esm2022/notification/notification.service.mjs +5 -5
- package/esm2022/paginator/paginator-intl.mjs +3 -3
- package/esm2022/paginator/paginator.component.mjs +5 -5
- package/esm2022/paginator/paginator.module.mjs +4 -4
- package/esm2022/radio/base-radio.mjs +5 -5
- package/esm2022/radio/radio-button/radio-button.component.mjs +4 -4
- package/esm2022/radio/radio-group/radio-group.component.mjs +4 -4
- package/esm2022/radio/radio.component.mjs +4 -4
- package/esm2022/radio/radio.module.mjs +4 -4
- package/esm2022/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +4 -4
- package/esm2022/scrolling/fixed-size-table-virtual-scroll.directive.mjs +4 -4
- package/esm2022/scrolling/fixed-size-virtual-scroll.directive.mjs +3 -3
- package/esm2022/scrolling/scrolling.module.mjs +4 -4
- package/esm2022/scrolling/virtual-for-of.directive.mjs +4 -4
- package/esm2022/scrolling/virtual-scroll-viewport.component.mjs +3 -3
- package/esm2022/select/base-select.mjs +4 -4
- package/esm2022/select/helper-directives.mjs +9 -9
- package/esm2022/select/multi-select/multi-select.component.mjs +7 -7
- package/esm2022/select/option/option.component.mjs +7 -7
- package/esm2022/select/option-group/option-group.component.mjs +4 -4
- package/esm2022/select/option-placeholder.component.mjs +3 -3
- package/esm2022/select/select.component.mjs +4 -4
- package/esm2022/select/select.module.mjs +4 -4
- package/esm2022/select/select.types.mjs +1 -1
- package/esm2022/select/validators.mjs +5 -5
- package/esm2022/shared/click-outside.directive.mjs +5 -5
- package/esm2022/shared/shared.module.mjs +4 -4
- package/esm2022/sort/sort-header.component.mjs +6 -6
- package/esm2022/sort/sort.directive.mjs +4 -4
- package/esm2022/sort/sort.module.mjs +4 -4
- package/esm2022/sort/sort.types.mjs +1 -1
- package/esm2022/status-bar/status-bar.component.mjs +3 -3
- package/esm2022/status-bar/status-bar.module.mjs +4 -4
- package/esm2022/steps/steps.component.mjs +5 -5
- package/esm2022/steps/steps.module.mjs +4 -4
- package/esm2022/steps/types.mjs +1 -1
- package/esm2022/switch/switch.component.mjs +4 -4
- package/esm2022/switch/switch.module.mjs +4 -4
- package/esm2022/table/table-cell-def.directive.mjs +3 -3
- package/esm2022/table/table-cell.component.mjs +6 -6
- package/esm2022/table/table-cell.directive.mjs +5 -5
- package/esm2022/table/table-column-def.directive.mjs +3 -3
- package/esm2022/table/table-column-resizable.directive.mjs +4 -4
- package/esm2022/table/table-header-cell-def.directive.mjs +3 -3
- package/esm2022/table/table-header-cell.directive.mjs +4 -4
- package/esm2022/table/table-header-row-def.directive.mjs +11 -5
- package/esm2022/table/table-header-row.component.mjs +3 -3
- package/esm2022/table/table-placeholder.directive.mjs +8 -8
- package/esm2022/table/table-row-def.directive.mjs +3 -3
- package/esm2022/table/table-row.component.mjs +5 -5
- package/esm2022/table/table-scroll.directive.mjs +9 -9
- package/esm2022/table/table.component.mjs +6 -5
- package/esm2022/table/table.module.mjs +4 -4
- package/esm2022/table-of-contents/table-of-contents.module.mjs +4 -4
- package/esm2022/table-of-contents/toc-container.directive.mjs +5 -5
- package/esm2022/table-of-contents/toc-content.directive.mjs +6 -6
- package/esm2022/table-of-contents/toc-link.directive.mjs +5 -5
- package/esm2022/tabs/tab-body.component.mjs +28 -28
- package/esm2022/tabs/tab-context.service.mjs +5 -5
- package/esm2022/tabs/tab-group.component.mjs +5 -5
- package/esm2022/tabs/tab-header-active-indicator.component.mjs +5 -5
- package/esm2022/tabs/tab-header.component.mjs +5 -5
- package/esm2022/tabs/tab.component.mjs +5 -5
- package/esm2022/tabs/tabs.module.mjs +4 -4
- package/esm2022/tag/check-tag/check-tag.component.mjs +3 -3
- package/esm2022/tag/tag.component.mjs +3 -3
- package/esm2022/tag/tag.module.mjs +4 -4
- package/esm2022/theme/theme.module.mjs +4 -4
- package/esm2022/theme/theme.pipe.mjs +14 -14
- package/esm2022/theme/theme.service.mjs +5 -5
- package/esm2022/theme/theme.types.mjs +1 -1
- package/esm2022/time-picker/component.mjs +4 -4
- package/esm2022/time-picker/panel/panel.component.mjs +7 -7
- package/esm2022/time-picker/time-picker.module.mjs +4 -4
- package/esm2022/tooltip/animations.mjs +1 -1
- package/esm2022/tooltip/base-tooltip.mjs +5 -5
- package/esm2022/tooltip/tooltip-active.directive.mjs +5 -5
- package/esm2022/tooltip/tooltip-copy.directive.mjs +5 -5
- package/esm2022/tooltip/tooltip-intl.mjs +3 -3
- package/esm2022/tooltip/tooltip.component.mjs +6 -6
- package/esm2022/tooltip/tooltip.directive.mjs +3 -3
- package/esm2022/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/tooltip/utils/index.mjs +1 -1
- package/esm2022/tree-select/tree-node-placeholder.component.mjs +3 -3
- package/esm2022/tree-select/tree-select.component.mjs +9 -9
- package/esm2022/tree-select/tree-select.module.mjs +4 -4
- package/fesm2022/alauda-ui.mjs +801 -790
- package/fesm2022/alauda-ui.mjs.map +1 -1
- package/form/form-item/form-item.component.d.ts +1 -1
- package/internal/utils/bem.d.ts +4 -4
- package/message/base-message.d.ts +2 -2
- package/message/message.component.d.ts +1 -1
- package/message/message.config.d.ts +1 -1
- package/notification/notification.config.d.ts +1 -1
- package/package.json +7 -10
- package/paginator/paginator.component.d.ts +1 -1
- package/radio/radio-group/radio-group.component.d.ts +1 -1
- package/scrolling/virtual-for-of.directive.d.ts +1 -1
- package/select/select.types.d.ts +2 -2
- package/sort/sort.types.d.ts +2 -2
- package/steps/types.d.ts +1 -1
- package/table/table-cell.directive.d.ts +1 -1
- package/table/table-header-row-def.directive.d.ts +3 -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-link.directive.d.ts +1 -1
- package/tabs/tab-group.component.d.ts +1 -1
- package/theme/theme.types.d.ts +3 -3
- package/tooltip/animations.d.ts +1 -1
- package/tooltip/base-tooltip.d.ts +4 -4
- package/tooltip/tooltip-active.directive.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +2 -2
- package/tsconfig.lib.tsbuildinfo +1 -0
|
@@ -24,7 +24,7 @@ export declare class FormItemComponent implements AfterContentInit, OnDestroy {
|
|
|
24
24
|
hasError$: Observable<boolean>;
|
|
25
25
|
errorCount$: Observable<number>;
|
|
26
26
|
hintCount$: Observable<number>;
|
|
27
|
-
parentForm:
|
|
27
|
+
parentForm: FormGroupDirective | NgForm;
|
|
28
28
|
private readonly destroy$$;
|
|
29
29
|
get formItemWidthClass(): string;
|
|
30
30
|
constructor(cdr: ChangeDetectorRef, auiForm: FormDirective, ngForm: NgForm, formGroup: FormGroupDirective);
|
package/internal/utils/bem.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare class Bem {
|
|
2
2
|
private readonly namespace;
|
|
3
3
|
constructor(namespace: string);
|
|
4
|
-
block(...modifiers: Array<{
|
|
4
|
+
block(...modifiers: Array<string | {
|
|
5
5
|
[name: string]: boolean;
|
|
6
|
-
}
|
|
6
|
+
}>): string;
|
|
7
7
|
modifier(name: string): string;
|
|
8
|
-
element(name: string, ...modifiers: Array<{
|
|
8
|
+
element(name: string, ...modifiers: Array<string | {
|
|
9
9
|
[name: string]: boolean | '';
|
|
10
|
-
}
|
|
10
|
+
}>): string;
|
|
11
11
|
}
|
|
12
12
|
export declare function buildBem(namespace: string): Bem;
|
|
@@ -25,9 +25,9 @@ export declare abstract class BaseMessage<Wrapper extends MessageWrapperComponen
|
|
|
25
25
|
warning(option: Config | string): ComponentRef<Component>;
|
|
26
26
|
error(option: Config | string): ComponentRef<Component>;
|
|
27
27
|
info(option: Config | string): ComponentRef<Component>;
|
|
28
|
-
remove(id:
|
|
28
|
+
remove(id: number | string): void;
|
|
29
29
|
removeAll(): void;
|
|
30
30
|
protected initWrapperContainer(): void;
|
|
31
31
|
protected initComponentRef(config: Config): ComponentRef<Component>;
|
|
32
|
-
protected removeNeedless(id:
|
|
32
|
+
protected removeNeedless(id: number | string): void;
|
|
33
33
|
}
|
|
@@ -3,7 +3,7 @@ import { InjectionToken, TemplateRef } from '@angular/core';
|
|
|
3
3
|
import { MessageConfig, MessageGlobalConfig } from '../message';
|
|
4
4
|
export interface NotificationConfig extends MessageConfig {
|
|
5
5
|
title?: string;
|
|
6
|
-
contentRef?:
|
|
6
|
+
contentRef?: ComponentType<void> | TemplateRef<any>;
|
|
7
7
|
footerRef?: TemplateRef<any>;
|
|
8
8
|
context?: unknown;
|
|
9
9
|
customClass?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alauda/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Angular UI components by Alauda Frontend Team.",
|
|
5
5
|
"repository": "git+https://github.com/alauda/alauda-ui.git",
|
|
6
6
|
"author": "Alauda Frontend",
|
|
@@ -17,18 +17,15 @@
|
|
|
17
17
|
"ui"
|
|
18
18
|
],
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@angular/animations": ">=
|
|
21
|
-
"@angular/cdk": ">=
|
|
22
|
-
"@angular/common": ">=
|
|
23
|
-
"@angular/core": ">=
|
|
24
|
-
"@angular/forms": ">=
|
|
25
|
-
"@angular/platform-browser": ">=
|
|
20
|
+
"@angular/animations": ">=18.0.0",
|
|
21
|
+
"@angular/cdk": ">=18.0.0",
|
|
22
|
+
"@angular/common": ">=18.0.0",
|
|
23
|
+
"@angular/core": ">=18.0.0",
|
|
24
|
+
"@angular/forms": ">=18.0.0",
|
|
25
|
+
"@angular/platform-browser": ">=18.0.0",
|
|
26
26
|
"dayjs": "^1.0.0",
|
|
27
27
|
"rxjs": "^7.0.0"
|
|
28
28
|
},
|
|
29
|
-
"resolutions": {
|
|
30
|
-
"prettier": "~2.8.8"
|
|
31
|
-
},
|
|
32
29
|
"publishConfig": {
|
|
33
30
|
"access": "public",
|
|
34
31
|
"directory": "release"
|
|
@@ -14,7 +14,7 @@ export declare class PaginatorComponent implements OnDestroy {
|
|
|
14
14
|
set pageSize(val: number);
|
|
15
15
|
pageSizeOptions: number[];
|
|
16
16
|
total: number;
|
|
17
|
-
layout: string | string
|
|
17
|
+
layout: string[] | string;
|
|
18
18
|
disabled: boolean;
|
|
19
19
|
readonly pageIndexChange: EventEmitter<number>;
|
|
20
20
|
readonly currentPageChange: EventEmitter<number>;
|
|
@@ -7,7 +7,7 @@ export declare class RadioGroupComponent extends CommonFormControl<any> {
|
|
|
7
7
|
private readonly isPlain$$;
|
|
8
8
|
private readonly name$$;
|
|
9
9
|
set size(val: RadioSize);
|
|
10
|
-
direction: '
|
|
10
|
+
direction: 'column' | 'row';
|
|
11
11
|
set plain(val: boolean);
|
|
12
12
|
set name(val: string);
|
|
13
13
|
size$: Observable<RadioSize>;
|
|
@@ -4,7 +4,7 @@ import { NgIterable, TemplateRef, TrackByFunction } from '@angular/core';
|
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class VirtualForOfDirective<T> extends CdkVirtualForOf<T> {
|
|
7
|
-
set auiVirtualForOf(value: DataSource<T> |
|
|
7
|
+
set auiVirtualForOf(value: DataSource<T> | NgIterable<T> | Observable<T[]> | null | undefined);
|
|
8
8
|
set auiVirtualForTrackBy(fn: TrackByFunction<T> | undefined);
|
|
9
9
|
set auiVirtualForTemplate(value: TemplateRef<CdkVirtualForOfContext<T>>);
|
|
10
10
|
set auiVirtualForTemplateCacheSize(size: number);
|
package/select/select.types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
export interface SelectOption {
|
|
3
|
-
label:
|
|
3
|
+
label: TemplateRef<unknown> | string;
|
|
4
4
|
labelContext?: unknown;
|
|
5
5
|
}
|
|
6
6
|
export interface SelectFilterOption<T> extends SelectOption {
|
|
@@ -9,7 +9,7 @@ export interface SelectFilterOption<T> extends SelectOption {
|
|
|
9
9
|
}
|
|
10
10
|
export type OptionFilterFn<T> = (filter: string, option: SelectFilterOption<T>) => boolean;
|
|
11
11
|
export type TrackFn<T, R = unknown> = (value: T) => R;
|
|
12
|
-
export type TagClassFn<V, T extends
|
|
12
|
+
export type TagClassFn<V, T extends TemplateRef<unknown> | string = TemplateRef<unknown> | string> = (label: T, value: V) => Set<string> | string[] | string | {
|
|
13
13
|
[className: string]: unknown;
|
|
14
14
|
};
|
|
15
15
|
export declare enum SelectAllStatus {
|
package/sort/sort.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type SortDirection = '
|
|
2
|
-
export type ArrowViewState = SortDirection | '
|
|
1
|
+
export type SortDirection = '' | 'asc' | 'desc';
|
|
2
|
+
export type ArrowViewState = SortDirection | 'active' | 'hint';
|
|
3
3
|
export interface Sortable {
|
|
4
4
|
id: string;
|
|
5
5
|
start: 'asc' | 'desc';
|
package/steps/types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { CdkCell, CdkColumnDef } from '@angular/cdk/table';
|
|
|
2
2
|
import { ElementRef } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TableCellDirective extends CdkCell {
|
|
5
|
-
direction: '
|
|
5
|
+
direction: 'column' | 'row';
|
|
6
6
|
constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDirective, never>;
|
|
8
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDirective, "aui-table-cell", never, { "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -2,7 +2,8 @@ import { CdkHeaderRowDef } from '@angular/cdk/table';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TableHeaderRowDefDirective extends CdkHeaderRowDef {
|
|
4
4
|
columns: Iterable<string>;
|
|
5
|
-
|
|
5
|
+
set auiTableHeaderRowDefSticky(val: boolean);
|
|
6
|
+
get auiTableHeaderRowDefSticky(): boolean;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderRowDefDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderRowDefDirective, "[auiTableHeaderRowDef]", never, { "columns": { "alias": "auiTableHeaderRowDef"; "required": false; }; "
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderRowDefDirective, "[auiTableHeaderRowDef]", never, { "columns": { "alias": "auiTableHeaderRowDef"; "required": false; }; "auiTableHeaderRowDefSticky": { "alias": "auiTableHeaderRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
9
|
}
|
|
@@ -16,5 +16,5 @@ export declare class TableComponent<T> extends CdkTable<T> implements AfterConte
|
|
|
16
16
|
private _clearPlaceholder;
|
|
17
17
|
ngOnDestroy(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aui-table", ["auiTable"], { "enableScrollWrapper": { "alias": "enableScrollWrapper"; "required": false; }; }, {}, ["_placeholderDef"], ["caption", "colgroup, col"], true, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aui-table", ["auiTable"], { "enableScrollWrapper": { "alias": "enableScrollWrapper"; "required": false; }; }, {}, ["_placeholderDef"], ["caption", "colgroup, col", "*"], true, never>;
|
|
20
20
|
}
|
|
@@ -20,7 +20,7 @@ export declare class TocContainerDirective implements AfterContentInit, OnDestro
|
|
|
20
20
|
onScroll(): void;
|
|
21
21
|
ngAfterContentInit(): void;
|
|
22
22
|
ngOnDestroy(): void;
|
|
23
|
-
scrollTo(content: string | string
|
|
23
|
+
scrollTo(content: string[] | string): void;
|
|
24
24
|
registerContent(tocContent: TocContentDirective): void;
|
|
25
25
|
deregisterContent(tocContent: TocContentDirective): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TocContainerDirective, never>;
|
|
@@ -5,7 +5,7 @@ export declare class TocLinkDirective implements OnInit, OnDestroy {
|
|
|
5
5
|
private readonly cdr;
|
|
6
6
|
active: boolean;
|
|
7
7
|
for: TocContainerDirective;
|
|
8
|
-
auiTocLink: string | string
|
|
8
|
+
auiTocLink: string[] | string;
|
|
9
9
|
private readonly _subs;
|
|
10
10
|
onClick(): void;
|
|
11
11
|
constructor(cdr: ChangeDetectorRef);
|
|
@@ -34,7 +34,7 @@ export declare class TabGroupComponent implements OnChanges, AfterContentChecked
|
|
|
34
34
|
set tab(value: string);
|
|
35
35
|
get type(): TabType;
|
|
36
36
|
set type(type: TabType);
|
|
37
|
-
title:
|
|
37
|
+
title: TemplateRef<unknown> | string;
|
|
38
38
|
get size(): TabSize;
|
|
39
39
|
set size(val: TabSize);
|
|
40
40
|
get lazy(): boolean;
|
package/theme/theme.types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type Theme = '
|
|
2
|
-
export type ThemeMode = '
|
|
3
|
-
export type ThemeSet<T> =
|
|
1
|
+
export type Theme = 'dark' | 'light';
|
|
2
|
+
export type ThemeMode = 'dark' | 'light' | 'system';
|
|
3
|
+
export type ThemeSet<T> = Record<Theme, T> | ((theme: Theme) => T) | [T, T];
|
package/tooltip/animations.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const scale: import("@angular/animations").AnimationTransitionMetadata[];
|
|
2
2
|
export declare const scaleY: import("@angular/animations").AnimationTransitionMetadata[];
|
|
3
3
|
export declare const animations: import("@angular/animations").AnimationTransitionMetadata[];
|
|
4
|
-
export type AnimationType = '
|
|
4
|
+
export type AnimationType = 'none' | 'scale' | 'scaleY';
|
|
@@ -7,7 +7,7 @@ import { TooltipComponent } from './tooltip.component';
|
|
|
7
7
|
import { TooltipTrigger, TooltipType } from './tooltip.types';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export interface TooltipInterface {
|
|
10
|
-
content:
|
|
10
|
+
content: TemplateRef<any> | string;
|
|
11
11
|
context: any;
|
|
12
12
|
class: string;
|
|
13
13
|
type: TooltipType;
|
|
@@ -26,8 +26,8 @@ export declare class BaseTooltip<T = any> implements TooltipInterface, AfterView
|
|
|
26
26
|
protected renderer: Renderer2;
|
|
27
27
|
protected cdr: ChangeDetectorRef;
|
|
28
28
|
protected ngZone: NgZone;
|
|
29
|
-
set content(value:
|
|
30
|
-
get content():
|
|
29
|
+
set content(value: TemplateRef<any> | string);
|
|
30
|
+
get content(): TemplateRef<any> | string;
|
|
31
31
|
set context(value: T);
|
|
32
32
|
get context(): T;
|
|
33
33
|
set class(value: string);
|
|
@@ -59,7 +59,7 @@ export declare class BaseTooltip<T = any> implements TooltipInterface, AfterView
|
|
|
59
59
|
protected _trigger: TooltipTrigger;
|
|
60
60
|
protected _disabled: boolean;
|
|
61
61
|
protected _context: T;
|
|
62
|
-
protected _content:
|
|
62
|
+
protected _content: TemplateRef<unknown> | string;
|
|
63
63
|
get isCreated(): boolean;
|
|
64
64
|
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, elRef: ElementRef<HTMLInputElement>, renderer: Renderer2, cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
65
65
|
private _updateTransformOrigin;
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class TooltipActiveDirective implements OnDestroy {
|
|
6
6
|
private readonly el;
|
|
7
7
|
private readonly renderer;
|
|
8
|
-
customClass: string | string
|
|
8
|
+
customClass: string[] | string;
|
|
9
9
|
destroy$: Subject<unknown>;
|
|
10
10
|
constructor(tooltipDirective: BaseTooltip, el: ElementRef, renderer: Renderer2);
|
|
11
11
|
ngOnDestroy(): void;
|
|
@@ -13,7 +13,7 @@ export declare class TooltipComponent implements OnDestroy {
|
|
|
13
13
|
bem: Bem;
|
|
14
14
|
showHide: string;
|
|
15
15
|
animationType: AnimationType;
|
|
16
|
-
inputContent$: Observable<
|
|
16
|
+
inputContent$: Observable<TemplateRef<any> | string>;
|
|
17
17
|
inputType$: Observable<TooltipType>;
|
|
18
18
|
inputPosition$: Observable<string>;
|
|
19
19
|
inputClass$: Observable<string>;
|
|
@@ -31,7 +31,7 @@ export declare class TooltipComponent implements OnDestroy {
|
|
|
31
31
|
constructor(elRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
|
|
32
32
|
ngOnDestroy(): void;
|
|
33
33
|
setupInputs(inputs: {
|
|
34
|
-
inputContent$: Observable<
|
|
34
|
+
inputContent$: Observable<TemplateRef<any> | string>;
|
|
35
35
|
inputType$: Observable<TooltipType>;
|
|
36
36
|
inputPosition$: Observable<string>;
|
|
37
37
|
inputClass$: Observable<string>;
|