bkui-vue 0.0.1-beta.153 → 0.0.1-beta.154
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 +30 -30
- package/dist/index.esm.js +10 -5
- package/dist/index.umd.js +31 -31
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/select/index.d.ts +25 -1
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +1 -0
- package/lib/select/select.css +4 -4
- package/lib/select/select.d.ts +11 -0
- package/lib/select/select.less +5 -5
- package/lib/select/select.variable.css +4 -4
- package/lib/select/type.d.ts +1 -0
- package/lib/table/plugins/head-sort.css +22 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -13977,6 +13977,7 @@ var BkOption = defineComponent({
|
|
13977
13977
|
});
|
13978
13978
|
const multiple = computed(() => select2 == null ? void 0 : select2.multiple);
|
13979
13979
|
const isHover = computed(() => (select2 == null ? void 0 : select2.activeOptionValue) === value.value);
|
13980
|
+
const showSelectedIcon = computed(() => select2 == null ? void 0 : select2.showSelectedIcon);
|
13980
13981
|
const handleOptionClick = () => {
|
13981
13982
|
if (disabled.value)
|
13982
13983
|
return;
|
@@ -13997,6 +13998,7 @@ var BkOption = defineComponent({
|
|
13997
13998
|
selected,
|
13998
13999
|
multiple,
|
13999
14000
|
isHover,
|
14001
|
+
showSelectedIcon,
|
14000
14002
|
handleOptionClick,
|
14001
14003
|
handleMouseEnter
|
14002
14004
|
});
|
@@ -14017,11 +14019,11 @@ var BkOption = defineComponent({
|
|
14017
14019
|
}, [(_c = (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) != null ? _c : createVNode("span", {
|
14018
14020
|
"class": "bk-select-option-item",
|
14019
14021
|
"title": this.label
|
14020
|
-
}, [this.label, this.multiple && this.selected && createVNode(done, {
|
14021
|
-
"class": "
|
14022
|
+
}, [this.label]), this.multiple && this.selected && this.showSelectedIcon && createVNode(done, {
|
14023
|
+
"class": "bk-select-selected-icon",
|
14022
14024
|
"width": 22,
|
14023
14025
|
"height": 22
|
14024
|
-
}, null)])
|
14026
|
+
}, null)]), [[vShow, this.visible]]);
|
14025
14027
|
}
|
14026
14028
|
});
|
14027
14029
|
var OptionGroup = defineComponent({
|
@@ -14287,7 +14289,8 @@ var Component$j = defineComponent({
|
|
14287
14289
|
customContent: PropTypes.bool.def(false),
|
14288
14290
|
list: PropTypes.array.def([]),
|
14289
14291
|
idKey: PropTypes.string.def("value"),
|
14290
|
-
displayKey: PropTypes.string.def("label")
|
14292
|
+
displayKey: PropTypes.string.def("label"),
|
14293
|
+
showSelectedIcon: PropTypes.bool.def(true)
|
14291
14294
|
},
|
14292
14295
|
emits: ["update:modelValue", "change", "toggle", "clear", "scroll-end", "focus", "blur"],
|
14293
14296
|
setup(props2, {
|
@@ -14307,7 +14310,8 @@ var Component$j = defineComponent({
|
|
14307
14310
|
showOnInit,
|
14308
14311
|
multipleMode,
|
14309
14312
|
allowCreate,
|
14310
|
-
customContent
|
14313
|
+
customContent,
|
14314
|
+
showSelectedIcon
|
14311
14315
|
} = toRefs(props2);
|
14312
14316
|
const formItem = useFormItem();
|
14313
14317
|
const inputRef = ref();
|
@@ -14601,6 +14605,7 @@ var Component$j = defineComponent({
|
|
14601
14605
|
multiple,
|
14602
14606
|
selected,
|
14603
14607
|
activeOptionValue,
|
14608
|
+
showSelectedIcon,
|
14604
14609
|
register,
|
14605
14610
|
unregister,
|
14606
14611
|
registerGroup,
|