@alauda/ui 9.1.2-beta.1 → 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,10 +0,0 @@
|
|
|
1
|
-
import { ComponentSize } from '../../internal/types';
|
|
2
|
-
export declare function createWithMaxRowCount<T extends {
|
|
3
|
-
maxRowCount: number;
|
|
4
|
-
customRowHeight?: number;
|
|
5
|
-
size: ComponentSize;
|
|
6
|
-
}>(component: T): {
|
|
7
|
-
hostPosition: () => string;
|
|
8
|
-
hostDisplay: () => string;
|
|
9
|
-
maxHeight: () => string;
|
|
10
|
-
};
|
package/input/utils/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type ValueOf<T> = T[keyof T];
|
|
2
|
-
export declare const ComponentSize: {
|
|
3
|
-
readonly Large: "large";
|
|
4
|
-
readonly Medium: "medium";
|
|
5
|
-
readonly Small: "small";
|
|
6
|
-
readonly Mini: "mini";
|
|
7
|
-
/**
|
|
8
|
-
* represents default internally, @link https://github.com/angular/vscode-ng-language-service/issues/1147
|
|
9
|
-
*/
|
|
10
|
-
readonly Empty: "";
|
|
11
|
-
};
|
|
12
|
-
export type ComponentSize = ValueOf<typeof ComponentSize>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function sleep(ms?: number): Promise<unknown>;
|
package/internal/utils/bem.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare class Bem {
|
|
2
|
-
private readonly namespace;
|
|
3
|
-
constructor(namespace: string);
|
|
4
|
-
block(...modifiers: Array<string | {
|
|
5
|
-
[name: string]: boolean;
|
|
6
|
-
}>): string;
|
|
7
|
-
modifier(name: string): string;
|
|
8
|
-
element(name: string, ...modifiers: Array<string | {
|
|
9
|
-
[name: string]: boolean | '';
|
|
10
|
-
}>): string;
|
|
11
|
-
}
|
|
12
|
-
export declare function buildBem(namespace: string): Bem;
|
package/internal/utils/fn.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
export declare const last: <T>(values: T[]) => T;
|
|
3
|
-
export declare const isTemplateRef: (label: any) => label is TemplateRef<unknown>;
|
|
4
|
-
export declare const isString: (label: any) => label is string;
|
|
5
|
-
export declare const handlePixel: (value: number | string) => string;
|
|
6
|
-
export declare function getElementOffset(elem: HTMLElement): {
|
|
7
|
-
top: number;
|
|
8
|
-
left: number;
|
|
9
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './async';
|
|
2
|
-
export * from './bem';
|
|
3
|
-
export * from './coercion';
|
|
4
|
-
export * from './fn';
|
|
5
|
-
export * from './observe-dom';
|
|
6
|
-
export * from './operators';
|
|
7
|
-
export * from './scroll-into-view';
|
|
8
|
-
export * from './styles-renderer';
|
|
9
|
-
export * from './watch-content-exist';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
export declare const observeResizeOn: <T extends Element>(target: T, options?: ResizeObserverOptions) => Observable<T>;
|
|
3
|
-
export declare const observeMutationOn: <T extends Node>(target: T, options?: MutationObserverInit) => Observable<MutationRecord>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TimestampProvider } from 'rxjs';
|
|
2
|
-
export type PublishRefConfig<T> = number | (import('rxjs/internal/operators/share').ShareConfig<T> & {
|
|
3
|
-
bufferSize?: number;
|
|
4
|
-
windowTime?: number;
|
|
5
|
-
timestampProvider?: TimestampProvider;
|
|
6
|
-
});
|
|
7
|
-
export declare const publishRef: <T>(bufferSizeOrConfig?: PublishRefConfig<T>) => import("rxjs").MonoTypeOperatorFunction<T>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function scrollIntoView(container: HTMLElement, selected: HTMLElement): void;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare function getCompatibleStylesRenderer(): CSSStyleSheetRenderer | StylesRenderer;
|
|
2
|
-
export declare class StylesRenderer implements Renderer {
|
|
3
|
-
private styleElement;
|
|
4
|
-
render(styles: string): void;
|
|
5
|
-
cleanup(): void;
|
|
6
|
-
}
|
|
7
|
-
export declare class CSSStyleSheetRenderer implements Renderer {
|
|
8
|
-
private readonly options?;
|
|
9
|
-
private styleSheet;
|
|
10
|
-
constructor(options?: CSSStyleSheetInit);
|
|
11
|
-
render(styles: string): void;
|
|
12
|
-
cleanup(): void;
|
|
13
|
-
}
|
|
14
|
-
interface Renderer {
|
|
15
|
-
render(styles: string): void;
|
|
16
|
-
cleanup(): void;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
3
|
-
import { ApplicationRef, ComponentFactoryResolver, ComponentRef, ElementRef, Injector } from '@angular/core';
|
|
4
|
-
import { MessageWrapperComponent } from './message-wrapper.component';
|
|
5
|
-
import { MessageComponent } from './message.component';
|
|
6
|
-
import { MessageConfig, MessageGlobalConfig, MessageType } from './message.config';
|
|
7
|
-
export declare abstract class BaseMessage<Wrapper extends MessageWrapperComponent, Component extends MessageComponent, Config extends MessageConfig> {
|
|
8
|
-
protected overlay: Overlay;
|
|
9
|
-
protected injector: Injector;
|
|
10
|
-
protected applicationRef: ApplicationRef;
|
|
11
|
-
protected cfr: ComponentFactoryResolver;
|
|
12
|
-
protected overlayPaneClassName: string;
|
|
13
|
-
protected wrapperClass: ComponentType<Wrapper>;
|
|
14
|
-
protected componentClass: ComponentType<Component>;
|
|
15
|
-
protected globalConfig: MessageGlobalConfig;
|
|
16
|
-
wrapperInstance: {
|
|
17
|
-
elementRef: ElementRef<HTMLElement>;
|
|
18
|
-
};
|
|
19
|
-
componentRefs: Array<ComponentRef<Component>>;
|
|
20
|
-
constructor(overlay: Overlay, injector: Injector, applicationRef: ApplicationRef, cfr: ComponentFactoryResolver, overlayPaneClassName: string, wrapperClass: ComponentType<Wrapper>, componentClass: ComponentType<Component>, globalConfig: MessageGlobalConfig);
|
|
21
|
-
create(config: Config): ComponentRef<Component>;
|
|
22
|
-
create(config: MessageType, content: string): ComponentRef<Component>;
|
|
23
|
-
createType(type: MessageType, option: Config | string): ComponentRef<Component>;
|
|
24
|
-
success(option: Config | string): ComponentRef<Component>;
|
|
25
|
-
warning(option: Config | string): ComponentRef<Component>;
|
|
26
|
-
error(option: Config | string): ComponentRef<Component>;
|
|
27
|
-
info(option: Config | string): ComponentRef<Component>;
|
|
28
|
-
remove(id: number | string): void;
|
|
29
|
-
removeAll(): void;
|
|
30
|
-
protected initWrapperContainer(): void;
|
|
31
|
-
protected initComponentRef(config: Config): ComponentRef<Component>;
|
|
32
|
-
protected removeNeedless(id: number | string): void;
|
|
33
|
-
}
|
package/message/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MessageWrapperComponent {
|
|
4
|
-
elementRef: ElementRef;
|
|
5
|
-
constructor(elementRef: ElementRef);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageWrapperComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageWrapperComponent, "aui-message-wrapper", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AnimationEvent } from '@angular/animations';
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, ViewContainerRef } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { Bem } from '../internal/utils';
|
|
5
|
-
import { MessageConfig, MessageType } from './message.config';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MessageComponent implements AfterViewInit {
|
|
8
|
-
protected viewContainerRef: ViewContainerRef;
|
|
9
|
-
protected cdr: ChangeDetectorRef;
|
|
10
|
-
protected readonly animateStartState: string;
|
|
11
|
-
protected readonly animateStartEnd: string;
|
|
12
|
-
bem: Bem;
|
|
13
|
-
animateState: string;
|
|
14
|
-
uniqueId: string;
|
|
15
|
-
beforeClosed: Subject<void>;
|
|
16
|
-
afterClosed: Subject<void>;
|
|
17
|
-
id: number | string;
|
|
18
|
-
type: MessageType;
|
|
19
|
-
content: string;
|
|
20
|
-
duration: number;
|
|
21
|
-
get icon(): string;
|
|
22
|
-
protected timerId: number;
|
|
23
|
-
constructor(viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
24
|
-
ngAfterViewInit(): void;
|
|
25
|
-
setConfig(config: MessageConfig): void;
|
|
26
|
-
close(): void;
|
|
27
|
-
onAnimationEnd(event: AnimationEvent): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "aui-message", never, {}, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare enum MessageType {
|
|
3
|
-
Error = "error",
|
|
4
|
-
Success = "success",
|
|
5
|
-
Warning = "warning",
|
|
6
|
-
Info = "info"
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* messageOptions: contains Basic configuration
|
|
10
|
-
* Just for some containers like Message-Container
|
|
11
|
-
* Detailed document: http://confluence.alaudatech.com/pages/viewpage.action?pageId=23383163
|
|
12
|
-
*/
|
|
13
|
-
export declare class MessageConfig {
|
|
14
|
-
/**
|
|
15
|
-
* the message type
|
|
16
|
-
*/
|
|
17
|
-
type?: MessageType;
|
|
18
|
-
/**
|
|
19
|
-
* The id of this message, The same ID can only have one at the same time
|
|
20
|
-
*/
|
|
21
|
-
id?: number | string;
|
|
22
|
-
/**
|
|
23
|
-
* automatically shut down after a few seconds, if <= 0 ,non automatic closure
|
|
24
|
-
*/
|
|
25
|
-
duration?: number;
|
|
26
|
-
/**
|
|
27
|
-
* message content
|
|
28
|
-
*/
|
|
29
|
-
content?: string;
|
|
30
|
-
}
|
|
31
|
-
export interface MessageGlobalConfig {
|
|
32
|
-
/**
|
|
33
|
-
* max instance in one time
|
|
34
|
-
*/
|
|
35
|
-
maxStack: number;
|
|
36
|
-
duration: number | {
|
|
37
|
-
[key in MessageType]: number;
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export declare const MESSAGE_CONFIG: InjectionToken<MessageGlobalConfig>;
|
|
41
|
-
export declare const MESSAGE_DEFAULT_CONFIG: {
|
|
42
|
-
duration: number;
|
|
43
|
-
maxStack: number;
|
|
44
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@angular/cdk/overlay";
|
|
4
|
-
import * as i3 from "../icon/icon.module";
|
|
5
|
-
import * as i4 from "./message-wrapper.component";
|
|
6
|
-
import * as i5 from "./message.component";
|
|
7
|
-
export declare class MessageModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MessageModule, never, [typeof i1.CommonModule, typeof i2.OverlayModule, typeof i3.IconModule, typeof i4.MessageWrapperComponent, typeof i5.MessageComponent], never>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MessageModule>;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { ApplicationRef, ComponentFactoryResolver, Injector } from '@angular/core';
|
|
3
|
-
import { BaseMessage } from './base-message';
|
|
4
|
-
import { MessageWrapperComponent } from './message-wrapper.component';
|
|
5
|
-
import { MessageComponent } from './message.component';
|
|
6
|
-
import { MessageConfig, MessageGlobalConfig } from './message.config';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class MessageService extends BaseMessage<MessageWrapperComponent, MessageComponent, MessageConfig> {
|
|
9
|
-
constructor(overlay: Overlay, injector: Injector, applicationRef: ApplicationRef, cfr: ComponentFactoryResolver, globalConfig: MessageGlobalConfig);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, [null, null, null, null, { optional: true; }]>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
|
|
12
|
-
}
|
package/notification/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { MessageWrapperComponent } from '../message/message-wrapper.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NotificationWrapperComponent extends MessageWrapperComponent {
|
|
5
|
-
elementRef: ElementRef;
|
|
6
|
-
constructor(elementRef: ElementRef);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationWrapperComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationWrapperComponent, "aui-notification-wrapper", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { TemplatePortal } from '@angular/cdk/portal';
|
|
2
|
-
import { AfterViewInit } from '@angular/core';
|
|
3
|
-
import { Bem } from '../internal/utils';
|
|
4
|
-
import { MessageComponent } from '../message/message.component';
|
|
5
|
-
import { NotificationConfig } from './notification.config';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class NotificationComponent extends MessageComponent implements AfterViewInit {
|
|
8
|
-
protected readonly animateStartState = "flyLeft";
|
|
9
|
-
protected readonly animateStartEnd = "flyUp";
|
|
10
|
-
bem: Bem;
|
|
11
|
-
animateState: string;
|
|
12
|
-
uniqueId: string;
|
|
13
|
-
isHover: boolean;
|
|
14
|
-
title: string;
|
|
15
|
-
remains: number;
|
|
16
|
-
childComponentInstance: unknown;
|
|
17
|
-
customClass: string;
|
|
18
|
-
footerPortal: TemplatePortal<unknown>;
|
|
19
|
-
private readonly portalOutlet;
|
|
20
|
-
private readonly modalEl;
|
|
21
|
-
onMouseEnter(): void;
|
|
22
|
-
onMouseLeave(): void;
|
|
23
|
-
ngAfterViewInit(): void;
|
|
24
|
-
setConfig(config: NotificationConfig): void;
|
|
25
|
-
/**
|
|
26
|
-
* Attach a TemplatePortal as content to this modal container.
|
|
27
|
-
* @param portal Portal to be attached as the modal content.
|
|
28
|
-
*/
|
|
29
|
-
private attachTemplatePortal;
|
|
30
|
-
private attachComponentRef;
|
|
31
|
-
private countDown;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "aui-notification", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
2
|
-
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
3
|
-
import { MessageConfig, MessageGlobalConfig } from '../message';
|
|
4
|
-
export interface NotificationConfig extends MessageConfig {
|
|
5
|
-
title?: string;
|
|
6
|
-
contentRef?: ComponentType<void> | TemplateRef<any>;
|
|
7
|
-
footerRef?: TemplateRef<any>;
|
|
8
|
-
context?: unknown;
|
|
9
|
-
customClass?: string;
|
|
10
|
-
}
|
|
11
|
-
export type NotificationGlobalConfig = MessageGlobalConfig;
|
|
12
|
-
export declare const NOTIFICATION_CONFIG: InjectionToken<MessageGlobalConfig>;
|
|
13
|
-
export declare const NOTIFICATION_DEFAULT_CONFIG: {
|
|
14
|
-
duration: number;
|
|
15
|
-
maxStack: number;
|
|
16
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@angular/cdk/overlay";
|
|
4
|
-
import * as i3 from "@angular/cdk/portal";
|
|
5
|
-
import * as i4 from "../icon/icon.module";
|
|
6
|
-
import * as i5 from "./notification-wrapper.component";
|
|
7
|
-
import * as i6 from "./notification.component";
|
|
8
|
-
export declare class NotificationModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationModule, never, [typeof i1.CommonModule, typeof i2.OverlayModule, typeof i3.PortalModule, typeof i4.IconModule, typeof i5.NotificationWrapperComponent, typeof i6.NotificationComponent], never>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NotificationModule>;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { ApplicationRef, ComponentFactoryResolver, Injector } from '@angular/core';
|
|
3
|
-
import { BaseMessage } from '../message/base-message';
|
|
4
|
-
import { NotificationWrapperComponent } from './notification-wrapper.component';
|
|
5
|
-
import { NotificationComponent } from './notification.component';
|
|
6
|
-
import { NotificationConfig, NotificationGlobalConfig } from './notification.config';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class NotificationService extends BaseMessage<NotificationWrapperComponent, NotificationComponent, NotificationConfig> {
|
|
9
|
-
constructor(overlay: Overlay, injector: Injector, applicationRef: ApplicationRef, cfr: ComponentFactoryResolver, globalConfig: NotificationGlobalConfig);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, [null, null, null, null, { optional: true; }]>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
12
|
-
}
|
package/paginator/index.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* To modify the labels and text displayed, create a new instance of MatPaginatorIntl and
|
|
5
|
-
* include it in a custom provider
|
|
6
|
-
*/
|
|
7
|
-
export declare class PaginatorIntl {
|
|
8
|
-
/**
|
|
9
|
-
* Stream that emits whenever the labels here are changed. Use this to notify
|
|
10
|
-
* components if the labels have changed after initialization.
|
|
11
|
-
*/
|
|
12
|
-
readonly changes: Subject<void>;
|
|
13
|
-
/** A label for the page size selector. */
|
|
14
|
-
itemsPerPageLabel: string;
|
|
15
|
-
jumperLabelPrefix: string;
|
|
16
|
-
jumperLabelSuffix: string;
|
|
17
|
-
getTotalLabel: (length: number) => string;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorIntl, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PaginatorIntl>;
|
|
20
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Bem } from '../internal/utils';
|
|
3
|
-
import { PaginatorIntl } from './paginator-intl';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PaginatorComponent implements OnDestroy {
|
|
6
|
-
intl: PaginatorIntl;
|
|
7
|
-
private readonly cdr;
|
|
8
|
-
bem: Bem;
|
|
9
|
-
get pageIndex(): number;
|
|
10
|
-
set pageIndex(val: number);
|
|
11
|
-
get currentPage(): number;
|
|
12
|
-
set currentPage(val: number);
|
|
13
|
-
get pageSize(): number;
|
|
14
|
-
set pageSize(val: number);
|
|
15
|
-
pageSizeOptions: number[];
|
|
16
|
-
total: number;
|
|
17
|
-
layout: string[] | string;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
readonly pageIndexChange: EventEmitter<number>;
|
|
20
|
-
readonly currentPageChange: EventEmitter<number>;
|
|
21
|
-
readonly pageSizeChange: EventEmitter<number>;
|
|
22
|
-
private _currentPage;
|
|
23
|
-
private _pageSize;
|
|
24
|
-
private readonly intlChangeSub;
|
|
25
|
-
get pageCount(): number;
|
|
26
|
-
constructor(intl: PaginatorIntl, cdr: ChangeDetectorRef);
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
getLayoutArr(): string[];
|
|
29
|
-
getCenterPages(): number[];
|
|
30
|
-
jumpTo(page: number): void;
|
|
31
|
-
navigate(step: number): void;
|
|
32
|
-
changePageSize(size: number): void;
|
|
33
|
-
onKeydown(event: KeyboardEvent): void;
|
|
34
|
-
trackByIndex(index: number): number;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "aui-paginator", never, { "pageIndex": { "alias": "pageIndex"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "total": { "alias": "total"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "pageIndexChange": "pageIndexChange"; "currentPageChange": "currentPageChange"; "pageSizeChange": "pageSizeChange"; }, never, ["*"], true, never>;
|
|
37
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "../button/button.module";
|
|
4
|
-
import * as i3 from "../icon/icon.module";
|
|
5
|
-
import * as i4 from "../select/select.module";
|
|
6
|
-
import * as i5 from "../input/input.module";
|
|
7
|
-
import * as i6 from "./paginator.component";
|
|
8
|
-
export declare class PaginatorModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PaginatorModule, never, [typeof i1.CommonModule, typeof i2.ButtonModule, typeof i3.IconModule, typeof i4.SelectModule, typeof i5.InputModule, typeof i6.PaginatorComponent], [typeof i6.PaginatorComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PaginatorModule>;
|
|
12
|
-
}
|
package/radio/base-radio.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
-
import { BehaviorSubject, Subject } from 'rxjs';
|
|
4
|
-
import { RadioGroupComponent } from './radio-group/radio-group.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BaseRadio implements OnInit, AfterViewInit, OnDestroy {
|
|
7
|
-
protected radioGroup: RadioGroupComponent;
|
|
8
|
-
protected focusMonitor: FocusMonitor;
|
|
9
|
-
protected cdr: ChangeDetectorRef;
|
|
10
|
-
id: string;
|
|
11
|
-
disabled: boolean | '';
|
|
12
|
-
get value(): unknown;
|
|
13
|
-
set value(val: unknown);
|
|
14
|
-
elRef: ElementRef;
|
|
15
|
-
checked: boolean;
|
|
16
|
-
name: string;
|
|
17
|
-
protected _value: unknown;
|
|
18
|
-
protected readonly value$$: BehaviorSubject<unknown>;
|
|
19
|
-
protected destroy$$: Subject<void>;
|
|
20
|
-
constructor(radioGroup: RadioGroupComponent, focusMonitor: FocusMonitor, cdr: ChangeDetectorRef);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
onClick(): void;
|
|
25
|
-
onBlur(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseRadio, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseRadio, never, never, { "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
-
}
|
package/radio/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
|
-
import { Bem } from '../../internal/utils';
|
|
4
|
-
import { BaseRadio } from '../base-radio';
|
|
5
|
-
import { RadioGroupComponent } from '../radio-group/radio-group.component';
|
|
6
|
-
import { RadioSize } from '../radio.types';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class RadioButtonComponent extends BaseRadio implements OnInit {
|
|
9
|
-
bem: Bem;
|
|
10
|
-
size: RadioSize;
|
|
11
|
-
isPlain: boolean;
|
|
12
|
-
get rootClass(): string;
|
|
13
|
-
constructor(radioGroup: RadioGroupComponent, focusMonitor: FocusMonitor, cdr: ChangeDetectorRef);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "aui-radio-button", never, {}, {}, never, ["*"], true, never>;
|
|
17
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { CommonFormControl } from '../../form';
|
|
3
|
-
import { RadioSize } from '../radio.types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class RadioGroupComponent extends CommonFormControl<any> {
|
|
6
|
-
private readonly size$$;
|
|
7
|
-
private readonly isPlain$$;
|
|
8
|
-
private readonly name$$;
|
|
9
|
-
set size(val: RadioSize);
|
|
10
|
-
direction: 'column' | 'row';
|
|
11
|
-
set plain(val: boolean);
|
|
12
|
-
set name(val: string);
|
|
13
|
-
size$: Observable<RadioSize>;
|
|
14
|
-
isPlain$: Observable<boolean>;
|
|
15
|
-
name$: Observable<string>;
|
|
16
|
-
onRadioChange(value: any): void;
|
|
17
|
-
onRadioBlur(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "aui-radio-group", never, { "size": { "alias": "size"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "plain": { "alias": "plain"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
20
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
3
|
-
import { Bem } from '../internal/utils';
|
|
4
|
-
import { BaseRadio } from './base-radio';
|
|
5
|
-
import { RadioGroupComponent } from './radio-group/radio-group.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class RadioComponent extends BaseRadio {
|
|
8
|
-
bem: Bem;
|
|
9
|
-
get rootClass(): string;
|
|
10
|
-
constructor(radioGroup: RadioGroupComponent, focusMonitor: FocusMonitor, cdr: ChangeDetectorRef);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "aui-radio", never, {}, {}, never, ["*"], true, never>;
|
|
13
|
-
}
|
package/radio/radio.module.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { RadioButtonComponent } from './radio-button/radio-button.component';
|
|
2
|
-
import { RadioGroupComponent } from './radio-group/radio-group.component';
|
|
3
|
-
import { RadioComponent } from './radio.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "../icon/icon.module";
|
|
7
|
-
import * as i3 from "./radio.component";
|
|
8
|
-
import * as i4 from "./radio-group/radio-group.component";
|
|
9
|
-
import * as i5 from "./radio-button/radio-button.component";
|
|
10
|
-
export declare class RadioModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RadioModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RadioModule, never, [typeof i1.CommonModule, typeof i2.IconModule, typeof i3.RadioComponent, typeof i4.RadioGroupComponent, typeof i5.RadioButtonComponent], [typeof i3.RadioComponent, typeof i4.RadioGroupComponent, typeof i5.RadioButtonComponent]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RadioModule>;
|
|
14
|
-
}
|
|
15
|
-
export declare const RADIO_MODULE: readonly [typeof RadioComponent, typeof RadioGroupComponent, typeof RadioButtonComponent];
|
package/radio/radio.types.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ListRange } from '@angular/cdk/collections';
|
|
2
|
-
import { CdkVirtualScrollViewport, VirtualScrollStrategy } from '@angular/cdk/scrolling';
|
|
3
|
-
import { BehaviorSubject, Subject } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FixedSizeTableVirtualScrollStrategy implements VirtualScrollStrategy {
|
|
6
|
-
private _rowHeight;
|
|
7
|
-
private _headerHeight;
|
|
8
|
-
private _bufferSize;
|
|
9
|
-
private readonly _indexChange;
|
|
10
|
-
viewport: CdkVirtualScrollViewport;
|
|
11
|
-
scrolledIndexChange: import("rxjs").Observable<number>;
|
|
12
|
-
stickyChange: Subject<number>;
|
|
13
|
-
renderedRangeStream: BehaviorSubject<ListRange>;
|
|
14
|
-
get dataLength(): number;
|
|
15
|
-
set dataLength(value: number);
|
|
16
|
-
private _dataLength;
|
|
17
|
-
attach(viewport: CdkVirtualScrollViewport): void;
|
|
18
|
-
detach(): void;
|
|
19
|
-
onContentScrolled(): void;
|
|
20
|
-
onDataLengthChanged(): void;
|
|
21
|
-
onContentRendered(): void;
|
|
22
|
-
onRenderedOffsetChanged(): void;
|
|
23
|
-
scrollToIndex(index: number, behavior: ScrollBehavior): void;
|
|
24
|
-
setConfig(rowHeight: number, headerHeight: number, bufferSize: number): void;
|
|
25
|
-
private _updateContent;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FixedSizeTableVirtualScrollStrategy, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FixedSizeTableVirtualScrollStrategy>;
|
|
28
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { TableComponent } from '../table';
|
|
3
|
-
import { FixedSizeTableVirtualScrollStrategy } from './fixed-size-table-virtual-scroll-strategy';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare function _tableVirtualScrollDirectiveStrategyFactory(tableDir: FixedSizeTableVirtualScrollDirective): FixedSizeTableVirtualScrollStrategy;
|
|
6
|
-
export declare class FixedSizeTableVirtualScrollDirective<T = unknown> implements AfterContentInit, OnChanges, OnDestroy {
|
|
7
|
-
private readonly onDestroy$;
|
|
8
|
-
private readonly _dataSource$$;
|
|
9
|
-
rowHeight: number;
|
|
10
|
-
headerHeight: number;
|
|
11
|
-
buffer: number;
|
|
12
|
-
set dataSource(dataSource: T[]);
|
|
13
|
-
table: TableComponent<any>;
|
|
14
|
-
scrollStrategy: FixedSizeTableVirtualScrollStrategy;
|
|
15
|
-
private stickyPositions;
|
|
16
|
-
ngAfterContentInit(): void;
|
|
17
|
-
ngOnChanges({ rowHeight, headerHeight, buffer }: SimpleChanges): void;
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
private isStickyEnabled;
|
|
20
|
-
private initStickyPositions;
|
|
21
|
-
private setSticky;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FixedSizeTableVirtualScrollDirective<any>, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FixedSizeTableVirtualScrollDirective<any>, "aui-virtual-scroll-viewport[fixedSize]", ["viewPort"], { "rowHeight": { "alias": "rowHeight"; "required": false; }; "headerHeight": { "alias": "headerHeight"; "required": false; }; "buffer": { "alias": "buffer"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, {}, ["table"], never, true, never>;
|
|
24
|
-
}
|