bkui-vue 2.0.1 → 2.0.2-beta.1
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 +1680 -198
- 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 +1645 -193
- package/lib/config-provider/index.js +34 -26
- package/lib/container/index.js +27 -21
- package/lib/date-picker/index.js +1943 -516
- package/lib/dialog/index.js +101 -87
- package/lib/directives/index.js +494 -376
- 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 +1623 -198
- 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 +1502 -182
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +101 -87
- package/lib/input/index.js +1342 -42
- 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 +1417 -113
- 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 +1486 -236
- package/lib/select/index.js +1404 -134
- 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 +1324 -43
- package/lib/table/index.js +1582 -296
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.js +36 -26
- package/lib/tag-input/index.js +1370 -75
- 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
@@ -35,26 +35,28 @@ __webpack_require__.d(__webpack_exports__, {
|
|
35
35
|
"default": () => (/* binding */ src)
|
36
36
|
});
|
37
37
|
|
38
|
-
;//
|
39
|
-
var x = y => {
|
40
|
-
var
|
41
|
-
|
42
|
-
|
38
|
+
;// external "../shared"
|
39
|
+
var x = (y) => {
|
40
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
41
|
+
}
|
42
|
+
var y = (x) => (() => (x))
|
43
|
+
const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
|
44
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
43
45
|
function _arrayLikeToArray(arr, len) {
|
44
46
|
if (len == null || len > arr.length) len = arr.length;
|
45
47
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
46
48
|
return arr2;
|
47
49
|
}
|
48
|
-
;//
|
50
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
49
51
|
|
50
52
|
function _arrayWithoutHoles(arr) {
|
51
53
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
52
54
|
}
|
53
|
-
;//
|
55
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
54
56
|
function _iterableToArray(iter) {
|
55
57
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
56
58
|
}
|
57
|
-
;//
|
59
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
58
60
|
|
59
61
|
function _unsupportedIterableToArray(o, minLen) {
|
60
62
|
if (!o) return;
|
@@ -64,11 +66,11 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
64
66
|
if (n === "Map" || n === "Set") return Array.from(o);
|
65
67
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
66
68
|
}
|
67
|
-
;//
|
69
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
68
70
|
function _nonIterableSpread() {
|
69
71
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
70
72
|
}
|
71
|
-
;//
|
73
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
72
74
|
|
73
75
|
|
74
76
|
|
@@ -76,7 +78,7 @@ function _nonIterableSpread() {
|
|
76
78
|
function _toConsumableArray(arr) {
|
77
79
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
78
80
|
}
|
79
|
-
;//
|
81
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
80
82
|
function _typeof(o) {
|
81
83
|
"@babel/helpers - typeof";
|
82
84
|
|
@@ -86,7 +88,7 @@ function _typeof(o) {
|
|
86
88
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
87
89
|
}, _typeof(o);
|
88
90
|
}
|
89
|
-
;//
|
91
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
90
92
|
|
91
93
|
function toPrimitive(t, r) {
|
92
94
|
if ("object" != _typeof(t) || !t) return t;
|
@@ -98,14 +100,14 @@ function toPrimitive(t, r) {
|
|
98
100
|
}
|
99
101
|
return ("string" === r ? String : Number)(t);
|
100
102
|
}
|
101
|
-
;//
|
103
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
102
104
|
|
103
105
|
|
104
106
|
function toPropertyKey(t) {
|
105
107
|
var i = toPrimitive(t, "string");
|
106
108
|
return "symbol" == _typeof(i) ? i : String(i);
|
107
109
|
}
|
108
|
-
;//
|
110
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
109
111
|
|
110
112
|
function _defineProperty(obj, key, value) {
|
111
113
|
key = toPropertyKey(key);
|
@@ -121,23 +123,31 @@ function _defineProperty(obj, key, value) {
|
|
121
123
|
}
|
122
124
|
return obj;
|
123
125
|
}
|
124
|
-
;//
|
125
|
-
var external_vue_x = y => {
|
126
|
-
var
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
var
|
135
|
-
const
|
136
|
-
;//
|
137
|
-
var
|
138
|
-
var
|
139
|
-
|
140
|
-
|
126
|
+
;// external "vue"
|
127
|
+
var external_vue_x = (y) => {
|
128
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
129
|
+
}
|
130
|
+
var external_vue_y = (x) => (() => (x))
|
131
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["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), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch) });
|
132
|
+
;// external "../config-provider"
|
133
|
+
var config_provider_x = (y) => {
|
134
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
135
|
+
}
|
136
|
+
var config_provider_y = (x) => (() => (x))
|
137
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
138
|
+
;// external "../scrollbar"
|
139
|
+
var scrollbar_x = (y) => {
|
140
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
141
|
+
}
|
142
|
+
var scrollbar_y = (x) => (() => (x))
|
143
|
+
const scrollbar_namespaceObject = scrollbar_x({ ["VirtualElement"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_scrollbar_918447d0__.VirtualElement), ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_scrollbar_918447d0__["default"]) });
|
144
|
+
;// external "vue-types"
|
145
|
+
var external_vue_types_x = (y) => {
|
146
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
147
|
+
}
|
148
|
+
var external_vue_types_y = (x) => (() => (x))
|
149
|
+
const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
|
150
|
+
;// ../../packages/virtual-render/src/props.ts
|
141
151
|
|
142
152
|
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; }
|
143
153
|
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; }
|
@@ -269,7 +279,7 @@ var virtualRenderProps = _objectSpread({
|
|
269
279
|
*/
|
270
280
|
autoIndex: shared_namespaceObject.PropTypes.bool.def(true)
|
271
281
|
}, EventProps);
|
272
|
-
;//
|
282
|
+
;// ../../packages/virtual-render/src/use-fix-top.tsx
|
273
283
|
/*
|
274
284
|
* Tencent is pleased to support the open source community by making
|
275
285
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -328,7 +338,7 @@ var virtualRenderProps = _objectSpread({
|
|
328
338
|
fixToTop: fixToTop
|
329
339
|
};
|
330
340
|
});
|
331
|
-
;//
|
341
|
+
;// ../../packages/virtual-render/src/use-scrollbar.tsx
|
332
342
|
/*
|
333
343
|
* Tencent is pleased to support the open source community by making
|
334
344
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -390,13 +400,13 @@ var virtualRenderProps = _objectSpread({
|
|
390
400
|
updateScrollHeight: updateScrollHeight
|
391
401
|
};
|
392
402
|
});
|
393
|
-
;//
|
403
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
394
404
|
function _classCallCheck(instance, Constructor) {
|
395
405
|
if (!(instance instanceof Constructor)) {
|
396
406
|
throw new TypeError("Cannot call a class as a function");
|
397
407
|
}
|
398
408
|
}
|
399
|
-
;//
|
409
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/createClass.js
|
400
410
|
|
401
411
|
function _defineProperties(target, props) {
|
402
412
|
for (var i = 0; i < props.length; i++) {
|
@@ -415,11 +425,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
415
425
|
});
|
416
426
|
return Constructor;
|
417
427
|
}
|
418
|
-
;//
|
419
|
-
var throttle_x = y => {
|
420
|
-
var
|
421
|
-
|
422
|
-
|
428
|
+
;// external "lodash/throttle"
|
429
|
+
var throttle_x = (y) => {
|
430
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
431
|
+
}
|
432
|
+
var throttle_y = (x) => (() => (x))
|
433
|
+
const throttle_namespaceObject = throttle_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"]) });
|
434
|
+
;// ../../packages/virtual-render/src/v-virtual-render.ts
|
423
435
|
|
424
436
|
|
425
437
|
|
@@ -653,7 +665,7 @@ var instance = null;
|
|
653
665
|
}
|
654
666
|
}
|
655
667
|
});
|
656
|
-
;//
|
668
|
+
;// ../../packages/virtual-render/src/use-tag-render.tsx
|
657
669
|
|
658
670
|
function use_tag_render_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; }
|
659
671
|
function use_tag_render_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? use_tag_render_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : use_tag_render_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -772,7 +784,7 @@ function use_tag_render_objectSpread(e) { for (var r = 1; r < arguments.length;
|
|
772
784
|
}
|
773
785
|
};
|
774
786
|
});
|
775
|
-
;//
|
787
|
+
;// ../../packages/virtual-render/src/virtual-render.tsx
|
776
788
|
|
777
789
|
|
778
790
|
|
@@ -1140,7 +1152,7 @@ function virtual_render_objectSpread(e) { for (var r = 1; r < arguments.length;
|
|
1140
1152
|
};
|
1141
1153
|
}
|
1142
1154
|
}));
|
1143
|
-
;//
|
1155
|
+
;// ../../packages/virtual-render/src/index.ts
|
1144
1156
|
/*
|
1145
1157
|
* Tencent is pleased to support the open source community by making
|
1146
1158
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|