@agilemotion/oui-react-js 1.8.0 → 1.8.1
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.
|
@@ -263,6 +263,7 @@ class FoldingTabSidebar extends _react.default.Component {
|
|
|
263
263
|
method: 'POST',
|
|
264
264
|
contentType: 'application/json'
|
|
265
265
|
};
|
|
266
|
+
console.log("\n\n\n\n\n\nCALLING FILTER : ", this.props.routes);
|
|
266
267
|
(0, _RestUtils.invokeRest)(service, {
|
|
267
268
|
api: {
|
|
268
269
|
get id() {
|
|
@@ -46,6 +46,7 @@ const Form = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.forwa
|
|
|
46
46
|
const containerErrorCallback = _react.default.useRef();
|
|
47
47
|
const [sectionHandles] = _react.default.useState({});
|
|
48
48
|
const [fieldParentErrors] = _react.default.useState({});
|
|
49
|
+
const [visible, setVisible] = _react.default.useState(true);
|
|
49
50
|
const loadingRef = _react.default.useRef(true);
|
|
50
51
|
let sectionCounter = 0;
|
|
51
52
|
const api = () => {
|
|
@@ -183,6 +184,9 @@ const Form = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.forwa
|
|
|
183
184
|
sectionHandle.api.refresh();
|
|
184
185
|
}
|
|
185
186
|
}
|
|
187
|
+
if (!_Utils.default.isNull(props.config.visible)) {
|
|
188
|
+
setVisible(_Utils.default.evaluateBooleanExpression(props.config.visible, props.config.id));
|
|
189
|
+
}
|
|
186
190
|
}
|
|
187
191
|
};
|
|
188
192
|
};
|
|
@@ -605,7 +609,7 @@ const Form = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.forwa
|
|
|
605
609
|
}));
|
|
606
610
|
}));
|
|
607
611
|
}
|
|
608
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
612
|
+
return visible && /*#__PURE__*/_react.default.createElement("div", {
|
|
609
613
|
className: props.className,
|
|
610
614
|
ref: ref,
|
|
611
615
|
style: props.className === 'defaultForm' ? _Utils.default.mergeStyles({
|
|
@@ -297,6 +297,6 @@ const SignatureInputProps = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_reac
|
|
|
297
297
|
disabled: value === null,
|
|
298
298
|
onClick: () => handleDelete(),
|
|
299
299
|
id: "signPaletteButton"
|
|
300
|
-
}, "DELETE ITEM")));
|
|
300
|
+
}, "DELETE SELECTED ITEM")));
|
|
301
301
|
}));
|
|
302
302
|
var _default = exports.default = SignatureInputProps;
|
|
@@ -515,7 +515,7 @@ const SignatureTemplateDesigner = /*#__PURE__*/_react.default.memo( /*#__PURE__*
|
|
|
515
515
|
classes: {
|
|
516
516
|
'label': 'paletteButtonLabel'
|
|
517
517
|
}
|
|
518
|
-
}, "Clear"), /*#__PURE__*/_react.default.createElement("div", {
|
|
518
|
+
}, "Clear all"), /*#__PURE__*/_react.default.createElement("div", {
|
|
519
519
|
className: `${classes.propertyWindow}`
|
|
520
520
|
}, /*#__PURE__*/_react.default.createElement(_SignatureInputProps.default, {
|
|
521
521
|
value: selectedInputBoxValue,
|