@apexcura/ui-components 0.0.16-Beta13 → 0.0.16-Beta130
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/Button.d.ts +3 -0
- package/dist/Components/Checkbox.d.ts +3 -0
- package/dist/Components/ColorPickerElement.d.ts +3 -0
- package/dist/Components/DatePicker.d.ts +3 -0
- package/dist/Components/DateRangePickerElement.d.ts +3 -0
- package/dist/Components/DivContainer.d.ts +3 -0
- package/dist/Components/DropDownGroup.d.ts +19 -0
- package/dist/Components/Editor.d.ts +0 -0
- package/dist/Components/FilesUpload.d.ts +3 -0
- package/dist/Components/Image.d.ts +3 -0
- package/dist/Components/Navbar.d.ts +3 -0
- package/dist/Components/Notification.d.ts +3 -0
- package/dist/Components/NotificationAlert.d.ts +3 -0
- package/dist/Components/NumberElement.d.ts +3 -0
- package/dist/Components/OtpElement.d.ts +3 -0
- package/dist/Components/PasswordElement.d.ts +3 -0
- package/dist/Components/Profile.d.ts +3 -0
- package/dist/Components/RadioElement.d.ts +3 -0
- package/dist/Components/SelectElement.d.ts +3 -0
- package/dist/Components/Sidebar.d.ts +4 -0
- package/dist/Components/SingleCheckbox.d.ts +3 -0
- package/dist/Components/SpanElement.d.ts +3 -0
- package/dist/Components/SwitchElement.d.ts +3 -0
- package/dist/Components/TableElement.d.ts +11 -0
- package/dist/Components/TabsElement.d.ts +3 -0
- package/dist/Components/TextElement.d.ts +5 -0
- package/dist/Components/TextareaElement.d.ts +3 -0
- package/dist/Types/types.d.ts +150 -0
- package/dist/constants/icons.d.ts +4 -0
- package/dist/index.d.ts +23 -156
- package/dist/index.js +3 -1684
- package/dist/index.js.LICENSE.txt +1537 -0
- package/dist/index.js.map +1 -0
- package/dist/report.html +39 -0
- package/package.json +54 -61
- package/dist/index.d.mts +0 -156
- package/dist/index.mjs +0 -1638
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ElementType } from '../Types/types';
|
|
3
|
+
type dropDownValueProps = {
|
|
4
|
+
firstValue: {
|
|
5
|
+
key?: string | undefined;
|
|
6
|
+
label?: string | undefined;
|
|
7
|
+
value?: string | undefined;
|
|
8
|
+
} | undefined;
|
|
9
|
+
secondValue: {
|
|
10
|
+
key?: string | undefined;
|
|
11
|
+
label?: string | undefined;
|
|
12
|
+
value?: string | undefined;
|
|
13
|
+
} | undefined;
|
|
14
|
+
};
|
|
15
|
+
type dropDownGroupProps = ElementType & {
|
|
16
|
+
value?: dropDownValueProps;
|
|
17
|
+
};
|
|
18
|
+
export declare const DropDownGroup: (props: dropDownGroupProps) => React.JSX.Element;
|
|
19
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ElementType } from '../Types/types';
|
|
3
|
+
interface PaginationType {
|
|
4
|
+
page?: number;
|
|
5
|
+
pageSize?: number;
|
|
6
|
+
}
|
|
7
|
+
interface TableElementProps extends ElementType {
|
|
8
|
+
value?: PaginationType | null;
|
|
9
|
+
}
|
|
10
|
+
export declare const TableElement: (props: TableElementProps) => React.JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { UploadFile } from 'antd';
|
|
2
|
+
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
|
+
import { TooltipPlacement } from 'antd/es/tooltip';
|
|
4
|
+
import { CSSProperties } from 'react';
|
|
5
|
+
type PaginationType = {
|
|
6
|
+
page?: number;
|
|
7
|
+
pageSize?: number;
|
|
8
|
+
};
|
|
9
|
+
type dropDownValueProps = {
|
|
10
|
+
firstValue: {
|
|
11
|
+
key?: string | undefined;
|
|
12
|
+
label?: string | undefined;
|
|
13
|
+
value?: string | undefined;
|
|
14
|
+
} | undefined;
|
|
15
|
+
secondValue: {
|
|
16
|
+
key?: string | undefined;
|
|
17
|
+
label?: string | undefined;
|
|
18
|
+
value?: string | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
};
|
|
21
|
+
export type ElementType = {
|
|
22
|
+
accept?: string | undefined;
|
|
23
|
+
max_count?: number | undefined;
|
|
24
|
+
multiple?: boolean | undefined;
|
|
25
|
+
activeClassName?: string;
|
|
26
|
+
radioGroupClassName?: string | undefined;
|
|
27
|
+
selectedStyle?: boolean;
|
|
28
|
+
style?: CSSProperties;
|
|
29
|
+
firstValue?: string;
|
|
30
|
+
secondValue?: string;
|
|
31
|
+
className?: string | undefined;
|
|
32
|
+
placeholder?: string;
|
|
33
|
+
addonBefore?: React.ReactNode;
|
|
34
|
+
defaultValue?: string;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
prefix?: React.ReactNode;
|
|
37
|
+
type?: string;
|
|
38
|
+
size?: SizeType;
|
|
39
|
+
errorText?: string;
|
|
40
|
+
errorClassName?: string;
|
|
41
|
+
value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | PaginationType | dropDownValueProps;
|
|
42
|
+
status?: 'error' | 'warning';
|
|
43
|
+
styles?: React.CSSProperties;
|
|
44
|
+
variant?: 'outlined' | 'borderless' | 'filled';
|
|
45
|
+
label?: string;
|
|
46
|
+
name?: string;
|
|
47
|
+
suffix?: React.ReactNode;
|
|
48
|
+
maxLength?: number;
|
|
49
|
+
options?: {
|
|
50
|
+
key?: string;
|
|
51
|
+
label?: string;
|
|
52
|
+
value?: string;
|
|
53
|
+
}[];
|
|
54
|
+
firstOptions?: {
|
|
55
|
+
key?: string;
|
|
56
|
+
label: string;
|
|
57
|
+
value: string;
|
|
58
|
+
}[];
|
|
59
|
+
secondOptions?: {
|
|
60
|
+
key?: string;
|
|
61
|
+
label?: string;
|
|
62
|
+
value?: string;
|
|
63
|
+
}[];
|
|
64
|
+
firstPlaceholder?: string;
|
|
65
|
+
secondPlaceholder?: string;
|
|
66
|
+
view?: boolean;
|
|
67
|
+
enabled_dates?: string;
|
|
68
|
+
onChange?: (value: string | number | boolean | object | object[] | undefined) => void;
|
|
69
|
+
onClick?: () => void;
|
|
70
|
+
dropDownOptions?: (number | string | boolean | object | null | undefined | (() => void))[];
|
|
71
|
+
id?: number;
|
|
72
|
+
thead?: {
|
|
73
|
+
id: number;
|
|
74
|
+
name?: string;
|
|
75
|
+
label?: string;
|
|
76
|
+
visible?: boolean;
|
|
77
|
+
required?: boolean;
|
|
78
|
+
key?: string;
|
|
79
|
+
render?: (text: string) => React.JSX.Element;
|
|
80
|
+
ellipsis?: boolean;
|
|
81
|
+
}[];
|
|
82
|
+
tbody?: {
|
|
83
|
+
id?: number;
|
|
84
|
+
name?: string;
|
|
85
|
+
label?: string;
|
|
86
|
+
element?: string;
|
|
87
|
+
type?: string;
|
|
88
|
+
value?: boolean;
|
|
89
|
+
}[];
|
|
90
|
+
optionType?: string;
|
|
91
|
+
selectedClassName?: string;
|
|
92
|
+
action?: React.MouseEventHandler<HTMLElement> | string;
|
|
93
|
+
listClassName?: string;
|
|
94
|
+
listItemClassName?: string;
|
|
95
|
+
img?: string;
|
|
96
|
+
items?: {
|
|
97
|
+
element: string;
|
|
98
|
+
icon?: string;
|
|
99
|
+
label?: string;
|
|
100
|
+
active?: boolean;
|
|
101
|
+
text?: string;
|
|
102
|
+
time?: string;
|
|
103
|
+
name?: string;
|
|
104
|
+
y?: number;
|
|
105
|
+
color?: string;
|
|
106
|
+
}[];
|
|
107
|
+
primaryText?: string;
|
|
108
|
+
secondaryText?: string;
|
|
109
|
+
count?: number;
|
|
110
|
+
icon?: string;
|
|
111
|
+
placement?: TooltipPlacement;
|
|
112
|
+
profileImage?: string;
|
|
113
|
+
buttonClassName?: string;
|
|
114
|
+
profileImageClassName?: string;
|
|
115
|
+
profileSubClassName?: string;
|
|
116
|
+
subContainerClassName?: string;
|
|
117
|
+
element?: string;
|
|
118
|
+
secondTextClassName?: string;
|
|
119
|
+
iconsClassName?: string;
|
|
120
|
+
labelClassName?: string;
|
|
121
|
+
containerClassName?: string;
|
|
122
|
+
isSVGStylesOverride?: boolean;
|
|
123
|
+
rowSelection?: string;
|
|
124
|
+
length?: number;
|
|
125
|
+
imgClassName?: string;
|
|
126
|
+
loading?: boolean;
|
|
127
|
+
fillText1?: string;
|
|
128
|
+
fillText2?: string;
|
|
129
|
+
pagination?: boolean;
|
|
130
|
+
required?: boolean;
|
|
131
|
+
is_detail?: boolean;
|
|
132
|
+
checkedChildren?: string;
|
|
133
|
+
unCheckedChildren?: string;
|
|
134
|
+
dateTime?: string;
|
|
135
|
+
isDateTime?: boolean;
|
|
136
|
+
minRows?: number;
|
|
137
|
+
maxRows?: number;
|
|
138
|
+
isSearch?: boolean;
|
|
139
|
+
mode?: 'multiple' | 'tags' | undefined;
|
|
140
|
+
picker?: 'date' | 'week' | 'month' | 'quarter' | 'year';
|
|
141
|
+
weekrange?: boolean;
|
|
142
|
+
message?: string;
|
|
143
|
+
isStatus?: boolean;
|
|
144
|
+
isDelete?: boolean;
|
|
145
|
+
description?: string;
|
|
146
|
+
notificationType?: 'success' | 'info' | 'warning' | 'error';
|
|
147
|
+
showProgress?: boolean;
|
|
148
|
+
isLoading?: boolean;
|
|
149
|
+
};
|
|
150
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,156 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
maxLength?: number;
|
|
25
|
-
fieldNames?: any[];
|
|
26
|
-
fields?: any[];
|
|
27
|
-
schema?: any[];
|
|
28
|
-
options?: any[];
|
|
29
|
-
firstOptions?: any[];
|
|
30
|
-
secondOptions?: any[];
|
|
31
|
-
view?: boolean;
|
|
32
|
-
onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
33
|
-
onClick?: () => void;
|
|
34
|
-
dropDownOptions?: any[];
|
|
35
|
-
id?: number;
|
|
36
|
-
thead?: any[];
|
|
37
|
-
tbody?: any[];
|
|
38
|
-
variable_data?: any[];
|
|
39
|
-
optionType?: string;
|
|
40
|
-
selectedClassName?: string;
|
|
41
|
-
action?: React.MouseEventHandler<HTMLElement> | string;
|
|
42
|
-
listClassName?: string;
|
|
43
|
-
listItemClassName?: string;
|
|
44
|
-
img?: string;
|
|
45
|
-
items?: any[];
|
|
46
|
-
primaryText?: string;
|
|
47
|
-
secondaryText?: string;
|
|
48
|
-
count?: number;
|
|
49
|
-
icon?: string | any;
|
|
50
|
-
placement?: string;
|
|
51
|
-
profileImage?: string;
|
|
52
|
-
buttonClassName?: string;
|
|
53
|
-
profileImageClassName?: string;
|
|
54
|
-
profileSubClassName?: string;
|
|
55
|
-
subContainerClassName?: string;
|
|
56
|
-
element?: string;
|
|
57
|
-
secondTextClassName?: string;
|
|
58
|
-
iconsClassName?: string;
|
|
59
|
-
labelClassName?: string;
|
|
60
|
-
containerClassName?: string;
|
|
61
|
-
selectBefore?: any[];
|
|
62
|
-
selectAfter?: any[];
|
|
63
|
-
isSVGStylesOverride?: boolean;
|
|
64
|
-
rowSelection?: string;
|
|
65
|
-
length?: number;
|
|
66
|
-
imgClassName?: string;
|
|
67
|
-
loading?: boolean;
|
|
68
|
-
fillText1?: string;
|
|
69
|
-
fillText2?: string;
|
|
70
|
-
labels?: any[];
|
|
71
|
-
data?: any[];
|
|
72
|
-
pagination?: boolean;
|
|
73
|
-
is_detail?: boolean;
|
|
74
|
-
dateTime?: string;
|
|
75
|
-
minRows?: number;
|
|
76
|
-
maxRows?: number;
|
|
77
|
-
mode?: "multiple" | "tags" | undefined;
|
|
78
|
-
picker?: "date" | "week" | "month" | "quarter" | "year";
|
|
79
|
-
weekrange?: boolean;
|
|
80
|
-
message?: string;
|
|
81
|
-
description?: string;
|
|
82
|
-
notificationType?: 'success' | 'info' | 'warning' | 'error';
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
declare const TextElement: (props: ElementType) => React$1.JSX.Element;
|
|
86
|
-
|
|
87
|
-
declare const PasswordElement: (props: ElementType) => React$1.JSX.Element;
|
|
88
|
-
|
|
89
|
-
declare const NumberElement: (props: ElementType) => React$1.JSX.Element;
|
|
90
|
-
|
|
91
|
-
declare const TextareaElement: (props: ElementType) => React$1.JSX.Element;
|
|
92
|
-
|
|
93
|
-
declare const SelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
94
|
-
|
|
95
|
-
declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
|
|
96
|
-
|
|
97
|
-
declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
|
|
98
|
-
|
|
99
|
-
interface ElementExecuterProps extends ElementType {
|
|
100
|
-
onChange: (value: string | number | object | boolean | any[] | undefined) => void;
|
|
101
|
-
}
|
|
102
|
-
declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
|
|
103
|
-
|
|
104
|
-
declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
105
|
-
|
|
106
|
-
declare const MultipleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
107
|
-
|
|
108
|
-
declare const ButtonElement: (props: ElementType) => React$1.JSX.Element;
|
|
109
|
-
|
|
110
|
-
declare const AddMoreTable: (props: ElementType) => React$1.JSX.Element;
|
|
111
|
-
|
|
112
|
-
declare const Sidebar: (props: ElementType) => React$1.JSX.Element;
|
|
113
|
-
|
|
114
|
-
declare const Navbar: (props: ElementType) => React$1.JSX.Element;
|
|
115
|
-
|
|
116
|
-
declare const TableElement: (props: ElementType) => React$1.JSX.Element;
|
|
117
|
-
|
|
118
|
-
declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
119
|
-
|
|
120
|
-
declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
121
|
-
|
|
122
|
-
declare const Image: (props: ElementType) => React$1.JSX.Element;
|
|
123
|
-
|
|
124
|
-
declare const SingleCheckbox: (props: ElementType) => React$1.JSX.Element;
|
|
125
|
-
|
|
126
|
-
declare const DropDownGroup: (props: ElementType) => React$1.JSX.Element;
|
|
127
|
-
|
|
128
|
-
declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
|
|
129
|
-
|
|
130
|
-
declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
|
|
131
|
-
|
|
132
|
-
declare const SwitchElement: () => React$1.JSX.Element;
|
|
133
|
-
|
|
134
|
-
declare const Upload: (props: ElementType) => React$1.JSX.Element;
|
|
135
|
-
|
|
136
|
-
declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
|
|
137
|
-
|
|
138
|
-
declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
139
|
-
|
|
140
|
-
declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
141
|
-
|
|
142
|
-
declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
143
|
-
|
|
144
|
-
declare const LineChart: (props: ElementType) => React$1.JSX.Element;
|
|
145
|
-
|
|
146
|
-
declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
147
|
-
|
|
148
|
-
declare const BarChart: (props: ElementType) => React$1.JSX.Element;
|
|
149
|
-
|
|
150
|
-
declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
|
|
151
|
-
|
|
152
|
-
declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
153
|
-
|
|
154
|
-
declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
|
|
155
|
-
|
|
156
|
-
export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NotificationAlert, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
|
|
1
|
+
export * from './Components/TextElement';
|
|
2
|
+
export * from './Components/PasswordElement';
|
|
3
|
+
export * from './Components/NumberElement';
|
|
4
|
+
export * from './Components/TextareaElement';
|
|
5
|
+
export * from './Components/SelectElement';
|
|
6
|
+
export * from './Components/RadioElement';
|
|
7
|
+
export * from './Components/Checkbox';
|
|
8
|
+
export * from './Components/Button';
|
|
9
|
+
export * from './Components/Sidebar';
|
|
10
|
+
export * from './Components/Navbar';
|
|
11
|
+
export * from './Components/TableElement';
|
|
12
|
+
export * from './Components/DatePicker';
|
|
13
|
+
export * from './Components/DateRangePickerElement';
|
|
14
|
+
export * from './Components/Image';
|
|
15
|
+
export * from './Components/SingleCheckbox';
|
|
16
|
+
export * from './Components/DropDownGroup';
|
|
17
|
+
export * from './Components/FilesUpload';
|
|
18
|
+
export * from './Components/TabsElement';
|
|
19
|
+
export * from './Components/SwitchElement';
|
|
20
|
+
export * from './Components/OtpElement';
|
|
21
|
+
export * from './Components/DivContainer';
|
|
22
|
+
export * from './Components/ColorPickerElement';
|
|
23
|
+
export * from './Components/NotificationAlert';
|