ng-tailwind 7.0.16 → 7.0.17
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/components/forms/reactive/ngt-reactive-checkbox/ngt-reactive-checkbox.component.d.ts +1 -1
- package/components/forms/reactive/ngt-reactive-radio-button/ngt-reactive-radio-button.component.d.ts +1 -0
- package/fesm2022/ng-tailwind.mjs +8 -0
- package/fesm2022/ng-tailwind.mjs.map +1 -1
- package/package.json +1 -1
package/components/forms/reactive/ngt-reactive-checkbox/ngt-reactive-checkbox.component.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare class NgtReactiveCheckboxComponent extends NgtControlValueAccesso
|
|
|
45
45
|
ngtStyle: NgtStylizableService;
|
|
46
46
|
constructor(ngtStylizableDirective: NgtStylizableDirective, ngtForm: NgtReactiveFormComponent, ngtSection: NgtSectionComponent, ngtModal: NgtModalComponent, injector: Injector);
|
|
47
47
|
ngAfterViewInit(): void;
|
|
48
|
-
change(value: boolean): void;
|
|
48
|
+
change(value: boolean | number | string): void;
|
|
49
49
|
onNativeChange(): void;
|
|
50
50
|
private setupNgtStylizable;
|
|
51
51
|
private setNativeValue;
|
package/components/forms/reactive/ngt-reactive-radio-button/ngt-reactive-radio-button.component.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export declare class NgtReactiveRadioButtonComponent extends NgtControlValueAcce
|
|
|
48
48
|
ngOnDestroy(): void;
|
|
49
49
|
onNativeChange(): void;
|
|
50
50
|
change(value: boolean): void;
|
|
51
|
+
markAsActive(): void;
|
|
51
52
|
private setupSubscriptions;
|
|
52
53
|
private setupNgtStylizable;
|
|
53
54
|
private setNativeValue;
|
package/fesm2022/ng-tailwind.mjs
CHANGED
|
@@ -11396,6 +11396,10 @@ class NgtReactiveCheckboxComponent extends NgtControlValueAccessor {
|
|
|
11396
11396
|
}
|
|
11397
11397
|
change(value) {
|
|
11398
11398
|
if (this.hasChangeBetweenValues()) {
|
|
11399
|
+
if (value == 0) {
|
|
11400
|
+
value = false;
|
|
11401
|
+
this.value = false;
|
|
11402
|
+
}
|
|
11399
11403
|
this.setNativeValue(value);
|
|
11400
11404
|
}
|
|
11401
11405
|
}
|
|
@@ -11571,6 +11575,10 @@ class NgtReactiveRadioButtonComponent extends NgtControlValueAccessor {
|
|
|
11571
11575
|
this.setNativeValue(value);
|
|
11572
11576
|
}
|
|
11573
11577
|
}
|
|
11578
|
+
markAsActive() {
|
|
11579
|
+
this.change(true);
|
|
11580
|
+
this.onNativeChange();
|
|
11581
|
+
}
|
|
11574
11582
|
setupSubscriptions() {
|
|
11575
11583
|
if (this.container) {
|
|
11576
11584
|
const onActiveRadioButtonChange = this.container.onActiveRadioButtonChange
|