@bolttech/form-engine 3.0.0-beta.28 → 3.0.0-beta.29
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/index.esm.js +24 -26
- package/package.json +2 -2
package/index.esm.js
CHANGED
|
@@ -2145,7 +2145,7 @@ const FieldWrapper = ({
|
|
|
2145
2145
|
})).current;
|
|
2146
2146
|
const [valueState, setValueState] = useState((fieldInstance === null || fieldInstance === void 0 ? void 0 : fieldInstance.stateValue) || {});
|
|
2147
2147
|
const [state, setState] = useState({
|
|
2148
|
-
visibility:
|
|
2148
|
+
visibility: fieldInstance === null || fieldInstance === void 0 ? void 0 : fieldInstance.visibility,
|
|
2149
2149
|
props: (fieldInstance === null || fieldInstance === void 0 ? void 0 : fieldInstance.props) || props
|
|
2150
2150
|
});
|
|
2151
2151
|
/**
|
|
@@ -2206,33 +2206,31 @@ const FieldWrapper = ({
|
|
|
2206
2206
|
return props;
|
|
2207
2207
|
}, []);
|
|
2208
2208
|
return (state === null || state === void 0 ? void 0 : state.visibility) ? jsxs(Fragment, {
|
|
2209
|
-
children: [debugMode &&
|
|
2210
|
-
|
|
2209
|
+
children: [debugMode && jsxs("div", {
|
|
2210
|
+
style: {
|
|
2211
|
+
width: '100%',
|
|
2212
|
+
display: 'flex',
|
|
2213
|
+
flexDirection: 'column'
|
|
2214
|
+
},
|
|
2215
|
+
children: [jsxs("b", {
|
|
2211
2216
|
style: {
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
flexDirection: 'column'
|
|
2217
|
+
padding: '0px',
|
|
2218
|
+
margin: '0px'
|
|
2215
2219
|
},
|
|
2216
|
-
children: [
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
padding: '0px',
|
|
2231
|
-
margin: '0px'
|
|
2232
|
-
},
|
|
2233
|
-
children: ["path:", fieldInstance === null || fieldInstance === void 0 ? void 0 : fieldInstance.path]
|
|
2234
|
-
}), jsx("br", {}), jsx("hr", {})]
|
|
2235
|
-
})
|
|
2220
|
+
children: ["name:", name]
|
|
2221
|
+
}), jsxs("b", {
|
|
2222
|
+
style: {
|
|
2223
|
+
padding: '0px',
|
|
2224
|
+
margin: '0px'
|
|
2225
|
+
},
|
|
2226
|
+
children: ["order:", (_b = fieldInstance === null || fieldInstance === void 0 ? void 0 : fieldInstance.originalSchema) === null || _b === void 0 ? void 0 : _b.order]
|
|
2227
|
+
}), jsxs("b", {
|
|
2228
|
+
style: {
|
|
2229
|
+
padding: '0px',
|
|
2230
|
+
margin: '0px'
|
|
2231
|
+
},
|
|
2232
|
+
children: ["path:", fieldInstance === null || fieldInstance === void 0 ? void 0 : fieldInstance.path]
|
|
2233
|
+
}), jsx("br", {}), jsx("hr", {})]
|
|
2236
2234
|
}), jsx(FieldWrapperComponentRender, {
|
|
2237
2235
|
props: Object.assign(Object.assign(Object.assign(Object.assign({}, mapProps), state.props), state.errors), valueState),
|
|
2238
2236
|
fieldInstance: fieldInstance,
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bolttech/form-engine",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.29",
|
|
4
4
|
"description": "A react adapter for bolttech form engine",
|
|
5
5
|
"module": "./index.esm.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.esm.js",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@bolttech/form-engine-core": "0.0.1-beta.
|
|
9
|
+
"@bolttech/form-engine-core": "0.0.1-beta.20",
|
|
10
10
|
"react": "18.2.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {}
|