@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,28 +0,0 @@
|
|
|
1
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
3
|
-
import { CommonFormControl } from '../form';
|
|
4
|
-
import { CheckboxGroupComponent } from './checkbox-group/checkbox-group.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CheckboxComponent<T> extends CommonFormControl<boolean> implements AfterViewInit, OnDestroy {
|
|
7
|
-
private readonly focusMonitor;
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
type: string;
|
|
11
|
-
get label(): T;
|
|
12
|
-
set label(val: T);
|
|
13
|
-
get indeterminate(): boolean;
|
|
14
|
-
set indeterminate(value: boolean);
|
|
15
|
-
elRef: ElementRef;
|
|
16
|
-
private readonly checkboxGroup;
|
|
17
|
-
private _label;
|
|
18
|
-
private readonly label$$;
|
|
19
|
-
private _indeterminate;
|
|
20
|
-
private readonly destroy$$;
|
|
21
|
-
constructor(cdr: ChangeDetectorRef, checkboxGroup: CheckboxGroupComponent<T>, focusMonitor: FocusMonitor);
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
onClick(): void;
|
|
25
|
-
onBlur(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent<any>, [null, { optional: true; }, null]>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent<any>, "aui-checkbox", never, { "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
28
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CheckboxGroupComponent } from './checkbox-group/checkbox-group.component';
|
|
2
|
-
import { CheckboxComponent } from './checkbox.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "../icon/icon.module";
|
|
6
|
-
import * as i3 from "./checkbox.component";
|
|
7
|
-
import * as i4 from "./checkbox-group/checkbox-group.component";
|
|
8
|
-
export declare class CheckboxModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxModule, never, [typeof i1.CommonModule, typeof i2.IconModule, typeof i3.CheckboxComponent, typeof i4.CheckboxGroupComponent], [typeof i3.CheckboxComponent, typeof i4.CheckboxGroupComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxModule>;
|
|
12
|
-
}
|
|
13
|
-
export declare const CHECKBOX_MODULE: readonly [typeof CheckboxComponent, typeof CheckboxGroupComponent];
|
package/checkbox/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CommonFormControl } from '../form';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ColorPickerComponent extends CommonFormControl<string> {
|
|
4
|
-
onInput(event: Event): void;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "aui-color-picker", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@angular/forms";
|
|
4
|
-
import * as i3 from "./color-picker.component";
|
|
5
|
-
export declare class ColorPickerModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ColorPickerModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.ColorPickerComponent], [typeof i3.ColorPickerComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ColorPickerModule>;
|
|
9
|
-
}
|
package/color-picker/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { DateNavRange } from '../date-picker.type';
|
|
2
|
-
export declare const DATE = "date";
|
|
3
|
-
export declare const DAY = "day";
|
|
4
|
-
export declare const MONTH = "month";
|
|
5
|
-
export declare const YEAR = "year";
|
|
6
|
-
export declare const HOUR = "hour";
|
|
7
|
-
export declare const MINUTE = "minute";
|
|
8
|
-
export declare const SECOND = "second";
|
|
9
|
-
export declare enum DatePickerType {
|
|
10
|
-
Day = "date",
|
|
11
|
-
Month = "month",
|
|
12
|
-
Year = "year"
|
|
13
|
-
}
|
|
14
|
-
export declare const MONTH_PANEL_COLUMN_COUNT = 3;
|
|
15
|
-
export declare const MONTH_PANEL_ROW_COUNT = 4;
|
|
16
|
-
export declare const YEAR_PANEL_COLUMN_COUNT = 3;
|
|
17
|
-
export declare const YEAR_PANEL_ROW_COUNT = 4;
|
|
18
|
-
export declare const DAY_PANEL_COLUMN_COUNT = 7;
|
|
19
|
-
export declare const DAY_PANEL_ROW_COUNT = 6;
|
|
20
|
-
export declare const DATE_TYPES: DatePickerType[];
|
|
21
|
-
export declare const DATE_NAV_RANGES: DateNavRange[];
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import dayjs, { ConfigType, Dayjs } from 'dayjs';
|
|
3
|
-
import { CommonFormControl } from '../../../form/common-form';
|
|
4
|
-
import { TimePickerModel } from '../../../time-picker';
|
|
5
|
-
import { DateNavRange, DisabledTimeFn } from '../../date-picker.type';
|
|
6
|
-
import { DatePickerType } from '../constant';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class DatePickerPanelComponent extends CommonFormControl<Dayjs> {
|
|
9
|
-
clearable: boolean;
|
|
10
|
-
clearText: string;
|
|
11
|
-
set type(type: DatePickerType);
|
|
12
|
-
get type(): DatePickerType;
|
|
13
|
-
private _type;
|
|
14
|
-
showTime: boolean;
|
|
15
|
-
disabledDate: (date: Dayjs, type: DateNavRange) => boolean;
|
|
16
|
-
disabledTime: DisabledTimeFn;
|
|
17
|
-
weekStartDay: number;
|
|
18
|
-
showFooter: boolean;
|
|
19
|
-
footerTemplate: TemplateRef<unknown>;
|
|
20
|
-
extraFooter: TemplateRef<unknown>;
|
|
21
|
-
minDate: Dayjs;
|
|
22
|
-
maxDate: Dayjs;
|
|
23
|
-
confirm: EventEmitter<dayjs.Dayjs>;
|
|
24
|
-
clear: EventEmitter<void>;
|
|
25
|
-
private _cacheSelectedDate;
|
|
26
|
-
private _cacheDisabledTimeFn;
|
|
27
|
-
getDisabledTimeFn(selectedDate: Dayjs, type: keyof ReturnType<DisabledTimeFn>): (() => number[]) | ((hour?: number) => number[]) | ((hour?: number, minute?: number) => number[]);
|
|
28
|
-
navRange: DateNavRange;
|
|
29
|
-
get currentNavType(): DatePickerType;
|
|
30
|
-
anchor: Dayjs;
|
|
31
|
-
selectedDate: Dayjs;
|
|
32
|
-
selectedTime: TimePickerModel;
|
|
33
|
-
DateNavRange: typeof DateNavRange;
|
|
34
|
-
DatePickerType: typeof DatePickerType;
|
|
35
|
-
writeValue(obj: Dayjs): void;
|
|
36
|
-
panelValueChange(value: Dayjs): void;
|
|
37
|
-
confirmValue(value?: ConfigType, closeAfterConfirm?: boolean): void;
|
|
38
|
-
timeDateChange(time: TimePickerModel): void;
|
|
39
|
-
setToday(): void;
|
|
40
|
-
clearValue(): void;
|
|
41
|
-
private _disabledTimeFn;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerPanelComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerPanelComponent, "aui-date-picker-panel", never, { "clearable": { "alias": "clearable"; "required": false; }; "clearText": { "alias": "clearText"; "required": false; }; "type": { "alias": "type"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "disabledDate": { "alias": "disabledDate"; "required": false; }; "disabledTime": { "alias": "disabledTime"; "required": false; }; "weekStartDay": { "alias": "weekStartDay"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "extraFooter": { "alias": "extraFooter"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "confirm": "confirm"; "clear": "clear"; }, never, never, true, never>;
|
|
44
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CalendarFooterComponent {
|
|
4
|
-
clearable: boolean;
|
|
5
|
-
clearText: string;
|
|
6
|
-
customAction: TemplateRef<any>;
|
|
7
|
-
confirm: EventEmitter<void>;
|
|
8
|
-
clear: EventEmitter<void>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarFooterComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarFooterComponent, "aui-calendar-footer", never, { "clearable": { "alias": "clearable"; "required": false; }; "clearText": { "alias": "clearText"; "required": false; }; "customAction": { "alias": "customAction"; "required": false; }; }, { "confirm": "confirm"; "clear": "clear"; }, never, ["*"], true, never>;
|
|
11
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import dayjs, { ConfigType, Dayjs } from 'dayjs';
|
|
3
|
-
import { I18nService } from '../../../i18n';
|
|
4
|
-
import { DateNavRange, Side } from '../../date-picker.type';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CalendarHeaderComponent {
|
|
7
|
-
private readonly i18nService;
|
|
8
|
-
get dateNavRange(): DateNavRange;
|
|
9
|
-
set dateNavRange(val: DateNavRange);
|
|
10
|
-
get anchor(): dayjs.Dayjs;
|
|
11
|
-
set anchor(val: dayjs.Dayjs);
|
|
12
|
-
maxAvail?: ConfigType;
|
|
13
|
-
private get _maxAvail();
|
|
14
|
-
minAvail?: ConfigType;
|
|
15
|
-
private get _minAvail();
|
|
16
|
-
navRangeChange: EventEmitter<DateNavRange>;
|
|
17
|
-
anchorChange: EventEmitter<dayjs.Dayjs>;
|
|
18
|
-
private readonly $$dateNavRange;
|
|
19
|
-
private readonly $$anchor;
|
|
20
|
-
bem: import("../../../internal/utils").Bem;
|
|
21
|
-
DateNavRange: typeof DateNavRange;
|
|
22
|
-
$monthBeforeYear: import("@angular/core").Signal<boolean>;
|
|
23
|
-
$headerRange: import("@angular/core").Signal<{
|
|
24
|
-
start: {
|
|
25
|
-
year: string;
|
|
26
|
-
month: string;
|
|
27
|
-
};
|
|
28
|
-
end: {
|
|
29
|
-
year: string;
|
|
30
|
-
month: string;
|
|
31
|
-
};
|
|
32
|
-
}>;
|
|
33
|
-
constructor(i18nService: I18nService);
|
|
34
|
-
shouldShowNav(type: DateNavRange, side: Side): boolean;
|
|
35
|
-
compareNavValue(type: DateNavRange, constrain: Dayjs, anchor: Dayjs): 1 | 0 | -1;
|
|
36
|
-
navHead(range: DateNavRange, value: number): void;
|
|
37
|
-
clickNav: (range: DateNavRange) => void;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarHeaderComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarHeaderComponent, "aui-calendar-header", never, { "dateNavRange": { "alias": "dateNavRange"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; "maxAvail": { "alias": "maxAvail"; "required": false; }; "minAvail": { "alias": "minAvail"; "required": false; }; }, { "navRangeChange": "navRangeChange"; "anchorChange": "anchorChange"; }, never, never, true, never>;
|
|
40
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges } from '@angular/core';
|
|
2
|
-
import dayjs, { Dayjs } from 'dayjs';
|
|
3
|
-
import { DateNavRange } from '../../date-picker.type';
|
|
4
|
-
import { DatePickerType } from '../constant';
|
|
5
|
-
import { DateCell } from '../util';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class PickerPanelComponent implements OnChanges {
|
|
8
|
-
private readonly cdr;
|
|
9
|
-
navRange: DateNavRange;
|
|
10
|
-
type: DatePickerType;
|
|
11
|
-
anchor: dayjs.Dayjs;
|
|
12
|
-
matchDates: Dayjs[];
|
|
13
|
-
disabledDate: (date: Dayjs, navRange: DateNavRange) => boolean;
|
|
14
|
-
set weekStartDay(day: number);
|
|
15
|
-
get weekStartDay(): number;
|
|
16
|
-
minDate: Dayjs;
|
|
17
|
-
maxDate: Dayjs;
|
|
18
|
-
get disabledDateFn(): (date: Dayjs, navRange: DateNavRange) => boolean;
|
|
19
|
-
private _weekStartDay;
|
|
20
|
-
panelData: DateCell[][];
|
|
21
|
-
select: EventEmitter<dayjs.Dayjs>;
|
|
22
|
-
hovered: EventEmitter<dayjs.Dayjs>;
|
|
23
|
-
bem: import("../../../internal/utils").Bem;
|
|
24
|
-
DateNavRange: typeof DateNavRange;
|
|
25
|
-
weekDefs: string[];
|
|
26
|
-
constructor(cdr: ChangeDetectorRef);
|
|
27
|
-
ngOnChanges(): void;
|
|
28
|
-
renderPanelData(date: Dayjs, navRange: DateNavRange): void;
|
|
29
|
-
match(value: Dayjs): boolean;
|
|
30
|
-
matchToday(value: Dayjs): boolean;
|
|
31
|
-
selectValue(value: Dayjs): void;
|
|
32
|
-
trackByFn(): DateNavRange;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PickerPanelComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PickerPanelComponent, "aui-picker-panel", never, { "navRange": { "alias": "navRange"; "required": false; }; "type": { "alias": "type"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; "matchDates": { "alias": "matchDates"; "required": false; }; "disabledDate": { "alias": "disabledDate"; "required": false; }; "weekStartDay": { "alias": "weekStartDay"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "select": "select"; "hovered": "hovered"; }, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import dayjs, { Dayjs } from 'dayjs';
|
|
3
|
-
import { CommonFormControl } from '../../../form/common-form';
|
|
4
|
-
import { TimePickerModel } from '../../../time-picker/time-picker.type';
|
|
5
|
-
import { DateNavRange, DisabledTimeFn, Side } from '../../date-picker.type';
|
|
6
|
-
import { DatePickerType } from '../constant';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class DateRangePickerPanelComponent extends CommonFormControl<Dayjs[]> {
|
|
9
|
-
clearable: boolean;
|
|
10
|
-
clearText: string;
|
|
11
|
-
showTime: boolean;
|
|
12
|
-
showFooter: boolean;
|
|
13
|
-
disabledDate: (date: Dayjs, navRange: DateNavRange, startDate: Dayjs) => boolean;
|
|
14
|
-
disabledTime: {
|
|
15
|
-
left: DisabledTimeFn;
|
|
16
|
-
right: DisabledTimeFn;
|
|
17
|
-
};
|
|
18
|
-
weekStartDay: number;
|
|
19
|
-
minDate: Dayjs;
|
|
20
|
-
maxDate: Dayjs;
|
|
21
|
-
clear: EventEmitter<void>;
|
|
22
|
-
confirm: EventEmitter<void>;
|
|
23
|
-
bem: import("../../../internal/utils").Bem;
|
|
24
|
-
Side: typeof Side;
|
|
25
|
-
DatePickerType: typeof DatePickerType;
|
|
26
|
-
leftDateRange: DateNavRange;
|
|
27
|
-
rightDateRange: DateNavRange;
|
|
28
|
-
FOOTER_DATE_FORMAT: string;
|
|
29
|
-
leftAnchor: dayjs.Dayjs;
|
|
30
|
-
rightAnchor: dayjs.Dayjs;
|
|
31
|
-
get maxHeaderAvail(): dayjs.Dayjs;
|
|
32
|
-
get minHeaderAvail(): dayjs.Dayjs;
|
|
33
|
-
rangeValue: Dayjs[];
|
|
34
|
-
matchValues: Dayjs[];
|
|
35
|
-
startTime: TimePickerModel;
|
|
36
|
-
endTime: TimePickerModel;
|
|
37
|
-
writeValue(obj: Dayjs[]): void;
|
|
38
|
-
calendarRangeChange(type: DateNavRange, side: Side): void;
|
|
39
|
-
getDateDisabledFn(side: Side, constrainValue: Dayjs): (date: Dayjs, navRange: DateNavRange) => boolean;
|
|
40
|
-
private getDisabledTimeCachedFn;
|
|
41
|
-
leftDisabledTimeFn: (value: Dayjs, key: keyof ReturnType<DisabledTimeFn>) => (() => number[]) | ((hour?: number) => number[]) | ((hour?: number, minute?: number) => number[]);
|
|
42
|
-
rightDisabledTimeFn: (value: Dayjs, key: keyof ReturnType<DisabledTimeFn>) => (() => number[]) | ((hour?: number) => number[]) | ((hour?: number, minute?: number) => number[]);
|
|
43
|
-
selectPickerPanel(value: Dayjs, side: Side): void;
|
|
44
|
-
reorder(sortedDate: Dayjs[]): void;
|
|
45
|
-
hoverItem(date: Dayjs): void;
|
|
46
|
-
confirmValue(value: Dayjs[], closeThen?: boolean): void;
|
|
47
|
-
timeChange(time: TimePickerModel): void;
|
|
48
|
-
syncTime(): void;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerPanelComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerPanelComponent, "aui-date-range-picker-panel", never, { "clearable": { "alias": "clearable"; "required": false; }; "clearText": { "alias": "clearText"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "disabledDate": { "alias": "disabledDate"; "required": false; }; "disabledTime": { "alias": "disabledTime"; "required": false; }; "weekStartDay": { "alias": "weekStartDay"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "clear": "clear"; "confirm": "confirm"; }, never, never, true, never>;
|
|
51
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Dayjs, UnitType } from 'dayjs';
|
|
2
|
-
import { TimePickerModel } from '../../time-picker/time-picker.type';
|
|
3
|
-
import { DateNavRange, DisabledDateFn } from '../date-picker.type';
|
|
4
|
-
import { DatePickerType } from './constant';
|
|
5
|
-
export declare class DateCell {
|
|
6
|
-
value: Dayjs;
|
|
7
|
-
label: number | string;
|
|
8
|
-
isBackground?: boolean;
|
|
9
|
-
inRange?: boolean;
|
|
10
|
-
isRangeStart?: boolean;
|
|
11
|
-
isRangeEnd?: boolean;
|
|
12
|
-
isDisabled?: boolean;
|
|
13
|
-
constructor(value: Dayjs, label: number | string);
|
|
14
|
-
}
|
|
15
|
-
export declare function getDatePanelIterable(date: Dayjs, navRange: DateNavRange, weekStartDay: number): Iterable<Dayjs> & Iterator<Dayjs>;
|
|
16
|
-
export declare function formatDate(type: DateNavRange, dateValue: Dayjs, date: Dayjs): DateCell;
|
|
17
|
-
export declare function nextDatePickerType(current: DatePickerType, guard?: DatePickerType): DatePickerType;
|
|
18
|
-
export declare function nextNavRangeType(current: DateNavRange, guard?: DateNavRange): DateNavRange;
|
|
19
|
-
export declare function updateDate(sourceValue: Dayjs, newValue: Dayjs, type: DatePickerType): Dayjs;
|
|
20
|
-
export declare function calcRangeValue(type: DateNavRange, date: Dayjs): {
|
|
21
|
-
start: Dayjs;
|
|
22
|
-
end?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
start: Dayjs;
|
|
25
|
-
end: Dayjs;
|
|
26
|
-
};
|
|
27
|
-
export declare function sortDates(dates: Dayjs[]): Dayjs[];
|
|
28
|
-
export declare function getNavRangeByType(type: DatePickerType): DateNavRange;
|
|
29
|
-
export declare function getTypeByNavRange(navRange: DateNavRange): DatePickerType;
|
|
30
|
-
export declare function getTimePickerModel(date: Dayjs): TimePickerModel;
|
|
31
|
-
export declare function updateDateByTimeModel(date: Dayjs, time: TimePickerModel): Dayjs;
|
|
32
|
-
export declare const composeDisabledDateFn: (...fns: DisabledDateFn[]) => (date: Dayjs, navRange: DateNavRange) => boolean;
|
|
33
|
-
export declare function minDate(a: Dayjs, b: Dayjs, unit?: UnitType): Dayjs;
|
|
34
|
-
export declare function maxDate(a: Dayjs, b: Dayjs, unit?: UnitType): Dayjs;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import dayjs, { ConfigType, Dayjs } from 'dayjs';
|
|
3
|
-
import { CommonFormControl } from '../../form/common-form';
|
|
4
|
-
import { DatePickerType } from '../calendar/constant';
|
|
5
|
-
import { DateNavRange, DisabledTimeFn } from '../date-picker.type';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class DatePickerComponent extends CommonFormControl<ConfigType, Dayjs> {
|
|
8
|
-
clearable: boolean;
|
|
9
|
-
clearText: string;
|
|
10
|
-
format: string;
|
|
11
|
-
showTime: boolean;
|
|
12
|
-
type: DatePickerType;
|
|
13
|
-
size: "medium";
|
|
14
|
-
disabledDate: (date: Dayjs, type: DateNavRange) => boolean;
|
|
15
|
-
disabledTime: DisabledTimeFn;
|
|
16
|
-
minDate: Dayjs;
|
|
17
|
-
maxDate: Dayjs;
|
|
18
|
-
weekStartDay: number;
|
|
19
|
-
showFooter: boolean;
|
|
20
|
-
footerTemplate: TemplateRef<unknown>;
|
|
21
|
-
extraFooter: TemplateRef<unknown>;
|
|
22
|
-
placeholder: string;
|
|
23
|
-
visibleChange: EventEmitter<boolean>;
|
|
24
|
-
value: Dayjs;
|
|
25
|
-
DatePickerType: typeof DatePickerType;
|
|
26
|
-
valueIn(obj: ConfigType): dayjs.Dayjs;
|
|
27
|
-
writeValue(obj: Dayjs): void;
|
|
28
|
-
clearValue(): void;
|
|
29
|
-
tooltipVisibleChange(visible: boolean): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "aui-date-picker", never, { "clearable": { "alias": "clearable"; "required": false; }; "clearText": { "alias": "clearText"; "required": false; }; "format": { "alias": "format"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabledDate": { "alias": "disabledDate"; "required": false; }; "disabledTime": { "alias": "disabledTime"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "weekStartDay": { "alias": "weekStartDay"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "extraFooter": { "alias": "extraFooter"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "visibleChange": "visibleChange"; }, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "../input/input.module";
|
|
4
|
-
import * as i3 from "../button/button.module";
|
|
5
|
-
import * as i4 from "../tooltip/tooltip.module";
|
|
6
|
-
import * as i5 from "@angular/forms";
|
|
7
|
-
import * as i6 from "../time-picker/time-picker.module";
|
|
8
|
-
import * as i7 from "../icon/icon.module";
|
|
9
|
-
import * as i8 from "../i18n/i18n.module";
|
|
10
|
-
import * as i9 from "./calendar/header/component";
|
|
11
|
-
import * as i10 from "./calendar/footer/component";
|
|
12
|
-
import * as i11 from "./calendar/range-picker-panel/component";
|
|
13
|
-
import * as i12 from "./calendar/panel/picker-panel";
|
|
14
|
-
import * as i13 from "./range-picker/range-picker.component";
|
|
15
|
-
import * as i14 from "./calendar/date-picker-panel/component";
|
|
16
|
-
import * as i15 from "./date-picker/date-picker.component";
|
|
17
|
-
import * as i16 from "./trigger/trigger.component";
|
|
18
|
-
export declare class DatePickerModule {
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, never, [typeof i1.CommonModule, typeof i2.InputModule, typeof i3.ButtonModule, typeof i4.TooltipModule, typeof i5.ReactiveFormsModule, typeof i5.FormsModule, typeof i6.TimePickerModule, typeof i7.IconModule, typeof i8.I18nModule, typeof i9.CalendarHeaderComponent, typeof i10.CalendarFooterComponent, typeof i11.DateRangePickerPanelComponent, typeof i12.PickerPanelComponent, typeof i13.RangePickerComponent, typeof i14.DatePickerPanelComponent, typeof i15.DatePickerComponent, typeof i16.DatePickerTriggerComponent], [typeof i9.CalendarHeaderComponent, typeof i10.CalendarFooterComponent, typeof i11.DateRangePickerPanelComponent, typeof i12.PickerPanelComponent, typeof i13.RangePickerComponent, typeof i14.DatePickerPanelComponent, typeof i15.DatePickerComponent, typeof i16.DatePickerTriggerComponent]>;
|
|
21
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
|
|
22
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Dayjs } from 'dayjs';
|
|
2
|
-
export declare enum Side {
|
|
3
|
-
Left = "left",
|
|
4
|
-
Right = "right"
|
|
5
|
-
}
|
|
6
|
-
export type DisabledTimeFn = (date?: Dayjs) => {
|
|
7
|
-
hours: () => number[];
|
|
8
|
-
minutes: (hour?: number) => number[];
|
|
9
|
-
seconds: (hour?: number, minute?: number) => number[];
|
|
10
|
-
};
|
|
11
|
-
export interface CalendarHeaderRange {
|
|
12
|
-
start: Dayjs;
|
|
13
|
-
end?: Dayjs;
|
|
14
|
-
}
|
|
15
|
-
export declare enum DateNavRange {
|
|
16
|
-
Decade = "decade",
|
|
17
|
-
Year = "year",
|
|
18
|
-
Month = "month"
|
|
19
|
-
}
|
|
20
|
-
export type DisabledDateFn = (date: Dayjs, type: DateNavRange) => boolean;
|
package/date-picker/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './calendar/constant';
|
|
2
|
-
export * from './calendar/date-picker-panel/component';
|
|
3
|
-
export * from './calendar/footer/component';
|
|
4
|
-
export * from './calendar/header/component';
|
|
5
|
-
export * from './calendar/panel/picker-panel';
|
|
6
|
-
export * from './calendar/range-picker-panel/component';
|
|
7
|
-
export * from './date-picker.module';
|
|
8
|
-
export * from './date-picker.type';
|
|
9
|
-
export * from './date-picker/date-picker.component';
|
|
10
|
-
export * from './range-picker/range-picker.component';
|
|
11
|
-
export * from './trigger/trigger.component';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import dayjs, { ConfigType, Dayjs } from 'dayjs';
|
|
3
|
-
import { CommonFormControl } from '../../form';
|
|
4
|
-
import { ComponentSize } from '../../internal/types';
|
|
5
|
-
import { DisabledDateFn, DisabledTimeFn } from '../date-picker.type';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class RangePickerComponent extends CommonFormControl<ConfigType[], Dayjs[]> {
|
|
8
|
-
clearable: boolean;
|
|
9
|
-
clearText: string;
|
|
10
|
-
format: string;
|
|
11
|
-
showFooter: boolean;
|
|
12
|
-
showTime: boolean;
|
|
13
|
-
disabledDate: DisabledDateFn;
|
|
14
|
-
minDate: Dayjs;
|
|
15
|
-
maxDate: Dayjs;
|
|
16
|
-
disabledTime: {
|
|
17
|
-
left: DisabledTimeFn;
|
|
18
|
-
right: DisabledTimeFn;
|
|
19
|
-
};
|
|
20
|
-
weekStartDay: number;
|
|
21
|
-
size: ComponentSize;
|
|
22
|
-
visibleChange: EventEmitter<boolean>;
|
|
23
|
-
value: [Dayjs, Dayjs];
|
|
24
|
-
valueIn(obj: [ConfigType, ConfigType]): dayjs.Dayjs[];
|
|
25
|
-
writeValue(obj: [Dayjs, Dayjs]): void;
|
|
26
|
-
clearValue(): void;
|
|
27
|
-
tooltipVisibleChange(visible: boolean): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RangePickerComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RangePickerComponent, "aui-range-picker", never, { "clearable": { "alias": "clearable"; "required": false; }; "clearText": { "alias": "clearText"; "required": false; }; "format": { "alias": "format"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "disabledDate": { "alias": "disabledDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "disabledTime": { "alias": "disabledTime"; "required": false; }; "weekStartDay": { "alias": "weekStartDay"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "visibleChange": "visibleChange"; }, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Dayjs } from 'dayjs';
|
|
3
|
-
import { InputComponent } from '../../input/input.component';
|
|
4
|
-
import { ComponentSize } from '../../internal/types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DatePickerTriggerComponent {
|
|
7
|
-
get value(): Dayjs | Dayjs[];
|
|
8
|
-
set value(val: Dayjs | Dayjs[]);
|
|
9
|
-
get format(): string;
|
|
10
|
-
set format(val: string);
|
|
11
|
-
get isRange(): boolean;
|
|
12
|
-
set isRange(val: boolean);
|
|
13
|
-
size: ComponentSize;
|
|
14
|
-
clearable: boolean;
|
|
15
|
-
placeholder: string;
|
|
16
|
-
startPlaceholder: string;
|
|
17
|
-
endPlaceholder: string;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
blur: EventEmitter<void>;
|
|
20
|
-
clear: EventEmitter<void>;
|
|
21
|
-
focusInputRef: InputComponent;
|
|
22
|
-
centerFocus: boolean;
|
|
23
|
-
leftFocus: boolean;
|
|
24
|
-
rightFocus: boolean;
|
|
25
|
-
hovered: boolean;
|
|
26
|
-
bem: import("../../internal/utils").Bem;
|
|
27
|
-
get isFocus(): boolean;
|
|
28
|
-
get hasValue(): boolean | Dayjs;
|
|
29
|
-
get showClear(): boolean;
|
|
30
|
-
private readonly i18nService;
|
|
31
|
-
private readonly $$value;
|
|
32
|
-
private readonly $$format;
|
|
33
|
-
private readonly $$isRange;
|
|
34
|
-
$formatValue: import("@angular/core").Signal<string | string[]>;
|
|
35
|
-
constructor();
|
|
36
|
-
focusInput(): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerTriggerComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerTriggerComponent, "aui-date-picker-trigger", never, { "value": { "alias": "value"; "required": false; }; "format": { "alias": "format"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; "size": { "alias": "size"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "startPlaceholder": { "alias": "startPlaceholder"; "required": false; }; "endPlaceholder": { "alias": "endPlaceholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "blur": "blur"; "clear": "clear"; }, never, never, true, never>;
|
|
39
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import { BaseDialogConfig } from '../dialog-config';
|
|
3
|
-
import { BeforeAction, ConfirmType } from '../dialog.types';
|
|
4
|
-
export declare class ConfirmDialogConfig<T = unknown, R = unknown> extends BaseDialogConfig {
|
|
5
|
-
title: string;
|
|
6
|
-
content?: TemplateRef<any> | Type<any> | string;
|
|
7
|
-
cancelButton?: boolean;
|
|
8
|
-
confirmType?: ConfirmType;
|
|
9
|
-
confirmText?: string;
|
|
10
|
-
cancelText?: string;
|
|
11
|
-
beforeConfirm?: BeforeAction<T>;
|
|
12
|
-
beforeCancel?: BeforeAction<R>;
|
|
13
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { Bem } from '../../internal/utils';
|
|
3
|
-
import { DialogRef } from '../dialog-ref';
|
|
4
|
-
import { ConfirmType } from '../dialog.types';
|
|
5
|
-
import { ConfirmDialogConfig } from './confirm-dialog-config';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ConfirmDialogComponent<T = unknown, R = unknown> {
|
|
8
|
-
private readonly dialogRef;
|
|
9
|
-
private readonly cdr;
|
|
10
|
-
bem: Bem;
|
|
11
|
-
config: ConfirmDialogConfig<T, R>;
|
|
12
|
-
waitConfirm: boolean;
|
|
13
|
-
waitCancel: boolean;
|
|
14
|
-
isTemplateRef: (label: any) => label is import("@angular/core").TemplateRef<unknown>;
|
|
15
|
-
isString: (label: any) => label is string;
|
|
16
|
-
constructor(dialogRef: DialogRef<any>, cdr: ChangeDetectorRef);
|
|
17
|
-
setConfig(config: ConfirmDialogConfig<T, R>): void;
|
|
18
|
-
iconMap(type: ConfirmType): "check_circle_s" | "exclamation_triangle_s" | "exclamation_circle_s";
|
|
19
|
-
confirm(): Promise<void>;
|
|
20
|
-
cancel(): Promise<void>;
|
|
21
|
-
private toPromise;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent<any, any>, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent<any, any>, "aui-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
2
|
-
export declare const ZOOM_CLASS_NAME_MAP: {
|
|
3
|
-
enter: string;
|
|
4
|
-
enterActive: string;
|
|
5
|
-
leave: string;
|
|
6
|
-
leaveActive: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const ZOOM_SLOW_CLASS_NAME_MAP: {
|
|
9
|
-
enter: string;
|
|
10
|
-
enterActive: string;
|
|
11
|
-
leave: string;
|
|
12
|
-
leaveActive: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const FADE_CLASS_NAME_MAP: {
|
|
15
|
-
enter: string;
|
|
16
|
-
enterActive: string;
|
|
17
|
-
leave: string;
|
|
18
|
-
leaveActive: string;
|
|
19
|
-
};
|
|
20
|
-
export declare const FADE_SLOW_CLASS_NAME_MAP: {
|
|
21
|
-
enter: string;
|
|
22
|
-
enterActive: string;
|
|
23
|
-
leave: string;
|
|
24
|
-
leaveActive: string;
|
|
25
|
-
};
|
|
26
|
-
export declare const ANIMATION_DURATION_BASE_CLASSES: string[];
|
|
27
|
-
export declare const ANIMATION_DURATION_SLOW_CLASSES: string[];
|
|
28
|
-
export declare const dialogAnimations: {
|
|
29
|
-
readonly dialogContainer: AnimationTriggerMetadata;
|
|
30
|
-
};
|
|
31
|
-
export declare const WHITELIST_TRANSFORM_ANIMATION_ELEMENTS: string[];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { DialogSize } from './dialog.types';
|
|
3
|
-
export declare class BaseDialogConfig {
|
|
4
|
-
noAnimation?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare class DialogConfig<D = any> extends BaseDialogConfig {
|
|
7
|
-
id?: number;
|
|
8
|
-
viewContainerRef?: ViewContainerRef;
|
|
9
|
-
data?: D;
|
|
10
|
-
size?: DialogSize;
|
|
11
|
-
hasBackdrop?: boolean;
|
|
12
|
-
fitViewport?: boolean;
|
|
13
|
-
customClass?: string;
|
|
14
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { DialogComponent } from './dialog.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DialogContainerComponent {
|
|
4
|
-
dialogComponent: DialogComponent;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogContainerComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogContainerComponent, "aui-dialog-container", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { DialogRef } from '../dialog-ref';
|
|
3
|
-
import { DialogService } from '../dialog.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DialogCloseDirective implements OnInit {
|
|
6
|
-
dialogRef: DialogRef<any>;
|
|
7
|
-
private readonly elementRef;
|
|
8
|
-
private readonly dialogService;
|
|
9
|
-
result: any;
|
|
10
|
-
constructor(dialogRef: DialogRef<any>, elementRef: ElementRef, dialogService: DialogService);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
closeDialog(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogCloseDirective, [{ optional: true; }, null, null]>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogCloseDirective, "[auiDialogClose]", ["auiDialogClose"], { "result": { "alias": "auiDialogClose"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
2
|
-
import { CdkScrollable, ScrollDispatcher } from '@angular/cdk/overlay';
|
|
3
|
-
import { ElementRef, NgZone } from '@angular/core';
|
|
4
|
-
import { Bem } from '../../internal/utils';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DialogContentComponent extends CdkScrollable {
|
|
7
|
-
bem: Bem;
|
|
8
|
-
constructor(elementRef: ElementRef<HTMLElement>, scrollDispatcher: ScrollDispatcher, ngZone: NgZone, dir?: Directionality);
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogContentComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogContentComponent, "aui-dialog-content", never, {}, {}, never, ["*"], true, never>;
|
|
11
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Bem } from '../../internal/utils';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DialogFooterComponent {
|
|
4
|
-
bem: Bem;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogFooterComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogFooterComponent, "aui-dialog-footer", never, {}, {}, never, ["*"], true, never>;
|
|
7
|
-
}
|