impaktapps-ui-builder 0.0.55 → 0.0.56-alpha.1
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 +67 -64
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +7 -7
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +10 -12
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +51 -42
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +88 -90
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +56 -51
- package/src/impaktapps-ui-builder/builder/services/component.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +5 -5
|
@@ -7983,7 +7983,7 @@ const refreshPage = (type, store2) => {
|
|
|
7983
7983
|
};
|
|
7984
7984
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
7985
7985
|
UiSchema.elements[1].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Event", "Validation"];
|
|
7986
|
-
UiSchema.elements[1].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
|
|
7986
|
+
UiSchema.elements[1].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
|
|
7987
7987
|
}
|
|
7988
7988
|
store2.setUiSchema(UiSchema);
|
|
7989
7989
|
};
|
|
@@ -9575,8 +9575,8 @@ var service = (funcParams) => {
|
|
|
9575
9575
|
{ key: "movedRowId", value: paginationValues.rowMovement.movedRowId },
|
|
9576
9576
|
{ key: "targetRowId", value: paginationValues.rowMovement.targetRowId || [] }
|
|
9577
9577
|
];
|
|
9578
|
-
await this.
|
|
9579
|
-
const response = await this.
|
|
9578
|
+
await this.callExecuteEvents({ path: paginationValues == null ? void 0 : paginationValues.path }, apiBody, "onRowMovement");
|
|
9579
|
+
const response = await this.callExecuteEvents({ path: paginationValues == null ? void 0 : paginationValues.path }, apiBody, "onLoad");
|
|
9580
9580
|
return response == null ? void 0 : response.data;
|
|
9581
9581
|
},
|
|
9582
9582
|
onPaginationChange: async function(paginationValues) {
|
|
@@ -9588,7 +9588,7 @@ var service = (funcParams) => {
|
|
|
9588
9588
|
{ key: "filters", value: paginationValues.columnFilters || [] },
|
|
9589
9589
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" }
|
|
9590
9590
|
];
|
|
9591
|
-
const response = await this.
|
|
9591
|
+
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
9592
9592
|
return response == null ? void 0 : response.data;
|
|
9593
9593
|
},
|
|
9594
9594
|
getSelectOptions: async function(param) {
|
|
@@ -9597,7 +9597,7 @@ var service = (funcParams) => {
|
|
|
9597
9597
|
{ key: "searchValue", value: param.serachValue },
|
|
9598
9598
|
{ key: "currentValue", value: param.currentValue }
|
|
9599
9599
|
];
|
|
9600
|
-
const response = await this.
|
|
9600
|
+
const response = await this.callExecuteEvents(param, apiBody);
|
|
9601
9601
|
return response == null ? void 0 : response.data;
|
|
9602
9602
|
}
|
|
9603
9603
|
},
|
|
@@ -9618,7 +9618,7 @@ var service = (funcParams) => {
|
|
|
9618
9618
|
}));
|
|
9619
9619
|
}
|
|
9620
9620
|
},
|
|
9621
|
-
|
|
9621
|
+
callExecuteEvents: async function(paramValue, apiBody, eventType) {
|
|
9622
9622
|
var _a, _b;
|
|
9623
9623
|
let LastCallResponse = void 0;
|
|
9624
9624
|
for (const eventConfig of (_a = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _a[paramValue.path]) {
|
|
@@ -9695,15 +9695,14 @@ var leaderBoard = {
|
|
|
9695
9695
|
label: "LeaderBoard",
|
|
9696
9696
|
divider: true
|
|
9697
9697
|
},
|
|
9698
|
-
style: {
|
|
9699
|
-
wrapperStyle: {
|
|
9700
|
-
display: "flex",
|
|
9701
|
-
gap: "10px"
|
|
9702
|
-
}
|
|
9703
|
-
},
|
|
9698
|
+
style: {},
|
|
9704
9699
|
wrapperStyle: {
|
|
9705
9700
|
position: "relative",
|
|
9706
9701
|
width: "100%"
|
|
9702
|
+
},
|
|
9703
|
+
componentsBoxStyle: {
|
|
9704
|
+
display: "flex",
|
|
9705
|
+
gap: "10px"
|
|
9707
9706
|
}
|
|
9708
9707
|
},
|
|
9709
9708
|
elements: [
|
|
@@ -9714,21 +9713,23 @@ var leaderBoard = {
|
|
|
9714
9713
|
main: {
|
|
9715
9714
|
url: "https://my.alfred.edu/zoom/_images/foster-lake.jpg"
|
|
9716
9715
|
},
|
|
9717
|
-
containerStyle: {
|
|
9718
|
-
objectFit: "cover",
|
|
9719
|
-
position: "absolute",
|
|
9720
|
-
top: { xs: "90px", "md": "60px" },
|
|
9721
|
-
left: { "xs": "calc(50% - 50px)", "sm": "calc(50% - 50px)", "md": "calc(50% - 100px)" },
|
|
9722
|
-
width: { "xs": "100px", "sm": "100px", "md": "200px" },
|
|
9723
|
-
border: "5px solid rgb(179, 198, 255)",
|
|
9724
|
-
height: { "xs": "100px", "sm": "100px", "md": "200px" },
|
|
9725
|
-
borderRadius: "50%"
|
|
9726
|
-
},
|
|
9727
9716
|
style: {
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9717
|
+
imageStyle: {
|
|
9718
|
+
objectFit: "cover",
|
|
9719
|
+
width: "100%",
|
|
9720
|
+
height: "100%",
|
|
9721
|
+
borderRadius: "50%"
|
|
9722
|
+
},
|
|
9723
|
+
containerStyle: {
|
|
9724
|
+
objectFit: "cover",
|
|
9725
|
+
position: "absolute",
|
|
9726
|
+
top: { xs: "90px", "md": "60px" },
|
|
9727
|
+
left: { "xs": "calc(50% - 50px)", "sm": "calc(50% - 50px)", "md": "calc(50% - 100px)" },
|
|
9728
|
+
width: { "xs": "100px", "sm": "100px", "md": "200px" },
|
|
9729
|
+
border: "5px solid rgb(179, 198, 255)",
|
|
9730
|
+
height: { "xs": "100px", "sm": "100px", "md": "200px" },
|
|
9731
|
+
borderRadius: "50%"
|
|
9732
|
+
}
|
|
9732
9733
|
},
|
|
9733
9734
|
layout: 6
|
|
9734
9735
|
},
|
|
@@ -9743,21 +9744,23 @@ var leaderBoard = {
|
|
|
9743
9744
|
main: {
|
|
9744
9745
|
url: "https://my.alfred.edu/zoom/_images/foster-lake.jpg"
|
|
9745
9746
|
},
|
|
9746
|
-
containerStyle: {
|
|
9747
|
-
objectFit: "cover",
|
|
9748
|
-
position: "absolute",
|
|
9749
|
-
top: { xs: "160px", "md": "130px" },
|
|
9750
|
-
left: { "xs": "calc(25% - 45px)", "sm": "calc(25% - 45px)", "md": "calc(25% - 90px)" },
|
|
9751
|
-
width: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
9752
|
-
border: "5px solid rgb(179, 198, 255)",
|
|
9753
|
-
height: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
9754
|
-
borderRadius: "50%"
|
|
9755
|
-
},
|
|
9756
9747
|
style: {
|
|
9757
|
-
|
|
9758
|
-
|
|
9759
|
-
|
|
9760
|
-
|
|
9748
|
+
imageStyle: {
|
|
9749
|
+
objectFit: "cover",
|
|
9750
|
+
width: "100%",
|
|
9751
|
+
height: "100%",
|
|
9752
|
+
borderRadius: "50%"
|
|
9753
|
+
},
|
|
9754
|
+
containerStyle: {
|
|
9755
|
+
objectFit: "cover",
|
|
9756
|
+
position: "absolute",
|
|
9757
|
+
top: { xs: "160px", "md": "130px" },
|
|
9758
|
+
left: { "xs": "calc(25% - 45px)", "sm": "calc(25% - 45px)", "md": "calc(25% - 90px)" },
|
|
9759
|
+
width: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
9760
|
+
border: "5px solid rgb(179, 198, 255)",
|
|
9761
|
+
height: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
9762
|
+
borderRadius: "50%"
|
|
9763
|
+
}
|
|
9761
9764
|
},
|
|
9762
9765
|
layout: 6
|
|
9763
9766
|
},
|
|
@@ -9772,21 +9775,23 @@ var leaderBoard = {
|
|
|
9772
9775
|
main: {
|
|
9773
9776
|
url: "https://my.alfred.edu/zoom/_images/foster-lake.jpg"
|
|
9774
9777
|
},
|
|
9775
|
-
containerStyle: {
|
|
9776
|
-
objectFit: "cover",
|
|
9777
|
-
position: "absolute",
|
|
9778
|
-
top: { xs: "160px", "md": "130px" },
|
|
9779
|
-
left: { "xs": "calc(75% - 42.5px)", "sm": "calc(75% - 42.5px)", "md": "calc(75% - 85px)" },
|
|
9780
|
-
width: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
9781
|
-
border: "5px solid rgb(179, 198, 255)",
|
|
9782
|
-
height: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
9783
|
-
borderRadius: "50%"
|
|
9784
|
-
},
|
|
9785
9778
|
style: {
|
|
9786
|
-
|
|
9787
|
-
|
|
9788
|
-
|
|
9789
|
-
|
|
9779
|
+
imageStyle: {
|
|
9780
|
+
objectFit: "cover",
|
|
9781
|
+
width: "100%",
|
|
9782
|
+
height: "100%",
|
|
9783
|
+
borderRadius: "50%"
|
|
9784
|
+
},
|
|
9785
|
+
containerStyle: {
|
|
9786
|
+
objectFit: "cover",
|
|
9787
|
+
position: "absolute",
|
|
9788
|
+
top: { xs: "160px", "md": "130px" },
|
|
9789
|
+
left: { "xs": "calc(75% - 42.5px)", "sm": "calc(75% - 42.5px)", "md": "calc(75% - 85px)" },
|
|
9790
|
+
width: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
9791
|
+
border: "5px solid rgb(179, 198, 255)",
|
|
9792
|
+
height: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
9793
|
+
borderRadius: "50%"
|
|
9794
|
+
}
|
|
9790
9795
|
},
|
|
9791
9796
|
layout: 6
|
|
9792
9797
|
},
|
|
@@ -10764,16 +10769,14 @@ var Card = {
|
|
|
10764
10769
|
main: {
|
|
10765
10770
|
rowSpacing: 0.5
|
|
10766
10771
|
},
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
borderRadius: "20px"
|
|
10776
|
-
}
|
|
10772
|
+
componentsBoxStyle: {
|
|
10773
|
+
position: "relative",
|
|
10774
|
+
color: "white",
|
|
10775
|
+
height: { xs: "120px", md: "160px" },
|
|
10776
|
+
width: "100%",
|
|
10777
|
+
textAlign: "left",
|
|
10778
|
+
background: "#3f51b5",
|
|
10779
|
+
borderRadius: "20px"
|
|
10777
10780
|
},
|
|
10778
10781
|
layout: { xs: 12, sm: 12, md: 6, lg: 6 }
|
|
10779
10782
|
},
|