@apexcura/core 0.0.16-Beta27 → 0.0.16-Beta29
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.js +8 -0
- package/dist/index.mjs +10 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -266,6 +266,14 @@ var ElementExecutor = (props) => {
|
|
|
266
266
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
267
267
|
}
|
|
268
268
|
);
|
|
269
|
+
case "upload-manually":
|
|
270
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
271
|
+
import_ui_components.Upload,
|
|
272
|
+
{
|
|
273
|
+
...elementProps,
|
|
274
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
275
|
+
}
|
|
276
|
+
);
|
|
269
277
|
case "image":
|
|
270
278
|
return /* @__PURE__ */ import_react.default.createElement(import_ui_components.Image, { ...elementProps });
|
|
271
279
|
case "input-password":
|
package/dist/index.mjs
CHANGED
|
@@ -22,7 +22,8 @@ import {
|
|
|
22
22
|
SingleCheckbox,
|
|
23
23
|
DropDownGroup,
|
|
24
24
|
FileUpload,
|
|
25
|
-
TabsElement
|
|
25
|
+
TabsElement,
|
|
26
|
+
Upload
|
|
26
27
|
} from "@apexcura/ui-components";
|
|
27
28
|
|
|
28
29
|
// src/services/http-service.tsx
|
|
@@ -253,6 +254,14 @@ var ElementExecutor = (props) => {
|
|
|
253
254
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
254
255
|
}
|
|
255
256
|
);
|
|
257
|
+
case "upload-manually":
|
|
258
|
+
return /* @__PURE__ */ React.createElement(
|
|
259
|
+
Upload,
|
|
260
|
+
{
|
|
261
|
+
...elementProps,
|
|
262
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
263
|
+
}
|
|
264
|
+
);
|
|
256
265
|
case "image":
|
|
257
266
|
return /* @__PURE__ */ React.createElement(Image, { ...elementProps });
|
|
258
267
|
case "input-password":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexcura/core",
|
|
3
|
-
"version": "0.0.16-
|
|
3
|
+
"version": "0.0.16-Beta29",
|
|
4
4
|
"description": "Apex cura React components library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apex cura",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"build": "tsup"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@apexcura/ui-components": "^0.0.14-
|
|
31
|
+
"@apexcura/ui-components": "^0.0.14-Beta29",
|
|
32
32
|
"@testing-library/jest-dom": "^6.4.2",
|
|
33
33
|
"@testing-library/react": "^15.0.6",
|
|
34
34
|
"@types/react-global-configuration": "^1.3.3",
|