@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.
Files changed (277) hide show
  1. package/fesm2022/alauda-ui.mjs +917 -922
  2. package/fesm2022/alauda-ui.mjs.map +1 -1
  3. package/index.d.ts +3673 -38
  4. package/package.json +3 -3
  5. package/theme/_mixin.scss +68 -61
  6. package/theme/_pattern.scss +20 -22
  7. package/theme/_theme-preset.scss +2 -1
  8. package/theme/_var.scss +30 -30
  9. package/theme/overlay-prebuilt.css +1 -0
  10. package/theme/style.css +1 -441
  11. package/tsconfig.lib.tsbuildinfo +1 -1
  12. package/accordion/accordion-item/accordion-item.component.d.ts +0 -22
  13. package/accordion/accordion.component.d.ts +0 -10
  14. package/accordion/accordion.module.d.ts +0 -15
  15. package/accordion/index.d.ts +0 -3
  16. package/anchor/anchor.component.d.ts +0 -37
  17. package/anchor/anchor.directive.d.ts +0 -57
  18. package/anchor/anchor.module.d.ts +0 -12
  19. package/anchor/index.d.ts +0 -5
  20. package/anchor/types.d.ts +0 -14
  21. package/anchor/utils.d.ts +0 -2
  22. package/autocomplete/autocomplete-placeholder.component.d.ts +0 -5
  23. package/autocomplete/autocomplete.component.d.ts +0 -21
  24. package/autocomplete/autocomplete.directive.d.ts +0 -54
  25. package/autocomplete/autocomplete.module.d.ts +0 -22
  26. package/autocomplete/autocomplete.types.d.ts +0 -4
  27. package/autocomplete/helper-directives.d.ts +0 -5
  28. package/autocomplete/index.d.ts +0 -8
  29. package/autocomplete/suggestion/suggestion.component.d.ts +0 -28
  30. package/autocomplete/suggestion-group/suggestion-group.component.d.ts +0 -11
  31. package/back-top/back-top.component.d.ts +0 -32
  32. package/back-top/back-top.module.d.ts +0 -10
  33. package/back-top/index.d.ts +0 -2
  34. package/breadcrumb/breadcrumb-item.component.d.ts +0 -14
  35. package/breadcrumb/breadcrumb.component.d.ts +0 -15
  36. package/breadcrumb/breadcrumb.module.d.ts +0 -13
  37. package/breadcrumb/index.d.ts +0 -3
  38. package/button/button-group/button-group.component.d.ts +0 -5
  39. package/button/button.component.d.ts +0 -33
  40. package/button/button.module.d.ts +0 -10
  41. package/button/button.types.d.ts +0 -15
  42. package/button/index.d.ts +0 -4
  43. package/card/card.component.d.ts +0 -6
  44. package/card/card.module.d.ts +0 -14
  45. package/card/helper-directives.d.ts +0 -13
  46. package/card/index.d.ts +0 -4
  47. package/card/section.component.d.ts +0 -5
  48. package/checkbox/checkbox-group/checkbox-group.component.d.ts +0 -16
  49. package/checkbox/checkbox.component.d.ts +0 -28
  50. package/checkbox/checkbox.module.d.ts +0 -13
  51. package/checkbox/index.d.ts +0 -3
  52. package/color-picker/color-picker.component.d.ts +0 -7
  53. package/color-picker/color-picker.module.d.ts +0 -9
  54. package/color-picker/index.d.ts +0 -2
  55. package/core/animation/animation-consts.d.ts +0 -9
  56. package/date-picker/calendar/constant.d.ts +0 -21
  57. package/date-picker/calendar/date-picker-panel/component.d.ts +0 -44
  58. package/date-picker/calendar/footer/component.d.ts +0 -11
  59. package/date-picker/calendar/header/component.d.ts +0 -40
  60. package/date-picker/calendar/panel/picker-panel.d.ts +0 -35
  61. package/date-picker/calendar/range-picker-panel/component.d.ts +0 -51
  62. package/date-picker/calendar/util.d.ts +0 -34
  63. package/date-picker/date-picker/date-picker.component.d.ts +0 -32
  64. package/date-picker/date-picker.module.d.ts +0 -22
  65. package/date-picker/date-picker.type.d.ts +0 -20
  66. package/date-picker/index.d.ts +0 -11
  67. package/date-picker/range-picker/range-picker.component.d.ts +0 -30
  68. package/date-picker/trigger/trigger.component.d.ts +0 -39
  69. package/dialog/confirm-dialog/confirm-dialog-config.d.ts +0 -13
  70. package/dialog/confirm-dialog/confirm-dialog.component.d.ts +0 -24
  71. package/dialog/dialog-animations.d.ts +0 -31
  72. package/dialog/dialog-config.d.ts +0 -14
  73. package/dialog/dialog-container.component.d.ts +0 -7
  74. package/dialog/dialog-content/dialog-close.directive.d.ts +0 -15
  75. package/dialog/dialog-content/dialog-content.component.d.ts +0 -11
  76. package/dialog/dialog-content/dialog-footer.component.d.ts +0 -7
  77. package/dialog/dialog-content/dialog-header.component.d.ts +0 -18
  78. package/dialog/dialog-ref.d.ts +0 -18
  79. package/dialog/dialog.component.d.ts +0 -48
  80. package/dialog/dialog.module.d.ts +0 -23
  81. package/dialog/dialog.service.d.ts +0 -28
  82. package/dialog/dialog.types.d.ts +0 -18
  83. package/dialog/index.d.ts +0 -11
  84. package/dialog/utils/errors.d.ts +0 -1
  85. package/dialog/utils/index.d.ts +0 -4
  86. package/drawer/component/drawer.component.d.ts +0 -33
  87. package/drawer/component/internal/internal.component.d.ts +0 -36
  88. package/drawer/drawer-ref.d.ts +0 -13
  89. package/drawer/drawer.module.d.ts +0 -15
  90. package/drawer/drawer.service.d.ts +0 -24
  91. package/drawer/helper-directives.d.ts +0 -13
  92. package/drawer/index.d.ts +0 -6
  93. package/drawer/types.d.ts +0 -26
  94. package/dropdown/dropdown-active.directive.d.ts +0 -7
  95. package/dropdown/dropdown-button/dropdown-button.component.d.ts +0 -21
  96. package/dropdown/dropdown.directive.d.ts +0 -13
  97. package/dropdown/dropdown.module.d.ts +0 -27
  98. package/dropdown/dropdown.types.d.ts +0 -9
  99. package/dropdown/helper-directives.d.ts +0 -5
  100. package/dropdown/index.d.ts +0 -10
  101. package/dropdown/menu/menu.component.d.ts +0 -9
  102. package/dropdown/menu-group/menu-group.component.d.ts +0 -5
  103. package/dropdown/menu-item/menu-item.component.d.ts +0 -15
  104. package/dropdown/submenu/submenu.component.d.ts +0 -16
  105. package/form/common-form.d.ts +0 -36
  106. package/form/form-item/form-item.component.d.ts +0 -37
  107. package/form/form.directive.d.ts +0 -21
  108. package/form/form.module.d.ts +0 -14
  109. package/form/form.types.d.ts +0 -16
  110. package/form/helper-directives.d.ts +0 -23
  111. package/form/index.d.ts +0 -6
  112. package/i18n/i18n.module.d.ts +0 -7
  113. package/i18n/i18n.pipe.d.ts +0 -10
  114. package/i18n/i18n.service.d.ts +0 -11
  115. package/i18n/i18n.type.d.ts +0 -6
  116. package/i18n/index.d.ts +0 -6
  117. package/i18n/language/en.d.ts +0 -2
  118. package/i18n/language/zh.d.ts +0 -2
  119. package/icon/icon-register.service.d.ts +0 -15
  120. package/icon/icon.component.d.ts +0 -25
  121. package/icon/icon.module.d.ts +0 -9
  122. package/icon/icons.d.ts +0 -1
  123. package/icon/index.d.ts +0 -3
  124. package/icon/utils.d.ts +0 -2
  125. package/inline-alert/helper-directives.d.ts +0 -5
  126. package/inline-alert/index.d.ts +0 -4
  127. package/inline-alert/inline-alert.component.d.ts +0 -19
  128. package/inline-alert/inline-alert.module.d.ts +0 -13
  129. package/inline-alert/inline-alert.types.d.ts +0 -10
  130. package/input/autosize.directive.d.ts +0 -24
  131. package/input/helper-directives.d.ts +0 -17
  132. package/input/index.d.ts +0 -8
  133. package/input/input-group/input-group.component.d.ts +0 -22
  134. package/input/input.component.d.ts +0 -19
  135. package/input/input.module.d.ts +0 -18
  136. package/input/number-input/number-input.component.d.ts +0 -39
  137. package/input/search/search.component.d.ts +0 -28
  138. package/input/tags-input/tags-input.component.d.ts +0 -64
  139. package/input/tags-input/with-max-row-count.d.ts +0 -10
  140. package/input/utils/index.d.ts +0 -5
  141. package/internal/types/index.d.ts +0 -12
  142. package/internal/utils/animations.d.ts +0 -2
  143. package/internal/utils/async.d.ts +0 -1
  144. package/internal/utils/bem.d.ts +0 -12
  145. package/internal/utils/coercion.d.ts +0 -4
  146. package/internal/utils/fn.d.ts +0 -9
  147. package/internal/utils/index.d.ts +0 -9
  148. package/internal/utils/observe-dom.d.ts +0 -3
  149. package/internal/utils/operators.d.ts +0 -7
  150. package/internal/utils/scroll-into-view.d.ts +0 -1
  151. package/internal/utils/styles-renderer.d.ts +0 -18
  152. package/internal/utils/watch-content-exist.d.ts +0 -2
  153. package/message/base-message.d.ts +0 -33
  154. package/message/index.d.ts +0 -3
  155. package/message/message-animations.d.ts +0 -4
  156. package/message/message-wrapper.component.d.ts +0 -8
  157. package/message/message.component.d.ts +0 -30
  158. package/message/message.config.d.ts +0 -44
  159. package/message/message.module.d.ts +0 -11
  160. package/message/message.service.d.ts +0 -12
  161. package/notification/index.d.ts +0 -4
  162. package/notification/notification-wrapper.component.d.ts +0 -9
  163. package/notification/notification.component.d.ts +0 -34
  164. package/notification/notification.config.d.ts +0 -16
  165. package/notification/notification.module.d.ts +0 -12
  166. package/notification/notification.service.d.ts +0 -12
  167. package/paginator/index.d.ts +0 -3
  168. package/paginator/paginator-intl.d.ts +0 -20
  169. package/paginator/paginator.component.d.ts +0 -37
  170. package/paginator/paginator.module.d.ts +0 -12
  171. package/radio/base-radio.d.ts +0 -28
  172. package/radio/index.d.ts +0 -5
  173. package/radio/radio-button/radio-button.component.d.ts +0 -17
  174. package/radio/radio-group/radio-group.component.d.ts +0 -20
  175. package/radio/radio.component.d.ts +0 -13
  176. package/radio/radio.module.d.ts +0 -15
  177. package/radio/radio.types.d.ts +0 -7
  178. package/scrolling/fixed-size-table-virtual-scroll-strategy.d.ts +0 -28
  179. package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +0 -24
  180. package/scrolling/fixed-size-virtual-scroll.directive.d.ts +0 -6
  181. package/scrolling/index.d.ts +0 -6
  182. package/scrolling/scrolling.module.d.ts +0 -10
  183. package/scrolling/virtual-for-of.directive.d.ts +0 -13
  184. package/scrolling/virtual-scroll-viewport.component.d.ts +0 -6
  185. package/select/base-select.d.ts +0 -83
  186. package/select/helper-directives.d.ts +0 -22
  187. package/select/index.d.ts +0 -9
  188. package/select/multi-select/multi-select.component.d.ts +0 -57
  189. package/select/option/option.component.d.ts +0 -46
  190. package/select/option-group/option-group.component.d.ts +0 -11
  191. package/select/option-placeholder.component.d.ts +0 -5
  192. package/select/select.component.d.ts +0 -23
  193. package/select/select.module.d.ts +0 -27
  194. package/select/select.types.d.ts +0 -19
  195. package/select/validators.d.ts +0 -22
  196. package/shared/click-outside.directive.d.ts +0 -10
  197. package/shared/shared.module.d.ts +0 -7
  198. package/sort/index.d.ts +0 -5
  199. package/sort/sort-errors.d.ts +0 -8
  200. package/sort/sort-header.component.d.ts +0 -24
  201. package/sort/sort.directive.d.ts +0 -21
  202. package/sort/sort.module.d.ts +0 -12
  203. package/sort/sort.types.d.ts +0 -10
  204. package/status-bar/index.d.ts +0 -3
  205. package/status-bar/status-bar.component.d.ts +0 -13
  206. package/status-bar/status-bar.module.d.ts +0 -9
  207. package/status-bar/status-bar.types.d.ts +0 -21
  208. package/steps/index.d.ts +0 -3
  209. package/steps/steps.component.d.ts +0 -35
  210. package/steps/steps.module.d.ts +0 -9
  211. package/steps/types.d.ts +0 -16
  212. package/switch/index.d.ts +0 -2
  213. package/switch/switch.component.d.ts +0 -11
  214. package/switch/switch.module.d.ts +0 -8
  215. package/table/index.d.ts +0 -15
  216. package/table/table-cell-def.directive.d.ts +0 -10
  217. package/table/table-cell.component.d.ts +0 -18
  218. package/table/table-cell.directive.d.ts +0 -10
  219. package/table/table-column-def.directive.d.ts +0 -11
  220. package/table/table-column-resizable.directive.d.ts +0 -30
  221. package/table/table-header-cell-def.directive.d.ts +0 -10
  222. package/table/table-header-cell.directive.d.ts +0 -9
  223. package/table/table-header-row-def.directive.d.ts +0 -13
  224. package/table/table-header-row.component.d.ts +0 -7
  225. package/table/table-placeholder.directive.d.ts +0 -16
  226. package/table/table-row-def.directive.d.ts +0 -13
  227. package/table/table-row.component.d.ts +0 -13
  228. package/table/table-scroll.directive.d.ts +0 -33
  229. package/table/table.component.d.ts +0 -20
  230. package/table/table.module.d.ts +0 -35
  231. package/table-of-contents/index.d.ts +0 -4
  232. package/table-of-contents/table-of-contents.module.d.ts +0 -14
  233. package/table-of-contents/toc-container.directive.d.ts +0 -28
  234. package/table-of-contents/toc-content.directive.d.ts +0 -14
  235. package/table-of-contents/toc-link.directive.d.ts +0 -16
  236. package/tabs/index.d.ts +0 -8
  237. package/tabs/tab-body.component.d.ts +0 -71
  238. package/tabs/tab-context.service.d.ts +0 -15
  239. package/tabs/tab-group.component.d.ts +0 -92
  240. package/tabs/tab-header-active-indicator.component.d.ts +0 -25
  241. package/tabs/tab-header.component.d.ts +0 -137
  242. package/tabs/tab.component.d.ts +0 -48
  243. package/tabs/tabs.module.d.ts +0 -23
  244. package/tabs/tabs.types.d.ts +0 -15
  245. package/tag/check-tag/check-tag.component.d.ts +0 -15
  246. package/tag/index.d.ts +0 -4
  247. package/tag/tag.component.d.ts +0 -27
  248. package/tag/tag.module.d.ts +0 -10
  249. package/tag/tag.types.d.ts +0 -9
  250. package/theme/index.d.ts +0 -5
  251. package/theme/theme.module.d.ts +0 -8
  252. package/theme/theme.pipe.d.ts +0 -28
  253. package/theme/theme.service.d.ts +0 -15
  254. package/theme/theme.types.d.ts +0 -3
  255. package/theme/utils.d.ts +0 -3
  256. package/time-picker/component.d.ts +0 -38
  257. package/time-picker/constant.d.ts +0 -4
  258. package/time-picker/index.d.ts +0 -5
  259. package/time-picker/panel/panel.component.d.ts +0 -56
  260. package/time-picker/time-picker.module.d.ts +0 -20
  261. package/time-picker/time-picker.type.d.ts +0 -13
  262. package/tooltip/animations.d.ts +0 -4
  263. package/tooltip/base-tooltip.d.ts +0 -86
  264. package/tooltip/index.d.ts +0 -8
  265. package/tooltip/tooltip-active.directive.d.ts +0 -16
  266. package/tooltip/tooltip-copy.directive.d.ts +0 -26
  267. package/tooltip/tooltip-intl.d.ts +0 -11
  268. package/tooltip/tooltip.component.d.ts +0 -46
  269. package/tooltip/tooltip.directive.d.ts +0 -10
  270. package/tooltip/tooltip.module.d.ts +0 -16
  271. package/tooltip/tooltip.types.d.ts +0 -16
  272. package/tooltip/utils/index.d.ts +0 -15
  273. package/tree-select/index.d.ts +0 -4
  274. package/tree-select/tree-node-placeholder.component.d.ts +0 -5
  275. package/tree-select/tree-select.component.d.ts +0 -94
  276. package/tree-select/tree-select.module.d.ts +0 -12
  277. package/tree-select/tree-select.types.d.ts +0 -11
package/index.d.ts CHANGED
@@ -1,38 +1,3673 @@
1
- export * from './accordion';
2
- export * from './anchor';
3
- export * from './autocomplete';
4
- export * from './back-top';
5
- export * from './breadcrumb';
6
- export * from './button';
7
- export * from './card';
8
- export * from './checkbox';
9
- export * from './color-picker';
10
- export * from './date-picker';
11
- export * from './dialog';
12
- export * from './drawer';
13
- export * from './dropdown';
14
- export * from './form';
15
- export * from './i18n';
16
- export * from './icon';
17
- export * from './inline-alert';
18
- export * from './input';
19
- export { ComponentSize } from './internal/types';
20
- export { AttrBoolean, Bem, buildBem, coerceAttrBoolean, coerceString, getCompatibleStylesRenderer, handlePixel, isTemplateRef, observeMutationOn, observeResizeOn, } from './internal/utils';
21
- export * from './message';
22
- export * from './notification';
23
- export * from './paginator';
24
- export * from './radio';
25
- export * from './scrolling';
26
- export * from './select';
27
- export * from './sort';
28
- export * from './status-bar';
29
- export * from './steps';
30
- export * from './switch';
31
- export * from './table';
32
- export * from './table-of-contents';
33
- export * from './tabs';
34
- export * from './tag';
35
- export * from './theme';
36
- export * from './time-picker';
37
- export * from './tooltip';
38
- export * from './tree-select';
1
+ import * as i2 from '@angular/cdk/accordion';
2
+ import { CdkAccordion, CdkAccordionItem } from '@angular/cdk/accordion';
3
+ import * as i0 from '@angular/core';
4
+ import { AfterContentInit, TemplateRef, ChangeDetectorRef, PipeTransform, OnDestroy, ElementRef, Renderer2, Injector, OnInit, AfterContentChecked, EventEmitter, QueryList, ApplicationRef, AfterViewInit, ViewContainerRef, NgZone, OnChanges, SimpleChanges, InjectionToken, Type, ComponentRef, EmbeddedViewRef, NgIterable, TrackByFunction, ComponentFactoryResolver } from '@angular/core';
5
+ import { UniqueSelectionDispatcher, ListRange, DataSource } from '@angular/cdk/collections';
6
+ import * as i1 from '@angular/common';
7
+ import * as rxjs from 'rxjs';
8
+ import { Observable, Subject, BehaviorSubject, ReplaySubject } from 'rxjs';
9
+ import { HttpClient } from '@angular/common/http';
10
+ import * as i6 from '@angular/cdk/a11y';
11
+ import { FocusMonitor } from '@angular/cdk/a11y';
12
+ import * as _alauda_ui from '@alauda/ui';
13
+ import * as i3 from '@angular/cdk/portal';
14
+ import { ComponentPortal, ComponentType, CdkPortalOutlet, TemplatePortal, CdkPortal } from '@angular/cdk/portal';
15
+ import { CdkScrollable, ScrollDispatcher as ScrollDispatcher$1, VirtualScrollStrategy, CdkVirtualScrollViewport, CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualForOfContext } from '@angular/cdk/scrolling';
16
+ import * as i2$1 from '@angular/cdk/overlay';
17
+ import { Overlay, OverlayRef, CdkScrollable as CdkScrollable$1, ComponentType as ComponentType$1, ScrollDispatcher } from '@angular/cdk/overlay';
18
+ import * as i2$2 from '@angular/forms';
19
+ import { NgControl, ControlValueAccessor, ControlContainer, FormGroupDirective, NgForm, ValidatorFn, AsyncValidatorFn, UntypedFormControl, FormBuilder, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
20
+ import { AnimationEvent } from '@angular/animations';
21
+ import dayjs, { Dayjs, ConfigType } from 'dayjs';
22
+ import { Directionality } from '@angular/cdk/bidi';
23
+ import { RowOutlet, CdkTable, CdkCellDef, CdkCell, CdkColumnDef, CdkHeaderCellDef, CdkHeaderCell, CdkHeaderRowDef, CdkHeaderRow, CdkRowDef, CdkRow } from '@angular/cdk/table';
24
+ import * as i7 from '@angular/cdk/observers';
25
+
26
+ declare class AccordionComponent extends CdkAccordion {
27
+ parent: AccordionComponent;
28
+ background: boolean;
29
+ depth: number;
30
+ constructor(parent: AccordionComponent);
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, [{ optional: true; skipSelf: true; }]>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "aui-accordion", never, { "background": { "alias": "background"; "required": false; }; }, {}, never, ["*"], true, never>;
33
+ }
34
+
35
+ declare class AccordionItemHeaderDirective {
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemHeaderDirective, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AccordionItemHeaderDirective, "[auiAccordionItemHeader]", never, {}, {}, never, never, true, never>;
38
+ }
39
+ declare class AccordionItemContentDirective {
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemContentDirective, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AccordionItemContentDirective, "[auiAccordionContent]", never, {}, {}, never, never, true, never>;
42
+ }
43
+ declare class AccordionItemComponent extends CdkAccordionItem implements AfterContentInit {
44
+ background: boolean;
45
+ _lazyContentTpl: TemplateRef<unknown>;
46
+ lazyContentTpl: TemplateRef<unknown>;
47
+ constructor(accordion: AccordionComponent, cdr: ChangeDetectorRef, uniqueSelectionDispatcher: UniqueSelectionDispatcher);
48
+ ngAfterContentInit(): void;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "aui-accordion-item", never, { "background": { "alias": "background"; "required": false; }; }, {}, ["_lazyContentTpl"], ["[auiAccordionItemHeader]", "*"], true, never>;
51
+ }
52
+
53
+ type Theme = 'dark' | 'light';
54
+ type ThemeMode = 'dark' | 'light' | 'system';
55
+ type ThemeSet<T> = Record<Theme, T> | ((theme: Theme) => T) | [T, T];
56
+
57
+ declare class ThemeService {
58
+ private readonly htmlEl;
59
+ private browserTheme;
60
+ private themeMode;
61
+ private readonly currentAppTheme$$;
62
+ readonly currentTheme$: rxjs.Observable<Theme>;
63
+ constructor();
64
+ setThemeMode(mode: ThemeMode): void;
65
+ currentTheme(): Theme;
66
+ private themeChanged;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
68
+ static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
69
+ }
70
+
71
+ declare class RgbColorPipe implements PipeTransform {
72
+ transform: (color: string) => string;
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<RgbColorPipe, never>;
74
+ static ɵpipe: i0.ɵɵPipeDeclaration<RgbColorPipe, "auiRgbColor", true>;
75
+ }
76
+ declare class RgbaColorPipe implements PipeTransform {
77
+ transform: ([color, opacity]: [string, number]) => string;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<RgbaColorPipe, never>;
79
+ static ɵpipe: i0.ɵɵPipeDeclaration<RgbaColorPipe, "auiRgbaColor", true>;
80
+ }
81
+ declare class CssVarPipe implements PipeTransform {
82
+ transform: (value: string) => string;
83
+ static ɵfac: i0.ɵɵFactoryDeclaration<CssVarPipe, never>;
84
+ static ɵpipe: i0.ɵɵPipeDeclaration<CssVarPipe, "auiCssVar", true>;
85
+ }
86
+ declare class ThemePickerPipe<T> implements PipeTransform, OnDestroy {
87
+ private currentTheme;
88
+ private readonly destroy$$;
89
+ constructor(themeService: ThemeService, cdr: ChangeDetectorRef);
90
+ transform(v: ThemeSet<T>): T;
91
+ ngOnDestroy(): void;
92
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemePickerPipe<any>, never>;
93
+ static ɵpipe: i0.ɵɵPipeDeclaration<ThemePickerPipe<any>, "auiThemePicker", true>;
94
+ }
95
+
96
+ declare class ThemeModule {
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeModule, never>;
98
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeModule, never, [typeof i1.CommonModule, typeof ThemePickerPipe, typeof RgbColorPipe, typeof RgbaColorPipe, typeof CssVarPipe], [typeof ThemePickerPipe, typeof RgbColorPipe, typeof RgbaColorPipe, typeof CssVarPipe]>;
99
+ static ɵinj: i0.ɵɵInjectorDeclaration<ThemeModule>;
100
+ }
101
+
102
+ declare class Bem {
103
+ private readonly namespace;
104
+ constructor(namespace: string);
105
+ block(...modifiers: Array<string | {
106
+ [name: string]: boolean;
107
+ }>): string;
108
+ modifier(name: string): string;
109
+ element(name: string, ...modifiers: Array<string | {
110
+ [name: string]: boolean | '';
111
+ }>): string;
112
+ }
113
+ declare function buildBem(namespace: string): Bem;
114
+
115
+ declare const coerceString: (val: unknown) => string;
116
+ type AttrBoolean = boolean | '';
117
+ declare const coerceAttrBoolean: (val: AttrBoolean) => boolean;
118
+
119
+ declare const isTemplateRef: (label: any) => label is TemplateRef<unknown>;
120
+ declare const handlePixel: (value: number | string) => string;
121
+
122
+ declare const observeResizeOn: <T extends Element>(target: T, options?: ResizeObserverOptions) => Observable<T>;
123
+ declare const observeMutationOn: <T extends Node>(target: T, options?: MutationObserverInit) => Observable<MutationRecord>;
124
+
125
+ declare function getCompatibleStylesRenderer(): CSSStyleSheetRenderer | StylesRenderer;
126
+ declare class StylesRenderer implements Renderer {
127
+ private styleElement;
128
+ render(styles: string): void;
129
+ cleanup(): void;
130
+ }
131
+ declare class CSSStyleSheetRenderer implements Renderer {
132
+ private readonly options?;
133
+ private styleSheet;
134
+ constructor(options?: CSSStyleSheetInit);
135
+ render(styles: string): void;
136
+ cleanup(): void;
137
+ }
138
+ interface Renderer {
139
+ render(styles: string): void;
140
+ cleanup(): void;
141
+ }
142
+
143
+ declare class IconRegisterService {
144
+ private readonly httpClient;
145
+ private defaultIconPrefix;
146
+ private readonly doc;
147
+ constructor(document: Document, httpClient: HttpClient);
148
+ getDefaultIconPrefix(): string;
149
+ replaceDefaultIconPrefix(prefix: string): void;
150
+ registerSvgSymbolsByUrl(url: string): void;
151
+ registerSvgSymbolsByString(str: string): void;
152
+ private appendSvg;
153
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconRegisterService, [{ optional: true; }, { optional: true; }]>;
154
+ static ɵprov: i0.ɵɵInjectableDeclaration<IconRegisterService>;
155
+ }
156
+
157
+ declare class IconComponent {
158
+ private readonly iconRegisterService;
159
+ icon: string;
160
+ light: string;
161
+ dark: string;
162
+ link: string;
163
+ margin: 'left' | 'right';
164
+ size: string;
165
+ color: string;
166
+ background: 'circle' | 'triangle';
167
+ backgroundColor: string;
168
+ bem: Bem;
169
+ id: number;
170
+ constructor(iconRegisterService: IconRegisterService);
171
+ private parseIcon;
172
+ getWidth(): string | false;
173
+ getHeight(): string | false;
174
+ getIconId(icon: string): string;
175
+ getClass(id: string): string;
176
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
177
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "aui-icon", never, { "icon": { "alias": "icon"; "required": false; }; "light": { "alias": "light"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "link": { "alias": "link"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "background": { "alias": "background"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; }, {}, never, never, true, never>;
178
+ }
179
+
180
+ declare class IconModule {
181
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconModule, never>;
182
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IconModule, never, [typeof i1.CommonModule, typeof ThemeModule, typeof IconComponent], [typeof IconComponent]>;
183
+ static ɵinj: i0.ɵɵInjectorDeclaration<IconModule>;
184
+ }
185
+
186
+ type ValueOf<T> = T[keyof T];
187
+ declare const ComponentSize: {
188
+ readonly Large: "large";
189
+ readonly Medium: "medium";
190
+ readonly Small: "small";
191
+ readonly Mini: "mini";
192
+ /**
193
+ * represents default internally, @link https://github.com/angular/vscode-ng-language-service/issues/1147
194
+ */
195
+ readonly Empty: "";
196
+ };
197
+ type ComponentSize = ValueOf<typeof ComponentSize>;
198
+
199
+ declare const ButtonType: {
200
+ readonly Default: "default";
201
+ readonly Primary: "primary";
202
+ readonly Success: "success";
203
+ readonly Warning: "warning";
204
+ readonly Danger: "danger";
205
+ readonly Text: "text";
206
+ readonly Inline: "inline";
207
+ /**
208
+ * represents default internally, @link https://github.com/angular/vscode-ng-language-service/issues/1147
209
+ */
210
+ readonly Empty: "";
211
+ };
212
+ type ButtonType = ValueOf<typeof ButtonType>;
213
+
214
+ declare class ButtonComponent implements OnDestroy {
215
+ private readonly el;
216
+ private readonly renderer;
217
+ private readonly focusMonitor;
218
+ get type(): ButtonType;
219
+ set type(val: ButtonType);
220
+ get size(): ComponentSize;
221
+ set size(val: ComponentSize);
222
+ get plain(): boolean;
223
+ set plain(val: boolean);
224
+ get loading(): boolean;
225
+ set loading(val: boolean);
226
+ get round(): boolean;
227
+ set round(val: boolean);
228
+ get square(): boolean;
229
+ set square(val: boolean);
230
+ private _type;
231
+ private _size;
232
+ private _plain;
233
+ private _loading;
234
+ private _round;
235
+ private _square;
236
+ constructor(el: ElementRef, renderer: Renderer2, focusMonitor: FocusMonitor);
237
+ ngOnDestroy(): void;
238
+ private switchAssertClass;
239
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
240
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[aui-button]", never, { "type": { "alias": "aui-button"; "required": false; }; "size": { "alias": "size"; "required": false; }; "plain": { "alias": "plain"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "round": { "alias": "round"; "required": false; }; "square": { "alias": "square"; "required": false; }; }, {}, never, ["*"], true, never>;
241
+ }
242
+
243
+ declare class ButtonGroupComponent {
244
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
245
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "aui-button-group", never, {}, {}, never, ["*"], true, never>;
246
+ }
247
+
248
+ declare class ButtonModule {
249
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
250
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, never, [typeof i1.CommonModule, typeof IconModule, typeof ButtonComponent, typeof ButtonGroupComponent], [typeof ButtonComponent, typeof ButtonGroupComponent]>;
251
+ static ɵinj: i0.ɵɵInjectorDeclaration<ButtonModule>;
252
+ }
253
+
254
+ declare class AccordionModule {
255
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionModule, never>;
256
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AccordionModule, never, [typeof i1.CommonModule, typeof i2.CdkAccordionModule, typeof IconModule, typeof ButtonModule, typeof AccordionComponent, typeof AccordionItemComponent, typeof AccordionItemHeaderDirective, typeof AccordionItemContentDirective], [typeof AccordionComponent, typeof AccordionItemComponent, typeof AccordionItemHeaderDirective, typeof AccordionItemContentDirective]>;
257
+ static ɵinj: i0.ɵɵInjectorDeclaration<AccordionModule>;
258
+ }
259
+ declare const ACCORDION_MODULE: readonly [typeof AccordionComponent, typeof AccordionItemComponent, typeof AccordionItemHeaderDirective, typeof AccordionItemContentDirective];
260
+
261
+ declare class AnchorDirectiveChild {
262
+ protected injector: Injector;
263
+ readonly parent: AnchorDirective;
264
+ constructor(injector: Injector);
265
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnchorDirectiveChild, never>;
266
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AnchorDirectiveChild, never, never, {}, {}, never, never, true, never>;
267
+ }
268
+ declare class AnchorLabelDirective extends AnchorDirectiveChild implements OnInit, AfterContentChecked {
269
+ protected injector: Injector;
270
+ readonly elRef: ElementRef<HTMLElement>;
271
+ get label(): string | TemplateRef<unknown>;
272
+ set label(value: string | TemplateRef<unknown>);
273
+ private _label;
274
+ labelContext: unknown;
275
+ get target(): HTMLElement;
276
+ set id(id: string);
277
+ get id(): string;
278
+ private _id;
279
+ set level(value: number | '');
280
+ get level(): number | "";
281
+ private _level;
282
+ labelChange: EventEmitter<string | TemplateRef<unknown>>;
283
+ constructor(injector: Injector, elRef: ElementRef<HTMLElement>);
284
+ ngOnInit(): void;
285
+ ngAfterContentChecked(): void;
286
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnchorLabelDirective, never>;
287
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AnchorLabelDirective, "[auiAnchorLabel]", never, { "label": { "alias": "auiAnchorLabel"; "required": false; }; "labelContext": { "alias": "auiAnchorLabelContext"; "required": false; }; "id": { "alias": "id"; "required": false; }; "level": { "alias": "level"; "required": false; }; }, { "labelChange": "labelChange"; }, never, never, true, never>;
288
+ }
289
+ declare class AnchorDirective implements AfterContentInit, OnDestroy {
290
+ private readonly appRef;
291
+ private readonly injector;
292
+ readonly elRef: ElementRef<HTMLElement>;
293
+ private readonly cdkScrollable;
294
+ auiAnchor: HTMLElement | '';
295
+ adaptPosition: boolean;
296
+ padding: number;
297
+ minTop: number;
298
+ injectId: boolean;
299
+ anchorLabels: QueryList<AnchorLabelDirective>;
300
+ get containerEl(): HTMLElement;
301
+ get scrollableEl(): HTMLElement | (Window & typeof globalThis);
302
+ anchorPortal: ComponentPortal<AnchorComponent>;
303
+ destroy$$: Subject<void>;
304
+ constructor(appRef: ApplicationRef, injector: Injector, elRef: ElementRef<HTMLElement>, cdkScrollable: CdkScrollable);
305
+ ngAfterContentInit(): void;
306
+ ngOnDestroy(): void;
307
+ adaptAnchorPosition(containerEl: HTMLElement, anchorEl: HTMLElement): void;
308
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnchorDirective, [null, null, null, { optional: true; }]>;
309
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AnchorDirective, "[auiAnchor]", never, { "auiAnchor": { "alias": "auiAnchor"; "required": false; }; "adaptPosition": { "alias": "adaptPosition"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "minTop": { "alias": "minTop"; "required": false; }; "injectId": { "alias": "injectId"; "required": false; }; }, {}, ["anchorLabels"], never, true, never>;
310
+ }
311
+
312
+ interface AnchorItemBase {
313
+ readonly id?: string;
314
+ readonly target?: HTMLElement;
315
+ readonly label: TemplateRef<unknown> | string;
316
+ readonly labelContext?: unknown;
317
+ readonly labelChange?: EventEmitter<TemplateRef<unknown> | string>;
318
+ }
319
+ interface AnchorItem extends AnchorItemBase {
320
+ readonly level: number;
321
+ }
322
+ interface AnchorTreeItem extends AnchorItemBase {
323
+ children?: AnchorTreeItem[];
324
+ }
325
+
326
+ declare class AnchorTreeComponent extends AnchorDirectiveChild implements OnDestroy {
327
+ set treeItems(treeItems: AnchorTreeItem[]);
328
+ get treeItems(): AnchorTreeItem[];
329
+ private _treeItems;
330
+ activeId: string;
331
+ activeIdChange: EventEmitter<string>;
332
+ bem: _alauda_ui.Bem;
333
+ isTemplateRef: (label: any) => label is i0.TemplateRef<unknown>;
334
+ private readonly depose$$;
335
+ watchLabelsChange(): void;
336
+ ngOnDestroy(): void;
337
+ isActive(item: AnchorTreeItem): boolean;
338
+ onItemClick(e: Event, item: AnchorTreeItem): void;
339
+ trackById(_index: number, item: AnchorTreeItem): string;
340
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnchorTreeComponent, never>;
341
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnchorTreeComponent, "aui-anchor-tree", never, { "treeItems": { "alias": "treeItems"; "required": false; }; "activeId": { "alias": "activeId"; "required": false; }; }, { "activeIdChange": "activeIdChange"; }, never, never, true, never>;
342
+ }
343
+ declare class AnchorComponent extends AnchorDirectiveChild implements AfterViewInit, OnDestroy {
344
+ protected injector: Injector;
345
+ private readonly cdr;
346
+ get items(): AnchorItem[];
347
+ set items(items: AnchorItem[]);
348
+ private _items;
349
+ treeItems: AnchorTreeItem[];
350
+ activeId: string;
351
+ bem: _alauda_ui.Bem;
352
+ private readonly destroy$$;
353
+ constructor(injector: Injector, cdr: ChangeDetectorRef);
354
+ ngAfterViewInit(): void;
355
+ ngOnDestroy(): void;
356
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnchorComponent, never>;
357
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnchorComponent, "aui-anchor", never, { "items": { "alias": "items"; "required": false; }; "treeItems": { "alias": "treeItems"; "required": false; }; "activeId": { "alias": "activeId"; "required": false; }; }, {}, never, never, true, never>;
358
+ }
359
+
360
+ declare class AnchorModule {
361
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnchorModule, never>;
362
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnchorModule, never, [typeof i1.CommonModule, typeof AnchorComponent, typeof AnchorTreeComponent, typeof AnchorDirective, typeof AnchorLabelDirective], [typeof AnchorComponent, typeof AnchorTreeComponent, typeof AnchorDirective, typeof AnchorLabelDirective]>;
363
+ static ɵinj: i0.ɵɵInjectorDeclaration<AnchorModule>;
364
+ }
365
+ declare const ANCHOR_MODULE: readonly [typeof AnchorComponent, typeof AnchorTreeComponent, typeof AnchorDirective, typeof AnchorLabelDirective];
366
+
367
+ declare const getAnchorTreeItems: (items: AnchorItem[], level?: number) => AnchorTreeItem[];
368
+
369
+ declare class AutocompletePlaceholderComponent {
370
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompletePlaceholderComponent, never>;
371
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompletePlaceholderComponent, "aui-autocomplete-placeholder", never, {}, {}, never, ["*"], true, never>;
372
+ }
373
+
374
+ type AnimationType = 'none' | 'scale' | 'scaleY';
375
+
376
+ declare enum TooltipType {
377
+ Default = "default",
378
+ Primary = "primary",
379
+ Success = "success",
380
+ Warning = "warning",
381
+ Error = "error",
382
+ Info = "info",
383
+ Plain = "plain",
384
+ Empty = "empty"
385
+ }
386
+ declare enum TooltipTrigger {
387
+ Hover = "hover",
388
+ Click = "click",
389
+ Focus = "focus",
390
+ Manual = "manual"
391
+ }
392
+
393
+ declare class TooltipComponent implements OnDestroy {
394
+ elRef: ElementRef<HTMLElement>;
395
+ cdr: ChangeDetectorRef;
396
+ text: string;
397
+ template: TemplateRef<any>;
398
+ bem: Bem;
399
+ showHide: string;
400
+ animationType: AnimationType;
401
+ inputContent$: Observable<TemplateRef<any> | string>;
402
+ inputType$: Observable<TooltipType>;
403
+ inputPosition$: Observable<string>;
404
+ inputClass$: Observable<string>;
405
+ inputContext$: Observable<any>;
406
+ text$: Observable<string>;
407
+ template$: Observable<TemplateRef<any>>;
408
+ class$: Observable<string>;
409
+ context$: Observable<any>;
410
+ hover$: Subject<boolean>;
411
+ destroy$: Subject<unknown>;
412
+ animating$$: BehaviorSubject<boolean>;
413
+ hide$: Subject<unknown>;
414
+ beforeHide$: Subject<unknown>;
415
+ beforeShow$: Subject<unknown>;
416
+ constructor(elRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
417
+ ngOnDestroy(): void;
418
+ setupInputs(inputs: {
419
+ inputContent$: Observable<TemplateRef<any> | string>;
420
+ inputType$: Observable<TooltipType>;
421
+ inputPosition$: Observable<string>;
422
+ inputClass$: Observable<string>;
423
+ inputContext$: Observable<any>;
424
+ animationType?: string;
425
+ }): void;
426
+ onAnimation(event: AnimationEvent): void;
427
+ show(): void;
428
+ hide(): void;
429
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
430
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "aui-tooltip", never, {}, {}, never, never, true, never>;
431
+ }
432
+
433
+ interface TooltipInterface {
434
+ content: TemplateRef<any> | string;
435
+ context: any;
436
+ class: string;
437
+ type: TooltipType;
438
+ position: string;
439
+ trigger: TooltipTrigger;
440
+ disabled: boolean;
441
+ hideOnClick: boolean;
442
+ visibleChange: EventEmitter<boolean>;
443
+ }
444
+ declare const DISPLAY_DELAY = 50;
445
+ declare const HIDDEN_DELAY = 150;
446
+ declare class BaseTooltip<T = any> implements TooltipInterface, AfterViewInit, OnDestroy {
447
+ protected overlay: Overlay;
448
+ protected viewContainerRef: ViewContainerRef;
449
+ protected elRef: ElementRef<HTMLInputElement>;
450
+ protected renderer: Renderer2;
451
+ protected cdr: ChangeDetectorRef;
452
+ protected ngZone: NgZone;
453
+ set content(value: TemplateRef<any> | string);
454
+ get content(): TemplateRef<any> | string;
455
+ set context(value: T);
456
+ get context(): T;
457
+ set class(value: string);
458
+ set type(value: TooltipType);
459
+ set position(value: string);
460
+ get position(): string;
461
+ set trigger(value: TooltipTrigger);
462
+ get trigger(): TooltipTrigger;
463
+ set disabled(value: boolean);
464
+ get disabled(): boolean;
465
+ hideOnClick: boolean;
466
+ animationType: AnimationType;
467
+ visibleChange: EventEmitter<boolean>;
468
+ overlayRef: OverlayRef;
469
+ protected componentClass: ComponentType<any>;
470
+ protected componentIns: TooltipComponent;
471
+ protected hostHovered: boolean;
472
+ protected tooltipHovered: boolean;
473
+ protected listeners: Array<() => void>;
474
+ protected unlistenBody: () => void;
475
+ protected inputContent$$: ReplaySubject<string | TemplateRef<any>>;
476
+ protected inputType$$: ReplaySubject<TooltipType>;
477
+ protected inputPosition$$: ReplaySubject<string>;
478
+ protected inputClass$$: ReplaySubject<string>;
479
+ protected inputContext$$: ReplaySubject<any>;
480
+ protected tooltipChanged$: rxjs.Observable<any>;
481
+ protected destroy$: Subject<unknown>;
482
+ protected _position: string;
483
+ protected _trigger: TooltipTrigger;
484
+ protected _disabled: boolean;
485
+ protected _context: T;
486
+ protected _content: TemplateRef<unknown> | string;
487
+ get isCreated(): boolean;
488
+ constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, elRef: ElementRef<HTMLInputElement>, renderer: Renderer2, cdr: ChangeDetectorRef, ngZone: NgZone);
489
+ private _updateTransformOrigin;
490
+ _createTooltip(): void;
491
+ _disposeTooltip(): void;
492
+ toggleTooltip(): void;
493
+ show(): void;
494
+ hide(): void;
495
+ updatePosition(): void;
496
+ ngAfterViewInit(): void;
497
+ ngOnDestroy(): void;
498
+ protected updateListeners(): void;
499
+ protected clearListeners(): void;
500
+ protected createOverlay(): OverlayRef;
501
+ protected onMouseEnter(): Promise<void>;
502
+ protected onMouseLeave(): Promise<void>;
503
+ protected onTooltipHovered(hovered: boolean): Promise<void>;
504
+ protected onClick(): void;
505
+ protected onBodyClick(event: Event): void;
506
+ protected onFocus(): void;
507
+ protected onBlur(): void;
508
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseTooltip<any>, never>;
509
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseTooltip<any>, never, never, {}, {}, never, never, true, never>;
510
+ }
511
+
512
+ declare class TooltipDirective extends BaseTooltip {
513
+ visibleChange: EventEmitter<boolean>;
514
+ animationType: AnimationType;
515
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
516
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[auiTooltip]", ["auiTooltip"], { "content": { "alias": "auiTooltip"; "required": false; }; "context": { "alias": "auiTooltipContext"; "required": false; }; "class": { "alias": "auiTooltipClass"; "required": false; }; "type": { "alias": "auiTooltipType"; "required": false; }; "position": { "alias": "auiTooltipPosition"; "required": false; }; "trigger": { "alias": "auiTooltipTrigger"; "required": false; }; "disabled": { "alias": "auiTooltipDisabled"; "required": false; }; "hideOnClick": { "alias": "auiTooltipHideOnClick"; "required": false; }; "animationType": { "alias": "auiTooltipAnimType"; "required": false; }; }, { "visibleChange": "auiTooltipVisibleChange"; }, never, never, true, never>;
517
+ }
518
+
519
+ declare class TooltipActiveDirective implements OnDestroy {
520
+ private readonly el;
521
+ private readonly renderer;
522
+ customClass: string[] | string;
523
+ destroy$: Subject<unknown>;
524
+ constructor(tooltipDirective: BaseTooltip, el: ElementRef, renderer: Renderer2);
525
+ ngOnDestroy(): void;
526
+ private addClass;
527
+ private removeClass;
528
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipActiveDirective, never>;
529
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipActiveDirective, "[auiTooltipActive]", never, { "customClass": { "alias": "auiTooltipActive"; "required": false; }; }, {}, never, never, true, never>;
530
+ }
531
+
532
+ /**
533
+ * Texts to render on the code editor.
534
+ */
535
+ declare class TooltipCopyIntl {
536
+ copyTip: string;
537
+ copySuccessTip: string;
538
+ copyFailTip: string;
539
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipCopyIntl, never>;
540
+ static ɵprov: i0.ɵɵInjectableDeclaration<TooltipCopyIntl>;
541
+ }
542
+
543
+ declare class TooltipCopyDirective extends BaseTooltip implements OnInit {
544
+ private readonly toolTipIntl;
545
+ className: boolean;
546
+ get auiTooltipCopy(): string;
547
+ set auiTooltipCopy(value: string);
548
+ get auiTooltipCopyTip(): string;
549
+ set auiTooltipCopyTip(value: string);
550
+ get auiTooltipCopySuccessTip(): string;
551
+ set auiTooltipCopySuccessTip(value: string);
552
+ get auiTooltipCopyFailTip(): string;
553
+ set auiTooltipCopyFailTip(value: string);
554
+ private _copyText;
555
+ private _copyTip;
556
+ private _copySuccessTip;
557
+ private _copyFailTip;
558
+ constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, elRef: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, ngZone: NgZone, toolTipIntl: TooltipCopyIntl);
559
+ ngOnInit(): void;
560
+ onSourceClick(): Promise<void>;
561
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipCopyDirective, never>;
562
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipCopyDirective, "[auiTooltipCopy]", never, { "position": { "alias": "auiTooltipPosition"; "required": false; }; "disabled": { "alias": "auiTooltipDisabled"; "required": false; }; "auiTooltipCopy": { "alias": "auiTooltipCopy"; "required": false; }; "auiTooltipCopyTip": { "alias": "auiTooltipCopyTip"; "required": false; }; "auiTooltipCopySuccessTip": { "alias": "auiTooltipCopySuccessTip"; "required": false; }; "auiTooltipCopyFailTip": { "alias": "auiTooltipCopyFailTip"; "required": false; }; }, {}, never, never, true, never>;
563
+ }
564
+
565
+ declare class TooltipModule {
566
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
567
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, never, [typeof i1.CommonModule, typeof i2$1.OverlayModule, typeof TooltipDirective, typeof TooltipComponent, typeof TooltipActiveDirective, typeof TooltipCopyDirective], [typeof TooltipDirective, typeof TooltipActiveDirective, typeof TooltipCopyDirective]>;
568
+ static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
569
+ }
570
+ declare const TOOLTIP_MODULE: readonly [typeof TooltipDirective, typeof TooltipActiveDirective, typeof TooltipCopyDirective];
571
+
572
+ interface AutoCompleteContext {
573
+ width: string;
574
+ }
575
+ type SuggestionFilterFn = (inputValue: string, suggestion: string) => boolean;
576
+
577
+ declare class AutoCompleteDirective extends BaseTooltip<AutoCompleteContext> implements OnInit, OnDestroy, AfterViewInit {
578
+ private readonly ngControl;
579
+ get autocomplete(): AutocompleteComponent;
580
+ set autocomplete(val: AutocompleteComponent);
581
+ get filterFn(): (inputValue: string, suggestion: string) => boolean;
582
+ set filterFn(val: (inputValue: string, suggestion: string) => boolean);
583
+ defaultFirstSuggestion: boolean;
584
+ suggestionTrigger: 'auto' | 'input';
585
+ innerSelector: string;
586
+ visibleChange: EventEmitter<boolean>;
587
+ selected: EventEmitter<string>;
588
+ autoPatch: boolean;
589
+ animationType: AnimationType;
590
+ private _autocomplete;
591
+ private focusedSuggestion;
592
+ private readonly inputValue$$;
593
+ private readonly filterFn$$;
594
+ private readonly unsubscribe$;
595
+ inputValue$: Observable<string>;
596
+ filterFn$: Observable<SuggestionFilterFn>;
597
+ get input(): HTMLInputElement;
598
+ constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, elRef: ElementRef<HTMLInputElement>, renderer: Renderer2, cdr: ChangeDetectorRef, ngZone: NgZone, ngControl: NgControl);
599
+ ngOnInit(): void;
600
+ ngAfterViewInit(): void;
601
+ ngOnDestroy(): void;
602
+ onFocus(): void;
603
+ onInput(event: Event): void;
604
+ onKeyDown(event: KeyboardEvent): void;
605
+ updateSuggestionsContext(): void;
606
+ onSuggestionClick(value: string): void;
607
+ show(): void;
608
+ autoFocusFirstSuggestion(): void;
609
+ private focusSuggestionDir;
610
+ private resetFocusedSuggestion;
611
+ private scrollToSuggestion;
612
+ protected selectFocusedOption(): void;
613
+ private _filterFn;
614
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteDirective, [null, null, null, null, null, null, { optional: true; host: true; }]>;
615
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutoCompleteDirective, "input[auiAutocomplete],textarea[auiAutocomplete]", ["auiAutocomplete"], { "class": { "alias": "auiAutocompleteClass"; "required": false; }; "autocomplete": { "alias": "auiAutocomplete"; "required": false; }; "filterFn": { "alias": "auiAutocompleteFilterFn"; "required": false; }; "defaultFirstSuggestion": { "alias": "auiAutocompleteDefaultFirstSuggestion"; "required": false; }; "suggestionTrigger": { "alias": "auiAutocompleteTrigger"; "required": false; }; "autoPatch": { "alias": "auiAutocompleteAutoPatch"; "required": false; }; }, { "visibleChange": "auiAutocompleteVisibleChange"; "selected": "auiAutocompleteSelected"; }, never, never, true, never>;
616
+ }
617
+ declare class CustomAutoCompleteDirective extends AutoCompleteDirective {
618
+ innerSelector: string;
619
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomAutoCompleteDirective, never>;
620
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CustomAutoCompleteDirective, "[auiAutocomplete]:not(input):not(textarea)", ["auiAutocomplete"], { "class": { "alias": "auiAutocompleteClass"; "required": false; }; "innerSelector": { "alias": "auiAutocompleteInnerSelector"; "required": false; }; }, {}, never, never, true, never>;
621
+ }
622
+
623
+ declare class SuggestionComponent {
624
+ private readonly cdr;
625
+ private readonly autocomplete;
626
+ bem: Bem;
627
+ private _value;
628
+ private readonly value$$;
629
+ get value(): string;
630
+ set value(val: string);
631
+ disabled: boolean;
632
+ elRef: ElementRef;
633
+ selected: boolean;
634
+ visible: boolean;
635
+ focused: boolean;
636
+ selected$: Observable<boolean>;
637
+ visible$: Observable<boolean>;
638
+ constructor(cdr: ChangeDetectorRef, autocomplete: AutocompleteComponent);
639
+ onClick(): void;
640
+ focus(): void;
641
+ blur(): void;
642
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuggestionComponent, never>;
643
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuggestionComponent, "aui-suggestion", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
644
+ static ngAcceptInputType_disabled: unknown;
645
+ }
646
+
647
+ declare class AutocompleteComponent implements AfterContentInit {
648
+ private readonly cdr;
649
+ suggestions: QueryList<SuggestionComponent>;
650
+ placeholder: QueryList<AutocompletePlaceholderComponent>;
651
+ template: TemplateRef<any>;
652
+ suggestionListRef: ElementRef;
653
+ hasVisibleSuggestion$: Observable<boolean>;
654
+ hasContent$: Observable<boolean>;
655
+ visibles$: Observable<boolean[]>;
656
+ directive$$: ReplaySubject<AutoCompleteDirective>;
657
+ constructor(cdr: ChangeDetectorRef);
658
+ ngAfterContentInit(): void;
659
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
660
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "aui-autocomplete", never, {}, {}, ["suggestions", "placeholder"], ["*", "aui-autocomplete-placeholder"], true, never>;
661
+ }
662
+
663
+ declare class SuggestionGroupTitleDirective {
664
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuggestionGroupTitleDirective, never>;
665
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SuggestionGroupTitleDirective, "[auiSuggestionGroupTitle]", ["auiSuggestionGroupTitle"], {}, {}, never, never, true, never>;
666
+ }
667
+
668
+ declare class SuggestionGroupComponent implements AfterContentInit {
669
+ suggestions: QueryList<SuggestionComponent>;
670
+ hasVisibleSuggestion$: Observable<boolean>;
671
+ ngAfterContentInit(): void;
672
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuggestionGroupComponent, never>;
673
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuggestionGroupComponent, "aui-suggestion-group", never, {}, {}, ["suggestions"], ["[auiSuggestionGroupTitle]", "*"], true, never>;
674
+ }
675
+
676
+ declare class AutocompleteModule {
677
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteModule, never>;
678
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AutocompleteModule, never, [typeof i1.CommonModule, typeof i2$1.OverlayModule, typeof TooltipModule, typeof AutoCompleteDirective, typeof CustomAutoCompleteDirective, typeof AutocompleteComponent, typeof SuggestionComponent, typeof AutocompletePlaceholderComponent, typeof SuggestionGroupComponent, typeof SuggestionGroupTitleDirective], [typeof AutoCompleteDirective, typeof CustomAutoCompleteDirective, typeof AutocompleteComponent, typeof SuggestionComponent, typeof AutocompletePlaceholderComponent, typeof SuggestionGroupComponent, typeof SuggestionGroupTitleDirective]>;
679
+ static ɵinj: i0.ɵɵInjectorDeclaration<AutocompleteModule>;
680
+ }
681
+ declare const AUTOCOMPLETE_MODULE: readonly [typeof AutoCompleteDirective, typeof CustomAutoCompleteDirective, typeof AutocompleteComponent, typeof SuggestionComponent, typeof AutocompletePlaceholderComponent, typeof SuggestionGroupComponent, typeof SuggestionGroupTitleDirective];
682
+
683
+ type TargetType = Element | Window | string;
684
+ declare class BackTopComponent {
685
+ private readonly cdkScrollable;
686
+ set visibilityHeight(val: number);
687
+ get visibilityHeight(): number;
688
+ position: {
689
+ left?: string;
690
+ right?: string;
691
+ top?: string;
692
+ bottom?: string;
693
+ };
694
+ set target(val: TargetType);
695
+ get target(): TargetType;
696
+ click: EventEmitter<Event>;
697
+ private _visibilityHeight;
698
+ private readonly target$$;
699
+ private readonly visibilityHeight$$;
700
+ private _target;
701
+ private _scrollTarget;
702
+ constructor(cdkScrollable: CdkScrollable$1);
703
+ display$: rxjs.Observable<string>;
704
+ getTargetScrollTop(target: Element | Window): number;
705
+ handleClick(event: Event): void;
706
+ scrollToTop(duration: number): void;
707
+ getTarget(target: TargetType): Element | Window;
708
+ static ɵfac: i0.ɵɵFactoryDeclaration<BackTopComponent, [{ optional: true; }]>;
709
+ static ɵcmp: i0.ɵɵComponentDeclaration<BackTopComponent, "aui-back-top", never, { "visibilityHeight": { "alias": "visibilityHeight"; "required": false; }; "position": { "alias": "position"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, { "click": "click"; }, never, never, true, never>;
710
+ }
711
+
712
+ declare class BackTopModule {
713
+ static ɵfac: i0.ɵɵFactoryDeclaration<BackTopModule, never>;
714
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BackTopModule, never, [typeof i1.CommonModule, typeof IconModule, typeof ButtonModule, typeof BackTopComponent], [typeof BackTopComponent]>;
715
+ static ɵinj: i0.ɵɵInjectorDeclaration<BackTopModule>;
716
+ }
717
+
718
+ declare class BreadcrumbItemComponent {
719
+ private readonly cdr;
720
+ get separator(): string;
721
+ set separator(val: string);
722
+ get separatorIcon(): string;
723
+ set separatorIcon(val: string);
724
+ private _separator;
725
+ private _separatorIcon;
726
+ constructor(cdr: ChangeDetectorRef);
727
+ static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbItemComponent, never>;
728
+ static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbItemComponent, "aui-breadcrumb-item", never, {}, {}, never, ["*"], true, never>;
729
+ }
730
+
731
+ declare class BreadcrumbComponent implements AfterContentInit {
732
+ get separator(): string;
733
+ set separator(val: string);
734
+ get separatorIcon(): string;
735
+ set separatorIcon(val: string);
736
+ items: QueryList<BreadcrumbItemComponent>;
737
+ private _separator;
738
+ private _separatorIcon;
739
+ ngAfterContentInit(): void;
740
+ static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
741
+ static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "aui-breadcrumb", never, { "separator": { "alias": "separator"; "required": false; }; "separatorIcon": { "alias": "separatorIcon"; "required": false; }; }, {}, ["items"], ["*"], true, never>;
742
+ }
743
+
744
+ declare class BreadcrumbModule {
745
+ static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbModule, never>;
746
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BreadcrumbModule, never, [typeof i1.CommonModule, typeof IconModule, typeof BreadcrumbComponent, typeof BreadcrumbItemComponent], [typeof BreadcrumbComponent, typeof BreadcrumbItemComponent]>;
747
+ static ɵinj: i0.ɵɵInjectorDeclaration<BreadcrumbModule>;
748
+ }
749
+ declare const BREADCRUMB_MODULE: readonly [typeof BreadcrumbComponent, typeof BreadcrumbItemComponent];
750
+
751
+ declare class CardComponent {
752
+ divider: boolean;
753
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
754
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "aui-card", never, { "divider": { "alias": "divider"; "required": false; }; }, {}, never, ["[auiCardHeader]", "*", "[auiCardFooter]"], true, never>;
755
+ }
756
+
757
+ declare class CardHeaderDirective {
758
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderDirective, never>;
759
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardHeaderDirective, "[auiCardHeader]", never, {}, {}, never, never, true, never>;
760
+ }
761
+ declare class CardFooterDirective {
762
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardFooterDirective, never>;
763
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardFooterDirective, "[auiCardFooter]", never, {}, {}, never, never, true, never>;
764
+ }
765
+ declare class SectionTitleDirective {
766
+ static ɵfac: i0.ɵɵFactoryDeclaration<SectionTitleDirective, never>;
767
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SectionTitleDirective, "[auiSectionTitle]", never, {}, {}, never, never, true, never>;
768
+ }
769
+
770
+ declare class SectionComponent {
771
+ static ɵfac: i0.ɵɵFactoryDeclaration<SectionComponent, never>;
772
+ static ɵcmp: i0.ɵɵComponentDeclaration<SectionComponent, "aui-section", never, {}, {}, never, ["[auiSectionTitle]", "*"], true, never>;
773
+ }
774
+
775
+ declare class CardModule {
776
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardModule, never>;
777
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CardModule, never, [typeof i1.CommonModule, typeof CardComponent, typeof CardHeaderDirective, typeof CardFooterDirective, typeof SectionComponent, typeof SectionTitleDirective], [typeof CardComponent, typeof CardHeaderDirective, typeof CardFooterDirective, typeof SectionComponent, typeof SectionTitleDirective]>;
778
+ static ɵinj: i0.ɵɵInjectorDeclaration<CardModule>;
779
+ }
780
+ declare const CARD_MODULE: readonly [typeof CardComponent, typeof CardHeaderDirective, typeof CardFooterDirective, typeof SectionComponent, typeof SectionTitleDirective];
781
+
782
+ /**
783
+ * form control 内部不保持 value 属性,当不使用 ngModel 时可以通过 [(value)] 实现双向绑定;
784
+ * 也可以分别传入 value 和 监听 valueChange 事件以实现阻断用户操作的功能。
785
+ */
786
+ declare class CommonFormControl<V, M = V> implements ControlValueAccessor {
787
+ protected cdr: ChangeDetectorRef;
788
+ get disabled(): boolean | "";
789
+ set disabled(val: boolean | '');
790
+ get readonly(): boolean;
791
+ set readonly(val: boolean);
792
+ get propValue(): V;
793
+ set propValue(val: V);
794
+ valueChange: EventEmitter<V>;
795
+ protected onChange: (_: V) => void;
796
+ protected onTouched: () => void;
797
+ private _propValue;
798
+ private _disabled;
799
+ private _readonly;
800
+ model: M;
801
+ model$: ReplaySubject<M>;
802
+ constructor(cdr: ChangeDetectorRef);
803
+ registerOnChange(fn: (_: V) => void): void;
804
+ registerOnTouched(fn: () => void): void;
805
+ setDisabledState(isDisabled: boolean): void;
806
+ writeValue(value: V): void;
807
+ emitModel(model: M): void;
808
+ emitValue(value: V): void;
809
+ protected valueIn(value: V): M;
810
+ protected modelOut(model: M): V;
811
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonFormControl<any, any>, never>;
812
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CommonFormControl<any, any>, never, never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "propValue": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
813
+ }
814
+
815
+ declare const LabelPosition: {
816
+ readonly Top: "top";
817
+ readonly Left: "left";
818
+ readonly Right: "right";
819
+ };
820
+ type LabelPosition = ValueOf<typeof LabelPosition>;
821
+ declare const FormItemWidth: {
822
+ readonly Small: "small";
823
+ /**
824
+ * @deprecated Prefer to 'Large'
825
+ */
826
+ readonly Medium: "medium";
827
+ readonly Large: "large";
828
+ };
829
+ type FormItemWidth = ValueOf<typeof FormItemWidth>;
830
+
831
+ declare class FormDirective {
832
+ controlContainer?: ControlContainer;
833
+ get ngClassSubmitted(): boolean;
834
+ private readonly labelWidth$$;
835
+ private readonly labelPosition$$;
836
+ private readonly emptyAddon$$;
837
+ set labelWidth(val: string);
838
+ set labelPosition(val: LabelPosition);
839
+ set emptyAddon(val: boolean);
840
+ inline: boolean;
841
+ labelWidth$: Observable<string>;
842
+ labelPosition$: Observable<LabelPosition>;
843
+ emptyAddon$: Observable<boolean>;
844
+ constructor(controlContainer?: ControlContainer);
845
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormDirective, [{ optional: true; }]>;
846
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormDirective, "form[auiForm]", ["auiForm"], { "labelWidth": { "alias": "auiFormLabelWidth"; "required": false; }; "labelPosition": { "alias": "auiFormLabelPosition"; "required": false; }; "emptyAddon": { "alias": "auiFormEmptyAddon"; "required": false; }; "inline": { "alias": "auiFormInline"; "required": false; }; }, {}, never, never, true, never>;
847
+ }
848
+
849
+ declare class FormItemLabelDirective {
850
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormItemLabelDirective, never>;
851
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormItemLabelDirective, "label[auiFormItemLabel]", never, {}, {}, never, never, true, never>;
852
+ }
853
+ declare class FormItemHintDirective {
854
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormItemHintDirective, never>;
855
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormItemHintDirective, "[auiFormItemHint]", never, {}, {}, never, never, true, never>;
856
+ }
857
+ declare class FormItemAddonDirective {
858
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormItemAddonDirective, never>;
859
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormItemAddonDirective, "[auiFormItemAddon]", never, {}, {}, never, never, true, never>;
860
+ }
861
+ declare class FormItemErrorDirective {
862
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormItemErrorDirective, never>;
863
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormItemErrorDirective, "[auiFormItemError]", never, {}, {}, never, never, true, never>;
864
+ }
865
+ declare class FormItemControlDirective {
866
+ required: boolean;
867
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormItemControlDirective, never>;
868
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormItemControlDirective, "[auiFormItemControl]", never, { "required": { "alias": "required"; "required": false; }; }, {}, never, never, true, never>;
869
+ static ngAcceptInputType_required: unknown;
870
+ }
871
+
872
+ declare class FormItemComponent implements AfterContentInit, OnDestroy {
873
+ private readonly cdr;
874
+ private readonly auiForm;
875
+ bem: Bem;
876
+ labelWidth: string;
877
+ width: FormItemWidth;
878
+ labelPosition: LabelPosition;
879
+ emptyAddon: boolean;
880
+ plain: boolean;
881
+ itemLabel: FormItemLabelDirective;
882
+ itemControl: FormItemControlDirective;
883
+ ngControls: QueryList<NgControl>;
884
+ addons: QueryList<FormItemAddonDirective>;
885
+ errors: QueryList<FormItemErrorDirective>;
886
+ hints: QueryList<FormItemHintDirective>;
887
+ hasError$: Observable<boolean>;
888
+ errorCount$: Observable<number>;
889
+ hintCount$: Observable<number>;
890
+ parentForm: FormGroupDirective | NgForm;
891
+ private readonly destroy$$;
892
+ get formItemWidthClass(): string;
893
+ constructor(cdr: ChangeDetectorRef, auiForm: FormDirective, ngForm: NgForm, formGroup: FormGroupDirective);
894
+ ngAfterContentInit(): void;
895
+ subscribeInputsFromParent(): void;
896
+ mapControlStatus(control: NgControl): Observable<boolean>;
897
+ ngOnDestroy(): void;
898
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormItemComponent, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
899
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormItemComponent, "aui-form-item", never, { "labelWidth": { "alias": "labelWidth"; "required": false; }; "width": { "alias": "width"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "emptyAddon": { "alias": "emptyAddon"; "required": false; }; "plain": { "alias": "plain"; "required": false; }; }, {}, ["itemLabel", "itemControl", "ngControls", "addons", "errors", "hints"], ["label[auiFormItemLabel]", "*", "[auiFormItemAddon]", "[auiFormItemError]", "[auiFormItemHint]"], true, never>;
900
+ }
901
+
902
+ declare class FormModule {
903
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormModule, never>;
904
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormModule, never, [typeof i1.CommonModule, typeof FormDirective, typeof FormItemComponent, typeof FormItemAddonDirective, typeof FormItemErrorDirective, typeof FormItemHintDirective, typeof FormItemLabelDirective, typeof FormItemControlDirective], [typeof FormDirective, typeof FormItemComponent, typeof FormItemAddonDirective, typeof FormItemErrorDirective, typeof FormItemHintDirective, typeof FormItemLabelDirective, typeof FormItemControlDirective]>;
905
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormModule>;
906
+ }
907
+ declare const FORM_MODULE: readonly [typeof FormDirective, typeof FormItemComponent, typeof FormItemAddonDirective, typeof FormItemErrorDirective, typeof FormItemHintDirective, typeof FormItemLabelDirective, typeof FormItemControlDirective];
908
+
909
+ declare class OptionGroupTitleDirective {
910
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionGroupTitleDirective, never>;
911
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OptionGroupTitleDirective, "[auiOptionGroupTitle]", ["auiOptionGroupTitle"], {}, {}, never, never, true, never>;
912
+ }
913
+ declare class OptionContentDirective implements OnDestroy {
914
+ private readonly templateRef;
915
+ private readonly appRef;
916
+ private readonly viewContainerRef;
917
+ private readonly injector;
918
+ private portal;
919
+ private outlet;
920
+ private readonly doc;
921
+ constructor(templateRef: TemplateRef<unknown>, appRef: ApplicationRef, viewContainerRef: ViewContainerRef, injector: Injector, document: any);
922
+ attach(context?: any): void;
923
+ detach(): void;
924
+ ngOnDestroy(): void;
925
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionContentDirective, never>;
926
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OptionContentDirective, "*[auiOptionContent]", ["auiOptionContent"], {}, {}, never, never, true, never>;
927
+ }
928
+
929
+ declare class OptionComponent<T> {
930
+ private readonly cdr;
931
+ bem: Bem;
932
+ private _disabled;
933
+ private _label;
934
+ private _labelContext;
935
+ private _value;
936
+ private readonly label$$;
937
+ private readonly labelContext$$;
938
+ private readonly value$$;
939
+ private readonly disabled$$;
940
+ get label(): string | TemplateRef<unknown>;
941
+ set label(val: string | TemplateRef<unknown>);
942
+ get labelContext(): unknown;
943
+ set labelContext(val: unknown);
944
+ get value(): T;
945
+ set value(val: T);
946
+ get disabled(): boolean;
947
+ set disabled(val: boolean | '');
948
+ isMulti: boolean;
949
+ elRef: ElementRef<HTMLDivElement>;
950
+ private readonly select;
951
+ selected: boolean;
952
+ visible: boolean;
953
+ size: ComponentSize;
954
+ focused: boolean;
955
+ value$: Observable<T>;
956
+ label$: Observable<string | TemplateRef<unknown>>;
957
+ labelContext$: Observable<unknown>;
958
+ disabled$: Observable<boolean>;
959
+ selected$: Observable<boolean>;
960
+ size$: Observable<ComponentSize>;
961
+ visible$: Observable<boolean>;
962
+ constructor(cdr: ChangeDetectorRef, select: BaseSelect<T>);
963
+ onClick(): void;
964
+ focus(): void;
965
+ blur(): void;
966
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent<any>, never>;
967
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent<any>, "aui-option", never, { "label": { "alias": "label"; "required": false; }; "labelContext": { "alias": "labelContext"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
968
+ }
969
+
970
+ interface SelectOption {
971
+ label: TemplateRef<unknown> | string;
972
+ labelContext?: unknown;
973
+ }
974
+ interface SelectFilterOption<T> extends SelectOption {
975
+ disabled?: boolean;
976
+ value: T;
977
+ }
978
+ type OptionFilterFn<T> = (filter: string, option: SelectFilterOption<T>) => boolean;
979
+ type TrackFn<T, R = unknown> = (value: T) => R;
980
+ type TagClassFn<V, T extends TemplateRef<unknown> | string = TemplateRef<unknown> | string> = (label: T, value: V) => Set<string> | string[] | string | {
981
+ [className: string]: unknown;
982
+ };
983
+ declare enum SelectAllStatus {
984
+ Empty = "",
985
+ Checked = "checked",
986
+ Indeterminate = "indeterminate"
987
+ }
988
+
989
+ declare abstract class BaseSelect<T, V = T> extends CommonFormControl<V> implements AfterContentInit, AfterViewInit, OnDestroy {
990
+ get size(): ComponentSize;
991
+ set size(val: ComponentSize);
992
+ filterable: boolean;
993
+ clearable: boolean;
994
+ filterFn: OptionFilterFn<T>;
995
+ trackFn: TrackFn<T>;
996
+ labelFn?: (value: T) => string;
997
+ allowCreate: boolean;
998
+ get allOptions(): OptionComponent<T>[];
999
+ get opened(): boolean;
1000
+ get inaction(): boolean;
1001
+ get filterString(): string;
1002
+ set filterString(val: string);
1003
+ loading: boolean;
1004
+ placeholder: string;
1005
+ defaultFirstOption: boolean;
1006
+ lazy: boolean;
1007
+ filterChange: EventEmitter<string>;
1008
+ show: EventEmitter<void>;
1009
+ hide: EventEmitter<void>;
1010
+ protected selectRef: ElementRef<HTMLElement>;
1011
+ protected tooltipRef: TooltipDirective;
1012
+ protected optionListRef: ElementRef<HTMLDivElement>;
1013
+ protected inputtingOption: OptionComponent<T>;
1014
+ protected optionContent?: OptionContentDirective;
1015
+ customOptions: QueryList<OptionComponent<T>>;
1016
+ contentOptions: QueryList<OptionComponent<T>>;
1017
+ isTemplateRef: (label: any) => label is i0.TemplateRef<unknown>;
1018
+ isMulti: boolean;
1019
+ /**
1020
+ * Utility field to make sure the users always see the value as type array
1021
+ */
1022
+ abstract readonly values$: Observable<T[]>;
1023
+ allOptions$: Observable<Array<OptionComponent<T>>>;
1024
+ protected focusedOption: OptionComponent<T>;
1025
+ private _size;
1026
+ private _filterString;
1027
+ protected destroy$$: Subject<void>;
1028
+ protected size$$: BehaviorSubject<ComponentSize>;
1029
+ private readonly filterString$$;
1030
+ size$: Observable<ComponentSize>;
1031
+ filterString$: Observable<string>;
1032
+ optionVisibles$: Observable<boolean[]>;
1033
+ hasVisibleOption$: Observable<boolean>;
1034
+ hasMatchedOption$: Observable<boolean>;
1035
+ customCreatedOptions$: Observable<Array<SelectFilterOption<T>>>;
1036
+ containerWidth: string;
1037
+ ngAfterContentInit(): void;
1038
+ ngAfterViewInit(): void;
1039
+ ngOnDestroy(): void;
1040
+ openOption(): void;
1041
+ closeOption(): void;
1042
+ onShowOptions(): void;
1043
+ onHideOptions(): void;
1044
+ onInput(event: Event): void;
1045
+ onKeyDown(event: KeyboardEvent): void;
1046
+ onOptionClick(option: OptionComponent<T>): void;
1047
+ protected autoFocusFirstOption(): void;
1048
+ protected focusOptionDir(dir: 'down' | 'up'): void;
1049
+ protected resetFocusedOption(focusedOption?: OptionComponent<T>): void;
1050
+ protected scrollToOption(option: OptionComponent<T>): void;
1051
+ protected selectFocusedOption(): void;
1052
+ protected escSelect(): void;
1053
+ private _trackFn;
1054
+ private _filterFn;
1055
+ abstract selectOption(option: OptionComponent<T>): void;
1056
+ abstract clearValue(event: Event): void;
1057
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseSelect<any, any>, never>;
1058
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseSelect<any, any>, never, never, { "size": { "alias": "size"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "filterFn": { "alias": "filterFn"; "required": false; }; "trackFn": { "alias": "trackFn"; "required": false; }; "labelFn": { "alias": "labelFn"; "required": false; }; "allowCreate": { "alias": "allowCreate"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "defaultFirstOption": { "alias": "defaultFirstOption"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; }, { "filterChange": "filterChange"; "show": "show"; "hide": "hide"; }, ["optionContent", "contentOptions"], never, true, never>;
1059
+ static ngAcceptInputType_filterable: unknown;
1060
+ static ngAcceptInputType_clearable: unknown;
1061
+ static ngAcceptInputType_allowCreate: unknown;
1062
+ }
1063
+
1064
+ declare class MultiSelectComponent<T = unknown> extends BaseSelect<T, T[]> implements AfterContentInit, AfterViewInit {
1065
+ private readonly renderer;
1066
+ bem: Bem;
1067
+ bemSelectAll: Bem;
1068
+ selectedOptions$: Observable<Array<SelectFilterOption<T>>>;
1069
+ selectAllStatus$: Observable<SelectAllStatus>;
1070
+ selectAllStatus: SelectAllStatus;
1071
+ hasEnabledOptions$: Observable<boolean>;
1072
+ isMulti: boolean;
1073
+ model: T[];
1074
+ values$: rxjs.ReplaySubject<T[]>;
1075
+ tagClassFn: TagClassFn<T>;
1076
+ maxRowCount: number;
1077
+ customRowHeight: number;
1078
+ allowSelectAll: boolean;
1079
+ inputRef: ElementRef<HTMLInputElement>;
1080
+ inputValueMirror: ElementRef<HTMLElement>;
1081
+ get hostPosition(): string;
1082
+ get hostDisplay(): string;
1083
+ inputValue: string;
1084
+ hasDisabledOption: boolean;
1085
+ get rootClass(): string;
1086
+ get tagSize(): "medium" | "mini";
1087
+ get inputClass(): string;
1088
+ get displayClearBtn(): number;
1089
+ get maxHeight(): string;
1090
+ private readonly withMaxRowCount;
1091
+ focused: boolean;
1092
+ trackByValue: (_: number, item: SelectFilterOption<T>) => unknown;
1093
+ constructor(cdr: ChangeDetectorRef, renderer: Renderer2);
1094
+ ngAfterContentInit(): void;
1095
+ ngAfterViewInit(): void;
1096
+ onVisibleOptions(visible: boolean): void;
1097
+ onInput(event: Event): void;
1098
+ onInputFocus(): void;
1099
+ onInputBlur(): void;
1100
+ onKeyDown(event: KeyboardEvent): void;
1101
+ selectOption(option: OptionComponent<T>): void;
1102
+ addValue(value: T): void;
1103
+ removeValue(value: T): void;
1104
+ clearValue(event: Event): void;
1105
+ onSelectAllClick(): void;
1106
+ private includes;
1107
+ protected valueIn(v: T[]): T[];
1108
+ private resetInput;
1109
+ private setInputWidth;
1110
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent<any>, never>;
1111
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent<any>, "aui-multi-select", never, { "tagClassFn": { "alias": "tagClassFn"; "required": false; }; "maxRowCount": { "alias": "maxRowCount"; "required": false; }; "customRowHeight": { "alias": "customRowHeight"; "required": false; }; "allowSelectAll": { "alias": "allowSelectAll"; "required": false; }; }, {}, never, ["*", "aui-option-placeholder"], true, never>;
1112
+ static ngAcceptInputType_allowSelectAll: unknown;
1113
+ }
1114
+
1115
+ declare class OptionGroupComponent<T> implements AfterContentInit {
1116
+ options: QueryList<OptionComponent<T>>;
1117
+ hasVisibleOption$: Observable<boolean>;
1118
+ ngAfterContentInit(): void;
1119
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionGroupComponent<any>, never>;
1120
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionGroupComponent<any>, "aui-option-group", never, {}, {}, ["options"], ["[auiOptionGroupTitle]", "*"], true, never>;
1121
+ }
1122
+
1123
+ declare class OptionPlaceholderComponent {
1124
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionPlaceholderComponent, never>;
1125
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionPlaceholderComponent, "aui-option-placeholder", never, {}, {}, never, ["*"], true, never>;
1126
+ }
1127
+
1128
+ interface AutoSizeValue {
1129
+ minRows: number;
1130
+ maxRows?: number;
1131
+ }
1132
+ /**
1133
+ * Directive to automatically resize a textarea to fit its content.
1134
+ */
1135
+ declare class AutosizeDirective implements AfterViewInit, OnDestroy {
1136
+ private readonly elRef;
1137
+ private readonly ngControl;
1138
+ private _autoSize;
1139
+ private readonly destroy$$;
1140
+ get autoSize(): AutoSizeValue | "";
1141
+ set autoSize(value: AutoSizeValue | '');
1142
+ constructor(elRef: ElementRef<HTMLTextAreaElement>, ngControl: NgControl);
1143
+ resizeTextarea(): void;
1144
+ ngAfterViewInit(): void;
1145
+ ngOnDestroy(): void;
1146
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutosizeDirective, never>;
1147
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutosizeDirective, "textarea[autosize][ngModel],textarea[autosize][formControl],textarea[autosize][formControlName]", ["TextareaAutosize"], { "autoSize": { "alias": "autosize"; "required": false; }; }, {}, never, never, true, never>;
1148
+ }
1149
+
1150
+ declare class InputAddonBeforeDirective {
1151
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputAddonBeforeDirective, never>;
1152
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InputAddonBeforeDirective, "[auiInputAddonBefore]", never, {}, {}, never, never, true, never>;
1153
+ }
1154
+ declare class InputAddonAfterDirective {
1155
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputAddonAfterDirective, never>;
1156
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InputAddonAfterDirective, "[auiInputAddonAfter]", never, {}, {}, never, never, true, never>;
1157
+ }
1158
+ declare class InputPrefixDirective {
1159
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPrefixDirective, never>;
1160
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InputPrefixDirective, "[auiInputPrefix]", never, {}, {}, never, never, true, never>;
1161
+ }
1162
+ declare class InputSuffixDirective {
1163
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputSuffixDirective, never>;
1164
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InputSuffixDirective, "[auiInputSuffix]", never, {}, {}, never, never, true, never>;
1165
+ }
1166
+
1167
+ declare class InputComponent {
1168
+ elementRef: ElementRef<HTMLInputElement>;
1169
+ private readonly renderer;
1170
+ get size(): ComponentSize;
1171
+ set size(val: ComponentSize);
1172
+ get disabled(): boolean;
1173
+ set disabled(val: boolean | '');
1174
+ private _size;
1175
+ private _disabled;
1176
+ size$: BehaviorSubject<ComponentSize>;
1177
+ disabled$: BehaviorSubject<boolean>;
1178
+ constructor(elementRef: ElementRef<HTMLInputElement>, renderer: Renderer2);
1179
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
1180
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "input[aui-input],textarea[aui-input]", never, { "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
1181
+ }
1182
+
1183
+ declare const TagType: {
1184
+ readonly Primary: "primary";
1185
+ readonly Success: "success";
1186
+ readonly Warning: "warning";
1187
+ readonly Error: "error";
1188
+ readonly Info: "info";
1189
+ };
1190
+ type TagType = ValueOf<typeof TagType>;
1191
+
1192
+ declare class TagComponent {
1193
+ bem: Bem;
1194
+ type: TagType;
1195
+ size: ComponentSize;
1196
+ closeable: boolean;
1197
+ border: boolean;
1198
+ solid: boolean;
1199
+ invalid: boolean;
1200
+ round: boolean;
1201
+ color: string;
1202
+ allowClick: boolean;
1203
+ close: EventEmitter<void>;
1204
+ get rootClass(): string;
1205
+ get isNormalTag(): boolean;
1206
+ get customStyle(): {
1207
+ color: string;
1208
+ 'border-color': string;
1209
+ 'background-color': string;
1210
+ };
1211
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
1212
+ 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>;
1213
+ }
1214
+
1215
+ declare class CheckTagComponent {
1216
+ bem: Bem;
1217
+ hovered: boolean;
1218
+ checked: boolean;
1219
+ size: ComponentSize;
1220
+ round: boolean;
1221
+ checkedChange: EventEmitter<boolean>;
1222
+ get rootClass(): string;
1223
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckTagComponent, never>;
1224
+ 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>;
1225
+ }
1226
+
1227
+ declare class TagModule {
1228
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagModule, never>;
1229
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TagModule, never, [typeof i1.CommonModule, typeof IconModule, typeof TagComponent, typeof CheckTagComponent], [typeof TagComponent, typeof CheckTagComponent]>;
1230
+ static ɵinj: i0.ɵɵInjectorDeclaration<TagModule>;
1231
+ }
1232
+
1233
+ declare class ClickOutsideDirective {
1234
+ private readonly el;
1235
+ auiClickOutside: EventEmitter<Event>;
1236
+ onBodyClick(event: Event): void;
1237
+ constructor(el: ElementRef<HTMLElement>);
1238
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
1239
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[auiClickOutside]", ["auiClickOutside"], {}, { "auiClickOutside": "auiClickOutside"; }, never, never, true, never>;
1240
+ }
1241
+
1242
+ declare class SharedModule {
1243
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
1244
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof ClickOutsideDirective], [typeof ClickOutsideDirective]>;
1245
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
1246
+ }
1247
+
1248
+ declare class InputGroupComponent implements AfterContentInit {
1249
+ bem: Bem;
1250
+ private readonly addonBeforeRefs;
1251
+ private readonly addonAfterRefs;
1252
+ private readonly prefixRefs;
1253
+ private readonly suffixRefs;
1254
+ inputRef: InputComponent;
1255
+ hasAddonBefore$: Observable<boolean>;
1256
+ hasAddonAfter$: Observable<boolean>;
1257
+ hasPrefix$: Observable<boolean>;
1258
+ hasSuffix$: Observable<boolean>;
1259
+ ngAfterContentInit(): void;
1260
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputGroupComponent, never>;
1261
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputGroupComponent, "aui-input-group", never, {}, {}, ["inputRef", "addonBeforeRefs", "addonAfterRefs", "prefixRefs", "suffixRefs"], ["[auiInputAddonBefore]", "[auiInputPrefix]", "*", "[auiInputSuffix]", "[auiInputAddonAfter]"], true, never>;
1262
+ }
1263
+ declare const INPUT_GROUP_MODULE: readonly [typeof InputGroupComponent, typeof InputAddonAfterDirective, typeof InputAddonBeforeDirective, typeof InputPrefixDirective, typeof InputSuffixDirective];
1264
+
1265
+ declare class SearchComponent {
1266
+ bem: Bem;
1267
+ size: ComponentSize;
1268
+ searchButton: boolean;
1269
+ clearable: boolean;
1270
+ searching: boolean;
1271
+ placeholder: string;
1272
+ disabled: boolean;
1273
+ get keyword(): string;
1274
+ set keyword(value: string);
1275
+ keywordChange: EventEmitter<string>;
1276
+ search: EventEmitter<string>;
1277
+ clear: EventEmitter<void>;
1278
+ inputRef: ElementRef<HTMLInputElement>;
1279
+ value: string;
1280
+ get showSpinner(): boolean;
1281
+ get showClear(): boolean;
1282
+ focus(): void;
1283
+ emitChange(value: string): void;
1284
+ emitSearch(): void;
1285
+ emitClear(): void;
1286
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
1287
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "aui-search", never, { "size": { "alias": "size"; "required": false; }; "searchButton": { "alias": "searchButton"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searching": { "alias": "searching"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "keyword": { "alias": "keyword"; "required": false; }; }, { "keywordChange": "keywordChange"; "search": "search"; "clear": "clear"; }, never, never, true, never>;
1288
+ }
1289
+
1290
+ declare const INPUT_ERROR_KEY = "input_data_error";
1291
+ declare class TagsInputComponent extends CommonFormControl<string[]> implements AfterViewInit, OnChanges {
1292
+ private readonly fb;
1293
+ private readonly renderer;
1294
+ private readonly injector;
1295
+ bem: Bem;
1296
+ placeholder: string;
1297
+ size: ComponentSize;
1298
+ clearable: boolean | '';
1299
+ allowRepeat: boolean | '';
1300
+ allowEmpty: boolean | '';
1301
+ readonlyTags: string[] | readonly string[];
1302
+ maxRowCount: number;
1303
+ customRowHeight: number;
1304
+ _inputValidator: ValidatorFn;
1305
+ _inputAsyncValidator: AsyncValidatorFn;
1306
+ set inputValidator(fn: ValidatorFn | ValidatorFn[]);
1307
+ get inputValidator(): ValidatorFn | ValidatorFn[];
1308
+ set inputAsyncValidator(fn: AsyncValidatorFn | AsyncValidatorFn[]);
1309
+ get inputAsyncValidator(): AsyncValidatorFn | AsyncValidatorFn[];
1310
+ inputRef: ElementRef<HTMLInputElement>;
1311
+ inputValueMirror: ElementRef<HTMLElement>;
1312
+ get hostPosition(): string;
1313
+ get hostDisplay(): string;
1314
+ get maxHeight(): string;
1315
+ private readonly withMaxRowCount;
1316
+ focused: boolean;
1317
+ model: string[];
1318
+ readonly inputControl: UntypedFormControl;
1319
+ controlContainer: NgControl;
1320
+ get rootClass(): string;
1321
+ get tagSize(): "medium" | "mini";
1322
+ get inputClass(): string;
1323
+ constructor(cdr: ChangeDetectorRef, fb: FormBuilder, renderer: Renderer2, injector: Injector);
1324
+ ngOnChanges({ inputValidator, inputAsyncValidator, disabled, }: SimpleChanges): void;
1325
+ ngAfterViewInit(): void;
1326
+ onRemove(index: number): void;
1327
+ onInput(): void;
1328
+ onKeyDown(event: KeyboardEvent): void;
1329
+ onInputFocus(): void;
1330
+ onInputBlur(event: Event): void;
1331
+ trackByValue(_: number, value: string): string;
1332
+ protected valueIn(v: string[]): string[];
1333
+ private sortByReadonly;
1334
+ private pushValue;
1335
+ private syncControlStatus;
1336
+ private removeInputControlError;
1337
+ private clearInput;
1338
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagsInputComponent, never>;
1339
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagsInputComponent, "aui-tags-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "size": { "alias": "size"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "allowRepeat": { "alias": "allowRepeat"; "required": false; }; "allowEmpty": { "alias": "allowEmpty"; "required": false; }; "readonlyTags": { "alias": "readonlyTags"; "required": false; }; "maxRowCount": { "alias": "maxRowCount"; "required": false; }; "customRowHeight": { "alias": "customRowHeight"; "required": false; }; "inputValidator": { "alias": "inputValidator"; "required": false; }; "inputAsyncValidator": { "alias": "inputAsyncValidator"; "required": false; }; }, {}, never, never, true, never>;
1340
+ }
1341
+
1342
+ declare class NumberInputComponent extends CommonFormControl<number> implements AfterContentInit, AfterViewInit {
1343
+ bem: Bem;
1344
+ size: ComponentSize;
1345
+ min: number;
1346
+ max: number;
1347
+ step: number;
1348
+ precision: number;
1349
+ controls: boolean;
1350
+ placeholder: string;
1351
+ controlsPosition: string;
1352
+ angleControls: boolean;
1353
+ clearable: boolean;
1354
+ inputRef: ElementRef<HTMLInputElement>;
1355
+ private readonly addonBeforeRefs;
1356
+ private readonly addonAfterRefs;
1357
+ isFocus: boolean;
1358
+ hasAddonBefore$: Observable<boolean>;
1359
+ hasAddonAfter$: Observable<boolean>;
1360
+ ngAfterContentInit(): void;
1361
+ ngAfterViewInit(): void;
1362
+ valueIn(v: number): number;
1363
+ modelOut(value: number): number;
1364
+ inputChanged(value: string): void;
1365
+ takeOneStep(positive: boolean): void;
1366
+ private parsePrecision;
1367
+ private getStepPrecision;
1368
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
1369
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "aui-number-input", never, { "size": { "alias": "size"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "controls": { "alias": "controls"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "controlsPosition": { "alias": "controlsPosition"; "required": false; }; "angleControls": { "alias": "angleControls"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; }, {}, ["addonBeforeRefs", "addonAfterRefs"], ["[auiInputAddonBefore]", "[auiInputAddonAfter]"], true, never>;
1370
+ static ngAcceptInputType_min: number | string;
1371
+ static ngAcceptInputType_max: number | string;
1372
+ }
1373
+ declare const NUMBER_INPUT_MODULE: readonly [typeof NumberInputComponent, typeof InputAddonBeforeDirective, typeof InputAddonAfterDirective];
1374
+
1375
+ declare class InputModule {
1376
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputModule, never>;
1377
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputModule, never, [typeof i1.CommonModule, typeof i2$2.FormsModule, typeof i2$2.ReactiveFormsModule, typeof IconModule, typeof TagModule, typeof SharedModule, typeof AutosizeDirective, typeof InputComponent, typeof InputGroupComponent, typeof InputAddonBeforeDirective, typeof InputAddonAfterDirective, typeof InputPrefixDirective, typeof InputSuffixDirective, typeof SearchComponent, typeof TagsInputComponent, typeof NumberInputComponent], [typeof AutosizeDirective, typeof InputComponent, typeof InputGroupComponent, typeof InputAddonBeforeDirective, typeof InputAddonAfterDirective, typeof InputPrefixDirective, typeof InputSuffixDirective, typeof SearchComponent, typeof TagsInputComponent, typeof NumberInputComponent]>;
1378
+ static ɵinj: i0.ɵɵInjectorDeclaration<InputModule>;
1379
+ }
1380
+
1381
+ declare class SelectComponent<T = unknown> extends BaseSelect<T> implements AfterContentInit {
1382
+ inputRef: InputComponent;
1383
+ values$: Observable<T[]>;
1384
+ selectedOption$: Observable<SelectOption>;
1385
+ hasSelected$: Observable<boolean>;
1386
+ get rootClass(): string;
1387
+ get containerClass(): string;
1388
+ isClearable: (hasSelected: boolean) => boolean;
1389
+ ngAfterContentInit(): void;
1390
+ onVisibleOptions(visible: boolean): void;
1391
+ protected valueIn(v: T): T;
1392
+ selectOption(option: OptionComponent<T>): void;
1393
+ clearValue(event: Event): void;
1394
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent<any>, never>;
1395
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "aui-select", never, {}, {}, never, ["*", "aui-option-placeholder"], true, never>;
1396
+ }
1397
+
1398
+ declare class AuiSelectValidators {
1399
+ static includes<T>(options: T[], trackFn?: TrackFn<T>): ValidatorFn;
1400
+ }
1401
+ declare class IncludesDirective<T> implements Validator, AfterContentInit {
1402
+ private readonly selectRef;
1403
+ get includes(): boolean | "";
1404
+ set includes(val: boolean | '');
1405
+ trackFn: TrackFn<T>;
1406
+ private _includes;
1407
+ onValidatorChange: () => void;
1408
+ constructor(selectRef: SelectComponent<T>);
1409
+ ngAfterContentInit(): void;
1410
+ registerOnValidatorChange(fn: () => void): void;
1411
+ validate(control: AbstractControl): ValidationErrors;
1412
+ static ɵfac: i0.ɵɵFactoryDeclaration<IncludesDirective<any>, never>;
1413
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IncludesDirective<any>, "aui-select[ngModel][includes],aui-select[formControl][includes],aui-select[formControlName][includes]", never, { "includes": { "alias": "includes"; "required": false; }; "trackFn": { "alias": "trackFn"; "required": false; }; }, {}, never, never, true, never>;
1414
+ }
1415
+
1416
+ interface I18NInterface {
1417
+ locale: string;
1418
+ translation: Record<string, string>;
1419
+ }
1420
+ declare const I18NInterfaceToken: InjectionToken<I18NInterface>;
1421
+
1422
+ declare class I18nService {
1423
+ readonly $$i18n: i0.WritableSignal<I18NInterface>;
1424
+ $locale: i0.Signal<string>;
1425
+ $monthBeforeYear: i0.Signal<boolean>;
1426
+ setI18n(i18n: I18NInterface): void;
1427
+ translate(key: string, data?: Record<string, string>, ignoreNonExist?: boolean): string;
1428
+ static ɵfac: i0.ɵɵFactoryDeclaration<I18nService, never>;
1429
+ static ɵprov: i0.ɵɵInjectableDeclaration<I18nService>;
1430
+ }
1431
+
1432
+ declare class I18nPipe implements PipeTransform {
1433
+ private readonly i18n;
1434
+ constructor(i18n: I18nService);
1435
+ transform(value: any, data?: Record<string, string>): string;
1436
+ static ɵfac: i0.ɵɵFactoryDeclaration<I18nPipe, never>;
1437
+ static ɵpipe: i0.ɵɵPipeDeclaration<I18nPipe, "auiI18n", true>;
1438
+ }
1439
+
1440
+ declare class I18nModule {
1441
+ static ɵfac: i0.ɵɵFactoryDeclaration<I18nModule, never>;
1442
+ static ɵmod: i0.ɵɵNgModuleDeclaration<I18nModule, never, [typeof I18nPipe], [typeof I18nPipe]>;
1443
+ static ɵinj: i0.ɵɵInjectorDeclaration<I18nModule>;
1444
+ }
1445
+
1446
+ declare class SelectModule {
1447
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
1448
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, never, [typeof i1.CommonModule, typeof InputModule, typeof I18nModule, typeof IconModule, typeof TooltipModule, typeof TagModule, typeof SelectComponent, typeof OptionComponent, typeof OptionGroupComponent, typeof OptionPlaceholderComponent, typeof MultiSelectComponent, typeof IncludesDirective, typeof OptionGroupTitleDirective, typeof OptionContentDirective], [typeof SelectComponent, typeof OptionComponent, typeof OptionGroupComponent, typeof OptionPlaceholderComponent, typeof MultiSelectComponent, typeof IncludesDirective, typeof OptionGroupTitleDirective, typeof OptionContentDirective]>;
1449
+ static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
1450
+ }
1451
+ declare const SELECT_MODULE: readonly [typeof SelectComponent, typeof OptionComponent, typeof OptionGroupComponent, typeof OptionPlaceholderComponent, typeof MultiSelectComponent, typeof IncludesDirective, typeof OptionGroupTitleDirective, typeof OptionContentDirective];
1452
+
1453
+ declare class CheckboxGroupComponent<T> extends CommonFormControl<T[]> {
1454
+ private _trackFn;
1455
+ direction: 'column' | 'row';
1456
+ get trackFn(): TrackFn<T>;
1457
+ set trackFn(val: TrackFn<T>);
1458
+ checkboxes: QueryList<CheckboxComponent<T>>;
1459
+ onCheckboxChange(checkbox: CheckboxComponent<T>): void;
1460
+ onCheckboxBlur(): void;
1461
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroupComponent<any>, never>;
1462
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupComponent<any>, "aui-checkbox-group", never, { "direction": { "alias": "direction"; "required": false; }; "trackFn": { "alias": "trackFn"; "required": false; }; }, {}, ["checkboxes"], ["*"], true, never>;
1463
+ }
1464
+
1465
+ declare class CheckboxComponent<T> extends CommonFormControl<boolean> implements AfterViewInit, OnDestroy {
1466
+ private readonly focusMonitor;
1467
+ id: string;
1468
+ name: string;
1469
+ type: string;
1470
+ get label(): T;
1471
+ set label(val: T);
1472
+ get indeterminate(): boolean;
1473
+ set indeterminate(value: boolean);
1474
+ elRef: ElementRef;
1475
+ private readonly checkboxGroup;
1476
+ private _label;
1477
+ private readonly label$$;
1478
+ private _indeterminate;
1479
+ private readonly destroy$$;
1480
+ constructor(cdr: ChangeDetectorRef, checkboxGroup: CheckboxGroupComponent<T>, focusMonitor: FocusMonitor);
1481
+ ngAfterViewInit(): void;
1482
+ ngOnDestroy(): void;
1483
+ onClick(): void;
1484
+ onBlur(): void;
1485
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent<any>, [null, { optional: true; }, null]>;
1486
+ 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>;
1487
+ }
1488
+
1489
+ declare class CheckboxModule {
1490
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxModule, never>;
1491
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxModule, never, [typeof i1.CommonModule, typeof IconModule, typeof CheckboxComponent, typeof CheckboxGroupComponent], [typeof CheckboxComponent, typeof CheckboxGroupComponent]>;
1492
+ static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxModule>;
1493
+ }
1494
+ declare const CHECKBOX_MODULE: readonly [typeof CheckboxComponent, typeof CheckboxGroupComponent];
1495
+
1496
+ declare class ColorPickerComponent extends CommonFormControl<string> {
1497
+ onInput(event: Event): void;
1498
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
1499
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "aui-color-picker", never, {}, {}, never, never, true, never>;
1500
+ }
1501
+
1502
+ declare class ColorPickerModule {
1503
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerModule, never>;
1504
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ColorPickerModule, never, [typeof i1.CommonModule, typeof i2$2.FormsModule, typeof ColorPickerComponent], [typeof ColorPickerComponent]>;
1505
+ static ɵinj: i0.ɵɵInjectorDeclaration<ColorPickerModule>;
1506
+ }
1507
+
1508
+ declare enum Side {
1509
+ Left = "left",
1510
+ Right = "right"
1511
+ }
1512
+ type DisabledTimeFn = (date?: Dayjs) => {
1513
+ hours: () => number[];
1514
+ minutes: (hour?: number) => number[];
1515
+ seconds: (hour?: number, minute?: number) => number[];
1516
+ };
1517
+ interface CalendarHeaderRange {
1518
+ start: Dayjs;
1519
+ end?: Dayjs;
1520
+ }
1521
+ declare enum DateNavRange {
1522
+ Decade = "decade",
1523
+ Year = "year",
1524
+ Month = "month"
1525
+ }
1526
+ type DisabledDateFn = (date: Dayjs, type: DateNavRange) => boolean;
1527
+
1528
+ declare const DATE = "date";
1529
+ declare const DAY = "day";
1530
+ declare const MONTH = "month";
1531
+ declare const YEAR = "year";
1532
+ declare const HOUR = "hour";
1533
+ declare const MINUTE = "minute";
1534
+ declare const SECOND = "second";
1535
+ declare enum DatePickerType {
1536
+ Day = "date",
1537
+ Month = "month",
1538
+ Year = "year"
1539
+ }
1540
+ declare const MONTH_PANEL_COLUMN_COUNT = 3;
1541
+ declare const MONTH_PANEL_ROW_COUNT = 4;
1542
+ declare const YEAR_PANEL_COLUMN_COUNT = 3;
1543
+ declare const YEAR_PANEL_ROW_COUNT = 4;
1544
+ declare const DAY_PANEL_COLUMN_COUNT = 7;
1545
+ declare const DAY_PANEL_ROW_COUNT = 6;
1546
+ declare const DATE_TYPES: DatePickerType[];
1547
+ declare const DATE_NAV_RANGES: DateNavRange[];
1548
+
1549
+ declare enum TimePickerControlType {
1550
+ Hour = "hour",
1551
+ Minute = "minute",
1552
+ Second = "second"
1553
+ }
1554
+ interface TimePickerModel {
1555
+ hour?: number;
1556
+ minute?: number;
1557
+ second?: number;
1558
+ }
1559
+ type TimePickerDataLike = ConfigType | TimePickerModel;
1560
+ declare function isTimePickerModel(item: any): item is TimePickerModel;
1561
+
1562
+ declare class TimePickerComponent extends CommonFormControl<TimePickerDataLike, TimePickerModel> {
1563
+ format: string;
1564
+ size: ComponentSize;
1565
+ placeholder: string;
1566
+ clearable: boolean;
1567
+ showIcon: boolean;
1568
+ disableHours: () => number[];
1569
+ disableMinutes: (hour?: number) => number[];
1570
+ disableSeconds: (hour?: number, minute?: number) => number[];
1571
+ hourStep: number;
1572
+ minuteStep: number;
1573
+ secondStep: number;
1574
+ footerTemplate: TemplateRef<void>;
1575
+ readonly open: EventEmitter<void>;
1576
+ readonly close: EventEmitter<void>;
1577
+ tooltipRef: TooltipDirective;
1578
+ timeValue: Dayjs;
1579
+ timeFormatValue: string;
1580
+ writeValue(value: TimePickerDataLike): void;
1581
+ setValue(value: Dayjs): void;
1582
+ changeFromPanel(value: Dayjs): void;
1583
+ changeFromInput(source: string): void;
1584
+ onKeyDown(event: KeyboardEvent): void;
1585
+ handleTooltipVisible(visible: boolean): void;
1586
+ openPanel(): void;
1587
+ closePanel(): void;
1588
+ clearValue(event: Event): void;
1589
+ submit(close?: boolean, value?: Dayjs): void;
1590
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
1591
+ 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>;
1592
+ }
1593
+
1594
+ declare const HOUR_ITEMS: number[];
1595
+ declare const MINUTE_ITEMS: number[];
1596
+ declare const SECOND_ITEMS: number[];
1597
+ declare const CONTROL_ITEM_HEIGHT = 28;
1598
+
1599
+ declare class TimePickerPanelComponent extends CommonFormControl<Dayjs> implements OnChanges {
1600
+ protected cdr: ChangeDetectorRef;
1601
+ set format(value: string);
1602
+ get format(): string;
1603
+ private _format;
1604
+ get totalWidth(): number;
1605
+ onMousedown(): boolean;
1606
+ hourStep: number;
1607
+ minuteStep: number;
1608
+ secondStep: number;
1609
+ footerTemplate: TemplateRef<void>;
1610
+ confirm: EventEmitter<void>;
1611
+ disableHours: () => number[];
1612
+ disableMinutes: (hour?: number) => number[];
1613
+ disableSeconds: (hour?: number, minute?: number) => number[];
1614
+ hourEnabled: boolean;
1615
+ minuteEnabled: boolean;
1616
+ secondEnabled: boolean;
1617
+ TimePickerControlType: typeof TimePickerControlType;
1618
+ HOUR_ITEM_CONFIG: number[];
1619
+ MINUTE_ITEM_CONFIG: number[];
1620
+ SECOND_ITEM_CONFIG: number[];
1621
+ CONTROL_ITEM_HEIGHT: number;
1622
+ ComponentSize: {
1623
+ readonly Large: "large";
1624
+ readonly Medium: "medium";
1625
+ readonly Small: "small";
1626
+ readonly Mini: "mini";
1627
+ readonly Empty: "";
1628
+ };
1629
+ bem: _alauda_ui.Bem;
1630
+ hourRef: ElementRef<HTMLElement>;
1631
+ minuteRef: ElementRef<HTMLElement>;
1632
+ secondRef: ElementRef<HTMLElement>;
1633
+ enabledColumns: number;
1634
+ firstScrolled: boolean;
1635
+ constructor(cdr: ChangeDetectorRef);
1636
+ isDisabled(value: number, type: TimePickerControlType): boolean;
1637
+ ngOnChanges({ hourStep, minuteStep, secondStep }: SimpleChanges): void;
1638
+ writeValue(value: Dayjs): void;
1639
+ selectValue(value: number, type: TimePickerControlType): void;
1640
+ syncValue(value: number, type: TimePickerControlType, currentValue: Dayjs): dayjs.Dayjs;
1641
+ syncScrollOffset(duration: number, value: Dayjs): void;
1642
+ private scrollByValue;
1643
+ matchValue(value: number, type: TimePickerControlType, currDate: Dayjs): boolean;
1644
+ getControlTypeConfig(type: TimePickerControlType): number[];
1645
+ selectNow(): void;
1646
+ trackBy(_index: number, content: number): number;
1647
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerPanelComponent, never>;
1648
+ 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>;
1649
+ }
1650
+
1651
+ declare class TimePickerModule {
1652
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerModule, never>;
1653
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TimePickerModule, never, [typeof i2$2.FormsModule, typeof i2$2.ReactiveFormsModule, typeof i3.PortalModule, typeof i2$1.OverlayModule, typeof i1.CommonModule, typeof InputModule, typeof TooltipModule, typeof IconModule, typeof ButtonModule, typeof I18nModule, typeof TimePickerComponent, typeof TimePickerPanelComponent], [typeof TimePickerComponent, typeof TimePickerPanelComponent]>;
1654
+ static ɵinj: i0.ɵɵInjectorDeclaration<TimePickerModule>;
1655
+ }
1656
+ declare const TIME_PICKER_MODULE: readonly [typeof TimePickerComponent, typeof TimePickerPanelComponent];
1657
+
1658
+ declare class DatePickerPanelComponent extends CommonFormControl<Dayjs> {
1659
+ clearable: boolean;
1660
+ clearText: string;
1661
+ set type(type: DatePickerType);
1662
+ get type(): DatePickerType;
1663
+ private _type;
1664
+ showTime: boolean;
1665
+ disabledDate: (date: Dayjs, type: DateNavRange) => boolean;
1666
+ disabledTime: DisabledTimeFn;
1667
+ weekStartDay: number;
1668
+ showFooter: boolean;
1669
+ footerTemplate: TemplateRef<unknown>;
1670
+ extraFooter: TemplateRef<unknown>;
1671
+ minDate: Dayjs;
1672
+ maxDate: Dayjs;
1673
+ confirm: EventEmitter<dayjs.Dayjs>;
1674
+ clear: EventEmitter<void>;
1675
+ private _cacheSelectedDate;
1676
+ private _cacheDisabledTimeFn;
1677
+ getDisabledTimeFn(selectedDate: Dayjs, type: keyof ReturnType<DisabledTimeFn>): (() => number[]) | ((hour?: number) => number[]) | ((hour?: number, minute?: number) => number[]);
1678
+ navRange: DateNavRange;
1679
+ get currentNavType(): DatePickerType;
1680
+ anchor: Dayjs;
1681
+ selectedDate: Dayjs;
1682
+ selectedTime: TimePickerModel;
1683
+ DateNavRange: typeof DateNavRange;
1684
+ DatePickerType: typeof DatePickerType;
1685
+ writeValue(obj: Dayjs): void;
1686
+ panelValueChange(value: Dayjs): void;
1687
+ confirmValue(value?: ConfigType, closeAfterConfirm?: boolean): void;
1688
+ timeDateChange(time: TimePickerModel): void;
1689
+ setToday(): void;
1690
+ clearValue(): void;
1691
+ private _disabledTimeFn;
1692
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerPanelComponent, never>;
1693
+ 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>;
1694
+ }
1695
+
1696
+ declare class CalendarFooterComponent {
1697
+ clearable: boolean;
1698
+ clearText: string;
1699
+ customAction: TemplateRef<any>;
1700
+ confirm: EventEmitter<void>;
1701
+ clear: EventEmitter<void>;
1702
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarFooterComponent, never>;
1703
+ 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>;
1704
+ }
1705
+
1706
+ declare class CalendarHeaderComponent {
1707
+ get dateNavRange(): DateNavRange;
1708
+ set dateNavRange(val: DateNavRange);
1709
+ get anchor(): dayjs.Dayjs;
1710
+ set anchor(val: dayjs.Dayjs);
1711
+ maxAvail?: ConfigType;
1712
+ private get _maxAvail();
1713
+ minAvail?: ConfigType;
1714
+ private get _minAvail();
1715
+ navRangeChange: EventEmitter<DateNavRange>;
1716
+ anchorChange: EventEmitter<dayjs.Dayjs>;
1717
+ private readonly $$dateNavRange;
1718
+ private readonly $$anchor;
1719
+ private readonly i18nService;
1720
+ bem: _alauda_ui.Bem;
1721
+ DateNavRange: typeof DateNavRange;
1722
+ $monthBeforeYear: i0.Signal<boolean>;
1723
+ $headerRange: i0.Signal<{
1724
+ start: {
1725
+ year: string;
1726
+ month: string;
1727
+ };
1728
+ end: {
1729
+ year: string;
1730
+ month: string;
1731
+ };
1732
+ }>;
1733
+ shouldShowNav(type: DateNavRange, side: Side): boolean;
1734
+ compareNavValue(type: DateNavRange, constrain: Dayjs, anchor: Dayjs): 1 | 0 | -1;
1735
+ navHead(range: DateNavRange, value: number): void;
1736
+ clickNav: (range: DateNavRange) => void;
1737
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarHeaderComponent, never>;
1738
+ 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>;
1739
+ }
1740
+
1741
+ declare class DateCell {
1742
+ value: Dayjs;
1743
+ label: number | string;
1744
+ isBackground?: boolean;
1745
+ inRange?: boolean;
1746
+ isRangeStart?: boolean;
1747
+ isRangeEnd?: boolean;
1748
+ isDisabled?: boolean;
1749
+ constructor(value: Dayjs, label: number | string);
1750
+ }
1751
+
1752
+ declare class PickerPanelComponent implements OnChanges {
1753
+ private readonly cdr;
1754
+ navRange: DateNavRange;
1755
+ type: DatePickerType;
1756
+ anchor: dayjs.Dayjs;
1757
+ matchDates: Dayjs[];
1758
+ disabledDate: (date: Dayjs, navRange: DateNavRange) => boolean;
1759
+ set weekStartDay(day: number);
1760
+ get weekStartDay(): number;
1761
+ minDate: Dayjs;
1762
+ maxDate: Dayjs;
1763
+ get disabledDateFn(): (date: Dayjs, navRange: DateNavRange) => boolean;
1764
+ private _weekStartDay;
1765
+ panelData: DateCell[][];
1766
+ select: EventEmitter<dayjs.Dayjs>;
1767
+ hovered: EventEmitter<dayjs.Dayjs>;
1768
+ bem: _alauda_ui.Bem;
1769
+ DateNavRange: typeof DateNavRange;
1770
+ weekDefs: string[];
1771
+ constructor(cdr: ChangeDetectorRef);
1772
+ ngOnChanges(): void;
1773
+ renderPanelData(date: Dayjs, navRange: DateNavRange): void;
1774
+ match(value: Dayjs): boolean;
1775
+ matchToday(value: Dayjs): boolean;
1776
+ selectValue(value: Dayjs): void;
1777
+ trackByFn(): DateNavRange;
1778
+ static ɵfac: i0.ɵɵFactoryDeclaration<PickerPanelComponent, never>;
1779
+ 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>;
1780
+ }
1781
+
1782
+ declare class DateRangePickerPanelComponent extends CommonFormControl<Dayjs[]> {
1783
+ clearable: boolean;
1784
+ clearText: string;
1785
+ showTime: boolean;
1786
+ showFooter: boolean;
1787
+ disabledDate: (date: Dayjs, navRange: DateNavRange, startDate: Dayjs) => boolean;
1788
+ disabledTime: {
1789
+ left: DisabledTimeFn;
1790
+ right: DisabledTimeFn;
1791
+ };
1792
+ weekStartDay: number;
1793
+ minDate: Dayjs;
1794
+ maxDate: Dayjs;
1795
+ clear: EventEmitter<void>;
1796
+ confirm: EventEmitter<void>;
1797
+ bem: _alauda_ui.Bem;
1798
+ Side: typeof Side;
1799
+ DatePickerType: typeof DatePickerType;
1800
+ leftDateRange: DateNavRange;
1801
+ rightDateRange: DateNavRange;
1802
+ FOOTER_DATE_FORMAT: string;
1803
+ leftAnchor: dayjs.Dayjs;
1804
+ rightAnchor: dayjs.Dayjs;
1805
+ get maxHeaderAvail(): dayjs.Dayjs;
1806
+ get minHeaderAvail(): dayjs.Dayjs;
1807
+ rangeValue: Dayjs[];
1808
+ matchValues: Dayjs[];
1809
+ startTime: TimePickerModel;
1810
+ endTime: TimePickerModel;
1811
+ writeValue(obj: Dayjs[]): void;
1812
+ calendarRangeChange(type: DateNavRange, side: Side): void;
1813
+ getDateDisabledFn(side: Side, constrainValue: Dayjs): (date: Dayjs, navRange: DateNavRange) => boolean;
1814
+ private getDisabledTimeCachedFn;
1815
+ leftDisabledTimeFn: (value: Dayjs, key: keyof ReturnType<DisabledTimeFn>) => (() => number[]) | ((hour?: number) => number[]) | ((hour?: number, minute?: number) => number[]);
1816
+ rightDisabledTimeFn: (value: Dayjs, key: keyof ReturnType<DisabledTimeFn>) => (() => number[]) | ((hour?: number) => number[]) | ((hour?: number, minute?: number) => number[]);
1817
+ selectPickerPanel(value: Dayjs, side: Side): void;
1818
+ reorder(sortedDate: Dayjs[]): void;
1819
+ hoverItem(date: Dayjs): void;
1820
+ confirmValue(value: Dayjs[], closeThen?: boolean): void;
1821
+ timeChange(time: TimePickerModel): void;
1822
+ syncTime(): void;
1823
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerPanelComponent, never>;
1824
+ 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>;
1825
+ }
1826
+
1827
+ declare class RangePickerComponent extends CommonFormControl<ConfigType[], Dayjs[]> {
1828
+ clearable: boolean;
1829
+ clearText: string;
1830
+ format: string;
1831
+ showFooter: boolean;
1832
+ showTime: boolean;
1833
+ disabledDate: DisabledDateFn;
1834
+ minDate: Dayjs;
1835
+ maxDate: Dayjs;
1836
+ disabledTime: {
1837
+ left: DisabledTimeFn;
1838
+ right: DisabledTimeFn;
1839
+ };
1840
+ weekStartDay: number;
1841
+ size: ComponentSize;
1842
+ visibleChange: EventEmitter<boolean>;
1843
+ value: [Dayjs, Dayjs];
1844
+ valueIn(obj: [ConfigType, ConfigType]): dayjs.Dayjs[];
1845
+ writeValue(obj: [Dayjs, Dayjs]): void;
1846
+ clearValue(): void;
1847
+ tooltipVisibleChange(visible: boolean): void;
1848
+ static ɵfac: i0.ɵɵFactoryDeclaration<RangePickerComponent, never>;
1849
+ 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>;
1850
+ }
1851
+
1852
+ declare class DatePickerComponent extends CommonFormControl<ConfigType, Dayjs> {
1853
+ clearable: boolean;
1854
+ clearText: string;
1855
+ format: string;
1856
+ showTime: boolean;
1857
+ type: DatePickerType;
1858
+ size: "medium";
1859
+ disabledDate: (date: Dayjs, type: DateNavRange) => boolean;
1860
+ disabledTime: DisabledTimeFn;
1861
+ minDate: Dayjs;
1862
+ maxDate: Dayjs;
1863
+ weekStartDay: number;
1864
+ showFooter: boolean;
1865
+ footerTemplate: TemplateRef<unknown>;
1866
+ extraFooter: TemplateRef<unknown>;
1867
+ placeholder: string;
1868
+ visibleChange: EventEmitter<boolean>;
1869
+ value: Dayjs;
1870
+ DatePickerType: typeof DatePickerType;
1871
+ valueIn(obj: ConfigType): dayjs.Dayjs;
1872
+ writeValue(obj: Dayjs): void;
1873
+ clearValue(): void;
1874
+ tooltipVisibleChange(visible: boolean): void;
1875
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
1876
+ 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>;
1877
+ }
1878
+
1879
+ declare class DatePickerTriggerComponent {
1880
+ get value(): Dayjs | Dayjs[];
1881
+ set value(val: Dayjs | Dayjs[]);
1882
+ get format(): string;
1883
+ set format(val: string);
1884
+ get isRange(): boolean;
1885
+ set isRange(val: boolean);
1886
+ size: ComponentSize;
1887
+ clearable: boolean;
1888
+ placeholder: string;
1889
+ startPlaceholder: string;
1890
+ endPlaceholder: string;
1891
+ disabled: boolean;
1892
+ blur: EventEmitter<void>;
1893
+ clear: EventEmitter<void>;
1894
+ focusInputRef: InputComponent;
1895
+ centerFocus: boolean;
1896
+ leftFocus: boolean;
1897
+ rightFocus: boolean;
1898
+ hovered: boolean;
1899
+ bem: _alauda_ui.Bem;
1900
+ get isFocus(): boolean;
1901
+ get hasValue(): boolean | Dayjs;
1902
+ get showClear(): boolean;
1903
+ private readonly i18nService;
1904
+ private readonly $$value;
1905
+ private readonly $$format;
1906
+ private readonly $$isRange;
1907
+ $formatValue: i0.Signal<string | string[]>;
1908
+ constructor();
1909
+ focusInput(): void;
1910
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerTriggerComponent, never>;
1911
+ 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>;
1912
+ }
1913
+
1914
+ declare class DatePickerModule {
1915
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
1916
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, never, [typeof i1.CommonModule, typeof InputModule, typeof ButtonModule, typeof TooltipModule, typeof i2$2.ReactiveFormsModule, typeof i2$2.FormsModule, typeof TimePickerModule, typeof IconModule, typeof I18nModule, typeof CalendarHeaderComponent, typeof CalendarFooterComponent, typeof DateRangePickerPanelComponent, typeof PickerPanelComponent, typeof RangePickerComponent, typeof DatePickerPanelComponent, typeof DatePickerComponent, typeof DatePickerTriggerComponent], [typeof CalendarHeaderComponent, typeof CalendarFooterComponent, typeof DateRangePickerPanelComponent, typeof PickerPanelComponent, typeof RangePickerComponent, typeof DatePickerPanelComponent, typeof DatePickerComponent, typeof DatePickerTriggerComponent]>;
1917
+ static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
1918
+ }
1919
+
1920
+ declare enum DialogSize {
1921
+ Small = "small",
1922
+ Medium = "medium",
1923
+ Big = "big",
1924
+ Large = "large",
1925
+ Fullscreen = "fullscreen",
1926
+ FitContent = "fit-content"
1927
+ }
1928
+ declare enum ConfirmType {
1929
+ Primary = "primary",
1930
+ Success = "success",
1931
+ Warning = "warning",
1932
+ Danger = "danger"
1933
+ }
1934
+ type PromiseExecutor<T> = (resolve: (result?: PromiseLike<T> | T) => void, reject: (reason?: unknown) => void) => void;
1935
+ type CustomBeforeAction<T> = () => Observable<T> | PromiseLike<T>;
1936
+ type BeforeAction<T> = CustomBeforeAction<T> | PromiseExecutor<T>;
1937
+
1938
+ declare class BaseDialogConfig {
1939
+ noAnimation?: boolean;
1940
+ }
1941
+ declare class DialogConfig<D = any> extends BaseDialogConfig {
1942
+ id?: number;
1943
+ viewContainerRef?: ViewContainerRef;
1944
+ data?: D;
1945
+ size?: DialogSize;
1946
+ hasBackdrop?: boolean;
1947
+ fitViewport?: boolean;
1948
+ customClass?: string;
1949
+ }
1950
+
1951
+ declare class ConfirmDialogConfig<T = unknown, R = unknown> extends BaseDialogConfig {
1952
+ title: string;
1953
+ content?: TemplateRef<any> | Type<any> | string;
1954
+ cancelButton?: boolean;
1955
+ confirmType?: ConfirmType;
1956
+ confirmText?: string;
1957
+ cancelText?: string;
1958
+ beforeConfirm?: BeforeAction<T>;
1959
+ beforeCancel?: BeforeAction<R>;
1960
+ }
1961
+
1962
+ declare class DialogComponent {
1963
+ private readonly elementRef;
1964
+ private readonly render;
1965
+ portalOutlet: CdkPortalOutlet;
1966
+ bem: Bem;
1967
+ config: DialogConfig;
1968
+ state: 'enter' | 'exit' | 'void';
1969
+ animationStateChanged: EventEmitter<AnimationEvent>;
1970
+ elementFocusedBeforeModalWasOpened: HTMLElement;
1971
+ overlayRef: OverlayRef;
1972
+ get id(): string;
1973
+ set id(value: string);
1974
+ private readonly _id;
1975
+ get rootClass(): string;
1976
+ get zoomClassMap(): {
1977
+ enter: string;
1978
+ enterActive: string;
1979
+ leave: string;
1980
+ leaveActive: string;
1981
+ };
1982
+ get fadeClassMap(): {
1983
+ enter: string;
1984
+ enterActive: string;
1985
+ leave: string;
1986
+ leaveActive: string;
1987
+ };
1988
+ constructor(elementRef: ElementRef<HTMLElement>, render: Renderer2);
1989
+ attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
1990
+ attachTemplatePortal<T>(portal: TemplatePortal<T>): EmbeddedViewRef<T>;
1991
+ onAnimationDone(event: AnimationEvent): void;
1992
+ onAnimationStart(event: AnimationEvent): void;
1993
+ startExitAnimation(): void;
1994
+ private blurActiveElement;
1995
+ private cleanAnimationClass;
1996
+ private setEnterAnimationClass;
1997
+ private setExitAnimationClass;
1998
+ private setMaskExitAnimationClass;
1999
+ private setModalTransformOrigin;
2000
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
2001
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "aui-dialog", never, {}, {}, never, never, true, never>;
2002
+ }
2003
+
2004
+ declare class DialogRef<T = ComponentType$1<any>, R = any> {
2005
+ private readonly overlayRef;
2006
+ dialogInstance: DialogComponent;
2007
+ componentInstance?: T;
2008
+ readonly id: string;
2009
+ private readonly afterOpen$;
2010
+ private readonly afterClosed$;
2011
+ constructor(overlayRef: OverlayRef, dialogInstance: DialogComponent);
2012
+ close(result?: R): void;
2013
+ afterOpen(): Observable<void>;
2014
+ afterClosed(): Observable<R>;
2015
+ updatePosition(): this;
2016
+ updateSize(): this;
2017
+ private getPositionStrategy;
2018
+ }
2019
+
2020
+ declare const DIALOG_DATA: InjectionToken<any>;
2021
+ declare class DialogService {
2022
+ private readonly overlay;
2023
+ private readonly injector;
2024
+ static readonly DIALOG_OVERLAY_PANE_CLASS = "aui-dialog-overlay-pane";
2025
+ static readonly DIALOG_BACKDROP_CLASS = "aui-dialog-backdrop";
2026
+ static readonly DIALOG_OVERLAY_PANE_FIT_VIEWPORT_CLASS = "aui-dialog-overlay-pane--fit-viewport";
2027
+ openDialogs: Array<DialogRef<any>>;
2028
+ constructor(overlay: Overlay, injector: Injector);
2029
+ open<T, D = any, R = any>(compOrTempRef: ComponentType<T> | TemplateRef<T>, config?: DialogConfig<D>): DialogRef<T, R>;
2030
+ confirm<T = unknown, R = unknown>(config: ConfirmDialogConfig<T, R>): Promise<T>;
2031
+ closeAll(): void;
2032
+ private createOverlay;
2033
+ private getOverlayConfig;
2034
+ private attachDialog;
2035
+ private attachDialogContent;
2036
+ private createInjector;
2037
+ private removeDialog;
2038
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
2039
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
2040
+ }
2041
+
2042
+ declare class DialogCloseDirective implements OnInit {
2043
+ dialogRef: DialogRef<any>;
2044
+ private readonly elementRef;
2045
+ private readonly dialogService;
2046
+ result: any;
2047
+ constructor(dialogRef: DialogRef<any>, elementRef: ElementRef, dialogService: DialogService);
2048
+ ngOnInit(): void;
2049
+ closeDialog(): void;
2050
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogCloseDirective, [{ optional: true; }, null, null]>;
2051
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogCloseDirective, "[auiDialogClose]", ["auiDialogClose"], { "result": { "alias": "auiDialogClose"; "required": false; }; }, {}, never, never, true, never>;
2052
+ }
2053
+
2054
+ declare class DialogContentComponent extends CdkScrollable$1 {
2055
+ bem: Bem;
2056
+ constructor(elementRef: ElementRef<HTMLElement>, scrollDispatcher: ScrollDispatcher, ngZone: NgZone, dir?: Directionality);
2057
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogContentComponent, never>;
2058
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogContentComponent, "aui-dialog-content", never, {}, {}, never, ["*"], true, never>;
2059
+ }
2060
+
2061
+ declare class DialogFooterComponent {
2062
+ bem: Bem;
2063
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogFooterComponent, never>;
2064
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogFooterComponent, "aui-dialog-footer", never, {}, {}, never, ["*"], true, never>;
2065
+ }
2066
+
2067
+ declare class DialogHeaderComponent implements OnInit {
2068
+ dialogRef: DialogRef<any>;
2069
+ private readonly elementRef;
2070
+ private readonly dialogService;
2071
+ bem: Bem;
2072
+ divider: boolean;
2073
+ closeable: boolean;
2074
+ result: any;
2075
+ constructor(dialogRef: DialogRef<any>, elementRef: ElementRef, dialogService: DialogService);
2076
+ ngOnInit(): void;
2077
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogHeaderComponent, [{ optional: true; }, null, null]>;
2078
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "aui-dialog-header", never, { "divider": { "alias": "divider"; "required": false; }; "closeable": { "alias": "closeable"; "required": false; }; "result": { "alias": "result"; "required": false; }; }, {}, never, ["*"], true, never>;
2079
+ }
2080
+
2081
+ declare class ConfirmDialogComponent<T = unknown, R = unknown> {
2082
+ private readonly dialogRef;
2083
+ private readonly cdr;
2084
+ bem: Bem;
2085
+ config: ConfirmDialogConfig<T, R>;
2086
+ waitConfirm: boolean;
2087
+ waitCancel: boolean;
2088
+ isTemplateRef: (label: any) => label is i0.TemplateRef<unknown>;
2089
+ isString: (label: any) => label is string;
2090
+ constructor(dialogRef: DialogRef<any>, cdr: ChangeDetectorRef);
2091
+ setConfig(config: ConfirmDialogConfig<T, R>): void;
2092
+ iconMap(type: ConfirmType): "check_circle_s" | "exclamation_triangle_s" | "exclamation_circle_s";
2093
+ confirm(): Promise<void>;
2094
+ cancel(): Promise<void>;
2095
+ private toPromise;
2096
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent<any, any>, never>;
2097
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent<any, any>, "aui-confirm-dialog", never, {}, {}, never, never, true, never>;
2098
+ }
2099
+
2100
+ declare class DialogModule {
2101
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
2102
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof i1.CommonModule, typeof i2$1.OverlayModule, typeof i3.PortalModule, typeof IconModule, typeof ButtonModule, typeof DialogComponent, typeof DialogHeaderComponent, typeof DialogContentComponent, typeof DialogFooterComponent, typeof DialogCloseDirective, typeof ConfirmDialogComponent], [typeof DialogComponent, typeof DialogHeaderComponent, typeof DialogContentComponent, typeof DialogFooterComponent, typeof DialogCloseDirective]>;
2103
+ static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
2104
+ }
2105
+ declare const DIALOG_MODULE: readonly [typeof DialogComponent, typeof DialogHeaderComponent, typeof DialogContentComponent, typeof DialogFooterComponent, typeof DialogCloseDirective];
2106
+
2107
+ declare const DrawerSize: {
2108
+ readonly Small: "small";
2109
+ readonly Medium: "medium";
2110
+ readonly Big: "big";
2111
+ };
2112
+ type DrawerSize = ValueOf<typeof DrawerSize>;
2113
+ interface DrawerOptions<T = unknown, C extends object = object> {
2114
+ title?: TemplateRef<C> | string;
2115
+ content?: ComponentType<T> | TemplateRef<C>;
2116
+ footer?: TemplateRef<C> | string;
2117
+ contentParams?: C;
2118
+ width?: number;
2119
+ size?: DrawerSize;
2120
+ offsetY?: string;
2121
+ divider?: boolean;
2122
+ drawerClass?: string;
2123
+ visible?: boolean;
2124
+ showClose?: boolean;
2125
+ mask?: boolean;
2126
+ maskClosable?: boolean;
2127
+ hideOnClickOutside?: boolean;
2128
+ disposeWhenHide?: boolean;
2129
+ }
2130
+
2131
+ type Step = 'hideDone' | 'hideStart' | 'showDone' | 'showStart';
2132
+ declare class DrawerInternalComponent<T = unknown, C extends object = object> implements AfterViewInit {
2133
+ private readonly injector;
2134
+ private readonly cdr;
2135
+ bodyPortalOutlet: CdkPortalOutlet;
2136
+ mask: ElementRef<HTMLDivElement>;
2137
+ animationStep$: Subject<Step>;
2138
+ options: DrawerOptions<T, C>;
2139
+ showHide$$: BehaviorSubject<"show" | "hide">;
2140
+ maskVisible$: Subject<boolean>;
2141
+ get drawerClasses(): Record<string, boolean>;
2142
+ get width(): string;
2143
+ get context(): {
2144
+ $implicit: C;
2145
+ } & C;
2146
+ isTemplateRef: (label: any) => label is i0.TemplateRef<unknown>;
2147
+ constructor(injector: Injector, cdr: ChangeDetectorRef);
2148
+ ngAfterViewInit(): void;
2149
+ private attachBodyContent;
2150
+ onAnimation(event: AnimationEvent): void;
2151
+ updateOptions(options: DrawerOptions<T, C>): void;
2152
+ show(): void;
2153
+ hide(): void;
2154
+ maskClick(): void;
2155
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrawerInternalComponent<any, any>, never>;
2156
+ static ɵcmp: i0.ɵɵComponentDeclaration<DrawerInternalComponent<any, any>, "ng-component", never, {}, {}, never, never, true, never>;
2157
+ }
2158
+
2159
+ declare class DrawerRef<T = unknown, C extends object = object, R = unknown> {
2160
+ drawerInstance: DrawerInternalComponent<T, C>;
2161
+ private result;
2162
+ private readonly afterOpen$;
2163
+ private readonly afterClosed$;
2164
+ get afterOpen(): Observable<void>;
2165
+ get afterClosed(): Observable<R>;
2166
+ constructor(drawerInstance: DrawerInternalComponent<T, C>);
2167
+ open(): void;
2168
+ close(result?: R): void;
2169
+ }
2170
+
2171
+ declare class DrawerService<T = unknown, C extends object = object, R = unknown> implements OnDestroy {
2172
+ private readonly overlay;
2173
+ private overlayRef;
2174
+ options: DrawerOptions<T, C>;
2175
+ drawerRef: DrawerRef<T, C, R>;
2176
+ invisible$: Subject<void>;
2177
+ private drawerInternalComponentRef;
2178
+ constructor(overlay: Overlay);
2179
+ open(options: DrawerOptions<T, C>): DrawerRef<T, C, R>;
2180
+ updateOptions(options: DrawerOptions<T, C>): void;
2181
+ private createOverlay;
2182
+ private createDrawer;
2183
+ private getOverlayConfig;
2184
+ private dispose;
2185
+ ngOnDestroy(): void;
2186
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrawerService<any, any, any>, never>;
2187
+ static ɵprov: i0.ɵɵInjectableDeclaration<DrawerService<any, any, any>>;
2188
+ }
2189
+
2190
+ declare class DrawerComponent<T = unknown, C extends object = object, R = unknown> implements AfterViewInit, OnChanges, Required<DrawerOptions<T, C>> {
2191
+ private readonly drawerService;
2192
+ title: TemplateRef<C> | string;
2193
+ footer: TemplateRef<C> | string;
2194
+ size: DrawerSize;
2195
+ offsetY: string;
2196
+ visible: boolean;
2197
+ content: ComponentType$1<T> | TemplateRef<C>;
2198
+ hideOnClickOutside: boolean;
2199
+ showClose: boolean;
2200
+ drawerClass: string;
2201
+ mask: boolean;
2202
+ maskClosable: boolean;
2203
+ divider: boolean;
2204
+ width: number;
2205
+ contentParams: C;
2206
+ disposeWhenHide: boolean;
2207
+ readonly close: EventEmitter<R>;
2208
+ private readonly titleTemplate;
2209
+ private readonly contentTemplateOrComponent;
2210
+ private readonly footerTemplate;
2211
+ private drawerRef;
2212
+ constructor(drawerService: DrawerService<T, C, R>);
2213
+ ngOnChanges(changes: SimpleChanges): void;
2214
+ ngAfterViewInit(): void;
2215
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrawerComponent<any, any, any>, never>;
2216
+ static ɵcmp: i0.ɵɵComponentDeclaration<DrawerComponent<any, any, any>, "aui-drawer", never, { "title": { "alias": "title"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "size": { "alias": "size"; "required": false; }; "offsetY": { "alias": "offsetY"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "content": { "alias": "content"; "required": false; }; "hideOnClickOutside": { "alias": "hideOnClickOutside"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; "drawerClass": { "alias": "drawerClass"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "maskClosable": { "alias": "maskClosable"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; "width": { "alias": "width"; "required": false; }; "contentParams": { "alias": "contentParams"; "required": false; }; "disposeWhenHide": { "alias": "disposeWhenHide"; "required": false; }; }, { "close": "close"; }, ["titleTemplate", "contentTemplateOrComponent", "footerTemplate"], ["*"], true, never>;
2217
+ }
2218
+
2219
+ declare class DrawerHeaderDirective {
2220
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrawerHeaderDirective, never>;
2221
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DrawerHeaderDirective, "[auiDrawerHeader]", never, {}, {}, never, never, true, never>;
2222
+ }
2223
+ declare class DrawerContentDirective {
2224
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrawerContentDirective, never>;
2225
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DrawerContentDirective, "[auiDrawerContent]", never, {}, {}, never, never, true, never>;
2226
+ }
2227
+ declare class DrawerFooterDirective {
2228
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrawerFooterDirective, never>;
2229
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DrawerFooterDirective, "[auiDrawerFooter]", never, {}, {}, never, never, true, never>;
2230
+ }
2231
+
2232
+ declare class DrawerModule {
2233
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrawerModule, never>;
2234
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DrawerModule, never, [typeof i1.CommonModule, typeof IconModule, typeof i2$1.OverlayModule, typeof i3.PortalModule, typeof DrawerComponent, typeof DrawerHeaderDirective, typeof DrawerContentDirective, typeof DrawerFooterDirective], [typeof DrawerComponent, typeof DrawerHeaderDirective, typeof DrawerContentDirective, typeof DrawerFooterDirective]>;
2235
+ static ɵinj: i0.ɵɵInjectorDeclaration<DrawerModule>;
2236
+ }
2237
+ declare const DRAWER_MODULE: readonly [typeof DrawerComponent, typeof DrawerHeaderDirective, typeof DrawerContentDirective, typeof DrawerFooterDirective];
2238
+
2239
+ declare class DropdownDirective extends BaseTooltip {
2240
+ hideOnClick: boolean;
2241
+ visibleChange: EventEmitter<boolean>;
2242
+ animationType: AnimationType;
2243
+ constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, elRef: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, ngZone: NgZone);
2244
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDirective, never>;
2245
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownDirective, "[auiDropdown]", ["auiDropdown"], { "class": { "alias": "auiDropdownClass"; "required": false; }; "disabled": { "alias": "auiDropdownDisabled"; "required": false; }; "position": { "alias": "auiDropdownPosition"; "required": false; }; "trigger": { "alias": "auiDropdownTrigger"; "required": false; }; "context": { "alias": "auiDropdownContext"; "required": false; }; "content": { "alias": "auiDropdown"; "required": false; }; "hideOnClick": { "alias": "auiDropdownHideOnClick"; "required": false; }; }, { "visibleChange": "auiDropdownVisibleChange"; }, never, never, true, never>;
2246
+ }
2247
+
2248
+ declare class DropdownActiveDirective extends TooltipActiveDirective {
2249
+ customClass: string[] | string;
2250
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownActiveDirective, never>;
2251
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownActiveDirective, "[auiDropdownActive]", never, { "customClass": { "alias": "auiDropdownActive"; "required": false; }; }, {}, never, never, true, never>;
2252
+ }
2253
+
2254
+ declare class DropdownButtonComponent implements AfterContentInit {
2255
+ bem: Bem;
2256
+ type: ButtonType;
2257
+ plain: boolean;
2258
+ size: ComponentSize;
2259
+ loading: boolean;
2260
+ disabled: boolean;
2261
+ buttonClick: EventEmitter<Event>;
2262
+ private readonly menuItems;
2263
+ disableTrigger$: Observable<boolean>;
2264
+ ngAfterContentInit(): void;
2265
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonComponent, never>;
2266
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownButtonComponent, "aui-dropdown-button", never, { "type": { "alias": "type"; "required": false; }; "plain": { "alias": "plain"; "required": false; }; "size": { "alias": "size"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "buttonClick": "buttonClick"; }, ["menuItems"], ["*", "aui-menu"], true, never>;
2267
+ static ngAcceptInputType_disabled: unknown;
2268
+ }
2269
+
2270
+ declare class MenuGroupTitleDirective {
2271
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuGroupTitleDirective, never>;
2272
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MenuGroupTitleDirective, "[auiMenuGroupTitle]", ["auiMenuGroupTitle"], {}, {}, never, never, true, never>;
2273
+ }
2274
+
2275
+ declare class MenuComponent {
2276
+ bem: Bem;
2277
+ size: ComponentSize;
2278
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
2279
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "aui-menu", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
2280
+ }
2281
+
2282
+ declare class MenuGroupComponent {
2283
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuGroupComponent, never>;
2284
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuGroupComponent, "aui-menu-group", never, {}, {}, never, ["[auiMenuGroupTitle]", "*"], true, never>;
2285
+ }
2286
+
2287
+ declare const MenuItemType: {
2288
+ readonly Default: "default";
2289
+ readonly Primary: "primary";
2290
+ readonly Success: "success";
2291
+ readonly Warning: "warning";
2292
+ readonly Danger: "danger";
2293
+ };
2294
+ type MenuItemType = ValueOf<typeof MenuItemType>;
2295
+
2296
+ declare class MenuItemComponent {
2297
+ bem: Bem;
2298
+ protected _disabled: boolean;
2299
+ get disabled(): boolean;
2300
+ set disabled(value: boolean);
2301
+ divide: boolean;
2302
+ type: MenuItemType;
2303
+ actived: boolean;
2304
+ get className(): string;
2305
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemComponent, never>;
2306
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, "aui-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "divide": { "alias": "divide"; "required": false; }; "type": { "alias": "type"; "required": false; }; "actived": { "alias": "actived"; "required": false; }; }, {}, never, ["*"], true, never>;
2307
+ }
2308
+
2309
+ declare class SubmenuComponent extends MenuItemComponent {
2310
+ bem: Bem;
2311
+ trigger: TooltipTrigger;
2312
+ size: ComponentSize;
2313
+ get disabled(): boolean;
2314
+ menuItems: QueryList<MenuItemComponent>;
2315
+ get hasEnabledItem(): boolean;
2316
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubmenuComponent, never>;
2317
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubmenuComponent, "aui-submenu", never, { "trigger": { "alias": "trigger"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["menuItems"], ["*", "aui-menu-item"], true, never>;
2318
+ }
2319
+
2320
+ declare class DropdownModule {
2321
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownModule, never>;
2322
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownModule, never, [typeof i1.CommonModule, typeof TooltipModule, typeof IconModule, typeof ButtonModule, typeof DropdownDirective, typeof DropdownActiveDirective, typeof DropdownButtonComponent, typeof MenuComponent, typeof MenuGroupComponent, typeof MenuGroupTitleDirective, typeof MenuItemComponent, typeof SubmenuComponent], [typeof DropdownDirective, typeof DropdownActiveDirective, typeof DropdownButtonComponent, typeof MenuComponent, typeof MenuGroupComponent, typeof MenuGroupTitleDirective, typeof MenuItemComponent, typeof SubmenuComponent]>;
2323
+ static ɵinj: i0.ɵɵInjectorDeclaration<DropdownModule>;
2324
+ }
2325
+ declare const DROPDOWN_MODULE: readonly [typeof DropdownDirective, typeof DropdownActiveDirective, typeof DropdownButtonComponent, typeof MenuComponent, typeof MenuGroupComponent, typeof MenuGroupTitleDirective, typeof MenuItemComponent, typeof SubmenuComponent];
2326
+
2327
+ declare const en: I18NInterface;
2328
+
2329
+ declare const zh: I18NInterface;
2330
+
2331
+ declare class InlineAlertTitleDirective {
2332
+ static ɵfac: i0.ɵɵFactoryDeclaration<InlineAlertTitleDirective, never>;
2333
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InlineAlertTitleDirective, "[auiInlineAlertTitle]", ["auiInlineAlertTitle"], {}, {}, never, never, true, never>;
2334
+ }
2335
+
2336
+ declare const InlineAlertType: {
2337
+ readonly Primary: "primary";
2338
+ readonly Success: "success";
2339
+ readonly Warning: "warning";
2340
+ readonly Danger: "danger";
2341
+ readonly Error: "error";
2342
+ readonly Info: "info";
2343
+ };
2344
+ type InlineAlertType = ValueOf<typeof InlineAlertType>;
2345
+
2346
+ declare class InlineAlertComponent {
2347
+ bem: Bem;
2348
+ title: string;
2349
+ content: string;
2350
+ closable: boolean;
2351
+ type: InlineAlertType;
2352
+ close: EventEmitter<void>;
2353
+ titleRef: InlineAlertTitleDirective;
2354
+ visible: boolean;
2355
+ iconMap(type: InlineAlertType): "check_circle_s" | "exclamation_triangle_s" | "exclamation_circle_s" | "info_circle_s";
2356
+ closeSelf(): void;
2357
+ static ɵfac: i0.ɵɵFactoryDeclaration<InlineAlertComponent, never>;
2358
+ static ɵcmp: i0.ɵɵComponentDeclaration<InlineAlertComponent, "aui-inline-alert", never, { "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "close": "close"; }, ["titleRef"], ["[auiInlineAlertTitle]", "*"], true, never>;
2359
+ }
2360
+
2361
+ declare class InlineAlertModule {
2362
+ static ɵfac: i0.ɵɵFactoryDeclaration<InlineAlertModule, never>;
2363
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InlineAlertModule, never, [typeof i1.CommonModule, typeof IconModule, typeof InlineAlertComponent, typeof InlineAlertTitleDirective], [typeof InlineAlertComponent, typeof InlineAlertTitleDirective]>;
2364
+ static ɵinj: i0.ɵɵInjectorDeclaration<InlineAlertModule>;
2365
+ }
2366
+ declare const INLINE_ALERT_MODULE: readonly [typeof InlineAlertComponent, typeof InlineAlertTitleDirective];
2367
+
2368
+ declare enum MessageType {
2369
+ Error = "error",
2370
+ Success = "success",
2371
+ Warning = "warning",
2372
+ Info = "info"
2373
+ }
2374
+ /**
2375
+ * messageOptions: contains Basic configuration
2376
+ * Just for some containers like Message-Container
2377
+ * Detailed document: http://confluence.alaudatech.com/pages/viewpage.action?pageId=23383163
2378
+ */
2379
+ declare class MessageConfig {
2380
+ /**
2381
+ * the message type
2382
+ */
2383
+ type?: MessageType;
2384
+ /**
2385
+ * The id of this message, The same ID can only have one at the same time
2386
+ */
2387
+ id?: number | string;
2388
+ /**
2389
+ * automatically shut down after a few seconds, if <= 0 ,non automatic closure
2390
+ */
2391
+ duration?: number;
2392
+ /**
2393
+ * message content
2394
+ */
2395
+ content?: string;
2396
+ }
2397
+ interface MessageGlobalConfig {
2398
+ /**
2399
+ * max instance in one time
2400
+ */
2401
+ maxStack: number;
2402
+ duration: number | {
2403
+ [key in MessageType]: number;
2404
+ };
2405
+ }
2406
+ declare const MESSAGE_CONFIG: InjectionToken<MessageGlobalConfig>;
2407
+ declare const MESSAGE_DEFAULT_CONFIG: {
2408
+ duration: number;
2409
+ maxStack: number;
2410
+ };
2411
+
2412
+ declare class MessageWrapperComponent {
2413
+ elementRef: ElementRef;
2414
+ constructor(elementRef: ElementRef);
2415
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageWrapperComponent, never>;
2416
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageWrapperComponent, "aui-message-wrapper", never, {}, {}, never, never, true, never>;
2417
+ }
2418
+
2419
+ declare class MessageComponent implements AfterViewInit {
2420
+ protected viewContainerRef: ViewContainerRef;
2421
+ protected cdr: ChangeDetectorRef;
2422
+ protected readonly animateStartState: string;
2423
+ protected readonly animateStartEnd: string;
2424
+ bem: Bem;
2425
+ animateState: string;
2426
+ uniqueId: string;
2427
+ beforeClosed: Subject<void>;
2428
+ afterClosed: Subject<void>;
2429
+ id: number | string;
2430
+ type: MessageType;
2431
+ content: string;
2432
+ duration: number;
2433
+ get icon(): string;
2434
+ protected timerId: number;
2435
+ constructor(viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
2436
+ ngAfterViewInit(): void;
2437
+ setConfig(config: MessageConfig): void;
2438
+ close(): void;
2439
+ onAnimationEnd(event: AnimationEvent): void;
2440
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
2441
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "aui-message", never, {}, {}, never, never, true, never>;
2442
+ }
2443
+
2444
+ declare class MessageModule {
2445
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageModule, never>;
2446
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MessageModule, never, [typeof i1.CommonModule, typeof i2$1.OverlayModule, typeof IconModule, typeof MessageWrapperComponent, typeof MessageComponent], never>;
2447
+ static ɵinj: i0.ɵɵInjectorDeclaration<MessageModule>;
2448
+ }
2449
+
2450
+ declare abstract class BaseMessage<Wrapper extends MessageWrapperComponent, Component extends MessageComponent, Config extends MessageConfig> {
2451
+ protected overlay: Overlay;
2452
+ protected injector: Injector;
2453
+ protected applicationRef: ApplicationRef;
2454
+ protected overlayPaneClassName: string;
2455
+ protected wrapperClass: ComponentType<Wrapper>;
2456
+ protected componentClass: ComponentType<Component>;
2457
+ protected globalConfig: MessageGlobalConfig;
2458
+ wrapperInstance: {
2459
+ elementRef: ElementRef<HTMLElement>;
2460
+ };
2461
+ componentRefs: Array<ComponentRef<Component>>;
2462
+ constructor(overlay: Overlay, injector: Injector, applicationRef: ApplicationRef, overlayPaneClassName: string, wrapperClass: ComponentType<Wrapper>, componentClass: ComponentType<Component>, globalConfig: MessageGlobalConfig);
2463
+ create(config: Config): ComponentRef<Component>;
2464
+ create(config: MessageType, content: string): ComponentRef<Component>;
2465
+ createType(type: MessageType, option: Config | string): ComponentRef<Component>;
2466
+ success(option: Config | string): ComponentRef<Component>;
2467
+ warning(option: Config | string): ComponentRef<Component>;
2468
+ error(option: Config | string): ComponentRef<Component>;
2469
+ info(option: Config | string): ComponentRef<Component>;
2470
+ remove(id: number | string): void;
2471
+ removeAll(): void;
2472
+ protected initWrapperContainer(): void;
2473
+ protected initComponentRef(config: Config): ComponentRef<Component>;
2474
+ protected removeNeedless(id: number | string): void;
2475
+ }
2476
+
2477
+ declare class MessageService extends BaseMessage<MessageWrapperComponent, MessageComponent, MessageConfig> {
2478
+ constructor(overlay: Overlay, injector: Injector, applicationRef: ApplicationRef, globalConfig: MessageGlobalConfig);
2479
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, [null, null, null, { optional: true; }]>;
2480
+ static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
2481
+ }
2482
+
2483
+ interface NotificationConfig extends MessageConfig {
2484
+ title?: string;
2485
+ contentRef?: ComponentType<void> | TemplateRef<any>;
2486
+ footerRef?: TemplateRef<any>;
2487
+ context?: unknown;
2488
+ customClass?: string;
2489
+ }
2490
+ type NotificationGlobalConfig = MessageGlobalConfig;
2491
+ declare const NOTIFICATION_CONFIG: InjectionToken<MessageGlobalConfig>;
2492
+ declare const NOTIFICATION_DEFAULT_CONFIG: {
2493
+ duration: number;
2494
+ maxStack: number;
2495
+ };
2496
+
2497
+ declare class NotificationComponent extends MessageComponent implements AfterViewInit {
2498
+ protected readonly animateStartState = "flyLeft";
2499
+ protected readonly animateStartEnd = "flyUp";
2500
+ bem: Bem;
2501
+ animateState: string;
2502
+ uniqueId: string;
2503
+ isHover: boolean;
2504
+ title: string;
2505
+ remains: number;
2506
+ childComponentInstance: unknown;
2507
+ customClass: string;
2508
+ footerPortal: TemplatePortal<unknown>;
2509
+ private pendingTemplatePortal;
2510
+ private readonly portalOutlet;
2511
+ private readonly modalEl;
2512
+ onMouseEnter(): void;
2513
+ onMouseLeave(): void;
2514
+ ngAfterViewInit(): void;
2515
+ setConfig(config: NotificationConfig): void;
2516
+ /**
2517
+ * Attach a TemplatePortal as content to this modal container.
2518
+ * @param portal Portal to be attached as the modal content.
2519
+ */
2520
+ private attachTemplatePortal;
2521
+ private attachComponentRef;
2522
+ private countDown;
2523
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
2524
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "aui-notification", never, {}, {}, never, never, true, never>;
2525
+ }
2526
+
2527
+ declare class NotificationWrapperComponent extends MessageWrapperComponent {
2528
+ elementRef: ElementRef;
2529
+ constructor(elementRef: ElementRef);
2530
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationWrapperComponent, never>;
2531
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationWrapperComponent, "aui-notification-wrapper", never, {}, {}, never, never, true, never>;
2532
+ }
2533
+
2534
+ declare class NotificationModule {
2535
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationModule, never>;
2536
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationModule, never, [typeof i1.CommonModule, typeof i2$1.OverlayModule, typeof i3.PortalModule, typeof IconModule, typeof NotificationWrapperComponent, typeof NotificationComponent], never>;
2537
+ static ɵinj: i0.ɵɵInjectorDeclaration<NotificationModule>;
2538
+ }
2539
+
2540
+ declare class NotificationService extends BaseMessage<NotificationWrapperComponent, NotificationComponent, NotificationConfig> {
2541
+ constructor(overlay: Overlay, injector: Injector, applicationRef: ApplicationRef, globalConfig: NotificationGlobalConfig);
2542
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, [null, null, null, { optional: true; }]>;
2543
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
2544
+ }
2545
+
2546
+ /**
2547
+ * To modify the labels and text displayed, create a new instance of MatPaginatorIntl and
2548
+ * include it in a custom provider
2549
+ */
2550
+ declare class PaginatorIntl {
2551
+ /**
2552
+ * Stream that emits whenever the labels here are changed. Use this to notify
2553
+ * components if the labels have changed after initialization.
2554
+ */
2555
+ readonly changes: Subject<void>;
2556
+ /** A label for the page size selector. */
2557
+ itemsPerPageLabel: string;
2558
+ jumperLabelPrefix: string;
2559
+ jumperLabelSuffix: string;
2560
+ getTotalLabel: (length: number) => string;
2561
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorIntl, never>;
2562
+ static ɵprov: i0.ɵɵInjectableDeclaration<PaginatorIntl>;
2563
+ }
2564
+
2565
+ declare class PaginatorComponent implements OnDestroy {
2566
+ intl: PaginatorIntl;
2567
+ private readonly cdr;
2568
+ bem: Bem;
2569
+ get pageIndex(): number;
2570
+ set pageIndex(val: number);
2571
+ get currentPage(): number;
2572
+ set currentPage(val: number);
2573
+ get pageSize(): number;
2574
+ set pageSize(val: number);
2575
+ pageSizeOptions: number[];
2576
+ total: number;
2577
+ layout: string[] | string;
2578
+ disabled: boolean;
2579
+ readonly pageIndexChange: EventEmitter<number>;
2580
+ readonly currentPageChange: EventEmitter<number>;
2581
+ readonly pageSizeChange: EventEmitter<number>;
2582
+ private _currentPage;
2583
+ private _pageSize;
2584
+ private readonly intlChangeSub;
2585
+ get pageCount(): number;
2586
+ constructor(intl: PaginatorIntl, cdr: ChangeDetectorRef);
2587
+ ngOnDestroy(): void;
2588
+ getLayoutArr(): string[];
2589
+ getCenterPages(): number[];
2590
+ jumpTo(page: number): void;
2591
+ navigate(step: number): void;
2592
+ changePageSize(size: number): void;
2593
+ onKeydown(event: KeyboardEvent): void;
2594
+ trackByIndex(index: number): number;
2595
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
2596
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "aui-paginator", never, { "pageIndex": { "alias": "pageIndex"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "total": { "alias": "total"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "pageIndexChange": "pageIndexChange"; "currentPageChange": "currentPageChange"; "pageSizeChange": "pageSizeChange"; }, never, ["*"], true, never>;
2597
+ }
2598
+
2599
+ declare class PaginatorModule {
2600
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorModule, never>;
2601
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PaginatorModule, never, [typeof i1.CommonModule, typeof ButtonModule, typeof IconModule, typeof SelectModule, typeof InputModule, typeof PaginatorComponent], [typeof PaginatorComponent]>;
2602
+ static ɵinj: i0.ɵɵInjectorDeclaration<PaginatorModule>;
2603
+ }
2604
+
2605
+ declare const RadioSize: {
2606
+ readonly Medium: "medium";
2607
+ readonly Small: "small";
2608
+ readonly Mini: "mini";
2609
+ };
2610
+ type RadioSize = ValueOf<typeof RadioSize>;
2611
+
2612
+ declare class RadioGroupComponent extends CommonFormControl<any> {
2613
+ private readonly size$$;
2614
+ private readonly isPlain$$;
2615
+ private readonly name$$;
2616
+ set size(val: RadioSize);
2617
+ direction: 'column' | 'row';
2618
+ set plain(val: boolean);
2619
+ set name(val: string);
2620
+ size$: Observable<RadioSize>;
2621
+ isPlain$: Observable<boolean>;
2622
+ name$: Observable<string>;
2623
+ onRadioChange(value: any): void;
2624
+ onRadioBlur(): void;
2625
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
2626
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "aui-radio-group", never, { "size": { "alias": "size"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "plain": { "alias": "plain"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], true, never>;
2627
+ }
2628
+
2629
+ declare class BaseRadio implements OnInit, AfterViewInit, OnDestroy {
2630
+ protected radioGroup: RadioGroupComponent;
2631
+ protected focusMonitor: FocusMonitor;
2632
+ protected cdr: ChangeDetectorRef;
2633
+ id: string;
2634
+ disabled: boolean | '';
2635
+ get value(): unknown;
2636
+ set value(val: unknown);
2637
+ elRef: ElementRef;
2638
+ checked: boolean;
2639
+ name: string;
2640
+ protected _value: unknown;
2641
+ protected readonly value$$: BehaviorSubject<unknown>;
2642
+ protected destroy$$: Subject<void>;
2643
+ constructor(radioGroup: RadioGroupComponent, focusMonitor: FocusMonitor, cdr: ChangeDetectorRef);
2644
+ ngOnInit(): void;
2645
+ ngAfterViewInit(): void;
2646
+ ngOnDestroy(): void;
2647
+ onClick(): void;
2648
+ onBlur(): void;
2649
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseRadio, never>;
2650
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseRadio, never, never, { "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
2651
+ }
2652
+
2653
+ declare class RadioComponent extends BaseRadio {
2654
+ bem: Bem;
2655
+ get rootClass(): string;
2656
+ constructor(radioGroup: RadioGroupComponent, focusMonitor: FocusMonitor, cdr: ChangeDetectorRef);
2657
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
2658
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "aui-radio", never, {}, {}, never, ["*"], true, never>;
2659
+ }
2660
+
2661
+ declare class RadioButtonComponent extends BaseRadio implements OnInit {
2662
+ bem: Bem;
2663
+ size: RadioSize;
2664
+ isPlain: boolean;
2665
+ get rootClass(): string;
2666
+ constructor(radioGroup: RadioGroupComponent, focusMonitor: FocusMonitor, cdr: ChangeDetectorRef);
2667
+ ngOnInit(): void;
2668
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
2669
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "aui-radio-button", never, {}, {}, never, ["*"], true, never>;
2670
+ }
2671
+
2672
+ declare class RadioModule {
2673
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioModule, never>;
2674
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RadioModule, never, [typeof i1.CommonModule, typeof IconModule, typeof RadioComponent, typeof RadioGroupComponent, typeof RadioButtonComponent], [typeof RadioComponent, typeof RadioGroupComponent, typeof RadioButtonComponent]>;
2675
+ static ɵinj: i0.ɵɵInjectorDeclaration<RadioModule>;
2676
+ }
2677
+ declare const RADIO_MODULE: readonly [typeof RadioComponent, typeof RadioGroupComponent, typeof RadioButtonComponent];
2678
+
2679
+ declare class TablePlaceholderDefDirective {
2680
+ templateRef: TemplateRef<any>;
2681
+ constructor(templateRef: TemplateRef<any>);
2682
+ static ɵfac: i0.ɵɵFactoryDeclaration<TablePlaceholderDefDirective, never>;
2683
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderDefDirective, "ng-template[auiTablePlaceholderDef]", never, {}, {}, never, never, true, never>;
2684
+ }
2685
+ declare class TablePlaceholderOutletDirective implements RowOutlet {
2686
+ viewContainer: ViewContainerRef;
2687
+ elementRef: ElementRef;
2688
+ constructor(viewContainer: ViewContainerRef, elementRef: ElementRef);
2689
+ static ɵfac: i0.ɵɵFactoryDeclaration<TablePlaceholderOutletDirective, never>;
2690
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderOutletDirective, "[auiTablePlaceholderOutlet]", never, {}, {}, never, never, true, never>;
2691
+ }
2692
+
2693
+ declare class TableComponent<T> extends CdkTable<T> implements AfterContentInit, OnDestroy {
2694
+ enableScrollWrapper: boolean;
2695
+ _placeholderOutlet: TablePlaceholderOutletDirective;
2696
+ _placeholderDef: TablePlaceholderDefDirective;
2697
+ className: string;
2698
+ elementRef: ElementRef<any>;
2699
+ protected get stickyCssClass(): string;
2700
+ protected set stickyCssClass(_: string);
2701
+ ngAfterContentInit(): void;
2702
+ private _createPlaceholder;
2703
+ private _clearPlaceholder;
2704
+ ngOnDestroy(): void;
2705
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
2706
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aui-table", ["auiTable"], { "enableScrollWrapper": { "alias": "enableScrollWrapper"; "required": false; }; }, {}, ["_placeholderDef"], ["caption", "colgroup, col", "*"], true, never>;
2707
+ }
2708
+
2709
+ /**
2710
+ * Cell definition for the aui-table.
2711
+ * Captures the template of a column's data row cell as well as cell-specific properties.
2712
+ */
2713
+ declare class TableCellDefDirective extends CdkCellDef {
2714
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDefDirective, never>;
2715
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDefDirective, "[auiTableCellDef]", never, {}, {}, never, never, true, never>;
2716
+ }
2717
+
2718
+ declare class TableExpandButtonCellComponent extends CdkCell {
2719
+ expand: boolean;
2720
+ disabled: boolean;
2721
+ expandChange: EventEmitter<any>;
2722
+ get expanded(): string;
2723
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableExpandButtonCellComponent, never>;
2724
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableExpandButtonCellComponent, "aui-table-cell[auiExpandButton]", never, { "expand": { "alias": "expand"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "expandChange": "expandChange"; }, never, never, true, never>;
2725
+ }
2726
+ declare class TableExpandPanelCellComponent extends CdkCell {
2727
+ expand: boolean;
2728
+ background: boolean;
2729
+ get expanded(): string;
2730
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableExpandPanelCellComponent, never>;
2731
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableExpandPanelCellComponent, "aui-table-cell[auiExpandPanel]", never, { "expand": { "alias": "expand"; "required": false; }; "background": { "alias": "background"; "required": false; }; }, {}, never, ["*"], true, never>;
2732
+ }
2733
+
2734
+ /** Cell template container that adds the right classes and role. */
2735
+ declare class TableCellDirective extends CdkCell {
2736
+ direction: 'column' | 'row';
2737
+ constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
2738
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDirective, never>;
2739
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDirective, "aui-table-cell", never, { "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, true, never>;
2740
+ }
2741
+
2742
+ /**
2743
+ * Column definition for the aui-table.
2744
+ * Defines a set of cells available for a table column.
2745
+ */
2746
+ declare class TableColumnDefDirective extends CdkColumnDef {
2747
+ set auiTableColumnDef(value: string);
2748
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnDefDirective, never>;
2749
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnDefDirective, "[auiTableColumnDef]", never, { "sticky": { "alias": "sticky"; "required": false; }; "auiTableColumnDef": { "alias": "auiTableColumnDef"; "required": false; }; }, {}, never, never, true, never>;
2750
+ }
2751
+
2752
+ declare class TableColumnResizableDirective implements OnInit, AfterViewInit, OnDestroy {
2753
+ minWidth: string;
2754
+ maxWidth: string;
2755
+ private readonly renderer2;
2756
+ private readonly tableColumnDefDirective;
2757
+ private readonly tableComponent;
2758
+ private readonly columnElement;
2759
+ private readonly containerElement;
2760
+ private readonly hostAttr;
2761
+ private readonly stylesRenderer;
2762
+ private resizeSubscription;
2763
+ ngOnInit(): void;
2764
+ ngAfterViewInit(): void;
2765
+ ngOnDestroy(): void;
2766
+ private bindResizable;
2767
+ private createResizeHandle;
2768
+ private createResizeMarkLine;
2769
+ private createResizeOverlay;
2770
+ private getColumnWidth;
2771
+ private getColumnOffset;
2772
+ private getWidthInRange;
2773
+ private getResizeRange;
2774
+ private getActualWidth;
2775
+ private isStickyLeftBorderColumn;
2776
+ private renderWidthStyles;
2777
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnResizableDirective, never>;
2778
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnResizableDirective, "[auiTableColumnResizable]", never, { "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, {}, never, never, true, never>;
2779
+ }
2780
+
2781
+ /**
2782
+ * Header cell definition for the aui-table.
2783
+ * Captures the template of a column's header cell and as well as cell-specific properties.
2784
+ */
2785
+ declare class TableHeaderCellDefDirective extends CdkHeaderCellDef {
2786
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellDefDirective, never>;
2787
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDefDirective, "[auiTableHeaderCellDef]", never, {}, {}, never, never, true, never>;
2788
+ }
2789
+
2790
+ /** Header cell template container that adds the right classes and role. */
2791
+ declare class TableHeaderCellDirective extends CdkHeaderCell {
2792
+ constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
2793
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellDirective, never>;
2794
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDirective, "aui-table-header-cell", never, {}, {}, never, never, true, never>;
2795
+ }
2796
+
2797
+ /**
2798
+ * Header row definition for the aui-table.
2799
+ * Captures the header row's template and other header properties such as the columns to display.
2800
+ */
2801
+ declare class TableHeaderRowDefDirective extends CdkHeaderRowDef {
2802
+ columns: Iterable<string>;
2803
+ set auiTableHeaderRowDefSticky(val: boolean);
2804
+ get auiTableHeaderRowDefSticky(): boolean;
2805
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderRowDefDirective, never>;
2806
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderRowDefDirective, "[auiTableHeaderRowDef]", never, { "columns": { "alias": "auiTableHeaderRowDef"; "required": false; }; "auiTableHeaderRowDefSticky": { "alias": "auiTableHeaderRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
2807
+ }
2808
+
2809
+ /** Header template container that contains the cell outlet. Adds the right class and role. */
2810
+ declare class TableHeaderRowComponent extends CdkHeaderRow {
2811
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderRowComponent, never>;
2812
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderRowComponent, "aui-table-header-row", ["auiTableHeaderRow"], {}, {}, never, never, true, never>;
2813
+ }
2814
+
2815
+ /**
2816
+ * Data row definition for the aui-table.
2817
+ * Captures the header row's template and other row properties such as the columns to display and
2818
+ * a when predicate that describes when this row should be used.
2819
+ */
2820
+ declare class TableRowDefDirective<T> extends CdkRowDef<T> {
2821
+ columns: Iterable<string>;
2822
+ set auiTableRowDefWhen(v: (index: number, rowData: T) => boolean);
2823
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDefDirective<any>, never>;
2824
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDefDirective<any>, "[auiTableRowDef]", never, { "columns": { "alias": "auiTableRowDefColumns"; "required": false; }; "auiTableRowDefWhen": { "alias": "auiTableRowDefWhen"; "required": false; }; }, {}, never, never, true, never>;
2825
+ }
2826
+
2827
+ /** Data row template container that contains the cell outlet. Adds the right class and role. */
2828
+ declare class TableRowComponent extends CdkRow implements AfterContentInit {
2829
+ private readonly elRef;
2830
+ disabled: boolean;
2831
+ hasPanel: boolean;
2832
+ constructor(elRef: ElementRef<HTMLElement>);
2833
+ ngAfterContentInit(): void;
2834
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableRowComponent, never>;
2835
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "aui-table-row", ["auiTableRow"], { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
2836
+ }
2837
+
2838
+ declare class TableScrollWrapperDirective {
2839
+ auiTableScrollWrapper: string;
2840
+ elementRef: ElementRef<any>;
2841
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollWrapperDirective, never>;
2842
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollWrapperDirective, "[auiTableScrollWrapper]", never, { "auiTableScrollWrapper": { "alias": "auiTableScrollWrapper"; "required": false; }; }, {}, never, never, true, never>;
2843
+ }
2844
+ declare class TableScrollableDirective extends CdkScrollable implements AfterViewInit, OnInit, OnDestroy {
2845
+ private readonly el;
2846
+ private readonly table;
2847
+ set scrollable(scrollable: boolean | '');
2848
+ get scrollable(): boolean | "";
2849
+ private _scrollable;
2850
+ scrollable$$: BehaviorSubject<boolean>;
2851
+ destroy$$: Subject<void>;
2852
+ constructor(el: ElementRef<HTMLElement>, scrollDispatcher: ScrollDispatcher$1, ngZone: NgZone, table: TableComponent<unknown>, dir?: Directionality);
2853
+ className: string;
2854
+ get containerEl(): HTMLElement;
2855
+ ngOnInit(): void;
2856
+ ngAfterViewInit(): void;
2857
+ ngOnDestroy(): void;
2858
+ viewMutation(): void;
2859
+ mutateVerticalScroll(): void;
2860
+ mutateHorizontalScroll(): void;
2861
+ placeClassList(classList: DOMTokenList, condition: boolean, className: string): void;
2862
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollableDirective, [null, null, null, { host: true; }, { optional: true; }]>;
2863
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollableDirective, "[auiTableScrollable]", never, { "scrollable": { "alias": "auiTableScrollable"; "required": false; }; }, {}, never, never, true, never>;
2864
+ }
2865
+
2866
+ declare const TABLE_MODULE: readonly [typeof TableComponent, typeof TableRowComponent, typeof TableHeaderRowComponent, typeof TableExpandButtonCellComponent, typeof TableExpandPanelCellComponent, typeof TableCellDirective, typeof TableCellDefDirective, typeof TableHeaderCellDirective, typeof TableRowDefDirective, typeof TableHeaderRowDefDirective, typeof TableHeaderCellDefDirective, typeof TableColumnDefDirective, typeof TableColumnResizableDirective, typeof TablePlaceholderOutletDirective, typeof TablePlaceholderDefDirective, typeof TableScrollWrapperDirective, typeof TableScrollableDirective];
2867
+ declare class TableModule {
2868
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
2869
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, never, [typeof TableComponent, typeof TableRowComponent, typeof TableHeaderRowComponent, typeof TableExpandButtonCellComponent, typeof TableExpandPanelCellComponent, typeof TableCellDirective, typeof TableCellDefDirective, typeof TableHeaderCellDirective, typeof TableRowDefDirective, typeof TableHeaderRowDefDirective, typeof TableHeaderCellDefDirective, typeof TableColumnDefDirective, typeof TableColumnResizableDirective, typeof TablePlaceholderOutletDirective, typeof TablePlaceholderDefDirective, typeof TableScrollWrapperDirective, typeof TableScrollableDirective], [typeof TableComponent, typeof TableRowComponent, typeof TableHeaderRowComponent, typeof TableExpandButtonCellComponent, typeof TableExpandPanelCellComponent, typeof TableCellDirective, typeof TableCellDefDirective, typeof TableHeaderCellDirective, typeof TableRowDefDirective, typeof TableHeaderRowDefDirective, typeof TableHeaderCellDefDirective, typeof TableColumnDefDirective, typeof TableColumnResizableDirective, typeof TablePlaceholderOutletDirective, typeof TablePlaceholderDefDirective, typeof TableScrollWrapperDirective, typeof TableScrollableDirective]>;
2870
+ static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
2871
+ }
2872
+
2873
+ declare class FixedSizeTableVirtualScrollStrategy implements VirtualScrollStrategy {
2874
+ private _rowHeight;
2875
+ private _headerHeight;
2876
+ private _bufferSize;
2877
+ private readonly _indexChange;
2878
+ viewport: CdkVirtualScrollViewport;
2879
+ scrolledIndexChange: rxjs.Observable<number>;
2880
+ stickyChange: Subject<number>;
2881
+ renderedRangeStream: BehaviorSubject<ListRange>;
2882
+ get dataLength(): number;
2883
+ set dataLength(value: number);
2884
+ private _dataLength;
2885
+ attach(viewport: CdkVirtualScrollViewport): void;
2886
+ detach(): void;
2887
+ onContentScrolled(): void;
2888
+ onDataLengthChanged(): void;
2889
+ onContentRendered(): void;
2890
+ onRenderedOffsetChanged(): void;
2891
+ scrollToIndex(index: number, behavior: ScrollBehavior): void;
2892
+ setConfig(rowHeight: number, headerHeight: number, bufferSize: number): void;
2893
+ private _updateContent;
2894
+ static ɵfac: i0.ɵɵFactoryDeclaration<FixedSizeTableVirtualScrollStrategy, never>;
2895
+ static ɵprov: i0.ɵɵInjectableDeclaration<FixedSizeTableVirtualScrollStrategy>;
2896
+ }
2897
+
2898
+ declare function _tableVirtualScrollDirectiveStrategyFactory(tableDir: FixedSizeTableVirtualScrollDirective): FixedSizeTableVirtualScrollStrategy;
2899
+ declare class FixedSizeTableVirtualScrollDirective<T = unknown> implements AfterContentInit, OnChanges, OnDestroy {
2900
+ private readonly onDestroy$;
2901
+ private readonly _dataSource$$;
2902
+ rowHeight: number;
2903
+ headerHeight: number;
2904
+ buffer: number;
2905
+ set dataSource(dataSource: T[]);
2906
+ table: TableComponent<any>;
2907
+ scrollStrategy: FixedSizeTableVirtualScrollStrategy;
2908
+ private stickyPositions;
2909
+ ngAfterContentInit(): void;
2910
+ ngOnChanges({ rowHeight, headerHeight, buffer }: SimpleChanges): void;
2911
+ ngOnDestroy(): void;
2912
+ private isStickyEnabled;
2913
+ private initStickyPositions;
2914
+ private setSticky;
2915
+ static ɵfac: i0.ɵɵFactoryDeclaration<FixedSizeTableVirtualScrollDirective<any>, never>;
2916
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FixedSizeTableVirtualScrollDirective<any>, "aui-virtual-scroll-viewport[fixedSize]", ["viewPort"], { "rowHeight": { "alias": "rowHeight"; "required": false; }; "headerHeight": { "alias": "headerHeight"; "required": false; }; "buffer": { "alias": "buffer"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, {}, ["table"], never, true, never>;
2917
+ }
2918
+
2919
+ declare class FixedSizeVirtualScrollDirective extends CdkFixedSizeVirtualScroll {
2920
+ static ɵfac: i0.ɵɵFactoryDeclaration<FixedSizeVirtualScrollDirective, never>;
2921
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FixedSizeVirtualScrollDirective, "aui-virtual-scroll-viewport[itemSize]", never, {}, {}, never, never, true, never>;
2922
+ }
2923
+
2924
+ declare class VirtualScrollViewportComponent extends CdkVirtualScrollViewport {
2925
+ static ɵfac: i0.ɵɵFactoryDeclaration<VirtualScrollViewportComponent, never>;
2926
+ static ɵcmp: i0.ɵɵComponentDeclaration<VirtualScrollViewportComponent, "aui-virtual-scroll-viewport", never, {}, {}, never, ["*"], true, never>;
2927
+ }
2928
+
2929
+ declare class VirtualForOfDirective<T> extends CdkVirtualForOf<T> {
2930
+ set auiVirtualForOf(value: DataSource<T> | NgIterable<T> | Observable<T[]> | null | undefined);
2931
+ set auiVirtualForTrackBy(fn: TrackByFunction<T> | undefined);
2932
+ set auiVirtualForTemplate(value: TemplateRef<CdkVirtualForOfContext<T>>);
2933
+ set auiVirtualForTemplateCacheSize(size: number);
2934
+ static ɵfac: i0.ɵɵFactoryDeclaration<VirtualForOfDirective<any>, never>;
2935
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VirtualForOfDirective<any>, "[auiVirtualFor][auiVirtualForOf]", never, { "auiVirtualForOf": { "alias": "auiVirtualForOf"; "required": false; }; "auiVirtualForTrackBy": { "alias": "auiVirtualForTrackBy"; "required": false; }; "auiVirtualForTemplate": { "alias": "auiVirtualForTemplate"; "required": false; }; "auiVirtualForTemplateCacheSize": { "alias": "auiVirtualForTemplateCacheSize"; "required": false; }; }, {}, never, never, true, never>;
2936
+ }
2937
+
2938
+ declare class ScrollingModule {
2939
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollingModule, never>;
2940
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScrollingModule, never, [typeof VirtualScrollViewportComponent, typeof FixedSizeTableVirtualScrollDirective, typeof FixedSizeVirtualScrollDirective, typeof VirtualForOfDirective], [typeof VirtualScrollViewportComponent, typeof FixedSizeTableVirtualScrollDirective, typeof FixedSizeVirtualScrollDirective, typeof VirtualForOfDirective]>;
2941
+ static ɵinj: i0.ɵɵInjectorDeclaration<ScrollingModule>;
2942
+ }
2943
+
2944
+ type SortDirection = '' | 'asc' | 'desc';
2945
+ type ArrowViewState = SortDirection | 'active' | 'hint';
2946
+ interface Sortable {
2947
+ id: string;
2948
+ start: 'asc' | 'desc';
2949
+ }
2950
+ interface Sort {
2951
+ active: string;
2952
+ direction: SortDirection;
2953
+ }
2954
+
2955
+ declare class SortDirective implements OnChanges, OnDestroy {
2956
+ sortables: Map<string, Sortable>;
2957
+ readonly _stateChanges: Subject<void>;
2958
+ active: string;
2959
+ start: 'asc' | 'desc';
2960
+ get direction(): SortDirection;
2961
+ set direction(direction: SortDirection);
2962
+ private _direction;
2963
+ readonly sortChange: EventEmitter<Sort>;
2964
+ register(sortable: Sortable): void;
2965
+ deregister(sortable: Sortable): void;
2966
+ sort(sortable: Sortable): void;
2967
+ ngOnChanges(): void;
2968
+ ngOnDestroy(): void;
2969
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortDirective, never>;
2970
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SortDirective, "[auiSort]", ["auiSort"], { "active": { "alias": "active"; "required": false; }; "start": { "alias": "start"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, { "sortChange": "sortChange"; }, never, never, true, never>;
2971
+ }
2972
+
2973
+ declare class SortHeaderComponent implements Sortable, OnInit, OnDestroy {
2974
+ _sort: SortDirective;
2975
+ _cdkColumnRef: CdkColumnDef;
2976
+ private readonly _rerenderSubscription;
2977
+ _viewState: ArrowViewState;
2978
+ arrowDirection: SortDirection;
2979
+ id: string;
2980
+ start: 'asc' | 'desc';
2981
+ bem: Bem;
2982
+ constructor(cdr: ChangeDetectorRef, _sort: SortDirective, _cdkColumnRef: CdkColumnDef);
2983
+ ngOnInit(): void;
2984
+ ngOnDestroy(): void;
2985
+ _handleClick(): void;
2986
+ _isSorted(): boolean;
2987
+ _updateArrowDirection(): void;
2988
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortHeaderComponent, [null, { optional: true; }, { optional: true; }]>;
2989
+ static ɵcmp: i0.ɵɵComponentDeclaration<SortHeaderComponent, "[aui-sort-header]", never, { "id": { "alias": "aui-sort-header"; "required": false; }; "start": { "alias": "start"; "required": false; }; }, {}, never, ["*"], true, never>;
2990
+ }
2991
+
2992
+ declare class SortModule {
2993
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortModule, never>;
2994
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SortModule, never, [typeof i1.CommonModule, typeof SortDirective, typeof SortHeaderComponent], [typeof SortDirective, typeof SortHeaderComponent]>;
2995
+ static ɵinj: i0.ɵɵInjectorDeclaration<SortModule>;
2996
+ }
2997
+ declare const SORT_MODULE: readonly [typeof SortDirective, typeof SortHeaderComponent];
2998
+
2999
+ /** @docs-private */
3000
+ declare function getSortDuplicateSortableIdError(id: string): Error;
3001
+ /** @docs-private */
3002
+ declare function getSortHeaderNotContainedWithinSortError(): Error;
3003
+ /** @docs-private */
3004
+ declare function getSortHeaderMissingIdError(): Error;
3005
+ /** @docs-private */
3006
+ declare function getSortInvalidDirectionError(direction: string): Error;
3007
+
3008
+ interface Status {
3009
+ type?: StatusType;
3010
+ class?: string;
3011
+ scale: number;
3012
+ [key: string]: unknown;
3013
+ }
3014
+ declare const StatusType: {
3015
+ readonly Primary: "primary";
3016
+ readonly Success: "success";
3017
+ readonly Warning: "warning";
3018
+ readonly Error: "error";
3019
+ readonly Info: "info";
3020
+ readonly Pending: "pending";
3021
+ };
3022
+ type StatusType = ValueOf<typeof StatusType>;
3023
+ declare const StatusBarSize: {
3024
+ readonly Medium: "medium";
3025
+ readonly Small: "small";
3026
+ };
3027
+ type StatusBarSize = ValueOf<typeof StatusBarSize>;
3028
+
3029
+ declare class StatusBarComponent {
3030
+ bem: Bem;
3031
+ status: Status[];
3032
+ size: StatusBarSize;
3033
+ template: TemplateRef<any>;
3034
+ statusClick: EventEmitter<Status>;
3035
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarComponent, never>;
3036
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "aui-status-bar", never, { "status": { "alias": "status"; "required": false; }; "size": { "alias": "size"; "required": false; }; "template": { "alias": "template"; "required": false; }; }, { "statusClick": "statusClick"; }, never, never, true, never>;
3037
+ }
3038
+
3039
+ declare class StatusBarModule {
3040
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarModule, never>;
3041
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StatusBarModule, never, [typeof i1.CommonModule, typeof TooltipModule, typeof StatusBarComponent], [typeof StatusBarComponent]>;
3042
+ static ɵinj: i0.ɵɵInjectorDeclaration<StatusBarModule>;
3043
+ }
3044
+
3045
+ declare const StepState: {
3046
+ readonly Default: "default";
3047
+ readonly Done: "done";
3048
+ readonly Error: "error";
3049
+ readonly Pending: "pending";
3050
+ };
3051
+ type StepState = ValueOf<typeof StepState>;
3052
+ interface StepItem {
3053
+ label: string;
3054
+ description?: string;
3055
+ state?: StepState;
3056
+ optional?: boolean;
3057
+ }
3058
+ type StepsOrientation = 'horizontal' | 'vertical';
3059
+ type StepsType = 'progress' | 'step';
3060
+
3061
+ declare class StepsComponent implements OnInit, OnDestroy {
3062
+ _currentIndex: number;
3063
+ private _steps;
3064
+ get steps(): StepItem[];
3065
+ set steps(val: StepItem[]);
3066
+ get currentIndex(): number;
3067
+ set currentIndex(index: number);
3068
+ orientation: StepsOrientation;
3069
+ type: StepsType;
3070
+ selectable: boolean;
3071
+ currentIndexChange: EventEmitter<number>;
3072
+ selectedIndexChange: EventEmitter<number>;
3073
+ currentIndexChange$$: BehaviorSubject<number>;
3074
+ stepsChange$$: BehaviorSubject<StepItem[]>;
3075
+ selectedIndex: number;
3076
+ private readonly destroy$$;
3077
+ ngOnInit(): void;
3078
+ private setCurrentIndex;
3079
+ private getProgressCurrentIndex;
3080
+ get isVertical(): boolean;
3081
+ get isProgress(): boolean;
3082
+ get activeIndex(): number;
3083
+ getIcon(i: number, state?: StepState): string;
3084
+ select(i: number): void;
3085
+ isSelectable(i: number): boolean;
3086
+ getActiveIndex(): number;
3087
+ isLastActive(i: number, steps: StepItem[]): boolean;
3088
+ ngOnDestroy(): void;
3089
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepsComponent, never>;
3090
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "aui-steps", ["auiSteps"], { "steps": { "alias": "steps"; "required": false; }; "currentIndex": { "alias": "currentIndex"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "type": { "alias": "type"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; }, { "currentIndexChange": "currentIndexChange"; "selectedIndexChange": "selectedIndexChange"; }, never, never, true, never>;
3091
+ }
3092
+
3093
+ declare class StepsModule {
3094
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepsModule, never>;
3095
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StepsModule, never, [typeof i1.CommonModule, typeof IconModule, typeof StepsComponent], [typeof StepsComponent]>;
3096
+ static ɵinj: i0.ɵɵInjectorDeclaration<StepsModule>;
3097
+ }
3098
+
3099
+ declare class SwitchComponent extends CommonFormControl<boolean> {
3100
+ bem: Bem;
3101
+ loading: boolean;
3102
+ onSwitch(): void;
3103
+ onBlur(): void;
3104
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
3105
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "aui-switch", never, { "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
3106
+ }
3107
+
3108
+ declare class SwitchModule {
3109
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchModule, never>;
3110
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SwitchModule, never, [typeof i1.CommonModule, typeof SwitchComponent], [typeof SwitchComponent]>;
3111
+ static ɵinj: i0.ɵɵInjectorDeclaration<SwitchModule>;
3112
+ }
3113
+
3114
+ declare class TocContentDirective implements OnInit, OnDestroy {
3115
+ private readonly containerDirective;
3116
+ active: boolean;
3117
+ auiTocContent: string;
3118
+ nativeElement: HTMLElement;
3119
+ constructor(elemRef: ElementRef<HTMLElement>, containerDirective: TocContainerDirective);
3120
+ ngOnInit(): void;
3121
+ ngOnDestroy(): void;
3122
+ static ɵfac: i0.ɵɵFactoryDeclaration<TocContentDirective, [null, { optional: true; }]>;
3123
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TocContentDirective, "[auiTocContent]", never, { "auiTocContent": { "alias": "auiTocContent"; "required": false; }; }, {}, never, never, true, never>;
3124
+ }
3125
+
3126
+ declare class TocContainerDirective implements AfterContentInit, OnDestroy {
3127
+ private readonly cdr;
3128
+ activedChange: EventEmitter<string>;
3129
+ private _contents;
3130
+ private readonly _scrollTop$;
3131
+ private readonly _scrollTo$;
3132
+ private readonly _onDestroy$;
3133
+ private readonly _subs;
3134
+ private readonly _nativeElement;
3135
+ get scrollTop(): number;
3136
+ set scrollTop(value: number);
3137
+ get isScrollEnd(): boolean;
3138
+ constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
3139
+ getOffsetTop(element: HTMLElement): number;
3140
+ private getMinContent;
3141
+ private getMaxContent;
3142
+ onScroll(): void;
3143
+ ngAfterContentInit(): void;
3144
+ ngOnDestroy(): void;
3145
+ scrollTo(content: string[] | string): void;
3146
+ registerContent(tocContent: TocContentDirective): void;
3147
+ deregisterContent(tocContent: TocContentDirective): void;
3148
+ static ɵfac: i0.ɵɵFactoryDeclaration<TocContainerDirective, never>;
3149
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TocContainerDirective, "[auiTocContainer]", ["auiTocContainer"], {}, { "activedChange": "activedChange"; }, never, never, true, never>;
3150
+ }
3151
+
3152
+ declare class TocLinkDirective implements OnInit, OnDestroy {
3153
+ private readonly cdr;
3154
+ active: boolean;
3155
+ for: TocContainerDirective;
3156
+ auiTocLink: string[] | string;
3157
+ private readonly _subs;
3158
+ onClick(): void;
3159
+ constructor(cdr: ChangeDetectorRef);
3160
+ ngOnInit(): void;
3161
+ ngOnDestroy(): void;
3162
+ static ɵfac: i0.ɵɵFactoryDeclaration<TocLinkDirective, never>;
3163
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TocLinkDirective, "[auiTocLink]", never, { "for": { "alias": "for"; "required": false; }; "auiTocLink": { "alias": "auiTocLink"; "required": false; }; }, {}, never, never, true, never>;
3164
+ }
3165
+
3166
+ declare class TableOfContentsModule {
3167
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableOfContentsModule, never>;
3168
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableOfContentsModule, never, [typeof i1.CommonModule, typeof TocContentDirective, typeof TocContainerDirective, typeof TocLinkDirective], [typeof TocContentDirective, typeof TocContainerDirective, typeof TocLinkDirective]>;
3169
+ static ɵinj: i0.ɵɵInjectorDeclaration<TableOfContentsModule>;
3170
+ }
3171
+ declare const TABLE_OF_CONTENTS_MODULE: readonly [typeof TocContentDirective, typeof TocContainerDirective, typeof TocLinkDirective];
3172
+
3173
+ declare class TabBodyComponent implements OnDestroy {
3174
+ private _content;
3175
+ content$: BehaviorSubject<TemplatePortal<any>>;
3176
+ /** The portal host inside of this container into which the tab body content will be loaded. */
3177
+ _portalOutlet: CdkPortalOutlet;
3178
+ /** The tab body content to display. */
3179
+ get content(): TemplatePortal;
3180
+ set content(content: TemplatePortal);
3181
+ ngOnDestroy(): void;
3182
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabBodyComponent, never>;
3183
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabBodyComponent, "aui-tab-body", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
3184
+ }
3185
+ /** Used to flag tab labels for use with the portal directive */
3186
+ declare class TabLabelDirective extends CdkPortal {
3187
+ constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
3188
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelDirective, never>;
3189
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelDirective, "[auiTabLabel]", never, {}, {}, never, never, true, never>;
3190
+ }
3191
+ /**
3192
+ * Lazy load the embedded template for a tab content.
3193
+ */
3194
+ declare class TabContentDirective {
3195
+ template: TemplateRef<any>;
3196
+ constructor(template: TemplateRef<any>);
3197
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabContentDirective, never>;
3198
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[auiTabContent]", never, {}, {}, never, never, true, never>;
3199
+ }
3200
+ /** Used to project additional template from host to the tab header. */
3201
+ declare class TabHeaderAddonDirective extends CdkPortal {
3202
+ constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
3203
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderAddonDirective, never>;
3204
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabHeaderAddonDirective, "[auiTabHeaderAddon]", never, {}, {}, never, never, true, never>;
3205
+ }
3206
+ /**
3207
+ * Used in the `aui-tab-group` view to display tab labels.
3208
+ */
3209
+ declare class TabLabelWrapperDirective {
3210
+ elementRef: ElementRef<HTMLElement>;
3211
+ /** Whether or not the tab is disabled */
3212
+ disabled: boolean;
3213
+ getOffsetLeft(): number;
3214
+ getOffsetWidth(): number;
3215
+ /** Sets focus on the wrapper element */
3216
+ focus(): void;
3217
+ constructor(elementRef: ElementRef<HTMLElement>);
3218
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelWrapperDirective, never>;
3219
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelWrapperDirective, "[auiTabLabelWrapper]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
3220
+ static ngAcceptInputType_disabled: unknown;
3221
+ }
3222
+ declare class TabTitleDirective extends CdkPortal {
3223
+ constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
3224
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabTitleDirective, never>;
3225
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabTitleDirective, "[auiTabTitle]", never, {}, {}, never, never, true, never>;
3226
+ }
3227
+ /**
3228
+ * The portal host directive for the contents of the tab.
3229
+ */
3230
+ declare class TabBodyPortalDirective extends CdkPortalOutlet implements OnInit, OnDestroy {
3231
+ private readonly _host;
3232
+ private _hostSubscription;
3233
+ constructor(componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, _host: TabBodyComponent);
3234
+ /** Set initial visibility or set up subscription for changing visibility. */
3235
+ ngOnInit(): void;
3236
+ ngOnDestroy(): void;
3237
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabBodyPortalDirective, never>;
3238
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabBodyPortalDirective, "[auiTabBodyHost]", never, {}, {}, never, never, true, never>;
3239
+ }
3240
+
3241
+ declare class TabContextService {
3242
+ readonly _parent: TabContextService;
3243
+ private readonly active$$;
3244
+ /**
3245
+ * Whether the tab is currently active.
3246
+ */
3247
+ get isActive(): boolean;
3248
+ set isActive(isActive: boolean);
3249
+ readonly active$: Observable<boolean>;
3250
+ constructor(_parent: TabContextService);
3251
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabContextService, [{ optional: true; skipSelf: true; }]>;
3252
+ static ɵprov: i0.ɵɵInjectableDeclaration<TabContextService>;
3253
+ }
3254
+
3255
+ declare class TabComponent implements AfterContentInit, OnDestroy, OnChanges {
3256
+ private readonly _viewContainerRef;
3257
+ readonly tabContext: TabContextService;
3258
+ name: string;
3259
+ /** Plain text label for the tab, used when there is no template label. */
3260
+ textLabel: string;
3261
+ /** Whether or not to show the close button in the header */
3262
+ closeable: boolean;
3263
+ /** Whether or not the tab is disabled */
3264
+ disabled: boolean;
3265
+ close: EventEmitter<void>;
3266
+ /** Content for the tab label given by `<ng-template [auiTabLabel]>`. */
3267
+ templateLabel: TabLabelDirective;
3268
+ /**
3269
+ * Template provided in the tab content that will be used if present, used to enable lazy-loading
3270
+ */
3271
+ _explicitContent: TemplateRef<any>;
3272
+ /** Template inside the AuiTab view that contains an `<ng-content>`. */
3273
+ _implicitContent: TemplateRef<any>;
3274
+ get content(): TemplatePortal | null;
3275
+ /**
3276
+ * The relatively indexed position where 0 represents the center, negative is left, and positive
3277
+ * represents the right.
3278
+ */
3279
+ position: number | null;
3280
+ /**
3281
+ * The initial relatively index origin of the tab if it was created and selected after there
3282
+ * was already a selected tab. Provides context of what position the tab should originate from.
3283
+ */
3284
+ origin: number | null;
3285
+ /** Emits whenever the internal state of the tab changes. */
3286
+ readonly _stateChanges: Subject<void>;
3287
+ /** Portal that will be the hosted content of the tab */
3288
+ private _contentPortal;
3289
+ constructor(_viewContainerRef: ViewContainerRef, tabContext: TabContextService);
3290
+ ngAfterContentInit(): void;
3291
+ ngOnDestroy(): void;
3292
+ ngOnChanges(changes: SimpleChanges): void;
3293
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
3294
+ 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>;
3295
+ static ngAcceptInputType_disabled: unknown;
3296
+ }
3297
+
3298
+ declare const TabSize: {
3299
+ /** 卡片级尺寸 */
3300
+ readonly Large: "large";
3301
+ /** 页面级尺寸 */
3302
+ readonly Medium: "medium";
3303
+ /** 小尺寸 */
3304
+ readonly Small: "small";
3305
+ };
3306
+ type TabSize = ValueOf<typeof TabSize>;
3307
+ declare const TabType: {
3308
+ readonly Line: "line";
3309
+ readonly Card: "card";
3310
+ };
3311
+ type TabType = ValueOf<typeof TabType>;
3312
+
3313
+ declare class TabHeaderActiveIndicatorComponent {
3314
+ private readonly _elementRef;
3315
+ private readonly _ngZone;
3316
+ type: TabType;
3317
+ bem: Bem;
3318
+ constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
3319
+ /**
3320
+ * Calculates the styles from the provided element in order to align the indicator to that element.
3321
+ * Shows the indicator if previously set as hidden.
3322
+ * @param element
3323
+ */
3324
+ alignToElement(element: HTMLElement): void;
3325
+ /**
3326
+ * Sets the proper styles to the element.
3327
+ * @param element
3328
+ */
3329
+ private _setStyles;
3330
+ private _getElementPosition;
3331
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderActiveIndicatorComponent, never>;
3332
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderActiveIndicatorComponent, "aui-tab-header-active-indicator", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
3333
+ }
3334
+
3335
+ /**
3336
+ * The directions that scrolling can go in when the header's tabs exceed the header width. 'After'
3337
+ * will scroll the header towards the end of the tabs list and 'before' will scroll towards the
3338
+ * beginning of the list.
3339
+ */
3340
+ type ScrollDirection = 'after' | 'before';
3341
+ declare class TabHeaderComponent implements OnDestroy, AfterContentChecked, AfterContentInit {
3342
+ private readonly _changeDetectorRef;
3343
+ bem: Bem;
3344
+ _showAddon: boolean;
3345
+ /** Whether the controls for pagination should be displayed */
3346
+ _showPaginationControls: boolean;
3347
+ /** Whether the tab list can be scrolled more towards the end of the tab label list. */
3348
+ _disableScrollAfter: boolean;
3349
+ /** Whether the tab list can be scrolled more towards the beginning of the tab label list. */
3350
+ _disableScrollBefore: boolean;
3351
+ /** Whether the scroll distance has changed and should be applied after the view is checked. */
3352
+ private _scrollDistanceChanged;
3353
+ /** Whether the header should scroll to the selected index after the view has been checked. */
3354
+ private _selectedIndexChanged;
3355
+ /** The distance in pixels that the tab labels should be translated to the left. */
3356
+ private _scrollDistance;
3357
+ private _selectedIndex;
3358
+ /** Emits when the component is destroyed. */
3359
+ private readonly _destroyed;
3360
+ /** Used to manage focus between the tabs. */
3361
+ private _keyManager;
3362
+ type: TabType;
3363
+ size: TabSize;
3364
+ /** The index of the active tab. */
3365
+ get selectedIndex(): number;
3366
+ set selectedIndex(value: number);
3367
+ /** Event emitted when the option is selected. */
3368
+ readonly selectFocusedIndex: EventEmitter<number>;
3369
+ /** Event emitted when a label is focused. */
3370
+ readonly indexFocused: EventEmitter<number>;
3371
+ _headerAddon: TabHeaderAddonDirective;
3372
+ _title: TabTitleDirective;
3373
+ /**
3374
+ * workaround for @link https://github.com/microsoft/TypeScript/pull/42425
3375
+ */
3376
+ _labelWrappers: QueryList<TabLabelWrapperDirective & {
3377
+ disabled?: boolean;
3378
+ }>;
3379
+ _tabListContainer: ElementRef<HTMLElement>;
3380
+ _tabList: ElementRef<HTMLElement>;
3381
+ _paginationWrapper: ElementRef<HTMLElement>;
3382
+ _activeIndicator: TabHeaderActiveIndicatorComponent;
3383
+ ngOnDestroy(): void;
3384
+ ngAfterContentChecked(): void;
3385
+ /**
3386
+ * Aligns the ink bar to the selected tab on load.
3387
+ */
3388
+ ngAfterContentInit(): void;
3389
+ /** Sets the distance in pixels that the tab header should be transformed in the X-axis. */
3390
+ get scrollDistance(): number;
3391
+ set scrollDistance(v: number);
3392
+ /** Tracks which element has focus; used for keyboard navigation */
3393
+ get focusIndex(): number;
3394
+ /** When the focus index is set, we must manually send focus to the correct label */
3395
+ set focusIndex(value: number);
3396
+ /**
3397
+ * Determines if an index is valid. If the tabs are not ready yet, we assume that the user is
3398
+ * providing a valid index and return true.
3399
+ */
3400
+ _isValidIndex(index: number): boolean;
3401
+ _handleKeydown(event: KeyboardEvent): void;
3402
+ /**
3403
+ * Sets focus on the HTML element for the label wrapper and scrolls it into the view if
3404
+ * scrolling is enabled.
3405
+ */
3406
+ _setTabFocus(tabIndex: number): void;
3407
+ /**
3408
+ * Moves the tab list such that the desired tab label (marked by index) is moved into view.
3409
+ *
3410
+ * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
3411
+ * should be called sparingly.
3412
+ */
3413
+ _scrollToLabel(labelIndex: number): void;
3414
+ /**
3415
+ * Moves the tab list in the 'before' or 'after' direction (towards the beginning of the list or
3416
+ * the end of the list, respectively). The distance to scroll is computed to be a third of the
3417
+ * length of the tab list view window.
3418
+ *
3419
+ * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
3420
+ * should be called sparingly.
3421
+ */
3422
+ _scrollHeader(scrollDir: ScrollDirection): void;
3423
+ /**
3424
+ * Callback for when the MutationObserver detects that the content has changed.
3425
+ */
3426
+ _onContentChanges(): void;
3427
+ /**
3428
+ * Updating the view whether pagination should be enabled or not
3429
+ */
3430
+ _updatePagination(): void;
3431
+ /**
3432
+ * Evaluate whether the pagination controls should be displayed. If the scroll width of the
3433
+ * tab list is wider than the size of the header container, then the pagination controls should
3434
+ * be shown.
3435
+ *
3436
+ * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
3437
+ * should be called sparingly.
3438
+ */
3439
+ _checkPaginationEnabled(): void;
3440
+ /**
3441
+ * Evaluate whether the before and after controls should be enabled or disabled.
3442
+ * If the header is at the beginning of the list (scroll distance is equal to 0) then disable the
3443
+ * before button. If the header is at the end of the list (scroll distance is equal to the
3444
+ * maximum distance we can scroll), then disable the after button.
3445
+ *
3446
+ * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
3447
+ * should be called sparingly.
3448
+ */
3449
+ _checkScrollingControls(): void;
3450
+ /**
3451
+ * Determines what is the maximum length in pixels that can be set for the scroll distance. This
3452
+ * is equal to the difference in width between the tab list container and tab header container.
3453
+ *
3454
+ * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
3455
+ * should be called sparingly.
3456
+ */
3457
+ _getMaxScrollDistance(): number;
3458
+ /** Performs the CSS transformation on the tab list that will cause the list to scroll. */
3459
+ _updateTabScrollPosition(): void;
3460
+ /** Tells the active indicator to align itself to the current label wrapper */
3461
+ _alignActiveIndicatorToSelectedTab(): void;
3462
+ constructor(_changeDetectorRef: ChangeDetectorRef);
3463
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderComponent, never>;
3464
+ 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>;
3465
+ }
3466
+
3467
+ /** A simple change event emitted on focus or selection changes. */
3468
+ declare class TabChangeEvent {
3469
+ /** Index of the currently-selected tab. */
3470
+ index: number;
3471
+ /** Reference to the currently-selected tab. */
3472
+ tab: TabComponent;
3473
+ }
3474
+ declare class TabGroupComponent implements OnChanges, AfterContentChecked, AfterContentInit, OnDestroy {
3475
+ private readonly _changeDetectorRef;
3476
+ bem: Bem;
3477
+ _tabs: QueryList<TabComponent>;
3478
+ _headerAddon: TabHeaderAddonDirective;
3479
+ _tabHeader: TabHeaderComponent;
3480
+ _tabTitle: TabTitleDirective;
3481
+ /** The tab index that should be selected after the content has been checked. */
3482
+ private _indexToSelect;
3483
+ /** Subscription to tabs being added/removed. */
3484
+ private _tabsSubscription;
3485
+ /** Subscription to changes in the tab labels. */
3486
+ private _tabLabelSubscription;
3487
+ private _selectedIndex;
3488
+ private _tab;
3489
+ private _type;
3490
+ private _size;
3491
+ /** true lazy mode for template ref children */
3492
+ private _lazy;
3493
+ private _previousHeaderAddon;
3494
+ /** Emits whenever the type changes */
3495
+ readonly _typeChange: Subject<void>;
3496
+ /** Emits whenever the size changes */
3497
+ readonly _sizeChange: Subject<void>;
3498
+ /** The index of the active tab. */
3499
+ get selectedIndex(): number;
3500
+ set selectedIndex(value: number);
3501
+ get tab(): string;
3502
+ set tab(value: string);
3503
+ get type(): TabType;
3504
+ set type(type: TabType);
3505
+ title: TemplateRef<unknown> | string;
3506
+ get size(): TabSize;
3507
+ set size(val: TabSize);
3508
+ get lazy(): boolean;
3509
+ set lazy(lazy: boolean);
3510
+ /** Output to enable support for two-way binding on `[(selectedIndex)]` */
3511
+ readonly selectedIndexChange: EventEmitter<number>;
3512
+ readonly tabChange: EventEmitter<string>;
3513
+ /** Event emitted when the tab selection has changed. */
3514
+ readonly selectedTabChange: EventEmitter<TabChangeEvent>;
3515
+ /** Event emitted when focus has changed within a tab group. */
3516
+ readonly focusChange: EventEmitter<TabChangeEvent>;
3517
+ constructor(_changeDetectorRef: ChangeDetectorRef);
3518
+ activatedTabs: TabComponent[];
3519
+ get activeTab(): TabComponent;
3520
+ ngOnChanges(changes: SimpleChanges): void;
3521
+ /**
3522
+ * After the content is checked, this component knows what tabs have been defined
3523
+ * and what the selected index should be. This is where we can know exactly what position
3524
+ * each tab should be in according to the new selected index.
3525
+ */
3526
+ ngAfterContentChecked(): void;
3527
+ ngAfterContentInit(): void;
3528
+ ngOnDestroy(): void;
3529
+ /** Handle click events, setting new selected index if appropriate. */
3530
+ _handleClick(tab: TabComponent, idx: number): void;
3531
+ _focusChanged(index: number): void;
3532
+ /** Re-aligns the ink bar to the selected tab element. */
3533
+ realignActiveIndicator(): void;
3534
+ private _changeActivatedTabs;
3535
+ /** Clamps the given index to the bounds of 0 and the tabs length. */
3536
+ private _clampTabIndex;
3537
+ private _findIndexByTab;
3538
+ private _createChangeEvent;
3539
+ /**
3540
+ * Subscribes to changes in the tab labels. This is needed, because the @Input for the label is
3541
+ * on the Tab component, whereas the data binding is inside the TabGroup. In order for the
3542
+ * binding to be updated, we need to subscribe to changes in it and trigger change detection
3543
+ * manually.
3544
+ */
3545
+ private _subscribeToTabLabels;
3546
+ /** Retrieves the tabindex for the tab. */
3547
+ _getTabIndex(tab: TabComponent, idx: number): number | null;
3548
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
3549
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "aui-tab-group", ["auiTabGroup"], { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "tab": { "alias": "tab"; "required": false; }; "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "size": { "alias": "size"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "tabChange": "tabChange"; "selectedTabChange": "selectedTabChange"; "focusChange": "focusChange"; }, ["_headerAddon", "_tabTitle", "_tabs"], never, true, never>;
3550
+ }
3551
+
3552
+ declare class TabsModule {
3553
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabsModule, never>;
3554
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TabsModule, never, [typeof i1.CommonModule, typeof i2$2.FormsModule, typeof i3.PortalModule, typeof ButtonModule, typeof IconModule, typeof i6.A11yModule, typeof i7.ObserversModule, typeof TabGroupComponent, typeof TabComponent, typeof TabLabelDirective, typeof TabContentDirective, typeof TabHeaderAddonDirective, typeof TabTitleDirective, typeof TabHeaderComponent, typeof TabBodyComponent, typeof TabBodyPortalDirective, typeof TabLabelWrapperDirective, typeof TabHeaderActiveIndicatorComponent], [typeof TabGroupComponent, typeof TabComponent, typeof TabLabelDirective, typeof TabContentDirective, typeof TabHeaderAddonDirective, typeof TabTitleDirective, typeof TabLabelWrapperDirective, typeof TabHeaderComponent]>;
3555
+ static ɵinj: i0.ɵɵInjectorDeclaration<TabsModule>;
3556
+ }
3557
+ declare const TABS_MODULE: readonly [typeof TabGroupComponent, typeof TabComponent, typeof TabLabelDirective, typeof TabContentDirective, typeof TabHeaderAddonDirective, typeof TabTitleDirective, typeof TabLabelWrapperDirective, typeof TabHeaderComponent];
3558
+
3559
+ declare function rgbColor(color: string): string;
3560
+ declare function rgbaColor([color, opacity]: [string, number]): string;
3561
+ declare function cssVar(value: string): string;
3562
+
3563
+ declare class TreeNodePlaceholderComponent {
3564
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodePlaceholderComponent, never>;
3565
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodePlaceholderComponent, "aui-tree-node-placeholder", never, {}, {}, never, ["*"], true, never>;
3566
+ }
3567
+
3568
+ type NodeFilterFn<T> = (filter: string, node: TreeNode<T>) => boolean;
3569
+ interface TreeNode<T = unknown> {
3570
+ label: string;
3571
+ value: T;
3572
+ children?: Array<TreeNode<T>>;
3573
+ disabled?: boolean;
3574
+ expanded?: boolean;
3575
+ icon?: string;
3576
+ expandedIcon?: string;
3577
+ loading?: boolean;
3578
+ }
3579
+
3580
+ declare class TreeSelectComponent<T = unknown> extends CommonFormControl<T> {
3581
+ get nodesData(): TreeNode<T>[];
3582
+ set nodesData(val: TreeNode<T>[]);
3583
+ loading: boolean;
3584
+ placeholder: string;
3585
+ filterable: boolean;
3586
+ clearable: boolean;
3587
+ leafOnly: boolean;
3588
+ filterFn: (filterString: string, node: TreeNode<T>) => boolean;
3589
+ trackFn: TrackFn<T>;
3590
+ labelFn?: (value: T) => string;
3591
+ filterChange: EventEmitter<string>;
3592
+ show: EventEmitter<void>;
3593
+ hide: EventEmitter<void>;
3594
+ protected selectRef: ElementRef<HTMLElement>;
3595
+ protected tooltipRef: TooltipDirective;
3596
+ nodeListRef: ElementRef<HTMLElement>;
3597
+ inputRef: InputComponent;
3598
+ private _nodesData;
3599
+ private _filterString;
3600
+ private readonly filterString$$;
3601
+ filterString$: Observable<string>;
3602
+ containerWidth: string;
3603
+ displayText: string;
3604
+ flattedNodes: Array<TreeNode<T>>;
3605
+ get isClearable(): string;
3606
+ get opened(): boolean;
3607
+ get inputReadonly(): boolean;
3608
+ get filterString(): string;
3609
+ set filterString(val: string);
3610
+ updatePosition(): void;
3611
+ onVisibleNodes(visible: boolean): void;
3612
+ onInput(event: Event): void;
3613
+ onNodeClick(node: TreeNodeComponent<T>): void;
3614
+ getVisibleNodeCount(): number;
3615
+ selectNode(node: TreeNodeComponent<T>): void;
3616
+ onKeyDown(event: KeyboardEvent): void;
3617
+ openOption(): void;
3618
+ closeOption(): void;
3619
+ updateSelectDisplay(value: any): void;
3620
+ clearValue(event: Event): void;
3621
+ protected valueIn(v: T): T;
3622
+ getPlaceholder(): string;
3623
+ getInputValue(): string;
3624
+ trackByLabel: (_: number, node: TreeNode<T>) => string;
3625
+ private flatNodesData;
3626
+ private getLabelFromNode;
3627
+ private _filterFn;
3628
+ private _trackFn;
3629
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeSelectComponent<any>, never>;
3630
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeSelectComponent<any>, "aui-tree-select", never, { "nodesData": { "alias": "nodesData"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "leafOnly": { "alias": "leafOnly"; "required": false; }; "filterFn": { "alias": "filterFn"; "required": false; }; "trackFn": { "alias": "trackFn"; "required": false; }; "labelFn": { "alias": "labelFn"; "required": false; }; }, { "filterChange": "filterChange"; "show": "show"; "hide": "hide"; }, never, ["aui-tree-node-placeholder"], true, never>;
3631
+ static ngAcceptInputType_filterable: unknown;
3632
+ static ngAcceptInputType_clearable: unknown;
3633
+ static ngAcceptInputType_leafOnly: unknown;
3634
+ }
3635
+ declare class TreeNodeComponent<T> implements AfterViewInit, OnDestroy {
3636
+ private readonly cdr;
3637
+ bem: Bem;
3638
+ private _nodeData;
3639
+ private readonly nodeData$$;
3640
+ private readonly destroy$$;
3641
+ get nodeData(): TreeNode<T>;
3642
+ set nodeData(val: TreeNode<T>);
3643
+ leafOnly: boolean;
3644
+ titleRef: ElementRef<HTMLElement>;
3645
+ childNodes: QueryList<TreeNodeComponent<T>>;
3646
+ selected: boolean;
3647
+ visible: boolean;
3648
+ isLeaf: boolean;
3649
+ private readonly select;
3650
+ selected$: Observable<boolean>;
3651
+ selfVisible$: Observable<boolean>;
3652
+ visible$: Observable<boolean>;
3653
+ constructor(select: TreeSelectComponent<T>, cdr: ChangeDetectorRef);
3654
+ ngAfterViewInit(): void;
3655
+ ngOnDestroy(): void;
3656
+ onClick(): void;
3657
+ switchExpanded(): void;
3658
+ getIcon(): string;
3659
+ trackByLabel(_: number, data: TreeNode<T>): string;
3660
+ scrollToNode(node: TreeNodeComponent<T>): void;
3661
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodeComponent<any>, never>;
3662
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodeComponent<any>, "aui-tree-node", never, { "nodeData": { "alias": "nodeData"; "required": false; }; "leafOnly": { "alias": "leafOnly"; "required": false; }; }, {}, never, never, true, never>;
3663
+ static ngAcceptInputType_leafOnly: unknown;
3664
+ }
3665
+
3666
+ declare class TreeSelectModule {
3667
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeSelectModule, never>;
3668
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TreeSelectModule, never, [typeof i1.CommonModule, typeof TooltipModule, typeof IconModule, typeof InputModule, typeof TreeSelectComponent, typeof TreeNodeComponent, typeof TreeNodePlaceholderComponent], [typeof TreeSelectComponent, typeof TreeNodeComponent, typeof TreeNodePlaceholderComponent]>;
3669
+ static ɵinj: i0.ɵɵInjectorDeclaration<TreeSelectModule>;
3670
+ }
3671
+
3672
+ export { ACCORDION_MODULE, ANCHOR_MODULE, AUTOCOMPLETE_MODULE, AccordionComponent, AccordionItemComponent, AccordionItemContentDirective, AccordionItemHeaderDirective, AccordionModule, AnchorComponent, AnchorDirective, AnchorDirectiveChild, AnchorLabelDirective, AnchorModule, AnchorTreeComponent, AuiSelectValidators, AutoCompleteDirective, AutocompleteComponent, AutocompleteModule, AutocompletePlaceholderComponent, AutosizeDirective, BREADCRUMB_MODULE, BackTopComponent, BackTopModule, BaseDialogConfig, BaseTooltip, Bem, BreadcrumbComponent, BreadcrumbItemComponent, BreadcrumbModule, ButtonComponent, ButtonGroupComponent, ButtonModule, ButtonType, CARD_MODULE, CHECKBOX_MODULE, CONTROL_ITEM_HEIGHT, CalendarFooterComponent, CalendarHeaderComponent, CardComponent, CardFooterDirective, CardHeaderDirective, CardModule, CheckTagComponent, CheckboxComponent, CheckboxGroupComponent, CheckboxModule, ColorPickerComponent, ColorPickerModule, CommonFormControl, ComponentSize, ConfirmDialogConfig, ConfirmType, CssVarPipe, CustomAutoCompleteDirective, DATE, DATE_NAV_RANGES, DATE_TYPES, DAY, DAY_PANEL_COLUMN_COUNT, DAY_PANEL_ROW_COUNT, DIALOG_DATA, DIALOG_MODULE, DISPLAY_DELAY, DRAWER_MODULE, DROPDOWN_MODULE, DateNavRange, DatePickerComponent, DatePickerModule, DatePickerPanelComponent, DatePickerTriggerComponent, DatePickerType, DateRangePickerPanelComponent, DialogCloseDirective, DialogComponent, DialogConfig, DialogContentComponent, DialogFooterComponent, DialogHeaderComponent, DialogModule, DialogRef, DialogService, DialogSize, DrawerComponent, DrawerContentDirective, DrawerFooterDirective, DrawerHeaderDirective, DrawerModule, DrawerRef, DrawerService, DrawerSize, DropdownActiveDirective, DropdownButtonComponent, DropdownDirective, DropdownModule, FORM_MODULE, FixedSizeTableVirtualScrollDirective, FixedSizeTableVirtualScrollStrategy, FixedSizeVirtualScrollDirective, FormDirective, FormItemAddonDirective, FormItemComponent, FormItemControlDirective, FormItemErrorDirective, FormItemHintDirective, FormItemLabelDirective, FormItemWidth, FormModule, HIDDEN_DELAY, HOUR, HOUR_ITEMS, I18NInterfaceToken, I18nModule, I18nPipe, I18nService, INLINE_ALERT_MODULE, INPUT_ERROR_KEY, INPUT_GROUP_MODULE, IconComponent, IconModule, IconRegisterService, IncludesDirective, InlineAlertComponent, InlineAlertModule, InlineAlertTitleDirective, InlineAlertType, InputAddonAfterDirective, InputAddonBeforeDirective, InputComponent, InputGroupComponent, InputModule, InputPrefixDirective, InputSuffixDirective, LabelPosition, MESSAGE_CONFIG, MESSAGE_DEFAULT_CONFIG, MINUTE, MINUTE_ITEMS, MONTH, MONTH_PANEL_COLUMN_COUNT, MONTH_PANEL_ROW_COUNT, MenuComponent, MenuGroupComponent, MenuGroupTitleDirective, MenuItemComponent, MenuItemType, MessageConfig, MessageModule, MessageService, MessageType, MultiSelectComponent, NOTIFICATION_CONFIG, NOTIFICATION_DEFAULT_CONFIG, NUMBER_INPUT_MODULE, NotificationComponent, NotificationModule, NotificationService, NumberInputComponent, OptionComponent, OptionContentDirective, OptionGroupComponent, OptionGroupTitleDirective, OptionPlaceholderComponent, PaginatorComponent, PaginatorIntl, PaginatorModule, PickerPanelComponent, RADIO_MODULE, RadioButtonComponent, RadioComponent, RadioGroupComponent, RadioModule, RadioSize, RangePickerComponent, RgbColorPipe, RgbaColorPipe, SECOND, SECOND_ITEMS, SELECT_MODULE, SORT_MODULE, ScrollingModule, SearchComponent, SectionComponent, SectionTitleDirective, SelectAllStatus, SelectComponent, SelectModule, Side, SortDirective, SortHeaderComponent, SortModule, StatusBarComponent, StatusBarModule, StatusBarSize, StatusType, StepState, StepsComponent, StepsModule, SubmenuComponent, SuggestionComponent, SuggestionGroupComponent, SuggestionGroupTitleDirective, SwitchComponent, SwitchModule, TABLE_MODULE, TABLE_OF_CONTENTS_MODULE, TABS_MODULE, TIME_PICKER_MODULE, TOOLTIP_MODULE, TabBodyComponent, TabBodyPortalDirective, TabChangeEvent, TabComponent, TabContentDirective, TabContextService, TabGroupComponent, TabHeaderActiveIndicatorComponent, TabHeaderAddonDirective, TabHeaderComponent, TabLabelDirective, TabLabelWrapperDirective, TabSize, TabTitleDirective, TabType, TableCellDefDirective, TableCellDirective, TableColumnDefDirective, TableColumnResizableDirective, TableComponent, TableExpandButtonCellComponent, TableExpandPanelCellComponent, TableHeaderCellDefDirective, TableHeaderCellDirective, TableHeaderRowComponent, TableHeaderRowDefDirective, TableModule, TableOfContentsModule, TablePlaceholderDefDirective, TablePlaceholderOutletDirective, TableRowComponent, TableRowDefDirective, TableScrollWrapperDirective, TableScrollableDirective, TabsModule, TagComponent, TagModule, TagType, TagsInputComponent, ThemeModule, ThemePickerPipe, ThemeService, TimePickerComponent, TimePickerControlType, TimePickerModule, TimePickerPanelComponent, TocContainerDirective, TocContentDirective, TocLinkDirective, TooltipActiveDirective, TooltipComponent, TooltipCopyDirective, TooltipCopyIntl, TooltipDirective, TooltipModule, TooltipTrigger, TooltipType, TreeNodeComponent, TreeNodePlaceholderComponent, TreeSelectComponent, TreeSelectModule, VirtualForOfDirective, VirtualScrollViewportComponent, YEAR, YEAR_PANEL_COLUMN_COUNT, YEAR_PANEL_ROW_COUNT, _tableVirtualScrollDirectiveStrategyFactory, buildBem, coerceAttrBoolean, coerceString, cssVar, en, getAnchorTreeItems, getCompatibleStylesRenderer, getSortDuplicateSortableIdError, getSortHeaderMissingIdError, getSortHeaderNotContainedWithinSortError, getSortInvalidDirectionError, handlePixel, isTemplateRef, isTimePickerModel, observeMutationOn, observeResizeOn, rgbColor, rgbaColor, zh };
3673
+ export type { AnchorItem, AnchorItemBase, AnchorTreeItem, ArrowViewState, AttrBoolean, AutoCompleteContext, AutoSizeValue, BeforeAction, CalendarHeaderRange, CustomBeforeAction, DisabledDateFn, DisabledTimeFn, DrawerOptions, I18NInterface, MessageGlobalConfig, NodeFilterFn, NotificationConfig, NotificationGlobalConfig, OptionFilterFn, PromiseExecutor, ScrollDirection, SelectFilterOption, SelectOption, Sort, SortDirection, Sortable, Status, StepItem, StepsOrientation, StepsType, SuggestionFilterFn, TagClassFn, Theme, ThemeMode, ThemeSet, TimePickerDataLike, TimePickerModel, TooltipInterface, TrackFn, TreeNode };