analytica-frontend-lib 1.0.45 → 1.0.47

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.
@@ -0,0 +1,85 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode } from 'react';
3
+
4
+ interface CardActivesResultsProps extends HTMLAttributes<HTMLDivElement> {
5
+ icon: ReactNode;
6
+ title: string;
7
+ subTitle: string;
8
+ header: string;
9
+ description?: string;
10
+ extended?: boolean;
11
+ action?: 'warning' | 'success' | 'error' | 'info';
12
+ }
13
+ declare const CardActivesResults: react.ForwardRefExoticComponent<CardActivesResultsProps & react.RefAttributes<HTMLDivElement>>;
14
+ interface CardQuestionProps extends HTMLAttributes<HTMLDivElement> {
15
+ header: string;
16
+ state?: 'done' | 'undone';
17
+ onClickButton?: (valueButton?: unknown) => void;
18
+ valueButton?: unknown;
19
+ }
20
+ declare const CardQuestions: react.ForwardRefExoticComponent<CardQuestionProps & react.RefAttributes<HTMLDivElement>>;
21
+ interface CardProgressProps extends HTMLAttributes<HTMLDivElement> {
22
+ header: string;
23
+ subhead?: string;
24
+ initialDate?: string;
25
+ endDate?: string;
26
+ progress?: number;
27
+ direction?: 'horizontal' | 'vertical';
28
+ icon: ReactNode;
29
+ color?: string;
30
+ }
31
+ declare const CardProgress: react.ForwardRefExoticComponent<CardProgressProps & react.RefAttributes<HTMLDivElement>>;
32
+ interface CardTopicProps extends HTMLAttributes<HTMLDivElement> {
33
+ header: string;
34
+ subHead?: string[];
35
+ progress: number;
36
+ showPercentage?: boolean;
37
+ }
38
+ declare const CardTopic: react.ForwardRefExoticComponent<CardTopicProps & react.RefAttributes<HTMLDivElement>>;
39
+ interface CardPerformanceProps extends HTMLAttributes<HTMLDivElement> {
40
+ header: string;
41
+ description?: string;
42
+ progress?: number;
43
+ onClickButton?: (valueButton?: unknown) => void;
44
+ valueButton?: unknown;
45
+ }
46
+ declare const CardPerformance: react.ForwardRefExoticComponent<CardPerformanceProps & react.RefAttributes<HTMLDivElement>>;
47
+ interface CardResultsProps extends HTMLAttributes<HTMLDivElement> {
48
+ header: string;
49
+ icon: ReactNode;
50
+ correct_answers: number;
51
+ incorrect_answers: number;
52
+ direction?: 'row' | 'col';
53
+ color?: string;
54
+ }
55
+ declare const CardResults: react.ForwardRefExoticComponent<CardResultsProps & react.RefAttributes<HTMLDivElement>>;
56
+ interface CardStatusProps extends HTMLAttributes<HTMLDivElement> {
57
+ header: string;
58
+ status: 'correct' | 'incorrect';
59
+ }
60
+ declare const CardStatus: react.ForwardRefExoticComponent<CardStatusProps & react.RefAttributes<HTMLDivElement>>;
61
+ interface CardSettingsProps extends HTMLAttributes<HTMLDivElement> {
62
+ icon: ReactNode;
63
+ header: string;
64
+ }
65
+ declare const CardSettings: react.ForwardRefExoticComponent<CardSettingsProps & react.RefAttributes<HTMLDivElement>>;
66
+ interface CardSupportProps extends HTMLAttributes<HTMLDivElement> {
67
+ header: string;
68
+ direction?: 'row' | 'col';
69
+ children: ReactNode;
70
+ }
71
+ declare const CardSupport: react.ForwardRefExoticComponent<CardSupportProps & react.RefAttributes<HTMLDivElement>>;
72
+ interface CardForumProps<T = unknown> extends HTMLAttributes<HTMLDivElement> {
73
+ title: string;
74
+ content: string;
75
+ comments: number;
76
+ date: string;
77
+ hour: string;
78
+ onClickComments?: (value?: T) => void;
79
+ valueComments?: T;
80
+ onClickProfile?: (profile?: T) => void;
81
+ valueProfile?: T;
82
+ }
83
+ declare const CardForum: react.ForwardRefExoticComponent<CardForumProps<unknown> & react.RefAttributes<HTMLDivElement>>;
84
+
85
+ export { CardActivesResults, CardForum, CardPerformance, CardProgress, CardQuestions, CardResults, CardSettings, CardStatus, CardSupport, CardTopic };
@@ -0,0 +1,85 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode } from 'react';
3
+
4
+ interface CardActivesResultsProps extends HTMLAttributes<HTMLDivElement> {
5
+ icon: ReactNode;
6
+ title: string;
7
+ subTitle: string;
8
+ header: string;
9
+ description?: string;
10
+ extended?: boolean;
11
+ action?: 'warning' | 'success' | 'error' | 'info';
12
+ }
13
+ declare const CardActivesResults: react.ForwardRefExoticComponent<CardActivesResultsProps & react.RefAttributes<HTMLDivElement>>;
14
+ interface CardQuestionProps extends HTMLAttributes<HTMLDivElement> {
15
+ header: string;
16
+ state?: 'done' | 'undone';
17
+ onClickButton?: (valueButton?: unknown) => void;
18
+ valueButton?: unknown;
19
+ }
20
+ declare const CardQuestions: react.ForwardRefExoticComponent<CardQuestionProps & react.RefAttributes<HTMLDivElement>>;
21
+ interface CardProgressProps extends HTMLAttributes<HTMLDivElement> {
22
+ header: string;
23
+ subhead?: string;
24
+ initialDate?: string;
25
+ endDate?: string;
26
+ progress?: number;
27
+ direction?: 'horizontal' | 'vertical';
28
+ icon: ReactNode;
29
+ color?: string;
30
+ }
31
+ declare const CardProgress: react.ForwardRefExoticComponent<CardProgressProps & react.RefAttributes<HTMLDivElement>>;
32
+ interface CardTopicProps extends HTMLAttributes<HTMLDivElement> {
33
+ header: string;
34
+ subHead?: string[];
35
+ progress: number;
36
+ showPercentage?: boolean;
37
+ }
38
+ declare const CardTopic: react.ForwardRefExoticComponent<CardTopicProps & react.RefAttributes<HTMLDivElement>>;
39
+ interface CardPerformanceProps extends HTMLAttributes<HTMLDivElement> {
40
+ header: string;
41
+ description?: string;
42
+ progress?: number;
43
+ onClickButton?: (valueButton?: unknown) => void;
44
+ valueButton?: unknown;
45
+ }
46
+ declare const CardPerformance: react.ForwardRefExoticComponent<CardPerformanceProps & react.RefAttributes<HTMLDivElement>>;
47
+ interface CardResultsProps extends HTMLAttributes<HTMLDivElement> {
48
+ header: string;
49
+ icon: ReactNode;
50
+ correct_answers: number;
51
+ incorrect_answers: number;
52
+ direction?: 'row' | 'col';
53
+ color?: string;
54
+ }
55
+ declare const CardResults: react.ForwardRefExoticComponent<CardResultsProps & react.RefAttributes<HTMLDivElement>>;
56
+ interface CardStatusProps extends HTMLAttributes<HTMLDivElement> {
57
+ header: string;
58
+ status: 'correct' | 'incorrect';
59
+ }
60
+ declare const CardStatus: react.ForwardRefExoticComponent<CardStatusProps & react.RefAttributes<HTMLDivElement>>;
61
+ interface CardSettingsProps extends HTMLAttributes<HTMLDivElement> {
62
+ icon: ReactNode;
63
+ header: string;
64
+ }
65
+ declare const CardSettings: react.ForwardRefExoticComponent<CardSettingsProps & react.RefAttributes<HTMLDivElement>>;
66
+ interface CardSupportProps extends HTMLAttributes<HTMLDivElement> {
67
+ header: string;
68
+ direction?: 'row' | 'col';
69
+ children: ReactNode;
70
+ }
71
+ declare const CardSupport: react.ForwardRefExoticComponent<CardSupportProps & react.RefAttributes<HTMLDivElement>>;
72
+ interface CardForumProps<T = unknown> extends HTMLAttributes<HTMLDivElement> {
73
+ title: string;
74
+ content: string;
75
+ comments: number;
76
+ date: string;
77
+ hour: string;
78
+ onClickComments?: (value?: T) => void;
79
+ valueComments?: T;
80
+ onClickProfile?: (profile?: T) => void;
81
+ valueProfile?: T;
82
+ }
83
+ declare const CardForum: react.ForwardRefExoticComponent<CardForumProps<unknown> & react.RefAttributes<HTMLDivElement>>;
84
+
85
+ export { CardActivesResults, CardForum, CardPerformance, CardProgress, CardQuestions, CardResults, CardSettings, CardStatus, CardSupport, CardTopic };