@apexcura/ui-components 0.0.15-Beta8 → 0.0.15-Beta81
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/index.d.mts +53 -12
- package/dist/index.d.ts +53 -12
- package/dist/index.js +1005 -335
- package/dist/index.mjs +977 -292
- package/package.json +15 -5
- package/postcss.config.js +7 -6
- package/tailwind.config.js +9 -10
- package/dist/index.css +0 -446
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import React$1 from 'react';
|
|
1
|
+
import React$1, { CSSProperties } from 'react';
|
|
2
2
|
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
3
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
4
4
|
|
|
5
|
+
type pagenationType = {
|
|
6
|
+
page?: number;
|
|
7
|
+
pageSize?: number;
|
|
8
|
+
};
|
|
5
9
|
type ElementType = {
|
|
6
10
|
[x: string]: any;
|
|
7
11
|
selectedStyle?: boolean;
|
|
8
|
-
style?:
|
|
12
|
+
style?: CSSProperties;
|
|
9
13
|
className?: string | undefined;
|
|
10
14
|
placeholder?: string;
|
|
11
15
|
addonBefore?: React.ReactNode;
|
|
@@ -13,8 +17,10 @@ type ElementType = {
|
|
|
13
17
|
disabled?: boolean;
|
|
14
18
|
prefix?: React.ReactNode;
|
|
15
19
|
type?: string;
|
|
20
|
+
firstValue?: string;
|
|
21
|
+
secondValue?: string;
|
|
16
22
|
size?: SizeType;
|
|
17
|
-
value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile
|
|
23
|
+
value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
|
|
18
24
|
status?: "error" | "warning";
|
|
19
25
|
styles?: React.CSSProperties;
|
|
20
26
|
variant?: "outlined" | "borderless" | "filled";
|
|
@@ -28,6 +34,9 @@ type ElementType = {
|
|
|
28
34
|
options?: any[];
|
|
29
35
|
firstOptions?: any[];
|
|
30
36
|
secondOptions?: any[];
|
|
37
|
+
firstPlaceholder?: string;
|
|
38
|
+
secondPlaceholder?: string;
|
|
39
|
+
enabled_dates?: string;
|
|
31
40
|
view?: boolean;
|
|
32
41
|
onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
33
42
|
onClick?: () => void;
|
|
@@ -46,7 +55,7 @@ type ElementType = {
|
|
|
46
55
|
primaryText?: string;
|
|
47
56
|
secondaryText?: string;
|
|
48
57
|
count?: number;
|
|
49
|
-
icon?: string;
|
|
58
|
+
icon?: string | any;
|
|
50
59
|
placement?: string;
|
|
51
60
|
profileImage?: string;
|
|
52
61
|
buttonClassName?: string;
|
|
@@ -61,10 +70,27 @@ type ElementType = {
|
|
|
61
70
|
selectBefore?: any[];
|
|
62
71
|
selectAfter?: any[];
|
|
63
72
|
isSVGStylesOverride?: boolean;
|
|
64
|
-
rowSelection?:
|
|
73
|
+
rowSelection?: boolean;
|
|
65
74
|
length?: number;
|
|
66
75
|
imgClassName?: string;
|
|
67
76
|
loading?: boolean;
|
|
77
|
+
fillText1?: string;
|
|
78
|
+
fillText2?: string;
|
|
79
|
+
labels?: any[];
|
|
80
|
+
data?: any[];
|
|
81
|
+
pagination?: boolean;
|
|
82
|
+
is_detail?: boolean;
|
|
83
|
+
dateTime?: string;
|
|
84
|
+
minRows?: number;
|
|
85
|
+
maxRows?: number;
|
|
86
|
+
mode?: "multiple" | "tags" | undefined;
|
|
87
|
+
picker?: "date" | "week" | "month" | "quarter" | "year";
|
|
88
|
+
weekrange?: boolean;
|
|
89
|
+
message?: string;
|
|
90
|
+
description?: string;
|
|
91
|
+
notificationType?: "success" | "info" | "warning" | "error";
|
|
92
|
+
showProgress?: boolean;
|
|
93
|
+
ellipsis?: boolean;
|
|
68
94
|
};
|
|
69
95
|
|
|
70
96
|
declare const TextElement: (props: ElementType) => React$1.JSX.Element;
|
|
@@ -81,10 +107,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
|
|
|
81
107
|
|
|
82
108
|
declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
|
|
83
109
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
|
|
110
|
+
declare const CkEditor: (props: ElementType) => React$1.JSX.Element;
|
|
111
|
+
|
|
112
|
+
declare const Editor: (props: ElementType) => React$1.JSX.Element;
|
|
88
113
|
|
|
89
114
|
declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
90
115
|
|
|
@@ -114,12 +139,28 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
|
|
|
114
139
|
|
|
115
140
|
declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
|
|
116
141
|
|
|
117
|
-
declare const SwitchElement: () => React$1.JSX.Element;
|
|
142
|
+
declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
|
|
118
143
|
|
|
119
144
|
declare const Upload: (props: ElementType) => React$1.JSX.Element;
|
|
120
145
|
|
|
121
146
|
declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
|
|
122
147
|
|
|
123
|
-
declare const
|
|
148
|
+
declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
149
|
+
|
|
150
|
+
declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
151
|
+
|
|
152
|
+
declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
153
|
+
|
|
154
|
+
declare const LineChart: (props: ElementType) => React$1.JSX.Element;
|
|
155
|
+
|
|
156
|
+
declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
157
|
+
|
|
158
|
+
declare const BarChart: (props: ElementType) => React$1.JSX.Element;
|
|
159
|
+
|
|
160
|
+
declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
|
|
161
|
+
|
|
162
|
+
declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
163
|
+
|
|
164
|
+
declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
|
|
124
165
|
|
|
125
|
-
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement,
|
|
166
|
+
export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, Editor, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NotificationAlert, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import React$1 from 'react';
|
|
1
|
+
import React$1, { CSSProperties } from 'react';
|
|
2
2
|
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
3
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
4
4
|
|
|
5
|
+
type pagenationType = {
|
|
6
|
+
page?: number;
|
|
7
|
+
pageSize?: number;
|
|
8
|
+
};
|
|
5
9
|
type ElementType = {
|
|
6
10
|
[x: string]: any;
|
|
7
11
|
selectedStyle?: boolean;
|
|
8
|
-
style?:
|
|
12
|
+
style?: CSSProperties;
|
|
9
13
|
className?: string | undefined;
|
|
10
14
|
placeholder?: string;
|
|
11
15
|
addonBefore?: React.ReactNode;
|
|
@@ -13,8 +17,10 @@ type ElementType = {
|
|
|
13
17
|
disabled?: boolean;
|
|
14
18
|
prefix?: React.ReactNode;
|
|
15
19
|
type?: string;
|
|
20
|
+
firstValue?: string;
|
|
21
|
+
secondValue?: string;
|
|
16
22
|
size?: SizeType;
|
|
17
|
-
value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile
|
|
23
|
+
value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
|
|
18
24
|
status?: "error" | "warning";
|
|
19
25
|
styles?: React.CSSProperties;
|
|
20
26
|
variant?: "outlined" | "borderless" | "filled";
|
|
@@ -28,6 +34,9 @@ type ElementType = {
|
|
|
28
34
|
options?: any[];
|
|
29
35
|
firstOptions?: any[];
|
|
30
36
|
secondOptions?: any[];
|
|
37
|
+
firstPlaceholder?: string;
|
|
38
|
+
secondPlaceholder?: string;
|
|
39
|
+
enabled_dates?: string;
|
|
31
40
|
view?: boolean;
|
|
32
41
|
onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
33
42
|
onClick?: () => void;
|
|
@@ -46,7 +55,7 @@ type ElementType = {
|
|
|
46
55
|
primaryText?: string;
|
|
47
56
|
secondaryText?: string;
|
|
48
57
|
count?: number;
|
|
49
|
-
icon?: string;
|
|
58
|
+
icon?: string | any;
|
|
50
59
|
placement?: string;
|
|
51
60
|
profileImage?: string;
|
|
52
61
|
buttonClassName?: string;
|
|
@@ -61,10 +70,27 @@ type ElementType = {
|
|
|
61
70
|
selectBefore?: any[];
|
|
62
71
|
selectAfter?: any[];
|
|
63
72
|
isSVGStylesOverride?: boolean;
|
|
64
|
-
rowSelection?:
|
|
73
|
+
rowSelection?: boolean;
|
|
65
74
|
length?: number;
|
|
66
75
|
imgClassName?: string;
|
|
67
76
|
loading?: boolean;
|
|
77
|
+
fillText1?: string;
|
|
78
|
+
fillText2?: string;
|
|
79
|
+
labels?: any[];
|
|
80
|
+
data?: any[];
|
|
81
|
+
pagination?: boolean;
|
|
82
|
+
is_detail?: boolean;
|
|
83
|
+
dateTime?: string;
|
|
84
|
+
minRows?: number;
|
|
85
|
+
maxRows?: number;
|
|
86
|
+
mode?: "multiple" | "tags" | undefined;
|
|
87
|
+
picker?: "date" | "week" | "month" | "quarter" | "year";
|
|
88
|
+
weekrange?: boolean;
|
|
89
|
+
message?: string;
|
|
90
|
+
description?: string;
|
|
91
|
+
notificationType?: "success" | "info" | "warning" | "error";
|
|
92
|
+
showProgress?: boolean;
|
|
93
|
+
ellipsis?: boolean;
|
|
68
94
|
};
|
|
69
95
|
|
|
70
96
|
declare const TextElement: (props: ElementType) => React$1.JSX.Element;
|
|
@@ -81,10 +107,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
|
|
|
81
107
|
|
|
82
108
|
declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
|
|
83
109
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
|
|
110
|
+
declare const CkEditor: (props: ElementType) => React$1.JSX.Element;
|
|
111
|
+
|
|
112
|
+
declare const Editor: (props: ElementType) => React$1.JSX.Element;
|
|
88
113
|
|
|
89
114
|
declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
90
115
|
|
|
@@ -114,12 +139,28 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
|
|
|
114
139
|
|
|
115
140
|
declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
|
|
116
141
|
|
|
117
|
-
declare const SwitchElement: () => React$1.JSX.Element;
|
|
142
|
+
declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
|
|
118
143
|
|
|
119
144
|
declare const Upload: (props: ElementType) => React$1.JSX.Element;
|
|
120
145
|
|
|
121
146
|
declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
|
|
122
147
|
|
|
123
|
-
declare const
|
|
148
|
+
declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
149
|
+
|
|
150
|
+
declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
151
|
+
|
|
152
|
+
declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
153
|
+
|
|
154
|
+
declare const LineChart: (props: ElementType) => React$1.JSX.Element;
|
|
155
|
+
|
|
156
|
+
declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
157
|
+
|
|
158
|
+
declare const BarChart: (props: ElementType) => React$1.JSX.Element;
|
|
159
|
+
|
|
160
|
+
declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
|
|
161
|
+
|
|
162
|
+
declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
163
|
+
|
|
164
|
+
declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
|
|
124
165
|
|
|
125
|
-
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement,
|
|
166
|
+
export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, Editor, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NotificationAlert, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
|