@elice/material-runbox 1.240909.0 → 1.240911.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.
- package/cjs/components/material-runbox/MaterialRunboxFooter.js +5 -2
- package/cjs/components/material-runbox/MaterialRunboxHeader.js +12 -9
- package/es/components/material-runbox/MaterialRunboxFooter.js +5 -2
- package/es/components/material-runbox/MaterialRunboxHeader.js +12 -9
- package/package.json +3 -3
|
@@ -19,12 +19,15 @@ var StyledFooter = /*#__PURE__*/_styled__default.default("div", {
|
|
|
19
19
|
})("position:relative;flex:0 0 2rem;display:flex;justify-content:space-between;align-items:center;padding:0 1rem;width:100%;border-top:1px solid ", function (_ref) {
|
|
20
20
|
var theme = _ref.theme;
|
|
21
21
|
return theme.palette.divider;
|
|
22
|
+
}, ";background-color:", function (_ref2) {
|
|
23
|
+
var theme = _ref2.theme;
|
|
24
|
+
return theme.palette.background.paper;
|
|
22
25
|
}, ";");
|
|
23
26
|
//
|
|
24
27
|
//
|
|
25
28
|
//
|
|
26
|
-
var MaterialRunboxFooter = function MaterialRunboxFooter(
|
|
27
|
-
var runtimeTemplate =
|
|
29
|
+
var MaterialRunboxFooter = function MaterialRunboxFooter(_ref3) {
|
|
30
|
+
var runtimeTemplate = _ref3.runtimeTemplate;
|
|
28
31
|
/**
|
|
29
32
|
* Resource stats
|
|
30
33
|
*/
|
|
@@ -31,16 +31,19 @@ var StyledHeader = /*#__PURE__*/_styled__default.default("div", {
|
|
|
31
31
|
})("position:relative;flex:0 0 3rem;display:flex;justify-content:space-between;align-items:center;padding:0 1rem;width:100%;border-bottom:1px solid ", function (_ref) {
|
|
32
32
|
var theme = _ref.theme;
|
|
33
33
|
return theme.palette.divider;
|
|
34
|
-
}, ";overflow:hidden;")
|
|
34
|
+
}, ";overflow:hidden;background-color:", function (_ref2) {
|
|
35
|
+
var theme = _ref2.theme;
|
|
36
|
+
return theme.palette.background.paper;
|
|
37
|
+
}, ";");
|
|
35
38
|
//
|
|
36
39
|
//
|
|
37
40
|
//
|
|
38
|
-
var MaterialRunboxHeader = function MaterialRunboxHeader(
|
|
39
|
-
var runbox =
|
|
40
|
-
runtime =
|
|
41
|
-
runtimeTemplate =
|
|
42
|
-
courseId =
|
|
43
|
-
refetch =
|
|
41
|
+
var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
42
|
+
var runbox = _ref3.runbox,
|
|
43
|
+
runtime = _ref3.runtime,
|
|
44
|
+
runtimeTemplate = _ref3.runtimeTemplate,
|
|
45
|
+
courseId = _ref3.courseId,
|
|
46
|
+
refetch = _ref3.refetch;
|
|
44
47
|
var intl$1 = intl.useRawEliceIntl();
|
|
45
48
|
var _useMaterialRunboxCon = MaterialRunboxContext.useMaterialRunboxContext(),
|
|
46
49
|
enableAutoShutdownToggle = _useMaterialRunboxCon.enableAutoShutdownToggle;
|
|
@@ -63,8 +66,8 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref2) {
|
|
|
63
66
|
courseId: courseId,
|
|
64
67
|
runtime: runtime
|
|
65
68
|
}],
|
|
66
|
-
queryFn: function queryFn(
|
|
67
|
-
var signal =
|
|
69
|
+
queryFn: function queryFn(_ref4) {
|
|
70
|
+
var signal = _ref4.signal;
|
|
68
71
|
return materialRunboxApi.runbox.runboxRunboxIdSubmitInfoGet({
|
|
69
72
|
eliceCourseId: courseId,
|
|
70
73
|
runboxId: runtime === null || runtime === void 0 ? void 0 : runtime.runboxId
|
|
@@ -11,12 +11,15 @@ var StyledFooter = /*#__PURE__*/_styled("div", {
|
|
|
11
11
|
})("position:relative;flex:0 0 2rem;display:flex;justify-content:space-between;align-items:center;padding:0 1rem;width:100%;border-top:1px solid ", function (_ref) {
|
|
12
12
|
var theme = _ref.theme;
|
|
13
13
|
return theme.palette.divider;
|
|
14
|
+
}, ";background-color:", function (_ref2) {
|
|
15
|
+
var theme = _ref2.theme;
|
|
16
|
+
return theme.palette.background.paper;
|
|
14
17
|
}, ";");
|
|
15
18
|
//
|
|
16
19
|
//
|
|
17
20
|
//
|
|
18
|
-
var MaterialRunboxFooter = function MaterialRunboxFooter(
|
|
19
|
-
var runtimeTemplate =
|
|
21
|
+
var MaterialRunboxFooter = function MaterialRunboxFooter(_ref3) {
|
|
22
|
+
var runtimeTemplate = _ref3.runtimeTemplate;
|
|
20
23
|
/**
|
|
21
24
|
* Resource stats
|
|
22
25
|
*/
|
|
@@ -22,16 +22,19 @@ var StyledHeader = /*#__PURE__*/_styled("div", {
|
|
|
22
22
|
})("position:relative;flex:0 0 3rem;display:flex;justify-content:space-between;align-items:center;padding:0 1rem;width:100%;border-bottom:1px solid ", function (_ref) {
|
|
23
23
|
var theme = _ref.theme;
|
|
24
24
|
return theme.palette.divider;
|
|
25
|
-
}, ";overflow:hidden;")
|
|
25
|
+
}, ";overflow:hidden;background-color:", function (_ref2) {
|
|
26
|
+
var theme = _ref2.theme;
|
|
27
|
+
return theme.palette.background.paper;
|
|
28
|
+
}, ";");
|
|
26
29
|
//
|
|
27
30
|
//
|
|
28
31
|
//
|
|
29
|
-
var MaterialRunboxHeader = function MaterialRunboxHeader(
|
|
30
|
-
var runbox =
|
|
31
|
-
runtime =
|
|
32
|
-
runtimeTemplate =
|
|
33
|
-
courseId =
|
|
34
|
-
refetch =
|
|
32
|
+
var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
33
|
+
var runbox = _ref3.runbox,
|
|
34
|
+
runtime = _ref3.runtime,
|
|
35
|
+
runtimeTemplate = _ref3.runtimeTemplate,
|
|
36
|
+
courseId = _ref3.courseId,
|
|
37
|
+
refetch = _ref3.refetch;
|
|
35
38
|
var intl = useRawEliceIntl();
|
|
36
39
|
var _useMaterialRunboxCon = useMaterialRunboxContext(),
|
|
37
40
|
enableAutoShutdownToggle = _useMaterialRunboxCon.enableAutoShutdownToggle;
|
|
@@ -54,8 +57,8 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref2) {
|
|
|
54
57
|
courseId: courseId,
|
|
55
58
|
runtime: runtime
|
|
56
59
|
}],
|
|
57
|
-
queryFn: function queryFn(
|
|
58
|
-
var signal =
|
|
60
|
+
queryFn: function queryFn(_ref4) {
|
|
61
|
+
var signal = _ref4.signal;
|
|
59
62
|
return materialRunboxApi.runbox.runboxRunboxIdSubmitInfoGet({
|
|
60
63
|
eliceCourseId: courseId,
|
|
61
64
|
runboxId: runtime === null || runtime === void 0 ? void 0 : runtime.runboxId
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-runbox",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.240911.0",
|
|
4
4
|
"description": "User view and editing components of Elice material runbox",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@elice/intl": "0.240425.0-rc.2",
|
|
53
|
-
"@elice/material-shared-types": "1.
|
|
54
|
-
"@elice/material-shared-utils": "1.
|
|
53
|
+
"@elice/material-shared-types": "1.240911.0",
|
|
54
|
+
"@elice/material-shared-utils": "1.240911.0",
|
|
55
55
|
"@elice/mui-elements": "^5.240820.0",
|
|
56
56
|
"@elice/mui-system": "^5.240820.0",
|
|
57
57
|
"@elice/mui-x-snackbar": "^5.240820.0",
|