synos-helena 21.14.0 → 21.14.1
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/CHANGELOG.md +8 -0
- package/lib/helena.css.map +1 -1
- package/lib/index.d.ts +40 -0
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -341,8 +341,28 @@ export interface HLDropdownButtonPropTypes {
|
|
|
341
341
|
export const HLDropdownButton: React.FC<HLDropdownButtonPropTypes>;
|
|
342
342
|
|
|
343
343
|
|
|
344
|
+
interface GenericAction {
|
|
345
|
+
name: string;
|
|
346
|
+
icon: any;
|
|
347
|
+
onClick?: (params: unknown) => any;
|
|
348
|
+
disabled?: boolean;
|
|
349
|
+
permission?: {
|
|
350
|
+
proxy: React.ReactElement;
|
|
351
|
+
resourceId: string;
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
|
|
344
355
|
export type HLEditTablePropTypes = TableProps & {
|
|
345
356
|
handleSave: (row: any) => void;
|
|
357
|
+
enableSelectVisualization?: boolean;
|
|
358
|
+
dataLimit?: number;
|
|
359
|
+
enableDownload?: boolean;
|
|
360
|
+
batchActions?: GenericAction[];
|
|
361
|
+
primaryAction?: Omit<GenericAction, 'permission'>;
|
|
362
|
+
secundaryActions?: Omit<GenericAction, 'permission'>[];
|
|
363
|
+
additionalActions?: React.ReactNode[];
|
|
364
|
+
autosaveOptions?: boolean;
|
|
365
|
+
context?: string;
|
|
346
366
|
};
|
|
347
367
|
export const HLEditTable: React.FC<HLEditTablePropTypes>;
|
|
348
368
|
|
|
@@ -1068,8 +1088,28 @@ export interface HLDropdownButtonPropTypes {
|
|
|
1068
1088
|
export const HLDropdownButton: React.FC<HLDropdownButtonPropTypes>;
|
|
1069
1089
|
|
|
1070
1090
|
|
|
1091
|
+
interface GenericAction {
|
|
1092
|
+
name: string;
|
|
1093
|
+
icon: any;
|
|
1094
|
+
onClick?: (params: unknown) => any;
|
|
1095
|
+
disabled?: boolean;
|
|
1096
|
+
permission?: {
|
|
1097
|
+
proxy: React.ReactElement;
|
|
1098
|
+
resourceId: string;
|
|
1099
|
+
};
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1071
1102
|
export type HLEditTablePropTypes = TableProps & {
|
|
1072
1103
|
handleSave: (row: any) => void;
|
|
1104
|
+
enableSelectVisualization?: boolean;
|
|
1105
|
+
dataLimit?: number;
|
|
1106
|
+
enableDownload?: boolean;
|
|
1107
|
+
batchActions?: GenericAction[];
|
|
1108
|
+
primaryAction?: Omit<GenericAction, 'permission'>;
|
|
1109
|
+
secundaryActions?: Omit<GenericAction, 'permission'>[];
|
|
1110
|
+
additionalActions?: React.ReactNode[];
|
|
1111
|
+
autosaveOptions?: boolean;
|
|
1112
|
+
context?: string;
|
|
1073
1113
|
};
|
|
1074
1114
|
export const HLEditTable: React.FC<HLEditTablePropTypes>;
|
|
1075
1115
|
|