@wise/dynamic-flow-client 3.21.1 → 3.21.2
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/build/main.js +3 -2
- package/build/main.min.js +1 -1
- package/build/main.mjs +3 -2
- package/package.json +3 -3
package/build/main.js
CHANGED
|
@@ -16916,9 +16916,10 @@ function OneOfSchema(props) {
|
|
|
16916
16916
|
"form-group": true,
|
|
16917
16917
|
"has-error": !changed && props.errors && !isEmpty(props.errors) || (props.submitted || changed && blurred) && validations.length
|
|
16918
16918
|
};
|
|
16919
|
+
const isHidden = props.schema.hidden;
|
|
16919
16920
|
const feedbackId = `${id}-feedback`;
|
|
16920
16921
|
const labelId = `${id}-label`;
|
|
16921
|
-
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_jsx_runtime92.Fragment, { children: [
|
|
16922
|
+
return !isHidden ? /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_jsx_runtime92.Fragment, { children: [
|
|
16922
16923
|
(props.schema.oneOf.length > 1 || isConstSchema2(props.schema.oneOf[0])) && /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_jsx_runtime92.Fragment, { children: [
|
|
16923
16924
|
props.schema.alert && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(DynamicAlert_default, { component: props.schema.alert }),
|
|
16924
16925
|
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: (0, import_classnames11.default)(formGroupClasses), children: [
|
|
@@ -16969,7 +16970,7 @@ function OneOfSchema(props) {
|
|
|
16969
16970
|
onPersistAsync: props.onPersistAsync
|
|
16970
16971
|
}
|
|
16971
16972
|
)
|
|
16972
|
-
] });
|
|
16973
|
+
] }) : null;
|
|
16973
16974
|
}
|
|
16974
16975
|
function getTitleAndHelp(schema, forId, labelId) {
|
|
16975
16976
|
var _a;
|