Merge branch 'master' into develop

This commit is contained in:
Lorenz Hilpert
2025-10-16 14:56:46 +02:00
26 changed files with 421 additions and 124 deletions

View File

@@ -42,5 +42,6 @@
[filterInput]="input"
(applied)="applied.emit()"
(reseted)="reseted.emit()"
[canApply]="canApply()"
></filter-input-menu>
</ng-template>

View File

@@ -68,6 +68,13 @@ export class FilterInputMenuButtonComponent {
*/
reseted = output<void>();
/**
* Indicates whether the filter can be applied.
* Defaults to false.
* @default false
*/
canApply = input<boolean>(false);
/**
* Emits an event when the input menu is applied.
*/

View File

@@ -4,6 +4,7 @@
></filter-input-renderer>
<filter-actions
[inputKey]="filterInput().key"
[canApply]="false"
[canApply]="canApply()"
(applied)="applied.emit()"
(reseted)="reseted.emit()"
></filter-actions>

View File

@@ -1,4 +1,9 @@
import { ChangeDetectionStrategy, Component, input, output } from '@angular/core';
import {
ChangeDetectionStrategy,
Component,
input,
output,
} from '@angular/core';
import { FilterInput } from '../../core';
import { FilterActionsComponent } from '../../actions';
import { InputRendererComponent } from '../../inputs/input-renderer';
@@ -30,4 +35,11 @@ export class FilterInputMenuComponent {
* Emits an event when the filter input is applied.
*/
applied = output<void>();
/**
* Indicates whether the filter can be applied.
* Defaults to false.
* @default false
*/
canApply = input<boolean>(false);
}