@licium/editor-plugin-chart 3.0.2
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/LICENSE +21 -0
- package/README.md +217 -0
- package/dist/toastui-editor-plugin-chart.js +7306 -0
- package/package.json +56 -0
- package/types/index.d.ts +12 -0
package/package.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@licium/editor-plugin-chart",
|
|
3
|
+
"version": "3.0.2",
|
|
4
|
+
"description": "TOAST UI Editor : Chart Plugin",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"nhn",
|
|
7
|
+
"nhn cloud",
|
|
8
|
+
"toast",
|
|
9
|
+
"toastui",
|
|
10
|
+
"toast-ui",
|
|
11
|
+
"editor",
|
|
12
|
+
"plugin",
|
|
13
|
+
"chart"
|
|
14
|
+
],
|
|
15
|
+
"main": "dist/toastui-editor-plugin-chart.js",
|
|
16
|
+
"types": "types/index.d.ts",
|
|
17
|
+
"files": [
|
|
18
|
+
"dist/*.js",
|
|
19
|
+
"types/index.d.ts"
|
|
20
|
+
],
|
|
21
|
+
"browserslist": "last 2 versions, not ie <= 10",
|
|
22
|
+
"author": "NHN Cloud FE Development Lab <dl_javascript@nhn.com>",
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/nhn/tui.editor.git",
|
|
27
|
+
"directory": "plugins/chart"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/nhn/tui.editor/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://ui.toast.com",
|
|
33
|
+
"scripts": {
|
|
34
|
+
"lint": "eslint .",
|
|
35
|
+
"test:types": "tsc",
|
|
36
|
+
"test": "jest --watch",
|
|
37
|
+
"test:ci": "jest",
|
|
38
|
+
"serve": "snowpack dev",
|
|
39
|
+
"serve:ie": "webpack serve",
|
|
40
|
+
"build:cdn": "webpack build --env cdn & webpack build --env cdn minify",
|
|
41
|
+
"build": "webpack build && npm run build:cdn"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"buffer": "^6.0.3",
|
|
45
|
+
"jest-canvas-mock": "^2.3.1",
|
|
46
|
+
"os-browserify": "^0.3.0",
|
|
47
|
+
"stream-browserify": "^3.0.0"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@toast-ui/chart": "^4.1.4"
|
|
51
|
+
},
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public"
|
|
54
|
+
},
|
|
55
|
+
"gitHead": "cbc7cab7b3f081a1aaf1d338b8138512ace132b9"
|
|
56
|
+
}
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { PluginContext, PluginInfo } from '@licium/editor';
|
|
2
|
+
|
|
3
|
+
export interface PluginOptions {
|
|
4
|
+
minWidth: number;
|
|
5
|
+
maxWidth: number;
|
|
6
|
+
minHeight: number;
|
|
7
|
+
maxHeight: number;
|
|
8
|
+
width: number | 'auto';
|
|
9
|
+
height: number | 'auto';
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export default function chartPlugin(context: PluginContext, options: PluginOptions): PluginInfo;
|