bkui-vue 0.0.1-beta.431 → 0.0.1-beta.433
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 +17 -9
- package/dist/index.umd.js +26 -26
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +1 -1
- package/lib/alert/alert.variable.css +1 -1
- package/lib/backtop/backtop.variable.css +1 -1
- package/lib/badge/badge.variable.css +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +1 -1
- package/lib/button/button.variable.css +1 -1
- package/lib/card/card.variable.css +1 -1
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.css +7 -0
- package/lib/cascader/cascader.d.ts +1 -0
- package/lib/cascader/cascader.less +7 -0
- package/lib/cascader/cascader.variable.css +8 -1
- package/lib/cascader/index.d.ts +4 -0
- package/lib/cascader/index.js +1 -1
- package/lib/checkbox/checkbox.variable.css +1 -1
- package/lib/code-diff/code-diff.variable.css +1 -1
- package/lib/collapse/collapse.variable.css +1 -1
- package/lib/collapse-transition/collapse-transition.variable.css +1 -1
- package/lib/color-picker/color-picker.variable.css +1 -1
- package/lib/components.d.ts +1 -0
- package/lib/config-provider/config-provider.variable.css +1 -1
- package/lib/container/container.variable.css +1 -1
- package/lib/date-picker/date-picker.variable.css +1 -1
- package/lib/dialog/dialog.variable.css +1 -1
- package/lib/divider/divider.variable.css +1 -1
- package/lib/dropdown/dropdown.variable.css +1 -1
- package/lib/exception/exception.variable.css +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -1
- package/lib/form/form.variable.css +1 -1
- package/lib/info-box/info-box.variable.css +1 -1
- package/lib/input/input.variable.css +1 -1
- package/lib/link/link.variable.css +1 -1
- package/lib/loading/loading.variable.css +1 -1
- package/lib/menu/menu.variable.css +1 -1
- package/lib/menu/submenu.variable.css +1 -1
- package/lib/message/message.variable.css +1 -1
- package/lib/modal/modal.variable.css +1 -1
- package/lib/navigation/navigation.variable.css +1 -1
- package/lib/notify/notify.variable.css +1 -1
- package/lib/pagination/pagination.variable.css +1 -1
- package/lib/pop-confirm/pop-confirm.variable.css +1 -1
- package/lib/popover/popover.variable.css +1 -1
- package/lib/process/process.variable.css +1 -1
- package/lib/progress/progress.variable.css +1 -1
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio.css +28 -10
- package/lib/radio/radio.less +10 -1
- package/lib/radio/radio.variable.css +29 -11
- package/lib/resize-layout/resize-layout.variable.css +1 -1
- package/lib/search-select/search-select.variable.css +1 -1
- package/lib/select/index.d.ts +4 -4
- package/lib/select/index.js +1 -1
- package/lib/select/select.d.ts +1 -1
- package/lib/select/select.variable.css +1 -1
- package/lib/sideslider/sideslider.variable.css +1 -1
- package/lib/slider/slider.variable.css +1 -1
- package/lib/steps/steps.variable.css +1 -1
- package/lib/styles/mixins/popper.variable.css +1 -1
- package/lib/styles/mixins/scroll.variable.css +1 -1
- package/lib/styles/themes/themes.less +1 -1
- package/lib/switcher/switcher.variable.css +1 -1
- package/lib/tab/tab.variable.css +1 -1
- package/lib/table/index.d.ts +13 -8
- package/lib/table/plugins/head-filter.variable.css +1 -1
- package/lib/table/plugins/head-sort.variable.css +1 -1
- package/lib/table/plugins/settings.variable.css +1 -1
- package/lib/table/table.css +4 -4
- package/lib/table/table.less +3 -3
- package/lib/table/table.variable.css +5 -5
- package/lib/tag/tag.variable.css +1 -1
- package/lib/tag-input/tag-input.variable.css +1 -1
- package/lib/time-picker/time-picker.variable.css +1 -1
- package/lib/timeline/timeline.variable.css +1 -1
- package/lib/transfer/transfer.variable.css +1 -1
- package/lib/tree/tree.variable.css +1 -1
- package/lib/upload/upload.variable.css +1 -1
- package/lib/virtual-render/virtual-render.variable.css +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -14365,7 +14365,7 @@ const radioGroupProps = {
|
|
14365
14365
|
modelValue: PropTypes.oneOfType([String, Number, Boolean]),
|
14366
14366
|
disabled: PropTypes.bool,
|
14367
14367
|
withValidate: PropTypes.bool.def(true),
|
14368
|
-
type: PropTypes.oneOf(["tab", "capsule"]).def("tab")
|
14368
|
+
type: PropTypes.oneOf(["tab", "capsule", "card"]).def("tab")
|
14369
14369
|
};
|
14370
14370
|
var RadioGroup = defineComponent({
|
14371
14371
|
name: "RadioGroup",
|
@@ -16119,7 +16119,7 @@ var SelectTagInput = defineComponent({
|
|
16119
16119
|
"class": resolveClassName("select-overflow-tag")
|
16120
16120
|
}, {
|
16121
16121
|
default: () => [createTextVNode("+"), this.selected.length - this.overflowTagIndex]
|
16122
|
-
})
|
16122
|
+
}), createVNode("input", {
|
16123
16123
|
"class": resolveClassName("select-tag-input"),
|
16124
16124
|
"ref": "inputRef",
|
16125
16125
|
"type": "text",
|
@@ -16130,7 +16130,7 @@ var SelectTagInput = defineComponent({
|
|
16130
16130
|
"value": !this.filterable ? "" : this.value,
|
16131
16131
|
"onInput": this.handleInput,
|
16132
16132
|
"onKeydown": this.handleKeydown
|
16133
|
-
}, null), (_g = (_f = this.$slots) == null ? void 0 : _f.suffix) == null ? void 0 : _g.call(_f)]);
|
16133
|
+
}, null)]), (_g = (_f = this.$slots) == null ? void 0 : _f.suffix) == null ? void 0 : _g.call(_f)]);
|
16134
16134
|
}
|
16135
16135
|
});
|
16136
16136
|
var Component$k = defineComponent({
|
@@ -31751,6 +31751,7 @@ var CascaderPanel = defineComponent({
|
|
31751
31751
|
setup(props2, {
|
31752
31752
|
emit
|
31753
31753
|
}) {
|
31754
|
+
const t2 = useLocale("select");
|
31754
31755
|
const {
|
31755
31756
|
store
|
31756
31757
|
} = props2;
|
@@ -31848,6 +31849,7 @@ var CascaderPanel = defineComponent({
|
|
31848
31849
|
};
|
31849
31850
|
return events;
|
31850
31851
|
};
|
31852
|
+
const noDataText = t2.value.noData;
|
31851
31853
|
const isNodeInPath = (node) => {
|
31852
31854
|
const currentLevel = activePath.value[node.level - 1] || {};
|
31853
31855
|
return currentLevel.id === node.id;
|
@@ -31890,7 +31892,8 @@ var CascaderPanel = defineComponent({
|
|
31890
31892
|
iconRender,
|
31891
31893
|
panelWidth,
|
31892
31894
|
panelHeight,
|
31893
|
-
searchPanelEvents
|
31895
|
+
searchPanelEvents,
|
31896
|
+
noDataText
|
31894
31897
|
};
|
31895
31898
|
},
|
31896
31899
|
render() {
|
@@ -31923,7 +31926,7 @@ var CascaderPanel = defineComponent({
|
|
31923
31926
|
height: this.panelHeight,
|
31924
31927
|
width: this.panelWidth
|
31925
31928
|
}
|
31926
|
-
}, [menu2.map((node) => {
|
31929
|
+
}, [menu2.length ? menu2.map((node) => {
|
31927
31930
|
var _a, _b;
|
31928
31931
|
return createVNode("li", mergeProps({
|
31929
31932
|
"class": [resolveClassName("cascader-node"), {
|
@@ -31944,7 +31947,9 @@ var CascaderPanel = defineComponent({
|
|
31944
31947
|
node,
|
31945
31948
|
data: node.data
|
31946
31949
|
}), !node.isLeaf ? this.iconRender(node) : ""]);
|
31947
|
-
})
|
31950
|
+
}) : createVNode("div", {
|
31951
|
+
"class": resolveClassName("cascader-panel-empty-wrapper")
|
31952
|
+
}, [this.noDataText])]))]);
|
31948
31953
|
}
|
31949
31954
|
});
|
31950
31955
|
function isNodeDisabled(node) {
|
@@ -32130,7 +32135,7 @@ var Component$8 = defineComponent({
|
|
32130
32135
|
props: {
|
32131
32136
|
modelValue: PropTypes.arrayOf(PropTypes.oneOfType([q(), String, Number])),
|
32132
32137
|
list: PropTypes.array.def([]),
|
32133
|
-
placeholder: PropTypes.string.def("
|
32138
|
+
placeholder: PropTypes.string.def(""),
|
32134
32139
|
behavior: PropTypes.string.def("normal"),
|
32135
32140
|
filterable: PropTypes.bool.def(false),
|
32136
32141
|
multiple: PropTypes.bool.def(false),
|
@@ -32162,6 +32167,7 @@ var Component$8 = defineComponent({
|
|
32162
32167
|
setup(props2, {
|
32163
32168
|
emit
|
32164
32169
|
}) {
|
32170
|
+
const t2 = useLocale("select");
|
32165
32171
|
const {
|
32166
32172
|
separator: separator2,
|
32167
32173
|
multiple
|
@@ -32192,6 +32198,7 @@ var Component$8 = defineComponent({
|
|
32192
32198
|
const popover2 = ref(null);
|
32193
32199
|
const bkCascaderRef = ref(null);
|
32194
32200
|
const inputRef = ref(null);
|
32201
|
+
const placeholder = computed(() => props2.placeholder ? props2.placeholder : t2.value.pleaseSelect);
|
32195
32202
|
const getShowText = (node) => props2.showCompleteName ? node.pathNames.join(separator2) : node.pathNames[node.pathNames.length - 1];
|
32196
32203
|
const updateSearchKey = () => {
|
32197
32204
|
searchKey.value = selectedText.value;
|
@@ -32296,6 +32303,7 @@ var Component$8 = defineComponent({
|
|
32296
32303
|
overflowTagIndex
|
32297
32304
|
} = useTagsOverflow(bkCascaderRef, isEditMode, tagList);
|
32298
32305
|
return {
|
32306
|
+
calcuPlaceholder: placeholder,
|
32299
32307
|
bkCascaderRef,
|
32300
32308
|
inputRef,
|
32301
32309
|
overflowTagIndex,
|
@@ -32396,7 +32404,7 @@ var Component$8 = defineComponent({
|
|
32396
32404
|
}],
|
32397
32405
|
"type": "text",
|
32398
32406
|
"onInput": this.searchInputHandler,
|
32399
|
-
"placeholder": this.
|
32407
|
+
"placeholder": this.calcuPlaceholder,
|
32400
32408
|
"value": this.searchKey,
|
32401
32409
|
"disabled": this.disabled,
|
32402
32410
|
"ref": "inputRef"
|
@@ -32432,7 +32440,7 @@ var Component$8 = defineComponent({
|
|
32432
32440
|
"is-simplicity": this.behavior === "simplicity"
|
32433
32441
|
}],
|
32434
32442
|
"tabindex": "0",
|
32435
|
-
"data-placeholder": this.
|
32443
|
+
"data-placeholder": this.calcuPlaceholder,
|
32436
32444
|
"onMouseenter": this.setHover,
|
32437
32445
|
"onMouseleave": this.cancelHover,
|
32438
32446
|
"ref": "bkCascaderRef"
|