@elice/material-runbox 1.220803.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 (40) hide show
  1. package/README.md +3 -0
  2. package/cjs/components/material-runbox/MaterialRunbox.d.ts +7 -0
  3. package/cjs/components/material-runbox/MaterialRunbox.js +44 -0
  4. package/cjs/components/material-runbox/MaterialRunbox.styled.d.ts +1 -0
  5. package/cjs/components/material-runbox/MaterialRunbox.styled.js +15 -0
  6. package/cjs/components/material-runbox/MaterialRunboxContent.d.ts +18 -0
  7. package/cjs/components/material-runbox/MaterialRunboxContent.js +305 -0
  8. package/cjs/components/material-runbox/MaterialRunboxContent.styled.d.ts +8 -0
  9. package/cjs/components/material-runbox/MaterialRunboxContent.styled.js +50 -0
  10. package/cjs/components/material-runbox/MaterialRunboxRunnerRoomWrapper.d.ts +6 -0
  11. package/cjs/components/material-runbox/MaterialRunboxRunnerRoomWrapper.js +72 -0
  12. package/cjs/components/material-runbox/MaterialRunboxStdioWrapper.d.ts +7 -0
  13. package/cjs/components/material-runbox/MaterialRunboxStdioWrapper.js +80 -0
  14. package/cjs/components/material-runbox/index.d.ts +2 -0
  15. package/cjs/components/material-runbox/locales.d.ts +15 -0
  16. package/cjs/components/material-runbox/locales.js +35 -0
  17. package/cjs/components/material-runbox/websocket.d.ts +10 -0
  18. package/cjs/components/material-runbox/websocket.js +20 -0
  19. package/cjs/index.d.ts +1 -0
  20. package/cjs/index.js +9 -0
  21. package/es/components/material-runbox/MaterialRunbox.d.ts +7 -0
  22. package/es/components/material-runbox/MaterialRunbox.js +39 -0
  23. package/es/components/material-runbox/MaterialRunbox.styled.d.ts +1 -0
  24. package/es/components/material-runbox/MaterialRunbox.styled.js +7 -0
  25. package/es/components/material-runbox/MaterialRunboxContent.d.ts +18 -0
  26. package/es/components/material-runbox/MaterialRunboxContent.js +297 -0
  27. package/es/components/material-runbox/MaterialRunboxContent.styled.d.ts +8 -0
  28. package/es/components/material-runbox/MaterialRunboxContent.styled.js +38 -0
  29. package/es/components/material-runbox/MaterialRunboxRunnerRoomWrapper.d.ts +6 -0
  30. package/es/components/material-runbox/MaterialRunboxRunnerRoomWrapper.js +66 -0
  31. package/es/components/material-runbox/MaterialRunboxStdioWrapper.d.ts +7 -0
  32. package/es/components/material-runbox/MaterialRunboxStdioWrapper.js +74 -0
  33. package/es/components/material-runbox/index.d.ts +2 -0
  34. package/es/components/material-runbox/locales.d.ts +15 -0
  35. package/es/components/material-runbox/locales.js +30 -0
  36. package/es/components/material-runbox/websocket.d.ts +10 -0
  37. package/es/components/material-runbox/websocket.js +15 -0
  38. package/es/index.d.ts +1 -0
  39. package/es/index.js +1 -0
  40. package/package.json +70 -0
@@ -0,0 +1,15 @@
1
+ export declare const en: {
2
+ 'runbox.status.idle': string;
3
+ 'runbox.status.connecting': string;
4
+ 'runbox.status.loading': string;
5
+ 'runbox.status.done': string;
6
+ 'runbox.status.disconnected': string;
7
+ 'runbox.status.terminated': string;
8
+ 'runbox.reloadButton.tooltip': string;
9
+ 'runbox.overlay.message.terminated': string;
10
+ 'runbox.overlay.message.error': string;
11
+ 'runbox.overlay.message.disconnected': string;
12
+ 'runbox.overlay.message.connecting': string;
13
+ 'runbox.share.success': string;
14
+ };
15
+ export declare const ko: typeof en;
@@ -0,0 +1,30 @@
1
+ const en = {
2
+ 'runbox.status.idle': 'Prepare notebook',
3
+ 'runbox.status.connecting': 'Connecting notebook',
4
+ 'runbox.status.loading': 'Loading notebook',
5
+ 'runbox.status.done': 'Connected',
6
+ 'runbox.status.disconnected': 'Disconnected',
7
+ 'runbox.status.terminated': 'Terminated',
8
+ 'runbox.reloadButton.tooltip': 'Reconnecting',
9
+ 'runbox.overlay.message.terminated': 'The connection has been terminated.\nTo reconnect, click the refresh button at the top.',
10
+ 'runbox.overlay.message.error': 'An error occurred connecting to the notebook server.\nClose all open notebook windows, please try again in a few minutes.',
11
+ 'runbox.overlay.message.disconnected': 'Reconnection is being attempted.\nIf the connection is delayed, check the network environment.',
12
+ 'runbox.overlay.message.connecting': 'Connecting.\nThis may take up to 5 minutes.',
13
+ 'runbox.share.success': 'Copied share URL to clipboard.'
14
+ };
15
+ const ko = {
16
+ 'runbox.status.idle': '준비 중...',
17
+ 'runbox.status.connecting': '페이지 연결 중...',
18
+ 'runbox.status.loading': '페이지 로드 중...',
19
+ 'runbox.status.done': '연결됨',
20
+ 'runbox.status.disconnected': '연결 끊김',
21
+ 'runbox.status.terminated': '종료됨',
22
+ 'runbox.reloadButton.tooltip': '재연결 중',
23
+ 'runbox.overlay.message.terminated': '연결이 종료되었습니다.\n다시 연결하시려면 상단의 새로고침 버튼을 눌려주세요.',
24
+ 'runbox.overlay.message.error': '노트북 서버에 연결 중 오류가 발생했습니다.\n열려 있는 모든 노트북 창을 닫고, 몇 분 뒤에 다시 시도해 주십시오.',
25
+ 'runbox.overlay.message.disconnected': '재연결 시도 중 입니다.\n연결이 지연될 시에는 네트워크 환경을 확인해주세요.',
26
+ 'runbox.overlay.message.connecting': '연결 중 입니다.\n최대 5분까지 소요될 수 있습니다.',
27
+ 'runbox.share.success': '공유 URL이 클립보드에 복사되었습니다.'
28
+ };
29
+
30
+ export { en, ko };
@@ -0,0 +1,10 @@
1
+ import { EliceWebSocketReact } from '@elice/websocket';
2
+ /**
3
+ * Websocket instance for material runbox runner room.
4
+ * - endpoint: `/runner_room`
5
+ */
6
+ export declare const WSMaterialRunboxRunnerRoom: EliceWebSocketReact;
7
+ /**
8
+ * Websocket instance for material runbox stdio.
9
+ */
10
+ export declare const WSMaterialRunboxStdio: EliceWebSocketReact;
@@ -0,0 +1,15 @@
1
+ import { EliceWebSocketReact } from '@elice/websocket';
2
+
3
+ /**
4
+ * Websocket instance for material runbox runner room.
5
+ * - endpoint: `/runner_room`
6
+ */
7
+
8
+ const WSMaterialRunboxRunnerRoom = new EliceWebSocketReact();
9
+ /**
10
+ * Websocket instance for material runbox stdio.
11
+ */
12
+
13
+ const WSMaterialRunboxStdio = new EliceWebSocketReact();
14
+
15
+ export { WSMaterialRunboxRunnerRoom, WSMaterialRunboxStdio };
package/es/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './components/material-runbox';
package/es/index.js ADDED
@@ -0,0 +1 @@
1
+ export { default as MaterialRunbox } from './components/material-runbox/MaterialRunbox.js';
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@elice/material-runbox",
3
+ "version": "1.220803.0",
4
+ "description": "User view and editing components of Elice material runbox",
5
+ "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
+ "license": "UNLICENSED",
7
+ "main": "./cjs/index.js",
8
+ "module": "./es/index.js",
9
+ "types": "./es/index.d.ts",
10
+ "files": [
11
+ "es",
12
+ "cjs",
13
+ "package.json",
14
+ "README.md"
15
+ ],
16
+ "sideEffects": false,
17
+ "engines": {
18
+ "node": "~16.14",
19
+ "yarn": ">=1.20 <2"
20
+ },
21
+ "scripts": {
22
+ "start": "run-s watch",
23
+ "prebuild": "run-s clean",
24
+ "build": "run-p build:es build:cjs",
25
+ "build:es": "rollup -c ../../rollup.config.ts -f es",
26
+ "build:cjs": "rollup -c ../../rollup.config.ts -f cjs",
27
+ "watch": "rollup -c ../../rollup.config.ts -f es -w",
28
+ "lint": "eslint --ext .ts,.tsx ./src --max-warnings=0",
29
+ "clean": "del-cli \"es/*\" \"cjs/*\" \"dist/*\""
30
+ },
31
+ "peerDependencies": {
32
+ "@elice/api-client": "^1.220802.1",
33
+ "@elice/blocks": "^1.220803.0",
34
+ "@elice/design-tokens": "^1.220803.0",
35
+ "@elice/icons": "^1.220803.0",
36
+ "@elice/markdown": "^1.220803.0",
37
+ "@elice/material-shared-types": "22.7.2-1",
38
+ "@elice/material-shared-utils": "22.7.2-1",
39
+ "@elice/types": "^1.220802.1",
40
+ "@elice/websocket": "^1.220803.0",
41
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
42
+ "react-intl": "^5.0.0",
43
+ "react-use": "^17.0.0",
44
+ "styled-components": "^5.2.0"
45
+ },
46
+ "dependencies": {
47
+ "classnames": "^2.2.0",
48
+ "tslib": "^2.3.1"
49
+ },
50
+ "devDependencies": {
51
+ "@elice/api-client": "^1.220802.1",
52
+ "@elice/blocks": "^1.220803.0",
53
+ "@elice/design-tokens": "^1.220803.0",
54
+ "@elice/icons": "^1.220803.0",
55
+ "@elice/icons-legacy": "npm:@elice/icons@0.220803.1",
56
+ "@elice/markdown": "^1.220803.0",
57
+ "@elice/material-shared-types": "1.220803.0",
58
+ "@elice/material-shared-utils": "1.220803.0",
59
+ "@elice/types": "^1.220802.1",
60
+ "@elice/websocket": "^1.220803.0",
61
+ "@types/classnames": "^2.3.1",
62
+ "@types/react": "~17.0.9",
63
+ "@types/styled-components": "^5.1.21",
64
+ "react": "^17.0.2",
65
+ "react-intl": "^5.20.10",
66
+ "react-use": "^17.2.4",
67
+ "styled-components": "^5.3.0"
68
+ },
69
+ "gitHead": "21c6b42ae6550e7899c57bf39fa78cea0f47e64c"
70
+ }