@apexcura/core 0.0.17-Beta62 → 0.0.17-Beta621

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