bkui-vue 1.0.3-beta.61 → 1.0.3-beta.62
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 +21 -21
- package/dist/index.esm.js +931 -934
- package/dist/index.umd.js +21 -21
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +1 -1
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +8 -7
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- package/lib/cascader/index.js +42 -38
- package/lib/checkbox/index.js +7 -6
- package/lib/collapse/index.js +12 -11
- package/lib/collapse-transition/index.js +4 -3
- package/lib/color-picker/index.js +13 -10
- package/lib/config-provider/index.js +1 -1
- package/lib/container/index.js +12 -10
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/index.js +4 -4
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.js +3 -2
- package/lib/dropdown/index.js +8 -6
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +3 -2
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/assistant.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.js +1 -1
- package/lib/icon/fix-line.js +1 -1
- package/lib/icon/fix-shape.js +1 -1
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/grag-fill.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- package/lib/icon/img-error.js +1 -1
- package/lib/icon/img-placehoulder.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.js +1 -1
- package/lib/icon/loading.js +1 -1
- package/lib/icon/narrow-line.js +1 -1
- package/lib/icon/original.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.js +1 -1
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-all.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/index.js +11 -10
- package/lib/info-box/index.js +4 -4
- package/lib/input/index.js +4 -4
- package/lib/link/index.js +2 -2
- package/lib/loading/index.js +12 -11
- package/lib/menu/index.js +3 -2
- package/lib/message/index.js +1 -1
- package/lib/modal/index.js +4 -4
- package/lib/navigation/index.js +9 -7
- package/lib/notify/index.js +1 -1
- package/lib/overflow-title/index.js +10 -9
- package/lib/pagination/index.js +1 -1
- package/lib/plugin-popover/index.js +30 -26
- package/lib/pop-confirm/index.js +5 -4
- package/lib/popover/index.js +30 -26
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.js +4 -4
- package/lib/progress/index.js +6 -5
- package/lib/radio/index.js +7 -6
- package/lib/rate/index.js +1 -1
- package/lib/resize-layout/index.js +1 -1
- package/lib/search-select/index.js +14 -11
- package/lib/select/index.d.ts +0 -33
- package/lib/select/index.js +6 -8
- package/lib/select/select.css +5 -19
- package/lib/select/select.d.ts +0 -11
- package/lib/select/select.less +6 -26
- package/lib/select/select.variable.css +5 -19
- package/lib/select/selectTagInput.d.ts +0 -7
- package/lib/shared/index.js +8 -5
- package/lib/sideslider/index.js +4 -4
- package/lib/slider/index.js +20 -19
- package/lib/steps/index.js +4 -4
- package/lib/swiper/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/tab/index.js +4 -3
- package/lib/table/index.js +8 -6
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.js +1 -1
- package/lib/tag-input/index.js +4 -3
- package/lib/tree/index.js +12 -10
- package/lib/upload/index.js +4 -4
- package/lib/virtual-render/index.js +3 -2
- package/package.json +1 -1
package/lib/tree/index.js
CHANGED
@@ -47,7 +47,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
|
|
47
47
|
;// CONCATENATED MODULE: external "vue"
|
48
48
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
49
49
|
var external_vue_y = x => () => x
|
50
|
-
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["onUnmounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onUnmounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
50
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["onUnmounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onUnmounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
51
51
|
;// CONCATENATED MODULE: external "../config-provider"
|
52
52
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
53
53
|
var config_provider_y = x => () => x
|
@@ -87,7 +87,7 @@ function toPrimitive(t, r) {
|
|
87
87
|
|
88
88
|
function toPropertyKey(t) {
|
89
89
|
var i = toPrimitive(t, "string");
|
90
|
-
return "symbol" == _typeof(i) ? i : i
|
90
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
91
91
|
}
|
92
92
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
93
93
|
|
@@ -1037,6 +1037,7 @@ var showCheckbox = function showCheckbox(props, node) {
|
|
1037
1037
|
|
1038
1038
|
|
1039
1039
|
var use_node_action_this = undefined;
|
1040
|
+
|
1040
1041
|
/*
|
1041
1042
|
* Tencent is pleased to support the open source community by making
|
1042
1043
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1127,7 +1128,7 @@ var use_node_action_this = undefined;
|
|
1127
1128
|
className = val.className,
|
1128
1129
|
text = val.text,
|
1129
1130
|
style = val.style;
|
1130
|
-
return h(node, {
|
1131
|
+
return (0,external_vue_namespaceObject.h)(node, {
|
1131
1132
|
"class": className,
|
1132
1133
|
style: style
|
1133
1134
|
}, text);
|
@@ -1419,7 +1420,7 @@ var use_node_action_this = undefined;
|
|
1419
1420
|
*/
|
1420
1421
|
if (getNodeAttr(resolvedItem, NODE_ATTRIBUTES.IS_ASYNC)) {
|
1421
1422
|
asyncNodeClick(resolvedItem).then(function () {
|
1422
|
-
nextTick(function () {
|
1423
|
+
(0,external_vue_namespaceObject.nextTick)(function () {
|
1423
1424
|
nodeList.shift();
|
1424
1425
|
setSelect(nodeList, selected, autoOpen);
|
1425
1426
|
});
|
@@ -2371,7 +2372,8 @@ var use_tree_init_this = undefined;
|
|
2371
2372
|
|
2372
2373
|
|
2373
2374
|
|
2374
|
-
|
2375
|
+
|
2376
|
+
/* harmony default export */ const tree = ((0,external_vue_namespaceObject.defineComponent)({
|
2375
2377
|
name: 'Tree',
|
2376
2378
|
props: treeProps,
|
2377
2379
|
emits: TreeEmitEventsType,
|
@@ -2396,7 +2398,7 @@ var use_tree_init_this = undefined;
|
|
2396
2398
|
isSearchDisabled = _useSearch.isSearchDisabled,
|
2397
2399
|
isTreeUI = _useSearch.isTreeUI,
|
2398
2400
|
showChildNodes = _useSearch.showChildNodes;
|
2399
|
-
var matchedNodePath = reactive([]);
|
2401
|
+
var matchedNodePath = (0,external_vue_namespaceObject.reactive)([]);
|
2400
2402
|
var filterFn = function filterFn(item) {
|
2401
2403
|
if (isSearchActive.value) {
|
2402
2404
|
if (showChildNodes) {
|
@@ -2410,7 +2412,7 @@ var use_tree_init_this = undefined;
|
|
2410
2412
|
return checkNodeIsOpen(item);
|
2411
2413
|
};
|
2412
2414
|
// 计算当前需要渲染的节点信息
|
2413
|
-
var renderData = computed(function () {
|
2415
|
+
var renderData = (0,external_vue_namespaceObject.computed)(function () {
|
2414
2416
|
return flatData.data.filter(function (item) {
|
2415
2417
|
return filterFn(item);
|
2416
2418
|
});
|
@@ -2437,14 +2439,14 @@ var use_tree_init_this = undefined;
|
|
2437
2439
|
});
|
2438
2440
|
});
|
2439
2441
|
if (!isSearchDisabled) {
|
2440
|
-
watch([refSearch], function () {
|
2442
|
+
(0,external_vue_namespaceObject.watch)([refSearch], function () {
|
2441
2443
|
handleSearch();
|
2442
2444
|
}, {
|
2443
2445
|
deep: true,
|
2444
2446
|
immediate: true
|
2445
2447
|
});
|
2446
2448
|
}
|
2447
|
-
var root = ref();
|
2449
|
+
var root = (0,external_vue_namespaceObject.ref)();
|
2448
2450
|
/**
|
2449
2451
|
* 设置指定节点是否选中
|
2450
2452
|
* @param item Node item | Node Id
|
@@ -2460,7 +2462,7 @@ var use_tree_init_this = undefined;
|
|
2460
2462
|
var getData = function getData() {
|
2461
2463
|
return flatData;
|
2462
2464
|
};
|
2463
|
-
watch(function () {
|
2465
|
+
(0,external_vue_namespaceObject.watch)(function () {
|
2464
2466
|
return [props.checked];
|
2465
2467
|
}, function () {
|
2466
2468
|
setChecked(props.checked, true);
|
package/lib/upload/index.js
CHANGED
@@ -867,7 +867,7 @@ function _regeneratorRuntime() {
|
|
867
867
|
function makeInvokeMethod(e, r, n) {
|
868
868
|
var o = h;
|
869
869
|
return function (i, a) {
|
870
|
-
if (o === f) throw Error("Generator is already running");
|
870
|
+
if (o === f) throw new Error("Generator is already running");
|
871
871
|
if (o === s) {
|
872
872
|
if ("throw" === i) throw a;
|
873
873
|
return {
|
@@ -1009,7 +1009,7 @@ function _regeneratorRuntime() {
|
|
1009
1009
|
} else if (c) {
|
1010
1010
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
1011
1011
|
} else {
|
1012
|
-
if (!u) throw Error("try statement without catch or finally");
|
1012
|
+
if (!u) throw new Error("try statement without catch or finally");
|
1013
1013
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
1014
1014
|
}
|
1015
1015
|
}
|
@@ -1049,7 +1049,7 @@ function _regeneratorRuntime() {
|
|
1049
1049
|
return o;
|
1050
1050
|
}
|
1051
1051
|
}
|
1052
|
-
throw Error("illegal catch attempt");
|
1052
|
+
throw new Error("illegal catch attempt");
|
1053
1053
|
},
|
1054
1054
|
delegateYield: function delegateYield(e, r, n) {
|
1055
1055
|
return this.delegate = {
|
@@ -1230,7 +1230,7 @@ function toPrimitive(t, r) {
|
|
1230
1230
|
|
1231
1231
|
function toPropertyKey(t) {
|
1232
1232
|
var i = toPrimitive(t, "string");
|
1233
|
-
return "symbol" == _typeof(i) ? i : i
|
1233
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
1234
1234
|
}
|
1235
1235
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1236
1236
|
|
@@ -101,7 +101,7 @@ function toPrimitive(t, r) {
|
|
101
101
|
|
102
102
|
function toPropertyKey(t) {
|
103
103
|
var i = toPrimitive(t, "string");
|
104
|
-
return "symbol" == _typeof(i) ? i : i
|
104
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
105
105
|
}
|
106
106
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
107
107
|
|
@@ -420,7 +420,7 @@ var VisibleRender = /*#__PURE__*/function () {
|
|
420
420
|
var throttleDelay = binding.value.throttleDelay;
|
421
421
|
this.delay = throttleDelay;
|
422
422
|
}
|
423
|
-
|
423
|
+
_createClass(VisibleRender, [{
|
424
424
|
key: "render",
|
425
425
|
value: function render(e) {
|
426
426
|
var _this$binding$value = this.binding.value,
|
@@ -477,6 +477,7 @@ var VisibleRender = /*#__PURE__*/function () {
|
|
477
477
|
this.binding = binding;
|
478
478
|
}
|
479
479
|
}]);
|
480
|
+
return VisibleRender;
|
480
481
|
}();
|
481
482
|
var instance = null;
|
482
483
|
/* harmony default export */ const v_virtual_render = ({
|