@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,6 +0,0 @@
|
|
|
1
|
-
import { CdkFixedSizeVirtualScroll } from '@angular/cdk/scrolling';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FixedSizeVirtualScrollDirective extends CdkFixedSizeVirtualScroll {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FixedSizeVirtualScrollDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FixedSizeVirtualScrollDirective, "aui-virtual-scroll-viewport[itemSize]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
package/scrolling/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './fixed-size-table-virtual-scroll.directive';
|
|
2
|
-
export * from './fixed-size-table-virtual-scroll-strategy';
|
|
3
|
-
export * from './fixed-size-virtual-scroll.directive';
|
|
4
|
-
export * from './scrolling.module';
|
|
5
|
-
export * from './virtual-for-of.directive';
|
|
6
|
-
export * from './virtual-scroll-viewport.component';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./virtual-scroll-viewport.component";
|
|
3
|
-
import * as i2 from "./fixed-size-table-virtual-scroll.directive";
|
|
4
|
-
import * as i3 from "./fixed-size-virtual-scroll.directive";
|
|
5
|
-
import * as i4 from "./virtual-for-of.directive";
|
|
6
|
-
export declare class ScrollingModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollingModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScrollingModule, never, [typeof i1.VirtualScrollViewportComponent, typeof i2.FixedSizeTableVirtualScrollDirective, typeof i3.FixedSizeVirtualScrollDirective, typeof i4.VirtualForOfDirective], [typeof i1.VirtualScrollViewportComponent, typeof i2.FixedSizeTableVirtualScrollDirective, typeof i3.FixedSizeVirtualScrollDirective, typeof i4.VirtualForOfDirective]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScrollingModule>;
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DataSource } from '@angular/cdk/collections';
|
|
2
|
-
import { CdkVirtualForOf, CdkVirtualForOfContext } from '@angular/cdk/scrolling';
|
|
3
|
-
import { NgIterable, TemplateRef, TrackByFunction } from '@angular/core';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class VirtualForOfDirective<T> extends CdkVirtualForOf<T> {
|
|
7
|
-
set auiVirtualForOf(value: DataSource<T> | NgIterable<T> | Observable<T[]> | null | undefined);
|
|
8
|
-
set auiVirtualForTrackBy(fn: TrackByFunction<T> | undefined);
|
|
9
|
-
set auiVirtualForTemplate(value: TemplateRef<CdkVirtualForOfContext<T>>);
|
|
10
|
-
set auiVirtualForTemplateCacheSize(size: number);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VirtualForOfDirective<any>, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<VirtualForOfDirective<any>, "[auiVirtualFor][auiVirtualForOf]", never, { "auiVirtualForOf": { "alias": "auiVirtualForOf"; "required": false; }; "auiVirtualForTrackBy": { "alias": "auiVirtualForTrackBy"; "required": false; }; "auiVirtualForTemplate": { "alias": "auiVirtualForTemplate"; "required": false; }; "auiVirtualForTemplateCacheSize": { "alias": "auiVirtualForTemplateCacheSize"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class VirtualScrollViewportComponent extends CdkVirtualScrollViewport {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VirtualScrollViewportComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VirtualScrollViewportComponent, "aui-virtual-scroll-viewport", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
-
}
|
package/select/base-select.d.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
3
|
-
import { CommonFormControl } from '../form';
|
|
4
|
-
import { ComponentSize } from '../internal/types';
|
|
5
|
-
import { TooltipDirective } from '../tooltip';
|
|
6
|
-
import { OptionContentDirective } from './helper-directives';
|
|
7
|
-
import { OptionComponent } from './option/option.component';
|
|
8
|
-
import { OptionFilterFn, SelectFilterOption, TrackFn } from './select.types';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare abstract class BaseSelect<T, V = T> extends CommonFormControl<V> implements AfterContentInit, AfterViewInit, OnDestroy {
|
|
11
|
-
get size(): ComponentSize;
|
|
12
|
-
set size(val: ComponentSize);
|
|
13
|
-
filterable: boolean;
|
|
14
|
-
clearable: boolean;
|
|
15
|
-
filterFn: OptionFilterFn<T>;
|
|
16
|
-
trackFn: TrackFn<T>;
|
|
17
|
-
labelFn?: (value: T) => string;
|
|
18
|
-
allowCreate: boolean;
|
|
19
|
-
get allOptions(): OptionComponent<T>[];
|
|
20
|
-
get opened(): boolean;
|
|
21
|
-
get inaction(): boolean;
|
|
22
|
-
get filterString(): string;
|
|
23
|
-
set filterString(val: string);
|
|
24
|
-
loading: boolean;
|
|
25
|
-
placeholder: string;
|
|
26
|
-
defaultFirstOption: boolean;
|
|
27
|
-
lazy: boolean;
|
|
28
|
-
filterChange: EventEmitter<string>;
|
|
29
|
-
show: EventEmitter<void>;
|
|
30
|
-
hide: EventEmitter<void>;
|
|
31
|
-
protected selectRef: ElementRef<HTMLElement>;
|
|
32
|
-
protected tooltipRef: TooltipDirective;
|
|
33
|
-
protected optionListRef: ElementRef<HTMLDivElement>;
|
|
34
|
-
protected inputtingOption: OptionComponent<T>;
|
|
35
|
-
protected optionContent?: OptionContentDirective;
|
|
36
|
-
customOptions: QueryList<OptionComponent<T>>;
|
|
37
|
-
contentOptions: QueryList<OptionComponent<T>>;
|
|
38
|
-
isTemplateRef: (label: any) => label is import("@angular/core").TemplateRef<unknown>;
|
|
39
|
-
isMulti: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Utility field to make sure the users always see the value as type array
|
|
42
|
-
*/
|
|
43
|
-
abstract readonly values$: Observable<T[]>;
|
|
44
|
-
allOptions$: Observable<Array<OptionComponent<T>>>;
|
|
45
|
-
protected focusedOption: OptionComponent<T>;
|
|
46
|
-
private _size;
|
|
47
|
-
private _filterString;
|
|
48
|
-
protected destroy$$: Subject<void>;
|
|
49
|
-
protected size$$: BehaviorSubject<ComponentSize>;
|
|
50
|
-
private readonly filterString$$;
|
|
51
|
-
size$: Observable<ComponentSize>;
|
|
52
|
-
filterString$: Observable<string>;
|
|
53
|
-
optionVisibles$: Observable<boolean[]>;
|
|
54
|
-
hasVisibleOption$: Observable<boolean>;
|
|
55
|
-
hasMatchedOption$: Observable<boolean>;
|
|
56
|
-
customCreatedOptions$: Observable<Array<SelectFilterOption<T>>>;
|
|
57
|
-
containerWidth: string;
|
|
58
|
-
ngAfterContentInit(): void;
|
|
59
|
-
ngAfterViewInit(): void;
|
|
60
|
-
ngOnDestroy(): void;
|
|
61
|
-
openOption(): void;
|
|
62
|
-
closeOption(): void;
|
|
63
|
-
onShowOptions(): void;
|
|
64
|
-
onHideOptions(): void;
|
|
65
|
-
onInput(event: Event): void;
|
|
66
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
67
|
-
onOptionClick(option: OptionComponent<T>): void;
|
|
68
|
-
protected autoFocusFirstOption(): void;
|
|
69
|
-
protected focusOptionDir(dir: 'down' | 'up'): void;
|
|
70
|
-
protected resetFocusedOption(focusedOption?: OptionComponent<T>): void;
|
|
71
|
-
protected scrollToOption(option: OptionComponent<T>): void;
|
|
72
|
-
protected selectFocusedOption(): void;
|
|
73
|
-
protected escSelect(): void;
|
|
74
|
-
private _trackFn;
|
|
75
|
-
private _filterFn;
|
|
76
|
-
abstract selectOption(option: OptionComponent<T>): void;
|
|
77
|
-
abstract clearValue(event: Event): void;
|
|
78
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseSelect<any, any>, never>;
|
|
79
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseSelect<any, any>, never, never, { "size": { "alias": "size"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "filterFn": { "alias": "filterFn"; "required": false; }; "trackFn": { "alias": "trackFn"; "required": false; }; "labelFn": { "alias": "labelFn"; "required": false; }; "allowCreate": { "alias": "allowCreate"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "defaultFirstOption": { "alias": "defaultFirstOption"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; }, { "filterChange": "filterChange"; "show": "show"; "hide": "hide"; }, ["optionContent", "contentOptions"], never, true, never>;
|
|
80
|
-
static ngAcceptInputType_filterable: unknown;
|
|
81
|
-
static ngAcceptInputType_clearable: unknown;
|
|
82
|
-
static ngAcceptInputType_allowCreate: unknown;
|
|
83
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, Injector, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OptionGroupTitleDirective {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OptionGroupTitleDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OptionGroupTitleDirective, "[auiOptionGroupTitle]", ["auiOptionGroupTitle"], {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
7
|
-
export declare class OptionContentDirective implements OnDestroy {
|
|
8
|
-
private readonly templateRef;
|
|
9
|
-
private readonly appRef;
|
|
10
|
-
private readonly viewContainerRef;
|
|
11
|
-
private readonly componentFactoryResolver;
|
|
12
|
-
private readonly injector;
|
|
13
|
-
private portal;
|
|
14
|
-
private outlet;
|
|
15
|
-
private readonly doc;
|
|
16
|
-
constructor(templateRef: TemplateRef<unknown>, appRef: ApplicationRef, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, injector: Injector, document: any);
|
|
17
|
-
attach(context?: any): void;
|
|
18
|
-
detach(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OptionContentDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OptionContentDirective, "*[auiOptionContent]", ["auiOptionContent"], {}, {}, never, never, true, never>;
|
|
22
|
-
}
|
package/select/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './helper-directives';
|
|
2
|
-
export * from './multi-select/multi-select.component';
|
|
3
|
-
export * from './option/option.component';
|
|
4
|
-
export * from './option-group/option-group.component';
|
|
5
|
-
export * from './option-placeholder.component';
|
|
6
|
-
export * from './select.component';
|
|
7
|
-
export * from './select.module';
|
|
8
|
-
export * from './select.types';
|
|
9
|
-
export * from './validators';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Bem } from '../../internal/utils';
|
|
4
|
-
import { BaseSelect } from '../base-select';
|
|
5
|
-
import { OptionComponent } from '../option/option.component';
|
|
6
|
-
import { SelectAllStatus, SelectFilterOption, TagClassFn } from '../select.types';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class MultiSelectComponent<T = unknown> extends BaseSelect<T, T[]> implements AfterContentInit, AfterViewInit {
|
|
9
|
-
private readonly renderer;
|
|
10
|
-
bem: Bem;
|
|
11
|
-
bemSelectAll: Bem;
|
|
12
|
-
selectedOptions$: Observable<Array<SelectFilterOption<T>>>;
|
|
13
|
-
selectAllStatus$: Observable<SelectAllStatus>;
|
|
14
|
-
selectAllStatus: SelectAllStatus;
|
|
15
|
-
hasEnabledOptions$: Observable<boolean>;
|
|
16
|
-
isMulti: boolean;
|
|
17
|
-
model: T[];
|
|
18
|
-
values$: import("rxjs").ReplaySubject<T[]>;
|
|
19
|
-
tagClassFn: TagClassFn<T>;
|
|
20
|
-
maxRowCount: number;
|
|
21
|
-
customRowHeight: number;
|
|
22
|
-
allowSelectAll: boolean;
|
|
23
|
-
inputRef: ElementRef<HTMLInputElement>;
|
|
24
|
-
inputValueMirror: ElementRef<HTMLElement>;
|
|
25
|
-
get hostPosition(): string;
|
|
26
|
-
get hostDisplay(): string;
|
|
27
|
-
inputValue: string;
|
|
28
|
-
hasDisabledOption: boolean;
|
|
29
|
-
get rootClass(): string;
|
|
30
|
-
get tagSize(): "medium" | "mini";
|
|
31
|
-
get inputClass(): string;
|
|
32
|
-
get displayClearBtn(): number;
|
|
33
|
-
get maxHeight(): string;
|
|
34
|
-
private readonly withMaxRowCount;
|
|
35
|
-
focused: boolean;
|
|
36
|
-
trackByValue: (_: number, item: SelectFilterOption<T>) => unknown;
|
|
37
|
-
constructor(cdr: ChangeDetectorRef, renderer: Renderer2);
|
|
38
|
-
ngAfterContentInit(): void;
|
|
39
|
-
ngAfterViewInit(): void;
|
|
40
|
-
onVisibleOptions(visible: boolean): void;
|
|
41
|
-
onInput(event: Event): void;
|
|
42
|
-
onInputFocus(): void;
|
|
43
|
-
onInputBlur(): void;
|
|
44
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
45
|
-
selectOption(option: OptionComponent<T>): void;
|
|
46
|
-
addValue(value: T): void;
|
|
47
|
-
removeValue(value: T): void;
|
|
48
|
-
clearValue(event: Event): void;
|
|
49
|
-
onSelectAllClick(): void;
|
|
50
|
-
private includes;
|
|
51
|
-
protected valueIn(v: T[]): T[];
|
|
52
|
-
private resetInput;
|
|
53
|
-
private setInputWidth;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent<any>, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent<any>, "aui-multi-select", never, { "tagClassFn": { "alias": "tagClassFn"; "required": false; }; "maxRowCount": { "alias": "maxRowCount"; "required": false; }; "customRowHeight": { "alias": "customRowHeight"; "required": false; }; "allowSelectAll": { "alias": "allowSelectAll"; "required": false; }; }, {}, never, ["*", "aui-option-placeholder"], true, never>;
|
|
56
|
-
static ngAcceptInputType_allowSelectAll: unknown;
|
|
57
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ComponentSize } from '../../internal/types';
|
|
4
|
-
import { Bem } from '../../internal/utils';
|
|
5
|
-
import { BaseSelect } from '../base-select';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class OptionComponent<T> {
|
|
8
|
-
private readonly cdr;
|
|
9
|
-
bem: Bem;
|
|
10
|
-
private _disabled;
|
|
11
|
-
private _label;
|
|
12
|
-
private _labelContext;
|
|
13
|
-
private _value;
|
|
14
|
-
private readonly label$$;
|
|
15
|
-
private readonly labelContext$$;
|
|
16
|
-
private readonly value$$;
|
|
17
|
-
private readonly disabled$$;
|
|
18
|
-
get label(): string | TemplateRef<unknown>;
|
|
19
|
-
set label(val: string | TemplateRef<unknown>);
|
|
20
|
-
get labelContext(): unknown;
|
|
21
|
-
set labelContext(val: unknown);
|
|
22
|
-
get value(): T;
|
|
23
|
-
set value(val: T);
|
|
24
|
-
get disabled(): boolean;
|
|
25
|
-
set disabled(val: boolean | '');
|
|
26
|
-
isMulti: boolean;
|
|
27
|
-
elRef: ElementRef<HTMLDivElement>;
|
|
28
|
-
private readonly select;
|
|
29
|
-
selected: boolean;
|
|
30
|
-
visible: boolean;
|
|
31
|
-
size: ComponentSize;
|
|
32
|
-
focused: boolean;
|
|
33
|
-
value$: Observable<T>;
|
|
34
|
-
label$: Observable<string | TemplateRef<unknown>>;
|
|
35
|
-
labelContext$: Observable<unknown>;
|
|
36
|
-
disabled$: Observable<boolean>;
|
|
37
|
-
selected$: Observable<boolean>;
|
|
38
|
-
size$: Observable<ComponentSize>;
|
|
39
|
-
visible$: Observable<boolean>;
|
|
40
|
-
constructor(cdr: ChangeDetectorRef, select: BaseSelect<T>);
|
|
41
|
-
onClick(): void;
|
|
42
|
-
focus(): void;
|
|
43
|
-
blur(): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent<any>, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent<any>, "aui-option", never, { "label": { "alias": "label"; "required": false; }; "labelContext": { "alias": "labelContext"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
46
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, QueryList } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { OptionComponent } from '../option/option.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class OptionGroupComponent<T> implements AfterContentInit {
|
|
6
|
-
options: QueryList<OptionComponent<T>>;
|
|
7
|
-
hasVisibleOption$: Observable<boolean>;
|
|
8
|
-
ngAfterContentInit(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OptionGroupComponent<any>, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionGroupComponent<any>, "aui-option-group", never, {}, {}, ["options"], ["[auiOptionGroupTitle]", "*"], true, never>;
|
|
11
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class OptionPlaceholderComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OptionPlaceholderComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionPlaceholderComponent, "aui-option-placeholder", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { InputComponent } from '../input';
|
|
4
|
-
import { BaseSelect } from './base-select';
|
|
5
|
-
import { OptionComponent } from './option/option.component';
|
|
6
|
-
import { SelectOption } from './select.types';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SelectComponent<T = unknown> extends BaseSelect<T> implements AfterContentInit {
|
|
9
|
-
inputRef: InputComponent;
|
|
10
|
-
values$: Observable<T[]>;
|
|
11
|
-
selectedOption$: Observable<SelectOption>;
|
|
12
|
-
hasSelected$: Observable<boolean>;
|
|
13
|
-
get rootClass(): string;
|
|
14
|
-
get containerClass(): string;
|
|
15
|
-
isClearable: (hasSelected: boolean) => boolean;
|
|
16
|
-
ngAfterContentInit(): void;
|
|
17
|
-
onVisibleOptions(visible: boolean): void;
|
|
18
|
-
protected valueIn(v: T): T;
|
|
19
|
-
selectOption(option: OptionComponent<T>): void;
|
|
20
|
-
clearValue(event: Event): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent<any>, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "aui-select", never, {}, {}, never, ["*", "aui-option-placeholder"], true, never>;
|
|
23
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { OptionContentDirective, OptionGroupTitleDirective } from './helper-directives';
|
|
2
|
-
import { MultiSelectComponent } from './multi-select/multi-select.component';
|
|
3
|
-
import { OptionComponent } from './option/option.component';
|
|
4
|
-
import { OptionGroupComponent } from './option-group/option-group.component';
|
|
5
|
-
import { OptionPlaceholderComponent } from './option-placeholder.component';
|
|
6
|
-
import { SelectComponent } from './select.component';
|
|
7
|
-
import { IncludesDirective } from './validators';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@angular/common";
|
|
10
|
-
import * as i2 from "../input/input.module";
|
|
11
|
-
import * as i3 from "../i18n/i18n.module";
|
|
12
|
-
import * as i4 from "../icon/icon.module";
|
|
13
|
-
import * as i5 from "../tooltip/tooltip.module";
|
|
14
|
-
import * as i6 from "../tag/tag.module";
|
|
15
|
-
import * as i7 from "./select.component";
|
|
16
|
-
import * as i8 from "./option/option.component";
|
|
17
|
-
import * as i9 from "./option-group/option-group.component";
|
|
18
|
-
import * as i10 from "./option-placeholder.component";
|
|
19
|
-
import * as i11 from "./multi-select/multi-select.component";
|
|
20
|
-
import * as i12 from "./validators";
|
|
21
|
-
import * as i13 from "./helper-directives";
|
|
22
|
-
export declare class SelectModule {
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, never, [typeof i1.CommonModule, typeof i2.InputModule, typeof i3.I18nModule, typeof i4.IconModule, typeof i5.TooltipModule, typeof i6.TagModule, typeof i7.SelectComponent, typeof i8.OptionComponent, typeof i9.OptionGroupComponent, typeof i10.OptionPlaceholderComponent, typeof i11.MultiSelectComponent, typeof i12.IncludesDirective, typeof i13.OptionGroupTitleDirective, typeof i13.OptionContentDirective], [typeof i7.SelectComponent, typeof i8.OptionComponent, typeof i9.OptionGroupComponent, typeof i10.OptionPlaceholderComponent, typeof i11.MultiSelectComponent, typeof i12.IncludesDirective, typeof i13.OptionGroupTitleDirective, typeof i13.OptionContentDirective]>;
|
|
25
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
|
|
26
|
-
}
|
|
27
|
-
export declare const SELECT_MODULE: readonly [typeof SelectComponent, typeof OptionComponent, typeof OptionGroupComponent, typeof OptionPlaceholderComponent, typeof MultiSelectComponent, typeof IncludesDirective, typeof OptionGroupTitleDirective, typeof OptionContentDirective];
|
package/select/select.types.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
export interface SelectOption {
|
|
3
|
-
label: TemplateRef<unknown> | string;
|
|
4
|
-
labelContext?: unknown;
|
|
5
|
-
}
|
|
6
|
-
export interface SelectFilterOption<T> extends SelectOption {
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
value: T;
|
|
9
|
-
}
|
|
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 TemplateRef<unknown> | string = TemplateRef<unknown> | string> = (label: T, value: V) => Set<string> | string[] | string | {
|
|
13
|
-
[className: string]: unknown;
|
|
14
|
-
};
|
|
15
|
-
export declare enum SelectAllStatus {
|
|
16
|
-
Empty = "",
|
|
17
|
-
Checked = "checked",
|
|
18
|
-
Indeterminate = "indeterminate"
|
|
19
|
-
}
|
package/select/validators.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors, Validator, ValidatorFn } from '@angular/forms';
|
|
3
|
-
import { SelectComponent } from './select.component';
|
|
4
|
-
import { TrackFn } from './select.types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AuiSelectValidators {
|
|
7
|
-
static includes<T>(options: T[], trackFn?: TrackFn<T>): ValidatorFn;
|
|
8
|
-
}
|
|
9
|
-
export declare class IncludesDirective<T> implements Validator, AfterContentInit {
|
|
10
|
-
private readonly selectRef;
|
|
11
|
-
get includes(): boolean | "";
|
|
12
|
-
set includes(val: boolean | '');
|
|
13
|
-
trackFn: TrackFn<T>;
|
|
14
|
-
private _includes;
|
|
15
|
-
onValidatorChange: () => void;
|
|
16
|
-
constructor(selectRef: SelectComponent<T>);
|
|
17
|
-
ngAfterContentInit(): void;
|
|
18
|
-
registerOnValidatorChange(fn: () => void): void;
|
|
19
|
-
validate(control: AbstractControl): ValidationErrors;
|
|
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": { "alias": "includes"; "required": false; }; "trackFn": { "alias": "trackFn"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ClickOutsideDirective {
|
|
4
|
-
private readonly el;
|
|
5
|
-
auiClickOutside: EventEmitter<Event>;
|
|
6
|
-
onBodyClick(event: Event): void;
|
|
7
|
-
constructor(el: ElementRef<HTMLElement>);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[auiClickOutside]", ["auiClickOutside"], {}, { "auiClickOutside": "auiClickOutside"; }, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./click-outside.directive";
|
|
3
|
-
export declare class SharedModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.ClickOutsideDirective], [typeof i1.ClickOutsideDirective]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
7
|
-
}
|
package/sort/index.d.ts
DELETED
package/sort/sort-errors.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** @docs-private */
|
|
2
|
-
export declare function getSortDuplicateSortableIdError(id: string): Error;
|
|
3
|
-
/** @docs-private */
|
|
4
|
-
export declare function getSortHeaderNotContainedWithinSortError(): Error;
|
|
5
|
-
/** @docs-private */
|
|
6
|
-
export declare function getSortHeaderMissingIdError(): Error;
|
|
7
|
-
/** @docs-private */
|
|
8
|
-
export declare function getSortInvalidDirectionError(direction: string): Error;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { CdkColumnDef } from '@angular/cdk/table';
|
|
2
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
-
import { Bem } from '../internal/utils';
|
|
4
|
-
import { SortDirective } from './sort.directive';
|
|
5
|
-
import { ArrowViewState, SortDirection, Sortable } from './sort.types';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SortHeaderComponent implements Sortable, OnInit, OnDestroy {
|
|
8
|
-
_sort: SortDirective;
|
|
9
|
-
_cdkColumnRef: CdkColumnDef;
|
|
10
|
-
private readonly _rerenderSubscription;
|
|
11
|
-
_viewState: ArrowViewState;
|
|
12
|
-
arrowDirection: SortDirection;
|
|
13
|
-
id: string;
|
|
14
|
-
start: 'asc' | 'desc';
|
|
15
|
-
bem: Bem;
|
|
16
|
-
constructor(cdr: ChangeDetectorRef, _sort: SortDirective, _cdkColumnRef: CdkColumnDef);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
_handleClick(): void;
|
|
20
|
-
_isSorted(): boolean;
|
|
21
|
-
_updateArrowDirection(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SortHeaderComponent, [null, { optional: true; }, { optional: true; }]>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SortHeaderComponent, "[aui-sort-header]", never, { "id": { "alias": "aui-sort-header"; "required": false; }; "start": { "alias": "start"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
24
|
-
}
|
package/sort/sort.directive.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { Sort, SortDirection, Sortable } from './sort.types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SortDirective implements OnChanges, OnDestroy {
|
|
6
|
-
sortables: Map<string, Sortable>;
|
|
7
|
-
readonly _stateChanges: Subject<void>;
|
|
8
|
-
active: string;
|
|
9
|
-
start: 'asc' | 'desc';
|
|
10
|
-
get direction(): SortDirection;
|
|
11
|
-
set direction(direction: SortDirection);
|
|
12
|
-
private _direction;
|
|
13
|
-
readonly sortChange: EventEmitter<Sort>;
|
|
14
|
-
register(sortable: Sortable): void;
|
|
15
|
-
deregister(sortable: Sortable): void;
|
|
16
|
-
sort(sortable: Sortable): void;
|
|
17
|
-
ngOnChanges(): void;
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SortDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SortDirective, "[auiSort]", ["auiSort"], { "active": { "alias": "active"; "required": false; }; "start": { "alias": "start"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, { "sortChange": "sortChange"; }, never, never, true, never>;
|
|
21
|
-
}
|
package/sort/sort.module.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SortHeaderComponent } from './sort-header.component';
|
|
2
|
-
import { SortDirective } from './sort.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "./sort.directive";
|
|
6
|
-
import * as i3 from "./sort-header.component";
|
|
7
|
-
export declare class SortModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SortModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SortModule, never, [typeof i1.CommonModule, typeof i2.SortDirective, typeof i3.SortHeaderComponent], [typeof i2.SortDirective, typeof i3.SortHeaderComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SortModule>;
|
|
11
|
-
}
|
|
12
|
-
export declare const SORT_MODULE: readonly [typeof SortDirective, typeof SortHeaderComponent];
|
package/sort/sort.types.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type SortDirection = '' | 'asc' | 'desc';
|
|
2
|
-
export type ArrowViewState = SortDirection | 'active' | 'hint';
|
|
3
|
-
export interface Sortable {
|
|
4
|
-
id: string;
|
|
5
|
-
start: 'asc' | 'desc';
|
|
6
|
-
}
|
|
7
|
-
export interface Sort {
|
|
8
|
-
active: string;
|
|
9
|
-
direction: SortDirection;
|
|
10
|
-
}
|
package/status-bar/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Bem } from '../internal/utils';
|
|
3
|
-
import { Status, StatusBarSize } from './status-bar.types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class StatusBarComponent {
|
|
6
|
-
bem: Bem;
|
|
7
|
-
status: Status[];
|
|
8
|
-
size: StatusBarSize;
|
|
9
|
-
template: TemplateRef<any>;
|
|
10
|
-
statusClick: EventEmitter<Status>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "aui-status-bar", never, { "status": { "alias": "status"; "required": false; }; "size": { "alias": "size"; "required": false; }; "template": { "alias": "template"; "required": false; }; }, { "statusClick": "statusClick"; }, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,9 +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 "./status-bar.component";
|
|
5
|
-
export declare class StatusBarModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StatusBarModule, never, [typeof i1.CommonModule, typeof i2.TooltipModule, typeof i3.StatusBarComponent], [typeof i3.StatusBarComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<StatusBarModule>;
|
|
9
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ValueOf } from '../internal/types';
|
|
2
|
-
export interface Status {
|
|
3
|
-
type?: StatusType;
|
|
4
|
-
class?: string;
|
|
5
|
-
scale: number;
|
|
6
|
-
[key: string]: unknown;
|
|
7
|
-
}
|
|
8
|
-
export declare const StatusType: {
|
|
9
|
-
readonly Primary: "primary";
|
|
10
|
-
readonly Success: "success";
|
|
11
|
-
readonly Warning: "warning";
|
|
12
|
-
readonly Error: "error";
|
|
13
|
-
readonly Info: "info";
|
|
14
|
-
readonly Pending: "pending";
|
|
15
|
-
};
|
|
16
|
-
export type StatusType = ValueOf<typeof StatusType>;
|
|
17
|
-
export declare const StatusBarSize: {
|
|
18
|
-
readonly Medium: "medium";
|
|
19
|
-
readonly Small: "small";
|
|
20
|
-
};
|
|
21
|
-
export type StatusBarSize = ValueOf<typeof StatusBarSize>;
|
package/steps/index.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { StepItem, StepState, StepsOrientation, StepsType } from './types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class StepsComponent implements OnInit, OnDestroy {
|
|
6
|
-
_currentIndex: number;
|
|
7
|
-
private _steps;
|
|
8
|
-
get steps(): StepItem[];
|
|
9
|
-
set steps(val: StepItem[]);
|
|
10
|
-
get currentIndex(): number;
|
|
11
|
-
set currentIndex(index: number);
|
|
12
|
-
orientation: StepsOrientation;
|
|
13
|
-
type: StepsType;
|
|
14
|
-
selectable: boolean;
|
|
15
|
-
currentIndexChange: EventEmitter<number>;
|
|
16
|
-
selectedIndexChange: EventEmitter<number>;
|
|
17
|
-
currentIndexChange$$: BehaviorSubject<number>;
|
|
18
|
-
stepsChange$$: BehaviorSubject<StepItem[]>;
|
|
19
|
-
selectedIndex: number;
|
|
20
|
-
private readonly destroy$$;
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
private setCurrentIndex;
|
|
23
|
-
private getProgressCurrentIndex;
|
|
24
|
-
get isVertical(): boolean;
|
|
25
|
-
get isProgress(): boolean;
|
|
26
|
-
get activeIndex(): number;
|
|
27
|
-
getIcon(i: number, state?: StepState): string;
|
|
28
|
-
select(i: number): void;
|
|
29
|
-
isSelectable(i: number): boolean;
|
|
30
|
-
getActiveIndex(): number;
|
|
31
|
-
isLastActive(i: number, steps: StepItem[]): boolean;
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepsComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "aui-steps", ["auiSteps"], { "steps": { "alias": "steps"; "required": false; }; "currentIndex": { "alias": "currentIndex"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "type": { "alias": "type"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; }, { "currentIndexChange": "currentIndexChange"; "selectedIndexChange": "selectedIndexChange"; }, never, never, true, never>;
|
|
35
|
-
}
|
package/steps/steps.module.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "../icon/icon.module";
|
|
4
|
-
import * as i3 from "./steps.component";
|
|
5
|
-
export declare class StepsModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepsModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StepsModule, never, [typeof i1.CommonModule, typeof i2.IconModule, typeof i3.StepsComponent], [typeof i3.StepsComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<StepsModule>;
|
|
9
|
-
}
|
package/steps/types.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ValueOf } from '../internal/types';
|
|
2
|
-
export declare const StepState: {
|
|
3
|
-
readonly Default: "default";
|
|
4
|
-
readonly Done: "done";
|
|
5
|
-
readonly Error: "error";
|
|
6
|
-
readonly Pending: "pending";
|
|
7
|
-
};
|
|
8
|
-
export type StepState = ValueOf<typeof StepState>;
|
|
9
|
-
export interface StepItem {
|
|
10
|
-
label: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
state?: StepState;
|
|
13
|
-
optional?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export type StepsOrientation = 'horizontal' | 'vertical';
|
|
16
|
-
export type StepsType = 'progress' | 'step';
|
package/switch/index.d.ts
DELETED