bkui-vue 1.0.3-beta.2 → 1.0.3-beta.21
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 +72 -72
- package/dist/index.esm.js +15120 -13962
- package/dist/index.umd.js +71 -71
- 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 +1 -0
- package/lib/alert/alert.variable.css +3 -0
- package/lib/alert/index.js +1 -0
- package/lib/animate-number/index.js +1 -0
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/backtop/index.js +1 -0
- package/lib/badge/badge.variable.css +3 -0
- package/lib/badge/index.js +1 -0
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/breadcrumb/index.js +1 -0
- package/lib/button/button.variable.css +3 -0
- package/lib/button/index.js +1 -0
- package/lib/card/card.variable.css +3 -0
- package/lib/card/index.js +1 -0
- package/lib/cascader/cascader.variable.css +3 -0
- package/lib/cascader/index.js +1 -0
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +1 -0
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.variable.css +3 -0
- package/lib/collapse/index.js +1 -0
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/collapse-transition/index.js +1 -0
- package/lib/color-picker/color-picker.variable.css +3 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/components.js +0 -4
- 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 +4 -0
- package/lib/config-provider/index.js +1 -0
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/container/index.js +1 -0
- package/lib/date-picker/date-picker.variable.css +3 -0
- package/lib/date-picker/index.js +6 -2
- package/lib/dialog/dialog.variable.css +3 -0
- package/lib/dialog/index.js +1 -0
- package/lib/directives/index.js +1 -0
- package/lib/dist.index.js +0 -1
- package/lib/divider/divider.variable.css +3 -0
- package/lib/divider/index.js +1 -0
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.variable.css +3 -0
- package/lib/exception/index.js +1 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/fixed-navbar/index.js +1 -0
- package/lib/form/form.css +1 -0
- package/lib/form/form.less +2 -0
- package/lib/form/form.variable.css +4 -0
- package/lib/form/index.js +1 -0
- package/lib/hooks.js +1 -8
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +35 -1
- package/lib/icon/text-all.d.ts +4 -0
- package/lib/icon/text-all.js +276 -0
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +1 -0
- package/lib/index.js +0 -1
- package/lib/info-box/index.js +41 -455
- package/lib/info-box/info-box.variable.css +3 -0
- package/lib/input/index.js +6 -0
- package/lib/input/input.variable.css +3 -0
- package/lib/link/index.js +1 -0
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/index.js +1 -0
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.js +5 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/message/index.js +1 -0
- package/lib/message/message.variable.css +3 -0
- package/lib/modal/index.d.ts +6 -6
- package/lib/modal/index.js +6 -5
- package/lib/modal/modal.d.ts +2 -2
- package/lib/modal/modal.variable.css +3 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.variable.css +3 -0
- package/lib/overflow-title/index.js +1 -0
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.variable.css +3 -0
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +56 -31
- package/lib/plugins/index.js +1 -0
- package/lib/pop-confirm/index.js +1 -0
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.js +56 -31
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/popover2/index.js +1 -0
- package/lib/preset.d.ts +2 -0
- package/lib/preset.js +14 -20
- package/lib/process/index.js +1 -0
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/index.js +1 -0
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.js +1 -0
- package/lib/radio/radio.variable.css +3 -0
- package/lib/rate/index.js +1 -0
- package/lib/rate/rate.variable.css +3 -0
- package/lib/rate/star.variable.css +3 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/search-select/index.js +1 -0
- package/lib/search-select/search-select.variable.css +3 -0
- package/lib/select/index.d.ts +68 -6
- package/lib/select/index.js +1327 -68
- 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 +36 -7
- package/lib/select/select.d.ts +28 -2
- package/lib/select/select.less +43 -13
- package/lib/select/select.variable.css +39 -7
- package/lib/select/type.d.ts +2 -3
- package/lib/shared/index.js +45 -3
- package/lib/shared/utils.d.ts +12 -0
- package/lib/sideslider/index.d.ts +6 -6
- package/lib/sideslider/index.js +1 -0
- package/lib/sideslider/sideslider.d.ts +2 -2
- package/lib/sideslider/sideslider.variable.css +3 -0
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider.variable.css +3 -0
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.variable.css +3 -0
- 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 +3 -1
- package/lib/styles/reset.less +3 -1
- package/lib/styles/reset.variable.css +6 -1
- package/lib/styles/themes/themes.less +5 -0
- package/lib/swiper/index.js +1 -0
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/index.js +1 -0
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/tab.variable.css +3 -0
- package/lib/table/components/table-column.d.ts +2 -0
- package/lib/table/index.d.ts +17 -0
- package/lib/table/index.js +1323 -1100
- package/lib/table/plugins/head-filter.variable.css +3 -0
- package/lib/table/plugins/head-sort.d.ts +7 -0
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/props.d.ts +13 -2
- package/lib/table/table.css +17 -17
- package/lib/table/table.d.ts +7 -0
- package/lib/table/table.less +26 -14
- package/lib/table/table.variable.css +20 -17
- package/lib/table/use-attributes.d.ts +5 -43
- package/lib/table/use-common.d.ts +1 -0
- package/lib/table/utils.d.ts +5 -4
- package/lib/table-column/index.d.ts +112 -106
- package/lib/table-column/index.js +44 -4
- package/lib/tag/index.js +1 -0
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/index.d.ts +4 -4
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/tag-input.d.ts +2 -2
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +1 -1
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +35 -35
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.variable.css +3 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/transfer.variable.css +3 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/tree.variable.css +3 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/upload.variable.css +3 -0
- package/lib/virtual-render/index.d.ts +9 -9
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/virtual-render.d.ts +3 -3
- package/lib/virtual-render/virtual-render.variable.css +3 -0
- package/package.json +3 -2
@@ -1,3 +1,4 @@
|
|
1
|
+
import "../styles/reset.css";
|
1
2
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
2
3
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
@@ -82,7 +83,7 @@ function _defineProperty(obj, key, value) {
|
|
82
83
|
;// CONCATENATED MODULE: external "vue"
|
83
84
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
84
85
|
var external_vue_y = x => () => x
|
85
|
-
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref });
|
86
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref });
|
86
87
|
;// CONCATENATED MODULE: ../../packages/table/src/const.ts
|
87
88
|
|
88
89
|
/*
|
@@ -414,6 +415,13 @@ var tableProps = {
|
|
414
415
|
* 是否显示Head
|
415
416
|
*/
|
416
417
|
showHead: shared_namespaceObject.PropTypes.bool.def(true),
|
418
|
+
/**
|
419
|
+
* 排序时对需要排序的字符串数值进行格式化
|
420
|
+
* 这里需要配置为正则或者回调函数,(str) => string | number | boolean
|
421
|
+
* 如果配置为正则,程序会提取匹配到的第一个结果尝试转换为数值
|
422
|
+
* 如果为多个,程序会顺序执行所有正则表达式,直到转换成功
|
423
|
+
*/
|
424
|
+
sortValFormat: shared_namespaceObject.PropTypes.arrayOf(shared_namespaceObject.PropTypes.any).def(['']),
|
417
425
|
/**
|
418
426
|
* table header config
|
419
427
|
*/
|
@@ -657,18 +665,38 @@ var TableColumnProp = {
|
|
657
665
|
var column = (0,external_vue_namespaceObject.reactive)(Object.assign({}, props, {
|
658
666
|
field: props.prop || props.field
|
659
667
|
}));
|
668
|
+
var isIndexPropChanged = (0,external_vue_namespaceObject.ref)(false);
|
669
|
+
var setIsIndexChanged = function setIsIndexChanged(val) {
|
670
|
+
isIndexPropChanged.value = val;
|
671
|
+
};
|
660
672
|
return {
|
673
|
+
isIndexPropChanged: isIndexPropChanged,
|
674
|
+
setIsIndexChanged: setIsIndexChanged,
|
661
675
|
initColumns: initColumns,
|
662
676
|
bkTableCache: bkTableCache,
|
663
677
|
column: column
|
664
678
|
};
|
665
679
|
},
|
680
|
+
watch: {
|
681
|
+
index: {
|
682
|
+
handler: function handler() {
|
683
|
+
this.setIsIndexChanged(!this.isIndexPropChanged);
|
684
|
+
},
|
685
|
+
deep: true
|
686
|
+
}
|
687
|
+
},
|
666
688
|
unmounted: function unmounted() {
|
667
689
|
this.updateColumnDefine(true);
|
668
690
|
},
|
669
691
|
mounted: function mounted() {
|
670
692
|
this.updateColumnDefine();
|
671
693
|
},
|
694
|
+
updated: function updated() {
|
695
|
+
if (this.isIndexPropChanged) {
|
696
|
+
this.updateColumnDefineByParent();
|
697
|
+
this.setIsIndexChanged(!this.isIndexPropChanged);
|
698
|
+
}
|
699
|
+
},
|
672
700
|
methods: {
|
673
701
|
updateColumnDefine: function updateColumnDefine() {
|
674
702
|
var unmounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
@@ -691,7 +719,19 @@ var TableColumnProp = {
|
|
691
719
|
var fn = function fn() {
|
692
720
|
// @ts-ignore
|
693
721
|
var selfVnode = _this._;
|
694
|
-
var
|
722
|
+
var getTableNode = function getTableNode() {
|
723
|
+
var _parentVnode$type;
|
724
|
+
var parentVnode = selfVnode.parent;
|
725
|
+
if (((_parentVnode$type = parentVnode.type) === null || _parentVnode$type === void 0 ? void 0 : _parentVnode$type.name) === 'Table') {
|
726
|
+
return parentVnode.vnode;
|
727
|
+
}
|
728
|
+
return getTableNode();
|
729
|
+
};
|
730
|
+
var tableNode = getTableNode();
|
731
|
+
if (!tableNode) {
|
732
|
+
return;
|
733
|
+
}
|
734
|
+
var colList = tableNode.children["default"]() || [];
|
695
735
|
var sortColumns = [];
|
696
736
|
var index = 0;
|
697
737
|
var reduceColumns = function reduceColumns(nodes) {
|
@@ -699,7 +739,7 @@ var TableColumnProp = {
|
|
699
739
|
return;
|
700
740
|
}
|
701
741
|
nodes.forEach(function (node) {
|
702
|
-
var _node$type, _node$children2;
|
742
|
+
var _node$type, _node$children2, _node$type2;
|
703
743
|
if (Array.isArray(node)) {
|
704
744
|
reduceColumns(node);
|
705
745
|
return;
|
@@ -717,7 +757,7 @@ var TableColumnProp = {
|
|
717
757
|
sortColumns.push((0,external_vue_namespaceObject.unref)(resolveProp));
|
718
758
|
index = index + 1;
|
719
759
|
}
|
720
|
-
if ((_node$children2 = node.children) !== null && _node$children2 !== void 0 && _node$children2.length && skipValidateKey0) {
|
760
|
+
if ((_node$children2 = node.children) !== null && _node$children2 !== void 0 && _node$children2.length && skipValidateKey0 && ((_node$type2 = node.type) === null || _node$type2 === void 0 ? void 0 : _node$type2.name) !== 'Table') {
|
721
761
|
reduceColumns(node.children);
|
722
762
|
}
|
723
763
|
});
|
package/lib/tag/index.js
CHANGED
package/lib/tag/tag.variable.css
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,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-tag {
|
128
131
|
display: inline-flex;
|
package/lib/tag-input/index.d.ts
CHANGED
@@ -274,7 +274,7 @@ declare const TagInput: {
|
|
274
274
|
default: boolean;
|
275
275
|
};
|
276
276
|
tagOverflowTips: {
|
277
|
-
type: import("vue").PropType<Partial<import("../directives/
|
277
|
+
type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
|
278
278
|
default: () => {};
|
279
279
|
};
|
280
280
|
}>> & {
|
@@ -617,7 +617,7 @@ declare const TagInput: {
|
|
617
617
|
default: boolean;
|
618
618
|
};
|
619
619
|
tagOverflowTips: {
|
620
|
-
type: import("vue").PropType<Partial<import("../directives/
|
620
|
+
type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
|
621
621
|
default: () => {};
|
622
622
|
};
|
623
623
|
}>> & {
|
@@ -941,7 +941,7 @@ declare const TagInput: {
|
|
941
941
|
default: boolean;
|
942
942
|
};
|
943
943
|
tagOverflowTips: {
|
944
|
-
type: import("vue").PropType<Partial<import("../directives/
|
944
|
+
type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
|
945
945
|
default: () => {};
|
946
946
|
};
|
947
947
|
}>> & {
|
@@ -1318,7 +1318,7 @@ declare const TagInput: {
|
|
1318
1318
|
default: boolean;
|
1319
1319
|
};
|
1320
1320
|
tagOverflowTips: {
|
1321
|
-
type: import("vue").PropType<Partial<import("../directives/
|
1321
|
+
type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
|
1322
1322
|
default: () => {};
|
1323
1323
|
};
|
1324
1324
|
}>> & {
|
package/lib/tag-input/index.js
CHANGED
@@ -274,7 +274,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
274
274
|
default: boolean;
|
275
275
|
};
|
276
276
|
tagOverflowTips: {
|
277
|
-
type: import("vue").PropType<Partial<import("../directives/
|
277
|
+
type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>; /**
|
278
278
|
* 不显示条件:
|
279
279
|
* 1. 设置不可清除
|
280
280
|
* 2. 禁用时
|
@@ -614,7 +614,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
614
614
|
default: boolean;
|
615
615
|
};
|
616
616
|
tagOverflowTips: {
|
617
|
-
type: import("vue").PropType<Partial<import("../directives/
|
617
|
+
type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>; /**
|
618
618
|
* 不显示条件:
|
619
619
|
* 1. 设置不可清除
|
620
620
|
* 2. 禁用时
|
@@ -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-tag-input {
|
128
131
|
position: relative;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ExtractPropTypes, PropType, VNode } from 'vue';
|
2
|
-
import { IOptions } from '../directives/
|
2
|
+
import { IOptions } from '../directives/tooltips';
|
3
3
|
declare const tagProps: () => {
|
4
4
|
modelValue: import("vue-types").VueTypeDef<string[]> & {
|
5
5
|
default: () => string[];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PropType } from 'vue';
|
2
|
-
import { IOptions } from '../directives/
|
2
|
+
import { IOptions } from '../directives/tooltips';
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
4
4
|
node: import("vue-types").VueTypeValidableDef<{
|
5
5
|
[key: string]: any;
|
@@ -25,7 +25,7 @@ declare const BkTimePicker: {
|
|
25
25
|
readonly default: true;
|
26
26
|
};
|
27
27
|
type: {
|
28
|
-
type: import("vue").PropType<import("
|
28
|
+
type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
|
29
29
|
default: string;
|
30
30
|
validator(value: any): boolean;
|
31
31
|
};
|
@@ -89,7 +89,7 @@ declare const BkTimePicker: {
|
|
89
89
|
readonly default: false;
|
90
90
|
};
|
91
91
|
shortcuts: {
|
92
|
-
readonly type: import("vue").PropType<import("
|
92
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
|
93
93
|
readonly default: () => any[];
|
94
94
|
};
|
95
95
|
shortcutClose: {
|
@@ -97,10 +97,10 @@ declare const BkTimePicker: {
|
|
97
97
|
readonly default: false;
|
98
98
|
};
|
99
99
|
modelValue: {
|
100
|
-
readonly type: import("vue").PropType<import("
|
100
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
101
101
|
};
|
102
102
|
value: {
|
103
|
-
readonly type: import("vue").PropType<import("
|
103
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
104
104
|
};
|
105
105
|
options: {
|
106
106
|
readonly type: ObjectConstructor;
|
@@ -135,7 +135,7 @@ declare const BkTimePicker: {
|
|
135
135
|
readonly default: "normal";
|
136
136
|
readonly validator: (v: any) => boolean;
|
137
137
|
};
|
138
|
-
disabledDate: import("vue").PropType<import("
|
138
|
+
disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
|
139
139
|
withValidate: {
|
140
140
|
readonly type: BooleanConstructor;
|
141
141
|
readonly default: true;
|
@@ -149,7 +149,7 @@ declare const BkTimePicker: {
|
|
149
149
|
"onOpen-change"?: (...args: any[]) => any;
|
150
150
|
"onShortcut-change"?: (...args: any[]) => any;
|
151
151
|
}, {
|
152
|
-
panel: import("vue").ComputedRef<import("
|
152
|
+
panel: import("vue").ComputedRef<import("../date-picker/interface").DatePickerPanelType>;
|
153
153
|
publicStringValue: import("vue").ComputedRef<any>;
|
154
154
|
opened: import("vue").ComputedRef<boolean>;
|
155
155
|
visualValue: import("vue").ComputedRef<any>;
|
@@ -191,7 +191,7 @@ declare const BkTimePicker: {
|
|
191
191
|
internalValue: import("vue").Ref<any>;
|
192
192
|
disableClickOutSide: import("vue").Ref<boolean>;
|
193
193
|
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
194
|
-
selectionMode: import("vue").Ref<import("
|
194
|
+
selectionMode: import("vue").Ref<import("../date-picker/interface").SelectionModeType>;
|
195
195
|
forceInputRerender: import("vue").Ref<number>;
|
196
196
|
isFocused: import("vue").Ref<boolean>;
|
197
197
|
focusedDate: import("vue").Ref<any>;
|
@@ -204,7 +204,7 @@ declare const BkTimePicker: {
|
|
204
204
|
internalFocus: import("vue").Ref<boolean>;
|
205
205
|
timeEnterMode: import("vue").Ref<boolean>;
|
206
206
|
shortcut: import("vue").Ref<any>;
|
207
|
-
onSelectionModeChange: import("vue").Ref<(_type: any) => import("
|
207
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("../date-picker/interface").SelectionModeType>;
|
208
208
|
tmpValue: import("vue").Ref<any>;
|
209
209
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
210
210
|
disabledHours: {
|
@@ -232,7 +232,7 @@ declare const BkTimePicker: {
|
|
232
232
|
readonly default: true;
|
233
233
|
};
|
234
234
|
type: {
|
235
|
-
type: import("vue").PropType<import("
|
235
|
+
type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
|
236
236
|
default: string;
|
237
237
|
validator(value: any): boolean;
|
238
238
|
};
|
@@ -296,7 +296,7 @@ declare const BkTimePicker: {
|
|
296
296
|
readonly default: false;
|
297
297
|
};
|
298
298
|
shortcuts: {
|
299
|
-
readonly type: import("vue").PropType<import("
|
299
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
|
300
300
|
readonly default: () => any[];
|
301
301
|
};
|
302
302
|
shortcutClose: {
|
@@ -304,10 +304,10 @@ declare const BkTimePicker: {
|
|
304
304
|
readonly default: false;
|
305
305
|
};
|
306
306
|
modelValue: {
|
307
|
-
readonly type: import("vue").PropType<import("
|
307
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
308
308
|
};
|
309
309
|
value: {
|
310
|
-
readonly type: import("vue").PropType<import("
|
310
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
311
311
|
};
|
312
312
|
options: {
|
313
313
|
readonly type: ObjectConstructor;
|
@@ -342,7 +342,7 @@ declare const BkTimePicker: {
|
|
342
342
|
readonly default: "normal";
|
343
343
|
readonly validator: (v: any) => boolean;
|
344
344
|
};
|
345
|
-
disabledDate: import("vue").PropType<import("
|
345
|
+
disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
|
346
346
|
withValidate: {
|
347
347
|
readonly type: BooleanConstructor;
|
348
348
|
readonly default: true;
|
@@ -356,7 +356,7 @@ declare const BkTimePicker: {
|
|
356
356
|
"onOpen-change"?: (...args: any[]) => any;
|
357
357
|
"onShortcut-change"?: (...args: any[]) => any;
|
358
358
|
}, {
|
359
|
-
type: import("
|
359
|
+
type: import("../date-picker/interface").PickerTypeType;
|
360
360
|
width: number;
|
361
361
|
disabled: boolean;
|
362
362
|
placement: import("@popperjs/core").ComputedPlacement;
|
@@ -375,7 +375,7 @@ declare const BkTimePicker: {
|
|
375
375
|
timePickerOptions: {};
|
376
376
|
splitPanels: boolean;
|
377
377
|
appendToBody: boolean;
|
378
|
-
shortcuts: import("
|
378
|
+
shortcuts: import("../date-picker/interface").DatePickerShortcutsType;
|
379
379
|
shortcutClose: boolean;
|
380
380
|
upToNow: boolean;
|
381
381
|
useShortcutText: boolean;
|
@@ -429,7 +429,7 @@ declare const BkTimePicker: {
|
|
429
429
|
readonly default: true;
|
430
430
|
};
|
431
431
|
type: {
|
432
|
-
type: import("vue").PropType<import("
|
432
|
+
type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
|
433
433
|
default: string;
|
434
434
|
validator(value: any): boolean;
|
435
435
|
};
|
@@ -493,7 +493,7 @@ declare const BkTimePicker: {
|
|
493
493
|
readonly default: false;
|
494
494
|
};
|
495
495
|
shortcuts: {
|
496
|
-
readonly type: import("vue").PropType<import("
|
496
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
|
497
497
|
readonly default: () => any[];
|
498
498
|
};
|
499
499
|
shortcutClose: {
|
@@ -501,10 +501,10 @@ declare const BkTimePicker: {
|
|
501
501
|
readonly default: false;
|
502
502
|
};
|
503
503
|
modelValue: {
|
504
|
-
readonly type: import("vue").PropType<import("
|
504
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
505
505
|
};
|
506
506
|
value: {
|
507
|
-
readonly type: import("vue").PropType<import("
|
507
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
508
508
|
};
|
509
509
|
options: {
|
510
510
|
readonly type: ObjectConstructor;
|
@@ -539,7 +539,7 @@ declare const BkTimePicker: {
|
|
539
539
|
readonly default: "normal";
|
540
540
|
readonly validator: (v: any) => boolean;
|
541
541
|
};
|
542
|
-
disabledDate: import("vue").PropType<import("
|
542
|
+
disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
|
543
543
|
withValidate: {
|
544
544
|
readonly type: BooleanConstructor;
|
545
545
|
readonly default: true;
|
@@ -553,7 +553,7 @@ declare const BkTimePicker: {
|
|
553
553
|
"onOpen-change"?: (...args: any[]) => any;
|
554
554
|
"onShortcut-change"?: (...args: any[]) => any;
|
555
555
|
}, {
|
556
|
-
panel: import("vue").ComputedRef<import("
|
556
|
+
panel: import("vue").ComputedRef<import("../date-picker/interface").DatePickerPanelType>;
|
557
557
|
publicStringValue: import("vue").ComputedRef<any>;
|
558
558
|
opened: import("vue").ComputedRef<boolean>;
|
559
559
|
visualValue: import("vue").ComputedRef<any>;
|
@@ -595,7 +595,7 @@ declare const BkTimePicker: {
|
|
595
595
|
internalValue: import("vue").Ref<any>;
|
596
596
|
disableClickOutSide: import("vue").Ref<boolean>;
|
597
597
|
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
598
|
-
selectionMode: import("vue").Ref<import("
|
598
|
+
selectionMode: import("vue").Ref<import("../date-picker/interface").SelectionModeType>;
|
599
599
|
forceInputRerender: import("vue").Ref<number>;
|
600
600
|
isFocused: import("vue").Ref<boolean>;
|
601
601
|
focusedDate: import("vue").Ref<any>;
|
@@ -608,10 +608,10 @@ declare const BkTimePicker: {
|
|
608
608
|
internalFocus: import("vue").Ref<boolean>;
|
609
609
|
timeEnterMode: import("vue").Ref<boolean>;
|
610
610
|
shortcut: import("vue").Ref<any>;
|
611
|
-
onSelectionModeChange: import("vue").Ref<(_type: any) => import("
|
611
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("../date-picker/interface").SelectionModeType>;
|
612
612
|
tmpValue: import("vue").Ref<any>;
|
613
613
|
}, {}, {}, {}, {
|
614
|
-
type: import("
|
614
|
+
type: import("../date-picker/interface").PickerTypeType;
|
615
615
|
width: number;
|
616
616
|
disabled: boolean;
|
617
617
|
placement: import("@popperjs/core").ComputedPlacement;
|
@@ -630,7 +630,7 @@ declare const BkTimePicker: {
|
|
630
630
|
timePickerOptions: {};
|
631
631
|
splitPanels: boolean;
|
632
632
|
appendToBody: boolean;
|
633
|
-
shortcuts: import("
|
633
|
+
shortcuts: import("../date-picker/interface").DatePickerShortcutsType;
|
634
634
|
shortcutClose: boolean;
|
635
635
|
upToNow: boolean;
|
636
636
|
useShortcutText: boolean;
|
@@ -673,7 +673,7 @@ declare const BkTimePicker: {
|
|
673
673
|
readonly default: true;
|
674
674
|
};
|
675
675
|
type: {
|
676
|
-
type: import("vue").PropType<import("
|
676
|
+
type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
|
677
677
|
default: string;
|
678
678
|
validator(value: any): boolean;
|
679
679
|
};
|
@@ -737,7 +737,7 @@ declare const BkTimePicker: {
|
|
737
737
|
readonly default: false;
|
738
738
|
};
|
739
739
|
shortcuts: {
|
740
|
-
readonly type: import("vue").PropType<import("
|
740
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
|
741
741
|
readonly default: () => any[];
|
742
742
|
};
|
743
743
|
shortcutClose: {
|
@@ -745,10 +745,10 @@ declare const BkTimePicker: {
|
|
745
745
|
readonly default: false;
|
746
746
|
};
|
747
747
|
modelValue: {
|
748
|
-
readonly type: import("vue").PropType<import("
|
748
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
749
749
|
};
|
750
750
|
value: {
|
751
|
-
readonly type: import("vue").PropType<import("
|
751
|
+
readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
|
752
752
|
};
|
753
753
|
options: {
|
754
754
|
readonly type: ObjectConstructor;
|
@@ -783,7 +783,7 @@ declare const BkTimePicker: {
|
|
783
783
|
readonly default: "normal";
|
784
784
|
readonly validator: (v: any) => boolean;
|
785
785
|
};
|
786
|
-
disabledDate: import("vue").PropType<import("
|
786
|
+
disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
|
787
787
|
withValidate: {
|
788
788
|
readonly type: BooleanConstructor;
|
789
789
|
readonly default: true;
|
@@ -797,7 +797,7 @@ declare const BkTimePicker: {
|
|
797
797
|
"onOpen-change"?: (...args: any[]) => any;
|
798
798
|
"onShortcut-change"?: (...args: any[]) => any;
|
799
799
|
}, {
|
800
|
-
panel: import("vue").ComputedRef<import("
|
800
|
+
panel: import("vue").ComputedRef<import("../date-picker/interface").DatePickerPanelType>;
|
801
801
|
publicStringValue: import("vue").ComputedRef<any>;
|
802
802
|
opened: import("vue").ComputedRef<boolean>;
|
803
803
|
visualValue: import("vue").ComputedRef<any>;
|
@@ -839,7 +839,7 @@ declare const BkTimePicker: {
|
|
839
839
|
internalValue: import("vue").Ref<any>;
|
840
840
|
disableClickOutSide: import("vue").Ref<boolean>;
|
841
841
|
disableCloseUnderTransfer: import("vue").Ref<boolean>;
|
842
|
-
selectionMode: import("vue").Ref<import("
|
842
|
+
selectionMode: import("vue").Ref<import("../date-picker/interface").SelectionModeType>;
|
843
843
|
forceInputRerender: import("vue").Ref<number>;
|
844
844
|
isFocused: import("vue").Ref<boolean>;
|
845
845
|
focusedDate: import("vue").Ref<any>;
|
@@ -852,10 +852,10 @@ declare const BkTimePicker: {
|
|
852
852
|
internalFocus: import("vue").Ref<boolean>;
|
853
853
|
timeEnterMode: import("vue").Ref<boolean>;
|
854
854
|
shortcut: import("vue").Ref<any>;
|
855
|
-
onSelectionModeChange: import("vue").Ref<(_type: any) => import("
|
855
|
+
onSelectionModeChange: import("vue").Ref<(_type: any) => import("../date-picker/interface").SelectionModeType>;
|
856
856
|
tmpValue: import("vue").Ref<any>;
|
857
857
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", {
|
858
|
-
type: import("
|
858
|
+
type: import("../date-picker/interface").PickerTypeType;
|
859
859
|
width: number;
|
860
860
|
disabled: boolean;
|
861
861
|
placement: import("@popperjs/core").ComputedPlacement;
|
@@ -874,7 +874,7 @@ declare const BkTimePicker: {
|
|
874
874
|
timePickerOptions: {};
|
875
875
|
splitPanels: boolean;
|
876
876
|
appendToBody: boolean;
|
877
|
-
shortcuts: import("
|
877
|
+
shortcuts: import("../date-picker/interface").DatePickerShortcutsType;
|
878
878
|
shortcutClose: boolean;
|
879
879
|
upToNow: boolean;
|
880
880
|
useShortcutText: boolean;
|
package/lib/time-picker/index.js
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,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-time-picker-header {
|
128
131
|
height: 46px;
|
package/lib/timeline/index.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import "../styles/reset.css";
|
1
2
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
2
3
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
4
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
* {
|
128
131
|
box-sizing: border-box;
|
package/lib/transfer/index.js
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,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-transfer {
|
128
131
|
display: flex;
|
package/lib/tree/index.js
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,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-F-scroll-x {
|
128
131
|
overflow-x: auto;
|
package/lib/upload/index.js
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,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% {
|