@elice/material-runbox 1.230726.0 → 1.230817.1

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,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { MaterialRunboxApiContextProps, MaterialRunboxContextProps } from './contexts';
3
3
  import type { MaterialRunboxContentProps } from './MaterialRunboxContent';
4
- export declare type MaterialRunboxProps = MaterialRunboxContentProps & Omit<MaterialRunboxApiContextProps, 'children'> & Omit<MaterialRunboxContextProps, 'children'>;
4
+ export type MaterialRunboxProps = MaterialRunboxContentProps & Omit<MaterialRunboxApiContextProps, 'children'> & Omit<MaterialRunboxContextProps, 'children'>;
5
5
  declare const MaterialRunbox: React.FC<MaterialRunboxProps>;
6
6
  export default MaterialRunbox;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { RuntimeProps } from '../runtime/Runtime';
3
- declare type MaterialRunboxActionAutoShutdownProps = Pick<RuntimeProps, 'runtime' | 'runtimeTemplate' | 'courseId' | 'refetch'>;
3
+ type MaterialRunboxActionAutoShutdownProps = Pick<RuntimeProps, 'runtime' | 'runtimeTemplate' | 'courseId' | 'refetch'>;
4
4
  declare const MaterialRunboxActionAutoShutdown: React.FC<MaterialRunboxActionAutoShutdownProps>;
5
5
  export default MaterialRunboxActionAutoShutdown;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { RuntimeProps } from '../runtime/Runtime';
3
- declare type MaterialRunboxActionGradeProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
3
+ type MaterialRunboxActionGradeProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
4
4
  declare const MaterialRunboxActionGrade: React.FC<MaterialRunboxActionGradeProps>;
5
5
  export default MaterialRunboxActionGrade;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { RuntimeProps } from '../runtime/Runtime';
3
- declare type MaterialRunboxActionResetProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
3
+ type MaterialRunboxActionResetProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
4
4
  declare const MaterialRunboxActionReset: React.FC<MaterialRunboxActionResetProps>;
5
5
  export default MaterialRunboxActionReset;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { RuntimeProps } from '../runtime/Runtime';
3
- declare type MaterialRunboxActionRestartProps = Pick<RuntimeProps, 'runbox' | 'courseId' | 'refetch'>;
3
+ type MaterialRunboxActionRestartProps = Pick<RuntimeProps, 'runbox' | 'courseId' | 'refetch'>;
4
4
  declare const MaterialRunboxActionRestart: React.FC<MaterialRunboxActionRestartProps>;
5
5
  export default MaterialRunboxActionRestart;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { RunboxCommandGetResponse } from '@elice/openapi-client-material-runbox';
3
3
  import type { RuntimeProps } from '../runtime/Runtime';
4
- declare type PickedRuntimeProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
4
+ type PickedRuntimeProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
5
5
  export interface MaterialRunboxCommandContextValue {
6
6
  /** Last command result. */
7
7
  lastCommand: RunboxCommandGetResponse | null;
@@ -1,5 +1,5 @@
1
1
  import type { RuntimeProps } from '../runtime/Runtime';
2
- declare type UseRunboxControlProps = Pick<RuntimeProps, 'runbox' | 'courseId' | 'refetch'>;
2
+ type UseRunboxControlProps = Pick<RuntimeProps, 'runbox' | 'courseId' | 'refetch'>;
3
3
  interface UseRunboxControlReturn {
4
4
  start: (force?: boolean) => Promise<void>;
5
5
  stop: () => Promise<void>;
@@ -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,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { MaterialRunboxApiContextProps, MaterialRunboxContextProps } from './contexts';
3
3
  import type { MaterialRunboxContentProps } from './MaterialRunboxContent';
4
- export declare type MaterialRunboxProps = MaterialRunboxContentProps & Omit<MaterialRunboxApiContextProps, 'children'> & Omit<MaterialRunboxContextProps, 'children'>;
4
+ export type MaterialRunboxProps = MaterialRunboxContentProps & Omit<MaterialRunboxApiContextProps, 'children'> & Omit<MaterialRunboxContextProps, 'children'>;
5
5
  declare const MaterialRunbox: React.FC<MaterialRunboxProps>;
6
6
  export default MaterialRunbox;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { RuntimeProps } from '../runtime/Runtime';
3
- declare type MaterialRunboxActionAutoShutdownProps = Pick<RuntimeProps, 'runtime' | 'runtimeTemplate' | 'courseId' | 'refetch'>;
3
+ type MaterialRunboxActionAutoShutdownProps = Pick<RuntimeProps, 'runtime' | 'runtimeTemplate' | 'courseId' | 'refetch'>;
4
4
  declare const MaterialRunboxActionAutoShutdown: React.FC<MaterialRunboxActionAutoShutdownProps>;
5
5
  export default MaterialRunboxActionAutoShutdown;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { RuntimeProps } from '../runtime/Runtime';
3
- declare type MaterialRunboxActionGradeProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
3
+ type MaterialRunboxActionGradeProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
4
4
  declare const MaterialRunboxActionGrade: React.FC<MaterialRunboxActionGradeProps>;
5
5
  export default MaterialRunboxActionGrade;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { RuntimeProps } from '../runtime/Runtime';
3
- declare type MaterialRunboxActionResetProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
3
+ type MaterialRunboxActionResetProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
4
4
  declare const MaterialRunboxActionReset: React.FC<MaterialRunboxActionResetProps>;
5
5
  export default MaterialRunboxActionReset;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { RuntimeProps } from '../runtime/Runtime';
3
- declare type MaterialRunboxActionRestartProps = Pick<RuntimeProps, 'runbox' | 'courseId' | 'refetch'>;
3
+ type MaterialRunboxActionRestartProps = Pick<RuntimeProps, 'runbox' | 'courseId' | 'refetch'>;
4
4
  declare const MaterialRunboxActionRestart: React.FC<MaterialRunboxActionRestartProps>;
5
5
  export default MaterialRunboxActionRestart;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { RunboxCommandGetResponse } from '@elice/openapi-client-material-runbox';
3
3
  import type { RuntimeProps } from '../runtime/Runtime';
4
- declare type PickedRuntimeProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
4
+ type PickedRuntimeProps = Pick<RuntimeProps, 'runtime' | 'courseId'>;
5
5
  export interface MaterialRunboxCommandContextValue {
6
6
  /** Last command result. */
7
7
  lastCommand: RunboxCommandGetResponse | null;
@@ -1,5 +1,5 @@
1
1
  import type { RuntimeProps } from '../runtime/Runtime';
2
- declare type UseRunboxControlProps = Pick<RuntimeProps, 'runbox' | 'courseId' | 'refetch'>;
2
+ type UseRunboxControlProps = Pick<RuntimeProps, 'runbox' | 'courseId' | 'refetch'>;
3
3
  interface UseRunboxControlReturn {
4
4
  start: (force?: boolean) => Promise<void>;
5
5
  stop: () => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-runbox",
3
- "version": "1.230726.0",
3
+ "version": "1.230817.1",
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",
@@ -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",
@@ -49,14 +45,14 @@
49
45
  "dependencies": {
50
46
  "classnames": "^2.2.0",
51
47
  "rxjs": "^7.5.6",
52
- "tslib": "^2.3.1"
48
+ "tslib": "^2.6.1"
53
49
  },
54
50
  "devDependencies": {
55
- "@elice/material-shared-types": "1.230726.0",
56
- "@elice/material-shared-utils": "1.230726.0",
57
- "@elice/mui-system": "^5.230621.0",
58
- "@elice/openapi-client-material-runbox": "^1.230516.0",
59
- "@elice/runbox-client": "^1.230412.0",
51
+ "@elice/material-shared-types": "1.230817.1",
52
+ "@elice/material-shared-utils": "1.230817.1",
53
+ "@elice/mui-system": "^5.230815.0",
54
+ "@elice/openapi-client-material-runbox": "^1.230814.0",
55
+ "@elice/runbox-client": "^1.230817.0",
60
56
  "@emotion/react": "^11.10.5",
61
57
  "@emotion/styled": "^11.10.5",
62
58
  "@mui/icons-material": "^5.10.16",
@@ -71,5 +67,5 @@
71
67
  "react-intl": "^5.20.10",
72
68
  "react-use": "^17.2.4"
73
69
  },
74
- "gitHead": "7a5377d83939215c5dfc543c867ffd59300710fe"
70
+ "gitHead": "93a18ac95c6242a4985f6dc35ca03028312bff71"
75
71
  }