@apexcura/ui-components 0.0.13-Beta0 → 0.0.13-Beta10
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.d.mts +9 -6
- package/dist/index.d.ts +9 -6
- package/dist/index.js +56 -30
- package/dist/index.mjs +55 -30
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -25,7 +25,8 @@ type ElementType = {
|
|
|
25
25
|
fields?: any[];
|
|
26
26
|
schema?: any[];
|
|
27
27
|
options?: any[];
|
|
28
|
-
onChange?: (value: string | number | boolean | object | any[]) => void;
|
|
28
|
+
onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
29
|
+
onClick?: () => void;
|
|
29
30
|
dropDownOptions?: any[];
|
|
30
31
|
id?: number;
|
|
31
32
|
thead?: any[];
|
|
@@ -56,7 +57,7 @@ type ElementType = {
|
|
|
56
57
|
};
|
|
57
58
|
|
|
58
59
|
interface ElementExecuterProps$3 extends ElementType {
|
|
59
|
-
onChange: (value: string | number | boolean | object | any[]) => void;
|
|
60
|
+
onChange: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
60
61
|
}
|
|
61
62
|
declare const TextElement: (props: ElementExecuterProps$3) => React$1.JSX.Element;
|
|
62
63
|
|
|
@@ -73,12 +74,12 @@ interface PasswordProps {
|
|
|
73
74
|
declare const PasswordElement: React$1.FC<PasswordProps>;
|
|
74
75
|
|
|
75
76
|
interface ElementExecuterProps$2 extends ElementType {
|
|
76
|
-
onChange: (value: string | number | object | boolean | any[]) => void;
|
|
77
|
+
onChange: (value: string | number | object | boolean | any[] | undefined) => void;
|
|
77
78
|
}
|
|
78
79
|
declare const NumberElement: (props: ElementExecuterProps$2) => React$1.JSX.Element;
|
|
79
80
|
|
|
80
81
|
interface ElementExecuterProps$1 extends ElementType {
|
|
81
|
-
onChange: (value: string | number | boolean | object | any[]) => void;
|
|
82
|
+
onChange: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
82
83
|
}
|
|
83
84
|
declare const TextareaElement: (props: ElementExecuterProps$1) => React$1.JSX.Element;
|
|
84
85
|
|
|
@@ -89,7 +90,7 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
|
|
|
89
90
|
declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
|
|
90
91
|
|
|
91
92
|
interface ElementExecuterProps extends ElementType {
|
|
92
|
-
onChange: (value: string | number | object | boolean | any[]) => void;
|
|
93
|
+
onChange: (value: string | number | object | boolean | any[] | undefined) => void;
|
|
93
94
|
}
|
|
94
95
|
declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
|
|
95
96
|
|
|
@@ -111,4 +112,6 @@ declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
|
111
112
|
|
|
112
113
|
declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
113
114
|
|
|
114
|
-
|
|
115
|
+
declare const UploadElement: (props: ElementType) => React$1.JSX.Element;
|
|
116
|
+
|
|
117
|
+
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, MultipleSelectElement, Navbar, NumberElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleSelectElement, TableElement, TextElement, TextareaElement, UploadElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,8 @@ type ElementType = {
|
|
|
25
25
|
fields?: any[];
|
|
26
26
|
schema?: any[];
|
|
27
27
|
options?: any[];
|
|
28
|
-
onChange?: (value: string | number | boolean | object | any[]) => void;
|
|
28
|
+
onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
29
|
+
onClick?: () => void;
|
|
29
30
|
dropDownOptions?: any[];
|
|
30
31
|
id?: number;
|
|
31
32
|
thead?: any[];
|
|
@@ -56,7 +57,7 @@ type ElementType = {
|
|
|
56
57
|
};
|
|
57
58
|
|
|
58
59
|
interface ElementExecuterProps$3 extends ElementType {
|
|
59
|
-
onChange: (value: string | number | boolean | object | any[]) => void;
|
|
60
|
+
onChange: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
60
61
|
}
|
|
61
62
|
declare const TextElement: (props: ElementExecuterProps$3) => React$1.JSX.Element;
|
|
62
63
|
|
|
@@ -73,12 +74,12 @@ interface PasswordProps {
|
|
|
73
74
|
declare const PasswordElement: React$1.FC<PasswordProps>;
|
|
74
75
|
|
|
75
76
|
interface ElementExecuterProps$2 extends ElementType {
|
|
76
|
-
onChange: (value: string | number | object | boolean | any[]) => void;
|
|
77
|
+
onChange: (value: string | number | object | boolean | any[] | undefined) => void;
|
|
77
78
|
}
|
|
78
79
|
declare const NumberElement: (props: ElementExecuterProps$2) => React$1.JSX.Element;
|
|
79
80
|
|
|
80
81
|
interface ElementExecuterProps$1 extends ElementType {
|
|
81
|
-
onChange: (value: string | number | boolean | object | any[]) => void;
|
|
82
|
+
onChange: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
82
83
|
}
|
|
83
84
|
declare const TextareaElement: (props: ElementExecuterProps$1) => React$1.JSX.Element;
|
|
84
85
|
|
|
@@ -89,7 +90,7 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
|
|
|
89
90
|
declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
|
|
90
91
|
|
|
91
92
|
interface ElementExecuterProps extends ElementType {
|
|
92
|
-
onChange: (value: string | number | object | boolean | any[]) => void;
|
|
93
|
+
onChange: (value: string | number | object | boolean | any[] | undefined) => void;
|
|
93
94
|
}
|
|
94
95
|
declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
|
|
95
96
|
|
|
@@ -111,4 +112,6 @@ declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
|
111
112
|
|
|
112
113
|
declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
113
114
|
|
|
114
|
-
|
|
115
|
+
declare const UploadElement: (props: ElementType) => React$1.JSX.Element;
|
|
116
|
+
|
|
117
|
+
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, MultipleSelectElement, Navbar, NumberElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleSelectElement, TableElement, TextElement, TextareaElement, UploadElement };
|
package/dist/index.js
CHANGED
|
@@ -46,7 +46,8 @@ __export(src_exports, {
|
|
|
46
46
|
SingleSelectElement: () => SingleSelectElement,
|
|
47
47
|
TableElement: () => TableElement,
|
|
48
48
|
TextElement: () => TextElement,
|
|
49
|
-
TextareaElement: () => TextareaElement
|
|
49
|
+
TextareaElement: () => TextareaElement,
|
|
50
|
+
UploadElement: () => UploadElement
|
|
50
51
|
});
|
|
51
52
|
module.exports = __toCommonJS(src_exports);
|
|
52
53
|
|
|
@@ -196,15 +197,12 @@ var RadioElement = (props) => {
|
|
|
196
197
|
const [isDisabled, setIsDisabled] = (0, import_react6.useState)(props.disabled);
|
|
197
198
|
const [selectedValue, setSelectedValue] = (0, import_react6.useState)(props.value);
|
|
198
199
|
const optionType = props.optionType === "button" ? "button" : void 0;
|
|
199
|
-
const handleChange = (
|
|
200
|
-
console.log(
|
|
201
|
-
|
|
202
|
-
const selectedLabel = props.options ? props.options.find((f) => f.value === selectedVal)?.label : "";
|
|
203
|
-
const selectedOptions = { label: selectedLabel, value: selectedVal };
|
|
204
|
-
setSelectedValue(selectedVal);
|
|
200
|
+
const handleChange = (option) => {
|
|
201
|
+
console.log(option);
|
|
202
|
+
setSelectedValue(option);
|
|
205
203
|
setIsDisabled(true);
|
|
206
204
|
if (props.onChange) {
|
|
207
|
-
props.onChange(
|
|
205
|
+
props.onChange(option);
|
|
208
206
|
}
|
|
209
207
|
};
|
|
210
208
|
const getButtonStyle = (option) => {
|
|
@@ -213,22 +211,26 @@ var RadioElement = (props) => {
|
|
|
213
211
|
return /* @__PURE__ */ import_react6.default.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ import_react6.default.createElement("p", { className: props.labelClassName }, props.label), /* @__PURE__ */ import_react6.default.createElement(
|
|
214
212
|
import_antd6.Radio.Group,
|
|
215
213
|
{
|
|
216
|
-
onChange: handleChange,
|
|
217
214
|
optionType,
|
|
218
215
|
className: props.radioGroupClassName,
|
|
219
216
|
value: selectedValue
|
|
220
217
|
},
|
|
221
|
-
props.options && props.options.map((option) =>
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
218
|
+
props.options && props.options.map((option) => {
|
|
219
|
+
return /* @__PURE__ */ import_react6.default.createElement(
|
|
220
|
+
import_antd6.Radio,
|
|
221
|
+
{
|
|
222
|
+
onChange: () => {
|
|
223
|
+
handleChange(option);
|
|
224
|
+
},
|
|
225
|
+
key: option.value,
|
|
226
|
+
value: option.value,
|
|
227
|
+
disabled: isDisabled && selectedValue !== option.value,
|
|
228
|
+
className: getButtonStyle(option),
|
|
229
|
+
style: { pointerEvents: isDisabled && selectedValue !== option.value ? "none" : "auto" }
|
|
230
|
+
},
|
|
231
|
+
option.label
|
|
232
|
+
);
|
|
233
|
+
})
|
|
232
234
|
));
|
|
233
235
|
};
|
|
234
236
|
|
|
@@ -236,12 +238,12 @@ var RadioElement = (props) => {
|
|
|
236
238
|
var import_react7 = __toESM(require("react"));
|
|
237
239
|
var import_antd7 = require("antd");
|
|
238
240
|
var CheckboxGroup = import_antd7.Checkbox.Group;
|
|
239
|
-
var plainOptions = ["Apple", "Pear", "Orange"];
|
|
240
241
|
var defaultCheckedList = [];
|
|
241
242
|
var CheckboxElement = (props) => {
|
|
242
243
|
const [checkedList, setCheckedList] = (0, import_react7.useState)(defaultCheckedList);
|
|
243
|
-
const checkAll =
|
|
244
|
+
const checkAll = props.options && props.options.length === checkedList.length;
|
|
244
245
|
const handleChange = (list) => {
|
|
246
|
+
console.log("list========", list);
|
|
245
247
|
setCheckedList(list);
|
|
246
248
|
if (props.onChange) {
|
|
247
249
|
const selectedOptions = list.map((value) => {
|
|
@@ -251,7 +253,7 @@ var CheckboxElement = (props) => {
|
|
|
251
253
|
}
|
|
252
254
|
};
|
|
253
255
|
const onHandleAllChanges = (e) => {
|
|
254
|
-
const newList = e.target.checked ?
|
|
256
|
+
const newList = e.target.checked ? props.options : [];
|
|
255
257
|
setCheckedList(newList);
|
|
256
258
|
if (props.onChange) {
|
|
257
259
|
props.onChange(newList);
|
|
@@ -268,13 +270,13 @@ var CheckboxElement = (props) => {
|
|
|
268
270
|
checked: checkAll
|
|
269
271
|
},
|
|
270
272
|
"Check all"
|
|
271
|
-
), /* @__PURE__ */ import_react7.default.createElement(
|
|
273
|
+
), /* @__PURE__ */ import_react7.default.createElement(
|
|
272
274
|
CheckboxGroup,
|
|
273
275
|
{
|
|
274
276
|
disabled: props.disabled,
|
|
275
277
|
style: props.styles,
|
|
276
278
|
className: props.className,
|
|
277
|
-
options:
|
|
279
|
+
options: props.options,
|
|
278
280
|
value: checkedList,
|
|
279
281
|
onChange: handleChange
|
|
280
282
|
}
|
|
@@ -389,13 +391,10 @@ var MultipleSelectElement = (props) => {
|
|
|
389
391
|
// src/Components/Button.tsx
|
|
390
392
|
var import_react12 = __toESM(require("react"));
|
|
391
393
|
var ButtonElement = (props) => {
|
|
392
|
-
const handleClick = typeof props.action === "string" ? () => {
|
|
393
|
-
console.log("Performing action:", props.action);
|
|
394
|
-
} : props.action;
|
|
395
394
|
return /* @__PURE__ */ import_react12.default.createElement(
|
|
396
395
|
"button",
|
|
397
396
|
{
|
|
398
|
-
onClick:
|
|
397
|
+
onClick: () => props.onClick && props.onClick(),
|
|
399
398
|
className: `${props.className ? props.className : ""}`
|
|
400
399
|
},
|
|
401
400
|
props.icon && /* @__PURE__ */ import_react12.default.createElement("img", { src: props.icon }),
|
|
@@ -802,6 +801,32 @@ var DateRangePickerElement = (props) => {
|
|
|
802
801
|
];
|
|
803
802
|
return /* @__PURE__ */ import_react23.default.createElement(import_antd16.Space, { direction: "vertical", size: 12 }, /* @__PURE__ */ import_react23.default.createElement(RangePicker, { presets: rangePresets, onChange: handleChange }));
|
|
804
803
|
};
|
|
804
|
+
|
|
805
|
+
// src/Components/UploadElement.tsx
|
|
806
|
+
var import_react24 = __toESM(require("react"));
|
|
807
|
+
var import_icons5 = require("@ant-design/icons");
|
|
808
|
+
var import_antd17 = require("antd");
|
|
809
|
+
var uploadProps = {
|
|
810
|
+
name: "file",
|
|
811
|
+
multiple: true,
|
|
812
|
+
action: "https://660d2bd96ddfa2943b33731c.mockapi.io/api/upload",
|
|
813
|
+
headers: {
|
|
814
|
+
authorization: "authorization-text"
|
|
815
|
+
},
|
|
816
|
+
onChange(info) {
|
|
817
|
+
if (info.file.status !== "uploading") {
|
|
818
|
+
console.log(info.file, info.fileList);
|
|
819
|
+
}
|
|
820
|
+
if (info.file.status === "done") {
|
|
821
|
+
import_antd17.message.success(`${info.file.name} file uploaded successfully`);
|
|
822
|
+
} else if (info.file.status === "error") {
|
|
823
|
+
import_antd17.message.error(`${info.file.name} file upload failed.`);
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
};
|
|
827
|
+
var UploadElement = (props) => {
|
|
828
|
+
return /* @__PURE__ */ import_react24.default.createElement(import_antd17.Upload, { ...uploadProps }, /* @__PURE__ */ import_react24.default.createElement(import_antd17.Button, { icon: /* @__PURE__ */ import_react24.default.createElement(import_icons5.UploadOutlined, null) }, "Click to Upload"));
|
|
829
|
+
};
|
|
805
830
|
// Annotate the CommonJS export names for ESM import in node:
|
|
806
831
|
0 && (module.exports = {
|
|
807
832
|
AddMoreTable,
|
|
@@ -820,5 +845,6 @@ var DateRangePickerElement = (props) => {
|
|
|
820
845
|
SingleSelectElement,
|
|
821
846
|
TableElement,
|
|
822
847
|
TextElement,
|
|
823
|
-
TextareaElement
|
|
848
|
+
TextareaElement,
|
|
849
|
+
UploadElement
|
|
824
850
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -144,15 +144,12 @@ var RadioElement = (props) => {
|
|
|
144
144
|
const [isDisabled, setIsDisabled] = useState2(props.disabled);
|
|
145
145
|
const [selectedValue, setSelectedValue] = useState2(props.value);
|
|
146
146
|
const optionType = props.optionType === "button" ? "button" : void 0;
|
|
147
|
-
const handleChange = (
|
|
148
|
-
console.log(
|
|
149
|
-
|
|
150
|
-
const selectedLabel = props.options ? props.options.find((f) => f.value === selectedVal)?.label : "";
|
|
151
|
-
const selectedOptions = { label: selectedLabel, value: selectedVal };
|
|
152
|
-
setSelectedValue(selectedVal);
|
|
147
|
+
const handleChange = (option) => {
|
|
148
|
+
console.log(option);
|
|
149
|
+
setSelectedValue(option);
|
|
153
150
|
setIsDisabled(true);
|
|
154
151
|
if (props.onChange) {
|
|
155
|
-
props.onChange(
|
|
152
|
+
props.onChange(option);
|
|
156
153
|
}
|
|
157
154
|
};
|
|
158
155
|
const getButtonStyle = (option) => {
|
|
@@ -161,35 +158,39 @@ var RadioElement = (props) => {
|
|
|
161
158
|
return /* @__PURE__ */ React6.createElement("div", { className: props.containerClassName }, props.label && /* @__PURE__ */ React6.createElement("p", { className: props.labelClassName }, props.label), /* @__PURE__ */ React6.createElement(
|
|
162
159
|
Radio.Group,
|
|
163
160
|
{
|
|
164
|
-
onChange: handleChange,
|
|
165
161
|
optionType,
|
|
166
162
|
className: props.radioGroupClassName,
|
|
167
163
|
value: selectedValue
|
|
168
164
|
},
|
|
169
|
-
props.options && props.options.map((option) =>
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
165
|
+
props.options && props.options.map((option) => {
|
|
166
|
+
return /* @__PURE__ */ React6.createElement(
|
|
167
|
+
Radio,
|
|
168
|
+
{
|
|
169
|
+
onChange: () => {
|
|
170
|
+
handleChange(option);
|
|
171
|
+
},
|
|
172
|
+
key: option.value,
|
|
173
|
+
value: option.value,
|
|
174
|
+
disabled: isDisabled && selectedValue !== option.value,
|
|
175
|
+
className: getButtonStyle(option),
|
|
176
|
+
style: { pointerEvents: isDisabled && selectedValue !== option.value ? "none" : "auto" }
|
|
177
|
+
},
|
|
178
|
+
option.label
|
|
179
|
+
);
|
|
180
|
+
})
|
|
180
181
|
));
|
|
181
182
|
};
|
|
182
183
|
|
|
183
184
|
// src/Components/Checkbox.tsx
|
|
184
185
|
import React7, { useState as useState3 } from "react";
|
|
185
|
-
import { Checkbox
|
|
186
|
+
import { Checkbox } from "antd";
|
|
186
187
|
var CheckboxGroup = Checkbox.Group;
|
|
187
|
-
var plainOptions = ["Apple", "Pear", "Orange"];
|
|
188
188
|
var defaultCheckedList = [];
|
|
189
189
|
var CheckboxElement = (props) => {
|
|
190
190
|
const [checkedList, setCheckedList] = useState3(defaultCheckedList);
|
|
191
|
-
const checkAll =
|
|
191
|
+
const checkAll = props.options && props.options.length === checkedList.length;
|
|
192
192
|
const handleChange = (list) => {
|
|
193
|
+
console.log("list========", list);
|
|
193
194
|
setCheckedList(list);
|
|
194
195
|
if (props.onChange) {
|
|
195
196
|
const selectedOptions = list.map((value) => {
|
|
@@ -199,7 +200,7 @@ var CheckboxElement = (props) => {
|
|
|
199
200
|
}
|
|
200
201
|
};
|
|
201
202
|
const onHandleAllChanges = (e) => {
|
|
202
|
-
const newList = e.target.checked ?
|
|
203
|
+
const newList = e.target.checked ? props.options : [];
|
|
203
204
|
setCheckedList(newList);
|
|
204
205
|
if (props.onChange) {
|
|
205
206
|
props.onChange(newList);
|
|
@@ -216,13 +217,13 @@ var CheckboxElement = (props) => {
|
|
|
216
217
|
checked: checkAll
|
|
217
218
|
},
|
|
218
219
|
"Check all"
|
|
219
|
-
), /* @__PURE__ */ React7.createElement(
|
|
220
|
+
), /* @__PURE__ */ React7.createElement(
|
|
220
221
|
CheckboxGroup,
|
|
221
222
|
{
|
|
222
223
|
disabled: props.disabled,
|
|
223
224
|
style: props.styles,
|
|
224
225
|
className: props.className,
|
|
225
|
-
options:
|
|
226
|
+
options: props.options,
|
|
226
227
|
value: checkedList,
|
|
227
228
|
onChange: handleChange
|
|
228
229
|
}
|
|
@@ -337,13 +338,10 @@ var MultipleSelectElement = (props) => {
|
|
|
337
338
|
// src/Components/Button.tsx
|
|
338
339
|
import React11 from "react";
|
|
339
340
|
var ButtonElement = (props) => {
|
|
340
|
-
const handleClick = typeof props.action === "string" ? () => {
|
|
341
|
-
console.log("Performing action:", props.action);
|
|
342
|
-
} : props.action;
|
|
343
341
|
return /* @__PURE__ */ React11.createElement(
|
|
344
342
|
"button",
|
|
345
343
|
{
|
|
346
|
-
onClick:
|
|
344
|
+
onClick: () => props.onClick && props.onClick(),
|
|
347
345
|
className: `${props.className ? props.className : ""}`
|
|
348
346
|
},
|
|
349
347
|
props.icon && /* @__PURE__ */ React11.createElement("img", { src: props.icon }),
|
|
@@ -750,6 +748,32 @@ var DateRangePickerElement = (props) => {
|
|
|
750
748
|
];
|
|
751
749
|
return /* @__PURE__ */ React22.createElement(Space2, { direction: "vertical", size: 12 }, /* @__PURE__ */ React22.createElement(RangePicker, { presets: rangePresets, onChange: handleChange }));
|
|
752
750
|
};
|
|
751
|
+
|
|
752
|
+
// src/Components/UploadElement.tsx
|
|
753
|
+
import React23 from "react";
|
|
754
|
+
import { UploadOutlined } from "@ant-design/icons";
|
|
755
|
+
import { Button as Button4, message, Upload } from "antd";
|
|
756
|
+
var uploadProps = {
|
|
757
|
+
name: "file",
|
|
758
|
+
multiple: true,
|
|
759
|
+
action: "https://660d2bd96ddfa2943b33731c.mockapi.io/api/upload",
|
|
760
|
+
headers: {
|
|
761
|
+
authorization: "authorization-text"
|
|
762
|
+
},
|
|
763
|
+
onChange(info) {
|
|
764
|
+
if (info.file.status !== "uploading") {
|
|
765
|
+
console.log(info.file, info.fileList);
|
|
766
|
+
}
|
|
767
|
+
if (info.file.status === "done") {
|
|
768
|
+
message.success(`${info.file.name} file uploaded successfully`);
|
|
769
|
+
} else if (info.file.status === "error") {
|
|
770
|
+
message.error(`${info.file.name} file upload failed.`);
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
};
|
|
774
|
+
var UploadElement = (props) => {
|
|
775
|
+
return /* @__PURE__ */ React23.createElement(Upload, { ...uploadProps }, /* @__PURE__ */ React23.createElement(Button4, { icon: /* @__PURE__ */ React23.createElement(UploadOutlined, null) }, "Click to Upload"));
|
|
776
|
+
};
|
|
753
777
|
export {
|
|
754
778
|
AddMoreTable,
|
|
755
779
|
ButtonElement,
|
|
@@ -767,5 +791,6 @@ export {
|
|
|
767
791
|
SingleSelectElement,
|
|
768
792
|
TableElement,
|
|
769
793
|
TextElement,
|
|
770
|
-
TextareaElement
|
|
794
|
+
TextareaElement,
|
|
795
|
+
UploadElement
|
|
771
796
|
};
|