@odx/angular 1.0.4 → 2.0.0

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 (192) hide show
  1. package/cdk/autocomplete-control/README.md +3 -0
  2. package/cdk/autocomplete-control/index.d.ts +3 -0
  3. package/cdk/autocomplete-control/lib/abstract/base-search-field.directive.d.ts +13 -0
  4. package/cdk/autocomplete-control/lib/abstract/index.d.ts +1 -0
  5. package/cdk/autocomplete-control/lib/autocomplete-control.d.ts +39 -0
  6. package/cdk/autocomplete-control/lib/pipes/base-search-filter-pipe.d.ts +11 -0
  7. package/cdk/autocomplete-control/lib/pipes/index.d.ts +1 -0
  8. package/cdk/option-control/README.md +3 -0
  9. package/cdk/option-control/index.d.ts +1 -0
  10. package/cdk/option-control/lib/option-control.d.ts +17 -0
  11. package/components/autocomplete/README.md +3 -0
  12. package/components/autocomplete/index.d.ts +6 -0
  13. package/components/autocomplete/lib/autocomplete.component.d.ts +30 -0
  14. package/components/autocomplete/lib/autocomplete.module.d.ts +11 -0
  15. package/components/autocomplete/lib/autocomplete.tokens.d.ts +3 -0
  16. package/components/autocomplete/lib/components/index.d.ts +1 -0
  17. package/components/autocomplete/lib/components/option/autocomplete-option.component.d.ts +9 -0
  18. package/components/autocomplete/lib/directives/autocomplete-search-field.directive.d.ts +9 -0
  19. package/components/autocomplete/lib/directives/index.d.ts +1 -0
  20. package/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.d.ts +12 -0
  21. package/components/autocomplete/lib/pipes/index.d.ts +1 -0
  22. package/components/chip/index.d.ts +1 -1
  23. package/components/chip/lib/{chip.component.d.ts → components/chip/chip.component.d.ts} +1 -1
  24. package/components/chip/lib/components/chip-list/chip-list.component.d.ts +6 -0
  25. package/components/chip/lib/components/chip-list-row/chip-list-row.component.d.ts +6 -0
  26. package/components/chip/lib/components/index.d.ts +3 -0
  27. package/components/dropdown/lib/dropdown.directive.d.ts +2 -1
  28. package/components/form-field/lib/models/form-field-variant.d.ts +1 -0
  29. package/components/main-menu/lib/directives/index.d.ts +1 -0
  30. package/components/main-menu/lib/directives/main-menu-close.directive.d.ts +7 -0
  31. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +3 -4
  32. package/components/main-menu/lib/main-menu.module.d.ts +3 -2
  33. package/components/menu/lib/directives/menu-item.directive.d.ts +1 -1
  34. package/components/select/index.d.ts +0 -1
  35. package/components/select/lib/components/index.d.ts +1 -1
  36. package/components/select/lib/components/select-option/select-option.component.d.ts +19 -0
  37. package/components/select/lib/directives/select-search-field.directive.d.ts +3 -7
  38. package/components/select/lib/pipes/select-search-filter.pipe.d.ts +8 -8
  39. package/components/select/lib/select.component.d.ts +15 -30
  40. package/components/select/lib/select.module.d.ts +2 -2
  41. package/components/select/lib/select.tokens.d.ts +2 -2
  42. package/components/table/README.md +3 -0
  43. package/components/table/index.d.ts +5 -0
  44. package/components/table/lib/components/check-cell/check-cell.component.d.ts +11 -0
  45. package/components/table/lib/components/header-title/header-title.component.d.ts +28 -0
  46. package/components/table/lib/components/index.d.ts +2 -0
  47. package/components/table/lib/directives/index.d.ts +2 -0
  48. package/components/table/lib/directives/table-cell.directive.d.ts +6 -0
  49. package/components/table/lib/directives/table-row.directive.d.ts +6 -0
  50. package/components/table/lib/interfaces/index.d.ts +3 -0
  51. package/components/table/lib/models/index.d.ts +2 -0
  52. package/components/table/lib/models/sort-variant.d.ts +6 -0
  53. package/components/table/lib/models/table-variant.d.ts +5 -0
  54. package/components/table/lib/table.component.d.ts +29 -0
  55. package/components/table/lib/table.config.d.ts +4 -0
  56. package/components/table/lib/table.module.d.ts +11 -0
  57. package/components/wizard/README.md +3 -0
  58. package/components/wizard/index.d.ts +3 -0
  59. package/components/wizard/lib/components/index.d.ts +1 -0
  60. package/components/wizard/lib/components/wizard-step/wizard-step.component.d.ts +17 -0
  61. package/components/wizard/lib/wizard.component.d.ts +31 -0
  62. package/components/wizard/lib/wizard.module.d.ts +9 -0
  63. package/esm2020/cdk/autocomplete-control/index.mjs +4 -0
  64. package/esm2020/cdk/autocomplete-control/lib/abstract/base-search-field.directive.mjs +38 -0
  65. package/esm2020/cdk/autocomplete-control/lib/abstract/index.mjs +2 -0
  66. package/esm2020/cdk/autocomplete-control/lib/autocomplete-control.mjs +90 -0
  67. package/esm2020/cdk/autocomplete-control/lib/pipes/base-search-filter-pipe.mjs +32 -0
  68. package/esm2020/cdk/autocomplete-control/lib/pipes/index.mjs +2 -0
  69. package/esm2020/cdk/autocomplete-control/odx-angular-cdk-autocomplete-control.mjs +5 -0
  70. package/esm2020/cdk/option-control/index.mjs +2 -0
  71. package/esm2020/cdk/option-control/lib/option-control.mjs +47 -0
  72. package/esm2020/cdk/option-control/odx-angular-cdk-option-control.mjs +5 -0
  73. package/esm2020/components/autocomplete/index.mjs +7 -0
  74. package/esm2020/components/autocomplete/lib/autocomplete.component.mjs +162 -0
  75. package/esm2020/components/autocomplete/lib/autocomplete.module.mjs +21 -0
  76. package/esm2020/components/autocomplete/lib/autocomplete.tokens.mjs +3 -0
  77. package/esm2020/components/autocomplete/lib/components/index.mjs +2 -0
  78. package/esm2020/components/autocomplete/lib/components/option/autocomplete-option.component.mjs +33 -0
  79. package/esm2020/components/autocomplete/lib/directives/autocomplete-search-field.directive.mjs +26 -0
  80. package/esm2020/components/autocomplete/lib/directives/index.mjs +2 -0
  81. package/esm2020/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.mjs +30 -0
  82. package/esm2020/components/autocomplete/lib/pipes/index.mjs +2 -0
  83. package/esm2020/components/autocomplete/odx-angular-components-autocomplete.mjs +5 -0
  84. package/esm2020/components/card/lib/card.component.mjs +2 -2
  85. package/esm2020/components/chip/index.mjs +2 -2
  86. package/esm2020/components/chip/lib/{chip.component.mjs → components/chip/chip.component.mjs} +2 -2
  87. package/esm2020/components/chip/lib/components/chip-list/chip-list.component.mjs +21 -0
  88. package/esm2020/components/chip/lib/components/chip-list-row/chip-list-row.component.mjs +21 -0
  89. package/esm2020/components/chip/lib/components/index.mjs +4 -0
  90. package/esm2020/components/dropdown/lib/dropdown.component.mjs +3 -3
  91. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +10 -2
  92. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +3 -3
  93. package/esm2020/components/form-field/lib/form-field.component.mjs +3 -3
  94. package/esm2020/components/form-field/lib/form-field.service.mjs +2 -2
  95. package/esm2020/components/form-field/lib/models/form-field-variant.mjs +2 -1
  96. package/esm2020/components/main-menu/lib/directives/index.mjs +2 -1
  97. package/esm2020/components/main-menu/lib/directives/main-menu-close.directive.mjs +24 -0
  98. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +6 -12
  99. package/esm2020/components/main-menu/lib/main-menu.module.mjs +4 -4
  100. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +3 -3
  101. package/esm2020/components/select/index.mjs +1 -2
  102. package/esm2020/components/select/lib/components/index.mjs +2 -2
  103. package/esm2020/components/select/lib/components/select-option/select-option.component.mjs +75 -0
  104. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +9 -21
  105. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +12 -33
  106. package/esm2020/components/select/lib/select.component.mjs +44 -86
  107. package/esm2020/components/select/lib/select.module.mjs +5 -5
  108. package/esm2020/components/select/lib/select.tokens.mjs +2 -2
  109. package/esm2020/components/table/index.mjs +6 -0
  110. package/esm2020/components/table/lib/components/check-cell/check-cell.component.mjs +29 -0
  111. package/esm2020/components/table/lib/components/header-title/header-title.component.mjs +86 -0
  112. package/esm2020/components/table/lib/components/index.mjs +3 -0
  113. package/esm2020/components/table/lib/directives/index.mjs +3 -0
  114. package/esm2020/components/table/lib/directives/table-cell.directive.mjs +27 -0
  115. package/esm2020/components/table/lib/directives/table-row.directive.mjs +28 -0
  116. package/esm2020/components/table/lib/interfaces/index.mjs +4 -0
  117. package/esm2020/components/table/lib/models/index.mjs +3 -0
  118. package/esm2020/components/table/lib/models/sort-variant.mjs +6 -0
  119. package/esm2020/components/table/lib/models/table-variant.mjs +5 -0
  120. package/esm2020/components/table/lib/table.component.mjs +86 -0
  121. package/esm2020/components/table/lib/table.config.mjs +3 -0
  122. package/esm2020/components/table/lib/table.module.mjs +21 -0
  123. package/esm2020/components/table/odx-angular-components-table.mjs +5 -0
  124. package/esm2020/components/wizard/index.mjs +4 -0
  125. package/esm2020/components/wizard/lib/components/index.mjs +2 -0
  126. package/esm2020/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +73 -0
  127. package/esm2020/components/wizard/lib/wizard.component.mjs +155 -0
  128. package/esm2020/components/wizard/lib/wizard.module.mjs +19 -0
  129. package/esm2020/components/wizard/odx-angular-components-wizard.mjs +5 -0
  130. package/esm2020/lib/services/window-ref.mjs +4 -1
  131. package/fesm2015/odx-angular-cdk-autocomplete-control.mjs +164 -0
  132. package/fesm2015/odx-angular-cdk-autocomplete-control.mjs.map +1 -0
  133. package/fesm2015/odx-angular-cdk-option-control.mjs +55 -0
  134. package/fesm2015/odx-angular-cdk-option-control.mjs.map +1 -0
  135. package/fesm2015/odx-angular-components-autocomplete.mjs +263 -0
  136. package/fesm2015/odx-angular-components-autocomplete.mjs.map +1 -0
  137. package/fesm2015/odx-angular-components-card.mjs +1 -1
  138. package/fesm2015/odx-angular-components-card.mjs.map +1 -1
  139. package/fesm2015/odx-angular-components-chip.mjs +35 -5
  140. package/fesm2015/odx-angular-components-chip.mjs.map +1 -1
  141. package/fesm2015/odx-angular-components-dropdown.mjs +11 -3
  142. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -1
  143. package/fesm2015/odx-angular-components-form-field.mjs +5 -4
  144. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  145. package/fesm2015/odx-angular-components-main-menu.mjs +28 -14
  146. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  147. package/fesm2015/odx-angular-components-menu.mjs +2 -2
  148. package/fesm2015/odx-angular-components-menu.mjs.map +1 -1
  149. package/fesm2015/odx-angular-components-select.mjs +80 -175
  150. package/fesm2015/odx-angular-components-select.mjs.map +1 -1
  151. package/fesm2015/odx-angular-components-table.mjs +264 -0
  152. package/fesm2015/odx-angular-components-table.mjs.map +1 -0
  153. package/fesm2015/odx-angular-components-wizard.mjs +242 -0
  154. package/fesm2015/odx-angular-components-wizard.mjs.map +1 -0
  155. package/fesm2015/odx-angular.mjs +3 -0
  156. package/fesm2015/odx-angular.mjs.map +1 -1
  157. package/fesm2020/odx-angular-cdk-autocomplete-control.mjs +160 -0
  158. package/fesm2020/odx-angular-cdk-autocomplete-control.mjs.map +1 -0
  159. package/fesm2020/odx-angular-cdk-option-control.mjs +54 -0
  160. package/fesm2020/odx-angular-cdk-option-control.mjs.map +1 -0
  161. package/fesm2020/odx-angular-components-autocomplete.mjs +254 -0
  162. package/fesm2020/odx-angular-components-autocomplete.mjs.map +1 -0
  163. package/fesm2020/odx-angular-components-card.mjs +1 -1
  164. package/fesm2020/odx-angular-components-card.mjs.map +1 -1
  165. package/fesm2020/odx-angular-components-chip.mjs +35 -5
  166. package/fesm2020/odx-angular-components-chip.mjs.map +1 -1
  167. package/fesm2020/odx-angular-components-dropdown.mjs +11 -3
  168. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -1
  169. package/fesm2020/odx-angular-components-form-field.mjs +5 -4
  170. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  171. package/fesm2020/odx-angular-components-main-menu.mjs +28 -14
  172. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  173. package/fesm2020/odx-angular-components-menu.mjs +2 -2
  174. package/fesm2020/odx-angular-components-menu.mjs.map +1 -1
  175. package/fesm2020/odx-angular-components-select.mjs +77 -170
  176. package/fesm2020/odx-angular-components-select.mjs.map +1 -1
  177. package/fesm2020/odx-angular-components-table.mjs +259 -0
  178. package/fesm2020/odx-angular-components-table.mjs.map +1 -0
  179. package/fesm2020/odx-angular-components-wizard.mjs +239 -0
  180. package/fesm2020/odx-angular-components-wizard.mjs.map +1 -0
  181. package/fesm2020/odx-angular.mjs +3 -0
  182. package/fesm2020/odx-angular.mjs.map +1 -1
  183. package/lib/services/window-ref.d.ts +1 -0
  184. package/package.json +42 -2
  185. package/components/select/lib/abstract/index.d.ts +0 -2
  186. package/components/select/lib/abstract/select-control-option.d.ts +0 -9
  187. package/components/select/lib/abstract/select-control.d.ts +0 -12
  188. package/components/select/lib/components/option/option.component.d.ts +0 -26
  189. package/esm2020/components/select/lib/abstract/index.mjs +0 -3
  190. package/esm2020/components/select/lib/abstract/select-control-option.mjs +0 -2
  191. package/esm2020/components/select/lib/abstract/select-control.mjs +0 -2
  192. package/esm2020/components/select/lib/components/option/option.component.mjs +0 -95
@@ -0,0 +1,3 @@
1
+ # @odx/angular/cdk/autocomplete-control
2
+
3
+ Secondary entry point of `@odx/angular`. It can be used by importing from `@odx/angular/cdk/autocomplete-control`.
@@ -0,0 +1,3 @@
1
+ export * from './lib/abstract';
2
+ export * from './lib/autocomplete-control';
3
+ export * from './lib/pipes';
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare abstract class BaseSearchFieldDirective {
3
+ protected readonly takeUntilDestroyed: <T>() => import("rxjs").MonoTypeOperatorFunction<T>;
4
+ readonly element: import("@angular/core").ElementRef<HTMLInputElement>;
5
+ valueChange$: import("rxjs").Observable<string>;
6
+ get nativeElementValue(): string;
7
+ set nativeElementValue(value: string);
8
+ focus(): void;
9
+ blur(): void;
10
+ reset(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseSearchFieldDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseSearchFieldDirective, never, never, {}, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1 @@
1
+ export * from './base-search-field.directive';
@@ -0,0 +1,39 @@
1
+ import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
2
+ import { BooleanInput } from '@angular/cdk/coercion';
3
+ import { AfterViewInit, ChangeDetectorRef, EventEmitter, QueryList } from '@angular/core';
4
+ import { StringifyFn } from '@odx/angular';
5
+ import { CustomFormControl } from '@odx/angular/cdk/custom-form-control';
6
+ import { OptionControl } from '@odx/angular/cdk/option-control';
7
+ import { DropdownDirective } from '@odx/angular/components/dropdown';
8
+ import { BaseSearchFieldDirective } from './abstract';
9
+ import * as i0 from "@angular/core";
10
+ export declare abstract class AutocompleteControl<T> extends CustomFormControl<T | null> implements AfterViewInit {
11
+ static ngAcceptInputType_isLoading: BooleanInput;
12
+ protected keyManager?: ActiveDescendantKeyManager<OptionControl<T>>;
13
+ protected smoothScrollEnabled: boolean;
14
+ protected readonly dropdown?: DropdownDirective;
15
+ protected abstract readonly options?: QueryList<OptionControl<T>>;
16
+ protected readonly takeUntilDestroyed: <T_1>() => import("rxjs").MonoTypeOperatorFunction<T_1>;
17
+ protected readonly changeDetector: ChangeDetectorRef;
18
+ abstract searchField?: BaseSearchFieldDirective;
19
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
20
+ get hasOptions(): boolean;
21
+ get isOpen(): boolean;
22
+ isLoading: boolean;
23
+ stringify?: StringifyFn<unknown>;
24
+ optionSelected: EventEmitter<T>;
25
+ constructor();
26
+ ngAfterViewInit(): void;
27
+ scrollOptionIntoView({ element }: OptionControl<T>): void;
28
+ protected abstract handleQueryListOption(options: QueryList<OptionControl<T>>): void;
29
+ protected abstract handleSearchFieldChanges(): void;
30
+ protected abstract activateSelectedOption(): void;
31
+ protected initKeyManager(options: QueryList<OptionControl<T>>): void;
32
+ protected disableSmoothScroll(): void;
33
+ protected enableSmoothScroll(): void;
34
+ protected openDropdown(): void;
35
+ protected closeDropdown(): void;
36
+ protected handleFocusOut(event: FocusEvent): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteControl<any>, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutocompleteControl<any>, never, never, { "isLoading": "isLoading"; "stringify": "stringify"; }, { "optionSelected": "optionSelected"; }, never, never, true, never>;
39
+ }
@@ -0,0 +1,11 @@
1
+ import { StringifyFn, StringSearchHandler } from '@odx/angular';
2
+ import { BaseSearchFieldDirective } from '../abstract';
3
+ export declare abstract class BaseSearchFilterPipe {
4
+ private readonly stringSearchHandler;
5
+ protected readonly stringify: StringifyFn<unknown>;
6
+ transform<T>(items: T[] | null, searchHandler?: StringSearchHandler): T[] | null;
7
+ protected abstract get searchField(): BaseSearchFieldDirective | undefined;
8
+ protected abstract get searchBy(): StringifyFn<unknown>;
9
+ protected abstract queryHandler(query: string): string;
10
+ private filter;
11
+ }
@@ -0,0 +1 @@
1
+ export * from './base-search-filter-pipe';
@@ -0,0 +1,3 @@
1
+ # @odx/angular/cdk/option-control
2
+
3
+ Secondary entry point of `@odx/angular`. It can be used by importing from `@odx/angular/cdk/option-control`.
@@ -0,0 +1 @@
1
+ export * from './lib/option-control';
@@ -0,0 +1,17 @@
1
+ import { Highlightable } from '@angular/cdk/a11y';
2
+ import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class OptionControl<T> implements Highlightable {
5
+ protected readonly takeUntilDestroyed: <T_1>() => import("rxjs").MonoTypeOperatorFunction<T_1>;
6
+ protected readonly cdr: ChangeDetectorRef;
7
+ protected isActive: boolean;
8
+ value: T | null;
9
+ readonly element: ElementRef<HTMLElement>;
10
+ setActiveStyles(): void;
11
+ setInactiveStyles(): void;
12
+ getLabel(): string;
13
+ protected abstract selectOption(): void;
14
+ protected select(event: Event): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionControl<any>, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OptionControl<any>, never, never, { "value": "value"; }, {}, never, never, true, never>;
17
+ }
@@ -0,0 +1,3 @@
1
+ # @odx/angular/autocomplete
2
+
3
+ Secondary entry point of `@odx/angular`. It can be used by importing from `@odx/angular/autocomplete`.
@@ -0,0 +1,6 @@
1
+ export * from './lib/autocomplete.component';
2
+ export * from './lib/autocomplete.module';
3
+ export * from './lib/autocomplete.tokens';
4
+ export * from './lib/components';
5
+ export * from './lib/directives';
6
+ export * from './lib/pipes';
@@ -0,0 +1,30 @@
1
+ import { AfterViewInit, QueryList } from '@angular/core';
2
+ import { ClickOutsideDirective } from '@odx/angular';
3
+ import { AutocompleteControl } from '@odx/angular/cdk/autocomplete-control';
4
+ import { AutocompleteOptionComponent } from './components';
5
+ import { AutocompleteSearchFieldDirective } from './directives';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@odx/angular";
8
+ export declare class AutocompleteComponent<T = unknown> extends AutocompleteControl<T | null> implements AfterViewInit {
9
+ private readonly defaultActiveOptionIndex;
10
+ protected readonly clickOutsideDirective: ClickOutsideDirective;
11
+ options?: QueryList<AutocompleteOptionComponent<T>>;
12
+ searchField?: AutocompleteSearchFieldDirective;
13
+ readonly dropdownOpenTriggers: never[];
14
+ ngAfterViewInit(): void;
15
+ selectOption(option?: AutocompleteOptionComponent<T> | null): void;
16
+ resetSearchField(): void;
17
+ protected handleQueryListOption(options: QueryList<AutocompleteOptionComponent<T>>): void;
18
+ protected handleSearchFieldChanges(): void;
19
+ protected handleClickOutside(): void;
20
+ protected clickOutside(): void;
21
+ protected handleSearchFieldValueChange(): void;
22
+ protected handleClickEvent(): void;
23
+ protected handleKeyboardEvent(event: KeyboardEvent): void;
24
+ protected activateSelectedOption(): void;
25
+ protected onDropdownBeforeOpen(): void;
26
+ private updateSearchField;
27
+ private blurSelectSearchField;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent<any>, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent<any>, "odx-autocomplete", never, {}, {}, ["searchField", "options"], ["input[odxAutocompleteControl]", "*"], true, [{ directive: typeof i1.ClickOutsideDirective; inputs: {}; outputs: {}; }]>;
30
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./autocomplete.component";
3
+ import * as i2 from "./directives/autocomplete-search-field.directive";
4
+ import * as i3 from "./pipes/autocomplete-search-filter.pipe";
5
+ import * as i4 from "./components/option/autocomplete-option.component";
6
+ import * as i5 from "@odx/angular";
7
+ export declare class AutocompleteModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AutocompleteModule, never, [typeof i1.AutocompleteComponent, typeof i2.AutocompleteSearchFieldDirective, typeof i3.AutocompleteSearchFilterPipe, typeof i4.AutocompleteOptionComponent], [typeof i5.CoreModule, typeof i1.AutocompleteComponent, typeof i2.AutocompleteSearchFieldDirective, typeof i3.AutocompleteSearchFilterPipe, typeof i4.AutocompleteOptionComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<AutocompleteModule>;
11
+ }
@@ -0,0 +1,3 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { AutocompleteComponent } from './autocomplete.component';
3
+ export declare const AUTOCOMPLETE_CONTROL: InjectionToken<AutocompleteComponent<unknown>>;
@@ -0,0 +1 @@
1
+ export * from './option/autocomplete-option.component';
@@ -0,0 +1,9 @@
1
+ import { OptionControl } from '@odx/angular/cdk/option-control';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AutocompleteOptionComponent<T> extends OptionControl<T> {
4
+ protected readonly autocompleteControl: import("@odx/angular/components/autocomplete").AutocompleteComponent<unknown>;
5
+ setActiveStyles(): void;
6
+ protected selectOption(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteOptionComponent<any>, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteOptionComponent<any>, "odx-autocomplete-option", never, {}, {}, never, ["*"], true, never>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { ReadonlyController } from '@odx/angular';
2
+ import { BaseSearchFieldDirective } from '@odx/angular/cdk/autocomplete-control';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@odx/angular";
5
+ export declare class AutocompleteSearchFieldDirective extends BaseSearchFieldDirective {
6
+ protected readonly readonlyController: ReadonlyController | null;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteSearchFieldDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutocompleteSearchFieldDirective, "input[odxAutocompleteControl]", never, {}, {}, never, never, true, [{ directive: typeof i1.WithTabIndex; inputs: {}; outputs: {}; }]>;
9
+ }
@@ -0,0 +1 @@
1
+ export * from './autocomplete-search-field.directive';
@@ -0,0 +1,12 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { StringifyFn } from '@odx/angular';
3
+ import { BaseSearchFieldDirective, BaseSearchFilterPipe } from '@odx/angular/cdk/autocomplete-control';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AutocompleteSearchFilterPipe extends BaseSearchFilterPipe implements PipeTransform {
6
+ protected readonly hostController: import("@odx/angular/components/autocomplete").AutocompleteComponent<unknown> | null;
7
+ protected get searchField(): BaseSearchFieldDirective | undefined;
8
+ protected queryHandler(query: string): string;
9
+ protected get searchBy(): StringifyFn<unknown>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteSearchFilterPipe, never>;
11
+ static ɵpipe: i0.ɵɵPipeDeclaration<AutocompleteSearchFilterPipe, "odxAutocompleteSearchFilter", true>;
12
+ }
@@ -0,0 +1 @@
1
+ export * from './autocomplete-search-filter.pipe';
@@ -1,2 +1,2 @@
1
- export * from './lib/chip.component';
1
+ export * from './lib/components';
2
2
  export * from './lib/models';
@@ -1,6 +1,6 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import { EventEmitter } from '@angular/core';
3
- import { ChipSize, ChipVariant } from './models';
3
+ import { ChipSize, ChipVariant } from '../../models';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ChipComponent {
6
6
  static ngAcceptInputType_removable: BooleanInput;
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ChipListComponent {
3
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChipListComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChipListComponent, "odx-chip-list", never, {}, {}, never, ["odx-chip-list-row", "odx-autocomplete"], true, never>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ChipListRowComponent {
3
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChipListRowComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChipListRowComponent, "odx-chip-list-row", never, {}, {}, never, ["odx-chip"], true, never>;
6
+ }
@@ -0,0 +1,3 @@
1
+ export * from './chip-list-row/chip-list-row.component';
2
+ export * from './chip-list/chip-list.component';
3
+ export * from './chip/chip.component';
@@ -20,6 +20,7 @@ export declare class DropdownDirective implements AfterViewInit, OnChanges, OnDe
20
20
  content?: DynamicContent | null;
21
21
  disabled: boolean;
22
22
  showLoader: boolean;
23
+ clickOutsideActive: boolean;
23
24
  options?: Partial<DropdownOptions> | null;
24
25
  referenceElement?: HTMLElement | null;
25
26
  triggerElement?: HTMLElement | null;
@@ -38,5 +39,5 @@ export declare class DropdownDirective implements AfterViewInit, OnChanges, OnDe
38
39
  close(event?: Event): void;
39
40
  private createOverlayOptions;
40
41
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDirective, never>;
41
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownDirective, "[odxDropdown]", ["odxDropdown"], { "content": "odxDropdown"; "disabled": "odxDropdownDisabled"; "showLoader": "odxDropdownShowLoader"; "options": "odxDropdownOptions"; "referenceElement": "odxDropdownReferenceElement"; "triggerElement": "odxDropdownTriggerElement"; "host": "odxDropdownHost"; "openTrigger": "odxDropdownOpenTrigger"; "closeTrigger": "odxDropdownCloseTrigger"; }, { "beforeOpen": "odxDropdownBeforeOpen"; "afterOpen": "odxDropdownAfterOpen"; "beforeClose": "odxDropdownBeforeClose"; "afterClose": "odxDropdownAfterClose"; }, never, never, true, never>;
42
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownDirective, "[odxDropdown]", ["odxDropdown"], { "content": "odxDropdown"; "disabled": "odxDropdownDisabled"; "showLoader": "odxDropdownShowLoader"; "clickOutsideActive": "odxDropdownClickOutsideActive"; "options": "odxDropdownOptions"; "referenceElement": "odxDropdownReferenceElement"; "triggerElement": "odxDropdownTriggerElement"; "host": "odxDropdownHost"; "openTrigger": "odxDropdownOpenTrigger"; "closeTrigger": "odxDropdownCloseTrigger"; }, { "beforeOpen": "odxDropdownBeforeOpen"; "afterOpen": "odxDropdownAfterOpen"; "beforeClose": "odxDropdownBeforeClose"; "afterClose": "odxDropdownAfterClose"; }, never, never, true, never>;
42
43
  }
@@ -2,4 +2,5 @@ export type FormFieldVariant = (typeof FormFieldVariant)[keyof typeof FormFieldV
2
2
  export declare const FormFieldVariant: {
3
3
  readonly FULL: "full";
4
4
  readonly SIMPLE: "simple";
5
+ readonly HORIZONTAL: "horizontal";
5
6
  };
@@ -1,2 +1,3 @@
1
1
  export * from './main-menu-button.directive';
2
+ export * from './main-menu-close.directive';
2
3
  export * from './main-menu-item.directive';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class MainMenuCloseDirective {
3
+ private readonly mainMenu;
4
+ protected onClick(): void;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<MainMenuCloseDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MainMenuCloseDirective, "[odxMainMenuClose]", never, {}, {}, never, never, true, never>;
7
+ }
@@ -2,13 +2,12 @@ import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import { RouterLinkActive } from '@angular/router';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@odx/angular";
5
+ import * as i2 from "./main-menu-close.directive";
5
6
  export declare class MainMenuItemDirective {
6
7
  static readonly ngAcceptInputType_isSelected: BooleanInput;
7
- private readonly mainMenu;
8
8
  protected readonly routerLinkActive: RouterLinkActive | null;
9
- readonly element: import("@angular/core").ElementRef<HTMLLinkElement>;
9
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
10
10
  isSelected: boolean;
11
- protected onClick(): void;
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<MainMenuItemDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<MainMenuItemDirective, "[odxMainMenuItem]", never, { "isSelected": "isSelected"; }, {}, never, never, true, [{ directive: typeof i1.WithDisabledState; inputs: {}; outputs: {}; }, { directive: typeof i1.WithTabIndex; inputs: {}; outputs: {}; }]>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MainMenuItemDirective, "[odxMainMenuItem]", never, { "isSelected": "isSelected"; }, {}, never, never, true, [{ directive: typeof i1.WithDisabledState; inputs: {}; outputs: {}; }, { directive: typeof i1.WithTabIndex; inputs: {}; outputs: {}; }, { directive: typeof i2.MainMenuCloseDirective; inputs: {}; outputs: {}; }]>;
14
13
  }
@@ -3,9 +3,10 @@ import * as i1 from "@odx/angular/components/link";
3
3
  import * as i2 from "./main-menu.component";
4
4
  import * as i3 from "./directives/main-menu-item.directive";
5
5
  import * as i4 from "./directives/main-menu-button.directive";
6
- import * as i5 from "@odx/angular";
6
+ import * as i5 from "./directives/main-menu-close.directive";
7
+ import * as i6 from "@odx/angular";
7
8
  export declare class MainMenuModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<MainMenuModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<MainMenuModule, never, [typeof i1.LinkDirective, typeof i2.MainMenuComponent, typeof i3.MainMenuItemDirective, typeof i4.MainMenuButtonDirective], [typeof i5.CoreModule, typeof i1.LinkDirective, typeof i2.MainMenuComponent, typeof i3.MainMenuItemDirective, typeof i4.MainMenuButtonDirective]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MainMenuModule, never, [typeof i1.LinkDirective, typeof i2.MainMenuComponent, typeof i3.MainMenuItemDirective, typeof i4.MainMenuButtonDirective, typeof i5.MainMenuCloseDirective], [typeof i6.CoreModule, typeof i1.LinkDirective, typeof i2.MainMenuComponent, typeof i3.MainMenuItemDirective, typeof i4.MainMenuButtonDirective, typeof i5.MainMenuCloseDirective]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<MainMenuModule>;
11
12
  }
@@ -4,5 +4,5 @@ export declare class MenuItemDirective {
4
4
  readonly element: import("@angular/core").ElementRef<HTMLButtonElement | HTMLLinkElement>;
5
5
  protected selectItem(): void;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<MenuItemDirective, "odx-menu a[odxButton], odx-menu button[odxButton]", never, {}, {}, never, never, true, [{ directive: typeof i1.ListFocusManagerOptionDirective; inputs: {}; outputs: {}; }]>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MenuItemDirective, "a[odxButton][odxMenuItem], button[odxButton][odxMenuItem]", never, {}, {}, never, never, true, [{ directive: typeof i1.ListFocusManagerOptionDirective; inputs: {}; outputs: {}; }]>;
8
8
  }
@@ -1,4 +1,3 @@
1
- export * from './lib/abstract';
2
1
  export * from './lib/components';
3
2
  export * from './lib/directives';
4
3
  export * from './lib/pipes';
@@ -1 +1 @@
1
- export * from './option/option.component';
1
+ export * from './select-option/select-option.component';
@@ -0,0 +1,19 @@
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import { OnInit } from '@angular/core';
3
+ import { OptionControl } from '@odx/angular/cdk/option-control';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SelectOptionComponent<T = unknown> extends OptionControl<T> implements OnInit {
6
+ static ngAcceptInputType_notFoundMessage: BooleanInput;
7
+ private readonly disabledController;
8
+ protected readonly selectControl: import("@odx/angular/components/select").SelectComponent<unknown>;
9
+ isSelected: boolean;
10
+ notFoundMessage: boolean;
11
+ get disabled(): boolean;
12
+ constructor();
13
+ ngOnInit(): void;
14
+ setActiveStyles(): void;
15
+ switchCheckbox(): void;
16
+ protected selectOption(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectOptionComponent<any>, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectOptionComponent<any>, "odx-select-option, odx-option", never, { "notFoundMessage": "notFoundMessage"; }, {}, never, ["*"], true, never>;
19
+ }
@@ -1,13 +1,9 @@
1
+ import { BaseSearchFieldDirective } from '@odx/angular/cdk/autocomplete-control';
1
2
  import { DynamicContent } from '@odx/angular/cdk/dynamic-view';
2
3
  import * as i0 from "@angular/core";
3
- export declare class SelectSearchFieldDirective {
4
- private readonly takeUntilDestroyed;
5
- readonly element: import("@angular/core").ElementRef<HTMLInputElement>;
4
+ export declare class SelectSearchFieldDirective extends BaseSearchFieldDirective {
6
5
  notFoundContent: DynamicContent | null;
7
- valueChange$: import("rxjs").Observable<string>;
8
- reset(): void;
9
- focus(): void;
10
- getValue(): string;
6
+ handleDelete(): void;
11
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectSearchFieldDirective, never>;
12
8
  static ɵdir: i0.ɵɵDirectiveDeclaration<SelectSearchFieldDirective, "input[odxSelectSearchField]", never, { "notFoundContent": "odxSelectSearchField"; }, {}, never, never, true, never>;
13
9
  }
@@ -1,13 +1,13 @@
1
1
  import { PipeTransform } from '@angular/core';
2
- import { StringSearchHandler } from '@odx/angular';
2
+ import { StringifyFn } from '@odx/angular';
3
+ import { BaseSearchFilterPipe } from '@odx/angular/cdk/autocomplete-control';
4
+ import { SelectSearchFieldDirective } from '../directives';
3
5
  import * as i0 from "@angular/core";
4
- export declare class SelectSearchFilterPipe implements PipeTransform {
5
- private readonly searchController;
6
- private readonly stringify;
7
- private readonly stringSearchHandler;
8
- private get searchField();
9
- transform<T>(items: T[] | null, searchHandler?: StringSearchHandler): T[] | null;
10
- private filter;
6
+ export declare class SelectSearchFilterPipe extends BaseSearchFilterPipe implements PipeTransform {
7
+ protected readonly hostController: import("@odx/angular/components/select").SelectComponent<unknown> | null;
8
+ protected get searchField(): SelectSearchFieldDirective | undefined;
9
+ protected queryHandler(query: string): string;
10
+ protected get searchBy(): StringifyFn<unknown>;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectSearchFilterPipe, never>;
12
12
  static ɵpipe: i0.ɵɵPipeDeclaration<SelectSearchFilterPipe, "odxSelectSearchFilter", true>;
13
13
  }
@@ -1,55 +1,40 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
- import { AfterViewInit, EventEmitter, QueryList, TemplateRef } from '@angular/core';
3
- import { IdentityMatcher, StringifyFn } from '@odx/angular';
4
- import { CustomFormControl } from '@odx/angular/cdk/custom-form-control';
5
- import { DropdownDirective } from '@odx/angular/components/dropdown';
6
- import { SelectControl, SelectControlOption } from './abstract';
7
- import { OptionComponent } from './components';
2
+ import { AfterViewInit, QueryList, TemplateRef } from '@angular/core';
3
+ import { IdentityMatcher } from '@odx/angular';
4
+ import { AutocompleteControl } from '@odx/angular/cdk/autocomplete-control';
5
+ import { SelectOptionComponent } from './components';
8
6
  import { SelectSearchFieldDirective } from './directives';
9
7
  import * as i0 from "@angular/core";
10
- export declare class SelectComponent<T = unknown | unknown[]> extends CustomFormControl<T | null> implements AfterViewInit, SelectControl<T> {
11
- static ngAcceptInputType_isLoading: BooleanInput;
8
+ export declare class SelectComponent<T = unknown> extends AutocompleteControl<T | null> implements AfterViewInit {
12
9
  static ngAcceptInputType_multiple: BooleanInput;
13
- private keyManager?;
14
- private readonly changeDetector;
15
10
  protected searchFieldEnabled: boolean;
16
- protected smoothScrollEnabled: boolean;
17
- protected selectedOption: OptionComponent<T> | null;
11
+ protected selectedOption: SelectOptionComponent<T> | null;
18
12
  protected selectedOptionText: string | null;
19
- protected options?: QueryList<OptionComponent<T>>;
20
- protected dropdown?: DropdownDirective;
21
- get hasOptions(): boolean;
22
- readonly element: import("@angular/core").ElementRef<HTMLElement>;
23
- get isOpen(): boolean;
13
+ protected options?: QueryList<SelectOptionComponent<T>>;
14
+ searchField?: SelectSearchFieldDirective;
24
15
  get selectedOptionContent(): TemplateRef<{
25
16
  $implicit: T | null;
26
17
  }> | string | null;
27
18
  placeholder: string;
28
- isLoading: boolean;
29
19
  multiple: boolean;
30
20
  selectedOptionTemplate?: TemplateRef<{
31
21
  $implicit: T;
32
22
  }> | null;
33
- stringify?: StringifyFn<T | null>;
34
23
  identityMatcher: IdentityMatcher<T | null>;
35
- change: EventEmitter<void>;
36
- searchField?: SelectSearchFieldDirective;
37
- constructor();
38
24
  ngAfterViewInit(): void;
39
25
  registerOnChange(fn: (value: T | null) => void): void;
40
- selectOption(option?: SelectControlOption<T | T[]> | null): void;
41
- isOptionSelected(option: SelectControlOption<T | T[]>): boolean;
42
- scrollOptionIntoView({ element }: SelectControlOption<T>): void;
43
- protected openDropdown(event: KeyboardEvent): void;
44
- protected handleFocusOut(event: FocusEvent): void;
26
+ selectOption(option?: SelectOptionComponent<T | T[]> | null): void;
27
+ isOptionSelected(option: SelectOptionComponent<T | T[]>): boolean;
28
+ protected initKeyManager(options: QueryList<SelectOptionComponent<T>>): void;
29
+ protected handleQueryListOption(options: QueryList<SelectOptionComponent<T>>): void;
30
+ protected handleSearchFieldChanges(): void;
31
+ protected handleControllerEvent(event: KeyboardEvent): void;
45
32
  protected activateSelectedOption(): void;
46
33
  protected onDropdownOpen(): void;
47
34
  protected onDropdownClose(): void;
48
35
  protected onDropdownClosed(): void;
49
- protected disableSmoothScroll(): void;
50
- protected enableSmoothScroll(): void;
51
36
  private updateSelectedOption;
52
37
  private focusSelectSearchField;
53
38
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent<any>, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "odx-select", never, { "placeholder": "placeholder"; "isLoading": "isLoading"; "multiple": "multiple"; "selectedOptionTemplate": "selectedOptionTemplate"; "stringify": "stringify"; "identityMatcher": "identityMatcher"; }, { "change": "change"; }, ["searchField", "options"], ["[odxSelectSearchField]", "*"], true, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "odx-select", never, { "placeholder": "placeholder"; "multiple": "multiple"; "selectedOptionTemplate": "selectedOptionTemplate"; "identityMatcher": "identityMatcher"; }, {}, ["searchField", "options"], ["[odxSelectSearchField]", "*"], true, never>;
55
40
  }
@@ -2,10 +2,10 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./select.component";
3
3
  import * as i2 from "./directives/select-search-field.directive";
4
4
  import * as i3 from "./pipes/select-search-filter.pipe";
5
- import * as i4 from "./components/option/option.component";
5
+ import * as i4 from "./components/select-option/select-option.component";
6
6
  import * as i5 from "@odx/angular";
7
7
  export declare class SelectModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, never, [typeof i1.SelectComponent, typeof i2.SelectSearchFieldDirective, typeof i3.SelectSearchFilterPipe, typeof i4.OptionComponent], [typeof i5.CoreModule, typeof i1.SelectComponent, typeof i2.SelectSearchFieldDirective, typeof i3.SelectSearchFilterPipe, typeof i4.OptionComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, never, [typeof i1.SelectComponent, typeof i2.SelectSearchFieldDirective, typeof i3.SelectSearchFilterPipe, typeof i4.SelectOptionComponent], [typeof i5.CoreModule, typeof i1.SelectComponent, typeof i2.SelectSearchFieldDirective, typeof i3.SelectSearchFilterPipe, typeof i4.SelectOptionComponent]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
11
11
  }
@@ -1,3 +1,3 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { SelectControl } from './abstract';
3
- export declare const SELECT_CONTROL: InjectionToken<SelectControl<unknown>>;
2
+ import { SelectComponent } from './select.component';
3
+ export declare const SELECT_CONTROL: InjectionToken<SelectComponent<unknown>>;
@@ -0,0 +1,3 @@
1
+ # @odx/angular/components/table
2
+
3
+ Secondary entry point of `@odx/angular`. It can be used by importing from `@odx/angular/components/table`.
@@ -0,0 +1,5 @@
1
+ export * from './lib/components';
2
+ export * from './lib/directives';
3
+ export * from './lib/models';
4
+ export * from './lib/table.component';
5
+ export * from './lib/table.module';
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CheckCellComponent {
4
+ private readonly table;
5
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
6
+ checked: boolean;
7
+ checkedChange: EventEmitter<boolean>;
8
+ update(e: boolean): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckCellComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckCellComponent, "td[odx-table-cell][checked]", never, { "checked": "checked"; }, { "checkedChange": "checkedChange"; }, never, never, true, never>;
11
+ }
@@ -0,0 +1,28 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormControl, FormGroup } from '@angular/forms';
3
+ import { SortStatus, TableHeaderCell } from '../../interfaces';
4
+ import { TableSortVariant } from '../../models/sort-variant';
5
+ import * as i0 from "@angular/core";
6
+ export declare class HeaderTitleComponent implements OnInit {
7
+ private readonly table;
8
+ private readonly cdr;
9
+ private readonly takeUntilDestroyed;
10
+ private sortStatus;
11
+ item: TableHeaderCell;
12
+ test: boolean;
13
+ checkForm: FormGroup<{
14
+ check: FormControl<boolean | null>;
15
+ }>;
16
+ get getSortStatus(): SortStatus;
17
+ get sortIcon(): TableSortVariant;
18
+ sortColumn(): void;
19
+ clearSortStatus(): void;
20
+ get selected(): number;
21
+ check(): void;
22
+ get checked(): boolean;
23
+ ngOnInit(): void;
24
+ private checkBoxListener;
25
+ get indeterminate(): boolean;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeaderTitleComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderTitleComponent, "th[odxHeaderTitle]", never, { "item": "item"; }, {}, never, ["odx-form-field"], true, never>;
28
+ }
@@ -0,0 +1,2 @@
1
+ export * from './check-cell/check-cell.component';
2
+ export * from './header-title/header-title.component';
@@ -0,0 +1,2 @@
1
+ export * from './table-cell.directive';
2
+ export * from './table-row.directive';
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TableCellDirective {
3
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDirective, "td[odx-table-cell]", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TableRowDirective {
3
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDirective, "tr[odx-table-row]", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,3 @@
1
+ export * from './body-cell.d';
2
+ export * from './header-cell.d';
3
+ export * from './sort-status.d';
@@ -0,0 +1,2 @@
1
+ export * from './sort-variant';
2
+ export * from './table-variant';
@@ -0,0 +1,6 @@
1
+ export type TableSortVariant = typeof TableSortVariant[keyof typeof TableSortVariant];
2
+ export declare const TableSortVariant: {
3
+ readonly UNSORTED: "unsorted";
4
+ readonly ASC: "asc";
5
+ readonly DESC: "desc";
6
+ };