impaktapps-ui-builder 0.0.85 → 0.0.87
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 +0 -67
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +9 -9
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildTable.d.ts +0 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +1 -52
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +1 -4
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +0 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.d.ts +0 -15
- package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -15
|
@@ -7561,7 +7561,6 @@ const buildPropertiesSection = function(type) {
|
|
|
7561
7561
|
];
|
|
7562
7562
|
break;
|
|
7563
7563
|
case "Table":
|
|
7564
|
-
case "LazyLoadingTable":
|
|
7565
7564
|
uiSchema.elements = [
|
|
7566
7565
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7567
7566
|
getRadioInputField("SelectionAvailable", "Row Selection", ["YES", "NO"]),
|
|
@@ -9217,7 +9216,6 @@ function getRefreshElements(eventConfig, eventGropus) {
|
|
|
9217
9216
|
} else {
|
|
9218
9217
|
if (eventGropus == null ? void 0 : eventGropus.onLoad) {
|
|
9219
9218
|
result = Object.keys(eventGropus == null ? void 0 : eventGropus.onLoad);
|
|
9220
|
-
result.push(result[0]);
|
|
9221
9219
|
}
|
|
9222
9220
|
}
|
|
9223
9221
|
return result;
|
|
@@ -10687,20 +10685,6 @@ var Table = {
|
|
|
10687
10685
|
}
|
|
10688
10686
|
}
|
|
10689
10687
|
};
|
|
10690
|
-
var lazyLoadingTable = {
|
|
10691
|
-
type: "Control",
|
|
10692
|
-
scope: "#/properties/LazyLoadingTable",
|
|
10693
|
-
options: {
|
|
10694
|
-
widget: "LazyLoadingTable"
|
|
10695
|
-
},
|
|
10696
|
-
elements: [],
|
|
10697
|
-
config: {
|
|
10698
|
-
main: {
|
|
10699
|
-
onMount: "onMount",
|
|
10700
|
-
columns: {}
|
|
10701
|
-
}
|
|
10702
|
-
}
|
|
10703
|
-
};
|
|
10704
10688
|
const buildTable = (config, componentScope) => {
|
|
10705
10689
|
const table = _.cloneDeep(Table);
|
|
10706
10690
|
table.scope = componentScope;
|
|
@@ -10766,54 +10750,6 @@ const buildTable = (config, componentScope) => {
|
|
|
10766
10750
|
}
|
|
10767
10751
|
return table;
|
|
10768
10752
|
};
|
|
10769
|
-
const buildLazyLoadingTable = (config, componentScope) => {
|
|
10770
|
-
const table = _.cloneDeep(lazyLoadingTable);
|
|
10771
|
-
table.scope = componentScope;
|
|
10772
|
-
if (config.style) {
|
|
10773
|
-
table.config.style = JSON.parse(config.style);
|
|
10774
|
-
}
|
|
10775
|
-
if (config.SelectionAvailable) {
|
|
10776
|
-
table.config.main.Selection = config.SelectionAvailable === "YES" ? true : false;
|
|
10777
|
-
}
|
|
10778
|
-
if (config.ColumnResizingAvailable) {
|
|
10779
|
-
table.config.main.disableColumnResizing = config.ColumnResizingAvailable === "YES" ? false : true;
|
|
10780
|
-
}
|
|
10781
|
-
if (config.DragAvailable) {
|
|
10782
|
-
table.config.main.enableDrag = config.DragAvailable === "YES" ? true : false;
|
|
10783
|
-
}
|
|
10784
|
-
if (config.selectKey) {
|
|
10785
|
-
table.config.main.selectKey = config.selectKey;
|
|
10786
|
-
}
|
|
10787
|
-
if (config.downloadAllData) {
|
|
10788
|
-
table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
|
|
10789
|
-
}
|
|
10790
|
-
if (config.disableFilters) {
|
|
10791
|
-
table.config.main.disableFilters = config.disableFilters === "YES" ? true : false;
|
|
10792
|
-
}
|
|
10793
|
-
if (config.disableSorting) {
|
|
10794
|
-
table.config.main.disableSorting = config.disableSorting === "YES" ? true : false;
|
|
10795
|
-
}
|
|
10796
|
-
if (config.disableEditColumn) {
|
|
10797
|
-
table.config.main.disableEditColumn = config.disableEditColumn === "YES" ? true : false;
|
|
10798
|
-
}
|
|
10799
|
-
if (config.disableFullScreenToggle) {
|
|
10800
|
-
table.config.main.disableFullScreenToggle = config.disableFullScreenToggle === "YES" ? true : false;
|
|
10801
|
-
}
|
|
10802
|
-
if (config.disableDensityToggle) {
|
|
10803
|
-
table.config.main.disableDensityToggle = config.disableDensityToggle === "YES" ? true : false;
|
|
10804
|
-
}
|
|
10805
|
-
if (config.disableDownloadFile) {
|
|
10806
|
-
table.config.main.disableDownloadFile = config.disableDownloadFile === "YES" ? true : false;
|
|
10807
|
-
}
|
|
10808
|
-
if (config.disablePagination) {
|
|
10809
|
-
table.config.main.disablePagination = config.disablePagination === "YES" ? true : false;
|
|
10810
|
-
}
|
|
10811
|
-
if (config.Table_Download_Keys_Name) {
|
|
10812
|
-
table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
|
|
10813
|
-
}
|
|
10814
|
-
table.config.main.label = config.label;
|
|
10815
|
-
return table;
|
|
10816
|
-
};
|
|
10817
10753
|
const Box = {
|
|
10818
10754
|
type: "Control",
|
|
10819
10755
|
scope: "#/properties/emptyBox",
|
|
@@ -11909,9 +11845,6 @@ const buildUiSchema = (config, store2) => {
|
|
|
11909
11845
|
case "Array":
|
|
11910
11846
|
elements = buildArray(config, componentScope);
|
|
11911
11847
|
break;
|
|
11912
|
-
case "LazyLoadingTable":
|
|
11913
|
-
elements = buildLazyLoadingTable(config, componentScope);
|
|
11914
|
-
break;
|
|
11915
11848
|
case "Box":
|
|
11916
11849
|
elements = buildLabel(config, componentScope);
|
|
11917
11850
|
break;
|