bkui-vue 3.0.1 → 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 +33421 -40744
- 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 +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 +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 +198 -242
- package/lib/upload/index.js +579 -251
- package/lib/virtual-render/index.js +103 -140
- 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/navigation/index.js
CHANGED
|
@@ -1,55 +1,19 @@
|
|
|
1
1
|
import "../styles/reset.css";
|
|
2
2
|
import "./navigation.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 { 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__, onBeforeUnmount as __WEBPACK_EXTERNAL_MODULE_vue_onBeforeUnmount__, reactive as __WEBPACK_EXTERNAL_MODULE_vue_reactive__, 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 { CollapseLeft as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_CollapseLeft__ } 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
|
-
|
|
40
|
-
;//
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
|
|
44
|
-
;// CONCATENATED MODULE: external "../config-provider"
|
|
45
|
-
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
46
|
-
var config_provider_y = x => () => x
|
|
47
|
-
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
|
48
|
-
;// CONCATENATED MODULE: external "../icon"
|
|
49
|
-
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
50
|
-
var icon_y = x => () => x
|
|
51
|
-
const icon_namespaceObject = icon_x({ ["CollapseLeft"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.CollapseLeft });
|
|
52
|
-
;// CONCATENATED MODULE: ../../packages/navigation/src/navigation-title.tsx
|
|
10
|
+
;// external "vue"
|
|
11
|
+
|
|
12
|
+
;// external "../config-provider"
|
|
13
|
+
|
|
14
|
+
;// external "../icon"
|
|
15
|
+
|
|
16
|
+
;// ../../packages/navigation/src/navigation-title.tsx
|
|
53
17
|
/*
|
|
54
18
|
* Tencent is pleased to support the open source community by making
|
|
55
19
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
@@ -87,32 +51,32 @@ var TitleProps = {
|
|
|
87
51
|
"default": 'left-right'
|
|
88
52
|
}
|
|
89
53
|
};
|
|
90
|
-
/* harmony default export */ const navigation_title = ((
|
|
54
|
+
/* harmony default export */ const navigation_title = (__WEBPACK_EXTERNAL_MODULE_vue_defineComponent__({
|
|
91
55
|
props: TitleProps,
|
|
92
56
|
// slots: ['side-icon'],
|
|
93
57
|
slots: Object,
|
|
94
58
|
setup: function setup(props, _ref) {
|
|
95
59
|
var slots = _ref.slots;
|
|
96
|
-
var _usePrefix = (
|
|
60
|
+
var _usePrefix = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__(),
|
|
97
61
|
resolveClassName = _usePrefix.resolveClassName;
|
|
98
62
|
return function () {
|
|
99
63
|
var _slots$default, _slots$sideIcon;
|
|
100
|
-
return (
|
|
64
|
+
return __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
101
65
|
"style": {
|
|
102
66
|
borderBottomWidth: props.navigationType === 'left-right' ? '0' : '1px'
|
|
103
67
|
},
|
|
104
68
|
"class": "".concat(resolveClassName('navigation-title'))
|
|
105
|
-
}, [((_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)) || [(
|
|
69
|
+
}, [((_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)) || [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("span", {
|
|
106
70
|
"class": "title-icon"
|
|
107
|
-
}, [((_slots$sideIcon = slots['side-icon']) === null || _slots$sideIcon === void 0 ? void 0 : _slots$sideIcon.call(slots)) || (
|
|
71
|
+
}, [((_slots$sideIcon = slots['side-icon']) === null || _slots$sideIcon === void 0 ? void 0 : _slots$sideIcon.call(slots)) || __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("i", {
|
|
108
72
|
"class": "".concat(resolveClassName('icon'), " icon-rtx")
|
|
109
|
-
}, null)]), (
|
|
73
|
+
}, null)]), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("span", {
|
|
110
74
|
"class": "title-desc"
|
|
111
75
|
}, [props.sideTitle])]]);
|
|
112
76
|
};
|
|
113
77
|
}
|
|
114
78
|
}));
|
|
115
|
-
;//
|
|
79
|
+
;// ../../packages/navigation/src/navigation.tsx
|
|
116
80
|
/*
|
|
117
81
|
* Tencent is pleased to support the open source community by making
|
|
118
82
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
@@ -188,7 +152,7 @@ var NavigationProps = {
|
|
|
188
152
|
"default": true
|
|
189
153
|
}
|
|
190
154
|
};
|
|
191
|
-
/* harmony default export */ const navigation = ((
|
|
155
|
+
/* harmony default export */ const navigation = (__WEBPACK_EXTERNAL_MODULE_vue_defineComponent__({
|
|
192
156
|
name: 'Navigation',
|
|
193
157
|
props: NavigationProps,
|
|
194
158
|
emits: ['leave', 'toggle', 'hover', 'toggle-click'],
|
|
@@ -196,8 +160,8 @@ var NavigationProps = {
|
|
|
196
160
|
slots: Object,
|
|
197
161
|
setup: function setup(props, _ref) {
|
|
198
162
|
var emit = _ref.emit;
|
|
199
|
-
var defaultHeaderTitle = (
|
|
200
|
-
var nav = (
|
|
163
|
+
var defaultHeaderTitle = __WEBPACK_EXTERNAL_MODULE_vue_ref__(props.headerTitle);
|
|
164
|
+
var nav = __WEBPACK_EXTERNAL_MODULE_vue_reactive__({
|
|
201
165
|
click: false,
|
|
202
166
|
hover: false,
|
|
203
167
|
delay: false,
|
|
@@ -209,7 +173,7 @@ var NavigationProps = {
|
|
|
209
173
|
nav.hover = nav.click;
|
|
210
174
|
emit('toggle', nav.hover);
|
|
211
175
|
}
|
|
212
|
-
(
|
|
176
|
+
__WEBPACK_EXTERNAL_MODULE_vue_onBeforeUnmount__(function () {
|
|
213
177
|
nav.timer && window.clearTimeout(nav.timer);
|
|
214
178
|
});
|
|
215
179
|
var handleMouseOver = function handleMouseOver() {
|
|
@@ -240,12 +204,12 @@ var NavigationProps = {
|
|
|
240
204
|
emit('toggle', nav.hover);
|
|
241
205
|
emit('toggle-click', nav.hover);
|
|
242
206
|
};
|
|
243
|
-
var _usePrefix = (
|
|
207
|
+
var _usePrefix = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__(),
|
|
244
208
|
resolveClassName = _usePrefix.resolveClassName;
|
|
245
209
|
return {
|
|
246
210
|
defaultHeaderTitle: defaultHeaderTitle,
|
|
247
211
|
nav: nav,
|
|
248
|
-
onBeforeUnmount:
|
|
212
|
+
onBeforeUnmount: __WEBPACK_EXTERNAL_MODULE_vue_onBeforeUnmount__,
|
|
249
213
|
handleMouseOver: handleMouseOver,
|
|
250
214
|
handleMouseLeave: handleMouseLeave,
|
|
251
215
|
handleClick: handleClick,
|
|
@@ -254,28 +218,28 @@ var NavigationProps = {
|
|
|
254
218
|
},
|
|
255
219
|
render: function render() {
|
|
256
220
|
var _this$$slots$header, _this$$slots, _this$$slots$menu, _this$$slots2, _this$$slots$sideFoo, _this$$slots3, _this$$slots$header2, _this$$slots4, _this$$slots$headerS, _this$$slots5, _this$$slots$default, _this$$slots6, _this$$slots$footer, _this$$slots7;
|
|
257
|
-
return (
|
|
221
|
+
return __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
258
222
|
"class": "".concat(this.resolveClassName('navigation'))
|
|
259
|
-
}, [this.navigationType === 'top-bottom' && (
|
|
223
|
+
}, [this.navigationType === 'top-bottom' && __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
260
224
|
"style": {
|
|
261
225
|
flexBasis: "".concat(this.headHeight, "px")
|
|
262
226
|
},
|
|
263
227
|
"class": "".concat(this.resolveClassName('navigation-header'))
|
|
264
|
-
}, [(
|
|
228
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__(navigation_title, {
|
|
265
229
|
"sideTitle": this.sideTitle
|
|
266
230
|
}, {
|
|
267
231
|
"default": this.$slots['side-header'],
|
|
268
232
|
'side-icon': !this.$slots['side-header'] ? this.$slots['side-icon'] : undefined
|
|
269
|
-
}), (
|
|
233
|
+
}), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
270
234
|
"class": "header-right"
|
|
271
|
-
}, [(_this$$slots$header = (_this$$slots = this.$slots).header) === null || _this$$slots$header === void 0 ? void 0 : _this$$slots$header.call(_this$$slots)])]), (
|
|
235
|
+
}, [(_this$$slots$header = (_this$$slots = this.$slots).header) === null || _this$$slots$header === void 0 ? void 0 : _this$$slots$header.call(_this$$slots)])]), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
272
236
|
"class": "".concat(this.resolveClassName('navigation-wrapper'))
|
|
273
|
-
}, [this.needMenu && (
|
|
237
|
+
}, [this.needMenu && __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
274
238
|
"style": {
|
|
275
239
|
width: !this.nav.click ? "".concat(this.navWidth, "px") : "".concat(this.hoverWidth, "px")
|
|
276
240
|
},
|
|
277
241
|
"class": "navigation-nav"
|
|
278
|
-
}, [(
|
|
242
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
279
243
|
"style": {
|
|
280
244
|
width: !this.nav.hover ? "".concat(this.navWidth, "px") : "".concat(this.hoverWidth, "px"),
|
|
281
245
|
borderRight: this.navigationType !== 'top-bottom' ? 'none' : '1px solid #DCDEE5'
|
|
@@ -283,7 +247,7 @@ var NavigationProps = {
|
|
|
283
247
|
"class": "nav-slider",
|
|
284
248
|
"onMouseenter": this.handleMouseOver,
|
|
285
249
|
"onMouseleave": this.handleMouseLeave
|
|
286
|
-
}, [this.navigationType !== 'top-bottom' && this.showSideNavTitle && (
|
|
250
|
+
}, [this.navigationType !== 'top-bottom' && this.showSideNavTitle && __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(navigation_title, {
|
|
287
251
|
"style": {
|
|
288
252
|
flexBasis: "".concat(this.headHeight, "px")
|
|
289
253
|
},
|
|
@@ -291,49 +255,49 @@ var NavigationProps = {
|
|
|
291
255
|
}, {
|
|
292
256
|
"default": this.$slots['side-header'],
|
|
293
257
|
'side-icon': !this.$slots['side-header'] ? this.$slots['side-icon'] : undefined
|
|
294
|
-
}), (
|
|
258
|
+
}), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
295
259
|
"style": {
|
|
296
260
|
height: "calc(100vh - ".concat(+this.headHeight + 56, "px)")
|
|
297
261
|
},
|
|
298
262
|
"class": "nav-slider-list"
|
|
299
|
-
}, [(_this$$slots$menu = (_this$$slots2 = this.$slots).menu) === null || _this$$slots$menu === void 0 ? void 0 : _this$$slots$menu.call(_this$$slots2)]), (
|
|
263
|
+
}, [(_this$$slots$menu = (_this$$slots2 = this.$slots).menu) === null || _this$$slots$menu === void 0 ? void 0 : _this$$slots$menu.call(_this$$slots2)]), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
300
264
|
"class": "nav-slider-footer"
|
|
301
|
-
}, [(
|
|
265
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
302
266
|
"class": {
|
|
303
267
|
'is-left': this.navigationType !== 'top-bottom',
|
|
304
268
|
'footer-icon': true
|
|
305
269
|
},
|
|
306
270
|
"onClick": this.handleClick
|
|
307
|
-
}, [(
|
|
271
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_CollapseLeft__, {
|
|
308
272
|
"style": {
|
|
309
273
|
transform: this.nav.click ? 'rotate(180deg)' : 'rotate(0deg)'
|
|
310
274
|
},
|
|
311
275
|
"class": "footer-icon-svg"
|
|
312
|
-
}, null)])]), (_this$$slots$sideFoo = (_this$$slots3 = this.$slots)['side-footer']) === null || _this$$slots$sideFoo === void 0 ? void 0 : _this$$slots$sideFoo.call(_this$$slots3)])]), (
|
|
276
|
+
}, null)])]), (_this$$slots$sideFoo = (_this$$slots3 = this.$slots)['side-footer']) === null || _this$$slots$sideFoo === void 0 ? void 0 : _this$$slots$sideFoo.call(_this$$slots3)])]), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
313
277
|
"style": {
|
|
314
278
|
maxWidth: this.needMenu ? 'calc(100vw - 60px)' : '100vw'
|
|
315
279
|
},
|
|
316
280
|
"class": "navigation-container"
|
|
317
|
-
}, [this.navigationType !== 'top-bottom' && (
|
|
281
|
+
}, [this.navigationType !== 'top-bottom' && __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
318
282
|
"style": {
|
|
319
283
|
flexBasis: "".concat(this.headHeight, "px")
|
|
320
284
|
},
|
|
321
285
|
"class": "container-header"
|
|
322
|
-
}, [((_this$$slots$header2 = (_this$$slots4 = this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots4)) || [(
|
|
286
|
+
}, [((_this$$slots$header2 = (_this$$slots4 = this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots4)) || [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
323
287
|
"class": "container-header-title"
|
|
324
|
-
}, [this.headerTitle]), (
|
|
288
|
+
}, [this.headerTitle]), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
325
289
|
"class": "container-header-sets"
|
|
326
|
-
}, [(_this$$slots$headerS = (_this$$slots5 = this.$slots)['header-set']) === null || _this$$slots$headerS === void 0 ? void 0 : _this$$slots$headerS.call(_this$$slots5)])]]), (
|
|
290
|
+
}, [(_this$$slots$headerS = (_this$$slots5 = this.$slots)['header-set']) === null || _this$$slots$headerS === void 0 ? void 0 : _this$$slots$headerS.call(_this$$slots5)])]]), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
327
291
|
"style": {
|
|
328
292
|
maxHeight: "calc(100vh - ".concat(this.headHeight, "px)")
|
|
329
293
|
},
|
|
330
294
|
"class": "container-content"
|
|
331
|
-
}, [(_this$$slots$default = (_this$$slots6 = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots6), (
|
|
295
|
+
}, [(_this$$slots$default = (_this$$slots6 = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots6), __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
332
296
|
"class": "container-footer"
|
|
333
297
|
}, [(_this$$slots$footer = (_this$$slots7 = this.$slots).footer) === null || _this$$slots$footer === void 0 ? void 0 : _this$$slots$footer.call(_this$$slots7)])])])])]);
|
|
334
298
|
}
|
|
335
299
|
}));
|
|
336
|
-
;//
|
|
300
|
+
;// ../../packages/navigation/src/index.ts
|
|
337
301
|
/*
|
|
338
302
|
* Tencent is pleased to support the open source community by making
|
|
339
303
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
@@ -361,7 +325,6 @@ var NavigationProps = {
|
|
|
361
325
|
*/
|
|
362
326
|
|
|
363
327
|
|
|
364
|
-
var Navigation = (
|
|
328
|
+
var Navigation = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_withInstall__(navigation);
|
|
365
329
|
/* harmony default export */ const src = (Navigation);
|
|
366
|
-
|
|
367
|
-
export { __webpack_exports__default as default };
|
|
330
|
+
export { src as default };
|
package/lib/notify/index.js
CHANGED
|
@@ -1,40 +1,12 @@
|
|
|
1
1
|
import "../styles/reset.css";
|
|
2
2
|
import "./notify.less";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
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__ = {};
|
|
3
|
+
import { Transition as __WEBPACK_EXTERNAL_MODULE_vue_Transition__, 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__, onMounted as __WEBPACK_EXTERNAL_MODULE_vue_onMounted__, onUnmounted as __WEBPACK_EXTERNAL_MODULE_vue_onUnmounted__, ref as __WEBPACK_EXTERNAL_MODULE_vue_ref__, render as __WEBPACK_EXTERNAL_MODULE_vue_render__, vShow as __WEBPACK_EXTERNAL_MODULE_vue_vShow__, watch as __WEBPACK_EXTERNAL_MODULE_vue_watch__, withDirectives as __WEBPACK_EXTERNAL_MODULE_vue_withDirectives__ } from "vue";
|
|
4
|
+
import { PropTypes as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__, bkZIndexManager as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_bkZIndexManager__, isElement as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_isElement__ } from "../shared";
|
|
5
|
+
import { toType as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a_toType__ } from "vue-types";
|
|
6
|
+
import { usePrefix as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__ } from "../config-provider";
|
|
7
|
+
import { Close as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_Close__, Error as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_Error__, Info as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_Info__, Success as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_Success__, Warn as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_Warn__ } from "../icon";
|
|
31
8
|
|
|
32
|
-
|
|
33
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
34
|
-
"default": () => (/* binding */ src)
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
9
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
38
10
|
function _typeof(o) {
|
|
39
11
|
"@babel/helpers - typeof";
|
|
40
12
|
|
|
@@ -45,7 +17,7 @@ function _typeof(o) {
|
|
|
45
17
|
}, _typeof(o);
|
|
46
18
|
}
|
|
47
19
|
|
|
48
|
-
;//
|
|
20
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
49
21
|
|
|
50
22
|
function toPrimitive(t, r) {
|
|
51
23
|
if ("object" != _typeof(t) || !t) return t;
|
|
@@ -58,7 +30,7 @@ function toPrimitive(t, r) {
|
|
|
58
30
|
return ("string" === r ? String : Number)(t);
|
|
59
31
|
}
|
|
60
32
|
|
|
61
|
-
;//
|
|
33
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
62
34
|
|
|
63
35
|
|
|
64
36
|
function toPropertyKey(t) {
|
|
@@ -66,7 +38,7 @@ function toPropertyKey(t) {
|
|
|
66
38
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
67
39
|
}
|
|
68
40
|
|
|
69
|
-
;//
|
|
41
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
70
42
|
|
|
71
43
|
function _defineProperty(e, r, t) {
|
|
72
44
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
@@ -77,15 +49,11 @@ function _defineProperty(e, r, t) {
|
|
|
77
49
|
}) : e[r] = t, e;
|
|
78
50
|
}
|
|
79
51
|
|
|
80
|
-
;//
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
;//
|
|
85
|
-
var shared_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
86
|
-
var shared_y = x => () => x
|
|
87
|
-
const shared_namespaceObject = shared_x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["isElement"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.isElement });
|
|
88
|
-
;// CONCATENATED MODULE: ../../packages/hooks/use-message.ts
|
|
52
|
+
;// external "vue"
|
|
53
|
+
|
|
54
|
+
;// external "../shared"
|
|
55
|
+
|
|
56
|
+
;// ../../packages/hooks/use-message.ts
|
|
89
57
|
|
|
90
58
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
91
59
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -166,10 +134,10 @@ var Message = function Message(constructor, options) {
|
|
|
166
134
|
spacing: spacing
|
|
167
135
|
});
|
|
168
136
|
var container = document.createElement('div');
|
|
169
|
-
var vm = (
|
|
137
|
+
var vm = __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(constructor, opts);
|
|
170
138
|
vm.props.onDestroy = function (id) {
|
|
171
139
|
use_message_close(id, position, spacing, userOnClose);
|
|
172
|
-
(
|
|
140
|
+
__WEBPACK_EXTERNAL_MODULE_vue_render__(null, container);
|
|
173
141
|
};
|
|
174
142
|
vm.props.onDetail = function (_isShow, id) {
|
|
175
143
|
instances[position].forEach(function (item) {
|
|
@@ -183,16 +151,16 @@ var Message = function Message(constructor, options) {
|
|
|
183
151
|
// 详情展开/收起时,DOM 高度会变化,需要等待渲染完成
|
|
184
152
|
// 由于事件已经在详情内容渲染完成后才 emit,这里只需要等待 Vue 响应式更新和浏览器布局完成
|
|
185
153
|
var currentSpacing = spacing || 10;
|
|
186
|
-
(
|
|
154
|
+
__WEBPACK_EXTERNAL_MODULE_vue_nextTick__(function () {
|
|
187
155
|
requestAnimationFrame(function () {
|
|
188
156
|
updateModalPosition(position, currentSpacing);
|
|
189
157
|
});
|
|
190
158
|
});
|
|
191
159
|
};
|
|
192
|
-
(
|
|
160
|
+
__WEBPACK_EXTERNAL_MODULE_vue_render__(vm, container);
|
|
193
161
|
instances[position].push(vm);
|
|
194
162
|
var target;
|
|
195
|
-
if (vm.props.getContainer && (
|
|
163
|
+
if (vm.props.getContainer && __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_isElement__(vm.props.getContainer)) {
|
|
196
164
|
target = vm.props.getContainer;
|
|
197
165
|
} else {
|
|
198
166
|
target = document.body;
|
|
@@ -215,24 +183,18 @@ function use_message_close(id, position, spacing, userOnClose) {
|
|
|
215
183
|
// 重新计算所有剩余实例的位置
|
|
216
184
|
// 使用传入的 spacing,如果没有则从第一个实例获取,或使用默认值 10
|
|
217
185
|
var currentSpacing = spacing || (instances[position].length > 0 ? instances[position][0].props.spacing : 10) || 10;
|
|
218
|
-
(
|
|
186
|
+
__WEBPACK_EXTERNAL_MODULE_vue_nextTick__(function () {
|
|
219
187
|
updateModalPosition(position, currentSpacing);
|
|
220
188
|
});
|
|
221
189
|
}
|
|
222
190
|
/* harmony default export */ const use_message = (Message);
|
|
223
|
-
;//
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
;//
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
|
231
|
-
;// CONCATENATED MODULE: external "../icon"
|
|
232
|
-
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
233
|
-
var icon_y = x => () => x
|
|
234
|
-
const icon_namespaceObject = icon_x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error, ["Info"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Info, ["Success"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Success, ["Warn"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Warn });
|
|
235
|
-
;// CONCATENATED MODULE: ../../packages/notify/src/notifyConstructor.tsx
|
|
191
|
+
;// external "vue-types"
|
|
192
|
+
|
|
193
|
+
;// external "../config-provider"
|
|
194
|
+
|
|
195
|
+
;// external "../icon"
|
|
196
|
+
|
|
197
|
+
;// ../../packages/notify/src/notifyConstructor.tsx
|
|
236
198
|
|
|
237
199
|
|
|
238
200
|
/*
|
|
@@ -273,47 +235,47 @@ var NotifyThemeEnum;
|
|
|
273
235
|
NotifyThemeEnum["WARNING"] = "warning";
|
|
274
236
|
})(NotifyThemeEnum || (NotifyThemeEnum = {}));
|
|
275
237
|
var notifyProps = {
|
|
276
|
-
id:
|
|
277
|
-
title:
|
|
278
|
-
message:
|
|
279
|
-
theme: (
|
|
280
|
-
position:
|
|
281
|
-
delay:
|
|
282
|
-
dismissable:
|
|
283
|
-
offsetX:
|
|
284
|
-
offsetY:
|
|
285
|
-
spacing:
|
|
286
|
-
extCls:
|
|
287
|
-
onClose:
|
|
238
|
+
id: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.string.def(''),
|
|
239
|
+
title: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.string.def(''),
|
|
240
|
+
message: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.oneOfType([__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.string, __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.func]).def(''),
|
|
241
|
+
theme: __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a_toType__('notifyTheme', {}).def(NotifyThemeEnum.PRIMARY),
|
|
242
|
+
position: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.position().def('top-right'),
|
|
243
|
+
delay: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(5000),
|
|
244
|
+
dismissable: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.bool.def(true),
|
|
245
|
+
offsetX: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(100),
|
|
246
|
+
offsetY: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(30),
|
|
247
|
+
spacing: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.number.def(10),
|
|
248
|
+
extCls: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.string.def(''),
|
|
249
|
+
onClose: __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_PropTypes__.func
|
|
288
250
|
};
|
|
289
|
-
/* harmony default export */ const notifyConstructor = ((
|
|
251
|
+
/* harmony default export */ const notifyConstructor = (__WEBPACK_EXTERNAL_MODULE_vue_defineComponent__({
|
|
290
252
|
name: 'Notify',
|
|
291
253
|
props: notifyProps,
|
|
292
254
|
emits: ['destroy'],
|
|
293
255
|
setup: function setup(props, _ref) {
|
|
294
256
|
var emit = _ref.emit;
|
|
295
|
-
var zIndex =
|
|
296
|
-
var horizontalClass = (
|
|
257
|
+
var zIndex = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03_bkZIndexManager__.getMessageNextIndex();
|
|
258
|
+
var horizontalClass = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
297
259
|
return props.position.indexOf('right') > 1 ? 'right' : 'left';
|
|
298
260
|
});
|
|
299
|
-
var verticalProperty = (
|
|
261
|
+
var verticalProperty = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
300
262
|
return props.position.startsWith('top') ? 'top' : 'bottom';
|
|
301
263
|
});
|
|
302
|
-
var styles = (
|
|
264
|
+
var styles = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
303
265
|
return _defineProperty(_defineProperty(_defineProperty({}, horizontalClass.value, "".concat(props.offsetX, "px")), verticalProperty.value, "".concat(props.offsetY, "px")), "zIndex", zIndex);
|
|
304
266
|
});
|
|
305
|
-
var _usePrefix = (
|
|
267
|
+
var _usePrefix = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3_usePrefix__(),
|
|
306
268
|
resolveClassName = _usePrefix.resolveClassName;
|
|
307
|
-
var classNames = (
|
|
269
|
+
var classNames = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
308
270
|
return [resolveClassName('notify'), resolveClassName("notify-".concat(props.theme)), horizontalClass.value];
|
|
309
271
|
});
|
|
310
|
-
var renderMessage = (
|
|
272
|
+
var renderMessage = __WEBPACK_EXTERNAL_MODULE_vue_computed__(function () {
|
|
311
273
|
if (typeof props.message === 'function') {
|
|
312
274
|
return props.message();
|
|
313
275
|
}
|
|
314
276
|
return props.message;
|
|
315
277
|
});
|
|
316
|
-
var visible = (
|
|
278
|
+
var visible = __WEBPACK_EXTERNAL_MODULE_vue_ref__(false);
|
|
317
279
|
var timer = null;
|
|
318
280
|
var startTimer = function startTimer() {
|
|
319
281
|
timer = setTimeout(function () {
|
|
@@ -323,14 +285,14 @@ var notifyProps = {
|
|
|
323
285
|
var handleClose = function handleClose() {
|
|
324
286
|
visible.value = false;
|
|
325
287
|
};
|
|
326
|
-
(
|
|
288
|
+
__WEBPACK_EXTERNAL_MODULE_vue_onMounted__(function () {
|
|
327
289
|
props.delay && startTimer();
|
|
328
290
|
visible.value = true;
|
|
329
291
|
});
|
|
330
|
-
(
|
|
292
|
+
__WEBPACK_EXTERNAL_MODULE_vue_onUnmounted__(function () {
|
|
331
293
|
clearTimeout(timer);
|
|
332
294
|
});
|
|
333
|
-
(
|
|
295
|
+
__WEBPACK_EXTERNAL_MODULE_vue_watch__(visible, function () {
|
|
334
296
|
if (!visible.value) {
|
|
335
297
|
emit('destroy', props.id);
|
|
336
298
|
}
|
|
@@ -348,37 +310,37 @@ var notifyProps = {
|
|
|
348
310
|
var _this = this;
|
|
349
311
|
var renderIcon = function renderIcon() {
|
|
350
312
|
var iconMap = {
|
|
351
|
-
primary: (
|
|
352
|
-
warning: (
|
|
353
|
-
success: (
|
|
354
|
-
error: (
|
|
313
|
+
primary: __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_Info__, null, null),
|
|
314
|
+
warning: __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_Warn__, null, null),
|
|
315
|
+
success: __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_Success__, null, null),
|
|
316
|
+
error: __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_Close__, null, null)
|
|
355
317
|
};
|
|
356
318
|
return iconMap[_this.theme];
|
|
357
319
|
};
|
|
358
|
-
return (
|
|
320
|
+
return __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_vue_Transition__, {
|
|
359
321
|
"name": "bk-notify-fade"
|
|
360
322
|
}, {
|
|
361
323
|
"default": function _default() {
|
|
362
|
-
return [(
|
|
324
|
+
return [__WEBPACK_EXTERNAL_MODULE_vue_withDirectives__(__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
363
325
|
"style": _this.styles,
|
|
364
326
|
"class": _this.classNames
|
|
365
|
-
}, [(
|
|
327
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
366
328
|
"class": "".concat(_this.resolveClassName('notify-content'))
|
|
367
|
-
}, [(
|
|
329
|
+
}, [__WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
368
330
|
"class": "".concat(_this.resolveClassName('notify-icon'))
|
|
369
|
-
}, [renderIcon()]), _this.title ? (
|
|
331
|
+
}, [renderIcon()]), _this.title ? __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
370
332
|
"class": "".concat(_this.resolveClassName('notify-content-header'))
|
|
371
|
-
}, [_this.title]) : '', (
|
|
333
|
+
}, [_this.title]) : '', __WEBPACK_EXTERNAL_MODULE_vue_createVNode__("div", {
|
|
372
334
|
"class": "".concat(_this.resolveClassName('notify-content-text'))
|
|
373
|
-
}, [_this.renderMessage])]), _this.dismissable && (
|
|
335
|
+
}, [_this.renderMessage])]), _this.dismissable && __WEBPACK_EXTERNAL_MODULE_vue_createVNode__(__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3_Error__, {
|
|
374
336
|
"class": "".concat(_this.resolveClassName('notify-icon'), " ").concat(_this.resolveClassName('notify-close')),
|
|
375
337
|
"onClick": _this.handleClose
|
|
376
|
-
}, null)]), [[
|
|
338
|
+
}, null)]), [[__WEBPACK_EXTERNAL_MODULE_vue_vShow__, _this.visible]])];
|
|
377
339
|
}
|
|
378
340
|
});
|
|
379
341
|
}
|
|
380
342
|
}));
|
|
381
|
-
;//
|
|
343
|
+
;// ../../packages/notify/src/index.ts
|
|
382
344
|
/*
|
|
383
345
|
* Tencent is pleased to support the open source community by making
|
|
384
346
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
|
@@ -410,5 +372,4 @@ var Notify = function Notify(options) {
|
|
|
410
372
|
use_message(notifyConstructor, options);
|
|
411
373
|
};
|
|
412
374
|
/* harmony default export */ const src = (Notify);
|
|
413
|
-
|
|
414
|
-
export { __webpack_exports__default as default };
|
|
375
|
+
export { src as default };
|