@alauda/ui 9.1.2-beta.0 → 9.1.2-beta.10
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/fesm2022/alauda-ui.mjs +917 -922
- package/fesm2022/alauda-ui.mjs.map +1 -1
- package/index.d.ts +3673 -38
- package/package.json +3 -3
- package/theme/_mixin.scss +68 -61
- package/theme/_pattern.scss +20 -22
- package/theme/_theme-preset.scss +2 -1
- package/theme/_var.scss +30 -30
- package/theme/overlay-prebuilt.css +1 -0
- package/theme/style.css +1 -441
- package/tsconfig.lib.tsbuildinfo +1 -1
- package/accordion/accordion-item/accordion-item.component.d.ts +0 -22
- package/accordion/accordion.component.d.ts +0 -10
- package/accordion/accordion.module.d.ts +0 -15
- package/accordion/index.d.ts +0 -3
- package/anchor/anchor.component.d.ts +0 -37
- package/anchor/anchor.directive.d.ts +0 -57
- package/anchor/anchor.module.d.ts +0 -12
- package/anchor/index.d.ts +0 -5
- package/anchor/types.d.ts +0 -14
- package/anchor/utils.d.ts +0 -2
- package/autocomplete/autocomplete-placeholder.component.d.ts +0 -5
- package/autocomplete/autocomplete.component.d.ts +0 -21
- package/autocomplete/autocomplete.directive.d.ts +0 -54
- package/autocomplete/autocomplete.module.d.ts +0 -22
- package/autocomplete/autocomplete.types.d.ts +0 -4
- package/autocomplete/helper-directives.d.ts +0 -5
- package/autocomplete/index.d.ts +0 -8
- package/autocomplete/suggestion/suggestion.component.d.ts +0 -28
- package/autocomplete/suggestion-group/suggestion-group.component.d.ts +0 -11
- package/back-top/back-top.component.d.ts +0 -32
- package/back-top/back-top.module.d.ts +0 -10
- package/back-top/index.d.ts +0 -2
- package/breadcrumb/breadcrumb-item.component.d.ts +0 -14
- package/breadcrumb/breadcrumb.component.d.ts +0 -15
- package/breadcrumb/breadcrumb.module.d.ts +0 -13
- package/breadcrumb/index.d.ts +0 -3
- package/button/button-group/button-group.component.d.ts +0 -5
- package/button/button.component.d.ts +0 -33
- package/button/button.module.d.ts +0 -10
- package/button/button.types.d.ts +0 -15
- package/button/index.d.ts +0 -4
- package/card/card.component.d.ts +0 -6
- package/card/card.module.d.ts +0 -14
- package/card/helper-directives.d.ts +0 -13
- package/card/index.d.ts +0 -4
- package/card/section.component.d.ts +0 -5
- package/checkbox/checkbox-group/checkbox-group.component.d.ts +0 -16
- package/checkbox/checkbox.component.d.ts +0 -28
- package/checkbox/checkbox.module.d.ts +0 -13
- package/checkbox/index.d.ts +0 -3
- package/color-picker/color-picker.component.d.ts +0 -7
- package/color-picker/color-picker.module.d.ts +0 -9
- package/color-picker/index.d.ts +0 -2
- package/core/animation/animation-consts.d.ts +0 -9
- package/date-picker/calendar/constant.d.ts +0 -21
- package/date-picker/calendar/date-picker-panel/component.d.ts +0 -44
- package/date-picker/calendar/footer/component.d.ts +0 -11
- package/date-picker/calendar/header/component.d.ts +0 -40
- package/date-picker/calendar/panel/picker-panel.d.ts +0 -35
- package/date-picker/calendar/range-picker-panel/component.d.ts +0 -51
- package/date-picker/calendar/util.d.ts +0 -34
- package/date-picker/date-picker/date-picker.component.d.ts +0 -32
- package/date-picker/date-picker.module.d.ts +0 -22
- package/date-picker/date-picker.type.d.ts +0 -20
- package/date-picker/index.d.ts +0 -11
- package/date-picker/range-picker/range-picker.component.d.ts +0 -30
- package/date-picker/trigger/trigger.component.d.ts +0 -39
- package/dialog/confirm-dialog/confirm-dialog-config.d.ts +0 -13
- package/dialog/confirm-dialog/confirm-dialog.component.d.ts +0 -24
- package/dialog/dialog-animations.d.ts +0 -31
- package/dialog/dialog-config.d.ts +0 -14
- package/dialog/dialog-container.component.d.ts +0 -7
- package/dialog/dialog-content/dialog-close.directive.d.ts +0 -15
- package/dialog/dialog-content/dialog-content.component.d.ts +0 -11
- package/dialog/dialog-content/dialog-footer.component.d.ts +0 -7
- package/dialog/dialog-content/dialog-header.component.d.ts +0 -18
- package/dialog/dialog-ref.d.ts +0 -18
- package/dialog/dialog.component.d.ts +0 -48
- package/dialog/dialog.module.d.ts +0 -23
- package/dialog/dialog.service.d.ts +0 -28
- package/dialog/dialog.types.d.ts +0 -18
- package/dialog/index.d.ts +0 -11
- package/dialog/utils/errors.d.ts +0 -1
- package/dialog/utils/index.d.ts +0 -4
- package/drawer/component/drawer.component.d.ts +0 -33
- package/drawer/component/internal/internal.component.d.ts +0 -36
- package/drawer/drawer-ref.d.ts +0 -13
- package/drawer/drawer.module.d.ts +0 -15
- package/drawer/drawer.service.d.ts +0 -24
- package/drawer/helper-directives.d.ts +0 -13
- package/drawer/index.d.ts +0 -6
- package/drawer/types.d.ts +0 -26
- package/dropdown/dropdown-active.directive.d.ts +0 -7
- package/dropdown/dropdown-button/dropdown-button.component.d.ts +0 -21
- package/dropdown/dropdown.directive.d.ts +0 -13
- package/dropdown/dropdown.module.d.ts +0 -27
- package/dropdown/dropdown.types.d.ts +0 -9
- package/dropdown/helper-directives.d.ts +0 -5
- package/dropdown/index.d.ts +0 -10
- package/dropdown/menu/menu.component.d.ts +0 -9
- package/dropdown/menu-group/menu-group.component.d.ts +0 -5
- package/dropdown/menu-item/menu-item.component.d.ts +0 -15
- package/dropdown/submenu/submenu.component.d.ts +0 -16
- package/form/common-form.d.ts +0 -36
- package/form/form-item/form-item.component.d.ts +0 -37
- package/form/form.directive.d.ts +0 -21
- package/form/form.module.d.ts +0 -14
- package/form/form.types.d.ts +0 -16
- package/form/helper-directives.d.ts +0 -23
- package/form/index.d.ts +0 -6
- package/i18n/i18n.module.d.ts +0 -7
- package/i18n/i18n.pipe.d.ts +0 -10
- package/i18n/i18n.service.d.ts +0 -11
- package/i18n/i18n.type.d.ts +0 -6
- package/i18n/index.d.ts +0 -6
- package/i18n/language/en.d.ts +0 -2
- package/i18n/language/zh.d.ts +0 -2
- package/icon/icon-register.service.d.ts +0 -15
- package/icon/icon.component.d.ts +0 -25
- package/icon/icon.module.d.ts +0 -9
- package/icon/icons.d.ts +0 -1
- package/icon/index.d.ts +0 -3
- package/icon/utils.d.ts +0 -2
- package/inline-alert/helper-directives.d.ts +0 -5
- package/inline-alert/index.d.ts +0 -4
- package/inline-alert/inline-alert.component.d.ts +0 -19
- package/inline-alert/inline-alert.module.d.ts +0 -13
- package/inline-alert/inline-alert.types.d.ts +0 -10
- package/input/autosize.directive.d.ts +0 -24
- package/input/helper-directives.d.ts +0 -17
- package/input/index.d.ts +0 -8
- package/input/input-group/input-group.component.d.ts +0 -22
- package/input/input.component.d.ts +0 -19
- package/input/input.module.d.ts +0 -18
- package/input/number-input/number-input.component.d.ts +0 -39
- package/input/search/search.component.d.ts +0 -28
- package/input/tags-input/tags-input.component.d.ts +0 -64
- package/input/tags-input/with-max-row-count.d.ts +0 -10
- package/input/utils/index.d.ts +0 -5
- package/internal/types/index.d.ts +0 -12
- package/internal/utils/animations.d.ts +0 -2
- package/internal/utils/async.d.ts +0 -1
- package/internal/utils/bem.d.ts +0 -12
- package/internal/utils/coercion.d.ts +0 -4
- package/internal/utils/fn.d.ts +0 -9
- package/internal/utils/index.d.ts +0 -9
- package/internal/utils/observe-dom.d.ts +0 -3
- package/internal/utils/operators.d.ts +0 -7
- package/internal/utils/scroll-into-view.d.ts +0 -1
- package/internal/utils/styles-renderer.d.ts +0 -18
- package/internal/utils/watch-content-exist.d.ts +0 -2
- package/message/base-message.d.ts +0 -33
- package/message/index.d.ts +0 -3
- package/message/message-animations.d.ts +0 -4
- package/message/message-wrapper.component.d.ts +0 -8
- package/message/message.component.d.ts +0 -30
- package/message/message.config.d.ts +0 -44
- package/message/message.module.d.ts +0 -11
- package/message/message.service.d.ts +0 -12
- package/notification/index.d.ts +0 -4
- package/notification/notification-wrapper.component.d.ts +0 -9
- package/notification/notification.component.d.ts +0 -34
- package/notification/notification.config.d.ts +0 -16
- package/notification/notification.module.d.ts +0 -12
- package/notification/notification.service.d.ts +0 -12
- package/paginator/index.d.ts +0 -3
- package/paginator/paginator-intl.d.ts +0 -20
- package/paginator/paginator.component.d.ts +0 -37
- package/paginator/paginator.module.d.ts +0 -12
- package/radio/base-radio.d.ts +0 -28
- package/radio/index.d.ts +0 -5
- package/radio/radio-button/radio-button.component.d.ts +0 -17
- package/radio/radio-group/radio-group.component.d.ts +0 -20
- package/radio/radio.component.d.ts +0 -13
- package/radio/radio.module.d.ts +0 -15
- package/radio/radio.types.d.ts +0 -7
- package/scrolling/fixed-size-table-virtual-scroll-strategy.d.ts +0 -28
- package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +0 -24
- package/scrolling/fixed-size-virtual-scroll.directive.d.ts +0 -6
- package/scrolling/index.d.ts +0 -6
- package/scrolling/scrolling.module.d.ts +0 -10
- package/scrolling/virtual-for-of.directive.d.ts +0 -13
- package/scrolling/virtual-scroll-viewport.component.d.ts +0 -6
- package/select/base-select.d.ts +0 -83
- package/select/helper-directives.d.ts +0 -22
- package/select/index.d.ts +0 -9
- package/select/multi-select/multi-select.component.d.ts +0 -57
- package/select/option/option.component.d.ts +0 -46
- package/select/option-group/option-group.component.d.ts +0 -11
- package/select/option-placeholder.component.d.ts +0 -5
- package/select/select.component.d.ts +0 -23
- package/select/select.module.d.ts +0 -27
- package/select/select.types.d.ts +0 -19
- package/select/validators.d.ts +0 -22
- package/shared/click-outside.directive.d.ts +0 -10
- package/shared/shared.module.d.ts +0 -7
- package/sort/index.d.ts +0 -5
- package/sort/sort-errors.d.ts +0 -8
- package/sort/sort-header.component.d.ts +0 -24
- package/sort/sort.directive.d.ts +0 -21
- package/sort/sort.module.d.ts +0 -12
- package/sort/sort.types.d.ts +0 -10
- package/status-bar/index.d.ts +0 -3
- package/status-bar/status-bar.component.d.ts +0 -13
- package/status-bar/status-bar.module.d.ts +0 -9
- package/status-bar/status-bar.types.d.ts +0 -21
- package/steps/index.d.ts +0 -3
- package/steps/steps.component.d.ts +0 -35
- package/steps/steps.module.d.ts +0 -9
- package/steps/types.d.ts +0 -16
- package/switch/index.d.ts +0 -2
- package/switch/switch.component.d.ts +0 -11
- package/switch/switch.module.d.ts +0 -8
- package/table/index.d.ts +0 -15
- package/table/table-cell-def.directive.d.ts +0 -10
- package/table/table-cell.component.d.ts +0 -18
- package/table/table-cell.directive.d.ts +0 -10
- package/table/table-column-def.directive.d.ts +0 -11
- package/table/table-column-resizable.directive.d.ts +0 -30
- package/table/table-header-cell-def.directive.d.ts +0 -10
- package/table/table-header-cell.directive.d.ts +0 -9
- package/table/table-header-row-def.directive.d.ts +0 -13
- package/table/table-header-row.component.d.ts +0 -7
- package/table/table-placeholder.directive.d.ts +0 -16
- package/table/table-row-def.directive.d.ts +0 -13
- package/table/table-row.component.d.ts +0 -13
- package/table/table-scroll.directive.d.ts +0 -33
- package/table/table.component.d.ts +0 -20
- package/table/table.module.d.ts +0 -35
- package/table-of-contents/index.d.ts +0 -4
- package/table-of-contents/table-of-contents.module.d.ts +0 -14
- package/table-of-contents/toc-container.directive.d.ts +0 -28
- package/table-of-contents/toc-content.directive.d.ts +0 -14
- package/table-of-contents/toc-link.directive.d.ts +0 -16
- package/tabs/index.d.ts +0 -8
- package/tabs/tab-body.component.d.ts +0 -71
- package/tabs/tab-context.service.d.ts +0 -15
- package/tabs/tab-group.component.d.ts +0 -92
- package/tabs/tab-header-active-indicator.component.d.ts +0 -25
- package/tabs/tab-header.component.d.ts +0 -137
- package/tabs/tab.component.d.ts +0 -48
- package/tabs/tabs.module.d.ts +0 -23
- package/tabs/tabs.types.d.ts +0 -15
- package/tag/check-tag/check-tag.component.d.ts +0 -15
- package/tag/index.d.ts +0 -4
- package/tag/tag.component.d.ts +0 -27
- package/tag/tag.module.d.ts +0 -10
- package/tag/tag.types.d.ts +0 -9
- package/theme/index.d.ts +0 -5
- package/theme/theme.module.d.ts +0 -8
- package/theme/theme.pipe.d.ts +0 -28
- package/theme/theme.service.d.ts +0 -15
- package/theme/theme.types.d.ts +0 -3
- package/theme/utils.d.ts +0 -3
- package/time-picker/component.d.ts +0 -38
- package/time-picker/constant.d.ts +0 -4
- package/time-picker/index.d.ts +0 -5
- package/time-picker/panel/panel.component.d.ts +0 -56
- package/time-picker/time-picker.module.d.ts +0 -20
- package/time-picker/time-picker.type.d.ts +0 -13
- package/tooltip/animations.d.ts +0 -4
- package/tooltip/base-tooltip.d.ts +0 -86
- package/tooltip/index.d.ts +0 -8
- package/tooltip/tooltip-active.directive.d.ts +0 -16
- package/tooltip/tooltip-copy.directive.d.ts +0 -26
- package/tooltip/tooltip-intl.d.ts +0 -11
- package/tooltip/tooltip.component.d.ts +0 -46
- package/tooltip/tooltip.directive.d.ts +0 -10
- package/tooltip/tooltip.module.d.ts +0 -16
- package/tooltip/tooltip.types.d.ts +0 -16
- package/tooltip/utils/index.d.ts +0 -15
- package/tree-select/index.d.ts +0 -4
- package/tree-select/tree-node-placeholder.component.d.ts +0 -5
- package/tree-select/tree-select.component.d.ts +0 -94
- package/tree-select/tree-select.module.d.ts +0 -12
- package/tree-select/tree-select.types.d.ts +0 -11
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, NgZone, OnInit, Renderer2, ViewContainerRef } from '@angular/core';
|
|
3
|
-
import { BaseTooltip } from './base-tooltip';
|
|
4
|
-
import { TooltipCopyIntl } from './tooltip-intl';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TooltipCopyDirective extends BaseTooltip implements OnInit {
|
|
7
|
-
private readonly toolTipIntl;
|
|
8
|
-
className: boolean;
|
|
9
|
-
get auiTooltipCopy(): string;
|
|
10
|
-
set auiTooltipCopy(value: string);
|
|
11
|
-
get auiTooltipCopyTip(): string;
|
|
12
|
-
set auiTooltipCopyTip(value: string);
|
|
13
|
-
get auiTooltipCopySuccessTip(): string;
|
|
14
|
-
set auiTooltipCopySuccessTip(value: string);
|
|
15
|
-
get auiTooltipCopyFailTip(): string;
|
|
16
|
-
set auiTooltipCopyFailTip(value: string);
|
|
17
|
-
private _copyText;
|
|
18
|
-
private _copyTip;
|
|
19
|
-
private _copySuccessTip;
|
|
20
|
-
private _copyFailTip;
|
|
21
|
-
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, elRef: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, ngZone: NgZone, toolTipIntl: TooltipCopyIntl);
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
onSourceClick(): Promise<void>;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipCopyDirective, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipCopyDirective, "[auiTooltipCopy]", never, { "position": { "alias": "auiTooltipPosition"; "required": false; }; "disabled": { "alias": "auiTooltipDisabled"; "required": false; }; "auiTooltipCopy": { "alias": "auiTooltipCopy"; "required": false; }; "auiTooltipCopyTip": { "alias": "auiTooltipCopyTip"; "required": false; }; "auiTooltipCopySuccessTip": { "alias": "auiTooltipCopySuccessTip"; "required": false; }; "auiTooltipCopyFailTip": { "alias": "auiTooltipCopyFailTip"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Texts to render on the code editor.
|
|
4
|
-
*/
|
|
5
|
-
export declare class TooltipCopyIntl {
|
|
6
|
-
copyTip: string;
|
|
7
|
-
copySuccessTip: string;
|
|
8
|
-
copyFailTip: string;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipCopyIntl, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TooltipCopyIntl>;
|
|
11
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { AnimationEvent } from '@angular/animations';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, TemplateRef } from '@angular/core';
|
|
3
|
-
import { Observable, Subject, BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { Bem } from '../internal/utils';
|
|
5
|
-
import { AnimationType } from './animations';
|
|
6
|
-
import { TooltipType } from './tooltip.types';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class TooltipComponent implements OnDestroy {
|
|
9
|
-
elRef: ElementRef<HTMLElement>;
|
|
10
|
-
cdr: ChangeDetectorRef;
|
|
11
|
-
text: string;
|
|
12
|
-
template: TemplateRef<any>;
|
|
13
|
-
bem: Bem;
|
|
14
|
-
showHide: string;
|
|
15
|
-
animationType: AnimationType;
|
|
16
|
-
inputContent$: Observable<TemplateRef<any> | string>;
|
|
17
|
-
inputType$: Observable<TooltipType>;
|
|
18
|
-
inputPosition$: Observable<string>;
|
|
19
|
-
inputClass$: Observable<string>;
|
|
20
|
-
inputContext$: Observable<any>;
|
|
21
|
-
text$: Observable<string>;
|
|
22
|
-
template$: Observable<TemplateRef<any>>;
|
|
23
|
-
class$: Observable<string>;
|
|
24
|
-
context$: Observable<any>;
|
|
25
|
-
hover$: Subject<boolean>;
|
|
26
|
-
destroy$: Subject<unknown>;
|
|
27
|
-
animating$$: BehaviorSubject<boolean>;
|
|
28
|
-
hide$: Subject<unknown>;
|
|
29
|
-
beforeHide$: Subject<unknown>;
|
|
30
|
-
beforeShow$: Subject<unknown>;
|
|
31
|
-
constructor(elRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
setupInputs(inputs: {
|
|
34
|
-
inputContent$: Observable<TemplateRef<any> | string>;
|
|
35
|
-
inputType$: Observable<TooltipType>;
|
|
36
|
-
inputPosition$: Observable<string>;
|
|
37
|
-
inputClass$: Observable<string>;
|
|
38
|
-
inputContext$: Observable<any>;
|
|
39
|
-
animationType?: string;
|
|
40
|
-
}): void;
|
|
41
|
-
onAnimation(event: AnimationEvent): void;
|
|
42
|
-
show(): void;
|
|
43
|
-
hide(): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "aui-tooltip", never, {}, {}, never, never, true, never>;
|
|
46
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AnimationType } from './animations';
|
|
3
|
-
import { BaseTooltip } from './base-tooltip';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TooltipDirective extends BaseTooltip {
|
|
6
|
-
visibleChange: EventEmitter<boolean>;
|
|
7
|
-
animationType: AnimationType;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[auiTooltip]", ["auiTooltip"], { "content": { "alias": "auiTooltip"; "required": false; }; "context": { "alias": "auiTooltipContext"; "required": false; }; "class": { "alias": "auiTooltipClass"; "required": false; }; "type": { "alias": "auiTooltipType"; "required": false; }; "position": { "alias": "auiTooltipPosition"; "required": false; }; "trigger": { "alias": "auiTooltipTrigger"; "required": false; }; "disabled": { "alias": "auiTooltipDisabled"; "required": false; }; "hideOnClick": { "alias": "auiTooltipHideOnClick"; "required": false; }; "animationType": { "alias": "auiTooltipAnimType"; "required": false; }; }, { "visibleChange": "auiTooltipVisibleChange"; }, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TooltipActiveDirective } from './tooltip-active.directive';
|
|
2
|
-
import { TooltipCopyDirective } from './tooltip-copy.directive';
|
|
3
|
-
import { TooltipDirective } from './tooltip.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@angular/cdk/overlay";
|
|
7
|
-
import * as i3 from "./tooltip.directive";
|
|
8
|
-
import * as i4 from "./tooltip.component";
|
|
9
|
-
import * as i5 from "./tooltip-active.directive";
|
|
10
|
-
import * as i6 from "./tooltip-copy.directive";
|
|
11
|
-
export declare class TooltipModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, never, [typeof i1.CommonModule, typeof i2.OverlayModule, typeof i3.TooltipDirective, typeof i4.TooltipComponent, typeof i5.TooltipActiveDirective, typeof i6.TooltipCopyDirective], [typeof i3.TooltipDirective, typeof i5.TooltipActiveDirective, typeof i6.TooltipCopyDirective]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
|
|
15
|
-
}
|
|
16
|
-
export declare const TOOLTIP_MODULE: readonly [typeof TooltipDirective, typeof TooltipActiveDirective, typeof TooltipCopyDirective];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare enum TooltipType {
|
|
2
|
-
Default = "default",
|
|
3
|
-
Primary = "primary",
|
|
4
|
-
Success = "success",
|
|
5
|
-
Warning = "warning",
|
|
6
|
-
Error = "error",
|
|
7
|
-
Info = "info",
|
|
8
|
-
Plain = "plain",
|
|
9
|
-
Empty = "empty"
|
|
10
|
-
}
|
|
11
|
-
export declare enum TooltipTrigger {
|
|
12
|
-
Hover = "hover",
|
|
13
|
-
Click = "click",
|
|
14
|
-
Focus = "focus",
|
|
15
|
-
Manual = "manual"
|
|
16
|
-
}
|
package/tooltip/utils/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HorizontalConnectionPos, OriginConnectionPosition, OverlayConnectionPosition, VerticalConnectionPos } from '@angular/cdk/overlay';
|
|
2
|
-
export declare function getOriginPosition(position: string): {
|
|
3
|
-
main: OriginConnectionPosition;
|
|
4
|
-
fallback: OriginConnectionPosition;
|
|
5
|
-
};
|
|
6
|
-
export declare function getOverlayPosition(position: string): {
|
|
7
|
-
main: OverlayConnectionPosition;
|
|
8
|
-
fallback: OverlayConnectionPosition;
|
|
9
|
-
};
|
|
10
|
-
export declare function invertHorizontal(dir: HorizontalConnectionPos): HorizontalConnectionPos;
|
|
11
|
-
export declare function invertVertical(dir: VerticalConnectionPos): VerticalConnectionPos;
|
|
12
|
-
export declare function invertPosition(x: HorizontalConnectionPos, y: VerticalConnectionPos): {
|
|
13
|
-
x: HorizontalConnectionPos;
|
|
14
|
-
y: VerticalConnectionPos;
|
|
15
|
-
};
|
package/tree-select/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TreeNodePlaceholderComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodePlaceholderComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodePlaceholderComponent, "aui-tree-node-placeholder", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { CommonFormControl } from '../form';
|
|
4
|
-
import { InputComponent } from '../input/input.component';
|
|
5
|
-
import { Bem } from '../internal/utils';
|
|
6
|
-
import { TrackFn } from '../select/select.types';
|
|
7
|
-
import { TooltipDirective } from '../tooltip/tooltip.directive';
|
|
8
|
-
import { TreeNode } from './tree-select.types';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class TreeSelectComponent<T = unknown> extends CommonFormControl<T> {
|
|
11
|
-
get nodesData(): TreeNode<T>[];
|
|
12
|
-
set nodesData(val: TreeNode<T>[]);
|
|
13
|
-
loading: boolean;
|
|
14
|
-
placeholder: string;
|
|
15
|
-
filterable: boolean;
|
|
16
|
-
clearable: boolean;
|
|
17
|
-
leafOnly: boolean;
|
|
18
|
-
filterFn: (filterString: string, node: TreeNode<T>) => boolean;
|
|
19
|
-
trackFn: TrackFn<T>;
|
|
20
|
-
labelFn?: (value: T) => string;
|
|
21
|
-
filterChange: EventEmitter<string>;
|
|
22
|
-
show: EventEmitter<void>;
|
|
23
|
-
hide: EventEmitter<void>;
|
|
24
|
-
protected selectRef: ElementRef<HTMLElement>;
|
|
25
|
-
protected tooltipRef: TooltipDirective;
|
|
26
|
-
nodeListRef: ElementRef<HTMLElement>;
|
|
27
|
-
inputRef: InputComponent;
|
|
28
|
-
private _nodesData;
|
|
29
|
-
private _filterString;
|
|
30
|
-
private readonly filterString$$;
|
|
31
|
-
filterString$: Observable<string>;
|
|
32
|
-
containerWidth: string;
|
|
33
|
-
displayText: string;
|
|
34
|
-
flattedNodes: Array<TreeNode<T>>;
|
|
35
|
-
get isClearable(): string;
|
|
36
|
-
get opened(): boolean;
|
|
37
|
-
get inputReadonly(): boolean;
|
|
38
|
-
get filterString(): string;
|
|
39
|
-
set filterString(val: string);
|
|
40
|
-
updatePosition(): void;
|
|
41
|
-
onVisibleNodes(visible: boolean): void;
|
|
42
|
-
onInput(event: Event): void;
|
|
43
|
-
onNodeClick(node: TreeNodeComponent<T>): void;
|
|
44
|
-
getVisibleNodeCount(): number;
|
|
45
|
-
selectNode(node: TreeNodeComponent<T>): void;
|
|
46
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
47
|
-
openOption(): void;
|
|
48
|
-
closeOption(): void;
|
|
49
|
-
updateSelectDisplay(value: any): void;
|
|
50
|
-
clearValue(event: Event): void;
|
|
51
|
-
protected valueIn(v: T): T;
|
|
52
|
-
getPlaceholder(): string;
|
|
53
|
-
getInputValue(): string;
|
|
54
|
-
trackByLabel: (_: number, node: TreeNode<T>) => string;
|
|
55
|
-
private flatNodesData;
|
|
56
|
-
private getLabelFromNode;
|
|
57
|
-
private _filterFn;
|
|
58
|
-
private _trackFn;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeSelectComponent<any>, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeSelectComponent<any>, "aui-tree-select", never, { "nodesData": { "alias": "nodesData"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "leafOnly": { "alias": "leafOnly"; "required": false; }; "filterFn": { "alias": "filterFn"; "required": false; }; "trackFn": { "alias": "trackFn"; "required": false; }; "labelFn": { "alias": "labelFn"; "required": false; }; }, { "filterChange": "filterChange"; "show": "show"; "hide": "hide"; }, never, ["aui-tree-node-placeholder"], true, never>;
|
|
61
|
-
static ngAcceptInputType_filterable: unknown;
|
|
62
|
-
static ngAcceptInputType_clearable: unknown;
|
|
63
|
-
static ngAcceptInputType_leafOnly: unknown;
|
|
64
|
-
}
|
|
65
|
-
export declare class TreeNodeComponent<T> implements AfterViewInit, OnDestroy {
|
|
66
|
-
private readonly cdr;
|
|
67
|
-
bem: Bem;
|
|
68
|
-
private _nodeData;
|
|
69
|
-
private readonly nodeData$$;
|
|
70
|
-
private readonly destroy$$;
|
|
71
|
-
get nodeData(): TreeNode<T>;
|
|
72
|
-
set nodeData(val: TreeNode<T>);
|
|
73
|
-
leafOnly: boolean;
|
|
74
|
-
titleRef: ElementRef<HTMLElement>;
|
|
75
|
-
childNodes: QueryList<TreeNodeComponent<T>>;
|
|
76
|
-
selected: boolean;
|
|
77
|
-
visible: boolean;
|
|
78
|
-
isLeaf: boolean;
|
|
79
|
-
private readonly select;
|
|
80
|
-
selected$: Observable<boolean>;
|
|
81
|
-
selfVisible$: Observable<boolean>;
|
|
82
|
-
visible$: Observable<boolean>;
|
|
83
|
-
constructor(select: TreeSelectComponent<T>, cdr: ChangeDetectorRef);
|
|
84
|
-
ngAfterViewInit(): void;
|
|
85
|
-
ngOnDestroy(): void;
|
|
86
|
-
onClick(): void;
|
|
87
|
-
switchExpanded(): void;
|
|
88
|
-
getIcon(): string;
|
|
89
|
-
trackByLabel(_: number, data: TreeNode<T>): string;
|
|
90
|
-
scrollToNode(node: TreeNodeComponent<T>): void;
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodeComponent<any>, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodeComponent<any>, "aui-tree-node", never, { "nodeData": { "alias": "nodeData"; "required": false; }; "leafOnly": { "alias": "leafOnly"; "required": false; }; }, {}, never, never, true, never>;
|
|
93
|
-
static ngAcceptInputType_leafOnly: unknown;
|
|
94
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "../tooltip/tooltip.module";
|
|
4
|
-
import * as i3 from "../icon/icon.module";
|
|
5
|
-
import * as i4 from "../input/input.module";
|
|
6
|
-
import * as i5 from "./tree-select.component";
|
|
7
|
-
import * as i6 from "./tree-node-placeholder.component";
|
|
8
|
-
export declare class TreeSelectModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeSelectModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TreeSelectModule, never, [typeof i1.CommonModule, typeof i2.TooltipModule, typeof i3.IconModule, typeof i4.InputModule, typeof i5.TreeSelectComponent, typeof i5.TreeNodeComponent, typeof i6.TreeNodePlaceholderComponent], [typeof i5.TreeSelectComponent, typeof i5.TreeNodeComponent, typeof i6.TreeNodePlaceholderComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TreeSelectModule>;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type NodeFilterFn<T> = (filter: string, node: TreeNode<T>) => boolean;
|
|
2
|
-
export interface TreeNode<T = unknown> {
|
|
3
|
-
label: string;
|
|
4
|
-
value: T;
|
|
5
|
-
children?: Array<TreeNode<T>>;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
expanded?: boolean;
|
|
8
|
-
icon?: string;
|
|
9
|
-
expandedIcon?: string;
|
|
10
|
-
loading?: boolean;
|
|
11
|
-
}
|