@apexcura/core 0.0.17-Beta132 → 0.0.17-Beta1321

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