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.
package/dist/index.js CHANGED
@@ -18410,7 +18410,9 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
18410
18410
  _this.escFunction = _this.escFunction.bind(_assertThisInitialized(_this));
18411
18411
  _this.subMenuBtnClick = _this.subMenuBtnClick.bind(_assertThisInitialized(_this));
18412
18412
  _this.handleDropdownChange = _this.handleDropdownChange.bind(_assertThisInitialized(_this));
18413
+ _this.hideUischemaModal = _this.hideUischemaModal.bind(_assertThisInitialized(_this));
18413
18414
  _this.state = {
18415
+ showUischemaModal: true,
18414
18416
  schema: '',
18415
18417
  selecteduischema: '',
18416
18418
  selectedschema: '',
@@ -18450,6 +18452,12 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
18450
18452
  });
18451
18453
  };
18452
18454
 
18455
+ _proto.hideUischemaModal = function hideUischemaModal() {
18456
+ this.setState({
18457
+ showUischemaModal: false
18458
+ });
18459
+ };
18460
+
18453
18461
  _proto.handleDropdownChange = function handleDropdownChange(selection, dropdown) {
18454
18462
  var _this$setState,
18455
18463
  _this3 = this;
@@ -18693,7 +18701,11 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
18693
18701
  }, /*#__PURE__*/React.createElement("p", {
18694
18702
  className: "loader-callout"
18695
18703
  }, "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", {
18696
- className: "schema-loader-callout uischema-loader fadeout-box"
18704
+ onClick: this.hideUischemaModal,
18705
+ className: "schema-loader-callout uischema-loader fadeout-box",
18706
+ style: {
18707
+ display: this.state.showUischemaModal ? 'block' : 'none'
18708
+ }
18697
18709
  }, /*#__PURE__*/React.createElement("p", {
18698
18710
  className: "loader-callout"
18699
18711
  }, "Change 'Presentation Mode' to unhide/hide advanced settings")) : null, /*#__PURE__*/React.createElement(FormWithNav, {