synos-helena 21.12.3-beta.2 → 21.13.1-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 DELETED
@@ -1,842 +0,0 @@
1
- // Generated by dts-bundle v0.7.3
2
- // Dependencies for this module:
3
- // ../antd/lib/alert
4
- // ../antd/lib/button
5
- // ../antd
6
- // ../antd/lib/card
7
- // ../react
8
- // ../antd/lib/checkbox
9
- // ../react-syntax-highlighter
10
- // ../antd/lib/collapse
11
- // util/constants
12
- // HLInput
13
- // ../antd/lib/config-provider/SizeContext
14
- // ../moment
15
- // ../dayjs
16
- // ../antd/es/date-picker/generatePicker
17
- // ../antd/lib/descriptions
18
- // ../antd/lib/divider
19
- // ../antd/lib/drawer
20
- // ../antd/lib/dropdown
21
- // HLHeaderButton
22
- // HLHeaderSearch
23
- // HLHealthCheck/HLHealthCheck
24
- // HLModulesMenu
25
- // HLNotification
26
- // HLUserBox
27
- // ../react-markdown/lib/react-markdown
28
- // ../react-router-dom
29
- // ../antd/lib/page-header
30
- // HLContext
31
- // ../antd/lib/popover
32
- // ../antd/lib/radio
33
- // ../antd/lib/select
34
- // ../antd/lib/spin
35
- // ../antd/lib/switch
36
- // ../antd/lib/tooltip
37
-
38
- import { AlertProps } from 'antd/lib/alert';
39
- import { ButtonProps } from 'antd/lib/button';
40
- import { Card } from 'antd';
41
- import { CardTabListType } from 'antd/lib/card';
42
- import { CSSProperties } from 'react';
43
- import { CheckboxChangeEvent } from 'antd/lib/checkbox';
44
- import { SyntaxHighlighterProps } from 'react-syntax-highlighter';
45
- import { CollapseProps } from 'antd/lib/collapse';
46
- import { CollapsePanelProps } from 'antd/lib/collapse';
47
- import React from 'react';
48
- import { DATE_TIME, DATE } from 'src/util/constants';
49
- import { HLInputPropTypes } from 'src/HLInput';
50
- import { SizeType } from 'antd/lib/config-provider/SizeContext';
51
- import { Moment } from 'moment';
52
- import { Dayjs } from 'dayjs';
53
- import { PickerProps, RangePickerProps } from 'antd/es/date-picker/generatePicker';
54
- import { Descriptions } from 'antd';
55
- import { DescriptionsProps } from 'antd/lib/descriptions';
56
- import { DividerProps } from 'antd/lib/divider';
57
- import { DrawerProps } from 'antd/lib/drawer';
58
- import { DropDownProps } from 'antd/lib/dropdown';
59
- import { TableProps } from 'antd';
60
- import { Form } from 'antd';
61
- import { ReactNode } from 'react';
62
- import { HLHeaderButtonPropTypes } from 'src/HLHeaderButton';
63
- import { HLHeaderSearchPropTypes } from 'src/HLHeaderSearch';
64
- import HLHealthCheck from 'src/HLHealthCheck/HLHealthCheck';
65
- import { HLModulesMenuPropTypes } from 'src/HLModulesMenu';
66
- import { HLNotificationPropTypes } from 'src/HLNotification';
67
- import { HLUserBoxPropTypes } from 'src/HLUserBox';
68
- import { Input } from 'antd';
69
- import { ReactMarkdownOptions } from 'react-markdown/lib/react-markdown';
70
- import { Link } from 'react-router-dom';
71
- import { BreadcrumbProps } from 'antd';
72
- import { PageHeaderProps } from 'antd/lib/page-header';
73
- import { HLContextPropTypes } from 'src/HLContext';
74
- import { PopoverProps } from 'antd/lib/popover';
75
- import { RadioChangeEvent } from 'antd/lib/radio';
76
- import { LabeledValue } from 'antd/lib/select';
77
- import { SpinProps } from 'antd/lib/spin';
78
- import { SwitchProps } from 'antd/lib/switch';
79
- import { TooltipProps } from 'antd/lib/tooltip';
80
-
81
-
82
- export type HLAlertPropTypes = AlertProps;
83
-
84
- export const HLAlert: React.FC<HLAlertPropTypes>;
85
-
86
- export type HLArticleSection = {
87
- key: string;
88
- title: string;
89
- content: ReactNode;
90
- subsections?: HLArticleSection[];
91
- };
92
-
93
- export type HLArticlePropTypes = {
94
- href: string;
95
- title?: string;
96
- sections: HLArticleSection[];
97
- };
98
-
99
- export const HLArticle: React.FC<HLArticlePropTypes>;
100
-
101
-
102
- export type HLButtonPropTypes = ButtonProps & {
103
- premium?: boolean;
104
- tooltip?: string;
105
- borderless?: boolean;
106
- 'data-cy'?: string;
107
- };
108
-
109
- export const HLButton: React.FC<HLButtonPropTypes>;
110
-
111
-
112
- export interface HLCardPropTypes {
113
- title?: string | React.ReactNode;
114
- extra?: string | React.ReactNode;
115
- loading?: boolean;
116
- size?: 'default' | 'small';
117
- type?: 'inner' | 'button';
118
- cover?: React.ReactNode;
119
- actions?: React.ReactNode[];
120
- tabList?: CardTabListType[];
121
- onTabChange?: (key: string) => void;
122
- activeTabKey?: string;
123
- defaultActiveTabKey?: string;
124
- className?: string;
125
- bordered?: boolean;
126
- bodyStyle?: CSSProperties;
127
- tabBarExtraContent?: React.ReactNode;
128
- }
129
-
130
- export const HLCard: React.FC<HLCardPropTypes> & { Meta: typeof Card.Meta };
131
-
132
-
133
- export interface HLCheckboxPropTypes {
134
- className?: string;
135
- key?: any;
136
- label?: string;
137
- domainAttribute: any;
138
- rules?: any[];
139
- placeholder?: string;
140
- form?: Record<string, any>;
141
- initialValue?: boolean;
142
- disabled?: boolean;
143
- onChange?: (e: CheckboxChangeEvent) => void;
144
- tooltip?: string;
145
- }
146
-
147
- export const HLCheckbox: React.FC<HLCheckboxPropTypes>;
148
-
149
-
150
- export type HLCodePropTypes = SyntaxHighlighterProps & {
151
- copyToClipboard?: boolean;
152
- };
153
-
154
- export const HLCode: React.FC<HLCodePropTypes>;
155
-
156
-
157
- export type HLCollapsePropTypes = CollapseProps;
158
-
159
- export const HLCollapse: React.FC<HLCollapsePropTypes> & { Panel: typeof Panel };
160
-
161
-
162
- export type PanelPropTypes = CollapsePanelProps;
163
-
164
- export const Panel: React.FC<PanelPropTypes>;
165
-
166
- export interface HLCollapseInfoPanelPropTypes {
167
- attributes: string[];
168
- object: any;
169
- title: string;
170
- columns?: number;
171
- isOpen?: boolean;
172
- }
173
-
174
-
175
- export interface EstabelecimentoOptions {
176
- label: string;
177
- value: any;
178
- }
179
-
180
- export interface SerieOptions {
181
- label: string;
182
- value: any;
183
- }
184
-
185
- export interface EstabelecimentoLabel {
186
- completo: string;
187
- abreviado: string;
188
- artigo: string;
189
- }
190
-
191
- export interface HLContextPropTypes {
192
- disableFutureDate?: boolean;
193
- estabelecimento?: Record<string, any>;
194
- estabelecimentos?: any[];
195
- estabelecimentoLabel?: EstabelecimentoLabel;
196
- serie?: Record<string, any>;
197
- series?: any[];
198
- format?: string;
199
- onApply?: (estabelecimento: any, format: 'YYYY-MM-DDTHH:mm:ss' | 'YYYY-MM-DD' | null, serie: any) => any | undefined;
200
- periodo?: number;
201
- width?: any;
202
- useISOFormat: 'YYYY-MM-DDTHH:mm:ss' | 'YYYY-MM-DD';
203
- loading: boolean = false;
204
- estabLabelLength?: number;
205
- }
206
-
207
- export const HLContext: React.FC<HLContextPropTypes>;
208
-
209
-
210
- export type HLCpfCnpjPropTypes = HLInputPropTypes & {
211
- type?: string;
212
- keepFormat?: boolean;
213
- };
214
-
215
- export const HLCpfCnpj: React.FC<HLCpfCnpjPropTypes>;
216
-
217
-
218
- export type DatePickerProps = {
219
- useDayjs?: boolean;
220
- } & PickerProps<Dayjs | Moment>;
221
-
222
- export type HLDatePickerPropTypes = DatePickerProps & {
223
- disableDateAfterThan?: Record<string, unknown>;
224
- disableDateBeforeThan?: Record<string, unknown>;
225
- disableDateRange?: any[];
226
- disabled?: boolean;
227
- form?: any;
228
- initialValue?: any;
229
- domainAttribute: string;
230
- label?: string;
231
- onChange?: (date: moment, dateString: string) => void;
232
- placeholder?: string;
233
- rules?: any[];
234
- size?: SizeType;
235
- format?: string;
236
- defaultPickerValue?: any;
237
- showTime?: boolean;
238
- key?: any;
239
- locale?: any;
240
- };
241
-
242
- export interface HLDatePickerChildren {
243
- MonthPicker: typeof MonthPicker;
244
- RangePicker: typeof RangePicker;
245
- }
246
-
247
- export const HLDatePicker: React.FC<HLDatePickerPropTypes> & HLDatePickerChildren;
248
-
249
-
250
- export type HLMonthPickerProps = DatePickerProps & {
251
- disabled?: boolean;
252
- domainAttribute: string;
253
- form?: Record<string, any>;
254
- label?: string;
255
- onChange?: (value: Dayjs | moment.Moment | null, dateString: string) => void;
256
- rules?: any[];
257
- key?: any;
258
- format?: string;
259
- };
260
-
261
- export const MonthPicker: React.FC<HLMonthPickerProps>;
262
-
263
-
264
- export type RangeDatePickerProps = {
265
- useDayjs?: boolean;
266
- } & RangePickerProps<Dayjs | Moment>;
267
-
268
- export type HLRangePickerProps = RangeDatePickerProps & {
269
- disabled?: boolean;
270
- domainAttribute: string;
271
- form?: any;
272
- label?: string;
273
- onChange?: (value: Dayjs | moment.Moment | null, dateString: string) => void;
274
- rules?: any[];
275
- key?: any;
276
- format?: string;
277
- };
278
-
279
- export const RangePicker: React.FC<HLRangePickerProps>;
280
-
281
-
282
- export interface HLDescriptionsChildren {
283
- Item: typeof Descriptions.Item;
284
- }
285
- export type HLDescriptionsPropTypes = DescriptionsProps;
286
-
287
- export const HLDescriptions: React.FC<HLDescriptionsPropTypes> & HLDescriptionsChildren;
288
-
289
-
290
- export type HLDividerPropTypes = DividerProps;
291
-
292
- export const HLDivider: React.FC<HLDividerPropTypes>;
293
-
294
-
295
- export interface HLDrawerPropTypes extends DrawerProps {
296
- width?: string | number;
297
- }
298
-
299
- export const HLDrawer: React.FC<HLDrawerPropTypes>;
300
-
301
-
302
- export type HLDropdownPropTypes = DropDownProps & {
303
- premium?: boolean;
304
- };
305
-
306
- export const HLDropdown: React.FC<HLDropdownPropTypes>;
307
-
308
-
309
- interface Menu {
310
- divider?: boolean;
311
- label?: string;
312
- link?: string;
313
- disabled?: boolean;
314
- query?: string;
315
- onClick?: React.MouseEvent<HTMLElement>;
316
- }
317
- export interface HLDropdownButtonPropTypes {
318
- menus: Menu[];
319
- icon?: string;
320
- label?: string;
321
- style?: React.CSSProperties;
322
- link?: any;
323
- }
324
-
325
- export const HLDropdownButton: React.FC<HLDropdownButtonPropTypes>;
326
-
327
-
328
- export type HLEditTablePropTypes = TableProps & {
329
- handleSave: (row: any) => void;
330
- };
331
- export const HLEditTable: React.FC<HLEditTablePropTypes>;
332
-
333
- export interface Page500PropTypes {
334
- supportPhone: string;
335
- }
336
-
337
- export const Page500: React.FC<Page500PropTypes>;
338
-
339
-
340
- export const HLForm: React.FC<typeof Form> & { Item: typeof Form.Item };
341
-
342
-
343
- export interface HLFromToProps<L, R, T> {
344
- fromL: HLFromToPanelTypes<L>;
345
- fromR: HLFromToPanelTypes<R>;
346
- to: HLFromToPanelTypes<T>;
347
- tablesY: number;
348
- onAssociate: (fromL?: L | L[], fromR?: R | R[], customL?: string, customR?: string) => void;
349
- onDisassociate: (to?: T | T[]) => void;
350
- disabledAssociate?: (fromL?: L | L[], fromR?: R | R[], customL?: string, customR?: string) => boolean;
351
- disabledDisassociate?: (to?: T | T[]) => boolean;
352
- }
353
-
354
- export type HLFromToPanelTypes<P> = {
355
- title?: string;
356
- newButton?: {
357
- label?: string;
358
- disabled?: boolean;
359
- onClick: (e) => void;
360
- };
361
- table?: {
362
- loading?: boolean;
363
- columns: Record<string, unknown>;
364
- dataSource: Record<string, unknown>[];
365
- loadMore?: Record<string, unknown>;
366
- onSelect?: (selectedRows?: P | P[]) => void;
367
- };
368
- powerSearch?: {
369
- columns: Record<string, unknown>;
370
- onSubmit: (params) => void;
371
- };
372
- custom?: {
373
- label: string;
374
- };
375
- footer?: ReactNode;
376
- multiple?: boolean;
377
- };
378
-
379
-
380
- export interface HLHeaderPropTypes {
381
- children: ReactNode;
382
- collapsed: boolean;
383
- collapsedClick: () => unknown;
384
- headerSearch?: HLHeaderSearchPropTypes;
385
- moduleName: string;
386
- modulesMenu?: HLModulesMenuPropTypes;
387
- notifications: HLNotificationPropTypes;
388
- userBox?: HLUserBoxPropTypes;
389
- headerButtons?: HLHeaderButtonPropTypes[];
390
- healthCheck?: HLHealthCheck;
391
- }
392
-
393
- export const HLHeader: React.FC<HLHeaderPropTypes>;
394
-
395
- export interface HLHeaderButtonPropTypes {
396
- icon: string;
397
- tooltip?: string;
398
- disabled?: boolean;
399
- onClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
400
- }
401
-
402
- export const HLHeaderButton: React.FC<HLHeaderButtonPropTypes>;
403
-
404
- export interface HLHeaderSearchPropTypes {
405
- onSubmit: (unknown) => unknown;
406
- }
407
-
408
- export const HLHeaderSearch: React.FC<HLHeaderSearchPropTypes>;
409
-
410
-
411
- export interface HLInputPropTypes {
412
- key?: any;
413
- label?: string;
414
- disabled?: boolean;
415
- domainAttribute: string;
416
- 'data-cy'?: string;
417
- form?: Record<string, any>;
418
- initialValue?: string | number;
419
- onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
420
- placeholder?: string;
421
- rules?: any[];
422
- size?: 'large' | 'middle' | 'small';
423
- maxLength?: number;
424
- onPressEnter?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
425
- ref?: ((instance: Input | null) => void) | React.RefObject<Input> | null;
426
- onValueFromEvent?: (unknown) => unknown;
427
- style?: React.CSSProperties;
428
- autoComplete?: string;
429
- readOnly?: boolean;
430
- onFocus?: (unknown) => unknown | undefined;
431
- onBlur?: (unknown) => unknown | undefined;
432
- }
433
-
434
- interface HLInputChildren {
435
- Search: typeof Input.Search;
436
- Password: typeof Password;
437
- Group: typeof Input.Group;
438
- }
439
-
440
- export const HLInput: React.FC<HLInputPropTypes> & HLInputChildren;
441
-
442
-
443
- export type PasswordPropTypes = HLInputPropTypes & {
444
- visibilityToggle: boolean;
445
- };
446
-
447
- export const Password: React.FC<PasswordPropTypes>;
448
-
449
-
450
- export interface HLInputMonetaryPropTypes {
451
- key?: any;
452
- label?: string;
453
- disabled?: boolean;
454
- domainAttribute: string;
455
- form?: Record<string, any>;
456
- initialValue?: string | number;
457
- placeholder?: string;
458
- size?: 'large' | 'middle' | 'small';
459
- rules?: any[];
460
- min?: number;
461
- max?: number;
462
- ref?: ((instance: Input | null) => void) | React.RefObject<Input> | null;
463
- style?: React.CSSProperties;
464
- precision?: number;
465
- stringMode?: boolean;
466
- onChange?: (event: any) => void;
467
- onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
468
- onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
469
- }
470
-
471
- export const HLInputMonetary: React.FC<HLInputMonetaryPropTypes>;
472
-
473
- export interface HLMainPropTypes {
474
- className?: string;
475
- }
476
-
477
- export const HLMain: React.FC<HLMainPropTypes>;
478
-
479
-
480
- export type HLMarkdownPropTypes = ReactMarkdownOptions;
481
-
482
- export const HLMarkdown: React.FC<HLMarkdownPropTypes>;
483
-
484
- interface Module {
485
- title: string;
486
- description?: string;
487
- link: string;
488
- }
489
-
490
- export interface HLModulesMenuPropTypes {
491
- linkLandingPage?: string;
492
- onClickButton?: (event: React.MouseEvent<HTMLElement, globalThis.MouseEvent>) => void;
493
- }
494
-
495
- export const HLModulesMenu: React.FC<HLModulesMenuPropTypes>;
496
-
497
-
498
- interface Notification {
499
- title: string;
500
- description: string;
501
- type: string;
502
- date: number;
503
- isVisualized: boolean;
504
- link?: string;
505
- onClick?: React.MouseEvent<HTMLElement>;
506
- }
507
-
508
- export interface HLNotificationPropTypes {
509
- buttonLabel?: string;
510
- onClearNotification?: () => any;
511
- title?: string;
512
- placement?:
513
- | 'bottom'
514
- | 'top'
515
- | 'left'
516
- | 'right'
517
- | 'topLeft'
518
- | 'topRight'
519
- | 'bottomLeft'
520
- | 'bottomRight'
521
- | 'leftTop'
522
- | 'leftBottom'
523
- | 'rightTop'
524
- | 'rightBottom';
525
- Link?: Link;
526
- notifications?: Notification[];
527
- fetchNewNotifications: () => void;
528
- showFormat: string;
529
- refreshInterval: number;
530
- }
531
-
532
- export const HLNotification: React.FC<HLNotificationPropTypes>;
533
-
534
-
535
- interface Notification {
536
- title: string;
537
- description: string;
538
- type: string;
539
- date: number;
540
- isVisualized: boolean;
541
- link?: string;
542
- onClick?: React.MouseEvent<HTMLElement>;
543
- }
544
-
545
- export interface NotificationListPropTypes {
546
- Link?: Link;
547
- onClickNotification?: (unknown) => any;
548
- notifications?: Notification[];
549
- useDayjs?: boolean;
550
- showNotifications: () => void;
551
- hideNotifications: () => void;
552
- }
553
-
554
- export const NotificationList: React.FC<NotificationListPropTypes>;
555
-
556
-
557
- interface Context {
558
- label: string;
559
- value?: any;
560
- render?: (unknown) => unknown;
561
- }
562
-
563
- interface ContextInfo {
564
- columns?: number;
565
- context?: Context[];
566
- }
567
-
568
- interface Path {
569
- link: string;
570
- title: string;
571
- icon: string;
572
- }
573
-
574
- interface BreadcrumbPath {
575
- paths: Path[];
576
- link: Link;
577
- }
578
-
579
- export type HLPageHeaderPropTypes = PageHeaderProps & {
580
- context?: HLContextPropTypes;
581
- breadcrumbPaths?: BreadcrumbPath;
582
- contextInfo?: ContextInfo;
583
- title?: React.ReactNode;
584
- breadcrumb?: BreadcrumbProps;
585
- };
586
- export const HLPageHeader: React.FC<HLPageHeaderPropTypes>;
587
-
588
-
589
- export type HLPopoverPropTypes = PopoverProps;
590
-
591
- export const HLPopover: React.FC<PopoverProps>;
592
-
593
-
594
- interface Options {
595
- value?: string;
596
- text?: string;
597
- disabled?: boolean;
598
- style?: any;
599
- }
600
-
601
- export interface HLRadioPropTypes {
602
- className?: string;
603
- columns?: number;
604
- key?: any;
605
- label?: string;
606
- domainAttribute: any;
607
- rules?: any[];
608
- form?: Record<string, any>;
609
- initialValue?: boolean;
610
- disabled?: boolean;
611
- onChange?: (e: RadioChangeEvent) => void;
612
- size?: 'large' | 'middle' | 'small';
613
- options?: Options[];
614
- }
615
-
616
-
617
- export interface HLSelectPropTypes {
618
- fieldKey: string;
619
- initialValue?: string[];
620
- onChange?: (value: string[] | string | number | LabeledValue, option: any) => void;
621
- onSelect?: (value: string | number | LabeledValue, option: any) => void;
622
- onDeselect?: (value: string | number | LabeledValue, option: any) => void;
623
- store: PowerSelectStoreInterface;
624
- itemKey: string;
625
- itemValue?: string;
626
- itemLabels: string[];
627
- form: Record<string, any>;
628
- rules?: any[];
629
- label?: string;
630
- style?: Record<string, any>;
631
- placeholder?: string;
632
- notContentMessage?: string;
633
- mode?: 'multiple' | 'tags';
634
- disabled?: boolean;
635
- showSearch?: boolean;
636
- allowClear?: boolean;
637
- onClear?: () => void;
638
- }
639
- export const HLSelect: React.FC<HLSelectPropTypes>;
640
-
641
-
642
- export interface HLSideMenuPropTypes {
643
- collapsed: boolean;
644
- location: any;
645
- subMenus: any[];
646
- changeOpenKeys: (unknown) => unknown;
647
- onOpenChange: (unknown) => unknown;
648
- generateLink: (unknown, unknown, unknown, unknown) => any;
649
- allowsAccessByResourceId: (unknown) => unknown;
650
- changeCollapsedState: (unknown) => unknown;
651
- openKeys: any[];
652
- baseboardLogoPath?: string;
653
- baseboardText?: string;
654
- menuLogoPath: string;
655
- menuCollapsedLogoPath?: string;
656
- link?: Link;
657
- homePath: string;
658
- singleActiveMenu?: boolean;
659
- }
660
- export const HLSideMenu: React.FC<HLSideMenuPropTypes>;
661
-
662
-
663
- export type HLSpinPropTypes = SpinProps & {
664
- centralized?: boolean;
665
- };
666
-
667
- export const HLSpin: React.FC<HLSpinPropTypes>;
668
-
669
-
670
- export const HLSwitch: React.FC<SwitchProps>;
671
-
672
- export interface HLTextAreaProptypes {
673
- autosize?: { maxRows?: number; minRows?: number };
674
- disabled?: boolean;
675
- domainAttribute: any;
676
- form?: Record<string, any>;
677
- initialValue?: string;
678
- key?: any;
679
- label?: string;
680
- maxLength?: number;
681
- onChange?: ((event: React.ChangeEvent<HTMLTextAreaElement>) => void) | undefined;
682
- placeholder?: string;
683
- rules?: any[];
684
- }
685
-
686
- export const HLTextArea: React.FC<HLTextAreaProptypes>;
687
-
688
-
689
- export const HLTooltip: React.FC<TooltipProps>;
690
-
691
-
692
- export type HLTotalizerSize = 'default' | 'big';
693
-
694
- export interface HLTotalizerPropTypes {
695
- key?: string;
696
- className?: string;
697
- title: string;
698
- subtitle?: string;
699
- content?: string | React.ReactNode;
700
- value: string;
701
- footer?: React.ReactNode;
702
- active?: boolean;
703
- disabled?: boolean;
704
- activeColor?: string;
705
- size?: HLTotalizerSize;
706
- flagColor?: string;
707
- onClick?: (e: any) => void;
708
- }
709
-
710
- export const HLTotalizer: React.FC<HLTotalizerPropTypes>;
711
-
712
- interface User {
713
- name?: string;
714
- avatar?: string;
715
- }
716
-
717
- export interface HLUserBoxPropTypes {
718
- options?: any[];
719
- user?: User;
720
- logout?: (unknown) => unknown;
721
- tenant?: string;
722
- moduleInfo?: ModuleInfo;
723
- sysStatus?: any;
724
- }
725
- export const HLUserBox: React.FC<HLUserBoxPropTypes>;
726
-
727
- export interface ModuleInfoPropTypes {
728
- name: string;
729
- version: string;
730
- buildDate: Date;
731
- description?: ReactNode;
732
- thirdPartyLibrariesInfo?: [{ name: string; version?: string; description?: ReactNode }];
733
- }
734
- export const ModuleInfo: React.FC<ModuleInfoPropTypes>;
735
-
736
-
737
- export {
738
- AdvancedPowerSelectStoreInterface,
739
- HLAdvancedPowerSelect,
740
- HLAlert,
741
- HLArticle,
742
- HLAssociateDisassociate,
743
- HLBigDecimalInputNumber,
744
- HLBreadcrumb,
745
- HLButton,
746
- HLCard,
747
- HLCheckbox,
748
- HLCode,
749
- HLCollapse,
750
- HLCollapseInfoPanel,
751
- HLContext,
752
- HLCpfCnpj,
753
- HLDatePicker,
754
- HLDescriptions,
755
- HLDivider,
756
- HLDrawer,
757
- HLDropdown,
758
- HLDropdownButton,
759
- HLEditTable,
760
- HLException,
761
- HLForm,
762
- HLFormAction,
763
- HLFormGroup,
764
- HLFromTo,
765
- HLHeader,
766
- HLIcon,
767
- HLInput,
768
- HLInputMonetary,
769
- HLInputNumber,
770
- HLLayout,
771
- HLMain,
772
- HLMarkdown,
773
- HLMenu,
774
- HLModal,
775
- HLPageHeader,
776
- HLPopover,
777
- HLPowerSearch,
778
- HLPowerSelect,
779
- HLProgress,
780
- HLRadio,
781
- HLSelect,
782
- HLSelectMultiple,
783
- HLSideMenu,
784
- HLSpin,
785
- HLSwitch,
786
- HLTable,
787
- HLTableDataLimitAlert,
788
- HLTabs,
789
- HLTag,
790
- HLTagRounded,
791
- HLTextArea,
792
- HLTooltip,
793
- HLTotalizer,
794
- HLTree,
795
- HLUserBox,
796
- PowerSearchOperators,
797
- PowerSelectStoreInterface,
798
- SearchObject,
799
- SearchType,
800
- SelectStoreInterface,
801
- };
802
-
803
- declare module '*.module.css';
804
- declare module '*.svg';
805
-
806
-
807
- export type PanelPropTypes = CollapsePanelProps;
808
-
809
- export const Panel: React.FC<PanelPropTypes>;
810
-
811
-
812
- export interface HLInputPropTypes {
813
- key?: any;
814
- label?: string;
815
- disabled?: boolean;
816
- domainAttribute: string;
817
- 'data-cy'?: string;
818
- form?: Record<string, any>;
819
- initialValue?: string | number;
820
- onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
821
- placeholder?: string;
822
- rules?: any[];
823
- size?: 'large' | 'middle' | 'small';
824
- maxLength?: number;
825
- onPressEnter?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
826
- ref?: ((instance: Input | null) => void) | React.RefObject<Input> | null;
827
- onValueFromEvent?: (unknown) => unknown;
828
- style?: React.CSSProperties;
829
- autoComplete?: string;
830
- readOnly?: boolean;
831
- onFocus?: (unknown) => unknown | undefined;
832
- onBlur?: (unknown) => unknown | undefined;
833
- }
834
-
835
- interface HLInputChildren {
836
- Search: typeof Input.Search;
837
- Password: typeof Password;
838
- Group: typeof Input.Group;
839
- }
840
-
841
- export const HLInput: React.FC<HLInputPropTypes> & HLInputChildren;
842
-