bkui-vue 2.0.1-beta.102 → 2.0.1-beta.104
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 +26 -26
- package/dist/index.esm.js +1926 -1916
- package/dist/index.umd.js +25 -25
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/index.js +1 -1
- package/lib/overflow-title/components/overflow-title.d.ts +10 -0
- package/lib/overflow-title/index.d.ts +20 -0
- package/lib/overflow-title/props.d.ts +5 -0
- package/lib/plugin-popover/index.js +20 -7
- package/lib/popover/index.d.ts +23 -0
- package/lib/popover/index.js +20 -7
- package/lib/popover/popover.d.ts +11 -0
- package/lib/popover/props.d.ts +8 -0
- package/lib/search-select/search-select.css +45 -45
- package/lib/search-select/search-select.less +39 -39
- package/lib/search-select/search-select.variable.css +45 -45
- package/lib/select/index.d.ts +35 -0
- package/lib/select/index.js +3 -0
- package/lib/select/select.d.ts +15 -0
- package/lib/tag-input/index.d.ts +20 -0
- package/lib/tag-input/tag-input.d.ts +10 -0
- package/lib/tag-input/tag-props.d.ts +5 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -145,6 +145,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
145
145
|
} & {
|
146
146
|
default: string;
|
147
147
|
};
|
148
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
149
|
+
default: boolean;
|
150
|
+
} & {
|
151
|
+
default: boolean;
|
152
|
+
};
|
148
153
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
149
154
|
default: number;
|
150
155
|
} & {
|
@@ -310,6 +315,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
310
315
|
} & {
|
311
316
|
default: string;
|
312
317
|
};
|
318
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
319
|
+
default: boolean;
|
320
|
+
} & {
|
321
|
+
default: boolean;
|
322
|
+
};
|
313
323
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
314
324
|
default: number;
|
315
325
|
} & {
|
@@ -149,6 +149,11 @@ declare const BkOverflowTitle: {
|
|
149
149
|
} & {
|
150
150
|
default: string;
|
151
151
|
};
|
152
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
153
|
+
default: boolean;
|
154
|
+
} & {
|
155
|
+
default: boolean;
|
156
|
+
};
|
152
157
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
153
158
|
default: number;
|
154
159
|
} & {
|
@@ -314,6 +319,11 @@ declare const BkOverflowTitle: {
|
|
314
319
|
} & {
|
315
320
|
default: string;
|
316
321
|
};
|
322
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
323
|
+
default: boolean;
|
324
|
+
} & {
|
325
|
+
default: boolean;
|
326
|
+
};
|
317
327
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
318
328
|
default: number;
|
319
329
|
} & {
|
@@ -484,6 +494,11 @@ declare const BkOverflowTitle: {
|
|
484
494
|
} & {
|
485
495
|
default: string;
|
486
496
|
};
|
497
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
498
|
+
default: boolean;
|
499
|
+
} & {
|
500
|
+
default: boolean;
|
501
|
+
};
|
487
502
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
488
503
|
default: number;
|
489
504
|
} & {
|
@@ -659,6 +674,11 @@ declare const BkOverflowTitle: {
|
|
659
674
|
} & {
|
660
675
|
default: string;
|
661
676
|
};
|
677
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
678
|
+
default: boolean;
|
679
|
+
} & {
|
680
|
+
default: boolean;
|
681
|
+
};
|
662
682
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
663
683
|
default: number;
|
664
684
|
} & {
|
@@ -167,6 +167,11 @@ declare const _default: {
|
|
167
167
|
} & {
|
168
168
|
default: string;
|
169
169
|
};
|
170
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
171
|
+
default: boolean;
|
172
|
+
} & {
|
173
|
+
default: boolean;
|
174
|
+
};
|
170
175
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
171
176
|
default: number;
|
172
177
|
} & {
|
@@ -17790,6 +17790,10 @@ var PopoverProps = {
|
|
17790
17790
|
* 配置自定义样式类名,传入的类会被加在 Reference 外部的 div 上
|
17791
17791
|
*/
|
17792
17792
|
referenceCls: shared_namespaceObject.PropTypes.string.def(''),
|
17793
|
+
/**
|
17794
|
+
* 点击 Reference 占位区是否忽略收起 popover
|
17795
|
+
*/
|
17796
|
+
hideIgnoreReference: shared_namespaceObject.PropTypes.bool.def(false),
|
17793
17797
|
/**
|
17794
17798
|
* 自定义Content组件渲染,point-event延迟渲染时间
|
17795
17799
|
* 避免子组件point-event渲染时触发popover鼠标事件
|
@@ -21019,14 +21023,17 @@ function _isSlot(s) {
|
|
21019
21023
|
};
|
21020
21024
|
},
|
21021
21025
|
render: function render() {
|
21022
|
-
var _slot;
|
21026
|
+
var _slot, _slot2;
|
21023
21027
|
var _this$$slots$default,
|
21024
21028
|
_this$$slots$default2,
|
21025
21029
|
_this$$slots,
|
21030
|
+
_this$$slots$default3,
|
21031
|
+
_this$$slots$default4,
|
21032
|
+
_this$$slots2,
|
21026
21033
|
_this = this,
|
21027
21034
|
_this$$slots$content,
|
21028
21035
|
_this$$slots$content2,
|
21029
|
-
_this$$
|
21036
|
+
_this$$slots4;
|
21030
21037
|
var renderReferSlot = function renderReferSlot(slot) {
|
21031
21038
|
var _slot$;
|
21032
21039
|
if (external_vue_namespaceObject.Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
|
@@ -21038,7 +21045,7 @@ function _isSlot(s) {
|
|
21038
21045
|
"ref": "refRoot"
|
21039
21046
|
}, {
|
21040
21047
|
"default": function _default() {
|
21041
|
-
return [(0,external_vue_namespaceObject.createVNode)("div", {
|
21048
|
+
return [_this.hideIgnoreReference ? (0,external_vue_namespaceObject.createVNode)("div", {
|
21042
21049
|
"class": _this.referenceCls,
|
21043
21050
|
"style": "display: inline-block;",
|
21044
21051
|
"onClick": _this.handleClickReferenceWraper
|
@@ -21048,7 +21055,13 @@ function _isSlot(s) {
|
|
21048
21055
|
"default": function _default() {
|
21049
21056
|
return [_slot];
|
21050
21057
|
}
|
21051
|
-
})])
|
21058
|
+
})]) : (0,external_vue_namespaceObject.createVNode)(reference, {
|
21059
|
+
"ref": "refDefaultReference"
|
21060
|
+
}, _isSlot(_slot2 = renderReferSlot((_this$$slots$default3 = (_this$$slots$default4 = (_this$$slots2 = _this.$slots)["default"]) === null || _this$$slots$default4 === void 0 ? void 0 : _this$$slots$default4.call(_this$$slots2)) !== null && _this$$slots$default3 !== void 0 ? _this$$slots$default3 : (0,external_vue_namespaceObject.createVNode)("span", null, null))) ? _slot2 : {
|
21061
|
+
"default": function _default() {
|
21062
|
+
return [_slot2];
|
21063
|
+
}
|
21064
|
+
}), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
|
21052
21065
|
"disabled": !_this.transBoundary,
|
21053
21066
|
"to": _this.boundary
|
21054
21067
|
}, {
|
@@ -21066,15 +21079,15 @@ function _isSlot(s) {
|
|
21066
21079
|
"onClick": _this.handleClickContent
|
21067
21080
|
}, {
|
21068
21081
|
"default": function _default() {
|
21069
|
-
return [_this.isRenderModeShow || _this.contentIsShow ? (_this$$slots$content = (_this$$slots$content2 = (_this$$
|
21082
|
+
return [_this.isRenderModeShow || _this.contentIsShow ? (_this$$slots$content = (_this$$slots$content2 = (_this$$slots4 = _this.$slots).content) === null || _this$$slots$content2 === void 0 ? void 0 : _this$$slots$content2.call(_this$$slots4)) !== null && _this$$slots$content !== void 0 ? _this$$slots$content : _this.renderContent() : ''];
|
21070
21083
|
},
|
21071
21084
|
arrow: function arrow() {
|
21072
|
-
var _this$$slots$arrow, _this$$
|
21085
|
+
var _this$$slots$arrow, _this$$slots3;
|
21073
21086
|
return _this.arrow ? (0,external_vue_namespaceObject.createVNode)(src_arrow, {
|
21074
21087
|
"ref": "refArrow"
|
21075
21088
|
}, {
|
21076
21089
|
"default": function _default() {
|
21077
|
-
return [(_this$$slots$arrow = (_this$$
|
21090
|
+
return [(_this$$slots$arrow = (_this$$slots3 = _this.$slots).arrow) === null || _this$$slots$arrow === void 0 ? void 0 : _this$$slots$arrow.call(_this$$slots3)];
|
21078
21091
|
}
|
21079
21092
|
}) : '';
|
21080
21093
|
}
|
package/lib/popover/index.d.ts
CHANGED
@@ -129,6 +129,11 @@ declare const BkPopover: {
|
|
129
129
|
} & {
|
130
130
|
default: string;
|
131
131
|
};
|
132
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
133
|
+
default: boolean;
|
134
|
+
} & {
|
135
|
+
default: boolean;
|
136
|
+
};
|
132
137
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
133
138
|
default: number;
|
134
139
|
} & {
|
@@ -316,6 +321,11 @@ declare const BkPopover: {
|
|
316
321
|
} & {
|
317
322
|
default: string;
|
318
323
|
};
|
324
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
325
|
+
default: boolean;
|
326
|
+
} & {
|
327
|
+
default: boolean;
|
328
|
+
};
|
319
329
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
320
330
|
default: number;
|
321
331
|
} & {
|
@@ -372,6 +382,7 @@ declare const BkPopover: {
|
|
372
382
|
modifiers: unknown[];
|
373
383
|
popoverDelay: number | number[];
|
374
384
|
referenceCls: string;
|
385
|
+
hideIgnoreReference: boolean;
|
375
386
|
componentEventDelay: number;
|
376
387
|
forceClickoutside: boolean;
|
377
388
|
}, true, {}, {}, {
|
@@ -511,6 +522,11 @@ declare const BkPopover: {
|
|
511
522
|
} & {
|
512
523
|
default: string;
|
513
524
|
};
|
525
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
526
|
+
default: boolean;
|
527
|
+
} & {
|
528
|
+
default: boolean;
|
529
|
+
};
|
514
530
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
515
531
|
default: number;
|
516
532
|
} & {
|
@@ -588,6 +604,7 @@ declare const BkPopover: {
|
|
588
604
|
modifiers: unknown[];
|
589
605
|
popoverDelay: number | number[];
|
590
606
|
referenceCls: string;
|
607
|
+
hideIgnoreReference: boolean;
|
591
608
|
componentEventDelay: number;
|
592
609
|
forceClickoutside: boolean;
|
593
610
|
}>;
|
@@ -724,6 +741,11 @@ declare const BkPopover: {
|
|
724
741
|
} & {
|
725
742
|
default: string;
|
726
743
|
};
|
744
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
745
|
+
default: boolean;
|
746
|
+
} & {
|
747
|
+
default: boolean;
|
748
|
+
};
|
727
749
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
728
750
|
default: number;
|
729
751
|
} & {
|
@@ -814,6 +836,7 @@ declare const BkPopover: {
|
|
814
836
|
modifiers: unknown[];
|
815
837
|
popoverDelay: number | number[];
|
816
838
|
referenceCls: string;
|
839
|
+
hideIgnoreReference: boolean;
|
817
840
|
componentEventDelay: number;
|
818
841
|
forceClickoutside: boolean;
|
819
842
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
package/lib/popover/index.js
CHANGED
@@ -17793,6 +17793,10 @@ var PopoverProps = {
|
|
17793
17793
|
* 配置自定义样式类名,传入的类会被加在 Reference 外部的 div 上
|
17794
17794
|
*/
|
17795
17795
|
referenceCls: shared_namespaceObject.PropTypes.string.def(''),
|
17796
|
+
/**
|
17797
|
+
* 点击 Reference 占位区是否忽略收起 popover
|
17798
|
+
*/
|
17799
|
+
hideIgnoreReference: shared_namespaceObject.PropTypes.bool.def(false),
|
17796
17800
|
/**
|
17797
17801
|
* 自定义Content组件渲染,point-event延迟渲染时间
|
17798
17802
|
* 避免子组件point-event渲染时触发popover鼠标事件
|
@@ -21022,14 +21026,17 @@ function _isSlot(s) {
|
|
21022
21026
|
};
|
21023
21027
|
},
|
21024
21028
|
render: function render() {
|
21025
|
-
var _slot;
|
21029
|
+
var _slot, _slot2;
|
21026
21030
|
var _this$$slots$default,
|
21027
21031
|
_this$$slots$default2,
|
21028
21032
|
_this$$slots,
|
21033
|
+
_this$$slots$default3,
|
21034
|
+
_this$$slots$default4,
|
21035
|
+
_this$$slots2,
|
21029
21036
|
_this = this,
|
21030
21037
|
_this$$slots$content,
|
21031
21038
|
_this$$slots$content2,
|
21032
|
-
_this$$
|
21039
|
+
_this$$slots4;
|
21033
21040
|
var renderReferSlot = function renderReferSlot(slot) {
|
21034
21041
|
var _slot$;
|
21035
21042
|
if (external_vue_namespaceObject.Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
|
@@ -21041,7 +21048,7 @@ function _isSlot(s) {
|
|
21041
21048
|
"ref": "refRoot"
|
21042
21049
|
}, {
|
21043
21050
|
"default": function _default() {
|
21044
|
-
return [(0,external_vue_namespaceObject.createVNode)("div", {
|
21051
|
+
return [_this.hideIgnoreReference ? (0,external_vue_namespaceObject.createVNode)("div", {
|
21045
21052
|
"class": _this.referenceCls,
|
21046
21053
|
"style": "display: inline-block;",
|
21047
21054
|
"onClick": _this.handleClickReferenceWraper
|
@@ -21051,7 +21058,13 @@ function _isSlot(s) {
|
|
21051
21058
|
"default": function _default() {
|
21052
21059
|
return [_slot];
|
21053
21060
|
}
|
21054
|
-
})])
|
21061
|
+
})]) : (0,external_vue_namespaceObject.createVNode)(reference, {
|
21062
|
+
"ref": "refDefaultReference"
|
21063
|
+
}, _isSlot(_slot2 = renderReferSlot((_this$$slots$default3 = (_this$$slots$default4 = (_this$$slots2 = _this.$slots)["default"]) === null || _this$$slots$default4 === void 0 ? void 0 : _this$$slots$default4.call(_this$$slots2)) !== null && _this$$slots$default3 !== void 0 ? _this$$slots$default3 : (0,external_vue_namespaceObject.createVNode)("span", null, null))) ? _slot2 : {
|
21064
|
+
"default": function _default() {
|
21065
|
+
return [_slot2];
|
21066
|
+
}
|
21067
|
+
}), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
|
21055
21068
|
"disabled": !_this.transBoundary,
|
21056
21069
|
"to": _this.boundary
|
21057
21070
|
}, {
|
@@ -21069,15 +21082,15 @@ function _isSlot(s) {
|
|
21069
21082
|
"onClick": _this.handleClickContent
|
21070
21083
|
}, {
|
21071
21084
|
"default": function _default() {
|
21072
|
-
return [_this.isRenderModeShow || _this.contentIsShow ? (_this$$slots$content = (_this$$slots$content2 = (_this$$
|
21085
|
+
return [_this.isRenderModeShow || _this.contentIsShow ? (_this$$slots$content = (_this$$slots$content2 = (_this$$slots4 = _this.$slots).content) === null || _this$$slots$content2 === void 0 ? void 0 : _this$$slots$content2.call(_this$$slots4)) !== null && _this$$slots$content !== void 0 ? _this$$slots$content : _this.renderContent() : ''];
|
21073
21086
|
},
|
21074
21087
|
arrow: function arrow() {
|
21075
|
-
var _this$$slots$arrow, _this$$
|
21088
|
+
var _this$$slots$arrow, _this$$slots3;
|
21076
21089
|
return _this.arrow ? (0,external_vue_namespaceObject.createVNode)(src_arrow, {
|
21077
21090
|
"ref": "refArrow"
|
21078
21091
|
}, {
|
21079
21092
|
"default": function _default() {
|
21080
|
-
return [(_this$$slots$arrow = (_this$$
|
21093
|
+
return [(_this$$slots$arrow = (_this$$slots3 = _this.$slots).arrow) === null || _this$$slots$arrow === void 0 ? void 0 : _this$$slots$arrow.call(_this$$slots3)];
|
21081
21094
|
}
|
21082
21095
|
}) : '';
|
21083
21096
|
}
|
package/lib/popover/popover.d.ts
CHANGED
@@ -128,6 +128,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
128
128
|
} & {
|
129
129
|
default: string;
|
130
130
|
};
|
131
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
132
|
+
default: boolean;
|
133
|
+
} & {
|
134
|
+
default: boolean;
|
135
|
+
};
|
131
136
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
132
137
|
default: number;
|
133
138
|
} & {
|
@@ -302,6 +307,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
302
307
|
} & {
|
303
308
|
default: string;
|
304
309
|
};
|
310
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
311
|
+
default: boolean;
|
312
|
+
} & {
|
313
|
+
default: boolean;
|
314
|
+
};
|
305
315
|
componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
|
306
316
|
default: number;
|
307
317
|
} & {
|
@@ -358,6 +368,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
358
368
|
modifiers: unknown[];
|
359
369
|
popoverDelay: number | number[];
|
360
370
|
referenceCls: string;
|
371
|
+
hideIgnoreReference: boolean;
|
361
372
|
componentEventDelay: number;
|
362
373
|
forceClickoutside: boolean;
|
363
374
|
}, {}>;
|
package/lib/popover/props.d.ts
CHANGED
@@ -173,6 +173,14 @@ export declare const PopoverProps: {
|
|
173
173
|
} & {
|
174
174
|
default: string;
|
175
175
|
};
|
176
|
+
/**
|
177
|
+
* 点击 Reference 占位区是否忽略收起 popover
|
178
|
+
*/
|
179
|
+
hideIgnoreReference: import("vue-types").VueTypeValidableDef<boolean> & {
|
180
|
+
default: boolean;
|
181
|
+
} & {
|
182
|
+
default: boolean;
|
183
|
+
};
|
176
184
|
/**
|
177
185
|
* 自定义Content组件渲染,point-event延迟渲染时间
|
178
186
|
* 避免子组件point-event渲染时触发popover鼠标事件
|
@@ -213,30 +213,30 @@
|
|
213
213
|
border-color: var(--search-select-focus-border-color) !important;
|
214
214
|
}
|
215
215
|
.bk-search-select .div-input {
|
216
|
+
flex: 1 1 auto;
|
216
217
|
height: 100%;
|
217
218
|
padding: 5px 0;
|
218
219
|
line-height: 20px;
|
219
220
|
word-break: break-all;
|
220
|
-
flex: 1 1 auto;
|
221
221
|
}
|
222
222
|
.bk-search-select .div-input:focus {
|
223
223
|
outline: none;
|
224
224
|
}
|
225
225
|
.bk-search-select-container {
|
226
|
+
box-sizing: border-box;
|
226
227
|
display: flex;
|
228
|
+
flex-direction: row;
|
229
|
+
flex-wrap: wrap;
|
230
|
+
align-items: center;
|
227
231
|
min-height: 30px;
|
228
232
|
overflow: hidden;
|
229
233
|
font-size: 12px;
|
230
234
|
color: var(--search-select-font-color);
|
235
|
+
resize: none;
|
231
236
|
border: var(--border-width-base) var(--border-style-base) var(--border-style-color);
|
232
237
|
border-radius: var(--border-radius-base);
|
233
238
|
outline: none;
|
234
|
-
box-sizing: border-box;
|
235
239
|
transition: border 0.2s linear;
|
236
|
-
resize: none;
|
237
|
-
flex-direction: row;
|
238
|
-
align-items: center;
|
239
|
-
flex-wrap: wrap;
|
240
240
|
}
|
241
241
|
.bk-search-select-container.is-focus {
|
242
242
|
overflow: auto;
|
@@ -245,14 +245,17 @@
|
|
245
245
|
border-color: var(--search-select-focus-border-color) !important;
|
246
246
|
}
|
247
247
|
.bk-search-select-container .search-prefix {
|
248
|
-
flex: 0 0 auto;
|
249
248
|
display: flex;
|
249
|
+
flex: 0 0 auto;
|
250
250
|
align-items: center;
|
251
251
|
height: 100%;
|
252
252
|
}
|
253
253
|
.bk-search-select-container .search-container {
|
254
254
|
position: relative;
|
255
255
|
display: flex;
|
256
|
+
flex: 1;
|
257
|
+
flex-wrap: wrap;
|
258
|
+
align-items: center;
|
256
259
|
max-width: calc(100% - 42px);
|
257
260
|
min-height: 26px;
|
258
261
|
padding: 0 2px;
|
@@ -260,13 +263,12 @@
|
|
260
263
|
overflow: visible;
|
261
264
|
text-align: left;
|
262
265
|
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
263
|
-
flex: 1;
|
264
|
-
flex-wrap: wrap;
|
265
|
-
align-items: center;
|
266
266
|
}
|
267
267
|
.bk-search-select-container .search-container-selected {
|
268
268
|
position: relative;
|
269
269
|
display: inline-block;
|
270
|
+
flex: 0 0 auto;
|
271
|
+
align-self: center;
|
270
272
|
max-width: 99%;
|
271
273
|
padding-left: 8px;
|
272
274
|
margin: 0 0 4px 6px;
|
@@ -274,8 +276,6 @@
|
|
274
276
|
color: var(--search-select-font-color);
|
275
277
|
background: #f0f1f5;
|
276
278
|
border-radius: 2px;
|
277
|
-
flex: 0 0 auto;
|
278
|
-
align-self: center;
|
279
279
|
}
|
280
280
|
.bk-search-select-container .search-container-selected.hidden-selected {
|
281
281
|
visibility: hidden;
|
@@ -299,6 +299,8 @@
|
|
299
299
|
top: 4px;
|
300
300
|
right: 3px;
|
301
301
|
display: inline-flex;
|
302
|
+
align-items: center;
|
303
|
+
justify-content: center;
|
302
304
|
width: 14px;
|
303
305
|
height: 14px;
|
304
306
|
overflow: hidden;
|
@@ -307,21 +309,19 @@
|
|
307
309
|
color: #979ba5;
|
308
310
|
text-align: center;
|
309
311
|
cursor: pointer;
|
310
|
-
align-items: center;
|
311
|
-
justify-content: center;
|
312
312
|
}
|
313
313
|
.bk-search-select-container .search-container-input {
|
314
314
|
position: relative;
|
315
315
|
display: block;
|
316
|
-
|
316
|
+
flex: 1;
|
317
317
|
min-width: 40px;
|
318
|
+
height: 100%;
|
318
319
|
padding: 0 10px;
|
319
320
|
margin-top: -4px;
|
320
321
|
color: var(--search-select-font-color);
|
321
322
|
border: none;
|
322
|
-
flex: 1;
|
323
323
|
}
|
324
|
-
.bk-search-select-container .search-container-input .input-before
|
324
|
+
.bk-search-select-container .search-container-input .input-before::after {
|
325
325
|
color: var(--search-select-placeholder-color);
|
326
326
|
content: attr(data-placeholder);
|
327
327
|
}
|
@@ -333,33 +333,33 @@
|
|
333
333
|
.bk-search-select-container .search-container .selected-input {
|
334
334
|
position: relative;
|
335
335
|
display: flex;
|
336
|
-
|
336
|
+
align-items: center;
|
337
337
|
min-width: 40px;
|
338
|
+
height: 100%;
|
338
339
|
padding: 0 10px;
|
339
340
|
margin-top: -4px;
|
340
341
|
color: var(--search-select-font-color);
|
341
342
|
border: none;
|
342
|
-
align-items: center;
|
343
343
|
}
|
344
344
|
.bk-search-select-container .search-nextfix {
|
345
345
|
position: absolute;
|
346
346
|
top: 0;
|
347
347
|
right: 0;
|
348
348
|
color: var(--light-gray);
|
349
|
-
flex: 0 0 auto;
|
350
349
|
display: flex;
|
350
|
+
flex: 0 0 auto;
|
351
351
|
align-items: center;
|
352
352
|
height: 100%;
|
353
353
|
}
|
354
354
|
.bk-search-select-container .search-nextfix .search-clear {
|
355
355
|
display: flex;
|
356
|
+
align-items: center;
|
357
|
+
justify-content: center;
|
356
358
|
width: 12px;
|
357
359
|
height: 12px;
|
358
360
|
margin-right: 6px;
|
359
361
|
font-size: 12px;
|
360
362
|
color: var(--light-gray);
|
361
|
-
align-items: center;
|
362
|
-
justify-content: center;
|
363
363
|
}
|
364
364
|
.bk-search-select-container .search-nextfix .search-clear:hover {
|
365
365
|
color: #979ba5;
|
@@ -367,11 +367,11 @@
|
|
367
367
|
}
|
368
368
|
.bk-search-select-container .search-nextfix .search-nextfix-icon {
|
369
369
|
display: flex;
|
370
|
+
align-items: center;
|
371
|
+
justify-content: center;
|
370
372
|
margin-right: 8px;
|
371
373
|
font-size: 16px;
|
372
374
|
transition: color 0.2s linear;
|
373
|
-
align-items: center;
|
374
|
-
justify-content: center;
|
375
375
|
}
|
376
376
|
.bk-search-select-container .search-nextfix .search-nextfix-icon.is-focus {
|
377
377
|
color: var(--search-select-focus-color);
|
@@ -389,28 +389,28 @@
|
|
389
389
|
}
|
390
390
|
.bk-search-select-tips {
|
391
391
|
display: flex;
|
392
|
+
align-items: center;
|
392
393
|
margin-top: 5px;
|
393
394
|
font-size: 12px;
|
394
395
|
line-height: 16px;
|
395
396
|
color: var(--search-select-message-color);
|
396
|
-
align-items: center;
|
397
397
|
}
|
398
398
|
.bk-search-select-tips .select-tips {
|
399
399
|
display: flex;
|
400
|
+
align-items: center;
|
401
|
+
justify-content: center;
|
400
402
|
width: 16px;
|
401
403
|
height: 16px;
|
402
404
|
margin-right: 5px;
|
403
405
|
overflow: hidden;
|
404
406
|
font-size: 16px;
|
405
|
-
align-items: center;
|
406
|
-
justify-content: center;
|
407
407
|
}
|
408
408
|
.bk-search-select-menu {
|
409
409
|
display: flex;
|
410
|
+
flex-direction: column;
|
410
411
|
min-width: 200px;
|
411
412
|
font-size: 12px;
|
412
413
|
color: var(--search-select-font-color);
|
413
|
-
flex-direction: column;
|
414
414
|
}
|
415
415
|
.bk-search-select-menu .menu-list-mixin {
|
416
416
|
display: flex;
|
@@ -418,16 +418,16 @@
|
|
418
418
|
}
|
419
419
|
.bk-search-select-menu .menu-item-mixin {
|
420
420
|
display: flex;
|
421
|
+
flex: 0 0 32px;
|
422
|
+
align-items: center;
|
421
423
|
width: 100%;
|
422
|
-
height: 32px;
|
423
424
|
max-width: 500px;
|
425
|
+
height: 32px;
|
424
426
|
padding: 0 8px;
|
425
427
|
overflow: hidden;
|
426
428
|
text-overflow: ellipsis;
|
427
429
|
white-space: nowrap;
|
428
430
|
outline: none;
|
429
|
-
align-items: center;
|
430
|
-
flex: 0 0 32px;
|
431
431
|
}
|
432
432
|
.bk-search-select-menu .menu-item-mixin:hover {
|
433
433
|
cursor: pointer;
|
@@ -447,16 +447,16 @@
|
|
447
447
|
}
|
448
448
|
.bk-search-select-menu .menu-header-item {
|
449
449
|
display: flex;
|
450
|
+
flex: 0 0 32px;
|
451
|
+
align-items: center;
|
450
452
|
width: 100%;
|
451
|
-
height: 32px;
|
452
453
|
max-width: 500px;
|
454
|
+
height: 32px;
|
453
455
|
padding: 0 8px;
|
454
456
|
overflow: hidden;
|
455
457
|
text-overflow: ellipsis;
|
456
458
|
white-space: nowrap;
|
457
459
|
outline: none;
|
458
|
-
align-items: center;
|
459
|
-
flex: 0 0 32px;
|
460
460
|
}
|
461
461
|
.bk-search-select-menu .menu-header-item:hover {
|
462
462
|
cursor: pointer;
|
@@ -476,17 +476,17 @@
|
|
476
476
|
}
|
477
477
|
.bk-search-select-menu .menu-content-wrapper .menu-condition {
|
478
478
|
display: flex;
|
479
|
+
flex: 0 0 64px;
|
480
|
+
flex-direction: column;
|
479
481
|
width: 64px;
|
480
482
|
padding: 8px 8px 2px 10px;
|
481
483
|
background-color: #f5f7fa;
|
482
|
-
flex-direction: column;
|
483
|
-
flex: 0 0 64px;
|
484
484
|
}
|
485
485
|
.bk-search-select-menu .menu-content-wrapper .menu-condition-title {
|
486
486
|
display: flex;
|
487
|
+
align-items: center;
|
487
488
|
margin-bottom: 12px;
|
488
489
|
line-height: 24px;
|
489
|
-
align-items: center;
|
490
490
|
}
|
491
491
|
.bk-search-select-menu .menu-content-wrapper .menu-condition .bk-radio {
|
492
492
|
width: 50px;
|
@@ -497,24 +497,24 @@
|
|
497
497
|
}
|
498
498
|
.bk-search-select-menu .menu-content {
|
499
499
|
display: flex;
|
500
|
+
flex: 1;
|
501
|
+
flex-direction: column;
|
500
502
|
padding: 4px 0;
|
501
503
|
margin: 0;
|
502
504
|
overflow: auto;
|
503
|
-
flex-direction: column;
|
504
|
-
flex: 1;
|
505
505
|
}
|
506
506
|
.bk-search-select-menu .menu-content .menu-item {
|
507
507
|
display: flex;
|
508
|
+
flex: 0 0 32px;
|
509
|
+
align-items: center;
|
508
510
|
width: 100%;
|
509
|
-
height: 32px;
|
510
511
|
max-width: 500px;
|
512
|
+
height: 32px;
|
511
513
|
padding: 0 8px;
|
512
514
|
overflow: hidden;
|
513
515
|
text-overflow: ellipsis;
|
514
516
|
white-space: nowrap;
|
515
517
|
outline: none;
|
516
|
-
align-items: center;
|
517
|
-
flex: 0 0 32px;
|
518
518
|
white-space: pre;
|
519
519
|
}
|
520
520
|
.bk-search-select-menu .menu-content .menu-item:hover {
|
@@ -549,21 +549,21 @@
|
|
549
549
|
}
|
550
550
|
.bk-search-select-menu .menu-content .menu-item .menu-name {
|
551
551
|
display: flex;
|
552
|
+
align-items: center;
|
552
553
|
margin-right: 5px;
|
553
554
|
font-weight: bold;
|
554
555
|
color: var(--search-select-font-color);
|
555
|
-
align-items: center;
|
556
556
|
}
|
557
557
|
.bk-search-select-menu .menu-footer {
|
558
558
|
display: flex;
|
559
|
+
align-items: center;
|
559
560
|
width: 100%;
|
560
561
|
height: 32px;
|
561
562
|
border-top: var(--border-width-base) var(--border-style-base) var(--search-select-menu-border-color);
|
562
|
-
align-items: center;
|
563
563
|
}
|
564
564
|
.bk-search-select-menu .menu-footer-btn {
|
565
|
-
flex: 1;
|
566
565
|
display: flex;
|
566
|
+
flex: 1;
|
567
567
|
align-items: center;
|
568
568
|
justify-content: center;
|
569
569
|
height: 100%;
|