@apexcura/ui-components 0.0.16-Beta9 → 0.0.16-Beta900

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.
Files changed (55) hide show
  1. package/dist/Components/AadharComponent.d.ts +3 -0
  2. package/dist/Components/AbhaNumberComponent.d.ts +3 -0
  3. package/dist/Components/AntdButton.d.ts +3 -0
  4. package/dist/Components/AutoCompleteInput.d.ts +14 -0
  5. package/dist/Components/AvatarUpload.d.ts +3 -0
  6. package/dist/Components/Button.d.ts +3 -0
  7. package/dist/Components/Capcha.d.ts +3 -0
  8. package/dist/Components/CardElement.d.ts +3 -0
  9. package/dist/Components/Checkbox.d.ts +3 -0
  10. package/dist/Components/ColorPickerElement.d.ts +3 -0
  11. package/dist/Components/CustomStepper.d.ts +3 -0
  12. package/dist/Components/DatePicker.d.ts +3 -0
  13. package/dist/Components/DateRangePickerElement.d.ts +3 -0
  14. package/dist/Components/DivContainer.d.ts +3 -0
  15. package/dist/Components/DropDownGroup.d.ts +19 -0
  16. package/dist/Components/Editor.d.ts +0 -0
  17. package/dist/Components/FilesUpload.d.ts +3 -0
  18. package/dist/Components/GoogleMapWidget.d.ts +3 -0
  19. package/dist/Components/Image.d.ts +3 -0
  20. package/dist/Components/KanbanBoard.d.ts +2 -0
  21. package/dist/Components/Navbar.d.ts +3 -0
  22. package/dist/Components/Notification.d.ts +3 -0
  23. package/dist/Components/NotificationAlert.d.ts +3 -0
  24. package/dist/Components/NumberElement.d.ts +3 -0
  25. package/dist/Components/OtpElement.d.ts +3 -0
  26. package/dist/Components/PasswordElement.d.ts +3 -0
  27. package/dist/Components/Profile.d.ts +3 -0
  28. package/dist/Components/ProfileContainer.d.ts +3 -0
  29. package/dist/Components/RadioElement.d.ts +14 -0
  30. package/dist/Components/SegmentedElement.d.ts +3 -0
  31. package/dist/Components/SelectElement.d.ts +3 -0
  32. package/dist/Components/Sidebar.d.ts +4 -0
  33. package/dist/Components/SingleCheckbox.d.ts +3 -0
  34. package/dist/Components/SpanElement.d.ts +3 -0
  35. package/dist/Components/SplitButton.d.ts +3 -0
  36. package/dist/Components/SwitchElement.d.ts +3 -0
  37. package/dist/Components/TableCopyComponent.d.ts +3 -0
  38. package/dist/Components/TableElement.d.ts +12 -0
  39. package/dist/Components/TabsElement.d.ts +3 -0
  40. package/dist/Components/TextElement.d.ts +4 -0
  41. package/dist/Components/TextareaElement.d.ts +3 -0
  42. package/dist/Components/TimePicker.d.ts +3 -0
  43. package/dist/Components/TimeRangeComponent.d.ts +3 -0
  44. package/dist/Components/TimeScheduleTable.d.ts +3 -0
  45. package/dist/Types/types.d.ts +264 -0
  46. package/dist/constants/icons.d.ts +12 -0
  47. package/dist/index.d.ts +43 -156
  48. package/dist/index.js +2 -95378
  49. package/dist/index.js.LICENSE.txt +1655 -0
  50. package/dist/index.js.map +1 -1
  51. package/dist/report.html +39 -0
  52. package/package.json +55 -61
  53. package/dist/index.d.mts +0 -156
  54. package/dist/index.mjs +0 -95379
  55. package/dist/index.mjs.map +0 -1
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const AadharComponent: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const AbhaNumberComponent: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const AntButton: (props: ElementType) => React.JSX.Element | undefined;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ import '../styles/index.css';
4
+ interface autoCompleteProps {
5
+ value?: {
6
+ key?: string;
7
+ value?: string;
8
+ };
9
+ }
10
+ interface customProps extends ElementType {
11
+ value?: autoCompleteProps;
12
+ }
13
+ export declare const AutoCompleteInput: (props: customProps) => React.JSX.Element;
14
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const AvatarUpload: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const ButtonElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const Capcha: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const CardElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const CheckboxElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const ColorPickerElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const CustomStepper: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const DatePickerElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const DateRangePickerElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const DivContainer: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ type dropDownValueProps = {
4
+ firstValue: {
5
+ key?: string | undefined;
6
+ label?: string | undefined;
7
+ value?: string | undefined;
8
+ } | undefined;
9
+ secondValue: {
10
+ key?: string | undefined;
11
+ label?: string | undefined;
12
+ value?: string | undefined;
13
+ } | undefined;
14
+ };
15
+ type dropDownGroupProps = ElementType & {
16
+ value?: dropDownValueProps;
17
+ };
18
+ export declare const DropDownGroup: (props: dropDownGroupProps) => React.JSX.Element;
19
+ export {};
File without changes
@@ -0,0 +1,3 @@
1
+ import { ElementType } from '../Types/types';
2
+ import React from 'react';
3
+ export declare const FileUpload: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const GoogleMapWidget: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const Image: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const KanbanBoard: React.FC;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const Navbar: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const Notification: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const NotificationAlert: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const NumberElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const OtpElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const PasswordElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const Profile: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const ProfileContainer: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ type radioValueProps = {
4
+ value: {
5
+ key?: string | undefined;
6
+ label?: string | undefined;
7
+ value?: string | undefined;
8
+ } | undefined;
9
+ };
10
+ interface RadioElementProps extends ElementType {
11
+ value?: radioValueProps | null;
12
+ }
13
+ export declare const RadioElement: (props: RadioElementProps) => React.JSX.Element;
14
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const SegmentedElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const SelectElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const Sidebar: React.FC<ElementType>;
4
+ export default Sidebar;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const SingleCheckbox: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const SpanElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const SplitButton: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const SwitchElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const TableCopyComponent: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ interface PaginationType {
4
+ name?: string;
5
+ page?: number;
6
+ pageSize?: number;
7
+ }
8
+ interface TableElementProps extends ElementType {
9
+ value?: PaginationType | null;
10
+ }
11
+ export declare const TableElement: (props: TableElementProps) => React.JSX.Element;
12
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const TabsElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ import '../styles/index.css';
4
+ export declare const TextElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const TextareaElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const TimePickerElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const TimeRangeComponent: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const TimeScheduleTable: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,264 @@
1
+ import { UploadFile } from 'antd';
2
+ import { SizeType } from 'antd/es/config-provider/SizeContext';
3
+ import { TooltipPlacement } from 'antd/es/tooltip';
4
+ import React, { CSSProperties, JSXElementConstructor, ReactElement, ReactNode } from 'react';
5
+ type PaginationType = {
6
+ name?: string;
7
+ page?: number;
8
+ pageSize?: number;
9
+ };
10
+ interface ScheduleType {
11
+ from: string | null;
12
+ to: string | null;
13
+ }
14
+ interface WeekSchedule {
15
+ Sunday: ScheduleType;
16
+ Monday: ScheduleType;
17
+ Tuesday: ScheduleType;
18
+ Wednesday: ScheduleType;
19
+ Thursday: ScheduleType;
20
+ Friday: ScheduleType;
21
+ Saturday: ScheduleType;
22
+ }
23
+ type dropDownValueProps = {
24
+ firstValue: {
25
+ key?: string | undefined;
26
+ label?: string | undefined;
27
+ value?: string | undefined;
28
+ } | undefined;
29
+ secondValue: {
30
+ key?: string | undefined;
31
+ label?: string | undefined;
32
+ value?: string | undefined;
33
+ } | undefined;
34
+ };
35
+ type radioValueProps = {
36
+ value: {
37
+ key?: string | undefined;
38
+ label?: string | undefined;
39
+ value?: string | undefined;
40
+ } | undefined;
41
+ };
42
+ type autoCompleteProps = {
43
+ value?: {
44
+ key?: string;
45
+ value?: string;
46
+ };
47
+ };
48
+ interface ChildRecordType {
49
+ id?: string;
50
+ name?: string;
51
+ label?: string;
52
+ element?: string;
53
+ type?: string;
54
+ value?: boolean;
55
+ children?: ChildRecordType[];
56
+ }
57
+ export type ElementType = {
58
+ buttonVariant?: string;
59
+ optionRender?: (option: {
60
+ key?: string | number | bigint;
61
+ label?: string | ReactNode;
62
+ value?: string | number;
63
+ color?: string;
64
+ }) => React.ReactNode;
65
+ active?: number;
66
+ visitedClassName?: string;
67
+ accept?: string | undefined;
68
+ max_count?: number | undefined;
69
+ multiple?: boolean | undefined;
70
+ activeClassName?: string;
71
+ radioGroupClassName?: string | undefined;
72
+ selectedStyle?: boolean;
73
+ style?: CSSProperties;
74
+ firstValue?: string;
75
+ secondValue?: string;
76
+ className?: string | undefined;
77
+ placeholder?: string;
78
+ addonBefore?: React.ReactNode;
79
+ defaultValue?: string | {
80
+ label: string;
81
+ value: string;
82
+ };
83
+ disabled?: boolean;
84
+ prefix?: React.ReactNode;
85
+ type?: string;
86
+ expandIcon?: boolean;
87
+ size?: SizeType;
88
+ colWidth?: string;
89
+ errorText?: string;
90
+ errorClassName?: string;
91
+ expandIconStyles?: boolean;
92
+ value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | PaginationType | dropDownValueProps | radioValueProps | WeekSchedule | autoCompleteProps;
93
+ status?: 'error' | 'warning';
94
+ styles?: React.CSSProperties;
95
+ variant?: 'outlined' | 'borderless' | 'filled';
96
+ label?: string;
97
+ name?: string;
98
+ suffix?: React.ReactNode;
99
+ rowClickExpandable?: boolean;
100
+ expandable?: boolean;
101
+ maxLength?: number;
102
+ sortable?: boolean;
103
+ indexClickable?: boolean;
104
+ splitButton?: {
105
+ value: string;
106
+ icon: string;
107
+ label: string;
108
+ isSVGStylesOverride: boolean;
109
+ tooltip: string;
110
+ }[];
111
+ options?: {
112
+ key?: string;
113
+ label?: string;
114
+ value?: string;
115
+ icon?: string;
116
+ color?: string;
117
+ }[];
118
+ firstOptions?: {
119
+ key?: string;
120
+ label: string;
121
+ value: string;
122
+ }[];
123
+ secondOptions?: {
124
+ key?: string;
125
+ label?: string;
126
+ value?: string;
127
+ }[];
128
+ firstPlaceholder?: string;
129
+ secondPlaceholder?: string;
130
+ view?: boolean;
131
+ enabled_dates?: string;
132
+ onChange?: (value: string | number | boolean | object | object[] | undefined) => void;
133
+ onClick?: (value: string | number | boolean | object | object[] | undefined) => void;
134
+ dropDownOptions?: (number | string | boolean | object | null | undefined | (() => void))[];
135
+ id?: number;
136
+ thead?: {
137
+ _id?: string;
138
+ name?: string;
139
+ label?: string;
140
+ visible?: boolean;
141
+ required?: boolean;
142
+ key?: string;
143
+ render?: (text: string) => React.JSX.Element;
144
+ ellipsis?: boolean;
145
+ sortable?: boolean;
146
+ filtered?: boolean;
147
+ filters?: {
148
+ text: string;
149
+ value: string;
150
+ }[];
151
+ fixed?: string | boolean | undefined;
152
+ disabled?: boolean;
153
+ clickable?: boolean;
154
+ }[];
155
+ childHead?: {
156
+ _id?: string;
157
+ name?: string;
158
+ label?: string;
159
+ visible?: boolean;
160
+ required?: boolean;
161
+ key?: string;
162
+ render?: (text: string) => React.JSX.Element;
163
+ ellipsis?: boolean;
164
+ sortable?: boolean;
165
+ filtered?: boolean;
166
+ filters?: {
167
+ text: string;
168
+ value: string;
169
+ }[];
170
+ }[];
171
+ tbody?: ChildRecordType[];
172
+ optionType?: string;
173
+ selectedClassName?: string;
174
+ action?: React.MouseEventHandler<HTMLElement> | string;
175
+ listClassName?: string;
176
+ listItemClassName?: string;
177
+ img?: string;
178
+ imgExpand?: string;
179
+ imgCollapse?: string;
180
+ items?: {
181
+ id?: number;
182
+ key?: number | string;
183
+ element?: string;
184
+ icon?: string;
185
+ label?: string;
186
+ active?: number;
187
+ text?: string;
188
+ time?: string;
189
+ name?: string;
190
+ y?: number;
191
+ color?: string;
192
+ isCount?: boolean;
193
+ count?: number;
194
+ isNewMenuItem?: boolean;
195
+ progress?: number;
196
+ className?: string;
197
+ contact?: string;
198
+ }[];
199
+ primaryText?: string;
200
+ secondaryText?: string;
201
+ count?: number;
202
+ icon?: string;
203
+ placement?: TooltipPlacement;
204
+ profileImage?: string;
205
+ buttonClassName?: string;
206
+ profileImageClassName?: string;
207
+ profileSubClassName?: string;
208
+ subContainerClassName?: string;
209
+ element?: string;
210
+ secondTextClassName?: string;
211
+ iconsClassName?: string;
212
+ labelClassName?: string;
213
+ containerClassName?: string;
214
+ isSVGStylesOverride?: boolean;
215
+ rowSelection?: string;
216
+ length?: number;
217
+ imgClassName?: string;
218
+ loading?: boolean;
219
+ fillText1?: string;
220
+ fillText2?: string;
221
+ pagination?: boolean;
222
+ antdButton?: boolean;
223
+ required?: boolean;
224
+ is_detail?: boolean;
225
+ checkedChildren?: string;
226
+ unCheckedChildren?: string;
227
+ dateTime?: string;
228
+ isDateTime?: boolean;
229
+ minRows?: number;
230
+ maxRows?: number;
231
+ isSearch?: boolean;
232
+ mode?: 'multiple' | 'tags' | undefined;
233
+ picker?: 'date' | 'week' | 'month' | 'quarter' | 'year';
234
+ weekrange?: boolean;
235
+ rangePresets?: boolean;
236
+ message?: string;
237
+ isStatus?: boolean;
238
+ isDelete?: boolean;
239
+ description?: string;
240
+ notificationType?: 'success' | 'info' | 'warning' | 'error';
241
+ showProgress?: boolean;
242
+ isLoading?: boolean;
243
+ isNotChatbot?: boolean;
244
+ allowClear?: boolean;
245
+ isBack?: boolean;
246
+ showCount?: boolean;
247
+ avatarClassName?: string;
248
+ segmentedOptions?: string[];
249
+ manageRadioButton?: boolean;
250
+ cardClassname?: string;
251
+ titleClassName?: string;
252
+ fileType?: string[];
253
+ fileSize?: number;
254
+ allowOne?: boolean;
255
+ showSerialNumber?: boolean;
256
+ isTextSelect?: boolean;
257
+ autoSize?: boolean;
258
+ rowClick?: boolean;
259
+ dropdownRender?: (menu: ReactElement<string | JSXElementConstructor<string>>) => ReactElement<string | JSXElementConstructor<string>>;
260
+ isopen?: boolean;
261
+ clickedVal?: string;
262
+ customColor?: boolean;
263
+ };
264
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export declare const testIcons: {
3
+ [key: string]: string;
4
+ };
5
+ export declare const sidenavIcons: {
6
+ [key: string]: (props: {
7
+ fill?: string;
8
+ }) => React.ReactNode;
9
+ };
10
+ export declare const icons: {
11
+ [key: string]: React.ReactNode;
12
+ };