@apexcura/core 0.0.17-Beta143 → 0.0.17-Beta1430

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.
File without changes
@@ -0,0 +1,249 @@
1
+ import React, { JSXElementConstructor, LegacyRef, ReactElement, ReactNode } from 'react';
2
+ import { InputRef } from 'antd';
3
+ import { TabsPosition } from 'antd/es/tabs';
4
+ import { UploadFile } from 'antd';
5
+ import { TooltipPlacement } from 'antd/es/tooltip';
6
+ type SchemaField = {
7
+ divRef: LegacyRef<HTMLDivElement> | undefined;
8
+ ref?: LegacyRef<InputRef> | undefined;
9
+ tableHeight?: string;
10
+ varient?: 'solid' | 'outlined' | 'light';
11
+ buttonVariant?: string;
12
+ hasChildren?: boolean;
13
+ tabPosition?: TabsPosition;
14
+ loader?: string;
15
+ name?: string;
16
+ label?: string;
17
+ source?: string;
18
+ visible?: boolean;
19
+ element?: string;
20
+ className?: string;
21
+ action?: string;
22
+ order?: number;
23
+ isNewMenuItem?: boolean;
24
+ colCount?: number;
25
+ disabled?: boolean;
26
+ activeClassName?: string;
27
+ listClassName?: string;
28
+ listItemClassName?: string;
29
+ buttonClassName?: string;
30
+ expandable?: boolean;
31
+ rowClickExpandable?: boolean;
32
+ indexClickable?: boolean;
33
+ icon?: string;
34
+ placement?: TooltipPlacement;
35
+ firstPlaceholder?: string;
36
+ secondPlaceholder?: string;
37
+ enabled_dates?: string;
38
+ profileImageClassName?: string;
39
+ tooltip_title?: string;
40
+ child_element?: string;
41
+ dropdownRender?: (menu: ReactElement<string | JSXElementConstructor<string>>) => ReactElement<string | JSXElementConstructor<string>>;
42
+ isLoading?: boolean;
43
+ value?: string | number | boolean | null | object | undefined | string[] | UploadFile[];
44
+ message?: string;
45
+ description?: string;
46
+ notificationType?: 'error' | 'warning' | 'success' | 'info' | undefined;
47
+ showProgress?: boolean;
48
+ picker?: 'date' | 'week' | 'month' | 'quarter' | 'year';
49
+ weekrange?: boolean;
50
+ img?: string;
51
+ imgClassName: string;
52
+ primaryText?: string;
53
+ secondaryText?: string;
54
+ count?: number;
55
+ profileImage?: string;
56
+ profileSubClassName?: string;
57
+ containerClassName?: string;
58
+ subContainerClassName?: string;
59
+ secondTextClassName?: string;
60
+ iconsClassName?: string;
61
+ labelClassName?: string;
62
+ view?: boolean;
63
+ isSearch?: boolean;
64
+ isStatus?: boolean;
65
+ isSVGStylesOverride?: boolean;
66
+ isDelete?: boolean;
67
+ errorText?: string;
68
+ errorClassName?: string;
69
+ cardClassname?: string;
70
+ colWidth?: string;
71
+ rowSelection?: string;
72
+ length?: number;
73
+ showSkeleton?: boolean;
74
+ fillText1?: string;
75
+ fillText2?: string;
76
+ pagination?: boolean;
77
+ is_detail?: boolean;
78
+ dateTime?: string;
79
+ isDateTime?: boolean;
80
+ minRows?: number;
81
+ tagColors?: string[];
82
+ customColor: boolean;
83
+ maxRows?: number;
84
+ isNotChatbot?: boolean;
85
+ rangePresets?: boolean;
86
+ distance?: string;
87
+ showTooltip?: boolean;
88
+ showLegend?: boolean;
89
+ innerSize?: string;
90
+ sortable?: boolean;
91
+ customTooltip?: boolean;
92
+ mode?: 'multiple' | 'tags' | undefined;
93
+ items?: {
94
+ id?: number;
95
+ key?: number | string;
96
+ element?: string;
97
+ icon?: string;
98
+ label?: string;
99
+ active?: number;
100
+ text?: string;
101
+ time?: string;
102
+ name?: string;
103
+ y?: number;
104
+ color?: string;
105
+ isCount?: boolean;
106
+ count?: number;
107
+ progress?: number;
108
+ }[];
109
+ options?: {
110
+ className?: string;
111
+ children?: SchemaField[];
112
+ key?: string;
113
+ label: string;
114
+ value?: string;
115
+ icon?: string;
116
+ }[];
117
+ firstOptions?: {
118
+ key?: string;
119
+ label: string;
120
+ value: string;
121
+ }[];
122
+ secondOptions?: {
123
+ key?: string;
124
+ label?: string;
125
+ value?: string;
126
+ }[];
127
+ selectBefore?: {
128
+ label?: string;
129
+ value?: string;
130
+ }[];
131
+ selectAfter?: {
132
+ label?: string;
133
+ value?: string;
134
+ }[];
135
+ dropDownOptions?: (number | string | boolean | object | null | undefined | (() => void))[];
136
+ required?: boolean;
137
+ prefix?: React.ReactNode;
138
+ suffix?: React.ReactNode;
139
+ addonBefore?: React.ReactNode;
140
+ defaultValue?: string;
141
+ status?: 'error' | 'warning';
142
+ styles?: React.CSSProperties;
143
+ fieldClassName?: string;
144
+ elementClassName?: string;
145
+ titleClassName?: string;
146
+ inverted?: boolean;
147
+ allowOne?: boolean;
148
+ filtered?: boolean;
149
+ isTextSelect?: boolean;
150
+ autoSize?: boolean;
151
+ filters?: {
152
+ text: string;
153
+ value: string;
154
+ }[];
155
+ showSerialNumber?: boolean;
156
+ variant?: 'outlined' | 'borderless' | 'filled' | undefined;
157
+ thead?: {
158
+ _id: string;
159
+ name?: string;
160
+ label?: string;
161
+ visible?: boolean;
162
+ required?: boolean;
163
+ key?: string;
164
+ render?: (text: string) => React.JSX.Element;
165
+ ellipsis: boolean;
166
+ }[];
167
+ childHead?: {
168
+ _id: string;
169
+ name?: string;
170
+ label?: string;
171
+ visible?: boolean;
172
+ required?: boolean;
173
+ key?: string;
174
+ render?: (text: string) => React.JSX.Element;
175
+ ellipsis: boolean;
176
+ }[];
177
+ tbody?: {
178
+ id?: string;
179
+ name?: string;
180
+ label?: string;
181
+ element?: string;
182
+ type?: string;
183
+ children?: {
184
+ id?: string;
185
+ name?: string;
186
+ label?: string;
187
+ element?: string;
188
+ type?: string;
189
+ }[];
190
+ }[];
191
+ legendTitleClassName?: string;
192
+ centerLabel1?: string;
193
+ centerLabel2?: string;
194
+ legendTitle?: string;
195
+ legendAlign?: 'left' | 'center' | 'right';
196
+ legendVerticalAlign?: 'top' | 'middle' | 'bottom';
197
+ height?: number;
198
+ width?: number;
199
+ yAxixMinValue?: number;
200
+ yAxixMaxValue?: number;
201
+ isStack?: boolean;
202
+ axisLabelClassName?: string;
203
+ yAxisTitle?: string;
204
+ xAxisTitle?: string;
205
+ isLegend?: boolean;
206
+ div?: boolean;
207
+ showCount?: boolean;
208
+ borderRadius?: number;
209
+ content?: ReactNode;
210
+ segmentedOptions?: string[];
211
+ fileType?: string[];
212
+ fileSize?: number;
213
+ val?: number;
214
+ layout?: 'horizontal" | "vertical" | "proximate' | undefined;
215
+ data?: {
216
+ label?: string;
217
+ value?: number | number[];
218
+ color?: string;
219
+ name?: string;
220
+ weight?: number;
221
+ y?: number;
222
+ z?: number;
223
+ stack?: string;
224
+ }[];
225
+ ratio?: {
226
+ male?: number;
227
+ female?: number;
228
+ }[];
229
+ payload_keys?: string[];
230
+ api_endpoint?: string;
231
+ next_id?: string;
232
+ fields?: SchemaField[];
233
+ draggable?: boolean;
234
+ mask?: boolean;
235
+ maskClosable?: boolean;
236
+ };
237
+ type Schema = {
238
+ className?: string;
239
+ schema: SchemaField[];
240
+ };
241
+ type FormExecutorProps = {
242
+ buttonVariant?: string;
243
+ data: Schema;
244
+ setData?: (schema: Schema) => void;
245
+ selectedRecord?: (field: SchemaField) => void;
246
+ };
247
+ type ElementExecutorProps = FormExecutorProps;
248
+ export declare const ElementExecutor: (props: ElementExecutorProps) => React.JSX.Element;
249
+ export {};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes