@apexcura/core 0.0.17-Beta122 → 0.0.17-Beta1221

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