bkui-vue 2.1.0-dev-beta.17 → 3.0.2
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 +33432 -40753
- 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 -36
- package/lib/packages/tab/tab-panel.d.ts +83 -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 +819 -487
- 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 +157 -204
- 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 +236 -269
- package/lib/upload/index.js +579 -251
- package/lib/virtual-render/index.js +103 -140
- package/package.json +54 -29
- 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/rate/index.js
CHANGED
|
@@ -1,46 +1,14 @@
|
|
|
1
1
|
import "../styles/reset.css";
|
|
2
2
|
import "./rate.less";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
/******/ // The require scope
|
|
7
|
-
/******/ var __webpack_require__ = {};
|
|
8
|
-
/******/
|
|
9
|
-
/************************************************************************/
|
|
10
|
-
/******/ /* webpack/runtime/define property getters */
|
|
11
|
-
/******/ (() => {
|
|
12
|
-
/******/ // define getter functions for harmony exports
|
|
13
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
14
|
-
/******/ for(var key in definition) {
|
|
15
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
16
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
17
|
-
/******/ }
|
|
18
|
-
/******/ }
|
|
19
|
-
/******/ };
|
|
20
|
-
/******/ })();
|
|
21
|
-
/******/
|
|
22
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
23
|
-
/******/ (() => {
|
|
24
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
25
|
-
/******/ })();
|
|
26
|
-
/******/
|
|
27
|
-
/************************************************************************/
|
|
28
|
-
var __webpack_exports__ = {};
|
|
3
|
+
import { PropTypes as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__, classes as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_classes__, useFormItem as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_useFormItem__, withInstall as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_withInstall__ } 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__, nextTick as __WEBPACK_EXTERNAL_MODULE_vue_nextTick__, ref as __WEBPACK_EXTERNAL_MODULE_vue_ref__, watch as __WEBPACK_EXTERNAL_MODULE_vue_watch__ } from "vue";
|
|
5
|
+
import { usePrefix as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__ } from "../config-provider";
|
|
29
6
|
|
|
30
|
-
|
|
31
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
32
|
-
"default": () => (/* binding */ src)
|
|
33
|
-
});
|
|
7
|
+
;// external "../shared"
|
|
34
8
|
|
|
35
|
-
;//
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
|
39
|
-
;// CONCATENATED MODULE: external "vue"
|
|
40
|
-
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
41
|
-
var external_vue_y = x => () => x
|
|
42
|
-
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, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
|
43
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
9
|
+
;// external "vue"
|
|
10
|
+
|
|
11
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
44
12
|
function _typeof(o) {
|
|
45
13
|
"@babel/helpers - typeof";
|
|
46
14
|
|
|
@@ -51,7 +19,7 @@ function _typeof(o) {
|
|
|
51
19
|
}, _typeof(o);
|
|
52
20
|
}
|
|
53
21
|
|
|
54
|
-
;//
|
|
22
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
55
23
|
|
|
56
24
|
function toPrimitive(t, r) {
|
|
57
25
|
if ("object" != _typeof(t) || !t) return t;
|
|
@@ -64,7 +32,7 @@ function toPrimitive(t, r) {
|
|
|
64
32
|
return ("string" === r ? String : Number)(t);
|
|
65
33
|
}
|
|
66
34
|
|
|
67
|
-
;//
|
|
35
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
68
36
|
|
|
69
37
|
|
|
70
38
|
function toPropertyKey(t) {
|
|
@@ -72,7 +40,7 @@ function toPropertyKey(t) {
|
|
|
72
40
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
73
41
|
}
|
|
74
42
|
|
|
75
|
-
;//
|
|
43
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
76
44
|
|
|
77
45
|
function _defineProperty(e, r, t) {
|
|
78
46
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
@@ -83,11 +51,9 @@ function _defineProperty(e, r, t) {
|
|
|
83
51
|
}) : e[r] = t, e;
|
|
84
52
|
}
|
|
85
53
|
|
|
86
|
-
;//
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
|
90
|
-
;// CONCATENATED MODULE: ../../packages/rate/src/star.tsx
|
|
54
|
+
;// external "../config-provider"
|
|
55
|
+
|
|
56
|
+
;// ../../packages/rate/src/star.tsx
|
|
91
57
|
|
|
92
58
|
|
|
93
59
|
/*
|
|
@@ -118,15 +84,15 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
118
84
|
|
|
119
85
|
|
|
120
86
|
|
|
121
|
-
/* harmony default export */ const star = ((
|
|
87
|
+
/* harmony default export */ const star = (__WEBPACK_EXTERNAL_MODULE_vue_defineComponent__({
|
|
122
88
|
name: 'Star',
|
|
123
89
|
props: {
|
|
124
|
-
rate:
|
|
125
|
-
width:
|
|
126
|
-
height:
|
|
127
|
-
editable:
|
|
128
|
-
hoverRate:
|
|
129
|
-
max:
|
|
90
|
+
rate: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(0),
|
|
91
|
+
width: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(16),
|
|
92
|
+
height: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(16),
|
|
93
|
+
editable: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(true),
|
|
94
|
+
hoverRate: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(0),
|
|
95
|
+
max: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(5)
|
|
130
96
|
},
|
|
131
97
|
emits: ['chooseRate', 'changeHover'],
|
|
132
98
|
setup: function setup(props, _ref) {
|
|
@@ -140,22 +106,22 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
140
106
|
if (!props.editable) return;
|
|
141
107
|
var rate = index + 1;
|
|
142
108
|
emit('changeHover', rate);
|
|
143
|
-
(
|
|
109
|
+
__WEBPACK_EXTERNAL_MODULE_vue_nextTick__(function () {
|
|
144
110
|
e.target.classList.add(resolveClassName('is-hover'));
|
|
145
111
|
});
|
|
146
112
|
};
|
|
147
113
|
var handleMouseLeave = function handleMouseLeave(e) {
|
|
148
114
|
if (!props.editable) return;
|
|
149
|
-
(
|
|
115
|
+
__WEBPACK_EXTERNAL_MODULE_vue_nextTick__(function () {
|
|
150
116
|
e.target.classList.remove(resolveClassName('is-hover'));
|
|
151
117
|
});
|
|
152
118
|
};
|
|
153
|
-
var _usePrefix = (
|
|
119
|
+
var _usePrefix = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__(),
|
|
154
120
|
resolveClassName = _usePrefix.resolveClassName;
|
|
155
121
|
var starClass = function starClass(index) {
|
|
156
|
-
return (
|
|
122
|
+
return __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_classes__(_defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('is-select')), index < Math.floor(displayRate.value)), "".concat(resolveClassName('is-edit')), props.editable), "".concat(resolveClassName('rate-star')), true));
|
|
157
123
|
};
|
|
158
|
-
var displayRate = (
|
|
124
|
+
var displayRate = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
159
125
|
return props.hoverRate || props.rate;
|
|
160
126
|
});
|
|
161
127
|
var starStyle = {
|
|
@@ -164,10 +130,10 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
164
130
|
minWidth: "".concat(props.width, "px")
|
|
165
131
|
};
|
|
166
132
|
return function () {
|
|
167
|
-
return (
|
|
133
|
+
return __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("p", {
|
|
168
134
|
"class": "".concat(resolveClassName('rate-stars'))
|
|
169
135
|
}, [Array(props.max).fill(1).map(function (_, index) {
|
|
170
|
-
return (
|
|
136
|
+
return __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("svg", {
|
|
171
137
|
"style": starStyle,
|
|
172
138
|
"class": starClass(index),
|
|
173
139
|
"viewBox": "0 0 64 64",
|
|
@@ -182,15 +148,15 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
182
148
|
"onMouseleave": function onMouseleave(e) {
|
|
183
149
|
return handleMouseLeave(e);
|
|
184
150
|
}
|
|
185
|
-
}, [(
|
|
151
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("g", {
|
|
186
152
|
"transform": "translate(-143.000000, -635.000000)"
|
|
187
|
-
}, [(
|
|
153
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("g", {
|
|
188
154
|
"transform": "translate(83.000000, 114.000000)"
|
|
189
|
-
}, [(
|
|
155
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("g", {
|
|
190
156
|
"transform": "translate(15.000000, 384.000000)"
|
|
191
|
-
}, [(
|
|
157
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("g", {
|
|
192
158
|
"transform": "translate(29.000000, 137.000000)"
|
|
193
|
-
}, [(
|
|
159
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("polygon", {
|
|
194
160
|
"class": "st1",
|
|
195
161
|
"points": "48,53 28.2,63.9 32,40.8 16,24.4 38.1,21 48,-0.1 57.8,21 79.9,24.4 63.9,40.8 67.7,63.9"
|
|
196
162
|
}, null)])])])])]);
|
|
@@ -198,7 +164,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
198
164
|
};
|
|
199
165
|
}
|
|
200
166
|
}));
|
|
201
|
-
;//
|
|
167
|
+
;// ../../packages/rate/src/rate.tsx
|
|
202
168
|
|
|
203
169
|
|
|
204
170
|
/*
|
|
@@ -230,24 +196,24 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
230
196
|
|
|
231
197
|
|
|
232
198
|
|
|
233
|
-
/* harmony default export */ const rate = ((
|
|
199
|
+
/* harmony default export */ const rate = (__WEBPACK_EXTERNAL_MODULE_vue_defineComponent__({
|
|
234
200
|
name: 'Rate',
|
|
235
201
|
components: {
|
|
236
202
|
star: star
|
|
237
203
|
},
|
|
238
204
|
props: {
|
|
239
|
-
modelValue:
|
|
240
|
-
size:
|
|
241
|
-
editable:
|
|
242
|
-
withValidate:
|
|
205
|
+
modelValue: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(0),
|
|
206
|
+
size: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.size(),
|
|
207
|
+
editable: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(true),
|
|
208
|
+
withValidate: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(true)
|
|
243
209
|
},
|
|
244
210
|
emits: ['change', 'hover-change', 'update:modelValue'],
|
|
245
211
|
setup: function setup(props, _ref) {
|
|
246
212
|
var emit = _ref.emit;
|
|
247
|
-
var _usePrefix = (
|
|
213
|
+
var _usePrefix = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__(),
|
|
248
214
|
resolveClassName = _usePrefix.resolveClassName;
|
|
249
|
-
var formItem = (
|
|
250
|
-
var hoverRate = (0
|
|
215
|
+
var formItem = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_useFormItem__();
|
|
216
|
+
var hoverRate = __WEBPACK_EXTERNAL_MODULE_vue_ref__(0);
|
|
251
217
|
var chooseRate = function chooseRate(val) {
|
|
252
218
|
if (!props.editable) return;
|
|
253
219
|
emit('update:modelValue', val);
|
|
@@ -257,7 +223,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
257
223
|
hoverRate.value = val;
|
|
258
224
|
emit('hover-change', val);
|
|
259
225
|
};
|
|
260
|
-
var rateClass = (
|
|
226
|
+
var rateClass = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_classes__(_defineProperty({}, "".concat(resolveClassName('rate')), true));
|
|
261
227
|
var sizeMap = {
|
|
262
228
|
small: {
|
|
263
229
|
width: 12,
|
|
@@ -276,7 +242,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
276
242
|
width: 16,
|
|
277
243
|
height: 16
|
|
278
244
|
};
|
|
279
|
-
var starStyle = (
|
|
245
|
+
var starStyle = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
280
246
|
var integer = Math.floor(props.modelValue);
|
|
281
247
|
var fixWidth = (rateSize.width + 3) * integer;
|
|
282
248
|
var rateWidth = rateSize.width * (props.modelValue - integer);
|
|
@@ -288,7 +254,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
288
254
|
width: rateSize.width,
|
|
289
255
|
height: rateSize.height
|
|
290
256
|
};
|
|
291
|
-
(
|
|
257
|
+
__WEBPACK_EXTERNAL_MODULE_vue_watch__(function () {
|
|
292
258
|
return props.modelValue;
|
|
293
259
|
}, function () {
|
|
294
260
|
if (props.withValidate) {
|
|
@@ -297,9 +263,9 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
297
263
|
}
|
|
298
264
|
});
|
|
299
265
|
return function () {
|
|
300
|
-
return (
|
|
266
|
+
return __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("p", {
|
|
301
267
|
"class": rateClass
|
|
302
|
-
}, [props.editable ? (
|
|
268
|
+
}, [props.editable ? __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(star, __WEBPACK_EXTERNAL_MODULE_vue_mergeProps__({
|
|
303
269
|
"hover-rate": hoverRate.value,
|
|
304
270
|
"rate": props.modelValue,
|
|
305
271
|
"onChangeHover": changeHover,
|
|
@@ -307,19 +273,19 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
307
273
|
"onMouseleave": function onMouseleave() {
|
|
308
274
|
return changeHover(0);
|
|
309
275
|
}
|
|
310
|
-
}, commonAttrs), null) : [(
|
|
276
|
+
}, commonAttrs), null) : [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__(star, __WEBPACK_EXTERNAL_MODULE_vue_mergeProps__({
|
|
311
277
|
"style": starStyle.value,
|
|
312
278
|
"class": "".concat(resolveClassName('score-real')),
|
|
313
279
|
"editable": false,
|
|
314
280
|
"rate": 5
|
|
315
|
-
}, commonAttrs), null), (
|
|
281
|
+
}, commonAttrs), null), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(star, __WEBPACK_EXTERNAL_MODULE_vue_mergeProps__({
|
|
316
282
|
"editable": false,
|
|
317
283
|
"rate": 0
|
|
318
284
|
}, commonAttrs), null)]]);
|
|
319
285
|
};
|
|
320
286
|
}
|
|
321
287
|
}));
|
|
322
|
-
;//
|
|
288
|
+
;// ../../packages/rate/src/index.ts
|
|
323
289
|
/*
|
|
324
290
|
* Tencent is pleased to support the open source community by making
|
|
325
291
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
@@ -347,7 +313,6 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
|
347
313
|
*/
|
|
348
314
|
|
|
349
315
|
|
|
350
|
-
var BkRate = (
|
|
316
|
+
var BkRate = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_withInstall__(rate);
|
|
351
317
|
/* harmony default export */ const src = (BkRate);
|
|
352
|
-
|
|
353
|
-
export { __webpack_exports__default as default };
|
|
318
|
+
export { src as default };
|
|
@@ -1,47 +1,15 @@
|
|
|
1
1
|
import "../styles/reset.css";
|
|
2
2
|
import "./resize-layout.less";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
/******/ // The require scope
|
|
8
|
-
/******/ var __webpack_require__ = {};
|
|
9
|
-
/******/
|
|
10
|
-
/************************************************************************/
|
|
11
|
-
/******/ /* webpack/runtime/define property getters */
|
|
12
|
-
/******/ (() => {
|
|
13
|
-
/******/ // define getter functions for harmony exports
|
|
14
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
15
|
-
/******/ for(var key in definition) {
|
|
16
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
17
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
18
|
-
/******/ }
|
|
19
|
-
/******/ }
|
|
20
|
-
/******/ };
|
|
21
|
-
/******/ })();
|
|
22
|
-
/******/
|
|
23
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
24
|
-
/******/ (() => {
|
|
25
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
26
|
-
/******/ })();
|
|
27
|
-
/******/
|
|
28
|
-
/************************************************************************/
|
|
29
|
-
var __webpack_exports__ = {};
|
|
3
|
+
import { PropTypes as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__, withInstall as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_withInstall__ } 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__, nextTick as __WEBPACK_EXTERNAL_MODULE_vue_nextTick__, onBeforeUnmount as __WEBPACK_EXTERNAL_MODULE_vue_onBeforeUnmount__, onMounted as __WEBPACK_EXTERNAL_MODULE_vue_onMounted__, ref as __WEBPACK_EXTERNAL_MODULE_vue_ref__, toRefs as __WEBPACK_EXTERNAL_MODULE_vue_toRefs__, vShow as __WEBPACK_EXTERNAL_MODULE_vue_vShow__, watch as __WEBPACK_EXTERNAL_MODULE_vue_watch__, withDirectives as __WEBPACK_EXTERNAL_MODULE_vue_withDirectives__, withModifiers as __WEBPACK_EXTERNAL_MODULE_vue_withModifiers__ } from "vue";
|
|
5
|
+
import { usePrefix as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__ } from "../config-provider";
|
|
6
|
+
import { AngleLeft as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_AngleLeft__, AngleRight as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_AngleRight__ } from "../icon";
|
|
30
7
|
|
|
31
|
-
|
|
32
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
33
|
-
"default": () => (/* binding */ src)
|
|
34
|
-
});
|
|
8
|
+
;// external "../shared"
|
|
35
9
|
|
|
36
|
-
;//
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
|
40
|
-
;// CONCATENATED MODULE: external "vue"
|
|
41
|
-
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
42
|
-
var external_vue_y = x => () => x
|
|
43
|
-
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, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives, ["withModifiers"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withModifiers });
|
|
44
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
10
|
+
;// external "vue"
|
|
11
|
+
|
|
12
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
45
13
|
function _typeof(o) {
|
|
46
14
|
"@babel/helpers - typeof";
|
|
47
15
|
|
|
@@ -52,7 +20,7 @@ function _typeof(o) {
|
|
|
52
20
|
}, _typeof(o);
|
|
53
21
|
}
|
|
54
22
|
|
|
55
|
-
;//
|
|
23
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
56
24
|
|
|
57
25
|
function toPrimitive(t, r) {
|
|
58
26
|
if ("object" != _typeof(t) || !t) return t;
|
|
@@ -65,7 +33,7 @@ function toPrimitive(t, r) {
|
|
|
65
33
|
return ("string" === r ? String : Number)(t);
|
|
66
34
|
}
|
|
67
35
|
|
|
68
|
-
;//
|
|
36
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
69
37
|
|
|
70
38
|
|
|
71
39
|
function toPropertyKey(t) {
|
|
@@ -73,7 +41,7 @@ function toPropertyKey(t) {
|
|
|
73
41
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
74
42
|
}
|
|
75
43
|
|
|
76
|
-
;//
|
|
44
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
77
45
|
|
|
78
46
|
function _defineProperty(e, r, t) {
|
|
79
47
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
@@ -84,15 +52,11 @@ function _defineProperty(e, r, t) {
|
|
|
84
52
|
}) : e[r] = t, e;
|
|
85
53
|
}
|
|
86
54
|
|
|
87
|
-
;//
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
;//
|
|
92
|
-
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
93
|
-
var icon_y = x => () => x
|
|
94
|
-
const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleLeft, ["AngleRight"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight });
|
|
95
|
-
;// CONCATENATED MODULE: ../../packages/resize-layout/src/resize-layout.tsx
|
|
55
|
+
;// external "../config-provider"
|
|
56
|
+
|
|
57
|
+
;// external "../icon"
|
|
58
|
+
|
|
59
|
+
;// ../../packages/resize-layout/src/resize-layout.tsx
|
|
96
60
|
|
|
97
61
|
|
|
98
62
|
/*
|
|
@@ -124,26 +88,27 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
|
|
|
124
88
|
|
|
125
89
|
|
|
126
90
|
|
|
127
|
-
/* harmony default export */ const resize_layout = ((
|
|
91
|
+
/* harmony default export */ const resize_layout = (__WEBPACK_EXTERNAL_MODULE_vue_defineComponent__({
|
|
128
92
|
name: 'ResizeLayout',
|
|
129
93
|
props: {
|
|
130
|
-
placement:
|
|
131
|
-
min:
|
|
132
|
-
max:
|
|
133
|
-
triggerWidth:
|
|
134
|
-
triggerOffset:
|
|
135
|
-
initialDivide:
|
|
136
|
-
immediate:
|
|
137
|
-
disabled:
|
|
138
|
-
collapsible:
|
|
139
|
-
isCollapsed:
|
|
140
|
-
|
|
141
|
-
|
|
94
|
+
placement: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.placement().def('left'),
|
|
95
|
+
min: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(3),
|
|
96
|
+
max: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(Infinity),
|
|
97
|
+
triggerWidth: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(5),
|
|
98
|
+
triggerOffset: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(3),
|
|
99
|
+
initialDivide: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.oneOfType([String, Number]).def('20%'),
|
|
100
|
+
immediate: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool,
|
|
101
|
+
disabled: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool,
|
|
102
|
+
collapsible: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool,
|
|
103
|
+
isCollapsed: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(false),
|
|
104
|
+
// 初始化折叠状态
|
|
105
|
+
autoMinimize: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.oneOfType([Boolean, Number]).def(false),
|
|
106
|
+
border: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(true)
|
|
142
107
|
},
|
|
143
108
|
emits: ['before-resize', 'resizing', 'after-resize', 'collapse-change'],
|
|
144
109
|
setup: function setup(props, _ref) {
|
|
145
110
|
var emit = _ref.emit;
|
|
146
|
-
var _toRefs = (
|
|
111
|
+
var _toRefs = __WEBPACK_EXTERNAL_MODULE_vue_toRefs__(props),
|
|
147
112
|
placement = _toRefs.placement,
|
|
148
113
|
initialDivide = _toRefs.initialDivide,
|
|
149
114
|
triggerOffset = _toRefs.triggerOffset,
|
|
@@ -154,24 +119,24 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
|
|
|
154
119
|
autoMinimize = _toRefs.autoMinimize,
|
|
155
120
|
collapsible = _toRefs.collapsible,
|
|
156
121
|
isCollapsed = _toRefs.isCollapsed;
|
|
157
|
-
var collapsed = (
|
|
158
|
-
var asideContentVisible = (
|
|
159
|
-
var minimized = (
|
|
160
|
-
var limitMax = (
|
|
122
|
+
var collapsed = __WEBPACK_EXTERNAL_MODULE_vue_ref__(isCollapsed.value);
|
|
123
|
+
var asideContentVisible = __WEBPACK_EXTERNAL_MODULE_vue_ref__(true);
|
|
124
|
+
var minimized = __WEBPACK_EXTERNAL_MODULE_vue_ref__(false);
|
|
125
|
+
var limitMax = __WEBPACK_EXTERNAL_MODULE_vue_ref__(null);
|
|
161
126
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
162
|
-
var state = (
|
|
163
|
-
var bkResizeLayoutRef = (
|
|
164
|
-
var resizeProxyRef = (
|
|
165
|
-
var resizeMaskRef = (
|
|
166
|
-
var asideRef = (
|
|
167
|
-
var vertical = (
|
|
127
|
+
var state = __WEBPACK_EXTERNAL_MODULE_vue_ref__({});
|
|
128
|
+
var bkResizeLayoutRef = __WEBPACK_EXTERNAL_MODULE_vue_ref__(null);
|
|
129
|
+
var resizeProxyRef = __WEBPACK_EXTERNAL_MODULE_vue_ref__(null);
|
|
130
|
+
var resizeMaskRef = __WEBPACK_EXTERNAL_MODULE_vue_ref__(null);
|
|
131
|
+
var asideRef = __WEBPACK_EXTERNAL_MODULE_vue_ref__(null);
|
|
132
|
+
var vertical = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
168
133
|
return ['left', 'right'].includes(placement.value);
|
|
169
134
|
});
|
|
170
|
-
var cssPropKey = (
|
|
135
|
+
var cssPropKey = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
171
136
|
return vertical.value ? 'width' : 'height';
|
|
172
137
|
});
|
|
173
138
|
// 转换类型
|
|
174
|
-
var parseInitialDivide = (
|
|
139
|
+
var parseInitialDivide = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
175
140
|
var divide = initialDivide.value;
|
|
176
141
|
// 如果min不是默认值,且initialDivide不是number类型,min优先级提升
|
|
177
142
|
if (min.value !== 3 && typeof divide !== 'number') {
|
|
@@ -182,17 +147,17 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
|
|
|
182
147
|
}
|
|
183
148
|
return divide;
|
|
184
149
|
});
|
|
185
|
-
var asideStyle = (
|
|
150
|
+
var asideStyle = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
186
151
|
if (collapsible.value && isCollapsed.value) {
|
|
187
152
|
return _defineProperty({}, cssPropKey.value, '0px');
|
|
188
153
|
}
|
|
189
154
|
return _defineProperty({}, cssPropKey.value, parseInitialDivide.value);
|
|
190
155
|
});
|
|
191
|
-
var triggerStyle = (
|
|
156
|
+
var triggerStyle = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
192
157
|
var style = _defineProperty(_defineProperty({}, "margin-".concat(placement.value), "".concat(triggerOffset.value - triggerWidth.value, "px")), cssPropKey.value, "".concat(triggerWidth.value, "px"));
|
|
193
158
|
return style;
|
|
194
159
|
});
|
|
195
|
-
var parseAutoMinimize = (
|
|
160
|
+
var parseAutoMinimize = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
196
161
|
if (autoMinimize.value) {
|
|
197
162
|
return typeof autoMinimize.value === 'boolean' ? 50 : autoMinimize.value;
|
|
198
163
|
}
|
|
@@ -288,7 +253,7 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
|
|
|
288
253
|
document.removeEventListener('mouseup', _handleMouseUp);
|
|
289
254
|
document.onselectstart = null;
|
|
290
255
|
document.ondragstart = null;
|
|
291
|
-
(
|
|
256
|
+
__WEBPACK_EXTERNAL_MODULE_vue_nextTick__(function () {
|
|
292
257
|
setupAutoMinimize();
|
|
293
258
|
emit('after-resize', parseFloat(resizeProxyRef.value.style[placement.value]));
|
|
294
259
|
});
|
|
@@ -312,7 +277,7 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
|
|
|
312
277
|
return false;
|
|
313
278
|
}
|
|
314
279
|
setupAsideAnimation();
|
|
315
|
-
(
|
|
280
|
+
__WEBPACK_EXTERNAL_MODULE_vue_nextTick__(function () {
|
|
316
281
|
asideRef.value.setAttribute("data-".concat(cssPropKey.value), asideStyle.value[cssPropKey.value]);
|
|
317
282
|
});
|
|
318
283
|
};
|
|
@@ -342,20 +307,20 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
|
|
|
342
307
|
asideRef.value.style.transition = "".concat(cssPropKey.value, " cubic-bezier(0.4, 0, 0.2, 1) .3s");
|
|
343
308
|
};
|
|
344
309
|
// 监听折叠状态变化
|
|
345
|
-
(
|
|
310
|
+
__WEBPACK_EXTERNAL_MODULE_vue_watch__(isCollapsed, function () {
|
|
346
311
|
collapsed.value = isCollapsed.value;
|
|
347
312
|
setCollapse(collapsed.value);
|
|
348
313
|
});
|
|
349
|
-
(
|
|
314
|
+
__WEBPACK_EXTERNAL_MODULE_vue_onMounted__(function () {
|
|
350
315
|
observer.observe(bkResizeLayoutRef.value);
|
|
351
316
|
});
|
|
352
|
-
(
|
|
317
|
+
__WEBPACK_EXTERNAL_MODULE_vue_onBeforeUnmount__(function () {
|
|
353
318
|
if (bkResizeLayoutRef.value) {
|
|
354
319
|
observer.unobserve(bkResizeLayoutRef.value);
|
|
355
320
|
observer = null;
|
|
356
321
|
}
|
|
357
322
|
});
|
|
358
|
-
var _usePrefix = (
|
|
323
|
+
var _usePrefix = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__(),
|
|
359
324
|
resolveClassName = _usePrefix.resolveClassName;
|
|
360
325
|
return {
|
|
361
326
|
collapsed: collapsed,
|
|
@@ -379,41 +344,41 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
|
|
|
379
344
|
render: function render() {
|
|
380
345
|
var _this$$slots$aside, _this$$slots, _this$$slots$collapse, _this$$slots2, _this$$slots$main, _this$$slots3;
|
|
381
346
|
var bkResizeLayoutClass = ["".concat(this.resolveClassName('resize-layout')), "".concat(this.resolveClassName("resize-layout-".concat(this.placement))), _defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('resize-layout-collapsed')), this.collapsed), "".concat(this.resolveClassName('resize-layout-border')), this.border), "".concat(this.resolveClassName('resize-layout-collapsible')), this.collapsible)];
|
|
382
|
-
return (
|
|
347
|
+
return __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
383
348
|
"ref": "bkResizeLayoutRef",
|
|
384
349
|
"class": bkResizeLayoutClass
|
|
385
|
-
}, [(
|
|
350
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("aside", {
|
|
386
351
|
"ref": "asideRef",
|
|
387
352
|
"style": this.asideStyle,
|
|
388
353
|
"class": "".concat(this.resolveClassName('resize-layout-aside'))
|
|
389
|
-
}, [(
|
|
354
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_withDirectives__(__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
390
355
|
"class": "".concat(this.resolveClassName('resize-layout-aside-content'))
|
|
391
|
-
}, [(_this$$slots$aside = (_this$$slots = this.$slots).aside) === null || _this$$slots$aside === void 0 ? void 0 : _this$$slots$aside.call(_this$$slots)]), [[
|
|
356
|
+
}, [(_this$$slots$aside = (_this$$slots = this.$slots).aside) === null || _this$$slots$aside === void 0 ? void 0 : _this$$slots$aside.call(_this$$slots)]), [[__WEBPACK_EXTERNAL_MODULE_vue_vShow__, this.asideContentVisible]]), __WEBPACK_EXTERNAL_MODULE_vue_withDirectives__(__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("i", {
|
|
392
357
|
"style": this.triggerStyle,
|
|
393
358
|
"class": "".concat(this.resolveClassName('resize-trigger')),
|
|
394
|
-
"onMousedown": (
|
|
395
|
-
}, null), [[
|
|
359
|
+
"onMousedown": __WEBPACK_EXTERNAL_MODULE_vue_withModifiers__(this.handleMousedown, ['left'])
|
|
360
|
+
}, null), [[__WEBPACK_EXTERNAL_MODULE_vue_vShow__, !this.disabled && (!this.collapsed || this.autoMinimize)]]), __WEBPACK_EXTERNAL_MODULE_vue_withDirectives__(__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("i", {
|
|
396
361
|
"ref": "resizeProxyRef",
|
|
397
362
|
"class": ["".concat(this.resolveClassName('resize-proxy')), this.placement]
|
|
398
|
-
}, null), [[
|
|
363
|
+
}, null), [[__WEBPACK_EXTERNAL_MODULE_vue_vShow__, !this.collapsed || this.autoMinimize]]), this.collapsible && (((_this$$slots$collapse = (_this$$slots2 = this.$slots)['collapse-trigger']) === null || _this$$slots$collapse === void 0 ? void 0 : _this$$slots$collapse.call(_this$$slots2)) || (this.collapsed ? __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_AngleRight__, {
|
|
399
364
|
"width": 26,
|
|
400
365
|
"height": 26,
|
|
401
366
|
"class": "".concat(this.resolveClassName('resize-collapse')),
|
|
402
367
|
"onClick": this.setCollapse
|
|
403
|
-
}, null) : (
|
|
368
|
+
}, null) : __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_AngleLeft__, {
|
|
404
369
|
"width": 26,
|
|
405
370
|
"height": 26,
|
|
406
371
|
"class": "".concat(this.resolveClassName('resize-collapse')),
|
|
407
372
|
"onClick": this.setCollapse
|
|
408
|
-
}, null)))]), (
|
|
373
|
+
}, null)))]), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("main", {
|
|
409
374
|
"class": "".concat(this.resolveClassName('resize-layout-main'))
|
|
410
|
-
}, [(_this$$slots$main = (_this$$slots3 = this.$slots).main) === null || _this$$slots$main === void 0 ? void 0 : _this$$slots$main.call(_this$$slots3)]), (
|
|
375
|
+
}, [(_this$$slots$main = (_this$$slots3 = this.$slots).main) === null || _this$$slots$main === void 0 ? void 0 : _this$$slots$main.call(_this$$slots3)]), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
411
376
|
"ref": "resizeMaskRef",
|
|
412
377
|
"class": "".concat(this.resolveClassName('resize-mask'))
|
|
413
378
|
}, null)]);
|
|
414
379
|
}
|
|
415
380
|
}));
|
|
416
|
-
;//
|
|
381
|
+
;// ../../packages/resize-layout/src/index.ts
|
|
417
382
|
/*
|
|
418
383
|
* Tencent is pleased to support the open source community by making
|
|
419
384
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
@@ -441,7 +406,6 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
|
|
|
441
406
|
*/
|
|
442
407
|
|
|
443
408
|
|
|
444
|
-
var BkResizeLayout = (
|
|
409
|
+
var BkResizeLayout = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_withInstall__(resize_layout);
|
|
445
410
|
/* harmony default export */ const src = (BkResizeLayout);
|
|
446
|
-
|
|
447
|
-
export { __webpack_exports__default as default };
|
|
411
|
+
export { src as default };
|