bkui-vue 2.0.2-beta.7 → 2.0.2-beta.8
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 +15 -15
- package/dist/index.esm.js +2751 -2748
- package/dist/index.umd.js +15 -15
- 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 +642 -614
- 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 +610 -594
- package/lib/config-provider/index.js +34 -26
- package/lib/container/index.js +27 -21
- package/lib/date-picker/index.js +642 -620
- package/lib/dialog/index.js +101 -87
- package/lib/directives/index.js +438 -430
- 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 +632 -608
- 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 +340 -324
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +101 -87
- package/lib/input/index.js +342 -327
- package/lib/input/input.d.ts +4 -4
- 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/pop-confirm/index.js +49 -33
- package/lib/popover/index.js +361 -345
- 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 +434 -412
- package/lib/select/index.js +488 -446
- package/lib/shared/index.js +57 -49
- package/lib/sideslider/index.js +91 -81
- 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 +335 -321
- package/lib/table/index.js +563 -505
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.js +36 -26
- package/lib/tag-input/index.js +374 -348
- 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/index.js
CHANGED
package/lib/info-box/index.js
CHANGED
@@ -11,10 +11,48 @@ import "../modal/modal.less";
|
|
11
11
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__ from "lodash/isFunction";
|
12
12
|
/******/ var __webpack_modules__ = ({
|
13
13
|
|
14
|
-
/***/
|
14
|
+
/***/ 4319:
|
15
|
+
/***/ ((module) => {
|
16
|
+
|
17
|
+
function _typeof(o) {
|
18
|
+
"@babel/helpers - typeof";
|
19
|
+
|
20
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
21
|
+
return typeof o;
|
22
|
+
} : function (o) {
|
23
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
24
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
25
|
+
}
|
26
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
27
|
+
|
28
|
+
/***/ }),
|
29
|
+
|
30
|
+
/***/ 5799:
|
31
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
32
|
+
|
33
|
+
// TODO(Babel 8): Remove this file.
|
34
|
+
|
35
|
+
var runtime = __webpack_require__(7048)();
|
36
|
+
module.exports = runtime;
|
37
|
+
|
38
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
39
|
+
try {
|
40
|
+
regeneratorRuntime = runtime;
|
41
|
+
} catch (accidentalStrictMode) {
|
42
|
+
if (typeof globalThis === "object") {
|
43
|
+
globalThis.regeneratorRuntime = runtime;
|
44
|
+
} else {
|
45
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
/***/ }),
|
51
|
+
|
52
|
+
/***/ 7048:
|
15
53
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
16
54
|
|
17
|
-
var _typeof = (__webpack_require__(
|
55
|
+
var _typeof = (__webpack_require__(4319)["default"]);
|
18
56
|
function _regeneratorRuntime() {
|
19
57
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
20
58
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
@@ -319,44 +357,6 @@ function _regeneratorRuntime() {
|
|
319
357
|
}
|
320
358
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
321
359
|
|
322
|
-
/***/ }),
|
323
|
-
|
324
|
-
/***/ 7425:
|
325
|
-
/***/ ((module) => {
|
326
|
-
|
327
|
-
function _typeof(o) {
|
328
|
-
"@babel/helpers - typeof";
|
329
|
-
|
330
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
331
|
-
return typeof o;
|
332
|
-
} : function (o) {
|
333
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
334
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
335
|
-
}
|
336
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
337
|
-
|
338
|
-
/***/ }),
|
339
|
-
|
340
|
-
/***/ 2841:
|
341
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
342
|
-
|
343
|
-
// TODO(Babel 8): Remove this file.
|
344
|
-
|
345
|
-
var runtime = __webpack_require__(7609)();
|
346
|
-
module.exports = runtime;
|
347
|
-
|
348
|
-
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
349
|
-
try {
|
350
|
-
regeneratorRuntime = runtime;
|
351
|
-
} catch (accidentalStrictMode) {
|
352
|
-
if (typeof globalThis === "object") {
|
353
|
-
globalThis.regeneratorRuntime = runtime;
|
354
|
-
} else {
|
355
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
356
|
-
}
|
357
|
-
}
|
358
|
-
|
359
|
-
|
360
360
|
/***/ })
|
361
361
|
|
362
362
|
/******/ });
|
@@ -417,23 +417,25 @@ try {
|
|
417
417
|
/******/
|
418
418
|
/************************************************************************/
|
419
419
|
var __webpack_exports__ = {};
|
420
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
421
|
-
(() => {
|
422
420
|
|
423
421
|
// EXPORTS
|
424
422
|
__webpack_require__.d(__webpack_exports__, {
|
425
423
|
"default": () => (/* binding */ src)
|
426
424
|
});
|
427
425
|
|
428
|
-
;//
|
429
|
-
var x = y => {
|
430
|
-
var
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
426
|
+
;// external "../shared"
|
427
|
+
var x = (y) => {
|
428
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
429
|
+
}
|
430
|
+
var y = (x) => (() => (x))
|
431
|
+
const shared_namespaceObject = x({ ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
|
432
|
+
;// external "vue"
|
433
|
+
var external_vue_x = (y) => {
|
434
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
435
|
+
}
|
436
|
+
var external_vue_y = (x) => (() => (x))
|
437
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Fragment), ["createApp"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createApp), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref) });
|
438
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
437
439
|
function _typeof(o) {
|
438
440
|
"@babel/helpers - typeof";
|
439
441
|
|
@@ -443,7 +445,7 @@ function _typeof(o) {
|
|
443
445
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
444
446
|
}, _typeof(o);
|
445
447
|
}
|
446
|
-
;//
|
448
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
447
449
|
|
448
450
|
function toPrimitive(t, r) {
|
449
451
|
if ("object" != _typeof(t) || !t) return t;
|
@@ -455,14 +457,14 @@ function toPrimitive(t, r) {
|
|
455
457
|
}
|
456
458
|
return ("string" === r ? String : Number)(t);
|
457
459
|
}
|
458
|
-
;//
|
460
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
459
461
|
|
460
462
|
|
461
463
|
function toPropertyKey(t) {
|
462
464
|
var i = toPrimitive(t, "string");
|
463
465
|
return "symbol" == _typeof(i) ? i : String(i);
|
464
466
|
}
|
465
|
-
;//
|
467
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
466
468
|
|
467
469
|
function _defineProperty(obj, key, value) {
|
468
470
|
key = toPropertyKey(key);
|
@@ -478,7 +480,7 @@ function _defineProperty(obj, key, value) {
|
|
478
480
|
}
|
479
481
|
return obj;
|
480
482
|
}
|
481
|
-
;//
|
483
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
482
484
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
483
485
|
try {
|
484
486
|
var info = gen[key](arg);
|
@@ -510,37 +512,51 @@ function _asyncToGenerator(fn) {
|
|
510
512
|
};
|
511
513
|
}
|
512
514
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
513
|
-
var regenerator = __webpack_require__(
|
515
|
+
var regenerator = __webpack_require__(5799);
|
514
516
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
515
|
-
;//
|
516
|
-
var button_x = y => {
|
517
|
-
var
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
517
|
+
;// external "../button"
|
518
|
+
var button_x = (y) => {
|
519
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
520
|
+
}
|
521
|
+
var button_y = (x) => (() => (x))
|
522
|
+
const button_namespaceObject = button_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_button_a2ea7c9a__["default"]) });
|
523
|
+
;// external "../button/button.less"
|
524
|
+
var button_less_x = (y) => {
|
525
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
526
|
+
}
|
527
|
+
var button_less_y = (x) => (() => (x))
|
522
528
|
const button_less_namespaceObject = button_less_x({ });
|
523
|
-
;//
|
524
|
-
var config_provider_x = y => {
|
525
|
-
var
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
var
|
534
|
-
const
|
535
|
-
;//
|
536
|
-
var
|
537
|
-
var
|
529
|
+
;// external "../config-provider"
|
530
|
+
var config_provider_x = (y) => {
|
531
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
532
|
+
}
|
533
|
+
var config_provider_y = (x) => (() => (x))
|
534
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
535
|
+
;// external "../icon"
|
536
|
+
var icon_x = (y) => {
|
537
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
538
|
+
}
|
539
|
+
var icon_y = (x) => (() => (x))
|
540
|
+
const icon_namespaceObject = icon_x({ ["Close"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close), ["Error"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error), ["Spinner"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Spinner), ["Success"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Success), ["Warn"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Warn) });
|
541
|
+
;// external "../modal"
|
542
|
+
var modal_x = (y) => {
|
543
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
544
|
+
}
|
545
|
+
var modal_y = (x) => (() => (x))
|
546
|
+
const modal_namespaceObject = modal_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__["default"]) });
|
547
|
+
;// external "../modal/modal.less"
|
548
|
+
var modal_less_x = (y) => {
|
549
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
550
|
+
}
|
551
|
+
var modal_less_y = (x) => (() => (x))
|
538
552
|
const modal_less_namespaceObject = modal_less_x({ });
|
539
|
-
;//
|
540
|
-
var isFunction_x = y => {
|
541
|
-
var
|
542
|
-
|
543
|
-
|
553
|
+
;// external "lodash/isFunction"
|
554
|
+
var isFunction_x = (y) => {
|
555
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
556
|
+
}
|
557
|
+
var isFunction_y = (x) => (() => (x))
|
558
|
+
const isFunction_namespaceObject = isFunction_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"]) });
|
559
|
+
;// ../../packages/info-box/src/render-component.tsx
|
544
560
|
|
545
561
|
|
546
562
|
|
@@ -813,7 +829,7 @@ var genDefaultState = function genDefaultState() {
|
|
813
829
|
};
|
814
830
|
}
|
815
831
|
}));
|
816
|
-
;//
|
832
|
+
;// ../../packages/info-box/src/info-box.ts
|
817
833
|
/*
|
818
834
|
* Tencent is pleased to support the open source community by making
|
819
835
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -886,7 +902,7 @@ var InfoBox = function InfoBox(config) {
|
|
886
902
|
};
|
887
903
|
};
|
888
904
|
/* harmony default export */ const info_box = (InfoBox);
|
889
|
-
;//
|
905
|
+
;// ../../packages/info-box/src/index.ts
|
890
906
|
/*
|
891
907
|
* Tencent is pleased to support the open source community by making
|
892
908
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -916,7 +932,5 @@ var InfoBox = function InfoBox(config) {
|
|
916
932
|
|
917
933
|
var BkInfoBox = (0,shared_namespaceObject.withInstall)(info_box);
|
918
934
|
/* harmony default export */ const src = (BkInfoBox);
|
919
|
-
})();
|
920
|
-
|
921
935
|
var __webpack_exports__default = __webpack_exports__["default"];
|
922
936
|
export { __webpack_exports__default as default };
|