diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6f6a4fbb..54b148ad 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -101,11 +101,11 @@ importers: '@codemirror/state': ^6.3.1 '@codemirror/theme-one-dark': ^6.1.2 '@codemirror/view': ^6.22.0 - '@open-data-v/base': ^0.0.2 + '@open-data-v/base': workspace:* '@open-data-v/data': ^0.0.2 - '@open-data-v/designer': ^0.0.2 + '@open-data-v/designer': workspace:* '@open-data-v/scripts': ^0.0.2 - '@open-data-v/ui': ^0.0.2 + '@open-data-v/ui': workspace:* '@types/codemirror': ^5.60.13 '@types/lodash-es': ^4.17.11 '@types/nprogress': ^0.2.3 @@ -604,6 +604,34 @@ importers: echarts: 5.5.0 echarts-liquidfill: 3.1.0_echarts@5.5.0 + resources/Basic/BorderBox1: + specifiers: + '@open-data-v/base': workspace:* + dependencies: + '@open-data-v/base': link:../../../packages/base + + resources/Basic/Image: + specifiers: + '@open-data-v/base': workspace:* + dependencies: + '@open-data-v/base': link:../../../packages/base + + resources/Chart: + specifiers: + '@open-data-v/base': workspace:* + echarts: ^5.3.3 + echarts-liquidfill: ^3.1.0 + dependencies: + '@open-data-v/base': link:../../packages/base + echarts: 5.5.0 + echarts-liquidfill: 3.1.0_echarts@5.5.0 + + resources/Gauge: + specifiers: + '@open-data-v/base': workspace:* + dependencies: + '@open-data-v/base': link:../../packages/base + packages: /@aashutoshrathi/word-wrap/1.2.6: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 823ca324..6354c590 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -6,5 +6,6 @@ packages: - packages/designer/** - examples/ - resource/** + - resources/** - docs/ - mock/ diff --git a/resource/Basic/Image/mainfest.json b/resource/Basic/Image/mainfest.json new file mode 100644 index 00000000..6684a985 --- /dev/null +++ b/resource/Basic/Image/mainfest.json @@ -0,0 +1,9 @@ +{ + "name": "Image", + "title": "图片", + "category": "BASIC", + "metaData": { + "width": 200, + "height": 200 + } +} \ No newline at end of file diff --git a/resource/Basic/Video/FlvVideo/mainfest.json b/resource/Basic/Video/FlvVideo/mainfest.json new file mode 100644 index 00000000..75a1758a --- /dev/null +++ b/resource/Basic/Video/FlvVideo/mainfest.json @@ -0,0 +1,9 @@ +{ + "name": "FlvVideo", + "title": "视频", + "category": "BASIC", + "metaData": { + "width": 400, + "height": 225 + } +} \ No newline at end of file diff --git a/resource/Border/BorderBox1/mainfest.json b/resource/Border/BorderBox1/mainfest.json new file mode 100644 index 00000000..aa1439be --- /dev/null +++ b/resource/Border/BorderBox1/mainfest.json @@ -0,0 +1,9 @@ +{ + "name": "BorderBox1", + "title": "1#边框'", + "category": "BORDER", + "metaData": { + "width": 200, + "height": 200 + } +} \ No newline at end of file diff --git a/resource/Border/BorderBox2/mainfest.json b/resource/Border/BorderBox2/mainfest.json new file mode 100644 index 00000000..2d56f1ac --- /dev/null +++ b/resource/Border/BorderBox2/mainfest.json @@ -0,0 +1,9 @@ +{ + "name": "BorderBox2", + "title": "2#边框'", + "category": "BORDER", + "metaData": { + "width": 200, + "height": 200 + } +} \ No newline at end of file diff --git a/resource/Border/BorderBox3/mainfest.json b/resource/Border/BorderBox3/mainfest.json new file mode 100644 index 00000000..e327be31 --- /dev/null +++ b/resource/Border/BorderBox3/mainfest.json @@ -0,0 +1,9 @@ +{ + "name": "BorderBox3", + "title": "3#边框'", + "category": "BORDER", + "metaData": { + "width": 200, + "height": 200 + } +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 82182883..289ac78a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,6 +15,7 @@ "types": ["vite/client"], "checkJs": true, "skipLibCheck": true, + "experimentalDecorators": true, "allowSyntheticDefaultImports": true, "noImplicitAny": false, // 允许隐式的any类型(某些第三方库有隐式的any类型) "strictNullChecks": true, // 不允许把null、undefined赋值给其他类型的变量