impaktapps-ui-builder 1.0.57-alpha.1 → 1.0.57-alpha.100
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 +2 -5
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +1 -3
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +1 -1
package/package.json
CHANGED
|
@@ -4,9 +4,7 @@ import _ from "lodash";
|
|
|
4
4
|
export const buildTabSection = (config:any,componentScope:string) => {
|
|
5
5
|
const tab: any = _.cloneDeep(Tabsection);
|
|
6
6
|
tab.scope = componentScope;
|
|
7
|
-
|
|
8
|
-
tab.config.style = JSON.parse(config.style)
|
|
9
|
-
}
|
|
7
|
+
|
|
10
8
|
if(config.lazyLoad){
|
|
11
9
|
tab.config.main.lazyLoad = config.lazyLoad === "YES" ?true:false;
|
|
12
10
|
}
|
|
@@ -351,7 +351,7 @@ const buildUiSchema = (config: any, store?: any) => {
|
|
|
351
351
|
config.elements.filter((cellElem, elemInd) => {
|
|
352
352
|
const commonProperties = {
|
|
353
353
|
accessorKey: cellElem.name,
|
|
354
|
-
type: cellElem.columnFormat,
|
|
354
|
+
type: cellElem.type === "ColumnGroup" ? "ColumnGroup" : cellElem.columnFormat,
|
|
355
355
|
header: cellElem.label || cellElem.name,
|
|
356
356
|
size: sizeMap[cellElem.name] || 180,
|
|
357
357
|
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
@@ -67,7 +67,7 @@ export function refreshPage(type: string, store: any) {
|
|
|
67
67
|
|
|
68
68
|
const parentObj = _.get(currentConfig, parentPath)
|
|
69
69
|
|
|
70
|
-
if(parentObj?.type === "Table"){
|
|
70
|
+
if(parentObj?.type === "Table" || "ColumnGroup"){
|
|
71
71
|
UiSchema.elements[0].elements[0].elements[4] =
|
|
72
72
|
{
|
|
73
73
|
type: "Control",
|