zartui 0.1.113 → 3.0.1
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/README.md +6 -2
- package/es/badge/Badge.d.ts +66 -0
- package/es/badge/Badge.mjs +95 -0
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +49 -0
- package/es/badge/index.mjs +8 -0
- package/es/badge/style/index.d.ts +1 -0
- package/es/badge/style/index.mjs +2 -0
- package/es/button/Button.d.ts +154 -0
- package/es/button/Button.mjs +166 -0
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +113 -0
- package/es/button/index.mjs +8 -0
- package/es/button/style/index.d.ts +1 -0
- package/es/button/style/index.mjs +5 -0
- package/es/button/types.d.ts +5 -0
- package/es/{style/var.css → button/types.mjs} +0 -0
- package/es/cell/Cell.d.ts +128 -0
- package/es/cell/Cell.mjs +132 -0
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +74 -0
- package/es/cell/index.mjs +8 -0
- package/es/cell/style/index.d.ts +1 -0
- package/es/cell/style/index.mjs +4 -0
- package/es/col/Col.d.ts +38 -0
- package/es/col/Col.mjs +63 -0
- package/es/col/index.css +1 -1
- package/es/col/index.d.ts +31 -0
- package/es/col/index.mjs +8 -0
- package/es/col/style/index.d.ts +1 -0
- package/es/col/style/index.mjs +3 -0
- package/es/composables/on-popup-reopen.d.ts +3 -0
- package/es/composables/on-popup-reopen.mjs +16 -0
- package/es/composables/use-expose.d.ts +1 -0
- package/es/composables/use-expose.mjs +11 -0
- package/es/composables/use-height.d.ts +2 -0
- package/es/composables/use-height.mjs +20 -0
- package/es/composables/use-id.d.ts +1 -0
- package/es/composables/use-id.mjs +13 -0
- package/es/composables/use-lazy-render.d.ts +2 -0
- package/es/composables/use-lazy-render.mjs +17 -0
- package/es/composables/use-lock-scroll.d.ts +2 -0
- package/es/composables/use-lock-scroll.mjs +56 -0
- package/es/composables/use-placeholder.d.ts +3 -0
- package/es/composables/use-placeholder.mjs +14 -0
- package/es/composables/use-refs.d.ts +2 -0
- package/es/composables/use-refs.mjs +20 -0
- package/es/composables/use-route.d.ts +13 -0
- package/es/composables/use-route.mjs +29 -0
- package/es/composables/use-tab-status.d.ts +3 -0
- package/es/composables/use-tab-status.mjs +7 -0
- package/es/composables/use-touch.d.ts +16 -0
- package/es/composables/use-touch.mjs +61 -0
- package/es/composables/use-visibility-change.d.ts +2 -0
- package/es/composables/use-visibility-change.mjs +30 -0
- package/es/config-provider/ConfigProvider.d.ts +47 -0
- package/es/config-provider/ConfigProvider.mjs +64 -0
- package/es/config-provider/index.d.ts +33 -0
- package/es/config-provider/index.mjs +8 -0
- package/es/config-provider/style/index.d.ts +1 -0
- package/es/config-provider/style/index.mjs +1 -0
- package/es/divider/Divider.d.ts +40 -0
- package/es/divider/Divider.mjs +31 -0
- package/es/divider/index.css +1 -1
- package/es/divider/index.d.ts +32 -0
- package/es/divider/index.mjs +8 -0
- package/es/divider/style/index.d.ts +1 -0
- package/es/divider/style/index.mjs +2 -0
- package/es/empty/Empty.d.ts +29 -0
- package/es/empty/Empty.mjs +58 -0
- package/es/empty/Images.d.ts +4 -0
- package/es/empty/Images.mjs +2104 -0
- package/es/empty/index.css +1 -1
- package/es/empty/index.d.ts +24 -0
- package/es/empty/index.mjs +8 -0
- package/es/empty/style/index.d.ts +1 -0
- package/es/empty/style/index.mjs +2 -0
- package/es/icon/Icon.d.ts +45 -0
- package/es/icon/Icon.mjs +59 -0
- package/es/icon/config.d.ts +41 -0
- package/es/icon/config.mjs +139 -0
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +35 -0
- package/es/icon/index.mjs +8 -0
- package/es/icon/style/index.d.ts +1 -0
- package/es/icon/style/index.mjs +3 -0
- package/es/index.d.ts +35 -0
- package/es/index.mjs +105 -0
- package/es/list/List.d.ts +74 -0
- package/es/list/List.mjs +147 -0
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +59 -0
- package/es/list/index.mjs +8 -0
- package/es/list/style/index.d.ts +1 -0
- package/es/list/style/index.mjs +4 -0
- package/es/list/types.d.ts +7 -0
- package/es/{telemetry/index.css → list/types.mjs} +0 -0
- package/es/loading/Loading.d.ts +39 -0
- package/es/loading/Loading.mjs +114 -0
- package/es/loading/index.css +1 -1
- package/es/loading/index.d.ts +31 -0
- package/es/loading/index.mjs +8 -0
- package/es/loading/style/index.d.ts +1 -0
- package/es/loading/style/index.mjs +2 -0
- package/es/locale/index.d.ts +7 -0
- package/es/locale/index.mjs +24 -0
- package/es/locale/lang/en-US.d.ts +62 -0
- package/es/locale/lang/en-US.mjs +64 -0
- package/es/locale/lang/zh-CN.d.ts +62 -0
- package/es/locale/lang/zh-CN.mjs +64 -0
- package/es/locale/style/index.d.ts +1 -0
- package/es/locale/style/index.mjs +1 -0
- package/es/notice-bar/NoticeBar.d.ts +71 -0
- package/es/notice-bar/NoticeBar.mjs +165 -0
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +56 -0
- package/es/notice-bar/index.mjs +8 -0
- package/es/notice-bar/style/index.d.ts +1 -0
- package/es/notice-bar/style/index.mjs +4 -0
- package/es/notice-bar/types.d.ts +7 -0
- package/es/{telemetry/index.less → notice-bar/types.mjs} +0 -0
- package/es/notify/Notify.d.ts +134 -0
- package/es/notify/Notify.mjs +44 -0
- package/es/notify/function-call.d.ts +6 -0
- package/es/notify/function-call.mjs +68 -0
- package/es/notify/index.css +1 -0
- package/es/notify/index.d.ts +99 -0
- package/es/notify/index.mjs +18 -0
- package/es/notify/style/index.d.ts +1 -0
- package/es/notify/style/index.mjs +6 -0
- package/es/notify/types.d.ts +17 -0
- package/{lib/style/var.css → es/notify/types.mjs} +0 -0
- package/es/number-keyboard/NumberKeyboard.d.ts +162 -0
- package/es/number-keyboard/NumberKeyboard.mjs +243 -0
- package/es/number-keyboard/NumberKeyboardKey.d.ts +24 -0
- package/es/number-keyboard/NumberKeyboardKey.mjs +89 -0
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +119 -0
- package/es/number-keyboard/index.mjs +8 -0
- package/es/number-keyboard/style/index.d.ts +1 -0
- package/es/number-keyboard/style/index.mjs +9 -0
- package/es/overlay/Overlay.d.ts +51 -0
- package/es/overlay/Overlay.mjs +47 -0
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.d.ts +40 -0
- package/es/overlay/index.mjs +8 -0
- package/es/overlay/style/index.d.ts +1 -0
- package/es/overlay/style/index.mjs +2 -0
- package/es/password-input/PasswordInput.d.ts +63 -0
- package/es/password-input/PasswordInput.mjs +78 -0
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +49 -0
- package/es/password-input/index.mjs +8 -0
- package/es/password-input/style/index.d.ts +1 -0
- package/es/password-input/style/index.mjs +2 -0
- package/es/popup/Popup.d.ts +165 -0
- package/es/popup/Popup.mjs +205 -0
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +123 -0
- package/es/popup/index.mjs +8 -0
- package/es/popup/shared.d.ts +30 -0
- package/es/popup/shared.mjs +22 -0
- package/es/popup/style/index.d.ts +1 -0
- package/es/popup/style/index.mjs +5 -0
- package/es/popup/types.d.ts +8 -0
- package/{lib/telemetry/index.css → es/popup/types.mjs} +0 -0
- package/es/pull-refresh/PullRefresh.d.ts +75 -0
- package/es/pull-refresh/PullRefresh.mjs +191 -0
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +58 -0
- package/es/pull-refresh/index.mjs +8 -0
- package/es/pull-refresh/style/index.d.ts +1 -0
- package/es/pull-refresh/style/index.mjs +3 -0
- package/es/rate/Rate.d.ts +107 -0
- package/es/rate/Rate.mjs +217 -0
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +80 -0
- package/es/rate/index.mjs +8 -0
- package/es/rate/style/index.d.ts +1 -0
- package/es/rate/style/index.mjs +4 -0
- package/es/row/Row.d.ts +64 -0
- package/es/row/Row.mjs +91 -0
- package/es/row/index.css +1 -1
- package/es/row/index.d.ts +42 -0
- package/es/row/index.mjs +8 -0
- package/es/row/style/index.d.ts +1 -0
- package/es/row/style/index.mjs +2 -0
- package/es/stepper/Stepper.d.ts +181 -0
- package/es/stepper/Stepper.mjs +258 -0
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +132 -0
- package/es/stepper/index.mjs +8 -0
- package/es/stepper/style/index.d.ts +1 -0
- package/es/stepper/style/index.mjs +4 -0
- package/es/sticky/Sticky.d.ts +58 -0
- package/es/sticky/Sticky.mjs +119 -0
- package/es/sticky/index.css +1 -1
- package/es/sticky/index.d.ts +45 -0
- package/es/sticky/index.mjs +8 -0
- package/es/sticky/style/index.d.ts +1 -0
- package/es/sticky/style/index.mjs +2 -0
- package/es/style/animation.css +1 -1
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -0
- package/es/style/normalize.css +1 -1
- package/es/swipe/Swipe.d.ts +121 -0
- package/es/swipe/Swipe.mjs +353 -0
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +90 -0
- package/es/swipe/index.mjs +8 -0
- package/es/swipe/style/index.d.ts +1 -0
- package/es/swipe/style/index.mjs +2 -0
- package/es/swipe/types.d.ts +31 -0
- package/{lib/telemetry/index.less → es/swipe/types.mjs} +0 -0
- package/es/swipe-item/SwipeItem.d.ts +2 -0
- package/es/swipe-item/SwipeItem.mjs +82 -0
- package/es/swipe-item/index.css +1 -1
- package/es/swipe-item/index.d.ts +7 -0
- package/es/swipe-item/index.mjs +8 -0
- package/es/swipe-item/style/index.d.ts +1 -0
- package/es/swipe-item/style/index.mjs +3 -0
- package/es/switch/Switch.d.ts +58 -0
- package/es/switch/Switch.mjs +85 -0
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +46 -0
- package/es/switch/index.mjs +8 -0
- package/es/switch/style/index.d.ts +1 -0
- package/es/switch/style/index.mjs +3 -0
- package/es/tab/Tab.d.ts +58 -0
- package/es/tab/Tab.mjs +113 -0
- package/es/tab/index.css +1 -1
- package/es/tab/index.d.ts +45 -0
- package/es/tab/index.mjs +8 -0
- package/es/tab/style/index.d.ts +1 -0
- package/es/tab/style/index.mjs +7 -0
- package/es/tabs/Tabs.d.ts +154 -0
- package/es/tabs/Tabs.mjs +352 -0
- package/es/tabs/TabsContent.d.ts +43 -0
- package/es/tabs/TabsContent.mjs +64 -0
- package/es/tabs/TabsTitle.d.ts +45 -0
- package/es/tabs/TabsTitle.mjs +90 -0
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +114 -0
- package/es/tabs/index.mjs +8 -0
- package/es/tabs/style/index.d.ts +1 -0
- package/es/tabs/style/index.mjs +5 -0
- package/es/tabs/types.d.ts +23 -0
- package/es/tabs/types.mjs +0 -0
- package/es/tabs/utils.d.ts +3 -0
- package/es/tabs/utils.mjs +37 -0
- package/es/toast/Toast.d.ts +112 -0
- package/es/toast/Toast.mjs +119 -0
- package/es/toast/function-call.d.ts +10 -0
- package/es/toast/function-call.mjs +142 -0
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +79 -0
- package/es/toast/index.mjs +26 -0
- package/es/toast/lock-click.d.ts +1 -0
- package/es/toast/lock-click.mjs +17 -0
- package/es/toast/style/index.d.ts +1 -0
- package/es/toast/style/index.mjs +7 -0
- package/es/toast/types.d.ts +36 -0
- package/es/toast/types.mjs +0 -0
- package/es/utils/basic.d.ts +18 -0
- package/es/utils/basic.mjs +32 -0
- package/es/utils/constant.d.ts +8 -0
- package/es/utils/constant.mjs +18 -0
- package/es/utils/create.d.ts +17 -0
- package/es/utils/create.mjs +50 -0
- package/es/utils/deep-assign.d.ts +3 -0
- package/es/utils/deep-assign.mjs +22 -0
- package/es/utils/deep-clone.d.ts +1 -0
- package/es/utils/deep-clone.mjs +20 -0
- package/es/utils/dom.d.ts +12 -0
- package/es/utils/dom.mjs +67 -0
- package/es/utils/format.d.ts +13 -0
- package/es/utils/format.mjs +120 -0
- package/es/utils/index.d.ts +9 -0
- package/es/utils/index.mjs +9 -0
- package/es/utils/interceptor.d.ts +6 -0
- package/es/utils/interceptor.mjs +29 -0
- package/es/utils/mount-component.d.ts +14 -0
- package/es/utils/mount-component.mjs +39 -0
- package/es/utils/props.d.ts +31 -0
- package/es/utils/props.mjs +36 -0
- package/es/utils/validate.d.ts +9 -0
- package/es/utils/validate.mjs +22 -0
- package/es/utils/with-install.d.ts +13 -0
- package/es/utils/with-install.mjs +12 -0
- package/es/vue-sfc-shim.d.ts +6 -0
- package/es/vue-tsx-shim.d.ts +16 -0
- package/lib/badge/Badge.d.ts +66 -0
- package/lib/badge/Badge.js +114 -0
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +49 -0
- package/lib/badge/index.js +31 -74
- package/lib/badge/style/index.d.ts +1 -0
- package/lib/badge/style/index.js +2 -2
- package/lib/button/Button.d.ts +154 -0
- package/lib/button/Button.js +185 -0
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +113 -0
- package/lib/button/index.js +31 -201
- package/lib/button/style/index.d.ts +1 -0
- package/lib/button/style/index.js +5 -5
- package/lib/button/types.d.ts +5 -0
- package/lib/button/types.js +15 -0
- package/lib/cell/Cell.d.ts +128 -0
- package/lib/cell/Cell.js +151 -0
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +74 -0
- package/lib/cell/index.js +33 -153
- package/lib/cell/style/index.d.ts +1 -0
- package/lib/cell/style/index.js +4 -4
- package/lib/col/Col.d.ts +38 -0
- package/lib/col/Col.js +82 -0
- package/lib/col/index.css +1 -1
- package/lib/col/index.d.ts +31 -0
- package/lib/col/index.js +31 -61
- package/lib/col/style/index.d.ts +1 -0
- package/lib/col/style/index.js +3 -2
- package/lib/composables/on-popup-reopen.d.ts +3 -0
- package/lib/composables/on-popup-reopen.js +35 -0
- package/lib/composables/use-expose.d.ts +1 -0
- package/lib/composables/use-expose.js +30 -0
- package/lib/composables/use-height.d.ts +2 -0
- package/lib/composables/use-height.js +39 -0
- package/lib/composables/use-id.d.ts +1 -0
- package/lib/composables/use-id.js +32 -0
- package/lib/composables/use-lazy-render.d.ts +2 -0
- package/lib/composables/use-lazy-render.js +36 -0
- package/lib/composables/use-lock-scroll.d.ts +2 -0
- package/lib/composables/use-lock-scroll.js +75 -0
- package/lib/composables/use-placeholder.d.ts +3 -0
- package/lib/composables/use-placeholder.js +33 -0
- package/lib/composables/use-refs.d.ts +2 -0
- package/lib/composables/use-refs.js +39 -0
- package/lib/composables/use-route.d.ts +13 -0
- package/lib/composables/use-route.js +46 -0
- package/lib/composables/use-tab-status.d.ts +3 -0
- package/lib/composables/use-tab-status.js +26 -0
- package/lib/composables/use-touch.d.ts +16 -0
- package/lib/composables/use-touch.js +80 -0
- package/lib/composables/use-visibility-change.d.ts +2 -0
- package/lib/composables/use-visibility-change.js +49 -0
- package/lib/config-provider/ConfigProvider.d.ts +47 -0
- package/lib/config-provider/ConfigProvider.js +83 -0
- package/lib/config-provider/index.d.ts +33 -0
- package/lib/config-provider/index.js +33 -0
- package/lib/config-provider/style/index.d.ts +1 -0
- package/lib/config-provider/style/index.js +1 -0
- package/lib/divider/Divider.d.ts +40 -0
- package/lib/divider/Divider.js +50 -0
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.d.ts +32 -0
- package/lib/divider/index.js +31 -55
- package/lib/divider/style/index.d.ts +1 -0
- package/lib/divider/style/index.js +2 -2
- package/lib/empty/Empty.d.ts +29 -0
- package/lib/empty/Empty.js +77 -0
- package/lib/empty/Images.d.ts +4 -0
- package/lib/empty/Images.js +2123 -0
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.d.ts +24 -0
- package/lib/empty/index.js +31 -117
- package/lib/empty/style/index.d.ts +1 -0
- package/lib/empty/style/index.js +2 -2
- package/lib/icon/Icon.d.ts +45 -0
- package/lib/icon/Icon.js +78 -0
- package/lib/icon/config.d.ts +41 -0
- package/lib/icon/config.js +158 -0
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +35 -0
- package/lib/icon/index.js +30 -84
- package/lib/icon/style/index.d.ts +1 -0
- package/lib/icon/style/index.js +3 -3
- package/lib/index.css +1 -1
- package/lib/index.d.ts +35 -0
- package/lib/index.js +119 -332
- package/lib/list/List.d.ts +74 -0
- package/lib/list/List.js +166 -0
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +59 -0
- package/lib/list/index.js +31 -194
- package/lib/list/style/index.d.ts +1 -0
- package/lib/list/style/index.js +4 -4
- package/lib/list/types.d.ts +7 -0
- package/lib/list/types.js +15 -0
- package/lib/loading/Loading.d.ts +39 -0
- package/lib/loading/Loading.js +133 -0
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.d.ts +31 -0
- package/lib/loading/index.js +31 -164
- package/lib/loading/style/index.d.ts +1 -0
- package/lib/loading/style/index.js +2 -2
- package/lib/locale/index.d.ts +7 -0
- package/lib/locale/index.js +44 -33
- package/lib/locale/lang/en-US.d.ts +62 -0
- package/lib/locale/lang/en-US.js +64 -76
- package/lib/locale/lang/zh-CN.d.ts +62 -0
- package/lib/locale/lang/zh-CN.js +64 -109
- package/lib/locale/style/index.d.ts +1 -0
- package/lib/locale/style/index.js +1 -1
- package/lib/notice-bar/NoticeBar.d.ts +71 -0
- package/lib/notice-bar/NoticeBar.js +190 -0
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +56 -0
- package/lib/notice-bar/index.js +31 -295
- package/lib/notice-bar/style/index.d.ts +1 -0
- package/lib/notice-bar/style/index.js +4 -4
- package/lib/notice-bar/types.d.ts +7 -0
- package/lib/notice-bar/types.js +15 -0
- package/lib/notify/Notify.d.ts +134 -0
- package/lib/notify/Notify.js +63 -0
- package/lib/notify/function-call.d.ts +6 -0
- package/lib/notify/function-call.js +93 -0
- package/lib/notify/index.css +1 -0
- package/lib/notify/index.d.ts +99 -0
- package/lib/notify/index.js +38 -0
- package/lib/notify/style/index.d.ts +1 -0
- package/lib/notify/style/index.js +6 -0
- package/lib/notify/types.d.ts +17 -0
- package/lib/notify/types.js +15 -0
- package/lib/number-keyboard/NumberKeyboard.d.ts +162 -0
- package/lib/number-keyboard/NumberKeyboard.js +268 -0
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +24 -0
- package/lib/number-keyboard/NumberKeyboardKey.js +114 -0
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +119 -0
- package/lib/number-keyboard/index.js +31 -283
- package/lib/number-keyboard/style/index.d.ts +1 -0
- package/lib/number-keyboard/style/index.js +9 -3
- package/lib/overlay/Overlay.d.ts +51 -0
- package/lib/overlay/Overlay.js +66 -0
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.d.ts +40 -0
- package/lib/overlay/index.js +31 -65
- package/lib/overlay/style/index.d.ts +1 -0
- package/lib/overlay/style/index.js +2 -2
- package/lib/password-input/PasswordInput.d.ts +63 -0
- package/lib/password-input/PasswordInput.js +97 -0
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +49 -0
- package/lib/password-input/index.js +31 -91
- package/lib/password-input/style/index.d.ts +1 -0
- package/lib/password-input/style/index.js +2 -2
- package/lib/popup/Popup.d.ts +165 -0
- package/lib/popup/Popup.js +224 -0
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +123 -0
- package/lib/popup/index.js +31 -131
- package/lib/popup/shared.d.ts +30 -0
- package/lib/popup/shared.js +41 -0
- package/lib/popup/style/index.d.ts +1 -0
- package/lib/popup/style/index.js +5 -5
- package/lib/popup/types.d.ts +8 -0
- package/lib/popup/types.js +15 -0
- package/lib/pull-refresh/PullRefresh.d.ts +75 -0
- package/lib/pull-refresh/PullRefresh.js +210 -0
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +58 -0
- package/lib/pull-refresh/index.js +31 -235
- package/lib/pull-refresh/style/index.d.ts +1 -0
- package/lib/pull-refresh/style/index.js +3 -3
- package/lib/rate/Rate.d.ts +107 -0
- package/lib/rate/Rate.js +236 -0
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +80 -0
- package/lib/rate/index.js +31 -238
- package/lib/rate/style/index.d.ts +1 -0
- package/lib/rate/style/index.js +4 -4
- package/lib/row/Row.d.ts +64 -0
- package/lib/row/Row.js +110 -0
- package/lib/row/index.css +1 -1
- package/lib/row/index.d.ts +42 -0
- package/lib/row/index.js +31 -91
- package/lib/row/style/index.d.ts +1 -0
- package/lib/row/style/index.js +2 -2
- package/lib/stepper/Stepper.d.ts +181 -0
- package/lib/stepper/Stepper.js +283 -0
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +132 -0
- package/lib/stepper/index.js +31 -365
- package/lib/stepper/style/index.d.ts +1 -0
- package/lib/stepper/style/index.js +4 -2
- package/lib/sticky/Sticky.d.ts +58 -0
- package/lib/sticky/Sticky.js +138 -0
- package/lib/sticky/index.css +1 -1
- package/lib/sticky/index.d.ts +45 -0
- package/lib/sticky/index.js +31 -348
- package/lib/sticky/style/index.d.ts +1 -0
- package/lib/sticky/style/index.js +2 -2
- package/lib/style/animation.css +1 -1
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -0
- package/lib/style/normalize.css +1 -1
- package/lib/swipe/Swipe.d.ts +121 -0
- package/lib/swipe/Swipe.js +372 -0
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +90 -0
- package/lib/swipe/index.js +31 -475
- package/lib/swipe/style/index.d.ts +1 -0
- package/lib/swipe/style/index.js +2 -2
- package/lib/swipe/types.d.ts +31 -0
- package/lib/swipe/types.js +15 -0
- package/lib/swipe-item/SwipeItem.d.ts +2 -0
- package/lib/swipe-item/SwipeItem.js +101 -0
- package/lib/swipe-item/index.css +1 -1
- package/lib/swipe-item/index.d.ts +7 -0
- package/lib/swipe-item/index.js +31 -87
- package/lib/swipe-item/style/index.d.ts +1 -0
- package/lib/swipe-item/style/index.js +3 -2
- package/lib/switch/Switch.d.ts +58 -0
- package/lib/switch/Switch.js +104 -0
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +46 -0
- package/lib/switch/index.js +31 -84
- package/lib/switch/style/index.d.ts +1 -0
- package/lib/switch/style/index.js +3 -3
- package/lib/tab/Tab.d.ts +58 -0
- package/lib/tab/Tab.js +132 -0
- package/lib/tab/index.css +1 -1
- package/lib/tab/index.d.ts +45 -0
- package/lib/tab/index.js +31 -112
- package/lib/tab/style/index.d.ts +1 -0
- package/lib/tab/style/index.js +7 -2
- package/lib/tabs/Tabs.d.ts +154 -0
- package/lib/tabs/Tabs.js +377 -0
- package/lib/tabs/TabsContent.d.ts +43 -0
- package/lib/tabs/TabsContent.js +83 -0
- package/lib/tabs/TabsTitle.d.ts +45 -0
- package/lib/tabs/TabsTitle.js +109 -0
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +114 -0
- package/lib/tabs/index.js +31 -465
- package/lib/tabs/style/index.d.ts +1 -0
- package/lib/tabs/style/index.js +5 -4
- package/lib/tabs/types.d.ts +23 -0
- package/lib/tabs/types.js +15 -0
- package/lib/tabs/utils.d.ts +3 -0
- package/lib/tabs/utils.js +37 -34
- package/lib/toast/Toast.d.ts +112 -0
- package/lib/toast/Toast.js +130 -175
- package/lib/toast/function-call.d.ts +10 -0
- package/lib/toast/function-call.js +167 -0
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +79 -0
- package/lib/toast/index.js +39 -201
- package/lib/toast/lock-click.d.ts +1 -0
- package/lib/toast/lock-click.js +27 -12
- package/lib/toast/style/index.d.ts +1 -0
- package/lib/toast/style/index.js +7 -7
- package/lib/toast/types.d.ts +36 -0
- package/lib/toast/types.js +15 -0
- package/lib/utils/basic.d.ts +18 -0
- package/lib/utils/basic.js +51 -0
- package/lib/utils/constant.d.ts +8 -0
- package/lib/utils/constant.js +37 -26
- package/lib/utils/create.d.ts +17 -0
- package/lib/utils/create.js +75 -0
- package/lib/utils/deep-assign.d.ts +3 -0
- package/lib/utils/deep-assign.js +30 -19
- package/lib/utils/deep-clone.d.ts +1 -0
- package/lib/utils/deep-clone.js +29 -18
- package/lib/utils/dom.d.ts +12 -0
- package/lib/utils/dom.js +86 -0
- package/lib/utils/format.d.ts +13 -0
- package/lib/utils/format.js +139 -0
- package/lib/utils/index.d.ts +9 -0
- package/lib/utils/index.js +24 -108
- package/lib/utils/interceptor.d.ts +6 -0
- package/lib/utils/interceptor.js +38 -18
- package/lib/utils/mount-component.d.ts +14 -0
- package/lib/utils/mount-component.js +58 -0
- package/lib/utils/props.d.ts +31 -0
- package/lib/utils/props.js +55 -0
- package/lib/utils/validate.d.ts +9 -0
- package/lib/utils/validate.js +41 -0
- package/lib/utils/with-install.d.ts +13 -0
- package/lib/utils/with-install.js +31 -0
- package/lib/vue-sfc-shim.d.ts +6 -0
- package/lib/vue-tsx-shim.d.ts +16 -0
- package/lib/web-types.json +3197 -0
- package/lib/zartui.cjs.js +6740 -0
- package/lib/zartui.es.js +6740 -0
- package/lib/zartui.js +6974 -0
- package/lib/zartui.min.js +1 -0
- package/package.json +50 -61
- package/es/action-sheet/index.css +0 -1
- package/es/action-sheet/index.js +0 -185
- package/es/action-sheet/index.less +0 -132
- package/es/action-sheet/style/index.js +0 -7
- package/es/action-sheet/style/less.js +0 -7
- package/es/area/index.js +0 -321
- package/es/area/style/index.js +0 -7
- package/es/area/style/less.js +0 -7
- package/es/avatar/index.css +0 -1
- package/es/avatar/index.js +0 -102
- package/es/avatar/index.less +0 -40
- package/es/avatar/local.css +0 -1
- package/es/avatar/local.less +0 -1
- package/es/avatar/style/index.js +0 -2
- package/es/avatar/style/less.js +0 -2
- package/es/back-top/index.css +0 -1
- package/es/back-top/index.js +0 -206
- package/es/back-top/index.less +0 -21
- package/es/back-top/style/index.js +0 -2
- package/es/back-top/style/less.js +0 -2
- package/es/badge/index.js +0 -68
- package/es/badge/index.less +0 -38
- package/es/badge/style/index.js +0 -2
- package/es/badge/style/less.js +0 -2
- package/es/button/index.js +0 -184
- package/es/button/index.less +0 -206
- package/es/button/style/index.js +0 -5
- package/es/button/style/less.js +0 -5
- package/es/calendar/components/Header.js +0 -62
- package/es/calendar/components/Month.js +0 -339
- package/es/calendar/index.css +0 -1
- package/es/calendar/index.js +0 -542
- package/es/calendar/index.less +0 -251
- package/es/calendar/style/index.js +0 -9
- package/es/calendar/style/less.js +0 -9
- package/es/calendar/utils.js +0 -66
- package/es/cascader/index.css +0 -1
- package/es/cascader/index.js +0 -286
- package/es/cascader/index.less +0 -87
- package/es/cascader/style/index.js +0 -8
- package/es/cascader/style/less.js +0 -8
- package/es/cell/index.js +0 -137
- package/es/cell/index.less +0 -107
- package/es/cell/shared.js +0 -29
- package/es/cell/style/index.js +0 -4
- package/es/cell/style/less.js +0 -4
- package/es/cell-group/index.css +0 -1
- package/es/cell-group/index.js +0 -41
- package/es/cell-group/index.less +0 -22
- package/es/cell-group/style/index.js +0 -2
- package/es/cell-group/style/less.js +0 -2
- package/es/checkbox/index.css +0 -1
- package/es/checkbox/index.js +0 -80
- package/es/checkbox/index.less +0 -93
- package/es/checkbox/style/index.js +0 -4
- package/es/checkbox/style/less.js +0 -4
- package/es/checkbox-group/index.css +0 -1
- package/es/checkbox-group/index.js +0 -64
- package/es/checkbox-group/index.less +0 -8
- package/es/checkbox-group/style/index.js +0 -2
- package/es/checkbox-group/style/less.js +0 -2
- package/es/col/index.js +0 -55
- package/es/col/index.less +0 -20
- package/es/col/style/index.js +0 -2
- package/es/col/style/less.js +0 -2
- package/es/collapse/index.js +0 -32
- package/es/collapse/style/index.js +0 -1
- package/es/collapse/style/less.js +0 -1
- package/es/collapse-item/index.css +0 -1
- package/es/collapse-item/index.js +0 -211
- package/es/collapse-item/index.less +0 -87
- package/es/collapse-item/style/index.js +0 -5
- package/es/collapse-item/style/less.js +0 -5
- package/es/count-down/index.css +0 -1
- package/es/count-down/index.js +0 -163
- package/es/count-down/index.less +0 -8
- package/es/count-down/style/index.js +0 -2
- package/es/count-down/style/less.js +0 -2
- package/es/count-down/utils.js +0 -67
- package/es/datetime-picker/DatePicker.js +0 -315
- package/es/datetime-picker/TimePicker.js +0 -140
- package/es/datetime-picker/index.js +0 -29
- package/es/datetime-picker/shared.js +0 -162
- package/es/datetime-picker/style/index.js +0 -7
- package/es/datetime-picker/style/less.js +0 -7
- package/es/datetime-picker/utils.js +0 -29
- package/es/dialog/Dialog.js +0 -210
- package/es/dialog/index.css +0 -1
- package/es/dialog/index.js +0 -109
- package/es/dialog/index.less +0 -133
- package/es/dialog/style/index.js +0 -8
- package/es/dialog/style/less.js +0 -8
- package/es/divider/index.js +0 -45
- package/es/divider/index.less +0 -64
- package/es/divider/style/index.js +0 -2
- package/es/divider/style/less.js +0 -2
- package/es/dropdown-item/index.css +0 -1
- package/es/dropdown-item/index.js +0 -346
- package/es/dropdown-item/index.less +0 -84
- package/es/dropdown-item/style/index.js +0 -8
- package/es/dropdown-item/style/less.js +0 -8
- package/es/dropdown-menu/index.css +0 -1
- package/es/dropdown-menu/index.js +0 -139
- package/es/dropdown-menu/index.less +0 -85
- package/es/dropdown-menu/style/index.js +0 -4
- package/es/dropdown-menu/style/less.js +0 -4
- package/es/empty/Developing.js +0 -1643
- package/es/empty/Error.js +0 -484
- package/es/empty/NotFound.js +0 -645
- package/es/empty/NotRight.js +0 -395
- package/es/empty/Search.js +0 -336
- package/es/empty/index.js +0 -105
- package/es/empty/index.less +0 -40
- package/es/empty/style/index.js +0 -2
- package/es/empty/style/less.js +0 -2
- package/es/field/ClearIcon.js +0 -23
- package/es/field/SearchIcon.js +0 -18
- package/es/field/index.css +0 -1
- package/es/field/index.js +0 -705
- package/es/field/index.less +0 -231
- package/es/field/style/index.js +0 -5
- package/es/field/style/less.js +0 -5
- package/es/fold-dialog/index.css +0 -1
- package/es/fold-dialog/index.js +0 -144
- package/es/fold-dialog/index.less +0 -26
- package/es/fold-dialog/style/index.js +0 -2
- package/es/fold-dialog/style/less.js +0 -2
- package/es/form/index.js +0 -200
- package/es/form/style/index.js +0 -1
- package/es/form/style/less.js +0 -1
- package/es/grid/index.css +0 -1
- package/es/grid/index.js +0 -50
- package/es/grid/index.less +0 -6
- package/es/grid/style/index.js +0 -2
- package/es/grid/style/less.js +0 -2
- package/es/grid-item/index.css +0 -1
- package/es/grid-item/index.js +0 -163
- package/es/grid-item/index.less +0 -79
- package/es/grid-item/style/index.js +0 -4
- package/es/grid-item/style/less.js +0 -4
- package/es/hierarchy-select/breadcrumb.js +0 -75
- package/es/hierarchy-select/hierarchySelect.js +0 -162
- package/es/hierarchy-select/index.css +0 -1
- package/es/hierarchy-select/index.js +0 -142
- package/es/hierarchy-select/index.less +0 -239
- package/es/hierarchy-select/markList.js +0 -242
- package/es/hierarchy-select/style/index.js +0 -8
- package/es/hierarchy-select/style/less.js +0 -8
- package/es/hierarchy-select/svg/SubIcon.js +0 -50
- package/es/icon/index.js +0 -74
- package/es/icon/index.less +0 -10
- package/es/icon/local.css +0 -1
- package/es/icon/local.less +0 -1
- package/es/icon/style/index.js +0 -3
- package/es/icon/style/less.js +0 -3
- package/es/image/index.css +0 -1
- package/es/image/index.js +0 -189
- package/es/image/index.less +0 -47
- package/es/image/style/index.js +0 -4
- package/es/image/style/less.js +0 -4
- package/es/image-preview/ImagePreview.js +0 -237
- package/es/image-preview/ImagePreviewItem.js +0 -242
- package/es/image-preview/index.css +0 -1
- package/es/image-preview/index.js +0 -87
- package/es/image-preview/index.less +0 -121
- package/es/image-preview/shared.js +0 -7
- package/es/image-preview/style/index.js +0 -10
- package/es/image-preview/style/less.js +0 -10
- package/es/index-anchor/index.css +0 -1
- package/es/index-anchor/index.js +0 -83
- package/es/index-anchor/index.less +0 -34
- package/es/index-anchor/style/index.js +0 -2
- package/es/index-anchor/style/less.js +0 -2
- package/es/index-bar/IndexIndicate.js +0 -41
- package/es/index-bar/index.css +0 -1
- package/es/index-bar/index.js +0 -256
- package/es/index-bar/index.less +0 -68
- package/es/index-bar/style/index.js +0 -2
- package/es/index-bar/style/less.js +0 -2
- package/es/index.js +0 -99
- package/es/info/index.css +0 -1
- package/es/info/index.js +0 -30
- package/es/info/index.less +0 -29
- package/es/info/style/index.js +0 -2
- package/es/info/style/less.js +0 -2
- package/es/lazyload/index.js +0 -2
- package/es/lazyload/style/index.js +0 -1
- package/es/lazyload/style/less.js +0 -1
- package/es/list/index.js +0 -182
- package/es/list/index.less +0 -17
- package/es/list/style/index.js +0 -4
- package/es/list/style/less.js +0 -4
- package/es/loading/index.js +0 -154
- package/es/loading/index.less +0 -117
- package/es/loading/style/index.js +0 -2
- package/es/loading/style/less.js +0 -2
- package/es/locale/index.js +0 -27
- package/es/locale/lang/de-DE-formal.js +0 -90
- package/es/locale/lang/de-DE.js +0 -90
- package/es/locale/lang/en-US.js +0 -90
- package/es/locale/lang/es-ES.js +0 -90
- package/es/locale/lang/fr-FR.js +0 -90
- package/es/locale/lang/ja-JP.js +0 -91
- package/es/locale/lang/nb-NO.js +0 -90
- package/es/locale/lang/ro-RO.js +0 -90
- package/es/locale/lang/th-TH.js +0 -91
- package/es/locale/lang/tr-TR.js +0 -90
- package/es/locale/lang/zh-CN.js +0 -123
- package/es/locale/lang/zh-HK.js +0 -91
- package/es/locale/lang/zh-TW.js +0 -91
- package/es/locale/style/index.js +0 -1
- package/es/locale/style/less.js +0 -1
- package/es/media-picker/image/DefaultAudioIcon.js +0 -133
- package/es/media-picker/image/DefaultFileIcon.js +0 -116
- package/es/media-picker/image/DefaultVideoIcon.js +0 -169
- package/es/media-picker/image/DeleteIcon.js +0 -41
- package/es/media-picker/image/PickFileIcon.js +0 -41
- package/es/media-picker/image/PickPhotoIcon.js +0 -41
- package/es/media-picker/image/TakeAudioIcon.js +0 -41
- package/es/media-picker/image/TakePhotoIcon.js +0 -41
- package/es/media-picker/image/TakeVideoIcon.js +0 -41
- package/es/media-picker/index.css +0 -1
- package/es/media-picker/index.js +0 -992
- package/es/media-picker/index.less +0 -148
- package/es/media-picker/media-util.js +0 -37
- package/es/media-picker/style/index.js +0 -12
- package/es/media-picker/style/less.js +0 -12
- package/es/media-picker/type.js +0 -24
- package/es/media-player/index.css +0 -1
- package/es/media-player/index.js +0 -149
- package/es/media-player/index.less +0 -14
- package/es/media-player/style/index.js +0 -9
- package/es/media-player/style/less.js +0 -9
- package/es/mixins/bind-event.js +0 -29
- package/es/mixins/checkbox.js +0 -166
- package/es/mixins/click-outside.js +0 -33
- package/es/mixins/close-on-popstate.js +0 -38
- package/es/mixins/field.js +0 -24
- package/es/mixins/popup/context.js +0 -18
- package/es/mixins/popup/index.js +0 -220
- package/es/mixins/popup/overlay.js +0 -77
- package/es/mixins/popup/type.js +0 -1
- package/es/mixins/portal.js +0 -48
- package/es/mixins/relation.js +0 -76
- package/es/mixins/slots.js +0 -23
- package/es/mixins/telemetry.js +0 -11
- package/es/mixins/touch.js +0 -59
- package/es/multiple-picker/MultiplePickerOptions.js +0 -167
- package/es/multiple-picker/index.css +0 -1
- package/es/multiple-picker/index.js +0 -234
- package/es/multiple-picker/index.less +0 -135
- package/es/multiple-picker/shared.js +0 -26
- package/es/multiple-picker/style/index.js +0 -7
- package/es/multiple-picker/style/less.js +0 -7
- package/es/nav-bar/index.css +0 -1
- package/es/nav-bar/index.js +0 -144
- package/es/nav-bar/index.less +0 -74
- package/es/nav-bar/style/index.js +0 -4
- package/es/nav-bar/style/less.js +0 -4
- package/es/notice-bar/CloseIcon.js +0 -34
- package/es/notice-bar/MenuIcon.js +0 -35
- package/es/notice-bar/NoticeIcon.js +0 -35
- package/es/notice-bar/OpenIcon.js +0 -37
- package/es/notice-bar/TipIcon.js +0 -35
- package/es/notice-bar/WarningIcon.js +0 -35
- package/es/notice-bar/index.js +0 -279
- package/es/notice-bar/index.less +0 -66
- package/es/notice-bar/style/index.js +0 -4
- package/es/notice-bar/style/less.js +0 -4
- package/es/number-keyboard/CollapseIcon.js +0 -16
- package/es/number-keyboard/DeleteIcon.js +0 -16
- package/es/number-keyboard/Key.js +0 -100
- package/es/number-keyboard/index.js +0 -272
- package/es/number-keyboard/index.less +0 -144
- package/es/number-keyboard/style/index.js +0 -3
- package/es/number-keyboard/style/less.js +0 -3
- package/es/overlay/index.js +0 -53
- package/es/overlay/index.less +0 -11
- package/es/overlay/style/index.js +0 -2
- package/es/overlay/style/less.js +0 -2
- package/es/password-input/index.js +0 -80
- package/es/password-input/index.less +0 -83
- package/es/password-input/style/index.js +0 -2
- package/es/password-input/style/less.js +0 -2
- package/es/pdf-viewer/index.css +0 -1
- package/es/pdf-viewer/index.js +0 -444
- package/es/pdf-viewer/index.less +0 -69
- package/es/pdf-viewer/style/index.js +0 -9
- package/es/pdf-viewer/style/less.js +0 -9
- package/es/picker/PickerColumn.js +0 -306
- package/es/picker/index.css +0 -1
- package/es/picker/index.js +0 -450
- package/es/picker/index.less +0 -155
- package/es/picker/shared.js +0 -34
- package/es/picker/style/index.js +0 -7
- package/es/picker/style/less.js +0 -7
- package/es/popover/index.css +0 -1
- package/es/popover/index.js +0 -211
- package/es/popover/index.less +0 -270
- package/es/popover/style/index.js +0 -6
- package/es/popover/style/less.js +0 -6
- package/es/popup/index.js +0 -122
- package/es/popup/index.less +0 -137
- package/es/popup/style/index.js +0 -5
- package/es/popup/style/less.js +0 -5
- package/es/pull-refresh/index.js +0 -223
- package/es/pull-refresh/index.less +0 -25
- package/es/pull-refresh/style/index.js +0 -3
- package/es/pull-refresh/style/less.js +0 -3
- package/es/radio/index.css +0 -1
- package/es/radio/index.js +0 -32
- package/es/radio/index.less +0 -104
- package/es/radio/style/index.js +0 -4
- package/es/radio/style/less.js +0 -4
- package/es/radio-group/index.css +0 -1
- package/es/radio-group/index.js +0 -32
- package/es/radio-group/index.less +0 -8
- package/es/radio-group/style/index.js +0 -2
- package/es/radio-group/style/less.js +0 -2
- package/es/rate/index.js +0 -227
- package/es/rate/index.less +0 -47
- package/es/rate/style/index.js +0 -4
- package/es/rate/style/less.js +0 -4
- package/es/row/index.js +0 -85
- package/es/row/index.less +0 -42
- package/es/row/style/index.js +0 -2
- package/es/row/style/less.js +0 -2
- package/es/search/index.css +0 -1
- package/es/search/index.js +0 -117
- package/es/search/index.less +0 -89
- package/es/search/style/index.js +0 -6
- package/es/search/style/less.js +0 -6
- package/es/signature/bezier.js +0 -82
- package/es/signature/force-landscape.js +0 -97
- package/es/signature/index.css +0 -1
- package/es/signature/index.js +0 -283
- package/es/signature/index.less +0 -50
- package/es/signature/point.js +0 -29
- package/es/signature/style/index.js +0 -9
- package/es/signature/style/less.js +0 -9
- package/es/signature/throttle.js +0 -55
- package/es/skeleton/index.css +0 -1
- package/es/skeleton/index.js +0 -132
- package/es/skeleton/index.less +0 -85
- package/es/skeleton/style/index.js +0 -2
- package/es/skeleton/style/less.js +0 -2
- package/es/slider/index.css +0 -1
- package/es/slider/index.js +0 -340
- package/es/slider/index.less +0 -108
- package/es/slider/style/index.js +0 -2
- package/es/slider/style/less.js +0 -2
- package/es/step/index.css +0 -1
- package/es/step/index.js +0 -123
- package/es/step/index.less +0 -103
- package/es/step/style/index.js +0 -4
- package/es/step/style/less.js +0 -4
- package/es/stepper/index.js +0 -353
- package/es/stepper/index.less +0 -124
- package/es/stepper/style/index.js +0 -2
- package/es/stepper/style/less.js +0 -2
- package/es/steps/index.css +0 -1
- package/es/steps/index.js +0 -36
- package/es/steps/index.less +0 -23
- package/es/steps/style/index.js +0 -2
- package/es/steps/style/less.js +0 -2
- package/es/sticky/index.js +0 -338
- package/es/sticky/index.less +0 -14
- package/es/sticky/style/index.js +0 -2
- package/es/sticky/style/less.js +0 -2
- package/es/style/animation.less +0 -139
- package/es/style/base.less +0 -11
- package/es/style/clearfix.css +0 -1
- package/es/style/clearfix.less +0 -5
- package/es/style/ellipsis.css +0 -1
- package/es/style/ellipsis.less +0 -13
- package/es/style/hairline.css +0 -1
- package/es/style/hairline.less +0 -47
- package/es/style/halfPxBorder.css +0 -1
- package/es/style/halfPxBorder.less +0 -78
- package/es/style/mixins/clearfix.less +0 -7
- package/es/style/mixins/ellipsis.less +0 -15
- package/es/style/mixins/hairline.less +0 -70
- package/es/style/normalize.less +0 -38
- package/es/style/reset.css +0 -1
- package/es/style/reset.less +0 -171
- package/es/style/var.less +0 -1039
- package/es/swipe/index.js +0 -463
- package/es/swipe/index.less +0 -72
- package/es/swipe/style/index.js +0 -2
- package/es/swipe/style/less.js +0 -2
- package/es/swipe-cell/index.css +0 -1
- package/es/swipe-cell/index.js +0 -220
- package/es/swipe-cell/index.less +0 -29
- package/es/swipe-cell/style/index.js +0 -2
- package/es/swipe-cell/style/less.js +0 -2
- package/es/swipe-item/index.js +0 -78
- package/es/swipe-item/index.less +0 -8
- package/es/swipe-item/style/index.js +0 -2
- package/es/swipe-item/style/less.js +0 -2
- package/es/switch/index.js +0 -74
- package/es/switch/index.less +0 -56
- package/es/switch/shared.js +0 -19
- package/es/switch/style/index.js +0 -3
- package/es/switch/style/less.js +0 -3
- package/es/switch-cell/index.css +0 -1
- package/es/switch-cell/index.js +0 -46
- package/es/switch-cell/index.less +0 -15
- package/es/switch-cell/style/index.js +0 -7
- package/es/switch-cell/style/less.js +0 -7
- package/es/tab/index.js +0 -102
- package/es/tab/index.less +0 -17
- package/es/tab/style/index.js +0 -2
- package/es/tab/style/less.js +0 -2
- package/es/tabbar/index.css +0 -1
- package/es/tabbar/index.js +0 -113
- package/es/tabbar/index.less +0 -22
- package/es/tabbar/style/index.js +0 -2
- package/es/tabbar/style/less.js +0 -2
- package/es/tabbar-item/index.css +0 -1
- package/es/tabbar-item/index.js +0 -116
- package/es/tabbar-item/index.less +0 -46
- package/es/tabbar-item/style/index.js +0 -4
- package/es/tabbar-item/style/less.js +0 -4
- package/es/table/index.css +0 -1
- package/es/table/index.js +0 -124
- package/es/table/index.less +0 -53
- package/es/table/style/index.js +0 -2
- package/es/table/style/less.js +0 -2
- package/es/tabs/Content.js +0 -78
- package/es/tabs/Title.js +0 -92
- package/es/tabs/index.js +0 -445
- package/es/tabs/index.less +0 -156
- package/es/tabs/style/index.js +0 -4
- package/es/tabs/style/less.js +0 -4
- package/es/tabs/utils.js +0 -43
- package/es/tag/index.css +0 -1
- package/es/tag/index.js +0 -79
- package/es/tag/index.less +0 -99
- package/es/tag/style/index.js +0 -4
- package/es/tag/style/less.js +0 -4
- package/es/telemetry/index.js +0 -53
- package/es/timeline/index.css +0 -1
- package/es/timeline/index.js +0 -210
- package/es/timeline/index.less +0 -130
- package/es/timeline/style/index.js +0 -4
- package/es/timeline/style/less.js +0 -4
- package/es/toast/Toast.js +0 -168
- package/es/toast/index.js +0 -193
- package/es/toast/index.less +0 -82
- package/es/toast/lock-click.js +0 -16
- package/es/toast/style/index.js +0 -7
- package/es/toast/style/less.js +0 -7
- package/es/toast/svg/SuccessIcon.js +0 -35
- package/es/toast/svg/WarnIcon.js +0 -34
- package/es/uploader/index.css +0 -1
- package/es/uploader/index.js +0 -559
- package/es/uploader/index.less +0 -163
- package/es/uploader/style/index.js +0 -11
- package/es/uploader/style/less.js +0 -11
- package/es/uploader/utils.js +0 -66
- package/es/utils/constant.js +0 -12
- package/es/utils/create/bem.js +0 -39
- package/es/utils/create/component.js +0 -62
- package/es/utils/create/i18n.js +0 -16
- package/es/utils/create/index.js +0 -7
- package/es/utils/deep-assign.js +0 -24
- package/es/utils/deep-clone.js +0 -22
- package/es/utils/device.js +0 -8
- package/es/utils/dom/event.js +0 -48
- package/es/utils/dom/node.js +0 -7
- package/es/utils/dom/raf.js +0 -36
- package/es/utils/dom/reset-scroll.js +0 -14
- package/es/utils/dom/scroll.js +0 -69
- package/es/utils/dom/style.js +0 -9
- package/es/utils/easings.js +0 -12
- package/es/utils/format/date-util.js +0 -690
- package/es/utils/format/number.js +0 -52
- package/es/utils/format/string.js +0 -19
- package/es/utils/format/unit.js +0 -59
- package/es/utils/functional.js +0 -56
- package/es/utils/getScroll.js +0 -27
- package/es/utils/index.js +0 -78
- package/es/utils/interceptor.js +0 -22
- package/es/utils/media/image-util.js +0 -138
- package/es/utils/raf.js +0 -58
- package/es/utils/router.js +0 -35
- package/es/utils/scrollTo.js +0 -42
- package/es/utils/types.js +0 -1
- package/es/utils/validate/date.js +0 -4
- package/es/utils/validate/email.js +0 -5
- package/es/utils/validate/mobile.js +0 -4
- package/es/utils/validate/number.js +0 -11
- package/es/utils/validate/system.js +0 -9
- package/es/utils/vnodes.js +0 -36
- package/lib/a037f57fc4d92a8a1f1e.worker.js +0 -60600
- package/lib/action-sheet/index.css +0 -1
- package/lib/action-sheet/index.js +0 -203
- package/lib/action-sheet/index.less +0 -132
- package/lib/action-sheet/style/index.js +0 -7
- package/lib/action-sheet/style/less.js +0 -7
- package/lib/area/index.js +0 -331
- package/lib/area/style/index.js +0 -7
- package/lib/area/style/less.js +0 -7
- package/lib/avatar/index.css +0 -1
- package/lib/avatar/index.js +0 -109
- package/lib/avatar/index.less +0 -40
- package/lib/avatar/local.css +0 -1
- package/lib/avatar/local.less +0 -1
- package/lib/avatar/style/index.js +0 -2
- package/lib/avatar/style/less.js +0 -2
- package/lib/b7cf90b4775181215df7.worker.js +0 -10
- package/lib/back-top/index.css +0 -1
- package/lib/back-top/index.js +0 -218
- package/lib/back-top/index.less +0 -21
- package/lib/back-top/style/index.js +0 -2
- package/lib/back-top/style/less.js +0 -2
- package/lib/badge/index.less +0 -38
- package/lib/badge/style/less.js +0 -2
- package/lib/button/index.less +0 -206
- package/lib/button/style/less.js +0 -5
- package/lib/calendar/components/Header.js +0 -70
- package/lib/calendar/components/Month.js +0 -349
- package/lib/calendar/index.css +0 -1
- package/lib/calendar/index.js +0 -560
- package/lib/calendar/index.less +0 -251
- package/lib/calendar/style/index.js +0 -9
- package/lib/calendar/style/less.js +0 -9
- package/lib/calendar/utils.js +0 -91
- package/lib/cascader/index.css +0 -1
- package/lib/cascader/index.js +0 -299
- package/lib/cascader/index.less +0 -87
- package/lib/cascader/style/index.js +0 -8
- package/lib/cascader/style/less.js +0 -8
- package/lib/cell/index.less +0 -107
- package/lib/cell/shared.js +0 -34
- package/lib/cell/style/less.js +0 -4
- package/lib/cell-group/index.css +0 -1
- package/lib/cell-group/index.js +0 -54
- package/lib/cell-group/index.less +0 -22
- package/lib/cell-group/style/index.js +0 -2
- package/lib/cell-group/style/less.js +0 -2
- package/lib/checkbox/index.css +0 -1
- package/lib/checkbox/index.js +0 -88
- package/lib/checkbox/index.less +0 -93
- package/lib/checkbox/style/index.js +0 -4
- package/lib/checkbox/style/less.js +0 -4
- package/lib/checkbox-group/index.css +0 -1
- package/lib/checkbox-group/index.js +0 -73
- package/lib/checkbox-group/index.less +0 -8
- package/lib/checkbox-group/style/index.js +0 -2
- package/lib/checkbox-group/style/less.js +0 -2
- package/lib/col/index.less +0 -20
- package/lib/col/style/less.js +0 -2
- package/lib/collapse/index.js +0 -40
- package/lib/collapse/style/index.js +0 -1
- package/lib/collapse/style/less.js +0 -1
- package/lib/collapse-item/index.css +0 -1
- package/lib/collapse-item/index.js +0 -226
- package/lib/collapse-item/index.less +0 -87
- package/lib/collapse-item/style/index.js +0 -5
- package/lib/collapse-item/style/less.js +0 -5
- package/lib/count-down/index.css +0 -1
- package/lib/count-down/index.js +0 -172
- package/lib/count-down/index.less +0 -8
- package/lib/count-down/style/index.js +0 -2
- package/lib/count-down/style/less.js +0 -2
- package/lib/count-down/utils.js +0 -78
- package/lib/datetime-picker/DatePicker.js +0 -331
- package/lib/datetime-picker/TimePicker.js +0 -153
- package/lib/datetime-picker/index.js +0 -41
- package/lib/datetime-picker/shared.js +0 -177
- package/lib/datetime-picker/style/index.js +0 -7
- package/lib/datetime-picker/style/less.js +0 -7
- package/lib/datetime-picker/utils.js +0 -39
- package/lib/dialog/Dialog.js +0 -223
- package/lib/dialog/index.css +0 -1
- package/lib/dialog/index.js +0 -121
- package/lib/dialog/index.less +0 -133
- package/lib/dialog/style/index.js +0 -8
- package/lib/dialog/style/less.js +0 -8
- package/lib/divider/index.less +0 -64
- package/lib/divider/style/less.js +0 -2
- package/lib/dropdown-item/index.css +0 -1
- package/lib/dropdown-item/index.js +0 -362
- package/lib/dropdown-item/index.less +0 -84
- package/lib/dropdown-item/style/index.js +0 -8
- package/lib/dropdown-item/style/less.js +0 -8
- package/lib/dropdown-menu/index.css +0 -1
- package/lib/dropdown-menu/index.js +0 -152
- package/lib/dropdown-menu/index.less +0 -85
- package/lib/dropdown-menu/style/index.js +0 -4
- package/lib/dropdown-menu/style/less.js +0 -4
- package/lib/empty/Developing.js +0 -1648
- package/lib/empty/Error.js +0 -489
- package/lib/empty/NotFound.js +0 -650
- package/lib/empty/NotRight.js +0 -400
- package/lib/empty/Search.js +0 -341
- package/lib/empty/index.less +0 -40
- package/lib/empty/style/less.js +0 -2
- package/lib/field/ClearIcon.js +0 -28
- package/lib/field/SearchIcon.js +0 -23
- package/lib/field/index.css +0 -1
- package/lib/field/index.js +0 -723
- package/lib/field/index.less +0 -231
- package/lib/field/style/index.js +0 -5
- package/lib/field/style/less.js +0 -5
- package/lib/fold-dialog/index.css +0 -1
- package/lib/fold-dialog/index.js +0 -151
- package/lib/fold-dialog/index.less +0 -26
- package/lib/fold-dialog/style/index.js +0 -2
- package/lib/fold-dialog/style/less.js +0 -2
- package/lib/form/index.js +0 -208
- package/lib/form/style/index.js +0 -1
- package/lib/form/style/less.js +0 -1
- package/lib/grid/index.css +0 -1
- package/lib/grid/index.js +0 -59
- package/lib/grid/index.less +0 -6
- package/lib/grid/style/index.js +0 -2
- package/lib/grid/style/less.js +0 -2
- package/lib/grid-item/index.css +0 -1
- package/lib/grid-item/index.js +0 -178
- package/lib/grid-item/index.less +0 -79
- package/lib/grid-item/style/index.js +0 -4
- package/lib/grid-item/style/less.js +0 -4
- package/lib/hierarchy-select/breadcrumb.js +0 -85
- package/lib/hierarchy-select/hierarchySelect.js +0 -177
- package/lib/hierarchy-select/index.css +0 -1
- package/lib/hierarchy-select/index.js +0 -155
- package/lib/hierarchy-select/index.less +0 -239
- package/lib/hierarchy-select/markList.js +0 -254
- package/lib/hierarchy-select/style/index.js +0 -8
- package/lib/hierarchy-select/style/less.js +0 -8
- package/lib/hierarchy-select/svg/SubIcon.js +0 -55
- package/lib/icon/index.less +0 -10
- package/lib/icon/local.css +0 -1
- package/lib/icon/local.less +0 -1
- package/lib/icon/style/less.js +0 -3
- package/lib/image/index.css +0 -1
- package/lib/image/index.js +0 -199
- package/lib/image/index.less +0 -47
- package/lib/image/style/index.js +0 -4
- package/lib/image/style/less.js +0 -4
- package/lib/image-preview/ImagePreview.js +0 -253
- package/lib/image-preview/ImagePreviewItem.js +0 -256
- package/lib/image-preview/index.css +0 -1
- package/lib/image-preview/index.js +0 -97
- package/lib/image-preview/index.less +0 -121
- package/lib/image-preview/shared.js +0 -13
- package/lib/image-preview/style/index.js +0 -10
- package/lib/image-preview/style/less.js +0 -10
- package/lib/index-anchor/index.css +0 -1
- package/lib/index-anchor/index.js +0 -93
- package/lib/index-anchor/index.less +0 -34
- package/lib/index-anchor/style/index.js +0 -2
- package/lib/index-anchor/style/less.js +0 -2
- package/lib/index-bar/IndexIndicate.js +0 -46
- package/lib/index-bar/index.css +0 -1
- package/lib/index-bar/index.js +0 -272
- package/lib/index-bar/index.less +0 -68
- package/lib/index-bar/style/index.js +0 -2
- package/lib/index-bar/style/less.js +0 -2
- package/lib/index.less +0 -72
- package/lib/info/index.css +0 -1
- package/lib/info/index.js +0 -42
- package/lib/info/index.less +0 -29
- package/lib/info/style/index.js +0 -2
- package/lib/info/style/less.js +0 -2
- package/lib/lazyload/index.js +0 -11
- package/lib/lazyload/style/index.js +0 -1
- package/lib/lazyload/style/less.js +0 -1
- package/lib/list/index.less +0 -17
- package/lib/list/style/less.js +0 -4
- package/lib/loading/index.less +0 -117
- package/lib/loading/style/less.js +0 -2
- package/lib/locale/lang/de-DE-formal.js +0 -95
- package/lib/locale/lang/de-DE.js +0 -95
- package/lib/locale/lang/es-ES.js +0 -95
- package/lib/locale/lang/fr-FR.js +0 -95
- package/lib/locale/lang/ja-JP.js +0 -96
- package/lib/locale/lang/nb-NO.js +0 -95
- package/lib/locale/lang/ro-RO.js +0 -95
- package/lib/locale/lang/th-TH.js +0 -96
- package/lib/locale/lang/tr-TR.js +0 -95
- package/lib/locale/lang/zh-HK.js +0 -96
- package/lib/locale/lang/zh-TW.js +0 -96
- package/lib/locale/style/less.js +0 -1
- package/lib/media-picker/image/DefaultAudioIcon.js +0 -138
- package/lib/media-picker/image/DefaultFileIcon.js +0 -121
- package/lib/media-picker/image/DefaultVideoIcon.js +0 -174
- package/lib/media-picker/image/DeleteIcon.js +0 -46
- package/lib/media-picker/image/PickFileIcon.js +0 -46
- package/lib/media-picker/image/PickPhotoIcon.js +0 -46
- package/lib/media-picker/image/TakeAudioIcon.js +0 -46
- package/lib/media-picker/image/TakePhotoIcon.js +0 -46
- package/lib/media-picker/image/TakeVideoIcon.js +0 -46
- package/lib/media-picker/index.css +0 -1
- package/lib/media-picker/index.js +0 -1028
- package/lib/media-picker/index.less +0 -148
- package/lib/media-picker/media-util.js +0 -50
- package/lib/media-picker/style/index.js +0 -12
- package/lib/media-picker/style/less.js +0 -12
- package/lib/media-picker/type.js +0 -31
- package/lib/media-player/index.css +0 -1
- package/lib/media-player/index.js +0 -161
- package/lib/media-player/index.less +0 -14
- package/lib/media-player/style/index.js +0 -9
- package/lib/media-player/style/less.js +0 -9
- package/lib/mixins/bind-event.js +0 -36
- package/lib/mixins/checkbox.js +0 -179
- package/lib/mixins/click-outside.js +0 -41
- package/lib/mixins/close-on-popstate.js +0 -46
- package/lib/mixins/field.js +0 -29
- package/lib/mixins/popup/context.js +0 -23
- package/lib/mixins/popup/index.js +0 -236
- package/lib/mixins/popup/overlay.js +0 -97
- package/lib/mixins/popup/type.js +0 -3
- package/lib/mixins/portal.js +0 -53
- package/lib/mixins/relation.js +0 -84
- package/lib/mixins/slots.js +0 -29
- package/lib/mixins/telemetry.js +0 -20
- package/lib/mixins/touch.js +0 -66
- package/lib/multiple-picker/MultiplePickerOptions.js +0 -177
- package/lib/multiple-picker/index.css +0 -1
- package/lib/multiple-picker/index.js +0 -251
- package/lib/multiple-picker/index.less +0 -135
- package/lib/multiple-picker/shared.js +0 -32
- package/lib/multiple-picker/style/index.js +0 -7
- package/lib/multiple-picker/style/less.js +0 -7
- package/lib/nav-bar/index.css +0 -1
- package/lib/nav-bar/index.js +0 -155
- package/lib/nav-bar/index.less +0 -74
- package/lib/nav-bar/style/index.js +0 -4
- package/lib/nav-bar/style/less.js +0 -4
- package/lib/notice-bar/CloseIcon.js +0 -39
- package/lib/notice-bar/MenuIcon.js +0 -40
- package/lib/notice-bar/NoticeIcon.js +0 -40
- package/lib/notice-bar/OpenIcon.js +0 -42
- package/lib/notice-bar/TipIcon.js +0 -40
- package/lib/notice-bar/WarningIcon.js +0 -40
- package/lib/notice-bar/index.less +0 -66
- package/lib/notice-bar/style/less.js +0 -4
- package/lib/number-keyboard/CollapseIcon.js +0 -21
- package/lib/number-keyboard/DeleteIcon.js +0 -21
- package/lib/number-keyboard/Key.js +0 -113
- package/lib/number-keyboard/index.less +0 -144
- package/lib/number-keyboard/style/less.js +0 -3
- package/lib/overlay/index.less +0 -11
- package/lib/overlay/style/less.js +0 -2
- package/lib/password-input/index.less +0 -83
- package/lib/password-input/style/less.js +0 -2
- package/lib/pdf-viewer/index.css +0 -1
- package/lib/pdf-viewer/index.js +0 -459
- package/lib/pdf-viewer/index.less +0 -69
- package/lib/pdf-viewer/style/index.js +0 -9
- package/lib/pdf-viewer/style/less.js +0 -9
- package/lib/picker/PickerColumn.js +0 -320
- package/lib/picker/index.css +0 -1
- package/lib/picker/index.js +0 -467
- package/lib/picker/index.less +0 -155
- package/lib/picker/shared.js +0 -40
- package/lib/picker/style/index.js +0 -7
- package/lib/picker/style/less.js +0 -7
- package/lib/popover/index.css +0 -1
- package/lib/popover/index.js +0 -226
- package/lib/popover/index.less +0 -270
- package/lib/popover/style/index.js +0 -6
- package/lib/popover/style/less.js +0 -6
- package/lib/popup/index.less +0 -137
- package/lib/popup/style/less.js +0 -5
- package/lib/pull-refresh/index.less +0 -25
- package/lib/pull-refresh/style/less.js +0 -3
- package/lib/radio/index.css +0 -1
- package/lib/radio/index.js +0 -40
- package/lib/radio/index.less +0 -104
- package/lib/radio/style/index.js +0 -4
- package/lib/radio/style/less.js +0 -4
- package/lib/radio-group/index.css +0 -1
- package/lib/radio-group/index.js +0 -41
- package/lib/radio-group/index.less +0 -8
- package/lib/radio-group/style/index.js +0 -2
- package/lib/radio-group/style/less.js +0 -2
- package/lib/rate/index.less +0 -47
- package/lib/rate/style/less.js +0 -4
- package/lib/row/index.less +0 -42
- package/lib/row/style/less.js +0 -2
- package/lib/search/index.css +0 -1
- package/lib/search/index.js +0 -131
- package/lib/search/index.less +0 -89
- package/lib/search/style/index.js +0 -6
- package/lib/search/style/less.js +0 -6
- package/lib/signature/bezier.js +0 -90
- package/lib/signature/force-landscape.js +0 -110
- package/lib/signature/index.css +0 -1
- package/lib/signature/index.js +0 -296
- package/lib/signature/index.less +0 -50
- package/lib/signature/point.js +0 -36
- package/lib/signature/style/index.js +0 -9
- package/lib/signature/style/less.js +0 -9
- package/lib/signature/throttle.js +0 -60
- package/lib/skeleton/index.css +0 -1
- package/lib/skeleton/index.js +0 -144
- package/lib/skeleton/index.less +0 -85
- package/lib/skeleton/style/index.js +0 -2
- package/lib/skeleton/style/less.js +0 -2
- package/lib/slider/index.css +0 -1
- package/lib/slider/index.js +0 -352
- package/lib/slider/index.less +0 -108
- package/lib/slider/style/index.js +0 -2
- package/lib/slider/style/less.js +0 -2
- package/lib/step/index.css +0 -1
- package/lib/step/index.js +0 -135
- package/lib/step/index.less +0 -103
- package/lib/step/style/index.js +0 -4
- package/lib/step/style/less.js +0 -4
- package/lib/stepper/index.less +0 -124
- package/lib/stepper/style/less.js +0 -2
- package/lib/steps/index.css +0 -1
- package/lib/steps/index.js +0 -44
- package/lib/steps/index.less +0 -23
- package/lib/steps/style/index.js +0 -2
- package/lib/steps/style/less.js +0 -2
- package/lib/sticky/index.less +0 -14
- package/lib/sticky/style/less.js +0 -2
- package/lib/style/animation.less +0 -139
- package/lib/style/base.less +0 -11
- package/lib/style/clearfix.css +0 -1
- package/lib/style/clearfix.less +0 -5
- package/lib/style/ellipsis.css +0 -1
- package/lib/style/ellipsis.less +0 -13
- package/lib/style/hairline.css +0 -1
- package/lib/style/hairline.less +0 -47
- package/lib/style/halfPxBorder.css +0 -1
- package/lib/style/halfPxBorder.less +0 -78
- package/lib/style/mixins/clearfix.less +0 -7
- package/lib/style/mixins/ellipsis.less +0 -15
- package/lib/style/mixins/hairline.less +0 -70
- package/lib/style/normalize.less +0 -38
- package/lib/style/reset.css +0 -1
- package/lib/style/reset.less +0 -171
- package/lib/style/var.less +0 -1039
- package/lib/swipe/index.less +0 -72
- package/lib/swipe/style/less.js +0 -2
- package/lib/swipe-cell/index.css +0 -1
- package/lib/swipe-cell/index.js +0 -232
- package/lib/swipe-cell/index.less +0 -29
- package/lib/swipe-cell/style/index.js +0 -2
- package/lib/swipe-cell/style/less.js +0 -2
- package/lib/swipe-item/index.less +0 -8
- package/lib/swipe-item/style/less.js +0 -2
- package/lib/switch/index.less +0 -56
- package/lib/switch/shared.js +0 -25
- package/lib/switch/style/less.js +0 -3
- package/lib/switch-cell/index.css +0 -1
- package/lib/switch-cell/index.js +0 -62
- package/lib/switch-cell/index.less +0 -15
- package/lib/switch-cell/style/index.js +0 -7
- package/lib/switch-cell/style/less.js +0 -7
- package/lib/tab/index.less +0 -17
- package/lib/tab/style/less.js +0 -2
- package/lib/tabbar/index.css +0 -1
- package/lib/tabbar/index.js +0 -123
- package/lib/tabbar/index.less +0 -22
- package/lib/tabbar/style/index.js +0 -2
- package/lib/tabbar/style/less.js +0 -2
- package/lib/tabbar-item/index.css +0 -1
- package/lib/tabbar-item/index.js +0 -130
- package/lib/tabbar-item/index.less +0 -46
- package/lib/tabbar-item/style/index.js +0 -4
- package/lib/tabbar-item/style/less.js +0 -4
- package/lib/table/index.css +0 -1
- package/lib/table/index.js +0 -132
- package/lib/table/index.less +0 -53
- package/lib/table/style/index.js +0 -2
- package/lib/table/style/less.js +0 -2
- package/lib/tabs/Content.js +0 -90
- package/lib/tabs/Title.js +0 -102
- package/lib/tabs/index.less +0 -156
- package/lib/tabs/style/less.js +0 -4
- package/lib/tag/index.css +0 -1
- package/lib/tag/index.js +0 -92
- package/lib/tag/index.less +0 -99
- package/lib/tag/style/index.js +0 -4
- package/lib/tag/style/less.js +0 -4
- package/lib/telemetry/index.js +0 -63
- package/lib/timeline/index.css +0 -1
- package/lib/timeline/index.js +0 -221
- package/lib/timeline/index.less +0 -130
- package/lib/timeline/style/index.js +0 -4
- package/lib/timeline/style/less.js +0 -4
- package/lib/toast/index.less +0 -82
- package/lib/toast/style/less.js +0 -7
- package/lib/toast/svg/SuccessIcon.js +0 -40
- package/lib/toast/svg/WarnIcon.js +0 -39
- package/lib/uploader/index.css +0 -1
- package/lib/uploader/index.js +0 -577
- package/lib/uploader/index.less +0 -163
- package/lib/uploader/style/index.js +0 -11
- package/lib/uploader/style/less.js +0 -11
- package/lib/uploader/utils.js +0 -81
- package/lib/utils/create/bem.js +0 -44
- package/lib/utils/create/component.js +0 -79
- package/lib/utils/create/i18n.js +0 -27
- package/lib/utils/create/index.js +0 -15
- package/lib/utils/device.js +0 -15
- package/lib/utils/dom/event.js +0 -62
- package/lib/utils/dom/node.js +0 -12
- package/lib/utils/dom/raf.js +0 -47
- package/lib/utils/dom/reset-scroll.js +0 -21
- package/lib/utils/dom/scroll.js +0 -89
- package/lib/utils/dom/style.js +0 -14
- package/lib/utils/easings.js +0 -17
- package/lib/utils/format/date-util.js +0 -787
- package/lib/utils/format/number.js +0 -60
- package/lib/utils/format/string.js +0 -26
- package/lib/utils/format/unit.js +0 -68
- package/lib/utils/functional.js +0 -68
- package/lib/utils/getScroll.js +0 -34
- package/lib/utils/media/image-util.js +0 -153
- package/lib/utils/raf.js +0 -63
- package/lib/utils/router.js +0 -45
- package/lib/utils/scrollTo.js +0 -56
- package/lib/utils/types.js +0 -3
- package/lib/utils/validate/date.js +0 -10
- package/lib/utils/validate/email.js +0 -10
- package/lib/utils/validate/mobile.js +0 -9
- package/lib/utils/validate/number.js +0 -18
- package/lib/utils/validate/system.js +0 -17
- package/lib/utils/vnodes.js +0 -41
- package/lib/zart.js +0 -84577
- package/lib/zart.min.js +0 -18
|
@@ -0,0 +1,3197 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
|
+
"framework": "vue",
|
|
4
|
+
"name": "zartui",
|
|
5
|
+
"version": "3.0.1",
|
|
6
|
+
"contributions": {
|
|
7
|
+
"html": {
|
|
8
|
+
"tags": [
|
|
9
|
+
{
|
|
10
|
+
"name": "badge",
|
|
11
|
+
"slots": [
|
|
12
|
+
{
|
|
13
|
+
"name": "default",
|
|
14
|
+
"description": "徽标包裹的子元素"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "content",
|
|
18
|
+
"description": "自定义徽标内容"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"events": [],
|
|
22
|
+
"attributes": [
|
|
23
|
+
{
|
|
24
|
+
"name": "content",
|
|
25
|
+
"default": "-",
|
|
26
|
+
"description": "徽标内容",
|
|
27
|
+
"options": [],
|
|
28
|
+
"value": {
|
|
29
|
+
"type": "number | string",
|
|
30
|
+
"kind": "expression"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "color",
|
|
35
|
+
"default": "`#ee0a24`",
|
|
36
|
+
"description": "徽标背景颜色",
|
|
37
|
+
"options": [],
|
|
38
|
+
"value": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"kind": "expression"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "dot",
|
|
45
|
+
"default": "`false`",
|
|
46
|
+
"description": "是否展示为小红点",
|
|
47
|
+
"options": [],
|
|
48
|
+
"value": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"kind": "expression"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "max",
|
|
55
|
+
"default": "-",
|
|
56
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效",
|
|
57
|
+
"options": [],
|
|
58
|
+
"value": {
|
|
59
|
+
"type": "number | string",
|
|
60
|
+
"kind": "expression"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "offset",
|
|
65
|
+
"default": "-",
|
|
66
|
+
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`",
|
|
67
|
+
"options": [],
|
|
68
|
+
"value": {
|
|
69
|
+
"type": "[number | string, number | string]",
|
|
70
|
+
"kind": "expression"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "show-zero",
|
|
75
|
+
"default": "`true`",
|
|
76
|
+
"description": "当 content 为数字 0 时,是否展示徽标",
|
|
77
|
+
"options": [],
|
|
78
|
+
"value": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"kind": "expression"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "position",
|
|
85
|
+
"default": "`top-right`",
|
|
86
|
+
"description": "徽标位置,可选值为 `top-left` `bottom-left` `bottom-right`",
|
|
87
|
+
"options": [],
|
|
88
|
+
"value": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"kind": "expression"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "button",
|
|
97
|
+
"slots": [
|
|
98
|
+
{
|
|
99
|
+
"name": "default",
|
|
100
|
+
"description": "按钮内容"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "icon",
|
|
104
|
+
"description": "自定义图标"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "loading",
|
|
108
|
+
"description": "自定义加载图标"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"events": [
|
|
112
|
+
{
|
|
113
|
+
"name": "click",
|
|
114
|
+
"description": "点击按钮,且按钮状态不为加载或禁用时触发",
|
|
115
|
+
"arguments": [
|
|
116
|
+
{
|
|
117
|
+
"name": "event",
|
|
118
|
+
"type": "MouseEvent"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "touchstart",
|
|
124
|
+
"description": "开始触摸按钮时触发",
|
|
125
|
+
"arguments": [
|
|
126
|
+
{
|
|
127
|
+
"name": "event",
|
|
128
|
+
"type": "TouchEvent"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"attributes": [
|
|
134
|
+
{
|
|
135
|
+
"name": "type",
|
|
136
|
+
"default": "`default`",
|
|
137
|
+
"description": "类型,可选值为 `primary` `success` `warning` `danger`",
|
|
138
|
+
"options": [],
|
|
139
|
+
"value": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"kind": "expression"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "size",
|
|
146
|
+
"default": "`normal`",
|
|
147
|
+
"description": "尺寸,可选值为 `normal` `medium` `small` `mini`",
|
|
148
|
+
"options": [],
|
|
149
|
+
"value": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"kind": "expression"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "text",
|
|
156
|
+
"default": "-",
|
|
157
|
+
"description": "按钮文字",
|
|
158
|
+
"options": [],
|
|
159
|
+
"value": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"kind": "expression"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "color",
|
|
166
|
+
"default": "-",
|
|
167
|
+
"description": "按钮文字颜色",
|
|
168
|
+
"options": [],
|
|
169
|
+
"value": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"kind": "expression"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "background-color",
|
|
176
|
+
"default": "-",
|
|
177
|
+
"description": "按钮背景颜色",
|
|
178
|
+
"options": [],
|
|
179
|
+
"value": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"kind": "expression"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "icon",
|
|
186
|
+
"default": "-",
|
|
187
|
+
"description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/icon#props)",
|
|
188
|
+
"options": [],
|
|
189
|
+
"value": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"kind": "expression"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "icon-prefix",
|
|
196
|
+
"default": "`zt-icon`",
|
|
197
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/icon#props)",
|
|
198
|
+
"options": [],
|
|
199
|
+
"value": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"kind": "expression"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "block",
|
|
206
|
+
"default": "`false`",
|
|
207
|
+
"description": "是否为块级元素",
|
|
208
|
+
"options": [],
|
|
209
|
+
"value": {
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"kind": "expression"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "plain",
|
|
216
|
+
"default": "`false`",
|
|
217
|
+
"description": "是否为朴素按钮",
|
|
218
|
+
"options": [],
|
|
219
|
+
"value": {
|
|
220
|
+
"type": "boolean",
|
|
221
|
+
"kind": "expression"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "square",
|
|
226
|
+
"default": "`false`",
|
|
227
|
+
"description": "是否为方形按钮",
|
|
228
|
+
"options": [],
|
|
229
|
+
"value": {
|
|
230
|
+
"type": "boolean",
|
|
231
|
+
"kind": "expression"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "round",
|
|
236
|
+
"default": "`false`",
|
|
237
|
+
"description": "是否为圆形按钮,只支持显示 Icon",
|
|
238
|
+
"options": [],
|
|
239
|
+
"value": {
|
|
240
|
+
"type": "boolean",
|
|
241
|
+
"kind": "expression"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "disabled",
|
|
246
|
+
"default": "`false`",
|
|
247
|
+
"description": "是否禁用按钮",
|
|
248
|
+
"options": [],
|
|
249
|
+
"value": {
|
|
250
|
+
"type": "boolean",
|
|
251
|
+
"kind": "expression"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "config-provider",
|
|
258
|
+
"slots": [],
|
|
259
|
+
"events": [],
|
|
260
|
+
"attributes": [
|
|
261
|
+
{
|
|
262
|
+
"name": "theme",
|
|
263
|
+
"default": "`light`",
|
|
264
|
+
"description": "主题风格,设置为 `dark` 来开启深色模式,全局生效",
|
|
265
|
+
"options": [],
|
|
266
|
+
"value": {
|
|
267
|
+
"type": "ConfigProviderTheme",
|
|
268
|
+
"kind": "expression"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "theme-vars",
|
|
273
|
+
"default": "-",
|
|
274
|
+
"description": "自定义主题变量,局部生效",
|
|
275
|
+
"options": [],
|
|
276
|
+
"value": {
|
|
277
|
+
"type": "object",
|
|
278
|
+
"kind": "expression"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "tag",
|
|
283
|
+
"default": "`div`",
|
|
284
|
+
"description": "根节点对应的 HTML 标签名",
|
|
285
|
+
"options": [],
|
|
286
|
+
"value": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"kind": "expression"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "icon-prefix",
|
|
293
|
+
"default": "`zt-icon`",
|
|
294
|
+
"description": "所有图标的类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
|
|
295
|
+
"options": [],
|
|
296
|
+
"value": {
|
|
297
|
+
"type": "string",
|
|
298
|
+
"kind": "expression"
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "cell",
|
|
305
|
+
"slots": [
|
|
306
|
+
{
|
|
307
|
+
"name": "title",
|
|
308
|
+
"description": "自定义左侧标题"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "value",
|
|
312
|
+
"description": "自定义右侧内容"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "label",
|
|
316
|
+
"description": "自定义标题下方的描述信息"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "icon",
|
|
320
|
+
"description": "自定义左侧图标"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "right-icon",
|
|
324
|
+
"description": "自定义右侧图标"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "extra",
|
|
328
|
+
"description": "自定义单元格最右侧的额外内容"
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"events": [
|
|
332
|
+
{
|
|
333
|
+
"name": "click",
|
|
334
|
+
"description": "点击单元格时触发",
|
|
335
|
+
"arguments": [
|
|
336
|
+
{
|
|
337
|
+
"name": "event",
|
|
338
|
+
"type": "MouseEvent"
|
|
339
|
+
}
|
|
340
|
+
]
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"attributes": [
|
|
344
|
+
{
|
|
345
|
+
"name": "title",
|
|
346
|
+
"default": "-",
|
|
347
|
+
"description": "左侧标题",
|
|
348
|
+
"options": [],
|
|
349
|
+
"value": {
|
|
350
|
+
"type": "number | string",
|
|
351
|
+
"kind": "expression"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "value",
|
|
356
|
+
"default": "-",
|
|
357
|
+
"description": "右侧内容",
|
|
358
|
+
"options": [],
|
|
359
|
+
"value": {
|
|
360
|
+
"type": "number | string",
|
|
361
|
+
"kind": "expression"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"name": "label",
|
|
366
|
+
"default": "-",
|
|
367
|
+
"description": "标题下方的描述信息",
|
|
368
|
+
"options": [],
|
|
369
|
+
"value": {
|
|
370
|
+
"type": "string",
|
|
371
|
+
"kind": "expression"
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"name": "size",
|
|
376
|
+
"default": "-",
|
|
377
|
+
"description": "单元格大小,可选值为 `large`",
|
|
378
|
+
"options": [],
|
|
379
|
+
"value": {
|
|
380
|
+
"type": "string",
|
|
381
|
+
"kind": "expression"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"name": "direction",
|
|
386
|
+
"default": "column",
|
|
387
|
+
"description": "标题与内容的排列方向,默认为竖直排列,可选值为 `row`或 `column`",
|
|
388
|
+
"options": [],
|
|
389
|
+
"value": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"kind": "expression"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "icon",
|
|
396
|
+
"default": "-",
|
|
397
|
+
"description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/icon#props)",
|
|
398
|
+
"options": [],
|
|
399
|
+
"value": {
|
|
400
|
+
"type": "string",
|
|
401
|
+
"kind": "expression"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "icon-prefix",
|
|
406
|
+
"default": "`zt-icon`",
|
|
407
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/icon#props)",
|
|
408
|
+
"options": [],
|
|
409
|
+
"value": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"kind": "expression"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"name": "url",
|
|
416
|
+
"default": "-",
|
|
417
|
+
"description": "点击后跳转的链接地址",
|
|
418
|
+
"options": [],
|
|
419
|
+
"value": {
|
|
420
|
+
"type": "string",
|
|
421
|
+
"kind": "expression"
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"name": "to",
|
|
426
|
+
"default": "-",
|
|
427
|
+
"description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
|
428
|
+
"options": [],
|
|
429
|
+
"value": {
|
|
430
|
+
"type": "string | object",
|
|
431
|
+
"kind": "expression"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"name": "border",
|
|
436
|
+
"default": "`true`",
|
|
437
|
+
"description": "是否显示内边框",
|
|
438
|
+
"options": [],
|
|
439
|
+
"value": {
|
|
440
|
+
"type": "boolean",
|
|
441
|
+
"kind": "expression"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "replace",
|
|
446
|
+
"default": "`false`",
|
|
447
|
+
"description": "是否在跳转时替换当前页面历史",
|
|
448
|
+
"options": [],
|
|
449
|
+
"value": {
|
|
450
|
+
"type": "boolean",
|
|
451
|
+
"kind": "expression"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"name": "clickable",
|
|
456
|
+
"default": "`null`",
|
|
457
|
+
"description": "是否开启点击反馈",
|
|
458
|
+
"options": [],
|
|
459
|
+
"value": {
|
|
460
|
+
"type": "boolean",
|
|
461
|
+
"kind": "expression"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "is-link",
|
|
466
|
+
"default": "`false`",
|
|
467
|
+
"description": "是否展示右侧箭头并开启点击反馈",
|
|
468
|
+
"options": [],
|
|
469
|
+
"value": {
|
|
470
|
+
"type": "boolean",
|
|
471
|
+
"kind": "expression"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"name": "required",
|
|
476
|
+
"default": "`false`",
|
|
477
|
+
"description": "是否显示表单必填星号",
|
|
478
|
+
"options": [],
|
|
479
|
+
"value": {
|
|
480
|
+
"type": "boolean",
|
|
481
|
+
"kind": "expression"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"name": "center",
|
|
486
|
+
"default": "`false`",
|
|
487
|
+
"description": "是否使内容垂直居中",
|
|
488
|
+
"options": [],
|
|
489
|
+
"value": {
|
|
490
|
+
"type": "boolean",
|
|
491
|
+
"kind": "expression"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"name": "arrow-direction",
|
|
496
|
+
"default": "`right`",
|
|
497
|
+
"description": "箭头方向,可选值为 `left` `up` `down`",
|
|
498
|
+
"options": [],
|
|
499
|
+
"value": {
|
|
500
|
+
"type": "string",
|
|
501
|
+
"kind": "expression"
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "title-style",
|
|
506
|
+
"default": "-",
|
|
507
|
+
"description": "左侧标题额外样式",
|
|
508
|
+
"options": [],
|
|
509
|
+
"value": {
|
|
510
|
+
"type": "string | Array | object",
|
|
511
|
+
"kind": "expression"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "title-class",
|
|
516
|
+
"default": "-",
|
|
517
|
+
"description": "左侧标题额外类名",
|
|
518
|
+
"options": [],
|
|
519
|
+
"value": {
|
|
520
|
+
"type": "string | Array | object",
|
|
521
|
+
"kind": "expression"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "value-class",
|
|
526
|
+
"default": "-",
|
|
527
|
+
"description": "右侧内容额外类名",
|
|
528
|
+
"options": [],
|
|
529
|
+
"value": {
|
|
530
|
+
"type": "string | Array | object",
|
|
531
|
+
"kind": "expression"
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"name": "label-class",
|
|
536
|
+
"default": "-",
|
|
537
|
+
"description": "描述信息额外类名",
|
|
538
|
+
"options": [],
|
|
539
|
+
"value": {
|
|
540
|
+
"type": "string | Array | object",
|
|
541
|
+
"kind": "expression"
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
]
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "row",
|
|
548
|
+
"slots": [],
|
|
549
|
+
"events": [
|
|
550
|
+
{
|
|
551
|
+
"name": "click",
|
|
552
|
+
"description": "点击时触发",
|
|
553
|
+
"arguments": [
|
|
554
|
+
{
|
|
555
|
+
"name": "event",
|
|
556
|
+
"type": "MouseEvent"
|
|
557
|
+
}
|
|
558
|
+
]
|
|
559
|
+
}
|
|
560
|
+
],
|
|
561
|
+
"attributes": [
|
|
562
|
+
{
|
|
563
|
+
"name": "gutter",
|
|
564
|
+
"default": "-",
|
|
565
|
+
"description": "列元素之间的间距(单位为 px)",
|
|
566
|
+
"options": [],
|
|
567
|
+
"value": {
|
|
568
|
+
"type": "number | string",
|
|
569
|
+
"kind": "expression"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "tag",
|
|
574
|
+
"default": "`div`",
|
|
575
|
+
"description": "自定义元素标签",
|
|
576
|
+
"options": [],
|
|
577
|
+
"value": {
|
|
578
|
+
"type": "string",
|
|
579
|
+
"kind": "expression"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"name": "justify",
|
|
584
|
+
"default": "`start`",
|
|
585
|
+
"description": "主轴对齐方式,可选值为 `end` `center` <br> `space-around` `space-between`",
|
|
586
|
+
"options": [],
|
|
587
|
+
"value": {
|
|
588
|
+
"type": "string",
|
|
589
|
+
"kind": "expression"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"name": "align",
|
|
594
|
+
"default": "`top`",
|
|
595
|
+
"description": "交叉轴对齐方式,可选值为 `center` `bottom`",
|
|
596
|
+
"options": [],
|
|
597
|
+
"value": {
|
|
598
|
+
"type": "string",
|
|
599
|
+
"kind": "expression"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "wrap",
|
|
604
|
+
"default": "`true`",
|
|
605
|
+
"description": "是否自动换行",
|
|
606
|
+
"options": [],
|
|
607
|
+
"value": {
|
|
608
|
+
"type": "boolean",
|
|
609
|
+
"kind": "expression"
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
]
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"name": "col",
|
|
616
|
+
"slots": [],
|
|
617
|
+
"events": [
|
|
618
|
+
{
|
|
619
|
+
"name": "click",
|
|
620
|
+
"description": "点击时触发",
|
|
621
|
+
"arguments": [
|
|
622
|
+
{
|
|
623
|
+
"name": "event",
|
|
624
|
+
"type": "MouseEvent"
|
|
625
|
+
}
|
|
626
|
+
]
|
|
627
|
+
}
|
|
628
|
+
],
|
|
629
|
+
"attributes": [
|
|
630
|
+
{
|
|
631
|
+
"name": "span",
|
|
632
|
+
"default": "-",
|
|
633
|
+
"description": "列元素宽度",
|
|
634
|
+
"options": [],
|
|
635
|
+
"value": {
|
|
636
|
+
"type": "number | string",
|
|
637
|
+
"kind": "expression"
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"name": "offset",
|
|
642
|
+
"default": "-",
|
|
643
|
+
"description": "列元素偏移距离",
|
|
644
|
+
"options": [],
|
|
645
|
+
"value": {
|
|
646
|
+
"type": "number | string",
|
|
647
|
+
"kind": "expression"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "tag",
|
|
652
|
+
"default": "`div`",
|
|
653
|
+
"description": "自定义元素标签",
|
|
654
|
+
"options": [],
|
|
655
|
+
"value": {
|
|
656
|
+
"type": "string",
|
|
657
|
+
"kind": "expression"
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "divider",
|
|
664
|
+
"slots": [
|
|
665
|
+
{
|
|
666
|
+
"name": "default",
|
|
667
|
+
"description": "内容"
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
"events": [],
|
|
671
|
+
"attributes": [
|
|
672
|
+
{
|
|
673
|
+
"name": "dashed",
|
|
674
|
+
"default": "`false`",
|
|
675
|
+
"description": "是否使用虚线",
|
|
676
|
+
"options": [],
|
|
677
|
+
"value": {
|
|
678
|
+
"type": "boolean",
|
|
679
|
+
"kind": "expression"
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"name": "hairline",
|
|
684
|
+
"default": "`true`",
|
|
685
|
+
"description": "是否使用 0.5px 线",
|
|
686
|
+
"options": [],
|
|
687
|
+
"value": {
|
|
688
|
+
"type": "boolean",
|
|
689
|
+
"kind": "expression"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "content-position",
|
|
694
|
+
"default": "`center`",
|
|
695
|
+
"description": "内容位置,可选值为 `left` `right`",
|
|
696
|
+
"options": [],
|
|
697
|
+
"value": {
|
|
698
|
+
"type": "string",
|
|
699
|
+
"kind": "expression"
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
]
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "empty",
|
|
706
|
+
"slots": [
|
|
707
|
+
{
|
|
708
|
+
"name": "default",
|
|
709
|
+
"description": "自定义底部内容"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "image",
|
|
713
|
+
"description": "自定义图标"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "description",
|
|
717
|
+
"description": "自定义描述文字"
|
|
718
|
+
}
|
|
719
|
+
],
|
|
720
|
+
"events": [],
|
|
721
|
+
"attributes": [
|
|
722
|
+
{
|
|
723
|
+
"name": "image",
|
|
724
|
+
"default": "`default`",
|
|
725
|
+
"description": "图片类型,可选值为 `default` `error` `developing` `not-found` `no-search-result`,支持传入图片 URL",
|
|
726
|
+
"options": [],
|
|
727
|
+
"value": {
|
|
728
|
+
"type": "string",
|
|
729
|
+
"kind": "expression"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"name": "image-size",
|
|
734
|
+
"default": "-",
|
|
735
|
+
"description": "图片大小,默认单位为 `px`",
|
|
736
|
+
"options": [],
|
|
737
|
+
"value": {
|
|
738
|
+
"type": "number | string | Array",
|
|
739
|
+
"kind": "expression"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "description",
|
|
744
|
+
"default": "-",
|
|
745
|
+
"description": "图片下方的描述文字",
|
|
746
|
+
"options": [],
|
|
747
|
+
"value": {
|
|
748
|
+
"type": "string",
|
|
749
|
+
"kind": "expression"
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
]
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"name": "icon",
|
|
756
|
+
"slots": [],
|
|
757
|
+
"events": [
|
|
758
|
+
{
|
|
759
|
+
"name": "click",
|
|
760
|
+
"description": "点击图标时触发",
|
|
761
|
+
"arguments": [
|
|
762
|
+
{
|
|
763
|
+
"name": "event",
|
|
764
|
+
"type": "MouseEvent"
|
|
765
|
+
}
|
|
766
|
+
]
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
"attributes": [
|
|
770
|
+
{
|
|
771
|
+
"name": "name",
|
|
772
|
+
"default": "-",
|
|
773
|
+
"description": "图标名称或图片链接",
|
|
774
|
+
"options": [],
|
|
775
|
+
"value": {
|
|
776
|
+
"type": "string",
|
|
777
|
+
"kind": "expression"
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"name": "dot",
|
|
782
|
+
"default": "`false`",
|
|
783
|
+
"description": "是否显示图标右上角小红点",
|
|
784
|
+
"options": [],
|
|
785
|
+
"value": {
|
|
786
|
+
"type": "boolean",
|
|
787
|
+
"kind": "expression"
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "badge",
|
|
792
|
+
"default": "-",
|
|
793
|
+
"description": "图标右上角徽标的内容",
|
|
794
|
+
"options": [],
|
|
795
|
+
"value": {
|
|
796
|
+
"type": "number | string",
|
|
797
|
+
"kind": "expression"
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"name": "badge-props",
|
|
802
|
+
"default": "-",
|
|
803
|
+
"description": "自定义徽标的属性,传入的对象会被透传给 [Badge 组件的 props](#/badge#props)",
|
|
804
|
+
"options": [],
|
|
805
|
+
"value": {
|
|
806
|
+
"type": "BadgeProps",
|
|
807
|
+
"kind": "expression"
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"name": "color",
|
|
812
|
+
"default": "`inherit`",
|
|
813
|
+
"description": "图标颜色",
|
|
814
|
+
"options": [],
|
|
815
|
+
"value": {
|
|
816
|
+
"type": "string",
|
|
817
|
+
"kind": "expression"
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "size",
|
|
822
|
+
"default": "`inherit`",
|
|
823
|
+
"description": "图标大小,如 `20px` `2em`,默认单位为 `px`",
|
|
824
|
+
"options": [],
|
|
825
|
+
"value": {
|
|
826
|
+
"type": "number | string",
|
|
827
|
+
"kind": "expression"
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"name": "class-prefix",
|
|
832
|
+
"default": "`zt-icon`",
|
|
833
|
+
"description": "类名前缀,用于使用自定义图标",
|
|
834
|
+
"options": [],
|
|
835
|
+
"value": {
|
|
836
|
+
"type": "string",
|
|
837
|
+
"kind": "expression"
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"name": "tag",
|
|
842
|
+
"default": "`i`",
|
|
843
|
+
"description": "根节点对应的 HTML 标签名",
|
|
844
|
+
"options": [],
|
|
845
|
+
"value": {
|
|
846
|
+
"type": "string",
|
|
847
|
+
"kind": "expression"
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
]
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"name": "list",
|
|
854
|
+
"slots": [
|
|
855
|
+
{
|
|
856
|
+
"name": "default",
|
|
857
|
+
"description": "列表内容"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"name": "loading",
|
|
861
|
+
"description": "自定义底部加载中提示"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"name": "finished",
|
|
865
|
+
"description": "自定义加载完成后的提示文案"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"name": "error",
|
|
869
|
+
"description": "自定义加载失败后的提示文案"
|
|
870
|
+
}
|
|
871
|
+
],
|
|
872
|
+
"events": [
|
|
873
|
+
{
|
|
874
|
+
"name": "load",
|
|
875
|
+
"description": "滚动条与底部距离小于 offset 时触发",
|
|
876
|
+
"arguments": []
|
|
877
|
+
}
|
|
878
|
+
],
|
|
879
|
+
"attributes": [
|
|
880
|
+
{
|
|
881
|
+
"name": "v-model:loading",
|
|
882
|
+
"default": "`false`",
|
|
883
|
+
"description": "是否处于加载状态,加载过程中不触发 `load` 事件",
|
|
884
|
+
"options": [],
|
|
885
|
+
"value": {
|
|
886
|
+
"type": "boolean",
|
|
887
|
+
"kind": "expression"
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "v-model:error",
|
|
892
|
+
"default": "`false`",
|
|
893
|
+
"description": "是否加载失败,加载失败后点击错误提示可以重新触发 `load` 事件",
|
|
894
|
+
"options": [],
|
|
895
|
+
"value": {
|
|
896
|
+
"type": "boolean",
|
|
897
|
+
"kind": "expression"
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"name": "finished",
|
|
902
|
+
"default": "`false`",
|
|
903
|
+
"description": "是否已加载完成,加载完成后不再触发 `load` 事件",
|
|
904
|
+
"options": [],
|
|
905
|
+
"value": {
|
|
906
|
+
"type": "boolean",
|
|
907
|
+
"kind": "expression"
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"name": "offset",
|
|
912
|
+
"default": "`300`",
|
|
913
|
+
"description": "滚动条与底部距离小于 offset 时触发 `load` 事件",
|
|
914
|
+
"options": [],
|
|
915
|
+
"value": {
|
|
916
|
+
"type": "number | string",
|
|
917
|
+
"kind": "expression"
|
|
918
|
+
}
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "loading-text",
|
|
922
|
+
"default": "`加载中...`",
|
|
923
|
+
"description": "加载过程中的提示文案",
|
|
924
|
+
"options": [],
|
|
925
|
+
"value": {
|
|
926
|
+
"type": "string",
|
|
927
|
+
"kind": "expression"
|
|
928
|
+
}
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"name": "finished-text",
|
|
932
|
+
"default": "-",
|
|
933
|
+
"description": "加载完成后的提示文案",
|
|
934
|
+
"options": [],
|
|
935
|
+
"value": {
|
|
936
|
+
"type": "string",
|
|
937
|
+
"kind": "expression"
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "error-text",
|
|
942
|
+
"default": "-",
|
|
943
|
+
"description": "加载失败后的提示文案",
|
|
944
|
+
"options": [],
|
|
945
|
+
"value": {
|
|
946
|
+
"type": "string",
|
|
947
|
+
"kind": "expression"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"name": "immediate-check",
|
|
952
|
+
"default": "`true`",
|
|
953
|
+
"description": "是否在初始化时立即执行滚动位置检查",
|
|
954
|
+
"options": [],
|
|
955
|
+
"value": {
|
|
956
|
+
"type": "boolean",
|
|
957
|
+
"kind": "expression"
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "direction",
|
|
962
|
+
"default": "`down`",
|
|
963
|
+
"description": "滚动触发加载的方向,可选值为 `up`",
|
|
964
|
+
"options": [],
|
|
965
|
+
"value": {
|
|
966
|
+
"type": "string",
|
|
967
|
+
"kind": "expression"
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
]
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"name": "loading",
|
|
974
|
+
"slots": [
|
|
975
|
+
{
|
|
976
|
+
"name": "default",
|
|
977
|
+
"description": "加载文案"
|
|
978
|
+
}
|
|
979
|
+
],
|
|
980
|
+
"events": [],
|
|
981
|
+
"attributes": [
|
|
982
|
+
{
|
|
983
|
+
"name": "color",
|
|
984
|
+
"default": "`rgba(45, 75, 115, 0.6)`",
|
|
985
|
+
"description": "颜色",
|
|
986
|
+
"options": [],
|
|
987
|
+
"value": {
|
|
988
|
+
"type": "string",
|
|
989
|
+
"kind": "expression"
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "type",
|
|
994
|
+
"default": "`snake`",
|
|
995
|
+
"description": "类型,可选值为 `spinner`和`circular`",
|
|
996
|
+
"options": [],
|
|
997
|
+
"value": {
|
|
998
|
+
"type": "string",
|
|
999
|
+
"kind": "expression"
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"name": "size",
|
|
1004
|
+
"default": "`36px`",
|
|
1005
|
+
"description": "加载图标大小,默认单位为 `px`",
|
|
1006
|
+
"options": [],
|
|
1007
|
+
"value": {
|
|
1008
|
+
"type": "number | string",
|
|
1009
|
+
"kind": "expression"
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "text-size",
|
|
1014
|
+
"default": "`14px`",
|
|
1015
|
+
"description": "文字大小,默认单位为 `px`",
|
|
1016
|
+
"options": [],
|
|
1017
|
+
"value": {
|
|
1018
|
+
"type": "number | string",
|
|
1019
|
+
"kind": "expression"
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "text-color",
|
|
1024
|
+
"default": "`rgba(45, 75, 115, 0.4)`",
|
|
1025
|
+
"description": "文字颜色",
|
|
1026
|
+
"options": [],
|
|
1027
|
+
"value": {
|
|
1028
|
+
"type": "string",
|
|
1029
|
+
"kind": "expression"
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"name": "vertical",
|
|
1034
|
+
"default": "`false`",
|
|
1035
|
+
"description": "是否垂直排列图标和文字内容",
|
|
1036
|
+
"options": [],
|
|
1037
|
+
"value": {
|
|
1038
|
+
"type": "boolean",
|
|
1039
|
+
"kind": "expression"
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
]
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"name": "notice-bar",
|
|
1046
|
+
"slots": [
|
|
1047
|
+
{
|
|
1048
|
+
"name": "default",
|
|
1049
|
+
"description": "通知文本内容"
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"name": "left-icon",
|
|
1053
|
+
"description": "自定义左侧图标"
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"name": "right-icon",
|
|
1057
|
+
"description": "自定义右侧图标"
|
|
1058
|
+
}
|
|
1059
|
+
],
|
|
1060
|
+
"events": [
|
|
1061
|
+
{
|
|
1062
|
+
"name": "click",
|
|
1063
|
+
"description": "点击通知栏时触发",
|
|
1064
|
+
"arguments": [
|
|
1065
|
+
{
|
|
1066
|
+
"name": "event",
|
|
1067
|
+
"type": "MouseEvent"
|
|
1068
|
+
}
|
|
1069
|
+
]
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"name": "close",
|
|
1073
|
+
"description": "关闭通知栏时触发",
|
|
1074
|
+
"arguments": [
|
|
1075
|
+
{
|
|
1076
|
+
"name": "event",
|
|
1077
|
+
"type": "MouseEvent"
|
|
1078
|
+
}
|
|
1079
|
+
]
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"name": "replay",
|
|
1083
|
+
"description": "每当滚动栏重新开始滚动时触发",
|
|
1084
|
+
"arguments": []
|
|
1085
|
+
}
|
|
1086
|
+
],
|
|
1087
|
+
"attributes": [
|
|
1088
|
+
{
|
|
1089
|
+
"name": "mode",
|
|
1090
|
+
"default": "`''`",
|
|
1091
|
+
"description": "通知栏模式,可选值为 `closeable` `link`",
|
|
1092
|
+
"options": [],
|
|
1093
|
+
"value": {
|
|
1094
|
+
"type": "string",
|
|
1095
|
+
"kind": "expression"
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"name": "text",
|
|
1100
|
+
"default": "`''`",
|
|
1101
|
+
"description": "通知文本内容",
|
|
1102
|
+
"options": [],
|
|
1103
|
+
"value": {
|
|
1104
|
+
"type": "string",
|
|
1105
|
+
"kind": "expression"
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"name": "color",
|
|
1110
|
+
"default": "`#FF8700`",
|
|
1111
|
+
"description": "通知文本颜色",
|
|
1112
|
+
"options": [],
|
|
1113
|
+
"value": {
|
|
1114
|
+
"type": "string",
|
|
1115
|
+
"kind": "expression"
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"name": "background",
|
|
1120
|
+
"default": "`rgba(255,205,35,0.20)`",
|
|
1121
|
+
"description": "滚动条背景",
|
|
1122
|
+
"options": [],
|
|
1123
|
+
"value": {
|
|
1124
|
+
"type": "string",
|
|
1125
|
+
"kind": "expression"
|
|
1126
|
+
}
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"name": "left-icon",
|
|
1130
|
+
"default": "-",
|
|
1131
|
+
"description": "左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/icon#props)",
|
|
1132
|
+
"options": [],
|
|
1133
|
+
"value": {
|
|
1134
|
+
"type": "string",
|
|
1135
|
+
"kind": "expression"
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"name": "delay",
|
|
1140
|
+
"default": "`1`",
|
|
1141
|
+
"description": "动画延迟时间 (s)",
|
|
1142
|
+
"options": [],
|
|
1143
|
+
"value": {
|
|
1144
|
+
"type": "number | string",
|
|
1145
|
+
"kind": "expression"
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"name": "speed",
|
|
1150
|
+
"default": "`60`",
|
|
1151
|
+
"description": "滚动速率 (px/s)",
|
|
1152
|
+
"options": [],
|
|
1153
|
+
"value": {
|
|
1154
|
+
"type": "number | string",
|
|
1155
|
+
"kind": "expression"
|
|
1156
|
+
}
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"name": "scrollable",
|
|
1160
|
+
"default": "-",
|
|
1161
|
+
"description": "是否开启滚动播放,内容长度溢出时默认开启",
|
|
1162
|
+
"options": [],
|
|
1163
|
+
"value": {
|
|
1164
|
+
"type": "boolean",
|
|
1165
|
+
"kind": "expression"
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"name": "wrapable",
|
|
1170
|
+
"default": "`false`",
|
|
1171
|
+
"description": "是否开启文本换行,只在禁用滚动时生效",
|
|
1172
|
+
"options": [],
|
|
1173
|
+
"value": {
|
|
1174
|
+
"type": "boolean",
|
|
1175
|
+
"kind": "expression"
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
]
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"name": "number-keyboard",
|
|
1182
|
+
"slots": [
|
|
1183
|
+
{
|
|
1184
|
+
"name": "delete",
|
|
1185
|
+
"description": "自定义删除按键内容"
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
"name": "extra-key",
|
|
1189
|
+
"description": "自定义左下角按键内容"
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"name": "title-left",
|
|
1193
|
+
"description": "自定义标题栏左侧内容"
|
|
1194
|
+
}
|
|
1195
|
+
],
|
|
1196
|
+
"events": [
|
|
1197
|
+
{
|
|
1198
|
+
"name": "input",
|
|
1199
|
+
"description": "点击按键时触发",
|
|
1200
|
+
"arguments": [
|
|
1201
|
+
{
|
|
1202
|
+
"name": "key",
|
|
1203
|
+
"type": "string"
|
|
1204
|
+
}
|
|
1205
|
+
]
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"name": "delete",
|
|
1209
|
+
"description": "点击删除键时触发",
|
|
1210
|
+
"arguments": []
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"name": "close",
|
|
1214
|
+
"description": "点击关闭按钮时触发",
|
|
1215
|
+
"arguments": []
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"name": "blur",
|
|
1219
|
+
"description": "点击关闭按钮或非键盘区域时触发",
|
|
1220
|
+
"arguments": []
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"name": "show",
|
|
1224
|
+
"description": "键盘完全弹出时触发",
|
|
1225
|
+
"arguments": []
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
"name": "hide",
|
|
1229
|
+
"description": "键盘完全收起时触发",
|
|
1230
|
+
"arguments": []
|
|
1231
|
+
}
|
|
1232
|
+
],
|
|
1233
|
+
"attributes": [
|
|
1234
|
+
{
|
|
1235
|
+
"name": "v-model",
|
|
1236
|
+
"default": "-",
|
|
1237
|
+
"description": "当前输入值",
|
|
1238
|
+
"options": [],
|
|
1239
|
+
"value": {
|
|
1240
|
+
"type": "string",
|
|
1241
|
+
"kind": "expression"
|
|
1242
|
+
}
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"name": "show",
|
|
1246
|
+
"default": "-",
|
|
1247
|
+
"description": "是否显示键盘",
|
|
1248
|
+
"options": [],
|
|
1249
|
+
"value": {
|
|
1250
|
+
"type": "boolean",
|
|
1251
|
+
"kind": "expression"
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"name": "title",
|
|
1256
|
+
"default": "-",
|
|
1257
|
+
"description": "键盘标题",
|
|
1258
|
+
"options": [],
|
|
1259
|
+
"value": {
|
|
1260
|
+
"type": "string",
|
|
1261
|
+
"kind": "expression"
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"name": "theme",
|
|
1266
|
+
"default": "`default`",
|
|
1267
|
+
"description": "样式风格,可选值为 `custom`",
|
|
1268
|
+
"options": [],
|
|
1269
|
+
"value": {
|
|
1270
|
+
"type": "string",
|
|
1271
|
+
"kind": "expression"
|
|
1272
|
+
}
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
"name": "maxlength",
|
|
1276
|
+
"default": "`Infinity`",
|
|
1277
|
+
"description": "输入值最大长度",
|
|
1278
|
+
"options": [],
|
|
1279
|
+
"value": {
|
|
1280
|
+
"type": "number | string",
|
|
1281
|
+
"kind": "expression"
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
"name": "transition",
|
|
1286
|
+
"default": "`true`",
|
|
1287
|
+
"description": "是否开启过场动画",
|
|
1288
|
+
"options": [],
|
|
1289
|
+
"value": {
|
|
1290
|
+
"type": "boolean",
|
|
1291
|
+
"kind": "expression"
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"name": "z-index",
|
|
1296
|
+
"default": "`100`",
|
|
1297
|
+
"description": "键盘 z-index 层级",
|
|
1298
|
+
"options": [],
|
|
1299
|
+
"value": {
|
|
1300
|
+
"type": "number | string",
|
|
1301
|
+
"kind": "expression"
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"name": "extra-key",
|
|
1306
|
+
"default": "`''`",
|
|
1307
|
+
"description": "底部额外按键的内容",
|
|
1308
|
+
"options": [],
|
|
1309
|
+
"value": {
|
|
1310
|
+
"type": "string | string[]",
|
|
1311
|
+
"kind": "expression"
|
|
1312
|
+
}
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"name": "close-button-text",
|
|
1316
|
+
"default": "-",
|
|
1317
|
+
"description": "关闭按钮文字,空则不展示",
|
|
1318
|
+
"options": [],
|
|
1319
|
+
"value": {
|
|
1320
|
+
"type": "string",
|
|
1321
|
+
"kind": "expression"
|
|
1322
|
+
}
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"name": "delete-button-text",
|
|
1326
|
+
"default": "-",
|
|
1327
|
+
"description": "删除按钮文字,空则展示删除图标",
|
|
1328
|
+
"options": [],
|
|
1329
|
+
"value": {
|
|
1330
|
+
"type": "string",
|
|
1331
|
+
"kind": "expression"
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"name": "close-button-loading",
|
|
1336
|
+
"default": "`false`",
|
|
1337
|
+
"description": "是否将关闭按钮设置为加载中状态,仅在 `theme=\"custom\"` 时有效",
|
|
1338
|
+
"options": [],
|
|
1339
|
+
"value": {
|
|
1340
|
+
"type": "boolean",
|
|
1341
|
+
"kind": "expression"
|
|
1342
|
+
}
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"name": "show-delete-key",
|
|
1346
|
+
"default": "`true`",
|
|
1347
|
+
"description": "是否展示删除图标",
|
|
1348
|
+
"options": [],
|
|
1349
|
+
"value": {
|
|
1350
|
+
"type": "boolean",
|
|
1351
|
+
"kind": "expression"
|
|
1352
|
+
}
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
"name": "blur-on-close",
|
|
1356
|
+
"default": "`true`",
|
|
1357
|
+
"description": "是否在点击关闭按钮时触发 blur 事件",
|
|
1358
|
+
"options": [],
|
|
1359
|
+
"value": {
|
|
1360
|
+
"type": "boolean",
|
|
1361
|
+
"kind": "expression"
|
|
1362
|
+
}
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
"name": "hide-on-click-outside",
|
|
1366
|
+
"default": "`true`",
|
|
1367
|
+
"description": "是否在点击外部时收起键盘",
|
|
1368
|
+
"options": [],
|
|
1369
|
+
"value": {
|
|
1370
|
+
"type": "boolean",
|
|
1371
|
+
"kind": "expression"
|
|
1372
|
+
}
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"name": "teleport",
|
|
1376
|
+
"default": "-",
|
|
1377
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
|
1378
|
+
"options": [],
|
|
1379
|
+
"value": {
|
|
1380
|
+
"type": "string | Element",
|
|
1381
|
+
"kind": "expression"
|
|
1382
|
+
}
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"name": "safe-area-inset-bottom",
|
|
1386
|
+
"default": "`true`",
|
|
1387
|
+
"description": "是否开启[底部安全区适配](#/adztced-usage#di-bu-an-quan-qu-gua-pei)",
|
|
1388
|
+
"options": [],
|
|
1389
|
+
"value": {
|
|
1390
|
+
"type": "boolean",
|
|
1391
|
+
"kind": "expression"
|
|
1392
|
+
}
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
"name": "random-key-order",
|
|
1396
|
+
"default": "`false`",
|
|
1397
|
+
"description": "是否将通过随机顺序展示按键",
|
|
1398
|
+
"options": [],
|
|
1399
|
+
"value": {
|
|
1400
|
+
"type": "boolean",
|
|
1401
|
+
"kind": "expression"
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
]
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"name": "overlay",
|
|
1408
|
+
"slots": [
|
|
1409
|
+
{
|
|
1410
|
+
"name": "default",
|
|
1411
|
+
"description": "默认插槽,用于在遮罩层上方嵌入内容"
|
|
1412
|
+
}
|
|
1413
|
+
],
|
|
1414
|
+
"events": [
|
|
1415
|
+
{
|
|
1416
|
+
"name": "click",
|
|
1417
|
+
"description": "点击时触发",
|
|
1418
|
+
"arguments": [
|
|
1419
|
+
{
|
|
1420
|
+
"name": "event",
|
|
1421
|
+
"type": "MouseEvent"
|
|
1422
|
+
}
|
|
1423
|
+
]
|
|
1424
|
+
}
|
|
1425
|
+
],
|
|
1426
|
+
"attributes": [
|
|
1427
|
+
{
|
|
1428
|
+
"name": "show",
|
|
1429
|
+
"default": "`false`",
|
|
1430
|
+
"description": "是否展示遮罩层",
|
|
1431
|
+
"options": [],
|
|
1432
|
+
"value": {
|
|
1433
|
+
"type": "boolean",
|
|
1434
|
+
"kind": "expression"
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"name": "z-index",
|
|
1439
|
+
"default": "`1`",
|
|
1440
|
+
"description": "z-index 层级",
|
|
1441
|
+
"options": [],
|
|
1442
|
+
"value": {
|
|
1443
|
+
"type": "number | string",
|
|
1444
|
+
"kind": "expression"
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"name": "duration",
|
|
1449
|
+
"default": "`0.3`",
|
|
1450
|
+
"description": "动画时长,单位秒,设置为 0 可以禁用动画",
|
|
1451
|
+
"options": [],
|
|
1452
|
+
"value": {
|
|
1453
|
+
"type": "number | string",
|
|
1454
|
+
"kind": "expression"
|
|
1455
|
+
}
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"name": "class-name",
|
|
1459
|
+
"default": "-",
|
|
1460
|
+
"description": "自定义类名",
|
|
1461
|
+
"options": [],
|
|
1462
|
+
"value": {
|
|
1463
|
+
"type": "string",
|
|
1464
|
+
"kind": "expression"
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"name": "custom-style",
|
|
1469
|
+
"default": "-",
|
|
1470
|
+
"description": "自定义样式",
|
|
1471
|
+
"options": [],
|
|
1472
|
+
"value": {
|
|
1473
|
+
"type": "object",
|
|
1474
|
+
"kind": "expression"
|
|
1475
|
+
}
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"name": "lock-scroll",
|
|
1479
|
+
"default": "`true`",
|
|
1480
|
+
"description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动",
|
|
1481
|
+
"options": [],
|
|
1482
|
+
"value": {
|
|
1483
|
+
"type": "boolean",
|
|
1484
|
+
"kind": "expression"
|
|
1485
|
+
}
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"name": "lazy-render",
|
|
1489
|
+
"default": "`true`",
|
|
1490
|
+
"description": "是否在显示时才渲染节点",
|
|
1491
|
+
"options": [],
|
|
1492
|
+
"value": {
|
|
1493
|
+
"type": "boolean",
|
|
1494
|
+
"kind": "expression"
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
]
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "password-input",
|
|
1501
|
+
"slots": [],
|
|
1502
|
+
"events": [
|
|
1503
|
+
{
|
|
1504
|
+
"name": "focus",
|
|
1505
|
+
"description": "输入框聚焦时触发",
|
|
1506
|
+
"arguments": []
|
|
1507
|
+
}
|
|
1508
|
+
],
|
|
1509
|
+
"attributes": [
|
|
1510
|
+
{
|
|
1511
|
+
"name": "value",
|
|
1512
|
+
"default": "`''`",
|
|
1513
|
+
"description": "密码值",
|
|
1514
|
+
"options": [],
|
|
1515
|
+
"value": {
|
|
1516
|
+
"type": "string",
|
|
1517
|
+
"kind": "expression"
|
|
1518
|
+
}
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"name": "info",
|
|
1522
|
+
"default": "-",
|
|
1523
|
+
"description": "输入框下方文字提示",
|
|
1524
|
+
"options": [],
|
|
1525
|
+
"value": {
|
|
1526
|
+
"type": "string",
|
|
1527
|
+
"kind": "expression"
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"name": "error-info",
|
|
1532
|
+
"default": "-",
|
|
1533
|
+
"description": "输入框下方错误提示",
|
|
1534
|
+
"options": [],
|
|
1535
|
+
"value": {
|
|
1536
|
+
"type": "string",
|
|
1537
|
+
"kind": "expression"
|
|
1538
|
+
}
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"name": "length",
|
|
1542
|
+
"default": "`6`",
|
|
1543
|
+
"description": "密码最大长度",
|
|
1544
|
+
"options": [],
|
|
1545
|
+
"value": {
|
|
1546
|
+
"type": "number | string",
|
|
1547
|
+
"kind": "expression"
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"name": "gutter",
|
|
1552
|
+
"default": "`0`",
|
|
1553
|
+
"description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`",
|
|
1554
|
+
"options": [],
|
|
1555
|
+
"value": {
|
|
1556
|
+
"type": "number | string",
|
|
1557
|
+
"kind": "expression"
|
|
1558
|
+
}
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"name": "mask",
|
|
1562
|
+
"default": "`true`",
|
|
1563
|
+
"description": "是否隐藏密码内容",
|
|
1564
|
+
"options": [],
|
|
1565
|
+
"value": {
|
|
1566
|
+
"type": "boolean",
|
|
1567
|
+
"kind": "expression"
|
|
1568
|
+
}
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"name": "focused",
|
|
1572
|
+
"default": "`false`",
|
|
1573
|
+
"description": "是否已聚焦,聚焦时会显示光标",
|
|
1574
|
+
"options": [],
|
|
1575
|
+
"value": {
|
|
1576
|
+
"type": "boolean",
|
|
1577
|
+
"kind": "expression"
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
]
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
"name": "popup",
|
|
1584
|
+
"slots": [
|
|
1585
|
+
{
|
|
1586
|
+
"name": "default",
|
|
1587
|
+
"description": "弹窗内容"
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
"name": "overlay-content",
|
|
1591
|
+
"description": "遮罩层的内容"
|
|
1592
|
+
}
|
|
1593
|
+
],
|
|
1594
|
+
"events": [
|
|
1595
|
+
{
|
|
1596
|
+
"name": "click",
|
|
1597
|
+
"description": "点击弹出层时触发",
|
|
1598
|
+
"arguments": [
|
|
1599
|
+
{
|
|
1600
|
+
"name": "event",
|
|
1601
|
+
"type": "MouseEvent"
|
|
1602
|
+
}
|
|
1603
|
+
]
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"name": "click-overlay",
|
|
1607
|
+
"description": "点击遮罩层时触发",
|
|
1608
|
+
"arguments": [
|
|
1609
|
+
{
|
|
1610
|
+
"name": "event",
|
|
1611
|
+
"type": "MouseEvent"
|
|
1612
|
+
}
|
|
1613
|
+
]
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"name": "click-close-icon",
|
|
1617
|
+
"description": "点击关闭图标时触发",
|
|
1618
|
+
"arguments": [
|
|
1619
|
+
{
|
|
1620
|
+
"name": "event",
|
|
1621
|
+
"type": "MouseEvent"
|
|
1622
|
+
}
|
|
1623
|
+
]
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"name": "open",
|
|
1627
|
+
"description": "打开弹出层时触发",
|
|
1628
|
+
"arguments": []
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"name": "close",
|
|
1632
|
+
"description": "关闭弹出层时触发",
|
|
1633
|
+
"arguments": []
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"name": "opened",
|
|
1637
|
+
"description": "打开弹出层且动画结束后触发",
|
|
1638
|
+
"arguments": []
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"name": "closed",
|
|
1642
|
+
"description": "关闭弹出层且动画结束后触发",
|
|
1643
|
+
"arguments": []
|
|
1644
|
+
}
|
|
1645
|
+
],
|
|
1646
|
+
"attributes": [
|
|
1647
|
+
{
|
|
1648
|
+
"name": "v-model:show",
|
|
1649
|
+
"default": "`false`",
|
|
1650
|
+
"description": "是否显示弹出层",
|
|
1651
|
+
"options": [],
|
|
1652
|
+
"value": {
|
|
1653
|
+
"type": "boolean",
|
|
1654
|
+
"kind": "expression"
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
"name": "overlay",
|
|
1659
|
+
"default": "`true`",
|
|
1660
|
+
"description": "是否显示遮罩层",
|
|
1661
|
+
"options": [],
|
|
1662
|
+
"value": {
|
|
1663
|
+
"type": "boolean",
|
|
1664
|
+
"kind": "expression"
|
|
1665
|
+
}
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"name": "position",
|
|
1669
|
+
"default": "`center`",
|
|
1670
|
+
"description": "弹出位置,可选值为 `top` `bottom` `right` `left`",
|
|
1671
|
+
"options": [],
|
|
1672
|
+
"value": {
|
|
1673
|
+
"type": "string",
|
|
1674
|
+
"kind": "expression"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
"name": "overlay-class",
|
|
1679
|
+
"default": "-",
|
|
1680
|
+
"description": "自定义遮罩层类名",
|
|
1681
|
+
"options": [],
|
|
1682
|
+
"value": {
|
|
1683
|
+
"type": "string | Array | object",
|
|
1684
|
+
"kind": "expression"
|
|
1685
|
+
}
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"name": "overlay-style",
|
|
1689
|
+
"default": "-",
|
|
1690
|
+
"description": "自定义遮罩层样式",
|
|
1691
|
+
"options": [],
|
|
1692
|
+
"value": {
|
|
1693
|
+
"type": "object",
|
|
1694
|
+
"kind": "expression"
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
"name": "duration",
|
|
1699
|
+
"default": "`0.3`",
|
|
1700
|
+
"description": "动画时长,单位秒,设置为 0 可以禁用动画",
|
|
1701
|
+
"options": [],
|
|
1702
|
+
"value": {
|
|
1703
|
+
"type": "number | string",
|
|
1704
|
+
"kind": "expression"
|
|
1705
|
+
}
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"name": "round",
|
|
1709
|
+
"default": "`false`",
|
|
1710
|
+
"description": "是否显示圆角",
|
|
1711
|
+
"options": [],
|
|
1712
|
+
"value": {
|
|
1713
|
+
"type": "boolean",
|
|
1714
|
+
"kind": "expression"
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"name": "lock-scroll",
|
|
1719
|
+
"default": "`true`",
|
|
1720
|
+
"description": "是否锁定背景滚动",
|
|
1721
|
+
"options": [],
|
|
1722
|
+
"value": {
|
|
1723
|
+
"type": "boolean",
|
|
1724
|
+
"kind": "expression"
|
|
1725
|
+
}
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"name": "lazy-render",
|
|
1729
|
+
"default": "`true`",
|
|
1730
|
+
"description": "是否在显示弹层时才渲染节点",
|
|
1731
|
+
"options": [],
|
|
1732
|
+
"value": {
|
|
1733
|
+
"type": "boolean",
|
|
1734
|
+
"kind": "expression"
|
|
1735
|
+
}
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"name": "close-on-popstate",
|
|
1739
|
+
"default": "`false`",
|
|
1740
|
+
"description": "是否在页面回退时自动关闭",
|
|
1741
|
+
"options": [],
|
|
1742
|
+
"value": {
|
|
1743
|
+
"type": "boolean",
|
|
1744
|
+
"kind": "expression"
|
|
1745
|
+
}
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
"name": "close-on-click-overlay",
|
|
1749
|
+
"default": "`true`",
|
|
1750
|
+
"description": "是否在点击遮罩层后关闭",
|
|
1751
|
+
"options": [],
|
|
1752
|
+
"value": {
|
|
1753
|
+
"type": "boolean",
|
|
1754
|
+
"kind": "expression"
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"name": "closeable",
|
|
1759
|
+
"default": "`false`",
|
|
1760
|
+
"description": "是否显示关闭图标",
|
|
1761
|
+
"options": [],
|
|
1762
|
+
"value": {
|
|
1763
|
+
"type": "boolean",
|
|
1764
|
+
"kind": "expression"
|
|
1765
|
+
}
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"name": "close-icon",
|
|
1769
|
+
"default": "`cross`",
|
|
1770
|
+
"description": "关闭图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props)",
|
|
1771
|
+
"options": [],
|
|
1772
|
+
"value": {
|
|
1773
|
+
"type": "string",
|
|
1774
|
+
"kind": "expression"
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"name": "close-icon-position",
|
|
1779
|
+
"default": "`top-right`",
|
|
1780
|
+
"description": "关闭图标位置,可选值为 `top-left`<br>`bottom-left` `bottom-right`",
|
|
1781
|
+
"options": [],
|
|
1782
|
+
"value": {
|
|
1783
|
+
"type": "string",
|
|
1784
|
+
"kind": "expression"
|
|
1785
|
+
}
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
"name": "before-close",
|
|
1789
|
+
"default": "-",
|
|
1790
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise",
|
|
1791
|
+
"options": [],
|
|
1792
|
+
"value": {
|
|
1793
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
|
1794
|
+
"kind": "expression"
|
|
1795
|
+
}
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"name": "icon-prefix",
|
|
1799
|
+
"default": "`zt-icon`",
|
|
1800
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props)",
|
|
1801
|
+
"options": [],
|
|
1802
|
+
"value": {
|
|
1803
|
+
"type": "string",
|
|
1804
|
+
"kind": "expression"
|
|
1805
|
+
}
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
"name": "transition",
|
|
1809
|
+
"default": "-",
|
|
1810
|
+
"description": "动画类名,等价于 [transition](https://v3.cn.vuejs.org/api/built-in-components.html#transition) 的 `name` 属性",
|
|
1811
|
+
"options": [],
|
|
1812
|
+
"value": {
|
|
1813
|
+
"type": "string",
|
|
1814
|
+
"kind": "expression"
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
"name": "transition-appear",
|
|
1819
|
+
"default": "`false`",
|
|
1820
|
+
"description": "是否在初始渲染时启用过渡动画",
|
|
1821
|
+
"options": [],
|
|
1822
|
+
"value": {
|
|
1823
|
+
"type": "boolean",
|
|
1824
|
+
"kind": "expression"
|
|
1825
|
+
}
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"name": "teleport",
|
|
1829
|
+
"default": "-",
|
|
1830
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport)",
|
|
1831
|
+
"options": [],
|
|
1832
|
+
"value": {
|
|
1833
|
+
"type": "string | Element",
|
|
1834
|
+
"kind": "expression"
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
"name": "safe-area-inset-top",
|
|
1839
|
+
"default": "`false`",
|
|
1840
|
+
"description": "是否开启[顶部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
|
1841
|
+
"options": [],
|
|
1842
|
+
"value": {
|
|
1843
|
+
"type": "boolean",
|
|
1844
|
+
"kind": "expression"
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"name": "safe-area-inset-bottom",
|
|
1849
|
+
"default": "`false`",
|
|
1850
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei)",
|
|
1851
|
+
"options": [],
|
|
1852
|
+
"value": {
|
|
1853
|
+
"type": "boolean",
|
|
1854
|
+
"kind": "expression"
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
]
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"name": "pull-refresh",
|
|
1861
|
+
"slots": [
|
|
1862
|
+
{
|
|
1863
|
+
"name": "default",
|
|
1864
|
+
"description": "自定义内容"
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"name": "normal",
|
|
1868
|
+
"description": "非下拉状态时顶部内容"
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"name": "pulling",
|
|
1872
|
+
"description": "下拉过程中顶部内容"
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"name": "loosing",
|
|
1876
|
+
"description": "释放过程中顶部内容"
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "loading",
|
|
1880
|
+
"description": "加载过程中顶部内容"
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"name": "success",
|
|
1884
|
+
"description": "刷新成功提示内容"
|
|
1885
|
+
}
|
|
1886
|
+
],
|
|
1887
|
+
"events": [
|
|
1888
|
+
{
|
|
1889
|
+
"name": "refresh",
|
|
1890
|
+
"description": "下拉刷新时触发",
|
|
1891
|
+
"arguments": []
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"name": "change",
|
|
1895
|
+
"description": "拖动时或状态改变时触发",
|
|
1896
|
+
"arguments": [
|
|
1897
|
+
{
|
|
1898
|
+
"name": "{ status: string, distance: number }"
|
|
1899
|
+
}
|
|
1900
|
+
]
|
|
1901
|
+
}
|
|
1902
|
+
],
|
|
1903
|
+
"attributes": [
|
|
1904
|
+
{
|
|
1905
|
+
"name": "v-model",
|
|
1906
|
+
"default": "-",
|
|
1907
|
+
"description": "是否处于加载中状态",
|
|
1908
|
+
"options": [],
|
|
1909
|
+
"value": {
|
|
1910
|
+
"type": "boolean",
|
|
1911
|
+
"kind": "expression"
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"name": "pulling-text",
|
|
1916
|
+
"default": "`下拉即可刷新...`",
|
|
1917
|
+
"description": "下拉过程提示文案",
|
|
1918
|
+
"options": [],
|
|
1919
|
+
"value": {
|
|
1920
|
+
"type": "string",
|
|
1921
|
+
"kind": "expression"
|
|
1922
|
+
}
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"name": "loosing-text",
|
|
1926
|
+
"default": "`释放即可刷新...`",
|
|
1927
|
+
"description": "释放过程提示文案",
|
|
1928
|
+
"options": [],
|
|
1929
|
+
"value": {
|
|
1930
|
+
"type": "string",
|
|
1931
|
+
"kind": "expression"
|
|
1932
|
+
}
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"name": "loading-text",
|
|
1936
|
+
"default": "`加载中...`",
|
|
1937
|
+
"description": "加载过程提示文案",
|
|
1938
|
+
"options": [],
|
|
1939
|
+
"value": {
|
|
1940
|
+
"type": "string",
|
|
1941
|
+
"kind": "expression"
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"name": "success-text",
|
|
1946
|
+
"default": "-",
|
|
1947
|
+
"description": "刷新成功提示文案",
|
|
1948
|
+
"options": [],
|
|
1949
|
+
"value": {
|
|
1950
|
+
"type": "string",
|
|
1951
|
+
"kind": "expression"
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"name": "success-duration",
|
|
1956
|
+
"default": "`500`",
|
|
1957
|
+
"description": "刷新成功提示展示时长(ms)",
|
|
1958
|
+
"options": [],
|
|
1959
|
+
"value": {
|
|
1960
|
+
"type": "number | string",
|
|
1961
|
+
"kind": "expression"
|
|
1962
|
+
}
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
"name": "animation-duration",
|
|
1966
|
+
"default": "`300`",
|
|
1967
|
+
"description": "动画时长",
|
|
1968
|
+
"options": [],
|
|
1969
|
+
"value": {
|
|
1970
|
+
"type": "number | string",
|
|
1971
|
+
"kind": "expression"
|
|
1972
|
+
}
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"name": "head-height",
|
|
1976
|
+
"default": "`50`",
|
|
1977
|
+
"description": "顶部内容高度",
|
|
1978
|
+
"options": [],
|
|
1979
|
+
"value": {
|
|
1980
|
+
"type": "number | string",
|
|
1981
|
+
"kind": "expression"
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"name": "pull-distance",
|
|
1986
|
+
"default": "与 `head-height` 一致",
|
|
1987
|
+
"description": "触发下拉刷新的距离",
|
|
1988
|
+
"options": [],
|
|
1989
|
+
"value": {
|
|
1990
|
+
"type": "number | string",
|
|
1991
|
+
"kind": "expression"
|
|
1992
|
+
}
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"name": "disabled",
|
|
1996
|
+
"default": "`false`",
|
|
1997
|
+
"description": "是否禁用下拉刷新",
|
|
1998
|
+
"options": [],
|
|
1999
|
+
"value": {
|
|
2000
|
+
"type": "boolean",
|
|
2001
|
+
"kind": "expression"
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
]
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"name": "rate",
|
|
2008
|
+
"slots": [],
|
|
2009
|
+
"events": [
|
|
2010
|
+
{
|
|
2011
|
+
"name": "change",
|
|
2012
|
+
"description": "当前分值变化时触发的事件",
|
|
2013
|
+
"arguments": [
|
|
2014
|
+
{
|
|
2015
|
+
"name": "currentValue",
|
|
2016
|
+
"type": "number"
|
|
2017
|
+
}
|
|
2018
|
+
]
|
|
2019
|
+
}
|
|
2020
|
+
],
|
|
2021
|
+
"attributes": [
|
|
2022
|
+
{
|
|
2023
|
+
"name": "v-model",
|
|
2024
|
+
"default": "-",
|
|
2025
|
+
"description": "当前分值",
|
|
2026
|
+
"options": [],
|
|
2027
|
+
"value": {
|
|
2028
|
+
"type": "number",
|
|
2029
|
+
"kind": "expression"
|
|
2030
|
+
}
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"name": "count",
|
|
2034
|
+
"default": "`5`",
|
|
2035
|
+
"description": "图标总数",
|
|
2036
|
+
"options": [],
|
|
2037
|
+
"value": {
|
|
2038
|
+
"type": "number | string",
|
|
2039
|
+
"kind": "expression"
|
|
2040
|
+
}
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"name": "size",
|
|
2044
|
+
"default": "`20px`",
|
|
2045
|
+
"description": "图标大小,默认单位为`px`",
|
|
2046
|
+
"options": [],
|
|
2047
|
+
"value": {
|
|
2048
|
+
"type": "number | string",
|
|
2049
|
+
"kind": "expression"
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
"name": "gutter",
|
|
2054
|
+
"default": "`4px`",
|
|
2055
|
+
"description": "图标间距,默认单位为`px`",
|
|
2056
|
+
"options": [],
|
|
2057
|
+
"value": {
|
|
2058
|
+
"type": "number | string",
|
|
2059
|
+
"kind": "expression"
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
"name": "color",
|
|
2064
|
+
"default": "`#ee0a24`",
|
|
2065
|
+
"description": "选中时的颜色",
|
|
2066
|
+
"options": [],
|
|
2067
|
+
"value": {
|
|
2068
|
+
"type": "string",
|
|
2069
|
+
"kind": "expression"
|
|
2070
|
+
}
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
"name": "void-color",
|
|
2074
|
+
"default": "`#c8c9cc`",
|
|
2075
|
+
"description": "未选中时的颜色",
|
|
2076
|
+
"options": [],
|
|
2077
|
+
"value": {
|
|
2078
|
+
"type": "string",
|
|
2079
|
+
"kind": "expression"
|
|
2080
|
+
}
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
"name": "disabled-color",
|
|
2084
|
+
"default": "`#c8c9cc`",
|
|
2085
|
+
"description": "禁用时的颜色",
|
|
2086
|
+
"options": [],
|
|
2087
|
+
"value": {
|
|
2088
|
+
"type": "string",
|
|
2089
|
+
"kind": "expression"
|
|
2090
|
+
}
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"name": "icon",
|
|
2094
|
+
"default": "`star`",
|
|
2095
|
+
"description": "选中时的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/icon#props)",
|
|
2096
|
+
"options": [],
|
|
2097
|
+
"value": {
|
|
2098
|
+
"type": "string",
|
|
2099
|
+
"kind": "expression"
|
|
2100
|
+
}
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "void-icon",
|
|
2104
|
+
"default": "`star-o`",
|
|
2105
|
+
"description": "未选中时的图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/icon#props)",
|
|
2106
|
+
"options": [],
|
|
2107
|
+
"value": {
|
|
2108
|
+
"type": "string",
|
|
2109
|
+
"kind": "expression"
|
|
2110
|
+
}
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
"name": "icon-prefix",
|
|
2114
|
+
"default": "`zt-icon`",
|
|
2115
|
+
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/icon#props)",
|
|
2116
|
+
"options": [],
|
|
2117
|
+
"value": {
|
|
2118
|
+
"type": "string",
|
|
2119
|
+
"kind": "expression"
|
|
2120
|
+
}
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
"name": "allow-half",
|
|
2124
|
+
"default": "`false`",
|
|
2125
|
+
"description": "是否允许半选",
|
|
2126
|
+
"options": [],
|
|
2127
|
+
"value": {
|
|
2128
|
+
"type": "boolean",
|
|
2129
|
+
"kind": "expression"
|
|
2130
|
+
}
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
"name": "readonly",
|
|
2134
|
+
"default": "`false`",
|
|
2135
|
+
"description": "是否为只读状态,只读状态下无法修改评分",
|
|
2136
|
+
"options": [],
|
|
2137
|
+
"value": {
|
|
2138
|
+
"type": "boolean",
|
|
2139
|
+
"kind": "expression"
|
|
2140
|
+
}
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"name": "disabled",
|
|
2144
|
+
"default": "`false`",
|
|
2145
|
+
"description": "是否禁用评分",
|
|
2146
|
+
"options": [],
|
|
2147
|
+
"value": {
|
|
2148
|
+
"type": "boolean",
|
|
2149
|
+
"kind": "expression"
|
|
2150
|
+
}
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
"name": "touchable",
|
|
2154
|
+
"default": "`true`",
|
|
2155
|
+
"description": "是否可以通过滑动手势选择评分",
|
|
2156
|
+
"options": [],
|
|
2157
|
+
"value": {
|
|
2158
|
+
"type": "boolean",
|
|
2159
|
+
"kind": "expression"
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
]
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
"name": "stepper",
|
|
2166
|
+
"slots": [],
|
|
2167
|
+
"events": [
|
|
2168
|
+
{
|
|
2169
|
+
"name": "change",
|
|
2170
|
+
"description": "当绑定值变化时触发的事件",
|
|
2171
|
+
"arguments": [
|
|
2172
|
+
{
|
|
2173
|
+
"name": "value",
|
|
2174
|
+
"type": "string"
|
|
2175
|
+
},
|
|
2176
|
+
{
|
|
2177
|
+
"name": "detail",
|
|
2178
|
+
"type": "{ name: string }"
|
|
2179
|
+
}
|
|
2180
|
+
]
|
|
2181
|
+
},
|
|
2182
|
+
{
|
|
2183
|
+
"name": "overlimit",
|
|
2184
|
+
"description": "点击不可用的按钮时触发",
|
|
2185
|
+
"arguments": []
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"name": "plus",
|
|
2189
|
+
"description": "点击增加按钮时触发",
|
|
2190
|
+
"arguments": []
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
"name": "minus",
|
|
2194
|
+
"description": "点击减少按钮时触发",
|
|
2195
|
+
"arguments": []
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
"name": "focus",
|
|
2199
|
+
"description": "输入框聚焦时触发",
|
|
2200
|
+
"arguments": [
|
|
2201
|
+
{
|
|
2202
|
+
"name": "event",
|
|
2203
|
+
"type": "Event"
|
|
2204
|
+
}
|
|
2205
|
+
]
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
"name": "blur",
|
|
2209
|
+
"description": "输入框失焦时触发",
|
|
2210
|
+
"arguments": [
|
|
2211
|
+
{
|
|
2212
|
+
"name": "event",
|
|
2213
|
+
"type": "Event"
|
|
2214
|
+
}
|
|
2215
|
+
]
|
|
2216
|
+
}
|
|
2217
|
+
],
|
|
2218
|
+
"attributes": [
|
|
2219
|
+
{
|
|
2220
|
+
"name": "v-model",
|
|
2221
|
+
"default": "-",
|
|
2222
|
+
"description": "当前输入的值",
|
|
2223
|
+
"options": [],
|
|
2224
|
+
"value": {
|
|
2225
|
+
"type": "number | string",
|
|
2226
|
+
"kind": "expression"
|
|
2227
|
+
}
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
"name": "min",
|
|
2231
|
+
"default": "`1`",
|
|
2232
|
+
"description": "最小值",
|
|
2233
|
+
"options": [],
|
|
2234
|
+
"value": {
|
|
2235
|
+
"type": "number | string",
|
|
2236
|
+
"kind": "expression"
|
|
2237
|
+
}
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
"name": "max",
|
|
2241
|
+
"default": "-",
|
|
2242
|
+
"description": "最大值",
|
|
2243
|
+
"options": [],
|
|
2244
|
+
"value": {
|
|
2245
|
+
"type": "number | string",
|
|
2246
|
+
"kind": "expression"
|
|
2247
|
+
}
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"name": "default-value",
|
|
2251
|
+
"default": "`1`",
|
|
2252
|
+
"description": "初始值,当 v-model 为空时生效",
|
|
2253
|
+
"options": [],
|
|
2254
|
+
"value": {
|
|
2255
|
+
"type": "number | string",
|
|
2256
|
+
"kind": "expression"
|
|
2257
|
+
}
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
"name": "step",
|
|
2261
|
+
"default": "`1`",
|
|
2262
|
+
"description": "步长,每次点击时改变的值",
|
|
2263
|
+
"options": [],
|
|
2264
|
+
"value": {
|
|
2265
|
+
"type": "number | string",
|
|
2266
|
+
"kind": "expression"
|
|
2267
|
+
}
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"name": "name",
|
|
2271
|
+
"default": "-",
|
|
2272
|
+
"description": "标识符,通常为一个唯一的字符串或数字,可以在 `change` 事件回调参数中获取",
|
|
2273
|
+
"options": [],
|
|
2274
|
+
"value": {
|
|
2275
|
+
"type": "number | string",
|
|
2276
|
+
"kind": "expression"
|
|
2277
|
+
}
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
"name": "input-width",
|
|
2281
|
+
"default": "`60px`",
|
|
2282
|
+
"description": "输入框宽度,默认单位为 `px`",
|
|
2283
|
+
"options": [],
|
|
2284
|
+
"value": {
|
|
2285
|
+
"type": "number | string",
|
|
2286
|
+
"kind": "expression"
|
|
2287
|
+
}
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"name": "button-size",
|
|
2291
|
+
"default": "`32px`",
|
|
2292
|
+
"description": "按钮大小以及输入框高度,默认单位为 `px`",
|
|
2293
|
+
"options": [],
|
|
2294
|
+
"value": {
|
|
2295
|
+
"type": "number | string",
|
|
2296
|
+
"kind": "expression"
|
|
2297
|
+
}
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"name": "decimal-length",
|
|
2301
|
+
"default": "-",
|
|
2302
|
+
"description": "固定显示的小数位数",
|
|
2303
|
+
"options": [],
|
|
2304
|
+
"value": {
|
|
2305
|
+
"type": "number | string",
|
|
2306
|
+
"kind": "expression"
|
|
2307
|
+
}
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"name": "theme",
|
|
2311
|
+
"default": "-",
|
|
2312
|
+
"description": "样式风格,可选值为 `round`",
|
|
2313
|
+
"options": [],
|
|
2314
|
+
"value": {
|
|
2315
|
+
"type": "string",
|
|
2316
|
+
"kind": "expression"
|
|
2317
|
+
}
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
"name": "placeholder",
|
|
2321
|
+
"default": "-",
|
|
2322
|
+
"description": "输入框占位提示文字",
|
|
2323
|
+
"options": [],
|
|
2324
|
+
"value": {
|
|
2325
|
+
"type": "string",
|
|
2326
|
+
"kind": "expression"
|
|
2327
|
+
}
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
"name": "integer",
|
|
2331
|
+
"default": "`false`",
|
|
2332
|
+
"description": "是否只允许输入整数",
|
|
2333
|
+
"options": [],
|
|
2334
|
+
"value": {
|
|
2335
|
+
"type": "boolean",
|
|
2336
|
+
"kind": "expression"
|
|
2337
|
+
}
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"name": "disabled",
|
|
2341
|
+
"default": "`false`",
|
|
2342
|
+
"description": "是否禁用步进器",
|
|
2343
|
+
"options": [],
|
|
2344
|
+
"value": {
|
|
2345
|
+
"type": "boolean",
|
|
2346
|
+
"kind": "expression"
|
|
2347
|
+
}
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"name": "disable-plus",
|
|
2351
|
+
"default": "`false`",
|
|
2352
|
+
"description": "是否禁用增加按钮",
|
|
2353
|
+
"options": [],
|
|
2354
|
+
"value": {
|
|
2355
|
+
"type": "boolean",
|
|
2356
|
+
"kind": "expression"
|
|
2357
|
+
}
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
"name": "disable-minus",
|
|
2361
|
+
"default": "`false`",
|
|
2362
|
+
"description": "是否禁用减少按钮",
|
|
2363
|
+
"options": [],
|
|
2364
|
+
"value": {
|
|
2365
|
+
"type": "boolean",
|
|
2366
|
+
"kind": "expression"
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
"name": "disable-input",
|
|
2371
|
+
"default": "`false`",
|
|
2372
|
+
"description": "是否禁用输入框",
|
|
2373
|
+
"options": [],
|
|
2374
|
+
"value": {
|
|
2375
|
+
"type": "boolean",
|
|
2376
|
+
"kind": "expression"
|
|
2377
|
+
}
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
"name": "before-change",
|
|
2381
|
+
"default": "`false`",
|
|
2382
|
+
"description": "输入值变化前的回调函数,返回 `false` 可阻止输入,支持返回 Promise",
|
|
2383
|
+
"options": [],
|
|
2384
|
+
"value": {
|
|
2385
|
+
"type": "(value: number | string) => boolean | Promise\\<boolean\\>",
|
|
2386
|
+
"kind": "expression"
|
|
2387
|
+
}
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
"name": "show-plus",
|
|
2391
|
+
"default": "`true`",
|
|
2392
|
+
"description": "是否显示增加按钮",
|
|
2393
|
+
"options": [],
|
|
2394
|
+
"value": {
|
|
2395
|
+
"type": "boolean",
|
|
2396
|
+
"kind": "expression"
|
|
2397
|
+
}
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
"name": "show-minus",
|
|
2401
|
+
"default": "`true`",
|
|
2402
|
+
"description": "是否显示减少按钮",
|
|
2403
|
+
"options": [],
|
|
2404
|
+
"value": {
|
|
2405
|
+
"type": "boolean",
|
|
2406
|
+
"kind": "expression"
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
"name": "show-input",
|
|
2411
|
+
"default": "`true`",
|
|
2412
|
+
"description": "是否显示输入框",
|
|
2413
|
+
"options": [],
|
|
2414
|
+
"value": {
|
|
2415
|
+
"type": "boolean",
|
|
2416
|
+
"kind": "expression"
|
|
2417
|
+
}
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"name": "long-press",
|
|
2421
|
+
"default": "`true`",
|
|
2422
|
+
"description": "是否开启长按手势,开启后可以长按增加和减少按钮",
|
|
2423
|
+
"options": [],
|
|
2424
|
+
"value": {
|
|
2425
|
+
"type": "boolean",
|
|
2426
|
+
"kind": "expression"
|
|
2427
|
+
}
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"name": "allow-empty",
|
|
2431
|
+
"default": "`false`",
|
|
2432
|
+
"description": "是否允许输入的值为空,设置为 `true` 后允许传入空字符串",
|
|
2433
|
+
"options": [],
|
|
2434
|
+
"value": {
|
|
2435
|
+
"type": "boolean",
|
|
2436
|
+
"kind": "expression"
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
]
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"name": "sticky",
|
|
2443
|
+
"slots": [],
|
|
2444
|
+
"events": [
|
|
2445
|
+
{
|
|
2446
|
+
"name": "change",
|
|
2447
|
+
"description": "当吸顶状态改变时触发",
|
|
2448
|
+
"arguments": [
|
|
2449
|
+
{
|
|
2450
|
+
"name": "isFixed",
|
|
2451
|
+
"type": "boolean"
|
|
2452
|
+
}
|
|
2453
|
+
]
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"name": "scroll",
|
|
2457
|
+
"description": "滚动时触发",
|
|
2458
|
+
"arguments": [
|
|
2459
|
+
{
|
|
2460
|
+
"name": "{ scrollTop: number, isFixed: boolean }"
|
|
2461
|
+
}
|
|
2462
|
+
]
|
|
2463
|
+
}
|
|
2464
|
+
],
|
|
2465
|
+
"attributes": [
|
|
2466
|
+
{
|
|
2467
|
+
"name": "position",
|
|
2468
|
+
"default": "`top`",
|
|
2469
|
+
"description": "吸附位置,可选值为 `bottom`",
|
|
2470
|
+
"options": [],
|
|
2471
|
+
"value": {
|
|
2472
|
+
"type": "string",
|
|
2473
|
+
"kind": "expression"
|
|
2474
|
+
}
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
"name": "offset-top",
|
|
2478
|
+
"default": "`0`",
|
|
2479
|
+
"description": "吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
|
2480
|
+
"options": [],
|
|
2481
|
+
"value": {
|
|
2482
|
+
"type": "number | string",
|
|
2483
|
+
"kind": "expression"
|
|
2484
|
+
}
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"name": "offset-bottom",
|
|
2488
|
+
"default": "`0`",
|
|
2489
|
+
"description": "吸底时与底部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
|
2490
|
+
"options": [],
|
|
2491
|
+
"value": {
|
|
2492
|
+
"type": "number | string",
|
|
2493
|
+
"kind": "expression"
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"name": "z-index",
|
|
2498
|
+
"default": "`99`",
|
|
2499
|
+
"description": "吸顶时的 z-index",
|
|
2500
|
+
"options": [],
|
|
2501
|
+
"value": {
|
|
2502
|
+
"type": "number | string",
|
|
2503
|
+
"kind": "expression"
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
"name": "container",
|
|
2508
|
+
"default": "-",
|
|
2509
|
+
"description": "容器对应的 HTML 节点",
|
|
2510
|
+
"options": [],
|
|
2511
|
+
"value": {
|
|
2512
|
+
"type": "Element",
|
|
2513
|
+
"kind": "expression"
|
|
2514
|
+
}
|
|
2515
|
+
}
|
|
2516
|
+
]
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
"name": "swipe",
|
|
2520
|
+
"slots": [
|
|
2521
|
+
{
|
|
2522
|
+
"name": "default",
|
|
2523
|
+
"description": "轮播内容"
|
|
2524
|
+
},
|
|
2525
|
+
{
|
|
2526
|
+
"name": "indicator",
|
|
2527
|
+
"description": "自定义指示器"
|
|
2528
|
+
}
|
|
2529
|
+
],
|
|
2530
|
+
"events": [
|
|
2531
|
+
{
|
|
2532
|
+
"name": "change",
|
|
2533
|
+
"description": "每一页轮播结束后触发",
|
|
2534
|
+
"arguments": [
|
|
2535
|
+
{
|
|
2536
|
+
"name": "index",
|
|
2537
|
+
"type": "index of current swipe"
|
|
2538
|
+
}
|
|
2539
|
+
]
|
|
2540
|
+
}
|
|
2541
|
+
],
|
|
2542
|
+
"attributes": [
|
|
2543
|
+
{
|
|
2544
|
+
"name": "autoplay",
|
|
2545
|
+
"default": "-",
|
|
2546
|
+
"description": "自动轮播间隔,单位为 ms",
|
|
2547
|
+
"options": [],
|
|
2548
|
+
"value": {
|
|
2549
|
+
"type": "number | string",
|
|
2550
|
+
"kind": "expression"
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"name": "duration",
|
|
2555
|
+
"default": "`500`",
|
|
2556
|
+
"description": "动画时长,单位为 ms",
|
|
2557
|
+
"options": [],
|
|
2558
|
+
"value": {
|
|
2559
|
+
"type": "number | string",
|
|
2560
|
+
"kind": "expression"
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
"name": "initial-swipe",
|
|
2565
|
+
"default": "`0`",
|
|
2566
|
+
"description": "初始位置索引值",
|
|
2567
|
+
"options": [],
|
|
2568
|
+
"value": {
|
|
2569
|
+
"type": "number | string",
|
|
2570
|
+
"kind": "expression"
|
|
2571
|
+
}
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
"name": "width",
|
|
2575
|
+
"default": "`auto`",
|
|
2576
|
+
"description": "滑块宽度,单位为 `px`",
|
|
2577
|
+
"options": [],
|
|
2578
|
+
"value": {
|
|
2579
|
+
"type": "number | string",
|
|
2580
|
+
"kind": "expression"
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
"name": "height",
|
|
2585
|
+
"default": "`auto`",
|
|
2586
|
+
"description": "滑块高度,单位为 `px`",
|
|
2587
|
+
"options": [],
|
|
2588
|
+
"value": {
|
|
2589
|
+
"type": "number | string",
|
|
2590
|
+
"kind": "expression"
|
|
2591
|
+
}
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
"name": "loop",
|
|
2595
|
+
"default": "`true`",
|
|
2596
|
+
"description": "是否开启循环播放",
|
|
2597
|
+
"options": [],
|
|
2598
|
+
"value": {
|
|
2599
|
+
"type": "boolean",
|
|
2600
|
+
"kind": "expression"
|
|
2601
|
+
}
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"name": "show-indicators",
|
|
2605
|
+
"default": "`true`",
|
|
2606
|
+
"description": "是否显示指示器",
|
|
2607
|
+
"options": [],
|
|
2608
|
+
"value": {
|
|
2609
|
+
"type": "boolean",
|
|
2610
|
+
"kind": "expression"
|
|
2611
|
+
}
|
|
2612
|
+
},
|
|
2613
|
+
{
|
|
2614
|
+
"name": "vertical",
|
|
2615
|
+
"default": "`false`",
|
|
2616
|
+
"description": "是否为纵向滚动",
|
|
2617
|
+
"options": [],
|
|
2618
|
+
"value": {
|
|
2619
|
+
"type": "boolean",
|
|
2620
|
+
"kind": "expression"
|
|
2621
|
+
}
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
"name": "touchable",
|
|
2625
|
+
"default": "`true`",
|
|
2626
|
+
"description": "是否可以通过手势滑动",
|
|
2627
|
+
"options": [],
|
|
2628
|
+
"value": {
|
|
2629
|
+
"type": "boolean",
|
|
2630
|
+
"kind": "expression"
|
|
2631
|
+
}
|
|
2632
|
+
},
|
|
2633
|
+
{
|
|
2634
|
+
"name": "stop-propagation",
|
|
2635
|
+
"default": "`true`",
|
|
2636
|
+
"description": "是否阻止滑动事件冒泡",
|
|
2637
|
+
"options": [],
|
|
2638
|
+
"value": {
|
|
2639
|
+
"type": "boolean",
|
|
2640
|
+
"kind": "expression"
|
|
2641
|
+
}
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
"name": "lazy-render",
|
|
2645
|
+
"default": "`false`",
|
|
2646
|
+
"description": "是否延迟渲染未展示的轮播",
|
|
2647
|
+
"options": [],
|
|
2648
|
+
"value": {
|
|
2649
|
+
"type": "boolean",
|
|
2650
|
+
"kind": "expression"
|
|
2651
|
+
}
|
|
2652
|
+
},
|
|
2653
|
+
{
|
|
2654
|
+
"name": "indicator-color",
|
|
2655
|
+
"default": "`#1989fa`",
|
|
2656
|
+
"description": "指示器颜色",
|
|
2657
|
+
"options": [],
|
|
2658
|
+
"value": {
|
|
2659
|
+
"type": "string",
|
|
2660
|
+
"kind": "expression"
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
]
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"name": "swipe-item",
|
|
2667
|
+
"slots": [],
|
|
2668
|
+
"events": [
|
|
2669
|
+
{
|
|
2670
|
+
"name": "click",
|
|
2671
|
+
"description": "点击时触发",
|
|
2672
|
+
"arguments": [
|
|
2673
|
+
{
|
|
2674
|
+
"name": "event",
|
|
2675
|
+
"type": "MouseEvent"
|
|
2676
|
+
}
|
|
2677
|
+
]
|
|
2678
|
+
}
|
|
2679
|
+
],
|
|
2680
|
+
"attributes": []
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"name": "switch",
|
|
2684
|
+
"slots": [
|
|
2685
|
+
{
|
|
2686
|
+
"name": "node",
|
|
2687
|
+
"description": "自定义按钮的内容"
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
"name": "background",
|
|
2691
|
+
"description": "自定义开关的背景内容"
|
|
2692
|
+
}
|
|
2693
|
+
],
|
|
2694
|
+
"events": [
|
|
2695
|
+
{
|
|
2696
|
+
"name": "change",
|
|
2697
|
+
"description": "开关状态切换时触发",
|
|
2698
|
+
"arguments": [
|
|
2699
|
+
{
|
|
2700
|
+
"name": "value",
|
|
2701
|
+
"type": "any"
|
|
2702
|
+
}
|
|
2703
|
+
]
|
|
2704
|
+
},
|
|
2705
|
+
{
|
|
2706
|
+
"name": "click",
|
|
2707
|
+
"description": "点击时触发",
|
|
2708
|
+
"arguments": [
|
|
2709
|
+
{
|
|
2710
|
+
"name": "event",
|
|
2711
|
+
"type": "MouseEvent"
|
|
2712
|
+
}
|
|
2713
|
+
]
|
|
2714
|
+
}
|
|
2715
|
+
],
|
|
2716
|
+
"attributes": [
|
|
2717
|
+
{
|
|
2718
|
+
"name": "v-model",
|
|
2719
|
+
"default": "`false`",
|
|
2720
|
+
"description": "开关选中状态",
|
|
2721
|
+
"options": [],
|
|
2722
|
+
"value": {
|
|
2723
|
+
"type": "any",
|
|
2724
|
+
"kind": "expression"
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2727
|
+
{
|
|
2728
|
+
"name": "loading",
|
|
2729
|
+
"default": "`false`",
|
|
2730
|
+
"description": "是否为加载状态",
|
|
2731
|
+
"options": [],
|
|
2732
|
+
"value": {
|
|
2733
|
+
"type": "boolean",
|
|
2734
|
+
"kind": "expression"
|
|
2735
|
+
}
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"name": "disabled",
|
|
2739
|
+
"default": "`false`",
|
|
2740
|
+
"description": "是否为禁用状态",
|
|
2741
|
+
"options": [],
|
|
2742
|
+
"value": {
|
|
2743
|
+
"type": "boolean",
|
|
2744
|
+
"kind": "expression"
|
|
2745
|
+
}
|
|
2746
|
+
},
|
|
2747
|
+
{
|
|
2748
|
+
"name": "size",
|
|
2749
|
+
"default": "`26px`",
|
|
2750
|
+
"description": "开关按钮的尺寸,默认单位为 `px`",
|
|
2751
|
+
"options": [],
|
|
2752
|
+
"value": {
|
|
2753
|
+
"type": "number | string",
|
|
2754
|
+
"kind": "expression"
|
|
2755
|
+
}
|
|
2756
|
+
},
|
|
2757
|
+
{
|
|
2758
|
+
"name": "active-color",
|
|
2759
|
+
"default": "`#1989fa`",
|
|
2760
|
+
"description": "打开时的背景色",
|
|
2761
|
+
"options": [],
|
|
2762
|
+
"value": {
|
|
2763
|
+
"type": "string",
|
|
2764
|
+
"kind": "expression"
|
|
2765
|
+
}
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
"name": "inactive-color",
|
|
2769
|
+
"default": "`rgba(120, 120, 128, 0.16)`",
|
|
2770
|
+
"description": "关闭时的背景色",
|
|
2771
|
+
"options": [],
|
|
2772
|
+
"value": {
|
|
2773
|
+
"type": "string",
|
|
2774
|
+
"kind": "expression"
|
|
2775
|
+
}
|
|
2776
|
+
},
|
|
2777
|
+
{
|
|
2778
|
+
"name": "active-value",
|
|
2779
|
+
"default": "`true`",
|
|
2780
|
+
"description": "打开时对应的值",
|
|
2781
|
+
"options": [],
|
|
2782
|
+
"value": {
|
|
2783
|
+
"type": "any",
|
|
2784
|
+
"kind": "expression"
|
|
2785
|
+
}
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
"name": "inactive-value",
|
|
2789
|
+
"default": "`false`",
|
|
2790
|
+
"description": "关闭时对应的值",
|
|
2791
|
+
"options": [],
|
|
2792
|
+
"value": {
|
|
2793
|
+
"type": "any",
|
|
2794
|
+
"kind": "expression"
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
]
|
|
2798
|
+
},
|
|
2799
|
+
{
|
|
2800
|
+
"name": "tabs",
|
|
2801
|
+
"slots": [
|
|
2802
|
+
{
|
|
2803
|
+
"name": "nav-left",
|
|
2804
|
+
"description": "标签栏左侧内容"
|
|
2805
|
+
},
|
|
2806
|
+
{
|
|
2807
|
+
"name": "nav-right",
|
|
2808
|
+
"description": "标签栏右侧内容"
|
|
2809
|
+
},
|
|
2810
|
+
{
|
|
2811
|
+
"name": "nav-bottom",
|
|
2812
|
+
"description": "标签栏下方内容"
|
|
2813
|
+
}
|
|
2814
|
+
],
|
|
2815
|
+
"events": [
|
|
2816
|
+
{
|
|
2817
|
+
"name": "click-tab",
|
|
2818
|
+
"description": "点击标签时触发",
|
|
2819
|
+
"arguments": [
|
|
2820
|
+
{
|
|
2821
|
+
"name": "{ name: string | number, title: string, event: MouseEvent, disabled: boolean }"
|
|
2822
|
+
}
|
|
2823
|
+
]
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
"name": "change",
|
|
2827
|
+
"description": "当前激活的标签改变时触发",
|
|
2828
|
+
"arguments": [
|
|
2829
|
+
{
|
|
2830
|
+
"name": "name",
|
|
2831
|
+
"type": "string | number"
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"name": "title",
|
|
2835
|
+
"type": "string"
|
|
2836
|
+
}
|
|
2837
|
+
]
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"name": "rendered",
|
|
2841
|
+
"description": "标签内容首次渲染时触发(仅在开启延迟渲染后触发)",
|
|
2842
|
+
"arguments": [
|
|
2843
|
+
{
|
|
2844
|
+
"name": "name",
|
|
2845
|
+
"type": "string | number"
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
"name": "title",
|
|
2849
|
+
"type": "string"
|
|
2850
|
+
}
|
|
2851
|
+
]
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
"name": "scroll",
|
|
2855
|
+
"description": "滚动时触发,仅在 sticky 模式下生效",
|
|
2856
|
+
"arguments": [
|
|
2857
|
+
{
|
|
2858
|
+
"name": "{ scrollTop: number, isFixed: boolean }"
|
|
2859
|
+
}
|
|
2860
|
+
]
|
|
2861
|
+
}
|
|
2862
|
+
],
|
|
2863
|
+
"attributes": [
|
|
2864
|
+
{
|
|
2865
|
+
"name": "v-model:active",
|
|
2866
|
+
"default": "`0`",
|
|
2867
|
+
"description": "绑定当前选中标签的标识符",
|
|
2868
|
+
"options": [],
|
|
2869
|
+
"value": {
|
|
2870
|
+
"type": "number | string",
|
|
2871
|
+
"kind": "expression"
|
|
2872
|
+
}
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
"name": "type",
|
|
2876
|
+
"default": "`line`",
|
|
2877
|
+
"description": "样式风格类型,可选值为 `card`",
|
|
2878
|
+
"options": [],
|
|
2879
|
+
"value": {
|
|
2880
|
+
"type": "string",
|
|
2881
|
+
"kind": "expression"
|
|
2882
|
+
}
|
|
2883
|
+
},
|
|
2884
|
+
{
|
|
2885
|
+
"name": "color",
|
|
2886
|
+
"default": "`#1989fa`",
|
|
2887
|
+
"description": "标签主题色",
|
|
2888
|
+
"options": [],
|
|
2889
|
+
"value": {
|
|
2890
|
+
"type": "string",
|
|
2891
|
+
"kind": "expression"
|
|
2892
|
+
}
|
|
2893
|
+
},
|
|
2894
|
+
{
|
|
2895
|
+
"name": "background",
|
|
2896
|
+
"default": "`white`",
|
|
2897
|
+
"description": "标签栏背景色",
|
|
2898
|
+
"options": [],
|
|
2899
|
+
"value": {
|
|
2900
|
+
"type": "string",
|
|
2901
|
+
"kind": "expression"
|
|
2902
|
+
}
|
|
2903
|
+
},
|
|
2904
|
+
{
|
|
2905
|
+
"name": "duration",
|
|
2906
|
+
"default": "`0.3`",
|
|
2907
|
+
"description": "动画时间,单位秒,设置为 0 可以禁用动画",
|
|
2908
|
+
"options": [],
|
|
2909
|
+
"value": {
|
|
2910
|
+
"type": "number | string",
|
|
2911
|
+
"kind": "expression"
|
|
2912
|
+
}
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
"name": "line-width",
|
|
2916
|
+
"default": "`40px`",
|
|
2917
|
+
"description": "底部条宽度,默认单位 `px`",
|
|
2918
|
+
"options": [],
|
|
2919
|
+
"value": {
|
|
2920
|
+
"type": "number | string",
|
|
2921
|
+
"kind": "expression"
|
|
2922
|
+
}
|
|
2923
|
+
},
|
|
2924
|
+
{
|
|
2925
|
+
"name": "line-height",
|
|
2926
|
+
"default": "`3px`",
|
|
2927
|
+
"description": "底部条高度,默认单位 `px`",
|
|
2928
|
+
"options": [],
|
|
2929
|
+
"value": {
|
|
2930
|
+
"type": "number | string",
|
|
2931
|
+
"kind": "expression"
|
|
2932
|
+
}
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"name": "animated",
|
|
2936
|
+
"default": "`false`",
|
|
2937
|
+
"description": "是否开启切换标签内容时的转场动画",
|
|
2938
|
+
"options": [],
|
|
2939
|
+
"value": {
|
|
2940
|
+
"type": "boolean",
|
|
2941
|
+
"kind": "expression"
|
|
2942
|
+
}
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
"name": "border",
|
|
2946
|
+
"default": "`false`",
|
|
2947
|
+
"description": "是否显示标签栏外边框,仅在 `type=\"line\"` 时有效",
|
|
2948
|
+
"options": [],
|
|
2949
|
+
"value": {
|
|
2950
|
+
"type": "boolean",
|
|
2951
|
+
"kind": "expression"
|
|
2952
|
+
}
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"name": "ellipsis",
|
|
2956
|
+
"default": "`true`",
|
|
2957
|
+
"description": "是否省略过长的标题文字",
|
|
2958
|
+
"options": [],
|
|
2959
|
+
"value": {
|
|
2960
|
+
"type": "boolean",
|
|
2961
|
+
"kind": "expression"
|
|
2962
|
+
}
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"name": "sticky",
|
|
2966
|
+
"default": "`false`",
|
|
2967
|
+
"description": "是否使用粘性布局",
|
|
2968
|
+
"options": [],
|
|
2969
|
+
"value": {
|
|
2970
|
+
"type": "boolean",
|
|
2971
|
+
"kind": "expression"
|
|
2972
|
+
}
|
|
2973
|
+
},
|
|
2974
|
+
{
|
|
2975
|
+
"name": "shrink",
|
|
2976
|
+
"default": "`false`",
|
|
2977
|
+
"description": "是否开启左侧收缩布局",
|
|
2978
|
+
"options": [],
|
|
2979
|
+
"value": {
|
|
2980
|
+
"type": "boolean",
|
|
2981
|
+
"kind": "expression"
|
|
2982
|
+
}
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"name": "swipeable",
|
|
2986
|
+
"default": "`false`",
|
|
2987
|
+
"description": "是否开启手势左右滑动切换",
|
|
2988
|
+
"options": [],
|
|
2989
|
+
"value": {
|
|
2990
|
+
"type": "boolean",
|
|
2991
|
+
"kind": "expression"
|
|
2992
|
+
}
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
"name": "lazy-render",
|
|
2996
|
+
"default": "`true`",
|
|
2997
|
+
"description": "是否开启延迟渲染(首次切换到标签时才触发内容渲染)",
|
|
2998
|
+
"options": [],
|
|
2999
|
+
"value": {
|
|
3000
|
+
"type": "boolean",
|
|
3001
|
+
"kind": "expression"
|
|
3002
|
+
}
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"name": "scrollspy",
|
|
3006
|
+
"default": "`false`",
|
|
3007
|
+
"description": "是否开启滚动导航",
|
|
3008
|
+
"options": [],
|
|
3009
|
+
"value": {
|
|
3010
|
+
"type": "boolean",
|
|
3011
|
+
"kind": "expression"
|
|
3012
|
+
}
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
"name": "offset-top",
|
|
3016
|
+
"default": "`0`",
|
|
3017
|
+
"description": "粘性布局下吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`",
|
|
3018
|
+
"options": [],
|
|
3019
|
+
"value": {
|
|
3020
|
+
"type": "number | string",
|
|
3021
|
+
"kind": "expression"
|
|
3022
|
+
}
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
"name": "swipe-threshold",
|
|
3026
|
+
"default": "`5`",
|
|
3027
|
+
"description": "滚动阈值,标签数量超过阈值且总宽度超过标签栏宽度时开始横向滚动",
|
|
3028
|
+
"options": [],
|
|
3029
|
+
"value": {
|
|
3030
|
+
"type": "number | string",
|
|
3031
|
+
"kind": "expression"
|
|
3032
|
+
}
|
|
3033
|
+
},
|
|
3034
|
+
{
|
|
3035
|
+
"name": "title-active-color",
|
|
3036
|
+
"default": "-",
|
|
3037
|
+
"description": "标题选中态颜色",
|
|
3038
|
+
"options": [],
|
|
3039
|
+
"value": {
|
|
3040
|
+
"type": "string",
|
|
3041
|
+
"kind": "expression"
|
|
3042
|
+
}
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"name": "title-inactive-color",
|
|
3046
|
+
"default": "-",
|
|
3047
|
+
"description": "标题默认态颜色",
|
|
3048
|
+
"options": [],
|
|
3049
|
+
"value": {
|
|
3050
|
+
"type": "string",
|
|
3051
|
+
"kind": "expression"
|
|
3052
|
+
}
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
"name": "before-change",
|
|
3056
|
+
"default": "-",
|
|
3057
|
+
"description": "切换标签前的回调函数,返回 `false` 可阻止切换,支持返回 Promise",
|
|
3058
|
+
"options": [],
|
|
3059
|
+
"value": {
|
|
3060
|
+
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
|
3061
|
+
"kind": "expression"
|
|
3062
|
+
}
|
|
3063
|
+
}
|
|
3064
|
+
]
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
"name": "tab",
|
|
3068
|
+
"slots": [
|
|
3069
|
+
{
|
|
3070
|
+
"name": "default",
|
|
3071
|
+
"description": "标签页内容"
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
"name": "title",
|
|
3075
|
+
"description": "自定义标题"
|
|
3076
|
+
}
|
|
3077
|
+
],
|
|
3078
|
+
"events": [],
|
|
3079
|
+
"attributes": [
|
|
3080
|
+
{
|
|
3081
|
+
"name": "title",
|
|
3082
|
+
"default": "-",
|
|
3083
|
+
"description": "标题",
|
|
3084
|
+
"options": [],
|
|
3085
|
+
"value": {
|
|
3086
|
+
"type": "string",
|
|
3087
|
+
"kind": "expression"
|
|
3088
|
+
}
|
|
3089
|
+
},
|
|
3090
|
+
{
|
|
3091
|
+
"name": "disabled",
|
|
3092
|
+
"default": "`false`",
|
|
3093
|
+
"description": "是否禁用标签",
|
|
3094
|
+
"options": [],
|
|
3095
|
+
"value": {
|
|
3096
|
+
"type": "boolean",
|
|
3097
|
+
"kind": "expression"
|
|
3098
|
+
}
|
|
3099
|
+
},
|
|
3100
|
+
{
|
|
3101
|
+
"name": "dot",
|
|
3102
|
+
"default": "`false`",
|
|
3103
|
+
"description": "是否在标题右上角显示小红点",
|
|
3104
|
+
"options": [],
|
|
3105
|
+
"value": {
|
|
3106
|
+
"type": "boolean",
|
|
3107
|
+
"kind": "expression"
|
|
3108
|
+
}
|
|
3109
|
+
},
|
|
3110
|
+
{
|
|
3111
|
+
"name": "badge",
|
|
3112
|
+
"default": "-",
|
|
3113
|
+
"description": "图标右上角徽标的内容",
|
|
3114
|
+
"options": [],
|
|
3115
|
+
"value": {
|
|
3116
|
+
"type": "number | string",
|
|
3117
|
+
"kind": "expression"
|
|
3118
|
+
}
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
"name": "name",
|
|
3122
|
+
"default": "标签的索引值",
|
|
3123
|
+
"description": "标签名称,作为匹配的标识符",
|
|
3124
|
+
"options": [],
|
|
3125
|
+
"value": {
|
|
3126
|
+
"type": "number | string",
|
|
3127
|
+
"kind": "expression"
|
|
3128
|
+
}
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
"name": "url",
|
|
3132
|
+
"default": "-",
|
|
3133
|
+
"description": "点击后跳转的链接地址",
|
|
3134
|
+
"options": [],
|
|
3135
|
+
"value": {
|
|
3136
|
+
"type": "string",
|
|
3137
|
+
"kind": "expression"
|
|
3138
|
+
}
|
|
3139
|
+
},
|
|
3140
|
+
{
|
|
3141
|
+
"name": "to",
|
|
3142
|
+
"default": "-",
|
|
3143
|
+
"description": "点击后跳转的目标路由对象,等同于 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to)",
|
|
3144
|
+
"options": [],
|
|
3145
|
+
"value": {
|
|
3146
|
+
"type": "string | object",
|
|
3147
|
+
"kind": "expression"
|
|
3148
|
+
}
|
|
3149
|
+
},
|
|
3150
|
+
{
|
|
3151
|
+
"name": "replace",
|
|
3152
|
+
"default": "`false`",
|
|
3153
|
+
"description": "是否在跳转时替换当前页面历史",
|
|
3154
|
+
"options": [],
|
|
3155
|
+
"value": {
|
|
3156
|
+
"type": "boolean",
|
|
3157
|
+
"kind": "expression"
|
|
3158
|
+
}
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
"name": "title-style",
|
|
3162
|
+
"default": "-",
|
|
3163
|
+
"description": "自定义标题样式",
|
|
3164
|
+
"options": [],
|
|
3165
|
+
"value": {
|
|
3166
|
+
"type": "string | Array | object",
|
|
3167
|
+
"kind": "expression"
|
|
3168
|
+
}
|
|
3169
|
+
},
|
|
3170
|
+
{
|
|
3171
|
+
"name": "title-class",
|
|
3172
|
+
"default": "-",
|
|
3173
|
+
"description": "自定义标题类名",
|
|
3174
|
+
"options": [],
|
|
3175
|
+
"value": {
|
|
3176
|
+
"type": "string | Array | object",
|
|
3177
|
+
"kind": "expression"
|
|
3178
|
+
}
|
|
3179
|
+
},
|
|
3180
|
+
{
|
|
3181
|
+
"name": "show-zero-badge",
|
|
3182
|
+
"default": "`true`",
|
|
3183
|
+
"description": "当 badge 为数字 0 时,是否展示徽标",
|
|
3184
|
+
"options": [],
|
|
3185
|
+
"value": {
|
|
3186
|
+
"type": "boolean",
|
|
3187
|
+
"kind": "expression"
|
|
3188
|
+
}
|
|
3189
|
+
}
|
|
3190
|
+
]
|
|
3191
|
+
}
|
|
3192
|
+
],
|
|
3193
|
+
"attributes": [],
|
|
3194
|
+
"types-syntax": "typescript"
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
}
|