@elice/material-video-assessment 1.260930.0 → 1.261005.0

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.
Files changed (35) hide show
  1. package/cjs/components/material-video-assessment/MaterialVideoAssessment.d.ts +1 -1
  2. package/cjs/components/material-video-assessment/MaterialVideoAssessment.js +4 -5
  3. package/cjs/components/material-video-assessment/admin/MaterialVideoAssessmentAdminContent.js +22 -16
  4. package/cjs/components/material-video-assessment/admin/MaterialVideoAssessmentAdminContentSkeleton.js +24 -22
  5. package/cjs/components/material-video-assessment/admin/grade-button/GradeButton.js +2 -2
  6. package/cjs/components/material-video-assessment/admin/grade-button/GradeDialog.js +15 -13
  7. package/cjs/components/material-video-assessment/admin/response-detail-table/ResponseDetailTable.js +3 -3
  8. package/cjs/components/material-video-assessment/admin/response-detail-table/ResponseDetailTableRow.js +7 -7
  9. package/cjs/components/material-video-assessment/admin/response-detail-table/ResponseDetailTableScore.js +5 -5
  10. package/cjs/components/material-video-assessment/step/loading/StepLoading.js +13 -11
  11. package/cjs/components/material-video-assessment/step/preparation/StepPreparation.js +40 -30
  12. package/cjs/components/material-video-assessment/step/recording/StepRecording.js +56 -43
  13. package/cjs/components/material-video-assessment/step/submitted/StepSubmitted.d.ts +1 -1
  14. package/cjs/components/material-video-assessment/step/submitted/StepSubmitted.js +28 -22
  15. package/cjs/components/material-video-assessment/step/submitted/StepSubmittedDetailRow.js +7 -7
  16. package/cjs/components/material-video-assessment/step/submitted/StepSubmittedScore.js +9 -9
  17. package/cjs/components/material-video-assessment-edit/MaterialVideoAssessmentEditContent.js +35 -29
  18. package/es/components/material-video-assessment/MaterialVideoAssessment.d.ts +1 -1
  19. package/es/components/material-video-assessment/MaterialVideoAssessment.js +1 -2
  20. package/es/components/material-video-assessment/admin/MaterialVideoAssessmentAdminContent.js +14 -8
  21. package/es/components/material-video-assessment/admin/MaterialVideoAssessmentAdminContentSkeleton.js +8 -6
  22. package/es/components/material-video-assessment/admin/grade-button/GradeButton.js +1 -1
  23. package/es/components/material-video-assessment/admin/grade-button/GradeDialog.js +6 -4
  24. package/es/components/material-video-assessment/admin/response-detail-table/ResponseDetailTable.js +1 -1
  25. package/es/components/material-video-assessment/admin/response-detail-table/ResponseDetailTableRow.js +2 -2
  26. package/es/components/material-video-assessment/admin/response-detail-table/ResponseDetailTableScore.js +3 -3
  27. package/es/components/material-video-assessment/step/loading/StepLoading.js +5 -3
  28. package/es/components/material-video-assessment/step/preparation/StepPreparation.js +22 -12
  29. package/es/components/material-video-assessment/step/recording/StepRecording.js +36 -23
  30. package/es/components/material-video-assessment/step/submitted/StepSubmitted.d.ts +1 -1
  31. package/es/components/material-video-assessment/step/submitted/StepSubmitted.js +16 -10
  32. package/es/components/material-video-assessment/step/submitted/StepSubmittedDetailRow.js +2 -2
  33. package/es/components/material-video-assessment/step/submitted/StepSubmittedScore.js +5 -5
  34. package/es/components/material-video-assessment-edit/MaterialVideoAssessmentEditContent.js +17 -11
  35. package/package.json +15 -18
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
+ var edsMaterial = require('@elice/eds-material');
6
7
  var intl = require('@elice/intl');
7
8
  var mediaKit = require('@elice/media-kit');
8
- var material = require('@mui/material');
9
9
  var dayjs = require('dayjs');
10
10
  var MaterialVideoAssessmentContext = require('../../context/MaterialVideoAssessmentContext.js');
11
11
 
@@ -40,9 +40,9 @@ var StepPreparation = function StepPreparation(_ref) {
40
40
  //
41
41
  //
42
42
  //
43
- return jsxRuntime.jsxs(material.Stack, {
44
- gap: "1.5rem",
43
+ return jsxRuntime.jsxs(edsMaterial.Stack, {
45
44
  sx: {
45
+ gap: '1.5rem',
46
46
  width: '100%',
47
47
  padding: '1.5rem',
48
48
  borderRadius: '1.25rem',
@@ -53,21 +53,23 @@ var StepPreparation = function StepPreparation(_ref) {
53
53
  return "1px solid ".concat(theme.palette.divider);
54
54
  }
55
55
  },
56
- children: [jsxRuntime.jsx(material.Typography, {
56
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
57
57
  variant: "h6",
58
58
  children: intl$1.formatMessage({
59
59
  id: 'video_assessment.preparation.title'
60
60
  })
61
- }), jsxRuntime.jsxs(material.Stack, {
62
- gap: "1.5rem",
63
- children: [jsxRuntime.jsx(mediaKit.MediaDevicePermissionAlert, {}), jsxRuntime.jsxs(material.Stack, {
61
+ }), jsxRuntime.jsxs(edsMaterial.Stack, {
62
+ sx: {
63
+ gap: '1.5rem'
64
+ },
65
+ children: [jsxRuntime.jsx(mediaKit.MediaDevicePermissionAlert, {}), jsxRuntime.jsxs(edsMaterial.Stack, {
64
66
  direction: "row",
65
- gap: "2.5rem",
66
- alignItems: "center",
67
67
  sx: {
68
+ gap: '2.5rem',
69
+ alignItems: 'center',
68
70
  width: '100%'
69
71
  },
70
- children: [jsxRuntime.jsx(material.Box, {
72
+ children: [jsxRuntime.jsx(edsMaterial.Box, {
71
73
  sx: {
72
74
  flex: 1,
73
75
  aspectRatio: '8 / 5',
@@ -90,14 +92,14 @@ var StepPreparation = function StepPreparation(_ref) {
90
92
  objectFit: 'cover'
91
93
  }
92
94
  })
93
- }), jsxRuntime.jsxs(material.Stack, {
94
- gap: "1rem",
95
+ }), jsxRuntime.jsxs(edsMaterial.Stack, {
95
96
  sx: {
97
+ gap: '1rem',
96
98
  flex: 1,
97
99
  justifyContent: 'center'
98
100
  },
99
- children: [jsxRuntime.jsxs(material.FormControl, {
100
- children: [jsxRuntime.jsx(material.FormLabel, {
101
+ children: [jsxRuntime.jsxs(edsMaterial.FormControl, {
102
+ children: [jsxRuntime.jsx(edsMaterial.FormLabel, {
101
103
  children: intl$1.formatMessage({
102
104
  id: 'video_assessment.preparation.device_label.camera'
103
105
  })
@@ -105,8 +107,8 @@ var StepPreparation = function StepPreparation(_ref) {
105
107
  fullWidth: true,
106
108
  kind: "videoinput"
107
109
  })]
108
- }), jsxRuntime.jsxs(material.FormControl, {
109
- children: [jsxRuntime.jsx(material.FormLabel, {
110
+ }), jsxRuntime.jsxs(edsMaterial.FormControl, {
111
+ children: [jsxRuntime.jsx(edsMaterial.FormLabel, {
110
112
  children: intl$1.formatMessage({
111
113
  id: 'video_assessment.preparation.device_label.audio'
112
114
  })
@@ -117,51 +119,59 @@ var StepPreparation = function StepPreparation(_ref) {
117
119
  })]
118
120
  })]
119
121
  })]
120
- }), jsxRuntime.jsxs(material.Stack, {
121
- gap: "0.75rem",
122
+ }), jsxRuntime.jsxs(edsMaterial.Stack, {
123
+ divider: jsxRuntime.jsx(edsMaterial.Divider, {}),
122
124
  sx: {
125
+ gap: '0.75rem',
123
126
  padding: '1rem',
124
127
  borderRadius: '0.75rem',
125
128
  backgroundColor: function backgroundColor(theme) {
126
129
  return theme.palette.background.neutral;
127
130
  }
128
131
  },
129
- divider: jsxRuntime.jsx(material.Divider, {}),
130
132
  children: [hasTimeLimit ? jsxRuntime.jsx(jsxRuntime.Fragment, {
131
- children: jsxRuntime.jsxs(material.Stack, {
132
- children: [jsxRuntime.jsx(material.Typography, {
133
+ children: jsxRuntime.jsxs(edsMaterial.Stack, {
134
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
133
135
  variant: "body2",
134
- color: "text.secondary",
136
+ sx: {
137
+ color: 'text.secondary'
138
+ },
135
139
  children: intl$1.formatMessage({
136
140
  id: 'video_assessment.preparation.timer_label'
137
141
  })
138
- }), jsxRuntime.jsx(material.Typography, {
142
+ }), jsxRuntime.jsx(edsMaterial.Typography, {
139
143
  variant: "h5",
140
- fontWeight: 600,
144
+ sx: {
145
+ fontWeight: 600
146
+ },
141
147
  children: dayjs__default.default().startOf('day').add(timeLimitSeconds, 'second').format('mm:ss')
142
148
  })]
143
149
  })
144
- }) : null, jsxRuntime.jsx(material.Box, {
150
+ }) : null, jsxRuntime.jsx(edsMaterial.Box, {
145
151
  component: "ul",
146
152
  sx: {
147
153
  margin: 0,
148
154
  paddingLeft: '1.3125rem'
149
155
  },
150
156
  children: bulletIntlIds.map(function (id) {
151
- return jsxRuntime.jsx(material.Typography, {
157
+ return jsxRuntime.jsx(edsMaterial.Typography, {
152
158
  component: "li",
153
159
  variant: "body2",
154
- color: "text.secondary",
160
+ sx: {
161
+ color: 'text.secondary'
162
+ },
155
163
  children: intl$1.formatMessage({
156
164
  id: id
157
165
  })
158
166
  }, id);
159
167
  })
160
168
  })]
161
- }), jsxRuntime.jsx(material.Stack, {
169
+ }), jsxRuntime.jsx(edsMaterial.Stack, {
162
170
  direction: "row",
163
- justifyContent: "flex-end",
164
- children: jsxRuntime.jsx(material.Button, {
171
+ sx: {
172
+ justifyContent: 'flex-end'
173
+ },
174
+ children: jsxRuntime.jsx(edsMaterial.Button, {
165
175
  variant: "contained",
166
176
  disabled: !isReady,
167
177
  onClick: onNext,
@@ -4,13 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _rollupPluginBabelHelpers = require('../../../../_virtual/_rollupPluginBabelHelpers.js');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
+ var edsKit = require('@elice/eds-kit');
8
+ var edsMaterial = require('@elice/eds-material');
7
9
  var intl = require('@elice/intl');
8
10
  var mediaKit = require('@elice/media-kit');
9
- var muiElements = require('@elice/mui-elements');
10
11
  var proRegularSvgIcons = require('@fortawesome/pro-regular-svg-icons');
11
12
  var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
12
- var lab = require('@mui/lab');
13
- var material = require('@mui/material');
14
13
  var dayjs = require('dayjs');
15
14
  var MaterialVideoAssessmentContext = require('../../context/MaterialVideoAssessmentContext.js');
16
15
 
@@ -49,9 +48,9 @@ var StepRecording = function StepRecording(_ref) {
49
48
  //
50
49
  //
51
50
  //
52
- return jsxRuntime.jsxs(material.Stack, {
53
- gap: "1.5rem",
51
+ return jsxRuntime.jsxs(edsMaterial.Stack, {
54
52
  sx: {
53
+ gap: '1.5rem',
55
54
  width: '100%',
56
55
  padding: '1.5rem',
57
56
  borderRadius: '1.25rem',
@@ -62,33 +61,37 @@ var StepRecording = function StepRecording(_ref) {
62
61
  return "1px solid ".concat(theme.palette.divider);
63
62
  }
64
63
  },
65
- children: [errorReason ? jsxRuntime.jsx(material.Alert, {
64
+ children: [errorReason ? jsxRuntime.jsx(edsMaterial.Alert, {
66
65
  severity: "error",
67
66
  children: intl$1.formatMessage({
68
67
  id: "video_assessment.recording.error.".concat(errorReason)
69
68
  })
70
- }) : null, jsxRuntime.jsxs(material.Stack, {
71
- gap: "0.5rem",
69
+ }) : null, jsxRuntime.jsxs(edsMaterial.Stack, {
72
70
  sx: {
71
+ gap: '0.5rem',
73
72
  width: '100%'
74
73
  },
75
- children: [jsxRuntime.jsx(material.Typography, {
74
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
76
75
  variant: "h6",
77
- fontWeight: 600,
76
+ sx: {
77
+ fontWeight: 600
78
+ },
78
79
  children: intl$1.formatMessage({
79
80
  id: 'video_assessment.recording.prompt'
80
81
  }, {
81
82
  prompt: (_d = materialVideoAssessment === null || materialVideoAssessment === void 0 ? void 0 : materialVideoAssessment.prompt) !== null && _d !== void 0 ? _d : '',
82
83
  q: function q(chunks) {
83
- return jsxRuntime.jsx(material.Typography, {
84
+ return jsxRuntime.jsx(edsMaterial.Typography, {
84
85
  component: "span",
85
86
  variant: "inherit",
86
- color: "primary.main",
87
+ sx: {
88
+ color: 'primary.main'
89
+ },
87
90
  children: chunks
88
91
  });
89
92
  }
90
93
  })
91
- }), (materialVideoAssessment === null || materialVideoAssessment === void 0 ? void 0 : materialVideoAssessment.promptDescription) ? jsxRuntime.jsx(material.Typography, {
94
+ }), (materialVideoAssessment === null || materialVideoAssessment === void 0 ? void 0 : materialVideoAssessment.promptDescription) ? jsxRuntime.jsx(edsMaterial.Typography, {
92
95
  variant: "body1",
93
96
  sx: {
94
97
  whiteSpace: 'pre-wrap',
@@ -96,14 +99,14 @@ var StepRecording = function StepRecording(_ref) {
96
99
  },
97
100
  children: materialVideoAssessment.promptDescription
98
101
  }) : null]
99
- }), jsxRuntime.jsxs(material.Stack, {
102
+ }), jsxRuntime.jsxs(edsMaterial.Stack, {
100
103
  direction: "row",
101
- gap: "2.5rem",
102
- alignItems: "center",
103
104
  sx: {
105
+ gap: '2.5rem',
106
+ alignItems: 'center',
104
107
  width: '100%'
105
108
  },
106
- children: [jsxRuntime.jsxs(material.Box, {
109
+ children: [jsxRuntime.jsxs(edsMaterial.Box, {
107
110
  sx: {
108
111
  position: 'relative',
109
112
  flex: 1,
@@ -126,10 +129,10 @@ var StepRecording = function StepRecording(_ref) {
126
129
  height: '100%',
127
130
  objectFit: 'cover'
128
131
  }
129
- }), recorder.isRecording ? jsxRuntime.jsx(muiElements.Tag, {
132
+ }), recorder.isRecording ? jsxRuntime.jsx(edsKit.Tag, {
130
133
  color: "error",
131
134
  variant: "filled",
132
- icon: jsxRuntime.jsx(muiElements.EliceIcon, {
135
+ icon: jsxRuntime.jsx(edsKit.FaIcon, {
133
136
  icon: proSolidSvgIcons.faCircle,
134
137
  sx: {
135
138
  transform: 'scale(0.75)'
@@ -144,49 +147,55 @@ var StepRecording = function StepRecording(_ref) {
144
147
  bottom: '0.75rem'
145
148
  }
146
149
  }) : null]
147
- }), jsxRuntime.jsxs(material.Stack, {
148
- gap: "0.75rem",
150
+ }), jsxRuntime.jsxs(edsMaterial.Stack, {
149
151
  sx: {
152
+ gap: '0.75rem',
150
153
  flex: 1,
151
154
  alignSelf: 'stretch',
152
155
  justifyContent: 'center'
153
156
  },
154
- children: [jsxRuntime.jsxs(material.Stack, {
155
- gap: "0.25rem",
156
- children: [jsxRuntime.jsx(material.Typography, {
157
+ children: [jsxRuntime.jsxs(edsMaterial.Stack, {
158
+ sx: {
159
+ gap: '0.25rem'
160
+ },
161
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
157
162
  variant: "body1",
158
- color: "text.secondary",
163
+ color: "textSecondary",
159
164
  children: intl$1.formatMessage({
160
165
  id: showCountdown ? 'video_assessment.recording.timer_label_with_limit' : 'video_assessment.recording.timer_label_no_limit'
161
166
  })
162
- }), jsxRuntime.jsxs(material.Stack, {
167
+ }), jsxRuntime.jsxs(edsMaterial.Stack, {
163
168
  direction: "row",
164
- gap: "0.25rem",
165
- alignItems: "center",
166
- children: [jsxRuntime.jsx(muiElements.EliceIcon, {
169
+ sx: {
170
+ gap: '0.25rem',
171
+ alignItems: 'center'
172
+ },
173
+ children: [jsxRuntime.jsx(edsKit.FaIcon, {
167
174
  "aria-hidden": true,
168
175
  icon: proRegularSvgIcons.faClock,
169
176
  sx: {
170
177
  fontSize: '1.5rem',
171
178
  color: accentColor
172
179
  }
173
- }), jsxRuntime.jsx(material.Typography, {
180
+ }), jsxRuntime.jsx(edsMaterial.Typography, {
174
181
  "aria-live": "polite",
175
182
  variant: "h5",
176
- fontWeight: 600,
177
183
  color: accentColor,
184
+ sx: {
185
+ fontWeight: 600
186
+ },
178
187
  children: showCountdown ? intl$1.formatMessage({
179
188
  id: 'video_assessment.recording.timer_value_with_total'
180
189
  }, {
181
190
  remaining: formatMmSs(remainingSec),
182
191
  total: formatMmSs(totalSec),
183
192
  dim: function dim(chunks) {
184
- return jsxRuntime.jsx(material.Typography, {
193
+ return jsxRuntime.jsx(edsMaterial.Typography, {
185
194
  component: "span",
186
- color: "text.tertiary",
187
- fontWeight: 500,
195
+ color: "textTertiary",
188
196
  variant: "inherit",
189
197
  sx: {
198
+ fontWeight: 500,
190
199
  opacity: 0.7
191
200
  },
192
201
  children: chunks
@@ -195,7 +204,7 @@ var StepRecording = function StepRecording(_ref) {
195
204
  }) : formatMmSs(elapsedSec)
196
205
  })]
197
206
  })]
198
- }), showCountdown ? jsxRuntime.jsx(material.LinearProgress, {
207
+ }), showCountdown ? jsxRuntime.jsx(edsMaterial.LinearProgress, {
199
208
  variant: "determinate",
200
209
  value: progressValue,
201
210
  color: timer.isImminent ? 'warning' : 'primary',
@@ -203,12 +212,12 @@ var StepRecording = function StepRecording(_ref) {
203
212
  width: '100%',
204
213
  height: '0.25rem',
205
214
  borderRadius: '6.1875rem'
206
- }, "& .".concat(material.linearProgressClasses.bar), {
215
+ }, "& .".concat(edsMaterial.linearProgressClasses.bar), {
207
216
  transition: 'transform 1s linear'
208
217
  })
209
- }) : null, jsxRuntime.jsx(material.Typography, {
218
+ }) : null, jsxRuntime.jsx(edsMaterial.Typography, {
210
219
  variant: "body2",
211
- color: "text.tertiary",
220
+ color: "textTertiary",
212
221
  sx: {
213
222
  opacity: 0.7,
214
223
  lineHeight: 1.4
@@ -216,20 +225,24 @@ var StepRecording = function StepRecording(_ref) {
216
225
  children: intl$1.formatMessage({
217
226
  id: showCountdown ? 'video_assessment.recording.help_text_with_limit' : 'video_assessment.recording.help_text_no_limit'
218
227
  })
219
- }), timer.isExceeded ? jsxRuntime.jsx(material.Typography, {
228
+ }), timer.isExceeded ? jsxRuntime.jsx(edsMaterial.Typography, {
220
229
  variant: "caption",
221
- color: "warning.main",
222
230
  role: "status",
223
231
  "aria-live": "polite",
232
+ sx: {
233
+ color: 'warning.main'
234
+ },
224
235
  children: intl$1.formatMessage({
225
236
  id: 'video_assessment.recording.recommendation_exceeded'
226
237
  })
227
238
  }) : null]
228
239
  })]
229
- }), jsxRuntime.jsx(material.Stack, {
240
+ }), jsxRuntime.jsx(edsMaterial.Stack, {
230
241
  direction: "row",
231
- justifyContent: "flex-end",
232
- children: jsxRuntime.jsx(lab.LoadingButton, {
242
+ sx: {
243
+ justifyContent: 'flex-end'
244
+ },
245
+ children: jsxRuntime.jsx(edsMaterial.Button, {
233
246
  loading: isSubmitting,
234
247
  variant: "contained",
235
248
  onClick: function onClick() {
@@ -1,5 +1,5 @@
1
1
  import 'dayjs/locale/ko';
2
- import type { ButtonProps } from '@mui/material';
2
+ import type { ButtonProps } from '@elice/eds-material';
3
3
  import type React from 'react';
4
4
  interface StepSubmittedProps {
5
5
  userId: number;
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
+ var edsKit = require('@elice/eds-kit');
7
+ var edsMaterial = require('@elice/eds-material');
6
8
  var intl = require('@elice/intl');
7
- var muiElements = require('@elice/mui-elements');
8
9
  var proRegularSvgIcons = require('@fortawesome/pro-regular-svg-icons');
9
- var material = require('@mui/material');
10
10
  var dayjs = require('dayjs');
11
11
  require('dayjs/locale/ko');
12
12
  var StepSubmittedDetailRow = require('./StepSubmittedDetailRow.js');
@@ -51,9 +51,9 @@ var StepSubmitted = function StepSubmitted(_ref) {
51
51
  //
52
52
  //
53
53
  //
54
- return jsxRuntime.jsxs(material.Stack, {
55
- gap: "1.5rem",
54
+ return jsxRuntime.jsxs(edsMaterial.Stack, {
56
55
  sx: {
56
+ gap: '1.5rem',
57
57
  width: '100%',
58
58
  padding: '1.5rem',
59
59
  borderRadius: '1.25rem',
@@ -64,28 +64,32 @@ var StepSubmitted = function StepSubmitted(_ref) {
64
64
  return "1px solid ".concat(theme.palette.divider);
65
65
  }
66
66
  },
67
- children: [jsxRuntime.jsxs(material.Stack, {
68
- gap: "0.5rem",
67
+ children: [jsxRuntime.jsxs(edsMaterial.Stack, {
69
68
  sx: {
69
+ gap: '0.5rem',
70
70
  width: '100%'
71
71
  },
72
- children: [jsxRuntime.jsx(material.Typography, {
72
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
73
73
  variant: "h6",
74
- fontWeight: 600,
74
+ sx: {
75
+ fontWeight: 600
76
+ },
75
77
  children: intl$1.formatMessage({
76
78
  id: 'video_assessment.submitted.prompt'
77
79
  }, {
78
80
  prompt: (_h = materialVideoAssessment === null || materialVideoAssessment === void 0 ? void 0 : materialVideoAssessment.prompt) !== null && _h !== void 0 ? _h : '',
79
81
  q: function q(chunks) {
80
- return jsxRuntime.jsx(material.Typography, {
82
+ return jsxRuntime.jsx(edsMaterial.Typography, {
81
83
  component: "span",
82
84
  variant: "inherit",
83
- color: "primary.main",
85
+ sx: {
86
+ color: 'primary.main'
87
+ },
84
88
  children: chunks
85
89
  });
86
90
  }
87
91
  })
88
- }), (materialVideoAssessment === null || materialVideoAssessment === void 0 ? void 0 : materialVideoAssessment.promptDescription) ? jsxRuntime.jsx(material.Typography, {
92
+ }), (materialVideoAssessment === null || materialVideoAssessment === void 0 ? void 0 : materialVideoAssessment.promptDescription) ? jsxRuntime.jsx(edsMaterial.Typography, {
89
93
  variant: "body1",
90
94
  sx: {
91
95
  whiteSpace: 'pre-wrap',
@@ -93,12 +97,12 @@ var StepSubmitted = function StepSubmitted(_ref) {
93
97
  },
94
98
  children: materialVideoAssessment.promptDescription
95
99
  }) : null]
96
- }), jsxRuntime.jsxs(material.Stack, {
97
- gap: "1.5rem",
100
+ }), jsxRuntime.jsxs(edsMaterial.Stack, {
98
101
  sx: {
102
+ gap: '1.5rem',
99
103
  width: '100%'
100
104
  },
101
- children: [jsxRuntime.jsx(material.Box, {
105
+ children: [jsxRuntime.jsx(edsMaterial.Box, {
102
106
  sx: {
103
107
  width: '100%',
104
108
  maxWidth: '25rem',
@@ -122,11 +126,11 @@ var StepSubmitted = function StepSubmitted(_ref) {
122
126
  objectFit: 'cover'
123
127
  }
124
128
  })) : null
125
- }), jsxRuntime.jsx(material.Table, {
129
+ }), jsxRuntime.jsx(edsMaterial.Table, {
126
130
  sx: {
127
131
  width: '100%'
128
132
  },
129
- children: jsxRuntime.jsxs(material.TableBody, {
133
+ children: jsxRuntime.jsxs(edsMaterial.TableBody, {
130
134
  children: [hideScore ? null : jsxRuntime.jsxs(jsxRuntime.Fragment, {
131
135
  children: [jsxRuntime.jsx(StepSubmittedDetailRow.default, {
132
136
  label: intl$1.formatMessage({
@@ -160,21 +164,23 @@ var StepSubmitted = function StepSubmitted(_ref) {
160
164
  })]
161
165
  })
162
166
  })]
163
- }), jsxRuntime.jsxs(material.Stack, {
167
+ }), jsxRuntime.jsxs(edsMaterial.Stack, {
164
168
  direction: "row",
165
- gap: "0.5rem",
166
- justifyContent: "flex-end",
167
- children: [(materialVideoAssessment === null || materialVideoAssessment === void 0 ? void 0 : materialVideoAssessment.isResubmitEnabled) ? jsxRuntime.jsx(material.Button, {
169
+ sx: {
170
+ gap: '0.5rem',
171
+ justifyContent: 'flex-end'
172
+ },
173
+ children: [(materialVideoAssessment === null || materialVideoAssessment === void 0 ? void 0 : materialVideoAssessment.isResubmitEnabled) ? jsxRuntime.jsx(edsMaterial.Button, {
168
174
  variant: "text",
169
175
  color: "inherit",
170
- startIcon: jsxRuntime.jsx(muiElements.EliceIcon, {
176
+ startIcon: jsxRuntime.jsx(edsKit.FaIcon, {
171
177
  icon: proRegularSvgIcons.faArrowRotateRight
172
178
  }),
173
179
  onClick: onReset,
174
180
  children: intl$1.formatMessage({
175
181
  id: 'video_assessment.submitted.retry'
176
182
  })
177
- }) : null, nextButtonProps ? jsxRuntime.jsx(material.Button, Object.assign({
183
+ }) : null, nextButtonProps ? jsxRuntime.jsx(edsMaterial.Button, Object.assign({
178
184
  variant: "contained"
179
185
  }, nextButtonProps, {
180
186
  children: (_q = nextButtonProps.children) !== null && _q !== void 0 ? _q : intl$1.formatMessage({
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var material = require('@mui/material');
6
+ var edsMaterial = require('@elice/eds-material');
7
7
 
8
8
  //
9
9
  //
@@ -11,8 +11,8 @@ var material = require('@mui/material');
11
11
  var StepSubmittedDetailRow = function StepSubmittedDetailRow(_ref) {
12
12
  var label = _ref.label,
13
13
  value = _ref.value;
14
- return jsxRuntime.jsxs(material.TableRow, {
15
- children: [jsxRuntime.jsx(material.TableCell, {
14
+ return jsxRuntime.jsxs(edsMaterial.TableRow, {
15
+ children: [jsxRuntime.jsx(edsMaterial.TableCell, {
16
16
  sx: {
17
17
  width: '10rem',
18
18
  padding: '1rem',
@@ -24,18 +24,18 @@ var StepSubmittedDetailRow = function StepSubmittedDetailRow(_ref) {
24
24
  },
25
25
  fontWeight: 500
26
26
  },
27
- children: jsxRuntime.jsx(material.Typography, {
27
+ children: jsxRuntime.jsx(edsMaterial.Typography, {
28
28
  variant: "body2",
29
29
  children: label
30
30
  })
31
- }), jsxRuntime.jsx(material.TableCell, {
31
+ }), jsxRuntime.jsx(edsMaterial.TableCell, {
32
32
  sx: {
33
33
  padding: '1rem'
34
34
  },
35
- children: typeof value === 'string' ? jsxRuntime.jsx(material.Typography, {
35
+ children: typeof value === 'string' ? jsxRuntime.jsx(edsMaterial.Typography, {
36
36
  variant: "body2",
37
- color: "text.secondary",
38
37
  sx: {
38
+ color: 'text.secondary',
39
39
  whiteSpace: 'pre-wrap'
40
40
  },
41
41
  children: value
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
+ var edsKit = require('@elice/eds-kit');
7
+ var edsMaterial = require('@elice/eds-material');
6
8
  var intl = require('@elice/intl');
7
- var muiElements = require('@elice/mui-elements');
8
- var material = require('@mui/material');
9
9
 
10
10
  //
11
11
  //
@@ -18,7 +18,7 @@ var StepSubmittedScore = function StepSubmittedScore(_ref) {
18
18
  //
19
19
  //
20
20
  if (scoreStatus === 'visible' && typeof manualScore === 'number') {
21
- return jsxRuntime.jsx(muiElements.Tag, {
21
+ return jsxRuntime.jsx(edsKit.Tag, {
22
22
  color: "default",
23
23
  size: "small",
24
24
  label: intl$1.formatMessage({
@@ -30,10 +30,10 @@ var StepSubmittedScore = function StepSubmittedScore(_ref) {
30
30
  }
31
31
  switch (scoreStatus) {
32
32
  case 'pending':
33
- return jsxRuntime.jsx(material.Typography, {
33
+ return jsxRuntime.jsx(edsMaterial.Typography, {
34
34
  variant: "body2",
35
- color: "text.secondary",
36
35
  sx: {
36
+ color: 'text.secondary',
37
37
  whiteSpace: 'pre-wrap'
38
38
  },
39
39
  children: intl$1.formatMessage({
@@ -41,10 +41,10 @@ var StepSubmittedScore = function StepSubmittedScore(_ref) {
41
41
  })
42
42
  });
43
43
  case 'hidden':
44
- return jsxRuntime.jsx(material.Typography, {
44
+ return jsxRuntime.jsx(edsMaterial.Typography, {
45
45
  variant: "body2",
46
- color: "text.secondary",
47
46
  sx: {
47
+ color: 'text.secondary',
48
48
  whiteSpace: 'pre-wrap'
49
49
  },
50
50
  children: intl$1.formatMessage({
@@ -52,10 +52,10 @@ var StepSubmittedScore = function StepSubmittedScore(_ref) {
52
52
  })
53
53
  });
54
54
  default:
55
- return jsxRuntime.jsx(material.Typography, {
55
+ return jsxRuntime.jsx(edsMaterial.Typography, {
56
56
  variant: "body2",
57
- color: "text.secondary",
58
57
  sx: {
58
+ color: 'text.secondary',
59
59
  whiteSpace: 'pre-wrap'
60
60
  },
61
61
  children: intl$1.formatMessage({