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

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