dpzvc3-ui 3.1.1 → 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.
@@ -1 +1 @@
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"}
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"}
@@ -1,12 +1,14 @@
1
1
  // src/types/index.d.ts
2
2
 
3
3
  /* ----------------------------------
4
- * 1️⃣ 导出组件 & props(给 TS 模块 import 用)
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
- import type { App, Plugin } 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'
78
+ import type { App } from 'vue'
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 { ProgressProps } from '../components/progress/types'
107
- import type { LoadmoreProps } from '../components/loadMore/types'
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,36 +88,33 @@ declare module 'vue' {
118
88
  $Indicator: IndicatorInstance
119
89
  $Prompt: PromptInstance
120
90
  }
91
+
121
92
  export interface GlobalComponents {
122
- // Badge: typeof import('../components/badge')['default'] & {
123
- // install(app: App): void
124
- // // __props: BadgeProps
125
- // },
126
- Badge: typeof import('../components/badge')['default'],
127
- Popup: typeof import('../components/popup')['default'],
128
- ActionSheet: typeof import('../components/actionSheet')['default'],
129
- Card: typeof import('../components/card')['default'],
130
- Rater: typeof import('../components/rater')['default'],
131
- Cell: typeof import('../components/cell')['default'],
132
- CellSwipe: typeof import('../components/cellSwipe')['default'],
133
- DpHeader: typeof import('../components/header')['default'],
134
- Spinner: typeof import('../components/spinner')['default'],
135
- Swipe: typeof import('../components/swipe')['default'],
136
- DpButton: typeof import('../components/button')['default'],
137
- Picker: typeof import('../components/picker')['default'],
138
- SwitchBar: typeof import('../components/switchbar')['default'],
139
- Tab: typeof import('../components/tab')['default'],
140
- TextBar: typeof import('../components/Text')['default'],
141
- Number: typeof import('../components/number')['default'],
142
- ToTop: typeof import('../components/toTop')['default'],
143
- Upload: typeof import('../components/upload')['default'],
144
- SlideBar: typeof import('../components/slideBar')['default'],
145
- DpProgress: typeof import('../components/progress')['default'],
146
- DpLoadMore: typeof import('../components/loadMore')['default'],
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
 
@@ -155,8 +122,8 @@ declare module 'vue' {
155
122
  * 3️⃣ 默认导出整个组件库为 Vue 插件
156
123
  * ---------------------------------- */
157
124
  import type { Plugin } from 'vue'
158
- declare const DpzVc3: Plugin
159
- export default DpzVc3
125
+ export const Dpzvc3UI: Plugin
126
+ export default Dpzvc3UI
160
127
 
161
128
  /* ----------------------------------
162
129
  * 4️⃣ 保证这是 module
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dpzvc3-ui",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "Vue3组件库",
5
5
  "main": "dist/dpzvc3.js",
6
6
  "module": "dist/dpzvc3.esm.js",
package/src/index.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Vue 3 组件库入口 ts 版本
3
3
  */
4
4
 
5
- import type { App,Plugin } 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 _components = {
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
- /* typeof _component在ts输出
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
- export const services: Record<string, any> = {
66
+ const services = {
103
67
  Message,
104
68
  Modal,
105
69
  Prompt,
106
70
  Indicator
107
- }
71
+ } as const
108
72
 
109
- Object.keys(services).forEach((key) => {
110
- const service = services[key]
111
- if (service && !service.install) {
112
- service.install = (app: App) => {
113
- app.config.globalProperties[`$${key}`] = service
73
+ /* ========= 遍历注册组件 ========= */
74
+ Object.values(components).forEach((comp: any) => {
75
+ if (comp && !comp.install) {
76
+ comp.install = (app: App) => {
77
+ app.component(comp.name, comp)
78
+ }
79
+ }
80
+ })
81
+
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
114
88
  }
115
89
  }
116
90
  })
117
91
 
118
92
  /* ========= 全量 install ========= */
119
93
  export const install: Plugin['install'] = (app: App) => {
120
- if (!app) {
121
- console.warn(
122
- 'dpzvc3 install: app is undefined, ensure you are using Vue 3 createApp'
123
- )
124
- return
125
- }
126
- // 注册组件
127
- Object.values(components).forEach((comp) => {
128
- if (comp.install) {
129
- comp.install(app)
130
- }
94
+ Object.values(components).forEach((comp: any) => {
95
+ comp.install?.(app)
131
96
  })
132
-
133
- // 注册服务
134
- Object.values(services).forEach((srv) => {
135
- if (srv.install) {
136
- srv.install(app)
137
- }
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,
@@ -168,6 +130,7 @@ export {
168
130
  Badge,
169
131
  Card
170
132
  }
171
- const DpzVc3: Plugin = { install }
133
+
172
134
  /* ========= 默认导出 ========= */
173
- export default DpzVc3
135
+ const Dpzvc3UI: Plugin = { install }
136
+ export default Dpzvc3UI
@@ -1,12 +1,14 @@
1
1
  // src/types/index.d.ts
2
2
 
3
3
  /* ----------------------------------
4
- * 1️⃣ 导出组件 & props(给 TS 模块 import 用)
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
- import type { App, Plugin } 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'
78
+ import type { App } from 'vue'
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 { ProgressProps } from '../components/progress/types'
107
- import type { LoadmoreProps } from '../components/loadMore/types'
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,36 +88,33 @@ declare module 'vue' {
118
88
  $Indicator: IndicatorInstance
119
89
  $Prompt: PromptInstance
120
90
  }
91
+
121
92
  export interface GlobalComponents {
122
- // Badge: typeof import('../components/badge')['default'] & {
123
- // install(app: App): void
124
- // // __props: BadgeProps
125
- // },
126
- Badge: typeof import('../components/badge')['default'],
127
- Popup: typeof import('../components/popup')['default'],
128
- ActionSheet: typeof import('../components/actionSheet')['default'],
129
- Card: typeof import('../components/card')['default'],
130
- Rater: typeof import('../components/rater')['default'],
131
- Cell: typeof import('../components/cell')['default'],
132
- CellSwipe: typeof import('../components/cellSwipe')['default'],
133
- DpHeader: typeof import('../components/header')['default'],
134
- Spinner: typeof import('../components/spinner')['default'],
135
- Swipe: typeof import('../components/swipe')['default'],
136
- DpButton: typeof import('../components/button')['default'],
137
- Picker: typeof import('../components/picker')['default'],
138
- SwitchBar: typeof import('../components/switchbar')['default'],
139
- Tab: typeof import('../components/tab')['default'],
140
- TextBar: typeof import('../components/Text')['default'],
141
- Number: typeof import('../components/number')['default'],
142
- ToTop: typeof import('../components/toTop')['default'],
143
- Upload: typeof import('../components/upload')['default'],
144
- SlideBar: typeof import('../components/slideBar')['default'],
145
- DpProgress: typeof import('../components/progress')['default'],
146
- DpLoadMore: typeof import('../components/loadMore')['default'],
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
 
@@ -155,8 +122,8 @@ declare module 'vue' {
155
122
  * 3️⃣ 默认导出整个组件库为 Vue 插件
156
123
  * ---------------------------------- */
157
124
  import type { Plugin } from 'vue'
158
- declare const DpzVc3: Plugin
159
- export default DpzVc3
125
+ export const Dpzvc3UI: Plugin
126
+ export default Dpzvc3UI
160
127
 
161
128
  /* ----------------------------------
162
129
  * 4️⃣ 保证这是 module