impaktapps-ui-builder 1.0.622 → 1.0.623
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 +13 -3
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +6 -2
- package/src/impaktapps-ui-builder/builder/services/component.ts +1 -1
package/package.json
CHANGED
|
@@ -72,6 +72,12 @@ export const buildTable = (config: any, componentScope: string) => {
|
|
|
72
72
|
if (config.selectKey) {
|
|
73
73
|
table.config.main.selectKey = config.selectKey
|
|
74
74
|
}
|
|
75
|
+
if (config.rowIdKey) {
|
|
76
|
+
table.config.main.rowIdKey = config.rowIdKey
|
|
77
|
+
}
|
|
78
|
+
if (config.parentIdKey) {
|
|
79
|
+
table.config.main.parentIdKey = config.parentIdKey
|
|
80
|
+
}
|
|
75
81
|
if (config.maxPageSize) {
|
|
76
82
|
table.config.main.maxPageSize = config.maxPageSize
|
|
77
83
|
}
|
|
@@ -13,6 +13,7 @@ export const buildWrapperSection = (config, componentScope) => {
|
|
|
13
13
|
wrapper.config.main.rowSpacing = Number(config.rowSpacing);
|
|
14
14
|
wrapper.config.main.columnSpacing = Number(config.columnSpacing);
|
|
15
15
|
wrapper.config.main.spacing = Number(config.spacing);
|
|
16
|
+
wrapper.config.main.wrapperId = config.wrapperId;
|
|
16
17
|
if (config.defaultStyle) {
|
|
17
18
|
wrapper.config.defaultStyle = config.defaultStyle === "YES" ? true : false;
|
|
18
19
|
}
|
|
@@ -618,7 +618,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
618
618
|
getInputField("columnSpacing", "Column Spacing"),
|
|
619
619
|
getInputField("spacing", "Spacing"),
|
|
620
620
|
getInputField("iconUrl", "Icon Url"),
|
|
621
|
-
|
|
621
|
+
getInputField("wrapperId", "Wrapper Id"),
|
|
622
|
+
emptyBox("WrapperSectionEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 }), emptyBox("WrapperSectionEmpty2")
|
|
622
623
|
]
|
|
623
624
|
break;
|
|
624
625
|
|
|
@@ -661,13 +662,16 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
661
662
|
{ label: "Comfortable", value: "comfortable" },
|
|
662
663
|
{ label: "Spacious", value: "spacious" }
|
|
663
664
|
]),
|
|
665
|
+
getInputField("rowIdKey", "Row ID Key"),
|
|
666
|
+
getInputField("parentIdKey", "Parent ID Key"),
|
|
667
|
+
emptyBox("TreeEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
|
|
664
668
|
buildWrapper("Tree Table Properties", [
|
|
665
669
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
666
670
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
667
671
|
// getRadioInputField("enableExpandAll", "Use All Row Expanding", ["YES", "NO"]),
|
|
668
672
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
669
673
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
670
|
-
getInputField("defaultColumnSize", "Default Column Size"),
|
|
674
|
+
getInputField("defaultColumnSize", "Default Column Size"),emptyBox("LazyLoadingTableEmpty3")
|
|
671
675
|
]),
|
|
672
676
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
673
677
|
sizeHolder,
|
|
@@ -430,7 +430,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
430
430
|
const currentLength = {
|
|
431
431
|
"TabsComponent": formData.tabLabelElements.length,
|
|
432
432
|
"Component": formData.elements.length,
|
|
433
|
-
"
|
|
433
|
+
"Event": formData.events.length
|
|
434
434
|
};
|
|
435
435
|
const insertElementIndex = currentLength[elementType] || 0;
|
|
436
436
|
const pastedElementPath = this.elementPathHandler(pastedElementParentPath, insertElementIndex, elementType);
|