hy-app 0.5.3 → 0.5.5
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/typing.d.ts +1 -63
- package/components/hy-address-picker/hy-address-picker.vue +7 -6
- package/components/hy-address-picker/typing.d.ts +0 -84
- package/components/hy-avatar/hy-avatar.vue +4 -3
- package/components/hy-avatar/typing.d.ts +0 -66
- package/components/hy-back-top/typing.d.ts +0 -47
- package/components/hy-badge/hy-badge.vue +3 -3
- package/components/hy-badge/index.scss +0 -1
- package/components/hy-badge/props.ts +6 -1
- package/components/hy-badge/typing.d.ts +0 -62
- package/components/hy-button/typing.d.ts +28 -162
- package/components/hy-calendar/hy-calendar.vue +2 -2
- package/components/hy-calendar/typing.d.ts +0 -128
- package/components/hy-card/hy-card.vue +12 -12
- package/components/hy-card/index.scss +17 -5
- package/components/hy-card/props.ts +1 -2
- package/components/hy-card/typing.d.ts +1 -114
- package/components/hy-cell/props.ts +1 -1
- package/components/hy-cell/typing.d.ts +0 -55
- package/components/hy-check-button/typing.d.ts +0 -43
- package/components/hy-checkbox/typing.d.ts +1 -73
- package/components/hy-checkbox-group/typing.d.ts +0 -65
- package/components/hy-code-input/typing.d.ts +0 -70
- package/components/hy-count-down/typing.d.ts +1 -20
- package/components/hy-count-to/typing.d.ts +0 -47
- package/components/hy-coupon/index.scss +7 -2
- package/components/hy-coupon/props.ts +7 -4
- package/components/hy-coupon/typing.d.ts +1 -134
- package/components/hy-datetime-picker/props.ts +1 -3
- package/components/hy-datetime-picker/typing.d.ts +0 -119
- package/components/hy-dropdown-item/typing.d.ts +12 -31
- package/components/hy-empty/typing.d.ts +1 -59
- package/components/hy-float-button/typing.d.ts +24 -113
- package/components/hy-folding-panel/props.ts +1 -1
- package/components/hy-folding-panel/typing.d.ts +0 -38
- package/components/hy-folding-panel-item/hy-folding-panel-item.vue +2 -3
- package/components/hy-folding-panel-item/typing.d.ts +14 -0
- package/components/hy-form/typing.d.ts +0 -27
- package/components/hy-form-item/hy-form-item.vue +7 -5
- package/components/hy-form-item/typing.d.ts +0 -19
- package/components/hy-grid/typing.d.ts +0 -43
- package/components/hy-icon/hy-icon.vue +3 -8
- package/components/hy-icon/typing.d.ts +0 -86
- package/components/hy-image/typing.d.ts +0 -80
- package/components/hy-input/typing.d.ts +0 -149
- package/components/hy-list/props.ts +1 -1
- package/components/hy-list/typing.d.ts +0 -51
- package/components/hy-menu/typing.d.ts +0 -35
- package/components/hy-modal/typing.d.ts +9 -84
- package/components/hy-navbar/typing.d.ts +0 -81
- package/components/hy-notice-bar/typing.d.ts +2 -65
- package/components/hy-number-step/typing.d.ts +0 -110
- package/components/hy-overlay/typing.d.ts +2 -27
- package/components/hy-pagination/typing.d.ts +6 -49
- package/components/hy-picker/typing.d.ts +27 -124
- package/components/hy-popover/typing.d.ts +25 -66
- package/components/hy-popup/hy-popup.vue +0 -1
- package/components/hy-popup/typing.d.ts +8 -77
- package/components/hy-price/typing.d.ts +0 -41
- package/components/hy-qrcode/hy-qrcode.vue +67 -2
- package/components/hy-qrcode/index.scss +3 -4
- package/components/hy-qrcode/typing.d.ts +0 -66
- package/components/hy-radio/typing.d.ts +1 -86
- package/components/hy-rate/typing.d.ts +0 -62
- package/components/hy-read-more/typing.d.ts +4 -49
- package/components/hy-scroll-list/typing.d.ts +4 -33
- package/components/hy-search/typing.d.ts +19 -120
- package/components/hy-signature/hy-signature.vue +25 -22
- package/components/hy-signature/index.scss +0 -4
- package/components/hy-signature/typing.d.ts +0 -101
- package/components/hy-slider/typing.d.ts +8 -77
- package/components/hy-steps/typing.d.ts +16 -60
- package/components/hy-submit-bar/typing.d.ts +0 -72
- package/components/hy-subsection/typing.d.ts +0 -49
- package/components/hy-swipe-action/index.ts +13 -22
- package/components/hy-swipe-action/typing.d.ts +1 -38
- package/components/hy-swiper/typing.d.ts +0 -101
- package/components/hy-switch/typing.d.ts +0 -62
- package/components/hy-tabbar/hy-tabbar.vue +137 -0
- package/components/{hy-tabBar → hy-tabbar}/index.scss +31 -31
- package/components/hy-tabbar/props.ts +59 -0
- package/components/hy-tabbar/typing.d.ts +21 -0
- package/components/hy-tabbar-group/hy-tabbar-group.vue +87 -0
- package/components/hy-tabbar-group/index.scss +57 -0
- package/components/hy-tabbar-group/props.ts +78 -0
- package/components/hy-tabbar-group/typing.ts +16 -0
- package/components/hy-tabbar-item/hy-tabbar-item.vue +103 -0
- package/components/hy-tabbar-item/index.scss +43 -0
- package/components/hy-tabbar-item/props.ts +24 -0
- package/components/hy-tabbar-item/typing.ts +10 -0
- package/components/hy-tabs/typing.d.ts +25 -92
- package/components/hy-tag/props.ts +8 -2
- package/components/hy-tag/typing.d.ts +9 -78
- package/components/hy-text/props.ts +8 -2
- package/components/hy-text/typing.d.ts +3 -100
- package/components/hy-textarea/props.ts +4 -1
- package/components/hy-textarea/typing.d.ts +0 -27
- package/components/hy-tooltip/props.ts +1 -4
- package/components/hy-tooltip/typing.d.ts +2 -55
- package/components/hy-transition/typing.d.ts +14 -43
- package/components/hy-upload/props.ts +1 -1
- package/components/hy-upload/typing.d.ts +56 -164
- package/components/hy-warn/typing.d.ts +4 -45
- package/components/index.ts +177 -177
- package/global.d.ts +87 -85
- package/package.json +2 -2
- package/web-types.json +1 -1
- package/components/hy-config-provider/typing.d.ts +0 -24
- package/components/hy-divider/typing.d.ts +0 -64
- package/components/hy-dropdown/typing.d.ts +0 -48
- package/components/hy-form-group/typing.d.ts +0 -0
- package/components/hy-line/typing.d.ts +0 -32
- package/components/hy-line-progress/typing.d.ts +0 -32
- package/components/hy-loading/typing.d.ts +0 -52
- package/components/hy-notify/typing.d.ts +0 -48
- package/components/hy-status-bar/typing.d.ts +0 -12
- package/components/hy-tabBar/hy-tabBar.vue +0 -109
- package/components/hy-tabBar/props.ts +0 -13
- package/components/hy-tabBar/typing.d.ts +0 -54
- package/components/hy-waterfall/typing.d.ts +0 -14
- package/components/hy-watermark/typing.d.ts +0 -76
|
@@ -1,173 +1,65 @@
|
|
|
1
|
-
import type { CSSProperties } from "vue";
|
|
2
|
-
|
|
3
1
|
export interface FileVo {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
2
|
+
/**
|
|
3
|
+
* 上传文件本地地址链接
|
|
4
|
+
* */
|
|
5
|
+
url?: string
|
|
6
|
+
/**
|
|
7
|
+
* 上传文件类型
|
|
8
|
+
* */
|
|
9
|
+
type?: 'image' | 'video' | 'file'
|
|
10
|
+
/**
|
|
11
|
+
* 上传文件本地地址链接
|
|
12
|
+
* */
|
|
13
|
+
thumb?: string
|
|
14
|
+
/**
|
|
15
|
+
* 文件大小
|
|
16
|
+
* */
|
|
17
|
+
size?: number
|
|
18
|
+
/**
|
|
19
|
+
* 是否视频
|
|
20
|
+
* */
|
|
21
|
+
isVideo?: boolean
|
|
22
|
+
/**
|
|
23
|
+
* 是否图片
|
|
24
|
+
* */
|
|
25
|
+
isImage?: boolean
|
|
26
|
+
/**
|
|
27
|
+
* 是否显示删除按钮
|
|
28
|
+
* */
|
|
29
|
+
deletable?: boolean
|
|
30
|
+
/**
|
|
31
|
+
* 上传时候状态
|
|
32
|
+
* */
|
|
33
|
+
status?: 'loading' | 'failed' | 'success'
|
|
34
|
+
/**
|
|
35
|
+
* 提示信息
|
|
36
|
+
* */
|
|
37
|
+
message?: string
|
|
38
|
+
/**
|
|
39
|
+
* 进度条
|
|
40
|
+
* */
|
|
41
|
+
schedule?: string | number
|
|
44
42
|
}
|
|
45
43
|
|
|
46
|
-
export type ReadFunctionVo = (
|
|
47
|
-
file: FileVo,
|
|
48
|
-
detail: { name: string; index: number },
|
|
49
|
-
) => void;
|
|
50
|
-
|
|
51
|
-
export default interface HyUploadProps {
|
|
52
|
-
/**
|
|
53
|
-
* 接受的文件类型, 可选值为all media image file video (默认 'image' )
|
|
54
|
-
* */
|
|
55
|
-
accept?: HyApp.FileType;
|
|
56
|
-
/**
|
|
57
|
-
* 根据文件拓展名过滤,每一项都不能是空字符串。默认不过滤。
|
|
58
|
-
* */
|
|
59
|
-
extension?: string[];
|
|
60
|
-
/**
|
|
61
|
-
* 图片或视频拾取模式,当accept为image类型时设置capture可选额外camera可以直接调起摄像头(默认 ['album', 'camera'] )
|
|
62
|
-
* */
|
|
63
|
-
capture?: ("album" | "camera")[];
|
|
64
|
-
/**
|
|
65
|
-
* 当accept为video时生效,是否压缩视频,默认为true(默认 true )
|
|
66
|
-
* */
|
|
67
|
-
compressed?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* 当accept为video时生效,可选值为back或front(默认 'back' )
|
|
70
|
-
* */
|
|
71
|
-
camera?: "back" | "front";
|
|
72
|
-
/**
|
|
73
|
-
* 当accept为video时生效,拍摄视频最长拍摄时间,单位秒(默认 60 )
|
|
74
|
-
* */
|
|
75
|
-
maxDuration?: number;
|
|
76
|
-
/**
|
|
77
|
-
* 上传区域的图标,只能内置图标(默认 'camera-fill' )
|
|
78
|
-
* */
|
|
79
|
-
uploadIcon?: string;
|
|
80
|
-
/**
|
|
81
|
-
* 上传区域的图标的字体颜色,只能内置图标(默认 #D3D4D6 )
|
|
82
|
-
* */
|
|
83
|
-
uploadIconColor?: string;
|
|
84
|
-
/**
|
|
85
|
-
* 是否开启文件读取前事件(默认 false )
|
|
86
|
-
* */
|
|
87
|
-
useBeforeRead?: boolean;
|
|
88
|
-
/**
|
|
89
|
-
* 是否显示组件自带的图片预览功能(默认 true )
|
|
90
|
-
* */
|
|
91
|
-
previewFullImage?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* 最大上传数量(默认 52 )
|
|
94
|
-
* */
|
|
95
|
-
maxCount?: number;
|
|
96
|
-
/**
|
|
97
|
-
* 是否启用(默认 false )
|
|
98
|
-
* */
|
|
99
|
-
disabled?: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* 预览上传的图片时的裁剪模式,和image组件mode属性一致(默认 'aspectFill' )
|
|
102
|
-
* */
|
|
103
|
-
imageMode?: "aspectFill" | "aspectFit" | "widthFix";
|
|
104
|
-
/**
|
|
105
|
-
* 标识符,可以在回调函数的第二项参数中获取
|
|
106
|
-
* */
|
|
107
|
-
name?: string;
|
|
108
|
-
/**
|
|
109
|
-
* 所选的图片的尺寸, 可选值为original compressed(默认 ['original', 'compressed'] )
|
|
110
|
-
* */
|
|
111
|
-
sizeType?: ("original" | "compressed")[];
|
|
112
|
-
/**
|
|
113
|
-
* 是否开启图片多选,部分安卓机型不支持 (默认 false )
|
|
114
|
-
* */
|
|
115
|
-
multiple?: boolean;
|
|
116
|
-
/**
|
|
117
|
-
* 是否展示删除按钮(默认 true )
|
|
118
|
-
* */
|
|
119
|
-
deletable?: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* 文件大小限制,单位为byte (默认 Number.MAX_VALUE )
|
|
122
|
-
* */
|
|
123
|
-
maxSize?: number;
|
|
124
|
-
/**
|
|
125
|
-
* 显示已上传的文件列表
|
|
126
|
-
* */
|
|
127
|
-
fileList?: FileVo[];
|
|
128
|
-
/**
|
|
129
|
-
* 上传区域的提示文字
|
|
130
|
-
* */
|
|
131
|
-
uploadText?: string;
|
|
132
|
-
/**
|
|
133
|
-
* 内部预览图片区域和选择图片按钮的区域宽度(默认 80 )
|
|
134
|
-
* */
|
|
135
|
-
width?: string | number;
|
|
136
|
-
/**
|
|
137
|
-
* 内部预览图片区域和选择图片按钮的区域高度(默认 80 )
|
|
138
|
-
* */
|
|
139
|
-
height?: string | number;
|
|
140
|
-
/**
|
|
141
|
-
* 读取前的处理函数
|
|
142
|
-
* */
|
|
143
|
-
beforeRead?: (file: FileVo, detail: { name: string; index: number }) => void;
|
|
144
|
-
/**
|
|
145
|
-
* 读取后的处理函数
|
|
146
|
-
* */
|
|
147
|
-
afterRead?: (file: FileVo, detail: { name: string; index: number }) => void;
|
|
148
|
-
/**
|
|
149
|
-
* 定义需要用到的外部样式
|
|
150
|
-
* */
|
|
151
|
-
customStyle?: CSSProperties;
|
|
152
|
-
}
|
|
44
|
+
export type ReadFunctionVo = (file: FileVo, detail: { name: string; index: number }) => void
|
|
153
45
|
|
|
154
46
|
export interface UploadFileParams {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
47
|
+
file: FileVo | FileVo[]
|
|
48
|
+
name: string
|
|
49
|
+
index: number
|
|
158
50
|
}
|
|
159
51
|
|
|
160
52
|
export interface IUploadEmits {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
53
|
+
/** 点击预览大图触发 */
|
|
54
|
+
(e: 'clickPreview', params: UploadFileParams): void
|
|
55
|
+
/** 上传前触发 */
|
|
56
|
+
(e: 'beforeRead', params: UploadFileParams): void
|
|
57
|
+
/** 上传错误触发 */
|
|
58
|
+
(e: 'error', error: any): void
|
|
59
|
+
/** 删除触发 */
|
|
60
|
+
(e: 'delete', params: UploadFileParams): void
|
|
61
|
+
/** 上传完成触发 */
|
|
62
|
+
(e: 'afterRead', params: UploadFileParams): void
|
|
63
|
+
/** 超出最大值 */
|
|
64
|
+
(e: 'oversize', params: UploadFileParams): void
|
|
173
65
|
}
|
|
@@ -1,47 +1,6 @@
|
|
|
1
|
-
import type { CSSProperties } from "vue";
|
|
2
|
-
|
|
3
|
-
export default interface HyWarnProps {
|
|
4
|
-
/**
|
|
5
|
-
* @description 显示的文字
|
|
6
|
-
* */
|
|
7
|
-
title: string;
|
|
8
|
-
/**
|
|
9
|
-
* @description 使用预设的颜色 (默认 'warning' )
|
|
10
|
-
* */
|
|
11
|
-
type?: HyApp.ThemeType;
|
|
12
|
-
/**
|
|
13
|
-
* @description 辅助性文字,颜色比title浅一点,字号也小一点,可选
|
|
14
|
-
* */
|
|
15
|
-
description?: string;
|
|
16
|
-
/**
|
|
17
|
-
* @description 关闭按钮(默认为叉号icon图标) (默认 false )
|
|
18
|
-
* */
|
|
19
|
-
closable?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* @description 是否显示左边的辅助图标 ( 默认 false )
|
|
22
|
-
* */
|
|
23
|
-
showIcon?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* @description 显示的暗色或者亮色 (默认 'light' )
|
|
26
|
-
* */
|
|
27
|
-
theme?: HyApp.ThemeVo;
|
|
28
|
-
/**
|
|
29
|
-
* @description 文字是否居中 (默认 false )
|
|
30
|
-
* */
|
|
31
|
-
center?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* @description 字体大小 (默认 14 )
|
|
34
|
-
* */
|
|
35
|
-
fontSize?: number;
|
|
36
|
-
/**
|
|
37
|
-
* @description 定义需要用到的外部样式
|
|
38
|
-
* */
|
|
39
|
-
customStyle?: CSSProperties;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
1
|
export interface IWarnEmits {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
2
|
+
/** 点击触发 */
|
|
3
|
+
(e: 'click'): void
|
|
4
|
+
/** 关闭触发 */
|
|
5
|
+
(e: 'close'): void
|
|
47
6
|
}
|
package/components/index.ts
CHANGED
|
@@ -1,183 +1,183 @@
|
|
|
1
|
-
import
|
|
1
|
+
import HyTabbar from '@/package/components/hy-tabbar/hy-tabbar.vue'
|
|
2
2
|
// 组件库
|
|
3
|
-
import HyAddressPicker from
|
|
4
|
-
import HyAvatar from
|
|
5
|
-
import HyBackTop from
|
|
6
|
-
import HyBadge from
|
|
7
|
-
import HyButton from
|
|
8
|
-
import HyCard from
|
|
9
|
-
import HyCell from
|
|
10
|
-
import HyCheckButton from
|
|
11
|
-
import HyCheckbox from
|
|
12
|
-
import HyCountDown from
|
|
13
|
-
import HyCountTo from
|
|
14
|
-
import HyDatetimePicker from
|
|
15
|
-
import HyDivider from
|
|
16
|
-
import HyDropdown from
|
|
17
|
-
import HyDropdownItem from
|
|
18
|
-
import YkEmpty from
|
|
19
|
-
import YkFloatButton from
|
|
20
|
-
import HyFoldingPanel from
|
|
21
|
-
import HyForm from
|
|
22
|
-
import HyFormSimple from
|
|
23
|
-
import HyFormItem from
|
|
24
|
-
import HyGrid from
|
|
25
|
-
import HyIcon from
|
|
26
|
-
import HyImage from
|
|
27
|
-
import HyInput from
|
|
28
|
-
import HyLine from
|
|
29
|
-
import HyLineProgress from
|
|
30
|
-
import HyList from
|
|
31
|
-
import HyLoading from
|
|
32
|
-
import YkLogin from
|
|
33
|
-
import HyModal from
|
|
34
|
-
import HyNavbar from
|
|
35
|
-
import HyNoticeBar from
|
|
36
|
-
import HyNumberStep from
|
|
37
|
-
import HyOverlay from
|
|
38
|
-
import YkPrice from
|
|
39
|
-
import HyPicker from
|
|
40
|
-
import HyPopup from
|
|
41
|
-
import HyQrcode from
|
|
42
|
-
import HyRadio from
|
|
43
|
-
import HyRate from
|
|
44
|
-
import HyReadMore from
|
|
3
|
+
import HyAddressPicker from './hy-address-picker/hy-address-picker.vue'
|
|
4
|
+
import HyAvatar from './hy-avatar/hy-avatar.vue'
|
|
5
|
+
import HyBackTop from './hy-back-top/hy-back-top.vue'
|
|
6
|
+
import HyBadge from './hy-badge/hy-badge.vue'
|
|
7
|
+
import HyButton from './hy-button/hy-button.vue'
|
|
8
|
+
import HyCard from './hy-card/hy-card.vue'
|
|
9
|
+
import HyCell from './hy-cell/hy-cell.vue'
|
|
10
|
+
import HyCheckButton from './hy-check-button/hy-check-button.vue'
|
|
11
|
+
import HyCheckbox from './hy-checkbox/hy-checkbox.vue'
|
|
12
|
+
import HyCountDown from './hy-count-down/hy-count-down.vue'
|
|
13
|
+
import HyCountTo from './hy-count-to/hy-count-to.vue'
|
|
14
|
+
import HyDatetimePicker from './hy-datetime-picker/hy-datetime-picker.vue'
|
|
15
|
+
import HyDivider from './hy-divider/hy-divider.vue'
|
|
16
|
+
import HyDropdown from './hy-dropdown/hy-dropdown.vue'
|
|
17
|
+
import HyDropdownItem from './hy-dropdown-item/hy-dropdown-item.vue'
|
|
18
|
+
import YkEmpty from './hy-empty/hy-empty.vue'
|
|
19
|
+
import YkFloatButton from './hy-float-button/hy-float-button.vue'
|
|
20
|
+
import HyFoldingPanel from '@/package/components/hy-folding-panel/hy-folding-panel.vue'
|
|
21
|
+
import HyForm from '@/package/components/hy-form-group/hy-form.vue'
|
|
22
|
+
import HyFormSimple from '@/package/components/hy-form/hy-form-simple.vue'
|
|
23
|
+
import HyFormItem from './hy-form-item/hy-form-item.vue'
|
|
24
|
+
import HyGrid from './hy-grid/hy-grid.vue'
|
|
25
|
+
import HyIcon from './hy-icon/hy-icon.vue'
|
|
26
|
+
import HyImage from './hy-image/hy-image.vue'
|
|
27
|
+
import HyInput from './hy-input/hy-input.vue'
|
|
28
|
+
import HyLine from './hy-line/hy-line.vue'
|
|
29
|
+
import HyLineProgress from './hy-line-progress/hy-line-progress.vue'
|
|
30
|
+
import HyList from './hy-list/hy-list.vue'
|
|
31
|
+
import HyLoading from './hy-loading/hy-loading.vue'
|
|
32
|
+
import YkLogin from './hy-login/hy-login.vue'
|
|
33
|
+
import HyModal from './hy-modal/hy-modal.vue'
|
|
34
|
+
import HyNavbar from './hy-navbar/hy-navbar.vue'
|
|
35
|
+
import HyNoticeBar from './hy-notice-bar/hy-notice-bar.vue'
|
|
36
|
+
import HyNumberStep from './hy-number-step/hy-number-step.vue'
|
|
37
|
+
import HyOverlay from './hy-overlay/hy-overlay.vue'
|
|
38
|
+
import YkPrice from './hy-price/hy-price.vue'
|
|
39
|
+
import HyPicker from './hy-picker/hy-picker.vue'
|
|
40
|
+
import HyPopup from './hy-popup/hy-popup.vue'
|
|
41
|
+
import HyQrcode from './hy-qrcode/hy-qrcode.vue'
|
|
42
|
+
import HyRadio from './hy-radio/hy-radio.vue'
|
|
43
|
+
import HyRate from './hy-rate/hy-rate.vue'
|
|
44
|
+
import HyReadMore from './hy-read-more/hy-read-more.vue'
|
|
45
45
|
// import HySafeBottom from "./hy-safe-bottom/hy-safe-bottom.vue";
|
|
46
|
-
import HyScrollList from
|
|
47
|
-
import HySearch from
|
|
48
|
-
import HySlider from
|
|
49
|
-
import HyStatusBar from
|
|
50
|
-
import HySteps from
|
|
51
|
-
import HySubsection from
|
|
52
|
-
import HySwiper from
|
|
53
|
-
import HySwitch from
|
|
54
|
-
import HyTabs from
|
|
55
|
-
import HyTag from
|
|
56
|
-
import HyTextarea from
|
|
57
|
-
import HyTooltip from
|
|
58
|
-
import HyTransition from
|
|
59
|
-
import HyUpload from
|
|
60
|
-
import HyWarn from
|
|
46
|
+
import HyScrollList from './hy-scroll-list/hy-scroll-list.vue'
|
|
47
|
+
import HySearch from './hy-search/hy-search.vue'
|
|
48
|
+
import HySlider from './hy-slider/hy-slider.vue'
|
|
49
|
+
import HyStatusBar from './hy-status-bar/hy-status-bar.vue'
|
|
50
|
+
import HySteps from './hy-steps/hy-steps.vue'
|
|
51
|
+
import HySubsection from './hy-subsection/hy-subsection.vue'
|
|
52
|
+
import HySwiper from './hy-swiper/hy-swiper.vue'
|
|
53
|
+
import HySwitch from './hy-switch/hy-switch.vue'
|
|
54
|
+
import HyTabs from './hy-tabs/hy-tabs.vue'
|
|
55
|
+
import HyTag from './hy-tag/hy-tag.vue'
|
|
56
|
+
import HyTextarea from './hy-textarea/hy-textarea.vue'
|
|
57
|
+
import HyTooltip from './hy-tooltip/hy-tooltip.vue'
|
|
58
|
+
import HyTransition from './hy-transition/hy-transition.vue'
|
|
59
|
+
import HyUpload from './hy-upload/hy-upload.vue'
|
|
60
|
+
import HyWarn from './hy-warn/hy-warn.vue'
|
|
61
61
|
|
|
62
62
|
const install = (Vue: any) => {
|
|
63
|
-
|
|
63
|
+
Vue.component('hy-tabbar', HyTabbar)
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
65
|
+
Vue.component('HyAddressPicker', HyAddressPicker)
|
|
66
|
+
Vue.component('HyAvatar', HyAvatar)
|
|
67
|
+
Vue.component('HyBackTop', HyBackTop)
|
|
68
|
+
Vue.component('HyBadge', HyBadge)
|
|
69
|
+
Vue.component('HyButton', HyButton)
|
|
70
|
+
Vue.component('HyCard', HyCard)
|
|
71
|
+
Vue.component('HyCell', HyCell)
|
|
72
|
+
Vue.component('HyCheckButton', HyCheckButton)
|
|
73
|
+
Vue.component('HyCheckbox', HyCheckbox)
|
|
74
|
+
Vue.component('HyCountDown', HyCountDown)
|
|
75
|
+
Vue.component('HyCountTo', HyCountTo)
|
|
76
|
+
Vue.component('HyDatetimePicker', HyDatetimePicker)
|
|
77
|
+
Vue.component('HyDivider', HyDivider)
|
|
78
|
+
Vue.component('HyDropdown', HyDropdown)
|
|
79
|
+
Vue.component('HyDropdownItem', HyDropdownItem)
|
|
80
|
+
Vue.component('YkEmpty', YkEmpty)
|
|
81
|
+
Vue.component('YkFloatButton', YkFloatButton)
|
|
82
|
+
Vue.component('HyFoldingPanel', HyFoldingPanel)
|
|
83
|
+
Vue.component('HyForm', HyForm)
|
|
84
|
+
Vue.component('HyFormSimple', HyFormSimple)
|
|
85
|
+
Vue.component('HyFormItem', HyFormItem)
|
|
86
|
+
Vue.component('HyGrid', HyGrid)
|
|
87
|
+
Vue.component('HyIcon', HyIcon)
|
|
88
|
+
Vue.component('HyImage', HyImage)
|
|
89
|
+
Vue.component('HyInput', HyInput)
|
|
90
|
+
Vue.component('HyLine', HyLine)
|
|
91
|
+
Vue.component('HyLineProgress', HyLineProgress)
|
|
92
|
+
Vue.component('HyList', HyList)
|
|
93
|
+
Vue.component('HyLoading', HyLoading)
|
|
94
|
+
// Vue.component("YkLogin", YkLogin);
|
|
95
|
+
Vue.component('HyModal', HyModal)
|
|
96
|
+
Vue.component('HyNavbar', HyNavbar)
|
|
97
|
+
Vue.component('HyNoticeBar', HyNoticeBar)
|
|
98
|
+
Vue.component('HyNumberStep', HyNumberStep)
|
|
99
|
+
Vue.component('HyOverlay', HyOverlay)
|
|
100
|
+
Vue.component('YkPrice', YkPrice)
|
|
101
|
+
Vue.component('HyPicker', HyPicker)
|
|
102
|
+
Vue.component('HyPopup', HyPopup)
|
|
103
|
+
Vue.component('HyQrcode', HyQrcode)
|
|
104
|
+
Vue.component('HyRadio', HyRadio)
|
|
105
|
+
Vue.component('HyRate', HyRate)
|
|
106
|
+
Vue.component('HyReadMore', HyReadMore)
|
|
107
|
+
Vue.component('HyScrollList', HyScrollList)
|
|
108
|
+
Vue.component('HySearch', HySearch)
|
|
109
|
+
Vue.component('HySlider', HySlider)
|
|
110
|
+
Vue.component('HyStatusBar', HyStatusBar)
|
|
111
|
+
Vue.component('HySteps', HySteps)
|
|
112
|
+
Vue.component('HySubsection', HySubsection)
|
|
113
|
+
Vue.component('HySwiper', HySwiper)
|
|
114
|
+
Vue.component('HySwitch', HySwitch)
|
|
115
|
+
Vue.component('HyTabs', HyTabs)
|
|
116
|
+
Vue.component('HyTag', HyTag)
|
|
117
|
+
Vue.component('HyTextarea', HyTextarea)
|
|
118
|
+
Vue.component('HyTooltip', HyTooltip)
|
|
119
|
+
Vue.component('HyTransition', HyTransition)
|
|
120
|
+
Vue.component('HyUpload', HyUpload)
|
|
121
|
+
Vue.component('HyWarn', HyWarn)
|
|
122
|
+
// Vue.config.globalProperties.$dialog = myDialog;
|
|
123
|
+
}
|
|
124
124
|
export {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
125
|
+
install,
|
|
126
|
+
HyAddressPicker,
|
|
127
|
+
HyAvatar,
|
|
128
|
+
HyBackTop,
|
|
129
|
+
HyBadge,
|
|
130
|
+
HyButton,
|
|
131
|
+
HyCard,
|
|
132
|
+
HyCell,
|
|
133
|
+
HyCheckButton,
|
|
134
|
+
HyCheckbox,
|
|
135
|
+
HyCountDown,
|
|
136
|
+
HyCountTo,
|
|
137
|
+
HyDatetimePicker,
|
|
138
|
+
HyDivider,
|
|
139
|
+
HyDropdown,
|
|
140
|
+
HyDropdownItem,
|
|
141
|
+
YkEmpty,
|
|
142
|
+
YkFloatButton,
|
|
143
|
+
HyFoldingPanel,
|
|
144
|
+
HyForm,
|
|
145
|
+
HyFormSimple,
|
|
146
|
+
HyFormItem,
|
|
147
|
+
HyGrid,
|
|
148
|
+
HyIcon,
|
|
149
|
+
HyImage,
|
|
150
|
+
HyInput,
|
|
151
|
+
HyLine,
|
|
152
|
+
HyLineProgress,
|
|
153
|
+
HyList,
|
|
154
|
+
HyLoading,
|
|
155
|
+
// YkLogin,
|
|
156
|
+
HyModal,
|
|
157
|
+
HyNavbar,
|
|
158
|
+
HyNoticeBar,
|
|
159
|
+
HyNumberStep,
|
|
160
|
+
HyOverlay,
|
|
161
|
+
YkPrice,
|
|
162
|
+
HyPicker,
|
|
163
|
+
HyPopup,
|
|
164
|
+
HyQrcode,
|
|
165
|
+
HyRadio,
|
|
166
|
+
HyRate,
|
|
167
|
+
HyReadMore,
|
|
168
|
+
HyScrollList,
|
|
169
|
+
HySearch,
|
|
170
|
+
HySlider,
|
|
171
|
+
HyStatusBar,
|
|
172
|
+
HySteps,
|
|
173
|
+
HySubsection,
|
|
174
|
+
HySwiper,
|
|
175
|
+
HySwitch,
|
|
176
|
+
HyTabs,
|
|
177
|
+
HyTag,
|
|
178
|
+
HyTextarea,
|
|
179
|
+
HyTooltip,
|
|
180
|
+
HyTransition,
|
|
181
|
+
HyUpload,
|
|
182
|
+
HyWarn
|
|
183
|
+
}
|