@alauda/ui 9.1.2-beta.0 → 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
@@ -1,11 +0,0 @@
1
- import { CommonFormControl } from '../form';
2
- import { Bem } from '../internal/utils';
3
- import * as i0 from "@angular/core";
4
- export declare class SwitchComponent extends CommonFormControl<boolean> {
5
- bem: Bem;
6
- loading: boolean;
7
- onSwitch(): void;
8
- onBlur(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "aui-switch", never, { "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
11
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./switch.component";
4
- export declare class SwitchModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SwitchModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SwitchModule, never, [typeof i1.CommonModule, typeof i2.SwitchComponent], [typeof i2.SwitchComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SwitchModule>;
8
- }
package/table/index.d.ts DELETED
@@ -1,15 +0,0 @@
1
- export { TableComponent } from './table.component';
2
- export * from './table.module';
3
- export * from './table-cell.component';
4
- export * from './table-cell.directive';
5
- export * from './table-cell-def.directive';
6
- export * from './table-column-def.directive';
7
- export * from './table-column-resizable.directive';
8
- export * from './table-header-cell.directive';
9
- export * from './table-header-cell-def.directive';
10
- export * from './table-header-row.component';
11
- export * from './table-header-row-def.directive';
12
- export * from './table-placeholder.directive';
13
- export * from './table-row.component';
14
- export * from './table-row-def.directive';
15
- export * from './table-scroll.directive';
@@ -1,10 +0,0 @@
1
- import { CdkCellDef } from '@angular/cdk/table';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Cell definition for the aui-table.
5
- * Captures the template of a column's data row cell as well as cell-specific properties.
6
- */
7
- export declare class TableCellDefDirective extends CdkCellDef {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDefDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDefDirective, "[auiTableCellDef]", never, {}, {}, never, never, true, never>;
10
- }
@@ -1,18 +0,0 @@
1
- import { CdkCell } from '@angular/cdk/table';
2
- import { EventEmitter } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class TableExpandButtonCellComponent extends CdkCell {
5
- expand: boolean;
6
- disabled: boolean;
7
- expandChange: EventEmitter<any>;
8
- get expanded(): string;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TableExpandButtonCellComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<TableExpandButtonCellComponent, "aui-table-cell[auiExpandButton]", never, { "expand": { "alias": "expand"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "expandChange": "expandChange"; }, never, never, true, never>;
11
- }
12
- export declare class TableExpandPanelCellComponent extends CdkCell {
13
- expand: boolean;
14
- background: boolean;
15
- get expanded(): string;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TableExpandPanelCellComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<TableExpandPanelCellComponent, "aui-table-cell[auiExpandPanel]", never, { "expand": { "alias": "expand"; "required": false; }; "background": { "alias": "background"; "required": false; }; }, {}, never, ["*"], true, never>;
18
- }
@@ -1,10 +0,0 @@
1
- import { CdkCell, CdkColumnDef } from '@angular/cdk/table';
2
- import { ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- /** Cell template container that adds the right classes and role. */
5
- export declare class TableCellDirective extends CdkCell {
6
- direction: 'column' | 'row';
7
- constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDirective, "aui-table-cell", never, { "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, true, never>;
10
- }
@@ -1,11 +0,0 @@
1
- import { CdkColumnDef } from '@angular/cdk/table';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Column definition for the aui-table.
5
- * Defines a set of cells available for a table column.
6
- */
7
- export declare class TableColumnDefDirective extends CdkColumnDef {
8
- set auiTableColumnDef(value: string);
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnDefDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnDefDirective, "[auiTableColumnDef]", never, { "sticky": { "alias": "sticky"; "required": false; }; "auiTableColumnDef": { "alias": "auiTableColumnDef"; "required": false; }; }, {}, never, never, true, never>;
11
- }
@@ -1,30 +0,0 @@
1
- import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TableColumnResizableDirective implements OnInit, AfterViewInit, OnDestroy {
4
- minWidth: string;
5
- maxWidth: string;
6
- private readonly renderer2;
7
- private readonly tableColumnDefDirective;
8
- private readonly tableComponent;
9
- private readonly columnElement;
10
- private readonly containerElement;
11
- private readonly hostAttr;
12
- private readonly stylesRenderer;
13
- private resizeSubscription;
14
- ngOnInit(): void;
15
- ngAfterViewInit(): void;
16
- ngOnDestroy(): void;
17
- private bindResizable;
18
- private createResizeHandle;
19
- private createResizeMarkLine;
20
- private createResizeOverlay;
21
- private getColumnWidth;
22
- private getColumnOffset;
23
- private getWidthInRange;
24
- private getResizeRange;
25
- private getActualWidth;
26
- private isStickyLeftBorderColumn;
27
- private renderWidthStyles;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnResizableDirective, never>;
29
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnResizableDirective, "[auiTableColumnResizable]", never, { "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, {}, never, never, true, never>;
30
- }
@@ -1,10 +0,0 @@
1
- import { CdkHeaderCellDef } from '@angular/cdk/table';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Header cell definition for the aui-table.
5
- * Captures the template of a column's header cell and as well as cell-specific properties.
6
- */
7
- export declare class TableHeaderCellDefDirective extends CdkHeaderCellDef {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellDefDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDefDirective, "[auiTableHeaderCellDef]", never, {}, {}, never, never, true, never>;
10
- }
@@ -1,9 +0,0 @@
1
- import { CdkColumnDef, CdkHeaderCell } from '@angular/cdk/table';
2
- import { ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- /** Header cell template container that adds the right classes and role. */
5
- export declare class TableHeaderCellDirective extends CdkHeaderCell {
6
- constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderCellDirective, "aui-table-header-cell", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,13 +0,0 @@
1
- import { CdkHeaderRowDef } from '@angular/cdk/table';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Header row definition for the aui-table.
5
- * Captures the header row's template and other header properties such as the columns to display.
6
- */
7
- export declare class TableHeaderRowDefDirective extends CdkHeaderRowDef {
8
- columns: Iterable<string>;
9
- set auiTableHeaderRowDefSticky(val: boolean);
10
- get auiTableHeaderRowDefSticky(): boolean;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderRowDefDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderRowDefDirective, "[auiTableHeaderRowDef]", never, { "columns": { "alias": "auiTableHeaderRowDef"; "required": false; }; "auiTableHeaderRowDefSticky": { "alias": "auiTableHeaderRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
13
- }
@@ -1,7 +0,0 @@
1
- import { CdkHeaderRow } from '@angular/cdk/table';
2
- import * as i0 from "@angular/core";
3
- /** Header template container that contains the cell outlet. Adds the right class and role. */
4
- export declare class TableHeaderRowComponent extends CdkHeaderRow {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderRowComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderRowComponent, "aui-table-header-row", ["auiTableHeaderRow"], {}, {}, never, never, true, never>;
7
- }
@@ -1,16 +0,0 @@
1
- import { RowOutlet } from '@angular/cdk/table';
2
- import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class TablePlaceholderDefDirective {
5
- templateRef: TemplateRef<any>;
6
- constructor(templateRef: TemplateRef<any>);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TablePlaceholderDefDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderDefDirective, "ng-template[auiTablePlaceholderDef]", never, {}, {}, never, never, true, never>;
9
- }
10
- export declare class TablePlaceholderOutletDirective implements RowOutlet {
11
- viewContainer: ViewContainerRef;
12
- elementRef: ElementRef;
13
- constructor(viewContainer: ViewContainerRef, elementRef: ElementRef);
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TablePlaceholderOutletDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderOutletDirective, "[auiTablePlaceholderOutlet]", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,13 +0,0 @@
1
- import { CdkRowDef } from '@angular/cdk/table';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Data row definition for the aui-table.
5
- * Captures the header row's template and other row properties such as the columns to display and
6
- * a when predicate that describes when this row should be used.
7
- */
8
- export declare class TableRowDefDirective<T> extends CdkRowDef<T> {
9
- columns: Iterable<string>;
10
- set auiTableRowDefWhen(v: (index: number, rowData: T) => boolean);
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDefDirective<any>, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDefDirective<any>, "[auiTableRowDef]", never, { "columns": { "alias": "auiTableRowDefColumns"; "required": false; }; "auiTableRowDefWhen": { "alias": "auiTableRowDefWhen"; "required": false; }; }, {}, never, never, true, never>;
13
- }
@@ -1,13 +0,0 @@
1
- import { CdkRow } from '@angular/cdk/table';
2
- import { AfterContentInit, ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- /** Data row template container that contains the cell outlet. Adds the right class and role. */
5
- export declare class TableRowComponent extends CdkRow implements AfterContentInit {
6
- private readonly elRef;
7
- disabled: boolean;
8
- hasPanel: boolean;
9
- constructor(elRef: ElementRef<HTMLElement>);
10
- ngAfterContentInit(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TableRowComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "aui-table-row", ["auiTableRow"], { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
13
- }
@@ -1,33 +0,0 @@
1
- import { Directionality } from '@angular/cdk/bidi';
2
- import { CdkScrollable, ScrollDispatcher } from '@angular/cdk/scrolling';
3
- import { AfterViewInit, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
4
- import { Subject, BehaviorSubject } from 'rxjs';
5
- import { TableComponent } from './table.component';
6
- import * as i0 from "@angular/core";
7
- export declare class TableScrollWrapperDirective {
8
- auiTableScrollWrapper: string;
9
- elementRef: ElementRef<any>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollWrapperDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollWrapperDirective, "[auiTableScrollWrapper]", never, { "auiTableScrollWrapper": { "alias": "auiTableScrollWrapper"; "required": false; }; }, {}, never, never, true, never>;
12
- }
13
- export declare class TableScrollableDirective extends CdkScrollable implements AfterViewInit, OnInit, OnDestroy {
14
- private readonly el;
15
- private readonly table;
16
- set scrollable(scrollable: boolean | '');
17
- get scrollable(): boolean | "";
18
- private _scrollable;
19
- scrollable$$: BehaviorSubject<boolean>;
20
- destroy$$: Subject<void>;
21
- constructor(el: ElementRef<HTMLElement>, scrollDispatcher: ScrollDispatcher, ngZone: NgZone, table: TableComponent<unknown>, dir?: Directionality);
22
- className: string;
23
- get containerEl(): HTMLElement;
24
- ngOnInit(): void;
25
- ngAfterViewInit(): void;
26
- ngOnDestroy(): void;
27
- viewMutation(): void;
28
- mutateVerticalScroll(): void;
29
- mutateHorizontalScroll(): void;
30
- placeClassList(classList: DOMTokenList, condition: boolean, className: string): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollableDirective, [null, null, null, { host: true; }, { optional: true; }]>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollableDirective, "[auiTableScrollable]", never, { "scrollable": { "alias": "auiTableScrollable"; "required": false; }; }, {}, never, never, true, never>;
33
- }
@@ -1,20 +0,0 @@
1
- import { CdkTable } from '@angular/cdk/table';
2
- import { AfterContentInit, ElementRef, OnDestroy } from '@angular/core';
3
- import { TablePlaceholderDefDirective, TablePlaceholderOutletDirective } from './table-placeholder.directive';
4
- import * as i0 from "@angular/core";
5
- export declare const tableBem: import("../internal/utils").Bem;
6
- export declare class TableComponent<T> extends CdkTable<T> implements AfterContentInit, OnDestroy {
7
- enableScrollWrapper: boolean;
8
- _placeholderOutlet: TablePlaceholderOutletDirective;
9
- _placeholderDef: TablePlaceholderDefDirective;
10
- className: string;
11
- elementRef: ElementRef<any>;
12
- protected get stickyCssClass(): string;
13
- protected set stickyCssClass(_: string);
14
- ngAfterContentInit(): void;
15
- private _createPlaceholder;
16
- private _clearPlaceholder;
17
- ngOnDestroy(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aui-table", ["auiTable"], { "enableScrollWrapper": { "alias": "enableScrollWrapper"; "required": false; }; }, {}, ["_placeholderDef"], ["caption", "colgroup, col", "*"], true, never>;
20
- }
@@ -1,35 +0,0 @@
1
- import { TableCellDefDirective } from './table-cell-def.directive';
2
- import { TableExpandButtonCellComponent, TableExpandPanelCellComponent } from './table-cell.component';
3
- import { TableCellDirective } from './table-cell.directive';
4
- import { TableColumnDefDirective } from './table-column-def.directive';
5
- import { TableColumnResizableDirective } from './table-column-resizable.directive';
6
- import { TableHeaderCellDefDirective } from './table-header-cell-def.directive';
7
- import { TableHeaderCellDirective } from './table-header-cell.directive';
8
- import { TableHeaderRowDefDirective } from './table-header-row-def.directive';
9
- import { TableHeaderRowComponent } from './table-header-row.component';
10
- import { TablePlaceholderDefDirective, TablePlaceholderOutletDirective } from './table-placeholder.directive';
11
- import { TableRowDefDirective } from './table-row-def.directive';
12
- import { TableRowComponent } from './table-row.component';
13
- import { TableScrollableDirective, TableScrollWrapperDirective } from './table-scroll.directive';
14
- import { TableComponent } from './table.component';
15
- import * as i0 from "@angular/core";
16
- import * as i1 from "./table.component";
17
- import * as i2 from "./table-row.component";
18
- import * as i3 from "./table-header-row.component";
19
- import * as i4 from "./table-cell.component";
20
- import * as i5 from "./table-cell.directive";
21
- import * as i6 from "./table-cell-def.directive";
22
- import * as i7 from "./table-header-cell.directive";
23
- import * as i8 from "./table-row-def.directive";
24
- import * as i9 from "./table-header-row-def.directive";
25
- import * as i10 from "./table-header-cell-def.directive";
26
- import * as i11 from "./table-column-def.directive";
27
- import * as i12 from "./table-column-resizable.directive";
28
- import * as i13 from "./table-placeholder.directive";
29
- import * as i14 from "./table-scroll.directive";
30
- export 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];
31
- export declare class TableModule {
32
- static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
33
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, never, [typeof i1.TableComponent, typeof i2.TableRowComponent, typeof i3.TableHeaderRowComponent, typeof i4.TableExpandButtonCellComponent, typeof i4.TableExpandPanelCellComponent, typeof i5.TableCellDirective, typeof i6.TableCellDefDirective, typeof i7.TableHeaderCellDirective, typeof i8.TableRowDefDirective, typeof i9.TableHeaderRowDefDirective, typeof i10.TableHeaderCellDefDirective, typeof i11.TableColumnDefDirective, typeof i12.TableColumnResizableDirective, typeof i13.TablePlaceholderOutletDirective, typeof i13.TablePlaceholderDefDirective, typeof i14.TableScrollWrapperDirective, typeof i14.TableScrollableDirective], [typeof i1.TableComponent, typeof i2.TableRowComponent, typeof i3.TableHeaderRowComponent, typeof i4.TableExpandButtonCellComponent, typeof i4.TableExpandPanelCellComponent, typeof i5.TableCellDirective, typeof i6.TableCellDefDirective, typeof i7.TableHeaderCellDirective, typeof i8.TableRowDefDirective, typeof i9.TableHeaderRowDefDirective, typeof i10.TableHeaderCellDefDirective, typeof i11.TableColumnDefDirective, typeof i12.TableColumnResizableDirective, typeof i13.TablePlaceholderOutletDirective, typeof i13.TablePlaceholderDefDirective, typeof i14.TableScrollWrapperDirective, typeof i14.TableScrollableDirective]>;
34
- static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
35
- }
@@ -1,4 +0,0 @@
1
- export * from './table-of-contents.module';
2
- export * from './toc-container.directive';
3
- export * from './toc-content.directive';
4
- export * from './toc-link.directive';
@@ -1,14 +0,0 @@
1
- import { TocContainerDirective } from './toc-container.directive';
2
- import { TocContentDirective } from './toc-content.directive';
3
- import { TocLinkDirective } from './toc-link.directive';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/common";
6
- import * as i2 from "./toc-content.directive";
7
- import * as i3 from "./toc-container.directive";
8
- import * as i4 from "./toc-link.directive";
9
- export declare class TableOfContentsModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TableOfContentsModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableOfContentsModule, never, [typeof i1.CommonModule, typeof i2.TocContentDirective, typeof i3.TocContainerDirective, typeof i4.TocLinkDirective], [typeof i2.TocContentDirective, typeof i3.TocContainerDirective, typeof i4.TocLinkDirective]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<TableOfContentsModule>;
13
- }
14
- export declare const TABLE_OF_CONTENTS_MODULE: readonly [typeof TocContentDirective, typeof TocContainerDirective, typeof TocLinkDirective];
@@ -1,28 +0,0 @@
1
- import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
- import { TocContentDirective } from './toc-content.directive';
3
- import * as i0 from "@angular/core";
4
- export declare class TocContainerDirective implements AfterContentInit, OnDestroy {
5
- private readonly cdr;
6
- activedChange: EventEmitter<string>;
7
- private _contents;
8
- private readonly _scrollTop$;
9
- private readonly _scrollTo$;
10
- private readonly _onDestroy$;
11
- private readonly _subs;
12
- private readonly _nativeElement;
13
- get scrollTop(): number;
14
- set scrollTop(value: number);
15
- get isScrollEnd(): boolean;
16
- constructor(elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
17
- getOffsetTop(element: HTMLElement): number;
18
- private getMinContent;
19
- private getMaxContent;
20
- onScroll(): void;
21
- ngAfterContentInit(): void;
22
- ngOnDestroy(): void;
23
- scrollTo(content: string[] | string): void;
24
- registerContent(tocContent: TocContentDirective): void;
25
- deregisterContent(tocContent: TocContentDirective): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<TocContainerDirective, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<TocContainerDirective, "[auiTocContainer]", ["auiTocContainer"], {}, { "activedChange": "activedChange"; }, never, never, true, never>;
28
- }
@@ -1,14 +0,0 @@
1
- import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { TocContainerDirective } from './toc-container.directive';
3
- import * as i0 from "@angular/core";
4
- export declare class TocContentDirective implements OnInit, OnDestroy {
5
- private readonly containerDirective;
6
- active: boolean;
7
- auiTocContent: string;
8
- nativeElement: HTMLElement;
9
- constructor(elemRef: ElementRef<HTMLElement>, containerDirective: TocContainerDirective);
10
- ngOnInit(): void;
11
- ngOnDestroy(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TocContentDirective, [null, { optional: true; }]>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TocContentDirective, "[auiTocContent]", never, { "auiTocContent": { "alias": "auiTocContent"; "required": false; }; }, {}, never, never, true, never>;
14
- }
@@ -1,16 +0,0 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { TocContainerDirective } from './toc-container.directive';
3
- import * as i0 from "@angular/core";
4
- export declare class TocLinkDirective implements OnInit, OnDestroy {
5
- private readonly cdr;
6
- active: boolean;
7
- for: TocContainerDirective;
8
- auiTocLink: string[] | string;
9
- private readonly _subs;
10
- onClick(): void;
11
- constructor(cdr: ChangeDetectorRef);
12
- ngOnInit(): void;
13
- ngOnDestroy(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TocLinkDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TocLinkDirective, "[auiTocLink]", never, { "for": { "alias": "for"; "required": false; }; "auiTocLink": { "alias": "auiTocLink"; "required": false; }; }, {}, never, never, true, never>;
16
- }
package/tabs/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export * from './tab.component';
2
- export * from './tab-body.component';
3
- export * from './tab-context.service';
4
- export * from './tab-group.component';
5
- export * from './tab-header.component';
6
- export * from './tab-header-active-indicator.component';
7
- export * from './tabs.module';
8
- export * from './tabs.types';
@@ -1,71 +0,0 @@
1
- import { CdkPortal, CdkPortalOutlet, TemplatePortal } from '@angular/cdk/portal';
2
- import { ComponentFactoryResolver, ElementRef, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
3
- import { BehaviorSubject } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class TabBodyComponent implements OnDestroy {
6
- private _content;
7
- content$: BehaviorSubject<TemplatePortal<any>>;
8
- /** The portal host inside of this container into which the tab body content will be loaded. */
9
- _portalOutlet: CdkPortalOutlet;
10
- /** The tab body content to display. */
11
- get content(): TemplatePortal;
12
- set content(content: TemplatePortal);
13
- ngOnDestroy(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TabBodyComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TabBodyComponent, "aui-tab-body", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
16
- }
17
- /** Used to flag tab labels for use with the portal directive */
18
- export declare class TabLabelDirective extends CdkPortal {
19
- constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelDirective, "[auiTabLabel]", never, {}, {}, never, never, true, never>;
22
- }
23
- /**
24
- * Lazy load the embedded template for a tab content.
25
- */
26
- export declare class TabContentDirective {
27
- template: TemplateRef<any>;
28
- constructor(template: TemplateRef<any>);
29
- static ɵfac: i0.ɵɵFactoryDeclaration<TabContentDirective, never>;
30
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[auiTabContent]", never, {}, {}, never, never, true, never>;
31
- }
32
- /** Used to project additional template from host to the tab header. */
33
- export declare class TabHeaderAddonDirective extends CdkPortal {
34
- constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
35
- static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderAddonDirective, never>;
36
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabHeaderAddonDirective, "[auiTabHeaderAddon]", never, {}, {}, never, never, true, never>;
37
- }
38
- /**
39
- * Used in the `aui-tab-group` view to display tab labels.
40
- */
41
- export declare class TabLabelWrapperDirective {
42
- elementRef: ElementRef<HTMLElement>;
43
- /** Whether or not the tab is disabled */
44
- disabled: boolean;
45
- getOffsetLeft(): number;
46
- getOffsetWidth(): number;
47
- /** Sets focus on the wrapper element */
48
- focus(): void;
49
- constructor(elementRef: ElementRef<HTMLElement>);
50
- static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelWrapperDirective, never>;
51
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelWrapperDirective, "[auiTabLabelWrapper]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
52
- static ngAcceptInputType_disabled: unknown;
53
- }
54
- export declare class TabTitleDirective extends CdkPortal {
55
- constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
56
- static ɵfac: i0.ɵɵFactoryDeclaration<TabTitleDirective, never>;
57
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabTitleDirective, "[auiTabTitle]", never, {}, {}, never, never, true, never>;
58
- }
59
- /**
60
- * The portal host directive for the contents of the tab.
61
- */
62
- export declare class TabBodyPortalDirective extends CdkPortalOutlet implements OnInit, OnDestroy {
63
- private readonly _host;
64
- private _hostSubscription;
65
- constructor(componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, _host: TabBodyComponent);
66
- /** Set initial visibility or set up subscription for changing visibility. */
67
- ngOnInit(): void;
68
- ngOnDestroy(): void;
69
- static ɵfac: i0.ɵɵFactoryDeclaration<TabBodyPortalDirective, never>;
70
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabBodyPortalDirective, "[auiTabBodyHost]", never, {}, {}, never, never, true, never>;
71
- }
@@ -1,15 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- export declare class TabContextService {
4
- readonly _parent: TabContextService;
5
- private readonly active$$;
6
- /**
7
- * Whether the tab is currently active.
8
- */
9
- get isActive(): boolean;
10
- set isActive(isActive: boolean);
11
- readonly active$: Observable<boolean>;
12
- constructor(_parent: TabContextService);
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TabContextService, [{ optional: true; skipSelf: true; }]>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<TabContextService>;
15
- }
@@ -1,92 +0,0 @@
1
- import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { Bem } from '../internal/utils';
4
- import { TabHeaderAddonDirective, TabTitleDirective } from './tab-body.component';
5
- import { TabHeaderComponent } from './tab-header.component';
6
- import { TabComponent } from './tab.component';
7
- import { TabSize, TabType } from './tabs.types';
8
- import * as i0 from "@angular/core";
9
- /** A simple change event emitted on focus or selection changes. */
10
- export declare class TabChangeEvent {
11
- /** Index of the currently-selected tab. */
12
- index: number;
13
- /** Reference to the currently-selected tab. */
14
- tab: TabComponent;
15
- }
16
- export declare class TabGroupComponent implements OnChanges, AfterContentChecked, AfterContentInit, OnDestroy {
17
- private readonly _changeDetectorRef;
18
- bem: Bem;
19
- _tabs: QueryList<TabComponent>;
20
- _headerAddon: TabHeaderAddonDirective;
21
- _tabHeader: TabHeaderComponent;
22
- _tabTitle: TabTitleDirective;
23
- /** The tab index that should be selected after the content has been checked. */
24
- private _indexToSelect;
25
- /** Subscription to tabs being added/removed. */
26
- private _tabsSubscription;
27
- /** Subscription to changes in the tab labels. */
28
- private _tabLabelSubscription;
29
- private _selectedIndex;
30
- private _tab;
31
- private _type;
32
- private _size;
33
- /** true lazy mode for template ref children */
34
- private _lazy;
35
- private _previousHeaderAddon;
36
- /** Emits whenever the type changes */
37
- readonly _typeChange: Subject<void>;
38
- /** Emits whenever the size changes */
39
- readonly _sizeChange: Subject<void>;
40
- /** The index of the active tab. */
41
- get selectedIndex(): number;
42
- set selectedIndex(value: number);
43
- get tab(): string;
44
- set tab(value: string);
45
- get type(): TabType;
46
- set type(type: TabType);
47
- title: TemplateRef<unknown> | string;
48
- get size(): TabSize;
49
- set size(val: TabSize);
50
- get lazy(): boolean;
51
- set lazy(lazy: boolean);
52
- /** Output to enable support for two-way binding on `[(selectedIndex)]` */
53
- readonly selectedIndexChange: EventEmitter<number>;
54
- readonly tabChange: EventEmitter<string>;
55
- /** Event emitted when the tab selection has changed. */
56
- readonly selectedTabChange: EventEmitter<TabChangeEvent>;
57
- /** Event emitted when focus has changed within a tab group. */
58
- readonly focusChange: EventEmitter<TabChangeEvent>;
59
- constructor(_changeDetectorRef: ChangeDetectorRef);
60
- activatedTabs: TabComponent[];
61
- get activeTab(): TabComponent;
62
- ngOnChanges(changes: SimpleChanges): void;
63
- /**
64
- * After the content is checked, this component knows what tabs have been defined
65
- * and what the selected index should be. This is where we can know exactly what position
66
- * each tab should be in according to the new selected index.
67
- */
68
- ngAfterContentChecked(): void;
69
- ngAfterContentInit(): void;
70
- ngOnDestroy(): void;
71
- /** Handle click events, setting new selected index if appropriate. */
72
- _handleClick(tab: TabComponent, idx: number): void;
73
- _focusChanged(index: number): void;
74
- /** Re-aligns the ink bar to the selected tab element. */
75
- realignActiveIndicator(): void;
76
- private _changeActivatedTabs;
77
- /** Clamps the given index to the bounds of 0 and the tabs length. */
78
- private _clampTabIndex;
79
- private _findIndexByTab;
80
- private _createChangeEvent;
81
- /**
82
- * Subscribes to changes in the tab labels. This is needed, because the @Input for the label is
83
- * on the Tab component, whereas the data binding is inside the TabGroup. In order for the
84
- * binding to be updated, we need to subscribe to changes in it and trigger change detection
85
- * manually.
86
- */
87
- private _subscribeToTabLabels;
88
- /** Retrieves the tabindex for the tab. */
89
- _getTabIndex(tab: TabComponent, idx: number): number | null;
90
- static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
91
- 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>;
92
- }
@@ -1,25 +0,0 @@
1
- import { ElementRef, NgZone } from '@angular/core';
2
- import { Bem } from '../internal/utils';
3
- import { TabType } from './tabs.types';
4
- import * as i0 from "@angular/core";
5
- export declare class TabHeaderActiveIndicatorComponent {
6
- private readonly _elementRef;
7
- private readonly _ngZone;
8
- type: TabType;
9
- bem: Bem;
10
- constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
11
- /**
12
- * Calculates the styles from the provided element in order to align the indicator to that element.
13
- * Shows the indicator if previously set as hidden.
14
- * @param element
15
- */
16
- alignToElement(element: HTMLElement): void;
17
- /**
18
- * Sets the proper styles to the element.
19
- * @param element
20
- */
21
- private _setStyles;
22
- private _getElementPosition;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderActiveIndicatorComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderActiveIndicatorComponent, "aui-tab-header-active-indicator", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
25
- }