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.
Files changed (51) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/lib/dark.css.gz +0 -0
  3. package/lib/dark.css.map +1 -1
  4. package/lib/dark.css.map.gz +0 -0
  5. package/lib/dark.js.gz +0 -0
  6. package/lib/dark.js.map.gz +0 -0
  7. package/lib/helena.css.gz +0 -0
  8. package/lib/helena.css.map.gz +0 -0
  9. package/lib/helena.js.gz +0 -0
  10. package/lib/helena.js.map.gz +0 -0
  11. package/lib/icons/exception.svg +1 -0
  12. package/lib/icons/exception.svg.gz +0 -0
  13. package/lib/icons/export.svg.gz +0 -0
  14. package/lib/icons/field-time.svg.gz +0 -0
  15. package/lib/icons/file-calculator.svg.gz +0 -0
  16. package/lib/icons/hand-service.svg.gz +0 -0
  17. package/lib/icons/import.svg.gz +0 -0
  18. package/lib/icons/package.svg.gz +0 -0
  19. package/lib/icons/process-config.svg.gz +0 -0
  20. package/lib/icons/transmission.svg.gz +0 -0
  21. package/lib/images/empty-notification.svg.gz +0 -0
  22. package/lib/images/synchro-logo.svg.gz +0 -0
  23. package/lib/index.css.gz +0 -0
  24. package/lib/index.css.map +1 -1
  25. package/lib/index.css.map.gz +0 -0
  26. package/lib/index.d.ts +52 -1
  27. package/lib/index.js +1 -1
  28. package/lib/index.js.LICENSE.txt.gz +0 -0
  29. package/lib/index.js.gz +0 -0
  30. package/lib/index.js.map +1 -1
  31. package/lib/index.js.map.gz +0 -0
  32. package/lib/light.css.gz +0 -0
  33. package/lib/light.css.map +1 -1
  34. package/lib/light.css.map.gz +0 -0
  35. package/lib/light.js.gz +0 -0
  36. package/lib/light.js.map.gz +0 -0
  37. package/lib/themes/colors/ant-blues.less.gz +0 -0
  38. package/lib/themes/colors/ant-yellows.less.gz +0 -0
  39. package/lib/themes/colors/blues.less.gz +0 -0
  40. package/lib/themes/colors/dark-olive-greens.less.gz +0 -0
  41. package/lib/themes/colors/gray.less.gz +0 -0
  42. package/lib/themes/colors/greens.less.gz +0 -0
  43. package/lib/themes/colors/pinks.less.gz +0 -0
  44. package/lib/themes/colors/purples.less.gz +0 -0
  45. package/lib/themes/colors/reds.less.gz +0 -0
  46. package/lib/themes/colors/yellows.less.gz +0 -0
  47. package/lib/themes/dark.less.gz +0 -0
  48. package/lib/themes/default.less.gz +0 -0
  49. package/lib/themes/general_custom.less.gz +0 -0
  50. package/lib/themes/light.less.gz +0 -0
  51. 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