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
|
@@ -8249,7 +8249,8 @@ const buildPropertiesSection = function(type) {
|
|
|
8249
8249
|
getInputField("columnSpacing", "Column Spacing"),
|
|
8250
8250
|
getInputField("spacing", "Spacing"),
|
|
8251
8251
|
getInputField("iconUrl", "Icon Url"),
|
|
8252
|
-
|
|
8252
|
+
getInputField("wrapperId", "Wrapper Id"),
|
|
8253
|
+
emptyBox$1("WrapperSectionEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 }),
|
|
8253
8254
|
emptyBox$1("WrapperSectionEmpty2")
|
|
8254
8255
|
];
|
|
8255
8256
|
break;
|
|
@@ -8280,13 +8281,15 @@ const buildPropertiesSection = function(type) {
|
|
|
8280
8281
|
getMultiSelectField("filteringOptions", "Filtering Options"),
|
|
8281
8282
|
getSelectField("maxPageSize", "Max Page Size"),
|
|
8282
8283
|
getSelectField("initialDensity", "Initial Toggle Density"),
|
|
8284
|
+
getInputField("rowIdKey", "Row ID Key"),
|
|
8285
|
+
getInputField("parentIdKey", "Parent ID Key"),
|
|
8286
|
+
emptyBox$1("TreeEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
|
|
8283
8287
|
buildWrapper("Tree Table Properties", [
|
|
8284
8288
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
8285
8289
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
8286
8290
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
8287
8291
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8288
8292
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8289
|
-
,
|
|
8290
8293
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8291
8294
|
]),
|
|
8292
8295
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -9281,7 +9284,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
9281
9284
|
const currentLength = {
|
|
9282
9285
|
"TabsComponent": formData.tabLabelElements.length,
|
|
9283
9286
|
"Component": formData.elements.length,
|
|
9284
|
-
"
|
|
9287
|
+
"Event": formData.events.length
|
|
9285
9288
|
};
|
|
9286
9289
|
const insertElementIndex = currentLength[elementType] || 0;
|
|
9287
9290
|
const pastedElementPath = this.elementPathHandler(pastedElementParentPath, insertElementIndex, elementType);
|
|
@@ -11627,6 +11630,7 @@ const buildWrapperSection = (config2, componentScope2) => {
|
|
|
11627
11630
|
wrapper.config.main.rowSpacing = Number(config2.rowSpacing);
|
|
11628
11631
|
wrapper.config.main.columnSpacing = Number(config2.columnSpacing);
|
|
11629
11632
|
wrapper.config.main.spacing = Number(config2.spacing);
|
|
11633
|
+
wrapper.config.main.wrapperId = config2.wrapperId;
|
|
11630
11634
|
if (config2.defaultStyle) {
|
|
11631
11635
|
wrapper.config.defaultStyle = config2.defaultStyle === "YES" ? true : false;
|
|
11632
11636
|
}
|
|
@@ -11881,6 +11885,12 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11881
11885
|
if (config2.selectKey) {
|
|
11882
11886
|
table.config.main.selectKey = config2.selectKey;
|
|
11883
11887
|
}
|
|
11888
|
+
if (config2.rowIdKey) {
|
|
11889
|
+
table.config.main.rowIdKey = config2.rowIdKey;
|
|
11890
|
+
}
|
|
11891
|
+
if (config2.parentIdKey) {
|
|
11892
|
+
table.config.main.parentIdKey = config2.parentIdKey;
|
|
11893
|
+
}
|
|
11884
11894
|
if (config2.maxPageSize) {
|
|
11885
11895
|
table.config.main.maxPageSize = config2.maxPageSize;
|
|
11886
11896
|
}
|