@alauda/ui 9.1.1-beta.3 → 9.1.1-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion-item/accordion-item.component.d.ts +22 -0
- package/accordion/accordion.component.d.ts +10 -0
- package/accordion/accordion.module.d.ts +15 -0
- package/accordion/index.d.ts +3 -0
- package/anchor/anchor.component.d.ts +37 -0
- package/anchor/anchor.directive.d.ts +57 -0
- package/anchor/anchor.module.d.ts +12 -0
- package/anchor/index.d.ts +5 -0
- package/anchor/types.d.ts +14 -0
- package/anchor/utils.d.ts +2 -0
- package/autocomplete/autocomplete-placeholder.component.d.ts +5 -0
- package/autocomplete/autocomplete.component.d.ts +21 -0
- package/autocomplete/autocomplete.directive.d.ts +54 -0
- package/autocomplete/autocomplete.module.d.ts +22 -0
- package/autocomplete/autocomplete.types.d.ts +4 -0
- package/autocomplete/helper-directives.d.ts +5 -0
- package/autocomplete/index.d.ts +8 -0
- package/autocomplete/suggestion/suggestion.component.d.ts +28 -0
- package/autocomplete/suggestion-group/suggestion-group.component.d.ts +11 -0
- package/back-top/back-top.component.d.ts +32 -0
- package/back-top/back-top.module.d.ts +10 -0
- package/back-top/index.d.ts +2 -0
- package/breadcrumb/breadcrumb-item.component.d.ts +14 -0
- package/breadcrumb/breadcrumb.component.d.ts +15 -0
- package/breadcrumb/breadcrumb.module.d.ts +13 -0
- package/breadcrumb/index.d.ts +3 -0
- package/button/button-group/button-group.component.d.ts +5 -0
- package/button/button.component.d.ts +33 -0
- package/button/button.module.d.ts +10 -0
- package/button/button.types.d.ts +15 -0
- package/button/index.d.ts +4 -0
- package/card/card.component.d.ts +6 -0
- package/card/card.module.d.ts +14 -0
- package/card/helper-directives.d.ts +13 -0
- package/card/index.d.ts +4 -0
- package/card/section.component.d.ts +5 -0
- package/checkbox/checkbox-group/checkbox-group.component.d.ts +16 -0
- package/checkbox/checkbox.component.d.ts +28 -0
- package/checkbox/checkbox.module.d.ts +13 -0
- package/checkbox/index.d.ts +3 -0
- package/color-picker/color-picker.component.d.ts +7 -0
- package/color-picker/color-picker.module.d.ts +9 -0
- package/color-picker/index.d.ts +2 -0
- package/core/animation/animation-consts.d.ts +9 -0
- package/date-picker/calendar/constant.d.ts +21 -0
- package/date-picker/calendar/date-picker-panel/component.d.ts +44 -0
- package/date-picker/calendar/footer/component.d.ts +11 -0
- package/date-picker/calendar/header/component.d.ts +40 -0
- package/date-picker/calendar/panel/picker-panel.d.ts +35 -0
- package/date-picker/calendar/range-picker-panel/component.d.ts +51 -0
- package/date-picker/calendar/util.d.ts +34 -0
- package/date-picker/date-picker/date-picker.component.d.ts +32 -0
- package/date-picker/date-picker.module.d.ts +22 -0
- package/date-picker/date-picker.type.d.ts +20 -0
- package/date-picker/index.d.ts +11 -0
- package/date-picker/range-picker/range-picker.component.d.ts +30 -0
- package/date-picker/trigger/trigger.component.d.ts +39 -0
- package/dialog/confirm-dialog/confirm-dialog-config.d.ts +13 -0
- package/dialog/confirm-dialog/confirm-dialog.component.d.ts +24 -0
- package/dialog/dialog-animations.d.ts +31 -0
- package/dialog/dialog-config.d.ts +14 -0
- package/dialog/dialog-container.component.d.ts +7 -0
- package/dialog/dialog-content/dialog-close.directive.d.ts +15 -0
- package/dialog/dialog-content/dialog-content.component.d.ts +11 -0
- package/dialog/dialog-content/dialog-footer.component.d.ts +7 -0
- package/dialog/dialog-content/dialog-header.component.d.ts +18 -0
- package/dialog/dialog-ref.d.ts +18 -0
- package/dialog/dialog.component.d.ts +48 -0
- package/dialog/dialog.module.d.ts +23 -0
- package/dialog/dialog.service.d.ts +28 -0
- package/dialog/dialog.types.d.ts +18 -0
- package/dialog/index.d.ts +11 -0
- package/dialog/utils/errors.d.ts +1 -0
- package/dialog/utils/index.d.ts +4 -0
- package/drawer/component/drawer.component.d.ts +33 -0
- package/drawer/component/internal/internal.component.d.ts +36 -0
- package/drawer/drawer-ref.d.ts +13 -0
- package/drawer/drawer.module.d.ts +15 -0
- package/drawer/drawer.service.d.ts +24 -0
- package/drawer/helper-directives.d.ts +13 -0
- package/drawer/index.d.ts +6 -0
- package/drawer/types.d.ts +26 -0
- package/dropdown/dropdown-active.directive.d.ts +7 -0
- package/dropdown/dropdown-button/dropdown-button.component.d.ts +21 -0
- package/dropdown/dropdown.directive.d.ts +13 -0
- package/dropdown/dropdown.module.d.ts +27 -0
- package/dropdown/dropdown.types.d.ts +9 -0
- package/dropdown/helper-directives.d.ts +5 -0
- package/dropdown/index.d.ts +10 -0
- package/dropdown/menu/menu.component.d.ts +9 -0
- package/dropdown/menu-group/menu-group.component.d.ts +5 -0
- package/dropdown/menu-item/menu-item.component.d.ts +15 -0
- package/dropdown/submenu/submenu.component.d.ts +16 -0
- package/fesm2022/alauda-ui.mjs +765 -824
- package/fesm2022/alauda-ui.mjs.map +1 -1
- package/form/common-form.d.ts +36 -0
- package/form/form-item/form-item.component.d.ts +37 -0
- package/form/form.directive.d.ts +21 -0
- package/form/form.module.d.ts +14 -0
- package/form/form.types.d.ts +16 -0
- package/form/helper-directives.d.ts +23 -0
- package/form/index.d.ts +6 -0
- package/i18n/i18n.module.d.ts +7 -0
- package/i18n/i18n.pipe.d.ts +10 -0
- package/i18n/i18n.service.d.ts +11 -0
- package/i18n/i18n.type.d.ts +6 -0
- package/i18n/index.d.ts +6 -0
- package/i18n/language/en.d.ts +2 -0
- package/i18n/language/zh.d.ts +2 -0
- package/icon/icon-register.service.d.ts +15 -0
- package/icon/icon.component.d.ts +25 -0
- package/icon/icon.module.d.ts +9 -0
- package/icon/icons.d.ts +1 -0
- package/icon/index.d.ts +3 -0
- package/icon/utils.d.ts +2 -0
- package/index.d.ts +38 -3671
- package/inline-alert/helper-directives.d.ts +5 -0
- package/inline-alert/index.d.ts +4 -0
- package/inline-alert/inline-alert.component.d.ts +19 -0
- package/inline-alert/inline-alert.module.d.ts +13 -0
- package/inline-alert/inline-alert.types.d.ts +10 -0
- package/input/autosize.directive.d.ts +24 -0
- package/input/helper-directives.d.ts +17 -0
- package/input/index.d.ts +8 -0
- package/input/input-group/input-group.component.d.ts +22 -0
- package/input/input.component.d.ts +19 -0
- package/input/input.module.d.ts +18 -0
- package/input/number-input/number-input.component.d.ts +39 -0
- package/input/search/search.component.d.ts +28 -0
- package/input/tags-input/tags-input.component.d.ts +56 -0
- package/input/tags-input/with-max-row-count.d.ts +10 -0
- package/input/utils/index.d.ts +5 -0
- package/internal/types/index.d.ts +12 -0
- package/internal/utils/animations.d.ts +2 -0
- package/internal/utils/async.d.ts +1 -0
- package/internal/utils/bem.d.ts +12 -0
- package/internal/utils/coercion.d.ts +4 -0
- package/internal/utils/fn.d.ts +9 -0
- package/internal/utils/index.d.ts +9 -0
- package/internal/utils/observe-dom.d.ts +3 -0
- package/internal/utils/operators.d.ts +7 -0
- package/internal/utils/scroll-into-view.d.ts +1 -0
- package/internal/utils/styles-renderer.d.ts +18 -0
- package/internal/utils/watch-content-exist.d.ts +2 -0
- package/message/base-message.d.ts +33 -0
- package/message/index.d.ts +3 -0
- package/message/message-animations.d.ts +4 -0
- package/message/message-wrapper.component.d.ts +8 -0
- package/message/message.component.d.ts +30 -0
- package/message/message.config.d.ts +44 -0
- package/message/message.module.d.ts +11 -0
- package/message/message.service.d.ts +12 -0
- package/notification/index.d.ts +4 -0
- package/notification/notification-wrapper.component.d.ts +9 -0
- package/notification/notification.component.d.ts +34 -0
- package/notification/notification.config.d.ts +16 -0
- package/notification/notification.module.d.ts +12 -0
- package/notification/notification.service.d.ts +12 -0
- package/package.json +3 -3
- package/paginator/index.d.ts +3 -0
- package/paginator/paginator-intl.d.ts +20 -0
- package/paginator/paginator.component.d.ts +37 -0
- package/paginator/paginator.module.d.ts +12 -0
- package/radio/base-radio.d.ts +28 -0
- package/radio/index.d.ts +5 -0
- package/radio/radio-button/radio-button.component.d.ts +17 -0
- package/radio/radio-group/radio-group.component.d.ts +20 -0
- package/radio/radio.component.d.ts +13 -0
- package/radio/radio.module.d.ts +15 -0
- package/radio/radio.types.d.ts +7 -0
- package/scrolling/fixed-size-table-virtual-scroll-strategy.d.ts +28 -0
- package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +24 -0
- package/scrolling/fixed-size-virtual-scroll.directive.d.ts +6 -0
- package/scrolling/index.d.ts +6 -0
- package/scrolling/scrolling.module.d.ts +10 -0
- package/scrolling/virtual-for-of.directive.d.ts +13 -0
- package/scrolling/virtual-scroll-viewport.component.d.ts +6 -0
- package/select/base-select.d.ts +83 -0
- package/select/helper-directives.d.ts +22 -0
- package/select/index.d.ts +9 -0
- package/select/multi-select/multi-select.component.d.ts +57 -0
- package/select/option/option.component.d.ts +46 -0
- package/select/option-group/option-group.component.d.ts +11 -0
- package/select/option-placeholder.component.d.ts +5 -0
- package/select/select.component.d.ts +23 -0
- package/select/select.module.d.ts +27 -0
- package/select/select.types.d.ts +19 -0
- package/select/validators.d.ts +22 -0
- package/shared/click-outside.directive.d.ts +10 -0
- package/shared/shared.module.d.ts +7 -0
- package/sort/index.d.ts +5 -0
- package/sort/sort-errors.d.ts +8 -0
- package/sort/sort-header.component.d.ts +24 -0
- package/sort/sort.directive.d.ts +21 -0
- package/sort/sort.module.d.ts +12 -0
- package/sort/sort.types.d.ts +10 -0
- package/status-bar/index.d.ts +3 -0
- package/status-bar/status-bar.component.d.ts +13 -0
- package/status-bar/status-bar.module.d.ts +9 -0
- package/status-bar/status-bar.types.d.ts +21 -0
- package/steps/index.d.ts +3 -0
- package/steps/steps.component.d.ts +35 -0
- package/steps/steps.module.d.ts +9 -0
- package/steps/types.d.ts +16 -0
- package/switch/index.d.ts +2 -0
- package/switch/switch.component.d.ts +11 -0
- package/switch/switch.module.d.ts +8 -0
- package/table/index.d.ts +15 -0
- package/table/table-cell-def.directive.d.ts +10 -0
- package/table/table-cell.component.d.ts +18 -0
- package/table/table-cell.directive.d.ts +10 -0
- package/table/table-column-def.directive.d.ts +11 -0
- package/table/table-column-resizable.directive.d.ts +30 -0
- package/table/table-header-cell-def.directive.d.ts +10 -0
- package/table/table-header-cell.directive.d.ts +9 -0
- package/table/table-header-row-def.directive.d.ts +13 -0
- package/table/table-header-row.component.d.ts +7 -0
- package/table/table-placeholder.directive.d.ts +16 -0
- package/table/table-row-def.directive.d.ts +13 -0
- package/table/table-row.component.d.ts +13 -0
- package/table/table-scroll.directive.d.ts +33 -0
- package/table/table.component.d.ts +20 -0
- package/table/table.module.d.ts +35 -0
- package/table-of-contents/index.d.ts +4 -0
- package/table-of-contents/table-of-contents.module.d.ts +14 -0
- package/table-of-contents/toc-container.directive.d.ts +28 -0
- package/table-of-contents/toc-content.directive.d.ts +14 -0
- package/table-of-contents/toc-link.directive.d.ts +16 -0
- package/tabs/index.d.ts +8 -0
- package/tabs/tab-body.component.d.ts +71 -0
- package/tabs/tab-context.service.d.ts +15 -0
- package/tabs/tab-group.component.d.ts +92 -0
- package/tabs/tab-header-active-indicator.component.d.ts +25 -0
- package/tabs/tab-header.component.d.ts +137 -0
- package/tabs/tab.component.d.ts +48 -0
- package/tabs/tabs.module.d.ts +23 -0
- package/tabs/tabs.types.d.ts +15 -0
- package/tag/check-tag/check-tag.component.d.ts +15 -0
- package/tag/index.d.ts +4 -0
- package/tag/tag.component.d.ts +27 -0
- package/tag/tag.module.d.ts +10 -0
- package/tag/tag.types.d.ts +9 -0
- package/theme/_mixin.scss +61 -68
- package/theme/_pattern.scss +22 -20
- package/theme/_theme-preset.scss +1 -2
- package/theme/_var.scss +30 -30
- package/theme/index.d.ts +5 -0
- package/theme/style.css +441 -1
- package/theme/theme.module.d.ts +8 -0
- package/theme/theme.pipe.d.ts +28 -0
- package/theme/theme.service.d.ts +15 -0
- package/theme/theme.types.d.ts +3 -0
- package/theme/utils.d.ts +3 -0
- package/time-picker/component.d.ts +38 -0
- package/time-picker/constant.d.ts +4 -0
- package/time-picker/index.d.ts +5 -0
- package/time-picker/panel/panel.component.d.ts +56 -0
- package/time-picker/time-picker.module.d.ts +20 -0
- package/time-picker/time-picker.type.d.ts +13 -0
- package/tooltip/animations.d.ts +4 -0
- package/tooltip/base-tooltip.d.ts +86 -0
- package/tooltip/index.d.ts +8 -0
- package/tooltip/tooltip-active.directive.d.ts +16 -0
- package/tooltip/tooltip-copy.directive.d.ts +26 -0
- package/tooltip/tooltip-intl.d.ts +11 -0
- package/tooltip/tooltip.component.d.ts +46 -0
- package/tooltip/tooltip.directive.d.ts +10 -0
- package/tooltip/tooltip.module.d.ts +16 -0
- package/tooltip/tooltip.types.d.ts +16 -0
- package/tooltip/utils/index.d.ts +15 -0
- package/tree-select/index.d.ts +4 -0
- package/tree-select/tree-node-placeholder.component.d.ts +5 -0
- package/tree-select/tree-select.component.d.ts +94 -0
- package/tree-select/tree-select.module.d.ts +12 -0
- package/tree-select/tree-select.types.d.ts +11 -0
- package/tsconfig.lib.tsbuildinfo +1 -1
- package/theme/overlay-prebuilt.css +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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];
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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];
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
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';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CommonFormControl } from '../form';
|
|
2
|
+
import { Bem } from '../internal/utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SwitchComponent extends CommonFormControl<boolean> {
|
|
5
|
+
bem: Bem;
|
|
6
|
+
loading: boolean;
|
|
7
|
+
onSwitch(): void;
|
|
8
|
+
onBlur(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "aui-switch", never, { "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./switch.component";
|
|
4
|
+
export declare class SwitchModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SwitchModule, never, [typeof i1.CommonModule, typeof i2.SwitchComponent], [typeof i2.SwitchComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SwitchModule>;
|
|
8
|
+
}
|
package/table/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { TableComponent } from './table.component';
|
|
2
|
+
export * from './table.module';
|
|
3
|
+
export * from './table-cell.component';
|
|
4
|
+
export * from './table-cell.directive';
|
|
5
|
+
export * from './table-cell-def.directive';
|
|
6
|
+
export * from './table-column-def.directive';
|
|
7
|
+
export * from './table-column-resizable.directive';
|
|
8
|
+
export * from './table-header-cell.directive';
|
|
9
|
+
export * from './table-header-cell-def.directive';
|
|
10
|
+
export * from './table-header-row.component';
|
|
11
|
+
export * from './table-header-row-def.directive';
|
|
12
|
+
export * from './table-placeholder.directive';
|
|
13
|
+
export * from './table-row.component';
|
|
14
|
+
export * from './table-row-def.directive';
|
|
15
|
+
export * from './table-scroll.directive';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CdkCellDef } from '@angular/cdk/table';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Cell definition for the aui-table.
|
|
5
|
+
* Captures the template of a column's data row cell as well as cell-specific properties.
|
|
6
|
+
*/
|
|
7
|
+
export declare class TableCellDefDirective extends CdkCellDef {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDefDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDefDirective, "[auiTableCellDef]", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CdkCell } from '@angular/cdk/table';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TableExpandButtonCellComponent extends CdkCell {
|
|
5
|
+
expand: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
expandChange: EventEmitter<any>;
|
|
8
|
+
get expanded(): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableExpandButtonCellComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableExpandButtonCellComponent, "aui-table-cell[auiExpandButton]", never, { "expand": { "alias": "expand"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "expandChange": "expandChange"; }, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
export declare class TableExpandPanelCellComponent extends CdkCell {
|
|
13
|
+
expand: boolean;
|
|
14
|
+
background: boolean;
|
|
15
|
+
get expanded(): string;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableExpandPanelCellComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableExpandPanelCellComponent, "aui-table-cell[auiExpandPanel]", never, { "expand": { "alias": "expand"; "required": false; }; "background": { "alias": "background"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CdkCell, CdkColumnDef } from '@angular/cdk/table';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** Cell template container that adds the right classes and role. */
|
|
5
|
+
export declare class TableCellDirective extends CdkCell {
|
|
6
|
+
direction: 'column' | 'row';
|
|
7
|
+
constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDirective, "aui-table-cell", never, { "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CdkColumnDef } from '@angular/cdk/table';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Column definition for the aui-table.
|
|
5
|
+
* Defines a set of cells available for a table column.
|
|
6
|
+
*/
|
|
7
|
+
export declare class TableColumnDefDirective extends CdkColumnDef {
|
|
8
|
+
set auiTableColumnDef(value: string);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnDefDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnDefDirective, "[auiTableColumnDef]", never, { "sticky": { "alias": "sticky"; "required": false; }; "auiTableColumnDef": { "alias": "auiTableColumnDef"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TableColumnResizableDirective implements OnInit, AfterViewInit, OnDestroy {
|
|
4
|
+
minWidth: string;
|
|
5
|
+
maxWidth: string;
|
|
6
|
+
private readonly renderer2;
|
|
7
|
+
private readonly tableColumnDefDirective;
|
|
8
|
+
private readonly tableComponent;
|
|
9
|
+
private readonly columnElement;
|
|
10
|
+
private readonly containerElement;
|
|
11
|
+
private readonly hostAttr;
|
|
12
|
+
private readonly stylesRenderer;
|
|
13
|
+
private resizeSubscription;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
private bindResizable;
|
|
18
|
+
private createResizeHandle;
|
|
19
|
+
private createResizeMarkLine;
|
|
20
|
+
private createResizeOverlay;
|
|
21
|
+
private getColumnWidth;
|
|
22
|
+
private getColumnOffset;
|
|
23
|
+
private getWidthInRange;
|
|
24
|
+
private getResizeRange;
|
|
25
|
+
private getActualWidth;
|
|
26
|
+
private isStickyLeftBorderColumn;
|
|
27
|
+
private renderWidthStyles;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnResizableDirective, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnResizableDirective, "[auiTableColumnResizable]", never, { "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CdkHeaderCellDef } from '@angular/cdk/table';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Header cell definition for the aui-table.
|
|
5
|
+
* Captures the template of a column's header cell and as well as cell-specific properties.
|
|
6
|
+
*/
|
|
7
|
+
export declare class TableHeaderCellDefDirective extends CdkHeaderCellDef {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellDefDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDefDirective, "[auiTableHeaderCellDef]", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CdkColumnDef, CdkHeaderCell } from '@angular/cdk/table';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** Header cell template container that adds the right classes and role. */
|
|
5
|
+
export declare class TableHeaderCellDirective extends CdkHeaderCell {
|
|
6
|
+
constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDirective, "aui-table-header-cell", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CdkHeaderRowDef } from '@angular/cdk/table';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Header row definition for the aui-table.
|
|
5
|
+
* Captures the header row's template and other header properties such as the columns to display.
|
|
6
|
+
*/
|
|
7
|
+
export declare class TableHeaderRowDefDirective extends CdkHeaderRowDef {
|
|
8
|
+
columns: Iterable<string>;
|
|
9
|
+
set auiTableHeaderRowDefSticky(val: boolean);
|
|
10
|
+
get auiTableHeaderRowDefSticky(): boolean;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderRowDefDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderRowDefDirective, "[auiTableHeaderRowDef]", never, { "columns": { "alias": "auiTableHeaderRowDef"; "required": false; }; "auiTableHeaderRowDefSticky": { "alias": "auiTableHeaderRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CdkHeaderRow } from '@angular/cdk/table';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/** Header template container that contains the cell outlet. Adds the right class and role. */
|
|
4
|
+
export declare class TableHeaderRowComponent extends CdkHeaderRow {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderRowComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderRowComponent, "aui-table-header-row", ["auiTableHeaderRow"], {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RowOutlet } from '@angular/cdk/table';
|
|
2
|
+
import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TablePlaceholderDefDirective {
|
|
5
|
+
templateRef: TemplateRef<any>;
|
|
6
|
+
constructor(templateRef: TemplateRef<any>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TablePlaceholderDefDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderDefDirective, "ng-template[auiTablePlaceholderDef]", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class TablePlaceholderOutletDirective implements RowOutlet {
|
|
11
|
+
viewContainer: ViewContainerRef;
|
|
12
|
+
elementRef: ElementRef;
|
|
13
|
+
constructor(viewContainer: ViewContainerRef, elementRef: ElementRef);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TablePlaceholderOutletDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderOutletDirective, "[auiTablePlaceholderOutlet]", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CdkRowDef } from '@angular/cdk/table';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Data row definition for the aui-table.
|
|
5
|
+
* Captures the header row's template and other row properties such as the columns to display and
|
|
6
|
+
* a when predicate that describes when this row should be used.
|
|
7
|
+
*/
|
|
8
|
+
export declare class TableRowDefDirective<T> extends CdkRowDef<T> {
|
|
9
|
+
columns: Iterable<string>;
|
|
10
|
+
set auiTableRowDefWhen(v: (index: number, rowData: T) => boolean);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDefDirective<any>, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDefDirective<any>, "[auiTableRowDef]", never, { "columns": { "alias": "auiTableRowDefColumns"; "required": false; }; "auiTableRowDefWhen": { "alias": "auiTableRowDefWhen"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CdkRow } from '@angular/cdk/table';
|
|
2
|
+
import { AfterContentInit, ElementRef } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
5
|
+
export declare class TableRowComponent extends CdkRow implements AfterContentInit {
|
|
6
|
+
private readonly elRef;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
hasPanel: boolean;
|
|
9
|
+
constructor(elRef: ElementRef<HTMLElement>);
|
|
10
|
+
ngAfterContentInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "aui-table-row", ["auiTableRow"], { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
2
|
+
import { CdkScrollable, ScrollDispatcher } from '@angular/cdk/scrolling';
|
|
3
|
+
import { AfterViewInit, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
4
|
+
import { Subject, BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { TableComponent } from './table.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TableScrollWrapperDirective {
|
|
8
|
+
auiTableScrollWrapper: string;
|
|
9
|
+
elementRef: ElementRef<any>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollWrapperDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollWrapperDirective, "[auiTableScrollWrapper]", never, { "auiTableScrollWrapper": { "alias": "auiTableScrollWrapper"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare class TableScrollableDirective extends CdkScrollable implements AfterViewInit, OnInit, OnDestroy {
|
|
14
|
+
private readonly el;
|
|
15
|
+
private readonly table;
|
|
16
|
+
set scrollable(scrollable: boolean | '');
|
|
17
|
+
get scrollable(): boolean | "";
|
|
18
|
+
private _scrollable;
|
|
19
|
+
scrollable$$: BehaviorSubject<boolean>;
|
|
20
|
+
destroy$$: Subject<void>;
|
|
21
|
+
constructor(el: ElementRef<HTMLElement>, scrollDispatcher: ScrollDispatcher, ngZone: NgZone, table: TableComponent<unknown>, dir?: Directionality);
|
|
22
|
+
className: string;
|
|
23
|
+
get containerEl(): HTMLElement;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
viewMutation(): void;
|
|
28
|
+
mutateVerticalScroll(): void;
|
|
29
|
+
mutateHorizontalScroll(): void;
|
|
30
|
+
placeClassList(classList: DOMTokenList, condition: boolean, className: string): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollableDirective, [null, null, null, { host: true; }, { optional: true; }]>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollableDirective, "[auiTableScrollable]", never, { "scrollable": { "alias": "auiTableScrollable"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
+
}
|