@odx/angular 1.0.3 → 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.
- package/cdk/autocomplete-control/README.md +3 -0
- package/cdk/autocomplete-control/index.d.ts +3 -0
- package/cdk/autocomplete-control/lib/abstract/base-search-field.directive.d.ts +13 -0
- package/cdk/autocomplete-control/lib/abstract/index.d.ts +1 -0
- package/cdk/autocomplete-control/lib/autocomplete-control.d.ts +39 -0
- package/cdk/autocomplete-control/lib/pipes/base-search-filter-pipe.d.ts +11 -0
- package/cdk/autocomplete-control/lib/pipes/index.d.ts +1 -0
- package/cdk/option-control/README.md +3 -0
- package/cdk/option-control/index.d.ts +1 -0
- package/cdk/option-control/lib/option-control.d.ts +17 -0
- package/components/autocomplete/README.md +3 -0
- package/components/autocomplete/index.d.ts +6 -0
- package/components/autocomplete/lib/autocomplete.component.d.ts +30 -0
- package/components/autocomplete/lib/autocomplete.module.d.ts +11 -0
- package/components/autocomplete/lib/autocomplete.tokens.d.ts +3 -0
- package/components/autocomplete/lib/components/index.d.ts +1 -0
- package/components/autocomplete/lib/components/option/autocomplete-option.component.d.ts +9 -0
- package/components/autocomplete/lib/directives/autocomplete-search-field.directive.d.ts +9 -0
- package/components/autocomplete/lib/directives/index.d.ts +1 -0
- package/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.d.ts +12 -0
- package/components/autocomplete/lib/pipes/index.d.ts +1 -0
- package/components/button/lib/button.component.d.ts +1 -1
- package/components/chip/index.d.ts +1 -1
- package/components/chip/lib/{chip.component.d.ts → components/chip/chip.component.d.ts} +1 -1
- package/components/chip/lib/components/chip-list/chip-list.component.d.ts +6 -0
- package/components/chip/lib/components/chip-list-row/chip-list-row.component.d.ts +6 -0
- package/components/chip/lib/components/index.d.ts +3 -0
- package/components/dropdown/lib/dropdown.directive.d.ts +2 -1
- package/components/form-field/lib/models/form-field-variant.d.ts +1 -0
- package/components/main-menu/lib/directives/index.d.ts +1 -0
- package/components/main-menu/lib/directives/main-menu-close.directive.d.ts +7 -0
- package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +3 -4
- package/components/main-menu/lib/main-menu.module.d.ts +3 -2
- package/components/menu/lib/directives/menu-item.directive.d.ts +1 -1
- package/components/select/index.d.ts +0 -1
- package/components/select/lib/components/index.d.ts +1 -1
- package/components/select/lib/components/select-option/select-option.component.d.ts +19 -0
- package/components/select/lib/directives/select-search-field.directive.d.ts +3 -7
- package/components/select/lib/pipes/select-search-filter.pipe.d.ts +8 -8
- package/components/select/lib/select.component.d.ts +15 -30
- package/components/select/lib/select.module.d.ts +2 -2
- package/components/select/lib/select.tokens.d.ts +2 -2
- package/components/table/README.md +3 -0
- package/components/table/index.d.ts +5 -0
- package/components/table/lib/components/check-cell/check-cell.component.d.ts +11 -0
- package/components/table/lib/components/header-title/header-title.component.d.ts +28 -0
- package/components/table/lib/components/index.d.ts +2 -0
- package/components/table/lib/directives/index.d.ts +2 -0
- package/components/table/lib/directives/table-cell.directive.d.ts +6 -0
- package/components/table/lib/directives/table-row.directive.d.ts +6 -0
- package/components/table/lib/interfaces/index.d.ts +3 -0
- package/components/table/lib/models/index.d.ts +2 -0
- package/components/table/lib/models/sort-variant.d.ts +6 -0
- package/components/table/lib/models/table-variant.d.ts +5 -0
- package/components/table/lib/table.component.d.ts +29 -0
- package/components/table/lib/table.config.d.ts +4 -0
- package/components/table/lib/table.module.d.ts +11 -0
- package/components/wizard/README.md +3 -0
- package/components/wizard/index.d.ts +3 -0
- package/components/wizard/lib/components/index.d.ts +1 -0
- package/components/wizard/lib/components/wizard-step/wizard-step.component.d.ts +17 -0
- package/components/wizard/lib/wizard.component.d.ts +31 -0
- package/components/wizard/lib/wizard.module.d.ts +9 -0
- package/esm2020/cdk/autocomplete-control/index.mjs +4 -0
- package/esm2020/cdk/autocomplete-control/lib/abstract/base-search-field.directive.mjs +38 -0
- package/esm2020/cdk/autocomplete-control/lib/abstract/index.mjs +2 -0
- package/esm2020/cdk/autocomplete-control/lib/autocomplete-control.mjs +90 -0
- package/esm2020/cdk/autocomplete-control/lib/pipes/base-search-filter-pipe.mjs +32 -0
- package/esm2020/cdk/autocomplete-control/lib/pipes/index.mjs +2 -0
- package/esm2020/cdk/autocomplete-control/odx-angular-cdk-autocomplete-control.mjs +5 -0
- package/esm2020/cdk/option-control/index.mjs +2 -0
- package/esm2020/cdk/option-control/lib/option-control.mjs +47 -0
- package/esm2020/cdk/option-control/odx-angular-cdk-option-control.mjs +5 -0
- package/esm2020/components/autocomplete/index.mjs +7 -0
- package/esm2020/components/autocomplete/lib/autocomplete.component.mjs +162 -0
- package/esm2020/components/autocomplete/lib/autocomplete.module.mjs +21 -0
- package/esm2020/components/autocomplete/lib/autocomplete.tokens.mjs +3 -0
- package/esm2020/components/autocomplete/lib/components/index.mjs +2 -0
- package/esm2020/components/autocomplete/lib/components/option/autocomplete-option.component.mjs +33 -0
- package/esm2020/components/autocomplete/lib/directives/autocomplete-search-field.directive.mjs +26 -0
- package/esm2020/components/autocomplete/lib/directives/index.mjs +2 -0
- package/esm2020/components/autocomplete/lib/pipes/autocomplete-search-filter.pipe.mjs +30 -0
- package/esm2020/components/autocomplete/lib/pipes/index.mjs +2 -0
- package/esm2020/components/autocomplete/odx-angular-components-autocomplete.mjs +5 -0
- package/esm2020/components/button/lib/button.component.mjs +3 -3
- package/esm2020/components/card/lib/card.component.mjs +2 -2
- package/esm2020/components/chip/index.mjs +2 -2
- package/esm2020/components/chip/lib/{chip.component.mjs → components/chip/chip.component.mjs} +2 -2
- package/esm2020/components/chip/lib/components/chip-list/chip-list.component.mjs +21 -0
- package/esm2020/components/chip/lib/components/chip-list-row/chip-list-row.component.mjs +21 -0
- package/esm2020/components/chip/lib/components/index.mjs +4 -0
- package/esm2020/components/dropdown/lib/dropdown.component.mjs +3 -3
- package/esm2020/components/dropdown/lib/dropdown.directive.mjs +10 -2
- package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +3 -3
- package/esm2020/components/form-field/lib/form-field.component.mjs +3 -3
- package/esm2020/components/form-field/lib/form-field.service.mjs +2 -2
- package/esm2020/components/form-field/lib/models/form-field-variant.mjs +2 -1
- package/esm2020/components/main-menu/lib/directives/index.mjs +2 -1
- package/esm2020/components/main-menu/lib/directives/main-menu-close.directive.mjs +24 -0
- package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +6 -12
- package/esm2020/components/main-menu/lib/main-menu.module.mjs +4 -4
- package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +3 -3
- package/esm2020/components/select/index.mjs +1 -2
- package/esm2020/components/select/lib/components/index.mjs +2 -2
- package/esm2020/components/select/lib/components/select-option/select-option.component.mjs +75 -0
- package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +9 -21
- package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +12 -33
- package/esm2020/components/select/lib/select.component.mjs +44 -86
- package/esm2020/components/select/lib/select.module.mjs +5 -5
- package/esm2020/components/select/lib/select.tokens.mjs +2 -2
- package/esm2020/components/table/index.mjs +6 -0
- package/esm2020/components/table/lib/components/check-cell/check-cell.component.mjs +29 -0
- package/esm2020/components/table/lib/components/header-title/header-title.component.mjs +86 -0
- package/esm2020/components/table/lib/components/index.mjs +3 -0
- package/esm2020/components/table/lib/directives/index.mjs +3 -0
- package/esm2020/components/table/lib/directives/table-cell.directive.mjs +27 -0
- package/esm2020/components/table/lib/directives/table-row.directive.mjs +28 -0
- package/esm2020/components/table/lib/interfaces/index.mjs +4 -0
- package/esm2020/components/table/lib/models/index.mjs +3 -0
- package/esm2020/components/table/lib/models/sort-variant.mjs +6 -0
- package/esm2020/components/table/lib/models/table-variant.mjs +5 -0
- package/esm2020/components/table/lib/table.component.mjs +86 -0
- package/esm2020/components/table/lib/table.config.mjs +3 -0
- package/esm2020/components/table/lib/table.module.mjs +21 -0
- package/esm2020/components/table/odx-angular-components-table.mjs +5 -0
- package/esm2020/components/wizard/index.mjs +4 -0
- package/esm2020/components/wizard/lib/components/index.mjs +2 -0
- package/esm2020/components/wizard/lib/components/wizard-step/wizard-step.component.mjs +73 -0
- package/esm2020/components/wizard/lib/wizard.component.mjs +155 -0
- package/esm2020/components/wizard/lib/wizard.module.mjs +19 -0
- package/esm2020/components/wizard/odx-angular-components-wizard.mjs +5 -0
- package/esm2020/lib/services/window-ref.mjs +4 -1
- package/fesm2015/odx-angular-cdk-autocomplete-control.mjs +164 -0
- package/fesm2015/odx-angular-cdk-autocomplete-control.mjs.map +1 -0
- package/fesm2015/odx-angular-cdk-option-control.mjs +55 -0
- package/fesm2015/odx-angular-cdk-option-control.mjs.map +1 -0
- package/fesm2015/odx-angular-components-autocomplete.mjs +263 -0
- package/fesm2015/odx-angular-components-autocomplete.mjs.map +1 -0
- package/fesm2015/odx-angular-components-button.mjs +2 -2
- package/fesm2015/odx-angular-components-button.mjs.map +1 -1
- package/fesm2015/odx-angular-components-card.mjs +1 -1
- package/fesm2015/odx-angular-components-card.mjs.map +1 -1
- package/fesm2015/odx-angular-components-chip.mjs +35 -5
- package/fesm2015/odx-angular-components-chip.mjs.map +1 -1
- package/fesm2015/odx-angular-components-dropdown.mjs +11 -3
- package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -1
- package/fesm2015/odx-angular-components-form-field.mjs +5 -4
- package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
- package/fesm2015/odx-angular-components-main-menu.mjs +28 -14
- package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
- package/fesm2015/odx-angular-components-menu.mjs +2 -2
- package/fesm2015/odx-angular-components-menu.mjs.map +1 -1
- package/fesm2015/odx-angular-components-select.mjs +80 -175
- package/fesm2015/odx-angular-components-select.mjs.map +1 -1
- package/fesm2015/odx-angular-components-table.mjs +264 -0
- package/fesm2015/odx-angular-components-table.mjs.map +1 -0
- package/fesm2015/odx-angular-components-wizard.mjs +242 -0
- package/fesm2015/odx-angular-components-wizard.mjs.map +1 -0
- package/fesm2015/odx-angular.mjs +3 -0
- package/fesm2015/odx-angular.mjs.map +1 -1
- package/fesm2020/odx-angular-cdk-autocomplete-control.mjs +160 -0
- package/fesm2020/odx-angular-cdk-autocomplete-control.mjs.map +1 -0
- package/fesm2020/odx-angular-cdk-option-control.mjs +54 -0
- package/fesm2020/odx-angular-cdk-option-control.mjs.map +1 -0
- package/fesm2020/odx-angular-components-autocomplete.mjs +254 -0
- package/fesm2020/odx-angular-components-autocomplete.mjs.map +1 -0
- package/fesm2020/odx-angular-components-button.mjs +2 -2
- package/fesm2020/odx-angular-components-button.mjs.map +1 -1
- package/fesm2020/odx-angular-components-card.mjs +1 -1
- package/fesm2020/odx-angular-components-card.mjs.map +1 -1
- package/fesm2020/odx-angular-components-chip.mjs +35 -5
- package/fesm2020/odx-angular-components-chip.mjs.map +1 -1
- package/fesm2020/odx-angular-components-dropdown.mjs +11 -3
- package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -1
- package/fesm2020/odx-angular-components-form-field.mjs +5 -4
- package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
- package/fesm2020/odx-angular-components-main-menu.mjs +28 -14
- package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
- package/fesm2020/odx-angular-components-menu.mjs +2 -2
- package/fesm2020/odx-angular-components-menu.mjs.map +1 -1
- package/fesm2020/odx-angular-components-select.mjs +77 -170
- package/fesm2020/odx-angular-components-select.mjs.map +1 -1
- package/fesm2020/odx-angular-components-table.mjs +259 -0
- package/fesm2020/odx-angular-components-table.mjs.map +1 -0
- package/fesm2020/odx-angular-components-wizard.mjs +239 -0
- package/fesm2020/odx-angular-components-wizard.mjs.map +1 -0
- package/fesm2020/odx-angular.mjs +3 -0
- package/fesm2020/odx-angular.mjs.map +1 -1
- package/lib/services/window-ref.d.ts +1 -0
- package/package.json +48 -8
- package/components/select/lib/abstract/index.d.ts +0 -2
- package/components/select/lib/abstract/select-control-option.d.ts +0 -9
- package/components/select/lib/abstract/select-control.d.ts +0 -12
- package/components/select/lib/components/option/option.component.d.ts +0 -26
- package/esm2020/components/select/lib/abstract/index.mjs +0 -3
- package/esm2020/components/select/lib/abstract/select-control-option.mjs +0 -2
- package/esm2020/components/select/lib/abstract/select-control.mjs +0 -2
- package/esm2020/components/select/lib/components/option/option.component.mjs +0 -95
|
@@ -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 @@
|
|
|
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,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 @@
|
|
|
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';
|
|
@@ -7,5 +7,5 @@ export declare class ButtonComponent {
|
|
|
7
7
|
variant?: ButtonVariant | null;
|
|
8
8
|
size?: ButtonSize | null;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[odxButton], a[odxButton]", never, { "variant": "variant"; "size": "size"; }, {}, never, ["odx-icon[
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[odxButton], a[odxButton]", never, { "variant": "variant"; "size": "size"; }, {}, never, ["odx-icon:not([alignRight])", "*", "odx-icon[alignRight]"], true, [{ directive: typeof i1.WithDisabledState; inputs: {}; outputs: {}; }]>;
|
|
11
11
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './lib/
|
|
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 '
|
|
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
|
+
}
|
|
@@ -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
|
}
|
|
@@ -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<
|
|
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 "
|
|
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
|
|
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, "
|
|
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 +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
|
-
|
|
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 {
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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,
|
|
3
|
-
import { IdentityMatcher
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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
|
|
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
|
|
17
|
-
protected selectedOption: OptionComponent<T> | null;
|
|
11
|
+
protected selectedOption: SelectOptionComponent<T> | null;
|
|
18
12
|
protected selectedOptionText: string | null;
|
|
19
|
-
protected options?: QueryList<
|
|
20
|
-
|
|
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?:
|
|
41
|
-
isOptionSelected(option:
|
|
42
|
-
|
|
43
|
-
protected
|
|
44
|
-
protected
|
|
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"; "
|
|
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.
|
|
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 {
|
|
3
|
-
export declare const SELECT_CONTROL: InjectionToken<
|
|
2
|
+
import { SelectComponent } from './select.component';
|
|
3
|
+
export declare const SELECT_CONTROL: InjectionToken<SelectComponent<unknown>>;
|
|
@@ -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,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
|
+
}
|