impaktapps-ui-builder 0.0.412-mtreemap.14 → 0.0.412-mtreemap.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.412-mtreemap.14",
3
+ "version": "0.0.412-mtreemap.15",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -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
- // uiSchema.elements.push(
94
+ const theme = funcParams.store.theme.myTheme;
95
+ uiSchema.elements.push(
95
96
 
96
- // {
97
- // type: "HorizontalLayout",
98
- // config: {
99
- // main: {
100
- // direction: 'row'
101
- // },
102
- // style: {
103
- // flexDirection: "row",
104
- // position: "absolute",
105
- // bottom: 0,
106
- // marginBottom: '-8px',
107
- // height: 'fit-content',
108
- // overflow: 'hidden',
109
- // zIndex: 1000,
110
- // width: 'inherit'
111
- // }
112
- // },
113
- // elements: [
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
- // type: "Control",
117
- // scope: "#/properties/FooterText",
118
- // options: {
119
- // widget: "Box",
120
- // },
121
- // config: {
122
- // main: {
123
- // heading: "Copywriter@ACT21.IO"
124
- // },
125
- // style: {
126
- // color: theme?.palette?.text.disabled || "#AFAFAF",
127
- // fontSize: '12px',
128
- // textAlign: 'center',
129
- // lineHeight: 1,
130
- // width: 'fit-content',
131
- // left: '50%',
132
- // position: 'relative',
133
- // margin: 0,
134
- // flexGrow: 1,
135
- // height: 0
136
- // }
137
- // },
138
- // },
139
- // {
140
- // type: "Control",
141
- // scope: "#/properties/backIcon",
142
- // options: {
143
- // widget: "Box",
144
- // },
145
- // config: {
146
- // main: {
147
- // iconName: 'PrevIcon',
148
- // onClick: "backHandler",
149
- // width: 'fit-content',
150
- // },
151
- // style: {
152
- // fill: theme.palette.primary.main,
153
- // width: 20,
154
- // height: 0,
155
- // margin: 0,
156
- // top: 0,
157
- // right: '82px',
158
- // position: 'absolute',
159
- // fontSize: '12px',
160
- // cursor: 'pointer',
161
- // ':hover': {
162
- // fill: theme.palette.primary.dark,
163
- // }
164
- // }
165
- // }
166
- // },
167
- // {
168
- // type: "Control",
169
- // scope: "#/properties/text",
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
- // options: {
172
- // widget: "Box",
173
- // },
174
- // config: {
175
- // main: {
176
- // heading: "Previous Page",
177
- // onClick: "backHandler"
178
- // },
179
- // style: {
180
- // textAlign: 'left',
181
- // lineHeight: 1,
182
- // height: 0,
183
- // width: 'fit-content',
184
- // color: theme.palette.primary.main,
185
- // fontSize: "12px",
186
- // cursor: 'pointer',
187
- // marginLeft: '2px',
188
- // marginRight: 0,
189
- // top: 3,
190
- // right: '12px',
191
- // position: 'absolute',
192
- // ':hover': {
193
- // color: theme.palette.primary.dark,
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);