@apexcura/core 0.0.17-Beta71 → 0.0.17-Beta710
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.
- package/dist/common/not-found.d.ts +0 -0
- package/dist/common/unauthorized.d.ts +0 -0
- package/dist/common/under-development.d.ts +0 -0
- package/dist/constants/age-manipulation.d.ts +0 -0
- package/dist/constants/bmi-calculator.d.ts +0 -0
- package/dist/constants/gender-manipulation.d.ts +0 -0
- package/dist/constants/master-config.d.ts +0 -0
- package/dist/constants/network-list.d.ts +4 -0
- package/dist/constants/op-payment-type-badge.d.ts +0 -0
- package/dist/index.d.ts +1 -180
- package/dist/index.js +3 -438
- package/dist/index.js.LICENSE.txt +123 -0
- package/dist/index.js.map +1 -0
- package/dist/libraries/create-op-patient.d.ts +0 -0
- package/dist/{index.d.mts → libraries/element-executor.d.ts} +87 -31
- package/dist/libraries/forgot-password.d.ts +0 -0
- package/dist/libraries/login.d.ts +0 -0
- package/dist/libraries/logout.d.ts +0 -0
- package/dist/libraries/op-slots-list.d.ts +0 -0
- package/dist/libraries/policy-documents.d.ts +0 -0
- package/dist/redux/common-store.d.ts +0 -0
- package/dist/report.html +39 -0
- package/dist/services/http-service.d.ts +8 -0
- package/dist/services/local-storage.d.ts +13 -0
- package/package.json +47 -44
- package/dist/index.mjs +0 -435
- package/jest.config.js +0 -9
|
File without changes
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { UploadFile } from 'antd';
|
|
3
|
-
|
|
4
|
-
type styling = {
|
|
5
|
-
horizontalGutter?: number;
|
|
6
|
-
verticalGutter?: number;
|
|
7
|
-
};
|
|
8
|
-
type pagenationType = {
|
|
9
|
-
page?: number;
|
|
10
|
-
pageSize?: number;
|
|
11
|
-
};
|
|
3
|
+
import { TooltipPlacement } from 'antd/es/tooltip';
|
|
12
4
|
type SchemaField = {
|
|
13
5
|
name?: string;
|
|
14
6
|
label?: string;
|
|
@@ -18,6 +10,7 @@ type SchemaField = {
|
|
|
18
10
|
className?: string;
|
|
19
11
|
action?: string;
|
|
20
12
|
order?: number;
|
|
13
|
+
isNewMenuItem?: boolean;
|
|
21
14
|
colCount?: number;
|
|
22
15
|
disabled?: boolean;
|
|
23
16
|
activeClassName?: string;
|
|
@@ -25,12 +18,15 @@ type SchemaField = {
|
|
|
25
18
|
listItemClassName?: string;
|
|
26
19
|
buttonClassName?: string;
|
|
27
20
|
icon?: string;
|
|
28
|
-
placement?:
|
|
21
|
+
placement?: TooltipPlacement;
|
|
29
22
|
firstPlaceholder?: string;
|
|
30
23
|
secondPlaceholder?: string;
|
|
31
24
|
enabled_dates?: string;
|
|
32
25
|
profileImageClassName?: string;
|
|
33
|
-
|
|
26
|
+
tooltip_title?: string;
|
|
27
|
+
child_element?: string;
|
|
28
|
+
isLoading?: boolean;
|
|
29
|
+
value?: string | number | boolean | null | object | undefined | string[] | UploadFile[];
|
|
34
30
|
message?: string;
|
|
35
31
|
description?: string;
|
|
36
32
|
notificationType?: 'error' | 'warning' | 'success' | 'info' | undefined;
|
|
@@ -38,6 +34,7 @@ type SchemaField = {
|
|
|
38
34
|
picker?: 'date' | 'week' | 'month' | 'quarter' | 'year';
|
|
39
35
|
weekrange?: boolean;
|
|
40
36
|
img?: string;
|
|
37
|
+
imgClassName: string;
|
|
41
38
|
primaryText?: string;
|
|
42
39
|
secondaryText?: string;
|
|
43
40
|
count?: number;
|
|
@@ -49,7 +46,13 @@ type SchemaField = {
|
|
|
49
46
|
iconsClassName?: string;
|
|
50
47
|
labelClassName?: string;
|
|
51
48
|
view?: boolean;
|
|
49
|
+
isSearch?: boolean;
|
|
50
|
+
isStatus?: boolean;
|
|
52
51
|
isSVGStylesOverride?: boolean;
|
|
52
|
+
isDelete?: boolean;
|
|
53
|
+
errorText?: string;
|
|
54
|
+
errorClassName?: string;
|
|
55
|
+
cardClassname?: string;
|
|
53
56
|
rowSelection?: string;
|
|
54
57
|
length?: number;
|
|
55
58
|
loading?: boolean;
|
|
@@ -58,33 +61,48 @@ type SchemaField = {
|
|
|
58
61
|
pagination?: boolean;
|
|
59
62
|
is_detail?: boolean;
|
|
60
63
|
dateTime?: string;
|
|
64
|
+
isDateTime?: boolean;
|
|
61
65
|
minRows?: number;
|
|
62
66
|
maxRows?: number;
|
|
67
|
+
isNotChatbot?: boolean;
|
|
68
|
+
rangePresets?: boolean;
|
|
69
|
+
distance?: string;
|
|
70
|
+
showTooltip?: boolean;
|
|
71
|
+
showLegend?: boolean;
|
|
72
|
+
innerSize?: string;
|
|
73
|
+
sortable?: boolean;
|
|
63
74
|
mode?: 'multiple' | 'tags' | undefined;
|
|
64
75
|
items?: {
|
|
65
|
-
|
|
76
|
+
id?: number;
|
|
77
|
+
key?: number | string;
|
|
78
|
+
element?: string;
|
|
79
|
+
icon?: string;
|
|
66
80
|
label?: string;
|
|
67
|
-
active?:
|
|
81
|
+
active?: number;
|
|
68
82
|
text?: string;
|
|
69
83
|
time?: string;
|
|
70
84
|
name?: string;
|
|
71
85
|
y?: number;
|
|
72
86
|
color?: string;
|
|
87
|
+
isCount?: boolean;
|
|
88
|
+
count?: number;
|
|
89
|
+
progress?: number;
|
|
73
90
|
}[];
|
|
74
91
|
options?: {
|
|
75
92
|
key?: string;
|
|
76
|
-
label
|
|
93
|
+
label: string;
|
|
77
94
|
value?: string;
|
|
95
|
+
icon?: string;
|
|
78
96
|
}[];
|
|
79
97
|
firstOptions?: {
|
|
80
98
|
key?: string;
|
|
81
|
-
label
|
|
82
|
-
value
|
|
99
|
+
label: string;
|
|
100
|
+
value: string;
|
|
83
101
|
}[];
|
|
84
102
|
secondOptions?: {
|
|
85
103
|
key?: string;
|
|
86
104
|
label?: string;
|
|
87
|
-
value?: string
|
|
105
|
+
value?: string;
|
|
88
106
|
}[];
|
|
89
107
|
selectBefore?: {
|
|
90
108
|
label?: string;
|
|
@@ -104,19 +122,21 @@ type SchemaField = {
|
|
|
104
122
|
styles?: React.CSSProperties;
|
|
105
123
|
fieldClassName?: string;
|
|
106
124
|
elementClassName?: string;
|
|
125
|
+
titleClassName?: string;
|
|
126
|
+
inverted?: boolean;
|
|
107
127
|
variant?: 'outlined' | 'borderless' | 'filled' | undefined;
|
|
108
128
|
thead?: {
|
|
109
|
-
|
|
129
|
+
_id: string;
|
|
110
130
|
name?: string;
|
|
111
131
|
label?: string;
|
|
112
132
|
visible?: boolean;
|
|
113
133
|
required?: boolean;
|
|
114
134
|
key?: string;
|
|
115
|
-
render?: () =>
|
|
135
|
+
render?: (text: string) => React.JSX.Element;
|
|
116
136
|
ellipsis: boolean;
|
|
117
137
|
}[];
|
|
118
138
|
tbody?: {
|
|
119
|
-
|
|
139
|
+
_id?: string;
|
|
120
140
|
name?: string;
|
|
121
141
|
label?: string;
|
|
122
142
|
element?: string;
|
|
@@ -160,21 +180,57 @@ type SchemaField = {
|
|
|
160
180
|
};
|
|
161
181
|
}[];
|
|
162
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
|
+
y?: number;
|
|
213
|
+
z?: number;
|
|
214
|
+
stack?: string;
|
|
215
|
+
}[];
|
|
216
|
+
ratio?: {
|
|
217
|
+
male?: number;
|
|
218
|
+
female?: number;
|
|
219
|
+
}[];
|
|
163
220
|
payload_keys?: string[];
|
|
164
221
|
api_endpoint?: string;
|
|
165
222
|
next_id?: string;
|
|
166
223
|
fields?: SchemaField[];
|
|
167
224
|
};
|
|
168
|
-
type Schema =
|
|
225
|
+
type Schema = {
|
|
226
|
+
className?: string;
|
|
227
|
+
schema: SchemaField[];
|
|
228
|
+
};
|
|
169
229
|
type FormExecutorProps = {
|
|
170
|
-
data:
|
|
171
|
-
className: string;
|
|
172
|
-
schema: Schema;
|
|
173
|
-
};
|
|
230
|
+
data: Schema;
|
|
174
231
|
setData?: (schema: Schema) => void;
|
|
175
|
-
selectedRecord?: (field:
|
|
232
|
+
selectedRecord?: (field: SchemaField) => void;
|
|
176
233
|
};
|
|
177
|
-
type ElementExecutorProps = FormExecutorProps
|
|
178
|
-
declare const ElementExecutor: (props: ElementExecutorProps) => React.JSX.Element;
|
|
179
|
-
|
|
180
|
-
export { ElementExecutor };
|
|
234
|
+
type ElementExecutorProps = FormExecutorProps;
|
|
235
|
+
export declare const ElementExecutor: (props: ElementExecutorProps) => React.JSX.Element;
|
|
236
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|