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.
Files changed (93) hide show
  1. package/compiler.ts +108 -0
  2. package/component-helper.ts +5 -3
  3. package/components/hy-button/HyButton.docgen.js +6 -0
  4. package/components/hy-button/hy-button.vue +86 -75
  5. package/components/hy-button/props.ts +40 -41
  6. package/docgen.config.js +1 -2
  7. package/package.json +6 -4
  8. package/web-types.json +1 -1
  9. package/dist/attributes.json +0 -1
  10. package/dist/docs/components/hy-action-sheet/hy-action-sheet.md +0 -41
  11. package/dist/docs/components/hy-address-picker/hy-address-picker.md +0 -25
  12. package/dist/docs/components/hy-avatar/hy-avatar.md +0 -19
  13. package/dist/docs/components/hy-back-top/hy-back-top.md +0 -19
  14. package/dist/docs/components/hy-badge/hy-badge.md +0 -13
  15. package/dist/docs/components/hy-button/hy-button.md +0 -61
  16. package/dist/docs/components/hy-calendar/header.md +0 -17
  17. package/dist/docs/components/hy-calendar/hy-calendar.md +0 -27
  18. package/dist/docs/components/hy-calendar/month.md +0 -38
  19. package/dist/docs/components/hy-card/hy-card.md +0 -24
  20. package/dist/docs/components/hy-cell/hy-cell.md +0 -26
  21. package/dist/docs/components/hy-check-button/hy-check-button.md +0 -14
  22. package/dist/docs/components/hy-checkbox/hy-checkbox.md +0 -21
  23. package/dist/docs/components/hy-code-input/hy-code-input.md +0 -15
  24. package/dist/docs/components/hy-config-provider/hy-config-provider.md +0 -13
  25. package/dist/docs/components/hy-count-down/hy-count-down.md +0 -34
  26. package/dist/docs/components/hy-count-to/hy-count-to.md +0 -31
  27. package/dist/docs/components/hy-datetime-picker/hy-datetime-picker.md +0 -25
  28. package/dist/docs/components/hy-divider/hy-divider.md +0 -13
  29. package/dist/docs/components/hy-dropdown/hy-dropdown.md +0 -13
  30. package/dist/docs/components/hy-dropdown-item/hy-dropdown-item.md +0 -20
  31. package/dist/docs/components/hy-empty/hy-empty.md +0 -20
  32. package/dist/docs/components/hy-float-button/hy-float-button.md +0 -20
  33. package/dist/docs/components/hy-folding-panel/hy-folding-panel.md +0 -24
  34. package/dist/docs/components/hy-form/hy-form.md +0 -29
  35. package/dist/docs/components/hy-grid/hy-grid.md +0 -19
  36. package/dist/docs/components/hy-icon/hy-icon.md +0 -13
  37. package/dist/docs/components/hy-image/hy-image.md +0 -22
  38. package/dist/docs/components/hy-input/hy-input.md +0 -29
  39. package/dist/docs/components/hy-line/hy-line.md +0 -7
  40. package/dist/docs/components/hy-line-progress/hy-line-progress.md +0 -13
  41. package/dist/docs/components/hy-list/hy-list.md +0 -25
  42. package/dist/docs/components/hy-loading/hy-loading.md +0 -14
  43. package/dist/docs/components/hy-login/ThePhoneLogin.md +0 -20
  44. package/dist/docs/components/hy-login/TheUserLogin.md +0 -44
  45. package/dist/docs/components/hy-login/hy-login.md +0 -14
  46. package/dist/docs/components/hy-menu/hy-menu.md +0 -21
  47. package/dist/docs/components/hy-modal/hy-modal.md +0 -23
  48. package/dist/docs/components/hy-navbar/hy-navbar.md +0 -22
  49. package/dist/docs/components/hy-notice-bar/hy-column-notice.md +0 -20
  50. package/dist/docs/components/hy-notice-bar/hy-notice-bar.md +0 -14
  51. package/dist/docs/components/hy-notice-bar/hy-row-notice.md +0 -20
  52. package/dist/docs/components/hy-notify/hy-notify.md +0 -23
  53. package/dist/docs/components/hy-number-step/hy-number-step.md +0 -27
  54. package/dist/docs/components/hy-overlay/hy-overlay.md +0 -19
  55. package/dist/docs/components/hy-pagination/hy-pagination.md +0 -14
  56. package/dist/docs/components/hy-parse/hy-parse.md +0 -46
  57. package/dist/docs/components/hy-parse/node/node.md +0 -7
  58. package/dist/docs/components/hy-picker/hy-picker.md +0 -32
  59. package/dist/docs/components/hy-popover/hy-popover.md +0 -34
  60. package/dist/docs/components/hy-popup/hy-popup.md +0 -22
  61. package/dist/docs/components/hy-price/hy-price.md +0 -13
  62. package/dist/docs/components/hy-qrcode/hy-qrcode.md +0 -15
  63. package/dist/docs/components/hy-radio/hy-radio.md +0 -21
  64. package/dist/docs/components/hy-rate/hy-rate.md +0 -14
  65. package/dist/docs/components/hy-read-more/hy-read-more.md +0 -21
  66. package/dist/docs/components/hy-scroll-list/hy-scroll-list.md +0 -21
  67. package/dist/docs/components/hy-search/hy-search.md +0 -27
  68. package/dist/docs/components/hy-signature/hy-signature.md +0 -45
  69. package/dist/docs/components/hy-slider/hy-slider.md +0 -24
  70. package/dist/docs/components/hy-status-bar/hy-status-bar.md +0 -13
  71. package/dist/docs/components/hy-steps/hy-steps.md +0 -23
  72. package/dist/docs/components/hy-submit-bar/hy-submit-bar.md +0 -21
  73. package/dist/docs/components/hy-subsection/hy-subsection.md +0 -14
  74. package/dist/docs/components/hy-swipe-action/hy-swipe-action.md +0 -29
  75. package/dist/docs/components/hy-swiper/hy-swiper-indicator.md +0 -23
  76. package/dist/docs/components/hy-swiper/hy-swiper.md +0 -22
  77. package/dist/docs/components/hy-switch/hy-switch.md +0 -20
  78. package/dist/docs/components/hy-tabBar/hy-tabBar.md +0 -13
  79. package/dist/docs/components/hy-tabs/hy-tabs.md +0 -27
  80. package/dist/docs/components/hy-tag/hy-tag.md +0 -21
  81. package/dist/docs/components/hy-text/hy-text.md +0 -13
  82. package/dist/docs/components/hy-textarea/hy-textarea.md +0 -19
  83. package/dist/docs/components/hy-toast/hy-toast.md +0 -17
  84. package/dist/docs/components/hy-tooltip/hy-tooltip.md +0 -13
  85. package/dist/docs/components/hy-transition/hy-transition.md +0 -25
  86. package/dist/docs/components/hy-upload/hy-upload.md +0 -25
  87. package/dist/docs/components/hy-warn/hy-warn.md +0 -14
  88. package/dist/docs/components/hy-waterfall/hy-waterfall.md +0 -30
  89. package/dist/docs/components/hy-watermark/hy-watermark.md +0 -7
  90. package/dist/docs/components/message/TheMessage.md +0 -17
  91. package/dist/docs/components/yk-dialog/yk-dialog.md +0 -7
  92. package/dist/tags.json +0 -1
  93. package/dist/web-types.json +0 -1
@@ -1,24 +0,0 @@
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
- ```
@@ -1,29 +0,0 @@
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
- ```
@@ -1,19 +0,0 @@
1
- # hy-grid
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-grid>Default Example Usage</hy-grid>
19
- ```
@@ -1,13 +0,0 @@
1
- # hy-icon
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ---------- | ---------- | ----------- |
7
- | click | |
8
-
9
- ---
10
-
11
- ```vue live
12
- <hy-icon />
13
- ```
@@ -1,22 +0,0 @@
1
- # hy-image
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ---------- | ---------- | ----------- |
7
- | click | |
8
- | error | |
9
- | load | |
10
-
11
- ## Slots
12
-
13
- | Name | Description | Bindings |
14
- | ------- | ----------- | -------- |
15
- | loading | | |
16
- | error | | |
17
-
18
- ---
19
-
20
- ```vue live
21
- <hy-image>Default Example Usage</hy-image>
22
- ```
@@ -1,29 +0,0 @@
1
- # hy-input
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | -------------------- | ---------- | ----------- |
7
- | blur | |
8
- | focus | |
9
- | confirm | |
10
- | keyboardheightchange | |
11
- | nicknamereview | |
12
- | change | |
13
- | update:modelValue | |
14
- | clear | |
15
- | onPrefix | |
16
- | onSuffix | |
17
-
18
- ## Slots
19
-
20
- | Name | Description | Bindings |
21
- | ------ | ----------- | -------- |
22
- | prefix | | |
23
- | suffix | | |
24
-
25
- ---
26
-
27
- ```vue live
28
- <hy-input>Default Example Usage</hy-input>
29
- ```
@@ -1,7 +0,0 @@
1
- # hy-line
2
-
3
- ---
4
-
5
- ```vue live
6
- <hy-line />
7
- ```
@@ -1,13 +0,0 @@
1
- # hy-line-progress
2
-
3
- ## Slots
4
-
5
- | Name | Description | Bindings |
6
- | ------- | ----------- | -------- |
7
- | default | | |
8
-
9
- ---
10
-
11
- ```vue live
12
- <hy-line-progress>Default Example Usage</hy-line-progress>
13
- ```
@@ -1,25 +0,0 @@
1
- # hy-list
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ------------ | ---------- | ----------- |
7
- | scrollButton | |
8
- | click | |
9
-
10
- ## Slots
11
-
12
- | Name | Description | Bindings |
13
- | ---------- | ----------- | -------- |
14
- | default | | |
15
- | content | | <br/> |
16
- | left | | |
17
- | left-list | | |
18
- | right | | |
19
- | right-list | | |
20
-
21
- ---
22
-
23
- ```vue live
24
- <hy-list>Default Example Usage</hy-list>
25
- ```
@@ -1,14 +0,0 @@
1
- # hy-loading
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ----------------- | ---------- | ----------- |
7
- | update:modelValue | |
8
- | change | |
9
-
10
- ---
11
-
12
- ```vue live
13
- <hy-loading />
14
- ```
@@ -1,20 +0,0 @@
1
- # ThePhoneLogin
2
-
3
- ## Props
4
-
5
- | Prop name | Description | Type | Values | Default |
6
- | -------------------- | ----------- | ------ | ------ | ------------- |
7
- | themeColor | | string | - | "" |
8
- | customPhoneValidator | | Record | - | () =&gt; ({}) |
9
-
10
- ## Expose
11
-
12
- ### loginFn
13
-
14
- >
15
-
16
- ---
17
-
18
- ```vue live
19
- <ThePhoneLogin themeColor="Default Example Usage" :customPhoneValidator="Default Example Usage" />
20
- ```
@@ -1,44 +0,0 @@
1
- # TheUserLogin
2
-
3
- ## Props
4
-
5
- | Prop name | Description | Type | Values | Default |
6
- | ------------------- | ----------- | ------- | ------ | ------------- |
7
- | themeColor | | string | - | "" |
8
- | prefix | | string | - | "hy" |
9
- | isShowPwd | | boolean | - | false |
10
- | userPlaceholder | | string | - | "" |
11
- | pwdPlaceholder | | string | - | "" |
12
- | customUserValidator | | Record | - | () =&gt; ({}) |
13
- | customPwdValidator | | Record | - | () =&gt; ({}) |
14
- | userNumValidator | | Record | - | () =&gt; ({}) |
15
- | pwdNumValidator | | Record | - | () =&gt; ({}) |
16
-
17
- ## Events
18
-
19
- | Event name | Properties | Description |
20
- | -------------- | ---------- | ----------- |
21
- | handleHistory | |
22
- | handleCheckbox | |
23
-
24
- ## Expose
25
-
26
- ### loginFn
27
-
28
- >
29
-
30
- ---
31
-
32
- ```vue live
33
- <TheUserLogin
34
- themeColor="Default Example Usage"
35
- prefix="Default Example Usage"
36
- :isShowPwd="true"
37
- userPlaceholder="Default Example Usage"
38
- pwdPlaceholder="Default Example Usage"
39
- :customUserValidator="Default Example Usage"
40
- :customPwdValidator="Default Example Usage"
41
- :userNumValidator="Default Example Usage"
42
- :pwdNumValidator="Default Example Usage"
43
- />
44
- ```
@@ -1,14 +0,0 @@
1
- # hy-login
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | --------------- | ---------- | ----------- |
7
- | login | |
8
- | handleClickMenu | |
9
-
10
- ---
11
-
12
- ```vue live
13
- <hy-login />
14
- ```
@@ -1,21 +0,0 @@
1
- # hy-menu
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 | | |
15
- | default | | |
16
-
17
- ---
18
-
19
- ```vue live
20
- <hy-menu>Default Example Usage</hy-menu>
21
- ```
@@ -1,23 +0,0 @@
1
- # hy-modal
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ----------------- | ---------- | ----------- |
7
- | confirm | |
8
- | cancel | |
9
- | close | |
10
- | update:modelValue | |
11
-
12
- ## Slots
13
-
14
- | Name | Description | Bindings |
15
- | ------------- | ----------- | -------- |
16
- | default | | |
17
- | confirmButton | | |
18
-
19
- ---
20
-
21
- ```vue live
22
- <hy-modal>Default Example Usage</hy-modal>
23
- ```
@@ -1,22 +0,0 @@
1
- # hy-navbar
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ---------- | ---------- | ----------- |
7
- | leftClick | |
8
- | rightClick | |
9
-
10
- ## Slots
11
-
12
- | Name | Description | Bindings |
13
- | ------ | ----------- | -------- |
14
- | left | | |
15
- | center | | |
16
- | right | | |
17
-
18
- ---
19
-
20
- ```vue live
21
- <hy-navbar>Default Example Usage</hy-navbar>
22
- ```
@@ -1,20 +0,0 @@
1
- # hy-column-notice
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
-
16
- ---
17
-
18
- ```vue live
19
- <hy-column-notice>Default Example Usage</hy-column-notice>
20
- ```
@@ -1,14 +0,0 @@
1
- # hy-notice-bar
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ---------- | ---------- | ----------- |
7
- | click | |
8
- | close | |
9
-
10
- ---
11
-
12
- ```vue live
13
- <hy-notice-bar />
14
- ```
@@ -1,20 +0,0 @@
1
- # hy-row-notice
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
-
16
- ---
17
-
18
- ```vue live
19
- <hy-row-notice>Default Example Usage</hy-row-notice>
20
- ```
@@ -1,23 +0,0 @@
1
- # hy-notify
2
-
3
- ## Slots
4
-
5
- | Name | Description | Bindings |
6
- | ---- | ----------- | -------- |
7
- | icon | | |
8
-
9
- ## Expose
10
-
11
- ### show
12
-
13
- >
14
-
15
- ### close
16
-
17
- >
18
-
19
- ---
20
-
21
- ```vue live
22
- <hy-notify>Default Example Usage</hy-notify>
23
- ```
@@ -1,27 +0,0 @@
1
- # hy-number-step
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ----------------- | ---------- | ----------- |
7
- | update:modelValue | |
8
- | focus | |
9
- | blur | |
10
- | overLimit | |
11
- | change | |
12
- | plus | |
13
- | minus | |
14
-
15
- ## Slots
16
-
17
- | Name | Description | Bindings |
18
- | ----- | ----------- | -------- |
19
- | minus | | |
20
- | input | | |
21
- | plus | | |
22
-
23
- ---
24
-
25
- ```vue live
26
- <hy-number-step>Default Example Usage</hy-number-step>
27
- ```
@@ -1,19 +0,0 @@
1
- # hy-overlay
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-overlay>Default Example Usage</hy-overlay>
19
- ```
@@ -1,14 +0,0 @@
1
- # hy-pagination
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ----------------- | ---------- | ----------- |
7
- | change | |
8
- | update:modelValue | |
9
-
10
- ---
11
-
12
- ```vue live
13
- <hy-pagination />
14
- ```
@@ -1,46 +0,0 @@
1
- # hy-parse
2
-
3
- ## Props
4
-
5
- | Prop name | Description | Type | Values | Default |
6
- | -------------- | ----------- | --------------- | ------ | ------- |
7
- | containerStyle | | string | - | '' |
8
- | content | | string | - | '' |
9
- | copyLink | | boolean\|string | - | true |
10
- | domain | | string | - | |
11
- | errorImg | | string | - | '' |
12
- | lazyLoad | | boolean\|string | - | false |
13
- | loadingImg | | string | - | '' |
14
- | pauseVideo | | boolean\|string | - | true |
15
- | previewImg | | boolean\|string | - | true |
16
- | scrollTable | | boolean\|string | - | |
17
- | selectable | | boolean\|string | - | |
18
- | setTitle | | boolean\|string | - | true |
19
- | showImgMenu | | boolean\|string | - | true |
20
- | tagStyle | | object | - | |
21
- | useAnchor | | boolean\|number | - | |
22
-
23
- ## Events
24
-
25
- | Event name | Properties | Description |
26
- | ---------- | ---------- | ----------- |
27
- | load | |
28
- | ready | |
29
- | imgTap | |
30
- | linkTap | |
31
- | play | |
32
- | error | |
33
- | tap | |
34
- | click | |
35
-
36
- ## Slots
37
-
38
- | Name | Description | Bindings |
39
- | ------- | ----------- | -------- |
40
- | default | | |
41
-
42
- ---
43
-
44
- ```vue live
45
- <hy-parse>Default Example Usage</hy-parse>
46
- ```
@@ -1,7 +0,0 @@
1
- # node
2
-
3
- ---
4
-
5
- ```vue live
6
- <node />
7
- ```
@@ -1,32 +0,0 @@
1
- # hy-picker
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ----------------- | ---------- | ----------- |
7
- | update:show | |
8
- | close | |
9
- | cancel | |
10
- | update:modelValue | |
11
- | confirm | |
12
- | change | |
13
-
14
- ## Slots
15
-
16
- | Name | Description | Bindings |
17
- | -------------- | ----------- | -------- |
18
- | default | | |
19
- | toolbar-right | | |
20
- | toolbar-bottom | | |
21
-
22
- ## Expose
23
-
24
- ### setColumnValues
25
-
26
- >
27
-
28
- ---
29
-
30
- ```vue live
31
- <hy-picker>Default Example Usage</hy-picker>
32
- ```
@@ -1,34 +0,0 @@
1
- # hy-popover
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ----------------- | ---------- | ----------- |
7
- | update:modelValue | |
8
- | menuClick | |
9
- | change | |
10
- | open | |
11
- | close | |
12
-
13
- ## Slots
14
-
15
- | Name | Description | Bindings |
16
- | ------- | ----------- | -------- |
17
- | content | | |
18
- | default | | |
19
-
20
- ## Expose
21
-
22
- ### open
23
-
24
- >
25
-
26
- ### close
27
-
28
- >
29
-
30
- ---
31
-
32
- ```vue live
33
- <hy-popover>Default Example Usage</hy-popover>
34
- ```
@@ -1,22 +0,0 @@
1
- # hy-popup
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ----------- | ---------- | ----------- |
7
- | open | |
8
- | close | |
9
- | click | |
10
- | update:show | |
11
-
12
- ## Slots
13
-
14
- | Name | Description | Bindings |
15
- | ------- | ----------- | -------- |
16
- | default | | |
17
-
18
- ---
19
-
20
- ```vue live
21
- <hy-popup>Default Example Usage</hy-popup>
22
- ```
@@ -1,13 +0,0 @@
1
- # hy-price
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ---------- | ---------- | ----------- |
7
- | click | |
8
-
9
- ---
10
-
11
- ```vue live
12
- <hy-price />
13
- ```
@@ -1,15 +0,0 @@
1
- # hy-qrcode
2
-
3
- ## Events
4
-
5
- | Event name | Properties | Description |
6
- | ---------- | ---------- | ----------- |
7
- | result | |
8
- | preview | |
9
- | longPress | |
10
-
11
- ---
12
-
13
- ```vue live
14
- <hy-qrcode />
15
- ```