impaktapps-ui-builder 0.0.273 → 0.0.275
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 +73 -41
- 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/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +127 -11
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +84 -48
- package/src/impaktapps-ui-builder/builder/services/getNavigationHistory.ts +6 -1
|
@@ -6277,7 +6277,11 @@ const getNavigationHistory = (config, path) => {
|
|
|
6277
6277
|
});
|
|
6278
6278
|
arr.map((e) => {
|
|
6279
6279
|
const data2 = _.get(config, e);
|
|
6280
|
-
|
|
6280
|
+
if (data2) {
|
|
6281
|
+
urlRoutes = urlRoutes + ` > ${(data2 == null ? void 0 : data2.name) || (data2 == null ? void 0 : data2.eventType)}`;
|
|
6282
|
+
} else {
|
|
6283
|
+
urlRoutes = urlRoutes + " > NewComponent";
|
|
6284
|
+
}
|
|
6281
6285
|
});
|
|
6282
6286
|
return { pageName: urlRoutes };
|
|
6283
6287
|
}
|
|
@@ -7932,7 +7936,7 @@ async function executeCustomHandler(customHandlerConfig, componentName, store, d
|
|
|
7932
7936
|
return { response: void 0, events: customHandlerConfig == null ? void 0 : customHandlerConfig.events };
|
|
7933
7937
|
}
|
|
7934
7938
|
async function mergeFormdata(handlerResponse, componentName2, eventConfig, store2) {
|
|
7935
|
-
if (eventConfig.type === "Select" && !_.isEmpty(handlerResponse)) {
|
|
7939
|
+
if (eventConfig.type === "Select" && !(_.isEmpty(handlerResponse) && handlerResponse)) {
|
|
7936
7940
|
store2.setSchema((pre) => {
|
|
7937
7941
|
return {
|
|
7938
7942
|
...pre,
|
|
@@ -8129,7 +8133,7 @@ var leaderBoard = {
|
|
|
8129
8133
|
wrapperStyle: {
|
|
8130
8134
|
position: "relative",
|
|
8131
8135
|
width: "100%",
|
|
8132
|
-
height:
|
|
8136
|
+
height: 1e3
|
|
8133
8137
|
}
|
|
8134
8138
|
},
|
|
8135
8139
|
elements: [
|
|
@@ -8140,14 +8144,20 @@ var leaderBoard = {
|
|
|
8140
8144
|
main: {
|
|
8141
8145
|
url: "https://my.alfred.edu/zoom/_images/foster-lake.jpg"
|
|
8142
8146
|
},
|
|
8143
|
-
|
|
8147
|
+
containerStyle: {
|
|
8144
8148
|
objectFit: "cover",
|
|
8145
8149
|
position: "absolute",
|
|
8146
|
-
top: "60px",
|
|
8147
|
-
left: "calc(50% -
|
|
8148
|
-
width: "
|
|
8150
|
+
top: { xs: "90px", "md": "60px" },
|
|
8151
|
+
left: { "xs": "calc(50% - 50px)", "sm": "calc(50% - 50px)", "md": "calc(50% - 100px)" },
|
|
8152
|
+
width: { "xs": "100px", "sm": "100px", "md": "200px" },
|
|
8149
8153
|
border: "5px solid rgb(179, 198, 255)",
|
|
8150
|
-
height: "
|
|
8154
|
+
height: { "xs": "100px", "sm": "100px", "md": "200px" },
|
|
8155
|
+
borderRadius: "50%"
|
|
8156
|
+
},
|
|
8157
|
+
style: {
|
|
8158
|
+
objectFit: "cover",
|
|
8159
|
+
width: "100%",
|
|
8160
|
+
height: "100%",
|
|
8151
8161
|
borderRadius: "50%"
|
|
8152
8162
|
},
|
|
8153
8163
|
layout: 6
|
|
@@ -8163,14 +8173,20 @@ var leaderBoard = {
|
|
|
8163
8173
|
main: {
|
|
8164
8174
|
url: "https://my.alfred.edu/zoom/_images/foster-lake.jpg"
|
|
8165
8175
|
},
|
|
8166
|
-
|
|
8176
|
+
containerStyle: {
|
|
8167
8177
|
objectFit: "cover",
|
|
8168
8178
|
position: "absolute",
|
|
8169
|
-
top: "130px",
|
|
8170
|
-
left: "calc(25% - 90px)",
|
|
8171
|
-
width: "180px",
|
|
8179
|
+
top: { xs: "160px", "md": "130px" },
|
|
8180
|
+
left: { "xs": "calc(25% - 45px)", "sm": "calc(25% - 45px)", "md": "calc(25% - 90px)" },
|
|
8181
|
+
width: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
8172
8182
|
border: "5px solid rgb(179, 198, 255)",
|
|
8173
|
-
height: "180px",
|
|
8183
|
+
height: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
8184
|
+
borderRadius: "50%"
|
|
8185
|
+
},
|
|
8186
|
+
style: {
|
|
8187
|
+
objectFit: "cover",
|
|
8188
|
+
width: "100%",
|
|
8189
|
+
height: "100%",
|
|
8174
8190
|
borderRadius: "50%"
|
|
8175
8191
|
},
|
|
8176
8192
|
layout: 6
|
|
@@ -8186,14 +8202,20 @@ var leaderBoard = {
|
|
|
8186
8202
|
main: {
|
|
8187
8203
|
url: "https://my.alfred.edu/zoom/_images/foster-lake.jpg"
|
|
8188
8204
|
},
|
|
8189
|
-
|
|
8205
|
+
containerStyle: {
|
|
8190
8206
|
objectFit: "cover",
|
|
8191
8207
|
position: "absolute",
|
|
8192
|
-
top: "130px",
|
|
8193
|
-
left: "calc(75% - 85px)",
|
|
8194
|
-
width: "
|
|
8208
|
+
top: { xs: "160px", "md": "130px" },
|
|
8209
|
+
left: { "xs": "calc(75% - 42.5px)", "sm": "calc(75% - 42.5px)", "md": "calc(75% - 85px)" },
|
|
8210
|
+
width: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
8195
8211
|
border: "5px solid rgb(179, 198, 255)",
|
|
8196
|
-
height: "180px",
|
|
8212
|
+
height: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
8213
|
+
borderRadius: "50%"
|
|
8214
|
+
},
|
|
8215
|
+
style: {
|
|
8216
|
+
objectFit: "cover",
|
|
8217
|
+
width: "100%",
|
|
8218
|
+
height: "100%",
|
|
8197
8219
|
borderRadius: "50%"
|
|
8198
8220
|
},
|
|
8199
8221
|
layout: 6
|
|
@@ -8212,15 +8234,17 @@ var leaderBoard = {
|
|
|
8212
8234
|
style: {
|
|
8213
8235
|
objectFit: "cover",
|
|
8214
8236
|
position: "absolute",
|
|
8215
|
-
top: "250px",
|
|
8216
8237
|
display: "flex",
|
|
8217
8238
|
justifyContent: "center",
|
|
8218
8239
|
alignItems: "center",
|
|
8219
8240
|
color: "black",
|
|
8241
|
+
top: { xs: "190px", md: "270px" },
|
|
8242
|
+
fontSize: { xs: "12px", md: "20px" },
|
|
8220
8243
|
left: "calc(50% - 90px)",
|
|
8221
8244
|
width: "180px",
|
|
8222
8245
|
fontWeight: "bold",
|
|
8223
|
-
borderRadius: "50%"
|
|
8246
|
+
borderRadius: "50%",
|
|
8247
|
+
zIndex: 7
|
|
8224
8248
|
},
|
|
8225
8249
|
layout: 6
|
|
8226
8250
|
},
|
|
@@ -8238,11 +8262,12 @@ var leaderBoard = {
|
|
|
8238
8262
|
style: {
|
|
8239
8263
|
objectFit: "cover",
|
|
8240
8264
|
position: "absolute",
|
|
8241
|
-
top: "320px",
|
|
8242
8265
|
display: "flex",
|
|
8243
8266
|
justifyContent: "center",
|
|
8244
8267
|
alignItems: "center",
|
|
8245
8268
|
color: "black",
|
|
8269
|
+
top: { xs: "240px", md: "320px" },
|
|
8270
|
+
fontSize: { xs: "12px", md: "20px" },
|
|
8246
8271
|
left: "calc(25% - 90px)",
|
|
8247
8272
|
width: "180px",
|
|
8248
8273
|
fontWeight: "bold",
|
|
@@ -8264,11 +8289,12 @@ var leaderBoard = {
|
|
|
8264
8289
|
style: {
|
|
8265
8290
|
objectFit: "cover",
|
|
8266
8291
|
position: "absolute",
|
|
8267
|
-
top: "320px",
|
|
8268
8292
|
display: "flex",
|
|
8269
8293
|
justifyContent: "center",
|
|
8270
8294
|
alignItems: "center",
|
|
8271
8295
|
color: "black",
|
|
8296
|
+
top: { xs: "240px", md: "320px" },
|
|
8297
|
+
fontSize: { xs: "12px", md: "20px" },
|
|
8272
8298
|
left: "calc(75% - 90px)",
|
|
8273
8299
|
width: "180px",
|
|
8274
8300
|
fontWeight: "bold",
|
|
@@ -8290,14 +8316,18 @@ var leaderBoard = {
|
|
|
8290
8316
|
style: {
|
|
8291
8317
|
objectFit: "cover",
|
|
8292
8318
|
position: "absolute",
|
|
8293
|
-
top: "280px",
|
|
8294
8319
|
display: "flex",
|
|
8295
8320
|
justifyContent: "center",
|
|
8296
8321
|
alignItems: "center",
|
|
8297
8322
|
textShadow: "2px 2px 5px #5065C7",
|
|
8298
8323
|
background: "green",
|
|
8299
8324
|
color: "white",
|
|
8300
|
-
|
|
8325
|
+
top: { xs: "225px", md: "280px" },
|
|
8326
|
+
fontSize: { xs: "12px", md: "16px" },
|
|
8327
|
+
left: { xs: "calc(25% - 12px)", md: "calc(25% - 16px)" },
|
|
8328
|
+
width: { xs: "20px", md: "40px" },
|
|
8329
|
+
border: { xs: "2px solid rgb(179, 198, 255)", md: "5px solid rgb(179, 198, 255)" },
|
|
8330
|
+
height: { xs: "20px", md: "40px" },
|
|
8301
8331
|
"@keyframes rotateAnimation": {
|
|
8302
8332
|
from: {
|
|
8303
8333
|
transform: "rotate(0deg)"
|
|
@@ -8307,10 +8337,8 @@ var leaderBoard = {
|
|
|
8307
8337
|
}
|
|
8308
8338
|
},
|
|
8309
8339
|
animation: "rotateAnimation 4s infinite",
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
height: "40px",
|
|
8313
|
-
borderRadius: "50%"
|
|
8340
|
+
borderRadius: "50%",
|
|
8341
|
+
zIndex: 5
|
|
8314
8342
|
},
|
|
8315
8343
|
layout: 6
|
|
8316
8344
|
},
|
|
@@ -8328,14 +8356,15 @@ var leaderBoard = {
|
|
|
8328
8356
|
style: {
|
|
8329
8357
|
objectFit: "cover",
|
|
8330
8358
|
position: "absolute",
|
|
8331
|
-
top: "210px",
|
|
8332
8359
|
display: "flex",
|
|
8333
8360
|
justifyContent: "center",
|
|
8334
8361
|
alignItems: "center",
|
|
8335
8362
|
textShadow: "2px 2px 5px #5065C7",
|
|
8336
8363
|
background: "green",
|
|
8337
8364
|
color: "white",
|
|
8338
|
-
|
|
8365
|
+
top: { xs: "175px", md: "230px" },
|
|
8366
|
+
fontSize: { xs: "12px", md: "16px" },
|
|
8367
|
+
left: { xs: "calc(50% - 12px)", md: "calc(50% - 16px)" },
|
|
8339
8368
|
"@keyframes rotateAnimation": {
|
|
8340
8369
|
from: {
|
|
8341
8370
|
transform: "rotate(0deg)"
|
|
@@ -8345,10 +8374,11 @@ var leaderBoard = {
|
|
|
8345
8374
|
}
|
|
8346
8375
|
},
|
|
8347
8376
|
animation: "rotateAnimation 4s infinite",
|
|
8348
|
-
width: "40px",
|
|
8349
|
-
border: "5px solid rgb(179, 198, 255)",
|
|
8350
|
-
height: "40px",
|
|
8351
|
-
borderRadius: "50%"
|
|
8377
|
+
width: { xs: "20px", md: "40px" },
|
|
8378
|
+
border: { xs: "2px solid rgb(179, 198, 255)", md: "5px solid rgb(179, 198, 255)" },
|
|
8379
|
+
height: { xs: "20px", md: "40px" },
|
|
8380
|
+
borderRadius: "50%",
|
|
8381
|
+
zIndex: 5
|
|
8352
8382
|
},
|
|
8353
8383
|
layout: 6
|
|
8354
8384
|
},
|
|
@@ -8366,14 +8396,18 @@ var leaderBoard = {
|
|
|
8366
8396
|
style: {
|
|
8367
8397
|
objectFit: "cover",
|
|
8368
8398
|
position: "absolute",
|
|
8369
|
-
top: "280px",
|
|
8370
8399
|
display: "flex",
|
|
8371
8400
|
justifyContent: "center",
|
|
8372
8401
|
alignItems: "center",
|
|
8373
8402
|
textShadow: "2px 2px 5px #5065C7",
|
|
8374
8403
|
background: "green",
|
|
8375
8404
|
color: "white",
|
|
8376
|
-
|
|
8405
|
+
top: { xs: "225px", md: "280px" },
|
|
8406
|
+
fontSize: { xs: "12px", md: "16px" },
|
|
8407
|
+
left: { xs: "calc(75% - 12px)", md: "calc(75% - 16px)" },
|
|
8408
|
+
width: { xs: "20px", md: "40px" },
|
|
8409
|
+
border: { xs: "2px solid rgb(179, 198, 255)", md: "5px solid rgb(179, 198, 255)" },
|
|
8410
|
+
height: { xs: "20px", md: "40px" },
|
|
8377
8411
|
"@keyframes rotateAnimation": {
|
|
8378
8412
|
from: {
|
|
8379
8413
|
transform: "rotate(0deg)"
|
|
@@ -8383,10 +8417,8 @@ var leaderBoard = {
|
|
|
8383
8417
|
}
|
|
8384
8418
|
},
|
|
8385
8419
|
animation: "rotateAnimation 4s infinite",
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
height: "40px",
|
|
8389
|
-
borderRadius: "50%"
|
|
8420
|
+
borderRadius: "50%",
|
|
8421
|
+
zIndex: 5
|
|
8390
8422
|
},
|
|
8391
8423
|
layout: 6
|
|
8392
8424
|
},
|
|
@@ -8408,7 +8440,7 @@ var leaderBoard = {
|
|
|
8408
8440
|
background: "rgb(179, 198, 255)"
|
|
8409
8441
|
},
|
|
8410
8442
|
position: "absolute",
|
|
8411
|
-
top: "390px",
|
|
8443
|
+
top: { xs: "300px", sm: "300px", md: "390px", lg: "390px" },
|
|
8412
8444
|
border: "2px solid rgb(179, 198, 255)",
|
|
8413
8445
|
width: "95%",
|
|
8414
8446
|
left: "2.5%"
|