nectiasw 0.0.7 → 0.0.9
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/dist/components/Badge/index.d.ts +17 -0
- package/dist/components/Badge/types.d.ts +5 -0
- package/dist/components/Box/index.d.ts +108 -0
- package/dist/components/Box/styles.d.ts +10 -0
- package/dist/components/Button/builder.d.ts +21 -0
- package/dist/components/Button/index.d.ts +10 -0
- package/dist/components/Button/styled.d.ts +5 -0
- package/dist/components/Button/styles.d.ts +4 -0
- package/dist/components/Button/types.d.ts +26 -0
- package/dist/components/Card/index.d.ts +7 -0
- package/dist/components/Card/styles.d.ts +17 -0
- package/dist/components/Card/types.d.ts +10 -0
- package/dist/components/Checkbox/index.d.ts +0 -1
- package/dist/components/Collapse/index.d.ts +17 -0
- package/dist/components/Collapse/styles.d.ts +17 -0
- package/dist/components/Container/index.d.ts +13 -0
- package/dist/components/Counter/index.d.ts +12 -0
- package/dist/components/Counter/styles.d.ts +9 -0
- package/dist/components/Datepicker/index.d.ts +30 -0
- package/dist/components/Datepicker/styled.d.ts +9 -0
- package/dist/components/Datepicker/styles.d.ts +5 -0
- package/dist/components/DeadlineChart/index.d.ts +54 -0
- package/dist/components/DeadlineChart/styles.d.ts +11 -0
- package/dist/components/Detail/index.d.ts +37 -0
- package/dist/components/Detail/styles.d.ts +14 -0
- package/dist/components/Dropdown/index.d.ts +42 -0
- package/dist/components/Dropdown/styles.d.ts +21 -0
- package/dist/components/Empty/index.d.ts +14 -0
- package/dist/components/Flex/index.d.ts +26 -0
- package/dist/components/Flex/styles.d.ts +9 -0
- package/dist/components/Grid/index.d.ts +37 -0
- package/dist/components/Input/index.d.ts +58 -0
- package/dist/components/Input/styles.d.ts +8 -0
- package/dist/components/Input/variants/InputTable.d.ts +4 -0
- package/dist/components/Loading/index.d.ts +17 -0
- package/dist/components/Loading/styles.d.ts +19 -0
- package/dist/components/Modal/index.d.ts +9 -0
- package/dist/components/Modal/styles.d.ts +25 -0
- package/dist/components/Navbar/index.d.ts +26 -0
- package/dist/components/Navbar/styles.d.ts +32 -0
- package/dist/components/Pagination/index.d.ts +4 -0
- package/dist/components/Pagination/styles.d.ts +25 -0
- package/dist/components/Pagination/types.d.ts +18 -0
- package/dist/components/RadioButton/index.d.ts +14 -0
- package/dist/components/RadioButton/styles.d.ts +7 -0
- package/dist/components/Row/index.d.ts +15 -0
- package/dist/components/Search/index.d.ts +8 -0
- package/dist/components/Search/styles.d.ts +20 -0
- package/dist/components/Search/types.d.ts +72 -0
- package/dist/components/Search/variants/ScrollSearch.d.ts +5 -0
- package/dist/components/Search/variants/styled.d.ts +19 -0
- package/dist/components/Select/builder.d.ts +28 -0
- package/dist/components/Select/index.d.ts +43 -0
- package/dist/components/Switch/index.d.ts +19 -0
- package/dist/components/Table/builder.d.ts +19 -0
- package/dist/components/Table/index.d.ts +147 -0
- package/dist/components/Table/styles.d.ts +27 -0
- package/dist/components/Table/variants/participants.d.ts +14 -0
- package/dist/components/Tableinput/index.d.ts +41 -0
- package/dist/components/Tableinput/styles.d.ts +3 -0
- package/dist/components/Tableinput/types.d.ts +8 -0
- package/dist/components/Textarea/index.d.ts +15 -0
- package/dist/components/Textarea/styled.d.ts +3 -0
- package/dist/components/Textarea/styles.d.ts +23 -0
- package/dist/components/Timeline/index.d.ts +135 -0
- package/dist/components/Timeline/styles.d.ts +5 -0
- package/dist/components/Tooltip/index.d.ts +17 -0
- package/dist/components/Tooltip/styled.d.ts +23 -0
- package/dist/components/Tooltip/styles.d.ts +3 -0
- package/dist/components/Totalhours/index.d.ts +48 -0
- package/dist/components/Wizard/index.d.ts +17 -0
- package/dist/components/Wizard/styles.d.ts +8 -0
- package/dist/components/index.d.ts +62 -0
- package/dist/constants/index.d.ts +11 -0
- package/dist/index.d.ts +1 -6
- package/dist/index.es.js +42404 -8221
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4103 -35
- package/dist/index.umd.js.map +1 -1
- package/dist/main.d.ts +1 -6
- package/dist/style.css +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/time/index.d.ts +7 -0
- package/package.json +13 -1
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonProps } from '@nectiasw/components/Button';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @description
|
|
6
|
+
* This file contains the Table component for the Tailwind CSS framework.
|
|
7
|
+
* @param props The properties of the Table component.
|
|
8
|
+
*/
|
|
9
|
+
export declare const Table: React.FunctionComponent<TableProps>;
|
|
10
|
+
/**
|
|
11
|
+
* @description
|
|
12
|
+
* This file contains the TableData component for the Tailwind CSS framework.
|
|
13
|
+
* @param props The properties of the TableData component.
|
|
14
|
+
*/
|
|
15
|
+
export declare const TableData: React.FunctionComponent<TableDataProps>;
|
|
16
|
+
/**
|
|
17
|
+
* @description
|
|
18
|
+
* This file contains the TableStatus component for the Tailwind CSS framework.
|
|
19
|
+
*/
|
|
20
|
+
export declare const Status: React.FunctionComponent<TableStatusProps>;
|
|
21
|
+
/**
|
|
22
|
+
* @description
|
|
23
|
+
* This file contains the TableRow component for the Tailwind CSS framework.
|
|
24
|
+
* @param props The properties of the TableRow component.
|
|
25
|
+
*/
|
|
26
|
+
export declare const TableRow: React.FunctionComponent<TableRowProps>;
|
|
27
|
+
/**
|
|
28
|
+
* @description
|
|
29
|
+
* This file contains the TableWrapper component for the Tailwind CSS framework.
|
|
30
|
+
*/
|
|
31
|
+
export declare const TableWrapper: React.FunctionComponent;
|
|
32
|
+
type StyledTheadProps = {
|
|
33
|
+
fixedHeader?: boolean;
|
|
34
|
+
theadColor?: string;
|
|
35
|
+
index?: number;
|
|
36
|
+
};
|
|
37
|
+
export declare const Table: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, Partial<TableProps>>> & string;
|
|
38
|
+
export declare const StyledThead: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, StyledTheadProps>> & string;
|
|
39
|
+
export declare const StyledTableHead: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, Partial<Heading<{}> & {
|
|
40
|
+
index?: number;
|
|
41
|
+
fixedHeader?: boolean;
|
|
42
|
+
}>>> & string;
|
|
43
|
+
export declare const StyledTableRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, Partial<TableRowProps>>> & string;
|
|
44
|
+
export declare const StyledTableData: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, Partial<TableDataProps & {
|
|
45
|
+
index?: number;
|
|
46
|
+
isFixed?: boolean;
|
|
47
|
+
right?: string;
|
|
48
|
+
}>>> & string;
|
|
49
|
+
export declare const Col: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, Partial<TableColProps>>> & string;
|
|
50
|
+
/**
|
|
51
|
+
* @description
|
|
52
|
+
* StatusColor is a styled component that renders a div with a background color.
|
|
53
|
+
*/
|
|
54
|
+
export declare const StatusColor: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
55
|
+
color?: string;
|
|
56
|
+
}>> & string;
|
|
57
|
+
export declare const HeaderContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
58
|
+
sortable?: boolean | undefined;
|
|
59
|
+
}>> & string;
|
|
60
|
+
export type Heading<T = {}> = {
|
|
61
|
+
title: string;
|
|
62
|
+
tooltip?: string;
|
|
63
|
+
width?: string;
|
|
64
|
+
align?: "left" | "center" | "right";
|
|
65
|
+
className?: string;
|
|
66
|
+
color?: string;
|
|
67
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
68
|
+
sort?: "ASC" | "DESC" | "DEFAULT";
|
|
69
|
+
sortabled?: boolean;
|
|
70
|
+
clear?: boolean;
|
|
71
|
+
alias?: keyof T;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @description
|
|
75
|
+
* This file contains the types for the Table component.
|
|
76
|
+
*/
|
|
77
|
+
export type TableProps = {
|
|
78
|
+
auto?: boolean;
|
|
79
|
+
onSort?: (field: string, index?: number) => void;
|
|
80
|
+
onReset?: () => void;
|
|
81
|
+
fixedHeader?: boolean;
|
|
82
|
+
index?: number;
|
|
83
|
+
headers: string[] | Heading[];
|
|
84
|
+
widths?: number[];
|
|
85
|
+
children: React.ReactNode;
|
|
86
|
+
cellSpacing?: number;
|
|
87
|
+
cellPadding?: number;
|
|
88
|
+
className?: string;
|
|
89
|
+
filter?: string;
|
|
90
|
+
unit?: "%" | "px" | "rem";
|
|
91
|
+
checked?: boolean;
|
|
92
|
+
hasCheckbox?: boolean;
|
|
93
|
+
onChangeCheckbox?: (checked: boolean) => void;
|
|
94
|
+
headerClassName?: string;
|
|
95
|
+
};
|
|
96
|
+
export type TableDataProps = {
|
|
97
|
+
last?: boolean;
|
|
98
|
+
asError?: boolean;
|
|
99
|
+
first?: boolean;
|
|
100
|
+
overflow?: boolean;
|
|
101
|
+
innerText?: string;
|
|
102
|
+
className?: string;
|
|
103
|
+
formatAsCLP?: boolean;
|
|
104
|
+
formatAsRut?: boolean;
|
|
105
|
+
formatAsDate?: boolean;
|
|
106
|
+
overflowWrap?: boolean;
|
|
107
|
+
formatAsNumber?: boolean;
|
|
108
|
+
formatAsStatus?: boolean;
|
|
109
|
+
formatAsPercentage?: boolean;
|
|
110
|
+
formatAsDigits?: boolean;
|
|
111
|
+
children?: React.ReactNode;
|
|
112
|
+
color?: string;
|
|
113
|
+
dataId?: number;
|
|
114
|
+
checked?: boolean;
|
|
115
|
+
hasCheckbox?: boolean;
|
|
116
|
+
icons?: React.ReactNode[];
|
|
117
|
+
align?: "left" | "center" | "right";
|
|
118
|
+
iconJustify?: "center" | "start" | "end" | "between" | "around";
|
|
119
|
+
onClickDetail?: () => void;
|
|
120
|
+
onChangeCheckbox?: (checked: boolean, dataId?: number) => void;
|
|
121
|
+
detailText?: string;
|
|
122
|
+
detailDisabled?: boolean;
|
|
123
|
+
detailVariant?: ButtonProps["variant"];
|
|
124
|
+
indexed?: boolean;
|
|
125
|
+
hasRadioButton?: boolean;
|
|
126
|
+
onChangeRadioButton?: (value: string | undefined) => void;
|
|
127
|
+
isFixed?: boolean;
|
|
128
|
+
right?: string;
|
|
129
|
+
};
|
|
130
|
+
export type TableRowProps = {
|
|
131
|
+
children: React.ReactNode;
|
|
132
|
+
align?: "left" | "center" | "right";
|
|
133
|
+
};
|
|
134
|
+
export type TableStatusProps = {
|
|
135
|
+
id?: number;
|
|
136
|
+
color?: string;
|
|
137
|
+
onClick?: () => void;
|
|
138
|
+
text?: TableDataProps["detailText"];
|
|
139
|
+
disabled?: TableDataProps["detailDisabled"];
|
|
140
|
+
variant?: ButtonProps["variant"];
|
|
141
|
+
value: "Normal" | "Cerrado" | "Crítico" | "Por emisión OC";
|
|
142
|
+
};
|
|
143
|
+
export type TableColProps = {
|
|
144
|
+
width?: number;
|
|
145
|
+
unit?: "%" | "px" | "rem";
|
|
146
|
+
};
|
|
147
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const classes: {
|
|
2
|
+
table: {
|
|
3
|
+
container: string;
|
|
4
|
+
};
|
|
5
|
+
colHead: string;
|
|
6
|
+
kind: string;
|
|
7
|
+
row: {
|
|
8
|
+
delete: string;
|
|
9
|
+
sortable: string;
|
|
10
|
+
container: string;
|
|
11
|
+
innerText: string;
|
|
12
|
+
};
|
|
13
|
+
data: {
|
|
14
|
+
container: string;
|
|
15
|
+
borders: string;
|
|
16
|
+
};
|
|
17
|
+
status: {
|
|
18
|
+
root: string;
|
|
19
|
+
item: string;
|
|
20
|
+
};
|
|
21
|
+
cols: {
|
|
22
|
+
grids: string;
|
|
23
|
+
details: string;
|
|
24
|
+
};
|
|
25
|
+
selectable: string;
|
|
26
|
+
icons: (justify?: string) => string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TableProps } from '../index';
|
|
3
|
+
|
|
4
|
+
export declare const Participants: React.FunctionComponent<TableProps>;
|
|
5
|
+
export declare const Table: any;
|
|
6
|
+
export declare const StyledTableHead: any;
|
|
7
|
+
export declare const StyledTableRow: any;
|
|
8
|
+
export declare const StyledTableData: any;
|
|
9
|
+
export declare const Col: any;
|
|
10
|
+
/**
|
|
11
|
+
* @description
|
|
12
|
+
* StatusColor is a styled component that renders a div with a background color.
|
|
13
|
+
*/
|
|
14
|
+
export declare const StatusColor: any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { InputMode } from './types';
|
|
3
|
+
|
|
4
|
+
export declare const TableInput: React.MemoExoticComponent<(props: TableInputProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
|
+
interface StyledProps {
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
mode?: InputMode;
|
|
9
|
+
isError?: boolean;
|
|
10
|
+
maxValue?: number;
|
|
11
|
+
minValue?: number;
|
|
12
|
+
borderRadius?: string;
|
|
13
|
+
allowedKeys?: string[];
|
|
14
|
+
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
15
|
+
onEnter?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const StyledInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, StyledProps>> & string;
|
|
18
|
+
export type TableInputProps = {
|
|
19
|
+
value?: string | number;
|
|
20
|
+
fullWidth?: boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
className?: string;
|
|
23
|
+
downKeys?: DownKeys;
|
|
24
|
+
isError?: boolean;
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
mode?: InputMode;
|
|
27
|
+
minValue?: number;
|
|
28
|
+
maxValue?: number;
|
|
29
|
+
maxLength?: number;
|
|
30
|
+
placeholder?: string;
|
|
31
|
+
borderRadius?: string;
|
|
32
|
+
fieldIdentifier?: string;
|
|
33
|
+
allowedKeys?: string[];
|
|
34
|
+
onChange?: (value: string | number) => void;
|
|
35
|
+
onKeyDown?: (value: string | number, fieldIdentifier?: string) => void;
|
|
36
|
+
};
|
|
37
|
+
type DownKeys = {
|
|
38
|
+
next: string;
|
|
39
|
+
prev: string;
|
|
40
|
+
};
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const TextArea: React.FunctionComponent<TextAreaProps>;
|
|
4
|
+
export type TextAreaProps = {
|
|
5
|
+
name?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
8
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
rows?: number;
|
|
12
|
+
textColor?: string;
|
|
13
|
+
borderColor?: string;
|
|
14
|
+
maxLength?: number;
|
|
15
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TextAreaProps } from './index';
|
|
2
|
+
|
|
3
|
+
export declare const StyledTextArea: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, TextAreaProps>> & string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const classes: {
|
|
2
|
+
container: {
|
|
3
|
+
content: string;
|
|
4
|
+
description: string;
|
|
5
|
+
root: string;
|
|
6
|
+
sub: string;
|
|
7
|
+
};
|
|
8
|
+
inscription: {
|
|
9
|
+
title: string;
|
|
10
|
+
};
|
|
11
|
+
success: {
|
|
12
|
+
position: string;
|
|
13
|
+
confirmation: string;
|
|
14
|
+
show: string;
|
|
15
|
+
hide: string;
|
|
16
|
+
};
|
|
17
|
+
error: {
|
|
18
|
+
position: string;
|
|
19
|
+
confirmation: string;
|
|
20
|
+
show: string;
|
|
21
|
+
hide: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type ParticipantDetailProps = Partial<{
|
|
4
|
+
dateEndOld: string;
|
|
5
|
+
dateEndNew: string;
|
|
6
|
+
dateInitNew: string;
|
|
7
|
+
dateInitOld: string;
|
|
8
|
+
companyCost: boolean;
|
|
9
|
+
financingTypeOld: string;
|
|
10
|
+
financingTypeNew: string;
|
|
11
|
+
checkBipartiteOld: true;
|
|
12
|
+
checkBipartiteNew: false;
|
|
13
|
+
participant: Participant;
|
|
14
|
+
participantValueOld: number;
|
|
15
|
+
participantValueNew: number;
|
|
16
|
+
trainingPlaceOld: Place;
|
|
17
|
+
trainingPlaceNew: Place;
|
|
18
|
+
commentOld: string;
|
|
19
|
+
commentNew: string;
|
|
20
|
+
contractNew: string;
|
|
21
|
+
contractOld: string;
|
|
22
|
+
}>;
|
|
23
|
+
export type Place = {
|
|
24
|
+
region: string;
|
|
25
|
+
commune: string;
|
|
26
|
+
address: string;
|
|
27
|
+
};
|
|
28
|
+
type Participant = {
|
|
29
|
+
rut: string;
|
|
30
|
+
name: string;
|
|
31
|
+
names?: {
|
|
32
|
+
namesOld: string;
|
|
33
|
+
namesNew: string;
|
|
34
|
+
};
|
|
35
|
+
paternalLastName?: {
|
|
36
|
+
paternalLastNameOld: string;
|
|
37
|
+
paternalLastNameNew: string;
|
|
38
|
+
};
|
|
39
|
+
maternalLastName?: {
|
|
40
|
+
maternalLastNameOld: string;
|
|
41
|
+
maternalLastNameNew: string;
|
|
42
|
+
};
|
|
43
|
+
dateBirth?: {
|
|
44
|
+
dateBirthOld: string;
|
|
45
|
+
dateBirthNew: string;
|
|
46
|
+
};
|
|
47
|
+
sex?: {
|
|
48
|
+
sexOld: string;
|
|
49
|
+
sexNew: string;
|
|
50
|
+
};
|
|
51
|
+
phone?: {
|
|
52
|
+
phoneOld: string;
|
|
53
|
+
phoneNew: string;
|
|
54
|
+
};
|
|
55
|
+
email?: {
|
|
56
|
+
emailOld: string;
|
|
57
|
+
emailNew: string;
|
|
58
|
+
};
|
|
59
|
+
country?: {
|
|
60
|
+
countryOld: string;
|
|
61
|
+
countryNew: string;
|
|
62
|
+
};
|
|
63
|
+
address?: {
|
|
64
|
+
addressOld: string;
|
|
65
|
+
addressNew: string;
|
|
66
|
+
};
|
|
67
|
+
schoolingCodeName?: {
|
|
68
|
+
schoolingCodeNameOld: string;
|
|
69
|
+
schoolingCodeNameNew: string;
|
|
70
|
+
};
|
|
71
|
+
levelCodeName?: {
|
|
72
|
+
levelCodeNameOld: string;
|
|
73
|
+
levelCodeNameNew: string;
|
|
74
|
+
};
|
|
75
|
+
commune?: {
|
|
76
|
+
communeOld: string;
|
|
77
|
+
communeNew: string;
|
|
78
|
+
};
|
|
79
|
+
franchise?: {
|
|
80
|
+
franchiseOld: number;
|
|
81
|
+
franchiseNew: number;
|
|
82
|
+
};
|
|
83
|
+
viaticMovilization?: {
|
|
84
|
+
authorizedViaticOld: number;
|
|
85
|
+
authorizedViaticNew: number;
|
|
86
|
+
authorizedMobilizationOld: number;
|
|
87
|
+
authorizedMobilizationNew: number;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
export type DetailTimelineProps = {
|
|
91
|
+
state?: number;
|
|
92
|
+
user?: string;
|
|
93
|
+
date?: string;
|
|
94
|
+
hour?: string;
|
|
95
|
+
action?: string;
|
|
96
|
+
active?: boolean;
|
|
97
|
+
onClick?: () => void;
|
|
98
|
+
onActive?: () => void;
|
|
99
|
+
onInactive?: () => void;
|
|
100
|
+
details: ParticipantDetailProps;
|
|
101
|
+
};
|
|
102
|
+
export declare const DetailTimeline: React.FC<DetailTimelineProps>;
|
|
103
|
+
export declare enum State {
|
|
104
|
+
"Analyst Assignament" = 1,
|
|
105
|
+
"Activity Cancellation" = 2,
|
|
106
|
+
"Participant Rectification" = 3,
|
|
107
|
+
"Participant Cancellation" = 4,
|
|
108
|
+
"Participant Removal" = 5,
|
|
109
|
+
"Change of Bipartite Committee" = 6,
|
|
110
|
+
"Agreed Value per Participant" = 7,
|
|
111
|
+
"Activity Removal" = 8,
|
|
112
|
+
"Activity Reactivation" = 9,
|
|
113
|
+
"Participant Reactivation" = 10,
|
|
114
|
+
"Change of Financing Account" = 11,
|
|
115
|
+
"Change of Start and End Dates" = 12,
|
|
116
|
+
"Change in Place" = 13,
|
|
117
|
+
"Change in Inscription Comment" = 14,
|
|
118
|
+
"Change In Contract Type" = 15
|
|
119
|
+
}
|
|
120
|
+
export type TimelineItemProps = {
|
|
121
|
+
width?: number;
|
|
122
|
+
active?: boolean;
|
|
123
|
+
maxWidth?: number;
|
|
124
|
+
};
|
|
125
|
+
export declare const TimelineItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TimelineItemProps>> & string;
|
|
126
|
+
export declare const TimelineDetail: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
127
|
+
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
128
|
+
}>, TimelineItemProps>, TimelineItemProps>> & string;
|
|
129
|
+
export declare const TimelineDashed: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
130
|
+
export declare const TimelineUnion: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
131
|
+
export declare const TimelineDot: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
132
|
+
export declare const TimelineContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
133
|
+
export declare const BigCircle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
134
|
+
export declare const SmallCircle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
135
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const Tooltip: React.FC<TooltipProps>;
|
|
4
|
+
export type TooltipProps = {
|
|
5
|
+
text: string;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
zIndex?: number;
|
|
8
|
+
className?: string;
|
|
9
|
+
infoWidth?: number;
|
|
10
|
+
tableData?: boolean;
|
|
11
|
+
tableHead?: boolean;
|
|
12
|
+
zIndexText?: number;
|
|
13
|
+
controlled?: boolean;
|
|
14
|
+
maxWidth?: number | string;
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
orientation?: "top" | "left" | "right" | "bottom" | "bottom-left" | "bottom-right";
|
|
17
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TooltipProps } from '.';
|
|
2
|
+
|
|
3
|
+
type TooltipTextProps = {
|
|
4
|
+
zIndex?: number;
|
|
5
|
+
visible: boolean;
|
|
6
|
+
maxWidth?: number | string;
|
|
7
|
+
infoWidth?: number;
|
|
8
|
+
orientation?: TooltipProps["orientation"];
|
|
9
|
+
};
|
|
10
|
+
type TooltipArrowProps = {
|
|
11
|
+
orientation?: TooltipProps["orientation"];
|
|
12
|
+
};
|
|
13
|
+
type TooltipContainerProps = {
|
|
14
|
+
tableHead?: boolean;
|
|
15
|
+
zIndex?: number;
|
|
16
|
+
tableData?: boolean;
|
|
17
|
+
};
|
|
18
|
+
export declare const arrow: (prop: TooltipProps["orientation"]) => import('styled-components').RuleSet<object> | undefined;
|
|
19
|
+
export declare const orientation: (prop: TooltipProps["orientation"]) => import('styled-components').RuleSet<object> | undefined;
|
|
20
|
+
export declare const TooltipContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TooltipContainerProps>> & string;
|
|
21
|
+
export declare const TooltipText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TooltipTextProps>> & string;
|
|
22
|
+
export declare const TooltipArrow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TooltipArrowProps>> & string;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const BaseColumn: React.FC<BaseColumnProps>;
|
|
4
|
+
export declare const TotalHours: React.FunctionComponent<TotalHoursProps>;
|
|
5
|
+
export declare const Container: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ContainerProps>> & string;
|
|
6
|
+
export declare const Group: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export declare const Column: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
+
export declare const Title: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
9
|
+
export declare const Value: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
10
|
+
export declare const HoursColumn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
11
|
+
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
+
}, never>> & string;
|
|
13
|
+
export declare const InputsColumn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
15
|
+
}, StyledColumnProps>> & string;
|
|
16
|
+
export declare const PendingColumn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
17
|
+
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
18
|
+
}, never>> & string;
|
|
19
|
+
export type TotalHoursProps = {
|
|
20
|
+
hours?: number;
|
|
21
|
+
inputs?: number;
|
|
22
|
+
pending?: number;
|
|
23
|
+
borderColor?: string;
|
|
24
|
+
hoursColor?: string;
|
|
25
|
+
inputColor?: string;
|
|
26
|
+
pendingColor?: string;
|
|
27
|
+
hoursTitle?: string;
|
|
28
|
+
inputsTitle?: string;
|
|
29
|
+
pendingTitle?: string;
|
|
30
|
+
hoursTitleColor?: string;
|
|
31
|
+
inputsTitleColor?: string;
|
|
32
|
+
pendingTitleColor?: string;
|
|
33
|
+
};
|
|
34
|
+
export interface BaseColumnProps {
|
|
35
|
+
title?: string;
|
|
36
|
+
value?: number;
|
|
37
|
+
color?: string;
|
|
38
|
+
titleColor?: string;
|
|
39
|
+
borderColor?: string;
|
|
40
|
+
as?: typeof InputsColumn;
|
|
41
|
+
prefix?: string;
|
|
42
|
+
}
|
|
43
|
+
export type ContainerProps = {
|
|
44
|
+
span?: number;
|
|
45
|
+
};
|
|
46
|
+
export type StyledColumnProps = {
|
|
47
|
+
borderColor?: string;
|
|
48
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description
|
|
5
|
+
* Wizard component to track progress out of inscriptions.
|
|
6
|
+
*/
|
|
7
|
+
export declare const TwWizard: React.FunctionComponent<WizardProps>;
|
|
8
|
+
export type WizardItem = {
|
|
9
|
+
icon?: React.ReactElement;
|
|
10
|
+
name?: string;
|
|
11
|
+
};
|
|
12
|
+
export type WizardProps = {
|
|
13
|
+
step?: number;
|
|
14
|
+
steps?: WizardItem[];
|
|
15
|
+
onNextStep?: () => void;
|
|
16
|
+
onPrevStep?: () => void;
|
|
17
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export { Box } from './Box';
|
|
2
|
+
export type { BoxProps } from './Box';
|
|
3
|
+
export { Row } from './Row';
|
|
4
|
+
export type { RowProps } from './Row';
|
|
5
|
+
export { Chart } from './Chart';
|
|
6
|
+
export type { ChartProps } from './Chart';
|
|
7
|
+
export { Modal } from './Modal';
|
|
8
|
+
export type { ModalProps } from './Modal';
|
|
9
|
+
export { Checkbox } from './Checkbox';
|
|
10
|
+
export type { CheckboxProps } from './Checkbox';
|
|
11
|
+
export { Dropdown } from './Dropdown';
|
|
12
|
+
export type { DropdownProps } from './Dropdown';
|
|
13
|
+
export { Flex, FlexItem } from './Flex';
|
|
14
|
+
export type { FlexProps, FlexItemProps } from './Flex';
|
|
15
|
+
export { Select } from './Select';
|
|
16
|
+
export type { SelectProps } from './Select';
|
|
17
|
+
export { Switch } from './Switch';
|
|
18
|
+
export type { SwitchProps } from './Switch';
|
|
19
|
+
export { Datepicker } from './Datepicker';
|
|
20
|
+
export type { DatepickerProps } from './Datepicker';
|
|
21
|
+
export { RadioButton } from './RadioButton';
|
|
22
|
+
export type { RadioButtonProps } from './RadioButton';
|
|
23
|
+
export { Text, Error, Title, Success, Subtitle, Description } from './Text';
|
|
24
|
+
export type { CommonTextProps } from './Text';
|
|
25
|
+
export { Input } from './Input';
|
|
26
|
+
export { InputTable } from './Input/variants/InputTable';
|
|
27
|
+
export type { InputProps } from './Input';
|
|
28
|
+
export { TableInput } from './Tableinput';
|
|
29
|
+
export { InputMode } from './Tableinput/types';
|
|
30
|
+
export type { TableInputProps } from './Tableinput';
|
|
31
|
+
export { Tooltip } from './Tooltip';
|
|
32
|
+
export type { TooltipProps } from './Tooltip';
|
|
33
|
+
export { TextArea } from './Textarea';
|
|
34
|
+
export type { TextAreaProps } from './Textarea';
|
|
35
|
+
export { Grid, Colspan } from './Grid';
|
|
36
|
+
export type { GridProps, ColspanProps } from './Grid';
|
|
37
|
+
export { Counter } from './Counter';
|
|
38
|
+
export type { CounterProps } from './Counter';
|
|
39
|
+
export { Container } from './Container';
|
|
40
|
+
export type { ContainerProps } from './Container';
|
|
41
|
+
export { Empty } from './Empty';
|
|
42
|
+
export type { EmptyProps } from './Empty';
|
|
43
|
+
export { Loading } from './Loading';
|
|
44
|
+
export type { LoadingProps } from './Loading';
|
|
45
|
+
export { SingleDeadlineChart } from './DeadlineChart';
|
|
46
|
+
export type { SingleDeadlineChartProps, } from './DeadlineChart';
|
|
47
|
+
export { Collapse } from './Collapse';
|
|
48
|
+
export type { CollapseProps } from './Collapse';
|
|
49
|
+
export type { BadgeProps } from './Badge';
|
|
50
|
+
export { Badge } from './Badge';
|
|
51
|
+
export { BadgeStatus } from './Badge/types';
|
|
52
|
+
export { Search } from './Search';
|
|
53
|
+
export { ScrollSearch } from './Search/variants/ScrollSearch';
|
|
54
|
+
export type { SearchItem, SearchProps, ScrollSearchProps, Client, PendingClientElement, Placeholder } from './Search/types';
|
|
55
|
+
export { Pagination } from './Pagination';
|
|
56
|
+
export type { PaginationProps } from './Pagination/types';
|
|
57
|
+
export { Card, DangerTitle, AlertTitle, CheckTitle } from './Card';
|
|
58
|
+
export type { CardProps, CardTitleProps } from './Card/types';
|
|
59
|
+
export { Button } from './Button';
|
|
60
|
+
export type { ButtonProps, ButtonStyledProps } from './Button/types';
|
|
61
|
+
export { TotalHours } from './Totalhours';
|
|
62
|
+
export type { TotalHoursProps } from './Totalhours';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { Chart } from './components/Chart';
|
|
3
|
-
export { Checkbox } from './components/Checkbox';
|
|
4
|
-
export type { CommonTextProps } from './components/Text';
|
|
5
|
-
export type { ChartProps, Graph } from './components/Chart';
|
|
6
|
-
export type { CheckboxProps, CheckboxIconProps } from './components/Checkbox';
|
|
1
|
+
export * from './components';
|
|
7
2
|
export type { Session, Systems, SystemRole, UserSystem, SessionState, SignalConnection, CommonSignalConnection, } from './typings';
|
|
8
3
|
export { LocalStorageKeys, UrlSSOParams } from './typings';
|