synos-helena 21.14.0 → 21.14.3
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 +20 -0
- package/lib/dark.css.gz +0 -0
- package/lib/dark.css.map +1 -1
- package/lib/dark.css.map.gz +0 -0
- package/lib/dark.js.gz +0 -0
- package/lib/dark.js.map.gz +0 -0
- package/lib/helena.css.gz +0 -0
- package/lib/helena.css.map.gz +0 -0
- package/lib/helena.js.gz +0 -0
- package/lib/helena.js.map.gz +0 -0
- package/lib/icons/exception.svg +1 -0
- package/lib/icons/exception.svg.gz +0 -0
- package/lib/icons/export.svg.gz +0 -0
- package/lib/icons/field-time.svg.gz +0 -0
- package/lib/icons/file-calculator.svg.gz +0 -0
- package/lib/icons/hand-service.svg.gz +0 -0
- package/lib/icons/import.svg.gz +0 -0
- package/lib/icons/package.svg.gz +0 -0
- package/lib/icons/process-config.svg.gz +0 -0
- package/lib/icons/transmission.svg.gz +0 -0
- package/lib/images/empty-notification.svg.gz +0 -0
- package/lib/images/synchro-logo.svg.gz +0 -0
- package/lib/index.css.gz +0 -0
- package/lib/index.css.map +1 -1
- package/lib/index.css.map.gz +0 -0
- package/lib/index.d.ts +52 -1
- package/lib/index.js +1 -1
- package/lib/index.js.LICENSE.txt.gz +0 -0
- package/lib/index.js.gz +0 -0
- package/lib/index.js.map +1 -1
- package/lib/index.js.map.gz +0 -0
- package/lib/light.css.gz +0 -0
- package/lib/light.css.map +1 -1
- package/lib/light.css.map.gz +0 -0
- package/lib/light.js.gz +0 -0
- package/lib/light.js.map.gz +0 -0
- package/lib/themes/colors/ant-blues.less.gz +0 -0
- package/lib/themes/colors/ant-yellows.less.gz +0 -0
- package/lib/themes/colors/blues.less.gz +0 -0
- package/lib/themes/colors/dark-olive-greens.less.gz +0 -0
- package/lib/themes/colors/gray.less.gz +0 -0
- package/lib/themes/colors/greens.less.gz +0 -0
- package/lib/themes/colors/pinks.less.gz +0 -0
- package/lib/themes/colors/purples.less.gz +0 -0
- package/lib/themes/colors/reds.less.gz +0 -0
- package/lib/themes/colors/yellows.less.gz +0 -0
- package/lib/themes/dark.less.gz +0 -0
- package/lib/themes/default.less.gz +0 -0
- package/lib/themes/general_custom.less.gz +0 -0
- package/lib/themes/light.less.gz +0 -0
- package/package.json +1 -1
|
Binary file
|
package/lib/index.d.ts
CHANGED
|
@@ -60,9 +60,9 @@ import { DividerProps } from 'antd/lib/divider';
|
|
|
60
60
|
import { DrawerProps } from 'antd/lib/drawer';
|
|
61
61
|
import { DropDownProps } from 'antd/lib/dropdown';
|
|
62
62
|
import { TableProps } from 'antd';
|
|
63
|
+
import { ReactNode } from 'react';
|
|
63
64
|
import { Form } from 'antd';
|
|
64
65
|
import React, { ReactNode } from 'react';
|
|
65
|
-
import { ReactNode } from 'react';
|
|
66
66
|
import { HLHeaderButtonPropTypes } from 'src/HLHeaderButton';
|
|
67
67
|
import { HLHeaderSearchPropTypes } from 'src/HLHeaderSearch';
|
|
68
68
|
import HLHealthCheck from 'src/HLHealthCheck/HLHealthCheck';
|
|
@@ -341,11 +341,41 @@ 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
|
|
|
369
|
+
|
|
370
|
+
export interface ErrorPropTypes {
|
|
371
|
+
size?: 'small' | 'big' | 'page' | string;
|
|
372
|
+
gray?: boolean;
|
|
373
|
+
content?: ReactNode;
|
|
374
|
+
icon?: ReactNode;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export const Error: React.FC<ErrorPropTypes>;
|
|
378
|
+
|
|
349
379
|
export interface Page500PropTypes {
|
|
350
380
|
supportPhone: string;
|
|
351
381
|
}
|
|
@@ -799,6 +829,7 @@ export {
|
|
|
799
829
|
HLDropdown,
|
|
800
830
|
HLDropdownButton,
|
|
801
831
|
HLEditTable,
|
|
832
|
+
HLErrorBoundary,
|
|
802
833
|
HLException,
|
|
803
834
|
HLForm,
|
|
804
835
|
HLFormAction,
|
|
@@ -1068,8 +1099,28 @@ export interface HLDropdownButtonPropTypes {
|
|
|
1068
1099
|
export const HLDropdownButton: React.FC<HLDropdownButtonPropTypes>;
|
|
1069
1100
|
|
|
1070
1101
|
|
|
1102
|
+
interface GenericAction {
|
|
1103
|
+
name: string;
|
|
1104
|
+
icon: any;
|
|
1105
|
+
onClick?: (params: unknown) => any;
|
|
1106
|
+
disabled?: boolean;
|
|
1107
|
+
permission?: {
|
|
1108
|
+
proxy: React.ReactElement;
|
|
1109
|
+
resourceId: string;
|
|
1110
|
+
};
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1071
1113
|
export type HLEditTablePropTypes = TableProps & {
|
|
1072
1114
|
handleSave: (row: any) => void;
|
|
1115
|
+
enableSelectVisualization?: boolean;
|
|
1116
|
+
dataLimit?: number;
|
|
1117
|
+
enableDownload?: boolean;
|
|
1118
|
+
batchActions?: GenericAction[];
|
|
1119
|
+
primaryAction?: Omit<GenericAction, 'permission'>;
|
|
1120
|
+
secundaryActions?: Omit<GenericAction, 'permission'>[];
|
|
1121
|
+
additionalActions?: React.ReactNode[];
|
|
1122
|
+
autosaveOptions?: boolean;
|
|
1123
|
+
context?: string;
|
|
1073
1124
|
};
|
|
1074
1125
|
export const HLEditTable: React.FC<HLEditTablePropTypes>;
|
|
1075
1126
|
|