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/input/input.d.ts
CHANGED
@@ -103,8 +103,8 @@ export declare const inputType: {
|
|
103
103
|
} & {
|
104
104
|
default: boolean;
|
105
105
|
};
|
106
|
-
autosize: import("vue-types").VueTypeDef<
|
107
|
-
default:
|
106
|
+
autosize: import("vue-types").VueTypeDef<boolean | InputAutoSize> & {
|
107
|
+
default: boolean | (() => InputAutoSize);
|
108
108
|
};
|
109
109
|
stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
|
110
110
|
default: boolean;
|
@@ -113,20 +113,20 @@ export declare const inputType: {
|
|
113
113
|
};
|
114
114
|
};
|
115
115
|
export declare const enum EVENTS {
|
116
|
-
UPDATE = "update:modelValue",
|
117
|
-
FOCUS = "focus",
|
118
116
|
BLUR = "blur",
|
119
117
|
CHANGE = "change",
|
120
118
|
CLEAR = "clear",
|
119
|
+
COMPOSITIONEND = "compositionend",
|
120
|
+
COMPOSITIONSTART = "compositionstart",
|
121
|
+
COMPOSITIONUPDATE = "compositionupdate",
|
122
|
+
ENTER = "enter",
|
123
|
+
FOCUS = "focus",
|
121
124
|
INPUT = "input",
|
122
|
-
KEYPRESS = "keypress",
|
123
125
|
KEYDOWN = "keydown",
|
126
|
+
KEYPRESS = "keypress",
|
124
127
|
KEYUP = "keyup",
|
125
|
-
ENTER = "enter",
|
126
128
|
PASTE = "paste",
|
127
|
-
|
128
|
-
COMPOSITIONUPDATE = "compositionupdate",
|
129
|
-
COMPOSITIONEND = "compositionend"
|
129
|
+
UPDATE = "update:modelValue"
|
130
130
|
}
|
131
131
|
declare function EventFunction(_value: any, _evt: KeyboardEvent): any;
|
132
132
|
declare function PastEventFunction(_value: any, _e: ClipboardEvent): boolean;
|
@@ -248,8 +248,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
248
248
|
} & {
|
249
249
|
default: boolean;
|
250
250
|
};
|
251
|
-
autosize: import("vue-types").VueTypeDef<
|
252
|
-
default:
|
251
|
+
autosize: import("vue-types").VueTypeDef<boolean | InputAutoSize> & {
|
252
|
+
default: boolean | (() => InputAutoSize);
|
253
253
|
};
|
254
254
|
stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
|
255
255
|
default: boolean;
|
@@ -371,8 +371,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
371
371
|
} & {
|
372
372
|
default: boolean;
|
373
373
|
};
|
374
|
-
autosize: import("vue-types").VueTypeDef<
|
375
|
-
default:
|
374
|
+
autosize: import("vue-types").VueTypeDef<boolean | InputAutoSize> & {
|
375
|
+
default: boolean | (() => InputAutoSize);
|
376
376
|
};
|
377
377
|
stopPropagation: import("vue-types").VueTypeValidableDef<boolean> & {
|
378
378
|
default: boolean;
|
@@ -392,8 +392,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
392
392
|
onKeypress?: (_value: any, _evt: KeyboardEvent) => any;
|
393
393
|
onKeyup?: (_value: any, _evt: KeyboardEvent) => any;
|
394
394
|
onClear?: () => any;
|
395
|
-
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
396
395
|
onEnter?: (_value: any, _evt: KeyboardEvent) => any;
|
396
|
+
"onUpdate:modelValue"?: (_value: any, _evt: KeyboardEvent) => any;
|
397
397
|
}, {
|
398
398
|
type: string;
|
399
399
|
prefix: string;
|
@@ -420,7 +420,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
420
420
|
withValidate: boolean;
|
421
421
|
overMaxLengthLimit: boolean;
|
422
422
|
showOverflowTooltips: boolean;
|
423
|
-
autosize:
|
423
|
+
autosize: boolean | InputAutoSize;
|
424
424
|
stopPropagation: boolean;
|
425
425
|
}, {}>;
|
426
426
|
export default _default;
|
@@ -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% {
|
package/lib/link/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
declare const BkLink: {
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
-
theme: import("vue-types").VueTypeDef<"default" | "success" | "
|
4
|
-
default: "default" | "success" | "
|
3
|
+
theme: import("vue-types").VueTypeDef<"default" | "success" | "danger" | "warning" | "primary"> & {
|
4
|
+
default: "default" | "success" | "danger" | "warning" | "primary";
|
5
5
|
};
|
6
6
|
href: import("vue-types").VueTypeValidableDef<string> & {
|
7
7
|
default: string;
|
@@ -29,8 +29,8 @@ declare const BkLink: {
|
|
29
29
|
handleClick: (event: Event) => boolean;
|
30
30
|
resolveClassName: (cls: string) => string;
|
31
31
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
32
|
-
theme: import("vue-types").VueTypeDef<"default" | "success" | "
|
33
|
-
default: "default" | "success" | "
|
32
|
+
theme: import("vue-types").VueTypeDef<"default" | "success" | "danger" | "warning" | "primary"> & {
|
33
|
+
default: "default" | "success" | "danger" | "warning" | "primary";
|
34
34
|
};
|
35
35
|
href: import("vue-types").VueTypeValidableDef<string> & {
|
36
36
|
default: string;
|
@@ -57,7 +57,7 @@ declare const BkLink: {
|
|
57
57
|
}, {
|
58
58
|
disabled: boolean;
|
59
59
|
target: string;
|
60
|
-
theme: "default" | "success" | "
|
60
|
+
theme: "default" | "success" | "danger" | "warning" | "primary";
|
61
61
|
underline: boolean;
|
62
62
|
href: string;
|
63
63
|
}, true, {}, {}, {
|
@@ -68,8 +68,8 @@ declare const BkLink: {
|
|
68
68
|
M: {};
|
69
69
|
Defaults: {};
|
70
70
|
}, Readonly<import("vue").ExtractPropTypes<{
|
71
|
-
theme: import("vue-types").VueTypeDef<"default" | "success" | "
|
72
|
-
default: "default" | "success" | "
|
71
|
+
theme: import("vue-types").VueTypeDef<"default" | "success" | "danger" | "warning" | "primary"> & {
|
72
|
+
default: "default" | "success" | "danger" | "warning" | "primary";
|
73
73
|
};
|
74
74
|
href: import("vue-types").VueTypeValidableDef<string> & {
|
75
75
|
default: string;
|
@@ -99,7 +99,7 @@ declare const BkLink: {
|
|
99
99
|
}, {}, {}, {}, {
|
100
100
|
disabled: boolean;
|
101
101
|
target: string;
|
102
|
-
theme: "default" | "success" | "
|
102
|
+
theme: "default" | "success" | "danger" | "warning" | "primary";
|
103
103
|
underline: boolean;
|
104
104
|
href: string;
|
105
105
|
}>;
|
@@ -107,8 +107,8 @@ declare const BkLink: {
|
|
107
107
|
__isTeleport?: never;
|
108
108
|
__isSuspense?: never;
|
109
109
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
110
|
-
theme: import("vue-types").VueTypeDef<"default" | "success" | "
|
111
|
-
default: "default" | "success" | "
|
110
|
+
theme: import("vue-types").VueTypeDef<"default" | "success" | "danger" | "warning" | "primary"> & {
|
111
|
+
default: "default" | "success" | "danger" | "warning" | "primary";
|
112
112
|
};
|
113
113
|
href: import("vue-types").VueTypeValidableDef<string> & {
|
114
114
|
default: string;
|
@@ -138,7 +138,7 @@ declare const BkLink: {
|
|
138
138
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
|
139
139
|
disabled: boolean;
|
140
140
|
target: string;
|
141
|
-
theme: "default" | "success" | "
|
141
|
+
theme: "default" | "success" | "danger" | "warning" | "primary";
|
142
142
|
underline: boolean;
|
143
143
|
href: string;
|
144
144
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
package/lib/link/index.js
CHANGED
@@ -83,10 +83,10 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
83
83
|
var LinkThemeEnum;
|
84
84
|
(function (LinkThemeEnum) {
|
85
85
|
LinkThemeEnum["DANGER"] = "danger";
|
86
|
-
LinkThemeEnum["
|
86
|
+
LinkThemeEnum["DEFAULT"] = "default";
|
87
87
|
LinkThemeEnum["PRIMARY"] = "primary";
|
88
|
+
LinkThemeEnum["SUCCESS"] = "success";
|
88
89
|
LinkThemeEnum["WARNING"] = "warning";
|
89
|
-
LinkThemeEnum["DEFAULT"] = "default";
|
90
90
|
})(LinkThemeEnum || (LinkThemeEnum = {}));
|
91
91
|
/* harmony default export */ const src_link = ((0,external_vue_namespaceObject.defineComponent)({
|
92
92
|
name: 'Link',
|
@@ -121,9 +121,9 @@ var LinkThemeEnum;
|
|
121
121
|
'has-underline': this.underline
|
122
122
|
}, "".concat(this.theme, " ").concat(this.resolveClassName('link')));
|
123
123
|
return (0,external_vue_namespaceObject.createVNode)("a", {
|
124
|
+
"class": linkClass,
|
124
125
|
"href": this.href,
|
125
126
|
"target": this.target,
|
126
|
-
"class": linkClass,
|
127
127
|
"onClick": this.handleClick
|
128
128
|
}, [(0,external_vue_namespaceObject.createVNode)("span", null, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)])]);
|
129
129
|
}
|
package/lib/link/link.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
-
theme: import("vue-types").VueTypeDef<"default" | "success" | "
|
3
|
-
default: "default" | "success" | "
|
2
|
+
theme: import("vue-types").VueTypeDef<"default" | "success" | "danger" | "warning" | "primary"> & {
|
3
|
+
default: "default" | "success" | "danger" | "warning" | "primary";
|
4
4
|
};
|
5
5
|
href: import("vue-types").VueTypeValidableDef<string> & {
|
6
6
|
default: string;
|
@@ -26,8 +26,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
26
26
|
handleClick: (event: Event) => boolean;
|
27
27
|
resolveClassName: (cls: string) => string;
|
28
28
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
29
|
-
theme: import("vue-types").VueTypeDef<"default" | "success" | "
|
30
|
-
default: "default" | "success" | "
|
29
|
+
theme: import("vue-types").VueTypeDef<"default" | "success" | "danger" | "warning" | "primary"> & {
|
30
|
+
default: "default" | "success" | "danger" | "warning" | "primary";
|
31
31
|
};
|
32
32
|
href: import("vue-types").VueTypeValidableDef<string> & {
|
33
33
|
default: string;
|
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
54
54
|
}, {
|
55
55
|
disabled: boolean;
|
56
56
|
target: string;
|
57
|
-
theme: "default" | "success" | "
|
57
|
+
theme: "default" | "success" | "danger" | "warning" | "primary";
|
58
58
|
underline: boolean;
|
59
59
|
href: string;
|
60
60
|
}, {}>;
|
@@ -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
|
.bk-link {
|
128
131
|
font-size: var(--font-size-medium);
|
package/lib/loading/index.d.ts
CHANGED
@@ -15,7 +15,7 @@ declare const BkLoading: {
|
|
15
15
|
default: boolean;
|
16
16
|
};
|
17
17
|
theme: {
|
18
|
-
type: import("vue").PropType<"default" | "white" | "success" | "
|
18
|
+
type: import("vue").PropType<"default" | "white" | "success" | "danger" | "warning" | "primary">;
|
19
19
|
};
|
20
20
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
21
21
|
default: string;
|
@@ -65,7 +65,7 @@ declare const BkLoading: {
|
|
65
65
|
default: boolean;
|
66
66
|
};
|
67
67
|
theme: {
|
68
|
-
type: import("vue").PropType<"default" | "white" | "success" | "
|
68
|
+
type: import("vue").PropType<"default" | "white" | "success" | "danger" | "warning" | "primary">;
|
69
69
|
};
|
70
70
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
71
71
|
default: string;
|
@@ -132,7 +132,7 @@ declare const BkLoading: {
|
|
132
132
|
default: boolean;
|
133
133
|
};
|
134
134
|
theme: {
|
135
|
-
type: import("vue").PropType<"default" | "white" | "success" | "
|
135
|
+
type: import("vue").PropType<"default" | "white" | "success" | "danger" | "warning" | "primary">;
|
136
136
|
};
|
137
137
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
138
138
|
default: string;
|
@@ -196,7 +196,7 @@ declare const BkLoading: {
|
|
196
196
|
default: boolean;
|
197
197
|
};
|
198
198
|
theme: {
|
199
|
-
type: import("vue").PropType<"default" | "white" | "success" | "
|
199
|
+
type: import("vue").PropType<"default" | "white" | "success" | "danger" | "warning" | "primary">;
|
200
200
|
};
|
201
201
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
202
202
|
default: string;
|
package/lib/loading/index.js
CHANGED
@@ -133,10 +133,10 @@ var BkLoadingMode;
|
|
133
133
|
})(BkLoadingMode || (BkLoadingMode = {}));
|
134
134
|
var BkLoadingSize;
|
135
135
|
(function (BkLoadingSize) {
|
136
|
-
BkLoadingSize["
|
136
|
+
BkLoadingSize["Large"] = "large";
|
137
137
|
BkLoadingSize["Mini"] = "mini";
|
138
|
+
BkLoadingSize["Normal"] = "";
|
138
139
|
BkLoadingSize["Small"] = "small";
|
139
|
-
BkLoadingSize["Large"] = "large";
|
140
140
|
})(BkLoadingSize || (BkLoadingSize = {}));
|
141
141
|
var defaultIndicator;
|
142
142
|
function setDefaultIndicator(Indicator) {
|
@@ -222,11 +222,11 @@ var loadingTypes = {
|
|
222
222
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
223
223
|
"class": loadingWrapperCls.value
|
224
224
|
}, [(_ctx$slots$default = (_ctx$slots = ctx.slots)["default"]) === null || _ctx$slots$default === void 0 ? void 0 : _ctx$slots$default.call(_ctx$slots), props.loading && [(ctx.slots["default"] || props.isDirective) && (0,external_vue_namespaceObject.createVNode)("div", {
|
225
|
-
"
|
226
|
-
"
|
225
|
+
"style": maskStyle.value,
|
226
|
+
"class": "".concat(resolveClassName('loading-mask'))
|
227
227
|
}, null), (0,external_vue_namespaceObject.createVNode)("div", {
|
228
|
-
"
|
229
|
-
"
|
228
|
+
"style": zIndexStyle.value,
|
229
|
+
"class": containerCls.value
|
230
230
|
}, [indicator.value, hasTitle.value && (0,external_vue_namespaceObject.createVNode)("div", {
|
231
231
|
"class": "".concat(resolveClassName('loading-title'))
|
232
232
|
}, [props.title])])]]);
|
package/lib/loading/loading.d.ts
CHANGED
@@ -4,10 +4,10 @@ export declare enum BkLoadingMode {
|
|
4
4
|
Spin = "spin"
|
5
5
|
}
|
6
6
|
export declare enum BkLoadingSize {
|
7
|
-
|
7
|
+
Large = "large",
|
8
8
|
Mini = "mini",
|
9
|
-
|
10
|
-
|
9
|
+
Normal = "",
|
10
|
+
Small = "small"
|
11
11
|
}
|
12
12
|
export declare function setDefaultIndicator(Indicator: any): void;
|
13
13
|
export declare const loadingTypes: {
|
@@ -25,7 +25,7 @@ export declare const loadingTypes: {
|
|
25
25
|
default: boolean;
|
26
26
|
};
|
27
27
|
theme: {
|
28
|
-
type: PropType<"default" | "white" | "success" | "
|
28
|
+
type: PropType<"default" | "white" | "success" | "danger" | "warning" | "primary">;
|
29
29
|
};
|
30
30
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
31
31
|
default: string;
|
@@ -77,7 +77,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
77
77
|
default: boolean;
|
78
78
|
};
|
79
79
|
theme: {
|
80
|
-
type: PropType<"default" | "white" | "success" | "
|
80
|
+
type: PropType<"default" | "white" | "success" | "danger" | "warning" | "primary">;
|
81
81
|
};
|
82
82
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
83
83
|
default: string;
|
@@ -127,7 +127,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
127
127
|
default: boolean;
|
128
128
|
};
|
129
129
|
theme: {
|
130
|
-
type: PropType<"default" | "white" | "success" | "
|
130
|
+
type: PropType<"default" | "white" | "success" | "danger" | "warning" | "primary">;
|
131
131
|
};
|
132
132
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
133
133
|
default: string;
|
@@ -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% {
|
package/lib/locale/index.d.ts
CHANGED
package/lib/locale/index.js
CHANGED
@@ -173,7 +173,8 @@ var en = {
|
|
173
173
|
uploadLabel: 'Upload Files'
|
174
174
|
},
|
175
175
|
input: {
|
176
|
-
placeholder: 'Please input'
|
176
|
+
placeholder: 'Please input',
|
177
|
+
maxlengthLimitTips: 'Reached character limit'
|
177
178
|
},
|
178
179
|
tagInput: {
|
179
180
|
placeholder: 'Please input and press ENTER to finish'
|
@@ -380,7 +381,8 @@ var zhCn = {
|
|
380
381
|
uploadLabel: '上传文件'
|
381
382
|
},
|
382
383
|
input: {
|
383
|
-
placeholder: '请输入'
|
384
|
+
placeholder: '请输入',
|
385
|
+
maxlengthLimitTips: '已达到字数上限'
|
384
386
|
},
|
385
387
|
tagInput: {
|
386
388
|
placeholder: '请输入并按Enter结束'
|
package/lib/locale/lang/en.d.ts
CHANGED
package/lib/menu/index.js
CHANGED
@@ -133,7 +133,6 @@ var config_provider_y = x => () => x
|
|
133
133
|
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
134
134
|
;// CONCATENATED MODULE: ../../packages/menu/src/utils.ts
|
135
135
|
|
136
|
-
/* eslint-disable no-param-reassign */
|
137
136
|
/*
|
138
137
|
* Tencent is pleased to support the open source community by making
|
139
138
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -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% {
|
@@ -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
|
.bk-menu {
|
128
131
|
display: block;
|
package/lib/menu/utils.d.ts
CHANGED
@@ -8,7 +8,7 @@ export interface IMenuProvider {
|
|
8
8
|
readonly activeKey: Ref<string>;
|
9
9
|
readonly openedKeys: Ref<string[]>;
|
10
10
|
readonly mode: MenuMode;
|
11
|
-
readonly collapse: Ref<
|
11
|
+
readonly collapse: Ref<boolean>;
|
12
12
|
readonly menuStore: Ref<Record<string, IMenuInfo>>;
|
13
13
|
readonly registerMenuInfo: (key: string, info: IMenuInfo) => void;
|
14
14
|
readonly unregisterMenuInfo: (key: string) => void;
|
@@ -28,8 +28,8 @@ export declare const useMenuPathInject: () => IMenuPathProvider | {
|
|
28
28
|
parentInfo: any;
|
29
29
|
parentKeys: Ref<any[]>;
|
30
30
|
};
|
31
|
-
export declare function removeClass(el:
|
32
|
-
export declare function addClass(el:
|
31
|
+
export declare function removeClass(el: Element | HTMLElement, cls: string): void;
|
32
|
+
export declare function addClass(el: Element | HTMLElement, cls: string): void;
|
33
33
|
export declare const collapseMotion: () => {
|
34
34
|
css: boolean;
|
35
35
|
onBeforeEnter: (el: any) => void;
|
package/lib/message/index.js
CHANGED
@@ -1178,12 +1178,6 @@ function _nonIterableSpread() {
|
|
1178
1178
|
function _toConsumableArray(arr) {
|
1179
1179
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
1180
1180
|
}
|
1181
|
-
// EXTERNAL MODULE: ../../node_modules/clipboard/dist/clipboard.js
|
1182
|
-
var clipboard = __webpack_require__(7647);
|
1183
|
-
var clipboard_default = /*#__PURE__*/__webpack_require__.n(clipboard);
|
1184
|
-
// EXTERNAL MODULE: ../../node_modules/json-formatter-js/dist/json-formatter.umd.js
|
1185
|
-
var json_formatter_umd = __webpack_require__(4346);
|
1186
|
-
var json_formatter_umd_default = /*#__PURE__*/__webpack_require__.n(json_formatter_umd);
|
1187
1181
|
;// CONCATENATED MODULE: external "vue-types"
|
1188
1182
|
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1189
1183
|
var external_vue_types_y = x => () => x
|
@@ -1196,6 +1190,12 @@ const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () =>
|
|
1196
1190
|
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1197
1191
|
var icon_y = x => () => x
|
1198
1192
|
const icon_namespaceObject = icon_x({ ["AngleDoubleDownLine"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDoubleDownLine, ["AngleDoubleUpLine"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDoubleUpLine, ["Assistant"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Assistant, ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["CopyShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.CopyShape, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error, ["FixLine"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.FixLine, ["FixShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.FixShape, ["Info"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Info, ["Success"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Success, ["Warn"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Warn });
|
1193
|
+
// EXTERNAL MODULE: ../../node_modules/clipboard/dist/clipboard.js
|
1194
|
+
var clipboard = __webpack_require__(7647);
|
1195
|
+
var clipboard_default = /*#__PURE__*/__webpack_require__.n(clipboard);
|
1196
|
+
// EXTERNAL MODULE: ../../node_modules/json-formatter-js/dist/json-formatter.umd.js
|
1197
|
+
var json_formatter_umd = __webpack_require__(4346);
|
1198
|
+
var json_formatter_umd_default = /*#__PURE__*/__webpack_require__.n(json_formatter_umd);
|
1199
1199
|
;// CONCATENATED MODULE: ../../packages/message/src/messageConstructor.tsx
|
1200
1200
|
|
1201
1201
|
|
@@ -1237,15 +1237,15 @@ function messageConstructor_objectSpread(e) { for (var r = 1; r < arguments.leng
|
|
1237
1237
|
|
1238
1238
|
var MessageThemeEnum;
|
1239
1239
|
(function (MessageThemeEnum) {
|
1240
|
+
MessageThemeEnum["ERROR"] = "error";
|
1240
1241
|
MessageThemeEnum["PRIMARY"] = "primary";
|
1241
|
-
MessageThemeEnum["WARNING"] = "warning";
|
1242
1242
|
MessageThemeEnum["SUCCESS"] = "success";
|
1243
|
-
MessageThemeEnum["
|
1243
|
+
MessageThemeEnum["WARNING"] = "warning";
|
1244
1244
|
})(MessageThemeEnum || (MessageThemeEnum = {}));
|
1245
1245
|
var MessageContentType;
|
1246
1246
|
(function (MessageContentType) {
|
1247
|
-
MessageContentType["KEY_VALUE"] = "key-value";
|
1248
1247
|
MessageContentType["JSON"] = "json";
|
1248
|
+
MessageContentType["KEY_VALUE"] = "key-value";
|
1249
1249
|
})(MessageContentType || (MessageContentType = {}));
|
1250
1250
|
var IMessageActionType;
|
1251
1251
|
(function (IMessageActionType) {
|
@@ -1253,6 +1253,10 @@ var IMessageActionType;
|
|
1253
1253
|
* 联系助手:默认直接拉起企业微信与助手的聊天,需要在 message.assistant 配置对应的企微群ID
|
1254
1254
|
*/
|
1255
1255
|
IMessageActionType["ASSISTANT"] = "assistant";
|
1256
|
+
/**
|
1257
|
+
* 关闭:点击关闭,Message 消失
|
1258
|
+
*/
|
1259
|
+
IMessageActionType["CLOSE"] = "close";
|
1256
1260
|
/**
|
1257
1261
|
* 展开详情:展开面向开发的详情
|
1258
1262
|
*/
|
@@ -1261,10 +1265,6 @@ var IMessageActionType;
|
|
1261
1265
|
* 图钉按钮:点击后,Message 不会自动消失
|
1262
1266
|
*/
|
1263
1267
|
IMessageActionType["FIX"] = "fix";
|
1264
|
-
/**
|
1265
|
-
* 关闭:点击关闭,Message 消失
|
1266
|
-
*/
|
1267
|
-
IMessageActionType["CLOSE"] = "close";
|
1268
1268
|
})(IMessageActionType || (IMessageActionType = {}));
|
1269
1269
|
var messageProps = {
|
1270
1270
|
id: shared_namespaceObject.PropTypes.string.def(''),
|
@@ -1722,11 +1722,11 @@ var messageProps = {
|
|
1722
1722
|
}, [_this2.renderMessageActions()])]), _this2.toolOperation.isDetailShow && (0,external_vue_namespaceObject.createVNode)("div", {
|
1723
1723
|
"class": "message-detail"
|
1724
1724
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
1725
|
-
"
|
1726
|
-
"
|
1725
|
+
"ref": "refCopyMsgDiv",
|
1726
|
+
"class": "message-copy"
|
1727
1727
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.CopyShape, null, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
|
1728
|
-
"
|
1729
|
-
"
|
1728
|
+
"ref": "refCopyStatus",
|
1729
|
+
"class": "copy-status"
|
1730
1730
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
1731
1731
|
"class": "inner"
|
1732
1732
|
}, [renderIcon(_this2.copyStatus), _this2.copyStatus === 'success' ? _this2.t.copySuccess : _this2.t.copyFailed])]), (0,external_vue_namespaceObject.createVNode)("div", {
|
@@ -1748,8 +1748,8 @@ var messageProps = {
|
|
1748
1748
|
}, {
|
1749
1749
|
"default": function _default() {
|
1750
1750
|
return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
1751
|
-
"class": _this2.classNames,
|
1752
1751
|
"style": _this2.styles,
|
1752
|
+
"class": _this2.classNames,
|
1753
1753
|
"onMouseenter": _this2.handleMouseenter,
|
1754
1754
|
"onMouseleave": _this2.handleMouseleave
|
1755
1755
|
}, [renderMessage()]), [[external_vue_namespaceObject.vShow, _this2.visible]])];
|
@@ -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
|
.bk-message {
|
128
131
|
position: fixed;
|
@@ -1,13 +1,17 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
2
|
declare enum MessageContentType {
|
3
|
-
|
4
|
-
|
3
|
+
JSON = "json",
|
4
|
+
KEY_VALUE = "key-value"
|
5
5
|
}
|
6
6
|
declare enum IMessageActionType {
|
7
7
|
/**
|
8
8
|
* 联系助手:默认直接拉起企业微信与助手的聊天,需要在 message.assistant 配置对应的企微群ID
|
9
9
|
*/
|
10
10
|
ASSISTANT = "assistant",
|
11
|
+
/**
|
12
|
+
* 关闭:点击关闭,Message 消失
|
13
|
+
*/
|
14
|
+
CLOSE = "close",
|
11
15
|
/**
|
12
16
|
* 展开详情:展开面向开发的详情
|
13
17
|
*/
|
@@ -15,11 +19,7 @@ declare enum IMessageActionType {
|
|
15
19
|
/**
|
16
20
|
* 图钉按钮:点击后,Message 不会自动消失
|
17
21
|
*/
|
18
|
-
FIX = "fix"
|
19
|
-
/**
|
20
|
-
* 关闭:点击关闭,Message 消失
|
21
|
-
*/
|
22
|
-
CLOSE = "close"
|
22
|
+
FIX = "fix"
|
23
23
|
}
|
24
24
|
type IMessageAction = {
|
25
25
|
/**
|
@@ -34,13 +34,13 @@ type IMessageAction = {
|
|
34
34
|
/**
|
35
35
|
* 需要展示的ICON,如果不设置显示默认
|
36
36
|
*/
|
37
|
-
icon?: () => VNode |
|
37
|
+
icon?: () => VNode | VNode | string;
|
38
38
|
/**
|
39
39
|
* 鼠标点击事件,如果返回false则阻止默认点击行为
|
40
40
|
* 如果返回其他,默认行为不会阻止
|
41
41
|
* @returns
|
42
42
|
*/
|
43
|
-
onClick?: (...args: any[]) =>
|
43
|
+
onClick?: (...args: any[]) => boolean | void;
|
44
44
|
/**
|
45
45
|
* 自定义渲染 & 事件处理
|
46
46
|
* 如果设置了render则整个渲染都需要自己处理,默认渲染将会被阻止
|
@@ -67,7 +67,7 @@ export type IMessage = {
|
|
67
67
|
/**
|
68
68
|
* 错误码
|
69
69
|
*/
|
70
|
-
code:
|
70
|
+
code: number | string;
|
71
71
|
/**
|
72
72
|
* 错误概述
|
73
73
|
*/
|
@@ -79,7 +79,7 @@ export type IMessage = {
|
|
79
79
|
/**
|
80
80
|
* 详情
|
81
81
|
*/
|
82
|
-
details:
|
82
|
+
details: Array<Record<string, any> | boolean | number | string> | Record<string, any> | string;
|
83
83
|
/**
|
84
84
|
* 助手
|
85
85
|
*/
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { type Ref } from 'vue';
|
2
|
+
import type { ModalProps } from './modal';
|
3
|
+
export declare const useContentResize: (root: Ref<HTMLElement | undefined>, resizeTarget: Ref<HTMLElement | undefined>, props: ModalProps) => {
|
4
|
+
contentStyles: Ref<{}>;
|
5
|
+
isContentScroll: Ref<boolean>;
|
6
|
+
};
|