wtsk-comps 1.1.16 → 1.1.18
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 +1 -3
- package/dist/types/index.d.ts +0 -25
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wtsk-comps",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.18",
|
|
4
4
|
"description": "Vue3+Element Plus基础组件库(wtsk-btn/form/table/tree)",
|
|
5
5
|
"author": "lujh",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,10 +14,8 @@
|
|
|
14
14
|
"module": "dist/wtsk-comps.es.js",
|
|
15
15
|
"unpkg": "dist/wtsk-comps.umd.js",
|
|
16
16
|
"style": "dist/wtsk-comps.css",
|
|
17
|
-
"types": "dist/types/index.d.ts",
|
|
18
17
|
"exports": {
|
|
19
18
|
".": {
|
|
20
|
-
"types": "./dist/types/index.d.ts",
|
|
21
19
|
"import": "./dist/wtsk-comps.es.js",
|
|
22
20
|
"require": "./dist/wtsk-comps.cjs.js"
|
|
23
21
|
},
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// 导入Vue基础类型,用于扩展全局组件
|
|
2
|
-
import type { App, Component } from 'vue'
|
|
3
|
-
|
|
4
|
-
// 1. 声明每个组件的基础类型(匹配src/index.js导出的组件)
|
|
5
|
-
export declare const WtskBtn: Component
|
|
6
|
-
export declare const WtskTree: Component
|
|
7
|
-
export declare const WtskForm: Component
|
|
8
|
-
export declare const WtskTable: Component
|
|
9
|
-
|
|
10
|
-
// 2. 声明插件安装函数(匹配src/index.js的WtskBasic)
|
|
11
|
-
export declare const WtskBasic: {
|
|
12
|
-
install: (app: App) => void
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default WtskBasic
|
|
16
|
-
|
|
17
|
-
// 3. 核心:扩展Vue全局组件接口,让编辑器识别<wtsk-table>等标签
|
|
18
|
-
declare module 'vue' {
|
|
19
|
-
export interface GlobalComponents {
|
|
20
|
-
WtskBtn: typeof WtskBtn
|
|
21
|
-
WtskTree: typeof WtskTree
|
|
22
|
-
WtskForm: typeof WtskForm
|
|
23
|
-
WtskTable: typeof WtskTable
|
|
24
|
-
}
|
|
25
|
-
}
|