hy-app 0.2.12 → 0.2.14
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/compiler.ts +108 -0
- package/component-helper.ts +179 -0
- package/components/hy-button/HyButton.docgen.js +6 -0
- package/components/hy-button/hy-button.vue +152 -36
- package/components/hy-button/props.ts +157 -32
- package/components/hy-button/typing.d.ts +16 -10
- package/components/index.ts +114 -122
- package/components.json +3287 -0
- package/docgen.config.js +13 -0
- package/package.json +12 -3
- package/web-types.config.js +5 -6
- package/web-types.json +1 -3117
- package/components/hy-safe-bottom/hy-safe-bottom.vue +0 -60
- package/components/hy-safe-bottom/index.scss +0 -5
- package/components/message/TheMessage.vue +0 -169
- package/components/message/index.ts +0 -54
- package/components/u-form/form.js +0 -22
- package/components/u-form/hy-form.vue +0 -324
- package/components/u-form/props.js +0 -49
- package/components/u-form/schema.js +0 -1451
- package/components/u-form/u-form.vue +0 -267
- package/components/u-form/utils.js +0 -65
- package/components/u-form-item/formItem.js +0 -24
- package/components/u-form-item/hy-form-item.vue +0 -360
- package/components/u-form-item/props.js +0 -57
- package/components/u-form-item/u-form-item.vue +0 -294
- package/shims-vue.d.ts +0 -0
|
@@ -1,34 +1,159 @@
|
|
|
1
1
|
import type { HyButtonProps } from './typing'
|
|
2
|
+
import { HyApp } from 'hy-app/typing/modules/common'
|
|
3
|
+
import type { CSSProperties, PropType } from 'vue'
|
|
4
|
+
import HyIconProps from '@/package/components/hy-icon/typing'
|
|
2
5
|
|
|
3
|
-
const defaultProps
|
|
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
|
-
|
|
6
|
+
export const defaultProps = {
|
|
7
|
+
/** 是否显示按钮的细边框 */
|
|
8
|
+
hairline: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: false,
|
|
11
|
+
},
|
|
12
|
+
/** 按钮的预置样式 */
|
|
13
|
+
type: {
|
|
14
|
+
type: String as PropType<HyApp.ThemeType>,
|
|
15
|
+
default: 'primary',
|
|
16
|
+
validator: (v) => ['info', 'primary', 'error', 'warning', 'success'].includes(v),
|
|
17
|
+
},
|
|
18
|
+
/** 按钮尺寸 */
|
|
19
|
+
size: {
|
|
20
|
+
type: String as PropType<HyApp.SizeType | 'mini'>,
|
|
21
|
+
default: 'medium',
|
|
22
|
+
validator: (v) => ['large', 'medium', 'small', 'mini'].includes(v),
|
|
23
|
+
},
|
|
24
|
+
/** 按钮形状 */
|
|
25
|
+
shape: {
|
|
26
|
+
type: String as PropType<HyApp.ShapeType>,
|
|
27
|
+
default: 'square',
|
|
28
|
+
validator: (v) => ['circle', 'square'].includes(v),
|
|
29
|
+
},
|
|
30
|
+
/** 按钮是否镂空,背景色透明 */
|
|
31
|
+
plain: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: false,
|
|
34
|
+
},
|
|
35
|
+
/** 是否禁用 */
|
|
36
|
+
disabled: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: false,
|
|
39
|
+
},
|
|
40
|
+
/** 按钮名称前是否带 loading 图标 */
|
|
41
|
+
loading: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: false,
|
|
44
|
+
},
|
|
45
|
+
/** 加载中提示文字 */
|
|
46
|
+
loadingText: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: '',
|
|
49
|
+
},
|
|
50
|
+
/** 加载状态图标类型 */
|
|
51
|
+
loadingMode: {
|
|
52
|
+
type: String as PropType<HyApp.LoadingMode>,
|
|
53
|
+
default: 'spinner',
|
|
54
|
+
validator: (v) => ['spinner', 'circle', 'semicircle'].includes(v),
|
|
55
|
+
},
|
|
56
|
+
/** 加载图标大小 */
|
|
57
|
+
loadingSize: {
|
|
58
|
+
type: Number,
|
|
59
|
+
default: 13,
|
|
60
|
+
},
|
|
61
|
+
/** 开放能力,具体请看uniapp稳定关于button组件部分说明 */
|
|
62
|
+
openType: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: '',
|
|
65
|
+
},
|
|
66
|
+
/** 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件 */
|
|
67
|
+
formType: {
|
|
68
|
+
type: String,
|
|
69
|
+
default: '',
|
|
70
|
+
},
|
|
71
|
+
/** 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效 (注:只微信小程序、QQ小程序有效) */
|
|
72
|
+
appParameter: {
|
|
73
|
+
type: String,
|
|
74
|
+
default: '',
|
|
75
|
+
},
|
|
76
|
+
/** 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效 */
|
|
77
|
+
hoverStopPropagation: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
default: true,
|
|
80
|
+
},
|
|
81
|
+
/** 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文(默认 en ) */
|
|
82
|
+
lang: {
|
|
83
|
+
type: String,
|
|
84
|
+
default: 'en',
|
|
85
|
+
},
|
|
86
|
+
/** 会话来源,openType="contact"时有效 */
|
|
87
|
+
sessionFrom: {
|
|
88
|
+
type: String,
|
|
89
|
+
default: '',
|
|
90
|
+
},
|
|
91
|
+
/** 会话内消息卡片标题,openType="contact"时有效 */
|
|
92
|
+
sendMessageTitle: {
|
|
93
|
+
type: String,
|
|
94
|
+
default: '',
|
|
95
|
+
},
|
|
96
|
+
/** 会话内消息卡片点击跳转小程序路径,openType="contact"时有效 */
|
|
97
|
+
sendMessagePath: {
|
|
98
|
+
type: String,
|
|
99
|
+
default: '',
|
|
100
|
+
},
|
|
101
|
+
/** 会话内消息卡片图片,openType="contact"时有效 */
|
|
102
|
+
sendMessageImg: {
|
|
103
|
+
type: String,
|
|
104
|
+
default: '',
|
|
105
|
+
},
|
|
106
|
+
/** 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示,用户点击后可以快速发送小程序消息,openType="contact"时有效 */
|
|
107
|
+
showMessageCard: {
|
|
108
|
+
type: Boolean,
|
|
109
|
+
default: false,
|
|
110
|
+
},
|
|
111
|
+
/** 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取 */
|
|
112
|
+
dataName: {
|
|
113
|
+
type: String,
|
|
114
|
+
default: '',
|
|
115
|
+
},
|
|
116
|
+
/** 节流时间,一定时间内只能触发一次 */
|
|
117
|
+
throttleTime: {
|
|
118
|
+
type: Number,
|
|
119
|
+
default: 0,
|
|
120
|
+
},
|
|
121
|
+
/** 按住后多久出现点击态,单位毫秒 */
|
|
122
|
+
hoverStartTime: {
|
|
123
|
+
type: Number,
|
|
124
|
+
default: 0,
|
|
125
|
+
},
|
|
126
|
+
/** 手指松开后点击态保留时间,单位毫秒 */
|
|
127
|
+
hoverStayTime: {
|
|
128
|
+
type: Number,
|
|
129
|
+
default: 200,
|
|
130
|
+
},
|
|
131
|
+
/** 按钮文字,之所以通过props传入,是因为slot传入的话(注:nvue中无法控制文字的样式) */
|
|
132
|
+
text: {
|
|
133
|
+
type: String,
|
|
134
|
+
default: '',
|
|
135
|
+
},
|
|
136
|
+
/** 按钮图标api集合 */
|
|
137
|
+
icon: {
|
|
138
|
+
type: Object as PropType<HyIconProps>,
|
|
139
|
+
default: () => ({}),
|
|
140
|
+
},
|
|
141
|
+
/** 按钮颜色,支持传入linear-gradient渐变色 */
|
|
142
|
+
color: {
|
|
143
|
+
type: String,
|
|
144
|
+
default: '',
|
|
145
|
+
},
|
|
146
|
+
/** 阻止事件冒泡 */
|
|
147
|
+
stop: {
|
|
148
|
+
type: Boolean,
|
|
149
|
+
default: true,
|
|
150
|
+
},
|
|
151
|
+
/** 阻止事件冒泡 */
|
|
152
|
+
customStyle: {
|
|
153
|
+
type: Object as PropType<CSSProperties>,
|
|
154
|
+
},
|
|
155
|
+
/** 阻止事件冒泡 */
|
|
156
|
+
customClass: {
|
|
157
|
+
type: String,
|
|
158
|
+
},
|
|
159
|
+
} as const
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import type { CSSProperties } from 'vue'
|
|
2
2
|
import type HyIconProps from '../hy-icon/typing'
|
|
3
|
+
import HyApp from 'hy-app'
|
|
3
4
|
|
|
4
5
|
export interface HyButtonProps {
|
|
5
6
|
/**
|
|
6
|
-
* 是否显示按钮的细边框
|
|
7
|
+
* 是否显示按钮的细边框
|
|
8
|
+
* @default true
|
|
9
|
+
* @type {boolean}
|
|
7
10
|
* */
|
|
8
11
|
hairline?: boolean
|
|
9
12
|
/**
|
|
10
13
|
* 按钮的预置样式
|
|
11
|
-
* @type ThemeType
|
|
14
|
+
* @type {ThemeType}
|
|
12
15
|
* @default 'primary'
|
|
13
|
-
* @enum {string} // 声明为枚举类型
|
|
14
16
|
* @values info, primary, error, warning, success
|
|
15
17
|
* */
|
|
16
|
-
type?:
|
|
18
|
+
type?: HyApp.ThemeType
|
|
17
19
|
/**
|
|
18
20
|
* 按钮尺寸
|
|
19
21
|
* @type {'large' | 'medium' | 'small' | 'mini'}
|
|
20
22
|
* @default 'medium'
|
|
21
23
|
* */
|
|
22
|
-
size?:
|
|
24
|
+
size?: 'large' | 'medium' | 'small' | 'mini'
|
|
23
25
|
/**
|
|
24
26
|
* 按钮形状,circle(两边为半圆),square(带圆角) (默认 'square' )
|
|
25
27
|
* */
|
|
@@ -137,23 +139,27 @@ export interface IButtonEmits {
|
|
|
137
139
|
* */
|
|
138
140
|
(e: 'click', event: Event): void
|
|
139
141
|
/**
|
|
140
|
-
*
|
|
142
|
+
* 仅限微信小程序,当使用开放能力时,发生错误的回调
|
|
143
|
+
* */
|
|
144
|
+
(e: 'error', event: Event): void
|
|
145
|
+
/**
|
|
146
|
+
* 微信小程序获取手机号
|
|
141
147
|
* */
|
|
142
148
|
(e: 'getphonenumber', event: Event): void
|
|
143
149
|
/**
|
|
144
|
-
*
|
|
150
|
+
* 微信小程序用户点击该按钮时,会返回获取到的用户信息,从返回参数的detail中获取到的值同uni.getUserInfo
|
|
145
151
|
* */
|
|
146
152
|
(e: 'getuserinfo', event: Event): void
|
|
147
153
|
/**
|
|
148
|
-
*
|
|
154
|
+
* 仅限微信小程序,在打开授权设置页并关闭后回调
|
|
149
155
|
* */
|
|
150
156
|
(e: 'opensetting', event: Event): void
|
|
151
157
|
/**
|
|
152
|
-
*
|
|
158
|
+
* 仅限微信小程序,打开 APP 成功的回调
|
|
153
159
|
* */
|
|
154
160
|
(e: 'launchapp', event: Event): void
|
|
155
161
|
/**
|
|
156
|
-
*
|
|
162
|
+
* 仅限微信小程序,用户同意隐私协议事件回调,open-type="agreePrivacyAuthorization"时有效
|
|
157
163
|
* */
|
|
158
164
|
(e: 'agreeprivacyauthorization', event: Event): void
|
|
159
165
|
}
|
package/components/index.ts
CHANGED
|
@@ -1,133 +1,125 @@
|
|
|
1
|
-
import HyTabBr from
|
|
2
|
-
import Dialog from
|
|
3
|
-
/* #ifdef H5 */
|
|
4
|
-
import DialogService from "./message";
|
|
5
|
-
/* #endif */
|
|
6
|
-
|
|
1
|
+
import HyTabBr from './hy-tabBar/hy-tabBar.vue'
|
|
2
|
+
import Dialog from './dialog'
|
|
7
3
|
// 组件库
|
|
8
|
-
import HyAddressPicker from
|
|
9
|
-
import HyAvatar from
|
|
10
|
-
import HyBackTop from
|
|
11
|
-
import HyBadge from
|
|
12
|
-
import HyButton from
|
|
13
|
-
import HyCard from
|
|
14
|
-
import HyCell from
|
|
15
|
-
import HyCheckButton from
|
|
16
|
-
import HyCheckbox from
|
|
17
|
-
import HyCountDown from
|
|
18
|
-
import HyCountTo from
|
|
19
|
-
import HyDatetimePicker from
|
|
20
|
-
import HyDivider from
|
|
21
|
-
import HyDropdown from
|
|
22
|
-
import HyDropdownItem from
|
|
23
|
-
import YkEmpty from
|
|
24
|
-
import YkFloatButton from
|
|
25
|
-
import HyFoldingPanel from
|
|
26
|
-
import HyForm from
|
|
27
|
-
import HyGrid from
|
|
28
|
-
import HyIcon from
|
|
29
|
-
import HyImage from
|
|
30
|
-
import HyInput from
|
|
31
|
-
import HyLine from
|
|
32
|
-
import HyLineProgress from
|
|
33
|
-
import HyList from
|
|
34
|
-
import HyLoading from
|
|
35
|
-
import YkLogin from
|
|
36
|
-
import HyModal from
|
|
37
|
-
import HyNavbar from
|
|
38
|
-
import HyNoticeBar from
|
|
39
|
-
import HyNumberStep from
|
|
40
|
-
import HyOverlay from
|
|
41
|
-
import YkPrice from
|
|
42
|
-
import HyPicker from
|
|
43
|
-
import HyPopup from
|
|
44
|
-
import HyQrcode from
|
|
45
|
-
import HyRadio from
|
|
46
|
-
import HyRate from
|
|
47
|
-
import HyReadMore from
|
|
4
|
+
import HyAddressPicker from './hy-address-picker/hy-address-picker.vue'
|
|
5
|
+
import HyAvatar from './hy-avatar/hy-avatar.vue'
|
|
6
|
+
import HyBackTop from './hy-back-top/hy-back-top.vue'
|
|
7
|
+
import HyBadge from './hy-badge/hy-badge.vue'
|
|
8
|
+
import HyButton from './hy-button/hy-button.vue'
|
|
9
|
+
import HyCard from './hy-card/hy-card.vue'
|
|
10
|
+
import HyCell from './hy-cell/hy-cell.vue'
|
|
11
|
+
import HyCheckButton from './hy-check-button/hy-check-button.vue'
|
|
12
|
+
import HyCheckbox from './hy-checkbox/hy-checkbox.vue'
|
|
13
|
+
import HyCountDown from './hy-count-down/hy-count-down.vue'
|
|
14
|
+
import HyCountTo from './hy-count-to/hy-count-to.vue'
|
|
15
|
+
import HyDatetimePicker from './hy-datetime-picker/hy-datetime-picker.vue'
|
|
16
|
+
import HyDivider from './hy-divider/hy-divider.vue'
|
|
17
|
+
import HyDropdown from './hy-dropdown/hy-dropdown.vue'
|
|
18
|
+
import HyDropdownItem from './hy-dropdown-item/hy-dropdown-item.vue'
|
|
19
|
+
import YkEmpty from './hy-empty/hy-empty.vue'
|
|
20
|
+
import YkFloatButton from './hy-float-button/hy-float-button.vue'
|
|
21
|
+
import HyFoldingPanel from './hy-folding-panel/hy-folding-panel.vue'
|
|
22
|
+
import HyForm from './hy-form/hy-form.vue'
|
|
23
|
+
import HyGrid from './hy-grid/hy-grid.vue'
|
|
24
|
+
import HyIcon from './hy-icon/hy-icon.vue'
|
|
25
|
+
import HyImage from './hy-image/hy-image.vue'
|
|
26
|
+
import HyInput from './hy-input/hy-input.vue'
|
|
27
|
+
import HyLine from './hy-line/hy-line.vue'
|
|
28
|
+
import HyLineProgress from './hy-line-progress/hy-line-progress.vue'
|
|
29
|
+
import HyList from './hy-list/hy-list.vue'
|
|
30
|
+
import HyLoading from './hy-loading/hy-loading.vue'
|
|
31
|
+
import YkLogin from './hy-login/hy-login.vue'
|
|
32
|
+
import HyModal from './hy-modal/hy-modal.vue'
|
|
33
|
+
import HyNavbar from './hy-navbar/hy-navbar.vue'
|
|
34
|
+
import HyNoticeBar from './hy-notice-bar/hy-notice-bar.vue'
|
|
35
|
+
import HyNumberStep from './hy-number-step/hy-number-step.vue'
|
|
36
|
+
import HyOverlay from './hy-overlay/hy-overlay.vue'
|
|
37
|
+
import YkPrice from './hy-price/hy-price.vue'
|
|
38
|
+
import HyPicker from './hy-picker/hy-picker.vue'
|
|
39
|
+
import HyPopup from './hy-popup/hy-popup.vue'
|
|
40
|
+
import HyQrcode from './hy-qrcode/hy-qrcode.vue'
|
|
41
|
+
import HyRadio from './hy-radio/hy-radio.vue'
|
|
42
|
+
import HyRate from './hy-rate/hy-rate.vue'
|
|
43
|
+
import HyReadMore from './hy-read-more/hy-read-more.vue'
|
|
48
44
|
// import HySafeBottom from "./hy-safe-bottom/hy-safe-bottom.vue";
|
|
49
|
-
import HyScrollList from
|
|
50
|
-
import HySearch from
|
|
51
|
-
import HySlider from
|
|
52
|
-
import HyStatusBar from
|
|
53
|
-
import HySteps from
|
|
54
|
-
import HySubsection from
|
|
55
|
-
import HySwiper from
|
|
56
|
-
import HySwitch from
|
|
57
|
-
import HyTabs from
|
|
58
|
-
import HyTag from
|
|
59
|
-
import HyTextarea from
|
|
60
|
-
import HyTooltip from
|
|
61
|
-
import HyTransition from
|
|
62
|
-
import HyUpload from
|
|
63
|
-
import HyWarn from
|
|
45
|
+
import HyScrollList from './hy-scroll-list/hy-scroll-list.vue'
|
|
46
|
+
import HySearch from './hy-search/hy-search.vue'
|
|
47
|
+
import HySlider from './hy-slider/hy-slider.vue'
|
|
48
|
+
import HyStatusBar from './hy-status-bar/hy-status-bar.vue'
|
|
49
|
+
import HySteps from './hy-steps/hy-steps.vue'
|
|
50
|
+
import HySubsection from './hy-subsection/hy-subsection.vue'
|
|
51
|
+
import HySwiper from './hy-swiper/hy-swiper.vue'
|
|
52
|
+
import HySwitch from './hy-switch/hy-switch.vue'
|
|
53
|
+
import HyTabs from './hy-tabs/hy-tabs.vue'
|
|
54
|
+
import HyTag from './hy-tag/hy-tag.vue'
|
|
55
|
+
import HyTextarea from './hy-textarea/hy-textarea.vue'
|
|
56
|
+
import HyTooltip from './hy-tooltip/hy-tooltip.vue'
|
|
57
|
+
import HyTransition from './hy-transition/hy-transition.vue'
|
|
58
|
+
import HyUpload from './hy-upload/hy-upload.vue'
|
|
59
|
+
import HyWarn from './hy-warn/hy-warn.vue'
|
|
64
60
|
|
|
65
61
|
const install = (Vue: any) => {
|
|
66
|
-
Vue.component(
|
|
62
|
+
Vue.component('hy-tabBar', HyTabBr)
|
|
67
63
|
|
|
68
|
-
Vue.component(
|
|
69
|
-
Vue.component(
|
|
70
|
-
Vue.component(
|
|
71
|
-
Vue.component(
|
|
72
|
-
Vue.component(
|
|
73
|
-
Vue.component(
|
|
74
|
-
Vue.component(
|
|
75
|
-
Vue.component(
|
|
76
|
-
Vue.component(
|
|
77
|
-
Vue.component(
|
|
78
|
-
Vue.component(
|
|
79
|
-
Vue.component(
|
|
80
|
-
Vue.component(
|
|
81
|
-
Vue.component(
|
|
82
|
-
Vue.component(
|
|
83
|
-
Vue.component(
|
|
84
|
-
Vue.component(
|
|
85
|
-
Vue.component(
|
|
86
|
-
Vue.component(
|
|
87
|
-
Vue.component(
|
|
88
|
-
Vue.component(
|
|
89
|
-
Vue.component(
|
|
90
|
-
Vue.component(
|
|
91
|
-
Vue.component(
|
|
92
|
-
Vue.component(
|
|
93
|
-
Vue.component(
|
|
94
|
-
Vue.component(
|
|
64
|
+
Vue.component('HyAddressPicker', HyAddressPicker)
|
|
65
|
+
Vue.component('HyAvatar', HyAvatar)
|
|
66
|
+
Vue.component('HyBackTop', HyBackTop)
|
|
67
|
+
Vue.component('HyBadge', HyBadge)
|
|
68
|
+
Vue.component('HyButton', HyButton)
|
|
69
|
+
Vue.component('HyCard', HyCard)
|
|
70
|
+
Vue.component('HyCell', HyCell)
|
|
71
|
+
Vue.component('HyCheckButton', HyCheckButton)
|
|
72
|
+
Vue.component('HyCheckbox', HyCheckbox)
|
|
73
|
+
Vue.component('HyCountDown', HyCountDown)
|
|
74
|
+
Vue.component('HyCountTo', HyCountTo)
|
|
75
|
+
Vue.component('HyDatetimePicker', HyDatetimePicker)
|
|
76
|
+
Vue.component('HyDivider', HyDivider)
|
|
77
|
+
Vue.component('HyDropdown', HyDropdown)
|
|
78
|
+
Vue.component('HyDropdownItem', HyDropdownItem)
|
|
79
|
+
Vue.component('YkEmpty', YkEmpty)
|
|
80
|
+
Vue.component('YkFloatButton', YkFloatButton)
|
|
81
|
+
Vue.component('HyFoldingPanel', HyFoldingPanel)
|
|
82
|
+
Vue.component('HyForm', HyForm)
|
|
83
|
+
Vue.component('HyGrid', HyGrid)
|
|
84
|
+
Vue.component('HyIcon', HyIcon)
|
|
85
|
+
Vue.component('HyImage', HyImage)
|
|
86
|
+
Vue.component('HyInput', HyInput)
|
|
87
|
+
Vue.component('HyLine', HyLine)
|
|
88
|
+
Vue.component('HyLineProgress', HyLineProgress)
|
|
89
|
+
Vue.component('HyList', HyList)
|
|
90
|
+
Vue.component('HyLoading', HyLoading)
|
|
95
91
|
// Vue.component("YkLogin", YkLogin);
|
|
96
|
-
Vue.component(
|
|
97
|
-
Vue.component(
|
|
98
|
-
Vue.component(
|
|
99
|
-
Vue.component(
|
|
100
|
-
Vue.component(
|
|
101
|
-
Vue.component(
|
|
102
|
-
Vue.component(
|
|
103
|
-
Vue.component(
|
|
104
|
-
Vue.component(
|
|
105
|
-
Vue.component(
|
|
106
|
-
Vue.component(
|
|
107
|
-
Vue.component(
|
|
108
|
-
Vue.component(
|
|
109
|
-
Vue.component(
|
|
110
|
-
Vue.component(
|
|
111
|
-
Vue.component(
|
|
112
|
-
Vue.component(
|
|
113
|
-
Vue.component(
|
|
114
|
-
Vue.component(
|
|
115
|
-
Vue.component(
|
|
116
|
-
Vue.component(
|
|
117
|
-
Vue.component(
|
|
118
|
-
Vue.component(
|
|
119
|
-
Vue.component(
|
|
120
|
-
Vue.component(
|
|
121
|
-
Vue.component(
|
|
122
|
-
Vue.component(
|
|
92
|
+
Vue.component('HyModal', HyModal)
|
|
93
|
+
Vue.component('HyNavbar', HyNavbar)
|
|
94
|
+
Vue.component('HyNoticeBar', HyNoticeBar)
|
|
95
|
+
Vue.component('HyNumberStep', HyNumberStep)
|
|
96
|
+
Vue.component('HyOverlay', HyOverlay)
|
|
97
|
+
Vue.component('YkPrice', YkPrice)
|
|
98
|
+
Vue.component('HyPicker', HyPicker)
|
|
99
|
+
Vue.component('HyPopup', HyPopup)
|
|
100
|
+
Vue.component('HyQrcode', HyQrcode)
|
|
101
|
+
Vue.component('HyRadio', HyRadio)
|
|
102
|
+
Vue.component('HyRate', HyRate)
|
|
103
|
+
Vue.component('HyReadMore', HyReadMore)
|
|
104
|
+
Vue.component('HyScrollList', HyScrollList)
|
|
105
|
+
Vue.component('HySearch', HySearch)
|
|
106
|
+
Vue.component('HySlider', HySlider)
|
|
107
|
+
Vue.component('HyStatusBar', HyStatusBar)
|
|
108
|
+
Vue.component('HySteps', HySteps)
|
|
109
|
+
Vue.component('HySubsection', HySubsection)
|
|
110
|
+
Vue.component('HySwiper', HySwiper)
|
|
111
|
+
Vue.component('HySwitch', HySwitch)
|
|
112
|
+
Vue.component('HyTabs', HyTabs)
|
|
113
|
+
Vue.component('HyTag', HyTag)
|
|
114
|
+
Vue.component('HyTextarea', HyTextarea)
|
|
115
|
+
Vue.component('HyTooltip', HyTooltip)
|
|
116
|
+
Vue.component('HyTransition', HyTransition)
|
|
117
|
+
Vue.component('HyUpload', HyUpload)
|
|
118
|
+
Vue.component('HyWarn', HyWarn)
|
|
123
119
|
// Vue.config.globalProperties.$dialog = myDialog;
|
|
124
|
-
}
|
|
120
|
+
}
|
|
125
121
|
export {
|
|
126
122
|
install,
|
|
127
|
-
// Dialog,
|
|
128
|
-
/* #ifdef H5 */
|
|
129
|
-
DialogService,
|
|
130
|
-
/* #endif */
|
|
131
123
|
HyAddressPicker,
|
|
132
124
|
HyAvatar,
|
|
133
125
|
HyBackTop,
|
|
@@ -183,4 +175,4 @@ export {
|
|
|
183
175
|
HyTransition,
|
|
184
176
|
HyUpload,
|
|
185
177
|
HyWarn,
|
|
186
|
-
}
|
|
178
|
+
}
|