@solcre-org/core-ui 2.15.8 → 2.15.9

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/index.d.ts CHANGED
@@ -1909,6 +1909,13 @@ interface SwitchActionConfig {
1909
1909
  switchAriaLabel?: string;
1910
1910
  }
1911
1911
 
1912
+ interface MobileActionConfig {
1913
+ isExtra?: boolean;
1914
+ showInHeader?: boolean;
1915
+ showOutsideFixedActions?: boolean;
1916
+ showInsideModal?: boolean;
1917
+ }
1918
+
1912
1919
  interface CustomAction<T> extends SwitchActionConfig {
1913
1920
  label?: string;
1914
1921
  title: string;
@@ -1927,6 +1934,7 @@ interface CustomAction<T> extends SwitchActionConfig {
1927
1934
  shouldDisable?: (row: T) => boolean;
1928
1935
  switchValue?: (row: T) => any;
1929
1936
  onSwitchChange?: (value: any, row: T) => void;
1937
+ mobileConfig?: MobileActionConfig;
1930
1938
  }
1931
1939
 
1932
1940
  interface TableActionConfig<T = any> {
@@ -1942,8 +1950,7 @@ interface TableActionConfig<T = any> {
1942
1950
  };
1943
1951
  shouldShow?: (row: T) => boolean;
1944
1952
  shouldDisable?: (row: T) => boolean;
1945
- showInHeader?: boolean;
1946
- showOutsideFixedActions?: boolean;
1953
+ mobileConfig?: MobileActionConfig;
1947
1954
  }
1948
1955
 
1949
1956
  declare class DropdownComponent<T> implements OnDestroy {
@@ -2188,9 +2195,7 @@ interface GlobalAction<T> extends SwitchActionConfig {
2188
2195
  tooltipPosition?: 'top' | 'bottom' | 'left' | 'right';
2189
2196
  switchSelectedValue?: any;
2190
2197
  onSwitchChange?: (value: any, selectedRows: T[]) => void;
2191
- showInsideModal?: boolean;
2192
- showInHeader?: boolean;
2193
- showOutsideFixedActions?: boolean;
2198
+ mobileConfig?: MobileActionConfig;
2194
2199
  }
2195
2200
 
2196
2201
  interface MoreDataConfig<T extends DataBaseModelInterface> {
@@ -2730,6 +2735,10 @@ declare class GenericTableComponent<T extends DataBaseModelInterface & {
2730
2735
  type: 'table' | 'global';
2731
2736
  config: TableActionConfig<T> | GlobalAction<T>;
2732
2737
  }>;
2738
+ private getMobileShowInHeader;
2739
+ private getMobileShowOutsideFixedActions;
2740
+ private getMobileShowInsideModal;
2741
+ private getMobileIsExtra;
2733
2742
  hasExtraCustomActions: _angular_core.Signal<boolean>;
2734
2743
  regularDefaultActions: _angular_core.Signal<TableActionConfig<T>[]>;
2735
2744
  extraDefaultActions: _angular_core.Signal<TableActionConfig<T>[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solcre-org/core-ui",
3
- "version": "2.15.8",
3
+ "version": "2.15.9",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"