bkui-vue 0.0.1-beta.5 → 0.0.1-beta.50
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 +31 -19
- package/dist/index.cjs.js +57 -0
- package/dist/index.esm.js +20913 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2009
- package/lib/alert/alert.d.ts +25 -16
- package/lib/alert/alert.variable.css +33 -0
- package/lib/alert/index.d.ts +180 -0
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +97 -0
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.variable.css +33 -0
- package/lib/backtop/index.d.ts +166 -0
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.d.ts +41 -20
- package/lib/badge/badge.variable.css +33 -0
- package/lib/badge/index.d.ts +217 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +10 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +43 -1
- package/lib/breadcrumb/index.d.ts +194 -0
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +41 -21
- package/lib/button/button.d.ts +67 -31
- package/lib/button/button.less +44 -29
- package/lib/button/button.variable.css +74 -21
- package/lib/button/index.d.ts +237 -0
- package/lib/button/index.js +1 -1
- package/lib/card/card.d.ts +30 -15
- package/lib/card/card.variable.css +33 -0
- package/lib/card/index.d.ts +187 -0
- package/lib/card/index.js +1 -1
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.css +12 -0
- package/lib/checkbox/checkbox.d.ts +33 -30
- package/lib/checkbox/checkbox.less +17 -0
- package/lib/checkbox/checkbox.variable.css +45 -0
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +253 -0
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +9 -12
- package/lib/code-diff/code-diff.css +186 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.less +238 -0
- package/lib/code-diff/code-diff.variable.css +280 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.css +8 -0
- package/lib/collapse/collapse.d.ts +50 -18
- package/lib/collapse/collapse.less +10 -0
- package/lib/collapse/collapse.variable.css +8 -0
- package/lib/collapse/index.d.ts +166 -0
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +41 -0
- package/lib/date-picker/date-picker.css +407 -0
- package/lib/date-picker/date-picker.d.ts +294 -0
- package/lib/date-picker/date-picker.less +526 -0
- package/lib/date-picker/date-picker.variable.css +501 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +713 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/props.d.ts +111 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.css +34 -0
- package/lib/dialog/dialog.d.ts +132 -30
- package/lib/dialog/dialog.less +6 -0
- package/lib/dialog/dialog.variable.css +34 -0
- package/lib/dialog/index.d.ts +441 -0
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -0
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +48 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +132 -0
- package/lib/divider/index.d.ts +142 -0
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +19 -0
- package/lib/dropdown/dropdown-menu.d.ts +16 -0
- package/lib/dropdown/dropdown.css +43 -0
- package/lib/dropdown/dropdown.d.ts +63 -0
- package/lib/dropdown/dropdown.less +54 -0
- package/lib/dropdown/dropdown.variable.css +137 -0
- package/lib/dropdown/index.d.ts +200 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +33 -0
- package/lib/exception/index.d.ts +96 -0
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +33 -0
- package/lib/fixed-navbar/index.d.ts +112 -0
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/common.d.ts +3 -0
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +145 -0
- package/lib/form/form.css +110 -0
- package/lib/form/form.d.ts +64 -0
- package/lib/form/form.less +138 -0
- package/lib/form/form.variable.css +204 -0
- package/lib/form/index.d.ts +262 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +21 -0
- package/lib/form/validator.d.ts +8 -0
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +1 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +1 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-left.js +1 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +1 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-double-right.js +1 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +1 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +1 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/angle-right.js +1 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +1 -0
- package/lib/icon/angle-up.d.ts +4 -0
- package/lib/icon/angle-up.js +1 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +1 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +1 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/circle.js +1 -0
- package/lib/icon/close.d.ts +4 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/copy.js +1 -0
- package/lib/icon/done.d.ts +4 -0
- package/lib/icon/done.js +1 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.d.ts +4 -0
- package/lib/icon/down-small.js +1 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +1 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/error.js +1 -0
- package/lib/icon/eye.d.ts +4 -0
- package/lib/icon/eye.js +1 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/folder.js +1 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.d.ts +4 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.d.ts +4 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/icon.d.ts +12 -0
- package/lib/icon/index.d.ts +54 -0
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.d.ts +4 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +1 -0
- package/lib/icon/play-shape.d.ts +4 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/search.d.ts +4 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.d.ts +4 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unvisible.d.ts +4 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +1 -0
- package/lib/icon/warn.d.ts +4 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/input/index.d.ts +451 -0
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +66 -4
- package/lib/input/input.d.ts +122 -47
- package/lib/input/input.less +84 -8
- package/lib/input/input.variable.css +100 -4
- package/lib/link/index.d.ts +164 -0
- package/lib/link/index.js +1 -1
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +33 -0
- package/lib/loading/index.d.ts +172 -0
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +110 -73
- package/lib/loading/loading.d.ts +67 -20
- package/lib/loading/loading.less +75 -58
- package/lib/loading/loading.variable.css +143 -73
- package/lib/menu/index.d.ts +188 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +182 -0
- package/lib/menu/menu.d.ts +64 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +276 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +22 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +97 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +2 -0
- package/lib/message/index.js +1 -0
- package/lib/message/message.css +62 -0
- package/lib/message/message.less +72 -0
- package/lib/message/message.variable.css +156 -0
- package/lib/message/messageConstructor.d.ts +106 -0
- package/lib/modal/index.d.ts +362 -0
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +20 -0
- package/lib/modal/modal.d.ts +91 -15
- package/lib/modal/modal.less +27 -0
- package/lib/modal/modal.variable.css +20 -0
- package/lib/modal/props.mixin.d.ts +31 -1
- package/lib/navigation/index.d.ts +2 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation-title.d.ts +25 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +111 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +278 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +49 -0
- package/lib/notify/notify.less +58 -0
- package/lib/notify/notify.variable.css +143 -0
- package/lib/notify/notifyConstructor.d.ts +91 -0
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +273 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +318 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +23 -14
- package/lib/popover/popover.d.ts +89 -45
- package/lib/popover/popover.less +57 -46
- package/lib/popover/popover.variable.css +56 -14
- package/lib/popover/props.d.ts +89 -0
- package/lib/preset.d.ts +7 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +138 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.less +178 -0
- package/lib/process/process.variable.css +232 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +0 -3
- package/lib/progress/progress.d.ts +88 -35
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +33 -3
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +278 -0
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +29 -20
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +8 -2
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +9 -2
- package/lib/radio/radio.variable.css +41 -2
- package/lib/radio/type.d.ts +10 -5
- package/lib/rate/index.d.ts +113 -0
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/star.d.ts +33 -16
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +189 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.less +233 -0
- package/lib/resize-layout/resize-layout.variable.css +283 -0
- package/lib/select/common.d.ts +23 -17
- package/lib/select/index.d.ts +1377 -0
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +12 -19
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +248 -17
- package/lib/select/select.d.ts +282 -156
- package/lib/select/select.less +251 -46
- package/lib/select/select.variable.css +281 -17
- package/lib/select/type.d.ts +31 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
- package/lib/shared/index.d.ts +52 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +32 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -1
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +57 -6
- package/lib/shared/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +8 -7
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.d.ts +328 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.d.ts +97 -18
- package/lib/sideslider/sideslider.variable.css +33 -0
- package/{changelog.config.js → lib/slider/index.d.ts} +2 -8
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +80 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +201 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +243 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +288 -0
- package/lib/steps/steps.d.ts +161 -0
- package/lib/steps/steps.less +324 -0
- package/lib/steps/steps.variable.css +382 -0
- package/lib/styles/index.d.ts +47 -0
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +52 -0
- package/lib/styles/mixins/popper.variable.css +43 -0
- package/lib/styles/mixins/size.less +9 -0
- package/lib/styles/reset.css +273 -0
- package/lib/styles/reset.less +313 -0
- package/lib/styles/reset.variable.css +273 -0
- package/lib/styles/themes/themes.less +53 -2
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/index.js +1 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +286 -0
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +149 -135
- package/lib/switcher/switcher.d.ts +49 -33
- package/lib/switcher/switcher.less +211 -153
- package/lib/switcher/switcher.variable.css +182 -135
- package/lib/tab/index.d.ts +443 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +191 -0
- package/lib/tab/tab-nav.d.ts +165 -0
- package/lib/tab/tab-panel.d.ts +73 -0
- package/lib/tab/tab.css +148 -0
- package/lib/tab/tab.d.ts +140 -0
- package/lib/tab/tab.less +222 -0
- package/lib/tab/tab.variable.css +242 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +306 -0
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +68 -0
- package/lib/table/plugins/head-filter.less +83 -0
- package/lib/table/plugins/head-filter.variable.css +162 -0
- package/lib/table/plugins/head-sort.css +22 -0
- package/lib/table/plugins/head-sort.less +28 -0
- package/lib/table/plugins/head-sort.variable.css +116 -0
- package/lib/table/props.d.ts +143 -0
- package/lib/table/render.d.ts +110 -0
- package/lib/table/table.css +192 -0
- package/lib/table/table.d.ts +89 -36
- package/lib/table/table.less +131 -2
- package/lib/table/table.variable.css +225 -0
- package/lib/table/use-common.d.ts +17 -0
- package/lib/table/utils.d.ts +83 -0
- package/lib/tag/index.d.ts +229 -0
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +97 -0
- package/lib/tag/tag.d.ts +83 -53
- package/lib/tag/tag.less +110 -2
- package/lib/tag/tag.variable.css +130 -0
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +2 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +47 -0
- package/lib/tag-input/tag-input.css +208 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +250 -0
- package/lib/tag-input/tag-input.variable.css +302 -0
- package/lib/tag-input/tag-props.d.ts +131 -0
- package/lib/tag-input/tag-render.d.ts +38 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +239 -0
- package/lib/timeline/timeline.variable.css +329 -0
- package/lib/transfer/index.d.ts +351 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/transfer.css +158 -0
- package/lib/transfer/transfer.d.ts +185 -0
- package/lib/transfer/transfer.less +171 -0
- package/lib/transfer/transfer.variable.css +252 -0
- package/lib/tree/index.d.ts +287 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +89 -0
- package/lib/tree/tree.css +50 -0
- package/lib/tree/tree.d.ts +111 -0
- package/lib/tree/tree.less +63 -0
- package/lib/tree/tree.variable.css +144 -0
- package/lib/tree/util.d.ts +70 -0
- package/lib/use-form.d.ts +3 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +556 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +157 -0
- package/lib/virtual-render/v-virtual-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +244 -0
- package/lib/virtual-render/virtual-render.less +43 -0
- package/lib/virtual-render/virtual-render.variable.css +33 -0
- package/package.json +97 -78
- package/dist/bkui-vue.cjs.js +0 -4887
- package/dist/bkui-vue.esm.js +0 -4883
- package/dist/bkui-vue.umd.js +0 -4890
- package/lib/checkbox-group/index.js +0 -1
- package/lib/radio-button/index.js +0 -1
- package/lib/radio-group/index.js +0 -1
- package/lib/styles/index.js +0 -1
- package/lib/table/common.d.ts +0 -3
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var r="object"==typeof exports?t(require("vue")):t(e.vue);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,(e=>(()=>{"use strict";var t={9430:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(748);function o(e,t,r){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r)}),(e.elements||[]).map((function(r,n){return o(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create;var a=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),a=r.data,i=r.name,c=r.width,l=r.height,s=r.fill,p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(r,["data","name","width","height","fill"]),u="width: ".concat(c,"; height: ").concat(l,"; fill: ").concat(s);return(0,n.createVNode)("span",p,[o(a,i,u)])};a.inheritAttrs=!1,a.displayName="bkIcon";const i=a},748:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{default:()=>i});var e=n(748),t=n(9430),r=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M432.64 576h156.79999999999998l-79.36-260.48-77.44 260.48z"}},{"type":"element","name":"path","attributes":{"d":"M512 0c-282.75199999999995 0-512 229.248-512 512s229.248 512 512 512c282.75199999999995 0 512-229.248 512-512s-229.248-512-512-512zM681.5999999999999 768h-9.6c-0.042666666666666665 0-0.128 0-0.21333333333333332 0-14.250666666666667 0-26.325333333333333-9.301333333333332-30.464-22.186666666666667l-32.04266666666666-105.81333333333333h-192l-33.28 105.6c-4.1386666666666665 13.994666666666667-16.896 24.02133333333333-32 24.02133333333333-18.389333333333333 0-33.32266666666666-14.933333333333332-33.32266666666666-33.32266666666666 0-3.328 0.46933333333333327-6.485333333333333 1.3653333333333333-9.514666666666667l133.07733333333334-429.82399999999996c9.813333333333333-23.552 32.64-39.808 59.263999999999996-39.808 24.917333333333332 0 46.464 14.208 57.04533333333333 34.986666666666665l134.57066666666665 434.304c1.152 3.157333333333333 1.792 6.784 1.792 10.581333333333333 0 14.890666666666664-10.197333333333333 27.434666666666665-23.97866666666667 30.976z"}}]}'),a=function(n,o){var a=Object.assign(Object.assign({},n),o.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(a,{data:r,name:"treeApplicationShape"}),null)};a.displayName="treeApplicationShape",a.inheritAttrs=!1;const i=a})(),o})()));
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var r="object"==typeof exports?t(require("vue")):t(e.vue);for(var a in r)("object"==typeof exports?exports:e)[a]=r[a]}}(self,(e=>(()=>{"use strict";var t={9430:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(748);function n(e,t,r){return(0,a.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r)}),(e.elements||[]).map((function(r,a){return n(r,"".concat(t,"-").concat(e.name,"-").concat(a))})))}Object.create,Object.create;var o=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),o=r.data,i=r.name,l=r.width,s=r.height,c=r.fill,u=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]])}return r}(r,["data","name","width","height","fill"]),p="width: ".concat(l,"; height: ").concat(s,"; fill: ").concat(c);return(0,a.createVNode)("span",u,[n(o,i,p)])};o.inheritAttrs=!1,o.displayName="bkIcon";const i=o},748:t=>{t.exports=e}},r={};function a(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{a.r(n),a.d(n,{default:()=>i});var e=a(748),t=a(9430),r=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M500.16 304a355.04 355.04 0 0 1 128 24.8l48-48.96a426.08 426.08 0 0 0-176-39.84v64Z"}},{"type":"element","name":"path","attributes":{"d":"M763.2 328.8l-46.08 46.08a822.24 822.24 0 0 1 160 138.88 807.52 807.52 0 0 1-86.88 85.12C723.84 654.24 620.48 720 502.56 720a331.52 331.52 0 0 1-111.04-19.52l-49.44 49.28a402.4 402.4 0 0 0 160 34.24C768 784 960 512 960 512A962.56 962.56 0 0 0 763.2 328.8Z"}},{"type":"element","name":"path","attributes":{"d":"M254.88 701.12l46.08-46.08a706.56 706.56 0 0 1-156.64-144C197.44 442.88 328.16 304 500.16 304V240h0C234.72 240 64 512 64 512A838.72 838.72 0 0 0 254.88 701.12Z"}},{"type":"element","name":"path","attributes":{"d":"M512 640a128 128 0 0 0 110.24-192.96L888 181.28A32 32 0 1 0 842.72 136L576.96 401.76a128 128 0 0 0-176 176L136 842.72a32 32 0 1 0 45.28 45.28L447.04 622.24A128 128 0 0 0 512 640Zm64-128a64 64 0 0 1-64 64 60.96 60.96 0 0 1-16-2.4L573.6 496A60.96 60.96 0 0 1 576 512Zm-64-64a60.96 60.96 0 0 1 16 2.4L450.4 528A60.96 60.96 0 0 1 448 512 64 64 0 0 1 512 448Z"}}]}'),o=function(a,n){var o=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(o,{data:r,name:"unvisible"}),null)};o.displayName="unvisible",o.inheritAttrs=!1;const i=o})(),n})()));
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var r="object"==typeof exports?t(require("vue")):t(e.vue);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,(e=>(()=>{"use strict";var t={9430:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(748);function o(e,t,r){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r)}),(e.elements||[]).map((function(r,n){return o(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create;var a=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),a=r.data,c=r.name,i=r.width,s=r.height,l=r.fill,p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(r,["data","name","width","height","fill"]),u="width: ".concat(i,"; height: ").concat(s,"; fill: ").concat(l);return(0,n.createVNode)("span",p,[o(a,c,u)])};a.inheritAttrs=!1,a.displayName="bkIcon";const c=a},748:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{default:()=>c});var e=n(748),t=n(9430),r=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M896 671.3599999999999c0-2.5599999999999996-0.6399999999999999-4.4799999999999995-1.2799999999999998-7.04-0.6399999999999999-1.92-0.6399999999999999-3.84-1.2799999999999998-5.119999999999999s-1.2799999999999998-2.5599999999999996-1.92-3.1999999999999997c-1.2799999999999998-2.5599999999999996-2.5599999999999996-4.4799999999999995-4.4799999999999995-6.3999999999999995 0 0 0 0 0-0.6399999999999999l-356.48-384c-10.239999999999998-11.52-26.88-11.52-37.12 0l-356.48 384c0 0 0 0.6399999999999999 0 0.6399999999999999-1.92 1.92-2.5599999999999996 3.84-3.84 6.3999999999999995-0.6399999999999999 1.2799999999999998-1.92 2.5599999999999996-2.5599999999999996 3.84s-0.6399999999999999 3.1999999999999997-1.2799999999999998 5.119999999999999c-0.6399999999999999 1.2799999999999998-1.2799999999999998 3.84-1.2799999999999998 6.3999999999999995 0 0 0 0.6399999999999999 0 0.6399999999999999 0 1.92 0.6399999999999999 3.1999999999999997 0.6399999999999999 4.4799999999999995 0 2.5599999999999996 0.6399999999999999 4.4799999999999995 1.2799999999999998 7.04s1.92 4.4799999999999995 3.1999999999999997 6.3999999999999995c0.6399999999999999 1.2799999999999998 1.2799999999999998 2.5599999999999996 1.92 3.84 0 0 0 0 0.6399999999999999 0.6399999999999999 1.2799999999999998 1.92 3.1999999999999997 3.1999999999999997 5.119999999999999 4.4799999999999995 1.2799999999999998 0.6399999999999999 2.5599999999999996 1.92 3.84 2.5599999999999996s2.5599999999999996 0.6399999999999999 3.84 1.2799999999999998c1.92 0 3.84 1.2799999999999998 6.3999999999999995 1.2799999999999998 0 0 0.6399999999999999 0 0.6399999999999999 0h712.96c3.84 0 7.68-0.6399999999999999 10.879999999999999-2.5599999999999996 0.6399999999999999 0 0.6399999999999999-0.6399999999999999 1.2799999999999998-0.6399999999999999 3.1999999999999997-1.92 5.76-3.84 8.32-6.3999999999999995 0 0 0 0 0.6399999999999999 0 0.6399999999999999-1.2799999999999998 1.2799999999999998-2.5599999999999996 1.92-3.84 1.2799999999999998-1.92 2.5599999999999996-3.84 3.1999999999999997-6.3999999999999995 0.6399999999999999-1.92 0.6399999999999999-4.4799999999999995 1.2799999999999998-7.04 0-1.92 0.6399999999999999-3.1999999999999997 0.6399999999999999-4.4799999999999995-0.6399999999999999-0.6399999999999999-0.6399999999999999-1.2799999999999998-0.6399999999999999-1.2799999999999998z"}}]}'),a=function(n,o){var a=Object.assign(Object.assign({},n),o.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(a,{data:r,name:"upShape"}),null)};a.displayName="upShape",a.inheritAttrs=!1;const c=a})(),o})()));
|
package/lib/icon/warn.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var r="object"==typeof exports?t(require("vue")):t(e.vue);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,(e=>(()=>{"use strict";var t={9430:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(748);function o(e,t,r){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r)}),(e.elements||[]).map((function(r,n){return o(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create;var a=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),a=r.data,i=r.name,c=r.width,s=r.height,l=r.fill,u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(r,["data","name","width","height","fill"]),f="width: ".concat(c,"; height: ").concat(s,"; fill: ").concat(l);return(0,n.createVNode)("span",u,[o(a,i,f)])};a.inheritAttrs=!1,a.displayName="bkIcon";const i=a},748:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{default:()=>i});var e=n(748),t=n(9430),r=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM544 704h-64v-64h64V704zM544 576h-64V320h64V576z"}}]}'),a=function(n,o){var a=Object.assign(Object.assign({},n),o.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(a,{data:r,name:"warn"}),null)};a.displayName="warn",a.inheritAttrs=!1;const i=a})(),o})()));
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var r="object"==typeof exports?t(require("vue")):t(e.vue);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,(e=>(()=>{"use strict";var t={9430:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(748);function a(e,t,r){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(r)}),(e.elements||[]).map((function(r,n){return a(r,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create;var o=function(e,t){var r=Object.assign(Object.assign({},t.attrs),e),o=r.data,c=r.name,i=r.width,s=r.height,l=r.fill,p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(r,["data","name","width","height","fill"]),u="width: ".concat(i,"; height: ").concat(s,"; fill: ").concat(l);return(0,n.createVNode)("span",p,[a(o,c,u)])};o.inheritAttrs=!1,o.displayName="bkIcon";const c=o},748:t=>{t.exports=e}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{n.r(a),n.d(a,{default:()=>c});var e=n(748),t=n(9430),r=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M603.52 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M357.11999999999995 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M693.12 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}},{"type":"element","name":"path","attributes":{"d":"M951.68 832c43.775999999999996-42.410666666666664 71.29599999999999-101.41866666666665 72.32-166.86933333333332-4.608-109.696-77.35466666666666-201.0453333333333-176.72533333333334-233.30133333333333 5.674666666666667-12.117333333333331 10.154666666666666-26.282666666666664 10.154666666666666-41.471999999999994 0-4.522666666666666-0.38399999999999995-8.959999999999999-1.152-13.226666666666667-33.834666666666664-181.29066666666665-212.39466666666664-313.1306666666667-425.5146666666667-313.1306666666667-238.71999999999997 0-430.72 167.04-430.72 372.48 1.2799999999999998 107.56266666666666 50.56 203.30666666666664 127.40266666666668 267.05066666666664l-16.682666666666666 55.50933333333333c-2.1759999999999997 6.784-3.456 14.634666666666668-3.456 22.741333333333333 0 42.410666666666664 34.38933333333333 76.8 76.8 76.8 12.458666666666666 0 24.191999999999997-2.944 34.602666666666664-8.234666666666666l101.33333333333333-52.906666666666666c32.81066666666666 7.722666666666666 70.52799999999999 12.159999999999998 109.22666666666666 12.159999999999998 0.08533333333333333 0 0.17066666666666666 0 0.21333333333333332 0h28.16c13.098666666666666-0.7679999999999999 25.130666666666663-4.693333333333333 35.54133333333333-11.050666666666666 54.22933333333333 73.55733333333333 140.672 120.53333333333333 238.07999999999998 120.53333333333333 1.664 0 3.3706666666666667 0 5.034666666666666-0.042666666666666665 21.077333333333332-0.08533333333333333 41.855999999999995-2.1759999999999997 61.99466666666667-6.101333333333333l49.10933333333333 26.581333333333333c9.941333333333333 5.034666666666666 21.717333333333332 8.021333333333333 34.176 8.021333333333333 42.410666666666664 0 76.8-34.38933333333333 76.8-76.8 0-8.106666666666666-1.2799999999999998-15.957333333333333-3.584-23.296zM430.72 752.64c-0.17066666666666666 0-0.38399999999999995 0-0.5973333333333333 0-40.831999999999994 0-80.29866666666666-5.8453333333333335-117.58933333333331-16.72533333333333l-3.456 0.7253333333333334-131.2 67.19999999999999 35.199999999999996-113.27999999999999h-3.1999999999999997c-86.10133333333332-52.05333333333333-143.40266666666668-144.17066666666665-145.92-249.89866666666666 0-172.50133333333332 165.76-312.66133333333335 366.72-312.66133333333335 5.717333333333333-0.3413333333333333 12.415999999999999-0.512 19.157333333333334-0.512 163.32799999999997 0 300.58666666666664 111.40266666666668 340.0106666666667 262.4l-14.805333333333332 2.432c-183.04 0-327.03999999999996 112-327.03999999999996 285.44 0.512 26.709333333333333 5.1626666666666665 52.181333333333335 13.312 75.98933333333332zM872.96 812.8v0l21.759999999999998 67.84-81.28-40.959999999999994h-3.84c-21.119999999999997 6.101333333333333-45.397333333333336 9.6-70.48533333333333 9.6-0.17066666666666666 0-0.38399999999999995 0-0.5546666666666666 0-5.888 0.5973333333333333-12.757333333333332 0.9386666666666665-19.712 0.9386666666666665-107.09333333333332 0-195.2853333333333-80.93866666666666-206.71999999999997-184.95999999999998 10.367999999999999-106.96533333333333 99.072-189.1413333333333 206.976-189.1413333333333 5.973333333333334 0 11.861333333333334 0.256 17.706666666666663 0.7253333333333334 4.309333333333333-0.512 10.197333333333333-0.7253333333333334 16.170666666666666-0.7253333333333334 107.904 0 196.60799999999998 82.17599999999999 206.976 187.34933333333333-1.7066666666666666 63.82933333333333-35.79733333333333 118.44266666666665-86.18666666666667 148.90666666666667z"}},{"type":"element","name":"path","attributes":{"d":"M839.68 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}}]}'),o=function(n,a){var o=Object.assign(Object.assign({},n),a.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(o,{data:r,name:"weixin"}),null)};o.displayName="weixin",o.inheritAttrs=!1;const c=o})(),a})()));
|
package/lib/index.d.ts
ADDED
@@ -0,0 +1,451 @@
|
|
1
|
+
declare const BkInput: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
type: string;
|
7
|
+
placeholder: string;
|
8
|
+
prefix: string;
|
9
|
+
step: number;
|
10
|
+
disabled: boolean;
|
11
|
+
modelValue: string | number;
|
12
|
+
readonly: boolean;
|
13
|
+
clearable: boolean;
|
14
|
+
behavior: string;
|
15
|
+
max: number;
|
16
|
+
min: number;
|
17
|
+
maxlength: number;
|
18
|
+
prefixIcon: string;
|
19
|
+
suffixIcon: string;
|
20
|
+
suffix: string;
|
21
|
+
showWordLimit: boolean;
|
22
|
+
showControl: boolean;
|
23
|
+
showClearOnlyHover: boolean;
|
24
|
+
precision: number;
|
25
|
+
rows: number;
|
26
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
27
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
28
|
+
default: string;
|
29
|
+
} & {
|
30
|
+
default: string;
|
31
|
+
};
|
32
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
33
|
+
default: boolean;
|
34
|
+
};
|
35
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
36
|
+
default: boolean;
|
37
|
+
};
|
38
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
|
+
default: boolean;
|
40
|
+
};
|
41
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
42
|
+
default: string;
|
43
|
+
} & {
|
44
|
+
default: string;
|
45
|
+
};
|
46
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
47
|
+
default: string;
|
48
|
+
};
|
49
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
50
|
+
default: string;
|
51
|
+
};
|
52
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
53
|
+
default: string;
|
54
|
+
};
|
55
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
56
|
+
default: string;
|
57
|
+
};
|
58
|
+
step: import("vue-types").VueTypeDef<number> & {
|
59
|
+
default: number;
|
60
|
+
};
|
61
|
+
max: import("vue-types").VueTypeDef<number> & {
|
62
|
+
default: number;
|
63
|
+
};
|
64
|
+
min: import("vue-types").VueTypeDef<number> & {
|
65
|
+
default: number;
|
66
|
+
};
|
67
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
68
|
+
default: number;
|
69
|
+
};
|
70
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
71
|
+
default: string;
|
72
|
+
};
|
73
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
74
|
+
default: boolean;
|
75
|
+
};
|
76
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
77
|
+
default: boolean;
|
78
|
+
} & {
|
79
|
+
default: boolean;
|
80
|
+
};
|
81
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
82
|
+
default: boolean;
|
83
|
+
} & {
|
84
|
+
default: boolean;
|
85
|
+
};
|
86
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
87
|
+
default: number;
|
88
|
+
} & {
|
89
|
+
default: number;
|
90
|
+
} & {
|
91
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
92
|
+
};
|
93
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
94
|
+
default: string | number;
|
95
|
+
};
|
96
|
+
size: import("vue-types").VueTypeDef<string>;
|
97
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
98
|
+
default: number;
|
99
|
+
};
|
100
|
+
}>> & {
|
101
|
+
onPaste?: (...args: any[]) => any;
|
102
|
+
onFocus?: (...args: any[]) => any;
|
103
|
+
onBlur?: (...args: any[]) => any;
|
104
|
+
onChange?: (...args: any[]) => any;
|
105
|
+
onInput?: (...args: any[]) => any;
|
106
|
+
onKeydown?: (...args: any[]) => any;
|
107
|
+
onKeypress?: (...args: any[]) => any;
|
108
|
+
onKeyup?: (...args: any[]) => any;
|
109
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
110
|
+
onClear?: (...args: any[]) => any;
|
111
|
+
onEnter?: (...args: any[]) => any;
|
112
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "placeholder" | "prefix" | "step" | "disabled" | "modelValue" | "readonly" | "clearable" | "behavior" | "max" | "min" | "maxlength" | "prefixIcon" | "suffixIcon" | "suffix" | "showWordLimit" | "showControl" | "showClearOnlyHover" | "precision" | "rows">;
|
113
|
+
$attrs: {
|
114
|
+
[x: string]: unknown;
|
115
|
+
};
|
116
|
+
$refs: {
|
117
|
+
[x: string]: unknown;
|
118
|
+
};
|
119
|
+
$slots: Readonly<{
|
120
|
+
[name: string]: import("vue").Slot;
|
121
|
+
}>;
|
122
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
123
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
124
|
+
$emit: (event: "input" | "clear" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "update:modelValue" | "enter", ...args: any[]) => void;
|
125
|
+
$el: any;
|
126
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
127
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
128
|
+
default: string;
|
129
|
+
} & {
|
130
|
+
default: string;
|
131
|
+
};
|
132
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
133
|
+
default: boolean;
|
134
|
+
};
|
135
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
136
|
+
default: boolean;
|
137
|
+
};
|
138
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
139
|
+
default: boolean;
|
140
|
+
};
|
141
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
142
|
+
default: string;
|
143
|
+
} & {
|
144
|
+
default: string;
|
145
|
+
};
|
146
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
147
|
+
default: string;
|
148
|
+
};
|
149
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
150
|
+
default: string;
|
151
|
+
};
|
152
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
153
|
+
default: string;
|
154
|
+
};
|
155
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
156
|
+
default: string;
|
157
|
+
};
|
158
|
+
step: import("vue-types").VueTypeDef<number> & {
|
159
|
+
default: number;
|
160
|
+
};
|
161
|
+
max: import("vue-types").VueTypeDef<number> & {
|
162
|
+
default: number;
|
163
|
+
};
|
164
|
+
min: import("vue-types").VueTypeDef<number> & {
|
165
|
+
default: number;
|
166
|
+
};
|
167
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
168
|
+
default: number;
|
169
|
+
};
|
170
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
171
|
+
default: string;
|
172
|
+
};
|
173
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
174
|
+
default: boolean;
|
175
|
+
};
|
176
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
177
|
+
default: boolean;
|
178
|
+
} & {
|
179
|
+
default: boolean;
|
180
|
+
};
|
181
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
182
|
+
default: boolean;
|
183
|
+
} & {
|
184
|
+
default: boolean;
|
185
|
+
};
|
186
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
187
|
+
default: number;
|
188
|
+
} & {
|
189
|
+
default: number;
|
190
|
+
} & {
|
191
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
192
|
+
};
|
193
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
194
|
+
default: string | number;
|
195
|
+
};
|
196
|
+
size: import("vue-types").VueTypeDef<string>;
|
197
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
198
|
+
default: number;
|
199
|
+
};
|
200
|
+
}>> & {
|
201
|
+
onPaste?: (...args: any[]) => any;
|
202
|
+
onFocus?: (...args: any[]) => any;
|
203
|
+
onBlur?: (...args: any[]) => any;
|
204
|
+
onChange?: (...args: any[]) => any;
|
205
|
+
onInput?: (...args: any[]) => any;
|
206
|
+
onKeydown?: (...args: any[]) => any;
|
207
|
+
onKeypress?: (...args: any[]) => any;
|
208
|
+
onKeyup?: (...args: any[]) => any;
|
209
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
210
|
+
onClear?: (...args: any[]) => any;
|
211
|
+
onEnter?: (...args: any[]) => any;
|
212
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "clear" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "update:modelValue" | "enter")[], string, {
|
213
|
+
type: string;
|
214
|
+
placeholder: string;
|
215
|
+
prefix: string;
|
216
|
+
step: number;
|
217
|
+
disabled: boolean;
|
218
|
+
modelValue: string | number;
|
219
|
+
readonly: boolean;
|
220
|
+
clearable: boolean;
|
221
|
+
behavior: string;
|
222
|
+
max: number;
|
223
|
+
min: number;
|
224
|
+
maxlength: number;
|
225
|
+
prefixIcon: string;
|
226
|
+
suffixIcon: string;
|
227
|
+
suffix: string;
|
228
|
+
showWordLimit: boolean;
|
229
|
+
showControl: boolean;
|
230
|
+
showClearOnlyHover: boolean;
|
231
|
+
precision: number;
|
232
|
+
rows: number;
|
233
|
+
}> & {
|
234
|
+
beforeCreate?: (() => void) | (() => void)[];
|
235
|
+
created?: (() => void) | (() => void)[];
|
236
|
+
beforeMount?: (() => void) | (() => void)[];
|
237
|
+
mounted?: (() => void) | (() => void)[];
|
238
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
239
|
+
updated?: (() => void) | (() => void)[];
|
240
|
+
activated?: (() => void) | (() => void)[];
|
241
|
+
deactivated?: (() => void) | (() => void)[];
|
242
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
243
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
244
|
+
destroyed?: (() => void) | (() => void)[];
|
245
|
+
unmounted?: (() => void) | (() => void)[];
|
246
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
247
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
248
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
249
|
+
};
|
250
|
+
$forceUpdate: () => void;
|
251
|
+
$nextTick: typeof import("vue").nextTick;
|
252
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
253
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
254
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
255
|
+
default: string;
|
256
|
+
} & {
|
257
|
+
default: string;
|
258
|
+
};
|
259
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
260
|
+
default: boolean;
|
261
|
+
};
|
262
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
263
|
+
default: boolean;
|
264
|
+
};
|
265
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
266
|
+
default: boolean;
|
267
|
+
};
|
268
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
269
|
+
default: string;
|
270
|
+
} & {
|
271
|
+
default: string;
|
272
|
+
};
|
273
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
274
|
+
default: string;
|
275
|
+
};
|
276
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
277
|
+
default: string;
|
278
|
+
};
|
279
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
280
|
+
default: string;
|
281
|
+
};
|
282
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
283
|
+
default: string;
|
284
|
+
};
|
285
|
+
step: import("vue-types").VueTypeDef<number> & {
|
286
|
+
default: number;
|
287
|
+
};
|
288
|
+
max: import("vue-types").VueTypeDef<number> & {
|
289
|
+
default: number;
|
290
|
+
};
|
291
|
+
min: import("vue-types").VueTypeDef<number> & {
|
292
|
+
default: number;
|
293
|
+
};
|
294
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
295
|
+
default: number;
|
296
|
+
};
|
297
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
298
|
+
default: string;
|
299
|
+
};
|
300
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
301
|
+
default: boolean;
|
302
|
+
};
|
303
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
304
|
+
default: boolean;
|
305
|
+
} & {
|
306
|
+
default: boolean;
|
307
|
+
};
|
308
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
309
|
+
default: boolean;
|
310
|
+
} & {
|
311
|
+
default: boolean;
|
312
|
+
};
|
313
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
314
|
+
default: number;
|
315
|
+
} & {
|
316
|
+
default: number;
|
317
|
+
} & {
|
318
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
319
|
+
};
|
320
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
321
|
+
default: string | number;
|
322
|
+
};
|
323
|
+
size: import("vue-types").VueTypeDef<string>;
|
324
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
325
|
+
default: number;
|
326
|
+
};
|
327
|
+
}>> & {
|
328
|
+
onPaste?: (...args: any[]) => any;
|
329
|
+
onFocus?: (...args: any[]) => any;
|
330
|
+
onBlur?: (...args: any[]) => any;
|
331
|
+
onChange?: (...args: any[]) => any;
|
332
|
+
onInput?: (...args: any[]) => any;
|
333
|
+
onKeydown?: (...args: any[]) => any;
|
334
|
+
onKeypress?: (...args: any[]) => any;
|
335
|
+
onKeyup?: (...args: any[]) => any;
|
336
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
337
|
+
onClear?: (...args: any[]) => any;
|
338
|
+
onEnter?: (...args: any[]) => any;
|
339
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
340
|
+
__isFragment?: never;
|
341
|
+
__isTeleport?: never;
|
342
|
+
__isSuspense?: never;
|
343
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
344
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
345
|
+
default: string;
|
346
|
+
} & {
|
347
|
+
default: string;
|
348
|
+
};
|
349
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
350
|
+
default: boolean;
|
351
|
+
};
|
352
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
353
|
+
default: boolean;
|
354
|
+
};
|
355
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
356
|
+
default: boolean;
|
357
|
+
};
|
358
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
359
|
+
default: string;
|
360
|
+
} & {
|
361
|
+
default: string;
|
362
|
+
};
|
363
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
364
|
+
default: string;
|
365
|
+
};
|
366
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
367
|
+
default: string;
|
368
|
+
};
|
369
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
370
|
+
default: string;
|
371
|
+
};
|
372
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
373
|
+
default: string;
|
374
|
+
};
|
375
|
+
step: import("vue-types").VueTypeDef<number> & {
|
376
|
+
default: number;
|
377
|
+
};
|
378
|
+
max: import("vue-types").VueTypeDef<number> & {
|
379
|
+
default: number;
|
380
|
+
};
|
381
|
+
min: import("vue-types").VueTypeDef<number> & {
|
382
|
+
default: number;
|
383
|
+
};
|
384
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
385
|
+
default: number;
|
386
|
+
};
|
387
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
388
|
+
default: string;
|
389
|
+
};
|
390
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
391
|
+
default: boolean;
|
392
|
+
};
|
393
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
394
|
+
default: boolean;
|
395
|
+
} & {
|
396
|
+
default: boolean;
|
397
|
+
};
|
398
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
399
|
+
default: boolean;
|
400
|
+
} & {
|
401
|
+
default: boolean;
|
402
|
+
};
|
403
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
404
|
+
default: number;
|
405
|
+
} & {
|
406
|
+
default: number;
|
407
|
+
} & {
|
408
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
409
|
+
};
|
410
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
411
|
+
default: string | number;
|
412
|
+
};
|
413
|
+
size: import("vue-types").VueTypeDef<string>;
|
414
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
415
|
+
default: number;
|
416
|
+
};
|
417
|
+
}>> & {
|
418
|
+
onPaste?: (...args: any[]) => any;
|
419
|
+
onFocus?: (...args: any[]) => any;
|
420
|
+
onBlur?: (...args: any[]) => any;
|
421
|
+
onChange?: (...args: any[]) => any;
|
422
|
+
onInput?: (...args: any[]) => any;
|
423
|
+
onKeydown?: (...args: any[]) => any;
|
424
|
+
onKeypress?: (...args: any[]) => any;
|
425
|
+
onKeyup?: (...args: any[]) => any;
|
426
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
427
|
+
onClear?: (...args: any[]) => any;
|
428
|
+
onEnter?: (...args: any[]) => any;
|
429
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "clear" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "update:modelValue" | "enter")[], "input" | "clear" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "update:modelValue" | "enter", {
|
430
|
+
type: string;
|
431
|
+
placeholder: string;
|
432
|
+
prefix: string;
|
433
|
+
step: number;
|
434
|
+
disabled: boolean;
|
435
|
+
modelValue: string | number;
|
436
|
+
readonly: boolean;
|
437
|
+
clearable: boolean;
|
438
|
+
behavior: string;
|
439
|
+
max: number;
|
440
|
+
min: number;
|
441
|
+
maxlength: number;
|
442
|
+
prefixIcon: string;
|
443
|
+
suffixIcon: string;
|
444
|
+
suffix: string;
|
445
|
+
showWordLimit: boolean;
|
446
|
+
showControl: boolean;
|
447
|
+
showClearOnlyHover: boolean;
|
448
|
+
precision: number;
|
449
|
+
rows: number;
|
450
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
451
|
+
export default BkInput;
|
package/lib/input/index.js
CHANGED
@@ -1,15 +1 @@
|
|
1
|
-
!function(e,
|
2
|
-
/*! *****************************************************************************
|
3
|
-
Copyright (c) Microsoft Corporation.
|
4
|
-
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
6
|
-
purpose with or without fee is hereby granted.
|
7
|
-
|
8
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
9
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
10
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
11
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
12
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
13
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
14
|
-
PERFORMANCE OF THIS SOFTWARE.
|
15
|
-
***************************************************************************** */var i={type:o.PropTypes.string.def("text"),clearable:o.PropTypes.bool,disabled:o.PropTypes.bool,readonly:o.PropTypes.bool,placeholder:o.PropTypes.string,prefixIcon:o.PropTypes.string,suffixIcon:o.PropTypes.string,suffix:o.PropTypes.string,prefix:o.PropTypes.string,step:o.PropTypes.integer,max:o.PropTypes.integer,min:o.PropTypes.integer,maxlength:o.PropTypes.integer,showWordLimit:o.PropTypes.bool,showControl:o.PropTypes.bool.def(!0),precision:o.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]),size:o.PropTypes.size()},u=t.defineComponent({name:"BkInput",inheritAttrs:!1,emits:["update:modelValue","focus","blur","change","input"],props:i,setup:function(e,r){var l=t.ref(!1),i="bk-input",u=r.attrs,s=u.class,p=u.style,c=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o}(u,["class","style"]),d=t.computed((function(){var t;return o.classes((a(t={},"".concat(i,"--").concat(e.size),!!e.size),a(t,"is-focused",l.value),a(t,"is-readonly",e.readonly),a(t,"is-disabled",e.disabled),a(t,"".concat(s),!!s),t),i)})),f={search:function(){return t.createVNode(n.Search,null,null)},password:function(){return t.createVNode(n.Eye,{onClick:I},null)}},m=k("suffix-icon"),v=t.computed((function(){var o=f[e.type];return x.value?t.createVNode(n.Unvisible,{onClick:I,class:m},null):o?t.createVNode(o,{class:m},null):null})),y=t.computed((function(){return"number"===e.type})),b=t.computed((function(){return Math.floor(e.maxlength)})),x=t.ref(!1);function g(){r.emit("update:modelValue",""),r.emit("change","")}function h(e){l.value=!0,r.emit("focus",e)}function V(e){l.value=!1,r.emit("blur",e)}function P(e){r.emit("update:modelValue",y.value?+e.target.value:e.target.value),r.emit("input",e.target.value)}function T(e){r.emit("change",e.target.value,e)}function N(t){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Number.isInteger(e.precision)?e.precision:0,r=parseFloat(e.modelValue.toString()),l=Number.isInteger(t)?t:1,a=r+(o?l:-1*l);return Number.isInteger(e.max)&&(a=Math.min(a,e.max)),Number.isInteger(e.min)&&(a=Math.max(a,e.min)),+a.toFixed(n)}function O(){var t=N(parseInt(String(e.step),10));r.emit("update:modelValue",t)}function w(){var t=N(parseInt(String(e.step),10),!1);r.emit("update:modelValue",t)}function k(e){return"".concat(i,"--").concat(e)}function I(){x.value=!x.value}return function(){var o,l,a,u,s,f;return t.createVNode("div",{class:d.value,style:p},[null!==(a=null===(l=null===(o=r.slots)||void 0===o?void 0:o.prefix)||void 0===l?void 0:l.call(o))&&void 0!==a?a:e.prefix&&t.createVNode("div",{class:k("prefix-area")},[t.createVNode("span",{class:k("prefix-area--text")},[e.prefix])]),t.createVNode("input",t.mergeProps(c,{class:"".concat(i,"--text"),value:e.modelValue,type:x.value&&"password"===e.type?"text":e.type,maxlength:e.maxlength,step:e.step,max:e.max,min:e.min,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled,onInput:P,onFocus:h,onBlur:V,onChange:T}),null),e.clearable&&!!e.modelValue&&t.createVNode(n.Close,{onClick:g,class:m},null),v.value,"number"==typeof e.maxlength&&e.showWordLimit&&t.createVNode("p",{class:k("max-length")},[e.modelValue.toString().length,t.createTextVNode("/"),t.createVNode("span",null,[b.value])]),y.value&&e.showControl&&t.createVNode("div",{class:k("number-control")},[t.createVNode(n.DownSmall,{onClick:O},null),t.createVNode(n.DownSmall,{onClick:w},null)]),null!==(f=null===(s=null===(u=r.slots)||void 0===u?void 0:u.suffix)||void 0===s?void 0:s.call(u))&&void 0!==f?f:e.suffix&&t.createVNode("div",{class:k("suffix-area")},[t.createVNode("span",{class:k("suffix-area--text")},[e.suffix])])])}}});u.install=function(e){e.component(u.name,u)},e.default=u,Object.defineProperty(e,"__esModule",{value:!0})}));
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon"],r);else{var t="object"==typeof exports?r(require("../shared"),require("vue"),require("../icon")):r(e["../shared"],e.vue,e["../icon"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t)=>(()=>{"use strict";var o={6870:e=>{e.exports=t},4212:r=>{r.exports=e},748:e=>{e.exports=r}},n={};function a(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}};return o[e](t,t.exports,a),t.exports}a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{a.r(l),a.d(l,{default:()=>p});var e=a(4212);function r(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function t(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var o=a(748);Object.create,Object.create;var n=a(6870),i={type:e.PropTypes.string.def("text"),clearable:e.PropTypes.bool,disabled:e.PropTypes.bool,readonly:e.PropTypes.bool,placeholder:e.PropTypes.string.def("Enter"),prefixIcon:e.PropTypes.string,suffixIcon:e.PropTypes.string,suffix:e.PropTypes.string,prefix:e.PropTypes.string,step:e.PropTypes.integer,max:e.PropTypes.integer,min:e.PropTypes.integer,maxlength:e.PropTypes.integer,behavior:e.PropTypes.commonType(["simplicity","normal"]).def("normal"),showWordLimit:e.PropTypes.bool,showControl:e.PropTypes.bool.def(!0),showClearOnlyHover:e.PropTypes.bool.def(!1),precision:e.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),size:e.PropTypes.size(),rows:e.PropTypes.number},u=["update:modelValue","focus","blur","change","clear","input","keypress","keydown","keyup","enter","paste"],s=(0,e.stringEnum)([].concat(u));const c=(0,o.defineComponent)({name:"Input",inheritAttrs:!1,props:i,emits:[].concat(u),setup:function(a,l){var i=(0,o.ref)(!1),u=(0,o.ref)(!1),c=(0,o.computed)((function(){return"textarea"===a.type})),p=(0,o.computed)((function(){return c.value?"bk-textarea":"bk-input"})),d=l.attrs,f=d.class,y=d.style,m=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)r.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]])}return t}(d,["class","style"]),v=(0,o.computed)((function(){var r;return(0,e.classes)((t(r={},"".concat(p.value,"--").concat(a.size),!!a.size),t(r,"is-focused",i.value),t(r,"is-readonly",a.readonly),t(r,"is-disabled",a.disabled),t(r,"is-simplicity","simplicity"===a.behavior),t(r,"".concat(f),!!f),r),p.value)})),b={search:function(){return(0,o.createVNode)(n.Search,null,null)},password:function(){return(0,o.createVNode)(n.Eye,{onClick:U},null)}},g=L("suffix-icon"),x=(0,o.computed)((function(){var e=b[a.type];return T.value?(0,o.createVNode)(n.Unvisible,{onClick:U,class:g},null):e?(0,o.createVNode)(e,{class:g},null):null})),h=(0,o.computed)((function(){return"number"===a.type})),P=(0,o.computed)((function(){return Math.floor(a.maxlength)})),T=(0,o.ref)(!1),V=(0,o.computed)((function(){return(0,e.classes)({"show-clear-only-hover":a.showClearOnlyHover},g)}));function w(){l.emit(s["update:modelValue"],""),l.emit(s.change,""),l.emit(s.clear)}function N(e){i.value=!0,l.emit(s.focus,e)}function O(e){i.value=!1,l.emit(s.blur,e)}var j,S,k=(j=[s.keyup,s.keydown,s.keypress,s.paste,s.change,s.input].map((function(e){return function(r){var t=e;("Enter"!==r.code&&"Enter"!==r.key&&13!==r.keyCode||(t=s.enter,r.type===s.keyup))&&(u.value&&[s.input,s.change].some((function(r){return e===r}))||(e===s.input&&l.emit(s["update:modelValue"],h.value?+r.target.value:r.target.value),l.emit(t,r.target.value,r)))}})),S=6,function(e){if(Array.isArray(e))return e}(j)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a=[],l=!0,i=!1;try{for(t=t.call(e);!(l=(o=t.next()).done)&&(a.push(o.value),!r||a.length!==r);l=!0);}catch(e){i=!0,n=e}finally{try{l||null==t.return||t.return()}finally{if(i)throw n}}return a}}(j,S)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}}(j,S)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),C=k[0],I=k[1],A=k[2],E=k[3],q=k[4],M=k[5];function z(){u.value=!0}function F(e){u.value=!1,M(e)}function K(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=parseInt(String(e),10),o=Number.isInteger(a.precision)?a.precision:0,n=parseFloat(a.modelValue.toString()),l=Number.isInteger(t)?t:1,i=n+(r?l:-1*l);return Number.isInteger(a.max)&&(i=Math.min(i,a.max)),Number.isInteger(a.min)&&(i=Math.max(i,a.min)),+i.toFixed(o)}function D(){var e=K(a.step);l.emit(s["update:modelValue"],e)}function H(){var e=K(a.step,!1);l.emit(s["update:modelValue"],e)}function L(e){return"".concat(p.value,"--").concat(e)}function U(){T.value=!T.value}var W=(0,o.computed)((function(){return{value:a.modelValue,maxlength:a.maxlength,placeholder:a.placeholder,readonly:a.readonly,disabled:a.disabled,onInput:M,onFocus:N,onBlur:O,onPaste:E,onChange:q,onKeypress:A,onKeydown:I,onKeyup:C,onCompositionstart:z,onCompositionend:F}}));return function(){var e,r,t,i,u,s;return(0,o.createVNode)("div",{class:v.value,style:y},[null!==(t=null===(r=null===(e=l.slots)||void 0===e?void 0:e.prefix)||void 0===r?void 0:r.call(e))&&void 0!==t?t:a.prefix&&(0,o.createVNode)("div",{class:L("prefix-area")},[(0,o.createVNode)("span",{class:L("prefix-area--text")},[a.prefix])]),c.value?(0,o.createVNode)("textarea",(0,o.mergeProps)(m,W.value,{rows:a.rows}),null):(0,o.createVNode)("input",(0,o.mergeProps)(m,{class:"".concat(p.value,"--text"),type:T.value&&"password"===a.type?"text":a.type,step:a.step,max:a.max,min:a.min},W.value),null),!c.value&&a.clearable&&!!a.modelValue&&(0,o.createVNode)(n.Close,{onClick:w,class:V.value},null),x.value,"number"==typeof a.maxlength&&(a.showWordLimit||c.value)&&(0,o.createVNode)("p",{class:L("max-length")},[a.modelValue.toString().length,(0,o.createTextVNode)("/"),(0,o.createVNode)("span",null,[P.value])]),h.value&&a.showControl&&(0,o.createVNode)("div",{class:L("number-control")},[(0,o.createVNode)(n.DownSmall,{onClick:D},null),(0,o.createVNode)(n.DownSmall,{onClick:H},null)]),null!==(s=null===(u=null===(i=l.slots)||void 0===i?void 0:i.suffix)||void 0===u?void 0:u.call(i))&&void 0!==s?s:a.suffix&&(0,o.createVNode)("div",{class:L("suffix-area")},[(0,o.createVNode)("span",{class:L("suffix-area--text")},[a.suffix])])])}}}),p=(0,e.withInstall)(c)})(),l})()));
|