synos-helena 21.14.1 → 21.14.4

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 (52) hide show
  1. package/CHANGELOG.md +20 -2
  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 +1 -1
  9. package/lib/helena.css.map.gz +0 -0
  10. package/lib/helena.js.gz +0 -0
  11. package/lib/helena.js.map.gz +0 -0
  12. package/lib/icons/exception.svg +1 -0
  13. package/lib/icons/exception.svg.gz +0 -0
  14. package/lib/icons/export.svg.gz +0 -0
  15. package/lib/icons/field-time.svg.gz +0 -0
  16. package/lib/icons/file-calculator.svg.gz +0 -0
  17. package/lib/icons/hand-service.svg.gz +0 -0
  18. package/lib/icons/import.svg.gz +0 -0
  19. package/lib/icons/package.svg.gz +0 -0
  20. package/lib/icons/process-config.svg.gz +0 -0
  21. package/lib/icons/transmission.svg.gz +0 -0
  22. package/lib/images/empty-notification.svg.gz +0 -0
  23. package/lib/images/synchro-logo.svg.gz +0 -0
  24. package/lib/index.css.gz +0 -0
  25. package/lib/index.css.map +1 -1
  26. package/lib/index.css.map.gz +0 -0
  27. package/lib/index.d.ts +67 -2
  28. package/lib/index.js +1 -1
  29. package/lib/index.js.LICENSE.txt.gz +0 -0
  30. package/lib/index.js.gz +0 -0
  31. package/lib/index.js.map +1 -1
  32. package/lib/index.js.map.gz +0 -0
  33. package/lib/light.css.gz +0 -0
  34. package/lib/light.css.map +1 -1
  35. package/lib/light.css.map.gz +0 -0
  36. package/lib/light.js.gz +0 -0
  37. package/lib/light.js.map.gz +0 -0
  38. package/lib/themes/colors/ant-blues.less.gz +0 -0
  39. package/lib/themes/colors/ant-yellows.less.gz +0 -0
  40. package/lib/themes/colors/blues.less.gz +0 -0
  41. package/lib/themes/colors/dark-olive-greens.less.gz +0 -0
  42. package/lib/themes/colors/gray.less.gz +0 -0
  43. package/lib/themes/colors/greens.less.gz +0 -0
  44. package/lib/themes/colors/pinks.less.gz +0 -0
  45. package/lib/themes/colors/purples.less.gz +0 -0
  46. package/lib/themes/colors/reds.less.gz +0 -0
  47. package/lib/themes/colors/yellows.less.gz +0 -0
  48. package/lib/themes/dark.less.gz +0 -0
  49. package/lib/themes/default.less.gz +0 -0
  50. package/lib/themes/general_custom.less.gz +0 -0
  51. package/lib/themes/light.less.gz +0 -0
  52. 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';
@@ -366,8 +366,19 @@ export type HLEditTablePropTypes = TableProps & {
366
366
  };
367
367
  export const HLEditTable: React.FC<HLEditTablePropTypes>;
368
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
+
369
379
  export interface Page500PropTypes {
370
- supportPhone: string;
380
+ /** @deprecated Este atributo não é mais usado e será removido nas próximas versões */
381
+ supportPhone?: string;
371
382
  }
372
383
 
373
384
  export const Page500: React.FC<Page500PropTypes>;
@@ -819,6 +830,7 @@ export {
819
830
  HLDropdown,
820
831
  HLDropdownButton,
821
832
  HLEditTable,
833
+ HLErrorBoundary,
822
834
  HLException,
823
835
  HLForm,
824
836
  HLFormAction,
@@ -855,6 +867,9 @@ export {
855
867
  HLTotalizer,
856
868
  HLTree,
857
869
  HLUserBox,
870
+ HLNotification,
871
+ HLHealthCheck,
872
+ HLModulesMenu,
858
873
  PowerSearchOperators,
859
874
  PowerSelectStoreInterface,
860
875
  SearchObject,
@@ -1409,3 +1424,53 @@ export interface ModuleInfoPropTypes {
1409
1424
  }
1410
1425
  export const ModuleInfo: React.FC<ModuleInfoPropTypes>;
1411
1426
 
1427
+
1428
+ interface Notification {
1429
+ title: string;
1430
+ description: string;
1431
+ type: string;
1432
+ date: number;
1433
+ isVisualized: boolean;
1434
+ link?: string;
1435
+ onClick?: React.MouseEvent<HTMLElement>;
1436
+ }
1437
+
1438
+ export interface HLNotificationPropTypes {
1439
+ buttonLabel?: string;
1440
+ onClearNotification?: () => any;
1441
+ title?: string;
1442
+ placement?:
1443
+ | 'bottom'
1444
+ | 'top'
1445
+ | 'left'
1446
+ | 'right'
1447
+ | 'topLeft'
1448
+ | 'topRight'
1449
+ | 'bottomLeft'
1450
+ | 'bottomRight'
1451
+ | 'leftTop'
1452
+ | 'leftBottom'
1453
+ | 'rightTop'
1454
+ | 'rightBottom';
1455
+ Link?: Link;
1456
+ notifications?: Notification[];
1457
+ fetchNewNotifications: () => void;
1458
+ showFormat: string;
1459
+ refreshInterval: number;
1460
+ }
1461
+
1462
+ export const HLNotification: React.FC<HLNotificationPropTypes>;
1463
+
1464
+ interface Module {
1465
+ title: string;
1466
+ description?: string;
1467
+ link: string;
1468
+ }
1469
+
1470
+ export interface HLModulesMenuPropTypes {
1471
+ linkLandingPage?: string;
1472
+ onClickButton?: (event: React.MouseEvent<HTMLElement, globalThis.MouseEvent>) => void;
1473
+ }
1474
+
1475
+ export const HLModulesMenu: React.FC<HLModulesMenuPropTypes>;
1476
+