@nualang/nualang-ui-components 0.1.1196 → 0.1.1198
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/Forms/CreateCourse/Steps/Customization/Customization.js +2 -2
- package/dist/Forms/CreateMeetingMultiStepForm/CreateMeetingMultiStepForm.js +4 -1
- package/dist/Screens/Classrooms/ViewClassroom/ViewClassroom.js +1 -1
- package/dist/Screens/GenerateAudio/GenerateAudio.js +2 -2
- package/dist/Tables/SubmissionsTableCards/SubmissionsTableCards.js +2 -5
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ function Customization({
|
|
|
42
42
|
fileSizeLimit: fileSizeLimit,
|
|
43
43
|
previewComponent: _PreviewCard.default,
|
|
44
44
|
isBanner: false
|
|
45
|
-
}))),
|
|
45
|
+
}))), /*#__PURE__*/_react.default.createElement(_material.Grid, {
|
|
46
46
|
item: true,
|
|
47
47
|
md: 6
|
|
48
48
|
}, /*#__PURE__*/_react.default.createElement(_material.Typography, {
|
|
@@ -59,7 +59,7 @@ function Customization({
|
|
|
59
59
|
previewComponent: _PreviewCard.default,
|
|
60
60
|
isBanner: true,
|
|
61
61
|
aspect: 16 / 2.5
|
|
62
|
-
})))
|
|
62
|
+
})))));
|
|
63
63
|
}
|
|
64
64
|
Customization.propTypes = {};
|
|
65
65
|
Customization.label = "customization";
|
|
@@ -16,6 +16,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
16
16
|
|
|
17
17
|
function CreateMeetingMultiStepForm({
|
|
18
18
|
handleSubmit,
|
|
19
|
+
onGroupAssignmentChange,
|
|
19
20
|
values = {
|
|
20
21
|
meetingTopic: "1111",
|
|
21
22
|
t: x => x,
|
|
@@ -51,6 +52,7 @@ function CreateMeetingMultiStepForm({
|
|
|
51
52
|
initialValues: values,
|
|
52
53
|
altValues: values,
|
|
53
54
|
onSubmit: handleSubmit,
|
|
55
|
+
onGroupAssignmentChange: onGroupAssignmentChange,
|
|
54
56
|
dialogTitle: dialogTitle,
|
|
55
57
|
open: open,
|
|
56
58
|
loading: loading
|
|
@@ -61,6 +63,7 @@ function CreateMeetingMultiStepForm({
|
|
|
61
63
|
t: t,
|
|
62
64
|
handleClose: handleClose,
|
|
63
65
|
initialValues: values,
|
|
64
|
-
onSubmit: handleSubmit
|
|
66
|
+
onSubmit: handleSubmit,
|
|
67
|
+
onGroupAssignmentChange: onGroupAssignmentChange
|
|
65
68
|
});
|
|
66
69
|
}
|
|
@@ -964,8 +964,8 @@ function GenerateAudio({
|
|
|
964
964
|
}
|
|
965
965
|
if (generateTxt) {
|
|
966
966
|
const fileNameWithoutExtension = row.fileName.replace(".mp3", "");
|
|
967
|
-
const
|
|
968
|
-
folder.file(`${fileNameWithoutExtension}.txt`,
|
|
967
|
+
const txtContentWithoutQuotes = `${phrase}\n`.replace(/"/g, "");
|
|
968
|
+
folder.file(`${fileNameWithoutExtension}.txt`, txtContentWithoutQuotes);
|
|
969
969
|
}
|
|
970
970
|
if (fileNameCount[fileNameWithExtension]) {
|
|
971
971
|
fileNameCount[fileNameWithExtension] += 1;
|
|
@@ -41,7 +41,6 @@ const SubmissionsTableCards = (0, _mui.withStyles)(({
|
|
|
41
41
|
const [cardsToShow, setCardsToShow] = (0, _react.useState)(3);
|
|
42
42
|
const [attendeesData, setAttendeesData] = (0, _react.useState)([]);
|
|
43
43
|
const [isDialogOpen, setDialogOpen] = (0, _react.useState)(false);
|
|
44
|
-
const [meetingCounts, setMeetingCounts] = (0, _react.useState)({});
|
|
45
44
|
const [groupedId, setGroupedId] = (0, _react.useState)("");
|
|
46
45
|
(0, _react.useEffect)(() => {
|
|
47
46
|
if (meetingRecsData) {
|
|
@@ -90,11 +89,9 @@ const SubmissionsTableCards = (0, _mui.withStyles)(({
|
|
|
90
89
|
uniqueSubmissions?.forEach(item => {
|
|
91
90
|
counts[item.groupedId] = (counts[item.groupedId] || 0) + 1;
|
|
92
91
|
});
|
|
93
|
-
|
|
92
|
+
return counts;
|
|
94
93
|
};
|
|
95
|
-
|
|
96
|
-
calculateMeetingCounts();
|
|
97
|
-
}, [uniqueSubmissions]);
|
|
94
|
+
const meetingCounts = calculateMeetingCounts();
|
|
98
95
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_material.Box, {
|
|
99
96
|
sx: {
|
|
100
97
|
marginBottom: 2
|