AAE-39612 Registering click event on form widget twice (#11323)

* AAE-39612 Remove click from base and add it directly to the implementations

* AAE-39612 Add unit tests for the Text Widgets

* AAE-39612 Add unit tests for the Date Widgets

* AAE-39612 Add unit tests for the UI Widgets

* AAE-39612 Add unit tests for the People Widgets

* AAE-39612 Add unit tests for the Display Text Widgets

* AAE-39612 Add unit tests for the Base Viewer Widget

* AAE-39612 Add unit tests for the Object View Widgets

* AAE-39612 Add unit tests for the File Upload Widgets

* AAE-39612 Add unit tests for the Data Table Widget
This commit is contained in:
Wiktor Danielewski
2025-11-04 12:08:04 +01:00
committed by GitHub
parent f7d26d904f
commit c4f276e228
40 changed files with 597 additions and 92 deletions
@@ -28,6 +28,9 @@ import { MatCheckboxModule } from '@angular/material/checkbox';
selector: 'analytics-checkbox-widget',
imports: [CommonModule, TranslatePipe, ReactiveFormsModule, MatCheckboxModule],
templateUrl: './checkbox.widget.html',
host: {
'(click)': 'event($event)'
},
encapsulation: ViewEncapsulation.None
})
export class CheckboxWidgetAnalyticsComponent extends WidgetComponent {
@@ -28,6 +28,9 @@ import { TranslatePipe } from '@ngx-translate/core';
imports: [CommonModule, TranslatePipe, ReactiveFormsModule],
templateUrl: './dropdown.widget.html',
styleUrls: ['./dropdown.widget.scss'],
host: {
'(click)': 'event($event)'
},
encapsulation: ViewEncapsulation.None
})
export class DropdownWidgetAnalyticsComponent extends WidgetComponent implements OnInit {
@@ -30,6 +30,9 @@ import { MatInputModule } from '@angular/material/input';
imports: [CommonModule, TranslatePipe, ReactiveFormsModule, MatFormFieldModule, MatInputModule],
templateUrl: './number.widget.html',
styleUrls: ['./number.widget.scss'],
host: {
'(click)': 'event($event)'
},
encapsulation: ViewEncapsulation.None
})
export class NumberWidgetAnalyticsComponent extends WidgetComponent implements OnInit {