config-editor-base 1.6.4 → 1.6.6

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.
@@ -18407,7 +18407,9 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
18407
18407
  _this.escFunction = _this.escFunction.bind(_assertThisInitialized(_this));
18408
18408
  _this.subMenuBtnClick = _this.subMenuBtnClick.bind(_assertThisInitialized(_this));
18409
18409
  _this.handleDropdownChange = _this.handleDropdownChange.bind(_assertThisInitialized(_this));
18410
+ _this.hideUischemaModal = _this.hideUischemaModal.bind(_assertThisInitialized(_this));
18410
18411
  _this.state = {
18412
+ showUischemaModal: true,
18411
18413
  schema: '',
18412
18414
  selecteduischema: '',
18413
18415
  selectedschema: '',
@@ -18447,6 +18449,12 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
18447
18449
  });
18448
18450
  };
18449
18451
 
18452
+ _proto.hideUischemaModal = function hideUischemaModal() {
18453
+ this.setState({
18454
+ showUischemaModal: false
18455
+ });
18456
+ };
18457
+
18450
18458
  _proto.handleDropdownChange = function handleDropdownChange(selection, dropdown) {
18451
18459
  var _this$setState,
18452
18460
  _this3 = this;
@@ -18690,7 +18698,11 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
18690
18698
  }, /*#__PURE__*/React.createElement("p", {
18691
18699
  className: "loader-callout"
18692
18700
  }, "Load your UIschema File ", /*#__PURE__*/React.createElement("br", null), "(uischema-XX.YY.json)")) : null, editorConfigFiles.length != 0 && editorSchemaFiles.length != 0 && editorUIAdvancedSimpleTest == true ? /*#__PURE__*/React.createElement("div", {
18693
- className: "schema-loader-callout uischema-loader fadeout-box"
18701
+ onClick: this.hideUischemaModal,
18702
+ className: "schema-loader-callout uischema-loader fadeout-box",
18703
+ style: {
18704
+ display: this.state.showUischemaModal ? 'block' : 'none'
18705
+ }
18694
18706
  }, /*#__PURE__*/React.createElement("p", {
18695
18707
  className: "loader-callout"
18696
18708
  }, "Change 'Presentation Mode' to unhide/hide advanced settings")) : null, /*#__PURE__*/React.createElement(FormWithNav, {