@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,137 +0,0 @@
|
|
|
1
|
-
import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
-
import { Bem } from '../internal/utils';
|
|
3
|
-
import { TabHeaderAddonDirective, TabLabelWrapperDirective, TabTitleDirective } from './tab-body.component';
|
|
4
|
-
import { TabHeaderActiveIndicatorComponent } from './tab-header-active-indicator.component';
|
|
5
|
-
import { TabSize, TabType } from './tabs.types';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* The directions that scrolling can go in when the header's tabs exceed the header width. 'After'
|
|
9
|
-
* will scroll the header towards the end of the tabs list and 'before' will scroll towards the
|
|
10
|
-
* beginning of the list.
|
|
11
|
-
*/
|
|
12
|
-
export type ScrollDirection = 'after' | 'before';
|
|
13
|
-
export declare class TabHeaderComponent implements OnDestroy, AfterContentChecked, AfterContentInit {
|
|
14
|
-
private readonly _changeDetectorRef;
|
|
15
|
-
bem: Bem;
|
|
16
|
-
_showAddon: boolean;
|
|
17
|
-
/** Whether the controls for pagination should be displayed */
|
|
18
|
-
_showPaginationControls: boolean;
|
|
19
|
-
/** Whether the tab list can be scrolled more towards the end of the tab label list. */
|
|
20
|
-
_disableScrollAfter: boolean;
|
|
21
|
-
/** Whether the tab list can be scrolled more towards the beginning of the tab label list. */
|
|
22
|
-
_disableScrollBefore: boolean;
|
|
23
|
-
/** Whether the scroll distance has changed and should be applied after the view is checked. */
|
|
24
|
-
private _scrollDistanceChanged;
|
|
25
|
-
/** Whether the header should scroll to the selected index after the view has been checked. */
|
|
26
|
-
private _selectedIndexChanged;
|
|
27
|
-
/** The distance in pixels that the tab labels should be translated to the left. */
|
|
28
|
-
private _scrollDistance;
|
|
29
|
-
private _selectedIndex;
|
|
30
|
-
/** Emits when the component is destroyed. */
|
|
31
|
-
private readonly _destroyed;
|
|
32
|
-
/** Used to manage focus between the tabs. */
|
|
33
|
-
private _keyManager;
|
|
34
|
-
type: TabType;
|
|
35
|
-
size: TabSize;
|
|
36
|
-
/** The index of the active tab. */
|
|
37
|
-
get selectedIndex(): number;
|
|
38
|
-
set selectedIndex(value: number);
|
|
39
|
-
/** Event emitted when the option is selected. */
|
|
40
|
-
readonly selectFocusedIndex: EventEmitter<number>;
|
|
41
|
-
/** Event emitted when a label is focused. */
|
|
42
|
-
readonly indexFocused: EventEmitter<number>;
|
|
43
|
-
_headerAddon: TabHeaderAddonDirective;
|
|
44
|
-
_title: TabTitleDirective;
|
|
45
|
-
/**
|
|
46
|
-
* workaround for @link https://github.com/microsoft/TypeScript/pull/42425
|
|
47
|
-
*/
|
|
48
|
-
_labelWrappers: QueryList<TabLabelWrapperDirective & {
|
|
49
|
-
disabled?: boolean;
|
|
50
|
-
}>;
|
|
51
|
-
_tabListContainer: ElementRef<HTMLElement>;
|
|
52
|
-
_tabList: ElementRef<HTMLElement>;
|
|
53
|
-
_paginationWrapper: ElementRef<HTMLElement>;
|
|
54
|
-
_activeIndicator: TabHeaderActiveIndicatorComponent;
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
|
-
ngAfterContentChecked(): void;
|
|
57
|
-
/**
|
|
58
|
-
* Aligns the ink bar to the selected tab on load.
|
|
59
|
-
*/
|
|
60
|
-
ngAfterContentInit(): void;
|
|
61
|
-
/** Sets the distance in pixels that the tab header should be transformed in the X-axis. */
|
|
62
|
-
get scrollDistance(): number;
|
|
63
|
-
set scrollDistance(v: number);
|
|
64
|
-
/** Tracks which element has focus; used for keyboard navigation */
|
|
65
|
-
get focusIndex(): number;
|
|
66
|
-
/** When the focus index is set, we must manually send focus to the correct label */
|
|
67
|
-
set focusIndex(value: number);
|
|
68
|
-
/**
|
|
69
|
-
* Determines if an index is valid. If the tabs are not ready yet, we assume that the user is
|
|
70
|
-
* providing a valid index and return true.
|
|
71
|
-
*/
|
|
72
|
-
_isValidIndex(index: number): boolean;
|
|
73
|
-
_handleKeydown(event: KeyboardEvent): void;
|
|
74
|
-
/**
|
|
75
|
-
* Sets focus on the HTML element for the label wrapper and scrolls it into the view if
|
|
76
|
-
* scrolling is enabled.
|
|
77
|
-
*/
|
|
78
|
-
_setTabFocus(tabIndex: number): void;
|
|
79
|
-
/**
|
|
80
|
-
* Moves the tab list such that the desired tab label (marked by index) is moved into view.
|
|
81
|
-
*
|
|
82
|
-
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
83
|
-
* should be called sparingly.
|
|
84
|
-
*/
|
|
85
|
-
_scrollToLabel(labelIndex: number): void;
|
|
86
|
-
/**
|
|
87
|
-
* Moves the tab list in the 'before' or 'after' direction (towards the beginning of the list or
|
|
88
|
-
* the end of the list, respectively). The distance to scroll is computed to be a third of the
|
|
89
|
-
* length of the tab list view window.
|
|
90
|
-
*
|
|
91
|
-
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
92
|
-
* should be called sparingly.
|
|
93
|
-
*/
|
|
94
|
-
_scrollHeader(scrollDir: ScrollDirection): void;
|
|
95
|
-
/**
|
|
96
|
-
* Callback for when the MutationObserver detects that the content has changed.
|
|
97
|
-
*/
|
|
98
|
-
_onContentChanges(): void;
|
|
99
|
-
/**
|
|
100
|
-
* Updating the view whether pagination should be enabled or not
|
|
101
|
-
*/
|
|
102
|
-
_updatePagination(): void;
|
|
103
|
-
/**
|
|
104
|
-
* Evaluate whether the pagination controls should be displayed. If the scroll width of the
|
|
105
|
-
* tab list is wider than the size of the header container, then the pagination controls should
|
|
106
|
-
* be shown.
|
|
107
|
-
*
|
|
108
|
-
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
109
|
-
* should be called sparingly.
|
|
110
|
-
*/
|
|
111
|
-
_checkPaginationEnabled(): void;
|
|
112
|
-
/**
|
|
113
|
-
* Evaluate whether the before and after controls should be enabled or disabled.
|
|
114
|
-
* If the header is at the beginning of the list (scroll distance is equal to 0) then disable the
|
|
115
|
-
* before button. If the header is at the end of the list (scroll distance is equal to the
|
|
116
|
-
* maximum distance we can scroll), then disable the after button.
|
|
117
|
-
*
|
|
118
|
-
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
119
|
-
* should be called sparingly.
|
|
120
|
-
*/
|
|
121
|
-
_checkScrollingControls(): void;
|
|
122
|
-
/**
|
|
123
|
-
* Determines what is the maximum length in pixels that can be set for the scroll distance. This
|
|
124
|
-
* is equal to the difference in width between the tab list container and tab header container.
|
|
125
|
-
*
|
|
126
|
-
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
127
|
-
* should be called sparingly.
|
|
128
|
-
*/
|
|
129
|
-
_getMaxScrollDistance(): number;
|
|
130
|
-
/** Performs the CSS transformation on the tab list that will cause the list to scroll. */
|
|
131
|
-
_updateTabScrollPosition(): void;
|
|
132
|
-
/** Tells the active indicator to align itself to the current label wrapper */
|
|
133
|
-
_alignActiveIndicatorToSelectedTab(): void;
|
|
134
|
-
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
135
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderComponent, never>;
|
|
136
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderComponent, "aui-tab-header", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["_headerAddon", "_title", "_labelWrappers"], ["*"], true, never>;
|
|
137
|
-
}
|
package/tabs/tab.component.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { TemplatePortal } from '@angular/cdk/portal';
|
|
2
|
-
import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { TabLabelDirective } from './tab-body.component';
|
|
5
|
-
import { TabContextService } from './tab-context.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class TabComponent implements AfterContentInit, OnDestroy, OnChanges {
|
|
8
|
-
private readonly _viewContainerRef;
|
|
9
|
-
readonly tabContext: TabContextService;
|
|
10
|
-
name: string;
|
|
11
|
-
/** Plain text label for the tab, used when there is no template label. */
|
|
12
|
-
textLabel: string;
|
|
13
|
-
/** Whether or not to show the close button in the header */
|
|
14
|
-
closeable: boolean;
|
|
15
|
-
/** Whether or not the tab is disabled */
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
close: EventEmitter<void>;
|
|
18
|
-
/** Content for the tab label given by `<ng-template [auiTabLabel]>`. */
|
|
19
|
-
templateLabel: TabLabelDirective;
|
|
20
|
-
/**
|
|
21
|
-
* Template provided in the tab content that will be used if present, used to enable lazy-loading
|
|
22
|
-
*/
|
|
23
|
-
_explicitContent: TemplateRef<any>;
|
|
24
|
-
/** Template inside the AuiTab view that contains an `<ng-content>`. */
|
|
25
|
-
_implicitContent: TemplateRef<any>;
|
|
26
|
-
get content(): TemplatePortal | null;
|
|
27
|
-
/**
|
|
28
|
-
* The relatively indexed position where 0 represents the center, negative is left, and positive
|
|
29
|
-
* represents the right.
|
|
30
|
-
*/
|
|
31
|
-
position: number | null;
|
|
32
|
-
/**
|
|
33
|
-
* The initial relatively index origin of the tab if it was created and selected after there
|
|
34
|
-
* was already a selected tab. Provides context of what position the tab should originate from.
|
|
35
|
-
*/
|
|
36
|
-
origin: number | null;
|
|
37
|
-
/** Emits whenever the internal state of the tab changes. */
|
|
38
|
-
readonly _stateChanges: Subject<void>;
|
|
39
|
-
/** Portal that will be the hosted content of the tab */
|
|
40
|
-
private _contentPortal;
|
|
41
|
-
constructor(_viewContainerRef: ViewContainerRef, tabContext: TabContextService);
|
|
42
|
-
ngAfterContentInit(): void;
|
|
43
|
-
ngOnDestroy(): void;
|
|
44
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "aui-tab", ["auiTab"], { "name": { "alias": "name"; "required": false; }; "textLabel": { "alias": "label"; "required": false; }; "closeable": { "alias": "closeable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "close": "close"; }, ["templateLabel", "_explicitContent"], ["*"], true, never>;
|
|
47
|
-
static ngAcceptInputType_disabled: unknown;
|
|
48
|
-
}
|
package/tabs/tabs.module.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { TabContentDirective, TabHeaderAddonDirective, TabLabelDirective, TabLabelWrapperDirective, TabTitleDirective } from './tab-body.component';
|
|
2
|
-
import { TabGroupComponent } from './tab-group.component';
|
|
3
|
-
import { TabHeaderComponent } from './tab-header.component';
|
|
4
|
-
import { TabComponent } from './tab.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "@angular/forms";
|
|
8
|
-
import * as i3 from "@angular/cdk/portal";
|
|
9
|
-
import * as i4 from "../button/button.module";
|
|
10
|
-
import * as i5 from "../icon/icon.module";
|
|
11
|
-
import * as i6 from "@angular/cdk/a11y";
|
|
12
|
-
import * as i7 from "@angular/cdk/observers";
|
|
13
|
-
import * as i8 from "./tab-group.component";
|
|
14
|
-
import * as i9 from "./tab.component";
|
|
15
|
-
import * as i10 from "./tab-body.component";
|
|
16
|
-
import * as i11 from "./tab-header.component";
|
|
17
|
-
import * as i12 from "./tab-header-active-indicator.component";
|
|
18
|
-
export declare class TabsModule {
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabsModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TabsModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.PortalModule, typeof i4.ButtonModule, typeof i5.IconModule, typeof i6.A11yModule, typeof i7.ObserversModule, typeof i8.TabGroupComponent, typeof i9.TabComponent, typeof i10.TabLabelDirective, typeof i10.TabContentDirective, typeof i10.TabHeaderAddonDirective, typeof i10.TabTitleDirective, typeof i11.TabHeaderComponent, typeof i10.TabBodyComponent, typeof i10.TabBodyPortalDirective, typeof i10.TabLabelWrapperDirective, typeof i12.TabHeaderActiveIndicatorComponent], [typeof i8.TabGroupComponent, typeof i9.TabComponent, typeof i10.TabLabelDirective, typeof i10.TabContentDirective, typeof i10.TabHeaderAddonDirective, typeof i10.TabTitleDirective, typeof i10.TabLabelWrapperDirective, typeof i11.TabHeaderComponent]>;
|
|
21
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TabsModule>;
|
|
22
|
-
}
|
|
23
|
-
export declare const TABS_MODULE: readonly [typeof TabGroupComponent, typeof TabComponent, typeof TabLabelDirective, typeof TabContentDirective, typeof TabHeaderAddonDirective, typeof TabTitleDirective, typeof TabLabelWrapperDirective, typeof TabHeaderComponent];
|
package/tabs/tabs.types.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ValueOf } from '../internal/types';
|
|
2
|
-
export declare const TabSize: {
|
|
3
|
-
/** 卡片级尺寸 */
|
|
4
|
-
readonly Large: "large";
|
|
5
|
-
/** 页面级尺寸 */
|
|
6
|
-
readonly Medium: "medium";
|
|
7
|
-
/** 小尺寸 */
|
|
8
|
-
readonly Small: "small";
|
|
9
|
-
};
|
|
10
|
-
export type TabSize = ValueOf<typeof TabSize>;
|
|
11
|
-
export declare const TabType: {
|
|
12
|
-
readonly Line: "line";
|
|
13
|
-
readonly Card: "card";
|
|
14
|
-
};
|
|
15
|
-
export type TabType = ValueOf<typeof TabType>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ComponentSize } from '../../internal/types';
|
|
3
|
-
import { Bem } from '../../internal/utils';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CheckTagComponent {
|
|
6
|
-
bem: Bem;
|
|
7
|
-
hovered: boolean;
|
|
8
|
-
checked: boolean;
|
|
9
|
-
size: ComponentSize;
|
|
10
|
-
round: boolean;
|
|
11
|
-
checkedChange: EventEmitter<boolean>;
|
|
12
|
-
get rootClass(): string;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckTagComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckTagComponent, "aui-check-tag", never, { "checked": { "alias": "checked"; "required": false; }; "size": { "alias": "size"; "required": false; }; "round": { "alias": "round"; "required": false; }; }, { "checkedChange": "checkedChange"; }, never, ["*"], true, never>;
|
|
15
|
-
}
|
package/tag/index.d.ts
DELETED
package/tag/tag.component.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ComponentSize } from '../internal/types';
|
|
3
|
-
import { Bem } from '../internal/utils';
|
|
4
|
-
import { TagType } from './tag.types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TagComponent {
|
|
7
|
-
bem: Bem;
|
|
8
|
-
type: TagType;
|
|
9
|
-
size: ComponentSize;
|
|
10
|
-
closeable: boolean;
|
|
11
|
-
border: boolean;
|
|
12
|
-
solid: boolean;
|
|
13
|
-
invalid: boolean;
|
|
14
|
-
round: boolean;
|
|
15
|
-
color: string;
|
|
16
|
-
allowClick: boolean;
|
|
17
|
-
close: EventEmitter<void>;
|
|
18
|
-
get rootClass(): string;
|
|
19
|
-
get isNormalTag(): boolean;
|
|
20
|
-
get customStyle(): {
|
|
21
|
-
color: string;
|
|
22
|
-
'border-color': string;
|
|
23
|
-
'background-color': string;
|
|
24
|
-
};
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "aui-tag", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "closeable": { "alias": "closeable"; "required": false; }; "border": { "alias": "border"; "required": false; }; "solid": { "alias": "solid"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "round": { "alias": "round"; "required": false; }; "color": { "alias": "color"; "required": false; }; "allowClick": { "alias": "allowClick"; "required": false; }; }, { "close": "close"; }, never, ["*"], true, never>;
|
|
27
|
-
}
|
package/tag/tag.module.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "../icon/icon.module";
|
|
4
|
-
import * as i3 from "./tag.component";
|
|
5
|
-
import * as i4 from "./check-tag/check-tag.component";
|
|
6
|
-
export declare class TagModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TagModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TagModule, never, [typeof i1.CommonModule, typeof i2.IconModule, typeof i3.TagComponent, typeof i4.CheckTagComponent], [typeof i3.TagComponent, typeof i4.CheckTagComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TagModule>;
|
|
10
|
-
}
|
package/tag/tag.types.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ValueOf } from '../internal/types';
|
|
2
|
-
export declare const TagType: {
|
|
3
|
-
readonly Primary: "primary";
|
|
4
|
-
readonly Success: "success";
|
|
5
|
-
readonly Warning: "warning";
|
|
6
|
-
readonly Error: "error";
|
|
7
|
-
readonly Info: "info";
|
|
8
|
-
};
|
|
9
|
-
export type TagType = ValueOf<typeof TagType>;
|
package/theme/index.d.ts
DELETED
package/theme/theme.module.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "./theme.pipe";
|
|
4
|
-
export declare class ThemeModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeModule, never, [typeof i1.CommonModule, typeof i2.ThemePickerPipe, typeof i2.RgbColorPipe, typeof i2.RgbaColorPipe, typeof i2.CssVarPipe], [typeof i2.ThemePickerPipe, typeof i2.RgbColorPipe, typeof i2.RgbaColorPipe, typeof i2.CssVarPipe]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeModule>;
|
|
8
|
-
}
|
package/theme/theme.pipe.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
|
|
2
|
-
import { ThemeService } from './theme.service';
|
|
3
|
-
import { ThemeSet } from './theme.types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class RgbColorPipe implements PipeTransform {
|
|
6
|
-
transform: (color: string) => string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RgbColorPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<RgbColorPipe, "auiRgbColor", true>;
|
|
9
|
-
}
|
|
10
|
-
export declare class RgbaColorPipe implements PipeTransform {
|
|
11
|
-
transform: ([color, opacity]: [string, number]) => string;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RgbaColorPipe, never>;
|
|
13
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<RgbaColorPipe, "auiRgbaColor", true>;
|
|
14
|
-
}
|
|
15
|
-
export declare class CssVarPipe implements PipeTransform {
|
|
16
|
-
transform: (value: string) => string;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CssVarPipe, never>;
|
|
18
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CssVarPipe, "auiCssVar", true>;
|
|
19
|
-
}
|
|
20
|
-
export declare class ThemePickerPipe<T> implements PipeTransform, OnDestroy {
|
|
21
|
-
private currentTheme;
|
|
22
|
-
private readonly destroy$$;
|
|
23
|
-
constructor(themeService: ThemeService, cdr: ChangeDetectorRef);
|
|
24
|
-
transform(v: ThemeSet<T>): T;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemePickerPipe<any>, never>;
|
|
27
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ThemePickerPipe<any>, "auiThemePicker", true>;
|
|
28
|
-
}
|
package/theme/theme.service.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Theme, ThemeMode } from './theme.types';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ThemeService {
|
|
4
|
-
private readonly htmlEl;
|
|
5
|
-
private browserTheme;
|
|
6
|
-
private themeMode;
|
|
7
|
-
private readonly currentAppTheme$$;
|
|
8
|
-
readonly currentTheme$: import("rxjs").Observable<Theme>;
|
|
9
|
-
constructor();
|
|
10
|
-
setThemeMode(mode: ThemeMode): void;
|
|
11
|
-
currentTheme(): Theme;
|
|
12
|
-
private themeChanged;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
15
|
-
}
|
package/theme/theme.types.d.ts
DELETED
package/theme/utils.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Dayjs } from 'dayjs';
|
|
3
|
-
import { CommonFormControl } from '../form/common-form';
|
|
4
|
-
import { ComponentSize } from '../internal/types';
|
|
5
|
-
import { TooltipDirective } from '../tooltip/tooltip.directive';
|
|
6
|
-
import { TimePickerDataLike, TimePickerModel } from './time-picker.type';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class TimePickerComponent extends CommonFormControl<TimePickerDataLike, TimePickerModel> {
|
|
9
|
-
format: string;
|
|
10
|
-
size: ComponentSize;
|
|
11
|
-
placeholder: string;
|
|
12
|
-
clearable: boolean;
|
|
13
|
-
showIcon: boolean;
|
|
14
|
-
disableHours: () => number[];
|
|
15
|
-
disableMinutes: (hour?: number) => number[];
|
|
16
|
-
disableSeconds: (hour?: number, minute?: number) => number[];
|
|
17
|
-
hourStep: number;
|
|
18
|
-
minuteStep: number;
|
|
19
|
-
secondStep: number;
|
|
20
|
-
footerTemplate: TemplateRef<void>;
|
|
21
|
-
readonly open: EventEmitter<void>;
|
|
22
|
-
readonly close: EventEmitter<void>;
|
|
23
|
-
tooltipRef: TooltipDirective;
|
|
24
|
-
timeValue: Dayjs;
|
|
25
|
-
timeFormatValue: string;
|
|
26
|
-
writeValue(value: TimePickerDataLike): void;
|
|
27
|
-
setValue(value: Dayjs): void;
|
|
28
|
-
changeFromPanel(value: Dayjs): void;
|
|
29
|
-
changeFromInput(source: string): void;
|
|
30
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
31
|
-
handleTooltipVisible(visible: boolean): void;
|
|
32
|
-
openPanel(): void;
|
|
33
|
-
closePanel(): void;
|
|
34
|
-
clearValue(event: Event): void;
|
|
35
|
-
submit(close?: boolean, value?: Dayjs): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "aui-time-picker", never, { "format": { "alias": "format"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "disableHours": { "alias": "disableHours"; "required": false; }; "disableMinutes": { "alias": "disableMinutes"; "required": false; }; "disableSeconds": { "alias": "disableSeconds"; "required": false; }; "hourStep": { "alias": "hourStep"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; }; "secondStep": { "alias": "secondStep"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; }, { "open": "open"; "close": "close"; }, never, never, true, never>;
|
|
38
|
-
}
|
package/time-picker/index.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import dayjs, { Dayjs } from 'dayjs';
|
|
3
|
-
import { CommonFormControl } from '../../form/common-form';
|
|
4
|
-
import { TimePickerControlType } from '../time-picker.type';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TimePickerPanelComponent extends CommonFormControl<Dayjs> implements OnChanges {
|
|
7
|
-
protected cdr: ChangeDetectorRef;
|
|
8
|
-
set format(value: string);
|
|
9
|
-
get format(): string;
|
|
10
|
-
private _format;
|
|
11
|
-
get totalWidth(): number;
|
|
12
|
-
onMousedown(): boolean;
|
|
13
|
-
hourStep: number;
|
|
14
|
-
minuteStep: number;
|
|
15
|
-
secondStep: number;
|
|
16
|
-
footerTemplate: TemplateRef<void>;
|
|
17
|
-
confirm: EventEmitter<void>;
|
|
18
|
-
disableHours: () => number[];
|
|
19
|
-
disableMinutes: (hour?: number) => number[];
|
|
20
|
-
disableSeconds: (hour?: number, minute?: number) => number[];
|
|
21
|
-
hourEnabled: boolean;
|
|
22
|
-
minuteEnabled: boolean;
|
|
23
|
-
secondEnabled: boolean;
|
|
24
|
-
TimePickerControlType: typeof TimePickerControlType;
|
|
25
|
-
HOUR_ITEM_CONFIG: number[];
|
|
26
|
-
MINUTE_ITEM_CONFIG: number[];
|
|
27
|
-
SECOND_ITEM_CONFIG: number[];
|
|
28
|
-
CONTROL_ITEM_HEIGHT: number;
|
|
29
|
-
ComponentSize: {
|
|
30
|
-
readonly Large: "large";
|
|
31
|
-
readonly Medium: "medium";
|
|
32
|
-
readonly Small: "small";
|
|
33
|
-
readonly Mini: "mini";
|
|
34
|
-
readonly Empty: "";
|
|
35
|
-
};
|
|
36
|
-
bem: import("../../internal/utils").Bem;
|
|
37
|
-
hourRef: ElementRef<HTMLElement>;
|
|
38
|
-
minuteRef: ElementRef<HTMLElement>;
|
|
39
|
-
secondRef: ElementRef<HTMLElement>;
|
|
40
|
-
enabledColumns: number;
|
|
41
|
-
firstScrolled: boolean;
|
|
42
|
-
constructor(cdr: ChangeDetectorRef);
|
|
43
|
-
isDisabled(value: number, type: TimePickerControlType): boolean;
|
|
44
|
-
ngOnChanges({ hourStep, minuteStep, secondStep }: SimpleChanges): void;
|
|
45
|
-
writeValue(value: Dayjs): void;
|
|
46
|
-
selectValue(value: number, type: TimePickerControlType): void;
|
|
47
|
-
syncValue(value: number, type: TimePickerControlType, currentValue: Dayjs): dayjs.Dayjs;
|
|
48
|
-
syncScrollOffset(duration: number, value: Dayjs): void;
|
|
49
|
-
private scrollByValue;
|
|
50
|
-
matchValue(value: number, type: TimePickerControlType, currDate: Dayjs): boolean;
|
|
51
|
-
getControlTypeConfig(type: TimePickerControlType): number[];
|
|
52
|
-
selectNow(): void;
|
|
53
|
-
trackBy(_index: number, content: number): number;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerPanelComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerPanelComponent, "aui-time-picker-panel", never, { "format": { "alias": "format"; "required": false; }; "hourStep": { "alias": "hourStep"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; }; "secondStep": { "alias": "secondStep"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "disableHours": { "alias": "disableHours"; "required": false; }; "disableMinutes": { "alias": "disableMinutes"; "required": false; }; "disableSeconds": { "alias": "disableSeconds"; "required": false; }; }, { "confirm": "confirm"; }, never, never, true, never>;
|
|
56
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { TimePickerComponent } from './component';
|
|
2
|
-
import { TimePickerPanelComponent } from './panel/panel.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/forms";
|
|
5
|
-
import * as i2 from "@angular/cdk/portal";
|
|
6
|
-
import * as i3 from "@angular/cdk/overlay";
|
|
7
|
-
import * as i4 from "@angular/common";
|
|
8
|
-
import * as i5 from "../input/input.module";
|
|
9
|
-
import * as i6 from "../tooltip/tooltip.module";
|
|
10
|
-
import * as i7 from "../icon/icon.module";
|
|
11
|
-
import * as i8 from "../button/button.module";
|
|
12
|
-
import * as i9 from "../i18n/i18n.module";
|
|
13
|
-
import * as i10 from "./component";
|
|
14
|
-
import * as i11 from "./panel/panel.component";
|
|
15
|
-
export declare class TimePickerModule {
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TimePickerModule, never, [typeof i1.FormsModule, typeof i1.ReactiveFormsModule, typeof i2.PortalModule, typeof i3.OverlayModule, typeof i4.CommonModule, typeof i5.InputModule, typeof i6.TooltipModule, typeof i7.IconModule, typeof i8.ButtonModule, typeof i9.I18nModule, typeof i10.TimePickerComponent, typeof i11.TimePickerPanelComponent], [typeof i10.TimePickerComponent, typeof i11.TimePickerPanelComponent]>;
|
|
18
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TimePickerModule>;
|
|
19
|
-
}
|
|
20
|
-
export declare const TIME_PICKER_MODULE: readonly [typeof TimePickerComponent, typeof TimePickerPanelComponent];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ConfigType } from 'dayjs';
|
|
2
|
-
export declare enum TimePickerControlType {
|
|
3
|
-
Hour = "hour",
|
|
4
|
-
Minute = "minute",
|
|
5
|
-
Second = "second"
|
|
6
|
-
}
|
|
7
|
-
export interface TimePickerModel {
|
|
8
|
-
hour?: number;
|
|
9
|
-
minute?: number;
|
|
10
|
-
second?: number;
|
|
11
|
-
}
|
|
12
|
-
export type TimePickerDataLike = ConfigType | TimePickerModel;
|
|
13
|
-
export declare function isTimePickerModel(item: any): item is TimePickerModel;
|
package/tooltip/animations.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const scale: import("@angular/animations").AnimationTransitionMetadata[];
|
|
2
|
-
export declare const scaleY: import("@angular/animations").AnimationTransitionMetadata[];
|
|
3
|
-
export declare const animations: import("@angular/animations").AnimationTransitionMetadata[];
|
|
4
|
-
export type AnimationType = 'none' | 'scale' | 'scaleY';
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
2
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
3
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
4
|
-
import { ReplaySubject, Subject } from 'rxjs';
|
|
5
|
-
import { AnimationType } from './animations';
|
|
6
|
-
import { TooltipComponent } from './tooltip.component';
|
|
7
|
-
import { TooltipTrigger, TooltipType } from './tooltip.types';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export interface TooltipInterface {
|
|
10
|
-
content: TemplateRef<any> | string;
|
|
11
|
-
context: any;
|
|
12
|
-
class: string;
|
|
13
|
-
type: TooltipType;
|
|
14
|
-
position: string;
|
|
15
|
-
trigger: TooltipTrigger;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
hideOnClick: boolean;
|
|
18
|
-
visibleChange: EventEmitter<boolean>;
|
|
19
|
-
}
|
|
20
|
-
export declare const DISPLAY_DELAY = 50;
|
|
21
|
-
export declare const HIDDEN_DELAY = 150;
|
|
22
|
-
export declare class BaseTooltip<T = any> implements TooltipInterface, AfterViewInit, OnDestroy {
|
|
23
|
-
protected overlay: Overlay;
|
|
24
|
-
protected viewContainerRef: ViewContainerRef;
|
|
25
|
-
protected elRef: ElementRef<HTMLInputElement>;
|
|
26
|
-
protected renderer: Renderer2;
|
|
27
|
-
protected cdr: ChangeDetectorRef;
|
|
28
|
-
protected ngZone: NgZone;
|
|
29
|
-
set content(value: TemplateRef<any> | string);
|
|
30
|
-
get content(): TemplateRef<any> | string;
|
|
31
|
-
set context(value: T);
|
|
32
|
-
get context(): T;
|
|
33
|
-
set class(value: string);
|
|
34
|
-
set type(value: TooltipType);
|
|
35
|
-
set position(value: string);
|
|
36
|
-
get position(): string;
|
|
37
|
-
set trigger(value: TooltipTrigger);
|
|
38
|
-
get trigger(): TooltipTrigger;
|
|
39
|
-
set disabled(value: boolean);
|
|
40
|
-
get disabled(): boolean;
|
|
41
|
-
hideOnClick: boolean;
|
|
42
|
-
animationType: AnimationType;
|
|
43
|
-
visibleChange: EventEmitter<boolean>;
|
|
44
|
-
overlayRef: OverlayRef;
|
|
45
|
-
protected componentClass: ComponentType<any>;
|
|
46
|
-
protected componentIns: TooltipComponent;
|
|
47
|
-
protected hostHovered: boolean;
|
|
48
|
-
protected tooltipHovered: boolean;
|
|
49
|
-
protected listeners: Array<() => void>;
|
|
50
|
-
protected unlistenBody: () => void;
|
|
51
|
-
protected inputContent$$: ReplaySubject<string | TemplateRef<any>>;
|
|
52
|
-
protected inputType$$: ReplaySubject<TooltipType>;
|
|
53
|
-
protected inputPosition$$: ReplaySubject<string>;
|
|
54
|
-
protected inputClass$$: ReplaySubject<string>;
|
|
55
|
-
protected inputContext$$: ReplaySubject<any>;
|
|
56
|
-
protected tooltipChanged$: import("rxjs").Observable<any>;
|
|
57
|
-
protected destroy$: Subject<unknown>;
|
|
58
|
-
protected _position: string;
|
|
59
|
-
protected _trigger: TooltipTrigger;
|
|
60
|
-
protected _disabled: boolean;
|
|
61
|
-
protected _context: T;
|
|
62
|
-
protected _content: TemplateRef<unknown> | string;
|
|
63
|
-
get isCreated(): boolean;
|
|
64
|
-
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, elRef: ElementRef<HTMLInputElement>, renderer: Renderer2, cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
65
|
-
private _updateTransformOrigin;
|
|
66
|
-
_createTooltip(): void;
|
|
67
|
-
_disposeTooltip(): void;
|
|
68
|
-
toggleTooltip(): void;
|
|
69
|
-
show(): void;
|
|
70
|
-
hide(): void;
|
|
71
|
-
updatePosition(): void;
|
|
72
|
-
ngAfterViewInit(): void;
|
|
73
|
-
ngOnDestroy(): void;
|
|
74
|
-
protected updateListeners(): void;
|
|
75
|
-
protected clearListeners(): void;
|
|
76
|
-
protected createOverlay(): OverlayRef;
|
|
77
|
-
protected onMouseEnter(): Promise<void>;
|
|
78
|
-
protected onMouseLeave(): Promise<void>;
|
|
79
|
-
protected onTooltipHovered(hovered: boolean): Promise<void>;
|
|
80
|
-
protected onClick(): void;
|
|
81
|
-
protected onBodyClick(event: Event): void;
|
|
82
|
-
protected onFocus(): void;
|
|
83
|
-
protected onBlur(): void;
|
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseTooltip<any>, never>;
|
|
85
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseTooltip<any>, never, never, {}, {}, never, never, true, never>;
|
|
86
|
-
}
|
package/tooltip/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './base-tooltip';
|
|
2
|
-
export * from './tooltip.component';
|
|
3
|
-
export * from './tooltip.directive';
|
|
4
|
-
export * from './tooltip.module';
|
|
5
|
-
export * from './tooltip.types';
|
|
6
|
-
export * from './tooltip-active.directive';
|
|
7
|
-
export * from './tooltip-copy.directive';
|
|
8
|
-
export * from './tooltip-intl';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { BaseTooltip } from './base-tooltip';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TooltipActiveDirective implements OnDestroy {
|
|
6
|
-
private readonly el;
|
|
7
|
-
private readonly renderer;
|
|
8
|
-
customClass: string[] | string;
|
|
9
|
-
destroy$: Subject<unknown>;
|
|
10
|
-
constructor(tooltipDirective: BaseTooltip, el: ElementRef, renderer: Renderer2);
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
private addClass;
|
|
13
|
-
private removeClass;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipActiveDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipActiveDirective, "[auiTooltipActive]", never, { "customClass": { "alias": "auiTooltipActive"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
-
}
|