bkui-vue 3.0.1 → 3.0.3
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/dist/index.cjs.js +159 -184
- package/dist/index.esm.js +33460 -40743
- package/dist/index.umd.js +159 -184
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/ja-jp.esm.js.map +1 -1
- package/dist/locale/ja-jp.umd.js +1 -1
- package/dist/locale/ja-jp.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +2 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +42 -79
- package/lib/alert/index.js +39 -76
- package/lib/animate-number/index.js +18 -51
- package/lib/backtop/index.js +37 -76
- package/lib/badge/index.js +36 -71
- package/lib/breadcrumb/index.js +47 -88
- package/lib/button/index.js +51 -94
- package/lib/card/index.js +56 -99
- package/lib/cascader/index.js +189 -238
- package/lib/checkbox/index.js +76 -118
- package/lib/code-diff/index.js +72 -90
- package/lib/collapse/index.js +80 -123
- package/lib/collapse-transition/index.js +15 -50
- package/lib/color-picker/index.js +182 -340
- package/lib/config-provider/index.js +37 -88
- package/lib/container/index.js +47 -88
- package/lib/date-picker/index.js +296 -431
- package/lib/dialog/index.js +494 -117
- package/lib/directives/index.js +108 -131
- package/lib/divider/index.js +22 -57
- package/lib/dropdown/index.js +53 -100
- package/lib/exception/index.js +72 -99
- package/lib/fixed-navbar/index.js +23 -58
- package/lib/form/index.js +172 -218
- package/lib/icon/angle-double-down-line.js +16 -47
- package/lib/icon/angle-double-left-line.js +16 -47
- package/lib/icon/angle-double-left.js +16 -47
- package/lib/icon/angle-double-right-line.js +16 -47
- package/lib/icon/angle-double-right.js +16 -47
- package/lib/icon/angle-double-up-line.js +16 -47
- package/lib/icon/angle-down-fill.js +16 -47
- package/lib/icon/angle-down-line.js +16 -47
- package/lib/icon/angle-down.js +16 -47
- package/lib/icon/angle-left.js +16 -47
- package/lib/icon/angle-right.js +16 -47
- package/lib/icon/angle-up-fill.js +16 -47
- package/lib/icon/angle-up.js +16 -47
- package/lib/icon/archive-fill.js +16 -47
- package/lib/icon/arrows-left.js +16 -47
- package/lib/icon/arrows-right.js +16 -47
- package/lib/icon/assistant.js +16 -47
- package/lib/icon/audio-fill.js +16 -47
- package/lib/icon/bk.js +16 -47
- package/lib/icon/circle.js +16 -47
- package/lib/icon/close-line.js +16 -47
- package/lib/icon/close.js +16 -47
- package/lib/icon/code.js +16 -47
- package/lib/icon/cog-shape.js +16 -47
- package/lib/icon/collapse-left.js +16 -47
- package/lib/icon/copy-shape.js +16 -47
- package/lib/icon/copy.js +16 -47
- package/lib/icon/data-shape.js +16 -47
- package/lib/icon/del.js +16 -47
- package/lib/icon/doc-fill.js +16 -47
- package/lib/icon/done.js +16 -47
- package/lib/icon/down-shape.js +16 -47
- package/lib/icon/down-small.js +16 -47
- package/lib/icon/edit-line.js +16 -47
- package/lib/icon/ellipsis.js +16 -47
- package/lib/icon/enlarge-line.js +16 -47
- package/lib/icon/error.js +16 -47
- package/lib/icon/excel-fill.js +16 -47
- package/lib/icon/exclamation-circle-shape.js +16 -47
- package/lib/icon/eye.js +16 -47
- package/lib/icon/filliscreen-line.js +16 -47
- package/lib/icon/fix-line.js +16 -47
- package/lib/icon/fix-shape.js +16 -47
- package/lib/icon/folder-open.js +16 -47
- package/lib/icon/folder-shape-open.js +16 -47
- package/lib/icon/folder-shape.js +16 -47
- package/lib/icon/folder.js +16 -47
- package/lib/icon/funnel.js +16 -47
- package/lib/icon/grag-fill.js +16 -47
- package/lib/icon/help-document-fill.js +16 -47
- package/lib/icon/help-fill.js +16 -47
- package/lib/icon/help.js +16 -47
- package/lib/icon/image-fill.js +16 -47
- package/lib/icon/img-error.js +16 -47
- package/lib/icon/img-placehoulder.js +16 -47
- package/lib/icon/info-line.js +16 -47
- package/lib/icon/info.js +16 -47
- package/lib/icon/left-shape.js +16 -47
- package/lib/icon/left-turn-line.js +16 -47
- package/lib/icon/loading.js +16 -47
- package/lib/icon/narrow-line.js +16 -47
- package/lib/icon/original.js +16 -47
- package/lib/icon/pdf-fill.js +16 -47
- package/lib/icon/play-shape.js +16 -47
- package/lib/icon/plus.js +16 -47
- package/lib/icon/ppt-fill.js +16 -47
- package/lib/icon/qq.js +16 -47
- package/lib/icon/right-shape.js +16 -47
- package/lib/icon/right-turn-line.js +16 -47
- package/lib/icon/search.js +16 -47
- package/lib/icon/share.js +16 -47
- package/lib/icon/spinner.js +16 -47
- package/lib/icon/success.js +16 -47
- package/lib/icon/switcher-loading.js +16 -47
- package/lib/icon/text-all.js +16 -47
- package/lib/icon/text-file.js +16 -47
- package/lib/icon/text-fill.js +16 -47
- package/lib/icon/transfer.js +16 -47
- package/lib/icon/tree-application-shape.js +16 -47
- package/lib/icon/unfull-screen.js +16 -47
- package/lib/icon/unvisible.js +16 -47
- package/lib/icon/up-shape.js +16 -47
- package/lib/icon/upload.js +16 -47
- package/lib/icon/video-fill.js +16 -47
- package/lib/icon/warn.js +16 -47
- package/lib/icon/weixin-pro.js +16 -47
- package/lib/icon/weixin.js +16 -47
- package/lib/image/index.js +163 -208
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +489 -112
- package/lib/input/index.js +183 -219
- package/lib/link/index.js +25 -62
- package/lib/loading/index.js +48 -93
- package/lib/locale/index.js +5 -38
- package/lib/menu/index.js +80 -125
- package/lib/message/index.js +116 -136
- package/lib/modal/index.js +81 -124
- package/lib/navigation/index.js +46 -83
- package/lib/notify/index.js +65 -104
- package/lib/overflow-title/index.js +43 -92
- package/lib/{affix → packages/affix}/affix.d.ts +8 -8
- package/lib/{affix → packages/affix}/index.d.ts +13 -13
- package/lib/{alert → packages/alert}/alert.d.ts +8 -16
- package/lib/{alert → packages/alert}/index.d.ts +13 -25
- package/lib/{animate-number → packages/animate-number}/animate-number.d.ts +4 -4
- package/lib/{animate-number → packages/animate-number}/index.d.ts +7 -7
- package/lib/{backtop → packages/backtop}/backtop.d.ts +10 -10
- package/lib/{backtop → packages/backtop}/index.d.ts +16 -16
- package/lib/{badge → packages/badge}/badge.d.ts +16 -24
- package/lib/{badge → packages/badge}/index.d.ts +25 -37
- package/lib/packages/breadcrumb/breadcrumb-item.d.ts +40 -0
- package/lib/packages/breadcrumb/breadcrumb.d.ts +58 -0
- package/lib/{breadcrumb → packages/breadcrumb}/index.d.ts +32 -74
- package/lib/{button → packages/button}/button.d.ts +33 -65
- package/lib/{button → packages/button}/index.d.ts +32 -77
- package/lib/packages/card/card.d.ts +83 -0
- package/lib/{card → packages/card}/index.d.ts +28 -70
- package/lib/{cascader → packages/cascader}/cascader-panel.d.ts +12 -30
- package/lib/packages/cascader/cascader.d.ts +428 -0
- package/lib/{cascader → packages/cascader}/index.d.ts +186 -467
- package/lib/{cascader → packages/cascader}/node.d.ts +1 -1
- package/lib/{checkbox → packages/checkbox}/checkbox-group.d.ts +9 -22
- package/lib/{checkbox → packages/checkbox}/checkbox.d.ts +24 -61
- package/lib/{checkbox → packages/checkbox}/index.d.ts +35 -83
- package/lib/{code-diff → packages/code-diff}/code-diff.d.ts +21 -21
- package/lib/{code-diff → packages/code-diff}/index.d.ts +22 -22
- package/lib/{collapse → packages/collapse}/collapse-panel.d.ts +16 -32
- package/lib/{collapse → packages/collapse}/collapse.d.ts +20 -40
- package/lib/{collapse → packages/collapse}/index.d.ts +48 -94
- package/lib/{collapse → packages/collapse}/props.d.ts +18 -36
- package/lib/{collapse-transition → packages/collapse-transition}/index.d.ts +1 -1
- package/lib/{color-picker → packages/color-picker}/color-picker.d.ts +27 -69
- package/lib/{color-picker → packages/color-picker}/components/color-input.d.ts +7 -21
- package/lib/{color-picker → packages/color-picker}/components/hue-slider.d.ts +7 -21
- package/lib/{color-picker → packages/color-picker}/components/input-container.d.ts +7 -21
- package/lib/{color-picker → packages/color-picker}/components/recommend-colors.d.ts +10 -30
- package/lib/{color-picker → packages/color-picker}/components/saturation-panel.d.ts +7 -21
- package/lib/{color-picker → packages/color-picker}/index.d.ts +28 -70
- package/lib/packages/config-provider/config-provider.d.ts +47 -0
- package/lib/packages/config-provider/index.d.ts +94 -0
- package/lib/{config-provider → packages/config-provider}/token.d.ts +1 -1
- package/lib/{container → packages/container}/col.d.ts +8 -8
- package/lib/packages/container/container.d.ts +77 -0
- package/lib/{container → packages/container}/index.d.ts +25 -31
- package/lib/{date-picker → packages/date-picker}/base/date-table.d.ts +3 -3
- package/lib/{date-picker → packages/date-picker}/base/month-table.d.ts +3 -3
- package/lib/{date-picker → packages/date-picker}/base/picker-dropdown.d.ts +4 -3
- package/lib/{date-picker → packages/date-picker}/base/time-spinner.d.ts +3 -3
- package/lib/{date-picker → packages/date-picker}/base/year-table.d.ts +3 -3
- package/lib/{date-picker → packages/date-picker}/date-picker.d.ts +11 -11
- package/lib/{date-picker → packages/date-picker}/index.d.ts +19 -19
- package/lib/{date-picker → packages/date-picker}/panel/date-range.d.ts +3 -3
- package/lib/{date-picker → packages/date-picker}/panel/date.d.ts +3 -3
- package/lib/{date-picker → packages/date-picker}/panel/time-range.d.ts +11 -11
- package/lib/{date-picker → packages/date-picker}/panel/time.d.ts +11 -11
- package/lib/{date-picker → packages/date-picker}/props.d.ts +5 -5
- package/lib/{date-picker → packages/date-picker}/time-picker.d.ts +18 -18
- package/lib/packages/dialog/dialog.d.ts +232 -0
- package/lib/{dialog → packages/dialog}/index.d.ts +82 -136
- package/lib/packages/dialog/props.d.ts +95 -0
- package/lib/{divider → packages/divider}/divider.d.ts +6 -6
- package/lib/{divider → packages/divider}/index.d.ts +10 -10
- package/lib/{divider → packages/divider}/props.d.ts +3 -3
- package/lib/{dropdown → packages/dropdown}/dropdown-item.d.ts +2 -2
- package/lib/{dropdown → packages/dropdown}/dropdown-menu.d.ts +2 -2
- package/lib/{dropdown → packages/dropdown}/dropdown.d.ts +17 -39
- package/lib/{dropdown → packages/dropdown}/index.d.ts +33 -69
- package/lib/{exception → packages/exception}/exception.d.ts +4 -4
- package/lib/{exception → packages/exception}/index.d.ts +7 -7
- package/lib/{fixed-navbar → packages/fixed-navbar}/fixed-navbar.d.ts +6 -10
- package/lib/{fixed-navbar → packages/fixed-navbar}/index.d.ts +10 -16
- package/lib/packages/form/form-item.d.ts +152 -0
- package/lib/{form → packages/form}/form.d.ts +15 -45
- package/lib/{form → packages/form}/index.d.ts +49 -103
- package/lib/packages/icon/index.d.ts +87 -0
- package/lib/{image → packages/image}/image-viewer.d.ts +11 -23
- package/lib/{image → packages/image}/image.d.ts +17 -30
- package/lib/{image → packages/image}/index.d.ts +28 -49
- package/lib/packages/image/props.d.ts +59 -0
- package/lib/{info-box → packages/info-box}/index.d.ts +1 -1
- package/lib/{input → packages/input}/index.d.ts +88 -178
- package/lib/{input → packages/input}/input.d.ts +81 -163
- package/lib/{link → packages/link}/index.d.ts +13 -25
- package/lib/{link → packages/link}/link.d.ts +8 -16
- package/lib/{loading → packages/loading}/index.d.ts +8 -8
- package/lib/{loading → packages/loading}/loading.d.ts +13 -19
- package/lib/{menu → packages/menu}/index.d.ts +5 -5
- package/lib/{menu → packages/menu}/menu.d.ts +4 -3
- package/lib/{message → packages/message}/messageConstructor.d.ts +14 -18
- package/lib/{modal → packages/modal}/index.d.ts +61 -109
- package/lib/packages/modal/modal.d.ts +123 -0
- package/lib/packages/modal/props.mixin.d.ts +50 -0
- package/lib/{navigation → packages/navigation}/index.d.ts +4 -4
- package/lib/{navigation → packages/navigation}/navigation.d.ts +1 -1
- package/lib/{notify → packages/notify}/notifyConstructor.d.ts +18 -22
- package/lib/packages/overflow-title/components/overflow-title.d.ts +47 -0
- package/lib/{overflow-title → packages/overflow-title}/index.d.ts +67 -285
- package/lib/packages/overflow-title/props.d.ts +41 -0
- package/lib/{pagination → packages/pagination}/index.d.ts +28 -52
- package/lib/{pagination → packages/pagination}/pagination.d.ts +27 -51
- package/lib/{pagination → packages/pagination}/use-limit.d.ts +1 -1
- package/lib/{pagination → packages/pagination}/use-total.d.ts +1 -1
- package/lib/{pop-confirm → packages/pop-confirm}/index.d.ts +109 -193
- package/lib/{pop-confirm → packages/pop-confirm}/pop-confirm.d.ts +68 -124
- package/lib/{pop-confirm → packages/pop-confirm}/props.d.ts +36 -64
- package/lib/{popover → packages/popover}/composables/use-floating.d.ts +2 -2
- package/lib/{popover → packages/popover}/index.d.ts +93 -177
- package/lib/{popover → packages/popover}/popover.d.ts +59 -115
- package/lib/{popover → packages/popover}/props.d.ts +26 -54
- package/lib/{popover → packages/popover}/types.d.ts +16 -18
- package/lib/{popover2 → packages/popover2}/index.d.ts +1 -1
- package/lib/packages/preset.d.ts +7 -0
- package/lib/{process → packages/process}/index.d.ts +1 -1
- package/lib/{process → packages/process}/process.d.ts +6 -10
- package/lib/{progress → packages/progress}/index.d.ts +46 -82
- package/lib/packages/progress/progress.d.ts +197 -0
- package/lib/{radio → packages/radio}/index.d.ts +42 -71
- package/lib/{radio → packages/radio}/radio-button.d.ts +15 -27
- package/lib/{radio → packages/radio}/radio-group.d.ts +15 -28
- package/lib/{radio → packages/radio}/radio.d.ts +15 -27
- package/lib/{rate → packages/rate}/index.d.ts +34 -54
- package/lib/{rate → packages/rate}/rate.d.ts +18 -30
- package/lib/packages/rate/star.d.ts +70 -0
- package/lib/{resize-layout → packages/resize-layout}/index.d.ts +28 -67
- package/lib/{resize-layout → packages/resize-layout}/resize-layout.d.ts +18 -41
- package/lib/{search-select → packages/search-select}/index.d.ts +36 -48
- package/lib/{search-select → packages/search-select}/input.d.ts +2 -2
- package/lib/{search-select → packages/search-select}/search-select.d.ts +14 -14
- package/lib/{search-select → packages/search-select}/selected.d.ts +6 -6
- package/lib/{select → packages/select}/index.d.ts +386 -935
- package/lib/{select → packages/select}/option.d.ts +10 -14
- package/lib/{select → packages/select}/optionGroup.d.ts +10 -26
- package/lib/packages/select/pinyin/dict.d.ts +34 -0
- package/lib/packages/select/pinyin/index.d.ts +2 -0
- package/lib/{select → packages/select}/select.d.ts +140 -597
- package/lib/{select → packages/select}/selectTagInput.d.ts +17 -33
- package/lib/{shared → packages/shared}/index.d.ts +4 -4
- package/lib/{shared → packages/shared}/vue-types.d.ts +20 -69
- package/lib/{sideslider → packages/sideslider}/index.d.ts +67 -121
- package/lib/packages/sideslider/sideslider.d.ts +200 -0
- package/lib/{slider → packages/slider}/index.d.ts +1 -1
- package/lib/{steps → packages/steps}/index.d.ts +1 -1
- package/lib/{steps → packages/steps}/steps.d.ts +5 -7
- package/lib/{swiper → packages/swiper}/index.d.ts +19 -25
- package/lib/packages/swiper/swiper.d.ts +61 -0
- package/lib/{switcher → packages/switcher}/index.d.ts +30 -72
- package/lib/{switcher → packages/switcher}/switcher.d.ts +27 -61
- package/lib/{tab → packages/tab}/props.d.ts +22 -43
- package/lib/packages/tab/tab-panel.d.ts +68 -0
- package/lib/{table → packages/table}/components/body-empty.d.ts +6 -6
- package/lib/{table → packages/table}/components/table-cell.d.ts +14 -30
- package/lib/{table → packages/table}/components/table-column.d.ts +3 -5
- package/lib/{table → packages/table}/const.d.ts +1 -1
- package/lib/{table → packages/table}/events.d.ts +1 -1
- package/lib/{table → packages/table}/hooks/use-columns.d.ts +1 -1
- package/lib/{table → packages/table}/hooks/use-layout.d.ts +1 -1
- package/lib/{table → packages/table}/hooks/use-settings.d.ts +24 -24
- package/lib/{table → packages/table}/index.d.ts +74 -182
- package/lib/{table → packages/table}/plugins/head-sort.d.ts +0 -1
- package/lib/{table → packages/table}/props.d.ts +23 -55
- package/lib/{table → packages/table}/table.d.ts +46 -114
- package/lib/{table → packages/table}/utils.d.ts +4 -4
- package/lib/{table-column → packages/table-column}/index.d.ts +37 -37
- package/lib/{tag → packages/tag}/index.d.ts +19 -43
- package/lib/{tag → packages/tag}/tag.d.ts +11 -27
- package/lib/{tag-input → packages/tag-input}/index.d.ts +298 -684
- package/lib/packages/tag-input/list-tag-render.d.ts +41 -0
- package/lib/packages/tag-input/tag-input.d.ts +612 -0
- package/lib/packages/tag-input/tag-props.d.ts +138 -0
- package/lib/{tag-input → packages/tag-input}/tag-render.d.ts +9 -19
- package/lib/{time-picker → packages/time-picker}/index.d.ts +55 -55
- package/lib/{timeline → packages/timeline}/index.d.ts +22 -28
- package/lib/{timeline → packages/timeline}/timeline.d.ts +13 -19
- package/lib/{transfer → packages/transfer}/index.d.ts +25 -43
- package/lib/packages/transfer/props.d.ts +48 -0
- package/lib/{transfer → packages/transfer}/transfer.d.ts +16 -28
- package/lib/{tree → packages/tree}/index.d.ts +70 -142
- package/lib/{tree → packages/tree}/props.d.ts +21 -45
- package/lib/{tree → packages/tree}/tree.d.ts +45 -93
- package/lib/packages/tree/use-empty.d.ts +4 -0
- package/lib/{tree → packages/tree}/use-node-attribute.d.ts +1 -1
- package/lib/{tree → packages/tree}/use-tree-init.d.ts +4 -4
- package/lib/{tree → packages/tree}/util.d.ts +2 -2
- package/lib/{upload → packages/upload}/index.d.ts +25 -25
- package/lib/{upload → packages/upload}/props.d.ts +6 -6
- package/lib/{upload → packages/upload}/upload-list.d.ts +4 -4
- package/lib/{upload → packages/upload}/upload-trigger.d.ts +4 -4
- package/lib/{upload → packages/upload}/upload.d.ts +15 -15
- package/lib/packages/upload/use-file-handler.d.ts +56 -0
- package/lib/{virtual-render → packages/virtual-render}/index.d.ts +26 -90
- package/lib/{virtual-render → packages/virtual-render}/props.d.ts +24 -56
- package/lib/{virtual-render → packages/virtual-render}/virtual-render.d.ts +12 -47
- package/lib/pagination/index.js +125 -172
- package/lib/pop-confirm/index.js +53 -98
- package/lib/popover/index.js +305 -339
- package/lib/popover2/index.js +11 -44
- package/lib/process/index.js +460 -75
- package/lib/progress/index.js +51 -86
- package/lib/radio/index.js +81 -124
- package/lib/rate/index.js +51 -86
- package/lib/resize-layout/index.js +65 -101
- package/lib/scrollbar/index.js +26 -59
- package/lib/search-select/index.js +737 -382
- package/lib/select/index.js +813 -486
- package/lib/shared/index.js +73 -277
- package/lib/sideslider/index.js +484 -98
- package/lib/slider/index.js +525 -127
- package/lib/steps/index.js +477 -93
- package/lib/swiper/index.js +46 -81
- package/lib/switcher/index.js +47 -84
- package/lib/tab/index.js +297 -249
- package/lib/table/index.js +1174 -870
- package/lib/table-column/index.js +8 -41
- package/lib/tag/index.js +39 -78
- package/lib/tag-input/index.js +246 -302
- package/lib/time-picker/index.js +8 -41
- package/lib/timeline/index.js +42 -77
- package/lib/transfer/index.js +100 -147
- package/lib/tree/index.js +198 -242
- package/lib/upload/index.js +579 -251
- package/lib/virtual-render/index.js +103 -140
- package/lib/volar.components.d.ts +1 -0
- package/package.json +36 -28
- package/lib/breadcrumb/breadcrumb-item.d.ts +0 -61
- package/lib/breadcrumb/breadcrumb.d.ts +0 -79
- package/lib/card/card.d.ts +0 -111
- package/lib/cascader/cascader.d.ts +0 -769
- package/lib/config-provider/config-provider.d.ts +0 -451
- package/lib/config-provider/index.d.ts +0 -499
- package/lib/container/container.d.ts +0 -83
- package/lib/dialog/dialog.d.ts +0 -268
- package/lib/dialog/props.d.ts +0 -113
- package/lib/form/form-item.d.ts +0 -170
- package/lib/icon/index.d.ts +0 -87
- package/lib/image/props.d.ts +0 -71
- package/lib/modal/modal.d.ts +0 -147
- package/lib/modal/props.mixin.d.ts +0 -62
- package/lib/overflow-title/components/overflow-title.d.ts +0 -357
- package/lib/overflow-title/props.d.ts +0 -195
- package/lib/preset.d.ts +0 -300
- package/lib/progress/progress.d.ts +0 -229
- package/lib/rate/star.d.ts +0 -74
- package/lib/select/pinyin/dict.d.ts +0 -34
- package/lib/select/pinyin/index.d.ts +0 -2
- package/lib/sideslider/sideslider.d.ts +0 -236
- package/lib/swiper/swiper.d.ts +0 -65
- package/lib/tab/tab-panel.d.ts +0 -102
- package/lib/tag-input/list-tag-render.d.ts +0 -55
- package/lib/tag-input/tag-input.d.ts +0 -1011
- package/lib/tag-input/tag-props.d.ts +0 -316
- package/lib/transfer/props.d.ts +0 -54
- package/lib/tree/use-empty.d.ts +0 -4
- package/lib/upload/use-file-handler.d.ts +0 -32
- package/lib/{breadcrumb → packages/breadcrumb}/props.d.ts +0 -0
- package/lib/{button → packages/button}/button-group.d.ts +0 -0
- package/lib/{cascader → packages/cascader}/interface.d.ts +0 -0
- package/lib/{cascader → packages/cascader}/store.d.ts +0 -0
- package/lib/{checkbox → packages/checkbox}/common.d.ts +0 -0
- package/lib/{checkbox → packages/checkbox}/type.d.ts +0 -0
- package/lib/{collapse → packages/collapse}/utils.d.ts +0 -0
- package/lib/{collapse-transition → packages/collapse-transition}/collapse-transition.d.ts +0 -0
- package/lib/{color-picker → packages/color-picker}/utils.d.ts +0 -0
- package/lib/{components.d.ts → packages/components.d.ts} +0 -0
- package/lib/{config-provider → packages/config-provider}/use-global-config.d.ts +0 -0
- package/lib/{config-provider → packages/config-provider}/use-locale.d.ts +0 -0
- package/lib/{config-provider → packages/config-provider}/use-prefix.d.ts +0 -0
- package/lib/{container → packages/container}/interface.d.ts +0 -0
- package/lib/{container → packages/container}/row.d.ts +0 -0
- package/lib/{date-picker → packages/date-picker}/base/confirm.d.ts +0 -0
- package/lib/{date-picker → packages/date-picker}/common.d.ts +0 -0
- package/lib/{date-picker → packages/date-picker}/fecha.d.ts +0 -0
- package/lib/{date-picker → packages/date-picker}/interface.d.ts +0 -0
- package/lib/{date-picker → packages/date-picker}/utils.d.ts +0 -0
- package/lib/{directives → packages/directives}/clickoutside.d.ts +0 -0
- package/lib/{directives → packages/directives}/ellipsis.d.ts +0 -0
- package/lib/{directives → packages/directives}/index.d.ts +0 -0
- package/lib/{directives → packages/directives}/mousewheel.d.ts +0 -0
- package/lib/{directives → packages/directives}/tooltips.d.ts +0 -0
- package/lib/{exception → packages/exception}/typings/index.d.ts +0 -0
- package/lib/{form → packages/form}/compose-form-item.d.ts +0 -0
- package/lib/{form → packages/form}/type.d.ts +0 -0
- package/lib/{form → packages/form}/utils.d.ts +0 -0
- package/lib/{form → packages/form}/validator.d.ts +0 -0
- package/lib/{hooks.d.ts → packages/hooks.d.ts} +0 -0
- package/lib/{icon → packages/icon}/angle-double-down-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-double-left-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-double-left.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-double-right-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-double-right.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-double-up-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-down-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-down-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-down.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-left.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-right.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-up-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/angle-up.d.ts +0 -0
- package/lib/{icon → packages/icon}/archive-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/arrows-left.d.ts +0 -0
- package/lib/{icon → packages/icon}/arrows-right.d.ts +0 -0
- package/lib/{icon → packages/icon}/assistant.d.ts +0 -0
- package/lib/{icon → packages/icon}/audio-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/bk.d.ts +0 -0
- package/lib/{icon → packages/icon}/circle.d.ts +0 -0
- package/lib/{icon → packages/icon}/close-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/close.d.ts +0 -0
- package/lib/{icon → packages/icon}/code.d.ts +0 -0
- package/lib/{icon → packages/icon}/cog-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/collapse-left.d.ts +0 -0
- package/lib/{icon → packages/icon}/copy-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/copy.d.ts +0 -0
- package/lib/{icon → packages/icon}/data-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/del.d.ts +0 -0
- package/lib/{icon → packages/icon}/doc-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/done.d.ts +0 -0
- package/lib/{icon → packages/icon}/down-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/down-small.d.ts +0 -0
- package/lib/{icon → packages/icon}/edit-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/ellipsis.d.ts +0 -0
- package/lib/{icon → packages/icon}/enlarge-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/error.d.ts +0 -0
- package/lib/{icon → packages/icon}/excel-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/exclamation-circle-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/eye.d.ts +0 -0
- package/lib/{icon → packages/icon}/filliscreen-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/fix-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/fix-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/folder-open.d.ts +0 -0
- package/lib/{icon → packages/icon}/folder-shape-open.d.ts +0 -0
- package/lib/{icon → packages/icon}/folder-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/folder.d.ts +0 -0
- package/lib/{icon → packages/icon}/funnel.d.ts +0 -0
- package/lib/{icon → packages/icon}/grag-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/help-document-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/help-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/help.d.ts +0 -0
- package/lib/{icon → packages/icon}/icon.d.ts +0 -0
- package/lib/{icon → packages/icon}/image-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/img-error.d.ts +0 -0
- package/lib/{icon → packages/icon}/img-placehoulder.d.ts +0 -0
- package/lib/{icon → packages/icon}/info-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/info.d.ts +0 -0
- package/lib/{icon → packages/icon}/left-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/left-turn-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/loading.d.ts +0 -0
- package/lib/{icon → packages/icon}/narrow-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/original.d.ts +0 -0
- package/lib/{icon → packages/icon}/pdf-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/play-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/plus.d.ts +0 -0
- package/lib/{icon → packages/icon}/ppt-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/qq.d.ts +0 -0
- package/lib/{icon → packages/icon}/right-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/right-turn-line.d.ts +0 -0
- package/lib/{icon → packages/icon}/search.d.ts +0 -0
- package/lib/{icon → packages/icon}/share.d.ts +0 -0
- package/lib/{icon → packages/icon}/spinner.d.ts +0 -0
- package/lib/{icon → packages/icon}/success.d.ts +0 -0
- package/lib/{icon → packages/icon}/switcher-loading.d.ts +0 -0
- package/lib/{icon → packages/icon}/text-all.d.ts +0 -0
- package/lib/{icon → packages/icon}/text-file.d.ts +0 -0
- package/lib/{icon → packages/icon}/text-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/transfer.d.ts +0 -0
- package/lib/{icon → packages/icon}/tree-application-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/unfull-screen.d.ts +0 -0
- package/lib/{icon → packages/icon}/unvisible.d.ts +0 -0
- package/lib/{icon → packages/icon}/up-shape.d.ts +0 -0
- package/lib/{icon → packages/icon}/upload.d.ts +0 -0
- package/lib/{icon → packages/icon}/video-fill.d.ts +0 -0
- package/lib/{icon → packages/icon}/warn.d.ts +0 -0
- package/lib/{icon → packages/icon}/weixin-pro.d.ts +0 -0
- package/lib/{icon → packages/icon}/weixin.d.ts +0 -0
- package/lib/{index.d.ts → packages/index.d.ts} +0 -0
- package/lib/{info-box → packages/info-box}/info-box.d.ts +0 -0
- package/lib/{info-box → packages/info-box}/render-component.d.ts +0 -0
- package/lib/{input → packages/input}/util.d.ts +0 -0
- package/lib/{loading → packages/loading}/directive.d.ts +0 -0
- package/lib/{locale → packages/locale}/index.d.ts +0 -0
- package/lib/{locale → packages/locale}/lang/en.d.ts +0 -0
- package/lib/{locale → packages/locale}/lang/ja-jp.d.ts +0 -0
- package/lib/{locale → packages/locale}/lang/zh-cn.d.ts +0 -0
- package/lib/{menu → packages/menu}/menu-group.d.ts +0 -0
- package/lib/{menu → packages/menu}/menu-item.d.ts +0 -0
- package/lib/{menu → packages/menu}/submenu.d.ts +0 -0
- package/lib/{menu → packages/menu}/utils.d.ts +0 -0
- package/lib/{message → packages/message}/index.d.ts +0 -0
- package/lib/{modal → packages/modal}/hooks.d.ts +0 -0
- package/lib/{modal → packages/modal}/mask.d.ts +0 -0
- package/lib/{navigation → packages/navigation}/navigation-title.d.ts +0 -0
- package/lib/{notify → packages/notify}/index.d.ts +0 -0
- package/lib/{overflow-title → packages/overflow-title}/directive/overflow-title.d.ts +0 -0
- package/lib/{overflow-title → packages/overflow-title}/utils/getActualWidthByCanvas.d.ts +0 -0
- package/lib/{overflow-title → packages/overflow-title}/utils/getActualWidthByDom.d.ts +0 -0
- package/lib/{pagination → packages/pagination}/type.d.ts +0 -0
- package/lib/{pagination → packages/pagination}/use-list.d.ts +0 -0
- package/lib/{pagination → packages/pagination}/use-small-list.d.ts +0 -0
- package/lib/{popover → packages/popover}/composables/index.d.ts +0 -0
- package/lib/{popover → packages/popover}/composables/use-delay.d.ts +0 -0
- package/lib/{popover → packages/popover}/composables/use-trigger.d.ts +0 -0
- package/lib/{popover → packages/popover}/plugin-popover.d.ts +0 -0
- package/lib/{popover2 → packages/popover2}/popover.d.ts +0 -0
- package/lib/{progress → packages/progress}/circle.d.ts +0 -0
- package/lib/{progress → packages/progress}/line.d.ts +0 -0
- package/lib/{radio → packages/radio}/common.d.ts +0 -0
- package/lib/{radio → packages/radio}/type.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/handlers/click-rail.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/handlers/drag-thumb.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/handlers/keyboard.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/handlers/mouse-wheel.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/handlers/touch.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/helper/class-names.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/helper/css.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/helper/dom.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/helper/event-manager.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/helper/util.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/index.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/process-scroll-diff.d.ts +0 -0
- package/lib/{scrollbar → packages/scrollbar}/update-geometry.d.ts +0 -0
- package/lib/{search-select → packages/search-select}/menu.d.ts +0 -0
- package/lib/{search-select → packages/search-select}/utils.d.ts +0 -0
- package/lib/{select → packages/select}/common.d.ts +0 -0
- package/lib/{select → packages/select}/pinyin/core.d.ts +0 -0
- package/lib/{select → packages/select}/type.d.ts +0 -0
- package/lib/{shared → packages/shared}/dom.d.ts +0 -0
- package/lib/{shared → packages/shared}/frame-throttle.d.ts +0 -0
- package/lib/{shared → packages/shared}/helper.d.ts +0 -0
- package/lib/{shared → packages/shared}/hooks/use-form-item.d.ts +0 -0
- package/lib/{shared → packages/shared}/hooks/use-form.d.ts +0 -0
- package/lib/{shared → packages/shared}/popover.d.ts +0 -0
- package/lib/{shared → packages/shared}/scrollbar-width.d.ts +0 -0
- package/lib/{shared → packages/shared}/token.d.ts +0 -0
- package/lib/{shared → packages/shared}/utils.d.ts +0 -0
- package/lib/{shared → packages/shared}/z-index-manager.d.ts +0 -0
- package/lib/{slider → packages/slider}/slider-button.d.ts +0 -0
- package/lib/{slider → packages/slider}/slider.d.ts +0 -0
- package/lib/{styles → packages/styles}/index.d.ts +0 -0
- package/lib/{tab → packages/tab}/index.d.ts +0 -0
- package/lib/{tab → packages/tab}/tab-nav.d.ts +0 -0
- package/lib/{tab → packages/tab}/tab.d.ts +0 -0
- package/lib/{table → packages/table}/cache.d.ts +0 -0
- package/lib/{table → packages/table}/components/ghost-body.d.ts +0 -0
- package/lib/{table → packages/table}/components/index.d.ts +0 -0
- package/lib/{table → packages/table}/components/table-row.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-cell.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-checkbox-tooltip.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-column-registry.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-column-resize.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-column-template.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-draggable.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-fixed-column.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-head.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-observer-resize.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-pagination.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-render.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-rows.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-scroll-loading.d.ts +0 -0
- package/lib/{table → packages/table}/hooks/use-shift-key.d.ts +0 -0
- package/lib/{table → packages/table}/plugins/common.d.ts +0 -0
- package/lib/{table → packages/table}/plugins/head-filter.d.ts +1 -1
- package/lib/{table → packages/table}/plugins/index.d.ts +0 -0
- package/lib/{tag-input → packages/tag-input}/common.d.ts +0 -0
- package/lib/{transfer → packages/transfer}/const.d.ts +0 -0
- package/lib/{tree → packages/tree}/constant.d.ts +0 -0
- package/lib/{tree → packages/tree}/use-array-move.d.ts +0 -0
- package/lib/{tree → packages/tree}/use-intersection-observer.d.ts +0 -0
- package/lib/{tree → packages/tree}/use-node-action.d.ts +0 -0
- package/lib/{tree → packages/tree}/use-node-async.d.ts +0 -0
- package/lib/{tree → packages/tree}/use-node-drag.d.ts +0 -0
- package/lib/{tree → packages/tree}/use-search.d.ts +0 -0
- package/lib/{upload → packages/upload}/upload.type.d.ts +0 -0
- package/lib/{upload → packages/upload}/use-ajax-upload.d.ts +0 -0
- package/lib/{use-message.d.ts → packages/use-message.d.ts} +0 -0
- package/lib/{virtual-render → packages/virtual-render}/use-fix-top.d.ts +0 -0
- package/lib/{virtual-render → packages/virtual-render}/use-scrollbar.d.ts +0 -0
- package/lib/{virtual-render → packages/virtual-render}/use-tag-render.d.ts +0 -0
- package/lib/{virtual-render → packages/virtual-render}/v-virtual-render.d.ts +3 -3
package/lib/button/index.js
CHANGED
|
@@ -1,50 +1,16 @@
|
|
|
1
1
|
import "../styles/reset.css";
|
|
2
2
|
import "./button.less";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import { PropTypes as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__, classes as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_classes__, withInstallProps as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_withInstallProps__ } from "../shared";
|
|
4
|
+
import { computed as __WEBPACK_EXTERNAL_MODULE_vue_computed__, createVNode as __WEBPACK_EXTERNAL_MODULE_vue_createVNode__, defineComponent as __WEBPACK_EXTERNAL_MODULE_vue_defineComponent__, mergeProps as __WEBPACK_EXTERNAL_MODULE_vue_mergeProps__, ref as __WEBPACK_EXTERNAL_MODULE_vue_ref__ } from "vue";
|
|
5
|
+
import { usePrefix as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__ } from "../config-provider";
|
|
6
|
+
import { BkLoadingSize as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a_BkLoadingSize__, default as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a_default__ } from "../loading";
|
|
7
7
|
import "../loading/loading.less";
|
|
8
|
-
/******/ // The require scope
|
|
9
|
-
/******/ var __webpack_require__ = {};
|
|
10
|
-
/******/
|
|
11
|
-
/************************************************************************/
|
|
12
|
-
/******/ /* webpack/runtime/define property getters */
|
|
13
|
-
/******/ (() => {
|
|
14
|
-
/******/ // define getter functions for harmony exports
|
|
15
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
16
|
-
/******/ for(var key in definition) {
|
|
17
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
18
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
19
|
-
/******/ }
|
|
20
|
-
/******/ }
|
|
21
|
-
/******/ };
|
|
22
|
-
/******/ })();
|
|
23
|
-
/******/
|
|
24
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
25
|
-
/******/ (() => {
|
|
26
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
27
|
-
/******/ })();
|
|
28
|
-
/******/
|
|
29
|
-
/************************************************************************/
|
|
30
|
-
var __webpack_exports__ = {};
|
|
31
|
-
|
|
32
|
-
// EXPORTS
|
|
33
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
34
|
-
BkButton: () => (/* binding */ BkButton),
|
|
35
|
-
BkButtonGroup: () => (/* reexport */ button_group),
|
|
36
|
-
"default": () => (/* binding */ src)
|
|
37
|
-
});
|
|
38
8
|
|
|
39
|
-
;//
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
;//
|
|
44
|
-
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
45
|
-
var external_vue_y = x => () => x
|
|
46
|
-
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
|
|
47
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
9
|
+
;// external "../shared"
|
|
10
|
+
|
|
11
|
+
;// external "vue"
|
|
12
|
+
|
|
13
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
48
14
|
function _typeof(o) {
|
|
49
15
|
"@babel/helpers - typeof";
|
|
50
16
|
|
|
@@ -55,7 +21,7 @@ function _typeof(o) {
|
|
|
55
21
|
}, _typeof(o);
|
|
56
22
|
}
|
|
57
23
|
|
|
58
|
-
;//
|
|
24
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
59
25
|
|
|
60
26
|
function toPrimitive(t, r) {
|
|
61
27
|
if ("object" != _typeof(t) || !t) return t;
|
|
@@ -68,7 +34,7 @@ function toPrimitive(t, r) {
|
|
|
68
34
|
return ("string" === r ? String : Number)(t);
|
|
69
35
|
}
|
|
70
36
|
|
|
71
|
-
;//
|
|
37
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
72
38
|
|
|
73
39
|
|
|
74
40
|
function toPropertyKey(t) {
|
|
@@ -76,7 +42,7 @@ function toPropertyKey(t) {
|
|
|
76
42
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
77
43
|
}
|
|
78
44
|
|
|
79
|
-
;//
|
|
45
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
80
46
|
|
|
81
47
|
function _defineProperty(e, r, t) {
|
|
82
48
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
@@ -87,19 +53,13 @@ function _defineProperty(e, r, t) {
|
|
|
87
53
|
}) : e[r] = t, e;
|
|
88
54
|
}
|
|
89
55
|
|
|
90
|
-
;//
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
;//
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
const loading_namespaceObject = loading_x({ ["BkLoadingSize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__.BkLoadingSize, ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__["default"] });
|
|
98
|
-
;// CONCATENATED MODULE: external "../loading/loading.less"
|
|
99
|
-
var loading_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
100
|
-
var loading_less_y = x => () => x
|
|
101
|
-
const loading_less_namespaceObject = loading_less_x({ });
|
|
102
|
-
;// CONCATENATED MODULE: ../../packages/button/src/button.tsx
|
|
56
|
+
;// external "../config-provider"
|
|
57
|
+
|
|
58
|
+
;// external "../loading"
|
|
59
|
+
|
|
60
|
+
;// external "../loading/loading.less"
|
|
61
|
+
|
|
62
|
+
;// ../../packages/button/src/button.tsx
|
|
103
63
|
|
|
104
64
|
|
|
105
65
|
/**
|
|
@@ -135,31 +95,31 @@ const loading_less_namespaceObject = loading_less_x({ });
|
|
|
135
95
|
|
|
136
96
|
var btnSizes = ['', 'small', 'large'];
|
|
137
97
|
var buttonProps = {
|
|
138
|
-
theme:
|
|
139
|
-
hoverTheme:
|
|
98
|
+
theme: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.theme(),
|
|
99
|
+
hoverTheme: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.theme(),
|
|
140
100
|
size: {
|
|
141
101
|
type: String,
|
|
142
102
|
"default": btnSizes[0]
|
|
143
103
|
},
|
|
144
|
-
title:
|
|
145
|
-
icon:
|
|
146
|
-
iconRight:
|
|
147
|
-
disabled:
|
|
148
|
-
loading:
|
|
104
|
+
title: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.string,
|
|
105
|
+
icon: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.string,
|
|
106
|
+
iconRight: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.string,
|
|
107
|
+
disabled: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool,
|
|
108
|
+
loading: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool,
|
|
149
109
|
loadingMode: {
|
|
150
110
|
type: String,
|
|
151
111
|
"default": 'default'
|
|
152
112
|
},
|
|
153
|
-
outline:
|
|
154
|
-
text:
|
|
155
|
-
selected:
|
|
113
|
+
outline: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool,
|
|
114
|
+
text: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool,
|
|
115
|
+
selected: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool,
|
|
156
116
|
// circle: PropTypes.bool,
|
|
157
117
|
nativeType: {
|
|
158
118
|
type: String,
|
|
159
119
|
"default": 'button'
|
|
160
120
|
}
|
|
161
121
|
};
|
|
162
|
-
/* harmony default export */ const src_button = ((
|
|
122
|
+
/* harmony default export */ const src_button = (__WEBPACK_EXTERNAL_MODULE_vue_defineComponent__({
|
|
163
123
|
name: 'Button',
|
|
164
124
|
props: buttonProps,
|
|
165
125
|
emits: ['click', 'mouseover'],
|
|
@@ -167,19 +127,19 @@ var buttonProps = {
|
|
|
167
127
|
var _slots$default;
|
|
168
128
|
var slots = _ref.slots,
|
|
169
129
|
emit = _ref.emit;
|
|
170
|
-
var isHover = (
|
|
130
|
+
var isHover = __WEBPACK_EXTERNAL_MODULE_vue_ref__(false);
|
|
171
131
|
var showSlot = (_slots$default = slots["default"]) !== null && _slots$default !== void 0 ? _slots$default : false;
|
|
172
|
-
var _usePrefix = (
|
|
132
|
+
var _usePrefix = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__(),
|
|
173
133
|
resolveClassName = _usePrefix.resolveClassName;
|
|
174
134
|
var btnClsPrefix = resolveClassName('button');
|
|
175
|
-
var isText = (
|
|
135
|
+
var isText = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
176
136
|
return props.text && !props.hoverTheme;
|
|
177
137
|
});
|
|
178
|
-
var btnCls = (
|
|
138
|
+
var btnCls = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
179
139
|
var hoverTheme = props.hoverTheme ? "".concat(btnClsPrefix, "-hover-").concat(props.hoverTheme) : '';
|
|
180
140
|
var btnThemeCls = props.theme ? "".concat(btnClsPrefix, "-").concat(props.theme) : '';
|
|
181
141
|
var themeCls = props.hoverTheme ? '' : btnThemeCls;
|
|
182
|
-
return (
|
|
142
|
+
return __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_classes__(_defineProperty(_defineProperty({
|
|
183
143
|
'is-disabled': props.disabled,
|
|
184
144
|
'is-outline': props.outline,
|
|
185
145
|
'is-text': isText.value,
|
|
@@ -187,7 +147,7 @@ var buttonProps = {
|
|
|
187
147
|
'is-selected': props.selected
|
|
188
148
|
}, "".concat(btnClsPrefix, "-").concat(props.size), props.size && btnSizes.includes(props.size)), 'no-slot', !showSlot), "".concat(themeCls, " ").concat(btnClsPrefix, " ").concat(hoverTheme));
|
|
189
149
|
});
|
|
190
|
-
var loadingTheme = (
|
|
150
|
+
var loadingTheme = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
191
151
|
if (props.text || props.outline || props.hoverTheme) {
|
|
192
152
|
if (isHover.value && !props.text) return 'white';
|
|
193
153
|
if (props.text && props.disabled) return;
|
|
@@ -195,8 +155,8 @@ var buttonProps = {
|
|
|
195
155
|
}
|
|
196
156
|
return !props.theme ? undefined : 'white';
|
|
197
157
|
});
|
|
198
|
-
var loadingSize = (
|
|
199
|
-
return isText.value || props.size ===
|
|
158
|
+
var loadingSize = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
159
|
+
return isText.value || props.size === __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a_BkLoadingSize__.Small ? __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a_BkLoadingSize__.Mini : __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a_BkLoadingSize__.Small;
|
|
200
160
|
});
|
|
201
161
|
var handleClick = function handleClick(e) {
|
|
202
162
|
if (props.loading) return;
|
|
@@ -215,7 +175,7 @@ var buttonProps = {
|
|
|
215
175
|
};
|
|
216
176
|
return function () {
|
|
217
177
|
var _slots$default2;
|
|
218
|
-
return (
|
|
178
|
+
return __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("button", {
|
|
219
179
|
"class": btnCls.value,
|
|
220
180
|
"disabled": props.disabled,
|
|
221
181
|
"title": props.title,
|
|
@@ -223,20 +183,20 @@ var buttonProps = {
|
|
|
223
183
|
"onClick": handleClick,
|
|
224
184
|
"onMouseleave": handleMouseout,
|
|
225
185
|
"onMouseover": handleMouseOver
|
|
226
|
-
}, [props.loading && (
|
|
186
|
+
}, [props.loading && __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a_default__, __WEBPACK_EXTERNAL_MODULE_vue_mergeProps__({
|
|
227
187
|
"class": "".concat(btnClsPrefix, "-loading"),
|
|
228
188
|
"mode": props.loadingMode,
|
|
229
189
|
"size": loadingSize.value,
|
|
230
190
|
"loading": true
|
|
231
191
|
}, loadingTheme.value ? {
|
|
232
192
|
theme: loadingTheme.value
|
|
233
|
-
} : {}), null), slots["default"] && (
|
|
193
|
+
} : {}), null), slots["default"] && __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("span", {
|
|
234
194
|
"class": "".concat(btnClsPrefix, "-text")
|
|
235
195
|
}, [(_slots$default2 = slots["default"]) === null || _slots$default2 === void 0 ? void 0 : _slots$default2.call(slots)])]);
|
|
236
196
|
};
|
|
237
197
|
}
|
|
238
198
|
}));
|
|
239
|
-
;//
|
|
199
|
+
;// ../../packages/button/src/button-group.tsx
|
|
240
200
|
|
|
241
201
|
|
|
242
202
|
/*
|
|
@@ -267,26 +227,26 @@ var buttonProps = {
|
|
|
267
227
|
|
|
268
228
|
|
|
269
229
|
|
|
270
|
-
/* harmony default export */ const button_group = ((
|
|
230
|
+
/* harmony default export */ const button_group = (__WEBPACK_EXTERNAL_MODULE_vue_defineComponent__({
|
|
271
231
|
name: 'ButtonGroup',
|
|
272
232
|
props: {
|
|
273
|
-
size:
|
|
233
|
+
size: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.size()
|
|
274
234
|
},
|
|
275
235
|
setup: function setup(props, ctx) {
|
|
276
|
-
var _usePrefix = (
|
|
236
|
+
var _usePrefix = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__(),
|
|
277
237
|
resolveClassName = _usePrefix.resolveClassName;
|
|
278
|
-
var btnGroupCls = (
|
|
279
|
-
return (
|
|
238
|
+
var btnGroupCls = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
239
|
+
return __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_classes__(_defineProperty({}, "".concat(resolveClassName("button-group-".concat(props.size))), !!props.size), "".concat(resolveClassName('button-group')));
|
|
280
240
|
});
|
|
281
241
|
return function () {
|
|
282
242
|
var _ctx$slots$default, _ctx$slots;
|
|
283
|
-
return (
|
|
243
|
+
return __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
284
244
|
"class": btnGroupCls.value
|
|
285
245
|
}, [(_ctx$slots$default = (_ctx$slots = ctx.slots)["default"]) === null || _ctx$slots$default === void 0 ? void 0 : _ctx$slots$default.call(_ctx$slots)]);
|
|
286
246
|
};
|
|
287
247
|
}
|
|
288
248
|
}));
|
|
289
|
-
;//
|
|
249
|
+
;// ../../packages/button/src/index.ts
|
|
290
250
|
/*
|
|
291
251
|
* Tencent is pleased to support the open source community by making
|
|
292
252
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
@@ -315,12 +275,9 @@ var buttonProps = {
|
|
|
315
275
|
|
|
316
276
|
|
|
317
277
|
|
|
318
|
-
var BkButton = (
|
|
278
|
+
var BkButton = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_withInstallProps__(src_button, {
|
|
319
279
|
ButtonGroup: button_group
|
|
320
280
|
});
|
|
321
281
|
/* harmony default export */ const src = (BkButton);
|
|
322
282
|
|
|
323
|
-
|
|
324
|
-
var __webpack_exports__BkButtonGroup = __webpack_exports__.BkButtonGroup;
|
|
325
|
-
var __webpack_exports__default = __webpack_exports__["default"];
|
|
326
|
-
export { __webpack_exports__BkButton as BkButton, __webpack_exports__BkButtonGroup as BkButtonGroup, __webpack_exports__default as default };
|
|
283
|
+
export { BkButton, button_group as BkButtonGroup, src as default };
|
package/lib/card/index.js
CHANGED
|
@@ -1,50 +1,18 @@
|
|
|
1
1
|
import "../styles/reset.css";
|
|
2
2
|
import "./card.less";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
3
|
+
import { PropTypes as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__, classes as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_classes__, withInstall as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_withInstall__ } from "../shared";
|
|
4
|
+
import { createVNode as __WEBPACK_EXTERNAL_MODULE_vue_createVNode__, defineComponent as __WEBPACK_EXTERNAL_MODULE_vue_defineComponent__, ref as __WEBPACK_EXTERNAL_MODULE_vue_ref__, vShow as __WEBPACK_EXTERNAL_MODULE_vue_vShow__, watch as __WEBPACK_EXTERNAL_MODULE_vue_watch__, withDirectives as __WEBPACK_EXTERNAL_MODULE_vue_withDirectives__ } from "vue";
|
|
5
|
+
import { default as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_collapse_transition_3d6ae990_default__ } from "../collapse-transition";
|
|
6
|
+
import { usePrefix as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__ } from "../config-provider";
|
|
7
|
+
import { AngleDown as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_AngleDown__, AngleRight as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_AngleRight__, EditLine as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_EditLine__ } from "../icon";
|
|
8
|
+
import { default as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_input_d525237e_default__ } from "../input";
|
|
9
9
|
import "../input/input.less";
|
|
10
|
-
/******/ // The require scope
|
|
11
|
-
/******/ var __webpack_require__ = {};
|
|
12
|
-
/******/
|
|
13
|
-
/************************************************************************/
|
|
14
|
-
/******/ /* webpack/runtime/define property getters */
|
|
15
|
-
/******/ (() => {
|
|
16
|
-
/******/ // define getter functions for harmony exports
|
|
17
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
18
|
-
/******/ for(var key in definition) {
|
|
19
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
20
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
21
|
-
/******/ }
|
|
22
|
-
/******/ }
|
|
23
|
-
/******/ };
|
|
24
|
-
/******/ })();
|
|
25
|
-
/******/
|
|
26
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
27
|
-
/******/ (() => {
|
|
28
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
29
|
-
/******/ })();
|
|
30
|
-
/******/
|
|
31
|
-
/************************************************************************/
|
|
32
|
-
var __webpack_exports__ = {};
|
|
33
10
|
|
|
34
|
-
|
|
35
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
36
|
-
"default": () => (/* binding */ src)
|
|
37
|
-
});
|
|
11
|
+
;// external "../shared"
|
|
38
12
|
|
|
39
|
-
;//
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
|
43
|
-
;// CONCATENATED MODULE: external "vue"
|
|
44
|
-
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
45
|
-
var external_vue_y = x => () => x
|
|
46
|
-
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
|
47
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
13
|
+
;// external "vue"
|
|
14
|
+
|
|
15
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
48
16
|
function _typeof(o) {
|
|
49
17
|
"@babel/helpers - typeof";
|
|
50
18
|
|
|
@@ -55,7 +23,7 @@ function _typeof(o) {
|
|
|
55
23
|
}, _typeof(o);
|
|
56
24
|
}
|
|
57
25
|
|
|
58
|
-
;//
|
|
26
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
59
27
|
|
|
60
28
|
function toPrimitive(t, r) {
|
|
61
29
|
if ("object" != _typeof(t) || !t) return t;
|
|
@@ -68,7 +36,7 @@ function toPrimitive(t, r) {
|
|
|
68
36
|
return ("string" === r ? String : Number)(t);
|
|
69
37
|
}
|
|
70
38
|
|
|
71
|
-
;//
|
|
39
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
72
40
|
|
|
73
41
|
|
|
74
42
|
function toPropertyKey(t) {
|
|
@@ -76,7 +44,7 @@ function toPropertyKey(t) {
|
|
|
76
44
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
77
45
|
}
|
|
78
46
|
|
|
79
|
-
;//
|
|
47
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
80
48
|
|
|
81
49
|
function _defineProperty(e, r, t) {
|
|
82
50
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
@@ -87,27 +55,17 @@ function _defineProperty(e, r, t) {
|
|
|
87
55
|
}) : e[r] = t, e;
|
|
88
56
|
}
|
|
89
57
|
|
|
90
|
-
;//
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
;//
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
;//
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
const icon_namespaceObject = icon_x({ ["AngleDown"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDown, ["AngleRight"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight, ["EditLine"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.EditLine });
|
|
102
|
-
;// CONCATENATED MODULE: external "../input"
|
|
103
|
-
var input_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
104
|
-
var input_y = x => () => x
|
|
105
|
-
const input_namespaceObject = input_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_input_d525237e__["default"] });
|
|
106
|
-
;// CONCATENATED MODULE: external "../input/input.less"
|
|
107
|
-
var input_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
108
|
-
var input_less_y = x => () => x
|
|
109
|
-
const input_less_namespaceObject = input_less_x({ });
|
|
110
|
-
;// CONCATENATED MODULE: ../../packages/card/src/card.tsx
|
|
58
|
+
;// external "../collapse-transition"
|
|
59
|
+
|
|
60
|
+
;// external "../config-provider"
|
|
61
|
+
|
|
62
|
+
;// external "../icon"
|
|
63
|
+
|
|
64
|
+
;// external "../input"
|
|
65
|
+
|
|
66
|
+
;// external "../input/input.less"
|
|
67
|
+
|
|
68
|
+
;// ../../packages/card/src/card.tsx
|
|
111
69
|
|
|
112
70
|
|
|
113
71
|
/*
|
|
@@ -142,27 +100,27 @@ const input_less_namespaceObject = input_less_x({ });
|
|
|
142
100
|
|
|
143
101
|
|
|
144
102
|
|
|
145
|
-
/* harmony default export */ const card = ((
|
|
103
|
+
/* harmony default export */ const card = (__WEBPACK_EXTERNAL_MODULE_vue_defineComponent__({
|
|
146
104
|
name: 'Card',
|
|
147
105
|
props: {
|
|
148
|
-
title:
|
|
149
|
-
showHeader:
|
|
150
|
-
showFooter:
|
|
151
|
-
collapseStatus:
|
|
152
|
-
border:
|
|
153
|
-
disableHeaderStyle:
|
|
154
|
-
position:
|
|
155
|
-
isEdit:
|
|
156
|
-
isCollapse:
|
|
106
|
+
title: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.string,
|
|
107
|
+
showHeader: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(true),
|
|
108
|
+
showFooter: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(false),
|
|
109
|
+
collapseStatus: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(true),
|
|
110
|
+
border: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(true),
|
|
111
|
+
disableHeaderStyle: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(false),
|
|
112
|
+
position: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.string.def('left'),
|
|
113
|
+
isEdit: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(false),
|
|
114
|
+
isCollapse: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(false)
|
|
157
115
|
},
|
|
158
116
|
emits: ['update:collapseStatus', 'edit'],
|
|
159
117
|
setup: function setup(props, _ref) {
|
|
160
118
|
var emit = _ref.emit;
|
|
161
119
|
/** 展开&收起的状态 */
|
|
162
|
-
var collapseActive = (
|
|
120
|
+
var collapseActive = __WEBPACK_EXTERNAL_MODULE_vue_ref__(true);
|
|
163
121
|
/** 是否显示编辑框 */
|
|
164
|
-
var showInput = (
|
|
165
|
-
var renderTitle = (
|
|
122
|
+
var showInput = __WEBPACK_EXTERNAL_MODULE_vue_ref__(false);
|
|
123
|
+
var renderTitle = __WEBPACK_EXTERNAL_MODULE_vue_ref__('');
|
|
166
124
|
var handleCollapse = function handleCollapse() {
|
|
167
125
|
if (!props.isCollapse) {
|
|
168
126
|
return;
|
|
@@ -179,21 +137,21 @@ const input_less_namespaceObject = input_less_x({ });
|
|
|
179
137
|
showInput.value = !showInput.value;
|
|
180
138
|
emit('edit', renderTitle);
|
|
181
139
|
};
|
|
182
|
-
(
|
|
140
|
+
__WEBPACK_EXTERNAL_MODULE_vue_watch__(function () {
|
|
183
141
|
return props.collapseStatus;
|
|
184
142
|
}, function (val) {
|
|
185
143
|
props.isCollapse && (collapseActive.value = val);
|
|
186
144
|
}, {
|
|
187
145
|
immediate: true
|
|
188
146
|
});
|
|
189
|
-
(
|
|
147
|
+
__WEBPACK_EXTERNAL_MODULE_vue_watch__(function () {
|
|
190
148
|
return props.title;
|
|
191
149
|
}, function (val) {
|
|
192
150
|
renderTitle.value = val;
|
|
193
151
|
}, {
|
|
194
152
|
immediate: true
|
|
195
153
|
});
|
|
196
|
-
var _usePrefix = (
|
|
154
|
+
var _usePrefix = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__(),
|
|
197
155
|
resolveClassName = _usePrefix.resolveClassName;
|
|
198
156
|
var wrapperClsName = resolveClassName('card');
|
|
199
157
|
return {
|
|
@@ -220,12 +178,12 @@ const input_less_namespaceObject = input_less_x({ });
|
|
|
220
178
|
_this$$slots$footer,
|
|
221
179
|
_this$$slots$footer2,
|
|
222
180
|
_this$$slots4;
|
|
223
|
-
var cardClass = (
|
|
224
|
-
var headClass = (
|
|
225
|
-
var defaultHeader = (
|
|
181
|
+
var cardClass = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_classes__(_defineProperty(_defineProperty({}, "".concat(this.wrapperClsName), true), "".concat(this.wrapperClsName, "-border-none"), !this.$props.border), '');
|
|
182
|
+
var headClass = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_classes__(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.wrapperClsName, "-head"), true), "".concat(this.wrapperClsName, "-head-").concat(this.$props.position), this.$props.isCollapse && this.$props.position), 'no-line-height', this.$props.disableHeaderStyle), 'collapse', !this.collapseActive), '');
|
|
183
|
+
var defaultHeader = __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
226
184
|
"class": "title",
|
|
227
185
|
"title": this.renderTitle
|
|
228
|
-
}, [this.showInput ? (
|
|
186
|
+
}, [this.showInput ? __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_input_d525237e_default__, {
|
|
229
187
|
"class": "".concat(this.wrapperClsName, "-input"),
|
|
230
188
|
"modelValue": _this.renderTitle,
|
|
231
189
|
"onUpdate:modelValue": function onUpdateModelValue($event) {
|
|
@@ -233,29 +191,29 @@ const input_less_namespaceObject = input_less_x({ });
|
|
|
233
191
|
},
|
|
234
192
|
"onBlur": this.saveEdit
|
|
235
193
|
}, null) : this.renderTitle]);
|
|
236
|
-
var defaultIcon = (
|
|
194
|
+
var defaultIcon = __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("span", {
|
|
237
195
|
"class": "".concat(this.wrapperClsName, "-icon"),
|
|
238
196
|
"onClick": this.handleCollapse
|
|
239
|
-
}, [this.collapseActive ? (
|
|
240
|
-
return (
|
|
197
|
+
}, [this.collapseActive ? __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_AngleDown__, null, null) : __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_AngleRight__, null, null)]);
|
|
198
|
+
return __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
241
199
|
"class": cardClass
|
|
242
|
-
}, [this.$props.showHeader ? (
|
|
200
|
+
}, [this.$props.showHeader ? __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
243
201
|
"class": headClass
|
|
244
|
-
}, [this.$props.isCollapse && ((_this$$slots$icon = (_this$$slots$icon2 = (_this$$slots = this.$slots).icon) === null || _this$$slots$icon2 === void 0 ? void 0 : _this$$slots$icon2.call(_this$$slots)) !== null && _this$$slots$icon !== void 0 ? _this$$slots$icon : defaultIcon), (_this$$slots$header = (_this$$slots$header2 = (_this$$slots2 = this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots2)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : defaultHeader, this.$props.isEdit && !this.showInput && (
|
|
202
|
+
}, [this.$props.isCollapse && ((_this$$slots$icon = (_this$$slots$icon2 = (_this$$slots = this.$slots).icon) === null || _this$$slots$icon2 === void 0 ? void 0 : _this$$slots$icon2.call(_this$$slots)) !== null && _this$$slots$icon !== void 0 ? _this$$slots$icon : defaultIcon), (_this$$slots$header = (_this$$slots$header2 = (_this$$slots2 = this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots2)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : defaultHeader, this.$props.isEdit && !this.showInput && __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_EditLine__, {
|
|
245
203
|
"class": "".concat(this.wrapperClsName, "-edit"),
|
|
246
204
|
"onClick": this.clickEdit
|
|
247
|
-
}, null)]) : '', (
|
|
205
|
+
}, null)]) : '', __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_collapse_transition_3d6ae990_default__, null, {
|
|
248
206
|
"default": function _default() {
|
|
249
|
-
return [(
|
|
207
|
+
return [__WEBPACK_EXTERNAL_MODULE_vue_withDirectives__(__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", null, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
250
208
|
"class": "".concat(_this.wrapperClsName, "-body")
|
|
251
|
-
}, [(_this$$slots$default = (_this$$slots$default2 = (_this$$slots3 = _this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots3)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : 'Content']), _this.$props.showFooter ? (
|
|
209
|
+
}, [(_this$$slots$default = (_this$$slots$default2 = (_this$$slots3 = _this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots3)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : 'Content']), _this.$props.showFooter ? __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
252
210
|
"class": "".concat(_this.wrapperClsName, "-footer")
|
|
253
|
-
}, [(_this$$slots$footer = (_this$$slots$footer2 = (_this$$slots4 = _this.$slots).footer) === null || _this$$slots$footer2 === void 0 ? void 0 : _this$$slots$footer2.call(_this$$slots4)) !== null && _this$$slots$footer !== void 0 ? _this$$slots$footer : 'Footer']) : '']), [[
|
|
211
|
+
}, [(_this$$slots$footer = (_this$$slots$footer2 = (_this$$slots4 = _this.$slots).footer) === null || _this$$slots$footer2 === void 0 ? void 0 : _this$$slots$footer2.call(_this$$slots4)) !== null && _this$$slots$footer !== void 0 ? _this$$slots$footer : 'Footer']) : '']), [[__WEBPACK_EXTERNAL_MODULE_vue_vShow__, _this.collapseActive]])];
|
|
254
212
|
}
|
|
255
213
|
})]);
|
|
256
214
|
}
|
|
257
215
|
}));
|
|
258
|
-
;//
|
|
216
|
+
;// ../../packages/card/src/index.ts
|
|
259
217
|
/*
|
|
260
218
|
* Tencent is pleased to support the open source community by making
|
|
261
219
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
@@ -283,7 +241,6 @@ const input_less_namespaceObject = input_less_x({ });
|
|
|
283
241
|
*/
|
|
284
242
|
|
|
285
243
|
|
|
286
|
-
var BkCard = (
|
|
244
|
+
var BkCard = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_withInstall__(card);
|
|
287
245
|
/* harmony default export */ const src = (BkCard);
|
|
288
|
-
|
|
289
|
-
export { __webpack_exports__default as default };
|
|
246
|
+
export { src as default };
|