hy-app 0.2.13 → 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 +5 -3
- package/components/hy-button/HyButton.docgen.js +6 -0
- package/components/hy-button/hy-button.vue +86 -75
- package/components/hy-button/props.ts +40 -41
- package/docgen.config.js +1 -2
- package/package.json +6 -4
- package/web-types.json +1 -1
- package/dist/attributes.json +0 -1
- package/dist/docs/components/hy-action-sheet/hy-action-sheet.md +0 -41
- package/dist/docs/components/hy-address-picker/hy-address-picker.md +0 -25
- package/dist/docs/components/hy-avatar/hy-avatar.md +0 -19
- package/dist/docs/components/hy-back-top/hy-back-top.md +0 -19
- package/dist/docs/components/hy-badge/hy-badge.md +0 -13
- package/dist/docs/components/hy-button/hy-button.md +0 -61
- package/dist/docs/components/hy-calendar/header.md +0 -17
- package/dist/docs/components/hy-calendar/hy-calendar.md +0 -27
- package/dist/docs/components/hy-calendar/month.md +0 -38
- package/dist/docs/components/hy-card/hy-card.md +0 -24
- package/dist/docs/components/hy-cell/hy-cell.md +0 -26
- package/dist/docs/components/hy-check-button/hy-check-button.md +0 -14
- package/dist/docs/components/hy-checkbox/hy-checkbox.md +0 -21
- package/dist/docs/components/hy-code-input/hy-code-input.md +0 -15
- package/dist/docs/components/hy-config-provider/hy-config-provider.md +0 -13
- package/dist/docs/components/hy-count-down/hy-count-down.md +0 -34
- package/dist/docs/components/hy-count-to/hy-count-to.md +0 -31
- package/dist/docs/components/hy-datetime-picker/hy-datetime-picker.md +0 -25
- package/dist/docs/components/hy-divider/hy-divider.md +0 -13
- package/dist/docs/components/hy-dropdown/hy-dropdown.md +0 -13
- package/dist/docs/components/hy-dropdown-item/hy-dropdown-item.md +0 -20
- package/dist/docs/components/hy-empty/hy-empty.md +0 -20
- package/dist/docs/components/hy-float-button/hy-float-button.md +0 -20
- package/dist/docs/components/hy-folding-panel/hy-folding-panel.md +0 -24
- package/dist/docs/components/hy-form/hy-form.md +0 -29
- package/dist/docs/components/hy-grid/hy-grid.md +0 -19
- package/dist/docs/components/hy-icon/hy-icon.md +0 -13
- package/dist/docs/components/hy-image/hy-image.md +0 -22
- package/dist/docs/components/hy-input/hy-input.md +0 -29
- package/dist/docs/components/hy-line/hy-line.md +0 -7
- package/dist/docs/components/hy-line-progress/hy-line-progress.md +0 -13
- package/dist/docs/components/hy-list/hy-list.md +0 -25
- package/dist/docs/components/hy-loading/hy-loading.md +0 -14
- package/dist/docs/components/hy-login/ThePhoneLogin.md +0 -20
- package/dist/docs/components/hy-login/TheUserLogin.md +0 -44
- package/dist/docs/components/hy-login/hy-login.md +0 -14
- package/dist/docs/components/hy-menu/hy-menu.md +0 -21
- package/dist/docs/components/hy-modal/hy-modal.md +0 -23
- package/dist/docs/components/hy-navbar/hy-navbar.md +0 -22
- package/dist/docs/components/hy-notice-bar/hy-column-notice.md +0 -20
- package/dist/docs/components/hy-notice-bar/hy-notice-bar.md +0 -14
- package/dist/docs/components/hy-notice-bar/hy-row-notice.md +0 -20
- package/dist/docs/components/hy-notify/hy-notify.md +0 -23
- package/dist/docs/components/hy-number-step/hy-number-step.md +0 -27
- package/dist/docs/components/hy-overlay/hy-overlay.md +0 -19
- package/dist/docs/components/hy-pagination/hy-pagination.md +0 -14
- package/dist/docs/components/hy-parse/hy-parse.md +0 -46
- package/dist/docs/components/hy-parse/node/node.md +0 -7
- package/dist/docs/components/hy-picker/hy-picker.md +0 -32
- package/dist/docs/components/hy-popover/hy-popover.md +0 -34
- package/dist/docs/components/hy-popup/hy-popup.md +0 -22
- package/dist/docs/components/hy-price/hy-price.md +0 -13
- package/dist/docs/components/hy-qrcode/hy-qrcode.md +0 -15
- package/dist/docs/components/hy-radio/hy-radio.md +0 -21
- package/dist/docs/components/hy-rate/hy-rate.md +0 -14
- package/dist/docs/components/hy-read-more/hy-read-more.md +0 -21
- package/dist/docs/components/hy-scroll-list/hy-scroll-list.md +0 -21
- package/dist/docs/components/hy-search/hy-search.md +0 -27
- package/dist/docs/components/hy-signature/hy-signature.md +0 -45
- package/dist/docs/components/hy-slider/hy-slider.md +0 -24
- package/dist/docs/components/hy-status-bar/hy-status-bar.md +0 -13
- package/dist/docs/components/hy-steps/hy-steps.md +0 -23
- package/dist/docs/components/hy-submit-bar/hy-submit-bar.md +0 -21
- package/dist/docs/components/hy-subsection/hy-subsection.md +0 -14
- package/dist/docs/components/hy-swipe-action/hy-swipe-action.md +0 -29
- package/dist/docs/components/hy-swiper/hy-swiper-indicator.md +0 -23
- package/dist/docs/components/hy-swiper/hy-swiper.md +0 -22
- package/dist/docs/components/hy-switch/hy-switch.md +0 -20
- package/dist/docs/components/hy-tabBar/hy-tabBar.md +0 -13
- package/dist/docs/components/hy-tabs/hy-tabs.md +0 -27
- package/dist/docs/components/hy-tag/hy-tag.md +0 -21
- package/dist/docs/components/hy-text/hy-text.md +0 -13
- package/dist/docs/components/hy-textarea/hy-textarea.md +0 -19
- package/dist/docs/components/hy-toast/hy-toast.md +0 -17
- package/dist/docs/components/hy-tooltip/hy-tooltip.md +0 -13
- package/dist/docs/components/hy-transition/hy-transition.md +0 -25
- package/dist/docs/components/hy-upload/hy-upload.md +0 -25
- package/dist/docs/components/hy-warn/hy-warn.md +0 -14
- package/dist/docs/components/hy-waterfall/hy-waterfall.md +0 -30
- package/dist/docs/components/hy-watermark/hy-watermark.md +0 -7
- package/dist/docs/components/message/TheMessage.md +0 -17
- package/dist/docs/components/yk-dialog/yk-dialog.md +0 -7
- package/dist/tags.json +0 -1
- package/dist/web-types.json +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# hy-radio
|
|
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-radio>Default Example Usage</hy-radio>
|
|
21
|
-
```
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# hy-read-more
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| ---------- | ---------- | ----------- |
|
|
7
|
-
| close | |
|
|
8
|
-
| open | |
|
|
9
|
-
|
|
10
|
-
## Slots
|
|
11
|
-
|
|
12
|
-
| Name | Description | Bindings |
|
|
13
|
-
| ------- | ----------- | -------- |
|
|
14
|
-
| default | | |
|
|
15
|
-
| toggle | | |
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
```vue live
|
|
20
|
-
<hy-read-more>Default Example Usage</hy-read-more>
|
|
21
|
-
```
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# hy-scroll-list
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| ---------- | ---------- | ----------- |
|
|
7
|
-
| click | |
|
|
8
|
-
| left | |
|
|
9
|
-
| right | |
|
|
10
|
-
|
|
11
|
-
## Slots
|
|
12
|
-
|
|
13
|
-
| Name | Description | Bindings |
|
|
14
|
-
| ------- | ----------- | -------- |
|
|
15
|
-
| default | | |
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
```vue live
|
|
20
|
-
<hy-scroll-list>Default Example Usage</hy-scroll-list>
|
|
21
|
-
```
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# hy-search
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| ----------------- | ---------- | ----------- |
|
|
7
|
-
| click | |
|
|
8
|
-
| change | |
|
|
9
|
-
| update:modelValue | |
|
|
10
|
-
| clickIcon | |
|
|
11
|
-
| search | |
|
|
12
|
-
| clear | |
|
|
13
|
-
| confirm | |
|
|
14
|
-
| focus | |
|
|
15
|
-
| blur | |
|
|
16
|
-
|
|
17
|
-
## Slots
|
|
18
|
-
|
|
19
|
-
| Name | Description | Bindings |
|
|
20
|
-
| ----- | ----------- | -------- |
|
|
21
|
-
| label | | |
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
```vue live
|
|
26
|
-
<hy-search>Default Example Usage</hy-search>
|
|
27
|
-
```
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# hy-signature
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| ---------- | ---------- | ----------- |
|
|
7
|
-
| start | |
|
|
8
|
-
| end | |
|
|
9
|
-
| signing | |
|
|
10
|
-
| confirm | |
|
|
11
|
-
| clear | |
|
|
12
|
-
|
|
13
|
-
## Slots
|
|
14
|
-
|
|
15
|
-
| Name | Description | Bindings |
|
|
16
|
-
| ------ | ----------- | ----------------------------------- |
|
|
17
|
-
| footer | | <br/><br/><br/><br/><br/><br/><br/> |
|
|
18
|
-
|
|
19
|
-
## Expose
|
|
20
|
-
|
|
21
|
-
### init
|
|
22
|
-
|
|
23
|
-
>
|
|
24
|
-
|
|
25
|
-
### clear
|
|
26
|
-
|
|
27
|
-
>
|
|
28
|
-
|
|
29
|
-
### confirm
|
|
30
|
-
|
|
31
|
-
>
|
|
32
|
-
|
|
33
|
-
### restore
|
|
34
|
-
|
|
35
|
-
>
|
|
36
|
-
|
|
37
|
-
### revoke
|
|
38
|
-
|
|
39
|
-
>
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
|
-
```vue live
|
|
44
|
-
<hy-signature>Default Example Usage</hy-signature>
|
|
45
|
-
```
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# hy-slider
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| ----------------- | ---------- | ----------- |
|
|
7
|
-
| start | |
|
|
8
|
-
| changing | |
|
|
9
|
-
| change | |
|
|
10
|
-
| update:modelValue | |
|
|
11
|
-
|
|
12
|
-
## Slots
|
|
13
|
-
|
|
14
|
-
| Name | Description | Bindings |
|
|
15
|
-
| ------- | ----------- | -------- |
|
|
16
|
-
| min | | |
|
|
17
|
-
| max | | |
|
|
18
|
-
| default | | |
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
```vue live
|
|
23
|
-
<hy-slider>Default Example Usage</hy-slider>
|
|
24
|
-
```
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# hy-steps
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| -------------- | ---------- | ----------- |
|
|
7
|
-
| click | |
|
|
8
|
-
| update:current | |
|
|
9
|
-
|
|
10
|
-
## Slots
|
|
11
|
-
|
|
12
|
-
| Name | Description | Bindings |
|
|
13
|
-
| ------- | ----------- | -------- |
|
|
14
|
-
| icon | | <br/> |
|
|
15
|
-
| content | | <br/> |
|
|
16
|
-
| title | | <br/> |
|
|
17
|
-
| desc | | <br/> |
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
```vue live
|
|
22
|
-
<hy-steps>Default Example Usage</hy-steps>
|
|
23
|
-
```
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# hy-submit-bar
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| ---------- | ---------- | ----------- |
|
|
7
|
-
| click | |
|
|
8
|
-
| menuClick | |
|
|
9
|
-
|
|
10
|
-
## Slots
|
|
11
|
-
|
|
12
|
-
| Name | Description | Bindings |
|
|
13
|
-
| ----- | ----------- | -------- |
|
|
14
|
-
| left | | |
|
|
15
|
-
| right | | |
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
```vue live
|
|
20
|
-
<hy-submit-bar>Default Example Usage</hy-submit-bar>
|
|
21
|
-
```
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# hy-swipe-action
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| ----------------- | ---------- | ----------- |
|
|
7
|
-
| click | |
|
|
8
|
-
| clickAction | |
|
|
9
|
-
| update:modelValue | |
|
|
10
|
-
|
|
11
|
-
## Slots
|
|
12
|
-
|
|
13
|
-
| Name | Description | Bindings |
|
|
14
|
-
| ------- | ----------- | -------- |
|
|
15
|
-
| left | | |
|
|
16
|
-
| default | | |
|
|
17
|
-
| right | | |
|
|
18
|
-
|
|
19
|
-
## Expose
|
|
20
|
-
|
|
21
|
-
### close
|
|
22
|
-
|
|
23
|
-
>
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
```vue live
|
|
28
|
-
<hy-swipe-action>Default Example Usage</hy-swipe-action>
|
|
29
|
-
```
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# hy-swiper-indicator
|
|
2
|
-
|
|
3
|
-
## Props
|
|
4
|
-
|
|
5
|
-
| Prop name | Description | Type | Values | Default |
|
|
6
|
-
| ---------------------- | ----------- | ------ | ------ | ------- |
|
|
7
|
-
| length | | number | - | |
|
|
8
|
-
| current | | union | - | |
|
|
9
|
-
| indicatorActiveColor | | string | - | |
|
|
10
|
-
| indicatorInactiveColor | | string | - | |
|
|
11
|
-
| indicatorMode | | union | - | |
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
```vue live
|
|
16
|
-
<hy-swiper-indicator
|
|
17
|
-
:length="42"
|
|
18
|
-
:current="Default Example Usage"
|
|
19
|
-
indicatorActiveColor="Default Example Usage"
|
|
20
|
-
indicatorInactiveColor="Default Example Usage"
|
|
21
|
-
:indicatorMode="Default Example Usage"
|
|
22
|
-
/>
|
|
23
|
-
```
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# hy-swiper
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| -------------- | ---------- | ----------- |
|
|
7
|
-
| click | |
|
|
8
|
-
| update:current | |
|
|
9
|
-
| change | |
|
|
10
|
-
|
|
11
|
-
## Slots
|
|
12
|
-
|
|
13
|
-
| Name | Description | Bindings |
|
|
14
|
-
| --------- | ----------- | -------- |
|
|
15
|
-
| default | | <br/> |
|
|
16
|
-
| indicator | | |
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
```vue live
|
|
21
|
-
<hy-swiper>Default Example Usage</hy-swiper>
|
|
22
|
-
```
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# hy-switch
|
|
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-switch>Default Example Usage</hy-switch>
|
|
20
|
-
```
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# hy-tabs
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| -------------- | ---------- | ----------- |
|
|
7
|
-
| click | |
|
|
8
|
-
| longPress | |
|
|
9
|
-
| update:current | |
|
|
10
|
-
| change | |
|
|
11
|
-
|
|
12
|
-
## Slots
|
|
13
|
-
|
|
14
|
-
| Name | Description | Bindings |
|
|
15
|
-
| ------- | ----------- | -------- |
|
|
16
|
-
| left | | |
|
|
17
|
-
| icon | | <br/> |
|
|
18
|
-
| content | | <br/> |
|
|
19
|
-
| right | | |
|
|
20
|
-
| main | | |
|
|
21
|
-
| default | | |
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
```vue live
|
|
26
|
-
<hy-tabs>Default Example Usage</hy-tabs>
|
|
27
|
-
```
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# hy-tag
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| ---------- | ---------- | ----------- |
|
|
7
|
-
| click | |
|
|
8
|
-
| close | |
|
|
9
|
-
|
|
10
|
-
## Slots
|
|
11
|
-
|
|
12
|
-
| Name | Description | Bindings |
|
|
13
|
-
| ------- | ----------- | -------- |
|
|
14
|
-
| icon | | |
|
|
15
|
-
| default | | |
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
```vue live
|
|
20
|
-
<hy-tag>Default Example Usage</hy-tag>
|
|
21
|
-
```
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# hy-textarea
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| -------------------- | ---------- | ----------- |
|
|
7
|
-
| update:modelValue | |
|
|
8
|
-
| linechange | |
|
|
9
|
-
| focus | |
|
|
10
|
-
| blur | |
|
|
11
|
-
| change | |
|
|
12
|
-
| confirm | |
|
|
13
|
-
| keyboardheightchange | |
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
```vue live
|
|
18
|
-
<hy-textarea />
|
|
19
|
-
```
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# hy-transition
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| ----------- | ---------- | ----------- |
|
|
7
|
-
| click | |
|
|
8
|
-
| beforeEnter | |
|
|
9
|
-
| enter | |
|
|
10
|
-
| afterEnter | |
|
|
11
|
-
| beforeLeave | |
|
|
12
|
-
| leave | |
|
|
13
|
-
| afterLeave | |
|
|
14
|
-
|
|
15
|
-
## Slots
|
|
16
|
-
|
|
17
|
-
| Name | Description | Bindings |
|
|
18
|
-
| ------- | ----------- | -------- |
|
|
19
|
-
| default | | |
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
```vue live
|
|
24
|
-
<hy-transition>Default Example Usage</hy-transition>
|
|
25
|
-
```
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# hy-upload
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| ------------ | ---------- | ----------- |
|
|
7
|
-
| clickPreview | |
|
|
8
|
-
| beforeRead | |
|
|
9
|
-
| error | |
|
|
10
|
-
| delete | |
|
|
11
|
-
| afterRead | |
|
|
12
|
-
| oversize | |
|
|
13
|
-
|
|
14
|
-
## Slots
|
|
15
|
-
|
|
16
|
-
| Name | Description | Bindings |
|
|
17
|
-
| ------- | ----------- | -------- |
|
|
18
|
-
| trigger | | |
|
|
19
|
-
| default | | |
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
```vue live
|
|
24
|
-
<hy-upload>Default Example Usage</hy-upload>
|
|
25
|
-
```
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# hy-waterfall
|
|
2
|
-
|
|
3
|
-
## Events
|
|
4
|
-
|
|
5
|
-
| Event name | Properties | Description |
|
|
6
|
-
| ----------------- | ---------- | ----------- |
|
|
7
|
-
| update:modelValue | |
|
|
8
|
-
|
|
9
|
-
## Slots
|
|
10
|
-
|
|
11
|
-
| Name | Description | Bindings |
|
|
12
|
-
| ----- | ----------- | -------- |
|
|
13
|
-
| left | | |
|
|
14
|
-
| right | | |
|
|
15
|
-
|
|
16
|
-
## Expose
|
|
17
|
-
|
|
18
|
-
### remove
|
|
19
|
-
|
|
20
|
-
>
|
|
21
|
-
|
|
22
|
-
### clear
|
|
23
|
-
|
|
24
|
-
>
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
```vue live
|
|
29
|
-
<hy-waterfall>Default Example Usage</hy-waterfall>
|
|
30
|
-
```
|
package/dist/tags.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hy-button":{"attributes":["hairline","type","size","shape","plain","disabled","loading","loadingText","loadingMode","loadingSize","openType","formType","appParameter","hoverStopPropagation","lang","sessionFrom","sendMessageTitle","sendMessagePath","sendMessageImg","showMessageCard","dataName","throttleTime","hoverStartTime","hoverStayTime","text","icon","color","stop","customStyle","customClass","click","error","getphonenumber","getuserinfo","opensetting","launchapp","agreeprivacyauthorization"],"description":"我是 按钮啊啊啊"}}
|
package/dist/web-types.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"hy-app","version":"0.2.10","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{"vue-components":[{"name":"hy-button","source":{"symbol":"hy-button"},"description":"我是 按钮啊啊啊","props":[{"name":"hairline","description":"","type":["boolean"],"default":"false","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"type","description":"","type":["string"],"default":"'primary'","attribute-value":{"type":"enum"},"values":[{"name":"`info`"},{"name":"`primary`"},{"name":"`error`"},{"name":"`warning`"},{"name":"`success`"}]},{"name":"size","description":"","type":["string"],"default":"'medium'","attribute-value":{"type":"enum"},"values":[{"name":"`large`"},{"name":"`medium`"},{"name":"`small`"},{"name":"`mini`"}]},{"name":"shape","description":"","type":["string"],"default":"'square'","attribute-value":{"type":"enum"},"values":[{"name":"`circle`"},{"name":"`square`"}]},{"name":"plain","description":"","type":["boolean"],"default":"false","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"disabled","description":"","type":["boolean"],"default":"false","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"loading","description":"","type":["boolean"],"default":"false","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"loadingText","description":"","type":["string"],"default":"''","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"loadingMode","description":"","type":["string"],"default":"'spinner'","attribute-value":{"type":"enum"},"values":[{"name":"`spinner`"},{"name":"`circle`"},{"name":"`semicircle`"}]},{"name":"loadingSize","description":"","type":["number"],"default":"13","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"openType","description":"","type":["string"],"default":"''","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"formType","description":"","type":["string"],"default":"''","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"appParameter","description":"","type":["string"],"default":"''","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"hoverStopPropagation","description":"","type":["boolean"],"default":"true","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"lang","description":"","type":["string"],"default":"'en'","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"sessionFrom","description":"","type":["string"],"default":"''","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"sendMessageTitle","description":"","type":["string"],"default":"''","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"sendMessagePath","description":"","type":["string"],"default":"''","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"sendMessageImg","description":"","type":["string"],"default":"''","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"showMessageCard","description":"","type":["boolean"],"default":"false","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"dataName","description":"","type":["string"],"default":"''","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"throttleTime","description":"","type":["number"],"default":"0","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"hoverStartTime","description":"","type":["number"],"default":"0","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"hoverStayTime","description":"","type":["number"],"default":"200","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"text","description":"","type":["string"],"default":"''","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"icon","description":"","type":["object"],"default":"{}","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"color","description":"","type":["string"],"default":"''","attribute-value":{"type":"enum"},"values":[{"name":"-"}]},{"name":"stop","description":"","type":["boolean"],"default":"true","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"customStyle","description":"","type":[{"name":"CSSProperties","source":{"symbol":"CSSProperties"}}],"default":"","attribute-value":{"type":"of-match"},"values":[{"name":"-"}]},{"name":"customClass","description":"","type":["string"],"default":"","attribute-value":{"type":"enum"},"values":[{"name":"-"}]}],"slots":[{"name":"default","description":"插入默认的值"}],"js":{"events":[{"name":"click","description":"点击按钮事件"},{"name":"error","description":"仅限微信小程序,当使用开放能力时,发生错误的回调"},{"name":"getphonenumber","description":"微信小程序获取手机号"},{"name":"getuserinfo","description":"微信小程序用户点击该按钮时,会返回获取到的用户信息,从返回参数的 detail 中获取到的值同 uni.getUserInfo"},{"name":"opensetting","description":"仅限微信小程序,在打开授权设置页并关闭后回调"},{"name":"launchapp","description":"仅限微信小程序,打开 APP 成功的回调"},{"name":"agreeprivacyauthorization","description":"仅限微信小程序,用户同意隐私协议事件回调,open-type=\"agreePrivacyAuthorization\"时有效"}]}}]}}}
|