hy-app 0.2.12 → 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-button/hy-button.vue +141 -36
- package/components/hy-button/props.ts +155 -29
- package/components/hy-button/typing.d.ts +16 -10
- 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/package.json +10 -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
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
|
+
}
|