synos-helena 21.12.7-beta.0 → 22.1.0-beta.0

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/lib/index.d.ts CHANGED
@@ -14,6 +14,7 @@
14
14
  // ../moment
15
15
  // ../dayjs
16
16
  // ../antd/es/date-picker/generatePicker
17
+ // ../antd/lib/spin
17
18
  // ../antd/lib/descriptions
18
19
  // ../antd/lib/divider
19
20
  // ../antd/lib/drawer
@@ -31,7 +32,6 @@
31
32
  // ../antd/lib/popover
32
33
  // ../antd/lib/radio
33
34
  // ../antd/lib/select
34
- // ../antd/lib/spin
35
35
  // ../antd/lib/switch
36
36
  // ../antd/lib/tooltip
37
37
 
@@ -51,6 +51,7 @@ import { SizeType } from 'antd/lib/config-provider/SizeContext';
51
51
  import { Moment } from 'moment';
52
52
  import { Dayjs } from 'dayjs';
53
53
  import { PickerProps, RangePickerProps } from 'antd/es/date-picker/generatePicker';
54
+ import { SpinSize } from 'antd/lib/spin';
54
55
  import { Descriptions } from 'antd';
55
56
  import { DescriptionsProps } from 'antd/lib/descriptions';
56
57
  import { DividerProps } from 'antd/lib/divider';
@@ -279,6 +280,14 @@ export type HLRangePickerProps = RangeDatePickerProps & {
279
280
  export const RangePicker: React.FC<HLRangePickerProps>;
280
281
 
281
282
 
283
+ export interface HLDeferredRenderPropTypes {
284
+ idleTimeout?: number;
285
+ spinSize?: SpinSize;
286
+ }
287
+
288
+ export const HLDrawer: React.FC<HLDrawerPropTypes>;
289
+
290
+
282
291
  export interface HLDescriptionsChildren {
283
292
  Item: typeof Descriptions.Item;
284
293
  }
@@ -495,25 +504,11 @@ export interface HLModulesMenuPropTypes {
495
504
  export const HLModulesMenu: React.FC<HLModulesMenuPropTypes>;
496
505
 
497
506
 
498
- interface DateObject {
499
- chronology: any;
500
- dayOfMonth: number;
501
- dayOfWeek: string;
502
- dayOfYear: number;
503
- hour: number;
504
- minute: number;
505
- month: string;
506
- monthValue: number;
507
- nano: number;
508
- second: number;
509
- year: number;
510
- }
511
-
512
507
  interface Notification {
513
508
  title: string;
514
509
  description: string;
515
510
  type: string;
516
- date: DateObject | string;
511
+ date: number;
517
512
  isVisualized: boolean;
518
513
  link?: string;
519
514
  onClick?: React.MouseEvent<HTMLElement>;
@@ -538,7 +533,6 @@ export interface HLNotificationPropTypes {
538
533
  | 'rightBottom';
539
534
  Link?: Link;
540
535
  notifications?: Notification[];
541
- markAsReadCallback: (notification: Record<string, string>) => void;
542
536
  fetchNewNotifications: () => void;
543
537
  showFormat: string;
544
538
  refreshInterval: number;
@@ -547,25 +541,11 @@ export interface HLNotificationPropTypes {
547
541
  export const HLNotification: React.FC<HLNotificationPropTypes>;
548
542
 
549
543
 
550
- interface DateObject {
551
- chronology: any;
552
- dayOfMonth: number;
553
- dayOfWeek: string;
554
- dayOfYear: number;
555
- hour: number;
556
- minute: number;
557
- month: string;
558
- monthValue: number;
559
- nano: number;
560
- second: number;
561
- year: number;
562
- }
563
-
564
544
  interface Notification {
565
545
  title: string;
566
546
  description: string;
567
547
  type: string;
568
- date: DateObject | string;
548
+ date: number;
569
549
  isVisualized: boolean;
570
550
  link?: string;
571
551
  onClick?: React.MouseEvent<HTMLElement>;
@@ -573,9 +553,11 @@ interface Notification {
573
553
 
574
554
  export interface NotificationListPropTypes {
575
555
  Link?: Link;
576
- onClickNotification: (notification: Record<string, string>) => void;
556
+ onClickNotification?: (unknown) => any;
577
557
  notifications?: Notification[];
578
558
  useDayjs?: boolean;
559
+ showNotifications: () => void;
560
+ hideNotifications: () => void;
579
561
  }
580
562
 
581
563
  export const NotificationList: React.FC<NotificationListPropTypes>;
@@ -672,8 +654,8 @@ export interface HLSideMenuPropTypes {
672
654
  subMenus: any[];
673
655
  changeOpenKeys: (unknown) => unknown;
674
656
  onOpenChange: (unknown) => unknown;
675
- generateLink: (unknown, unknown, unknown) => any;
676
- allowsAccessByUrl: (unknown) => unknown;
657
+ generateLink: (unknown, unknown, unknown, unknown) => any;
658
+ allowsAccessByResourceId: (unknown) => unknown;
677
659
  changeCollapsedState: (unknown) => unknown;
678
660
  openKeys: any[];
679
661
  baseboardLogoPath?: string;
@@ -762,39 +744,70 @@ export const ModuleInfo: React.FC<ModuleInfoPropTypes>;
762
744
 
763
745
 
764
746
  export {
765
- HLPowerSearch,
766
- SearchObject,
767
- SearchType,
768
- PowerSearchOperators,
769
- SelectStoreInterface,
770
- HLPowerSelect,
771
- PowerSelectStoreInterface,
747
+ AdvancedPowerSelectStoreInterface,
748
+ HLAdvancedPowerSelect,
749
+ HLAlert,
750
+ HLArticle,
751
+ HLAssociateDisassociate,
752
+ HLBigDecimalInputNumber,
772
753
  HLBreadcrumb,
773
- HLInputNumber,
754
+ HLButton,
755
+ HLCard,
756
+ HLCheckbox,
757
+ HLCode,
758
+ HLCollapse,
759
+ HLCollapseInfoPanel,
760
+ HLContext,
761
+ HLCpfCnpj,
774
762
  HLDatePicker,
775
- HLTableDataLimitAlert,
776
- HLModal,
777
- HLTable,
778
- HLMenu,
779
- HLTree,
780
- HLLayout,
781
- HLIcon,
763
+ HLDeferredRender,
764
+ HLDescriptions,
765
+ HLDivider,
766
+ HLDrawer,
767
+ HLDropdown,
768
+ HLDropdownButton,
769
+ HLEditTable,
770
+ HLException,
771
+ HLForm,
782
772
  HLFormAction,
783
- HLAssociateDisassociate,
784
- HLTag,
785
773
  HLFormGroup,
774
+ HLFromTo,
775
+ HLHeader,
776
+ HLIcon,
777
+ HLInput,
778
+ HLInputMonetary,
779
+ HLInputNumber,
780
+ HLLayout,
781
+ HLMain,
782
+ HLMarkdown,
783
+ HLMenu,
784
+ HLModal,
785
+ HLPageHeader,
786
+ HLPopover,
787
+ HLPowerSearch,
788
+ HLPowerSelect,
789
+ HLProgress,
790
+ HLRadio,
791
+ HLSelect,
786
792
  HLSelectMultiple,
793
+ HLSideMenu,
794
+ HLSpin,
795
+ HLSwitch,
796
+ HLTable,
797
+ HLTableDataLimitAlert,
787
798
  HLTabs,
788
- HLBigDecimalInputNumber,
789
- HLInputMonetary,
799
+ HLTag,
790
800
  HLTagRounded,
791
- HLAdvancedPowerSelect,
792
- AdvancedPowerSelectStoreInterface,
793
- HLFromTo,
794
- HLMarkdown,
795
- HLEditTable,
796
- HLArticle,
797
- HLCode,
801
+ HLTextArea,
802
+ HLTooltip,
803
+ HLTotalizer,
804
+ HLTree,
805
+ HLUserBox,
806
+ PowerSearchOperators,
807
+ PowerSelectStoreInterface,
808
+ SearchObject,
809
+ SearchType,
810
+ SelectStoreInterface,
798
811
  };
799
812
 
800
813
  declare module '*.module.css';