impaktapps-ui-builder 0.0.101-alpha.73 → 0.0.101-alpha.75

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.
@@ -8313,7 +8313,7 @@ const getNavigationHistory = (config2, path) => {
8313
8313
  urlRoutes = urlRoutes + " > NewComponent";
8314
8314
  }
8315
8315
  });
8316
- return { pageName: urlRoutes };
8316
+ return { pageName: urlRoutes != null ? urlRoutes : "NewPage" };
8317
8317
  }
8318
8318
  return void 0;
8319
8319
  };
@@ -8457,7 +8457,7 @@ function refreshPage(type, store2) {
8457
8457
  }
8458
8458
  }
8459
8459
  };
8460
- UiSchema.elements[0].elements[0].elements[5] = {
8460
+ UiSchema.elements[0].elements[0].elements[6] = {
8461
8461
  type: "Control",
8462
8462
  scope: "#/properties/filteringOptions",
8463
8463
  options: {
@@ -8471,7 +8471,7 @@ function refreshPage(type, store2) {
8471
8471
  }
8472
8472
  }
8473
8473
  };
8474
- UiSchema.elements[0].elements[0].elements[6] = {
8474
+ UiSchema.elements[0].elements[0].elements[5] = {
8475
8475
  type: "Control",
8476
8476
  scope: "#/properties/enableFilter",
8477
8477
  options: {
@@ -8481,15 +8481,27 @@ function refreshPage(type, store2) {
8481
8481
  layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8482
8482
  main: {
8483
8483
  label: "Enable Filter",
8484
- options: ["Yes", "No"],
8485
- errorMessage: "Active is not marked YES or NO"
8484
+ options: ["Yes", "No"]
8486
8485
  }
8487
8486
  }
8488
8487
  }, UiSchema.elements[0].elements[0].elements[7] = {
8488
+ type: "Control",
8489
+ scope: "#/properties/enableSorting",
8490
+ options: {
8491
+ widget: "RadioInputField"
8492
+ },
8493
+ config: {
8494
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8495
+ main: {
8496
+ label: "Enable Sorting",
8497
+ options: ["Yes", "No"]
8498
+ }
8499
+ }
8500
+ }, UiSchema.elements[0].elements[0].elements[8] = {
8489
8501
  type: "Control",
8490
8502
  scope: "#/properties/proc",
8491
8503
  config: {
8492
- layout: { xs: 0, sm: 0, md: 0, lg: 6 }
8504
+ layout: { xs: 6, sm: 6, md: 8, lg: 3 }
8493
8505
  },
8494
8506
  options: {
8495
8507
  widget: "EmptyBox"
@@ -12536,7 +12548,8 @@ const buildUiSchema = (config2, store2) => {
12536
12548
  widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
12537
12549
  elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : [],
12538
12550
  columnFilterModeOptions: cellElem.filteringOptions,
12539
- enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false
12551
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false,
12552
+ enableSorting: cellElem.enableSorting === "Yes" ? true : false
12540
12553
  };
12541
12554
  } else {
12542
12555
  return {
@@ -12545,7 +12558,8 @@ const buildUiSchema = (config2, store2) => {
12545
12558
  header: cellElem.label || cellElem.name,
12546
12559
  size: sizeMap[cellElem.name] || 180,
12547
12560
  columnFilterModeOptions: cellElem.filteringOptions,
12548
- enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false
12561
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false,
12562
+ enableSorting: cellElem.enableSorting === "Yes" ? true : false
12549
12563
  };
12550
12564
  }
12551
12565
  });