@dmlibs/dm-cmps 0.1.3 → 0.1.5

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": "@dmlibs/dm-cmps",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0"
@@ -598,7 +598,7 @@ declare class DmMatSelect<T = any> implements DmMatSelectConfig<T>, OnDestroy {
598
598
  value: _angular_core.ModelSignal<DmMatSelectOutput<T>>;
599
599
  formControl: _angular_core.InputSignal<FormControl<DmMatSelectOutput<T>> | null>;
600
600
  panelWidth: _angular_core.InputSignal<string | null>;
601
- panelClass: _angular_core.InputSignal<string | string[] | Set<string> | {
601
+ panelClass: _angular_core.InputSignal<string | Set<string> | string[] | {
602
602
  [key: string]: any;
603
603
  }>;
604
604
  searchSectionBackgroundColor: _angular_core.InputSignal<string | null>;
@@ -847,7 +847,7 @@ type DmTableRowActionButton<T extends object> = {
847
847
  color?: string;
848
848
  onClick?: (row: T, event: Event, closeParentMenus: () => void) => void;
849
849
  children?: DmTableRowActionButton<T>[];
850
- showIf?: (columns: DmTableColumn<T>[], datasource: DmCmpsDataSource<T>) => boolean;
850
+ showIf?: (row: T) => boolean;
851
851
  } | {
852
852
  buttonType?: 'icon';
853
853
  icon?: string;
@@ -856,7 +856,7 @@ type DmTableRowActionButton<T extends object> = {
856
856
  color?: string;
857
857
  onClick?: (row: T, event: Event, closeParentMenus: () => void) => void;
858
858
  children?: DmTableRowActionButton<T>[];
859
- showIf?: (columns: DmTableColumn<T>[], datasource: DmCmpsDataSource<T>) => boolean;
859
+ showIf?: (row: T) => boolean;
860
860
  };
861
861
  type DmTableActionButton<T extends object> = {
862
862
  label: string;