@opencompass-fe/oc-webkit-eval 0.1.0 → 0.1.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.
- package/README.md +37 -37
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/footer/footer.js +1 -1
- package/dist/components/footer/index.js +1 -1
- package/dist/components/footer-expansion/footer-expansion.js +1 -1
- package/dist/components/footer-expansion/index.js +1 -1
- package/dist/components/header/components/create-online-evaluation/component/create-evaluation/create-evaluation.js +1 -1
- package/dist/components/header/components/create-online-evaluation/component/evaluation-button/evaluation-button.js +1 -1
- package/dist/components/header/components/create-online-evaluation/component/evaluation-button/evaluation-button.module.less.js +2 -2
- package/dist/components/header/components/create-online-evaluation/component/pre-create-evaluation/index.js +1 -1
- package/dist/components/header/header.js +1 -1
- package/dist/components/header/hooks/useUrl.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header/secondHeader.js +1 -1
- package/dist/components/md-render/index.js +4 -4
- package/dist/components/online-evaluation/index.js +1 -1
- package/dist/components/online-evaluation/online-evaluation.js +1 -1
- package/dist/components/side-nav/index.js +1 -1
- package/dist/components/side-nav/side-nav.js +1 -1
- package/dist/components/side-nav/side-nav.module.less.js +2 -2
- package/dist/components/top-nav/index.js +1 -1
- package/dist/components/top-nav/shared.js +1 -1
- package/dist/components/top-nav/top-nav.js +1 -1
- package/dist/constants/enums.js +1 -1
- package/dist/extraComponents/button/button.js +1 -1
- package/dist/helper/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/mobile/components/top-nav/top-nav.js +1 -1
- package/dist/providers/OcContext.js +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +34 -34
- package/dist/types/components/md-render/index.d.ts +4 -4
- package/dist/types/components/top-nav/index.d.ts +2 -2
- package/dist/types/constants/enums.d.ts +19 -19
- package/dist/types/google-log/home.d.ts +6 -6
- package/dist/types/helper/index.d.ts +10 -10
- package/dist/types/index.d.ts +149 -149
- package/package.json +149 -149
package/package.json
CHANGED
|
@@ -1,149 +1,149 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@opencompass-fe/oc-webkit-eval",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Provide some common components for oc",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "https://github.com/lm-ecosystem/oc-webkit.git"
|
|
8
|
-
},
|
|
9
|
-
"main": "./dist/index.js",
|
|
10
|
-
"types": "./dist/types/index.d.ts",
|
|
11
|
-
"files": [
|
|
12
|
-
"dist",
|
|
13
|
-
"docs"
|
|
14
|
-
],
|
|
15
|
-
"scripts": {
|
|
16
|
-
"dev": "cross-env NODE_ENV=developemnt rollup -m -c rollup.config.js -w",
|
|
17
|
-
"build": "rimraf dist && rimraf es && cross-env NODE_ENV=production rollup -c rollup.config.js",
|
|
18
|
-
"test": "tsc --project ./tsconfig.test.json && jest",
|
|
19
|
-
"lint": "eslint 'src/**/*.{ts,tsx,js,jsx}' && npm run build:type",
|
|
20
|
-
"lint:fix": "eslint src/**/*.{ts,tsx,js,jsx} --fix",
|
|
21
|
-
"demo:preview": "vite --config test/vite.config.ts"
|
|
22
|
-
},
|
|
23
|
-
"keywords": [
|
|
24
|
-
"react"
|
|
25
|
-
],
|
|
26
|
-
"publishConfig": {
|
|
27
|
-
"registry": "https://registry.npmjs.org/",
|
|
28
|
-
"access": "public"
|
|
29
|
-
},
|
|
30
|
-
"private": false,
|
|
31
|
-
"homepage": "",
|
|
32
|
-
"license": "Apache-2.0",
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"@ant-design/cssinjs": "^1.18.0-alpha.5",
|
|
35
|
-
"@ant-design/icons": "^4.7.0",
|
|
36
|
-
"@loadable/component": "^5.16.4",
|
|
37
|
-
"@microsoft/fetch-event-source": "^2.0.1",
|
|
38
|
-
"@openmmlab/oss-upload": "^1.3.0",
|
|
39
|
-
"@react-hook/hover": "^4.0.0",
|
|
40
|
-
"ahooks": "^3.8.1",
|
|
41
|
-
"antd": ">=4.15.0",
|
|
42
|
-
"antd-mobile": "^5.38.1",
|
|
43
|
-
"antd-mobile-icons": "^0.3.0",
|
|
44
|
-
"axios": "^1.6.2",
|
|
45
|
-
"classnames": "^2.3.2",
|
|
46
|
-
"core-js": "^3.9.1",
|
|
47
|
-
"country-flag-icons": "^1.5.16",
|
|
48
|
-
"cross-env": "^7.0.3",
|
|
49
|
-
"diff": "^5.1.0",
|
|
50
|
-
"diff2html": "^3.4.41",
|
|
51
|
-
"es6-promise": "^4.2.8",
|
|
52
|
-
"event-source-polyfill": "^1.0.31",
|
|
53
|
-
"events": "^3.3.0",
|
|
54
|
-
"html2canvas": "^1.4.1",
|
|
55
|
-
"js-cookie": "^3.0.5",
|
|
56
|
-
"jssha": "^3.3.1",
|
|
57
|
-
"localforage": "^1.10.0",
|
|
58
|
-
"lodash-es": "^4.17.21",
|
|
59
|
-
"lottie-react": "^2.4.0",
|
|
60
|
-
"moment": "^2.30.1",
|
|
61
|
-
"postcss": "^8.4.23",
|
|
62
|
-
"program-language-detector": "^0.0.12",
|
|
63
|
-
"rapid-uploader": "^0.0.10",
|
|
64
|
-
"react": "^18.2.0",
|
|
65
|
-
"react-contextmenu": "^2.14.0",
|
|
66
|
-
"react-copy-to-clipboard": "^5.1.0",
|
|
67
|
-
"react-device-detect": "^2.2.3",
|
|
68
|
-
"react-dom": "^18.2.0",
|
|
69
|
-
"react-images-viewer": "1.6.2",
|
|
70
|
-
"react-markdown": "^9.0.1",
|
|
71
|
-
"react-router-dom": "^6.10.0",
|
|
72
|
-
"react-syntax-highlighter": "^15.5.0",
|
|
73
|
-
"react-text-selection-popover": "^1.3.2",
|
|
74
|
-
"regenerator-runtime": "^0.13.7",
|
|
75
|
-
"rehype-katex": "^7.0.1",
|
|
76
|
-
"rehype-raw": "^7.0.0",
|
|
77
|
-
"rehype-sanitize": "^6.0.0",
|
|
78
|
-
"rehype-slug": "^6.0.0",
|
|
79
|
-
"remark-breaks": "^4.0.0",
|
|
80
|
-
"remark-code-format": "^1.0.8",
|
|
81
|
-
"remark-gfm": "^4.0.0",
|
|
82
|
-
"remark-math": "^6.0.0",
|
|
83
|
-
"selection-popover": "^0.3.0",
|
|
84
|
-
"sse.js": "^2.2.0"
|
|
85
|
-
},
|
|
86
|
-
"peerDependencies": {
|
|
87
|
-
"@ant-design/icons": "^4.7.0",
|
|
88
|
-
"antd": ">=4.15.0",
|
|
89
|
-
"antd-mobile": "^5.38.1",
|
|
90
|
-
"react": "^18.2.0"
|
|
91
|
-
},
|
|
92
|
-
"devDependencies": {
|
|
93
|
-
"@babel/core": "^7.13.10",
|
|
94
|
-
"@babel/preset-typescript": "^7.13.0",
|
|
95
|
-
"@rollup/plugin-alias": "^5.0.0",
|
|
96
|
-
"@rollup/plugin-babel": "^5.3.1",
|
|
97
|
-
"@rollup/plugin-commonjs": "^21.0.2",
|
|
98
|
-
"@rollup/plugin-image": "^3.0.2",
|
|
99
|
-
"@rollup/plugin-json": "^6.0.0",
|
|
100
|
-
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
101
|
-
"@svgr/rollup": "^6.5.1",
|
|
102
|
-
"@types/classnames": "^2.3.1",
|
|
103
|
-
"@types/event-source-polyfill": "^1.0.1",
|
|
104
|
-
"@types/js-cookie": "^3.0.3",
|
|
105
|
-
"@types/lodash-es": "^4.17.7",
|
|
106
|
-
"@types/node": "^18.15.11",
|
|
107
|
-
"@types/office-js": "^1.0.256",
|
|
108
|
-
"@types/office-runtime": "^1.0.23",
|
|
109
|
-
"@types/react": "^18.0.28",
|
|
110
|
-
"@types/react-copy-to-clipboard": "^5.0.4",
|
|
111
|
-
"@types/react-dom": "^18.0.11",
|
|
112
|
-
"@typescript-eslint/eslint-plugin": "^6.4.0",
|
|
113
|
-
"@typescript-eslint/parser": "^6.4.0",
|
|
114
|
-
"@vitejs/plugin-react": "^6.0.2",
|
|
115
|
-
"acorn": "^8.5.0",
|
|
116
|
-
"babel-loader": "^8.2.2",
|
|
117
|
-
"esbuild": "^0.28.0",
|
|
118
|
-
"eslint": "^8.47.0",
|
|
119
|
-
"eslint-config-prettier": "^9.0.0",
|
|
120
|
-
"eslint-plugin-office-addins": "^2.1.5",
|
|
121
|
-
"eslint-plugin-prettier": "^5.0.0",
|
|
122
|
-
"eslint-plugin-react": "^7.33.2",
|
|
123
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
124
|
-
"jest": "^29.6.2",
|
|
125
|
-
"less": "^4.2.0",
|
|
126
|
-
"office-addin-cli": "^1.5.5",
|
|
127
|
-
"office-addin-debugging": "^5.0.12",
|
|
128
|
-
"office-addin-dev-certs": "^1.11.3",
|
|
129
|
-
"office-addin-lint": "^2.2.5",
|
|
130
|
-
"office-addin-manifest": "^1.12.3",
|
|
131
|
-
"office-addin-prettier-config": "^1.2.0",
|
|
132
|
-
"os-browserify": "^0.3.0",
|
|
133
|
-
"prettier": "3.0.2",
|
|
134
|
-
"prettier-eslint": "^15.0.1",
|
|
135
|
-
"process": "^0.11.10",
|
|
136
|
-
"rimraf": "^3.0.2",
|
|
137
|
-
"rollup": "^2.43.1",
|
|
138
|
-
"rollup-plugin-dts": "^4.2.2",
|
|
139
|
-
"rollup-plugin-esbuild": "^3.0.2",
|
|
140
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
141
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
142
|
-
"rollup-plugin-typescript2": "^0.31.2",
|
|
143
|
-
"rollup-plugin-url": "^3.0.1",
|
|
144
|
-
"shx": "^0.3.4",
|
|
145
|
-
"terser": "^5.16.9",
|
|
146
|
-
"typescript": "^4.2.3",
|
|
147
|
-
"vite": "^8.0.14"
|
|
148
|
-
}
|
|
149
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@opencompass-fe/oc-webkit-eval",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Provide some common components for oc",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/lm-ecosystem/oc-webkit.git"
|
|
8
|
+
},
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"types": "./dist/types/index.d.ts",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"docs"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"dev": "cross-env NODE_ENV=developemnt rollup -m -c rollup.config.js -w",
|
|
17
|
+
"build": "rimraf dist && rimraf es && cross-env NODE_ENV=production rollup -c rollup.config.js",
|
|
18
|
+
"test": "tsc --project ./tsconfig.test.json && jest",
|
|
19
|
+
"lint": "eslint 'src/**/*.{ts,tsx,js,jsx}' && npm run build:type",
|
|
20
|
+
"lint:fix": "eslint src/**/*.{ts,tsx,js,jsx} --fix",
|
|
21
|
+
"demo:preview": "vite --config test/vite.config.ts"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"react"
|
|
25
|
+
],
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"registry": "https://registry.npmjs.org/",
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"private": false,
|
|
31
|
+
"homepage": "",
|
|
32
|
+
"license": "Apache-2.0",
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@ant-design/cssinjs": "^1.18.0-alpha.5",
|
|
35
|
+
"@ant-design/icons": "^4.7.0",
|
|
36
|
+
"@loadable/component": "^5.16.4",
|
|
37
|
+
"@microsoft/fetch-event-source": "^2.0.1",
|
|
38
|
+
"@openmmlab/oss-upload": "^1.3.0",
|
|
39
|
+
"@react-hook/hover": "^4.0.0",
|
|
40
|
+
"ahooks": "^3.8.1",
|
|
41
|
+
"antd": ">=4.15.0",
|
|
42
|
+
"antd-mobile": "^5.38.1",
|
|
43
|
+
"antd-mobile-icons": "^0.3.0",
|
|
44
|
+
"axios": "^1.6.2",
|
|
45
|
+
"classnames": "^2.3.2",
|
|
46
|
+
"core-js": "^3.9.1",
|
|
47
|
+
"country-flag-icons": "^1.5.16",
|
|
48
|
+
"cross-env": "^7.0.3",
|
|
49
|
+
"diff": "^5.1.0",
|
|
50
|
+
"diff2html": "^3.4.41",
|
|
51
|
+
"es6-promise": "^4.2.8",
|
|
52
|
+
"event-source-polyfill": "^1.0.31",
|
|
53
|
+
"events": "^3.3.0",
|
|
54
|
+
"html2canvas": "^1.4.1",
|
|
55
|
+
"js-cookie": "^3.0.5",
|
|
56
|
+
"jssha": "^3.3.1",
|
|
57
|
+
"localforage": "^1.10.0",
|
|
58
|
+
"lodash-es": "^4.17.21",
|
|
59
|
+
"lottie-react": "^2.4.0",
|
|
60
|
+
"moment": "^2.30.1",
|
|
61
|
+
"postcss": "^8.4.23",
|
|
62
|
+
"program-language-detector": "^0.0.12",
|
|
63
|
+
"rapid-uploader": "^0.0.10",
|
|
64
|
+
"react": "^18.2.0",
|
|
65
|
+
"react-contextmenu": "^2.14.0",
|
|
66
|
+
"react-copy-to-clipboard": "^5.1.0",
|
|
67
|
+
"react-device-detect": "^2.2.3",
|
|
68
|
+
"react-dom": "^18.2.0",
|
|
69
|
+
"react-images-viewer": "1.6.2",
|
|
70
|
+
"react-markdown": "^9.0.1",
|
|
71
|
+
"react-router-dom": "^6.10.0",
|
|
72
|
+
"react-syntax-highlighter": "^15.5.0",
|
|
73
|
+
"react-text-selection-popover": "^1.3.2",
|
|
74
|
+
"regenerator-runtime": "^0.13.7",
|
|
75
|
+
"rehype-katex": "^7.0.1",
|
|
76
|
+
"rehype-raw": "^7.0.0",
|
|
77
|
+
"rehype-sanitize": "^6.0.0",
|
|
78
|
+
"rehype-slug": "^6.0.0",
|
|
79
|
+
"remark-breaks": "^4.0.0",
|
|
80
|
+
"remark-code-format": "^1.0.8",
|
|
81
|
+
"remark-gfm": "^4.0.0",
|
|
82
|
+
"remark-math": "^6.0.0",
|
|
83
|
+
"selection-popover": "^0.3.0",
|
|
84
|
+
"sse.js": "^2.2.0"
|
|
85
|
+
},
|
|
86
|
+
"peerDependencies": {
|
|
87
|
+
"@ant-design/icons": "^4.7.0",
|
|
88
|
+
"antd": ">=4.15.0",
|
|
89
|
+
"antd-mobile": "^5.38.1",
|
|
90
|
+
"react": "^18.2.0"
|
|
91
|
+
},
|
|
92
|
+
"devDependencies": {
|
|
93
|
+
"@babel/core": "^7.13.10",
|
|
94
|
+
"@babel/preset-typescript": "^7.13.0",
|
|
95
|
+
"@rollup/plugin-alias": "^5.0.0",
|
|
96
|
+
"@rollup/plugin-babel": "^5.3.1",
|
|
97
|
+
"@rollup/plugin-commonjs": "^21.0.2",
|
|
98
|
+
"@rollup/plugin-image": "^3.0.2",
|
|
99
|
+
"@rollup/plugin-json": "^6.0.0",
|
|
100
|
+
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
101
|
+
"@svgr/rollup": "^6.5.1",
|
|
102
|
+
"@types/classnames": "^2.3.1",
|
|
103
|
+
"@types/event-source-polyfill": "^1.0.1",
|
|
104
|
+
"@types/js-cookie": "^3.0.3",
|
|
105
|
+
"@types/lodash-es": "^4.17.7",
|
|
106
|
+
"@types/node": "^18.15.11",
|
|
107
|
+
"@types/office-js": "^1.0.256",
|
|
108
|
+
"@types/office-runtime": "^1.0.23",
|
|
109
|
+
"@types/react": "^18.0.28",
|
|
110
|
+
"@types/react-copy-to-clipboard": "^5.0.4",
|
|
111
|
+
"@types/react-dom": "^18.0.11",
|
|
112
|
+
"@typescript-eslint/eslint-plugin": "^6.4.0",
|
|
113
|
+
"@typescript-eslint/parser": "^6.4.0",
|
|
114
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
115
|
+
"acorn": "^8.5.0",
|
|
116
|
+
"babel-loader": "^8.2.2",
|
|
117
|
+
"esbuild": "^0.28.0",
|
|
118
|
+
"eslint": "^8.47.0",
|
|
119
|
+
"eslint-config-prettier": "^9.0.0",
|
|
120
|
+
"eslint-plugin-office-addins": "^2.1.5",
|
|
121
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
122
|
+
"eslint-plugin-react": "^7.33.2",
|
|
123
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
124
|
+
"jest": "^29.6.2",
|
|
125
|
+
"less": "^4.2.0",
|
|
126
|
+
"office-addin-cli": "^1.5.5",
|
|
127
|
+
"office-addin-debugging": "^5.0.12",
|
|
128
|
+
"office-addin-dev-certs": "^1.11.3",
|
|
129
|
+
"office-addin-lint": "^2.2.5",
|
|
130
|
+
"office-addin-manifest": "^1.12.3",
|
|
131
|
+
"office-addin-prettier-config": "^1.2.0",
|
|
132
|
+
"os-browserify": "^0.3.0",
|
|
133
|
+
"prettier": "3.0.2",
|
|
134
|
+
"prettier-eslint": "^15.0.1",
|
|
135
|
+
"process": "^0.11.10",
|
|
136
|
+
"rimraf": "^3.0.2",
|
|
137
|
+
"rollup": "^2.43.1",
|
|
138
|
+
"rollup-plugin-dts": "^4.2.2",
|
|
139
|
+
"rollup-plugin-esbuild": "^3.0.2",
|
|
140
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
141
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
142
|
+
"rollup-plugin-typescript2": "^0.31.2",
|
|
143
|
+
"rollup-plugin-url": "^3.0.1",
|
|
144
|
+
"shx": "^0.3.4",
|
|
145
|
+
"terser": "^5.16.9",
|
|
146
|
+
"typescript": "^4.2.3",
|
|
147
|
+
"vite": "^8.0.14"
|
|
148
|
+
}
|
|
149
|
+
}
|