@wizishop/angular-components 14.3.15 → 14.3.16
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/esm2020/lib/components/selects/option/select-option.directive.mjs +14 -4
- package/esm2020/lib/components/selects/select-test/select.component.mjs +37 -8
- package/esm2020/lib/components/selects/select-test/select.directive.mjs +18 -6
- package/esm2020/lib/components/selects/select-test/value-change.service.mjs +4 -8
- package/fesm2015/wizishop-angular-components.mjs +66 -19
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +66 -19
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/selects/option/select-option.directive.d.ts +3 -1
- package/lib/components/selects/select-test/select.component.d.ts +4 -1
- package/lib/components/selects/select-test/select.directive.d.ts +3 -1
- package/package.json +1 -1
- package/wizishop-angular-components-14.3.16.tgz +0 -0
- package/wizishop-angular-components-14.3.15.tgz +0 -0
|
@@ -4,6 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class SelectOptionDirective<TOptionValue> implements OptionSelectionHandler<TOptionValue> {
|
|
5
5
|
private contentRef;
|
|
6
6
|
onClick(): void;
|
|
7
|
+
get isOptionSelected(): boolean;
|
|
8
|
+
cursor: string;
|
|
7
9
|
disabled: boolean;
|
|
8
10
|
value: TOptionValue;
|
|
9
11
|
selected: boolean;
|
|
@@ -16,5 +18,5 @@ export declare class SelectOptionDirective<TOptionValue> implements OptionSelect
|
|
|
16
18
|
setSelected(selected: boolean): void;
|
|
17
19
|
getContentRef(): ElementRef<any>;
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectOptionDirective<any>, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectOptionDirective<any>, "[
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectOptionDirective<any>, "[wacOption]", never, { "disabled": "disabled"; "value": "value"; "selected": "selected"; }, { "selectedChange": "selectedChange"; }, never, never, false>;
|
|
20
22
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ValueChangeService } from './value-change.service';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { SelectSearchTriggerComponent } from '../select-search-trigger/select-search-trigger.component';
|
|
@@ -10,6 +10,7 @@ export declare class SelectTestComponent<TOptionValue> extends SelectDirective<T
|
|
|
10
10
|
role: string;
|
|
11
11
|
customSearchTrigger: SelectSearchTriggerComponent;
|
|
12
12
|
label: LabelComponent;
|
|
13
|
+
selectHeader: ElementRef;
|
|
13
14
|
/** Whether the component is required. */
|
|
14
15
|
get required(): boolean;
|
|
15
16
|
set required(value: boolean);
|
|
@@ -23,6 +24,7 @@ export declare class SelectTestComponent<TOptionValue> extends SelectDirective<T
|
|
|
23
24
|
_openPanel: boolean;
|
|
24
25
|
openPanelChange: EventEmitter<boolean>;
|
|
25
26
|
enableSearch: boolean;
|
|
27
|
+
tabIndex: number;
|
|
26
28
|
isDestroyed$: Subject<void>;
|
|
27
29
|
private isKeyBoardAction;
|
|
28
30
|
constructor(valueChangeService: ValueChangeService<TOptionValue>);
|
|
@@ -32,6 +34,7 @@ export declare class SelectTestComponent<TOptionValue> extends SelectDirective<T
|
|
|
32
34
|
onTogglePanel(): void;
|
|
33
35
|
onClosePanel(): void;
|
|
34
36
|
onKeydown(event: KeyboardEvent): void;
|
|
37
|
+
handleKeyboardActionWithSearch(event: KeyboardEvent): boolean;
|
|
35
38
|
/** Handles keyboard events while the select is closed. */
|
|
36
39
|
private _handleClosedKeydown;
|
|
37
40
|
/** Handles keyboard events when the selected is open. */
|
|
@@ -6,6 +6,7 @@ import { ValueChangeService } from './value-change.service';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SelectDirective<TOptionValue> implements OnInit, ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
8
8
|
protected valueChangeService: ValueChangeService<TOptionValue>;
|
|
9
|
+
get tabindex(): number;
|
|
9
10
|
/** Handles all keydown events on the select. */
|
|
10
11
|
onKeydown(event: KeyboardEvent): void;
|
|
11
12
|
optionChildren: QueryList<OptionSelectionHandler<TOptionValue>>;
|
|
@@ -14,6 +15,7 @@ export declare class SelectDirective<TOptionValue> implements OnInit, ControlVal
|
|
|
14
15
|
_value: TOptionValue;
|
|
15
16
|
valueChange: EventEmitter<TOptionValue>;
|
|
16
17
|
disabled: boolean;
|
|
18
|
+
tabIndex: number;
|
|
17
19
|
isDestroyed$: Subject<void>;
|
|
18
20
|
constructor(valueChangeService: ValueChangeService<TOptionValue>);
|
|
19
21
|
ngOnInit(): void;
|
|
@@ -29,5 +31,5 @@ export declare class SelectDirective<TOptionValue> implements OnInit, ControlVal
|
|
|
29
31
|
registerOnTouched(fn: any): void;
|
|
30
32
|
ngOnDestroy(): void;
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectDirective<any>, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectDirective<any>, "[wacSelect]", never, { "value": "value"; "disabled": "disabled"; }, { "valueChange": "valueChange"; }, ["optionChildren"], never, false>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectDirective<any>, "[wacSelect]", never, { "value": "value"; "disabled": "disabled"; "tabIndex": "tabIndex"; }, { "valueChange": "valueChange"; }, ["optionChildren"], never, false>;
|
|
33
35
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|