config-editor-base 1.5.4 → 1.5.5

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.
@@ -1380,7 +1380,8 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
1380
1380
  schemaContent = _this$props.schemaContent,
1381
1381
  editorTools = _this$props.editorTools,
1382
1382
  sideBarPadding = _this$props.sideBarPadding;
1383
- console.log('editorConfigFiles', editorConfigFiles);
1383
+ var editorUISchemaFile = editorUISchemaFiles[0] ? editorUISchemaFiles[0].name : "";
1384
+ var editorUIAdvancedSimpleTest = editorUISchemaFile.includes("Simple") || editorUISchemaFile.includes("Advanced");
1384
1385
  var FormWithNav = schemaContent ? applyNav(Form, EditorNavs) : Form;
1385
1386
  var editorToolsFull = editorTools.concat({
1386
1387
  name: 'partialconfig-modal',
@@ -1436,7 +1437,11 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
1436
1437
  className: "schema-loader-callout uischema-loader"
1437
1438
  }, /*#__PURE__*/React.createElement("p", {
1438
1439
  className: "loader-callout"
1439
- }, "Load your UIschema File ", /*#__PURE__*/React.createElement("br", null), "(uischema-XX.YY.json)")) : null, /*#__PURE__*/React.createElement(FormWithNav, {
1440
+ }, "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", {
1441
+ className: "schema-loader-callout uischema-loader fadeout-box"
1442
+ }, /*#__PURE__*/React.createElement("p", {
1443
+ className: "loader-callout"
1444
+ }, "Toggle simple/advanced settings")) : null, /*#__PURE__*/React.createElement(FormWithNav, {
1440
1445
  omitExtraData: true,
1441
1446
  liveOmit: true,
1442
1447
  liveValidate: true,