synos-helena 21.14.3-beta.0 → 21.14.5

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 (55) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/lib/dark.css.gz +0 -0
  3. package/lib/dark.css.map.gz +0 -0
  4. package/lib/dark.js.gz +0 -0
  5. package/lib/dark.js.map.gz +0 -0
  6. package/lib/helena.css.gz +0 -0
  7. package/lib/helena.css.map +1 -1
  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.gz +0 -0
  12. package/lib/icons/export.svg.gz +0 -0
  13. package/lib/icons/field-time.svg.gz +0 -0
  14. package/lib/icons/file-calculator.svg.gz +0 -0
  15. package/lib/icons/hand-service.svg.gz +0 -0
  16. package/lib/icons/import.svg.gz +0 -0
  17. package/lib/icons/package.svg.gz +0 -0
  18. package/lib/icons/process-config.svg.gz +0 -0
  19. package/lib/icons/transmission.svg.gz +0 -0
  20. package/lib/images/empty-notification.svg.gz +0 -0
  21. package/lib/images/micro-download.svg +40 -0
  22. package/lib/images/micro-download.svg.gz +0 -0
  23. package/lib/images/micro-gerproc.svg +43 -0
  24. package/lib/images/micro-gerproc.svg.gz +0 -0
  25. package/lib/images/micro-insight.svg +42 -0
  26. package/lib/images/micro-insight.svg.gz +0 -0
  27. package/lib/images/synchro-logo.svg.gz +0 -0
  28. package/lib/index.css.gz +0 -0
  29. package/lib/index.css.map +1 -1
  30. package/lib/index.css.map.gz +0 -0
  31. package/lib/index.d.ts +63 -4
  32. package/lib/index.js +1 -1
  33. package/lib/index.js.LICENSE.txt.gz +0 -0
  34. package/lib/index.js.gz +0 -0
  35. package/lib/index.js.map +1 -1
  36. package/lib/index.js.map.gz +0 -0
  37. package/lib/light.css.gz +0 -0
  38. package/lib/light.css.map.gz +0 -0
  39. package/lib/light.js.gz +0 -0
  40. package/lib/light.js.map.gz +0 -0
  41. package/lib/themes/colors/ant-blues.less.gz +0 -0
  42. package/lib/themes/colors/ant-yellows.less.gz +0 -0
  43. package/lib/themes/colors/blues.less.gz +0 -0
  44. package/lib/themes/colors/dark-olive-greens.less.gz +0 -0
  45. package/lib/themes/colors/gray.less.gz +0 -0
  46. package/lib/themes/colors/greens.less.gz +0 -0
  47. package/lib/themes/colors/pinks.less.gz +0 -0
  48. package/lib/themes/colors/purples.less.gz +0 -0
  49. package/lib/themes/colors/reds.less.gz +0 -0
  50. package/lib/themes/colors/yellows.less.gz +0 -0
  51. package/lib/themes/dark.less.gz +0 -0
  52. package/lib/themes/default.less.gz +0 -0
  53. package/lib/themes/general_custom.less.gz +0 -0
  54. package/lib/themes/light.less.gz +0 -0
  55. package/package.json +1 -1
Binary file
package/lib/index.d.ts CHANGED
@@ -20,12 +20,14 @@
20
20
  // ../antd/lib/divider
21
21
  // ../antd/lib/drawer
22
22
  // ../antd/lib/dropdown
23
+ // ../~/util/constants
23
24
  // HLHeaderButton
24
25
  // HLHeaderSearch
25
26
  // HLHealthCheck/HLHealthCheck
26
27
  // HLModulesMenu
27
28
  // HLNotification
28
29
  // HLUserBox
30
+ // ../antd/lib/tooltip
29
31
  // ../react-markdown/lib/react-markdown
30
32
  // ../react-router-dom
31
33
  // ../antd/lib/page-header
@@ -34,7 +36,6 @@
34
36
  // ../antd/lib/radio
35
37
  // ../antd/lib/select
36
38
  // ../antd/lib/switch
37
- // ../antd/lib/tooltip
38
39
 
39
40
  import { AlertProps } from 'antd/lib/alert';
40
41
  import { ButtonProps } from 'antd/lib/button';
@@ -61,6 +62,7 @@ import { DrawerProps } from 'antd/lib/drawer';
61
62
  import { DropDownProps } from 'antd/lib/dropdown';
62
63
  import { TableProps } from 'antd';
63
64
  import { ReactNode } from 'react';
65
+ import { ERROR_SIZES } from '~/util/constants';
64
66
  import { Form } from 'antd';
65
67
  import React, { ReactNode } from 'react';
66
68
  import { HLHeaderButtonPropTypes } from 'src/HLHeaderButton';
@@ -70,6 +72,7 @@ import { HLModulesMenuPropTypes } from 'src/HLModulesMenu';
70
72
  import { HLNotificationPropTypes } from 'src/HLNotification';
71
73
  import { HLUserBoxPropTypes } from 'src/HLUserBox';
72
74
  import { Input } from 'antd';
75
+ import { TooltipProps } from 'antd/lib/tooltip';
73
76
  import { ReactMarkdownOptions } from 'react-markdown/lib/react-markdown';
74
77
  import { Link } from 'react-router-dom';
75
78
  import { BreadcrumbProps } from 'antd';
@@ -81,7 +84,6 @@ import { RadioChangeEvent } from 'antd/lib/radio';
81
84
  import { LabeledValue } from 'antd/lib/select';
82
85
  import { SpinProps } from 'antd/lib/spin';
83
86
  import { SwitchProps } from 'antd/lib/switch';
84
- import { TooltipProps } from 'antd/lib/tooltip';
85
87
 
86
88
 
87
89
  export type HLAlertPropTypes = AlertProps;
@@ -368,7 +370,7 @@ export const HLEditTable: React.FC<HLEditTablePropTypes>;
368
370
 
369
371
 
370
372
  export interface ErrorPropTypes {
371
- size?: 'small' | 'big' | 'page' | string;
373
+ size?: ERROR_SIZES.SMALL | ERROR_SIZES.BIG | ERROR_SIZES.PAGE | string;
372
374
  gray?: boolean;
373
375
  content?: ReactNode;
374
376
  icon?: ReactNode;
@@ -377,7 +379,8 @@ export interface ErrorPropTypes {
377
379
  export const Error: React.FC<ErrorPropTypes>;
378
380
 
379
381
  export interface Page500PropTypes {
380
- supportPhone: string;
382
+ /** @deprecated Este atributo não é mais usado e será removido nas próximas versões */
383
+ supportPhone?: string;
381
384
  }
382
385
 
383
386
  export const Page500: React.FC<Page500PropTypes>;
@@ -474,6 +477,7 @@ export interface HLInputPropTypes {
474
477
  ref?: ((instance: Input | null) => void) | React.RefObject<Input> | null;
475
478
  onValueFromEvent?: (unknown) => unknown;
476
479
  style?: React.CSSProperties;
480
+ tooltip?: string;
477
481
  autoComplete?: string;
478
482
  readOnly?: boolean;
479
483
  onFocus?: (unknown) => unknown | undefined;
@@ -829,6 +833,7 @@ export {
829
833
  HLDropdown,
830
834
  HLDropdownButton,
831
835
  HLEditTable,
836
+ HLErrorBoundary,
832
837
  HLException,
833
838
  HLForm,
834
839
  HLFormAction,
@@ -865,6 +870,9 @@ export {
865
870
  HLTotalizer,
866
871
  HLTree,
867
872
  HLUserBox,
873
+ HLNotification,
874
+ HLHealthCheck,
875
+ HLModulesMenu,
868
876
  PowerSearchOperators,
869
877
  PowerSelectStoreInterface,
870
878
  SearchObject,
@@ -898,6 +906,7 @@ export interface HLInputPropTypes {
898
906
  ref?: ((instance: Input | null) => void) | React.RefObject<Input> | null;
899
907
  onValueFromEvent?: (unknown) => unknown;
900
908
  style?: React.CSSProperties;
909
+ tooltip?: string;
901
910
  autoComplete?: string;
902
911
  readOnly?: boolean;
903
912
  onFocus?: (unknown) => unknown | undefined;
@@ -1419,3 +1428,53 @@ export interface ModuleInfoPropTypes {
1419
1428
  }
1420
1429
  export const ModuleInfo: React.FC<ModuleInfoPropTypes>;
1421
1430
 
1431
+
1432
+ interface Notification {
1433
+ title: string;
1434
+ description: string;
1435
+ type: string;
1436
+ date: number;
1437
+ isVisualized: boolean;
1438
+ link?: string;
1439
+ onClick?: React.MouseEvent<HTMLElement>;
1440
+ }
1441
+
1442
+ export interface HLNotificationPropTypes {
1443
+ buttonLabel?: string;
1444
+ onClearNotification?: () => any;
1445
+ title?: string;
1446
+ placement?:
1447
+ | 'bottom'
1448
+ | 'top'
1449
+ | 'left'
1450
+ | 'right'
1451
+ | 'topLeft'
1452
+ | 'topRight'
1453
+ | 'bottomLeft'
1454
+ | 'bottomRight'
1455
+ | 'leftTop'
1456
+ | 'leftBottom'
1457
+ | 'rightTop'
1458
+ | 'rightBottom';
1459
+ Link?: Link;
1460
+ notifications?: Notification[];
1461
+ fetchNewNotifications: () => void;
1462
+ showFormat: string;
1463
+ refreshInterval: number;
1464
+ }
1465
+
1466
+ export const HLNotification: React.FC<HLNotificationPropTypes>;
1467
+
1468
+ interface Module {
1469
+ title: string;
1470
+ description?: string;
1471
+ link: string;
1472
+ }
1473
+
1474
+ export interface HLModulesMenuPropTypes {
1475
+ linkLandingPage?: string;
1476
+ onClickButton?: (event: React.MouseEvent<HTMLElement, globalThis.MouseEvent>) => void;
1477
+ }
1478
+
1479
+ export const HLModulesMenu: React.FC<HLModulesMenuPropTypes>;
1480
+