impaktapps-ui-builder 0.0.80 → 0.0.82

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.
@@ -7350,7 +7350,8 @@ const getTextArea = (scope, heading, hideButton, layout) => {
7350
7350
  main: {
7351
7351
  heading,
7352
7352
  minRows: 8,
7353
- hideButton
7353
+ hideButton,
7354
+ enableCodeEditor: true
7354
7355
  }
7355
7356
  }
7356
7357
  };
@@ -7456,8 +7457,8 @@ const buildPropertiesSection = function(type) {
7456
7457
  case "TextArea":
7457
7458
  uiSchema.elements = [
7458
7459
  getInputField("placeholder", "Placeholder"),
7459
- emptyBox$1("TextAreaEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7460
- emptyBox$1("TextAreaEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
7460
+ getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
7461
+ getInputField("codeEditorLanguage", "Enter Code Language")
7461
7462
  ];
7462
7463
  break;
7463
7464
  case "SpeedoMeter":
@@ -11286,6 +11287,12 @@ const buildTextArea = (config, componentScope) => {
11286
11287
  if (config.placeholder) {
11287
11288
  textArea.config.main.placeholder = config.placeholder;
11288
11289
  }
11290
+ if (config.enableCodeEditor) {
11291
+ textArea.config.main.enableCodeEditor = config.enableCodeEditor;
11292
+ }
11293
+ if (config.codeEditorLanguage) {
11294
+ textArea.config.main.codeEditorLanguage = config.codeEditorLanguage;
11295
+ }
11289
11296
  textArea.scope = componentScope;
11290
11297
  return textArea;
11291
11298
  };