@apexcura/ui-components 0.0.15-Beta60 → 0.0.15-Beta62
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 +34 -47
- package/dist/index.d.ts +34 -47
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import React$1 from 'react';
|
|
2
2
|
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
3
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
4
|
-
import { CheckboxOptionType } from 'antd';
|
|
5
4
|
|
|
6
5
|
type pagenationType = {
|
|
7
6
|
page?: number;
|
|
8
7
|
pageSize?: number;
|
|
9
8
|
};
|
|
10
|
-
type ElementType
|
|
9
|
+
type ElementType = {
|
|
11
10
|
[x: string]: any;
|
|
12
11
|
selectedStyle?: boolean;
|
|
13
12
|
style?: boolean;
|
|
@@ -71,7 +70,7 @@ type ElementType$1 = {
|
|
|
71
70
|
selectBefore?: any[];
|
|
72
71
|
selectAfter?: any[];
|
|
73
72
|
isSVGStylesOverride?: boolean;
|
|
74
|
-
rowSelection?:
|
|
73
|
+
rowSelection?: boolean;
|
|
75
74
|
length?: number;
|
|
76
75
|
imgClassName?: string;
|
|
77
76
|
loading?: boolean;
|
|
@@ -93,87 +92,75 @@ type ElementType$1 = {
|
|
|
93
92
|
showProgress?: boolean;
|
|
94
93
|
};
|
|
95
94
|
|
|
96
|
-
declare const TextElement: (props: ElementType
|
|
95
|
+
declare const TextElement: (props: ElementType) => React$1.JSX.Element;
|
|
97
96
|
|
|
98
|
-
declare const PasswordElement: (props: ElementType
|
|
97
|
+
declare const PasswordElement: (props: ElementType) => React$1.JSX.Element;
|
|
99
98
|
|
|
100
|
-
declare const NumberElement: (props: ElementType
|
|
99
|
+
declare const NumberElement: (props: ElementType) => React$1.JSX.Element;
|
|
101
100
|
|
|
102
|
-
declare const TextareaElement: (props: ElementType
|
|
101
|
+
declare const TextareaElement: (props: ElementType) => React$1.JSX.Element;
|
|
103
102
|
|
|
104
|
-
declare const SelectElement: (props: ElementType
|
|
103
|
+
declare const SelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
105
104
|
|
|
106
|
-
declare const RadioElement: (props: ElementType
|
|
105
|
+
declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
|
|
107
106
|
|
|
108
|
-
type CheckboxValueType = string | undefined;
|
|
109
|
-
interface OptionType extends CheckboxOptionType {
|
|
110
|
-
value: CheckboxValueType;
|
|
111
|
-
}
|
|
112
|
-
interface ElementType {
|
|
113
|
-
options: OptionType[];
|
|
114
|
-
onChange?: (selectedOptions: OptionType[]) => void;
|
|
115
|
-
disabled?: boolean;
|
|
116
|
-
name?: string;
|
|
117
|
-
styles?: React$1.CSSProperties;
|
|
118
|
-
className?: string;
|
|
119
|
-
}
|
|
120
107
|
declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
|
|
121
108
|
|
|
122
|
-
interface ElementExecuterProps extends ElementType
|
|
109
|
+
interface ElementExecuterProps extends ElementType {
|
|
123
110
|
onChange: (value: string | number | object | boolean | any[] | undefined) => void;
|
|
124
111
|
}
|
|
125
112
|
declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
|
|
126
113
|
|
|
127
|
-
declare const SingleSelectElement: (props: ElementType
|
|
114
|
+
declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
128
115
|
|
|
129
|
-
declare const MultipleSelectElement: (props: ElementType
|
|
116
|
+
declare const MultipleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
130
117
|
|
|
131
|
-
declare const ButtonElement: (props: ElementType
|
|
118
|
+
declare const ButtonElement: (props: ElementType) => React$1.JSX.Element;
|
|
132
119
|
|
|
133
|
-
declare const AddMoreTable: (props: ElementType
|
|
120
|
+
declare const AddMoreTable: (props: ElementType) => React$1.JSX.Element;
|
|
134
121
|
|
|
135
|
-
declare const Sidebar: (props: ElementType
|
|
122
|
+
declare const Sidebar: (props: ElementType) => React$1.JSX.Element;
|
|
136
123
|
|
|
137
|
-
declare const Navbar: (props: ElementType
|
|
124
|
+
declare const Navbar: (props: ElementType) => React$1.JSX.Element;
|
|
138
125
|
|
|
139
|
-
declare const TableElement: (props: ElementType
|
|
126
|
+
declare const TableElement: (props: ElementType) => React$1.JSX.Element;
|
|
140
127
|
|
|
141
|
-
declare const DatePickerElement: (props: ElementType
|
|
128
|
+
declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
142
129
|
|
|
143
|
-
declare const DateRangePickerElement: (props: ElementType
|
|
130
|
+
declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
144
131
|
|
|
145
|
-
declare const Image: (props: ElementType
|
|
132
|
+
declare const Image: (props: ElementType) => React$1.JSX.Element;
|
|
146
133
|
|
|
147
|
-
declare const SingleCheckbox: (props: ElementType
|
|
134
|
+
declare const SingleCheckbox: (props: ElementType) => React$1.JSX.Element;
|
|
148
135
|
|
|
149
|
-
declare const DropDownGroup: (props: ElementType
|
|
136
|
+
declare const DropDownGroup: (props: ElementType) => React$1.JSX.Element;
|
|
150
137
|
|
|
151
|
-
declare const FileUpload: (props: ElementType
|
|
138
|
+
declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
|
|
152
139
|
|
|
153
|
-
declare const TabsElement: (props: ElementType
|
|
140
|
+
declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
|
|
154
141
|
|
|
155
142
|
declare const SwitchElement: () => React$1.JSX.Element;
|
|
156
143
|
|
|
157
|
-
declare const Upload: (props: ElementType
|
|
144
|
+
declare const Upload: (props: ElementType) => React$1.JSX.Element;
|
|
158
145
|
|
|
159
|
-
declare const OtpElement: (props: ElementType
|
|
146
|
+
declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
|
|
160
147
|
|
|
161
|
-
declare const CircleDonut: (props: ElementType
|
|
148
|
+
declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
162
149
|
|
|
163
|
-
declare const SemiCircleDonut: (props: ElementType
|
|
150
|
+
declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
164
151
|
|
|
165
|
-
declare const HorizontalBarChart: (props: ElementType
|
|
152
|
+
declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
166
153
|
|
|
167
|
-
declare const LineChart: (props: ElementType
|
|
154
|
+
declare const LineChart: (props: ElementType) => React$1.JSX.Element;
|
|
168
155
|
|
|
169
|
-
declare const DoubleBarChart: (props: ElementType
|
|
156
|
+
declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
170
157
|
|
|
171
|
-
declare const BarChart: (props: ElementType
|
|
158
|
+
declare const BarChart: (props: ElementType) => React$1.JSX.Element;
|
|
172
159
|
|
|
173
|
-
declare const DivContainer: (props: ElementType
|
|
160
|
+
declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
|
|
174
161
|
|
|
175
|
-
declare const ColorPickerElement: (props: ElementType
|
|
162
|
+
declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
176
163
|
|
|
177
|
-
declare const NotificationAlert: (props: ElementType
|
|
164
|
+
declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
|
|
178
165
|
|
|
179
166
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import React$1 from 'react';
|
|
2
2
|
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
3
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
4
|
-
import { CheckboxOptionType } from 'antd';
|
|
5
4
|
|
|
6
5
|
type pagenationType = {
|
|
7
6
|
page?: number;
|
|
8
7
|
pageSize?: number;
|
|
9
8
|
};
|
|
10
|
-
type ElementType
|
|
9
|
+
type ElementType = {
|
|
11
10
|
[x: string]: any;
|
|
12
11
|
selectedStyle?: boolean;
|
|
13
12
|
style?: boolean;
|
|
@@ -71,7 +70,7 @@ type ElementType$1 = {
|
|
|
71
70
|
selectBefore?: any[];
|
|
72
71
|
selectAfter?: any[];
|
|
73
72
|
isSVGStylesOverride?: boolean;
|
|
74
|
-
rowSelection?:
|
|
73
|
+
rowSelection?: boolean;
|
|
75
74
|
length?: number;
|
|
76
75
|
imgClassName?: string;
|
|
77
76
|
loading?: boolean;
|
|
@@ -93,87 +92,75 @@ type ElementType$1 = {
|
|
|
93
92
|
showProgress?: boolean;
|
|
94
93
|
};
|
|
95
94
|
|
|
96
|
-
declare const TextElement: (props: ElementType
|
|
95
|
+
declare const TextElement: (props: ElementType) => React$1.JSX.Element;
|
|
97
96
|
|
|
98
|
-
declare const PasswordElement: (props: ElementType
|
|
97
|
+
declare const PasswordElement: (props: ElementType) => React$1.JSX.Element;
|
|
99
98
|
|
|
100
|
-
declare const NumberElement: (props: ElementType
|
|
99
|
+
declare const NumberElement: (props: ElementType) => React$1.JSX.Element;
|
|
101
100
|
|
|
102
|
-
declare const TextareaElement: (props: ElementType
|
|
101
|
+
declare const TextareaElement: (props: ElementType) => React$1.JSX.Element;
|
|
103
102
|
|
|
104
|
-
declare const SelectElement: (props: ElementType
|
|
103
|
+
declare const SelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
105
104
|
|
|
106
|
-
declare const RadioElement: (props: ElementType
|
|
105
|
+
declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
|
|
107
106
|
|
|
108
|
-
type CheckboxValueType = string | undefined;
|
|
109
|
-
interface OptionType extends CheckboxOptionType {
|
|
110
|
-
value: CheckboxValueType;
|
|
111
|
-
}
|
|
112
|
-
interface ElementType {
|
|
113
|
-
options: OptionType[];
|
|
114
|
-
onChange?: (selectedOptions: OptionType[]) => void;
|
|
115
|
-
disabled?: boolean;
|
|
116
|
-
name?: string;
|
|
117
|
-
styles?: React$1.CSSProperties;
|
|
118
|
-
className?: string;
|
|
119
|
-
}
|
|
120
107
|
declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
|
|
121
108
|
|
|
122
|
-
interface ElementExecuterProps extends ElementType
|
|
109
|
+
interface ElementExecuterProps extends ElementType {
|
|
123
110
|
onChange: (value: string | number | object | boolean | any[] | undefined) => void;
|
|
124
111
|
}
|
|
125
112
|
declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
|
|
126
113
|
|
|
127
|
-
declare const SingleSelectElement: (props: ElementType
|
|
114
|
+
declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
128
115
|
|
|
129
|
-
declare const MultipleSelectElement: (props: ElementType
|
|
116
|
+
declare const MultipleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
130
117
|
|
|
131
|
-
declare const ButtonElement: (props: ElementType
|
|
118
|
+
declare const ButtonElement: (props: ElementType) => React$1.JSX.Element;
|
|
132
119
|
|
|
133
|
-
declare const AddMoreTable: (props: ElementType
|
|
120
|
+
declare const AddMoreTable: (props: ElementType) => React$1.JSX.Element;
|
|
134
121
|
|
|
135
|
-
declare const Sidebar: (props: ElementType
|
|
122
|
+
declare const Sidebar: (props: ElementType) => React$1.JSX.Element;
|
|
136
123
|
|
|
137
|
-
declare const Navbar: (props: ElementType
|
|
124
|
+
declare const Navbar: (props: ElementType) => React$1.JSX.Element;
|
|
138
125
|
|
|
139
|
-
declare const TableElement: (props: ElementType
|
|
126
|
+
declare const TableElement: (props: ElementType) => React$1.JSX.Element;
|
|
140
127
|
|
|
141
|
-
declare const DatePickerElement: (props: ElementType
|
|
128
|
+
declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
142
129
|
|
|
143
|
-
declare const DateRangePickerElement: (props: ElementType
|
|
130
|
+
declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
144
131
|
|
|
145
|
-
declare const Image: (props: ElementType
|
|
132
|
+
declare const Image: (props: ElementType) => React$1.JSX.Element;
|
|
146
133
|
|
|
147
|
-
declare const SingleCheckbox: (props: ElementType
|
|
134
|
+
declare const SingleCheckbox: (props: ElementType) => React$1.JSX.Element;
|
|
148
135
|
|
|
149
|
-
declare const DropDownGroup: (props: ElementType
|
|
136
|
+
declare const DropDownGroup: (props: ElementType) => React$1.JSX.Element;
|
|
150
137
|
|
|
151
|
-
declare const FileUpload: (props: ElementType
|
|
138
|
+
declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
|
|
152
139
|
|
|
153
|
-
declare const TabsElement: (props: ElementType
|
|
140
|
+
declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
|
|
154
141
|
|
|
155
142
|
declare const SwitchElement: () => React$1.JSX.Element;
|
|
156
143
|
|
|
157
|
-
declare const Upload: (props: ElementType
|
|
144
|
+
declare const Upload: (props: ElementType) => React$1.JSX.Element;
|
|
158
145
|
|
|
159
|
-
declare const OtpElement: (props: ElementType
|
|
146
|
+
declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
|
|
160
147
|
|
|
161
|
-
declare const CircleDonut: (props: ElementType
|
|
148
|
+
declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
162
149
|
|
|
163
|
-
declare const SemiCircleDonut: (props: ElementType
|
|
150
|
+
declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
164
151
|
|
|
165
|
-
declare const HorizontalBarChart: (props: ElementType
|
|
152
|
+
declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
166
153
|
|
|
167
|
-
declare const LineChart: (props: ElementType
|
|
154
|
+
declare const LineChart: (props: ElementType) => React$1.JSX.Element;
|
|
168
155
|
|
|
169
|
-
declare const DoubleBarChart: (props: ElementType
|
|
156
|
+
declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
170
157
|
|
|
171
|
-
declare const BarChart: (props: ElementType
|
|
158
|
+
declare const BarChart: (props: ElementType) => React$1.JSX.Element;
|
|
172
159
|
|
|
173
|
-
declare const DivContainer: (props: ElementType
|
|
160
|
+
declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
|
|
174
161
|
|
|
175
|
-
declare const ColorPickerElement: (props: ElementType
|
|
162
|
+
declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
176
163
|
|
|
177
|
-
declare const NotificationAlert: (props: ElementType
|
|
164
|
+
declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
|
|
178
165
|
|
|
179
166
|
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 };
|