@meshmakers/shared-ui 3.3.590 → 3.3.610

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshmakers/shared-ui",
3
- "version": "3.3.590",
3
+ "version": "3.3.610",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.0",
6
6
  "@angular/core": "^21.2.0",
@@ -44,7 +44,7 @@ interface StatusFieldConfig {
44
44
  interface TableColumn {
45
45
  displayName?: string | null;
46
46
  field: string;
47
- dataType?: 'text' | 'numeric' | 'boolean' | 'date' | 'iso8601' | 'bytes' | 'statusIcons' | 'cronExpression';
47
+ dataType?: 'text' | 'numeric' | 'numericRange' | 'boolean' | 'date' | 'iso8601' | 'bytes' | 'statusIcons' | 'cronExpression';
48
48
  format?: string;
49
49
  /**
50
50
  * Column width in pixels. If not set, the column will auto-size.
@@ -73,6 +73,11 @@ interface TableColumn {
73
73
  * Set to false to hide the filter cell for this column when row filtering is active.
74
74
  */
75
75
  filterable?: boolean;
76
+ /**
77
+ * Default filter operator for the row filter.
78
+ * For numeric columns, defaults to 'eq'. Set to 'gte' for range-style filtering.
79
+ */
80
+ filterOperator?: string;
76
81
  /**
77
82
  * Dropdown filter options for the row filter.
78
83
  * When set, the column's row filter renders a dropdown instead of a text input.
@@ -199,6 +204,8 @@ declare class ListViewComponent extends CommandBaseService implements OnDestroy,
199
204
  protected hasFilterOptions(column: TableColumn): boolean;
200
205
  protected getSelectedFilterValue(column: TableColumn): string | null;
201
206
  protected onDropdownFilter(value: string | null, column: TableColumn): void;
207
+ protected getRangeFilterValue(column: TableColumn, operator: 'gte' | 'lte'): number | null;
208
+ protected onRangeFilterChange(value: number | null, column: TableColumn, operator: 'gte' | 'lte'): void;
202
209
  protected onShowRowFilter(): void;
203
210
  protected onRefresh(): void;
204
211
  onExecuteFilter: EventEmitter<string | null>;