@apexcura/ui-components 0.0.16-Beta72 → 0.0.16-Beta721

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 (56) hide show
  1. package/dist/Components/AadharComponent.d.ts +3 -0
  2. package/dist/Components/AbhaNumberComponent.d.ts +3 -0
  3. package/dist/Components/AutoCompleteInput.d.ts +14 -0
  4. package/dist/Components/AvatarUpload.d.ts +3 -0
  5. package/dist/Components/Button.d.ts +3 -0
  6. package/dist/Components/Capcha.d.ts +3 -0
  7. package/dist/Components/CardElement.d.ts +3 -0
  8. package/dist/Components/Checkbox.d.ts +3 -0
  9. package/dist/Components/ColorPickerElement.d.ts +3 -0
  10. package/dist/Components/CustomStepper.d.ts +3 -0
  11. package/dist/Components/DatePicker.d.ts +3 -0
  12. package/dist/Components/DateRangePickerElement.d.ts +3 -0
  13. package/dist/Components/DivContainer.d.ts +3 -0
  14. package/dist/Components/DropDownGroup.d.ts +19 -0
  15. package/dist/Components/Editor.d.ts +0 -0
  16. package/dist/Components/FilesUpload.d.ts +3 -0
  17. package/dist/Components/Image.d.ts +3 -0
  18. package/dist/Components/KanbanBoard.d.ts +2 -0
  19. package/dist/Components/Navbar.d.ts +3 -0
  20. package/dist/Components/Notification.d.ts +3 -0
  21. package/dist/Components/NotificationAlert.d.ts +3 -0
  22. package/dist/Components/NumberElement.d.ts +3 -0
  23. package/dist/Components/OtpElement.d.ts +3 -0
  24. package/dist/Components/PasswordElement.d.ts +3 -0
  25. package/dist/Components/Profile.d.ts +3 -0
  26. package/dist/Components/ProfileContainer.d.ts +3 -0
  27. package/dist/Components/RadioElement.d.ts +3 -0
  28. package/dist/Components/SegmentedElement.d.ts +3 -0
  29. package/dist/Components/SelectElement.d.ts +3 -0
  30. package/dist/Components/Sidebar.d.ts +4 -0
  31. package/dist/Components/SingleCheckbox.d.ts +3 -0
  32. package/dist/Components/SpanElement.d.ts +3 -0
  33. package/dist/Components/SplitButton.d.ts +3 -0
  34. package/dist/Components/SwitchElement.d.ts +3 -0
  35. package/dist/Components/TableCopyComponent.d.ts +3 -0
  36. package/dist/Components/TableElement.d.ts +12 -0
  37. package/dist/Components/TabsElement.d.ts +3 -0
  38. package/dist/Components/TextElement.d.ts +4 -0
  39. package/dist/Components/TextareaElement.d.ts +3 -0
  40. package/dist/Components/TimePicker.d.ts +3 -0
  41. package/dist/Components/TimeRangeComponent.d.ts +3 -0
  42. package/dist/Components/TimeScheduleTable.d.ts +3 -0
  43. package/dist/Types/types.d.ts +253 -0
  44. package/dist/constants/icons.d.ts +4 -0
  45. package/dist/index.d.ts +41 -188
  46. package/dist/index.js +3 -1898
  47. package/dist/index.js.LICENSE.txt +1655 -0
  48. package/dist/index.js.map +1 -0
  49. package/dist/report.html +39 -0
  50. package/package.json +55 -62
  51. package/.env.defaults +0 -2
  52. package/dist/index.d.mts +0 -188
  53. package/dist/index.mjs +0 -1849
  54. package/jest.config.js +0 -10
  55. package/postcss.config.js +0 -7
  56. package/tailwind.config.js +0 -9
package/dist/index.mjs DELETED
@@ -1,1849 +0,0 @@
1
- // src/Components/TextElement.tsx
2
- import React from "react";
3
- import { Input as AntInput } from "antd";
4
- var TextElement = (props) => {
5
- const handleChange = (e) => {
6
- if (props.onChange) {
7
- props.onChange(e.target.value);
8
- }
9
- };
10
- return /* @__PURE__ */ React.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label, " ", props.required ? /* @__PURE__ */ React.createElement("span", { style: { color: "red" } }, "*") : ""), /* @__PURE__ */ React.createElement(
11
- AntInput,
12
- {
13
- placeholder: props.placeholder,
14
- allowClear: true,
15
- id: props.name,
16
- value: props.value,
17
- prefix: props.prefix,
18
- type: props.type,
19
- status: props.status,
20
- className: props.className,
21
- disabled: props.disabled,
22
- onChange: (e) => {
23
- handleChange(e);
24
- }
25
- }
26
- ));
27
- };
28
-
29
- // src/Components/PasswordElement.tsx
30
- import React2, { useState } from "react";
31
- import { EyeInvisibleOutlined, EyeTwoTone } from "@ant-design/icons";
32
- import { Input } from "antd";
33
- var PasswordElement = (props) => {
34
- const [passwordVisible, setPasswordVisible] = useState(false);
35
- const handleVisibilityToggle = () => {
36
- setPasswordVisible((prev) => !prev);
37
- };
38
- const handleChange = (e) => {
39
- if (props.onChange) {
40
- props.onChange(e.target.value);
41
- }
42
- };
43
- const renderVisibilityIcon = (visible) => visible ? /* @__PURE__ */ React2.createElement(EyeTwoTone, null) : /* @__PURE__ */ React2.createElement(EyeInvisibleOutlined, null);
44
- return /* @__PURE__ */ React2.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React2.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label, " ", props.required ? /* @__PURE__ */ React2.createElement("span", { style: { color: "red" } }, "*") : ""), /* @__PURE__ */ React2.createElement(
45
- Input.Password,
46
- {
47
- placeholder: props.placeholder,
48
- className: props.className,
49
- type: props.type,
50
- onChange: (e) => {
51
- handleChange(e);
52
- },
53
- iconRender: renderVisibilityIcon,
54
- visibilityToggle: {
55
- visible: passwordVisible && passwordVisible,
56
- onVisibleChange: handleVisibilityToggle
57
- }
58
- }
59
- ));
60
- };
61
-
62
- // src/Components/NumberElement.tsx
63
- import React3 from "react";
64
- import { Input as AntInput2 } from "antd";
65
- var NumberElement = (props) => {
66
- const handleChange = (e) => {
67
- const newValue = e.target.value.replace(/[^0-9]/g, "");
68
- if (props.onChange) {
69
- props.onChange(newValue);
70
- }
71
- };
72
- return /* @__PURE__ */ React3.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React3.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label, " ", props.required ? /* @__PURE__ */ React3.createElement("span", { style: { color: "red" } }, "*") : ""), /* @__PURE__ */ React3.createElement(
73
- AntInput2,
74
- {
75
- placeholder: props.placeholder,
76
- addonBefore: props.addonBefore,
77
- value: props.value,
78
- disabled: props.disabled,
79
- id: props.name,
80
- prefix: props.prefix,
81
- type: props.type,
82
- status: props.status,
83
- className: props.className,
84
- variant: props.variant,
85
- name: props.name,
86
- onChange: (e) => {
87
- handleChange(e);
88
- }
89
- }
90
- ));
91
- };
92
-
93
- // src/Components/TextareaElement.tsx
94
- import React4 from "react";
95
- import { Input as Input2 } from "antd";
96
- var { TextArea } = Input2;
97
- var TextareaElement = (props) => {
98
- const handleChange = (e) => {
99
- if (props.onChange) {
100
- props.onChange(e.target.value);
101
- }
102
- };
103
- const defaultMinRows = 2;
104
- const defaultMaxRows = 6;
105
- return /* @__PURE__ */ React4.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React4.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label, " ", props.required ? /* @__PURE__ */ React4.createElement("span", { style: { color: "red" } }, "*") : ""), /* @__PURE__ */ React4.createElement(
106
- TextArea,
107
- {
108
- placeholder: props.placeholder,
109
- allowClear: true,
110
- disabled: props.disabled,
111
- id: props.name,
112
- autoSize: { minRows: props.minRows ? props.minRows : defaultMinRows, maxRows: props.maxRows ? props.maxRows : defaultMaxRows },
113
- className: props.className,
114
- name: props.name,
115
- value: props.value,
116
- showCount: true,
117
- onChange: (e) => {
118
- handleChange(e);
119
- }
120
- }
121
- ));
122
- };
123
-
124
- // src/Components/SelectElement.tsx
125
- import React5 from "react";
126
- import { Select } from "antd";
127
- var filterOptions = (input, option) => {
128
- return (option?.label ?? "").toLowerCase().includes(input.toLowerCase());
129
- };
130
- var SelectElement = (props) => {
131
- const handleChange = (value) => {
132
- if (props.onChange) {
133
- if (typeof value === "string") {
134
- const filterOption2 = props.options && props.options.find((eachOption) => eachOption.value === value);
135
- props.onChange(filterOption2);
136
- } else {
137
- const selectedOptions = value ? value.map((eachVal) => {
138
- return props.options && props.options.find((eachOption) => eachOption.value === eachVal);
139
- }) : [];
140
- props.onChange(selectedOptions);
141
- }
142
- }
143
- };
144
- return /* @__PURE__ */ React5.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React5.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label, " ", props.required ? /* @__PURE__ */ React5.createElement("span", { style: { color: "red" } }, "*") : ""), /* @__PURE__ */ React5.createElement(
145
- Select,
146
- {
147
- options: props.options,
148
- placeholder: props.placeholder,
149
- allowClear: true,
150
- filterOption: filterOptions,
151
- showSearch: true,
152
- className: props.className,
153
- onChange: handleChange,
154
- mode: props.mode,
155
- value: props.value && props.value,
156
- disabled: props.disabled
157
- }
158
- ));
159
- };
160
-
161
- // src/Components/RadioElement.tsx
162
- import React6, { useState as useState2 } from "react";
163
- import { Radio } from "antd";
164
- var radioDefaultStyle = "bg-[#F2F2F2] border border-[#919191] rounded-[8px] m-[10px] hover:bg-[#F2F2F2] text-center text-black shadow-[0px_0px_1px_1px_#919191]";
165
- var radioSelectedDefaultStyle = "bg-[#E2D6F8] border border-[#B8A4DE] rounded-[8px] p-[6px] m-[10px] shadow-[0px_0px_1px_1px_#B8A4DE] text-center text-black shadow-[0px_0px_1px_1px_#919191]";
166
- var RadioElement = (props) => {
167
- const [isDisabled, setIsDisabled] = useState2(props.disabled);
168
- const [selectedValue, setSelectedValue] = useState2(props.value);
169
- const optionType = props.optionType === "button" ? "button" : void 0;
170
- const handleChange = (option) => {
171
- setSelectedValue(option);
172
- setIsDisabled(true);
173
- if (props.onChange) {
174
- props.onChange(option);
175
- }
176
- };
177
- const getButtonStyle = (option) => {
178
- return selectedValue === option.value ? `${radioSelectedDefaultStyle} ${props.activeClassName}` : `${radioDefaultStyle} ${props.className}`;
179
- };
180
- return /* @__PURE__ */ React6.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React6.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label, " ", props.required ? /* @__PURE__ */ React6.createElement("span", { style: { color: "red" } }, "*") : ""), /* @__PURE__ */ React6.createElement(
181
- Radio.Group,
182
- {
183
- optionType,
184
- className: props.radioGroupClassName,
185
- value: selectedValue
186
- },
187
- props.options && props.options.map((option) => {
188
- return /* @__PURE__ */ React6.createElement(
189
- Radio,
190
- {
191
- onChange: () => {
192
- handleChange(option);
193
- },
194
- key: option.value,
195
- value: option.value,
196
- disabled: isDisabled && selectedValue !== option.value,
197
- className: getButtonStyle(option),
198
- style: { pointerEvents: isDisabled && selectedValue !== option.value ? "none" : "auto" }
199
- },
200
- option.label
201
- );
202
- })
203
- ));
204
- };
205
-
206
- // src/Components/Checkbox.tsx
207
- import React7, { useState as useState3 } from "react";
208
- import { Checkbox } from "antd";
209
- var CheckboxGroup = Checkbox.Group;
210
- var CheckboxElement = (props) => {
211
- const [checkedList, setCheckedList] = useState3([]);
212
- const options = (props.options || []).map((option) => ({
213
- key: option.key,
214
- label: option.label ?? "",
215
- value: option.value
216
- }));
217
- const checkAll = options.length > 0 && options.length === (checkedList && checkedList.length);
218
- const handleChange = (list) => {
219
- setCheckedList(list);
220
- if (props.onChange) {
221
- const selectedOptions = options.filter(
222
- (option) => option.value && list.includes(option.value)
223
- );
224
- props.onChange(selectedOptions);
225
- }
226
- };
227
- const onHandleAllChanges = (e) => {
228
- const newList = e.target.checked ? options.map((option) => option.value).filter((value) => value !== void 0) : [];
229
- setCheckedList(newList);
230
- if (props.onChange) {
231
- const selectedOptions = e.target.checked ? options : [];
232
- props.onChange(selectedOptions);
233
- }
234
- };
235
- return /* @__PURE__ */ React7.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React7.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label, " ", props.required ? /* @__PURE__ */ React7.createElement("span", { style: { color: "red" } }, "*") : ""), /* @__PURE__ */ React7.createElement(
236
- Checkbox,
237
- {
238
- disabled: props.disabled,
239
- id: props.name,
240
- style: props.styles,
241
- className: props.className,
242
- onChange: onHandleAllChanges,
243
- checked: checkAll
244
- },
245
- "Check all"
246
- ), /* @__PURE__ */ React7.createElement(
247
- CheckboxGroup,
248
- {
249
- disabled: props.disabled,
250
- style: props.styles,
251
- className: props.className,
252
- options,
253
- value: checkedList,
254
- onChange: handleChange
255
- }
256
- ));
257
- };
258
-
259
- // src/Components/CkEditor.tsx
260
- import { useRef } from "react";
261
- import { Editor } from "@tinymce/tinymce-react";
262
- import React8 from "react";
263
- var CkEditor = (props) => {
264
- const editorRef = useRef(null);
265
- const log = () => {
266
- if (editorRef.current) {
267
- let content = editorRef.current.getContent();
268
- if (props.onChange) {
269
- props.onChange(content);
270
- }
271
- }
272
- };
273
- return /* @__PURE__ */ React8.createElement("div", null, /* @__PURE__ */ React8.createElement(
274
- Editor,
275
- {
276
- apiKey: "rwpgt7maa54n0pe5mglhkl686p7h57sg6z636n6gf2mio1b9",
277
- onInit: (_evt, editor) => {
278
- if (editor) editorRef.current = editor;
279
- },
280
- initialValue: "<p>This is the initial content of the editor.</p>",
281
- init: {
282
- height: 500,
283
- menubar: true,
284
- plugins: [
285
- "advlist",
286
- "autolink",
287
- "lists",
288
- "link",
289
- "image",
290
- "charmap",
291
- "preview",
292
- "anchor",
293
- "searchreplace",
294
- "visualblocks",
295
- "code",
296
- "fullscreen",
297
- "insertdatetime",
298
- "media",
299
- "table",
300
- "code",
301
- "help",
302
- "wordcount"
303
- ],
304
- toolbar: "undo redo | blocks | bold italic forecolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",
305
- content_style: "body { font-family:Helvetica,Arial,sans-serif; font-size:14px }"
306
- }
307
- }
308
- ), /* @__PURE__ */ React8.createElement("button", { onClick: log }, "Log editor content"));
309
- };
310
-
311
- // src/Components/Editor.tsx
312
- import React9 from "react";
313
- import { CKEditor } from "@ckeditor/ckeditor5-react";
314
- import ClassicEditor from "@ckeditor/ckeditor5-build-classic";
315
- var Editor2 = (props) => {
316
- return /* @__PURE__ */ React9.createElement("div", { className: props.className }, /* @__PURE__ */ React9.createElement(
317
- CKEditor,
318
- {
319
- editor: ClassicEditor,
320
- config: {
321
- removePlugins: ["CKEditorInspector"],
322
- placeholder: `Enter Text`,
323
- toolbar: {
324
- items: [
325
- "undo",
326
- "redo",
327
- "|",
328
- "heading",
329
- "|",
330
- "bold",
331
- "italic",
332
- "|",
333
- "bulletedList",
334
- "numberedList",
335
- "|",
336
- "link",
337
- // "imageUpload",
338
- "mediaEmbed",
339
- "|",
340
- "insertTable",
341
- "blockQuote",
342
- "pageBreak",
343
- "|",
344
- "selectAll"
345
- ]
346
- }
347
- },
348
- data: props.value || "",
349
- onChange: (event, editor) => {
350
- console.log(editor.getData());
351
- props.onChange && props.onChange(editor.getData());
352
- },
353
- onBlur: (event, editor) => {
354
- },
355
- onFocus: (event, editor) => {
356
- }
357
- }
358
- ));
359
- };
360
-
361
- // src/Components/Select/SingleSelectElement.tsx
362
- import React10 from "react";
363
- import { Select as Select2 } from "antd";
364
- var onSearch = (value) => {
365
- };
366
- var filterOption = (input, option) => (option?.label ?? "").toLowerCase().includes(input.toLowerCase());
367
- var SingleSelectElement = (props) => {
368
- const handleChange = (values) => {
369
- if (props.onChange) {
370
- const option = props.dropDownOptions?.find(
371
- (option2) => String(option2.title) === values
372
- );
373
- const selectedOption = { id: option?.id, value: values };
374
- props.onChange([selectedOption]);
375
- }
376
- };
377
- return /* @__PURE__ */ React10.createElement(
378
- Select2,
379
- {
380
- showSearch: true,
381
- placeholder: props.placeholder,
382
- optionFilterProp: "children",
383
- onChange: handleChange,
384
- onSearch,
385
- filterOption,
386
- options: props.dropDownOptions?.map((eachOption) => ({
387
- label: String(eachOption.title),
388
- value: String(eachOption.title),
389
- id: String(eachOption.id)
390
- }))
391
- }
392
- );
393
- };
394
-
395
- // src/Components/Select/MultipleSelectElement.tsx
396
- import React11 from "react";
397
- import { Select as Select3 } from "antd";
398
- var MultipleSelectElement = (props) => {
399
- const handleChange = (values) => {
400
- if (props.onChange) {
401
- const selectedOptions = values.map((value) => {
402
- const option = props.dropDownOptions?.find((option2) => String(option2.title) === value);
403
- return { id: option?.id, value };
404
- });
405
- props.onChange(selectedOptions);
406
- }
407
- };
408
- return /* @__PURE__ */ React11.createElement(
409
- Select3,
410
- {
411
- mode: "multiple",
412
- placeholder: props.placeholder,
413
- onChange: handleChange,
414
- options: props.dropDownOptions?.map((eachOption) => ({ label: String(eachOption.title), value: String(eachOption.title), id: String(eachOption.id) }))
415
- }
416
- );
417
- };
418
-
419
- // src/Components/Button.tsx
420
- import React13 from "react";
421
-
422
- // src/constants/icons.tsx
423
- import React12 from "react";
424
- var icons = {
425
- download: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
426
- "path",
427
- {
428
- d: "M6.39023 19.49H18.9902C19.2452 19.49 19.459 19.5763 19.6315 19.7488C19.804 19.9213 19.8902 20.135 19.8902 20.39C19.8902 20.645 19.804 20.8588 19.6315 21.0313C19.459 21.2038 19.2452 21.29 18.9902 21.29H6.39023C6.13523 21.29 5.92148 21.2038 5.74898 21.0313C5.57648 20.8588 5.49023 20.645 5.49023 20.39C5.49023 20.135 5.57648 19.9213 5.74898 19.7488C5.92148 19.5763 6.13523 19.49 6.39023 19.49ZM12.6902 17.1275C12.5552 17.1275 12.424 17.0975 12.2965 17.0375C12.169 16.9775 12.0602 16.8875 11.9702 16.7675L7.51523 11.0525C7.29023 10.7525 7.26023 10.4338 7.42523 10.0963C7.59023 9.75879 7.86023 9.59004 8.23523 9.59004H9.99023V4.19004C9.99023 3.93504 10.0765 3.72129 10.249 3.54879C10.4215 3.37629 10.6352 3.29004 10.8902 3.29004H14.4902C14.7452 3.29004 14.959 3.37629 15.1315 3.54879C15.304 3.72129 15.3902 3.93504 15.3902 4.19004V9.59004H17.1452C17.5202 9.59004 17.7902 9.75879 17.9552 10.0963C18.1202 10.4338 18.0902 10.7525 17.8652 11.0525L13.4102 16.7675C13.3202 16.8875 13.2115 16.9775 13.084 17.0375C12.9565 17.0975 12.8252 17.1275 12.6902 17.1275Z",
429
- fill: "#505050"
430
- }
431
- )),
432
- save: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 27 27", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
433
- "path",
434
- {
435
- d: "M18.4602 4.67108H6.6883C5.5994 4.67108 4.72632 5.55397 4.72632 6.63306V20.3669C4.72632 21.446 5.5994 22.3289 6.6883 22.3289H20.4222C21.5013 22.3289 22.3842 21.446 22.3842 20.3669V8.59505L18.4602 4.67108ZM13.5552 20.3669C11.9268 20.3669 10.6123 19.0524 10.6123 17.424C10.6123 15.7955 11.9268 14.481 13.5552 14.481C15.1837 14.481 16.4982 15.7955 16.4982 17.424C16.4982 19.0524 15.1837 20.3669 13.5552 20.3669ZM16.4982 10.557H6.6883V6.63306H16.4982V10.557Z",
436
- fill: "#A3A3A3"
437
- }
438
- )),
439
- filter: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
440
- "path",
441
- {
442
- d: "M3.92978 5.0621C6.21468 7.99174 10.4338 13.4212 10.4338 13.4212V20.208C10.4338 20.8301 10.9428 21.3391 11.5649 21.3391H13.8272C14.4493 21.3391 14.9584 20.8301 14.9584 20.208V13.4212C14.9584 13.4212 19.1662 7.99174 21.4511 5.0621C22.028 4.31555 21.4963 3.24097 20.5575 3.24097H4.82338C3.88454 3.24097 3.3529 4.31555 3.92978 5.0621Z",
443
- fill: "#505050"
444
- }
445
- )),
446
- logout: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
447
- "path",
448
- {
449
- d: "M4.3457 3.87939C3.79342 3.87939 3.3457 4.32711 3.3457 4.87939V20.441C3.3457 20.9933 3.79342 21.441 4.3457 21.441H13.8618C14.4141 21.441 14.8618 20.9933 14.8618 20.441V15.1346C14.8618 14.8585 14.6379 14.6346 14.3618 14.6346H8.03954C7.48725 14.6346 7.03954 14.1869 7.03954 13.6346V10.7859C7.03954 10.2336 7.48725 9.78585 8.03954 9.78585H14.3618C14.6379 9.78585 14.8618 9.562 14.8618 9.28585V4.87939C14.8618 4.32711 14.4141 3.87939 13.8618 3.87939H4.3457Z",
450
- fill: "#505050"
451
- }
452
- ), /* @__PURE__ */ React12.createElement(
453
- "path",
454
- {
455
- d: "M16.6159 7.55579L15.2915 8.88016L17.7511 11.3397H8.10205V13.2317H17.7511L15.2915 15.6912L16.6159 17.0156L21.3458 12.2857L16.6159 7.55579Z",
456
- fill: "#505050"
457
- }
458
- )),
459
- patient: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
460
- "path",
461
- {
462
- d: "M11.9997 15.8119C12.379 15.8119 12.7012 15.679 12.9664 15.4132C13.2322 15.148 13.3651 14.8258 13.3651 14.4465V13.5363H14.2753C14.6546 13.5363 14.9768 13.4034 15.242 13.1376C15.5078 12.8724 15.6407 12.5502 15.6407 12.1709C15.6407 11.7916 15.5078 11.4694 15.242 11.2042C14.9768 10.9384 14.6546 10.8055 14.2753 10.8055H13.3651V9.8953C13.3651 9.51604 13.2322 9.19381 12.9664 8.92863C12.7012 8.66284 12.379 8.52994 11.9997 8.52994C11.6204 8.52994 11.2982 8.66284 11.033 8.92863C10.7672 9.19381 10.6343 9.51604 10.6343 9.8953V10.8055H9.72409C9.34483 10.8055 9.0226 10.9384 8.75742 11.2042C8.49163 11.4694 8.35873 11.7916 8.35873 12.1709C8.35873 12.5502 8.49163 12.8724 8.75742 13.1376C9.0226 13.4034 9.34483 13.5363 9.72409 13.5363H10.6343V14.4465C10.6343 14.8258 10.7672 15.148 11.033 15.4132C11.2982 15.679 11.6204 15.8119 11.9997 15.8119ZM11.9997 21.6602H11.7721C11.6963 21.6602 11.628 21.645 11.5673 21.6146C9.57997 20.9926 7.94154 19.7599 6.65203 17.9163C5.36253 16.0734 4.71777 14.0369 4.71777 11.8068V7.50592C4.71777 7.12665 4.82791 6.78531 5.04819 6.4819C5.26786 6.17849 5.55216 5.95851 5.90109 5.82198L11.3625 3.77394C11.5749 3.69808 11.7873 3.66016 11.9997 3.66016C12.2121 3.66016 12.4245 3.69808 12.6369 3.77394L18.0983 5.82198C18.4472 5.95851 18.7318 6.17849 18.9521 6.4819C19.1718 6.78531 19.2816 7.12665 19.2816 7.50592V11.8068C19.2816 14.0369 18.6369 16.0734 17.3474 17.9163C16.0578 19.7599 14.4194 20.9926 12.4321 21.6146C12.3562 21.645 12.2121 21.6602 11.9997 21.6602Z",
463
- fill: "#505050"
464
- }
465
- )),
466
- refresh: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
467
- "path",
468
- {
469
- d: "M18.346 5.64739C17.4032 4.69617 16.2589 3.96885 14.9974 3.51916C13.7359 3.06947 12.3895 2.90888 11.0577 3.04926C6.92991 3.46541 3.53322 6.81712 3.07208 10.9449C2.45347 16.3998 6.67122 21 11.9912 21C13.6897 21 15.3533 20.5181 16.7888 19.6102C18.2242 18.7023 19.3726 17.4058 20.1005 15.8712C20.4604 15.1176 19.9206 14.2516 19.0883 14.2516C18.6721 14.2516 18.2785 14.4765 18.0985 14.8477C17.4455 16.2525 16.3286 17.3896 14.9357 18.0676C13.5428 18.7456 11.9588 18.9232 10.4503 18.5706C7.95342 18.0195 5.94015 15.9837 5.41152 13.4868C5.18931 12.4996 5.19188 11.475 5.41905 10.4889C5.64622 9.50282 6.09217 8.58042 6.72392 7.78992C7.35566 6.99943 8.15704 6.36107 9.06878 5.92207C9.98052 5.48307 10.9793 5.25466 11.9912 5.25374C13.8583 5.25374 15.5229 6.0298 16.7376 7.25576L15.0392 8.95411C14.3307 9.66269 14.8255 10.8774 15.8265 10.8774H19.8643C20.4829 10.8774 20.9891 10.3713 20.9891 9.75267V5.71488C20.9891 4.71386 19.7744 4.20773 19.0658 4.91632L18.346 5.64739Z",
470
- fill: "#595959"
471
- }
472
- )),
473
- scheduler: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
474
- "path",
475
- {
476
- d: "M19 4.58746H18V2.56927H16V4.58746H8V2.56927H6V4.58746H5C3.89 4.58746 3.01 5.49564 3.01 6.60564L3 20.7329C3 21.8429 3.89 22.7511 5 22.7511H19C20.1 22.7511 21 21.8429 21 20.7329V6.60564C21 5.49564 20.1 4.58746 19 4.58746ZM19 20.7329H5V10.642H19V20.7329ZM9 14.6784H7V12.6602H9V14.6784ZM13 14.6784H11V12.6602H13V14.6784ZM17 14.6784H15V12.6602H17V14.6784ZM9 18.7147H7V16.6965H9V18.7147ZM13 18.7147H11V16.6965H13V18.7147ZM17 18.7147H15V16.6965H17V18.7147Z",
477
- fill: "#505050"
478
- }
479
- )),
480
- add: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 26 27", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
481
- "path",
482
- {
483
- d: "M21.4869 14.7981H13.9193V22.3657H11.3967V14.7981H3.8291V12.2755H11.3967V4.70789H13.9193V12.2755H21.4869V14.7981Z",
484
- fill: "white"
485
- }
486
- )),
487
- bot: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
488
- "path",
489
- {
490
- d: "M5 21.6602C4.71667 21.6602 4.47917 21.5644 4.2875 21.3727C4.09583 21.181 4 20.9435 4 20.6602V16.6602C4 16.1102 4.19583 15.6394 4.5875 15.2477C4.97917 14.856 5.45 14.6602 6 14.6602H18C18.55 14.6602 19.0208 14.856 19.4125 15.2477C19.8042 15.6394 20 16.1102 20 16.6602V20.6602C20 20.9435 19.9042 21.181 19.7125 21.3727C19.5208 21.5644 19.2833 21.6602 19 21.6602H5ZM9 13.6602C7.61667 13.6602 6.4375 13.1727 5.4625 12.1977C4.4875 11.2227 4 10.0435 4 8.66019C4 7.27685 4.4875 6.09769 5.4625 5.12269C6.4375 4.14769 7.61667 3.66019 9 3.66019H15C16.3833 3.66019 17.5625 4.14769 18.5375 5.12269C19.5125 6.09769 20 7.27685 20 8.66019C20 10.0435 19.5125 11.2227 18.5375 12.1977C17.5625 13.1727 16.3833 13.6602 15 13.6602H9ZM9 9.66019C9.28333 9.66019 9.52083 9.56435 9.7125 9.37269C9.90417 9.18102 10 8.94352 10 8.66019C10 8.37685 9.90417 8.13935 9.7125 7.94769C9.52083 7.75602 9.28333 7.66019 9 7.66019C8.71667 7.66019 8.47917 7.75602 8.2875 7.94769C8.09583 8.13935 8 8.37685 8 8.66019C8 8.94352 8.09583 9.18102 8.2875 9.37269C8.47917 9.56435 8.71667 9.66019 9 9.66019ZM15 9.66019C15.2833 9.66019 15.5208 9.56435 15.7125 9.37269C15.9042 9.18102 16 8.94352 16 8.66019C16 8.37685 15.9042 8.13935 15.7125 7.94769C15.5208 7.75602 15.2833 7.66019 15 7.66019C14.7167 7.66019 14.4792 7.75602 14.2875 7.94769C14.0958 8.13935 14 8.37685 14 8.66019C14 8.94352 14.0958 9.18102 14.2875 9.37269C14.4792 9.56435 14.7167 9.66019 15 9.66019Z",
491
- fill: "#505050"
492
- }
493
- )),
494
- campaign: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
495
- "path",
496
- {
497
- d: "M20.0152 13.5174C19.6907 13.5174 19.419 13.4074 19.1999 13.1876C18.98 12.9685 18.8701 12.6967 18.8701 12.3723C18.8701 12.0479 18.98 11.7757 19.1999 11.5559C19.419 11.3368 19.6907 11.2272 20.0152 11.2272H22.3053C22.6298 11.2272 22.9015 11.3368 23.1206 11.5559C23.3405 11.7757 23.4504 12.0479 23.4504 12.3723C23.4504 12.6967 23.3405 12.9685 23.1206 13.1876C22.9015 13.4074 22.6298 13.5174 22.3053 13.5174H20.0152ZM19.3281 20.8459L17.496 19.4718C17.2288 19.2809 17.0761 19.0328 17.038 18.7275C16.9998 18.4221 17.0761 18.1359 17.267 17.8687C17.4578 17.6015 17.7059 17.4488 18.0113 17.4106C18.3166 17.3725 18.6029 17.4488 18.8701 17.6397L20.7022 19.0138C20.9694 19.2046 21.1221 19.4527 21.1602 19.7581C21.1984 20.0634 21.1221 20.3497 20.9312 20.6169C20.7404 20.884 20.4923 21.0367 20.1869 21.0749C19.8816 21.1131 19.5953 21.0367 19.3281 20.8459ZM18.8701 7.10493C18.6029 7.29578 18.3166 7.37212 18.0113 7.33395C17.7059 7.29578 17.4578 7.1431 17.267 6.87592C17.0761 6.60873 16.9998 6.32246 17.038 6.01711C17.0761 5.71176 17.2288 5.46366 17.496 5.27281L19.3281 3.89871C19.5953 3.70787 19.8816 3.63153 20.1869 3.6697C20.4923 3.70787 20.7404 3.86055 20.9312 4.12773C21.1221 4.39492 21.1984 4.68118 21.1602 4.98654C21.1221 5.29189 20.9694 5.53999 20.7022 5.73084L18.8701 7.10493ZM3.98406 21.6602V15.8075H2.83899C2.20919 15.8075 1.67024 15.5831 1.22213 15.1342C0.773264 14.6861 0.548828 14.1472 0.548828 13.5174V11.2272C0.548828 10.5974 0.773264 10.0581 1.22213 9.60922C1.67024 9.16111 2.20919 8.93706 2.83899 8.93706H7.4193L11.3984 6.5324C11.7801 6.30338 12.1668 6.30338 12.5584 6.5324C12.9493 6.76141 13.1447 7.09539 13.1447 7.53434V17.2103C13.1447 17.6492 12.9493 17.9832 12.5584 18.2122C12.1668 18.4412 11.7801 18.4412 11.3984 18.2122L7.4193 15.8075H6.27422V21.6602H3.98406ZM14.2898 16.2083V8.53628C14.8051 8.99431 15.2203 9.55273 15.5356 10.2115C15.8501 10.8696 16.0074 11.5898 16.0074 12.3723C16.0074 13.1548 15.8501 13.875 15.5356 14.5331C15.2203 15.1919 14.8051 15.7503 14.2898 16.2083Z",
498
- fill: "#505050"
499
- }
500
- )),
501
- "chatbot-white-border": /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 33 34", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
502
- "path",
503
- {
504
- d: "M20.7249 1.17695H21.1499V1.1766C27.1029 1.40539 31.8779 6.41961 31.8779 12.5765V22.1994C31.8779 28.3489 27.0016 33.3184 21.0054 33.3184H2.1677C1.21133 33.3184 0.425039 32.5301 0.425039 31.5332V12.296C0.425039 6.14663 5.3011 1.17695 11.306 1.17695H20.7249Z",
505
- fill: "#472D7A",
506
- stroke: "white",
507
- "stroke-width": "0.850077"
508
- }
509
- ), /* @__PURE__ */ React12.createElement(
510
- "path",
511
- {
512
- d: "M9.24976 13.3416C7.92364 13.3416 6.85254 14.4382 6.85254 15.7898C6.85254 17.1414 7.92364 18.238 9.24976 18.238C10.5759 18.238 11.647 17.1414 11.647 15.7898C11.647 14.4382 10.5759 13.3416 9.24976 13.3416Z",
513
- fill: "white"
514
- }
515
- ), /* @__PURE__ */ React12.createElement(
516
- "path",
517
- {
518
- d: "M23.2839 13.3416C21.9578 13.3416 20.8867 14.4382 20.8867 15.7898C20.8867 17.1414 21.9578 18.238 23.2839 18.238C24.6101 18.238 25.6812 17.1414 25.6812 15.7898C25.6812 14.4382 24.6101 13.3416 23.2839 13.3416Z",
519
- fill: "white"
520
- }
521
- ), /* @__PURE__ */ React12.createElement(
522
- "path",
523
- {
524
- d: "M19.5011 23.5C18.362 23.7125 17.1634 23.8316 15.9223 23.8316C14.6811 23.8316 13.4825 23.7125 12.3434 23.5C11.7399 23.3895 11.3743 24.2566 11.8844 24.6986C13.0405 25.7017 14.4261 26.2883 15.9223 26.2883C17.4184 26.2883 18.804 25.7017 19.9601 24.6986C20.4702 24.2566 20.1046 23.381 19.5011 23.5Z",
525
- fill: "white"
526
- }
527
- )),
528
- dashboard: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
529
- "path",
530
- {
531
- d: "M5.3457 21.6602C4.7957 21.6602 4.3247 21.4645 3.9327 21.0732C3.54137 20.6812 3.3457 20.2102 3.3457 19.6602V5.66016C3.3457 5.11016 3.54137 4.63916 3.9327 4.24716C4.3247 3.85582 4.7957 3.66016 5.3457 3.66016H9.3457C9.8957 3.66016 10.3667 3.85582 10.7587 4.24716C11.15 4.63916 11.3457 5.11016 11.3457 5.66016V19.6602C11.3457 20.2102 11.15 20.6812 10.7587 21.0732C10.3667 21.4645 9.8957 21.6602 9.3457 21.6602H5.3457ZM15.3457 10.6602C14.7957 10.6602 14.325 10.4642 13.9337 10.0722C13.5417 9.68082 13.3457 9.21016 13.3457 8.66016V5.66016C13.3457 5.11016 13.5417 4.63916 13.9337 4.24716C14.325 3.85582 14.7957 3.66016 15.3457 3.66016H19.3457C19.8957 3.66016 20.3667 3.85582 20.7587 4.24716C21.15 4.63916 21.3457 5.11016 21.3457 5.66016V8.66016C21.3457 9.21016 21.15 9.68082 20.7587 10.0722C20.3667 10.4642 19.8957 10.6602 19.3457 10.6602H15.3457ZM15.3457 21.6602C14.7957 21.6602 14.325 21.4645 13.9337 21.0732C13.5417 20.6812 13.3457 20.2102 13.3457 19.6602V14.6602C13.3457 14.1102 13.5417 13.6392 13.9337 13.2472C14.325 12.8558 14.7957 12.6602 15.3457 12.6602H19.3457C19.8957 12.6602 20.3667 12.8558 20.7587 13.2472C21.15 13.6392 21.3457 14.1102 21.3457 14.6602V19.6602C21.3457 20.2102 21.15 20.6812 20.7587 21.0732C20.3667 21.4645 19.8957 21.6602 19.3457 21.6602H15.3457Z",
532
- fill: "#505050"
533
- }
534
- )),
535
- discard: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 26 27", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
536
- "path",
537
- {
538
- d: "M7.75303 22.3289C7.21349 22.3289 6.75177 22.137 6.36787 21.7531C5.98332 21.3685 5.79105 20.9065 5.79105 20.3669V7.61405C5.5131 7.61405 5.27995 7.52021 5.0916 7.33251C4.90391 7.14416 4.81006 6.91101 4.81006 6.63306C4.81006 6.35512 4.90391 6.12197 5.0916 5.93362C5.27995 5.74592 5.5131 5.65207 5.79105 5.65207H9.71501C9.71501 5.37413 9.80919 5.14098 9.99754 4.95263C10.1852 4.76493 10.4181 4.67108 10.696 4.67108H14.62C14.8979 4.67108 15.1311 4.76493 15.3194 4.95263C15.5071 5.14098 15.601 5.37413 15.601 5.65207H19.5249C19.8029 5.65207 20.0357 5.74592 20.2234 5.93362C20.4117 6.12197 20.5059 6.35512 20.5059 6.63306C20.5059 6.91101 20.4117 7.14416 20.2234 7.33251C20.0357 7.52021 19.8029 7.61405 19.5249 7.61405V20.3669C19.5249 20.9065 19.333 21.3685 18.9491 21.7531C18.5645 22.137 18.1025 22.3289 17.5629 22.3289H7.75303ZM9.71501 17.424C9.71501 17.7019 9.80919 17.9347 9.99754 18.1224C10.1852 18.3108 10.4181 18.405 10.696 18.405C10.974 18.405 11.2071 18.3108 11.3955 18.1224C11.5831 17.9347 11.677 17.7019 11.677 17.424V10.557C11.677 10.2791 11.5831 10.0459 11.3955 9.85758C11.2071 9.66988 10.974 9.57604 10.696 9.57604C10.4181 9.57604 10.1852 9.66988 9.99754 9.85758C9.80919 10.0459 9.71501 10.2791 9.71501 10.557V17.424ZM13.639 17.424C13.639 17.7019 13.7332 17.9347 13.9215 18.1224C14.1092 18.3108 14.342 18.405 14.62 18.405C14.8979 18.405 15.1311 18.3108 15.3194 18.1224C15.5071 17.9347 15.601 17.7019 15.601 17.424V10.557C15.601 10.2791 15.5071 10.0459 15.3194 9.85758C15.1311 9.66988 14.8979 9.57604 14.62 9.57604C14.342 9.57604 14.1092 9.66988 13.9215 9.85758C13.7332 10.0459 13.639 10.2791 13.639 10.557V17.424Z",
539
- fill: "#A3A3A3"
540
- }
541
- )),
542
- "discard-red": /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 26 26", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement(
543
- "path",
544
- {
545
- d: "M7.75254 21.4868C7.213 21.4868 6.75128 21.2948 6.36738 20.9109C5.98284 20.5264 5.79056 20.0643 5.79056 19.5248V6.77189C5.51261 6.77189 5.27947 6.67804 5.09111 6.49035C4.90342 6.302 4.80957 6.06885 4.80957 5.7909C4.80957 5.51295 4.90342 5.2798 5.09111 5.09145C5.27947 4.90376 5.51261 4.80991 5.79056 4.80991H9.71453C9.71453 4.53196 9.8087 4.29881 9.99705 4.11046C10.1847 3.92277 10.4176 3.82892 10.6955 3.82892H14.6195C14.8974 3.82892 15.1306 3.92277 15.3189 4.11046C15.5066 4.29881 15.6005 4.53196 15.6005 4.80991H19.5244C19.8024 4.80991 20.0352 4.90376 20.2229 5.09145C20.4113 5.2798 20.5054 5.51295 20.5054 5.7909C20.5054 6.06885 20.4113 6.302 20.2229 6.49035C20.0352 6.67804 19.8024 6.77189 19.5244 6.77189V19.5248C19.5244 20.0643 19.3325 20.5264 18.9486 20.9109C18.564 21.2948 18.102 21.4868 17.5625 21.4868H7.75254ZM9.71453 16.5818C9.71453 16.8597 9.8087 17.0926 9.99705 17.2803C10.1847 17.4686 10.4176 17.5628 10.6955 17.5628C10.9735 17.5628 11.2066 17.4686 11.395 17.2803C11.5827 17.0926 11.6765 16.8597 11.6765 16.5818V9.71486C11.6765 9.43692 11.5827 9.20377 11.395 9.01542C11.2066 8.82772 10.9735 8.73387 10.6955 8.73387C10.4176 8.73387 10.1847 8.82772 9.99705 9.01542C9.8087 9.20377 9.71453 9.43692 9.71453 9.71486V16.5818ZM13.6385 16.5818C13.6385 16.8597 13.7327 17.0926 13.921 17.2803C14.1087 17.4686 14.3415 17.5628 14.6195 17.5628C14.8974 17.5628 15.1306 17.4686 15.3189 17.2803C15.5066 17.0926 15.6005 16.8597 15.6005 16.5818V9.71486C15.6005 9.43692 15.5066 9.20377 15.3189 9.01542C15.1306 8.82772 14.8974 8.73387 14.6195 8.73387C14.3415 8.73387 14.1087 8.82772 13.921 9.01542C13.7327 9.20377 13.6385 9.43692 13.6385 9.71486V16.5818Z",
546
- fill: "#D9363E"
547
- }
548
- )),
549
- profile: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement("path", { d: "M17 19.5C18.3411 19.5 19.5979 18.3735 19.2664 16.9062C19.1476 16.3806 18.9841 15.8647 18.7769 15.3645C18.2994 14.2119 17.5997 13.1646 16.7175 12.2825C15.8354 11.4003 14.7881 10.7006 13.6355 10.2231C12.4829 9.74572 11.2476 9.5 10 9.5C8.75244 9.5 7.5171 9.74572 6.36451 10.2231C5.21191 10.7006 4.16464 11.4003 3.28249 12.2825C2.40033 13.1646 1.70056 14.2119 1.22314 15.3645C1.01594 15.8647 0.852378 16.3806 0.733607 16.9062C0.402069 18.3735 1.65891 19.5 3 19.5L10 19.5H17Z", fill: "#505050", stroke: "white" }), /* @__PURE__ */ React12.createElement("circle", { cx: "10", cy: "6", r: "5.5", fill: "#505050", stroke: "white" })),
550
- call: /* @__PURE__ */ React12.createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0 2.57143C0 1.15127 1.15127 0 2.57143 0H3.74711C4.48457 0 5.1274 0.501906 5.30627 1.21735L6.25409 5.00865C6.41092 5.63597 6.17652 6.29618 5.65922 6.68416L4.5504 7.51577C4.43526 7.60213 4.41023 7.72858 4.44257 7.81687C5.41587 10.4738 7.52615 12.5841 10.1831 13.5574C10.2714 13.5898 10.3979 13.5647 10.4842 13.4496L11.3158 12.3408C11.7038 11.8235 12.364 11.5891 12.9913 11.7459L16.7826 12.6937C17.4981 12.8726 18 13.5154 18 14.2529V15.4286C18 16.8487 16.8487 18 15.4286 18H13.5C6.04416 18 0 11.9558 0 4.5V2.57143Z", fill: "#505050" }))
551
- };
552
-
553
- // src/Components/Button.tsx
554
- var ButtonElement = (props) => {
555
- const textColorClass = props.className?.match(/text-[\w-]+/g)?.[0] === "text-white";
556
- return /* @__PURE__ */ React13.createElement(
557
- "button",
558
- {
559
- onClick: props.onClick,
560
- className: props.className ? props.className : "",
561
- disabled: props.loading,
562
- style: {
563
- cursor: props.loading ? "no-drop" : "pointer"
564
- }
565
- },
566
- props.icon ? /* @__PURE__ */ React13.createElement("span", { className: props.iconsClassName }, props.isSVGStylesOverride === false ? /* @__PURE__ */ React13.createElement("img", { src: props.icon, className: props.iconsClassName }) : icons[props.icon], /* @__PURE__ */ React13.createElement("style", null, textColorClass && `.${props.className?.match(/text-[\w-]+/g)?.[0]} path, .${props.className?.match(/text-[\w-]+/g)?.[0]} circle {
567
- filter: brightness(0) invert(1);
568
- }`, `.${props.className?.match(/text-[\w-]+/g)?.[0]}:hover path, .${props.className?.match(/text-[\w-]+/g)?.[0]}:hover circle {
569
- filter: brightness(0) invert(1);
570
- }`)) : "",
571
- props.label
572
- );
573
- };
574
-
575
- // src/Components/AddMoreTable.tsx
576
- import React14, { useEffect, useState as useState4 } from "react";
577
- import { Table, Button } from "antd";
578
- import { PlusOutlined, DeleteOutlined } from "@ant-design/icons";
579
- var AddMoreTable = (props) => {
580
- const { thead, tbody } = props;
581
- const [rows, setRows] = useState4(tbody || []);
582
- const onHandleRows = () => {
583
- const newId = rows.length > 0 ? rows[rows.length - 1].id + 1 : 1;
584
- let newRow = {
585
- id: newId,
586
- label: "Medicine",
587
- name: "Medicine",
588
- type: "text",
589
- element: "single-select",
590
- variable_data: [
591
- {
592
- id: 1,
593
- Route: { label: "Route", element: "single-select", type: "text" },
594
- Dose: { label: "Dose", element: "single-select", type: "text" },
595
- Frequency: { label: "Frequency", element: "single-select", type: "text" },
596
- When: { label: "When", element: "textarea", type: "text" },
597
- Duration: { label: "Duration", element: "textarea", type: "text" },
598
- Instructions: { label: "Instructions", element: "textarea", type: "text" },
599
- SubRows: { delete: "delete", add: "plus" }
600
- }
601
- ]
602
- };
603
- setRows((prevData) => [...prevData, newRow]);
604
- };
605
- const onHandleDelete = (id) => {
606
- setRows((prevRows) => prevRows.filter((row) => row.id !== id));
607
- };
608
- const onHandleSubRowsAdd = (rowIndex) => {
609
- setRows((prevRows) => {
610
- return prevRows.map((row, index) => {
611
- if (index === rowIndex) {
612
- const newSubRow = {
613
- id: row.variable_data.length + 1,
614
- Route: { label: "Route", element: "single-select", type: "text" },
615
- Dose: { label: "Dose", element: "single-select", type: "text" },
616
- Frequency: { label: "Frequency", element: "single-select", type: "text" },
617
- When: { label: "When", element: "textarea", type: "text" },
618
- Duration: { label: "Duration", element: "textarea", type: "text" },
619
- Instructions: { label: "Instructions", element: "textarea", type: "text" },
620
- SubRows: { delete: "delete", add: "plus" }
621
- };
622
- const updatedVariableData = [...row.variable_data, newSubRow];
623
- return {
624
- ...row,
625
- variable_data: updatedVariableData
626
- };
627
- }
628
- return row;
629
- });
630
- });
631
- };
632
- const onHandleSubRowsDelete = (rowIndex, subIndex) => {
633
- setRows((prevRows) => {
634
- return prevRows.map((row, index) => {
635
- if (index === rowIndex) {
636
- const updatedVariableData = row.variable_data.filter((_, i) => i !== subIndex);
637
- return {
638
- ...row,
639
- variable_data: updatedVariableData
640
- };
641
- }
642
- return row;
643
- });
644
- });
645
- };
646
- useEffect(() => {
647
- }, [rows]);
648
- const renderInputElement = (element, value) => {
649
- if (!element) return null;
650
- const { element: type, label } = element;
651
- if (type === "single-select") {
652
- return /* @__PURE__ */ React14.createElement(SingleSelectElement, { onChange: (value2) => console.log(label, value2), optionType: "", className: void 0, selectedStyle: false, options1: [], options2: [], firstOptions: [], secondOptions: [] });
653
- } else if (type === "textarea") {
654
- return /* @__PURE__ */ React14.createElement(TextareaElement, { onChange: (value2) => console.log(label, value2), optionType: "", className: void 0, selectedStyle: false, options1: [], options2: [], firstOptions: [], secondOptions: [] });
655
- } else {
656
- return null;
657
- }
658
- };
659
- const dataSource = rows.map((eachRow, rowIndex) => {
660
- const rowData = {
661
- key: eachRow.id,
662
- "#": rowIndex + 1,
663
- "Medicine": renderInputElement({
664
- element: eachRow.element,
665
- label: eachRow.label
666
- })
667
- };
668
- eachRow.variable_data.forEach((variable, subIndex) => {
669
- Object.keys(variable).forEach((key) => {
670
- if (key === "SubRows") {
671
- rowData[`${key}`] = /* @__PURE__ */ React14.createElement("div", { key: subIndex }, eachRow.variable_data.length > 1 && /* @__PURE__ */ React14.createElement(Button, { onClick: () => onHandleSubRowsDelete(rowIndex, subIndex) }, /* @__PURE__ */ React14.createElement(DeleteOutlined, null)), subIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ React14.createElement(Button, { onClick: () => onHandleSubRowsAdd(rowIndex) }, /* @__PURE__ */ React14.createElement(PlusOutlined, null)));
672
- } else {
673
- rowData[`${key}`] = renderInputElement(variable[key]);
674
- }
675
- });
676
- });
677
- rowData.actions = /* @__PURE__ */ React14.createElement("div", null, /* @__PURE__ */ React14.createElement(Button, { onClick: () => onHandleDelete(eachRow.id) }, /* @__PURE__ */ React14.createElement(DeleteOutlined, null)), rowIndex === rows.length - 1 && /* @__PURE__ */ React14.createElement(Button, { onClick: onHandleRows }, /* @__PURE__ */ React14.createElement(PlusOutlined, null)));
678
- console.log("=====rowdata", rowData);
679
- return rowData;
680
- });
681
- const columns = thead && thead.length > 0 ? thead.map((eachHeadEl) => ({
682
- title: eachHeadEl.label,
683
- dataIndex: eachHeadEl.name,
684
- key: eachHeadEl.id
685
- })) : [];
686
- if (!columns.some((col) => col.dataIndex === "actions")) {
687
- columns.push({
688
- title: "Actions",
689
- dataIndex: "actions",
690
- key: "actions"
691
- });
692
- }
693
- return /* @__PURE__ */ React14.createElement(
694
- Table,
695
- {
696
- columns,
697
- dataSource,
698
- pagination: false,
699
- bordered: true
700
- }
701
- );
702
- };
703
-
704
- // src/Components/Sidebar.tsx
705
- import React15 from "react";
706
- var Sidebar = (props) => {
707
- const handleChange = (item) => {
708
- if (props.onChange) {
709
- props.onChange(item);
710
- }
711
- };
712
- return /* @__PURE__ */ React15.createElement(React15.Fragment, { key: props.name }, /* @__PURE__ */ React15.createElement("div", { className: props.imgClassName }, /* @__PURE__ */ React15.createElement("img", { src: props.img, alt: "logo" })), /* @__PURE__ */ React15.createElement("div", { className: props.listClassName }, props.items?.map((item) => {
713
- return /* @__PURE__ */ React15.createElement(React15.Fragment, { key: item.label }, /* @__PURE__ */ React15.createElement(
714
- ButtonElement,
715
- {
716
- ...item,
717
- className: item.active ? props.activeClassName : props.className,
718
- iconsClassName: props.iconsClassName,
719
- onClick: () => {
720
- handleChange(item);
721
- }
722
- }
723
- ));
724
- })));
725
- };
726
-
727
- // src/Components/Navbar.tsx
728
- import React19 from "react";
729
-
730
- // src/Components/Notification.tsx
731
- import React16 from "react";
732
- import { Popover, Badge, Button as Button2, Avatar, List } from "antd";
733
- import { IoIosNotifications } from "react-icons/io";
734
- var popoverContentStyle = {
735
- minWidth: "300px",
736
- maxWidth: "100%"
737
- };
738
- var Notification = (props) => /* @__PURE__ */ React16.createElement(
739
- Popover,
740
- {
741
- className: props.className,
742
- content: /* @__PURE__ */ React16.createElement("div", { style: popoverContentStyle }, " ", /* @__PURE__ */ React16.createElement(
743
- List,
744
- {
745
- itemLayout: "horizontal",
746
- dataSource: props.items,
747
- renderItem: (item, index) => /* @__PURE__ */ React16.createElement(List.Item, { key: item.text }, /* @__PURE__ */ React16.createElement(
748
- List.Item.Meta,
749
- {
750
- avatar: /* @__PURE__ */ React16.createElement(Avatar, { src: `https://api.dicebear.com/7.x/miniavs/svg?seed=${index}` }),
751
- title: item.text,
752
- description: item.time
753
- }
754
- ))
755
- }
756
- )),
757
- trigger: "focus",
758
- placement: "bottomRight"
759
- },
760
- /* @__PURE__ */ React16.createElement(Button2, { className: props.buttonClassName }, /* @__PURE__ */ React16.createElement(Badge, { size: "small", count: props.count }, /* @__PURE__ */ React16.createElement("span", { className: props.iconsClassName }, /* @__PURE__ */ React16.createElement(IoIosNotifications, null))))
761
- );
762
-
763
- // src/Components/SpanElement.tsx
764
- import React17 from "react";
765
- var SpanElement = (props) => /* @__PURE__ */ React17.createElement("span", { className: props.className }, props.label);
766
-
767
- // src/Components/Profile.tsx
768
- import React18 from "react";
769
- import { Avatar as Avatar2 } from "antd";
770
- import { UserOutlined } from "@ant-design/icons";
771
- var Profile = (props) => /* @__PURE__ */ React18.createElement("div", { className: props.className }, /* @__PURE__ */ React18.createElement(Avatar2, { style: { backgroundColor: "#87d068", marginRight: "10px" }, icon: /* @__PURE__ */ React18.createElement(UserOutlined, null) }), /* @__PURE__ */ React18.createElement("div", { className: props.profileSubClassName }, /* @__PURE__ */ React18.createElement("p", null, props.primaryText), /* @__PURE__ */ React18.createElement("p", { className: props.secondTextClassName }, " ", props.secondaryText)));
772
-
773
- // src/Components/Navbar.tsx
774
- var Navbar = (props) => {
775
- return /* @__PURE__ */ React19.createElement("div", { className: `${props.className}` }, props.items && props.items.map((item) => {
776
- if (item.element === "span") {
777
- return /* @__PURE__ */ React19.createElement(SpanElement, { key: item.name, ...item });
778
- } else if (item.element === "notifications") {
779
- return /* @__PURE__ */ React19.createElement(Notification, { key: item.name, ...item });
780
- } else if (item.name === "profile") {
781
- return /* @__PURE__ */ React19.createElement(Profile, { key: item.name, ...item });
782
- }
783
- return null;
784
- }));
785
- };
786
-
787
- // src/Components/TableElement.tsx
788
- import React20, { useState as useState5, useEffect as useEffect2 } from "react";
789
- import { Table as Table2 } from "antd";
790
- var TableElement = (props) => {
791
- const { thead, tbody } = props;
792
- const [dataSource, setDataSource] = useState5([]);
793
- useEffect2(() => {
794
- if (tbody) {
795
- setDataSource(
796
- tbody.map((row, index) => ({
797
- ...row,
798
- key: index,
799
- index: index + 1
800
- }))
801
- );
802
- }
803
- }, [tbody]);
804
- let columns = [];
805
- if (thead) {
806
- columns = [
807
- {
808
- title: "#",
809
- dataIndex: "index",
810
- key: "index",
811
- fixed: "left"
812
- },
813
- ...thead.map((col) => ({
814
- title: col.label,
815
- dataIndex: col.name,
816
- key: col.key,
817
- ellipsis: col.ellipsis,
818
- render: col.render,
819
- sorter: {
820
- compare: (a, b) => {
821
- const aValue = a[col.key];
822
- const bValue = b[col.key];
823
- if (typeof aValue === "number" && typeof bValue === "number") {
824
- return aValue - bValue;
825
- } else if (typeof aValue === "string" && typeof bValue === "string") {
826
- return aValue.localeCompare(bValue);
827
- } else {
828
- return 0;
829
- }
830
- }
831
- }
832
- }))
833
- ];
834
- }
835
- const onChangePage = (page, pageSize) => {
836
- if (props.onChange) {
837
- props.onChange({ name: "pagination", page, pageSize });
838
- }
839
- };
840
- const rowSelectionConfig = props.rowSelection ? {
841
- onChange: (selectedRows) => {
842
- if (props.onChange) {
843
- props.onChange(selectedRows);
844
- }
845
- }
846
- } : void 0;
847
- return /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement(
848
- Table2,
849
- {
850
- loading: props.loading,
851
- className: props.className,
852
- pagination: props.pagination ? {
853
- current: props.value?.page,
854
- showTotal: (total) => `Total: ${total} items`,
855
- total: props.count,
856
- showSizeChanger: props.count ? props.count > 10 : 0 > 10,
857
- onChange: onChangePage
858
- } : false,
859
- rowSelection: rowSelectionConfig,
860
- dataSource,
861
- columns,
862
- size: props.size,
863
- bordered: true
864
- }
865
- ));
866
- };
867
-
868
- // src/Components/DatePicker.tsx
869
- import React21, { useState as useState6 } from "react";
870
- import { DatePicker } from "antd";
871
- import dayjs from "dayjs";
872
- import customParseFormat from "dayjs/plugin/customParseFormat.js";
873
- dayjs.extend(customParseFormat);
874
- var DatePickerElement = (props) => {
875
- const [dateState, setDateState] = useState6(props.value);
876
- const handleChange = (date, dateString) => {
877
- if (date) {
878
- setDateState(date);
879
- if (props.onChange) {
880
- props.onChange(dateString);
881
- }
882
- } else {
883
- setDateState("");
884
- if (props.onChange) {
885
- props.onChange("");
886
- }
887
- }
888
- };
889
- const disabledDate = (current) => {
890
- if (props.enabled_dates === "from_today") {
891
- return current && current < dayjs().startOf("day");
892
- }
893
- return current && current > dayjs().endOf("day");
894
- };
895
- return /* @__PURE__ */ React21.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React21.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label, " ", props.required ? /* @__PURE__ */ React21.createElement("span", { style: { color: "red" } }, "*") : ""), /* @__PURE__ */ React21.createElement(
896
- DatePicker,
897
- {
898
- disabledDate,
899
- className: props.className,
900
- placeholder: props.placeholder,
901
- value: dateState,
902
- format: "DD-MM-YYYY",
903
- onChange: handleChange,
904
- picker: props.picker
905
- }
906
- ));
907
- };
908
-
909
- // src/Components/DateRangePickerElement.tsx
910
- import React22 from "react";
911
- import { DatePicker as DatePicker2, Space } from "antd";
912
- import dayjs2 from "dayjs";
913
- var DateRangePickerElement = (props) => {
914
- const { value } = props;
915
- const { RangePicker } = DatePicker2;
916
- const dateValues = value ? value.map((date) => dayjs2(date, "DD-MM-YYYY")) : null;
917
- const today = dayjs2();
918
- const handleChange = (dates) => {
919
- if (dates) {
920
- let end;
921
- const [start, initialEnd] = dates;
922
- end = initialEnd;
923
- if (start && start.isBefore(today) && end && end.isAfter(today)) {
924
- end = today;
925
- }
926
- const adjustedDates = [start, end].map(
927
- (date) => date ? date.format("DD-MM-YYYY") : null
928
- );
929
- props.onChange && props.onChange(adjustedDates);
930
- } else {
931
- props.onChange && props.onChange("");
932
- }
933
- };
934
- const rangePresets = [
935
- { label: "Last 7 Days", value: [dayjs2().subtract(6, "d"), today] },
936
- { label: "Last 14 Days", value: [dayjs2().subtract(13, "d"), today] },
937
- { label: "Last 30 Days", value: [dayjs2().subtract(29, "d"), today] },
938
- { label: "Last 90 Days", value: [dayjs2().subtract(89, "d"), today] }
939
- ];
940
- const disabledDate = (current) => {
941
- if (props.weekrange) {
942
- return current && current < today.subtract(7, "d") || current > today;
943
- }
944
- return current && current > today;
945
- };
946
- return /* @__PURE__ */ React22.createElement(Space, { direction: "vertical", size: 12 }, /* @__PURE__ */ React22.createElement(
947
- RangePicker,
948
- {
949
- disabledDate,
950
- ...!props.weekrange && { presets: rangePresets },
951
- format: "DD-MM-YYYY",
952
- onChange: handleChange,
953
- value: dateValues
954
- }
955
- ));
956
- };
957
-
958
- // src/Components/Image.tsx
959
- import React23 from "react";
960
- var Image = (props) => {
961
- return /* @__PURE__ */ React23.createElement("img", { className: props.className, src: props.img, alt: "image" });
962
- };
963
-
964
- // src/Components/SingleCheckbox.tsx
965
- import React24 from "react";
966
- import { Checkbox as Checkbox2 } from "antd";
967
- var SingleCheckbox = (props) => {
968
- const handleChange = (e) => {
969
- if (props.onChange) {
970
- props.onChange(e.target.checked);
971
- }
972
- };
973
- return /* @__PURE__ */ React24.createElement(Checkbox2, { onChange: (e) => handleChange(e), className: props.className }, props.label);
974
- };
975
-
976
- // src/Components/DropDownGroup.tsx
977
- import React25, { useState as useState7 } from "react";
978
- import { Select as Select4 } from "antd";
979
- var DropDownGroup = (props) => {
980
- const [selectedValue, setSelectedValue] = useState7({
981
- firstValue: props.value.firstValue,
982
- secondValue: props.value.secondValue
983
- });
984
- const handleFirstChange = (value) => {
985
- const filterOption2 = props.firstOptions?.find(
986
- (eachOption) => eachOption.value === value
987
- );
988
- setSelectedValue((prev) => {
989
- const newValue = { ...prev, firstValue: filterOption2 };
990
- const { ...rest } = newValue;
991
- if (newValue.firstValue) {
992
- props.onChange?.(rest);
993
- }
994
- return newValue;
995
- });
996
- };
997
- const handleSecondChange = (value) => {
998
- const filterOption2 = props.secondOptions?.find(
999
- (eachOption) => eachOption.value === value
1000
- );
1001
- setSelectedValue((prev) => {
1002
- const newValue = { ...prev, secondValue: filterOption2 };
1003
- const { ...rest } = newValue;
1004
- if (newValue.secondValue) {
1005
- props.onChange?.(rest);
1006
- }
1007
- return newValue;
1008
- });
1009
- };
1010
- const firstFilterOptions = (input, option) => {
1011
- return (option?.label ?? "").toLowerCase().includes(input.toLowerCase());
1012
- };
1013
- const secondFilterOptions = (input, option) => {
1014
- return (option?.label ?? "").toLowerCase().includes(input.toLowerCase());
1015
- };
1016
- return /* @__PURE__ */ React25.createElement("div", null, props.label && /* @__PURE__ */ React25.createElement("p", { className: props.labelClassName }, props.label, " ", props.required ? /* @__PURE__ */ React25.createElement("span", { style: { color: "red" } }, "*") : ""), /* @__PURE__ */ React25.createElement("div", { className: props.subContainerClassName }, /* @__PURE__ */ React25.createElement(
1017
- Select4,
1018
- {
1019
- onChange: handleFirstChange,
1020
- variant: props.variant,
1021
- options: props.firstOptions,
1022
- className: props.className,
1023
- filterOption: firstFilterOptions,
1024
- placeholder: props.firstPlaceholder,
1025
- value: selectedValue.firstValue,
1026
- showSearch: true
1027
- }
1028
- ), /* @__PURE__ */ React25.createElement("div", { style: { borderLeft: "1px solid gray" } }), /* @__PURE__ */ React25.createElement(
1029
- Select4,
1030
- {
1031
- onChange: handleSecondChange,
1032
- variant: props.variant,
1033
- options: props.secondOptions,
1034
- className: props.className,
1035
- filterOption: secondFilterOptions,
1036
- placeholder: props.secondPlaceholder,
1037
- value: selectedValue.secondValue,
1038
- showSearch: true
1039
- }
1040
- )));
1041
- };
1042
-
1043
- // src/Components/FilesUpload.tsx
1044
- import { Upload } from "antd";
1045
- import { InboxOutlined } from "@ant-design/icons";
1046
- import React26, { useState as useState8 } from "react";
1047
- var FileUpload = (props) => {
1048
- const { Dragger } = Upload;
1049
- const initialFiles = Array.isArray(props.value) ? props.value : [];
1050
- const [files, setFiles] = useState8(initialFiles);
1051
- function getBase64(file, callback) {
1052
- const reader = new FileReader();
1053
- reader.addEventListener("load", () => callback(reader.result));
1054
- reader.readAsDataURL(file);
1055
- }
1056
- const beforeUpload = (file) => {
1057
- getBase64(file, (imageUrl) => {
1058
- const newFile = {
1059
- uid: file.uid,
1060
- name: file.name,
1061
- status: "done",
1062
- url: imageUrl,
1063
- thumbUrl: imageUrl,
1064
- originalFile: file
1065
- };
1066
- setFiles((prevFileList) => [...prevFileList, newFile]);
1067
- if (props.onChange) {
1068
- props.onChange({
1069
- files: [...files, newFile]
1070
- });
1071
- }
1072
- });
1073
- return false;
1074
- };
1075
- const handleRemove = (file) => {
1076
- const updatedFiles = files.filter((f) => f.uid !== file.uid);
1077
- setFiles(updatedFiles);
1078
- if (props.onChange) {
1079
- props.onChange({
1080
- files: updatedFiles
1081
- });
1082
- }
1083
- };
1084
- const customRequest = (options) => {
1085
- const { onSuccess } = options;
1086
- setTimeout(() => {
1087
- if (onSuccess) {
1088
- onSuccess("ok");
1089
- }
1090
- }, 0);
1091
- };
1092
- return /* @__PURE__ */ React26.createElement("div", null, /* @__PURE__ */ React26.createElement(
1093
- Dragger,
1094
- {
1095
- action: "",
1096
- accept: props.accept,
1097
- listType: "picture",
1098
- maxCount: props.max_count,
1099
- multiple: props.multiple,
1100
- fileList: files,
1101
- beforeUpload,
1102
- onRemove: handleRemove,
1103
- showUploadList: true,
1104
- customRequest
1105
- },
1106
- /* @__PURE__ */ React26.createElement("p", null, /* @__PURE__ */ React26.createElement(InboxOutlined, null)),
1107
- /* @__PURE__ */ React26.createElement("p", null, "Click or drag file to upload")
1108
- ));
1109
- };
1110
-
1111
- // src/Components/TabsElement.tsx
1112
- import React27 from "react";
1113
- import { Tabs } from "antd";
1114
- var TabsElement = (props) => {
1115
- const handleChange = (key) => {
1116
- if (props.onChange) {
1117
- props.onChange(props.options?.find((eachOption) => eachOption.key === key));
1118
- }
1119
- };
1120
- return /* @__PURE__ */ React27.createElement(Tabs, { defaultActiveKey: props.value, className: props.containerClassName, items: props.options, onChange: handleChange });
1121
- };
1122
-
1123
- // src/Components/SwitchElement.tsx
1124
- import React28 from "react";
1125
- import { Switch } from "antd";
1126
- var SwitchElement = (props) => {
1127
- const onChange = (checked) => {
1128
- props.onChange && props.onChange(checked);
1129
- };
1130
- return /* @__PURE__ */ React28.createElement(Switch, { value: props.value, checkedChildren: props.checkedChildren, unCheckedChildren: props.unCheckedChildren, onChange });
1131
- };
1132
-
1133
- // src/Components/Upload.tsx
1134
- import React29, { useState as useState9 } from "react";
1135
- var Upload2 = (props) => {
1136
- const [file, setFile] = useState9();
1137
- const handleFileChange = (e) => {
1138
- setFile(e.target.files[0]);
1139
- if (props.onChange) {
1140
- console.log(e.target.files[0]);
1141
- props.onChange(e.target.files[0]);
1142
- }
1143
- };
1144
- const handleUpload = async () => {
1145
- if (!file) {
1146
- return;
1147
- }
1148
- };
1149
- return /* @__PURE__ */ React29.createElement("div", { style: { marginTop: 16 } }, /* @__PURE__ */ React29.createElement("input", { type: "file", onChange: handleFileChange }), /* @__PURE__ */ React29.createElement(
1150
- "button",
1151
- {
1152
- type: "button",
1153
- onClick: handleUpload,
1154
- disabled: !file,
1155
- style: { marginTop: 16 }
1156
- },
1157
- "Upload"
1158
- ));
1159
- };
1160
-
1161
- // src/Components/OtpElement.tsx
1162
- import React30, { useState as useState10, useRef as useRef2, useEffect as useEffect3 } from "react";
1163
- import { Input as Input3 } from "antd";
1164
- var OtpElement = (props) => {
1165
- const length = props.length;
1166
- const [otp, setOtp] = useState10(Array(length).fill(""));
1167
- const inputRefs = useRef2([]);
1168
- const handleChange = (e, index) => {
1169
- const value = e.target.value;
1170
- if (/^[0-9]$/.test(value) || value === "") {
1171
- const newOtp = [...otp];
1172
- newOtp[index] = value;
1173
- setOtp(newOtp);
1174
- props.onChange && props.onChange(newOtp.join(""));
1175
- if (value && index < length - 1) {
1176
- inputRefs.current[index + 1]?.focus();
1177
- }
1178
- }
1179
- };
1180
- const handleKeyDown = (e, index) => {
1181
- if (e.key === "Backspace" && !otp[index] && index > 0) {
1182
- inputRefs.current[index - 1]?.focus();
1183
- }
1184
- };
1185
- const handlePaste = (e) => {
1186
- e.preventDefault();
1187
- const pasteData = e.clipboardData.getData("text");
1188
- if (/^\d+$/.test(pasteData)) {
1189
- const newOtp = pasteData.split("").slice(0, length);
1190
- setOtp(newOtp.concat(Array(length - newOtp.length).fill("")));
1191
- props.onChange && props.onChange(newOtp.join(""));
1192
- newOtp.forEach((_, idx) => {
1193
- if (inputRefs.current[idx]) {
1194
- inputRefs.current[idx]?.focus();
1195
- }
1196
- });
1197
- }
1198
- };
1199
- useEffect3(() => {
1200
- inputRefs.current[0]?.focus();
1201
- }, []);
1202
- return /* @__PURE__ */ React30.createElement("div", { className: props.containerClassName }, Array.from({ length }).map((_, index) => /* @__PURE__ */ React30.createElement(
1203
- Input3,
1204
- {
1205
- key: index,
1206
- className: props.className,
1207
- maxLength: 1,
1208
- value: otp[index],
1209
- onChange: (e) => handleChange(e, index),
1210
- onKeyDown: (e) => handleKeyDown(e, index),
1211
- onPaste: handlePaste,
1212
- ref: (el) => inputRefs.current[index] = el
1213
- }
1214
- )));
1215
- };
1216
-
1217
- // src/Components/CircleDonut.tsx
1218
- import React31 from "react";
1219
- import { Doughnut } from "react-chartjs-2";
1220
- import {
1221
- Chart as ChartJS,
1222
- DoughnutController,
1223
- ArcElement,
1224
- Tooltip,
1225
- Legend
1226
- } from "chart.js";
1227
- ChartJS.register(DoughnutController, ArcElement, Tooltip, Legend);
1228
- var CircleDonut = (props) => {
1229
- const data = {
1230
- labels: props.labels,
1231
- datasets: [
1232
- {
1233
- label: "Bot Conversation",
1234
- data: props.data,
1235
- backgroundColor: [
1236
- "#FFCB8A",
1237
- "#CADBBF",
1238
- "#8AC1BB",
1239
- "#FCB0CB",
1240
- "#CEB0FA"
1241
- ],
1242
- borderWidth: 0
1243
- }
1244
- ]
1245
- };
1246
- const options = {
1247
- responsive: true,
1248
- cutout: "80%",
1249
- plugins: {
1250
- legend: {
1251
- position: "left",
1252
- labels: {
1253
- font: {
1254
- size: 10
1255
- },
1256
- boxWidth: 15,
1257
- generateLabels: (chart) => {
1258
- const dataset = chart.data.datasets[0];
1259
- return chart.data.labels.map((label, index) => {
1260
- const value = dataset.data[index];
1261
- return {
1262
- text: `${label}: ${value}`,
1263
- fillStyle: dataset.backgroundColor[index]
1264
- };
1265
- });
1266
- }
1267
- }
1268
- },
1269
- tooltip: {
1270
- enabled: true,
1271
- callbacks: {
1272
- label: function(context) {
1273
- const label = context.label || "";
1274
- const value = context.raw || 0;
1275
- return `${label}: ${value}`;
1276
- }
1277
- }
1278
- }
1279
- }
1280
- };
1281
- const centerTextPlugin = {
1282
- id: "centerText",
1283
- beforeDraw: (chart) => {
1284
- const { ctx, chartArea: { left, right, top, bottom } } = chart;
1285
- const width = right - left;
1286
- const height = bottom - top;
1287
- const centerX = left + width / 2;
1288
- const centerY = top + height / 2;
1289
- ctx.save();
1290
- ctx.font = "7px Arial";
1291
- ctx.fillStyle = "blue";
1292
- ctx.textAlign = "center";
1293
- ctx.textBaseline = "middle";
1294
- ctx.fillText("Total Sessions", centerX, centerY - 10);
1295
- ctx.font = "25px Arial";
1296
- ctx.fillStyle = "black";
1297
- ctx.fillText("85", centerX, centerY + 20);
1298
- ctx.restore();
1299
- }
1300
- };
1301
- return /* @__PURE__ */ React31.createElement("div", { className: props.className }, /* @__PURE__ */ React31.createElement("h1", { className: props.labelClassName }, props.label), /* @__PURE__ */ React31.createElement(Doughnut, { data, options, plugins: [centerTextPlugin] }));
1302
- };
1303
-
1304
- // src/Components/SemiCircleDonut.tsx
1305
- import React32 from "react";
1306
- import { Doughnut as Doughnut2 } from "react-chartjs-2";
1307
- import {
1308
- Chart as ChartJS2,
1309
- DoughnutController as DoughnutController2,
1310
- ArcElement as ArcElement2,
1311
- Tooltip as Tooltip2,
1312
- Legend as Legend2
1313
- } from "chart.js";
1314
- ChartJS2.register(DoughnutController2, ArcElement2, Tooltip2, Legend2);
1315
- var SemiCircleDonut = (props) => {
1316
- const data = {
1317
- labels: [
1318
- "Registration",
1319
- "Book Appointment",
1320
- "Diagnostic Tests",
1321
- "Hospital Facility",
1322
- "Others, Prescriptions"
1323
- ],
1324
- datasets: [
1325
- {
1326
- label: "Bot Conversation",
1327
- data: [30, 10, 27, 40, 12],
1328
- backgroundColor: [
1329
- "#FFCB8A",
1330
- "#CADBBF",
1331
- "#8AC1BB",
1332
- "#FCB0CB",
1333
- "#CEB0FA"
1334
- ],
1335
- borderWidth: 0
1336
- }
1337
- ]
1338
- };
1339
- const options = {
1340
- responsive: true,
1341
- circumference: 180,
1342
- rotation: -90,
1343
- cutout: "80%",
1344
- plugins: {
1345
- legend: {
1346
- display: false
1347
- // Disable the legend
1348
- },
1349
- tooltip: {
1350
- enabled: true,
1351
- callbacks: {
1352
- label: function(context) {
1353
- const label = context.label || "";
1354
- const value = context.raw || 0;
1355
- return `${label}: ${value}`;
1356
- }
1357
- }
1358
- }
1359
- }
1360
- };
1361
- const centerTextPlugin = {
1362
- id: "centerText",
1363
- beforeDraw: (chart) => {
1364
- const { ctx, chartArea: { left, right, top, bottom } } = chart;
1365
- const width = right - left;
1366
- const height = bottom - top;
1367
- const centerX = left + width / 2;
1368
- const centerY = top + height / 1.5;
1369
- const maxWidth = width * 0.8;
1370
- ctx.save();
1371
- ctx.fillStyle = "black";
1372
- ctx.textAlign = "center";
1373
- ctx.textBaseline = "middle";
1374
- const drawText = (text, y, fontSize) => {
1375
- ctx.font = `${fontSize}px Arial`;
1376
- const textWidth = ctx.measureText(text).width;
1377
- if (textWidth > maxWidth) {
1378
- const newFontSize = fontSize * maxWidth / textWidth;
1379
- ctx.font = `${newFontSize}px Arial`;
1380
- }
1381
- ctx.fillText(text, centerX, y);
1382
- };
1383
- drawText(props.fillText1, centerY - 10, 16);
1384
- drawText(props.fillText2, centerY + 20, 8);
1385
- ctx.restore();
1386
- }
1387
- };
1388
- return /* @__PURE__ */ React32.createElement("div", { className: props.className }, /* @__PURE__ */ React32.createElement("h1", { className: props.labelClassName }, props.label), /* @__PURE__ */ React32.createElement(Doughnut2, { data, options, plugins: [centerTextPlugin] }));
1389
- };
1390
-
1391
- // src/Components/HorizontalBarChart.tsx
1392
- import React33 from "react";
1393
- import { Bar } from "react-chartjs-2";
1394
- import {
1395
- Chart as ChartJS3,
1396
- BarElement,
1397
- CategoryScale,
1398
- LinearScale,
1399
- Tooltip as Tooltip3
1400
- } from "chart.js";
1401
- ChartJS3.register(BarElement, CategoryScale, LinearScale, Tooltip3);
1402
- var HorizontalBarChart = (props) => {
1403
- const data = {
1404
- labels: ["18-24", "25-34", "35-44", "45-54", "55-64", "65+"],
1405
- datasets: [
1406
- {
1407
- data: [30, 10, 27, 40, 12, 24],
1408
- backgroundColor: "#6298D5",
1409
- barThickness: 15
1410
- }
1411
- ]
1412
- };
1413
- const options = {
1414
- responsive: true,
1415
- indexAxis: "y",
1416
- scales: {
1417
- x: {
1418
- beginAtZero: true,
1419
- ticks: {
1420
- callback: function(value) {
1421
- return `${value}%`;
1422
- }
1423
- }
1424
- },
1425
- y: {
1426
- grid: {
1427
- display: false
1428
- }
1429
- }
1430
- },
1431
- plugins: {
1432
- tooltip: {
1433
- enabled: true,
1434
- callbacks: {
1435
- label: function(context) {
1436
- const label = context.label || "";
1437
- const value = context.raw || 0;
1438
- return `${label}: ${value}`;
1439
- }
1440
- }
1441
- },
1442
- legend: {
1443
- display: false
1444
- }
1445
- }
1446
- };
1447
- return /* @__PURE__ */ React33.createElement("div", { className: props.className }, /* @__PURE__ */ React33.createElement("h1", { className: props.labelClassName }, props.label), /* @__PURE__ */ React33.createElement(Bar, { data, options }));
1448
- };
1449
-
1450
- // src/Components/LineChart.tsx
1451
- import React34, { useEffect as useEffect4, useRef as useRef3 } from "react";
1452
- import Chart from "chart.js/auto";
1453
- var LineChart = (props) => {
1454
- const chartRef = useRef3(null);
1455
- const chartInstance = useRef3(null);
1456
- const data = [
1457
- { label: "ROI", data: [10, 13, 20, 15, 10] },
1458
- { label: "Engagement Rate", data: [20, 23, 30, 28, 20] },
1459
- { label: "Conversion Rate", data: [50, 100, 150, 180, 50] }
1460
- ];
1461
- const labels = ["Instagram", "Whatsapp", "Messages", "Telegram", "Linkedin"];
1462
- useEffect4(() => {
1463
- if (chartRef.current) {
1464
- if (chartInstance.current) {
1465
- chartInstance.current.destroy();
1466
- }
1467
- chartInstance.current = new Chart(chartRef.current, {
1468
- type: "line",
1469
- data: {
1470
- labels,
1471
- datasets: data.map((dataset, index) => ({
1472
- label: dataset.label,
1473
- data: dataset.data,
1474
- borderColor: index === 0 ? "#FF8F00" : index === 1 ? "#F50057" : "#254AAA",
1475
- backgroundColor: "rgba(0, 0, 0, 0)",
1476
- pointBackgroundColor: index === 0 ? "#FF8F00" : index === 1 ? "#F50057" : "#254AAA",
1477
- pointBorderColor: "white",
1478
- pointStyle: "circle",
1479
- pointRadius: 3,
1480
- tension: 0.1,
1481
- fill: true
1482
- }))
1483
- },
1484
- options: {
1485
- plugins: {
1486
- legend: {
1487
- labels: {
1488
- usePointStyle: true
1489
- }
1490
- }
1491
- },
1492
- scales: {
1493
- x: {
1494
- grid: {
1495
- display: false
1496
- }
1497
- },
1498
- y: {
1499
- beginAtZero: true,
1500
- suggestedMax: 200,
1501
- ticks: {
1502
- callback: function(value) {
1503
- return value + "%";
1504
- }
1505
- },
1506
- grid: {
1507
- display: true
1508
- }
1509
- }
1510
- }
1511
- }
1512
- });
1513
- }
1514
- return () => {
1515
- if (chartInstance.current) {
1516
- chartInstance.current.destroy();
1517
- }
1518
- };
1519
- }, [labels, data]);
1520
- return /* @__PURE__ */ React34.createElement("div", { className: props.className }, /* @__PURE__ */ React34.createElement("canvas", { ref: chartRef }));
1521
- };
1522
-
1523
- // src/Components/DoubleBarChart.tsx
1524
- import React35, { useEffect as useEffect5, useRef as useRef4 } from "react";
1525
- import Chart2 from "chart.js/auto";
1526
- var DoubleBarChart = (props) => {
1527
- const chartRef = useRef4(null);
1528
- const chartInstance = useRef4(null);
1529
- useEffect5(() => {
1530
- if (chartRef.current) {
1531
- if (chartInstance.current) {
1532
- chartInstance.current.destroy();
1533
- }
1534
- chartInstance.current = new Chart2(chartRef.current, {
1535
- type: "bar",
1536
- data: {
1537
- labels: [
1538
- "Summer Health Tips",
1539
- "New Services Launch",
1540
- "Discounts on Checkups",
1541
- "Wellness Webinar",
1542
- "LinkedIn Insights"
1543
- ],
1544
- datasets: [
1545
- {
1546
- label: "Engagement Rate",
1547
- data: [60, 70, 50, 80, 65],
1548
- // Example data for male
1549
- backgroundColor: "#93B8E2",
1550
- barThickness: 10
1551
- },
1552
- {
1553
- label: "Conversion Rate",
1554
- data: [70, 65, 75, 55, 85],
1555
- // Example data for female
1556
- backgroundColor: "#4484CD",
1557
- barThickness: 10
1558
- }
1559
- ]
1560
- },
1561
- options: {
1562
- scales: {
1563
- x: {
1564
- grid: {
1565
- display: false
1566
- // Display x-axis grid lines
1567
- }
1568
- },
1569
- y: {
1570
- beginAtZero: true,
1571
- suggestedMax: 100,
1572
- ticks: {
1573
- callback: function(value) {
1574
- return value + "%";
1575
- }
1576
- },
1577
- grid: {
1578
- display: true
1579
- }
1580
- }
1581
- },
1582
- plugins: {
1583
- legend: {
1584
- labels: {
1585
- usePointStyle: true
1586
- }
1587
- }
1588
- }
1589
- }
1590
- });
1591
- }
1592
- return () => {
1593
- if (chartInstance.current) {
1594
- chartInstance.current.destroy();
1595
- }
1596
- };
1597
- }, []);
1598
- return /* @__PURE__ */ React35.createElement("div", { className: props.className }, /* @__PURE__ */ React35.createElement("h1", { className: props.labelClassName }, props.label), /* @__PURE__ */ React35.createElement("canvas", { ref: chartRef }));
1599
- };
1600
-
1601
- // src/Components/BarChart.tsx
1602
- import React36 from "react";
1603
- import { Bar as Bar2 } from "react-chartjs-2";
1604
- import {
1605
- Chart as ChartJS4,
1606
- BarElement as BarElement2,
1607
- CategoryScale as CategoryScale2,
1608
- LinearScale as LinearScale2,
1609
- Tooltip as Tooltip4
1610
- } from "chart.js";
1611
- ChartJS4.register(BarElement2, CategoryScale2, LinearScale2, Tooltip4);
1612
- var BarChart = (props) => {
1613
- const data = {
1614
- labels: [
1615
- "17 June",
1616
- "18 June",
1617
- "19 June",
1618
- "20 June",
1619
- "21 June",
1620
- "22 June",
1621
- "23 June"
1622
- ],
1623
- datasets: [
1624
- {
1625
- data: [30, 100, 270, 140, 120, 240],
1626
- backgroundColor: "#1565C0",
1627
- barThickness: 15
1628
- }
1629
- ]
1630
- };
1631
- const options = {
1632
- responsive: true,
1633
- scales: {
1634
- x: {
1635
- beginAtZero: true,
1636
- grid: {
1637
- display: false
1638
- }
1639
- },
1640
- y: {
1641
- grid: {
1642
- display: true
1643
- },
1644
- ticks: {
1645
- min: 0,
1646
- max: 400,
1647
- stepSize: 200,
1648
- callback: function(value) {
1649
- return `${value}`;
1650
- }
1651
- }
1652
- }
1653
- },
1654
- plugins: {
1655
- tooltip: {
1656
- enabled: true,
1657
- callbacks: {
1658
- label: function(context) {
1659
- const label = context.label || "";
1660
- const value = context.raw || 0;
1661
- return ` ${label}: ${value}`;
1662
- }
1663
- }
1664
- },
1665
- legend: {
1666
- display: false
1667
- }
1668
- }
1669
- };
1670
- return /* @__PURE__ */ React36.createElement("div", { className: props.className }, /* @__PURE__ */ React36.createElement("h1", { className: props.labelClassName }, props.label), /* @__PURE__ */ React36.createElement(Bar2, { data, options }));
1671
- };
1672
-
1673
- // src/Components/DivContainer.tsx
1674
- import React37 from "react";
1675
- var DivContainer = (props) => {
1676
- return /* @__PURE__ */ React37.createElement("div", { className: props.className, style: props.style, onClick: props.onClick }, props.label);
1677
- };
1678
-
1679
- // src/Components/ColorPickerElement.tsx
1680
- import React38, { useEffect as useEffect6, useState as useState11 } from "react";
1681
- import { ColorPicker } from "antd";
1682
- var ColorPickerElement = (props) => {
1683
- const [val, setVal] = useState11(props.value);
1684
- useEffect6(() => {
1685
- if (props.value) {
1686
- setVal(props.value);
1687
- }
1688
- }, [props.value]);
1689
- const onHandleChange = (value, hex) => {
1690
- props.onChange && props.onChange(hex);
1691
- };
1692
- return /* @__PURE__ */ React38.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React38.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label, " ", props.required ? /* @__PURE__ */ React38.createElement("span", { style: { color: "red" } }, "*") : ""), /* @__PURE__ */ React38.createElement("br", null), /* @__PURE__ */ React38.createElement(
1693
- ColorPicker,
1694
- {
1695
- className: props.className,
1696
- showText: true,
1697
- value: val,
1698
- onChange: onHandleChange
1699
- }
1700
- ));
1701
- };
1702
-
1703
- // src/Components/NotificationAlert.tsx
1704
- import React39 from "react";
1705
- import { notification } from "antd";
1706
- var NotificationAlert = (props) => {
1707
- const [api, contextHolder] = notification.useNotification();
1708
- const openNotificationType = (pauseOnHover, type) => {
1709
- api[type]({
1710
- message: props.message,
1711
- description: props.description,
1712
- duration: 4.5,
1713
- pauseOnHover,
1714
- showProgress: props.showProgress
1715
- });
1716
- };
1717
- const openNotification = (pauseOnHover) => {
1718
- api.open({
1719
- message: props.message,
1720
- description: props.description,
1721
- duration: 4.5,
1722
- showProgress: props.showProgress,
1723
- pauseOnHover
1724
- });
1725
- };
1726
- const handleClick = () => {
1727
- const notificationType = props.notificationType || "info";
1728
- props.notificationType ? openNotificationType(true, notificationType) : openNotification(true);
1729
- };
1730
- return /* @__PURE__ */ React39.createElement("div", { className: props.containerClassName }, contextHolder, /* @__PURE__ */ React39.createElement(ButtonElement, { ...props, onClick: handleClick }));
1731
- };
1732
-
1733
- // src/Components/TooltipElement.tsx
1734
- import React40 from "react";
1735
- import { Tooltip as Tooltip5 } from "antd";
1736
- var TooltipElement = (props) => /* @__PURE__ */ React40.createElement(Tooltip5, { title: props.title }, /* @__PURE__ */ React40.createElement("span", { className: props.className }, props.description));
1737
-
1738
- // src/Components/DateTimePicker.tsx
1739
- import React41, { useState as useState12 } from "react";
1740
- import { DatePicker as DatePicker3 } from "antd";
1741
- import dayjs3 from "dayjs";
1742
- import customParseFormat2 from "dayjs/plugin/customParseFormat.js";
1743
- dayjs3.extend(customParseFormat2);
1744
- var DateTimePickerElement = (props) => {
1745
- const [dateState, setDateState] = useState12(props.value);
1746
- const handleChange = (date, dateString) => {
1747
- if (date) {
1748
- setDateState(date);
1749
- if (props.onChange) {
1750
- props.onChange(dateString);
1751
- }
1752
- } else {
1753
- setDateState("");
1754
- if (props.onChange) {
1755
- props.onChange("");
1756
- }
1757
- }
1758
- };
1759
- const disabledDate = (current) => {
1760
- if (props.enabled_dates === "from_today") {
1761
- return current && current < dayjs3().startOf("day");
1762
- }
1763
- return current && current > dayjs3().endOf("day");
1764
- };
1765
- const disabledTime = (current) => {
1766
- if (!current) return {};
1767
- if (props.enabled_dates === "from_today") {
1768
- if (current.isSame(dayjs3(), "day")) {
1769
- const hours = Array.from({ length: 24 }, (_, i) => i < dayjs3().hour() ? i : null).filter(
1770
- (v) => v !== null
1771
- );
1772
- const minutes = Array.from({ length: 60 }, (_, i) => i < dayjs3().minute() ? i : null).filter(
1773
- (v) => v !== null
1774
- );
1775
- return {
1776
- disabledHours: () => hours,
1777
- disabledMinutes: (selectedHour) => selectedHour === dayjs3().hour() ? minutes : []
1778
- };
1779
- }
1780
- } else {
1781
- if (current.isSame(dayjs3(), "day")) {
1782
- const hours = Array.from({ length: 24 }, (_, i) => i > dayjs3().hour() ? i : null).filter(
1783
- (v) => v !== null
1784
- );
1785
- const minutes = Array.from({ length: 60 }, (_, i) => i > dayjs3().minute() ? i : null).filter(
1786
- (v) => v !== null
1787
- );
1788
- return {
1789
- disabledHours: () => hours,
1790
- disabledMinutes: (selectedHour) => selectedHour === dayjs3().hour() ? minutes : []
1791
- };
1792
- }
1793
- }
1794
- return {};
1795
- };
1796
- return /* @__PURE__ */ React41.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React41.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label, " ", props.required ? /* @__PURE__ */ React41.createElement("span", { style: { color: "red" } }, "*") : ""), /* @__PURE__ */ React41.createElement(
1797
- DatePicker3,
1798
- {
1799
- disabledTime,
1800
- disabledDate,
1801
- showTime: true,
1802
- className: props.className,
1803
- placeholder: props.placeholder,
1804
- value: dateState,
1805
- format: "DD-MM-YYYY HH:mm",
1806
- onChange: handleChange,
1807
- picker: props.picker
1808
- }
1809
- ));
1810
- };
1811
- export {
1812
- AddMoreTable,
1813
- BarChart,
1814
- ButtonElement,
1815
- CheckboxElement,
1816
- CircleDonut,
1817
- CkEditor,
1818
- ColorPickerElement,
1819
- DatePickerElement,
1820
- DateRangePickerElement,
1821
- DateTimePickerElement,
1822
- DivContainer,
1823
- DoubleBarChart,
1824
- DropDownGroup,
1825
- Editor2 as Editor,
1826
- FileUpload,
1827
- HorizontalBarChart,
1828
- Image,
1829
- LineChart,
1830
- MultipleSelectElement,
1831
- Navbar,
1832
- NotificationAlert,
1833
- NumberElement,
1834
- OtpElement,
1835
- PasswordElement,
1836
- RadioElement,
1837
- SelectElement,
1838
- SemiCircleDonut,
1839
- Sidebar,
1840
- SingleCheckbox,
1841
- SingleSelectElement,
1842
- SwitchElement,
1843
- TableElement,
1844
- TabsElement,
1845
- TextElement,
1846
- TextareaElement,
1847
- TooltipElement,
1848
- Upload2 as Upload
1849
- };