impaktapps-ui-builder 0.0.307 → 0.0.309

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.
@@ -5864,7 +5864,6 @@ const ComponentSchema = {
5864
5864
  type: "object",
5865
5865
  properties: {
5866
5866
  type: {
5867
- type: "string",
5868
5867
  oneOf: [
5869
5868
  { title: "AadharcardText", const: "AadharcardText" },
5870
5869
  { title: "Array", const: "Array" },
@@ -5980,6 +5979,17 @@ const ComponentSchema = {
5980
5979
  }
5981
5980
  }
5982
5981
  },
5982
+ Table_Download_Keys_Name: {
5983
+ type: "array",
5984
+ items: {
5985
+ type: "object",
5986
+ properties: {
5987
+ KeyName: {
5988
+ type: "string"
5989
+ }
5990
+ }
5991
+ }
5992
+ },
5983
5993
  legendLabels: {
5984
5994
  type: "array",
5985
5995
  items: {
@@ -6886,8 +6896,9 @@ const buildPropertiesSection = function(type) {
6886
6896
  getRadioInputField("SelectionAvailable", "Selection Available", ["YES", "NO"]),
6887
6897
  getRadioInputField("ColumnResizingAvailable", "ColumnResizing Available", ["YES", "NO"]),
6888
6898
  getRadioInputField("DragAvailable", "Drag Available", ["YES", "NO"]),
6899
+ getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
6889
6900
  getInputField("selectKey", "Selection Key"),
6890
- EmptyBox
6901
+ getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name")
6891
6902
  ];
6892
6903
  } else if (type === "Radio") {
6893
6904
  uiSchema.elements = [
@@ -9354,6 +9365,7 @@ var Table = {
9354
9365
  config: {
9355
9366
  main: {
9356
9367
  allRowData: [],
9368
+ downloadAllData: false,
9357
9369
  columns: {
9358
9370
  dataColumns: [],
9359
9371
  actionColumns: []
@@ -9392,6 +9404,12 @@ const buildTable = (config, componentScope) => {
9392
9404
  if (config.DragAvailable) {
9393
9405
  table.config.main.enableDrag = config.DragAvailable === "YES" ? true : false;
9394
9406
  }
9407
+ if (config.downloadAllData) {
9408
+ table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
9409
+ }
9410
+ if (config.Table_Download_Keys_Name) {
9411
+ table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
9412
+ }
9395
9413
  if (config.selectKey) {
9396
9414
  table.config.main.selectKey = config.selectKey;
9397
9415
  }
@@ -9415,6 +9433,12 @@ const buildLazyLoadingTable = (config, componentScope) => {
9415
9433
  if (config.selectKey) {
9416
9434
  table.config.main.selectKey = config.selectKey;
9417
9435
  }
9436
+ if (config.downloadAllData) {
9437
+ table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
9438
+ }
9439
+ if (config.Table_Download_Keys_Name) {
9440
+ table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
9441
+ }
9418
9442
  table.config.main.label = config.label;
9419
9443
  return table;
9420
9444
  };