@apexcura/core 0.0.15-Beta98 → 0.0.16-Beta0
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -100,6 +100,8 @@ var ElementExecutor = (props) => {
|
|
|
100
100
|
const [data, setData] = (0, import_react.useState)([]);
|
|
101
101
|
const [schema, setSchema] = (0, import_react.useState)(props.data.schema);
|
|
102
102
|
const onHandleChange = (name, value) => {
|
|
103
|
+
console.log("name", name);
|
|
104
|
+
console.log("value", value);
|
|
103
105
|
const updateSchema = (schema2) => {
|
|
104
106
|
return schema2.map((field) => {
|
|
105
107
|
if (field.name === name) {
|
|
@@ -285,7 +287,7 @@ var ElementExecutor = (props) => {
|
|
|
285
287
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
286
288
|
}
|
|
287
289
|
);
|
|
288
|
-
case "
|
|
290
|
+
case "dropdown-group":
|
|
289
291
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
290
292
|
import_ui_components.DropDownGroup,
|
|
291
293
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -87,6 +87,8 @@ var ElementExecutor = (props) => {
|
|
|
87
87
|
const [data, setData] = useState([]);
|
|
88
88
|
const [schema, setSchema] = useState(props.data.schema);
|
|
89
89
|
const onHandleChange = (name, value) => {
|
|
90
|
+
console.log("name", name);
|
|
91
|
+
console.log("value", value);
|
|
90
92
|
const updateSchema = (schema2) => {
|
|
91
93
|
return schema2.map((field) => {
|
|
92
94
|
if (field.name === name) {
|
|
@@ -272,7 +274,7 @@ var ElementExecutor = (props) => {
|
|
|
272
274
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
273
275
|
}
|
|
274
276
|
);
|
|
275
|
-
case "
|
|
277
|
+
case "dropdown-group":
|
|
276
278
|
return /* @__PURE__ */ React.createElement(
|
|
277
279
|
DropDownGroup,
|
|
278
280
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexcura/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16-Beta0",
|
|
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.13-
|
|
31
|
+
"@apexcura/ui-components": "^0.0.13-Beta104",
|
|
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",
|