impaktapps-ui-builder 0.0.412-mtreemap.14 → 0.0.412-mtreemap.16
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 +109 -4
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +105 -104
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ export const buildWrapperSection = (config, componentScope) => {
|
|
|
7
7
|
wrapper.scope = componentScope;
|
|
8
8
|
wrapper.config.main.label = config.label;
|
|
9
9
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
10
|
-
wrapper.config.main.isAccordion = config.isAccordion === "
|
|
10
|
+
wrapper.config.main.isAccordion = config.isAccordion === "NO" ? false : true;
|
|
11
11
|
if(config.defaultStyle){
|
|
12
12
|
wrapper.config.defaultStyle = config.defaultStyle ==="YES" ? true : false;
|
|
13
13
|
}
|
|
@@ -91,113 +91,114 @@ export default (funcParams: funcParamsProps) => {
|
|
|
91
91
|
const uiSchema = pageData?.uiSchema;
|
|
92
92
|
window.localStorage.setItem("pageName", config.label);
|
|
93
93
|
window.dispatchEvent(new Event('pageNameChanged'))
|
|
94
|
-
|
|
94
|
+
const theme = funcParams.store.theme.myTheme;
|
|
95
|
+
uiSchema.elements.push(
|
|
95
96
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
97
|
+
{
|
|
98
|
+
type: "HorizontalLayout",
|
|
99
|
+
config: {
|
|
100
|
+
main: {
|
|
101
|
+
direction: 'row'
|
|
102
|
+
},
|
|
103
|
+
style: {
|
|
104
|
+
flexDirection: "row",
|
|
105
|
+
position: "absolute",
|
|
106
|
+
bottom: 0,
|
|
107
|
+
marginBottom: '-8px',
|
|
108
|
+
height: 'fit-content',
|
|
109
|
+
overflow: 'hidden',
|
|
110
|
+
zIndex: 1000,
|
|
111
|
+
width: 'inherit'
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
elements: [
|
|
115
|
+
{
|
|
115
116
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
117
|
+
type: "Control",
|
|
118
|
+
scope: "#/properties/FooterText",
|
|
119
|
+
options: {
|
|
120
|
+
widget: "Box",
|
|
121
|
+
},
|
|
122
|
+
config: {
|
|
123
|
+
main: {
|
|
124
|
+
heading: "Copywriter@ACT21.IO"
|
|
125
|
+
},
|
|
126
|
+
style: {
|
|
127
|
+
color: theme?.palette?.text.disabled || "#AFAFAF",
|
|
128
|
+
fontSize: '12px',
|
|
129
|
+
textAlign: 'center',
|
|
130
|
+
lineHeight: 1,
|
|
131
|
+
width: 'fit-content',
|
|
132
|
+
left: '50%',
|
|
133
|
+
position: 'relative',
|
|
134
|
+
margin: 0,
|
|
135
|
+
flexGrow: 1,
|
|
136
|
+
height: 0
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: "Control",
|
|
142
|
+
scope: "#/properties/backIcon",
|
|
143
|
+
options: {
|
|
144
|
+
widget: "Box",
|
|
145
|
+
},
|
|
146
|
+
config: {
|
|
147
|
+
main: {
|
|
148
|
+
iconName: 'PrevIcon',
|
|
149
|
+
onClick: "backHandler",
|
|
150
|
+
width: 'fit-content',
|
|
151
|
+
},
|
|
152
|
+
style: {
|
|
153
|
+
fill: theme.palette.primary.main,
|
|
154
|
+
width: 20,
|
|
155
|
+
height: 0,
|
|
156
|
+
margin: 0,
|
|
157
|
+
top: 0,
|
|
158
|
+
right: '82px',
|
|
159
|
+
position: 'absolute',
|
|
160
|
+
fontSize: '12px',
|
|
161
|
+
cursor: 'pointer',
|
|
162
|
+
':hover': {
|
|
163
|
+
fill: theme.palette.primary.dark,
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
type: "Control",
|
|
170
|
+
scope: "#/properties/text",
|
|
170
171
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
172
|
+
options: {
|
|
173
|
+
widget: "Box",
|
|
174
|
+
},
|
|
175
|
+
config: {
|
|
176
|
+
main: {
|
|
177
|
+
heading: "Previous Page",
|
|
178
|
+
onClick: "backHandler"
|
|
179
|
+
},
|
|
180
|
+
style: {
|
|
181
|
+
textAlign: 'left',
|
|
182
|
+
lineHeight: 1,
|
|
183
|
+
height: 0,
|
|
184
|
+
width: 'fit-content',
|
|
185
|
+
color: theme.palette.primary.main,
|
|
186
|
+
fontSize: "12px",
|
|
187
|
+
cursor: 'pointer',
|
|
188
|
+
marginLeft: '2px',
|
|
189
|
+
marginRight: 0,
|
|
190
|
+
top: 3,
|
|
191
|
+
right: '12px',
|
|
192
|
+
position: 'absolute',
|
|
193
|
+
':hover': {
|
|
194
|
+
color: theme.palette.primary.dark,
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
);
|
|
201
202
|
const schema = pageData?.schema ?? { type: "object", properties: {} };
|
|
202
203
|
eventGroups = {}
|
|
203
204
|
eventGroups = extractEvents(config);
|