hy-app 0.2.11 → 0.2.13
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/component-helper.ts +177 -0
- 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 +144 -13
- package/components/hy-button/props.ts +158 -32
- package/components/hy-button/typing.d.ts +71 -32
- package/components/index.ts +114 -122
- package/components.json +3287 -0
- package/dist/attributes.json +1 -0
- package/dist/docs/components/hy-action-sheet/hy-action-sheet.md +41 -0
- package/dist/docs/components/hy-address-picker/hy-address-picker.md +25 -0
- package/dist/docs/components/hy-avatar/hy-avatar.md +19 -0
- package/dist/docs/components/hy-back-top/hy-back-top.md +19 -0
- package/dist/docs/components/hy-badge/hy-badge.md +13 -0
- package/dist/docs/components/hy-button/hy-button.md +61 -0
- package/dist/docs/components/hy-calendar/header.md +17 -0
- package/dist/docs/components/hy-calendar/hy-calendar.md +27 -0
- package/dist/docs/components/hy-calendar/month.md +38 -0
- package/dist/docs/components/hy-card/hy-card.md +24 -0
- package/dist/docs/components/hy-cell/hy-cell.md +26 -0
- package/dist/docs/components/hy-check-button/hy-check-button.md +14 -0
- package/dist/docs/components/hy-checkbox/hy-checkbox.md +21 -0
- package/dist/docs/components/hy-code-input/hy-code-input.md +15 -0
- package/dist/docs/components/hy-config-provider/hy-config-provider.md +13 -0
- package/dist/docs/components/hy-count-down/hy-count-down.md +34 -0
- package/dist/docs/components/hy-count-to/hy-count-to.md +31 -0
- package/dist/docs/components/hy-datetime-picker/hy-datetime-picker.md +25 -0
- package/dist/docs/components/hy-divider/hy-divider.md +13 -0
- package/dist/docs/components/hy-dropdown/hy-dropdown.md +13 -0
- package/dist/docs/components/hy-dropdown-item/hy-dropdown-item.md +20 -0
- package/dist/docs/components/hy-empty/hy-empty.md +20 -0
- package/dist/docs/components/hy-float-button/hy-float-button.md +20 -0
- package/dist/docs/components/hy-folding-panel/hy-folding-panel.md +24 -0
- package/dist/docs/components/hy-form/hy-form.md +29 -0
- package/dist/docs/components/hy-grid/hy-grid.md +19 -0
- package/dist/docs/components/hy-icon/hy-icon.md +13 -0
- package/dist/docs/components/hy-image/hy-image.md +22 -0
- package/dist/docs/components/hy-input/hy-input.md +29 -0
- package/dist/docs/components/hy-line/hy-line.md +7 -0
- package/dist/docs/components/hy-line-progress/hy-line-progress.md +13 -0
- package/dist/docs/components/hy-list/hy-list.md +25 -0
- package/dist/docs/components/hy-loading/hy-loading.md +14 -0
- package/dist/docs/components/hy-login/ThePhoneLogin.md +20 -0
- package/dist/docs/components/hy-login/TheUserLogin.md +44 -0
- package/dist/docs/components/hy-login/hy-login.md +14 -0
- package/dist/docs/components/hy-menu/hy-menu.md +21 -0
- package/dist/docs/components/hy-modal/hy-modal.md +23 -0
- package/dist/docs/components/hy-navbar/hy-navbar.md +22 -0
- package/dist/docs/components/hy-notice-bar/hy-column-notice.md +20 -0
- package/dist/docs/components/hy-notice-bar/hy-notice-bar.md +14 -0
- package/dist/docs/components/hy-notice-bar/hy-row-notice.md +20 -0
- package/dist/docs/components/hy-notify/hy-notify.md +23 -0
- package/dist/docs/components/hy-number-step/hy-number-step.md +27 -0
- package/dist/docs/components/hy-overlay/hy-overlay.md +19 -0
- package/dist/docs/components/hy-pagination/hy-pagination.md +14 -0
- package/dist/docs/components/hy-parse/hy-parse.md +46 -0
- package/dist/docs/components/hy-parse/node/node.md +7 -0
- package/dist/docs/components/hy-picker/hy-picker.md +32 -0
- package/dist/docs/components/hy-popover/hy-popover.md +34 -0
- package/dist/docs/components/hy-popup/hy-popup.md +22 -0
- package/dist/docs/components/hy-price/hy-price.md +13 -0
- package/dist/docs/components/hy-qrcode/hy-qrcode.md +15 -0
- package/dist/docs/components/hy-radio/hy-radio.md +21 -0
- package/dist/docs/components/hy-rate/hy-rate.md +14 -0
- package/dist/docs/components/hy-read-more/hy-read-more.md +21 -0
- package/dist/docs/components/hy-scroll-list/hy-scroll-list.md +21 -0
- package/dist/docs/components/hy-search/hy-search.md +27 -0
- package/dist/docs/components/hy-signature/hy-signature.md +45 -0
- package/dist/docs/components/hy-slider/hy-slider.md +24 -0
- package/dist/docs/components/hy-status-bar/hy-status-bar.md +13 -0
- package/dist/docs/components/hy-steps/hy-steps.md +23 -0
- package/dist/docs/components/hy-submit-bar/hy-submit-bar.md +21 -0
- package/dist/docs/components/hy-subsection/hy-subsection.md +14 -0
- package/dist/docs/components/hy-swipe-action/hy-swipe-action.md +29 -0
- package/dist/docs/components/hy-swiper/hy-swiper-indicator.md +23 -0
- package/dist/docs/components/hy-swiper/hy-swiper.md +22 -0
- package/dist/docs/components/hy-switch/hy-switch.md +20 -0
- package/dist/docs/components/hy-tabBar/hy-tabBar.md +13 -0
- package/dist/docs/components/hy-tabs/hy-tabs.md +27 -0
- package/dist/docs/components/hy-tag/hy-tag.md +21 -0
- package/dist/docs/components/hy-text/hy-text.md +13 -0
- package/dist/docs/components/hy-textarea/hy-textarea.md +19 -0
- package/dist/docs/components/hy-toast/hy-toast.md +17 -0
- package/dist/docs/components/hy-tooltip/hy-tooltip.md +13 -0
- package/dist/docs/components/hy-transition/hy-transition.md +25 -0
- package/dist/docs/components/hy-upload/hy-upload.md +25 -0
- package/dist/docs/components/hy-warn/hy-warn.md +14 -0
- package/dist/docs/components/hy-waterfall/hy-waterfall.md +30 -0
- package/dist/docs/components/hy-watermark/hy-watermark.md +7 -0
- package/dist/docs/components/message/TheMessage.md +17 -0
- package/dist/docs/components/yk-dialog/yk-dialog.md +7 -0
- package/dist/tags.json +1 -0
- package/dist/web-types.json +1 -0
- package/docgen.config.js +14 -0
- package/global.d.ts +101 -0
- package/package.json +29 -33
- package/web-types.config.js +7 -0
- package/web-types.json +1 -0
- package/components/dialog/TheDialog.vue +0 -128
- package/components/dialog/index.ts +0 -38
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"hy-button/hairline":{"type":"boolean","options":["-"],"description":"default: false."},"hy-button/type":{"type":"string","options":["`info`","`primary`","`error`","`warning`","`success`"],"description":"default: 'primary'."},"hy-button/size":{"type":"string","options":["`large`","`medium`","`small`","`mini`"],"description":"default: 'medium'."},"hy-button/shape":{"type":"string","options":["`circle`","`square`"],"description":"default: 'square'."},"hy-button/plain":{"type":"boolean","options":["-"],"description":"default: false."},"hy-button/disabled":{"type":"boolean","options":["-"],"description":"default: false."},"hy-button/loading":{"type":"boolean","options":["-"],"description":"default: false."},"hy-button/loadingText":{"type":"string","options":["-"],"description":"default: ''."},"hy-button/loadingMode":{"type":"string","options":["`spinner`","`circle`","`semicircle`"],"description":"default: 'spinner'."},"hy-button/loadingSize":{"type":"number","options":["-"],"description":"default: 13."},"hy-button/openType":{"type":"string","options":["-"],"description":"default: ''."},"hy-button/formType":{"type":"string","options":["-"],"description":"default: ''."},"hy-button/appParameter":{"type":"string","options":["-"],"description":"default: ''."},"hy-button/hoverStopPropagation":{"type":"boolean","options":["-"],"description":"default: true."},"hy-button/lang":{"type":"string","options":["-"],"description":"default: 'en'."},"hy-button/sessionFrom":{"type":"string","options":["-"],"description":"default: ''."},"hy-button/sendMessageTitle":{"type":"string","options":["-"],"description":"default: ''."},"hy-button/sendMessagePath":{"type":"string","options":["-"],"description":"default: ''."},"hy-button/sendMessageImg":{"type":"string","options":["-"],"description":"default: ''."},"hy-button/showMessageCard":{"type":"boolean","options":["-"],"description":"default: false."},"hy-button/dataName":{"type":"string","options":["-"],"description":"default: ''."},"hy-button/throttleTime":{"type":"number","options":["-"],"description":"default: 0."},"hy-button/hoverStartTime":{"type":"number","options":["-"],"description":"default: 0."},"hy-button/hoverStayTime":{"type":"number","options":["-"],"description":"default: 200."},"hy-button/text":{"type":"string","options":["-"],"description":"default: ''."},"hy-button/icon":{"type":"object","options":["-"],"description":"default: {}."},"hy-button/color":{"type":"string","options":["-"],"description":"default: ''."},"hy-button/stop":{"type":"boolean","options":["-"],"description":"default: true."},"hy-button/customStyle":{"type":"CSSProperties","options":["-"]},"hy-button/customClass":{"type":"string","options":["-"]},"hy-button/click":{"type":"event","description":"点击按钮事件"},"hy-button/error":{"type":"event","description":"仅限微信小程序,当使用开放能力时,发生错误的回调"},"hy-button/getphonenumber":{"type":"event","description":"微信小程序获取手机号"},"hy-button/getuserinfo":{"type":"event","description":"微信小程序用户点击该按钮时,会返回获取到的用户信息,从返回参数的 detail 中获取到的值同 uni.getUserInfo"},"hy-button/opensetting":{"type":"event","description":"仅限微信小程序,在打开授权设置页并关闭后回调"},"hy-button/launchapp":{"type":"event","description":"仅限微信小程序,打开 APP 成功的回调"},"hy-button/agreeprivacyauthorization":{"type":"event","description":"仅限微信小程序,用户同意隐私协议事件回调,open-type=\"agreePrivacyAuthorization\"时有效"}}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# hy-action-sheet
|
|
2
|
+
|
|
3
|
+
## Props
|
|
4
|
+
|
|
5
|
+
| Prop name | Description | Type | Values | Default |
|
|
6
|
+
| ------------------- | ----------------------------------------------------------------------------- | --------------- | ------ | ------- |
|
|
7
|
+
| modelValue | 操作菜单是否展示 ( 默认 false ) | boolean | - | |
|
|
8
|
+
| actions | 菜单选项 | Array | - | |
|
|
9
|
+
| panels | 自定义面板项,可以为字符串数组,也可以为对象数组,如果为二维数组,则为多行展示 | Array | - | |
|
|
10
|
+
| round | 圆角值 (默认 20 ) | union | - | |
|
|
11
|
+
| title | 标题 | string | - | |
|
|
12
|
+
| titleAlign | 标题文字位置 | TSTypeReference | - | |
|
|
13
|
+
| cancelText | 取消按钮的提示文字,不为空时显示按钮 | string | - | |
|
|
14
|
+
| closeOnClickAction | 点击某个菜单项时是否关闭弹窗 (默认 true ) | boolean | - | |
|
|
15
|
+
| closeOnClickOverlay | 点击遮罩是否允许关闭 (默认 true ) | boolean | - | |
|
|
16
|
+
| duration | 弹框动画持续时间 ( 默认 200 ) | number | - | |
|
|
17
|
+
| zIndex | 菜单层级 ( 默认 100 ) | number | - | |
|
|
18
|
+
| safeAreaInsetBottom | 处理底部安全区 (默认 true ) | boolean | - | |
|
|
19
|
+
| customStyle | 自定义外部样式 | CSSProperties | - | |
|
|
20
|
+
| customClass | 自定义外部类名 | string | - | |
|
|
21
|
+
| customHeaderClass | 自定义标题类名 | string | - | |
|
|
22
|
+
|
|
23
|
+
## Events
|
|
24
|
+
|
|
25
|
+
| Event name | Properties | Description |
|
|
26
|
+
| ----------------- | ---------- | ------------------------ |
|
|
27
|
+
| select | | 选中了某个动作时触发 |
|
|
28
|
+
| cancel | | 点击取消按钮时触发 |
|
|
29
|
+
| close | | 点击遮罩或关闭按钮时触发 |
|
|
30
|
+
| open | | 打开面板时触发 |
|
|
31
|
+
| update:modelValue | | 手动更新弹窗显示隐藏 |
|
|
32
|
+
|
|
33
|
+
## Slots
|
|
34
|
+
|
|
35
|
+
| Name | Description | Bindings |
|
|
36
|
+
| ------- | ----------- | -------- |
|
|
37
|
+
| default | | |
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
从底部弹出的动作菜单面板。
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# hy-address-picker
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ----------------- | ---------- | ----------- |
|
|
7
|
+
| close | |
|
|
8
|
+
| cancel | |
|
|
9
|
+
| confirm | |
|
|
10
|
+
| change | |
|
|
11
|
+
| update:modelValue | |
|
|
12
|
+
|
|
13
|
+
## Slots
|
|
14
|
+
|
|
15
|
+
| Name | Description | Bindings |
|
|
16
|
+
| -------------- | ----------- | -------- |
|
|
17
|
+
| trigger | | |
|
|
18
|
+
| toolbar-right | | |
|
|
19
|
+
| toolbar-bottom | | |
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
```vue live
|
|
24
|
+
<hy-address-picker>Default Example Usage</hy-address-picker>
|
|
25
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# hy-avatar
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ---------- | ---------- | ----------- |
|
|
7
|
+
| click | |
|
|
8
|
+
|
|
9
|
+
## Slots
|
|
10
|
+
|
|
11
|
+
| Name | Description | Bindings |
|
|
12
|
+
| ------- | ----------- | -------- |
|
|
13
|
+
| default | | |
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
```vue live
|
|
18
|
+
<hy-avatar>Default Example Usage</hy-avatar>
|
|
19
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# hy-back-top
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ---------- | ---------- | ----------- |
|
|
7
|
+
| click | |
|
|
8
|
+
|
|
9
|
+
## Slots
|
|
10
|
+
|
|
11
|
+
| Name | Description | Bindings |
|
|
12
|
+
| ------- | ----------- | -------- |
|
|
13
|
+
| default | | |
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
```vue live
|
|
18
|
+
<hy-back-top>Default Example Usage</hy-back-top>
|
|
19
|
+
```
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# hy-button
|
|
2
|
+
我是 按钮啊啊啊
|
|
3
|
+
|
|
4
|
+
## Props
|
|
5
|
+
|
|
6
|
+
| Prop name | Description | Type | Values | Default |
|
|
7
|
+
| -------------------- | ----------- | ------------- | ------------------------------------------------ | --------- |
|
|
8
|
+
| hairline | | boolean | - | false |
|
|
9
|
+
| type | | string | `info`, `primary`, `error`, `warning`, `success` | 'primary' |
|
|
10
|
+
| size | | string | `large`, `medium`, `small`, `mini` | 'medium' |
|
|
11
|
+
| shape | | string | `circle`, `square` | 'square' |
|
|
12
|
+
| plain | | boolean | - | false |
|
|
13
|
+
| disabled | | boolean | - | false |
|
|
14
|
+
| loading | | boolean | - | false |
|
|
15
|
+
| loadingText | | string | - | '' |
|
|
16
|
+
| loadingMode | | string | `spinner`, `circle`, `semicircle` | 'spinner' |
|
|
17
|
+
| loadingSize | | number | - | 13 |
|
|
18
|
+
| openType | | string | - | '' |
|
|
19
|
+
| formType | | string | - | '' |
|
|
20
|
+
| appParameter | | string | - | '' |
|
|
21
|
+
| hoverStopPropagation | | boolean | - | true |
|
|
22
|
+
| lang | | string | - | 'en' |
|
|
23
|
+
| sessionFrom | | string | - | '' |
|
|
24
|
+
| sendMessageTitle | | string | - | '' |
|
|
25
|
+
| sendMessagePath | | string | - | '' |
|
|
26
|
+
| sendMessageImg | | string | - | '' |
|
|
27
|
+
| showMessageCard | | boolean | - | false |
|
|
28
|
+
| dataName | | string | - | '' |
|
|
29
|
+
| throttleTime | | number | - | 0 |
|
|
30
|
+
| hoverStartTime | | number | - | 0 |
|
|
31
|
+
| hoverStayTime | | number | - | 200 |
|
|
32
|
+
| text | | string | - | '' |
|
|
33
|
+
| icon | | object | - | {} |
|
|
34
|
+
| color | | string | - | '' |
|
|
35
|
+
| stop | | boolean | - | true |
|
|
36
|
+
| customStyle | | CSSProperties | - | |
|
|
37
|
+
| customClass | | string | - | |
|
|
38
|
+
|
|
39
|
+
## Events
|
|
40
|
+
|
|
41
|
+
| Event name | Properties | Description |
|
|
42
|
+
| ------------------------- | ---------- | ------------------------------------------------------------------------------------------------------ |
|
|
43
|
+
| click | | 点击按钮事件 |
|
|
44
|
+
| error | | 仅限微信小程序,当使用开放能力时,发生错误的回调 |
|
|
45
|
+
| getphonenumber | | 微信小程序获取手机号 |
|
|
46
|
+
| getuserinfo | | 微信小程序用户点击该按钮时,会返回获取到的用户信息,从返回参数的 detail 中获取到的值同 uni.getUserInfo |
|
|
47
|
+
| opensetting | | 仅限微信小程序,在打开授权设置页并关闭后回调 |
|
|
48
|
+
| launchapp | | 仅限微信小程序,打开 APP 成功的回调 |
|
|
49
|
+
| agreeprivacyauthorization | | 仅限微信小程序,用户同意隐私协议事件回调,open-type="agreePrivacyAuthorization"时有效 |
|
|
50
|
+
|
|
51
|
+
## Slots
|
|
52
|
+
|
|
53
|
+
| Name | Description | Bindings |
|
|
54
|
+
| ------- | ------------ | -------- |
|
|
55
|
+
| default | 插入默认的值 | |
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
```vue live
|
|
60
|
+
<hy-button>Default Example Usage</hy-button>
|
|
61
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# hy-calendar-header
|
|
2
|
+
|
|
3
|
+
## Props
|
|
4
|
+
|
|
5
|
+
| Prop name | Description | Type | Values | Default |
|
|
6
|
+
| ------------ | ----------- | ------- | ------ | ------------------------------------------ |
|
|
7
|
+
| title | | string | - | "" |
|
|
8
|
+
| subtitle | | string | - | "" |
|
|
9
|
+
| showTitle | | boolean | - | true |
|
|
10
|
+
| showSubtitle | | boolean | - | true |
|
|
11
|
+
| weekText | | array | - | ["一", "二", "三", "四", "五", "六", "日"] |
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
```vue live
|
|
16
|
+
<hy-calendar-header />
|
|
17
|
+
```
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# hy-calendar
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ---------- | ---------- | ----------- |
|
|
7
|
+
| confirm | |
|
|
8
|
+
| change | |
|
|
9
|
+
| close | |
|
|
10
|
+
|
|
11
|
+
## Slots
|
|
12
|
+
|
|
13
|
+
| Name | Description | Bindings |
|
|
14
|
+
| ------ | ----------- | -------- |
|
|
15
|
+
| footer | | |
|
|
16
|
+
|
|
17
|
+
## Expose
|
|
18
|
+
|
|
19
|
+
### setFormatter
|
|
20
|
+
|
|
21
|
+
>
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
```vue live
|
|
26
|
+
<hy-calendar>Default Example Usage</hy-calendar>
|
|
27
|
+
```
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# hy-calendar-month
|
|
2
|
+
|
|
3
|
+
## Props
|
|
4
|
+
|
|
5
|
+
| Prop name | Description | Type | Values | Default |
|
|
6
|
+
| --------------- | ----------- | ------------------- | ------ | ----------------------------------- |
|
|
7
|
+
| showMark | | boolean | - | true |
|
|
8
|
+
| color | | string | - | "#3c9cff" |
|
|
9
|
+
| months | | array | - | [] |
|
|
10
|
+
| mode | | string | - | "single" |
|
|
11
|
+
| rowHeight | | string\|number | - | 58 |
|
|
12
|
+
| maxCount | | string\|number | - | Infinity |
|
|
13
|
+
| startText | | string | - | "开始" |
|
|
14
|
+
| endText | | string | - | "结束" |
|
|
15
|
+
| defaultDate | | array\|string\|date | - | null |
|
|
16
|
+
| minDate | | string\|number | - | 0 |
|
|
17
|
+
| maxDate | | string\|number | - | 0 |
|
|
18
|
+
| maxMonth | | string\|number | - | 2 |
|
|
19
|
+
| readonly | | boolean | - | () => defProps.calendar.readonly |
|
|
20
|
+
| maxRange | | number\|string | - | Infinity |
|
|
21
|
+
| rangePrompt | | string | - | "" |
|
|
22
|
+
| showRangePrompt | | boolean | - | true |
|
|
23
|
+
| allowSameDay | | boolean | - | false |
|
|
24
|
+
| forbidDays | | array | - | [] |
|
|
25
|
+
| forbidDaysToast | | string | - | "" |
|
|
26
|
+
|
|
27
|
+
## Events
|
|
28
|
+
|
|
29
|
+
| Event name | Properties | Description |
|
|
30
|
+
| -------------- | ---------------------------------------------- | ----------- |
|
|
31
|
+
| monthSelected | **<anonymous1>** `undefined` - undefined |
|
|
32
|
+
| updateMonthTop | |
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
```vue live
|
|
37
|
+
<hy-calendar-month />
|
|
38
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# hy-card
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ---------- | ---------- | ----------- |
|
|
7
|
+
| click | |
|
|
8
|
+
| head-click | |
|
|
9
|
+
| body-click | |
|
|
10
|
+
| foot-click | |
|
|
11
|
+
|
|
12
|
+
## Slots
|
|
13
|
+
|
|
14
|
+
| Name | Description | Bindings |
|
|
15
|
+
| ------ | ----------- | -------- |
|
|
16
|
+
| header | | |
|
|
17
|
+
| body | | |
|
|
18
|
+
| footer | | |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
```vue live
|
|
23
|
+
<hy-card>Default Example Usage</hy-card>
|
|
24
|
+
```
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# hy-cell
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ---------- | ---------- | ----------- |
|
|
7
|
+
| click | |
|
|
8
|
+
|
|
9
|
+
## Slots
|
|
10
|
+
|
|
11
|
+
| Name | Description | Bindings |
|
|
12
|
+
| ---------- | ----------- | -------- |
|
|
13
|
+
| title | | |
|
|
14
|
+
| default | | |
|
|
15
|
+
| icon | | |
|
|
16
|
+
| cell-title | | |
|
|
17
|
+
| sub | | |
|
|
18
|
+
| value | | |
|
|
19
|
+
| right-icon | | |
|
|
20
|
+
| bottom | | |
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
```vue live
|
|
25
|
+
<hy-cell>Default Example Usage</hy-cell>
|
|
26
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# hy-checkbox
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ----------------- | ---------- | ----------- |
|
|
7
|
+
| change | |
|
|
8
|
+
| update:modelValue | |
|
|
9
|
+
|
|
10
|
+
## Slots
|
|
11
|
+
|
|
12
|
+
| Name | Description | Bindings |
|
|
13
|
+
| ----- | ----------- | -------- |
|
|
14
|
+
| icon | | <br/> |
|
|
15
|
+
| label | | |
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
```vue live
|
|
20
|
+
<hy-checkbox>Default Example Usage</hy-checkbox>
|
|
21
|
+
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# hy-count-down
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ---------- | ---------- | ----------- |
|
|
7
|
+
| change | |
|
|
8
|
+
| finish | |
|
|
9
|
+
|
|
10
|
+
## Slots
|
|
11
|
+
|
|
12
|
+
| Name | Description | Bindings |
|
|
13
|
+
| ------- | ----------- | -------- |
|
|
14
|
+
| default | | |
|
|
15
|
+
|
|
16
|
+
## Expose
|
|
17
|
+
|
|
18
|
+
### reset
|
|
19
|
+
|
|
20
|
+
>
|
|
21
|
+
|
|
22
|
+
### start
|
|
23
|
+
|
|
24
|
+
>
|
|
25
|
+
|
|
26
|
+
### pause
|
|
27
|
+
|
|
28
|
+
>
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
```vue live
|
|
33
|
+
<hy-count-down>Default Example Usage</hy-count-down>
|
|
34
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# hy-count-to
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ---------- | ---------- | ----------- |
|
|
7
|
+
| end | |
|
|
8
|
+
|
|
9
|
+
## Expose
|
|
10
|
+
|
|
11
|
+
### start
|
|
12
|
+
|
|
13
|
+
>
|
|
14
|
+
|
|
15
|
+
### stop
|
|
16
|
+
|
|
17
|
+
>
|
|
18
|
+
|
|
19
|
+
### reStart
|
|
20
|
+
|
|
21
|
+
>
|
|
22
|
+
|
|
23
|
+
### resume
|
|
24
|
+
|
|
25
|
+
>
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
```vue live
|
|
30
|
+
<hy-count-to />
|
|
31
|
+
```
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# hy-datetime-picker
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ----------------- | ---------- | ----------- |
|
|
7
|
+
| close | |
|
|
8
|
+
| cancel | |
|
|
9
|
+
| confirm | |
|
|
10
|
+
| change | |
|
|
11
|
+
| update:modelValue | |
|
|
12
|
+
|
|
13
|
+
## Slots
|
|
14
|
+
|
|
15
|
+
| Name | Description | Bindings |
|
|
16
|
+
| -------------- | ----------- | -------- |
|
|
17
|
+
| trigger | | |
|
|
18
|
+
| toolbar-right | | |
|
|
19
|
+
| toolbar-bottom | | |
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
```vue live
|
|
24
|
+
<hy-datetime-picker>Default Example Usage</hy-datetime-picker>
|
|
25
|
+
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# hy-dropdown-item
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ----------------- | ---------- | ----------- |
|
|
7
|
+
| update:modelValue | |
|
|
8
|
+
| change | |
|
|
9
|
+
|
|
10
|
+
## Slots
|
|
11
|
+
|
|
12
|
+
| Name | Description | Bindings |
|
|
13
|
+
| ------- | ----------- | -------- |
|
|
14
|
+
| default | | |
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
```vue live
|
|
19
|
+
<hy-dropdown-item>Default Example Usage</hy-dropdown-item>
|
|
20
|
+
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# hy-empty
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ---------- | ---------- | ----------- |
|
|
7
|
+
| click | |
|
|
8
|
+
|
|
9
|
+
## Slots
|
|
10
|
+
|
|
11
|
+
| Name | Description | Bindings |
|
|
12
|
+
| ----------- | ----------- | -------- |
|
|
13
|
+
| default | | |
|
|
14
|
+
| description | | |
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
```vue live
|
|
19
|
+
<hy-empty>Default Example Usage</hy-empty>
|
|
20
|
+
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# hy-float-button
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ---------- | ---------- | ----------- |
|
|
7
|
+
| click | |
|
|
8
|
+
| clickItem | |
|
|
9
|
+
|
|
10
|
+
## Slots
|
|
11
|
+
|
|
12
|
+
| Name | Description | Bindings |
|
|
13
|
+
| ------- | ----------- | -------- |
|
|
14
|
+
| default | | |
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
```vue live
|
|
19
|
+
<hy-float-button>Default Example Usage</hy-float-button>
|
|
20
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# hy-folding-panel
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ---------- | ---------- | ----------- |
|
|
7
|
+
| open | |
|
|
8
|
+
| close | |
|
|
9
|
+
| change | |
|
|
10
|
+
|
|
11
|
+
## Slots
|
|
12
|
+
|
|
13
|
+
| Name | Description | Bindings |
|
|
14
|
+
| ------- | ----------- | -------- |
|
|
15
|
+
| icon | | |
|
|
16
|
+
| title | | |
|
|
17
|
+
| value | | |
|
|
18
|
+
| default | | |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
```vue live
|
|
23
|
+
<hy-folding-panel>Default Example Usage</hy-folding-panel>
|
|
24
|
+
```
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# hy-form
|
|
2
|
+
|
|
3
|
+
## Events
|
|
4
|
+
|
|
5
|
+
| Event name | Properties | Description |
|
|
6
|
+
| ---------- | ---------- | ----------- |
|
|
7
|
+
| click | |
|
|
8
|
+
|
|
9
|
+
## Slots
|
|
10
|
+
|
|
11
|
+
| Name | Description | Bindings |
|
|
12
|
+
| ---------- | ----------- | ---------- |
|
|
13
|
+
| item.field | | <br/><br/> |
|
|
14
|
+
|
|
15
|
+
## Expose
|
|
16
|
+
|
|
17
|
+
### validateField
|
|
18
|
+
|
|
19
|
+
>
|
|
20
|
+
|
|
21
|
+
### handleSubmit
|
|
22
|
+
|
|
23
|
+
>
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
```vue live
|
|
28
|
+
<hy-form>Default Example Usage</hy-form>
|
|
29
|
+
```
|