impaktapps-ui-builder 1.0.429 → 1.0.430
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 -14
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +5 -5
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- 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/Component/schema.ts +11 -6
- package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -5
package/package.json
CHANGED
|
@@ -11,15 +11,9 @@ export const buildTable = (config: any, componentScope: string) => {
|
|
|
11
11
|
if (config.lazyLoading) {
|
|
12
12
|
table.config.main.lazyLoading = config.lazyLoading === "YES" ? true : false;
|
|
13
13
|
}
|
|
14
|
-
if (config.lazyLoadTree) {
|
|
15
|
-
table.config.main.lazyTree = config.lazyLoadTree === "YES" ? true : false;
|
|
16
|
-
}
|
|
17
14
|
if (config.defaultColumnSize) {
|
|
18
15
|
table.config.main.defaultColumnSize = config.defaultColumnSize
|
|
19
16
|
}
|
|
20
|
-
if (config.subRowsExpansionPageSize) {
|
|
21
|
-
table.config.main.subRowsExpansionPageSize = config.subRowsExpansionPageSize
|
|
22
|
-
}
|
|
23
17
|
if (config.enableRowMovement) {
|
|
24
18
|
table.config.main.enableRowMovement = config.enableRowMovement === "YES" ? true : false;
|
|
25
19
|
}
|
|
@@ -630,7 +630,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
630
630
|
getRadioInputField("disableDensityToggle", "Disable Density Toggle", ["YES", "NO"]),
|
|
631
631
|
getRadioInputField("disableDownloadFile", "Disable Download File", ["YES", "NO"]),
|
|
632
632
|
getRadioInputField("disablePagination", "Disable Pagination", ["YES", "NO"]),
|
|
633
|
-
getInputField("selectKey", "Selection Key")
|
|
633
|
+
getInputField("selectKey", "Selection Key"),//defaultColumnSize
|
|
634
634
|
getMultiSelectField("filteringOptions", "Filtering Options"),
|
|
635
635
|
getSelectField("maxPageSize", "Max Page Size", [
|
|
636
636
|
{ label: "10", value: 10 },
|
|
@@ -648,13 +648,11 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
648
648
|
buildWrapper("Tree Table Properties", [
|
|
649
649
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
650
650
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
651
|
-
getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
|
|
652
651
|
// getRadioInputField("enableExpandAll", "Use All Row Expanding", ["YES", "NO"]),
|
|
653
652
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
654
653
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
655
654
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
656
|
-
getInputField("defaultColumnSize", "Default Column Size"),
|
|
657
|
-
getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion") , emptyBox("LazyLoadingTableEmpty3")
|
|
655
|
+
getInputField("defaultColumnSize", "Default Column Size"), , emptyBox("LazyLoadingTableEmpty3")
|
|
658
656
|
]),
|
|
659
657
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
660
658
|
sizeHolder,
|
|
@@ -49,7 +49,7 @@ export const ComponentSchema: any = {
|
|
|
49
49
|
{ title: "Upload", const: "UploadFile" },
|
|
50
50
|
{ title: "Tree ", const: "TreeMap" },
|
|
51
51
|
{ title: "Thought of the day", const: "Thought" },
|
|
52
|
-
{ title: "PDF", const: "PdfViewer"}
|
|
52
|
+
{ title: "PDF", const: "PdfViewer" }
|
|
53
53
|
],
|
|
54
54
|
},
|
|
55
55
|
elementType: {
|
|
@@ -103,35 +103,35 @@ export const ComponentSchema: any = {
|
|
|
103
103
|
{ title: "Standard", const: "standard" },
|
|
104
104
|
],
|
|
105
105
|
},
|
|
106
|
-
positionVertical:{
|
|
106
|
+
positionVertical: {
|
|
107
107
|
oneOf: [
|
|
108
108
|
{ title: "Top", const: "top" },
|
|
109
109
|
{ title: "Center", const: "center" },
|
|
110
110
|
{ title: "Bottom", const: "bottom" }
|
|
111
111
|
],
|
|
112
112
|
},
|
|
113
|
-
positionHorizontal:{
|
|
113
|
+
positionHorizontal: {
|
|
114
114
|
oneOf: [
|
|
115
115
|
{ title: "Left", const: "left" },
|
|
116
116
|
{ title: "Center", const: "center" },
|
|
117
117
|
{ title: "Right", const: "right" }
|
|
118
118
|
],
|
|
119
119
|
},
|
|
120
|
-
contentVertical:{
|
|
120
|
+
contentVertical: {
|
|
121
121
|
oneOf: [
|
|
122
122
|
{ title: "Top", const: "top" },
|
|
123
123
|
{ title: "Center", const: "center" },
|
|
124
124
|
{ title: "Bottom", const: "bottom" }
|
|
125
125
|
],
|
|
126
126
|
},
|
|
127
|
-
contentHorizontal:{
|
|
127
|
+
contentHorizontal: {
|
|
128
128
|
oneOf: [
|
|
129
129
|
{ title: "Left", const: "left" },
|
|
130
130
|
{ title: "Center", const: "center" },
|
|
131
131
|
{ title: "Right", const: "right" }
|
|
132
132
|
],
|
|
133
133
|
},
|
|
134
|
-
toolTipPosition:{
|
|
134
|
+
toolTipPosition: {
|
|
135
135
|
oneOf: [
|
|
136
136
|
{ title: "Top", const: "top" },
|
|
137
137
|
{ title: "Left", const: "left" },
|
|
@@ -495,6 +495,11 @@ export const ComponentSchema: any = {
|
|
|
495
495
|
{ title: "Detail Icon", const: "DetailIcon" },
|
|
496
496
|
{ title: "Report View Icon", const: "ReportViewIcon" },
|
|
497
497
|
{ title: "Payout", const: "Payout" },
|
|
498
|
+
{ title: "Info Outlined", const: "InfoOutlinedIcon" },
|
|
499
|
+
{ title: "Territory Add", const: "TerritoryAdd" },
|
|
500
|
+
{ title: "Territory Edit", const: "TerritoryEdit" },
|
|
501
|
+
{ title: "Territory Delete", const: "TerritoryDelete" },
|
|
502
|
+
{ title: "Git Compare", const: "GitCompare" },
|
|
498
503
|
],
|
|
499
504
|
},
|
|
500
505
|
color: {
|
|
@@ -190,11 +190,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
190
190
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
191
191
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
192
192
|
{ key: "globalFilter", value: paginationValues.globalFilter ?? '' },
|
|
193
|
-
{ key: "expandedRowIds", value: paginationValues.expandedRowIds ?? [] }
|
|
194
|
-
{ key: "subRowsPagination", value: paginationValues.subRowsPagination || [] },
|
|
195
|
-
{ key: "parentId", value: paginationValues.parentId },
|
|
196
|
-
{ key: "prevRowCount", value: paginationValues.prevRowCount },
|
|
197
|
-
{ key: "newDataCount", value: paginationValues.newDataCount },
|
|
193
|
+
{ key: "expandedRowIds", value: paginationValues.expandedRowIds ?? [] }
|
|
198
194
|
]
|
|
199
195
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
200
196
|
return response?.data;
|