bkui-vue 2.0.1-beta.112 → 2.0.1-beta.114
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 +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/lib/affix/index.js +30 -22
- package/lib/alert/index.js +30 -22
- package/lib/animate-number/index.js +14 -10
- package/lib/backtop/index.js +32 -22
- package/lib/badge/index.js +24 -18
- package/lib/breadcrumb/index.js +31 -23
- package/lib/button/index.js +36 -26
- package/lib/card/index.js +47 -33
- package/lib/cascader/index.js +91 -63
- package/lib/checkbox/index.js +44 -34
- package/lib/code-diff/index.js +83 -79
- package/lib/collapse/index.js +39 -33
- package/lib/collapse-transition/index.js +20 -14
- package/lib/color-picker/index.js +55 -41
- package/lib/config-provider/index.js +34 -26
- package/lib/container/index.js +27 -21
- package/lib/date-picker/index.js +90 -70
- package/lib/dialog/index.js +101 -87
- package/lib/directives/index.js +314 -306
- package/lib/divider/index.js +21 -15
- package/lib/dropdown/index.js +43 -31
- package/lib/exception/index.js +55 -49
- package/lib/fixed-navbar/index.js +20 -14
- package/lib/form/index.js +82 -60
- package/lib/icon/angle-double-down-line.js +14 -12
- package/lib/icon/angle-double-left-line.js +14 -12
- package/lib/icon/angle-double-left.js +14 -12
- package/lib/icon/angle-double-right-line.js +14 -12
- package/lib/icon/angle-double-right.js +14 -12
- package/lib/icon/angle-double-up-line.js +14 -12
- package/lib/icon/angle-down-fill.js +14 -12
- package/lib/icon/angle-down-line.js +14 -12
- package/lib/icon/angle-down.js +14 -12
- package/lib/icon/angle-left.js +14 -12
- package/lib/icon/angle-right.js +14 -12
- package/lib/icon/angle-up-fill.js +14 -12
- package/lib/icon/angle-up.js +14 -12
- package/lib/icon/archive-fill.js +14 -12
- package/lib/icon/arrows-left.js +14 -12
- package/lib/icon/arrows-right.js +14 -12
- package/lib/icon/assistant.js +14 -12
- package/lib/icon/audio-fill.js +14 -12
- package/lib/icon/bk.js +14 -12
- package/lib/icon/circle.js +14 -12
- package/lib/icon/close-line.js +14 -12
- package/lib/icon/close.js +14 -12
- package/lib/icon/code.js +14 -12
- package/lib/icon/cog-shape.js +14 -12
- package/lib/icon/collapse-left.js +14 -12
- package/lib/icon/copy-shape.js +14 -12
- package/lib/icon/copy.js +14 -12
- package/lib/icon/data-shape.js +14 -12
- package/lib/icon/del.js +14 -12
- package/lib/icon/doc-fill.js +14 -12
- package/lib/icon/done.js +14 -12
- package/lib/icon/down-shape.js +14 -12
- package/lib/icon/down-small.js +14 -12
- package/lib/icon/edit-line.js +14 -12
- package/lib/icon/ellipsis.js +14 -12
- package/lib/icon/enlarge-line.js +14 -12
- package/lib/icon/error.js +14 -12
- package/lib/icon/excel-fill.js +14 -12
- package/lib/icon/exclamation-circle-shape.js +14 -12
- package/lib/icon/eye.js +14 -12
- package/lib/icon/filliscreen-line.js +14 -12
- package/lib/icon/fix-line.js +14 -12
- package/lib/icon/fix-shape.js +14 -12
- package/lib/icon/folder-open.js +14 -12
- package/lib/icon/folder-shape-open.js +14 -12
- package/lib/icon/folder-shape.js +14 -12
- package/lib/icon/folder.js +14 -12
- package/lib/icon/funnel.js +14 -12
- package/lib/icon/grag-fill.js +14 -12
- package/lib/icon/help-document-fill.js +14 -12
- package/lib/icon/help-fill.js +14 -12
- package/lib/icon/help.js +14 -12
- package/lib/icon/image-fill.js +14 -12
- package/lib/icon/img-error.js +14 -12
- package/lib/icon/img-placehoulder.js +14 -12
- package/lib/icon/info-line.js +14 -12
- package/lib/icon/info.js +14 -12
- package/lib/icon/left-shape.js +14 -12
- package/lib/icon/left-turn-line.js +14 -12
- package/lib/icon/loading.js +14 -12
- package/lib/icon/narrow-line.js +14 -12
- package/lib/icon/original.js +14 -12
- package/lib/icon/pdf-fill.js +14 -12
- package/lib/icon/play-shape.js +14 -12
- package/lib/icon/plus.js +14 -12
- package/lib/icon/ppt-fill.js +14 -12
- package/lib/icon/qq.js +14 -12
- package/lib/icon/right-shape.js +14 -12
- package/lib/icon/right-turn-line.js +14 -12
- package/lib/icon/search.js +14 -12
- package/lib/icon/share.js +14 -12
- package/lib/icon/spinner.js +14 -12
- package/lib/icon/success.js +14 -12
- package/lib/icon/switcher-loading.js +14 -12
- package/lib/icon/text-all.js +14 -12
- package/lib/icon/text-file.js +14 -12
- package/lib/icon/text-fill.js +14 -12
- package/lib/icon/transfer.js +14 -12
- package/lib/icon/tree-application-shape.js +14 -12
- package/lib/icon/unfull-screen.js +14 -12
- package/lib/icon/unvisible.js +14 -12
- package/lib/icon/up-shape.js +14 -12
- package/lib/icon/upload.js +14 -12
- package/lib/icon/video-fill.js +14 -12
- package/lib/icon/warn.js +14 -12
- package/lib/icon/weixin-pro.js +14 -12
- package/lib/icon/weixin.js +14 -12
- package/lib/image/index.js +50 -36
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +101 -87
- package/lib/input/index.js +45 -35
- package/lib/link/index.js +26 -18
- package/lib/loading/index.js +25 -19
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.js +40 -32
- package/lib/message/index.js +47 -41
- package/lib/modal/index.js +39 -29
- package/lib/navigation/index.js +27 -19
- package/lib/notify/index.js +37 -27
- package/lib/overflow-title/index.js +41 -29
- package/lib/pagination/index.js +62 -46
- package/lib/plugin-popover/index.js +7 -5
- package/lib/plugins/index.js +7 -5
- package/lib/pop-confirm/index.js +49 -33
- package/lib/popover/index.js +73 -59
- package/lib/popover2/index.js +14 -10
- package/lib/process/index.js +78 -74
- package/lib/progress/index.js +26 -20
- package/lib/radio/index.js +39 -31
- package/lib/rate/index.js +25 -19
- package/lib/resize-layout/index.js +30 -22
- package/lib/scrollbar/index.js +25 -25
- package/lib/search-select/index.js +128 -110
- package/lib/select/index.js +182 -144
- package/lib/shared/index.js +57 -49
- package/lib/sideslider/index.js +89 -79
- package/lib/slider/index.js +85 -75
- package/lib/steps/index.js +78 -72
- package/lib/swiper/index.js +24 -18
- package/lib/switcher/index.js +30 -22
- package/lib/tab/index.js +51 -39
- package/lib/table/index.js +257 -203
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.js +36 -26
- package/lib/tag-input/index.js +96 -70
- package/lib/time-picker/index.js +13 -9
- package/lib/timeline/index.js +21 -15
- package/lib/transfer/index.js +56 -40
- package/lib/tree/index.js +100 -76
- package/lib/upload/index.js +584 -572
- package/lib/virtual-render/index.js +55 -43
- package/package.json +1 -1
package/lib/tab/index.js
CHANGED
@@ -39,11 +39,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
39
39
|
"default": () => (/* binding */ src)
|
40
40
|
});
|
41
41
|
|
42
|
-
;//
|
43
|
-
var x = y => {
|
44
|
-
var
|
45
|
-
|
46
|
-
|
42
|
+
;// external "../shared"
|
43
|
+
var x = (y) => {
|
44
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
45
|
+
}
|
46
|
+
var y = (x) => (() => (x))
|
47
|
+
const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["renderDirectiveType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.renderDirectiveType), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
|
48
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
47
49
|
function _typeof(o) {
|
48
50
|
"@babel/helpers - typeof";
|
49
51
|
|
@@ -53,7 +55,7 @@ function _typeof(o) {
|
|
53
55
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
54
56
|
}, _typeof(o);
|
55
57
|
}
|
56
|
-
;//
|
58
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
57
59
|
|
58
60
|
function toPrimitive(t, r) {
|
59
61
|
if ("object" != _typeof(t) || !t) return t;
|
@@ -65,14 +67,14 @@ function toPrimitive(t, r) {
|
|
65
67
|
}
|
66
68
|
return ("string" === r ? String : Number)(t);
|
67
69
|
}
|
68
|
-
;//
|
70
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
69
71
|
|
70
72
|
|
71
73
|
function toPropertyKey(t) {
|
72
74
|
var i = toPrimitive(t, "string");
|
73
75
|
return "symbol" == _typeof(i) ? i : String(i);
|
74
76
|
}
|
75
|
-
;//
|
77
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
76
78
|
|
77
79
|
function _defineProperty(obj, key, value) {
|
78
80
|
key = toPropertyKey(key);
|
@@ -88,11 +90,13 @@ function _defineProperty(obj, key, value) {
|
|
88
90
|
}
|
89
91
|
return obj;
|
90
92
|
}
|
91
|
-
;//
|
92
|
-
var external_vue_types_x = y => {
|
93
|
-
var
|
94
|
-
|
95
|
-
|
93
|
+
;// external "vue-types"
|
94
|
+
var external_vue_types_x = (y) => {
|
95
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
96
|
+
}
|
97
|
+
var external_vue_types_y = (x) => (() => (x))
|
98
|
+
const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
|
99
|
+
;// ../../packages/tab/src/props.ts
|
96
100
|
|
97
101
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
98
102
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -232,22 +236,22 @@ var tabNavProps = _objectSpread({
|
|
232
236
|
labelHeight: shared_namespaceObject.PropTypes.number.def(50),
|
233
237
|
validateActive: shared_namespaceObject.PropTypes.bool.def(true)
|
234
238
|
}, tabNavEventProps);
|
235
|
-
;//
|
239
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
236
240
|
function _arrayLikeToArray(arr, len) {
|
237
241
|
if (len == null || len > arr.length) len = arr.length;
|
238
242
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
239
243
|
return arr2;
|
240
244
|
}
|
241
|
-
;//
|
245
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
242
246
|
|
243
247
|
function _arrayWithoutHoles(arr) {
|
244
248
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
245
249
|
}
|
246
|
-
;//
|
250
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
247
251
|
function _iterableToArray(iter) {
|
248
252
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
249
253
|
}
|
250
|
-
;//
|
254
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
251
255
|
|
252
256
|
function _unsupportedIterableToArray(o, minLen) {
|
253
257
|
if (!o) return;
|
@@ -257,11 +261,11 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
257
261
|
if (n === "Map" || n === "Set") return Array.from(o);
|
258
262
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
259
263
|
}
|
260
|
-
;//
|
264
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
261
265
|
function _nonIterableSpread() {
|
262
266
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
263
267
|
}
|
264
|
-
;//
|
268
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
265
269
|
|
266
270
|
|
267
271
|
|
@@ -269,23 +273,31 @@ function _nonIterableSpread() {
|
|
269
273
|
function _toConsumableArray(arr) {
|
270
274
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
271
275
|
}
|
272
|
-
;//
|
273
|
-
var external_vue_x = y => {
|
274
|
-
var
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
var
|
283
|
-
const
|
284
|
-
;//
|
285
|
-
var
|
286
|
-
var
|
287
|
-
|
288
|
-
|
276
|
+
;// external "vue"
|
277
|
+
var external_vue_x = (y) => {
|
278
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
279
|
+
}
|
280
|
+
var external_vue_y = (x) => (() => (x))
|
281
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Fragment), ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["getCurrentInstance"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["onMounted"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onMounted), ["onUpdated"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onUpdated), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["vShow"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.vShow), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
|
282
|
+
;// external "../config-provider"
|
283
|
+
var config_provider_x = (y) => {
|
284
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
285
|
+
}
|
286
|
+
var config_provider_y = (x) => (() => (x))
|
287
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
288
|
+
;// external "../directives"
|
289
|
+
var directives_x = (y) => {
|
290
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
291
|
+
}
|
292
|
+
var directives_y = (x) => (() => (x))
|
293
|
+
const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips) });
|
294
|
+
;// external "../icon"
|
295
|
+
var icon_x = (y) => {
|
296
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
297
|
+
}
|
298
|
+
var icon_y = (x) => (() => (x))
|
299
|
+
const icon_namespaceObject = icon_x({ ["Close"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close), ["Plus"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Plus) });
|
300
|
+
;// ../../packages/tab/src/tab-nav.tsx
|
289
301
|
|
290
302
|
|
291
303
|
function tab_nav_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -632,7 +644,7 @@ function tab_nav_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
632
644
|
}, [renderActiveBar(), renderNavs()]), operations, setting]);
|
633
645
|
}
|
634
646
|
}));
|
635
|
-
;//
|
647
|
+
;// ../../packages/tab/src/tab.tsx
|
636
648
|
|
637
649
|
|
638
650
|
|
@@ -847,7 +859,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
847
859
|
}, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)])]);
|
848
860
|
}
|
849
861
|
}));
|
850
|
-
;//
|
862
|
+
;// ../../packages/tab/src/tab-panel.tsx
|
851
863
|
|
852
864
|
/*
|
853
865
|
* Tencent is pleased to support the open source community by making
|
@@ -907,7 +919,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
907
919
|
}, [getContent()]), [[external_vue_namespaceObject.vShow, active]]);
|
908
920
|
}
|
909
921
|
}));
|
910
|
-
;//
|
922
|
+
;// ../../packages/tab/src/index.ts
|
911
923
|
|
912
924
|
|
913
925
|
|