synos-helena 21.14.3 → 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.
Binary file
package/lib/index.d.ts CHANGED
@@ -377,7 +377,8 @@ export interface ErrorPropTypes {
377
377
  export const Error: React.FC<ErrorPropTypes>;
378
378
 
379
379
  export interface Page500PropTypes {
380
- supportPhone: string;
380
+ /** @deprecated Este atributo não é mais usado e será removido nas próximas versões */
381
+ supportPhone?: string;
381
382
  }
382
383
 
383
384
  export const Page500: React.FC<Page500PropTypes>;
@@ -866,6 +867,9 @@ export {
866
867
  HLTotalizer,
867
868
  HLTree,
868
869
  HLUserBox,
870
+ HLNotification,
871
+ HLHealthCheck,
872
+ HLModulesMenu,
869
873
  PowerSearchOperators,
870
874
  PowerSelectStoreInterface,
871
875
  SearchObject,
@@ -1420,3 +1424,53 @@ export interface ModuleInfoPropTypes {
1420
1424
  }
1421
1425
  export const ModuleInfo: React.FC<ModuleInfoPropTypes>;
1422
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
+