dpzvc3-ui 3.1.0 → 3.1.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/dist/dpzvc3.esm.js +25 -55
- package/dist/dpzvc3.esm.js.map +1 -1
- package/dist/dpzvc3.esm.min.js +1 -1
- package/dist/dpzvc3.esm.min.js.map +1 -1
- package/dist/dpzvc3.js +24 -53
- package/dist/dpzvc3.js.map +1 -1
- package/dist/dpzvc3.min.js +1 -1
- package/dist/dpzvc3.min.js.map +1 -1
- package/dist/types/components/{Prompt → prompt}/types.d.ts.map +1 -1
- package/dist/types/index.d.ts +39 -65
- package/package.json +1 -1
- package/src/index.ts +29 -68
- package/src/types/index.d.ts +39 -65
- /package/dist/types/components/{Prompt → prompt}/types.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/prompt/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAA;AACxC,KAAK,eAAe,GAChB,MAAM,GACN,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,CAAC,CAAA;AAEvC,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IAClC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,GAAG,WAAW,IAAI;KAC7C,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACvB,GAAG;IACA,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAID,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,IAAI,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,GAAG,CAAA;CACzC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC7B,IAAI,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,GAAG,CAAC;IAC3C,MAAM,EAAE,MAAM,IAAI,CAAC;CAEtB,GAAG,IAAI,CAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
// src/types/index.d.ts
|
|
2
2
|
|
|
3
3
|
/* ----------------------------------
|
|
4
|
-
* 1️⃣
|
|
4
|
+
* 1️⃣ 按需导出组件 & props(给 TS import 用)
|
|
5
5
|
* ---------------------------------- */
|
|
6
6
|
export { default as Badge } from '../components/badge'
|
|
7
7
|
export type { BadgeProps } from '../components/badge/types'
|
|
8
|
+
|
|
8
9
|
export { default as Popup } from '../components/popup'
|
|
9
10
|
export type { PopupProps } from '../components/popup/types'
|
|
11
|
+
|
|
10
12
|
export { default as ActionSheet } from '../components/actionSheet'
|
|
11
13
|
export type { ActionSheetProps } from '../components/actionSheet/types'
|
|
12
14
|
|
|
@@ -70,47 +72,15 @@ export type { CheckBoxProps, CheckBoxGroupProps } from '../components/checkBox/t
|
|
|
70
72
|
export { default as RadioBox, default as RadioBoxGroup } from '../components/radioBox'
|
|
71
73
|
export type { RadioBoxProps, RadioGroupProps } from '../components/radioBox/types'
|
|
72
74
|
|
|
73
|
-
// // Modal
|
|
74
|
-
// export { default as Modal } from '../components/modal/modal'
|
|
75
|
-
// // 实例调用类型定义
|
|
76
|
-
// export type { ModalInstance } from '../components/modal/types'
|
|
77
|
-
// // Modal 组件的 props 类型定义
|
|
78
|
-
// export type { ModalProps } from '../components/modal/types'
|
|
79
|
-
|
|
80
75
|
/* ----------------------------------
|
|
81
76
|
* 2️⃣ 全局组件声明(给 <template> 用)
|
|
82
77
|
* ---------------------------------- */
|
|
83
78
|
import type { App } from 'vue'
|
|
84
|
-
import type { BadgeProps } from '../components/badge/types'
|
|
85
|
-
import type { PopupProps } from '../components/popup/types'
|
|
86
|
-
import type { ActionSheetProps } from '../components/actionSheet/types'
|
|
87
|
-
import type { CardProps } from '../components/card/types'
|
|
88
|
-
import type { RaterProps } from '../components/rater/types'
|
|
89
|
-
import type { CellProps } from '../components/cell/types'
|
|
90
|
-
import type { CellSwipeProps } from '../components/cellSwipe/types'
|
|
91
|
-
import type { HeaderProps } from '../components/header/types'
|
|
92
|
-
import type { SpinnerProps } from '../components/spinner/types'
|
|
93
|
-
import type { SwipeProps } from '../components/swipe/types'
|
|
94
|
-
import type { ButtonProps } from '../components/button/types'
|
|
95
|
-
import type { PickerProps } from '../components/picker/types'
|
|
96
|
-
import type { SwitchBarProps } from '../components/switchbar/types'
|
|
97
|
-
import type { TabProps } from '../components/tab/types'
|
|
98
|
-
import type { TextBarProps } from '../components/Text/types'
|
|
99
|
-
import type { NumberProps } from '../components/Number/types'
|
|
100
|
-
import type { ToTopProps } from '../components/toTop/types'
|
|
101
|
-
import type { UploadProps } from '../components/upload/types'
|
|
102
|
-
import type { SlideBarProps } from '../components/slideBar/types'
|
|
103
79
|
import type { ModalInstance } from '../components/modal/types'
|
|
104
80
|
import type { MessageInstance } from '../components/message/types'
|
|
105
81
|
import type { IndicatorInstance } from '../components/Indicator/types'
|
|
106
|
-
import type {
|
|
107
|
-
|
|
108
|
-
import type { CheckBoxProps } from '../components/checkBox/types'
|
|
109
|
-
import type { CheckBoxGroupProps } from '../components/checkBox/types'
|
|
110
|
-
import type { RadioBoxProps } from '../components/radioBox/types'
|
|
111
|
-
import type { RadioGroupProps } from '../components/radioBox/types'
|
|
112
|
-
import type { PromptInstance } from '../components/Prompt/types'
|
|
113
|
-
// src/shims-vue.d.ts
|
|
82
|
+
import type { PromptInstance } from '../components/prompt/types'
|
|
83
|
+
|
|
114
84
|
declare module 'vue' {
|
|
115
85
|
interface ComponentCustomProperties {
|
|
116
86
|
$Modal: ModalInstance
|
|
@@ -118,40 +88,44 @@ declare module 'vue' {
|
|
|
118
88
|
$Indicator: IndicatorInstance
|
|
119
89
|
$Prompt: PromptInstance
|
|
120
90
|
}
|
|
91
|
+
|
|
121
92
|
export interface GlobalComponents {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
CheckBoxGroup: typeof import('../components/checkBox')['CheckBoxGroup'],
|
|
148
|
-
CheckBox: typeof import('../components/checkBox')['CheckBox'],
|
|
149
|
-
RadioBoxGroup: typeof import('../components/radioBox')['RadioBoxGroup'],
|
|
150
|
-
RadioBox: typeof import('../components/radioBox')['RadioBox'],
|
|
93
|
+
Badge: typeof import('../components/badge')['default']
|
|
94
|
+
Popup: typeof import('../components/popup')['default']
|
|
95
|
+
ActionSheet: typeof import('../components/actionSheet')['default']
|
|
96
|
+
Card: typeof import('../components/card')['default']
|
|
97
|
+
Rater: typeof import('../components/rater')['default']
|
|
98
|
+
Cell: typeof import('../components/cell')['default']
|
|
99
|
+
CellSwipe: typeof import('../components/cellSwipe')['default']
|
|
100
|
+
DpHeader: typeof import('../components/header')['default']
|
|
101
|
+
Spinner: typeof import('../components/spinner')['default']
|
|
102
|
+
Swipe: typeof import('../components/swipe')['default']
|
|
103
|
+
DpButton: typeof import('../components/button')['default']
|
|
104
|
+
Picker: typeof import('../components/picker')['default']
|
|
105
|
+
SwitchBar: typeof import('../components/switchbar')['default']
|
|
106
|
+
Tab: typeof import('../components/tab')['default']
|
|
107
|
+
TextBar: typeof import('../components/Text')['default']
|
|
108
|
+
Number: typeof import('../components/number')['default']
|
|
109
|
+
ToTop: typeof import('../components/toTop')['default']
|
|
110
|
+
Upload: typeof import('../components/upload')['default']
|
|
111
|
+
SlideBar: typeof import('../components/slideBar')['default']
|
|
112
|
+
DpProgress: typeof import('../components/progress')['default']
|
|
113
|
+
DpLoadMore: typeof import('../components/loadMore')['default']
|
|
114
|
+
CheckBox: typeof import('../components/checkBox')['CheckBox']
|
|
115
|
+
CheckBoxGroup: typeof import('../components/checkBox')['CheckBoxGroup']
|
|
116
|
+
RadioBox: typeof import('../components/radioBox')['RadioBox']
|
|
117
|
+
RadioBoxGroup: typeof import('../components/radioBox')['RadioBoxGroup']
|
|
151
118
|
}
|
|
152
119
|
}
|
|
153
120
|
|
|
154
121
|
/* ----------------------------------
|
|
155
|
-
* 3️⃣
|
|
122
|
+
* 3️⃣ 默认导出整个组件库为 Vue 插件
|
|
123
|
+
* ---------------------------------- */
|
|
124
|
+
import type { Plugin } from 'vue'
|
|
125
|
+
export const Dpzvc3UI: Plugin
|
|
126
|
+
export default Dpzvc3UI
|
|
127
|
+
|
|
128
|
+
/* ----------------------------------
|
|
129
|
+
* 4️⃣ 保证这是 module
|
|
156
130
|
* ---------------------------------- */
|
|
157
131
|
export {}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Vue 3 组件库入口 ts 版本
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { App } from 'vue'
|
|
5
|
+
import type { App, Plugin } from 'vue'
|
|
6
6
|
|
|
7
7
|
/* ========= 组件引入 ========= */
|
|
8
8
|
import DpButton from './components/button'
|
|
@@ -33,16 +33,8 @@ import Badge from './components/badge'
|
|
|
33
33
|
import Card from './components/card'
|
|
34
34
|
import Number from './components/number'
|
|
35
35
|
|
|
36
|
-
/* ========= Installable 泛型 ========= */
|
|
37
|
-
// export type Installable<T> = T & {
|
|
38
|
-
// install?: (app: App) => void
|
|
39
|
-
// }
|
|
40
|
-
export type Components = {
|
|
41
|
-
[K in keyof typeof _components]: any//Installable<typeof _components[K]>
|
|
42
|
-
}
|
|
43
|
-
export const components: Components = {} as Components
|
|
44
36
|
/* ========= 组件集合 ========= */
|
|
45
|
-
const
|
|
37
|
+
const components = {
|
|
46
38
|
DpButton,
|
|
47
39
|
CheckBox,
|
|
48
40
|
CheckBoxGroup,
|
|
@@ -68,73 +60,42 @@ const _components = {
|
|
|
68
60
|
CellSwipe,
|
|
69
61
|
Badge,
|
|
70
62
|
Card
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// {
|
|
74
|
-
// VButton: typeof VButton
|
|
75
|
-
// CheckBox: typeof CheckBox
|
|
76
|
-
// CheckBoxGroup: typeof CheckBoxGroup
|
|
77
|
-
// }
|
|
78
|
-
如果直接写[K in keyof _components]报错Type '_components' is not a type. 原因就是 _components 是 值,不是类型。
|
|
79
|
-
• keyof 只能作用在 类型上。
|
|
80
|
-
• 所以必须先用 typeof 变成类型:keyof typeof _components。
|
|
81
|
-
*/
|
|
82
|
-
/* ========= 生成 Installable 类型组件集合 ========= */
|
|
83
|
-
// export const components: {
|
|
84
|
-
// [K in keyof typeof _components]: Installable<typeof _components[K]>
|
|
85
|
-
// } = {} as any
|
|
86
|
-
// 遍历给组件加 install
|
|
87
|
-
Object.keys(_components).forEach((key) => {
|
|
88
|
-
// const component = _components[key as keyof typeof _components] as Installable<
|
|
89
|
-
// typeof _components[keyof typeof _components]
|
|
90
|
-
// >
|
|
91
|
-
const component = _components[key as keyof typeof _components]
|
|
92
|
-
if (component && !component.install) {
|
|
93
|
-
component.install = (app: App) => {
|
|
94
|
-
// console.log(key, component, '----component----')
|
|
95
|
-
app.component(key, component)
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
components[key as keyof typeof _components] = component
|
|
99
|
-
// console.log(components, '----components----')
|
|
100
|
-
})
|
|
63
|
+
} as const
|
|
64
|
+
|
|
101
65
|
/* ========= 服务组件 ========= */
|
|
102
|
-
|
|
66
|
+
const services = {
|
|
103
67
|
Message,
|
|
104
68
|
Modal,
|
|
105
69
|
Prompt,
|
|
106
70
|
Indicator
|
|
107
|
-
}
|
|
71
|
+
} as const
|
|
108
72
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
if (
|
|
112
|
-
|
|
113
|
-
app.
|
|
73
|
+
/* ========= 遍历注册组件 ========= */
|
|
74
|
+
Object.values(components).forEach((comp: any) => {
|
|
75
|
+
if (comp && !comp.install) {
|
|
76
|
+
comp.install = (app: App) => {
|
|
77
|
+
app.component(comp.name, comp)
|
|
114
78
|
}
|
|
115
79
|
}
|
|
116
80
|
})
|
|
117
81
|
|
|
118
|
-
/* =========
|
|
119
|
-
|
|
120
|
-
if (!
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
return
|
|
125
|
-
}
|
|
126
|
-
// 注册组件
|
|
127
|
-
Object.values(components).forEach((comp) => {
|
|
128
|
-
if (comp.install) {
|
|
129
|
-
comp.install(app)
|
|
82
|
+
/* ========= 遍历注册服务 ========= */
|
|
83
|
+
Object.values(services).forEach((srv: any, idx) => {
|
|
84
|
+
if (srv && !srv.install) {
|
|
85
|
+
const key = Object.keys(services)[idx]
|
|
86
|
+
srv.install = (app: App) => {
|
|
87
|
+
app.config.globalProperties[`$${key}`] = srv
|
|
130
88
|
}
|
|
131
|
-
}
|
|
89
|
+
}
|
|
90
|
+
})
|
|
132
91
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
92
|
+
/* ========= 全量 install ========= */
|
|
93
|
+
export const install: Plugin['install'] = (app: App) => {
|
|
94
|
+
Object.values(components).forEach((comp: any) => {
|
|
95
|
+
comp.install?.(app)
|
|
96
|
+
})
|
|
97
|
+
Object.values(services).forEach((srv: any) => {
|
|
98
|
+
srv.install?.(app)
|
|
138
99
|
})
|
|
139
100
|
}
|
|
140
101
|
|
|
@@ -149,6 +110,7 @@ export {
|
|
|
149
110
|
Prompt,
|
|
150
111
|
Picker,
|
|
151
112
|
RadioBox,
|
|
113
|
+
RadioBoxGroup,
|
|
152
114
|
Swipe,
|
|
153
115
|
Tab,
|
|
154
116
|
SlideBar,
|
|
@@ -170,6 +132,5 @@ export {
|
|
|
170
132
|
}
|
|
171
133
|
|
|
172
134
|
/* ========= 默认导出 ========= */
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
}
|
|
135
|
+
const Dpzvc3UI: Plugin = { install }
|
|
136
|
+
export default Dpzvc3UI
|
package/src/types/index.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
// src/types/index.d.ts
|
|
2
2
|
|
|
3
3
|
/* ----------------------------------
|
|
4
|
-
* 1️⃣
|
|
4
|
+
* 1️⃣ 按需导出组件 & props(给 TS import 用)
|
|
5
5
|
* ---------------------------------- */
|
|
6
6
|
export { default as Badge } from '../components/badge'
|
|
7
7
|
export type { BadgeProps } from '../components/badge/types'
|
|
8
|
+
|
|
8
9
|
export { default as Popup } from '../components/popup'
|
|
9
10
|
export type { PopupProps } from '../components/popup/types'
|
|
11
|
+
|
|
10
12
|
export { default as ActionSheet } from '../components/actionSheet'
|
|
11
13
|
export type { ActionSheetProps } from '../components/actionSheet/types'
|
|
12
14
|
|
|
@@ -70,47 +72,15 @@ export type { CheckBoxProps, CheckBoxGroupProps } from '../components/checkBox/t
|
|
|
70
72
|
export { default as RadioBox, default as RadioBoxGroup } from '../components/radioBox'
|
|
71
73
|
export type { RadioBoxProps, RadioGroupProps } from '../components/radioBox/types'
|
|
72
74
|
|
|
73
|
-
// // Modal
|
|
74
|
-
// export { default as Modal } from '../components/modal/modal'
|
|
75
|
-
// // 实例调用类型定义
|
|
76
|
-
// export type { ModalInstance } from '../components/modal/types'
|
|
77
|
-
// // Modal 组件的 props 类型定义
|
|
78
|
-
// export type { ModalProps } from '../components/modal/types'
|
|
79
|
-
|
|
80
75
|
/* ----------------------------------
|
|
81
76
|
* 2️⃣ 全局组件声明(给 <template> 用)
|
|
82
77
|
* ---------------------------------- */
|
|
83
78
|
import type { App } from 'vue'
|
|
84
|
-
import type { BadgeProps } from '../components/badge/types'
|
|
85
|
-
import type { PopupProps } from '../components/popup/types'
|
|
86
|
-
import type { ActionSheetProps } from '../components/actionSheet/types'
|
|
87
|
-
import type { CardProps } from '../components/card/types'
|
|
88
|
-
import type { RaterProps } from '../components/rater/types'
|
|
89
|
-
import type { CellProps } from '../components/cell/types'
|
|
90
|
-
import type { CellSwipeProps } from '../components/cellSwipe/types'
|
|
91
|
-
import type { HeaderProps } from '../components/header/types'
|
|
92
|
-
import type { SpinnerProps } from '../components/spinner/types'
|
|
93
|
-
import type { SwipeProps } from '../components/swipe/types'
|
|
94
|
-
import type { ButtonProps } from '../components/button/types'
|
|
95
|
-
import type { PickerProps } from '../components/picker/types'
|
|
96
|
-
import type { SwitchBarProps } from '../components/switchbar/types'
|
|
97
|
-
import type { TabProps } from '../components/tab/types'
|
|
98
|
-
import type { TextBarProps } from '../components/Text/types'
|
|
99
|
-
import type { NumberProps } from '../components/Number/types'
|
|
100
|
-
import type { ToTopProps } from '../components/toTop/types'
|
|
101
|
-
import type { UploadProps } from '../components/upload/types'
|
|
102
|
-
import type { SlideBarProps } from '../components/slideBar/types'
|
|
103
79
|
import type { ModalInstance } from '../components/modal/types'
|
|
104
80
|
import type { MessageInstance } from '../components/message/types'
|
|
105
81
|
import type { IndicatorInstance } from '../components/Indicator/types'
|
|
106
|
-
import type {
|
|
107
|
-
|
|
108
|
-
import type { CheckBoxProps } from '../components/checkBox/types'
|
|
109
|
-
import type { CheckBoxGroupProps } from '../components/checkBox/types'
|
|
110
|
-
import type { RadioBoxProps } from '../components/radioBox/types'
|
|
111
|
-
import type { RadioGroupProps } from '../components/radioBox/types'
|
|
112
|
-
import type { PromptInstance } from '../components/Prompt/types'
|
|
113
|
-
// src/shims-vue.d.ts
|
|
82
|
+
import type { PromptInstance } from '../components/prompt/types'
|
|
83
|
+
|
|
114
84
|
declare module 'vue' {
|
|
115
85
|
interface ComponentCustomProperties {
|
|
116
86
|
$Modal: ModalInstance
|
|
@@ -118,40 +88,44 @@ declare module 'vue' {
|
|
|
118
88
|
$Indicator: IndicatorInstance
|
|
119
89
|
$Prompt: PromptInstance
|
|
120
90
|
}
|
|
91
|
+
|
|
121
92
|
export interface GlobalComponents {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
CheckBoxGroup: typeof import('../components/checkBox')['CheckBoxGroup'],
|
|
148
|
-
CheckBox: typeof import('../components/checkBox')['CheckBox'],
|
|
149
|
-
RadioBoxGroup: typeof import('../components/radioBox')['RadioBoxGroup'],
|
|
150
|
-
RadioBox: typeof import('../components/radioBox')['RadioBox'],
|
|
93
|
+
Badge: typeof import('../components/badge')['default']
|
|
94
|
+
Popup: typeof import('../components/popup')['default']
|
|
95
|
+
ActionSheet: typeof import('../components/actionSheet')['default']
|
|
96
|
+
Card: typeof import('../components/card')['default']
|
|
97
|
+
Rater: typeof import('../components/rater')['default']
|
|
98
|
+
Cell: typeof import('../components/cell')['default']
|
|
99
|
+
CellSwipe: typeof import('../components/cellSwipe')['default']
|
|
100
|
+
DpHeader: typeof import('../components/header')['default']
|
|
101
|
+
Spinner: typeof import('../components/spinner')['default']
|
|
102
|
+
Swipe: typeof import('../components/swipe')['default']
|
|
103
|
+
DpButton: typeof import('../components/button')['default']
|
|
104
|
+
Picker: typeof import('../components/picker')['default']
|
|
105
|
+
SwitchBar: typeof import('../components/switchbar')['default']
|
|
106
|
+
Tab: typeof import('../components/tab')['default']
|
|
107
|
+
TextBar: typeof import('../components/Text')['default']
|
|
108
|
+
Number: typeof import('../components/number')['default']
|
|
109
|
+
ToTop: typeof import('../components/toTop')['default']
|
|
110
|
+
Upload: typeof import('../components/upload')['default']
|
|
111
|
+
SlideBar: typeof import('../components/slideBar')['default']
|
|
112
|
+
DpProgress: typeof import('../components/progress')['default']
|
|
113
|
+
DpLoadMore: typeof import('../components/loadMore')['default']
|
|
114
|
+
CheckBox: typeof import('../components/checkBox')['CheckBox']
|
|
115
|
+
CheckBoxGroup: typeof import('../components/checkBox')['CheckBoxGroup']
|
|
116
|
+
RadioBox: typeof import('../components/radioBox')['RadioBox']
|
|
117
|
+
RadioBoxGroup: typeof import('../components/radioBox')['RadioBoxGroup']
|
|
151
118
|
}
|
|
152
119
|
}
|
|
153
120
|
|
|
154
121
|
/* ----------------------------------
|
|
155
|
-
* 3️⃣
|
|
122
|
+
* 3️⃣ 默认导出整个组件库为 Vue 插件
|
|
123
|
+
* ---------------------------------- */
|
|
124
|
+
import type { Plugin } from 'vue'
|
|
125
|
+
export const Dpzvc3UI: Plugin
|
|
126
|
+
export default Dpzvc3UI
|
|
127
|
+
|
|
128
|
+
/* ----------------------------------
|
|
129
|
+
* 4️⃣ 保证这是 module
|
|
156
130
|
* ---------------------------------- */
|
|
157
131
|
export {}
|
|
File without changes
|