bkui-vue 1.0.3-beta.9 → 2.0.1-beta.10
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 +162 -164
- package/dist/index.esm.js +31999 -29678
- package/dist/index.umd.js +162 -164
- package/dist/locale/en.esm.js +1 -1
- 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/zh-cn.esm.js +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 +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +3 -0
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.variable.css +3 -0
- package/lib/alert/index.d.ts +11 -11
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/badge.variable.css +3 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/button/button.d.ts +7 -7
- package/lib/button/button.variable.css +3 -0
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -6
- package/lib/card/card.variable.css +3 -0
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.css +3 -3
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/cascader.variable.css +6 -3
- package/lib/cascader/index.js +35 -36
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +7 -7
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/collapse.css +11 -0
- package/lib/collapse/collapse.d.ts +11 -0
- package/lib/collapse/collapse.less +15 -1
- package/lib/collapse/collapse.variable.css +14 -0
- package/lib/collapse/index.d.ts +23 -0
- package/lib/collapse/index.js +11 -3
- package/lib/collapse/props.d.ts +8 -0
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/color-picker/color-picker.css +3 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +6 -3
- package/lib/color-picker/index.js +45 -45
- package/lib/components.d.ts +32 -30
- package/lib/components.js +31 -29
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/config-provider.variable.css +3 -0
- package/lib/config-provider/index.d.ts +5 -1
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/container/index.js +6 -6
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +3 -3
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.variable.css +3 -0
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +340 -224
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +2 -64
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/props.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +9 -1
- package/lib/dialog/dialog.css +172 -150
- package/lib/dialog/dialog.d.ts +55 -124
- package/lib/dialog/dialog.less +51 -124
- package/lib/dialog/dialog.variable.css +175 -150
- package/lib/dialog/index.d.ts +132 -296
- package/lib/dialog/index.js +244 -246
- package/lib/dialog/props.d.ts +16 -41
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -167
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -2
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +3 -0
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/dropdown/index.d.ts +11 -11
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +3 -0
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form.d.ts +2 -2
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.js +17 -15
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/image-fill.js +82 -167
- package/lib/icon/img-error.js +82 -167
- package/lib/icon/img-placehoulder.js +82 -167
- package/lib/icon/index.d.ts +12 -11
- package/lib/icon/index.js +87 -2427
- package/lib/icon/info-line.js +82 -167
- package/lib/icon/info.js +82 -167
- package/lib/icon/left-shape.js +82 -167
- package/lib/icon/left-turn-line.js +82 -167
- package/lib/icon/loading.js +82 -167
- package/lib/icon/narrow-line.js +82 -167
- package/lib/icon/original.js +82 -167
- package/lib/icon/pdf-fill.js +82 -167
- package/lib/icon/play-shape.js +82 -167
- package/lib/icon/plus.js +82 -167
- package/lib/icon/ppt-fill.js +82 -167
- package/lib/icon/qq.js +82 -167
- package/lib/icon/right-shape.js +82 -167
- package/lib/icon/right-turn-line.js +82 -167
- package/lib/icon/search.js +82 -167
- package/lib/icon/share.js +82 -167
- package/lib/icon/spinner.js +82 -167
- package/lib/icon/success.js +82 -167
- package/lib/icon/switcher-loading.js +82 -167
- package/lib/icon/text-all.d.ts +4 -0
- package/lib/icon/text-all.js +191 -0
- package/lib/icon/text-file.js +82 -167
- package/lib/icon/text-fill.js +82 -167
- package/lib/icon/transfer.js +82 -167
- package/lib/icon/tree-application-shape.js +82 -167
- package/lib/icon/unfull-screen.js +82 -167
- package/lib/icon/unvisible.js +82 -167
- package/lib/icon/up-shape.js +82 -167
- package/lib/icon/upload.js +82 -167
- package/lib/icon/video-fill.js +82 -167
- package/lib/icon/warn.js +82 -167
- package/lib/icon/weixin-pro.js +82 -167
- package/lib/icon/weixin.js +82 -167
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +25 -22
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +257 -516
- package/lib/info-box/info-box.css +58 -28
- package/lib/info-box/info-box.d.ts +25 -23
- package/lib/info-box/info-box.less +82 -51
- package/lib/info-box/info-box.variable.css +61 -28
- package/lib/info-box/render-component.d.ts +4 -0
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +23 -17
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.variable.css +3 -0
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.d.ts +6 -6
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/locale/index.js +4 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/index.js +0 -1
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/message.variable.css +3 -0
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +44 -312
- package/lib/modal/index.js +286 -672
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +151 -76
- package/lib/modal/modal.d.ts +19 -117
- package/lib/modal/modal.less +103 -56
- package/lib/modal/modal.variable.css +154 -76
- package/lib/modal/props.mixin.d.ts +5 -41
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/index.js +4 -4
- package/lib/notify/notify.variable.css +3 -0
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +107 -63
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.js +16 -15
- package/lib/pagination/pagination.variable.css +3 -0
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +62 -44
- package/lib/pop-confirm/index.js +17 -14
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/pop-confirm/props.d.ts +2 -2
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +62 -44
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/popover/props.d.ts +4 -4
- package/lib/preset.d.ts +2 -0
- package/lib/process/index.js +3 -3
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -10
- package/lib/progress/progress.d.ts +7 -7
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.d.ts +29 -0
- package/lib/radio/index.js +49 -31
- package/lib/radio/radio-button.d.ts +10 -0
- package/lib/radio/radio-group.d.ts +10 -0
- package/lib/radio/radio.d.ts +10 -0
- package/lib/radio/radio.variable.css +3 -0
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +27 -0
- package/lib/rate/rate.less +33 -0
- package/lib/rate/rate.variable.css +30 -0
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +8 -9
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/scrollbar/index.d.ts +15 -0
- package/lib/scrollbar/index.js +18762 -0
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/scrollbar/scrollbar.css +75 -0
- package/lib/scrollbar/scrollbar.less +94 -0
- package/lib/{rate/star.variable.css → scrollbar/scrollbar.variable.css} +70 -19
- package/lib/search-select/index.d.ts +375 -16
- package/lib/search-select/index.js +754 -419
- package/lib/search-select/input.d.ts +14 -5
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/search-select.css +20 -6
- package/lib/search-select/search-select.d.ts +129 -7
- package/lib/search-select/search-select.less +16 -12
- package/lib/search-select/search-select.variable.css +23 -6
- package/lib/search-select/selected.d.ts +117 -7
- package/lib/search-select/utils.d.ts +22 -9
- package/lib/select/index.d.ts +185 -67
- package/lib/select/index.js +1396 -136
- package/lib/select/option.d.ts +3 -1
- package/lib/select/pinyin/core.d.ts +14 -0
- package/lib/select/pinyin/dict.d.ts +34 -0
- package/lib/select/pinyin/index.d.ts +2 -0
- package/lib/select/select.css +56 -14
- package/lib/select/select.d.ts +74 -26
- package/lib/select/select.less +70 -21
- package/lib/select/select.variable.css +59 -14
- package/lib/select/selectTagInput.d.ts +13 -6
- package/lib/select/type.d.ts +4 -5
- package/lib/shared/index.d.ts +1 -2
- package/lib/shared/index.js +108 -96
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +51 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +58 -188
- package/lib/sideslider/index.js +83 -57
- package/lib/sideslider/sideslider.css +26 -90
- package/lib/sideslider/sideslider.d.ts +26 -88
- package/lib/sideslider/sideslider.less +56 -132
- package/lib/sideslider/sideslider.variable.css +29 -90
- package/lib/slider/index.d.ts +19 -0
- package/lib/slider/index.js +64 -26
- package/lib/slider/slider.css +14 -0
- package/lib/slider/slider.d.ts +9 -0
- package/lib/slider/slider.less +15 -0
- package/lib/slider/slider.variable.css +17 -0
- package/lib/steps/index.d.ts +11 -11
- package/lib/steps/index.js +3 -3
- package/lib/steps/steps.d.ts +7 -7
- package/lib/steps/steps.variable.css +3 -0
- package/lib/styles/index.d.ts +0 -1
- package/lib/styles/mixins/animate.variable.css +3 -0
- package/lib/styles/mixins/popper.variable.css +3 -0
- package/lib/styles/mixins/scroll.variable.css +3 -0
- package/lib/styles/reset.css +1 -3
- package/lib/styles/reset.less +3 -6
- package/lib/styles/reset.variable.css +4 -3
- package/lib/styles/themes/themes.less +5 -0
- package/lib/swiper/index.js +5 -5
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.d.ts +10 -10
- package/lib/tab/tab.variable.css +3 -0
- package/lib/table/cache.d.ts +11 -3
- package/lib/table/components/table-cell.d.ts +3 -2
- package/lib/table/components/table-column.d.ts +30 -100
- package/lib/table/const.d.ts +12 -12
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +220 -305
- package/lib/table/index.js +18165 -688
- package/lib/table/plugins/head-filter.css +8 -4
- package/lib/table/plugins/head-filter.less +6 -3
- package/lib/table/plugins/head-filter.variable.css +11 -4
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-active-columns.d.ts +2 -2
- package/lib/table/plugins/use-column-template.d.ts +7 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/plugins/use-pagination.d.ts +3 -1
- package/lib/table/plugins/use-shift-key.d.ts +13 -0
- package/lib/table/props.d.ts +49 -39
- package/lib/table/table.css +112 -58
- package/lib/table/table.d.ts +58 -47
- package/lib/table/table.less +46 -58
- package/lib/table/table.variable.css +115 -58
- package/lib/table/use-attributes.d.ts +9 -46
- package/lib/table/use-column.d.ts +18 -139
- package/lib/table/use-common.d.ts +5 -5
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table/utils.d.ts +6 -6
- package/lib/table-column/index.d.ts +127 -431
- package/lib/table-column/index.js +43 -117
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +12 -12
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.d.ts +6 -6
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +3 -3
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +38 -35
- package/lib/time-picker/time-picker.variable.css +3 -0
- package/lib/timeline/index.d.ts +80 -44
- package/lib/timeline/index.js +56 -67
- package/lib/timeline/timeline.d.ts +46 -29
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +19 -19
- package/lib/transfer/transfer.css +9 -9
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +12 -9
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +64 -20
- package/lib/tree/index.js +17595 -72
- package/lib/tree/props.d.ts +24 -6
- package/lib/tree/tree.css +76 -2
- package/lib/tree/tree.d.ts +34 -8
- package/lib/tree/tree.less +1 -1
- package/lib/tree/tree.variable.css +79 -2
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-intersection-observer.d.ts +27 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-node-attribute.d.ts +9 -0
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +62 -65
- package/lib/upload/props.d.ts +4 -1
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/upload/upload.type.d.ts +7 -7
- package/lib/upload/upload.variable.css +3 -0
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +36 -9
- package/lib/virtual-render/index.js +295 -80
- package/lib/virtual-render/props.d.ts +16 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +24 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +76 -2
- package/lib/virtual-render/virtual-render.d.ts +16 -3
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +79 -2
- package/package.json +13 -49
- package/lib/rate/star.css +0 -27
- package/lib/rate/star.less +0 -34
- package/lib/shared/mask.d.ts +0 -11
package/lib/popover/index.js
CHANGED
@@ -287,14 +287,13 @@ function _defineProperty(obj, key, value) {
|
|
287
287
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
288
288
|
* IN THE SOFTWARE.
|
289
289
|
*/
|
290
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
291
290
|
var EMIT_EVENTS;
|
292
291
|
(function (EMIT_EVENTS) {
|
293
292
|
EMIT_EVENTS["CLICK_OUTSIDE"] = "clickoutside";
|
294
|
-
EMIT_EVENTS["CONTENT_MOUSEENTER"] = "contentMouseenter";
|
295
|
-
EMIT_EVENTS["CONTENT_MOUSELEAVE"] = "contentMouseleave";
|
296
293
|
EMIT_EVENTS["CONTENT_AfterHidden"] = "afterHidden";
|
297
294
|
EMIT_EVENTS["CONTENT_AfterShow"] = "afterShow";
|
295
|
+
EMIT_EVENTS["CONTENT_MOUSEENTER"] = "contentMouseenter";
|
296
|
+
EMIT_EVENTS["CONTENT_MOUSELEAVE"] = "contentMouseleave";
|
298
297
|
})(EMIT_EVENTS || (EMIT_EVENTS = {}));
|
299
298
|
var EVENT_SHOW_HIDE_FN = function EVENT_SHOW_HIDE_FN(_args) {
|
300
299
|
return true;
|
@@ -383,10 +382,13 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
383
382
|
};
|
384
383
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
385
384
|
resolveClassName = _usePrefix.resolveClassName;
|
385
|
+
var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
|
386
|
+
return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
|
387
|
+
});
|
386
388
|
return {
|
387
389
|
style: style,
|
388
390
|
refContent: refContent,
|
389
|
-
|
391
|
+
contentClassName: contentClassName,
|
390
392
|
resetPointerEvent: resetPointerEvent,
|
391
393
|
setContentPointerEvent: setContentPointerEvent
|
392
394
|
};
|
@@ -401,7 +403,6 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
401
403
|
_this$$slots$default2,
|
402
404
|
_this$$slots$default3,
|
403
405
|
_this$$slots3;
|
404
|
-
var className = [this.resolveClassName('popover'), this.resolveClassName('pop2-content'), this.extCls];
|
405
406
|
var resolveContentStyle = function resolveContentStyle(slot) {
|
406
407
|
var _slot$;
|
407
408
|
if (external_vue_namespaceObject.Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
|
@@ -414,9 +415,9 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
414
415
|
};
|
415
416
|
var style = resolveContentStyle((_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots));
|
416
417
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
417
|
-
"
|
418
|
+
"ref": "refContent",
|
418
419
|
"style": style,
|
419
|
-
"
|
420
|
+
"class": this.contentClassName
|
420
421
|
}, [(_this$$slots$arrow = (_this$$slots$arrow2 = (_this$$slots2 = this.$slots).arrow) === null || _this$$slots$arrow2 === void 0 ? void 0 : _this$$slots$arrow2.call(_this$$slots2)) !== null && _this$$slots$arrow !== void 0 ? _this$$slots$arrow : '', (_this$$slots$default2 = (_this$$slots$default3 = (_this$$slots3 = this.$slots)["default"]) === null || _this$$slots$default3 === void 0 ? void 0 : _this$$slots$default3.call(_this$$slots3)) !== null && _this$$slots$default2 !== void 0 ? _this$$slots$default2 : '']);
|
421
422
|
}
|
422
423
|
}));
|
@@ -651,10 +652,6 @@ function _nonIterableRest() {
|
|
651
652
|
function _slicedToArray(arr, i) {
|
652
653
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
653
654
|
}
|
654
|
-
;// CONCATENATED MODULE: external "lodash/isElement"
|
655
|
-
var isElement_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
656
|
-
var isElement_y = x => () => x
|
657
|
-
const isElement_namespaceObject = isElement_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__["default"] });
|
658
655
|
;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
659
656
|
/**
|
660
657
|
* Custom positioning reference element.
|
@@ -2605,6 +2602,10 @@ const floating_ui_dom_computePosition = (reference, floating, options) => {
|
|
2605
2602
|
|
2606
2603
|
|
2607
2604
|
|
2605
|
+
;// CONCATENATED MODULE: external "lodash/isElement"
|
2606
|
+
var isElement_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2607
|
+
var isElement_y = x => () => x
|
2608
|
+
const isElement_namespaceObject = isElement_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__["default"] });
|
2608
2609
|
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
|
2609
2610
|
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
2610
2611
|
/* harmony default export */ const esm_browser_native = ({
|
@@ -3088,9 +3089,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
3088
3089
|
var delay = resolvePopoverDelay()[0];
|
3089
3090
|
// 设置settimeout避免hidePopover导致显示问题
|
3090
3091
|
popShowTimerId = setTimeout(function () {
|
3091
|
-
if (popHideTimerId) {
|
3092
|
-
|
3093
|
-
}
|
3092
|
+
// if (popHideTimerId) {
|
3093
|
+
// clearTimeout(popHideTimerId);
|
3094
|
+
// }
|
3094
3095
|
if (!props.disabled) {
|
3095
3096
|
localIsShow.value = true;
|
3096
3097
|
}
|
@@ -3631,7 +3632,7 @@ function _isSlot(s) {
|
|
3631
3632
|
(0,external_vue_namespaceObject.onMounted)(onMountedFn);
|
3632
3633
|
(0,external_vue_namespaceObject.onBeforeUnmount)(onUnmountedFn);
|
3633
3634
|
var transBoundary = (0,external_vue_namespaceObject.computed)(function () {
|
3634
|
-
return !props.disableTeleport;
|
3635
|
+
return localIsShow.value && !props.disableTeleport;
|
3635
3636
|
});
|
3636
3637
|
var show = function show() {
|
3637
3638
|
showFn();
|
@@ -3700,20 +3701,20 @@ function _isSlot(s) {
|
|
3700
3701
|
return [_slot];
|
3701
3702
|
}
|
3702
3703
|
}), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
|
3703
|
-
"
|
3704
|
-
"
|
3704
|
+
"disabled": !_this.transBoundary,
|
3705
|
+
"to": _this.boundary
|
3705
3706
|
}, {
|
3706
3707
|
"default": function _default() {
|
3707
3708
|
return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)(content, {
|
3708
3709
|
"ref": "refContent",
|
3709
|
-
"visible": _this.localIsShow,
|
3710
|
-
"data-theme": _this.theme,
|
3711
|
-
"extCls": _this.extCls,
|
3712
3710
|
"width": _this.width,
|
3713
3711
|
"height": _this.height,
|
3714
|
-
"
|
3712
|
+
"extCls": _this.extCls,
|
3713
|
+
"data-theme": _this.theme,
|
3714
|
+
"eventDelay": _this.componentEventDelay,
|
3715
3715
|
"maxHeight": _this.maxHeight,
|
3716
|
-
"
|
3716
|
+
"maxWidth": _this.maxWidth,
|
3717
|
+
"visible": _this.localIsShow
|
3717
3718
|
}, {
|
3718
3719
|
"default": function _default() {
|
3719
3720
|
return [_this.contentIsShow ? (_this$$slots$content = (_this$$slots$content2 = (_this$$slots3 = _this.$slots).content) === null || _this$$slots$content2 === void 0 ? void 0 : _this$$slots$content2.call(_this$$slots3)) !== null && _this$$slots$content !== void 0 ? _this$$slots$content : _this.renderContent() : ''];
|
@@ -3770,9 +3771,11 @@ function plugin_popover_objectSpread(e) { for (var r = 1; r < arguments.length;
|
|
3770
3771
|
|
3771
3772
|
|
3772
3773
|
function createPopoverComponent(options) {
|
3774
|
+
var _options$immediate;
|
3773
3775
|
var $PopoverInstance = null;
|
3774
3776
|
var $PopoverInstanceVm = null;
|
3775
3777
|
var $PopoverInstanceEl = null;
|
3778
|
+
var immediate = (_options$immediate = options.immediate) !== null && _options$immediate !== void 0 ? _options$immediate : true;
|
3776
3779
|
var resolvedOptions = plugin_popover_objectSpread(plugin_popover_objectSpread({
|
3777
3780
|
boundary: 'body',
|
3778
3781
|
placement: 'top',
|
@@ -3842,10 +3845,10 @@ function createPopoverComponent(options) {
|
|
3842
3845
|
return function () {
|
3843
3846
|
return (0,external_vue_namespaceObject.createVNode)(popover, (0,external_vue_namespaceObject.mergeProps)(refProps, {
|
3844
3847
|
"ref": refReference,
|
3845
|
-
"onContentMouseenter": handleContentMouseenter,
|
3846
|
-
"onContentMouseleave": handleContentMouseleave,
|
3847
3848
|
"onAfterHidden": handlePopoverHidden,
|
3848
|
-
"onAfterShow": handlePopoverShow
|
3849
|
+
"onAfterShow": handlePopoverShow,
|
3850
|
+
"onContentMouseenter": handleContentMouseenter,
|
3851
|
+
"onContentMouseleave": handleContentMouseleave
|
3849
3852
|
}), null);
|
3850
3853
|
};
|
3851
3854
|
}
|
@@ -3865,37 +3868,52 @@ function createPopoverComponent(options) {
|
|
3865
3868
|
}
|
3866
3869
|
return document.body;
|
3867
3870
|
}
|
3868
|
-
|
3869
|
-
$
|
3870
|
-
|
3871
|
-
|
3872
|
-
|
3873
|
-
|
3874
|
-
|
3875
|
-
|
3876
|
-
|
3877
|
-
|
3878
|
-
|
3879
|
-
|
3871
|
+
var install = function install() {
|
3872
|
+
if ($PopoverInstance === null) {
|
3873
|
+
$PopoverInstanceEl = document.createElement('div');
|
3874
|
+
getBoundaryDom(resolvedOptions.boundary).append($PopoverInstanceEl);
|
3875
|
+
$PopoverInstance = (0,external_vue_namespaceObject.createApp)(popoverComponent);
|
3876
|
+
$PopoverInstanceVm = $PopoverInstance.mount($PopoverInstanceEl);
|
3877
|
+
}
|
3878
|
+
};
|
3879
|
+
var uninstall = function uninstall() {
|
3880
|
+
var _$PopoverInstanceEl;
|
3881
|
+
if (utils_isElement(options.content)) {
|
3882
|
+
options.content.remove();
|
3880
3883
|
}
|
3884
|
+
$PopoverInstance.unmount();
|
3885
|
+
$PopoverInstance = null;
|
3886
|
+
(_$PopoverInstanceEl = $PopoverInstanceEl) === null || _$PopoverInstanceEl === void 0 || _$PopoverInstanceEl.remove();
|
3887
|
+
};
|
3888
|
+
function close() {
|
3889
|
+
uninstall();
|
3890
|
+
$PopoverInstanceVm = null;
|
3881
3891
|
}
|
3882
|
-
function show() {
|
3883
|
-
var _$
|
3884
|
-
(
|
3892
|
+
function show(target) {
|
3893
|
+
var _$PopoverInstanceVm2;
|
3894
|
+
install();
|
3895
|
+
if (target) {
|
3896
|
+
var _$PopoverInstanceVm;
|
3897
|
+
(_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 || _$PopoverInstanceVm.updateTarget(target);
|
3898
|
+
}
|
3899
|
+
(_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 || _$PopoverInstanceVm2.show();
|
3885
3900
|
}
|
3886
3901
|
function update(e) {
|
3887
|
-
var _$
|
3888
|
-
(_$
|
3902
|
+
var _$PopoverInstanceVm3;
|
3903
|
+
(_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 || _$PopoverInstanceVm3.updateTarget(e);
|
3889
3904
|
}
|
3890
3905
|
function hide() {
|
3891
|
-
var _$
|
3892
|
-
(_$
|
3906
|
+
var _$PopoverInstanceVm4;
|
3907
|
+
(_$PopoverInstanceVm4 = $PopoverInstanceVm) === null || _$PopoverInstanceVm4 === void 0 || _$PopoverInstanceVm4.hide();
|
3893
3908
|
}
|
3909
|
+
immediate && install();
|
3894
3910
|
return {
|
3911
|
+
install: install,
|
3895
3912
|
close: close,
|
3896
3913
|
show: show,
|
3897
3914
|
hide: hide,
|
3898
3915
|
update: update,
|
3916
|
+
uninstall: uninstall,
|
3899
3917
|
get vm() {
|
3900
3918
|
return $PopoverInstanceVm;
|
3901
3919
|
},
|
@@ -1,12 +1,15 @@
|
|
1
1
|
import { PopoverPropTypes } from './props';
|
2
2
|
export type $Popover = PopoverPropTypes & {
|
3
3
|
target: HTMLElement | HTMLElement | MouseEvent;
|
4
|
+
immediate: boolean;
|
4
5
|
};
|
5
6
|
export default function createPopoverComponent(options: $Popover): {
|
7
|
+
install: () => void;
|
6
8
|
close: () => void;
|
7
|
-
show: () => void;
|
9
|
+
show: (target?: HTMLElement | MouseEvent) => void;
|
8
10
|
hide: () => void;
|
9
11
|
update: (e: MouseEvent) => void;
|
12
|
+
uninstall: () => void;
|
10
13
|
readonly vm: any;
|
11
14
|
readonly $el: HTMLElement;
|
12
15
|
};
|
package/lib/popover/popover.css
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
.bk-popover.bk-pop2-content {
|
2
2
|
position: absolute;
|
3
|
-
display: none;
|
4
3
|
padding: 12px;
|
5
4
|
font-size: 12px;
|
6
5
|
color: #fff;
|
@@ -8,6 +7,9 @@
|
|
8
7
|
border-radius: 4px;
|
9
8
|
box-sizing: border-box;
|
10
9
|
}
|
10
|
+
.bk-popover.bk-pop2-content.hidden {
|
11
|
+
display: none;
|
12
|
+
}
|
11
13
|
.bk-popover.bk-pop2-content .bk-pop2-arrow {
|
12
14
|
position: absolute;
|
13
15
|
z-index: -1;
|
package/lib/popover/popover.d.ts
CHANGED
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
35
35
|
} & {
|
36
36
|
default: boolean;
|
37
37
|
};
|
38
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
39
|
-
default: "auto" | "auto-
|
38
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
39
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
40
40
|
};
|
41
41
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
42
42
|
default: string;
|
@@ -193,8 +193,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
193
193
|
} & {
|
194
194
|
default: boolean;
|
195
195
|
};
|
196
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
197
|
-
default: "auto" | "auto-
|
196
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
197
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
198
198
|
};
|
199
199
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
200
200
|
default: string;
|
@@ -288,14 +288,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
288
288
|
isShow: boolean;
|
289
289
|
event: MouseEvent;
|
290
290
|
}) => any;
|
291
|
-
onContentMouseenter?: (e: MouseEvent) => any;
|
292
|
-
onContentMouseleave?: (e: MouseEvent) => any;
|
293
291
|
onAfterHidden?: (_args: {
|
294
292
|
isShow: boolean;
|
295
293
|
}) => any;
|
296
294
|
onAfterShow?: (_args: {
|
297
295
|
isShow: boolean;
|
298
296
|
}) => any;
|
297
|
+
onContentMouseenter?: (e: MouseEvent) => any;
|
298
|
+
onContentMouseleave?: (e: MouseEvent) => any;
|
299
299
|
}, {
|
300
300
|
width: string | number;
|
301
301
|
height: string | number;
|
@@ -308,7 +308,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
308
308
|
disabled: boolean;
|
309
309
|
content: string | number | HTMLElement | JSX.Element;
|
310
310
|
allowHtml: boolean;
|
311
|
-
placement: "auto" | "auto-
|
311
|
+
placement: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
312
312
|
theme: string;
|
313
313
|
trigger: "click" | "hover" | "manual";
|
314
314
|
renderType: "auto" | "shown";
|
package/lib/popover/popover.less
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,10 +124,11 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
.bk-popover.bk-pop2-content {
|
128
131
|
position: absolute;
|
129
|
-
display: none;
|
130
132
|
padding: 12px;
|
131
133
|
font-size: 12px;
|
132
134
|
color: #fff;
|
@@ -134,6 +136,9 @@
|
|
134
136
|
border-radius: 4px;
|
135
137
|
box-sizing: border-box;
|
136
138
|
}
|
139
|
+
.bk-popover.bk-pop2-content.hidden {
|
140
|
+
display: none;
|
141
|
+
}
|
137
142
|
.bk-popover.bk-pop2-content .bk-pop2-arrow {
|
138
143
|
position: absolute;
|
139
144
|
z-index: -1;
|
package/lib/popover/props.d.ts
CHANGED
@@ -6,9 +6,9 @@ export declare const EventProps: {
|
|
6
6
|
type IAxesOffsets = {
|
7
7
|
mainAxis?: number;
|
8
8
|
crossAxis?: number;
|
9
|
-
alignmentAxis?:
|
9
|
+
alignmentAxis?: null | number;
|
10
10
|
};
|
11
|
-
type IContent =
|
11
|
+
type IContent = HTMLElement | JSX.Element | number | string;
|
12
12
|
export declare const PopoverProps: {
|
13
13
|
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
14
14
|
default: boolean;
|
@@ -49,8 +49,8 @@ export declare const PopoverProps: {
|
|
49
49
|
/**
|
50
50
|
* 组件显示位置
|
51
51
|
*/
|
52
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
53
|
-
default: "auto" | "auto-
|
52
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
53
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
54
54
|
};
|
55
55
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
56
56
|
default: string;
|
package/lib/preset.d.ts
CHANGED
@@ -118,6 +118,7 @@ declare const _default: {
|
|
118
118
|
};
|
119
119
|
input: {
|
120
120
|
placeholder: string;
|
121
|
+
maxlengthLimitTips: string;
|
121
122
|
};
|
122
123
|
tagInput: {
|
123
124
|
placeholder: string;
|
@@ -261,6 +262,7 @@ declare const _default: {
|
|
261
262
|
};
|
262
263
|
input: {
|
263
264
|
placeholder: string;
|
265
|
+
maxlengthLimitTips: string;
|
264
266
|
};
|
265
267
|
tagInput: {
|
266
268
|
placeholder: string;
|
package/lib/process/index.js
CHANGED
@@ -706,9 +706,6 @@ var processProps = {
|
|
706
706
|
}
|
707
707
|
}, [this.defaultProcessList.map(function (item, index) {
|
708
708
|
return (0,external_vue_namespaceObject.createVNode)("li", {
|
709
|
-
"onClick": function onClick() {
|
710
|
-
_this.jumpTo(index + 1);
|
711
|
-
},
|
712
709
|
"style": {
|
713
710
|
cursor: _this.controllable ? 'pointer' : ''
|
714
711
|
},
|
@@ -716,6 +713,9 @@ var processProps = {
|
|
716
713
|
success: _this.curProcess >= index + 1,
|
717
714
|
current: isLoadingStatus(item) && index === _this.curProcess - 1,
|
718
715
|
error: isErrorStatus(item) && index === _this.curProcess - 1
|
716
|
+
},
|
717
|
+
"onClick": function onClick() {
|
718
|
+
_this.jumpTo(index + 1);
|
719
719
|
}
|
720
720
|
}, [(0,external_vue_namespaceObject.createVNode)("div", null, [(0,external_vue_namespaceObject.createVNode)("span", {
|
721
721
|
"class": "display"
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
* {
|
128
131
|
box-sizing: border-box;
|
package/lib/progress/index.d.ts
CHANGED
@@ -11,8 +11,8 @@ declare const BkProgress: {
|
|
11
11
|
} & {
|
12
12
|
default: number;
|
13
13
|
};
|
14
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
15
|
-
default: "success" | "
|
14
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
|
15
|
+
default: "success" | "danger" | "warning" | "primary";
|
16
16
|
};
|
17
17
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
18
18
|
width: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -84,8 +84,8 @@ declare const BkProgress: {
|
|
84
84
|
} & {
|
85
85
|
default: number;
|
86
86
|
};
|
87
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
88
|
-
default: "success" | "
|
87
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
|
88
|
+
default: "success" | "danger" | "warning" | "primary";
|
89
89
|
};
|
90
90
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
91
91
|
width: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -142,7 +142,7 @@ declare const BkProgress: {
|
|
142
142
|
type: "circle" | "line" | "dashboard";
|
143
143
|
width: number;
|
144
144
|
extCls: string;
|
145
|
-
theme: "success" | "
|
145
|
+
theme: "success" | "danger" | "warning" | "primary";
|
146
146
|
fixed: number;
|
147
147
|
color: string;
|
148
148
|
format: (...args: any[]) => any;
|
@@ -174,8 +174,8 @@ declare const BkProgress: {
|
|
174
174
|
} & {
|
175
175
|
default: number;
|
176
176
|
};
|
177
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
178
|
-
default: "success" | "
|
177
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
|
178
|
+
default: "success" | "danger" | "warning" | "primary";
|
179
179
|
};
|
180
180
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
181
181
|
width: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -239,7 +239,7 @@ declare const BkProgress: {
|
|
239
239
|
type: "circle" | "line" | "dashboard";
|
240
240
|
width: number;
|
241
241
|
extCls: string;
|
242
|
-
theme: "success" | "
|
242
|
+
theme: "success" | "danger" | "warning" | "primary";
|
243
243
|
fixed: number;
|
244
244
|
color: string;
|
245
245
|
format: (...args: any[]) => any;
|
@@ -268,8 +268,8 @@ declare const BkProgress: {
|
|
268
268
|
} & {
|
269
269
|
default: number;
|
270
270
|
};
|
271
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
272
|
-
default: "success" | "
|
271
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
|
272
|
+
default: "success" | "danger" | "warning" | "primary";
|
273
273
|
};
|
274
274
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
275
275
|
width: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -333,7 +333,7 @@ declare const BkProgress: {
|
|
333
333
|
type: "circle" | "line" | "dashboard";
|
334
334
|
width: number;
|
335
335
|
extCls: string;
|
336
|
-
theme: "success" | "
|
336
|
+
theme: "success" | "danger" | "warning" | "primary";
|
337
337
|
fixed: number;
|
338
338
|
color: string;
|
339
339
|
format: (...args: any[]) => any;
|
package/lib/progress/index.js
CHANGED
@@ -182,13 +182,13 @@ var Circle = function Circle(_, _ref) {
|
|
182
182
|
style: pathStyle
|
183
183
|
};
|
184
184
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
185
|
-
"
|
186
|
-
"
|
185
|
+
"style": circleStyle,
|
186
|
+
"class": "progress-outer-circle"
|
187
187
|
}, [(0,external_vue_namespaceObject.createVNode)("svg", {
|
188
188
|
"viewBox": "0 0 100 100"
|
189
189
|
}, [(0,external_vue_namespaceObject.createVNode)("path", progressCircleTrail, null), (0,external_vue_namespaceObject.createVNode)("path", progressCirclePath, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
|
190
|
-
"
|
191
|
-
"
|
190
|
+
"style": titleStyle,
|
191
|
+
"class": "progress-circle-text"
|
192
192
|
}, [slots === null || slots === void 0 ? void 0 : slots["default"]()])]);
|
193
193
|
};
|
194
194
|
/* harmony default export */ const circle = (Circle);
|
@@ -258,16 +258,16 @@ var Line = function Line(_, _ref) {
|
|
258
258
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
259
259
|
"class": "progress-outer"
|
260
260
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
261
|
-
"
|
262
|
-
"
|
261
|
+
"style": percentStyle,
|
262
|
+
"class": "".concat(resolveClassName("progress-".concat(size || 'normal')), " progress-bar")
|
263
263
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
264
264
|
"style": barStyle,
|
265
265
|
"class": _defineProperty({
|
266
266
|
'progress-inner': true
|
267
267
|
}, "".concat(resolveClassName("".concat(theme))), true)
|
268
268
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
269
|
-
"
|
270
|
-
"
|
269
|
+
"style": titleStyle,
|
270
|
+
"class": "inner-text"
|
271
271
|
}, [showDefault()])])]), showDefault(false)]);
|
272
272
|
};
|
273
273
|
/* harmony default export */ const line = (Line);
|
@@ -369,8 +369,8 @@ var progressType = {
|
|
369
369
|
}
|
370
370
|
if (!showText || textInside) return null;
|
371
371
|
return (0,external_vue_namespaceObject.createVNode)("span", {
|
372
|
-
"
|
373
|
-
"
|
372
|
+
"style": typeof formatPercent === 'string' ? titleStyle : undefined,
|
373
|
+
"class": "progress-text"
|
374
374
|
}, [this.$slots["default"] ? this.$slots["default"]() : formatPercent]);
|
375
375
|
}
|
376
376
|
},
|
@@ -11,8 +11,8 @@ export declare const progressType: {
|
|
11
11
|
} & {
|
12
12
|
default: number;
|
13
13
|
};
|
14
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
15
|
-
default: "success" | "
|
14
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
|
15
|
+
default: "success" | "danger" | "warning" | "primary";
|
16
16
|
};
|
17
17
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
18
18
|
width: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -79,8 +79,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
79
79
|
} & {
|
80
80
|
default: number;
|
81
81
|
};
|
82
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
83
|
-
default: "success" | "
|
82
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
|
83
|
+
default: "success" | "danger" | "warning" | "primary";
|
84
84
|
};
|
85
85
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
86
86
|
width: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -154,8 +154,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
154
154
|
} & {
|
155
155
|
default: number;
|
156
156
|
};
|
157
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
158
|
-
default: "success" | "
|
157
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
|
158
|
+
default: "success" | "danger" | "warning" | "primary";
|
159
159
|
};
|
160
160
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
161
161
|
width: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -212,7 +212,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
212
212
|
type: "circle" | "line" | "dashboard";
|
213
213
|
width: number;
|
214
214
|
extCls: string;
|
215
|
-
theme: "success" | "
|
215
|
+
theme: "success" | "danger" | "warning" | "primary";
|
216
216
|
fixed: number;
|
217
217
|
color: string;
|
218
218
|
format: (...args: any[]) => any;
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
@keyframes loading-scale-animate {
|
128
131
|
0% {
|