@apexcura/core 0.0.17-Beta113 → 0.0.17-Beta1130

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