tecnualng 21.1.9 → 21.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/tecnualng.mjs +86 -36
- package/fesm2022/tecnualng.mjs.map +1 -1
- package/package.json +1 -1
- package/types/tecnualng.d.ts +6 -1
package/package.json
CHANGED
package/types/tecnualng.d.ts
CHANGED
|
@@ -426,10 +426,11 @@ interface SelectOption {
|
|
|
426
426
|
label: string;
|
|
427
427
|
disabled?: boolean;
|
|
428
428
|
}
|
|
429
|
-
declare class TngSelectDirective implements AfterViewInit, OnDestroy {
|
|
429
|
+
declare class TngSelectDirective implements AfterViewInit, OnDestroy, OnInit {
|
|
430
430
|
private el;
|
|
431
431
|
private viewContainerRef;
|
|
432
432
|
ngControl: NgControl | null;
|
|
433
|
+
private destroyRef;
|
|
433
434
|
enableMulti: _angular_core.InputSignal<boolean>;
|
|
434
435
|
multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
435
436
|
enableSearch: _angular_core.InputSignal<boolean>;
|
|
@@ -451,6 +452,8 @@ declare class TngSelectDirective implements AfterViewInit, OnDestroy {
|
|
|
451
452
|
selectedOptions: _angular_core.Signal<SelectOption[]>;
|
|
452
453
|
displayText: _angular_core.Signal<string>;
|
|
453
454
|
constructor();
|
|
455
|
+
ngOnInit(): void;
|
|
456
|
+
private updateSelectionFromValue;
|
|
454
457
|
ngAfterViewInit(): void;
|
|
455
458
|
ngOnDestroy(): void;
|
|
456
459
|
onClick(event: Event): void;
|
|
@@ -486,6 +489,7 @@ declare class TngSelectPanelComponent {
|
|
|
486
489
|
}
|
|
487
490
|
|
|
488
491
|
declare class TngSelectComponent implements ControlValueAccessor {
|
|
492
|
+
private ngControl;
|
|
489
493
|
label: _angular_core.InputSignal<string>;
|
|
490
494
|
options: _angular_core.InputSignal<SelectOption[]>;
|
|
491
495
|
enableMulti: _angular_core.InputSignal<boolean>;
|
|
@@ -503,6 +507,7 @@ declare class TngSelectComponent implements ControlValueAccessor {
|
|
|
503
507
|
private onChange;
|
|
504
508
|
private onTouched;
|
|
505
509
|
constructor();
|
|
510
|
+
onSelectionChange(newValues: any[]): void;
|
|
506
511
|
onDisplayClick(event: Event): void;
|
|
507
512
|
writeValue(obj: any): void;
|
|
508
513
|
registerOnChange(fn: any): void;
|