yc-vep-ui 0.0.19 → 0.0.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-vep-ui",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "type": "module",
5
5
  "description": "基于 Vue 3 + Element Plus 的企业级 UI 组件库",
6
6
  "keywords": [
@@ -25,6 +25,16 @@
25
25
  "import": "./dist/vep-ui.es.js",
26
26
  "require": "./dist/vep-ui.umd.js"
27
27
  },
28
+ "./icons-vue": {
29
+ "types": "./dist/icons.d.ts",
30
+ "import": "./dist/icons-vue.es.js",
31
+ "require": "./dist/icons-vue.umd.js"
32
+ },
33
+ "./element-plus": {
34
+ "types": "./dist/element-plus.d.ts",
35
+ "import": "./dist/element-plus.es.js",
36
+ "require": "./dist/element-plus.umd.js"
37
+ },
28
38
  "./dist/yc-vep-ui.css": "./dist/yc-vep-ui.css"
29
39
  },
30
40
  "files": [
@@ -34,7 +44,7 @@
34
44
  "scripts": {
35
45
  "dev": "vite",
36
46
  "build": "vue-tsc -b && vite build",
37
- "build:lib": "vite build",
47
+ "build:lib": "vite build && cross-env BUILD_ICONS=true vite build && echo export * from '@element-plus/icons-vue' > dist/icons.d.ts && cross-env BUILD_ELEMENT_PLUS=true vite build && echo export * from 'element-plus' > dist/element-plus.d.ts",
38
48
  "preview": "vite preview",
39
49
  "prepublishOnly": "npm run build:lib"
40
50
  },
@@ -44,15 +54,18 @@
44
54
  "vue": "^3.5.0"
45
55
  },
46
56
  "devDependencies": {
57
+ "@element-plus/icons-vue": "^2.3.2",
47
58
  "@types/node": "^24.12.3",
48
59
  "@vitejs/plugin-vue": "^6.0.6",
49
60
  "@vue/tsconfig": "^0.9.1",
61
+ "cross-env": "^10.1.0",
50
62
  "typescript": "~6.0.2",
51
63
  "vite": "^8.0.12",
52
64
  "vite-plugin-dts": "^4.5.0",
53
65
  "vue-tsc": "^3.2.8"
54
66
  },
55
67
  "peerDependencies": {
68
+ "@element-plus/icons-vue": "^2.3.1",
56
69
  "aieditor": "^1.4.0",
57
70
  "element-plus": "^2.14.0",
58
71
  "vue": "^3.5.0"
@@ -1,3 +0,0 @@
1
- import { IBarProps } from './type.d';
2
- declare const _default: import('vue').DefineComponent<IBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IBarProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { IPieProps } from './type.d';
2
- declare const _default: import('vue').DefineComponent<IPieProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IPieProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
3
- export default _default;
@@ -1,9 +0,0 @@
1
- import { EChartsOption } from 'echarts';
2
- type __VLS_Props = {
3
- option: EChartsOption;
4
- height?: string;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
7
- chartRef: HTMLDivElement;
8
- }, HTMLDivElement>;
9
- export default _default;
@@ -1,4 +0,0 @@
1
- import { default as UiPie } from './Pie.vue';
2
- import { default as UiSeries } from './Series.vue';
3
- import { default as UiBar } from './Bar.vue';
4
- export { UiPie, UiSeries, UiBar };