@apexcura/core 0.0.17-Beta49 → 0.0.17-Beta490

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,220 @@
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
+ rowSelection?: string;
56
+ length?: number;
57
+ loading?: boolean;
58
+ fillText1?: string;
59
+ fillText2?: string;
60
+ pagination?: boolean;
61
+ is_detail?: boolean;
62
+ dateTime?: string;
63
+ isDateTime?: boolean;
64
+ minRows?: number;
65
+ maxRows?: number;
66
+ isNotChatbot?: boolean;
67
+ mode?: 'multiple' | 'tags' | undefined;
68
+ items?: {
69
+ id?: number;
70
+ key?: number | string;
71
+ element?: string;
72
+ icon?: string;
73
+ label?: string;
74
+ active?: number;
75
+ text?: string;
76
+ time?: string;
77
+ name?: string;
78
+ y?: number;
79
+ color?: string;
80
+ isCount?: boolean;
81
+ count?: number;
82
+ }[];
83
+ options?: {
84
+ key?: string;
85
+ label: string;
86
+ value?: string;
87
+ icon?: string;
88
+ }[];
89
+ firstOptions?: {
90
+ key?: string;
91
+ label: string;
92
+ value: string;
93
+ }[];
94
+ secondOptions?: {
95
+ key?: string;
96
+ label?: string;
97
+ value?: string;
98
+ }[];
99
+ selectBefore?: {
100
+ label?: string;
101
+ value?: string;
102
+ }[];
103
+ selectAfter?: {
104
+ label?: string;
105
+ value?: string;
106
+ }[];
107
+ dropDownOptions?: (number | string | boolean | object | null | undefined | (() => void))[];
108
+ required?: boolean;
109
+ prefix?: React.ReactNode;
110
+ suffix?: React.ReactNode;
111
+ addonBefore?: React.ReactNode;
112
+ defaultValue?: string;
113
+ status?: 'error' | 'warning';
114
+ styles?: React.CSSProperties;
115
+ fieldClassName?: string;
116
+ elementClassName?: string;
117
+ variant?: 'outlined' | 'borderless' | 'filled' | undefined;
118
+ thead?: {
119
+ _id: string;
120
+ name?: string;
121
+ label?: string;
122
+ visible?: boolean;
123
+ required?: boolean;
124
+ key?: string;
125
+ render?: (text: string) => React.JSX.Element;
126
+ ellipsis: boolean;
127
+ }[];
128
+ tbody?: {
129
+ _id?: string;
130
+ name?: string;
131
+ label?: string;
132
+ element?: string;
133
+ type?: string;
134
+ variable_data?: {
135
+ id: {
136
+ id?: number;
137
+ };
138
+ Route?: {
139
+ label: string;
140
+ element: string;
141
+ type: string;
142
+ };
143
+ Dose?: {
144
+ label: string;
145
+ element: string;
146
+ type: string;
147
+ };
148
+ Frequency?: {
149
+ label: string;
150
+ element: string;
151
+ type: string;
152
+ };
153
+ When?: {
154
+ label: string;
155
+ element: string;
156
+ type: string;
157
+ };
158
+ Duration?: {
159
+ label: string;
160
+ element: string;
161
+ type: string;
162
+ };
163
+ Instructions?: {
164
+ label: string;
165
+ element: string;
166
+ type: string;
167
+ };
168
+ SubRows?: {
169
+ label: string;
170
+ };
171
+ }[];
172
+ }[];
173
+ legendTitleClassName?: string;
174
+ centerLabel1?: string;
175
+ centerLabel2?: string;
176
+ legendTitle?: string;
177
+ legendAlign?: 'left' | 'center' | 'right';
178
+ legendVerticalAlign?: 'top' | 'middle' | 'bottom';
179
+ height?: number;
180
+ width?: number;
181
+ yAxixMinValue?: number;
182
+ yAxixMaxValue?: number;
183
+ isStack?: boolean;
184
+ axisLabelClassName?: string;
185
+ yAxisTitle?: string;
186
+ xAxisTitle?: string;
187
+ isLegend?: boolean;
188
+ div?: boolean;
189
+ showCount?: boolean;
190
+ content?: ReactNode;
191
+ segmentedOptions?: string[];
192
+ layout?: 'horizontal" | "vertical" | "proximate' | undefined;
193
+ data?: {
194
+ label?: string;
195
+ value?: number | number[];
196
+ color?: string;
197
+ name?: string;
198
+ y?: number;
199
+ }[];
200
+ ratio?: {
201
+ male?: number;
202
+ female?: number;
203
+ }[];
204
+ payload_keys?: string[];
205
+ api_endpoint?: string;
206
+ next_id?: string;
207
+ fields?: SchemaField[];
208
+ };
209
+ type Schema = {
210
+ className?: string;
211
+ schema: SchemaField[];
212
+ };
213
+ type FormExecutorProps = {
214
+ data: Schema;
215
+ setData?: (schema: Schema) => void;
216
+ selectedRecord?: (field: SchemaField) => void;
217
+ };
218
+ type ElementExecutorProps = FormExecutorProps;
219
+ export declare const ElementExecutor: (props: ElementExecutorProps) => React.JSX.Element;
220
+ export {};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes