impaktapps-ui-builder 0.0.306 → 0.0.308
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.
- package/dist/impaktapps-ui-builder.es.js +27 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +3 -3
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +13 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +13 -1
|
@@ -5980,6 +5980,17 @@ const ComponentSchema = {
|
|
|
5980
5980
|
}
|
|
5981
5981
|
}
|
|
5982
5982
|
},
|
|
5983
|
+
Table_Download_Keys_Name: {
|
|
5984
|
+
type: "array",
|
|
5985
|
+
items: {
|
|
5986
|
+
type: "object",
|
|
5987
|
+
properties: {
|
|
5988
|
+
KeyName: {
|
|
5989
|
+
type: "string"
|
|
5990
|
+
}
|
|
5991
|
+
}
|
|
5992
|
+
}
|
|
5993
|
+
},
|
|
5983
5994
|
legendLabels: {
|
|
5984
5995
|
type: "array",
|
|
5985
5996
|
items: {
|
|
@@ -6087,7 +6098,7 @@ const ComponentSchema = {
|
|
|
6087
6098
|
},
|
|
6088
6099
|
label: { type: "string" }
|
|
6089
6100
|
},
|
|
6090
|
-
required: ["
|
|
6101
|
+
required: ["name"]
|
|
6091
6102
|
};
|
|
6092
6103
|
const componentBasicUiSchema = {
|
|
6093
6104
|
type: "HorizontalLayout",
|
|
@@ -6886,8 +6897,9 @@ const buildPropertiesSection = function(type) {
|
|
|
6886
6897
|
getRadioInputField("SelectionAvailable", "Selection Available", ["YES", "NO"]),
|
|
6887
6898
|
getRadioInputField("ColumnResizingAvailable", "ColumnResizing Available", ["YES", "NO"]),
|
|
6888
6899
|
getRadioInputField("DragAvailable", "Drag Available", ["YES", "NO"]),
|
|
6900
|
+
getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
|
|
6889
6901
|
getInputField("selectKey", "Selection Key"),
|
|
6890
|
-
|
|
6902
|
+
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name")
|
|
6891
6903
|
];
|
|
6892
6904
|
} else if (type === "Radio") {
|
|
6893
6905
|
uiSchema.elements = [
|
|
@@ -9354,6 +9366,7 @@ var Table = {
|
|
|
9354
9366
|
config: {
|
|
9355
9367
|
main: {
|
|
9356
9368
|
allRowData: [],
|
|
9369
|
+
downloadAllData: false,
|
|
9357
9370
|
columns: {
|
|
9358
9371
|
dataColumns: [],
|
|
9359
9372
|
actionColumns: []
|
|
@@ -9392,6 +9405,12 @@ const buildTable = (config, componentScope) => {
|
|
|
9392
9405
|
if (config.DragAvailable) {
|
|
9393
9406
|
table.config.main.enableDrag = config.DragAvailable === "YES" ? true : false;
|
|
9394
9407
|
}
|
|
9408
|
+
if (config.downloadAllData) {
|
|
9409
|
+
table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
|
|
9410
|
+
}
|
|
9411
|
+
if (config.Table_Download_Keys_Name) {
|
|
9412
|
+
table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
|
|
9413
|
+
}
|
|
9395
9414
|
if (config.selectKey) {
|
|
9396
9415
|
table.config.main.selectKey = config.selectKey;
|
|
9397
9416
|
}
|
|
@@ -9415,6 +9434,12 @@ const buildLazyLoadingTable = (config, componentScope) => {
|
|
|
9415
9434
|
if (config.selectKey) {
|
|
9416
9435
|
table.config.main.selectKey = config.selectKey;
|
|
9417
9436
|
}
|
|
9437
|
+
if (config.downloadAllData) {
|
|
9438
|
+
table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
|
|
9439
|
+
}
|
|
9440
|
+
if (config.Table_Download_Keys_Name) {
|
|
9441
|
+
table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
|
|
9442
|
+
}
|
|
9418
9443
|
table.config.main.label = config.label;
|
|
9419
9444
|
return table;
|
|
9420
9445
|
};
|