@haloduck/ui 2.0.40 → 2.0.41
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/fesm2022/haloduck-ui.mjs +123 -31
- package/fesm2022/haloduck-ui.mjs.map +1 -1
- package/index.d.ts +7 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ declare class SelectDropdownComponent {
|
|
|
67
67
|
protected _selectedOptionIds: string[];
|
|
68
68
|
protected manualInputValues: Record<string, string>;
|
|
69
69
|
protected activeManualKey: string | null;
|
|
70
|
+
protected isComposing: boolean;
|
|
70
71
|
selectedChange: EventEmitter<string[]>;
|
|
71
72
|
closeDropdown: EventEmitter<void>;
|
|
72
73
|
useFilter: boolean;
|
|
@@ -79,11 +80,16 @@ declare class SelectDropdownComponent {
|
|
|
79
80
|
get selectedOptions(): string[] | null;
|
|
80
81
|
onFilterInput(event: Event): void;
|
|
81
82
|
onToggleOption(option: Option): void;
|
|
83
|
+
onEditManualInput(option: Option): void;
|
|
84
|
+
getManualInputDisplayValue(option: Option): string;
|
|
82
85
|
isOptionSelected(option: Option): boolean;
|
|
83
86
|
private isIdExclusive;
|
|
84
87
|
private getManualKey;
|
|
85
88
|
private seedManualInputs;
|
|
86
89
|
onManualInputChange(option: Option, value: string): void;
|
|
90
|
+
onCompositionStart(): void;
|
|
91
|
+
onCompositionEnd(option: Option, event: Event): void;
|
|
92
|
+
onManualInputKeydown(option: Option, event: KeyboardEvent): void;
|
|
87
93
|
onManualInputConfirm(option: Option): void;
|
|
88
94
|
onManualInputBlur(option: Option): void;
|
|
89
95
|
private emitSelectedChange;
|
|
@@ -147,6 +153,7 @@ declare class SelectComponent implements ControlValueAccessor, AfterViewInit, On
|
|
|
147
153
|
onManualInputChange(option: Option, value: string): void;
|
|
148
154
|
onCompositionStart(): void;
|
|
149
155
|
onCompositionEnd(option: Option, event: Event): void;
|
|
156
|
+
onManualInputKeydown(option: Option, event: KeyboardEvent): void;
|
|
150
157
|
onManualInputBlur(option: Option): void;
|
|
151
158
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
152
159
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "haloduck-select", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "asButton": { "alias": "asButton"; "required": false; }; "useIcon": { "alias": "useIcon"; "required": false; }; "useFilter": { "alias": "useFilter"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "atLeastOne": { "alias": "atLeastOne"; "required": false; }; "showAll": { "alias": "showAll"; "required": false; }; "showAllItems": { "alias": "showAllItems"; "required": false; }; "options": { "alias": "options"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, ["*", "buttonIcon"], true, never>;
|