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.
@@ -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: HyButtonProps = {
4
- hairline: false,
5
- type: 'primary',
6
- size: 'medium',
7
- shape: 'square',
8
- plain: false,
9
- disabled: false,
10
- loading: false,
11
- loadingText: '',
12
- loadingMode: 'spinner',
13
- loadingSize: 13,
14
- openType: '',
15
- formType: '',
16
- appParameter: '',
17
- hoverStopPropagation: true,
18
- lang: 'en',
19
- sessionFrom: '',
20
- sendMessageTitle: '',
21
- sendMessagePath: '',
22
- sendMessageImg: '',
23
- showMessageCard: false,
24
- dataName: '',
25
- throttleTime: 0,
26
- hoverStartTime: 0,
27
- hoverStayTime: 200,
28
- text: '',
29
- icon: {},
30
- color: '',
31
- stop: true,
32
- }
33
-
34
- export default defaultProps
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
- * 是否显示按钮的细边框 (默认 true )
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?: 'info' | 'primary' | 'error' | 'warning' | 'success'
18
+ type?: HyApp.ThemeType
17
19
  /**
18
20
  * 按钮尺寸
19
21
  * @type {'large' | 'medium' | 'small' | 'mini'}
20
22
  * @default 'medium'
21
23
  * */
22
- size?: HyApp.SizeType | 'mini'
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
  }
@@ -1,133 +1,125 @@
1
- import HyTabBr from "./hy-tabBar/hy-tabBar.vue";
2
- import Dialog from "./dialog";
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 "./hy-address-picker/hy-address-picker.vue";
9
- import HyAvatar from "./hy-avatar/hy-avatar.vue";
10
- import HyBackTop from "./hy-back-top/hy-back-top.vue";
11
- import HyBadge from "./hy-badge/hy-badge.vue";
12
- import HyButton from "./hy-button/hy-button.vue";
13
- import HyCard from "./hy-card/hy-card.vue";
14
- import HyCell from "./hy-cell/hy-cell.vue";
15
- import HyCheckButton from "./hy-check-button/hy-check-button.vue";
16
- import HyCheckbox from "./hy-checkbox/hy-checkbox.vue";
17
- import HyCountDown from "./hy-count-down/hy-count-down.vue";
18
- import HyCountTo from "./hy-count-to/hy-count-to.vue";
19
- import HyDatetimePicker from "./hy-datetime-picker/hy-datetime-picker.vue";
20
- import HyDivider from "./hy-divider/hy-divider.vue";
21
- import HyDropdown from "./hy-dropdown/hy-dropdown.vue";
22
- import HyDropdownItem from "./hy-dropdown-item/hy-dropdown-item.vue";
23
- import YkEmpty from "./hy-empty/hy-empty.vue";
24
- import YkFloatButton from "./hy-float-button/hy-float-button.vue";
25
- import HyFoldingPanel from "./hy-folding-panel/hy-folding-panel.vue";
26
- import HyForm from "./hy-form/hy-form.vue";
27
- import HyGrid from "./hy-grid/hy-grid.vue";
28
- import HyIcon from "./hy-icon/hy-icon.vue";
29
- import HyImage from "./hy-image/hy-image.vue";
30
- import HyInput from "./hy-input/hy-input.vue";
31
- import HyLine from "./hy-line/hy-line.vue";
32
- import HyLineProgress from "./hy-line-progress/hy-line-progress.vue";
33
- import HyList from "./hy-list/hy-list.vue";
34
- import HyLoading from "./hy-loading/hy-loading.vue";
35
- import YkLogin from "./hy-login/hy-login.vue";
36
- import HyModal from "./hy-modal/hy-modal.vue";
37
- import HyNavbar from "./hy-navbar/hy-navbar.vue";
38
- import HyNoticeBar from "./hy-notice-bar/hy-notice-bar.vue";
39
- import HyNumberStep from "./hy-number-step/hy-number-step.vue";
40
- import HyOverlay from "./hy-overlay/hy-overlay.vue";
41
- import YkPrice from "./hy-price/hy-price.vue";
42
- import HyPicker from "./hy-picker/hy-picker.vue";
43
- import HyPopup from "./hy-popup/hy-popup.vue";
44
- import HyQrcode from "./hy-qrcode/hy-qrcode.vue";
45
- import HyRadio from "./hy-radio/hy-radio.vue";
46
- import HyRate from "./hy-rate/hy-rate.vue";
47
- import HyReadMore from "./hy-read-more/hy-read-more.vue";
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 "./hy-scroll-list/hy-scroll-list.vue";
50
- import HySearch from "./hy-search/hy-search.vue";
51
- import HySlider from "./hy-slider/hy-slider.vue";
52
- import HyStatusBar from "./hy-status-bar/hy-status-bar.vue";
53
- import HySteps from "./hy-steps/hy-steps.vue";
54
- import HySubsection from "./hy-subsection/hy-subsection.vue";
55
- import HySwiper from "./hy-swiper/hy-swiper.vue";
56
- import HySwitch from "./hy-switch/hy-switch.vue";
57
- import HyTabs from "./hy-tabs/hy-tabs.vue";
58
- import HyTag from "./hy-tag/hy-tag.vue";
59
- import HyTextarea from "./hy-textarea/hy-textarea.vue";
60
- import HyTooltip from "./hy-tooltip/hy-tooltip.vue";
61
- import HyTransition from "./hy-transition/hy-transition.vue";
62
- import HyUpload from "./hy-upload/hy-upload.vue";
63
- import HyWarn from "./hy-warn/hy-warn.vue";
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("hy-tabBar", HyTabBr);
62
+ Vue.component('hy-tabBar', HyTabBr)
67
63
 
68
- Vue.component("HyAddressPicker", HyAddressPicker);
69
- Vue.component("HyAvatar", HyAvatar);
70
- Vue.component("HyBackTop", HyBackTop);
71
- Vue.component("HyBadge", HyBadge);
72
- Vue.component("HyButton", HyButton);
73
- Vue.component("HyCard", HyCard);
74
- Vue.component("HyCell", HyCell);
75
- Vue.component("HyCheckButton", HyCheckButton);
76
- Vue.component("HyCheckbox", HyCheckbox);
77
- Vue.component("HyCountDown", HyCountDown);
78
- Vue.component("HyCountTo", HyCountTo);
79
- Vue.component("HyDatetimePicker", HyDatetimePicker);
80
- Vue.component("HyDivider", HyDivider);
81
- Vue.component("HyDropdown", HyDropdown);
82
- Vue.component("HyDropdownItem", HyDropdownItem);
83
- Vue.component("YkEmpty", YkEmpty);
84
- Vue.component("YkFloatButton", YkFloatButton);
85
- Vue.component("HyFoldingPanel", HyFoldingPanel);
86
- Vue.component("HyForm", HyForm);
87
- Vue.component("HyGrid", HyGrid);
88
- Vue.component("HyIcon", HyIcon);
89
- Vue.component("HyImage", HyImage);
90
- Vue.component("HyInput", HyInput);
91
- Vue.component("HyLine", HyLine);
92
- Vue.component("HyLineProgress", HyLineProgress);
93
- Vue.component("HyList", HyList);
94
- Vue.component("HyLoading", HyLoading);
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("HyModal", HyModal);
97
- Vue.component("HyNavbar", HyNavbar);
98
- Vue.component("HyNoticeBar", HyNoticeBar);
99
- Vue.component("HyNumberStep", HyNumberStep);
100
- Vue.component("HyOverlay", HyOverlay);
101
- Vue.component("YkPrice", YkPrice);
102
- Vue.component("HyPicker", HyPicker);
103
- Vue.component("HyPopup", HyPopup);
104
- Vue.component("HyQrcode", HyQrcode);
105
- Vue.component("HyRadio", HyRadio);
106
- Vue.component("HyRate", HyRate);
107
- Vue.component("HyReadMore", HyReadMore);
108
- Vue.component("HyScrollList", HyScrollList);
109
- Vue.component("HySearch", HySearch);
110
- Vue.component("HySlider", HySlider);
111
- Vue.component("HyStatusBar", HyStatusBar);
112
- Vue.component("HySteps", HySteps);
113
- Vue.component("HySubsection", HySubsection);
114
- Vue.component("HySwiper", HySwiper);
115
- Vue.component("HySwitch", HySwitch);
116
- Vue.component("HyTabs", HyTabs);
117
- Vue.component("HyTag", HyTag);
118
- Vue.component("HyTextarea", HyTextarea);
119
- Vue.component("HyTooltip", HyTooltip);
120
- Vue.component("HyTransition", HyTransition);
121
- Vue.component("HyUpload", HyUpload);
122
- Vue.component("HyWarn", HyWarn);
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
+ }