bkui-vue 0.0.1-beta.390 → 0.0.1-beta.392
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 +22 -22
- package/dist/index.esm.js +0 -1
- package/dist/index.umd.js +23 -23
- package/lib/affix/index.js +128 -60
- package/lib/alert/index.js +124 -56
- package/lib/animate-number/index.js +106 -42
- package/lib/backtop/index.js +133 -61
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +4 -4
- package/lib/badge/index.js +114 -50
- package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb.d.ts +1 -1
- package/lib/breadcrumb/index.d.ts +5 -5
- package/lib/breadcrumb/index.js +133 -67
- package/lib/button/index.js +147 -68
- package/lib/card/index.js +154 -69
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +10 -10
- package/lib/cascader/index.js +242 -168
- package/lib/checkbox/index.js +139 -77
- package/lib/code-diff/index.js +121 -79
- package/lib/collapse/index.js +150 -84
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +4 -4
- package/lib/color-picker/index.js +245 -193
- package/lib/components.js +671 -434
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +4 -4
- package/lib/container/index.js +125 -64
- package/lib/date-picker/date-picker.d.ts +2 -2
- package/lib/date-picker/index.d.ts +7 -7
- package/lib/date-picker/index.js +563 -462
- package/lib/date-picker/panel/time-range.d.ts +3 -3
- package/lib/date-picker/panel/time.d.ts +3 -3
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/dialog.d.ts +2 -2
- package/lib/dialog/index.d.ts +7 -7
- package/lib/dialog/index.js +198 -108
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +139 -86
- package/lib/dist.index.js +133 -48
- package/lib/divider/index.js +118 -50
- package/lib/dropdown/dropdown.d.ts +2 -2
- package/lib/dropdown/index.d.ts +7 -7
- package/lib/dropdown/index.js +155 -73
- package/lib/exception/index.js +145 -97
- package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
- package/lib/fixed-navbar/index.d.ts +4 -4
- package/lib/fixed-navbar/index.js +107 -43
- package/lib/form/form-item.d.ts +1 -1
- package/lib/form/index.d.ts +1 -1
- package/lib/form/index.js +193 -107
- package/lib/icon/angle-double-down-line.js +90 -30
- package/lib/icon/angle-double-left-line.js +90 -30
- package/lib/icon/angle-double-left.js +90 -30
- package/lib/icon/angle-double-right-line.js +90 -30
- package/lib/icon/angle-double-right.js +90 -30
- package/lib/icon/angle-double-up-line.js +90 -30
- package/lib/icon/angle-down-fill.js +90 -30
- package/lib/icon/angle-down-line.js +90 -30
- package/lib/icon/angle-down.js +90 -30
- package/lib/icon/angle-left.js +90 -30
- package/lib/icon/angle-right.js +90 -30
- package/lib/icon/angle-up-fill.js +90 -30
- package/lib/icon/angle-up.js +90 -30
- package/lib/icon/archive-fill.js +90 -30
- package/lib/icon/arrows-left.js +90 -30
- package/lib/icon/arrows-right.js +90 -30
- package/lib/icon/audio-fill.js +90 -30
- package/lib/icon/bk.js +90 -30
- package/lib/icon/circle.js +90 -30
- package/lib/icon/close-line.js +90 -30
- package/lib/icon/close.js +90 -30
- package/lib/icon/code.js +90 -30
- package/lib/icon/cog-shape.js +90 -30
- package/lib/icon/collapse-left.js +90 -30
- package/lib/icon/copy.js +90 -30
- package/lib/icon/data-shape.js +90 -30
- package/lib/icon/del.js +90 -30
- package/lib/icon/doc-fill.js +90 -30
- package/lib/icon/done.js +90 -30
- package/lib/icon/down-shape.js +90 -30
- package/lib/icon/down-small.js +90 -30
- package/lib/icon/edit-line.js +90 -30
- package/lib/icon/ellipsis.js +90 -30
- package/lib/icon/enlarge-line.js +90 -30
- package/lib/icon/error.js +90 -30
- package/lib/icon/excel-fill.js +90 -30
- package/lib/icon/exclamation-circle-shape.js +90 -30
- package/lib/icon/eye.js +90 -30
- package/lib/icon/filliscreen-line.js +90 -30
- package/lib/icon/folder-open.js +90 -30
- package/lib/icon/folder-shape-open.js +90 -30
- package/lib/icon/folder-shape.js +90 -30
- package/lib/icon/folder.js +90 -30
- package/lib/icon/funnel.js +90 -30
- package/lib/icon/help-document-fill.js +90 -30
- package/lib/icon/help-fill.js +90 -30
- package/lib/icon/help.js +90 -30
- package/lib/icon/image-fill.js +90 -30
- package/lib/icon/img-placehoulder.js +88 -52
- package/lib/icon/index.js +255 -267
- package/lib/icon/info-line.js +88 -52
- package/lib/icon/info.js +88 -52
- package/lib/icon/left-shape.js +88 -52
- package/lib/icon/left-turn-line.js +88 -52
- package/lib/icon/narrow-line.js +88 -52
- package/lib/icon/original.js +88 -52
- package/lib/icon/pdf-fill.js +88 -52
- package/lib/icon/play-shape.js +88 -52
- package/lib/icon/plus.js +88 -52
- package/lib/icon/ppt-fill.js +88 -52
- package/lib/icon/qq.js +88 -52
- package/lib/icon/right-shape.js +88 -52
- package/lib/icon/right-turn-line.js +88 -52
- package/lib/icon/search.js +88 -52
- package/lib/icon/share.js +88 -52
- package/lib/icon/spinner.js +88 -52
- package/lib/icon/success.js +88 -52
- package/lib/icon/switcher-loading.js +88 -52
- package/lib/icon/text-file.js +88 -52
- package/lib/icon/text-fill.js +88 -52
- package/lib/icon/transfer.js +88 -52
- package/lib/icon/tree-application-shape.js +88 -52
- package/lib/icon/unfull-screen.js +88 -52
- package/lib/icon/unvisible.js +88 -52
- package/lib/icon/up-shape.js +88 -52
- package/lib/icon/upload.js +88 -52
- package/lib/icon/video-fill.js +88 -52
- package/lib/icon/warn.js +88 -52
- package/lib/icon/weixin.js +88 -52
- package/lib/image/index.js +213 -164
- package/lib/index.js +134 -50
- package/lib/info-box/index.js +206 -152
- package/lib/input/index.d.ts +4 -4
- package/lib/input/index.js +167 -99
- package/lib/input/input.d.ts +1 -1
- package/lib/link/index.d.ts +4 -4
- package/lib/link/index.js +115 -47
- package/lib/link/link.d.ts +1 -1
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +127 -67
- package/lib/loading/loading.d.ts +1 -1
- package/lib/menu/index.js +156 -92
- package/lib/message/index.js +148 -76
- package/lib/modal/index.d.ts +4 -4
- package/lib/modal/index.js +151 -85
- package/lib/modal/modal.d.ts +1 -1
- package/lib/navigation/index.js +134 -66
- package/lib/notify/index.js +153 -81
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.js +128 -92
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/index.js +220 -131
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/plugin-popover/index.js +190 -143
- package/lib/plugins/index.js +100 -33
- package/lib/popover/index.d.ts +10 -10
- package/lib/popover/index.js +193 -148
- package/lib/popover/popover.d.ts +3 -3
- package/lib/popover2/index.js +99 -35
- package/lib/preset.js +104 -37
- package/lib/process/index.d.ts +4 -4
- package/lib/process/index.js +134 -92
- package/lib/process/process.d.ts +1 -1
- package/lib/progress/index.d.ts +7 -7
- package/lib/progress/index.js +127 -63
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.js +142 -81
- package/lib/rate/index.js +127 -63
- package/lib/resize-layout/index.js +147 -79
- package/lib/search-select/index.js +220 -168
- package/lib/select/index.d.ts +10 -10
- package/lib/select/index.js +394 -315
- package/lib/select/select.d.ts +3 -3
- package/lib/shared/index.js +203 -228
- package/lib/sideslider/index.d.ts +4 -4
- package/lib/sideslider/index.js +137 -88
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.d.ts +7 -7
- package/lib/slider/index.js +196 -147
- package/lib/slider/slider.d.ts +2 -2
- package/lib/steps/index.js +152 -105
- package/lib/swiper/index.js +126 -62
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/index.js +133 -65
- package/lib/switcher/switcher.d.ts +1 -1
- package/lib/tab/index.d.ts +4 -4
- package/lib/tab/index.js +188 -118
- package/lib/tab/tab.d.ts +1 -1
- package/lib/table/index.js +572 -457
- package/lib/table-column/index.js +197 -129
- package/lib/tag/index.js +130 -58
- package/lib/tag-input/index.d.ts +7 -7
- package/lib/tag-input/index.js +277 -175
- package/lib/tag-input/tag-input.d.ts +2 -2
- package/lib/time-picker/index.d.ts +10 -10
- package/lib/time-picker/index.js +111 -40
- package/lib/timeline/index.d.ts +4 -4
- package/lib/timeline/index.js +114 -50
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/transfer/index.js +174 -89
- package/lib/tree/index.js +235 -158
- package/lib/upload/index.d.ts +7 -7
- package/lib/upload/index.js +227 -173
- package/lib/upload/upload-list.d.ts +1 -1
- package/lib/upload/upload-trigger.d.ts +1 -1
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.js +154 -86
- package/package.json +1 -1
package/lib/directives/index.js
CHANGED
@@ -1,7 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
+
module.exports = factory(require("../overflow-title"), require("../shared"), require("@popperjs/core"), require("../plugin-popover"));
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
5
|
+
define(["../overflow-title", "../shared", "@popperjs/core", "../plugin-popover"], factory);
|
6
|
+
else {
|
7
|
+
var a = typeof exports === 'object' ? factory(require("../overflow-title"), require("../shared"), require("@popperjs/core"), require("../plugin-popover")) : factory(root["../overflow-title"], root["../shared"], root["@popperjs/core"], root["../plugin-popover"]);
|
8
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
9
|
+
}
|
10
|
+
})(self, (__WEBPACK_EXTERNAL_MODULE__1040__, __WEBPACK_EXTERNAL_MODULE__4212__, __WEBPACK_EXTERNAL_MODULE__5798__, __WEBPACK_EXTERNAL_MODULE__9706__) => {
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
12
|
+
/******/ var __webpack_modules__ = ({
|
5
13
|
|
6
14
|
/***/ 2439:
|
7
15
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
@@ -14,6 +22,7 @@ module.exports = __webpack_require__(2527);
|
|
14
22
|
/***/ 7430:
|
15
23
|
/***/ ((module) => {
|
16
24
|
|
25
|
+
"use strict";
|
17
26
|
/**
|
18
27
|
* Copyright (c) 2015, Facebook, Inc.
|
19
28
|
* All rights reserved.
|
@@ -353,6 +362,7 @@ module.exports = UserAgent_DEPRECATED;
|
|
353
362
|
/***/ 3541:
|
354
363
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
355
364
|
|
365
|
+
"use strict";
|
356
366
|
/**
|
357
367
|
* Copyright 2013-2015, Facebook, Inc.
|
358
368
|
* All rights reserved.
|
@@ -423,6 +433,7 @@ module.exports = isEventSupported;
|
|
423
433
|
/***/ 2527:
|
424
434
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
425
435
|
|
436
|
+
"use strict";
|
426
437
|
/**
|
427
438
|
* Copyright (c) 2015, Facebook, Inc.
|
428
439
|
* All rights reserved.
|
@@ -606,78 +617,127 @@ normalizeWheel.getEventType = function() /*string*/ {
|
|
606
617
|
module.exports = normalizeWheel;
|
607
618
|
|
608
619
|
|
620
|
+
/***/ }),
|
621
|
+
|
622
|
+
/***/ 1040:
|
623
|
+
/***/ ((module) => {
|
624
|
+
|
625
|
+
"use strict";
|
626
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1040__;
|
627
|
+
|
628
|
+
/***/ }),
|
629
|
+
|
630
|
+
/***/ 9706:
|
631
|
+
/***/ ((module) => {
|
632
|
+
|
633
|
+
"use strict";
|
634
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__9706__;
|
635
|
+
|
636
|
+
/***/ }),
|
637
|
+
|
638
|
+
/***/ 4212:
|
639
|
+
/***/ ((module) => {
|
640
|
+
|
641
|
+
"use strict";
|
642
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
|
643
|
+
|
644
|
+
/***/ }),
|
645
|
+
|
646
|
+
/***/ 5798:
|
647
|
+
/***/ ((module) => {
|
648
|
+
|
649
|
+
"use strict";
|
650
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5798__;
|
651
|
+
|
609
652
|
/***/ })
|
610
653
|
|
611
|
-
/******/
|
654
|
+
/******/ });
|
612
655
|
/************************************************************************/
|
613
|
-
/******/
|
614
|
-
/******/
|
615
|
-
/******/
|
616
|
-
/******/
|
617
|
-
/******/
|
618
|
-
/******/
|
619
|
-
/******/
|
620
|
-
/******/
|
621
|
-
/******/
|
656
|
+
/******/ // The module cache
|
657
|
+
/******/ var __webpack_module_cache__ = {};
|
658
|
+
/******/
|
659
|
+
/******/ // The require function
|
660
|
+
/******/ function __webpack_require__(moduleId) {
|
661
|
+
/******/ // Check if module is in cache
|
662
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
663
|
+
/******/ if (cachedModule !== undefined) {
|
664
|
+
/******/ return cachedModule.exports;
|
665
|
+
/******/ }
|
666
|
+
/******/ // Create a new module (and put it into the cache)
|
667
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
668
|
+
/******/ // no module.id needed
|
669
|
+
/******/ // no module.loaded needed
|
670
|
+
/******/ exports: {}
|
671
|
+
/******/ };
|
672
|
+
/******/
|
673
|
+
/******/ // Execute the module function
|
674
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
675
|
+
/******/
|
676
|
+
/******/ // Return the exports of the module
|
677
|
+
/******/ return module.exports;
|
622
678
|
/******/ }
|
623
|
-
/******/
|
624
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
625
|
-
/******/ // no module.id needed
|
626
|
-
/******/ // no module.loaded needed
|
627
|
-
/******/ exports: {}
|
628
|
-
/******/ };
|
629
|
-
/******/
|
630
|
-
/******/ // Execute the module function
|
631
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
632
|
-
/******/
|
633
|
-
/******/ // Return the exports of the module
|
634
|
-
/******/ return module.exports;
|
635
|
-
/******/ }
|
636
|
-
/******/
|
679
|
+
/******/
|
637
680
|
/************************************************************************/
|
638
|
-
/******/
|
639
|
-
/******/
|
640
|
-
/******/
|
641
|
-
/******/
|
642
|
-
/******/
|
643
|
-
/******/
|
644
|
-
/******/
|
645
|
-
/******/
|
646
|
-
/******/
|
647
|
-
/******/
|
648
|
-
/******/
|
649
|
-
/******/
|
650
|
-
/******/
|
651
|
-
/******/
|
652
|
-
/******/
|
653
|
-
/******/
|
654
|
-
/******/
|
655
|
-
/******/
|
656
|
-
/******/
|
681
|
+
/******/ /* webpack/runtime/compat get default export */
|
682
|
+
/******/ (() => {
|
683
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
684
|
+
/******/ __webpack_require__.n = (module) => {
|
685
|
+
/******/ var getter = module && module.__esModule ?
|
686
|
+
/******/ () => (module['default']) :
|
687
|
+
/******/ () => (module);
|
688
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
689
|
+
/******/ return getter;
|
690
|
+
/******/ };
|
691
|
+
/******/ })();
|
692
|
+
/******/
|
693
|
+
/******/ /* webpack/runtime/define property getters */
|
694
|
+
/******/ (() => {
|
695
|
+
/******/ // define getter functions for harmony exports
|
696
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
697
|
+
/******/ for(var key in definition) {
|
698
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
699
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
700
|
+
/******/ }
|
657
701
|
/******/ }
|
658
|
-
/******/ }
|
659
|
-
/******/ };
|
660
|
-
/******/
|
661
|
-
/******/
|
662
|
-
/******/
|
663
|
-
/******/ (
|
664
|
-
/******/
|
665
|
-
/******/
|
666
|
-
/******/
|
702
|
+
/******/ };
|
703
|
+
/******/ })();
|
704
|
+
/******/
|
705
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
706
|
+
/******/ (() => {
|
707
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
708
|
+
/******/ })();
|
709
|
+
/******/
|
710
|
+
/******/ /* webpack/runtime/make namespace object */
|
711
|
+
/******/ (() => {
|
712
|
+
/******/ // define __esModule on exports
|
713
|
+
/******/ __webpack_require__.r = (exports) => {
|
714
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
715
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
716
|
+
/******/ }
|
717
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
718
|
+
/******/ };
|
719
|
+
/******/ })();
|
720
|
+
/******/
|
667
721
|
/************************************************************************/
|
668
722
|
var __webpack_exports__ = {};
|
669
|
-
// This entry need to be wrapped in an IIFE because it need to be
|
723
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
670
724
|
(() => {
|
725
|
+
"use strict";
|
726
|
+
// ESM COMPAT FLAG
|
727
|
+
__webpack_require__.r(__webpack_exports__);
|
671
728
|
|
672
729
|
// EXPORTS
|
673
730
|
__webpack_require__.d(__webpack_exports__, {
|
674
|
-
"
|
675
|
-
"
|
676
|
-
"
|
677
|
-
"
|
678
|
-
"
|
731
|
+
"bkEllipsis": () => (/* reexport */ src_ellipsis),
|
732
|
+
"bkEllipsisInstance": () => (/* reexport */ createInstance),
|
733
|
+
"bkTooltips": () => (/* reexport */ src_tooltips),
|
734
|
+
"clickoutside": () => (/* reexport */ clickoutside),
|
735
|
+
"mousewheel": () => (/* reexport */ src_mousewheel),
|
736
|
+
"overflowTitle": () => (/* reexport */ external_overflow_title_.overflowTitle)
|
679
737
|
});
|
680
738
|
|
739
|
+
// EXTERNAL MODULE: external "../overflow-title"
|
740
|
+
var external_overflow_title_ = __webpack_require__(1040);
|
681
741
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
682
742
|
var normalize_wheel = __webpack_require__(2439);
|
683
743
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
@@ -921,14 +981,10 @@ function _typeof(obj) {
|
|
921
981
|
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
922
982
|
}, _typeof(obj);
|
923
983
|
}
|
924
|
-
|
925
|
-
var
|
926
|
-
|
927
|
-
|
928
|
-
;// CONCATENATED MODULE: external "@popperjs/core"
|
929
|
-
var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
930
|
-
var core_y = x => () => x
|
931
|
-
const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
|
984
|
+
// EXTERNAL MODULE: external "../shared"
|
985
|
+
var external_shared_ = __webpack_require__(4212);
|
986
|
+
// EXTERNAL MODULE: external "@popperjs/core"
|
987
|
+
var core_ = __webpack_require__(5798);
|
932
988
|
;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
|
933
989
|
|
934
990
|
|
@@ -1074,9 +1130,9 @@ function renderContent(opts) {
|
|
1074
1130
|
theme = opts.theme,
|
1075
1131
|
extCls = opts.extCls;
|
1076
1132
|
var isLight = theme === 'light';
|
1077
|
-
var zIndex =
|
1133
|
+
var zIndex = external_shared_.bkZIndexManager.getPopperIndex();
|
1078
1134
|
var content = document.createElement('div');
|
1079
|
-
content.className = "".concat((0,
|
1135
|
+
content.className = "".concat((0,external_shared_.resolveClassName)('popper'), " ").concat(isLight ? 'light' : 'dark', " ").concat(extCls);
|
1080
1136
|
content.innerText = value;
|
1081
1137
|
content.style.zIndex = String(zIndex);
|
1082
1138
|
|
@@ -1095,7 +1151,7 @@ function renderContent(opts) {
|
|
1095
1151
|
|
1096
1152
|
function renderArrow() {
|
1097
1153
|
var arrow = document.createElement('div');
|
1098
|
-
arrow.className = (0,
|
1154
|
+
arrow.className = (0,external_shared_.resolveClassName)('popper-arrow');
|
1099
1155
|
arrow.setAttribute('data-popper-arrow', '');
|
1100
1156
|
return arrow;
|
1101
1157
|
}
|
@@ -1114,7 +1170,7 @@ function createPopperInstance(el, popper) {
|
|
1114
1170
|
var placement = opts.placement,
|
1115
1171
|
distance = opts.distance,
|
1116
1172
|
showOnInit = opts.showOnInit;
|
1117
|
-
var popperInstance = (0,
|
1173
|
+
var popperInstance = (0,core_.createPopper)(el, popper, {
|
1118
1174
|
placement: placement,
|
1119
1175
|
modifiers: [{
|
1120
1176
|
name: 'offset',
|
@@ -1192,10 +1248,9 @@ function hide(el) {
|
|
1192
1248
|
}
|
1193
1249
|
|
1194
1250
|
/* harmony default export */ const src_tooltips = (tooltips);
|
1195
|
-
|
1196
|
-
var
|
1197
|
-
var
|
1198
|
-
const external_plugin_popover_namespaceObject = external_plugin_popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__plugin_popover_d49f5bb2__["default"] });
|
1251
|
+
// EXTERNAL MODULE: external "../plugin-popover"
|
1252
|
+
var external_plugin_popover_ = __webpack_require__(9706);
|
1253
|
+
var external_plugin_popover_default = /*#__PURE__*/__webpack_require__.n(external_plugin_popover_);
|
1199
1254
|
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
1200
1255
|
|
1201
1256
|
|
@@ -1276,7 +1331,7 @@ var createInstance = function createInstance(el, binding) {
|
|
1276
1331
|
onContentMouseenter: handleContentEnter,
|
1277
1332
|
onContentMouseleave: handleContentLeave
|
1278
1333
|
});
|
1279
|
-
instance = (
|
1334
|
+
instance = external_plugin_popover_default()(targetOptions);
|
1280
1335
|
setTimeout(function () {
|
1281
1336
|
instance.show();
|
1282
1337
|
});
|
@@ -1359,16 +1414,14 @@ var ellipsis = {
|
|
1359
1414
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
1360
1415
|
* IN THE SOFTWARE.
|
1361
1416
|
*/
|
1362
|
-
|
1417
|
+
|
1363
1418
|
|
1364
1419
|
|
1365
1420
|
|
1366
1421
|
// export { createInstance as bkEllipsisInstance } from './ellipsis';
|
1367
1422
|
})();
|
1368
1423
|
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
var __webpack_exports__mousewheel = __webpack_exports__.SJ;
|
1374
|
-
export { __webpack_exports__bkEllipsis as bkEllipsis, __webpack_exports__bkEllipsisInstance as bkEllipsisInstance, __webpack_exports__bkTooltips as bkTooltips, __webpack_exports__clickoutside as clickoutside, __webpack_exports__mousewheel as mousewheel };
|
1424
|
+
/******/ return __webpack_exports__;
|
1425
|
+
/******/ })()
|
1426
|
+
;
|
1427
|
+
});
|
package/lib/dist.index.js
CHANGED
@@ -1,53 +1,134 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
+
module.exports = factory(require("./styles"), require("./preset"), require("./components"), require("./directives"));
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
5
|
+
define(["./styles", "./preset", "./components", "./directives"], factory);
|
6
|
+
else {
|
7
|
+
var a = typeof exports === 'object' ? factory(require("./styles"), require("./preset"), require("./components"), require("./directives")) : factory(root["./styles"], root["./preset"], root["./components"], root["./directives"]);
|
8
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
9
|
+
}
|
10
|
+
})(self, (__WEBPACK_EXTERNAL_MODULE__9243__, __WEBPACK_EXTERNAL_MODULE__9887__, __WEBPACK_EXTERNAL_MODULE__4689__, __WEBPACK_EXTERNAL_MODULE__7257__) => {
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
12
|
+
/******/ "use strict";
|
13
|
+
/******/ var __webpack_modules__ = ({
|
14
|
+
|
15
|
+
/***/ 4689:
|
16
|
+
/***/ ((module) => {
|
17
|
+
|
18
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4689__;
|
19
|
+
|
20
|
+
/***/ }),
|
21
|
+
|
22
|
+
/***/ 7257:
|
23
|
+
/***/ ((module) => {
|
24
|
+
|
25
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7257__;
|
26
|
+
|
27
|
+
/***/ }),
|
28
|
+
|
29
|
+
/***/ 9887:
|
30
|
+
/***/ ((module) => {
|
31
|
+
|
32
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__9887__;
|
33
|
+
|
34
|
+
/***/ }),
|
35
|
+
|
36
|
+
/***/ 9243:
|
37
|
+
/***/ ((module) => {
|
38
|
+
|
39
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__9243__;
|
40
|
+
|
41
|
+
/***/ })
|
42
|
+
|
43
|
+
/******/ });
|
8
44
|
/************************************************************************/
|
9
|
-
/******/
|
10
|
-
/******/
|
11
|
-
/******/
|
12
|
-
/******/
|
13
|
-
/******/
|
14
|
-
/******/
|
15
|
-
/******/
|
16
|
-
/******/
|
45
|
+
/******/ // The module cache
|
46
|
+
/******/ var __webpack_module_cache__ = {};
|
47
|
+
/******/
|
48
|
+
/******/ // The require function
|
49
|
+
/******/ function __webpack_require__(moduleId) {
|
50
|
+
/******/ // Check if module is in cache
|
51
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
52
|
+
/******/ if (cachedModule !== undefined) {
|
53
|
+
/******/ return cachedModule.exports;
|
17
54
|
/******/ }
|
18
|
-
/******/
|
19
|
-
/******/
|
20
|
-
/******/
|
21
|
-
/******/
|
22
|
-
/******/
|
23
|
-
/******/
|
24
|
-
/******/
|
25
|
-
/******/
|
55
|
+
/******/ // Create a new module (and put it into the cache)
|
56
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
57
|
+
/******/ // no module.id needed
|
58
|
+
/******/ // no module.loaded needed
|
59
|
+
/******/ exports: {}
|
60
|
+
/******/ };
|
61
|
+
/******/
|
62
|
+
/******/ // Execute the module function
|
63
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
64
|
+
/******/
|
65
|
+
/******/ // Return the exports of the module
|
66
|
+
/******/ return module.exports;
|
67
|
+
/******/ }
|
68
|
+
/******/
|
69
|
+
/************************************************************************/
|
70
|
+
/******/ /* webpack/runtime/compat get default export */
|
71
|
+
/******/ (() => {
|
72
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
73
|
+
/******/ __webpack_require__.n = (module) => {
|
74
|
+
/******/ var getter = module && module.__esModule ?
|
75
|
+
/******/ () => (module['default']) :
|
76
|
+
/******/ () => (module);
|
77
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
78
|
+
/******/ return getter;
|
79
|
+
/******/ };
|
80
|
+
/******/ })();
|
81
|
+
/******/
|
82
|
+
/******/ /* webpack/runtime/define property getters */
|
83
|
+
/******/ (() => {
|
84
|
+
/******/ // define getter functions for harmony exports
|
85
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
86
|
+
/******/ for(var key in definition) {
|
87
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
88
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
89
|
+
/******/ }
|
90
|
+
/******/ }
|
91
|
+
/******/ };
|
92
|
+
/******/ })();
|
93
|
+
/******/
|
94
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
95
|
+
/******/ (() => {
|
96
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
97
|
+
/******/ })();
|
98
|
+
/******/
|
99
|
+
/******/ /* webpack/runtime/make namespace object */
|
100
|
+
/******/ (() => {
|
101
|
+
/******/ // define __esModule on exports
|
102
|
+
/******/ __webpack_require__.r = (exports) => {
|
103
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
104
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
105
|
+
/******/ }
|
106
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
107
|
+
/******/ };
|
108
|
+
/******/ })();
|
109
|
+
/******/
|
26
110
|
/************************************************************************/
|
27
111
|
var __webpack_exports__ = {};
|
28
|
-
|
29
|
-
|
30
|
-
__webpack_require__.
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
var
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
const
|
42
|
-
|
43
|
-
|
44
|
-
var
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
var external_directives_y = x => () => x
|
49
|
-
const external_directives_namespaceObject = external_directives_x({ });
|
50
|
-
;// CONCATENATED MODULE: ../../packages/bkui-vue/dist.index.ts
|
112
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
113
|
+
(() => {
|
114
|
+
__webpack_require__.r(__webpack_exports__);
|
115
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
116
|
+
/* harmony export */ "default": () => (/* reexport default from dynamic */ _preset__WEBPACK_IMPORTED_MODULE_1___default.a)
|
117
|
+
/* harmony export */ });
|
118
|
+
/* harmony import */ var _bkui_vue_styles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9243);
|
119
|
+
/* harmony import */ var _bkui_vue_styles__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_bkui_vue_styles__WEBPACK_IMPORTED_MODULE_0__);
|
120
|
+
/* harmony import */ var _preset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9887);
|
121
|
+
/* harmony import */ var _preset__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_preset__WEBPACK_IMPORTED_MODULE_1__);
|
122
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4689);
|
123
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_components__WEBPACK_IMPORTED_MODULE_2__);
|
124
|
+
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
125
|
+
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _components__WEBPACK_IMPORTED_MODULE_2__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _components__WEBPACK_IMPORTED_MODULE_2__[__WEBPACK_IMPORT_KEY__]
|
126
|
+
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
127
|
+
/* harmony import */ var _bkui_vue_directives__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7257);
|
128
|
+
/* harmony import */ var _bkui_vue_directives__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_bkui_vue_directives__WEBPACK_IMPORTED_MODULE_3__);
|
129
|
+
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
130
|
+
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _bkui_vue_directives__WEBPACK_IMPORTED_MODULE_3__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _bkui_vue_directives__WEBPACK_IMPORTED_MODULE_3__[__WEBPACK_IMPORT_KEY__]
|
131
|
+
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
51
132
|
/*
|
52
133
|
* Tencent is pleased to support the open source community by making
|
53
134
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -77,5 +158,9 @@ const external_directives_namespaceObject = external_directives_x({ });
|
|
77
158
|
|
78
159
|
|
79
160
|
|
80
|
-
|
81
|
-
|
161
|
+
})();
|
162
|
+
|
163
|
+
/******/ return __webpack_exports__;
|
164
|
+
/******/ })()
|
165
|
+
;
|
166
|
+
});
|