@apexcura/core 0.0.17-Beta77 → 0.0.17-Beta770

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
@@ -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?: string;
21
+ placement?: TooltipPlacement;
29
22
  firstPlaceholder?: string;
30
23
  secondPlaceholder?: string;
31
24
  enabled_dates?: string;
32
25
  profileImageClassName?: string;
33
- value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | pagenationType;
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,8 +46,14 @@ type SchemaField = {
49
46
  iconsClassName?: string;
50
47
  labelClassName?: string;
51
48
  view?: boolean;
49
+ isSearch?: boolean;
50
+ isStatus?: boolean;
52
51
  isSVGStylesOverride?: boolean;
53
- rowSelection?: boolean;
52
+ isDelete?: boolean;
53
+ errorText?: string;
54
+ errorClassName?: string;
55
+ cardClassname?: string;
56
+ rowSelection?: string;
54
57
  length?: number;
55
58
  loading?: boolean;
56
59
  fillText1?: string;
@@ -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
- icon?: React.JSX.Element | string;
76
+ id?: number;
77
+ key?: number | string;
78
+ element?: string;
79
+ icon?: string;
66
80
  label?: string;
67
- active?: boolean;
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
- key?: string | number;
76
- label?: string;
92
+ key?: string;
93
+ label: string;
77
94
  value?: string;
95
+ icon?: string;
78
96
  }[];
79
97
  firstOptions?: {
80
- key?: string | number;
81
- label?: string;
82
- value?: string;
98
+ key?: string;
99
+ label: string;
100
+ value: string;
83
101
  }[];
84
102
  secondOptions?: {
85
- key?: string | number;
103
+ key?: string;
86
104
  label?: string;
87
- value?: string | string[];
105
+ value?: string;
88
106
  }[];
89
107
  selectBefore?: {
90
108
  label?: string;
@@ -104,19 +122,23 @@ type SchemaField = {
104
122
  styles?: React.CSSProperties;
105
123
  fieldClassName?: string;
106
124
  elementClassName?: string;
107
- variant?: string;
125
+ titleClassName?: string;
126
+ inverted?: boolean;
127
+ allowOne?: boolean;
128
+ showSerialNumber?: boolean;
129
+ variant?: 'outlined' | 'borderless' | 'filled' | undefined;
108
130
  thead?: {
109
- id?: number;
131
+ _id: string;
110
132
  name?: string;
111
133
  label?: string;
112
134
  visible?: boolean;
113
135
  required?: boolean;
114
- key?: string | number;
136
+ key?: string;
115
137
  render?: (text: string) => React.JSX.Element;
116
- ellipsis?: boolean;
138
+ ellipsis: boolean;
117
139
  }[];
118
140
  tbody?: {
119
- id?: number;
141
+ _id?: string;
120
142
  name?: string;
121
143
  label?: string;
122
144
  element?: string;
@@ -160,21 +182,57 @@ type SchemaField = {
160
182
  };
161
183
  }[];
162
184
  }[];
185
+ legendTitleClassName?: string;
186
+ centerLabel1?: string;
187
+ centerLabel2?: string;
188
+ legendTitle?: string;
189
+ legendAlign?: 'left' | 'center' | 'right';
190
+ legendVerticalAlign?: 'top' | 'middle' | 'bottom';
191
+ height?: number;
192
+ width?: number;
193
+ yAxixMinValue?: number;
194
+ yAxixMaxValue?: number;
195
+ isStack?: boolean;
196
+ axisLabelClassName?: string;
197
+ yAxisTitle?: string;
198
+ xAxisTitle?: string;
199
+ isLegend?: boolean;
200
+ div?: boolean;
201
+ showCount?: boolean;
202
+ borderRadius?: number;
203
+ content?: ReactNode;
204
+ segmentedOptions?: string[];
205
+ fileType?: string[];
206
+ fileSize?: number;
207
+ val?: number;
208
+ layout?: 'horizontal" | "vertical" | "proximate' | undefined;
209
+ data?: {
210
+ label?: string;
211
+ value?: number | number[];
212
+ color?: string;
213
+ name?: string;
214
+ y?: number;
215
+ z?: number;
216
+ stack?: string;
217
+ }[];
218
+ ratio?: {
219
+ male?: number;
220
+ female?: number;
221
+ }[];
163
222
  payload_keys?: string[];
164
223
  api_endpoint?: string;
165
224
  next_id?: string;
166
225
  fields?: SchemaField[];
167
226
  };
168
- type Schema = SchemaField[];
227
+ type Schema = {
228
+ className?: string;
229
+ schema: SchemaField[];
230
+ };
169
231
  type FormExecutorProps = {
170
- data: {
171
- className: string;
172
- schema: Schema;
173
- };
232
+ data: Schema;
174
233
  setData?: (schema: Schema) => void;
175
- selectedRecord?: (field: Schema) => void;
234
+ selectedRecord?: (field: SchemaField) => void;
176
235
  };
177
- type ElementExecutorProps = FormExecutorProps & styling;
178
- declare const ElementExecutor: (props: ElementExecutorProps) => React.JSX.Element;
179
-
180
- export { ElementExecutor };
236
+ type ElementExecutorProps = FormExecutorProps;
237
+ export declare const ElementExecutor: (props: ElementExecutorProps) => React.JSX.Element;
238
+ export {};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes