@apexcura/ui-components 0.0.13-Beta9 → 0.0.13-Beta91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2,23 +2,24 @@
2
2
  import React from "react";
3
3
  import { Input as AntInput } from "antd";
4
4
  var TextElement = (props) => {
5
- return /* @__PURE__ */ React.createElement(React.Fragment, null, props.label && /* @__PURE__ */ React.createElement("label", { htmlFor: props.name }, props.label), /* @__PURE__ */ React.createElement(
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), /* @__PURE__ */ React.createElement(
6
11
  AntInput,
7
12
  {
8
13
  placeholder: props.placeholder,
9
- addonBefore: props.addonBefore,
10
14
  allowClear: true,
11
- defaultValue: props.defaultValue,
12
- disabled: props.disabled,
13
15
  id: props.name,
14
16
  prefix: props.prefix,
15
17
  type: props.type,
16
18
  status: props.status,
17
- style: props.styles,
18
19
  className: props.className,
19
- variant: props.variant,
20
- name: props.name,
21
- onChange: (e) => props.onChange(e.target.value)
20
+ onChange: (e) => {
21
+ handleChange(e);
22
+ }
22
23
  }
23
24
  ));
24
25
  };
@@ -26,37 +27,47 @@ var TextElement = (props) => {
26
27
  // src/Components/PasswordElement.tsx
27
28
  import React2, { useState } from "react";
28
29
  import { EyeInvisibleOutlined, EyeTwoTone } from "@ant-design/icons";
29
- import { Button, Input, Space } from "antd";
30
- var PasswordElement = ({ inputData }) => {
30
+ import { Input } from "antd";
31
+ var PasswordElement = (props) => {
31
32
  const [passwordVisible, setPasswordVisible] = useState(false);
32
33
  const handleVisibilityToggle = () => {
33
34
  setPasswordVisible((prev) => !prev);
34
35
  };
36
+ const handleChange = (e) => {
37
+ if (props.onChange) {
38
+ props.onChange(e.target.value);
39
+ }
40
+ };
35
41
  const renderVisibilityIcon = (visible) => visible ? /* @__PURE__ */ React2.createElement(EyeTwoTone, null) : /* @__PURE__ */ React2.createElement(EyeInvisibleOutlined, null);
36
- const renderPasswordInput = () => /* @__PURE__ */ React2.createElement(
42
+ return /* @__PURE__ */ React2.createElement("div", { className: props.containerClassName }, /* @__PURE__ */ React2.createElement("label", { className: props.labelClassName }, props.label), /* @__PURE__ */ React2.createElement(
37
43
  Input.Password,
38
44
  {
39
- placeholder: inputData.placeholder,
40
- id: inputData.id,
41
- prefix: inputData.prefix,
42
- addonBefore: inputData.addonBefore,
43
- type: inputData.type,
45
+ placeholder: props.placeholder,
46
+ className: props.className,
47
+ type: props.type,
48
+ onChange: (e) => {
49
+ handleChange(e);
50
+ },
44
51
  iconRender: renderVisibilityIcon,
45
- visibilityToggle: { visible: passwordVisible, onVisibleChange: handleVisibilityToggle }
52
+ visibilityToggle: {
53
+ visible: passwordVisible,
54
+ onVisibleChange: handleVisibilityToggle
55
+ }
46
56
  }
47
- );
48
- return /* @__PURE__ */ React2.createElement(Space, { direction: "vertical" }, renderPasswordInput(), /* @__PURE__ */ React2.createElement(Space, { direction: "horizontal" }, renderPasswordInput(), /* @__PURE__ */ React2.createElement(Button, { style: { width: 80 }, onClick: handleVisibilityToggle }, passwordVisible ? "Hide" : "Show")));
57
+ ));
49
58
  };
50
59
 
51
60
  // src/Components/NumberElement.tsx
52
61
  import React3 from "react";
53
62
  import { Input as AntInput2 } from "antd";
54
63
  var NumberElement = (props) => {
55
- const handleInputChange = (e) => {
64
+ const handleChange = (e) => {
56
65
  const newValue = e.target.value.replace(/[^0-9]/g, "");
57
- props.onChange(newValue);
66
+ if (props.onChange) {
67
+ props.onChange(newValue);
68
+ }
58
69
  };
59
- return /* @__PURE__ */ React3.createElement(
70
+ return /* @__PURE__ */ React3.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React3.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label), /* @__PURE__ */ React3.createElement(
60
71
  AntInput2,
61
72
  {
62
73
  placeholder: props.placeholder,
@@ -71,17 +82,24 @@ var NumberElement = (props) => {
71
82
  className: props.className,
72
83
  variant: props.variant,
73
84
  name: props.name,
74
- onChange: handleInputChange
85
+ onChange: (e) => {
86
+ handleChange(e);
87
+ }
75
88
  }
76
- );
89
+ ));
77
90
  };
78
91
 
79
92
  // src/Components/TextareaElement.tsx
80
93
  import React4 from "react";
81
- import { Flex, Input as Input2 } from "antd";
94
+ import { Input as Input2 } from "antd";
82
95
  var { TextArea } = Input2;
83
96
  var TextareaElement = (props) => {
84
- return /* @__PURE__ */ React4.createElement(Flex, null, /* @__PURE__ */ React4.createElement(
97
+ const handleChange = (e) => {
98
+ if (props.onChange) {
99
+ props.onChange(e.target.value);
100
+ }
101
+ };
102
+ return /* @__PURE__ */ React4.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React4.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label), /* @__PURE__ */ React4.createElement(
85
103
  TextArea,
86
104
  {
87
105
  placeholder: props.placeholder,
@@ -95,7 +113,9 @@ var TextareaElement = (props) => {
95
113
  name: props.name,
96
114
  showCount: true,
97
115
  maxLength: props.maxLength,
98
- onChange: (e) => props.onChange(e.target.value)
116
+ onChange: (e) => {
117
+ handleChange(e);
118
+ }
99
119
  }
100
120
  ));
101
121
  };
@@ -103,24 +123,19 @@ var TextareaElement = (props) => {
103
123
  // src/Components/SelectElement.tsx
104
124
  import React5 from "react";
105
125
  import { Select } from "antd";
106
- var labelRender = (props) => {
107
- const { label, value } = props;
108
- if (label) {
109
- return value;
110
- }
111
- return /* @__PURE__ */ React5.createElement("span", null, "select gender");
112
- };
113
126
  var SelectElement = (props) => {
114
127
  const handleChange = (value) => {
128
+ console.log("sigleselectvalue----", value);
115
129
  if (props.onChange) {
116
- props.onChange(value);
130
+ const filterOption2 = props.options && props.options.find((eachOption) => eachOption.value === value);
131
+ props.onChange(filterOption2);
117
132
  }
118
133
  };
119
- return /* @__PURE__ */ React5.createElement(
134
+ return /* @__PURE__ */ React5.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React5.createElement("label", { htmlFor: props.name, className: props.labelClassName }, props.label), /* @__PURE__ */ React5.createElement(
120
135
  Select,
121
136
  {
122
- labelRender,
123
- options: props.fieldNames,
137
+ mode: props.mode,
138
+ options: props.options,
124
139
  placeholder: props.placeholder,
125
140
  allowClear: true,
126
141
  defaultValue: props.defaultValue,
@@ -132,7 +147,7 @@ var SelectElement = (props) => {
132
147
  variant: props.variant,
133
148
  onChange: handleChange
134
149
  }
135
- );
150
+ ));
136
151
  };
137
152
 
138
153
  // src/Components/RadioElement.tsx
@@ -192,7 +207,8 @@ var CheckboxElement = (props) => {
192
207
  const handleChange = (list) => {
193
208
  setCheckedList(list);
194
209
  if (props.onChange) {
195
- props.onChange(list);
210
+ const selectedOptions = props.options && props.options.filter((option) => list.includes(option.value));
211
+ props.onChange(selectedOptions);
196
212
  }
197
213
  };
198
214
  const onHandleAllChanges = (e) => {
@@ -227,55 +243,9 @@ var CheckboxElement = (props) => {
227
243
  };
228
244
 
229
245
  // src/Components/CkEditor.tsx
230
- import { useRef } from "react";
231
- import { Editor } from "@tinymce/tinymce-react";
232
246
  import React8 from "react";
233
247
  var CkEditor = (props) => {
234
- const editorRef = useRef(null);
235
- const log = () => {
236
- if (editorRef.current) {
237
- let content = editorRef.current.getContent();
238
- if (props.onChange) {
239
- props.onChange(content);
240
- }
241
- }
242
- };
243
- return /* @__PURE__ */ React8.createElement("div", null, /* @__PURE__ */ React8.createElement(
244
- Editor,
245
- {
246
- apiKey: "rwpgt7maa54n0pe5mglhkl686p7h57sg6z636n6gf2mio1b9",
247
- onInit: (_evt, editor) => {
248
- if (editor) editorRef.current = editor;
249
- },
250
- initialValue: "<p>This is the initial content of the editor.</p>",
251
- init: {
252
- height: 500,
253
- menubar: false,
254
- plugins: [
255
- "advlist",
256
- "autolink",
257
- "lists",
258
- "link",
259
- "image",
260
- "charmap",
261
- "preview",
262
- "anchor",
263
- "searchreplace",
264
- "visualblocks",
265
- "code",
266
- "fullscreen",
267
- "insertdatetime",
268
- "media",
269
- "table",
270
- "code",
271
- "help",
272
- "wordcount"
273
- ],
274
- toolbar: "undo redo | blocks | bold italic forecolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",
275
- content_style: "body { font-family:Helvetica,Arial,sans-serif; font-size:14px }"
276
- }
277
- }
278
- ), /* @__PURE__ */ React8.createElement("button", { onClick: log }, "Log editor content"));
248
+ return /* @__PURE__ */ React8.createElement("div", null);
279
249
  };
280
250
 
281
251
  // src/Components/Select/SingleSelectElement.tsx
@@ -288,7 +258,9 @@ var filterOption = (input, option) => (option?.label ?? "").toLowerCase().includ
288
258
  var SingleSelectElement = (props) => {
289
259
  const handleChange = (values) => {
290
260
  if (props.onChange) {
291
- const option = props.dropDownOptions?.find((option2) => String(option2.title) === values);
261
+ const option = props.dropDownOptions?.find(
262
+ (option2) => String(option2.title) === values
263
+ );
292
264
  const selectedOption = { id: option?.id, value: values };
293
265
  props.onChange([selectedOption]);
294
266
  }
@@ -302,7 +274,11 @@ var SingleSelectElement = (props) => {
302
274
  onChange: handleChange,
303
275
  onSearch,
304
276
  filterOption,
305
- options: props.dropDownOptions?.map((eachOption) => ({ label: String(eachOption.title), value: String(eachOption.title), id: String(eachOption.id) }))
277
+ options: props.dropDownOptions?.map((eachOption) => ({
278
+ label: String(eachOption.title),
279
+ value: String(eachOption.title),
280
+ id: String(eachOption.id)
281
+ }))
306
282
  }
307
283
  );
308
284
  };
@@ -340,14 +316,14 @@ var ButtonElement = (props) => {
340
316
  onClick: () => props.onClick && props.onClick(),
341
317
  className: `${props.className ? props.className : ""}`
342
318
  },
343
- props.icon && /* @__PURE__ */ React11.createElement("img", { src: props.icon }),
319
+ props.icon && /* @__PURE__ */ React11.createElement("img", { className: props.iconsClassName, src: props.icon }),
344
320
  props.label
345
321
  );
346
322
  };
347
323
 
348
324
  // src/Components/AddMoreTable.tsx
349
325
  import React12, { useEffect, useState as useState4 } from "react";
350
- import { Table, Button as Button2 } from "antd";
326
+ import { Table, Button } from "antd";
351
327
  import { PlusOutlined, DeleteOutlined } from "@ant-design/icons";
352
328
  var AddMoreTable = (props) => {
353
329
  const { thead, tbody } = props;
@@ -442,13 +418,13 @@ var AddMoreTable = (props) => {
442
418
  eachRow.variable_data.forEach((variable, subIndex) => {
443
419
  Object.keys(variable).forEach((key) => {
444
420
  if (key === "SubRows") {
445
- rowData[`${key}`] = /* @__PURE__ */ React12.createElement("div", { key: subIndex }, eachRow.variable_data.length > 1 && /* @__PURE__ */ React12.createElement(Button2, { onClick: () => onHandleSubRowsDelete(rowIndex, subIndex) }, /* @__PURE__ */ React12.createElement(DeleteOutlined, null)), subIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ React12.createElement(Button2, { onClick: () => onHandleSubRowsAdd(rowIndex) }, /* @__PURE__ */ React12.createElement(PlusOutlined, null)));
421
+ rowData[`${key}`] = /* @__PURE__ */ React12.createElement("div", { key: subIndex }, eachRow.variable_data.length > 1 && /* @__PURE__ */ React12.createElement(Button, { onClick: () => onHandleSubRowsDelete(rowIndex, subIndex) }, /* @__PURE__ */ React12.createElement(DeleteOutlined, null)), subIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ React12.createElement(Button, { onClick: () => onHandleSubRowsAdd(rowIndex) }, /* @__PURE__ */ React12.createElement(PlusOutlined, null)));
446
422
  } else {
447
423
  rowData[`${key}`] = renderInputElement(variable[key]);
448
424
  }
449
425
  });
450
426
  });
451
- rowData.actions = /* @__PURE__ */ React12.createElement("div", null, /* @__PURE__ */ React12.createElement(Button2, { onClick: () => onHandleDelete(eachRow.id) }, /* @__PURE__ */ React12.createElement(DeleteOutlined, null)), rowIndex === rows.length - 1 && /* @__PURE__ */ React12.createElement(Button2, { onClick: onHandleRows }, /* @__PURE__ */ React12.createElement(PlusOutlined, null)));
427
+ rowData.actions = /* @__PURE__ */ React12.createElement("div", null, /* @__PURE__ */ React12.createElement(Button, { onClick: () => onHandleDelete(eachRow.id) }, /* @__PURE__ */ React12.createElement(DeleteOutlined, null)), rowIndex === rows.length - 1 && /* @__PURE__ */ React12.createElement(Button, { onClick: onHandleRows }, /* @__PURE__ */ React12.createElement(PlusOutlined, null)));
452
428
  console.log("=====rowdata", rowData);
453
429
  return rowData;
454
430
  });
@@ -495,7 +471,7 @@ import React17 from "react";
495
471
 
496
472
  // src/Components/Notification.tsx
497
473
  import React14 from "react";
498
- import { Popover, Badge, Button as Button3, Avatar, List } from "antd";
474
+ import { Popover, Badge, Button as Button2, Avatar, List } from "antd";
499
475
  import { IoIosNotifications } from "react-icons/io";
500
476
  var popoverContentStyle = {
501
477
  minWidth: "300px",
@@ -523,7 +499,7 @@ var Notification = (props) => /* @__PURE__ */ React14.createElement(
523
499
  trigger: "focus",
524
500
  placement: "bottomRight"
525
501
  },
526
- /* @__PURE__ */ React14.createElement(Button3, { className: props.buttonClassName }, /* @__PURE__ */ React14.createElement(Badge, { size: "small", count: props.count }, /* @__PURE__ */ React14.createElement("span", { className: props.iconsClassName }, /* @__PURE__ */ React14.createElement(IoIosNotifications, null))))
502
+ /* @__PURE__ */ React14.createElement(Button2, { className: props.buttonClassName }, /* @__PURE__ */ React14.createElement(Badge, { size: "small", count: props.count }, /* @__PURE__ */ React14.createElement("span", { className: props.iconsClassName }, /* @__PURE__ */ React14.createElement(IoIosNotifications, null))))
527
503
  );
528
504
 
529
505
  // src/Components/SpanElement.tsx
@@ -645,13 +621,20 @@ var TableElement = (props) => {
645
621
  [columns[0].key]: index + 1
646
622
  }));
647
623
  const count = dataSource ? dataSource.length : 0;
624
+ const onChangePage = (page, pageSize) => {
625
+ console.log(pageSize);
626
+ if (props.onChange) {
627
+ props.onChange(page);
628
+ }
629
+ };
648
630
  return /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement(
649
631
  Table2,
650
632
  {
651
633
  pagination: {
652
634
  showTotal: (total) => `Total: ${total} items`,
653
635
  total: count,
654
- showSizeChanger: count > 10
636
+ showSizeChanger: count > 10,
637
+ onChange: onChangePage
655
638
  },
656
639
  dataSource,
657
640
  columns,
@@ -725,7 +708,7 @@ var DatePickerElement = (props) => {
725
708
 
726
709
  // src/Components/DateRangePickerElement.tsx
727
710
  import React22 from "react";
728
- import { DatePicker as DatePicker2, Space as Space2 } from "antd";
711
+ import { DatePicker as DatePicker2, Space } from "antd";
729
712
  import dayjs from "dayjs";
730
713
  var DateRangePickerElement = (props) => {
731
714
  const { RangePicker } = DatePicker2;
@@ -742,33 +725,127 @@ var DateRangePickerElement = (props) => {
742
725
  { label: "Last 30 Days", value: [dayjs().add(-30, "d"), dayjs()] },
743
726
  { label: "Last 90 Days", value: [dayjs().add(-90, "d"), dayjs()] }
744
727
  ];
745
- return /* @__PURE__ */ React22.createElement(Space2, { direction: "vertical", size: 12 }, /* @__PURE__ */ React22.createElement(RangePicker, { presets: rangePresets, onChange: handleChange }));
728
+ return /* @__PURE__ */ React22.createElement(Space, { direction: "vertical", size: 12 }, /* @__PURE__ */ React22.createElement(RangePicker, { presets: rangePresets, onChange: handleChange }));
746
729
  };
747
730
 
748
- // src/Components/UploadElement.tsx
731
+ // src/Components/Image.tsx
749
732
  import React23 from "react";
750
- import { UploadOutlined } from "@ant-design/icons";
751
- import { Button as Button4, message, Upload } from "antd";
752
- var uploadProps = {
753
- name: "file",
754
- multiple: true,
755
- action: "https://660d2bd96ddfa2943b33731c.mockapi.io/api/upload",
756
- headers: {
757
- authorization: "authorization-text"
758
- },
759
- onChange(info) {
760
- if (info.file.status !== "uploading") {
761
- console.log(info.file, info.fileList);
733
+ var Image = (props) => {
734
+ return /* @__PURE__ */ React23.createElement("div", null, /* @__PURE__ */ React23.createElement("img", { className: props.className, src: props.img, alt: "image" }));
735
+ };
736
+
737
+ // src/Components/SingleCheckbox.tsx
738
+ import React24 from "react";
739
+ import { Checkbox as Checkbox2 } from "antd";
740
+ var SingleCheckbox = (props) => {
741
+ const handleChange = (e) => {
742
+ if (props.onChange) {
743
+ props.onChange(e.target.checked);
762
744
  }
763
- if (info.file.status === "done") {
764
- message.success(`${info.file.name} file uploaded successfully`);
765
- } else if (info.file.status === "error") {
766
- message.error(`${info.file.name} file upload failed.`);
745
+ };
746
+ return /* @__PURE__ */ React24.createElement(Checkbox2, { onChange: (e) => handleChange(e), className: props.className }, props.label);
747
+ };
748
+
749
+ // src/Components/DropDownGroup.tsx
750
+ import React25, { useState as useState7 } from "react";
751
+ import { Select as Select4 } from "antd";
752
+ var DropDownGroup = (props) => {
753
+ const [selectedValue, setSelectedValue] = useState7({ firstValue: {}, secondValue: {} });
754
+ const handleFirstChange = (value) => {
755
+ const filterOption2 = props.options?.find((eachOption) => eachOption.value === value);
756
+ setSelectedValue((prev) => {
757
+ const newValue = { ...prev, firstValue: filterOption2 };
758
+ if (newValue.firstValue) {
759
+ props.onChange?.(newValue);
760
+ }
761
+ return selectedValue;
762
+ });
763
+ };
764
+ const handleSecondChange = (value) => {
765
+ const filterOption2 = props.options?.find((eachOption) => eachOption.value === value);
766
+ setSelectedValue((prev) => {
767
+ const newValue = { ...prev, secondValue: filterOption2 };
768
+ if (newValue.secondValue) {
769
+ props.onChange?.(newValue);
770
+ }
771
+ return selectedValue;
772
+ });
773
+ };
774
+ return /* @__PURE__ */ React25.createElement("div", { className: props.className, style: { display: "flex", flexDirection: "row", backgroundColor: "white", borderRadius: 10, border: "1px solid gray" } }, /* @__PURE__ */ React25.createElement(
775
+ Select4,
776
+ {
777
+ onChange: handleFirstChange,
778
+ variant: props.variant,
779
+ options: props.options
767
780
  }
768
- }
781
+ ), /* @__PURE__ */ React25.createElement("div", { style: { borderLeft: "1px solid gray", height: "33px" } }), /* @__PURE__ */ React25.createElement(
782
+ Select4,
783
+ {
784
+ onChange: handleSecondChange,
785
+ variant: props.variant,
786
+ options: props.options
787
+ }
788
+ ));
769
789
  };
770
- var UploadElement = (props) => {
771
- return /* @__PURE__ */ React23.createElement(Upload, { ...uploadProps }, /* @__PURE__ */ React23.createElement(Button4, { icon: /* @__PURE__ */ React23.createElement(UploadOutlined, null) }, "Click to Upload"));
790
+
791
+ // src/Components/FilesUpload.tsx
792
+ import React26, { useState as useState8 } from "react";
793
+ import { Upload, message } from "antd";
794
+ import { InboxOutlined } from "@ant-design/icons";
795
+ var FileUpload = (props) => {
796
+ const { Dragger } = Upload;
797
+ const [files, setFiles] = useState8([]);
798
+ const beforeUpload = (file) => {
799
+ const isCorrectFile = ["image/png", "image/jpg", "image/jpeg", "application/pdf"].includes(file.type);
800
+ if (!isCorrectFile) {
801
+ message.error(`(${file.name}) is an invalid file. Please upload files with the following extensions only (.png/.jpg/.jpeg/.pdf)`);
802
+ return Upload.LIST_IGNORE;
803
+ }
804
+ return true;
805
+ };
806
+ const handleChange = ({ fileList }) => {
807
+ setFiles(fileList);
808
+ if (props.onChange) {
809
+ props.onChange({
810
+ name: props.name,
811
+ value: fileList
812
+ });
813
+ }
814
+ };
815
+ const customRequest = ({ file, onSuccess }) => {
816
+ setTimeout(() => {
817
+ onSuccess("ok");
818
+ }, 0);
819
+ };
820
+ return /* @__PURE__ */ React26.createElement("div", null, /* @__PURE__ */ React26.createElement(
821
+ Dragger,
822
+ {
823
+ action: "",
824
+ accept: props.accept,
825
+ listType: "picture",
826
+ maxCount: props.max_count,
827
+ multiple: true,
828
+ fileList: files,
829
+ beforeUpload,
830
+ onChange: handleChange,
831
+ showUploadList: true,
832
+ customRequest
833
+ },
834
+ /* @__PURE__ */ React26.createElement("p", null, /* @__PURE__ */ React26.createElement(InboxOutlined, null)),
835
+ /* @__PURE__ */ React26.createElement("p", null, "Click or drag file to upload")
836
+ ));
837
+ };
838
+
839
+ // src/Components/TabsElement.tsx
840
+ import React27 from "react";
841
+ import { Tabs } from "antd";
842
+ var TabsElement = (props) => {
843
+ const handleChange = (key) => {
844
+ if (props.onChange) {
845
+ props.onChange(props.options?.find((eachOption) => eachOption.key === key));
846
+ }
847
+ };
848
+ return /* @__PURE__ */ React27.createElement(Tabs, { className: props.containerClassName, items: props.options, onChange: handleChange });
772
849
  };
773
850
  export {
774
851
  AddMoreTable,
@@ -777,6 +854,9 @@ export {
777
854
  CkEditor,
778
855
  DatePickerElement,
779
856
  DateRangePickerElement,
857
+ DropDownGroup,
858
+ FileUpload,
859
+ Image,
780
860
  MultipleSelectElement,
781
861
  Navbar,
782
862
  NumberElement,
@@ -784,9 +864,10 @@ export {
784
864
  RadioElement,
785
865
  SelectElement,
786
866
  Sidebar,
867
+ SingleCheckbox,
787
868
  SingleSelectElement,
788
869
  TableElement,
870
+ TabsElement,
789
871
  TextElement,
790
- TextareaElement,
791
- UploadElement
872
+ TextareaElement
792
873
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.13-Beta9",
3
+ "version": "0.0.13-Beta91",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",
@@ -48,6 +48,7 @@
48
48
  "node": ">=18.0.0"
49
49
  },
50
50
  "dependencies": {
51
+ "@apexcura/core": "^0.0.15-Beta34",
51
52
  "@apexcura/ui-components": "^0.0.11-Beta256",
52
53
  "@tinymce/tinymce-react": "^5.0.1",
53
54
  "autoprefixer": "^10.4.19",