dpzvc3-ui 3.1.2 → 3.1.4
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/types/components/actionSheet/types.d.ts +1 -1
- package/dist/types/components/actionSheet/types.d.ts.map +1 -1
- package/dist/types/index.d.ts +75 -75
- package/package.json +2 -2
- package/src/components/actionSheet/types.ts +1 -1
- package/src/index.d.ts +131 -0
- package/src/types/index.d.ts +0 -4
- package/src/views/ActionSheet.vue +2 -2
- package/tsconfig.build.json +3 -2
- package/tsconfig.json +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/actionSheet/types.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACpD,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/actionSheet/types.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACpD,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,83 +3,83 @@
|
|
|
3
3
|
/* ----------------------------------
|
|
4
4
|
* 1️⃣ 按需导出组件 & props(给 TS import 用)
|
|
5
5
|
* ---------------------------------- */
|
|
6
|
-
export { default as Badge } from '
|
|
7
|
-
export type { BadgeProps } from '
|
|
6
|
+
export { default as Badge } from './components/badge'
|
|
7
|
+
export type { BadgeProps } from './components/badge/types'
|
|
8
8
|
|
|
9
|
-
export { default as Popup } from '
|
|
10
|
-
export type { PopupProps } from '
|
|
9
|
+
export { default as Popup } from './components/popup'
|
|
10
|
+
export type { PopupProps } from './components/popup/types'
|
|
11
11
|
|
|
12
|
-
export { default as ActionSheet } from '
|
|
13
|
-
export type { ActionSheetProps } from '
|
|
12
|
+
export { default as ActionSheet } from './components/actionSheet'
|
|
13
|
+
export type { ActionSheetProps } from './components/actionSheet/types'
|
|
14
14
|
|
|
15
|
-
export { default as Card } from '
|
|
16
|
-
export type { CardProps } from '
|
|
15
|
+
export { default as Card } from './components/card'
|
|
16
|
+
export type { CardProps } from './components/card/types'
|
|
17
17
|
|
|
18
|
-
export { default as Rater } from '
|
|
19
|
-
export type { RaterProps } from '
|
|
18
|
+
export { default as Rater } from './components/rater'
|
|
19
|
+
export type { RaterProps } from './components/rater/types'
|
|
20
20
|
|
|
21
|
-
export { default as Cell } from '
|
|
22
|
-
export type { CellProps } from '
|
|
21
|
+
export { default as Cell } from './components/cell'
|
|
22
|
+
export type { CellProps } from './components/cell/types'
|
|
23
23
|
|
|
24
|
-
export { default as CellSwipe } from '
|
|
25
|
-
export type { CellSwipeProps } from '
|
|
24
|
+
export { default as CellSwipe } from './components/cellSwipe'
|
|
25
|
+
export type { CellSwipeProps } from './components/cellSwipe/types'
|
|
26
26
|
|
|
27
|
-
export { default as DpHeader } from '
|
|
28
|
-
export type { HeaderProps } from '
|
|
27
|
+
export { default as DpHeader } from './components/header'
|
|
28
|
+
export type { HeaderProps } from './components/header/types'
|
|
29
29
|
|
|
30
|
-
export { default as Spinner } from '
|
|
31
|
-
export type { SpinnerProps } from '
|
|
30
|
+
export { default as Spinner } from './components/spinner'
|
|
31
|
+
export type { SpinnerProps } from './components/spinner/types'
|
|
32
32
|
|
|
33
|
-
export { default as Swipe } from '
|
|
34
|
-
export type { SwipeProps } from '
|
|
33
|
+
export { default as Swipe } from './components/swipe'
|
|
34
|
+
export type { SwipeProps } from './components/swipe/types'
|
|
35
35
|
|
|
36
|
-
export { default as DpButton } from '
|
|
37
|
-
export type { ButtonProps } from '
|
|
36
|
+
export { default as DpButton } from './components/button'
|
|
37
|
+
export type { ButtonProps } from './components/button/types'
|
|
38
38
|
|
|
39
|
-
export { default as Picker } from '
|
|
40
|
-
export type { PickerProps } from '
|
|
39
|
+
export { default as Picker } from './components/picker'
|
|
40
|
+
export type { PickerProps } from './components/picker/types'
|
|
41
41
|
|
|
42
|
-
export { default as SwitchBar } from '
|
|
43
|
-
export type { SwitchBarProps } from '
|
|
42
|
+
export { default as SwitchBar } from './components/switchbar'
|
|
43
|
+
export type { SwitchBarProps } from './components/switchbar/types'
|
|
44
44
|
|
|
45
|
-
export { default as Tab } from '
|
|
46
|
-
export type { TabProps } from '
|
|
45
|
+
export { default as Tab } from './components/tab'
|
|
46
|
+
export type { TabProps } from './components/tab/types'
|
|
47
47
|
|
|
48
|
-
export { default as TextBar } from '
|
|
49
|
-
export type { TextBarProps } from '
|
|
48
|
+
export { default as TextBar } from './components/Text'
|
|
49
|
+
export type { TextBarProps } from './components/Text/types'
|
|
50
50
|
|
|
51
|
-
export { default as Number } from '
|
|
52
|
-
export type { NumberProps } from '
|
|
51
|
+
export { default as Number } from './components/number'
|
|
52
|
+
export type { NumberProps } from './components/number/types'
|
|
53
53
|
|
|
54
|
-
export { default as ToTop } from '
|
|
55
|
-
export type { ToTopProps } from '
|
|
54
|
+
export { default as ToTop } from './components/toTop'
|
|
55
|
+
export type { ToTopProps } from './components/toTop/types'
|
|
56
56
|
|
|
57
|
-
export { default as Upload } from '
|
|
58
|
-
export type { UploadProps } from '
|
|
57
|
+
export { default as Upload } from './components/upload'
|
|
58
|
+
export type { UploadProps } from './components/upload/types'
|
|
59
59
|
|
|
60
|
-
export { default as SlideBar } from '
|
|
61
|
-
export type { SlideBarProps } from '
|
|
60
|
+
export { default as SlideBar } from './components/slideBar'
|
|
61
|
+
export type { SlideBarProps } from './components/slideBar/types'
|
|
62
62
|
|
|
63
|
-
export { default as DpProgress } from '
|
|
64
|
-
export type { ProgressProps } from '
|
|
63
|
+
export { default as DpProgress } from './components/progress'
|
|
64
|
+
export type { ProgressProps } from './components/progress/types'
|
|
65
65
|
|
|
66
|
-
export { default as DpLoadMore } from '
|
|
67
|
-
export type { LoadmoreProps } from '
|
|
66
|
+
export { default as DpLoadMore } from './components/loadMore'
|
|
67
|
+
export type { LoadmoreProps } from './components/loadMore/types'
|
|
68
68
|
|
|
69
|
-
export { default as CheckBox, default as CheckBoxGroup } from '
|
|
70
|
-
export type { CheckBoxProps, CheckBoxGroupProps } from '
|
|
69
|
+
export { default as CheckBox, default as CheckBoxGroup } from './components/checkBox'
|
|
70
|
+
export type { CheckBoxProps, CheckBoxGroupProps } from './components/checkBox/types'
|
|
71
71
|
|
|
72
|
-
export { default as RadioBox, default as RadioBoxGroup } from '
|
|
73
|
-
export type { RadioBoxProps, RadioGroupProps } from '
|
|
72
|
+
export { default as RadioBox, default as RadioBoxGroup } from './components/radioBox'
|
|
73
|
+
export type { RadioBoxProps, RadioGroupProps } from './components/radioBox/types'
|
|
74
74
|
|
|
75
75
|
/* ----------------------------------
|
|
76
76
|
* 2️⃣ 全局组件声明(给 <template> 用)
|
|
77
77
|
* ---------------------------------- */
|
|
78
78
|
import type { App } from 'vue'
|
|
79
|
-
import type { ModalInstance } from '
|
|
80
|
-
import type { MessageInstance } from '
|
|
81
|
-
import type { IndicatorInstance } from '
|
|
82
|
-
import type { PromptInstance } from '
|
|
79
|
+
import type { ModalInstance } from './components/modal/types'
|
|
80
|
+
import type { MessageInstance } from './components/message/types'
|
|
81
|
+
import type { IndicatorInstance } from './components/Indicator/types'
|
|
82
|
+
import type { PromptInstance } from './components/prompt/types'
|
|
83
83
|
|
|
84
84
|
declare module 'vue' {
|
|
85
85
|
interface ComponentCustomProperties {
|
|
@@ -90,31 +90,31 @@ declare module 'vue' {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
export interface GlobalComponents {
|
|
93
|
-
Badge: typeof import('
|
|
94
|
-
Popup: typeof import('
|
|
95
|
-
ActionSheet: typeof import('
|
|
96
|
-
Card: typeof import('
|
|
97
|
-
Rater: typeof import('
|
|
98
|
-
Cell: typeof import('
|
|
99
|
-
CellSwipe: typeof import('
|
|
100
|
-
DpHeader: typeof import('
|
|
101
|
-
Spinner: typeof import('
|
|
102
|
-
Swipe: typeof import('
|
|
103
|
-
DpButton: typeof import('
|
|
104
|
-
Picker: typeof import('
|
|
105
|
-
SwitchBar: typeof import('
|
|
106
|
-
Tab: typeof import('
|
|
107
|
-
TextBar: typeof import('
|
|
108
|
-
Number: typeof import('
|
|
109
|
-
ToTop: typeof import('
|
|
110
|
-
Upload: typeof import('
|
|
111
|
-
SlideBar: typeof import('
|
|
112
|
-
DpProgress: typeof import('
|
|
113
|
-
DpLoadMore: typeof import('
|
|
114
|
-
CheckBox: typeof import('
|
|
115
|
-
CheckBoxGroup: typeof import('
|
|
116
|
-
RadioBox: typeof import('
|
|
117
|
-
RadioBoxGroup: typeof import('
|
|
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']
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dpzvc3-ui",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
4
4
|
"description": "Vue3组件库",
|
|
5
5
|
"main": "dist/dpzvc3.js",
|
|
6
6
|
"module": "dist/dpzvc3.esm.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:style": "gulp --gulpfile build-style.js",
|
|
12
12
|
"build:dev": "webpack --config webpack.dist.dev.config.js",
|
|
13
13
|
"build:prod": "webpack --config webpack.dist.prod.config.js",
|
|
14
|
-
"build:types": "tsc --project tsconfig.build.json && cp src/
|
|
14
|
+
"build:types": "tsc --project tsconfig.build.json && cp src/index.d.ts dist/types/index.d.ts",
|
|
15
15
|
"build": "npm run build:style && npm run build:dev && npm run build:prod && npm run build:types",
|
|
16
16
|
"dist": "webpack --progress --config webpack.prod.config.js",
|
|
17
17
|
"prepare": "husky"
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// src/types/index.d.ts
|
|
2
|
+
|
|
3
|
+
/* ----------------------------------
|
|
4
|
+
* 1️⃣ 按需导出组件 & props(给 TS import 用)
|
|
5
|
+
* ---------------------------------- */
|
|
6
|
+
export { default as Badge } from './components/badge'
|
|
7
|
+
export type { BadgeProps } from './components/badge/types'
|
|
8
|
+
|
|
9
|
+
export { default as Popup } from './components/popup'
|
|
10
|
+
export type { PopupProps } from './components/popup/types'
|
|
11
|
+
|
|
12
|
+
export { default as ActionSheet } from './components/actionSheet'
|
|
13
|
+
export type { ActionSheetProps } from './components/actionSheet/types'
|
|
14
|
+
|
|
15
|
+
export { default as Card } from './components/card'
|
|
16
|
+
export type { CardProps } from './components/card/types'
|
|
17
|
+
|
|
18
|
+
export { default as Rater } from './components/rater'
|
|
19
|
+
export type { RaterProps } from './components/rater/types'
|
|
20
|
+
|
|
21
|
+
export { default as Cell } from './components/cell'
|
|
22
|
+
export type { CellProps } from './components/cell/types'
|
|
23
|
+
|
|
24
|
+
export { default as CellSwipe } from './components/cellSwipe'
|
|
25
|
+
export type { CellSwipeProps } from './components/cellSwipe/types'
|
|
26
|
+
|
|
27
|
+
export { default as DpHeader } from './components/header'
|
|
28
|
+
export type { HeaderProps } from './components/header/types'
|
|
29
|
+
|
|
30
|
+
export { default as Spinner } from './components/spinner'
|
|
31
|
+
export type { SpinnerProps } from './components/spinner/types'
|
|
32
|
+
|
|
33
|
+
export { default as Swipe } from './components/swipe'
|
|
34
|
+
export type { SwipeProps } from './components/swipe/types'
|
|
35
|
+
|
|
36
|
+
export { default as DpButton } from './components/button'
|
|
37
|
+
export type { ButtonProps } from './components/button/types'
|
|
38
|
+
|
|
39
|
+
export { default as Picker } from './components/picker'
|
|
40
|
+
export type { PickerProps } from './components/picker/types'
|
|
41
|
+
|
|
42
|
+
export { default as SwitchBar } from './components/switchbar'
|
|
43
|
+
export type { SwitchBarProps } from './components/switchbar/types'
|
|
44
|
+
|
|
45
|
+
export { default as Tab } from './components/tab'
|
|
46
|
+
export type { TabProps } from './components/tab/types'
|
|
47
|
+
|
|
48
|
+
export { default as TextBar } from './components/Text'
|
|
49
|
+
export type { TextBarProps } from './components/Text/types'
|
|
50
|
+
|
|
51
|
+
export { default as Number } from './components/number'
|
|
52
|
+
export type { NumberProps } from './components/number/types'
|
|
53
|
+
|
|
54
|
+
export { default as ToTop } from './components/toTop'
|
|
55
|
+
export type { ToTopProps } from './components/toTop/types'
|
|
56
|
+
|
|
57
|
+
export { default as Upload } from './components/upload'
|
|
58
|
+
export type { UploadProps } from './components/upload/types'
|
|
59
|
+
|
|
60
|
+
export { default as SlideBar } from './components/slideBar'
|
|
61
|
+
export type { SlideBarProps } from './components/slideBar/types'
|
|
62
|
+
|
|
63
|
+
export { default as DpProgress } from './components/progress'
|
|
64
|
+
export type { ProgressProps } from './components/progress/types'
|
|
65
|
+
|
|
66
|
+
export { default as DpLoadMore } from './components/loadMore'
|
|
67
|
+
export type { LoadmoreProps } from './components/loadMore/types'
|
|
68
|
+
|
|
69
|
+
export { default as CheckBox, default as CheckBoxGroup } from './components/checkBox'
|
|
70
|
+
export type { CheckBoxProps, CheckBoxGroupProps } from './components/checkBox/types'
|
|
71
|
+
|
|
72
|
+
export { default as RadioBox, default as RadioBoxGroup } from './components/radioBox'
|
|
73
|
+
export type { RadioBoxProps, RadioGroupProps } from './components/radioBox/types'
|
|
74
|
+
|
|
75
|
+
/* ----------------------------------
|
|
76
|
+
* 2️⃣ 全局组件声明(给 <template> 用)
|
|
77
|
+
* ---------------------------------- */
|
|
78
|
+
import type { App } from 'vue'
|
|
79
|
+
import type { ModalInstance } from './components/modal/types'
|
|
80
|
+
import type { MessageInstance } from './components/message/types'
|
|
81
|
+
import type { IndicatorInstance } from './components/Indicator/types'
|
|
82
|
+
import type { PromptInstance } from './components/prompt/types'
|
|
83
|
+
|
|
84
|
+
declare module 'vue' {
|
|
85
|
+
interface ComponentCustomProperties {
|
|
86
|
+
$Modal: ModalInstance
|
|
87
|
+
$Message: MessageInstance
|
|
88
|
+
$Indicator: IndicatorInstance
|
|
89
|
+
$Prompt: PromptInstance
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface GlobalComponents {
|
|
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']
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* ----------------------------------
|
|
122
|
+
* 3️⃣ 默认导出整个组件库为 Vue 插件
|
|
123
|
+
* ---------------------------------- */
|
|
124
|
+
import type { Plugin } from 'vue'
|
|
125
|
+
export const Dpzvc3UI: Plugin
|
|
126
|
+
export default Dpzvc3UI
|
|
127
|
+
|
|
128
|
+
/* ----------------------------------
|
|
129
|
+
* 4️⃣ 保证这是 module
|
|
130
|
+
* ---------------------------------- */
|
|
131
|
+
export {}
|
package/src/types/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export type { BadgeProps } from '../components/badge/types'
|
|
|
8
8
|
|
|
9
9
|
export { default as Popup } from '../components/popup'
|
|
10
10
|
export type { PopupProps } from '../components/popup/types'
|
|
11
|
-
|
|
12
11
|
export { default as ActionSheet } from '../components/actionSheet'
|
|
13
12
|
export type { ActionSheetProps } from '../components/actionSheet/types'
|
|
14
13
|
|
|
@@ -23,7 +22,6 @@ export type { CellProps } from '../components/cell/types'
|
|
|
23
22
|
|
|
24
23
|
export { default as CellSwipe } from '../components/cellSwipe'
|
|
25
24
|
export type { CellSwipeProps } from '../components/cellSwipe/types'
|
|
26
|
-
|
|
27
25
|
export { default as DpHeader } from '../components/header'
|
|
28
26
|
export type { HeaderProps } from '../components/header/types'
|
|
29
27
|
|
|
@@ -38,7 +36,6 @@ export type { ButtonProps } from '../components/button/types'
|
|
|
38
36
|
|
|
39
37
|
export { default as Picker } from '../components/picker'
|
|
40
38
|
export type { PickerProps } from '../components/picker/types'
|
|
41
|
-
|
|
42
39
|
export { default as SwitchBar } from '../components/switchbar'
|
|
43
40
|
export type { SwitchBarProps } from '../components/switchbar/types'
|
|
44
41
|
|
|
@@ -53,7 +50,6 @@ export type { NumberProps } from '../components/number/types'
|
|
|
53
50
|
|
|
54
51
|
export { default as ToTop } from '../components/toTop'
|
|
55
52
|
export type { ToTopProps } from '../components/toTop/types'
|
|
56
|
-
|
|
57
53
|
export { default as Upload } from '../components/upload'
|
|
58
54
|
export type { UploadProps } from '../components/upload/types'
|
|
59
55
|
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
<script lang="ts">
|
|
15
15
|
import { ref, defineComponent } from 'vue'
|
|
16
16
|
// import VButton from '@/components/button'
|
|
17
|
-
|
|
17
|
+
import ActionSheet from '@/components/actionSheet'
|
|
18
18
|
|
|
19
19
|
export default defineComponent({
|
|
20
20
|
name: 'ViewActionSheet',
|
|
21
|
-
|
|
21
|
+
components: { ActionSheet },
|
|
22
22
|
setup () {
|
|
23
23
|
// 响应式状态
|
|
24
24
|
const visible = ref(false)
|
package/tsconfig.build.json
CHANGED
|
@@ -18,8 +18,9 @@
|
|
|
18
18
|
// "src/components/badge/*.tsx",
|
|
19
19
|
// "src/components/badge/*.ts",
|
|
20
20
|
"src/shims-vue.d.ts",
|
|
21
|
-
"src/types/**/*.d.ts",
|
|
22
|
-
|
|
21
|
+
// "src/types/**/*.d.ts",
|
|
22
|
+
"src/index.d.ts",
|
|
23
|
+
"src/types/js-shims.d.ts",
|
|
23
24
|
// "src/types/index.d.ts" // 存放 BadgeProps 等类型
|
|
24
25
|
],
|
|
25
26
|
"exclude": [
|