@elice/material-assignment 1.251120.1 → 1.260128.0-rc.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/_virtual/_rollupPluginBabelHelpers.js +157 -350
- package/cjs/components/index.js +2 -2
- package/cjs/components/material-assignment/MaterialAssignment.d.ts +1 -1
- package/cjs/components/material-assignment/MaterialAssignment.js +8 -8
- package/cjs/components/material-assignment/MaterialAssignmentContent.js +33 -33
- package/cjs/components/material-assignment/MaterialAssignmentUploadModal.js +26 -27
- package/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.d.ts +2 -3
- package/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.js +4 -4
- package/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.styled.d.ts +22 -8
- package/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.styled.js +20 -20
- package/cjs/components/material-assignment-admin/MaterialAssignmentAdminContent.js +94 -96
- package/cjs/components/material-assignment-admin/MaterialAssignmentAdminContentTa.js +34 -35
- package/cjs/components/shared/MaterialAssignmentContainer.d.ts +1 -1
- package/cjs/components/shared/MaterialAssignmentContainer.js +19 -11
- package/cjs/index.js +2 -2
- package/cjs/node_modules/@elice/mui-system/es/tokens/colors/green.js +31 -0
- package/cjs/node_modules/@elice/mui-system/es/tokens/colors/orange.js +31 -0
- package/cjs/node_modules/@elice/utils/es/texts/validateUrl.js +18 -0
- package/es/_virtual/_rollupPluginBabelHelpers.js +156 -350
- package/es/components/index.js +1 -1
- package/es/components/material-assignment/MaterialAssignment.d.ts +1 -1
- package/es/components/material-assignment/MaterialAssignment.js +7 -7
- package/es/components/material-assignment/MaterialAssignmentContent.js +32 -32
- package/es/components/material-assignment/MaterialAssignmentUploadModal.js +25 -26
- package/es/components/material-assignment-admin/MaterialAssignmentAdmin.d.ts +2 -3
- package/es/components/material-assignment-admin/MaterialAssignmentAdmin.js +4 -4
- package/es/components/material-assignment-admin/MaterialAssignmentAdmin.styled.d.ts +22 -8
- package/es/components/material-assignment-admin/MaterialAssignmentAdmin.styled.js +19 -19
- package/es/components/material-assignment-admin/MaterialAssignmentAdminContent.js +95 -97
- package/es/components/material-assignment-admin/MaterialAssignmentAdminContentTa.js +35 -36
- package/es/components/shared/MaterialAssignmentContainer.d.ts +1 -1
- package/es/components/shared/MaterialAssignmentContainer.js +18 -10
- package/es/index.js +1 -1
- package/es/node_modules/@elice/mui-system/es/tokens/colors/green.js +29 -0
- package/es/node_modules/@elice/mui-system/es/tokens/colors/orange.js +29 -0
- package/es/node_modules/@elice/utils/es/texts/validateUrl.js +16 -0
- package/package.json +12 -11
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { slicedToArray as _slicedToArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import _styled from '@emotion/styled/base';
|
|
2
3
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
4
|
import React from 'react';
|
|
4
5
|
import { config, getOrgMaterialAssignmentGet, getOrgMaterialAssignmentGradeList, getOrgMaterialAssignmentGradeResultGet, getOrgMaterialAssignmentSubmissionGet } from '@elice/api-client';
|
|
@@ -6,29 +7,29 @@ import { Text, Button, Spinner, Vspace, InfoTable, TableNext, Hspace } from '@el
|
|
|
6
7
|
import { base } from '@elice/design-tokens';
|
|
7
8
|
import { useRawEliceIntl } from '@elice/intl';
|
|
8
9
|
import { useMaterialConfigApiClientUpdate, useMaterialFetchRaw } from '@elice/material-shared-utils';
|
|
9
|
-
import { colors } from '@elice/mui-system';
|
|
10
10
|
import { enums } from '@elice/types';
|
|
11
|
-
import styled from 'styled-components';
|
|
12
11
|
import MaterialAssignmentContainer from '../shared/MaterialAssignmentContainer.js';
|
|
13
12
|
import { DARK_TEXT_TERTIARY_COLOR } from './constants/color.js';
|
|
14
13
|
import MaterialAssignmentUploadModal from './MaterialAssignmentUploadModal.js';
|
|
14
|
+
import { green } from '../../node_modules/@elice/mui-system/es/tokens/colors/green.js';
|
|
15
|
+
import { orange } from '../../node_modules/@elice/mui-system/es/tokens/colors/orange.js';
|
|
15
16
|
|
|
16
17
|
var GRADE_LIST_COUNT = 20;
|
|
17
|
-
var StyledSubmittedText =
|
|
18
|
-
|
|
19
|
-
})(
|
|
20
|
-
var StyledNoSubmittedText =
|
|
21
|
-
|
|
22
|
-
})(
|
|
23
|
-
var StyledTableHeaderCell =
|
|
24
|
-
|
|
25
|
-
})(
|
|
26
|
-
var StyledTotalPointText =
|
|
27
|
-
|
|
28
|
-
})(
|
|
29
|
-
var StyledUploadButton =
|
|
30
|
-
|
|
31
|
-
})(
|
|
18
|
+
var StyledSubmittedText = /*#__PURE__*/_styled(Text, {
|
|
19
|
+
target: "e1wk5tfe4"
|
|
20
|
+
})("color:", green[400], ";");
|
|
21
|
+
var StyledNoSubmittedText = /*#__PURE__*/_styled(Text, {
|
|
22
|
+
target: "e1wk5tfe3"
|
|
23
|
+
})("color:", orange[400], ";");
|
|
24
|
+
var StyledTableHeaderCell = /*#__PURE__*/_styled("td", {
|
|
25
|
+
target: "e1wk5tfe2"
|
|
26
|
+
})("color:", DARK_TEXT_TERTIARY_COLOR, "!important;");
|
|
27
|
+
var StyledTotalPointText = /*#__PURE__*/_styled(Text, {
|
|
28
|
+
target: "e1wk5tfe1"
|
|
29
|
+
})("color:", DARK_TEXT_TERTIARY_COLOR, ";");
|
|
30
|
+
var StyledUploadButton = /*#__PURE__*/_styled(Button, {
|
|
31
|
+
target: "e1wk5tfe0"
|
|
32
|
+
})("background-color:", base.color.primary6, ";border-color:", base.color.primary6, ";");
|
|
32
33
|
var MaterialAssignmentContent = function MaterialAssignmentContent(_ref) {
|
|
33
34
|
var materialAssignmentId = _ref.materialAssignmentId,
|
|
34
35
|
userId = _ref.userId;
|
|
@@ -62,18 +63,18 @@ var MaterialAssignmentContent = function MaterialAssignmentContent(_ref) {
|
|
|
62
63
|
materialAssignmentSubmission = _React$useState8[0],
|
|
63
64
|
setMaterialAssignmentSubmission = _React$useState8[1];
|
|
64
65
|
var _React$useState9 = React.useState(),
|
|
65
|
-
_React$
|
|
66
|
-
materialAssignmentGradeResult = _React$
|
|
67
|
-
setMaterialAssignmentGradeResult = _React$
|
|
68
|
-
var _React$
|
|
69
|
-
_React$
|
|
70
|
-
materialAssignmentGradeList = _React$
|
|
71
|
-
setMaterialAssignmentGradeList = _React$
|
|
66
|
+
_React$useState0 = _slicedToArray(_React$useState9, 2),
|
|
67
|
+
materialAssignmentGradeResult = _React$useState0[0],
|
|
68
|
+
setMaterialAssignmentGradeResult = _React$useState0[1];
|
|
69
|
+
var _React$useState1 = React.useState(),
|
|
70
|
+
_React$useState10 = _slicedToArray(_React$useState1, 2),
|
|
71
|
+
materialAssignmentGradeList = _React$useState10[0],
|
|
72
|
+
setMaterialAssignmentGradeList = _React$useState10[1];
|
|
72
73
|
/** Is confirm modal visible? */
|
|
73
|
-
var _React$
|
|
74
|
-
_React$
|
|
75
|
-
showAssignmentSubmitModal = _React$
|
|
76
|
-
setShowAssignmentSubmitModal = _React$
|
|
74
|
+
var _React$useState11 = React.useState(false),
|
|
75
|
+
_React$useState12 = _slicedToArray(_React$useState11, 2),
|
|
76
|
+
showAssignmentSubmitModal = _React$useState12[0],
|
|
77
|
+
setShowAssignmentSubmitModal = _React$useState12[1];
|
|
77
78
|
var isAssignmentSubmitted = Boolean(materialAssignment === null || materialAssignment === void 0 ? void 0 : materialAssignment.lastAssignmentSubmissionId);
|
|
78
79
|
var isAssignmentClosed = materialAssignment && Boolean(materialAssignment.closeDatetime < Date.now());
|
|
79
80
|
var isAssignmentResultVisible = Boolean(materialAssignment === null || materialAssignment === void 0 ? void 0 : materialAssignment.scoreFinalizedDatetime);
|
|
@@ -100,10 +101,9 @@ var MaterialAssignmentContent = function MaterialAssignmentContent(_ref) {
|
|
|
100
101
|
}
|
|
101
102
|
}).then(function (_ref2) {
|
|
102
103
|
var materialAssignmentGrades = _ref2.materialAssignmentGrades;
|
|
103
|
-
_ref2.materialAssignmentGradeCount;
|
|
104
104
|
setAssignmentGradeListGetStatus('resolved');
|
|
105
105
|
setMaterialAssignmentGradeList(materialAssignmentGrades);
|
|
106
|
-
})
|
|
106
|
+
})["catch"](function (error) {
|
|
107
107
|
console.error(error);
|
|
108
108
|
setAssignmentGradeListGetStatus('rejected');
|
|
109
109
|
});
|
|
@@ -126,7 +126,7 @@ var MaterialAssignmentContent = function MaterialAssignmentContent(_ref) {
|
|
|
126
126
|
var materialAssignmentGradeResult = _ref3.materialAssignmentGradeResult;
|
|
127
127
|
setAssignmentGradeResultGetStatus('resolved');
|
|
128
128
|
setMaterialAssignmentGradeResult(materialAssignmentGradeResult);
|
|
129
|
-
})
|
|
129
|
+
})["catch"](function (error) {
|
|
130
130
|
console.error(error);
|
|
131
131
|
setAssignmentGradeResultGetStatus('rejected');
|
|
132
132
|
});
|
|
@@ -151,7 +151,7 @@ var MaterialAssignmentContent = function MaterialAssignmentContent(_ref) {
|
|
|
151
151
|
var materialAssignmentSubmission = _ref4.materialAssignmentSubmission;
|
|
152
152
|
setAssignmentSubmissionGetStatus('resolved');
|
|
153
153
|
setMaterialAssignmentSubmission(materialAssignmentSubmission);
|
|
154
|
-
})
|
|
154
|
+
})["catch"](function (error) {
|
|
155
155
|
console.error(error);
|
|
156
156
|
setAssignmentSubmissionGetStatus('rejected');
|
|
157
157
|
setMaterialAssignmentSubmission(undefined);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { slicedToArray as _slicedToArray, asyncToGenerator as _asyncToGenerator,
|
|
1
|
+
import { slicedToArray as _slicedToArray, asyncToGenerator as _asyncToGenerator, regenerator as _regenerator } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import _styled from '@emotion/styled/base';
|
|
2
3
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
3
4
|
import React from 'react';
|
|
4
5
|
import { useForm, Controller } from 'react-hook-form';
|
|
@@ -6,12 +7,11 @@ import { postOrgMaterialAssignmentSubmissionAdd } from '@elice/api-client';
|
|
|
6
7
|
import { Files, Modal, Alert, Vspace, Radio, RadioButton, Input, Checkbox, Text, Notification } from '@elice/blocks';
|
|
7
8
|
import { base } from '@elice/design-tokens';
|
|
8
9
|
import { useRawEliceIntl } from '@elice/intl';
|
|
9
|
-
import { validateUrl } from '
|
|
10
|
-
import styled from 'styled-components';
|
|
10
|
+
import { validateUrl } from '../../node_modules/@elice/utils/es/texts/validateUrl.js';
|
|
11
11
|
|
|
12
|
-
var StyledAssignmentContentFiles =
|
|
13
|
-
|
|
14
|
-
})(
|
|
12
|
+
var StyledAssignmentContentFiles = /*#__PURE__*/_styled(Files, {
|
|
13
|
+
target: "eua09co0"
|
|
14
|
+
})("width:100%;.eb-files__choose-button{border-color:", base.color.primary5, ";background-color:", base.color.primary5, ";}");
|
|
15
15
|
var MaterialAssignmentUploadModal = function MaterialAssignmentUploadModal(_ref) {
|
|
16
16
|
var materialAssignment = _ref.materialAssignment,
|
|
17
17
|
onClose = _ref.onClose,
|
|
@@ -42,20 +42,20 @@ var MaterialAssignmentUploadModal = function MaterialAssignmentUploadModal(_ref)
|
|
|
42
42
|
/**
|
|
43
43
|
* Submit assignment.
|
|
44
44
|
*/
|
|
45
|
-
var submitAssignment = handleSubmit(
|
|
46
|
-
var _ref2 = _asyncToGenerator(
|
|
47
|
-
var _a;
|
|
48
|
-
return
|
|
49
|
-
while (1) switch (_context.
|
|
45
|
+
var submitAssignment = handleSubmit(/*#__PURE__*/function () {
|
|
46
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(data) {
|
|
47
|
+
var _a, _t;
|
|
48
|
+
return _regenerator().w(function (_context) {
|
|
49
|
+
while (1) switch (_context.p = _context.n) {
|
|
50
50
|
case 0:
|
|
51
|
-
_context.
|
|
52
|
-
_context.
|
|
51
|
+
_context.p = 0;
|
|
52
|
+
_context.n = 1;
|
|
53
53
|
return postOrgMaterialAssignmentSubmissionAdd(Object.assign(Object.assign({}, data), {
|
|
54
54
|
materialAssignmentId: (_a = materialAssignment === null || materialAssignment === void 0 ? void 0 : materialAssignment.id) !== null && _a !== void 0 ? _a : 0
|
|
55
55
|
}), {
|
|
56
56
|
signal: abortCtrl.current.signal
|
|
57
57
|
});
|
|
58
|
-
case
|
|
58
|
+
case 1:
|
|
59
59
|
onClose();
|
|
60
60
|
Notification.success(intl.formatMessage({
|
|
61
61
|
id: 'materialAssignment.notification.submit.success'
|
|
@@ -63,27 +63,26 @@ var MaterialAssignmentUploadModal = function MaterialAssignmentUploadModal(_ref)
|
|
|
63
63
|
if (typeof onSubmitCallback === 'function') {
|
|
64
64
|
onSubmitCallback();
|
|
65
65
|
}
|
|
66
|
-
_context.
|
|
66
|
+
_context.n = 4;
|
|
67
67
|
break;
|
|
68
|
-
case
|
|
69
|
-
_context.
|
|
70
|
-
|
|
71
|
-
if (!(
|
|
72
|
-
_context.
|
|
68
|
+
case 2:
|
|
69
|
+
_context.p = 2;
|
|
70
|
+
_t = _context.v;
|
|
71
|
+
if (!(_t.name === 'AbortError')) {
|
|
72
|
+
_context.n = 3;
|
|
73
73
|
break;
|
|
74
74
|
}
|
|
75
|
-
return _context.
|
|
75
|
+
return _context.a(2, Notification.error(intl.formatMessage({
|
|
76
76
|
id: 'materialAssignment.notification.submit.cancel'
|
|
77
77
|
})));
|
|
78
|
-
case
|
|
78
|
+
case 3:
|
|
79
79
|
Notification.error(intl.formatMessage({
|
|
80
80
|
id: 'materialAssignment.notification.submit.failure'
|
|
81
81
|
}));
|
|
82
|
-
case
|
|
83
|
-
|
|
84
|
-
return _context.stop();
|
|
82
|
+
case 4:
|
|
83
|
+
return _context.a(2);
|
|
85
84
|
}
|
|
86
|
-
}, _callee, null, [[0,
|
|
85
|
+
}, _callee, null, [[0, 2]]);
|
|
87
86
|
}));
|
|
88
87
|
return function (_x) {
|
|
89
88
|
return _ref2.apply(this, arguments);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { enums } from '@elice/types';
|
|
3
2
|
import type { MaterialAssignmentAdminApis } from './MaterialAssignmentAdminContent';
|
|
4
3
|
export interface MaterialAssignmentAdminProps {
|
|
@@ -10,7 +9,7 @@ export interface MaterialAssignmentAdminProps {
|
|
|
10
9
|
courseRole: enums.CourseRole;
|
|
11
10
|
updateMaterialUserBrowserResponse?: (userId: number) => void;
|
|
12
11
|
}
|
|
13
|
-
declare const _default:
|
|
12
|
+
declare const _default: import("react").ForwardRefExoticComponent<Omit<import("@elice/intl").IntlComponentExtraProps & Omit<import("@elice/intl").IntlComponentExtraProps & Omit<MaterialAssignmentAdminProps, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & {
|
|
14
13
|
__intl: import("@elice/intl").EliceIntlShape;
|
|
15
|
-
} &
|
|
14
|
+
} & import("react").RefAttributes<MaterialAssignmentAdminApis>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl">, "ref"> & import("react").RefAttributes<MaterialAssignmentAdminApis>>;
|
|
16
15
|
export default _default;
|
|
@@ -6,11 +6,11 @@ import { RawEliceIntlProvider, IntlComponentBuilder } from '@elice/intl';
|
|
|
6
6
|
import { useMaterialConfigApiClientUpdate } from '@elice/material-shared-utils';
|
|
7
7
|
import { enums } from '@elice/types';
|
|
8
8
|
import classnames from 'classnames';
|
|
9
|
-
import messageEn from './locales/en.json.js';
|
|
10
|
-
import messageKo from './locales/ko.json.js';
|
|
11
9
|
import MaterialAssignmentAdminContent from './MaterialAssignmentAdminContent.js';
|
|
12
10
|
import MaterialAssignmentAdminContentTa from './MaterialAssignmentAdminContentTa.js';
|
|
13
11
|
import { StyledMaterialAssignmentAdminContainer } from './MaterialAssignmentAdmin.styled.js';
|
|
12
|
+
import messageEn from './locales/en.json.js';
|
|
13
|
+
import messageKo from './locales/ko.json.js';
|
|
14
14
|
|
|
15
15
|
var MaterialAssignmentAdmin = forwardRef(function (_ref, ref) {
|
|
16
16
|
var __intl = _ref.__intl,
|
|
@@ -54,6 +54,6 @@ var MaterialAssignmentAdmin = forwardRef(function (_ref, ref) {
|
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var MaterialAssignmentAdmin_default = new IntlComponentBuilder(MaterialAssignmentAdmin).add('en', messageEn).add('ko', messageKo).addAsync('th', import('./locales/th.json.js')).addAsync('ja', import('./locales/ja.json.js')).build();
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { MaterialAssignmentAdmin_default as default };
|
|
@@ -1,11 +1,25 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Text } from '@elice/blocks';
|
|
3
|
-
export declare const StyledMaterialAssignmentAdminContainer: import("styled
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
export declare const StyledMaterialAssignmentAdminContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const StyledMaterialAssignmentAdminGradeWrapper: import("@emotion/styled").StyledComponent<import("@elice/blocks").FlexProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
export declare const StyledMaterialAssignmentAdminTextareaWrapper: import("@emotion/styled").StyledComponent<{
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
+
export declare const StyledMaterialAssignmentAdminManualScoreEditButtonWrapper: import("@emotion/styled").StyledComponent<{
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
as?: React.ElementType;
|
|
16
|
+
} & {
|
|
7
17
|
disabled: boolean;
|
|
8
|
-
},
|
|
9
|
-
export declare const StyledMaterialAssignmentAdminManualScoreEditButton: import("styled
|
|
18
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
+
export declare const StyledMaterialAssignmentAdminManualScoreEditButton: import("@emotion/styled").StyledComponent<Pick<import("@elice/blocks").TextProps, never> & Partial<Pick<import("@elice/blocks").TextProps, keyof import("@elice/blocks").TextProps>> & Partial<Pick<import("@elice/blocks").TextProps, never>> & {
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
21
|
+
} & {
|
|
10
22
|
disabled: boolean;
|
|
11
|
-
},
|
|
23
|
+
}, {}, {
|
|
24
|
+
ref?: import("react").Ref<Text> | undefined;
|
|
25
|
+
}>;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
+
import _styled from '@emotion/styled/base';
|
|
1
2
|
import { Flex, Text } from '@elice/blocks';
|
|
2
3
|
import { base } from '@elice/design-tokens';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
4
|
|
|
5
|
-
var StyledMaterialAssignmentAdminContainer =
|
|
6
|
-
|
|
7
|
-
})(
|
|
8
|
-
var StyledMaterialAssignmentAdminGradeWrapper =
|
|
9
|
-
|
|
10
|
-
})(
|
|
11
|
-
var StyledMaterialAssignmentAdminTextareaWrapper =
|
|
12
|
-
|
|
13
|
-
})(
|
|
14
|
-
var StyledMaterialAssignmentAdminManualScoreEditButtonWrapper =
|
|
15
|
-
|
|
16
|
-
})(
|
|
5
|
+
var StyledMaterialAssignmentAdminContainer = /*#__PURE__*/_styled("div", {
|
|
6
|
+
target: "e1sm2hlo4"
|
|
7
|
+
})("display:flex;flex-direction:column;align-items:center;width:100%;height:100%;background-color:", base.color.navy9, ";");
|
|
8
|
+
var StyledMaterialAssignmentAdminGradeWrapper = /*#__PURE__*/_styled(Flex, {
|
|
9
|
+
target: "e1sm2hlo3"
|
|
10
|
+
})("background-color:", base.color.navy7, ";width:100%;padding:0 1.5rem;height:4.5rem;border:1px solid ", base.color.navy6, ";border-radius:0.5rem;");
|
|
11
|
+
var StyledMaterialAssignmentAdminTextareaWrapper = /*#__PURE__*/_styled("div", {
|
|
12
|
+
target: "e1sm2hlo2"
|
|
13
|
+
})("background-color:", base.color.gray2, ";");
|
|
14
|
+
var StyledMaterialAssignmentAdminManualScoreEditButtonWrapper = /*#__PURE__*/_styled("div", {
|
|
15
|
+
target: "e1sm2hlo1"
|
|
16
|
+
})("cursor:", function (props) {
|
|
17
17
|
return props.disabled ? 'not-allowed' : 'pointer';
|
|
18
|
-
}, function (props) {
|
|
18
|
+
}, ";opacity:", function (props) {
|
|
19
19
|
return props.disabled ? 0.5 : 1;
|
|
20
|
-
});
|
|
21
|
-
var StyledMaterialAssignmentAdminManualScoreEditButton =
|
|
22
|
-
|
|
23
|
-
})(
|
|
20
|
+
}, ";");
|
|
21
|
+
var StyledMaterialAssignmentAdminManualScoreEditButton = /*#__PURE__*/_styled(Text, {
|
|
22
|
+
target: "e1sm2hlo0"
|
|
23
|
+
})("pointer-events:", function (props) {
|
|
24
24
|
return props.disabled ? 'none' : 'auto';
|
|
25
|
-
});
|
|
25
|
+
}, ";");
|
|
26
26
|
|
|
27
27
|
export { StyledMaterialAssignmentAdminContainer, StyledMaterialAssignmentAdminGradeWrapper, StyledMaterialAssignmentAdminManualScoreEditButton, StyledMaterialAssignmentAdminManualScoreEditButtonWrapper, StyledMaterialAssignmentAdminTextareaWrapper };
|