@elice/material-assignment 1.230712.0-matquiz.0 → 1.230817.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.
@@ -135,7 +135,10 @@ function _regeneratorRuntime() {
135
135
  if ("executing" === state) throw new Error("Generator is already running");
136
136
  if ("completed" === state) {
137
137
  if ("throw" === method) throw arg;
138
- return doneResult();
138
+ return {
139
+ value: void 0,
140
+ done: !0
141
+ };
139
142
  }
140
143
  for (context.method = method, context.arg = arg;;) {
141
144
  var delegate = context.delegate;
@@ -188,7 +191,7 @@ function _regeneratorRuntime() {
188
191
  }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
189
192
  }
190
193
  function values(iterable) {
191
- if (iterable) {
194
+ if (iterable || "" === iterable) {
192
195
  var iteratorMethod = iterable[iteratorSymbol];
193
196
  if (iteratorMethod) return iteratorMethod.call(iterable);
194
197
  if ("function" == typeof iterable.next) return iterable;
@@ -201,15 +204,7 @@ function _regeneratorRuntime() {
201
204
  return next.next = next;
202
205
  }
203
206
  }
204
- return {
205
- next: doneResult
206
- };
207
- }
208
- function doneResult() {
209
- return {
210
- value: undefined,
211
- done: !0
212
- };
207
+ throw new TypeError(typeof iterable + " is not iterable");
213
208
  }
214
209
  return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
215
210
  value: GeneratorFunctionPrototype,
@@ -131,7 +131,10 @@ function _regeneratorRuntime() {
131
131
  if ("executing" === state) throw new Error("Generator is already running");
132
132
  if ("completed" === state) {
133
133
  if ("throw" === method) throw arg;
134
- return doneResult();
134
+ return {
135
+ value: void 0,
136
+ done: !0
137
+ };
135
138
  }
136
139
  for (context.method = method, context.arg = arg;;) {
137
140
  var delegate = context.delegate;
@@ -184,7 +187,7 @@ function _regeneratorRuntime() {
184
187
  }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
185
188
  }
186
189
  function values(iterable) {
187
- if (iterable) {
190
+ if (iterable || "" === iterable) {
188
191
  var iteratorMethod = iterable[iteratorSymbol];
189
192
  if (iteratorMethod) return iteratorMethod.call(iterable);
190
193
  if ("function" == typeof iterable.next) return iterable;
@@ -197,15 +200,7 @@ function _regeneratorRuntime() {
197
200
  return next.next = next;
198
201
  }
199
202
  }
200
- return {
201
- next: doneResult
202
- };
203
- }
204
- function doneResult() {
205
- return {
206
- value: undefined,
207
- done: !0
208
- };
203
+ throw new TypeError(typeof iterable + " is not iterable");
209
204
  }
210
205
  return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
211
206
  value: GeneratorFunctionPrototype,
@@ -2,14 +2,14 @@ import { slicedToArray as _slicedToArray, asyncToGenerator as _asyncToGenerator,
2
2
  import React, { forwardRef } from 'react';
3
3
  import { useForm, Controller } from 'react-hook-form';
4
4
  import { FormattedDate } from 'react-intl';
5
- import { config, getOrgUserGet, getOrgMaterialAssignmentGet, getOrgMaterialAssignmentSubmissionList, getOrgMaterialAssignmentGradeResultGet, getOrgMaterialAssignmentGradeList, postOrgMaterialAssignmentGradeResultManualScoreEdit, postOrgMaterialAssignmentGradeEdit, postOrgMaterialAssignmentGradeDelete } from '@elice/api-client';
6
- import { Flex, ProfileImage, Hspace, Text, Tooltip, Icon, Vspace, InfoTable, Button, TableNext, IconButton, Pagination, Notification, Modal, Label, Input, Textarea, Alert } from '@elice/blocks';
5
+ import { config, getOrgUserGet, getOrgMaterialAssignmentGet, getOrgMaterialAssignmentSubmissionList, getOrgMaterialAssignmentGradeResultGet, getOrgMaterialAssignmentGradeList, postOrgMaterialAssignmentGradeEdit, postOrgMaterialAssignmentGradeResultManualScoreEdit, postOrgMaterialAssignmentGradeDelete } from '@elice/api-client';
6
+ import { Flex, Vspace, ProfileImage, Hspace, Text, Tooltip, Icon, InfoTable, Button, TableNext, IconButton, Pagination, Modal, Label, Input, Textarea, Alert, Notification } from '@elice/blocks';
7
7
  import { base } from '@elice/design-tokens';
8
8
  import { eilStatusInfo, eilChat, eilDelete, eilArrowRightwardsBasic } from '@elice/icons';
9
9
  import { useMaterialConfigApiClientUpdate } from '@elice/material-shared-utils';
10
10
  import dayjs from 'dayjs';
11
11
  import MaterialAssignmentContainer from '../shared/MaterialAssignmentContainer.js';
12
- import { StyledMaterialAssignmentAdminHeader, StyledMaterialAssignmentAdminHeaderCell, StyledMaterialAssignmentAdminGradeWrapper, StyledMaterialAssignmentAdminManualScoreEditButtonWrapper, StyledMaterialAssignmentAdminManualScoreEditButton, StyledMaterialAssignmentAdminTextareaWrapper } from './MaterialAssignmentAdmin.styled.js';
12
+ import { StyledMaterialAssignmentAdminHeader, StyledMaterialAssignmentAdminHeaderCell, StyledMaterialAssignmentAdminGradeWrapper, StyledMaterialAssignmentAdminTextareaWrapper, StyledMaterialAssignmentAdminManualScoreEditButtonWrapper, StyledMaterialAssignmentAdminManualScoreEditButton } from './MaterialAssignmentAdmin.styled.js';
13
13
 
14
14
  var FETCH_GRADE_LIST_COUNT = 5;
15
15
  var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { useForm, Controller } from 'react-hook-form';
4
4
  import { FormattedDate } from 'react-intl';
5
5
  import { config, getOrgUserGet, getOrgMaterialAssignmentGet, getOrgMaterialAssignmentSubmissionList, getOrgMaterialAssignmentGradeResultGet, getOrgMaterialAssignmentGradeList, postOrgMaterialAssignmentGradeEdit } from '@elice/api-client';
6
- import { Flex, ProfileImage, Hspace, Text, Tooltip, Icon, Vspace, InfoTable, Button, TableNext, Notification, Modal, Label, Input, Textarea } from '@elice/blocks';
6
+ import { Flex, Vspace, Notification, ProfileImage, Hspace, Text, Tooltip, Icon, InfoTable, Button, TableNext, Modal, Label, Input, Textarea } from '@elice/blocks';
7
7
  import { base } from '@elice/design-tokens';
8
8
  import { eilStatusInfo } from '@elice/icons';
9
9
  import { useMaterialConfigApiClientUpdate } from '@elice/material-shared-utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-assignment",
3
- "version": "1.230712.0-matquiz.0",
3
+ "version": "1.230817.0",
4
4
  "description": "User view and editing components of Elice material assignment",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -14,10 +14,6 @@
14
14
  "README.md"
15
15
  ],
16
16
  "sideEffects": false,
17
- "engines": {
18
- "node": "~16.14",
19
- "yarn": ">=1.20 <2"
20
- },
21
17
  "scripts": {
22
18
  "start": "run-s watch",
23
19
  "prebuild": "run-s clean",
@@ -45,19 +41,19 @@
45
41
  "dependencies": {
46
42
  "classnames": "^2.2.0",
47
43
  "dayjs": "^1.10.6",
48
- "react-hook-form": "~7.12.0",
49
- "tslib": "^2.3.1"
44
+ "react-hook-form": "~7.45.4",
45
+ "tslib": "^2.6.1"
50
46
  },
51
47
  "devDependencies": {
52
- "@elice/api-client": "^1.230522.0",
53
- "@elice/blocks": "1.230522.0",
48
+ "@elice/api-client": "^1.230815.0",
49
+ "@elice/blocks": "^1.230816.0",
54
50
  "@elice/design-tokens": "^1.220803.0",
55
- "@elice/icons": "^1.220803.0",
56
- "@elice/icons-legacy": "npm:@elice/icons@0.220803.1",
57
- "@elice/markdown": "^1.220803.0",
58
- "@elice/material-shared-types": "1.230712.0-matquiz.0",
59
- "@elice/material-shared-utils": "1.230712.0-matquiz.0",
60
- "@elice/types": "^1.230629.0",
51
+ "@elice/icons": "^1.230814.0",
52
+ "@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
53
+ "@elice/markdown": "^1.220815.0",
54
+ "@elice/material-shared-types": "1.230817.0",
55
+ "@elice/material-shared-utils": "1.230817.0",
56
+ "@elice/types": "^1.230815.0",
61
57
  "@types/classnames": "^2.3.1",
62
58
  "@types/react": "~17.0.9",
63
59
  "@types/styled-components": "^5.1.21",
@@ -66,5 +62,5 @@
66
62
  "react-use": "^17.2.4",
67
63
  "styled-components": "^5.3.0"
68
64
  },
69
- "gitHead": "db5f6bd07e362d1e27428b034e54fd34aa7d9467"
65
+ "gitHead": "94d876ab4c04c24349c1c00650758751e53d2785"
70
66
  }