impaktapps-ui-builder 1.0.50-alpha.22 → 1.0.50-alpha.23
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 +4 -109
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +12 -12
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +106 -106
package/package.json
CHANGED
|
@@ -79,116 +79,116 @@ export default (funcParams: funcParamsProps) => {
|
|
|
79
79
|
const config = pageData?.config;
|
|
80
80
|
const uiSchema = pageData?.uiSchema;
|
|
81
81
|
const event = new CustomEvent('pageNameChanged', {
|
|
82
|
-
detail: { pageName: config.label }
|
|
82
|
+
detail: { pageName: config.label, hasBackIcon: true }
|
|
83
83
|
});
|
|
84
84
|
window.dispatchEvent(event)
|
|
85
85
|
const theme = funcParams?.store?.theme?.myTheme;
|
|
86
|
-
uiSchema.elements.push(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
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
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
86
|
+
// uiSchema.elements.push(
|
|
87
|
+
// {
|
|
88
|
+
// type: "HorizontalLayout",
|
|
89
|
+
// config: {
|
|
90
|
+
// main: {
|
|
91
|
+
// direction: "row",
|
|
92
|
+
// },
|
|
93
|
+
// style: {
|
|
94
|
+
// flexDirection: "row",
|
|
95
|
+
// position: "absolute",
|
|
96
|
+
// bottom: 0,
|
|
97
|
+
// height: "fit-content",
|
|
98
|
+
// overflow: "hidden",
|
|
99
|
+
// zIndex: 1000,
|
|
100
|
+
// width: "inherit",
|
|
101
|
+
// },
|
|
102
|
+
// },
|
|
103
|
+
// elements: [
|
|
104
|
+
// {
|
|
105
|
+
// type: "Control",
|
|
106
|
+
// scope: "#/properties/FooterText",
|
|
107
|
+
// options: {
|
|
108
|
+
// widget: "Box",
|
|
109
|
+
// },
|
|
110
|
+
// config: {
|
|
111
|
+
// main: {
|
|
112
|
+
// heading: "Copywriter@ACT21.IO",
|
|
113
|
+
// },
|
|
114
|
+
// style: {
|
|
115
|
+
// color: theme?.palette?.text?.disabled || "#AFAFAF",
|
|
116
|
+
// fontSize: "11px",
|
|
117
|
+
// textAlign: "center",
|
|
118
|
+
// lineHeight: 2,
|
|
119
|
+
// width: "fit-content",
|
|
120
|
+
// left: "50%",
|
|
121
|
+
// position: "relative",
|
|
122
|
+
// margin: 0,
|
|
123
|
+
// flexGrow: 1,
|
|
124
|
+
// height: 0,
|
|
125
|
+
// transform: "translate(-50%, 0%)",
|
|
126
|
+
// },
|
|
127
|
+
// },
|
|
128
|
+
// },
|
|
129
|
+
// {
|
|
130
|
+
// type: "Control",
|
|
131
|
+
// scope: "#/properties/FooterBackIcon",
|
|
132
|
+
// options: {
|
|
133
|
+
// widget: "Box",
|
|
134
|
+
// },
|
|
135
|
+
// config: {
|
|
136
|
+
// main: {
|
|
137
|
+
// iconName: "PrevIcon",
|
|
138
|
+
// onClick: "backHandler",
|
|
139
|
+
// width: "fit-content",
|
|
140
|
+
// },
|
|
141
|
+
// style: {
|
|
142
|
+
// fill: theme?.palette?.primary?.main,
|
|
143
|
+
// width: 20,
|
|
144
|
+
// height: 0,
|
|
145
|
+
// top: 0,
|
|
146
|
+
// right: { xs: "12px", sm: "84px" },
|
|
147
|
+
// position: "absolute",
|
|
148
|
+
// fontSize: "12px",
|
|
149
|
+
// cursor: "pointer",
|
|
150
|
+
// ":hover": {
|
|
151
|
+
// fill: theme?.palette?.primary?.dark,
|
|
152
|
+
// },
|
|
153
|
+
// marginRight: "20px",
|
|
154
|
+
// },
|
|
155
|
+
// },
|
|
156
|
+
// },
|
|
157
|
+
// {
|
|
158
|
+
// type: "Control",
|
|
159
|
+
// scope: "#/properties/FooterBackHandlerText",
|
|
160
|
+
// options: {
|
|
161
|
+
// widget: "Box",
|
|
162
|
+
// },
|
|
163
|
+
// config: {
|
|
164
|
+
// main: {
|
|
165
|
+
// heading: "Previous Page",
|
|
166
|
+
// onClick: "backHandler",
|
|
167
|
+
// },
|
|
168
|
+
// style: {
|
|
169
|
+
// display: { xs: "none", sm: "flex" },
|
|
170
|
+
// textAlign: "left",
|
|
171
|
+
// lineHeight: 1,
|
|
172
|
+
// height: 0,
|
|
173
|
+
// width: "fit-content",
|
|
174
|
+
// color: theme?.palette?.primary?.main,
|
|
175
|
+
// fontSize: "12px",
|
|
176
|
+
// cursor: "pointer",
|
|
177
|
+
// marginLeft: "2px",
|
|
178
178
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
);
|
|
179
|
+
// top: 3,
|
|
180
|
+
// right: "12px",
|
|
181
|
+
// position: "absolute",
|
|
182
|
+
// ":hover": {
|
|
183
|
+
// color: theme?.palette?.primary?.dark,
|
|
184
|
+
// },
|
|
185
|
+
// marginRight: "4px",
|
|
186
|
+
// },
|
|
187
|
+
// },
|
|
188
|
+
// },
|
|
189
|
+
// ],
|
|
190
|
+
// }
|
|
191
|
+
// );
|
|
192
192
|
const schema = pageData?.schema ?? { type: "object", properties: {} };
|
|
193
193
|
eventGroups = extractEvents(config);
|
|
194
194
|
executeEventsParameters = {
|