hy-app 0.2.11 → 0.2.12
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/components/hy-action-sheet/hy-action-sheet.vue +9 -3
- package/components/hy-action-sheet/props.ts +2 -2
- package/components/hy-action-sheet/typing.d.ts +49 -16
- package/components/hy-button/hy-button.vue +37 -11
- package/components/hy-button/props.ts +20 -20
- package/components/hy-button/typing.d.ts +65 -32
- package/global.d.ts +101 -0
- package/package.json +22 -33
- package/shims-vue.d.ts +0 -0
- package/web-types.config.js +8 -0
- package/web-types.json +3117 -0
- package/components/dialog/TheDialog.vue +0 -128
- package/components/dialog/index.ts +0 -38
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
<docs>
|
|
2
|
+
从底部弹出的动作菜单面板。
|
|
3
|
+
</docs>
|
|
1
4
|
<template>
|
|
2
5
|
<view>
|
|
3
6
|
<HyPopup
|
|
@@ -102,10 +105,13 @@ export default {
|
|
|
102
105
|
</script>
|
|
103
106
|
|
|
104
107
|
<script lang="ts" setup>
|
|
108
|
+
/**
|
|
109
|
+
* 按钮组件,用于触发操作,如提交表单或打开链接
|
|
110
|
+
*/
|
|
105
111
|
import { watch, ref } from 'vue'
|
|
106
112
|
import { isArray } from '../../utils'
|
|
107
113
|
import defaultProps from './props'
|
|
108
|
-
import
|
|
114
|
+
import type { IActionSheetPanel, IActionSheetEmits, HyActionSheetProps } from './typing.d.ts'
|
|
109
115
|
|
|
110
116
|
// 组件
|
|
111
117
|
import HyIcon from '../hy-icon/hy-icon.vue'
|
|
@@ -113,8 +119,8 @@ import HyPopup from '../hy-popup/hy-popup.vue'
|
|
|
113
119
|
import HyLoading from '../hy-loading/hy-loading.vue'
|
|
114
120
|
import HyButton from '../hy-button/hy-button.vue'
|
|
115
121
|
|
|
116
|
-
const props = withDefaults(defineProps<
|
|
117
|
-
const emit = defineEmits(
|
|
122
|
+
const props = withDefaults(defineProps<HyActionSheetProps>(), defaultProps)
|
|
123
|
+
const emit = defineEmits<IActionSheetEmits>()
|
|
118
124
|
|
|
119
125
|
const formatPanels = ref<Array<IActionSheetPanel> | Array<IActionSheetPanel[]>>([])
|
|
120
126
|
const showPopup = ref<boolean>(false)
|
|
@@ -32,65 +32,98 @@ export interface IActionSheetPanel {
|
|
|
32
32
|
*/
|
|
33
33
|
name: string
|
|
34
34
|
}
|
|
35
|
-
export
|
|
35
|
+
export interface HyActionSheetProps {
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 操作菜单是否展示 ( 默认 false )
|
|
38
38
|
* */
|
|
39
39
|
modelValue?: boolean
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* 菜单选项
|
|
42
42
|
* */
|
|
43
43
|
actions?: IActionSheetAction[]
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* 自定义面板项,可以为字符串数组,也可以为对象数组,如果为二维数组,则为多行展示
|
|
46
46
|
* */
|
|
47
47
|
panels?: Array<IActionSheetPanel | IActionSheetPanel[]>
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 圆角值 (默认 20 )
|
|
50
50
|
* */
|
|
51
51
|
round?: string | number
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* 标题
|
|
54
54
|
* */
|
|
55
55
|
title?: string
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* 标题文字位置
|
|
58
58
|
* */
|
|
59
59
|
titleAlign?: HyApp.RowCenterType
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* 取消按钮的提示文字,不为空时显示按钮
|
|
62
62
|
* */
|
|
63
63
|
cancelText?: string
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* 点击某个菜单项时是否关闭弹窗 (默认 true )
|
|
66
66
|
* */
|
|
67
67
|
closeOnClickAction?: boolean
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* 点击遮罩是否允许关闭 (默认 true )
|
|
70
70
|
* */
|
|
71
71
|
closeOnClickOverlay?: boolean
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* 弹框动画持续时间 ( 默认 200 )
|
|
74
74
|
* */
|
|
75
75
|
duration?: number
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* 菜单层级 ( 默认 100 )
|
|
78
78
|
* */
|
|
79
79
|
zIndex?: number
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* 处理底部安全区 (默认 true )
|
|
82
82
|
* */
|
|
83
83
|
safeAreaInsetBottom?: boolean
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* 自定义外部样式
|
|
86
86
|
* */
|
|
87
87
|
customStyle?: CSSProperties
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* 自定义外部类名
|
|
90
90
|
* */
|
|
91
91
|
customClass?: string
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* 自定义标题类名
|
|
94
94
|
* */
|
|
95
95
|
customHeaderClass?: string
|
|
96
96
|
}
|
|
97
|
+
|
|
98
|
+
interface SelectEventParams {
|
|
99
|
+
/**
|
|
100
|
+
* 选中的内容
|
|
101
|
+
* */
|
|
102
|
+
item: any
|
|
103
|
+
/**
|
|
104
|
+
* 选中的横向索引
|
|
105
|
+
* */
|
|
106
|
+
rowIndex?: number
|
|
107
|
+
/**
|
|
108
|
+
* 选中的竖列索引
|
|
109
|
+
* */
|
|
110
|
+
colIndex?: number
|
|
111
|
+
/**
|
|
112
|
+
* 选中的索引
|
|
113
|
+
* */
|
|
114
|
+
index?: number
|
|
115
|
+
}
|
|
116
|
+
export interface IActionSheetEmits {
|
|
117
|
+
/** 选中了某个动作时触发 */
|
|
118
|
+
(e: 'select', params: SelectEventParams): void
|
|
119
|
+
/** 点击取消按钮时触发 */
|
|
120
|
+
(e: 'cancel'): void
|
|
121
|
+
/** 点击遮罩或关闭按钮时触发 */
|
|
122
|
+
(e: 'close'): void
|
|
123
|
+
/** 打开面板时触发 */
|
|
124
|
+
(e: 'open'): void
|
|
125
|
+
/**
|
|
126
|
+
* 手动更新弹窗显示隐藏
|
|
127
|
+
* */
|
|
128
|
+
(e: 'update:modelValue', visible: boolean): void
|
|
129
|
+
}
|
|
@@ -125,27 +125,53 @@ export default {
|
|
|
125
125
|
</script>
|
|
126
126
|
|
|
127
127
|
<script setup lang="ts">
|
|
128
|
+
/**
|
|
129
|
+
* 自定义按钮组件
|
|
130
|
+
* @description 用于表单提交、操作触发等场景,支持多种尺寸和状态
|
|
131
|
+
* @component hy-button
|
|
132
|
+
*/
|
|
133
|
+
|
|
128
134
|
import { computed, type CSSProperties, toRefs } from 'vue'
|
|
129
135
|
import { bem, throttle } from '../../utils'
|
|
130
136
|
import defaultProps from './props'
|
|
131
137
|
import { ColorConfig } from '../../config'
|
|
132
|
-
import type
|
|
138
|
+
import type { HyButtonProps, IButtonEmits } from './typing.d.ts'
|
|
133
139
|
|
|
134
140
|
// 组件
|
|
135
141
|
import HyIcon from '../hy-icon/hy-icon.vue'
|
|
136
142
|
import HyLoading from '../hy-loading/hy-loading.vue'
|
|
137
143
|
|
|
138
|
-
const props = withDefaults(defineProps<
|
|
144
|
+
const props = withDefaults(defineProps<HyButtonProps>(), {
|
|
145
|
+
hairline: false,
|
|
146
|
+
type: 'primary',
|
|
147
|
+
size: 'medium',
|
|
148
|
+
shape: 'square',
|
|
149
|
+
plain: false,
|
|
150
|
+
disabled: false,
|
|
151
|
+
loading: false,
|
|
152
|
+
loadingText: '',
|
|
153
|
+
loadingMode: 'spinner',
|
|
154
|
+
loadingSize: 13,
|
|
155
|
+
openType: '',
|
|
156
|
+
formType: '',
|
|
157
|
+
appParameter: '',
|
|
158
|
+
hoverStopPropagation: true,
|
|
159
|
+
lang: 'en',
|
|
160
|
+
sessionFrom: '',
|
|
161
|
+
sendMessageTitle: '',
|
|
162
|
+
sendMessagePath: '',
|
|
163
|
+
sendMessageImg: '',
|
|
164
|
+
showMessageCard: false,
|
|
165
|
+
dataName: '',
|
|
166
|
+
throttleTime: 0,
|
|
167
|
+
hoverStartTime: 0,
|
|
168
|
+
hoverStayTime: 200,
|
|
169
|
+
text: '',
|
|
170
|
+
color: '',
|
|
171
|
+
stop: true,
|
|
172
|
+
})
|
|
139
173
|
const { disabled, loading, throttleTime, stop, size, type, plain, color, icon } = toRefs(props)
|
|
140
|
-
const emit = defineEmits(
|
|
141
|
-
'click',
|
|
142
|
-
'getphonenumber',
|
|
143
|
-
'getuserinfo',
|
|
144
|
-
'error',
|
|
145
|
-
'opensetting',
|
|
146
|
-
'launchapp',
|
|
147
|
-
'agreeprivacyauthorization',
|
|
148
|
-
])
|
|
174
|
+
const emit = defineEmits<IButtonEmits>()
|
|
149
175
|
|
|
150
176
|
const textColor = (ColorConfig as any)[type.value]
|
|
151
177
|
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { HyButtonProps } from './typing'
|
|
2
2
|
|
|
3
|
-
const defaultProps:
|
|
3
|
+
const defaultProps: HyButtonProps = {
|
|
4
4
|
hairline: false,
|
|
5
|
-
type:
|
|
6
|
-
size:
|
|
7
|
-
shape:
|
|
5
|
+
type: 'primary',
|
|
6
|
+
size: 'medium',
|
|
7
|
+
shape: 'square',
|
|
8
8
|
plain: false,
|
|
9
9
|
disabled: false,
|
|
10
10
|
loading: false,
|
|
11
|
-
loadingText:
|
|
12
|
-
loadingMode:
|
|
11
|
+
loadingText: '',
|
|
12
|
+
loadingMode: 'spinner',
|
|
13
13
|
loadingSize: 13,
|
|
14
|
-
openType:
|
|
15
|
-
formType:
|
|
16
|
-
appParameter:
|
|
14
|
+
openType: '',
|
|
15
|
+
formType: '',
|
|
16
|
+
appParameter: '',
|
|
17
17
|
hoverStopPropagation: true,
|
|
18
|
-
lang:
|
|
19
|
-
sessionFrom:
|
|
20
|
-
sendMessageTitle:
|
|
21
|
-
sendMessagePath:
|
|
22
|
-
sendMessageImg:
|
|
18
|
+
lang: 'en',
|
|
19
|
+
sessionFrom: '',
|
|
20
|
+
sendMessageTitle: '',
|
|
21
|
+
sendMessagePath: '',
|
|
22
|
+
sendMessageImg: '',
|
|
23
23
|
showMessageCard: false,
|
|
24
|
-
dataName:
|
|
24
|
+
dataName: '',
|
|
25
25
|
throttleTime: 0,
|
|
26
26
|
hoverStartTime: 0,
|
|
27
27
|
hoverStayTime: 200,
|
|
28
|
-
text:
|
|
28
|
+
text: '',
|
|
29
29
|
icon: {},
|
|
30
|
-
color:
|
|
30
|
+
color: '',
|
|
31
31
|
stop: true,
|
|
32
|
-
}
|
|
32
|
+
}
|
|
33
33
|
|
|
34
|
-
export default defaultProps
|
|
34
|
+
export default defaultProps
|
|
@@ -1,126 +1,159 @@
|
|
|
1
1
|
import type { CSSProperties } from 'vue'
|
|
2
2
|
import type HyIconProps from '../hy-icon/typing'
|
|
3
3
|
|
|
4
|
-
export
|
|
4
|
+
export interface HyButtonProps {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* 是否显示按钮的细边框 (默认 true )
|
|
7
7
|
* */
|
|
8
8
|
hairline?: boolean
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* 按钮的预置样式
|
|
11
|
+
* @type ThemeType
|
|
12
|
+
* @default 'primary'
|
|
13
|
+
* @enum {string} // 声明为枚举类型
|
|
14
|
+
* @values info, primary, error, warning, success
|
|
11
15
|
* */
|
|
12
|
-
type?:
|
|
16
|
+
type?: 'info' | 'primary' | 'error' | 'warning' | 'success'
|
|
13
17
|
/**
|
|
14
|
-
*
|
|
18
|
+
* 按钮尺寸
|
|
19
|
+
* @type {'large' | 'medium' | 'small' | 'mini'}
|
|
20
|
+
* @default 'medium'
|
|
15
21
|
* */
|
|
16
22
|
size?: HyApp.SizeType | 'mini'
|
|
17
23
|
/**
|
|
18
|
-
*
|
|
24
|
+
* 按钮形状,circle(两边为半圆),square(带圆角) (默认 'square' )
|
|
19
25
|
* */
|
|
20
26
|
shape?: HyApp.ShapeType
|
|
21
27
|
/**
|
|
22
|
-
*
|
|
28
|
+
* 按钮是否镂空,背景色透明 (默认 false)
|
|
23
29
|
* */
|
|
24
30
|
plain?: boolean
|
|
25
31
|
/**
|
|
26
|
-
*
|
|
32
|
+
* 是否禁用 (默认 false)
|
|
27
33
|
* */
|
|
28
34
|
disabled?: boolean
|
|
29
35
|
/**
|
|
30
|
-
*
|
|
36
|
+
* 按钮名称前是否带 loading 图标(App-nvue 平台,在 ios 上为雪花,Android上为圆圈) (默认 false)
|
|
31
37
|
* */
|
|
32
38
|
loading?: boolean
|
|
33
39
|
/**
|
|
34
|
-
*
|
|
40
|
+
* 加载中提示文字
|
|
35
41
|
* */
|
|
36
42
|
loadingText?: string
|
|
37
43
|
/**
|
|
38
|
-
*
|
|
44
|
+
* 加载状态图标类型 (默认 'spinner' )
|
|
39
45
|
* */
|
|
40
46
|
loadingMode?: HyApp.LoadingMode
|
|
41
47
|
/**
|
|
42
|
-
*
|
|
48
|
+
* 加载图标大小 (默认 13 )
|
|
43
49
|
* */
|
|
44
50
|
loadingSize?: number
|
|
45
51
|
/**
|
|
46
|
-
*
|
|
52
|
+
* 开放能力,具体请看uniapp稳定关于button组件部分说明
|
|
47
53
|
* */
|
|
48
54
|
openType?: string
|
|
49
55
|
/**
|
|
50
|
-
*
|
|
56
|
+
* 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件
|
|
51
57
|
* */
|
|
52
58
|
formType?: string
|
|
53
59
|
/**
|
|
54
|
-
*
|
|
60
|
+
* 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效 (注:只微信小程序、QQ小程序有效)
|
|
55
61
|
* */
|
|
56
62
|
appParameter?: string
|
|
57
63
|
/**
|
|
58
|
-
*
|
|
64
|
+
* 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效(默认 true )
|
|
59
65
|
* */
|
|
60
66
|
hoverStopPropagation?: boolean
|
|
61
67
|
/**
|
|
62
|
-
*
|
|
68
|
+
* 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文(默认 en )
|
|
63
69
|
* */
|
|
64
70
|
lang?: string
|
|
65
71
|
/**
|
|
66
|
-
*
|
|
72
|
+
* 会话来源,openType="contact"时有效
|
|
67
73
|
* */
|
|
68
74
|
sessionFrom?: string
|
|
69
75
|
/**
|
|
70
|
-
*
|
|
76
|
+
* 会话内消息卡片标题,openType="contact"时有效
|
|
71
77
|
* */
|
|
72
78
|
sendMessageTitle?: string
|
|
73
79
|
/**
|
|
74
|
-
*
|
|
80
|
+
* 会话内消息卡片点击跳转小程序路径,openType="contact"时有效
|
|
75
81
|
* */
|
|
76
82
|
sendMessagePath?: string
|
|
77
83
|
/**
|
|
78
|
-
*
|
|
84
|
+
* 会话内消息卡片图片,openType="contact"时有效
|
|
79
85
|
* */
|
|
80
86
|
sendMessageImg?: string
|
|
81
87
|
/**
|
|
82
|
-
*
|
|
88
|
+
* 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示,用户点击后可以快速发送小程序消息,openType="contact"时有效(默认false)
|
|
83
89
|
* */
|
|
84
90
|
showMessageCard?: boolean
|
|
85
91
|
/**
|
|
86
|
-
*
|
|
92
|
+
* 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取
|
|
87
93
|
* */
|
|
88
94
|
dataName?: string
|
|
89
95
|
/**
|
|
90
|
-
*
|
|
96
|
+
* 节流时间,一定时间内只能触发一次 (默认 0 )
|
|
91
97
|
* */
|
|
92
98
|
throttleTime?: number
|
|
93
99
|
/**
|
|
94
|
-
*
|
|
100
|
+
* 按住后多久出现点击态,单位毫秒 (默认 0 )
|
|
95
101
|
* */
|
|
96
102
|
hoverStartTime?: number
|
|
97
103
|
/**
|
|
98
|
-
*
|
|
104
|
+
* 手指松开后点击态保留时间,单位毫秒 (默认 200 )
|
|
99
105
|
* */
|
|
100
106
|
hoverStayTime?: number
|
|
101
107
|
/**
|
|
102
|
-
*
|
|
108
|
+
* 按钮文字,之所以通过props传入,是因为slot传入的话(注:nvue中无法控制文字的样式)
|
|
103
109
|
* */
|
|
104
110
|
text?: string
|
|
105
111
|
/**
|
|
106
|
-
*
|
|
112
|
+
* 按钮图标api集合
|
|
107
113
|
* */
|
|
108
114
|
icon?: Partial<HyIconProps>
|
|
109
115
|
/**
|
|
110
|
-
*
|
|
116
|
+
* 按钮颜色,支持传入linear-gradient渐变色
|
|
111
117
|
* */
|
|
112
118
|
color?: string
|
|
113
119
|
/**
|
|
114
|
-
*
|
|
120
|
+
* 阻止事件冒泡
|
|
115
121
|
* */
|
|
116
122
|
stop?: boolean
|
|
117
123
|
/**
|
|
118
|
-
*
|
|
124
|
+
* 定义需要用到的外部样式
|
|
119
125
|
* @note 类型问题
|
|
120
126
|
* */
|
|
121
127
|
customStyle?: CSSProperties
|
|
122
128
|
/**
|
|
123
|
-
*
|
|
129
|
+
* 自定义外部类名
|
|
124
130
|
* */
|
|
125
131
|
customClass?: string
|
|
126
132
|
}
|
|
133
|
+
|
|
134
|
+
export interface IButtonEmits {
|
|
135
|
+
/**
|
|
136
|
+
* 点击按钮事件
|
|
137
|
+
* */
|
|
138
|
+
(e: 'click', event: Event): void
|
|
139
|
+
/**
|
|
140
|
+
* 点击按钮事件
|
|
141
|
+
* */
|
|
142
|
+
(e: 'getphonenumber', event: Event): void
|
|
143
|
+
/**
|
|
144
|
+
* 点击按钮事件
|
|
145
|
+
* */
|
|
146
|
+
(e: 'getuserinfo', event: Event): void
|
|
147
|
+
/**
|
|
148
|
+
* 点击按钮事件
|
|
149
|
+
* */
|
|
150
|
+
(e: 'opensetting', event: Event): void
|
|
151
|
+
/**
|
|
152
|
+
* 点击按钮事件
|
|
153
|
+
* */
|
|
154
|
+
(e: 'launchapp', event: Event): void
|
|
155
|
+
/**
|
|
156
|
+
* 点击按钮事件
|
|
157
|
+
* */
|
|
158
|
+
(e: 'agreeprivacyauthorization', event: Event): void
|
|
159
|
+
}
|
package/global.d.ts
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
declare module 'vue' {
|
|
2
|
+
// Helper for Volar
|
|
3
|
+
export interface GlobalComponents {
|
|
4
|
+
HyActionSheet: (typeof import('./components/hy-action-sheet/hy-action-sheet.vue'))['default']
|
|
5
|
+
HyBadge: (typeof import('./components/hy-badge/hy-badge.vue'))['default']
|
|
6
|
+
HyButton: (typeof import('./components/hy-button/hy-button.vue'))['default']
|
|
7
|
+
HyCalendar: (typeof import('./components/hy-calendar/hy-calendar.vue'))['default']
|
|
8
|
+
HyCalendarView: (typeof import('./components/hy-calendar-view/hy-calendar-view.vue'))['default']
|
|
9
|
+
HyCard: (typeof import('./components/hy-card/hy-card.vue'))['default']
|
|
10
|
+
HyCell: (typeof import('./components/hy-cell/hy-cell.vue'))['default']
|
|
11
|
+
HyCellGroup: (typeof import('./components/hy-cell-group/hy-cell-group.vue'))['default']
|
|
12
|
+
HyCheckbox: (typeof import('./components/hy-checkbox/hy-checkbox.vue'))['default']
|
|
13
|
+
HyCheckboxGroup: (typeof import('./components/hy-checkbox-group/hy-checkbox-group.vue'))['default']
|
|
14
|
+
HyCol: (typeof import('./components/hy-col/hy-col.vue'))['default']
|
|
15
|
+
HyColPicker: (typeof import('./components/hy-col-picker/hy-col-picker.vue'))['default']
|
|
16
|
+
HyCollapse: (typeof import('./components/hy-collapse/hy-collapse.vue'))['default']
|
|
17
|
+
HyCollapseItem: (typeof import('./components/hy-collapse-item/hy-collapse-item.vue'))['default']
|
|
18
|
+
HyConfigProvider: (typeof import('./components/hy-config-provider/hy-config-provider.vue'))['default']
|
|
19
|
+
HyCurtain: (typeof import('./components/hy-curtain/hy-curtain.vue'))['default']
|
|
20
|
+
HyDatetimePicker: (typeof import('./components/hy-datetime-picker/hy-datetime-picker.vue'))['default']
|
|
21
|
+
HyDatetimePickerView: (typeof import('./components/hy-datetime-picker-view/hy-datetime-picker-view.vue'))['default']
|
|
22
|
+
HyDivider: (typeof import('./components/hy-divider/hy-divider.vue'))['default']
|
|
23
|
+
HyDropMenu: (typeof import('./components/hy-drop-menu/hy-drop-menu.vue'))['default']
|
|
24
|
+
HyDropMenuItem: (typeof import('./components/hy-drop-menu-item/hy-drop-menu-item.vue'))['default']
|
|
25
|
+
HyGrid: (typeof import('./components/hy-grid/hy-grid.vue'))['default']
|
|
26
|
+
HyGridItem: (typeof import('./components/hy-grid-item/hy-grid-item.vue'))['default']
|
|
27
|
+
HyIcon: (typeof import('./components/hy-icon/hy-icon.vue'))['default']
|
|
28
|
+
HyImg: (typeof import('./components/hy-img/hy-img.vue'))['default']
|
|
29
|
+
HyImgCropper: (typeof import('./components/hy-img-cropper/hy-img-cropper.vue'))['default']
|
|
30
|
+
HyInput: (typeof import('./components/hy-input/hy-input.vue'))['default']
|
|
31
|
+
HyInputNumber: (typeof import('./components/hy-input-number/hy-input-number.vue'))['default']
|
|
32
|
+
HyLoading: (typeof import('./components/hy-loading/hy-loading.vue'))['default']
|
|
33
|
+
HyLoadmore: (typeof import('./components/hy-loadmore/hy-loadmore.vue'))['default']
|
|
34
|
+
HyMessageBox: (typeof import('./components/hy-message-box/hy-message-box.vue'))['default']
|
|
35
|
+
HyOverlay: (typeof import('./components/hy-overlay/hy-overlay.vue'))['default']
|
|
36
|
+
HyNoticeBar: (typeof import('./components/hy-notice-bar/hy-notice-bar.vue'))['default']
|
|
37
|
+
HyPagination: (typeof import('./components/hy-pagination/hy-pagination.vue'))['default']
|
|
38
|
+
HyPicker: (typeof import('./components/hy-picker/hy-picker.vue'))['default']
|
|
39
|
+
HyPickerView: (typeof import('./components/hy-picker-view/hy-picker-view.vue'))['default']
|
|
40
|
+
HyPopover: (typeof import('./components/hy-popover/hy-popover.vue'))['default']
|
|
41
|
+
HyPopup: (typeof import('./components/hy-popup/hy-popup.vue'))['default']
|
|
42
|
+
HyProgress: (typeof import('./components/hy-progress/hy-progress.vue'))['default']
|
|
43
|
+
HyRadio: (typeof import('./components/hy-radio/hy-radio.vue'))['default']
|
|
44
|
+
HyRadioGroup: (typeof import('./components/hy-radio-group/hy-radio-group.vue'))['default']
|
|
45
|
+
HyRate: (typeof import('./components/hy-rate/hy-rate.vue'))['default']
|
|
46
|
+
HyResize: (typeof import('./components/hy-resize/hy-resize.vue'))['default']
|
|
47
|
+
HyRow: (typeof import('./components/hy-row/hy-row.vue'))['default']
|
|
48
|
+
HySearch: (typeof import('./components/hy-search/hy-search.vue'))['default']
|
|
49
|
+
HySelectPicker: (typeof import('./components/hy-select-picker/hy-select-picker.vue'))['default']
|
|
50
|
+
HySlider: (typeof import('./components/hy-slider/hy-slider.vue'))['default']
|
|
51
|
+
HySortButton: (typeof import('./components/hy-sort-button/hy-sort-button.vue'))['default']
|
|
52
|
+
HyStatusTip: (typeof import('./components/hy-status-tip/hy-status-tip.vue'))['default']
|
|
53
|
+
HyStep: (typeof import('./components/hy-step/hy-step.vue'))['default']
|
|
54
|
+
HySteps: (typeof import('./components/hy-steps/hy-steps.vue'))['default']
|
|
55
|
+
HySticky: (typeof import('./components/hy-sticky/hy-sticky.vue'))['default']
|
|
56
|
+
HyStickyBox: (typeof import('./components/hy-sticky-box/hy-sticky-box.vue'))['default']
|
|
57
|
+
HySwipeAction: (typeof import('./components/hy-swipe-action/hy-swipe-action.vue'))['default']
|
|
58
|
+
HySwitch: (typeof import('./components/hy-switch/hy-switch.vue'))['default']
|
|
59
|
+
HyTab: (typeof import('./components/hy-tab/hy-tab.vue'))['default']
|
|
60
|
+
HyTabs: (typeof import('./components/hy-tabs/hy-tabs.vue'))['default']
|
|
61
|
+
HyTag: (typeof import('./components/hy-tag/hy-tag.vue'))['default']
|
|
62
|
+
HyToast: (typeof import('./components/hy-toast/hy-toast.vue'))['default']
|
|
63
|
+
HyTooltip: (typeof import('./components/hy-tooltip/hy-tooltip.vue'))['default']
|
|
64
|
+
HyTransition: (typeof import('./components/hy-transition/hy-transition.vue'))['default']
|
|
65
|
+
HyUpload: (typeof import('./components/hy-upload/hy-upload.vue'))['default']
|
|
66
|
+
HyNotify: (typeof import('./components/hy-notify/hy-notify.vue'))['default']
|
|
67
|
+
HyWatermark: (typeof import('./components/hy-watermark/hy-watermark.vue'))['default']
|
|
68
|
+
HyCircle: (typeof import('./components/hy-circle/hy-circle.vue'))['default']
|
|
69
|
+
HySwiper: (typeof import('./components/hy-swiper/hy-swiper.vue'))['default']
|
|
70
|
+
HySwiperNav: (typeof import('./components/hy-swiper-nav/hy-swiper-nav.vue'))['default']
|
|
71
|
+
HySegmented: (typeof import('./components/hy-segmented/hy-segmented.vue'))['default']
|
|
72
|
+
HyTabbar: (typeof import('./components/hy-tabbar/hy-tabbar.vue'))['default']
|
|
73
|
+
HyTabbarItem: (typeof import('./components/hy-tabbar-item/hy-tabbar-item.vue'))['default']
|
|
74
|
+
HyNavbar: (typeof import('./components/hy-navbar/hy-navbar.vue'))['default']
|
|
75
|
+
HyNavbarCapsule: (typeof import('./components/hy-navbar-capsule/hy-navbar-capsule.vue'))['default']
|
|
76
|
+
HyTable: (typeof import('./components/hy-table/hy-table.vue'))['default']
|
|
77
|
+
HyTableCol: (typeof import('./components/hy-table-col/hy-table-col.vue'))['default']
|
|
78
|
+
HySidebar: (typeof import('./components/hy-sidebar/hy-sidebar.vue'))['default']
|
|
79
|
+
HySidebarItem: (typeof import('./components/hy-sidebar-item/hy-sidebar-item.vue'))['default']
|
|
80
|
+
HyFab: (typeof import('./components/hy-fab/hy-fab.vue'))['default']
|
|
81
|
+
HyCountDown: (typeof import('./components/hy-count-down/hy-count-down.vue'))['default']
|
|
82
|
+
HyNumberKeyboard: (typeof import('./components/hy-number-keyboard/hy-number-keyboard.vue'))['default']
|
|
83
|
+
HyKeyboard: (typeof import('./components/hy-keyboard/hy-keyboard.vue'))['default']
|
|
84
|
+
HyGap: (typeof import('./components/hy-gap/hy-gap.vue'))['default']
|
|
85
|
+
HyPasswordInput: (typeof import('./components/hy-password-input/hy-password-input.vue'))['default']
|
|
86
|
+
HyForm: (typeof import('./components/hy-form/hy-form.vue'))['default']
|
|
87
|
+
HyTextarea: (typeof import('./components/hy-textarea/hy-textarea.vue'))['default']
|
|
88
|
+
HyVideoPreview: (typeof import('./components/hy-video-preview/hy-video-preview.vue'))['default']
|
|
89
|
+
HyBacktop: (typeof import('./components/hy-backtop/hy-backtop.vue'))['default']
|
|
90
|
+
HySkeleton: (typeof import('./components/hy-skeleton/hy-skeleton.vue'))['default']
|
|
91
|
+
HyIndexBar: (typeof import('./components/hy-index-bar/hy-index-bar.vue'))['default']
|
|
92
|
+
HyIndexAnchor: (typeof import('./components/hy-index-anchor/hy-index-anchor.vue'))['default']
|
|
93
|
+
HyText: (typeof import('./components/hy-text/hy-text.vue'))['default']
|
|
94
|
+
HyCountTo: (typeof import('./components/hy-count-to/hy-count-to.vue'))['default']
|
|
95
|
+
HyFloatingPanel: (typeof import('./components/hy-floating-panel/hy-floating-panel.vue'))['default']
|
|
96
|
+
HySignature: (typeof import('./components/hy-signature/hy-signature.vue'))['default']
|
|
97
|
+
HyRootPortal: (typeof import('./components/hy-root-portal/hy-root-portal.vue'))['default']
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export {}
|
package/package.json
CHANGED
|
@@ -1,33 +1,22 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "hy-app",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "./index.ts",
|
|
6
|
-
"private": false,
|
|
7
|
-
"scripts": {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"README.md"
|
|
24
|
-
],
|
|
25
|
-
"keywords": [
|
|
26
|
-
"华玥组件库",
|
|
27
|
-
"ui组件库",
|
|
28
|
-
"暗黑模式"
|
|
29
|
-
],
|
|
30
|
-
"web-types": "web-types.json",
|
|
31
|
-
"author": "gaoxianhua",
|
|
32
|
-
"license": "MIT"
|
|
33
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "hy-app",
|
|
3
|
+
"version": "0.2.12",
|
|
4
|
+
"description": "测试组件提示",
|
|
5
|
+
"main": "./index.ts",
|
|
6
|
+
"private": false,
|
|
7
|
+
"scripts": {
|
|
8
|
+
"web-types": "vue-docgen-web-types"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"华玥组件库",
|
|
12
|
+
"ui组件库",
|
|
13
|
+
"暗黑模式"
|
|
14
|
+
],
|
|
15
|
+
"web-types": "web-types.json",
|
|
16
|
+
"author": "gaoxianhua",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"vue-docgen-api": "^4.79.2",
|
|
20
|
+
"vue-docgen-web-types": "^0.1.8"
|
|
21
|
+
}
|
|
22
|
+
}
|
package/shims-vue.d.ts
ADDED
|
File without changes
|