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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.50-alpha.22",
3
+ "version": "1.0.50-alpha.23",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -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
- 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",
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
- 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
- );
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 = {