impaktapps-ui-builder 1.0.241 → 1.0.242
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 +8 -15
- 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/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildPop.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +0 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -4
- package/src/impaktapps-ui-builder/builder/services/component.ts +1 -2
- package/src/impaktapps-ui-builder/runtime/services/service.ts +2 -3
|
@@ -8250,12 +8250,11 @@ const buildPropertiesSection = function(type) {
|
|
|
8250
8250
|
buildWrapper("Tree Table Properties", [
|
|
8251
8251
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
8252
8252
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
8253
|
-
getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
|
|
8254
8253
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
8255
8254
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8256
8255
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8257
8256
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8258
|
-
|
|
8257
|
+
,
|
|
8259
8258
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8260
8259
|
]),
|
|
8261
8260
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -8863,7 +8862,7 @@ const sectionLabels = {
|
|
|
8863
8862
|
Radio: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8864
8863
|
Text: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8865
8864
|
TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8866
|
-
PopUp: ["Core", "Components", "Properties", "Style"],
|
|
8865
|
+
PopUp: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8867
8866
|
PopOver: ["Core", "Components", "Properties", "Style"],
|
|
8868
8867
|
Stepper: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8869
8868
|
DataGrid: ["Core", "Components", "Properties", "Events", "Style"],
|
|
@@ -10836,13 +10835,13 @@ var service = (funcParams) => {
|
|
|
10836
10835
|
});
|
|
10837
10836
|
},
|
|
10838
10837
|
getStyle: () => {
|
|
10839
|
-
var _a, _b, _c, _d
|
|
10838
|
+
var _a, _b, _c, _d;
|
|
10840
10839
|
const cloneEventGroup = _.cloneDeep(eventGroups);
|
|
10841
10840
|
if (cloneEventGroup.setStyle) {
|
|
10842
10841
|
let finalResponse = {};
|
|
10843
|
-
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || ((
|
|
10844
|
-
if ((
|
|
10845
|
-
for (const eventConfig of (
|
|
10842
|
+
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || ((_b = funcParams == null ? void 0 : funcParams.dynamicData.path) == null ? void 0 : _b.split(".").pop());
|
|
10843
|
+
if ((_c = cloneEventGroup == null ? void 0 : cloneEventGroup.setStyle) == null ? void 0 : _c[path]) {
|
|
10844
|
+
for (const eventConfig of (_d = cloneEventGroup == null ? void 0 : cloneEventGroup.setStyle) == null ? void 0 : _d[path]) {
|
|
10846
10845
|
finalResponse = executeEvents({
|
|
10847
10846
|
...executeEventsParameters,
|
|
10848
10847
|
config: eventConfig,
|
|
@@ -10913,8 +10912,7 @@ var service = (funcParams) => {
|
|
|
10913
10912
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10914
10913
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10915
10914
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10916
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10917
|
-
{ key: "subRowsPagination", value: paginationValues.subRowsPagination || [] }
|
|
10915
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10918
10916
|
];
|
|
10919
10917
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10920
10918
|
return response == null ? void 0 : response.data;
|
|
@@ -11711,15 +11709,9 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11711
11709
|
if (config2.lazyLoading) {
|
|
11712
11710
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11713
11711
|
}
|
|
11714
|
-
if (config2.lazyLoadTree) {
|
|
11715
|
-
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11716
|
-
}
|
|
11717
11712
|
if (config2.defaultColumnSize) {
|
|
11718
11713
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11719
11714
|
}
|
|
11720
|
-
if (config2.subRowsExpansionPageSize) {
|
|
11721
|
-
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11722
|
-
}
|
|
11723
11715
|
if (config2.enableRowMovement) {
|
|
11724
11716
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11725
11717
|
}
|
|
@@ -12729,6 +12721,7 @@ const PopUP = {
|
|
|
12729
12721
|
},
|
|
12730
12722
|
main: {
|
|
12731
12723
|
label: "PopUp",
|
|
12724
|
+
onClick: "onClick",
|
|
12732
12725
|
fullScreen: false,
|
|
12733
12726
|
fullWidth: false,
|
|
12734
12727
|
maxWidth: false,
|