impaktapps-ui-builder 0.0.93 → 0.0.94

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.
@@ -7321,7 +7321,7 @@ const buildWrapper = (label, elements) => {
7321
7321
  width: "108%"
7322
7322
  },
7323
7323
  componentsBoxStyle: {
7324
- marginLeft: "12px"
7324
+ marginLeft: "24px"
7325
7325
  },
7326
7326
  defaultStyle: true
7327
7327
  },
@@ -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":
@@ -7537,8 +7538,7 @@ const buildPropertiesSection = function(type) {
7537
7538
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
7538
7539
  getInputField("yAxisValue", "Y-AxisValue"),
7539
7540
  getInputField("xAxisValue", "X-AxisValue"),
7540
- getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
7541
- emptyBox$1("GraphEmpty1", { xs: 0, sm: 6, md: 6, lg: 0 }),
7541
+ emptyBox$1("GraphEmpty2"),
7542
7542
  getArrayControl("legendLabels", "label"),
7543
7543
  getArrayControl("pieArcColors", "color")
7544
7544
  ];
@@ -7568,7 +7568,8 @@ const buildPropertiesSection = function(type) {
7568
7568
  getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
7569
7569
  getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
7570
7570
  getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
7571
- getRadioInputField("disableFilters", "Disable Filter", ["YES", "NO"]),
7571
+ getRadioInputField("disableGlobalSearch", "Disable Global Search", ["YES", "NO"]),
7572
+ getRadioInputField("disableColumnFilter", "Disable Column Filter", ["YES", "NO"]),
7572
7573
  getRadioInputField("disableSorting", "Disable Sorting", ["YES", "NO"]),
7573
7574
  getRadioInputField("disableEditColumn", "Disable Edit Column", ["YES", "NO"]),
7574
7575
  getRadioInputField("disableFullScreenToggle", "Disable Full Screen", ["YES", "NO"]),
@@ -7577,7 +7578,6 @@ const buildPropertiesSection = function(type) {
7577
7578
  getRadioInputField("disablePagination", "Disable Pagination", ["YES", "NO"]),
7578
7579
  getInputField("selectKey", "Selection Key"),
7579
7580
  getMultiSelectField("filteringOptions", "Filtering Options"),
7580
- emptyBox$1("LazyLoadingTableEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
7581
7581
  buildWrapper("Tree Table Properties", [
7582
7582
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
7583
7583
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
@@ -9482,9 +9482,10 @@ var service = (funcParams) => {
9482
9482
  }
9483
9483
  const config = pageData == null ? void 0 : pageData.config;
9484
9484
  const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
9485
- new CustomEvent("pageNameChanged", {
9485
+ const event2 = new CustomEvent("pageNameChanged", {
9486
9486
  detail: { pageName: config.label }
9487
9487
  });
9488
+ window.dispatchEvent(event2);
9488
9489
  const theme = (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
9489
9490
  uiSchema.elements.push(
9490
9491
  {
@@ -9519,14 +9520,13 @@ var service = (funcParams) => {
9519
9520
  color: ((_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text.disabled) || "#AFAFAF",
9520
9521
  fontSize: "12px",
9521
9522
  textAlign: "center",
9522
- lineHeight: 2,
9523
+ lineHeight: 1,
9523
9524
  width: "fit-content",
9524
9525
  left: "50%",
9525
9526
  position: "relative",
9526
9527
  margin: 0,
9527
9528
  flexGrow: 1,
9528
- height: 0,
9529
- transform: "translate(-50%,0%)"
9529
+ height: 0
9530
9530
  }
9531
9531
  }
9532
9532
  },
@@ -10219,7 +10219,6 @@ const BarGraph = {
10219
10219
  widget: "Graph"
10220
10220
  },
10221
10221
  config: {
10222
- layout: { xs: 12, sm: 12, md: 12, lg: 6 },
10223
10222
  main: {},
10224
10223
  style: { containerStyle: {} }
10225
10224
  }
@@ -10231,7 +10230,6 @@ const PieGraph = {
10231
10230
  widget: "Graph"
10232
10231
  },
10233
10232
  config: {
10234
- layout: { xs: 12, sm: 12, md: 12, lg: 6 },
10235
10233
  main: {
10236
10234
  type: "PieGraph"
10237
10235
  },
@@ -10245,7 +10243,7 @@ const LineGraph = {
10245
10243
  widget: "Graph"
10246
10244
  },
10247
10245
  config: {
10248
- layout: { xs: 12, sm: 12, md: 12, lg: 6 },
10246
+ layout: 12,
10249
10247
  main: {
10250
10248
  type: "LineGraph",
10251
10249
  header: "Quartely Incentive in Thousand",
@@ -10280,7 +10278,6 @@ const HorizontalBarGraph = {
10280
10278
  widget: "Graph"
10281
10279
  },
10282
10280
  config: {
10283
- layout: { xs: 12, sm: 12, md: 12, lg: 6 },
10284
10281
  main: {
10285
10282
  type: "HorizontalBarGraph"
10286
10283
  },
@@ -10296,12 +10293,6 @@ const buildHorizontalBarGraph = (config, componentScope) => {
10296
10293
  horizontalBarGraph.config.main.type = config.graphType;
10297
10294
  horizontalBarGraph.scope = componentScope;
10298
10295
  horizontalBarGraph.config.main.header = config.heading;
10299
- if (config.legendHide) {
10300
- horizontalBarGraph.config.main.legendAvailable = config.legendHide === "YES" ? false : true;
10301
- }
10302
- if (config.bottomAxisAngle) {
10303
- horizontalBarGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
10304
- }
10305
10296
  if (config.barColor) {
10306
10297
  horizontalBarGraph.config.barStyle.color = config.barColor;
10307
10298
  }
@@ -10458,10 +10449,6 @@ const buildStackbarGraph = (config, componentScope) => {
10458
10449
  }
10459
10450
  if (config.legendHide) {
10460
10451
  barGraph.config.main.legendAvailable = config.legendHide;
10461
- barGraph.config.main.legendAvailable = config.legendHide === "YES" ? false : true;
10462
- }
10463
- if (config.bottomAxisAngle) {
10464
- barGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
10465
10452
  }
10466
10453
  barGraph.config.main.type = config.graphType;
10467
10454
  barGraph.config.main.header = config.heading;
@@ -10640,7 +10627,7 @@ var Button = {
10640
10627
  styleDefault: false,
10641
10628
  icon: "",
10642
10629
  onClick: "onClick",
10643
- size: "medium"
10630
+ size: "small"
10644
10631
  },
10645
10632
  style: {}
10646
10633
  }
@@ -10735,8 +10722,11 @@ const buildTable = (config, componentScope) => {
10735
10722
  if (config.downloadAllData) {
10736
10723
  table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
10737
10724
  }
10738
- if (config.disableFilters) {
10739
- table.config.main.disableFilters = config.disableFilters === "YES" ? true : false;
10725
+ if (config.disableGlobalSearch) {
10726
+ table.config.main.disableGlobalSearch = config.disableGlobalSearch === "YES" ? true : false;
10727
+ }
10728
+ if (config.disableColumnFilter) {
10729
+ table.config.main.disableColumnFilter = config.disableColumnFilter === "YES" ? true : false;
10740
10730
  }
10741
10731
  if (config.disableSorting) {
10742
10732
  table.config.main.disableSorting = config.disableSorting === "YES" ? true : false;
@@ -11242,6 +11232,12 @@ const buildTextArea = (config, componentScope) => {
11242
11232
  if (config.placeholder) {
11243
11233
  textArea.config.main.placeholder = config.placeholder;
11244
11234
  }
11235
+ if (config.enableCodeEditor) {
11236
+ textArea.config.main.enableCodeEditor = config.enableCodeEditor === "YES" ? true : false;
11237
+ }
11238
+ if (config.codeEditorLanguage) {
11239
+ textArea.config.main.codeEditorLanguage = config.codeEditorLanguage;
11240
+ }
11245
11241
  textArea.scope = componentScope;
11246
11242
  return textArea;
11247
11243
  };
@@ -11316,9 +11312,6 @@ const buildLineGraph = (config, componentScope) => {
11316
11312
  if (config.legendHide) {
11317
11313
  lineGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
11318
11314
  }
11319
- if (config.bottomAxisAngle) {
11320
- lineGraph.config.main.bottomAxisAngle = config.bottomAxisAngle === "YES" ? true : false;
11321
- }
11322
11315
  if (config.legendLabels) {
11323
11316
  lineGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
11324
11317
  }