impaktapps-ui-builder 1.0.241 → 1.0.243
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 +9 -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/elements/UiSchema/event/schema.ts +2 -3
- 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"],
|
|
@@ -9448,6 +9447,7 @@ const EventSchema = {
|
|
|
9448
9447
|
{ title: "Row Movement", const: "onRowMovement" },
|
|
9449
9448
|
{ title: "Download", const: "onDownload" },
|
|
9450
9449
|
{ title: "Fail", const: "Fail" },
|
|
9450
|
+
{ title: "onClose", const: "onClose" },
|
|
9451
9451
|
{ title: "Key Down", const: "onKeyDown" },
|
|
9452
9452
|
{ title: "Set Style", const: "setStyle" }
|
|
9453
9453
|
]
|
|
@@ -10836,13 +10836,13 @@ var service = (funcParams) => {
|
|
|
10836
10836
|
});
|
|
10837
10837
|
},
|
|
10838
10838
|
getStyle: () => {
|
|
10839
|
-
var _a, _b, _c, _d
|
|
10839
|
+
var _a, _b, _c, _d;
|
|
10840
10840
|
const cloneEventGroup = _.cloneDeep(eventGroups);
|
|
10841
10841
|
if (cloneEventGroup.setStyle) {
|
|
10842
10842
|
let finalResponse = {};
|
|
10843
|
-
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || ((
|
|
10844
|
-
if ((
|
|
10845
|
-
for (const eventConfig of (
|
|
10843
|
+
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || ((_b = funcParams == null ? void 0 : funcParams.dynamicData.path) == null ? void 0 : _b.split(".").pop());
|
|
10844
|
+
if ((_c = cloneEventGroup == null ? void 0 : cloneEventGroup.setStyle) == null ? void 0 : _c[path]) {
|
|
10845
|
+
for (const eventConfig of (_d = cloneEventGroup == null ? void 0 : cloneEventGroup.setStyle) == null ? void 0 : _d[path]) {
|
|
10846
10846
|
finalResponse = executeEvents({
|
|
10847
10847
|
...executeEventsParameters,
|
|
10848
10848
|
config: eventConfig,
|
|
@@ -10913,8 +10913,7 @@ var service = (funcParams) => {
|
|
|
10913
10913
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10914
10914
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10915
10915
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10916
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10917
|
-
{ key: "subRowsPagination", value: paginationValues.subRowsPagination || [] }
|
|
10916
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10918
10917
|
];
|
|
10919
10918
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10920
10919
|
return response == null ? void 0 : response.data;
|
|
@@ -11711,15 +11710,9 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11711
11710
|
if (config2.lazyLoading) {
|
|
11712
11711
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11713
11712
|
}
|
|
11714
|
-
if (config2.lazyLoadTree) {
|
|
11715
|
-
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11716
|
-
}
|
|
11717
11713
|
if (config2.defaultColumnSize) {
|
|
11718
11714
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11719
11715
|
}
|
|
11720
|
-
if (config2.subRowsExpansionPageSize) {
|
|
11721
|
-
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11722
|
-
}
|
|
11723
11716
|
if (config2.enableRowMovement) {
|
|
11724
11717
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11725
11718
|
}
|
|
@@ -12729,6 +12722,7 @@ const PopUP = {
|
|
|
12729
12722
|
},
|
|
12730
12723
|
main: {
|
|
12731
12724
|
label: "PopUp",
|
|
12725
|
+
onClose: "onClose",
|
|
12732
12726
|
fullScreen: false,
|
|
12733
12727
|
fullWidth: false,
|
|
12734
12728
|
maxWidth: false,
|