bkui-vue 2.0.1-beta.3 → 2.0.1-beta.31
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 +166 -166
- package/dist/index.esm.js +31940 -31804
- package/dist/index.umd.js +166 -166
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +130 -0
- package/lib/affix/affix.variable.css +262 -1
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.css +133 -3
- package/lib/alert/alert.d.ts +5 -12
- package/lib/alert/alert.variable.css +262 -1
- package/lib/alert/index.d.ts +11 -26
- package/lib/alert/index.js +0 -1
- package/lib/backtop/backtop.css +133 -3
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +395 -4
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/badge.css +156 -26
- package/lib/badge/badge.variable.css +262 -1
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.css +135 -5
- package/lib/breadcrumb/breadcrumb.variable.css +397 -6
- package/lib/button/button.css +273 -143
- package/lib/button/button.d.ts +7 -7
- package/lib/button/button.variable.css +262 -1
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -7
- package/lib/card/card.css +134 -4
- package/lib/card/card.variable.css +396 -5
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.css +156 -26
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/cascader.variable.css +418 -27
- package/lib/cascader/index.js +36 -36
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +0 -16
- package/lib/checkbox/checkbox.css +139 -9
- package/lib/checkbox/checkbox.d.ts +7 -7
- package/lib/checkbox/checkbox.variable.css +262 -1
- package/lib/checkbox/index.d.ts +11 -22
- package/lib/checkbox/index.js +12 -5
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.css +130 -0
- package/lib/code-diff/code-diff.variable.css +262 -1
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/collapse.css +131 -1
- package/lib/collapse/collapse.variable.css +262 -1
- package/lib/collapse/index.js +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.css +130 -0
- package/lib/collapse-transition/collapse-transition.variable.css +262 -1
- package/lib/color-picker/color-picker.css +133 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +265 -4
- package/lib/color-picker/index.js +45 -45
- package/lib/components.d.ts +32 -32
- package/lib/components.js +31 -31
- package/lib/config-provider/config-provider.css +130 -0
- package/lib/config-provider/config-provider.variable.css +262 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/container/container.css +130 -0
- package/lib/container/container.variable.css +392 -1
- package/lib/container/index.js +6 -7
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- 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.css +147 -17
- package/lib/date-picker/date-picker.d.ts +0 -10
- package/lib/date-picker/date-picker.variable.css +262 -1
- package/lib/date-picker/index.d.ts +0 -22
- package/lib/date-picker/index.js +320 -223
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +6 -68
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -10
- package/lib/date-picker/panel/time.d.ts +1 -10
- package/lib/date-picker/props.d.ts +1 -5
- package/lib/date-picker/time-picker.d.ts +0 -9
- package/lib/date-picker/utils.d.ts +5 -1
- package/lib/dialog/dialog.css +138 -12
- package/lib/dialog/dialog.d.ts +36 -20
- package/lib/dialog/dialog.variable.css +400 -13
- package/lib/dialog/index.d.ts +78 -44
- package/lib/dialog/index.js +22 -22
- package/lib/dialog/props.d.ts +15 -8
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -166
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -4
- package/lib/divider/divider.css +133 -3
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +262 -1
- 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-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +1 -1
- package/lib/dropdown/dropdown.css +130 -0
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/dropdown.variable.css +392 -1
- package/lib/dropdown/index.d.ts +13 -13
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.css +130 -0
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +262 -1
- 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.css +134 -4
- package/lib/fixed-navbar/fixed-navbar.variable.css +262 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form-item.d.ts +0 -16
- package/lib/form/form.css +130 -0
- package/lib/form/form.d.ts +2 -2
- package/lib/form/form.variable.css +262 -1
- package/lib/form/index.d.ts +0 -11
- package/lib/form/index.js +14 -16
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/image/image-viewer.css +130 -0
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +262 -1
- package/lib/image/image.css +130 -0
- package/lib/image/image.variable.css +392 -1
- package/lib/image/index.js +20 -21
- package/lib/index.d.ts +9 -3
- package/lib/index.js +5 -29
- package/lib/info-box/index.js +13 -13
- package/lib/info-box/info-box.css +134 -4
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/info-box/info-box.variable.css +262 -1
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +16 -17
- package/lib/input/input.css +202 -72
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.variable.css +464 -73
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.css +146 -16
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +262 -1
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.css +146 -16
- package/lib/loading/loading.d.ts +6 -6
- package/lib/loading/loading.variable.css +408 -17
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.js +0 -1
- package/lib/menu/menu.css +148 -18
- package/lib/menu/menu.variable.css +410 -19
- package/lib/menu/submenu.css +130 -0
- package/lib/menu/submenu.variable.css +262 -1
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/message.css +151 -21
- package/lib/message/message.variable.css +262 -1
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/index.d.ts +49 -8
- package/lib/modal/index.js +46 -25
- package/lib/modal/modal.css +134 -8
- package/lib/modal/modal.d.ts +19 -3
- package/lib/modal/modal.less +0 -5
- package/lib/modal/modal.variable.css +396 -9
- package/lib/modal/props.mixin.d.ts +8 -1
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.css +132 -2
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +262 -1
- package/lib/notify/index.js +4 -4
- package/lib/notify/notify.css +137 -7
- package/lib/notify/notify.variable.css +262 -1
- 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 +61 -11
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.d.ts +0 -19
- package/lib/pagination/index.js +44 -23
- package/lib/pagination/pagination.css +139 -9
- package/lib/pagination/pagination.d.ts +0 -13
- package/lib/pagination/pagination.less +14 -13
- package/lib/pagination/pagination.variable.css +270 -9
- 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.js +18 -20
- package/lib/pop-confirm/index.d.ts +11 -43
- package/lib/pop-confirm/index.js +27 -28
- package/lib/pop-confirm/pop-confirm.css +133 -1
- package/lib/pop-confirm/pop-confirm.d.ts +5 -19
- package/lib/pop-confirm/pop-confirm.less +3 -1
- package/lib/pop-confirm/pop-confirm.variable.css +265 -2
- package/lib/pop-confirm/props.d.ts +5 -11
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +18 -20
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.css +130 -0
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/popover.variable.css +262 -1
- package/lib/popover/props.d.ts +4 -4
- package/lib/preset.d.ts +0 -1
- package/lib/preset.js +0 -1
- package/lib/process/index.js +3 -3
- package/lib/process/process.css +143 -13
- package/lib/process/process.variable.css +262 -1
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -11
- package/lib/progress/progress.css +134 -4
- package/lib/progress/progress.d.ts +7 -7
- package/lib/progress/progress.variable.css +396 -5
- package/lib/radio/index.d.ts +21 -21
- package/lib/radio/index.js +28 -17
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.css +172 -42
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/radio.variable.css +262 -1
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +157 -0
- package/lib/rate/rate.less +33 -0
- package/lib/rate/rate.variable.css +289 -1
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +7 -8
- package/lib/resize-layout/resize-layout.css +130 -0
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/resize-layout/resize-layout.variable.css +262 -1
- package/lib/scrollbar/index.js +63 -11
- package/lib/scrollbar/scrollbar-core/index.d.ts +21 -20
- package/lib/scrollbar/scrollbar.css +157 -8
- package/lib/scrollbar/scrollbar.less +35 -10
- package/lib/scrollbar/scrollbar.variable.css +289 -9
- package/lib/search-select/index.js +66 -66
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/search-select.css +163 -33
- package/lib/search-select/search-select.variable.css +425 -34
- package/lib/search-select/selected.d.ts +1 -1
- package/lib/search-select/utils.d.ts +3 -3
- package/lib/select/common.d.ts +4 -4
- package/lib/select/index.d.ts +94 -70
- package/lib/select/index.js +176 -150
- package/lib/select/option.d.ts +1 -1
- package/lib/select/select.css +172 -43
- package/lib/select/select.d.ts +37 -27
- package/lib/select/select.less +3 -4
- package/lib/select/select.variable.css +434 -44
- package/lib/select/selectTagInput.d.ts +6 -6
- package/lib/select/type.d.ts +2 -2
- package/lib/shared/frame-throttle.d.ts +15 -0
- package/lib/shared/index.d.ts +2 -1
- package/lib/shared/index.js +110 -47
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +46 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +41 -7
- package/lib/sideslider/index.js +12 -11
- package/lib/sideslider/sideslider.css +138 -9
- package/lib/sideslider/sideslider.d.ts +19 -3
- package/lib/sideslider/sideslider.less +7 -8
- package/lib/sideslider/sideslider.variable.css +269 -9
- package/lib/slider/index.js +21 -23
- package/lib/slider/slider.css +135 -5
- package/lib/slider/slider.variable.css +262 -1
- package/lib/steps/index.d.ts +14 -29
- package/lib/steps/index.js +3 -4
- package/lib/steps/steps.css +168 -38
- package/lib/steps/steps.d.ts +8 -18
- package/lib/steps/steps.variable.css +262 -1
- package/lib/styles/index.d.ts +0 -1
- package/lib/styles/mixins/animate.css +130 -0
- package/lib/styles/mixins/animate.variable.css +262 -1
- package/lib/styles/mixins/mixins.css +130 -0
- package/lib/styles/mixins/mixins.variable.css +130 -0
- package/lib/styles/mixins/popper.css +130 -0
- package/lib/styles/mixins/popper.variable.css +262 -1
- package/lib/styles/mixins/scroll.css +130 -0
- package/lib/styles/mixins/scroll.variable.css +262 -1
- package/lib/styles/reset.css +130 -0
- package/lib/styles/reset.variable.css +262 -1
- package/lib/{rate/star.variable.css → styles/themes/themes.css} +2 -28
- package/lib/styles/themes/themes.less +299 -129
- package/lib/styles/themes/themes.variable.css +130 -0
- package/lib/swiper/index.js +5 -5
- package/lib/swiper/swiper.css +130 -0
- package/lib/swiper/swiper.variable.css +262 -1
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.css +147 -17
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/switcher/switcher.variable.css +409 -18
- 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.css +147 -17
- package/lib/tab/tab.d.ts +10 -10
- package/lib/tab/tab.variable.css +262 -1
- package/lib/table/components/ghost-body.d.ts +2 -0
- package/lib/table/components/table-column.d.ts +25 -126
- package/lib/table/const.d.ts +22 -10
- package/lib/table/events.d.ts +16 -112
- package/lib/table/hooks/use-cell.d.ts +20 -0
- package/lib/table/hooks/use-column-resize.d.ts +7 -0
- package/lib/table/hooks/use-column-template.d.ts +5 -0
- package/lib/table/hooks/use-columns.d.ts +66 -0
- package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
- package/lib/table/hooks/use-fixed-column.d.ts +10 -0
- package/lib/table/hooks/use-head.d.ts +16 -0
- package/lib/table/hooks/use-layout.d.ts +23 -0
- package/lib/table/hooks/use-pagination.d.ts +16 -0
- package/lib/table/hooks/use-render.d.ts +23 -0
- package/lib/table/hooks/use-rows.d.ts +27 -0
- package/lib/table/hooks/use-settings.d.ts +130 -0
- package/lib/table/hooks/use-shift-key.d.ts +15 -0
- package/lib/table/index.d.ts +72 -634
- package/lib/table/index.js +3478 -3408
- package/lib/table/plugins/head-filter.css +130 -0
- package/lib/table/plugins/head-filter.d.ts +2 -1
- package/lib/table/plugins/head-filter.variable.css +262 -1
- package/lib/table/plugins/head-sort.css +130 -0
- package/lib/table/plugins/head-sort.variable.css +262 -1
- package/lib/table/plugins/settings.css +131 -0
- package/lib/table/plugins/settings.less +1 -0
- package/lib/table/plugins/settings.variable.css +263 -1
- package/lib/table/props.d.ts +94 -62
- package/lib/table/table.css +433 -260
- package/lib/table/table.d.ts +31 -185
- package/lib/table/table.less +120 -99
- package/lib/table/table.variable.css +695 -261
- package/lib/table/utils.d.ts +36 -10
- package/lib/table-column/index.d.ts +36 -289
- package/lib/table-column/index.js +17335 -45
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.css +135 -5
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.variable.css +262 -1
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +8 -8
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.css +148 -18
- package/lib/tag-input/tag-input.d.ts +4 -4
- package/lib/tag-input/tag-input.variable.css +262 -1
- package/lib/tag-input/tag-props.d.ts +2 -2
- package/lib/time-picker/index.d.ts +0 -19
- package/lib/time-picker/time-picker.css +130 -0
- package/lib/time-picker/time-picker.variable.css +262 -1
- package/lib/timeline/index.js +2 -2
- package/lib/timeline/timeline.css +149 -19
- package/lib/timeline/timeline.variable.css +262 -1
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +19 -19
- package/lib/transfer/transfer.css +158 -28
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +271 -10
- package/lib/tree/constant.d.ts +20 -20
- package/lib/tree/index.d.ts +32 -24
- package/lib/tree/index.js +66 -52
- package/lib/tree/props.d.ts +18 -11
- package/lib/tree/tree.css +166 -17
- package/lib/tree/tree.d.ts +14 -16
- package/lib/tree/tree.less +1 -1
- package/lib/tree/tree.variable.css +428 -18
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +8 -8
- package/lib/tree/use-node-attribute.d.ts +42 -34
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.js +41 -35
- package/lib/upload/props.d.ts +1 -1
- package/lib/upload/upload.css +157 -27
- package/lib/upload/upload.type.d.ts +7 -7
- package/lib/upload/upload.variable.css +419 -28
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +12 -23
- package/lib/virtual-render/index.js +17290 -24
- package/lib/virtual-render/props.d.ts +2 -3
- package/lib/virtual-render/use-fix-top.d.ts +1 -1
- package/lib/virtual-render/v-virtual-render.d.ts +1 -1
- package/lib/virtual-render/virtual-render.css +157 -8
- package/lib/virtual-render/virtual-render.d.ts +6 -11
- package/lib/virtual-render/virtual-render.variable.css +419 -9
- package/package.json +17 -55
- package/lib/rate/star.css +0 -27
- package/lib/rate/star.less +0 -34
- package/lib/table/plugins/col-group.d.ts +0 -38
- package/lib/table/plugins/settings.d.ts +0 -16
- package/lib/table/plugins/use-active-columns.d.ts +0 -16
- package/lib/table/plugins/use-column-resize.d.ts +0 -35
- package/lib/table/plugins/use-column-template.d.ts +0 -7
- package/lib/table/plugins/use-fixed-column.d.ts +0 -27
- package/lib/table/plugins/use-head-cell.d.ts +0 -7
- package/lib/table/plugins/use-pagination.d.ts +0 -23
- package/lib/table/plugins/use-shift-key.d.ts +0 -11
- package/lib/table/use-attributes.d.ts +0 -62
- package/lib/table/use-column.d.ts +0 -275
- package/lib/table/use-common.d.ts +0 -1679
- package/lib/table/use-render.d.ts +0 -11
- /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
@@ -481,6 +481,18 @@ function _defineProperty(obj, key, value) {
|
|
481
481
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
482
482
|
var external_vue_y = x => () => x
|
483
483
|
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["shallowRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
484
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
485
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
486
|
+
var config_provider_y = x => () => x
|
487
|
+
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
488
|
+
;// CONCATENATED MODULE: external "../directives"
|
489
|
+
var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
490
|
+
var directives_y = x => () => x
|
491
|
+
const directives_namespaceObject = directives_x({ ["clickoutside"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.clickoutside });
|
492
|
+
;// CONCATENATED MODULE: external "../icon"
|
493
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
494
|
+
var icon_y = x => () => x
|
495
|
+
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, ["ExclamationCircleShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search });
|
484
496
|
;// CONCATENATED MODULE: ../../node_modules/resize-detector/esm/index.js
|
485
497
|
var raf = null;
|
486
498
|
function requestAnimationFrame (callback) {
|
@@ -797,18 +809,6 @@ function resetTriggers (elem) {
|
|
797
809
|
|
798
810
|
|
799
811
|
|
800
|
-
;// CONCATENATED MODULE: external "../config-provider"
|
801
|
-
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
802
|
-
var config_provider_y = x => () => x
|
803
|
-
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
804
|
-
;// CONCATENATED MODULE: external "../directives"
|
805
|
-
var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
806
|
-
var directives_y = x => () => x
|
807
|
-
const directives_namespaceObject = directives_x({ ["clickoutside"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.clickoutside });
|
808
|
-
;// CONCATENATED MODULE: external "../icon"
|
809
|
-
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
810
|
-
var icon_y = x => () => x
|
811
|
-
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, ["ExclamationCircleShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape, ["Search"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Search });
|
812
812
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
813
813
|
function _arrayWithHoles(arr) {
|
814
814
|
if (Array.isArray(arr)) return arr;
|
@@ -1409,9 +1409,9 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
1409
1409
|
"class": "menu-content"
|
1410
1410
|
}, [(_this$list = this.list) === null || _this$list === void 0 ? void 0 : _this$list.map(function (item) {
|
1411
1411
|
return (0,external_vue_namespaceObject.createVNode)("li", {
|
1412
|
-
"class": "menu-item ".concat(item.disabled ? 'is-disabled' : '', " ").concat(_this.hoverId === item.id && !item.disabled ? 'is-hover' : ''),
|
1413
|
-
"key": item.id,
|
1414
1412
|
"id": item.id,
|
1413
|
+
"key": item.id,
|
1414
|
+
"class": "menu-item ".concat(item.disabled ? 'is-disabled' : '', " ").concat(_this.hoverId === item.id && !item.disabled ? 'is-hover' : ''),
|
1415
1415
|
"tabindex": "-1",
|
1416
1416
|
"onClick": function onClick() {
|
1417
1417
|
return !item.disabled && _this.handleClick(item);
|
@@ -1421,8 +1421,8 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
1421
1421
|
return _this.handleSelectedChange(e, item);
|
1422
1422
|
}
|
1423
1423
|
}, [(0,external_vue_namespaceObject.createVNode)(checkbox_namespaceObject["default"], {
|
1424
|
-
"
|
1425
|
-
"
|
1424
|
+
"class": "is-selected",
|
1425
|
+
"modelValue": _this.selected.includes(item.id)
|
1426
1426
|
}, null)]), _this.getSearchNode(item)])]);
|
1427
1427
|
})]);
|
1428
1428
|
var getListMenu = function getListMenu() {
|
@@ -1434,17 +1434,17 @@ var SelectedItem = /*#__PURE__*/function () {
|
|
1434
1434
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
1435
1435
|
"class": "menu-condition-title"
|
1436
1436
|
}, [_this.t.logical]), (0,external_vue_namespaceObject.createVNode)(radio_namespaceObject["default"], {
|
1437
|
+
"label": "|",
|
1437
1438
|
"modelValue": _this.logical,
|
1438
|
-
"onChange": _this.handleLogicalChange
|
1439
|
-
"label": "|"
|
1439
|
+
"onChange": _this.handleLogicalChange
|
1440
1440
|
}, {
|
1441
1441
|
"default": function _default() {
|
1442
1442
|
return [_this.t.or, (0,external_vue_namespaceObject.createTextVNode)(" |")];
|
1443
1443
|
}
|
1444
1444
|
}), (0,external_vue_namespaceObject.createVNode)(radio_namespaceObject["default"], {
|
1445
|
+
"label": "&",
|
1445
1446
|
"modelValue": _this.logical,
|
1446
|
-
"onChange": _this.handleLogicalChange
|
1447
|
-
"label": "&"
|
1447
|
+
"onChange": _this.handleLogicalChange
|
1448
1448
|
}, {
|
1449
1449
|
"default": function _default() {
|
1450
1450
|
return [_this.t.and, (0,external_vue_namespaceObject.createTextVNode)(" &")];
|
@@ -2397,32 +2397,32 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
2397
2397
|
"data-placeholder": !inputInnerHtml && !_this.keyword ? _this.placeholder : '',
|
2398
2398
|
"data-tips": placeholder || '',
|
2399
2399
|
"spellcheck": "false",
|
2400
|
-
"onPaste": _this.handleInputPaste,
|
2401
2400
|
"onFocus": _this.handleInputFocus,
|
2402
2401
|
"onInput": _this.handleInputChange,
|
2403
|
-
"onKeydown": _this.handleInputKeyup
|
2402
|
+
"onKeydown": _this.handleInputKeyup,
|
2403
|
+
"onPaste": _this.handleInputPaste
|
2404
2404
|
}, [((_this$usingItem = _this.usingItem) === null || _this$usingItem === void 0 ? void 0 : _this$usingItem.name) && (!_this.usingItem.isSpecialType() ? (0,external_vue_namespaceObject.createVNode)("span", {
|
2405
|
+
"key": _this.usingItem.nameRenderkey,
|
2406
|
+
"style": {
|
2407
|
+
color: '#979BA5'
|
2408
|
+
},
|
2409
|
+
"contenteditable": false,
|
2405
2410
|
"data-key": _this.usingItem.name,
|
2406
2411
|
"data-type": _this.usingItem.type,
|
2407
|
-
"key": _this.usingItem.nameRenderkey,
|
2408
2412
|
"onMousedown": function onMousedown(e) {
|
2409
2413
|
return e.preventDefault();
|
2410
|
-
},
|
2411
|
-
"contenteditable": false,
|
2412
|
-
"style": {
|
2413
|
-
color: '#979BA5'
|
2414
2414
|
}
|
2415
2415
|
}, [_this.usingItem.name, (0,external_vue_namespaceObject.createTextVNode)(":\xA0")]) : (0,external_vue_namespaceObject.createVNode)("span", {
|
2416
|
+
"key": _this.usingItem.nameRenderkey,
|
2416
2417
|
"data-key": _this.usingItem.name,
|
2417
|
-
"data-type": _this.usingItem.type
|
2418
|
-
"key": _this.usingItem.nameRenderkey
|
2418
|
+
"data-type": _this.usingItem.type
|
2419
2419
|
}, [_this.usingItem.name])), (_this$usingItem2 = _this.usingItem) === null || _this$usingItem2 === void 0 || (_this$usingItem2 = _this$usingItem2.values) === null || _this$usingItem2 === void 0 ? void 0 : _this$usingItem2.map(function (item, index) {
|
2420
2420
|
return (0,external_vue_namespaceObject.createVNode)("span", {
|
2421
2421
|
"key": index,
|
2422
|
-
"data-key": item.name,
|
2423
|
-
"data-type": "value",
|
2424
2422
|
"data-id": item.id,
|
2425
|
-
"data-index": index
|
2423
|
+
"data-index": index,
|
2424
|
+
"data-key": item.name,
|
2425
|
+
"data-type": "value"
|
2426
2426
|
}, [item.name, index < _this.usingItem.values.length - 1 ? " ".concat(_this.usingItem.logical, " ") : '']);
|
2427
2427
|
})]), [[(0,external_vue_namespaceObject.resolveDirective)("clickoutside"), _this.handleClickOutside]]);
|
2428
2428
|
};
|
@@ -2450,29 +2450,29 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
2450
2450
|
"ref": "popoverRef",
|
2451
2451
|
"class": _this.resolveClassName('search-select-popover')
|
2452
2452
|
}, [(0,external_vue_namespaceObject.createVNode)(menu, {
|
2453
|
-
"
|
2453
|
+
"conditions": showCondition ? _this.conditions : [],
|
2454
|
+
"hoverId": _this.menuHoverId,
|
2454
2455
|
"keyword": _this.keyword,
|
2456
|
+
"list": _this.menuList,
|
2457
|
+
"logical": (_this$usingItem4 = _this.usingItem) === null || _this$usingItem4 === void 0 ? void 0 : _this$usingItem4.logical,
|
2455
2458
|
"multiple": !!multiple,
|
2456
|
-
"hoverId": _this.menuHoverId,
|
2457
2459
|
"selected": (values === null || values === void 0 ? void 0 : values.map(function (item) {
|
2458
2460
|
return item.id;
|
2459
2461
|
})) || [],
|
2460
|
-
"conditions": showCondition ? _this.conditions : [],
|
2461
|
-
"logical": (_this$usingItem4 = _this.usingItem) === null || _this$usingItem4 === void 0 ? void 0 : _this$usingItem4.logical,
|
2462
2462
|
"showLogical": (_this$usingItem5 = _this.usingItem) === null || _this$usingItem5 === void 0 ? void 0 : _this$usingItem5.showLogical,
|
2463
|
-
"
|
2464
|
-
"onSelectItem": _this.handleSelectItem,
|
2463
|
+
"onFooterClick": _this.handleMenuFooterClick,
|
2465
2464
|
"onSelectCondition": _this.handleSelectCondtionItem,
|
2466
|
-
"
|
2465
|
+
"onSelectItem": _this.handleSelectItem,
|
2466
|
+
"onUpdate:logical": _this.handleLogicalChange
|
2467
2467
|
}, null)]) : undefined;
|
2468
2468
|
};
|
2469
2469
|
return (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
|
2470
|
-
"trigger": "manual",
|
2471
|
-
"theme": "light",
|
2472
|
-
"placement": "bottom-start",
|
2473
2470
|
"arrow": false,
|
2474
2471
|
"disableOutsideClick": true,
|
2475
|
-
"isShow": showPopover
|
2472
|
+
"isShow": showPopover,
|
2473
|
+
"placement": "bottom-start",
|
2474
|
+
"theme": "light",
|
2475
|
+
"trigger": "manual"
|
2476
2476
|
}, {
|
2477
2477
|
"default": inputContent,
|
2478
2478
|
content: popoverContent
|
@@ -2598,19 +2598,19 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
2598
2598
|
var _this = this;
|
2599
2599
|
var contentComponent = function contentComponent(item, index) {
|
2600
2600
|
return _this.editKey === "".concat(item.id, "_").concat(index) ? (0,external_vue_namespaceObject.createVNode)("div", {
|
2601
|
-
"class": "selected-input",
|
2602
2601
|
"key": _this.editKey.toString(),
|
2603
|
-
"ref": "selectedInputRef"
|
2602
|
+
"ref": "selectedInputRef",
|
2603
|
+
"class": "selected-input"
|
2604
2604
|
}, [(0,external_vue_namespaceObject.createVNode)(input, {
|
2605
|
-
"ref": "inputRef",
|
2606
2605
|
"key": _this.editKey.toString(),
|
2607
|
-
"
|
2608
|
-
"
|
2609
|
-
"showCondition": false,
|
2606
|
+
"ref": "inputRef",
|
2607
|
+
"clickOutside": _this.handleInputOutside,
|
2610
2608
|
"conditions": _this.conditions,
|
2609
|
+
"data": _this.data,
|
2611
2610
|
"defautUsingItem": _this.copySeletedItem(item),
|
2612
|
-
"clickOutside": _this.handleInputOutside,
|
2613
2611
|
"getMenuList": _this.getMenuList,
|
2612
|
+
"mode": SearchInputMode.EDIT,
|
2613
|
+
"showCondition": false,
|
2614
2614
|
"validateValues": _this.validateValues,
|
2615
2615
|
"valueBehavior": _this.valueBehavior,
|
2616
2616
|
"onAdd": function onAdd(v) {
|
@@ -2618,8 +2618,8 @@ function selected_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
2618
2618
|
},
|
2619
2619
|
"onFocus": _this.handleInputFocus
|
2620
2620
|
}, selected_objectSpread({}, _this.$slots))]) : (0,external_vue_namespaceObject.createVNode)("li", {
|
2621
|
-
"
|
2622
|
-
"
|
2621
|
+
"key": "".concat(item.id, "_").concat(index),
|
2622
|
+
"class": "search-container-selected ".concat(!(_this.overflowIndex >= 0 ? index < _this.overflowIndex : index >= 0) ? 'hidden-selected' : '')
|
2623
2623
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
2624
2624
|
"class": "selected-name",
|
2625
2625
|
"onClick": function onClick(e) {
|
@@ -2990,24 +2990,24 @@ var SearchSelectProps = {
|
|
2990
2990
|
} : {});
|
2991
2991
|
// render
|
2992
2992
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
2993
|
-
"
|
2994
|
-
"
|
2993
|
+
"ref": "wrapRef",
|
2994
|
+
"class": this.resolveClassName('search-select')
|
2995
2995
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
2996
2996
|
"class": _defineProperty(_defineProperty({}, this.resolveClassName('search-select-container'), true), 'is-focus', this.isFocus),
|
2997
2997
|
"onClick": this.handleWrapClick
|
2998
2998
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
2999
2999
|
"class": "search-prefix"
|
3000
3000
|
}, [(_this$$slots$prepend = (_this$$slots2 = this.$slots).prepend) === null || _this$$slots$prepend === void 0 ? void 0 : _this$$slots$prepend.call(_this$$slots2)]), (0,external_vue_namespaceObject.createVNode)("div", {
|
3001
|
-
"class": "search-container",
|
3002
3001
|
"style": {
|
3003
3002
|
maxHeight: maxHeight
|
3004
|
-
}
|
3003
|
+
},
|
3004
|
+
"class": "search-container"
|
3005
3005
|
}, [(0,external_vue_namespaceObject.createVNode)(selected, {
|
3006
|
-
"data": this.copyData,
|
3007
3006
|
"conditions": this.localConditions,
|
3008
|
-
"
|
3009
|
-
"overflowIndex": this.overflowIndex,
|
3007
|
+
"data": this.copyData,
|
3010
3008
|
"getMenuList": this.getMenuList,
|
3009
|
+
"overflowIndex": this.overflowIndex,
|
3010
|
+
"selectedList": this.selectedList,
|
3011
3011
|
"validateValues": this.validateValues,
|
3012
3012
|
"valueBehavior": this.valueBehavior,
|
3013
3013
|
"onDelete": this.handleDeleteSelected,
|
@@ -3016,13 +3016,13 @@ var SearchSelectProps = {
|
|
3016
3016
|
"class": "search-container-input"
|
3017
3017
|
}, [(0,external_vue_namespaceObject.createVNode)(input, {
|
3018
3018
|
"ref": "inputRef",
|
3019
|
-
"data": this.copyData,
|
3020
|
-
"showInputBefore": !this.selectedList.length,
|
3021
|
-
"showCondition": showCondition,
|
3022
|
-
"conditions": this.localConditions,
|
3023
|
-
"placeholder": this.placeholder || this.t.pleaseSelect,
|
3024
3019
|
"clickOutside": this.handleInputOutside,
|
3020
|
+
"conditions": this.localConditions,
|
3021
|
+
"data": this.copyData,
|
3025
3022
|
"getMenuList": this.getMenuList,
|
3023
|
+
"placeholder": this.placeholder || this.t.pleaseSelect,
|
3024
|
+
"showCondition": showCondition,
|
3025
|
+
"showInputBefore": !this.selectedList.length,
|
3026
3026
|
"validateValues": this.validateValues,
|
3027
3027
|
"valueBehavior": this.valueBehavior,
|
3028
3028
|
"onAdd": this.handleAddSelected,
|
@@ -3035,8 +3035,8 @@ var SearchSelectProps = {
|
|
3035
3035
|
"class": "search-clear",
|
3036
3036
|
"onClick": this.handleClearAll
|
3037
3037
|
}, null), this.$slots.append ? this.$slots.append() : (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Search, {
|
3038
|
-
"
|
3039
|
-
"
|
3038
|
+
"class": "search-nextfix-icon ".concat(this.isFocus ? 'is-focus' : ''),
|
3039
|
+
"onClick": this.handleClickSearch
|
3040
3040
|
}, null)])]), !!this.validateStr.length && (0,external_vue_namespaceObject.createVNode)("div", {
|
3041
3041
|
"class": this.resolveClassName('search-select-tips')
|
3042
3042
|
}, [this.$slots.validate ? this.$slots.validate() : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.ExclamationCircleShape, {
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
39
39
|
handleSelectedChange: (e: MouseEvent, item: ICommonItem) => void;
|
40
40
|
handleLogicalChange: (value: unknown) => void;
|
41
41
|
filterList: import("vue").ComputedRef<ICommonItem[]>;
|
42
|
-
getSearchNode: (item: ICommonItem) =>
|
42
|
+
getSearchNode: (item: ICommonItem) => (VNode | string)[] | string;
|
43
43
|
localFooterBtns: import("vue").ComputedRef<IMenuFooterItem[] | ({
|
44
44
|
id: string;
|
45
45
|
name: string;
|
@@ -1,4 +1,134 @@
|
|
1
1
|
/* stylelint-disable declaration-no-important */
|
2
|
+
:root {
|
3
|
+
--bk-prefix: bk;
|
4
|
+
--popover-max-height: 216px;
|
5
|
+
--primary-color: #3a84ff;
|
6
|
+
--success-color: #2dcb56;
|
7
|
+
--warning-color: #ff9c01;
|
8
|
+
--danger-color: #ea3636;
|
9
|
+
--default-color: #63656e;
|
10
|
+
--gray-color: #979ba5;
|
11
|
+
--light-gray: #c4c6cc;
|
12
|
+
--white-color: white;
|
13
|
+
--whitesmoke-color: #fafbfd;
|
14
|
+
--disable-color: #dcdee5;
|
15
|
+
--disable-bg-color: #f9fafd;
|
16
|
+
--border-color: #dcdee5;
|
17
|
+
--font-size-base: 12px;
|
18
|
+
--font-size-medium: 14px;
|
19
|
+
--font-size-large: 16px;
|
20
|
+
--line-height-base: 16px;
|
21
|
+
--line-height-medium: 16px;
|
22
|
+
--line-height-large: 18px;
|
23
|
+
--component-size-small: 26px;
|
24
|
+
--component-size-base: 32px;
|
25
|
+
--component-size-large: 40px;
|
26
|
+
--component-size-small-padding: 0 12px;
|
27
|
+
--component-size-base-padding: 0 14px;
|
28
|
+
--component-size-large-padding: 0 16px;
|
29
|
+
--border-width-base: 1px;
|
30
|
+
--border-style-base: solid;
|
31
|
+
--border-radius-base: 2px;
|
32
|
+
--border-style-color: var(--light-gray);
|
33
|
+
--input-disabled-bg: #fafbfd;
|
34
|
+
--input-disabled-border: var(--disable-color);
|
35
|
+
--input-height-base: var(--component-size-base);
|
36
|
+
--input-color: var(--default-color);
|
37
|
+
--input-bg: white;
|
38
|
+
--input-border-color: var(--light-gray);
|
39
|
+
--input-broder-radius: 3px;
|
40
|
+
--input-shadow-color: #a3c5fd;
|
41
|
+
--input-horizontal-padding: 8px;
|
42
|
+
--input-block-color: #f5f7fa;
|
43
|
+
--input-block-hover-color: #eaebf0;
|
44
|
+
--input-icon-size: var(--font-size-medium);
|
45
|
+
--input-maxlength-color: #979ba5;
|
46
|
+
--button-primary-hover-color: #5594fa;
|
47
|
+
--button-danger-hover-color: #ff5656;
|
48
|
+
--button-success-hover-color: #45e35f;
|
49
|
+
--button-warning-hover-color: #ffb848;
|
50
|
+
--button-default-hover-border-color: #979ba5;
|
51
|
+
--button-primary-active-color: #2c77f4;
|
52
|
+
--button-danger-active-color: #db2626;
|
53
|
+
--button-success-active-color: #1ab943;
|
54
|
+
--button-warning-active-color: #eb9000;
|
55
|
+
--button-selected-bg-color: #e1ecff;
|
56
|
+
--button-disabled-selected-bg-color: #f0f1f5;
|
57
|
+
--radio-font-color: #63656e;
|
58
|
+
--radio-active-color: #3a84ff;
|
59
|
+
--radio-hover-border-color: #979ba5;
|
60
|
+
--radio-disabled-border: #dcdee5;
|
61
|
+
--radio-disabled-font-color: #c4c6cc;
|
62
|
+
--radio-disabled-checked-bg: #a3c5fd;
|
63
|
+
--radio-button-checked-bg: #e1ecff;
|
64
|
+
--radio-button-disabled-checked-bg: #fafbfd;
|
65
|
+
--checkbox-disabled-checked-bg: #a3c5fd;
|
66
|
+
--fixed-navbar-background: #fff;
|
67
|
+
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
68
|
+
--switch-default-color: #fff;
|
69
|
+
--switch-grey-color: #c4c6cc;
|
70
|
+
--breadcrumb-black-color: #979ba5;
|
71
|
+
--breadcrumb-primary-hover-color: #0082ff;
|
72
|
+
--breadcrumb-fn-main-color: #63656e;
|
73
|
+
--link-default-hover-color: #979ba5;
|
74
|
+
--link-primary-hover-color: #699df4;
|
75
|
+
--link-success-hover-color: #45e35f;
|
76
|
+
--link-warning-hover-color: #ffb848;
|
77
|
+
--link-danger-hover-color: #ff5656;
|
78
|
+
--link-default-disabled-color: #dcdee5;
|
79
|
+
--link-primary-disabled-color: #a3c5fd;
|
80
|
+
--link-success-disabled-color: #94f5a4;
|
81
|
+
--link-warning-disabled-color: #ffd695;
|
82
|
+
--link-danger-disabled-color: #fd9c9c;
|
83
|
+
--message-color: var(--default-color);
|
84
|
+
--message-primary-bg-color: #f0f8ff;
|
85
|
+
--message-primary-border-color: #e1ecff;
|
86
|
+
--message-primary-shadow-color: #e1e8f4;
|
87
|
+
--message-warning-bg-color: #fff4e2;
|
88
|
+
--message-warning-border-color: #ffe8c3;
|
89
|
+
--message-warning-shadow-color: #ede6db;
|
90
|
+
--message-success-bg-color: #f2fff4;
|
91
|
+
--message-success-border-color: #dcffe2;
|
92
|
+
--message-success-shadow-color: #cef0d7;
|
93
|
+
--message-danger-bg-color: #ffeded;
|
94
|
+
--message-danger-border-color: #ffdddd;
|
95
|
+
--message-danger-shadow-color: #f6dada;
|
96
|
+
--slider-default-bg: #dcdee5;
|
97
|
+
--slider-disable-bar-bg: #979ba5;
|
98
|
+
--menu-bg-color: #182132;
|
99
|
+
--submenu-bg-color: #151d2c;
|
100
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
101
|
+
--menu-color: #96a2b9;
|
102
|
+
--menu-group-color: var(--default-color);
|
103
|
+
--menu-width: 260px;
|
104
|
+
--menu-collapse-width: 60px;
|
105
|
+
--menu-active-color: white;
|
106
|
+
--nav-header-bg-color: #182132;
|
107
|
+
--nav-bg-color: #182132;
|
108
|
+
--date-picker-disabled-bg: #fafbfd;
|
109
|
+
--date-picker-dropdown-mb: 4px;
|
110
|
+
--date-picker-dropdown-bg: #fff;
|
111
|
+
--table-bg-color: var(--white-color);
|
112
|
+
--table-border-color: #dcdee5;
|
113
|
+
--table-strip-color: #fafbfd;
|
114
|
+
--table-head-bg-color: #fafbfd;
|
115
|
+
--table-head-font-color: #313238;
|
116
|
+
--table-body-font-color: #63656e;
|
117
|
+
--table-row-hover-bg-color: #f5f7fa;
|
118
|
+
--table-row-active-bg-color: #f0f1f5;
|
119
|
+
--cascader-panel-border-color: #dcdee5;
|
120
|
+
--cascader-panel-hover: #f5f7fa;
|
121
|
+
--cascader-panel-active: #e1ecff;
|
122
|
+
--cascader-panel-disabled-bg: #fff;
|
123
|
+
--search-select-focus-border-color: var(--primary-color);
|
124
|
+
--search-select-focus-color: #3c96ff;
|
125
|
+
--search-select-font-color: var(--default-color);
|
126
|
+
--search-select-placeholder-color: var(--light-gray);
|
127
|
+
--search-select-message-color: var(--danger-color);
|
128
|
+
--search-select-menu-border-color: var(--disable-color);
|
129
|
+
--select-active-color: #e1ecff;
|
130
|
+
--select-hover-color: #f5f7fa;
|
131
|
+
}
|
2
132
|
@keyframes loading-scale-animate {
|
3
133
|
0% {
|
4
134
|
transform: scale(1);
|
@@ -74,13 +204,13 @@
|
|
74
204
|
.bk-search-select {
|
75
205
|
position: relative;
|
76
206
|
z-index: 9;
|
77
|
-
height:
|
207
|
+
height: var(--component-size-base);
|
78
208
|
overflow: inherit;
|
79
209
|
}
|
80
210
|
.bk-search-select .focus {
|
81
|
-
color:
|
211
|
+
color: var(--search-select-focus-color);
|
82
212
|
background: #fff !important;
|
83
|
-
border-color:
|
213
|
+
border-color: var(--search-select-focus-border-color) !important;
|
84
214
|
}
|
85
215
|
.bk-search-select .div-input {
|
86
216
|
height: 100%;
|
@@ -97,9 +227,9 @@
|
|
97
227
|
min-height: 30px;
|
98
228
|
overflow: hidden;
|
99
229
|
font-size: 12px;
|
100
|
-
color:
|
101
|
-
border:
|
102
|
-
border-radius:
|
230
|
+
color: var(--search-select-font-color);
|
231
|
+
border: var(--border-width-base) var(--border-style-base) var(--border-style-color);
|
232
|
+
border-radius: var(--border-radius-base);
|
103
233
|
outline: none;
|
104
234
|
box-sizing: border-box;
|
105
235
|
transition: border 0.2s linear;
|
@@ -110,9 +240,9 @@
|
|
110
240
|
}
|
111
241
|
.bk-search-select-container.is-focus {
|
112
242
|
overflow: auto;
|
113
|
-
color:
|
243
|
+
color: var(--search-select-focus-color);
|
114
244
|
background: #fff !important;
|
115
|
-
border-color:
|
245
|
+
border-color: var(--search-select-focus-border-color) !important;
|
116
246
|
}
|
117
247
|
.bk-search-select-container .search-prefix {
|
118
248
|
flex: 0 0 auto;
|
@@ -141,7 +271,7 @@
|
|
141
271
|
padding-left: 8px;
|
142
272
|
margin: 0 0 4px 6px;
|
143
273
|
line-height: 22px;
|
144
|
-
color:
|
274
|
+
color: var(--search-select-font-color);
|
145
275
|
background: #f0f1f5;
|
146
276
|
border-radius: 2px;
|
147
277
|
flex: 0 0 auto;
|
@@ -157,7 +287,7 @@
|
|
157
287
|
background: #dcdee5;
|
158
288
|
}
|
159
289
|
.bk-search-select-container .search-container-selected:hover .selected-clear {
|
160
|
-
color:
|
290
|
+
color: var(--search-select-font-color);
|
161
291
|
}
|
162
292
|
.bk-search-select-container .search-container-selected .selected-name {
|
163
293
|
display: inline-block;
|
@@ -187,17 +317,17 @@
|
|
187
317
|
min-width: 40px;
|
188
318
|
padding: 0 10px;
|
189
319
|
margin-top: -4px;
|
190
|
-
color:
|
320
|
+
color: var(--search-select-font-color);
|
191
321
|
border: none;
|
192
322
|
flex: 1;
|
193
323
|
}
|
194
324
|
.bk-search-select-container .search-container-input .input-before:before {
|
195
|
-
color:
|
325
|
+
color: var(--search-select-placeholder-color);
|
196
326
|
content: attr(data-placeholder);
|
197
327
|
}
|
198
328
|
.bk-search-select-container .search-container-input .input-after:after {
|
199
329
|
padding-left: 2px;
|
200
|
-
color:
|
330
|
+
color: var(--search-select-placeholder-color);
|
201
331
|
content: attr(data-tips);
|
202
332
|
}
|
203
333
|
.bk-search-select-container .search-container .selected-input {
|
@@ -207,7 +337,7 @@
|
|
207
337
|
min-width: 40px;
|
208
338
|
padding: 0 10px;
|
209
339
|
margin-top: -4px;
|
210
|
-
color:
|
340
|
+
color: var(--search-select-font-color);
|
211
341
|
border: none;
|
212
342
|
align-items: center;
|
213
343
|
}
|
@@ -215,7 +345,7 @@
|
|
215
345
|
position: absolute;
|
216
346
|
top: 0;
|
217
347
|
right: 0;
|
218
|
-
color:
|
348
|
+
color: var(--light-gray);
|
219
349
|
flex: 0 0 auto;
|
220
350
|
display: flex;
|
221
351
|
align-items: center;
|
@@ -227,7 +357,7 @@
|
|
227
357
|
height: 12px;
|
228
358
|
margin-right: 6px;
|
229
359
|
font-size: 12px;
|
230
|
-
color:
|
360
|
+
color: var(--light-gray);
|
231
361
|
align-items: center;
|
232
362
|
justify-content: center;
|
233
363
|
}
|
@@ -244,9 +374,9 @@
|
|
244
374
|
justify-content: center;
|
245
375
|
}
|
246
376
|
.bk-search-select-container .search-nextfix .search-nextfix-icon.is-focus {
|
247
|
-
color:
|
377
|
+
color: var(--search-select-focus-color);
|
248
378
|
background: #fff !important;
|
249
|
-
border-color:
|
379
|
+
border-color: var(--search-select-focus-border-color) !important;
|
250
380
|
}
|
251
381
|
.bk-search-select-container::-webkit-scrollbar {
|
252
382
|
width: 3px;
|
@@ -262,7 +392,7 @@
|
|
262
392
|
margin-top: 5px;
|
263
393
|
font-size: 12px;
|
264
394
|
line-height: 16px;
|
265
|
-
color:
|
395
|
+
color: var(--search-select-message-color);
|
266
396
|
align-items: center;
|
267
397
|
}
|
268
398
|
.bk-search-select-tips .select-tips {
|
@@ -279,7 +409,7 @@
|
|
279
409
|
display: flex;
|
280
410
|
min-width: 200px;
|
281
411
|
font-size: 12px;
|
282
|
-
color:
|
412
|
+
color: var(--search-select-font-color);
|
283
413
|
flex-direction: column;
|
284
414
|
}
|
285
415
|
.bk-search-select-menu .menu-list-mixin {
|
@@ -304,7 +434,7 @@
|
|
304
434
|
background-color: #f5f7fa;
|
305
435
|
}
|
306
436
|
.bk-search-select-menu .menu-disabled-mixin {
|
307
|
-
color:
|
437
|
+
color: var(--light-gray);
|
308
438
|
}
|
309
439
|
.bk-search-select-menu .menu-disabled-mixin:hover {
|
310
440
|
cursor: not-allowed;
|
@@ -313,7 +443,7 @@
|
|
313
443
|
.bk-search-select-menu .menu-header {
|
314
444
|
display: flex;
|
315
445
|
flex-direction: column;
|
316
|
-
border-bottom:
|
446
|
+
border-bottom: var(--border-width-base) var(--border-style-base) var(--border-style-color);
|
317
447
|
}
|
318
448
|
.bk-search-select-menu .menu-header-item {
|
319
449
|
display: flex;
|
@@ -333,7 +463,7 @@
|
|
333
463
|
background-color: #f5f7fa;
|
334
464
|
}
|
335
465
|
.bk-search-select-menu .menu-header-item.is-disabled {
|
336
|
-
color:
|
466
|
+
color: var(--light-gray);
|
337
467
|
}
|
338
468
|
.bk-search-select-menu .menu-header-item.is-disabled:hover {
|
339
469
|
cursor: not-allowed;
|
@@ -394,7 +524,7 @@
|
|
394
524
|
}
|
395
525
|
.bk-search-select-menu .menu-content .menu-item .is-keyword {
|
396
526
|
display: inline-flex;
|
397
|
-
color:
|
527
|
+
color: var(--primary-color);
|
398
528
|
}
|
399
529
|
.bk-search-select-menu .menu-content .menu-item .is-selected {
|
400
530
|
display: flex;
|
@@ -402,35 +532,35 @@
|
|
402
532
|
height: 22px;
|
403
533
|
}
|
404
534
|
.bk-search-select-menu .menu-content .menu-item.is-hover {
|
405
|
-
color:
|
535
|
+
color: var(--primary-color);
|
406
536
|
background-color: #f5f7fa;
|
407
537
|
}
|
408
538
|
.bk-search-select-menu .menu-content .menu-item.is-hover .menu-name {
|
409
|
-
color:
|
539
|
+
color: var(--primary-color);
|
410
540
|
}
|
411
541
|
.bk-search-select-menu .menu-content .menu-item.is-disabled {
|
412
|
-
color:
|
542
|
+
color: var(--light-gray);
|
413
543
|
}
|
414
544
|
.bk-search-select-menu .menu-content .menu-item.is-disabled:hover {
|
415
545
|
cursor: not-allowed;
|
416
546
|
background-color: white;
|
417
547
|
}
|
418
548
|
.bk-search-select-menu .menu-content .menu-item.is-disabled .menu-name {
|
419
|
-
color:
|
549
|
+
color: var(--light-gray);
|
420
550
|
}
|
421
551
|
.bk-search-select-menu .menu-content .menu-item .menu-name {
|
422
552
|
display: flex;
|
423
553
|
max-width: 100px;
|
424
554
|
margin-right: 5px;
|
425
555
|
font-weight: bold;
|
426
|
-
color:
|
556
|
+
color: var(--search-select-font-color);
|
427
557
|
align-items: center;
|
428
558
|
}
|
429
559
|
.bk-search-select-menu .menu-footer {
|
430
560
|
display: flex;
|
431
561
|
width: 100%;
|
432
562
|
height: 32px;
|
433
|
-
border-top:
|
563
|
+
border-top: var(--border-width-base) var(--border-style-base) var(--search-select-menu-border-color);
|
434
564
|
align-items: center;
|
435
565
|
}
|
436
566
|
.bk-search-select-menu .menu-footer-btn {
|
@@ -441,14 +571,14 @@
|
|
441
571
|
height: 100%;
|
442
572
|
}
|
443
573
|
.bk-search-select-menu .menu-footer-btn:first-child {
|
444
|
-
border-right:
|
574
|
+
border-right: var(--border-width-base) var(--border-style-base) var(--search-select-menu-border-color);
|
445
575
|
}
|
446
576
|
.bk-search-select-menu .menu-footer-btn:hover {
|
447
|
-
color:
|
577
|
+
color: var(--primary-color);
|
448
578
|
cursor: pointer;
|
449
579
|
}
|
450
580
|
.bk-search-select-menu .menu-footer-btn.is-disabled {
|
451
|
-
color:
|
581
|
+
color: var(--light-gray);
|
452
582
|
}
|
453
583
|
.bk-search-select-menu .menu-footer-btn.is-disabled:hover {
|
454
584
|
cursor: not-allowed;
|