config-editor-base 1.6.4 → 1.6.7

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
@@ -18187,7 +18187,9 @@ function ArrayFieldTemplate(props) {
18187
18187
  key: element.index
18188
18188
  }, /*#__PURE__*/React.createElement("div", {
18189
18189
  className: "position-relative"
18190
- }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, element.children), /*#__PURE__*/React.createElement("div", {
18190
+ }, /*#__PURE__*/React.createElement("div", {
18191
+ "class": "rjsf-array-list"
18192
+ }, /*#__PURE__*/React.createElement("div", null, element.children), /*#__PURE__*/React.createElement("div", {
18191
18193
  className: "special-array-buttons"
18192
18194
  }, element.hasMoveDown && /*#__PURE__*/React.createElement("button", {
18193
18195
  className: "btn btn-default array-item-move-down",
@@ -18410,7 +18412,9 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
18410
18412
  _this.escFunction = _this.escFunction.bind(_assertThisInitialized(_this));
18411
18413
  _this.subMenuBtnClick = _this.subMenuBtnClick.bind(_assertThisInitialized(_this));
18412
18414
  _this.handleDropdownChange = _this.handleDropdownChange.bind(_assertThisInitialized(_this));
18415
+ _this.hideUischemaModal = _this.hideUischemaModal.bind(_assertThisInitialized(_this));
18413
18416
  _this.state = {
18417
+ showUischemaModal: true,
18414
18418
  schema: '',
18415
18419
  selecteduischema: '',
18416
18420
  selectedschema: '',
@@ -18450,6 +18454,12 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
18450
18454
  });
18451
18455
  };
18452
18456
 
18457
+ _proto.hideUischemaModal = function hideUischemaModal() {
18458
+ this.setState({
18459
+ showUischemaModal: false
18460
+ });
18461
+ };
18462
+
18453
18463
  _proto.handleDropdownChange = function handleDropdownChange(selection, dropdown) {
18454
18464
  var _this$setState,
18455
18465
  _this3 = this;
@@ -18693,7 +18703,11 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
18693
18703
  }, /*#__PURE__*/React.createElement("p", {
18694
18704
  className: "loader-callout"
18695
18705
  }, "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"
18706
+ onClick: this.hideUischemaModal,
18707
+ className: "schema-loader-callout uischema-loader fadeout-box",
18708
+ style: {
18709
+ display: this.state.showUischemaModal ? 'block' : 'none'
18710
+ }
18697
18711
  }, /*#__PURE__*/React.createElement("p", {
18698
18712
  className: "loader-callout"
18699
18713
  }, "Change 'Presentation Mode' to unhide/hide advanced settings")) : null, /*#__PURE__*/React.createElement(FormWithNav, {