bkui-vue 1.0.3-beta.28 → 1.0.3-beta.29
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 +2 -1
- package/dist/index.umd.js +1 -1
- package/lib/affix/index.js +15 -13
- package/lib/alert/index.js +24 -22
- package/lib/animate-number/index.js +6 -5
- package/lib/backtop/index.js +22 -20
- package/lib/badge/index.js +21 -19
- package/lib/breadcrumb/index.js +26 -24
- package/lib/button/index.js +37 -28
- package/lib/card/index.js +43 -35
- package/lib/cascader/index.js +100 -80
- package/lib/checkbox/index.js +34 -32
- package/lib/code-diff/index.js +14 -12
- package/lib/collapse/index.js +41 -39
- package/lib/collapse-transition/index.js +9 -8
- package/lib/color-picker/index.js +50 -48
- package/lib/components.js +60 -505
- package/lib/config-provider/index.js +9 -8
- package/lib/container/index.js +21 -19
- package/lib/date-picker/index.js +73 -65
- package/lib/dialog/index.js +63 -49
- package/lib/directives/index.js +13 -12
- package/lib/dist.index.js +5 -62
- package/lib/divider/index.js +15 -13
- package/lib/dropdown/index.js +32 -24
- package/lib/exception/index.js +13 -11
- package/lib/fixed-navbar/index.js +15 -13
- package/lib/form/index.js +50 -48
- package/lib/hooks.js +1 -48
- package/lib/icon/index.js +1 -0
- package/lib/image/index.js +39 -38
- package/lib/index.js +7 -72
- package/lib/info-box/index.js +21 -13
- package/lib/input/index.js +61 -59
- package/lib/link/index.js +15 -13
- package/lib/loading/index.js +19 -17
- package/lib/locale/index.js +1 -0
- package/lib/menu/index.js +15 -13
- package/lib/message/index.js +40 -38
- package/lib/modal/index.js +43 -41
- package/lib/navigation/index.js +16 -14
- package/lib/notify/index.js +33 -31
- package/lib/overflow-title/index.js +22 -14
- package/lib/pagination/index.js +67 -51
- package/lib/plugin-popover/index.js +54 -53
- package/lib/plugins/index.js +1 -0
- package/lib/pop-confirm/index.js +42 -28
- package/lib/popover/index.js +54 -52
- package/lib/popover2/index.js +4 -3
- package/lib/preset.js +18 -64
- package/lib/process/index.js +27 -26
- package/lib/progress/index.js +28 -26
- package/lib/radio/index.js +34 -32
- package/lib/rate/index.js +24 -22
- package/lib/resize-layout/index.js +27 -25
- package/lib/search-select/index.js +68 -49
- package/lib/select/index.js +168 -129
- package/lib/shared/index.js +1 -0
- package/lib/sideslider/index.js +22 -14
- package/lib/slider/index.js +36 -22
- package/lib/steps/index.js +30 -28
- package/lib/swiper/index.js +16 -14
- package/lib/switcher/index.js +31 -29
- package/lib/tab/index.js +46 -44
- package/lib/table/index.js +207 -148
- package/lib/table-column/index.js +43 -42
- package/lib/tag/index.js +21 -19
- package/lib/tag-input/index.js +80 -65
- package/lib/time-picker/index.js +9 -7
- package/lib/timeline/index.js +13 -12
- package/lib/transfer/index.js +51 -36
- package/lib/tree/index.js +92 -72
- package/lib/upload/index.js +63 -48
- package/lib/virtual-render/index.js +35 -33
- package/package.json +2 -2
package/lib/dialog/index.js
CHANGED
@@ -1,9 +1,13 @@
|
|
1
|
-
import
|
1
|
+
import "../styles/reset.css";
|
2
|
+
import "./dialog.less";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
2
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
|
-
import * as
|
4
|
-
import
|
5
|
-
import * as
|
6
|
-
import * as
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_button_a2ea7c9a__ from "../button";
|
6
|
+
import "../button/button.less";
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
8
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
9
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__ from "../modal";
|
10
|
+
import "../modal/modal.less";
|
7
11
|
/******/ var __webpack_modules__ = ({
|
8
12
|
|
9
13
|
/***/ 7609:
|
@@ -423,7 +427,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
423
427
|
;// CONCATENATED MODULE: external "../shared"
|
424
428
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
425
429
|
var y = x => () => x
|
426
|
-
const
|
430
|
+
const shared_namespaceObject = x({ ["AlignEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.AlignEnum, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["ThemeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.ThemeEnum, ["alignType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.alignType, ["dialogTypeUnion"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.dialogTypeUnion, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
427
431
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
428
432
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
429
433
|
try {
|
@@ -463,21 +467,29 @@ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBP
|
|
463
467
|
var regenerator = __webpack_require__(2841);
|
464
468
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
465
469
|
;// CONCATENATED MODULE: external "../button"
|
466
|
-
var
|
467
|
-
var
|
468
|
-
const
|
470
|
+
var button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
471
|
+
var button_y = x => () => x
|
472
|
+
const button_namespaceObject = button_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_button_a2ea7c9a__["default"] });
|
473
|
+
;// CONCATENATED MODULE: external "../button/button.less"
|
474
|
+
var button_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
475
|
+
var button_less_y = x => () => x
|
476
|
+
const button_less_namespaceObject = button_less_x({ });
|
469
477
|
;// CONCATENATED MODULE: external "../config-provider"
|
470
|
-
var
|
471
|
-
var
|
472
|
-
const
|
478
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
479
|
+
var config_provider_y = x => () => x
|
480
|
+
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
473
481
|
;// CONCATENATED MODULE: external "../icon"
|
474
|
-
var
|
475
|
-
var
|
476
|
-
const
|
482
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
483
|
+
var icon_y = x => () => x
|
484
|
+
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 });
|
477
485
|
;// CONCATENATED MODULE: external "../modal"
|
478
|
-
var
|
479
|
-
var
|
480
|
-
const
|
486
|
+
var modal_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
487
|
+
var modal_y = x => () => x
|
488
|
+
const modal_namespaceObject = modal_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__["default"], ["propsMixin"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__.propsMixin });
|
489
|
+
;// CONCATENATED MODULE: external "../modal/modal.less"
|
490
|
+
var modal_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
491
|
+
var modal_less_y = x => () => x
|
492
|
+
const modal_less_namespaceObject = modal_less_x({ });
|
481
493
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
482
494
|
function _typeof(o) {
|
483
495
|
"@babel/helpers - typeof";
|
@@ -554,36 +566,36 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
554
566
|
*/
|
555
567
|
|
556
568
|
|
557
|
-
var props = _objectSpread(_objectSpread({},
|
558
|
-
width:
|
559
|
-
height:
|
569
|
+
var props = _objectSpread(_objectSpread({}, modal_namespaceObject.propsMixin), {}, {
|
570
|
+
width: shared_namespaceObject.PropTypes.oneOfType([String, Number]).def(''),
|
571
|
+
height: shared_namespaceObject.PropTypes.oneOfType([String, Number]).def(''),
|
560
572
|
// 确认按钮文字
|
561
573
|
// confirmText: PropTypes.string.def('确定'),
|
562
|
-
confirmText:
|
574
|
+
confirmText: shared_namespaceObject.PropTypes.string,
|
563
575
|
// 取消按钮文字
|
564
576
|
// cancelText: PropTypes.string.def('取消'),
|
565
|
-
cancelText:
|
577
|
+
cancelText: shared_namespaceObject.PropTypes.string,
|
566
578
|
// 步骤按钮文字
|
567
579
|
// prevText: PropTypes.string.def('上一步'),
|
568
|
-
prevText:
|
580
|
+
prevText: shared_namespaceObject.PropTypes.string,
|
569
581
|
// nextText: PropTypes.string.def('下一步'),
|
570
|
-
nextText:
|
582
|
+
nextText: shared_namespaceObject.PropTypes.string,
|
571
583
|
// 当前步骤
|
572
|
-
current:
|
584
|
+
current: shared_namespaceObject.PropTypes.number.def(1),
|
573
585
|
// 总步数
|
574
|
-
totalStep:
|
586
|
+
totalStep: shared_namespaceObject.PropTypes.number,
|
575
587
|
// 弹框的标题
|
576
|
-
title:
|
588
|
+
title: shared_namespaceObject.PropTypes.string.def('title'),
|
577
589
|
// 显示 header 的位置
|
578
|
-
headerAlign: (0,
|
590
|
+
headerAlign: (0,shared_namespaceObject.alignType)().def(shared_namespaceObject.AlignEnum.LEFT),
|
579
591
|
// 显示 footer 的位置
|
580
|
-
footerAlign: (0,
|
592
|
+
footerAlign: (0,shared_namespaceObject.alignType)().def(shared_namespaceObject.AlignEnum.RIGHT),
|
581
593
|
// 颜色 按钮类型
|
582
|
-
theme:
|
594
|
+
theme: shared_namespaceObject.PropTypes.theme().def(shared_namespaceObject.ThemeEnum.PRIMARY),
|
583
595
|
// 对话框类型
|
584
|
-
dialogType: (0,
|
596
|
+
dialogType: (0,shared_namespaceObject.dialogTypeUnion)(),
|
585
597
|
// 按钮loading
|
586
|
-
isLoading:
|
598
|
+
isLoading: shared_namespaceObject.PropTypes.bool.def(false)
|
587
599
|
});
|
588
600
|
/* harmony default export */ const src_props = (props);
|
589
601
|
;// CONCATENATED MODULE: ../../packages/dialog/src/dialog.tsx
|
@@ -621,6 +633,8 @@ var props = _objectSpread(_objectSpread({}, external_modal_namespaceObject.props
|
|
621
633
|
|
622
634
|
|
623
635
|
|
636
|
+
|
637
|
+
|
624
638
|
function _isSlot(s) {
|
625
639
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
|
626
640
|
}
|
@@ -631,7 +645,7 @@ function _isSlot(s) {
|
|
631
645
|
emits: ['closed', 'update:isShow', 'confirm', 'prev', 'next', 'value-change'],
|
632
646
|
setup: function setup(props, _ref) {
|
633
647
|
var emit = _ref.emit;
|
634
|
-
var t = (0,
|
648
|
+
var t = (0,config_provider_namespaceObject.useLocale)('dialog');
|
635
649
|
var localConfirmText = (0,external_vue_namespaceObject.computed)(function () {
|
636
650
|
if (props.confirmText === undefined) {
|
637
651
|
return t.value.ok;
|
@@ -794,7 +808,7 @@ function _isSlot(s) {
|
|
794
808
|
document.onmouseup = null;
|
795
809
|
};
|
796
810
|
};
|
797
|
-
var _usePrefix = (0,
|
811
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
798
812
|
resolveClassName = _usePrefix.resolveClassName;
|
799
813
|
return {
|
800
814
|
data: data,
|
@@ -817,16 +831,16 @@ function _isSlot(s) {
|
|
817
831
|
var _this = this;
|
818
832
|
var renderIcon = function renderIcon() {
|
819
833
|
var iconMap = {
|
820
|
-
loading: (0,external_vue_namespaceObject.createVNode)(
|
834
|
+
loading: (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Spinner, {
|
821
835
|
"class": [_this.resolveClassName('info-icon'), 'primary']
|
822
836
|
}, null),
|
823
|
-
warning: (0,external_vue_namespaceObject.createVNode)(
|
837
|
+
warning: (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Warn, {
|
824
838
|
"class": [_this.resolveClassName('info-icon'), 'warning']
|
825
839
|
}, null),
|
826
|
-
success: (0,external_vue_namespaceObject.createVNode)(
|
840
|
+
success: (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Success, {
|
827
841
|
"class": [_this.resolveClassName('info-icon'), 'success']
|
828
842
|
}, null),
|
829
|
-
danger: (0,external_vue_namespaceObject.createVNode)(
|
843
|
+
danger: (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Close, {
|
830
844
|
"class": [_this.resolveClassName('info-icon'), 'danger']
|
831
845
|
}, null)
|
832
846
|
};
|
@@ -858,21 +872,21 @@ function _isSlot(s) {
|
|
858
872
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
859
873
|
"class": _this.resolveClassName('dialog-footer'),
|
860
874
|
"style": "text-align: ".concat(_this.footerAlign)
|
861
|
-
}, [_this.dialogType === 'process' ? (_this$$slots$footer = (_this$$slots$footer2 = (_this$$slots4 = _this.$slots).footer) === null || _this$$slots$footer2 === void 0 ? void 0 : _this$$slots$footer2.call(_this$$slots4)) !== null && _this$$slots$footer !== void 0 ? _this$$slots$footer : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [_this.current === 1 ? '' : (0,external_vue_namespaceObject.createVNode)(
|
875
|
+
}, [_this.dialogType === 'process' ? (_this$$slots$footer = (_this$$slots$footer2 = (_this$$slots4 = _this.$slots).footer) === null || _this$$slots$footer2 === void 0 ? void 0 : _this$$slots$footer2.call(_this$$slots4)) !== null && _this$$slots$footer !== void 0 ? _this$$slots$footer : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [_this.current === 1 ? '' : (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
862
876
|
"class": _this.resolveClassName('dialog-perv'),
|
863
877
|
"onClick": _this.handlePrevStep
|
864
878
|
}, {
|
865
879
|
"default": function _default() {
|
866
880
|
return [_this.localPrevText];
|
867
881
|
}
|
868
|
-
}), _this.current === _this.totalStep ? '' : (0,external_vue_namespaceObject.createVNode)(
|
882
|
+
}), _this.current === _this.totalStep ? '' : (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
869
883
|
"class": _this.resolveClassName('dialog-next'),
|
870
884
|
"onClick": _this.handleNextStep
|
871
885
|
}, {
|
872
886
|
"default": function _default() {
|
873
887
|
return [_this.localNextText];
|
874
888
|
}
|
875
|
-
}), _this.current === _this.totalStep ? (0,external_vue_namespaceObject.createVNode)(
|
889
|
+
}), _this.current === _this.totalStep ? (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
876
890
|
"onClick": _this.handleConfirm,
|
877
891
|
"theme": _this.theme,
|
878
892
|
"loading": _this.isLoading
|
@@ -880,7 +894,7 @@ function _isSlot(s) {
|
|
880
894
|
"default": function _default() {
|
881
895
|
return [_this.localConfirmText];
|
882
896
|
}
|
883
|
-
}) : '', (0,external_vue_namespaceObject.createVNode)(
|
897
|
+
}) : '', (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
884
898
|
"class": _this.resolveClassName('dialog-cancel'),
|
885
899
|
"onClick": _this.handleClose,
|
886
900
|
"disabled": _this.isLoading
|
@@ -888,7 +902,7 @@ function _isSlot(s) {
|
|
888
902
|
"default": function _default() {
|
889
903
|
return [_this.localCancelText];
|
890
904
|
}
|
891
|
-
})]) : '', _this.dialogType === 'operation' ? (_this$$slots$footer3 = (_this$$slots$footer4 = (_this$$slots5 = _this.$slots).footer) === null || _this$$slots$footer4 === void 0 ? void 0 : _this$$slots$footer4.call(_this$$slots5)) !== null && _this$$slots$footer3 !== void 0 ? _this$$slots$footer3 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(
|
905
|
+
})]) : '', _this.dialogType === 'operation' ? (_this$$slots$footer3 = (_this$$slots$footer4 = (_this$$slots5 = _this.$slots).footer) === null || _this$$slots$footer4 === void 0 ? void 0 : _this$$slots$footer4.call(_this$$slots5)) !== null && _this$$slots$footer3 !== void 0 ? _this$$slots$footer3 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
892
906
|
"onClick": _this.handleConfirm,
|
893
907
|
"theme": _this.theme,
|
894
908
|
"loading": _this.isLoading
|
@@ -896,7 +910,7 @@ function _isSlot(s) {
|
|
896
910
|
"default": function _default() {
|
897
911
|
return [_this.localConfirmText];
|
898
912
|
}
|
899
|
-
}), (0,external_vue_namespaceObject.createVNode)(
|
913
|
+
}), (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
900
914
|
"class": _this.resolveClassName('dialog-cancel'),
|
901
915
|
"onClick": _this.handleClose,
|
902
916
|
"disabled": _this.isLoading
|
@@ -904,7 +918,7 @@ function _isSlot(s) {
|
|
904
918
|
"default": function _default() {
|
905
919
|
return [_this.localCancelText];
|
906
920
|
}
|
907
|
-
})]) : '', _this.dialogType === 'confirm' ? (_this$$slots$footer5 = (_this$$slots$footer6 = (_this$$slots6 = _this.$slots).footer) === null || _this$$slots$footer6 === void 0 ? void 0 : _this$$slots$footer6.call(_this$$slots6)) !== null && _this$$slots$footer5 !== void 0 ? _this$$slots$footer5 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(
|
921
|
+
})]) : '', _this.dialogType === 'confirm' ? (_this$$slots$footer5 = (_this$$slots$footer6 = (_this$$slots6 = _this.$slots).footer) === null || _this$$slots$footer6 === void 0 ? void 0 : _this$$slots$footer6.call(_this$$slots6)) !== null && _this$$slots$footer5 !== void 0 ? _this$$slots$footer5 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
908
922
|
"onClick": _this.handleConfirm,
|
909
923
|
"theme": _this.theme,
|
910
924
|
"loading": _this.isLoading
|
@@ -916,14 +930,14 @@ function _isSlot(s) {
|
|
916
930
|
},
|
917
931
|
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
918
932
|
close: function close() {
|
919
|
-
return (0,external_vue_namespaceObject.createVNode)(
|
933
|
+
return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
|
920
934
|
"onClick": _this.handleClose
|
921
935
|
}, null);
|
922
936
|
}
|
923
937
|
};
|
924
938
|
var className = this.resolveClassName('dialog-wrapper ');
|
925
939
|
var bodyClass = "".concat(this.scrollable ? 'scroll-able' : '', " ").concat(this.multiInstance ? 'multi-instance' : '', " ").concat(this.hasFooter ? 'has-footer' : 'no-footer');
|
926
|
-
return (0,external_vue_namespaceObject.createVNode)(
|
940
|
+
return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)(this.$props, {
|
927
941
|
"class": className,
|
928
942
|
"bodyClass": bodyClass,
|
929
943
|
"onClose": this.handleClose,
|
@@ -965,7 +979,7 @@ function _isSlot(s) {
|
|
965
979
|
*/
|
966
980
|
|
967
981
|
|
968
|
-
var BkDialog = (0,
|
982
|
+
var BkDialog = (0,shared_namespaceObject.withInstall)(dialog);
|
969
983
|
/* harmony default export */ const src = (BkDialog);
|
970
984
|
})();
|
971
985
|
|
package/lib/directives/index.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
+
import "../styles/reset.css";
|
1
2
|
import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
|
2
3
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
|
-
import * as
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
4
5
|
import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
|
5
|
-
import * as
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__ from "../plugin-popover";
|
6
7
|
/******/ var __webpack_modules__ = ({
|
7
8
|
|
8
9
|
/***/ 2439:
|
@@ -944,9 +945,9 @@ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
944
945
|
var external_vue_y = x => () => x
|
945
946
|
const external_vue_namespaceObject = external_vue_x({ ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render });
|
946
947
|
;// CONCATENATED MODULE: external "../shared"
|
947
|
-
var
|
948
|
-
var
|
949
|
-
const
|
948
|
+
var shared_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
949
|
+
var shared_y = x => () => x
|
950
|
+
const shared_namespaceObject = shared_x({ ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName });
|
950
951
|
;// CONCATENATED MODULE: external "@popperjs/core"
|
951
952
|
var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
952
953
|
var core_y = x => () => x
|
@@ -1104,9 +1105,9 @@ function renderContent(opts) {
|
|
1104
1105
|
theme = opts.theme,
|
1105
1106
|
extCls = opts.extCls;
|
1106
1107
|
var isLight = theme === 'light';
|
1107
|
-
var zIndex =
|
1108
|
+
var zIndex = shared_namespaceObject.bkZIndexManager.getPopperIndex();
|
1108
1109
|
var content = document.createElement('div');
|
1109
|
-
content.className = "".concat((0,
|
1110
|
+
content.className = "".concat((0,shared_namespaceObject.resolveClassName)('popper'), " ").concat(isLight ? 'light' : 'dark', " ").concat(extCls);
|
1110
1111
|
content.innerText = value;
|
1111
1112
|
content.style.zIndex = String(zIndex);
|
1112
1113
|
renderContext(value, content);
|
@@ -1122,7 +1123,7 @@ function renderContent(opts) {
|
|
1122
1123
|
*/
|
1123
1124
|
function renderArrow() {
|
1124
1125
|
var arrow = document.createElement('div');
|
1125
|
-
arrow.className = (0,
|
1126
|
+
arrow.className = (0,shared_namespaceObject.resolveClassName)('popper-arrow');
|
1126
1127
|
arrow.setAttribute('data-popper-arrow', '');
|
1127
1128
|
return arrow;
|
1128
1129
|
}
|
@@ -1230,9 +1231,9 @@ function hide(el) {
|
|
1230
1231
|
}
|
1231
1232
|
/* harmony default export */ const src_tooltips = (tooltips);
|
1232
1233
|
;// CONCATENATED MODULE: external "../plugin-popover"
|
1233
|
-
var
|
1234
|
-
var
|
1235
|
-
const
|
1234
|
+
var plugin_popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1235
|
+
var plugin_popover_y = x => () => x
|
1236
|
+
const plugin_popover_namespaceObject = plugin_popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"] });
|
1236
1237
|
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
1237
1238
|
|
1238
1239
|
/*
|
@@ -1311,7 +1312,7 @@ var createInstance = function createInstance(el, binding) {
|
|
1311
1312
|
onContentMouseenter: handleContentEnter,
|
1312
1313
|
onContentMouseleave: handleContentLeave
|
1313
1314
|
});
|
1314
|
-
instance = (0,
|
1315
|
+
instance = (0,plugin_popover_namespaceObject["default"])(targetOptions);
|
1315
1316
|
}, 300);
|
1316
1317
|
};
|
1317
1318
|
var handleMouseLeave = function handleMouseLeave() {
|
package/lib/dist.index.js
CHANGED
@@ -1,58 +1,3 @@
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE__styles_9b7bdad5__ from "./styles";
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE__preset_b854ea38__ from "./preset";
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE__components_96ad247a__ from "./components";
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__directives_37095733__ from "./directives";
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__ from "./config-provider";
|
6
|
-
/******/ // The require scope
|
7
|
-
/******/ var __webpack_require__ = {};
|
8
|
-
/******/
|
9
|
-
/************************************************************************/
|
10
|
-
/******/ /* webpack/runtime/define property getters */
|
11
|
-
/******/ (() => {
|
12
|
-
/******/ // define getter functions for harmony exports
|
13
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
14
|
-
/******/ for(var key in definition) {
|
15
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
16
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
17
|
-
/******/ }
|
18
|
-
/******/ }
|
19
|
-
/******/ };
|
20
|
-
/******/ })();
|
21
|
-
/******/
|
22
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
23
|
-
/******/ (() => {
|
24
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
25
|
-
/******/ })();
|
26
|
-
/******/
|
27
|
-
/************************************************************************/
|
28
|
-
var __webpack_exports__ = {};
|
29
|
-
|
30
|
-
// EXPORTS
|
31
|
-
__webpack_require__.d(__webpack_exports__, {
|
32
|
-
"default": () => (/* reexport */ external_preset_namespaceObject["default"])
|
33
|
-
});
|
34
|
-
|
35
|
-
;// CONCATENATED MODULE: external "./styles"
|
36
|
-
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
37
|
-
var y = x => () => x
|
38
|
-
const external_styles_namespaceObject = x({ });
|
39
|
-
;// CONCATENATED MODULE: external "./preset"
|
40
|
-
var external_preset_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
41
|
-
var external_preset_y = x => () => x
|
42
|
-
const external_preset_namespaceObject = external_preset_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__preset_b854ea38__["default"] });
|
43
|
-
;// CONCATENATED MODULE: external "./components"
|
44
|
-
var external_components_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
45
|
-
var external_components_y = x => () => x
|
46
|
-
const external_components_namespaceObject = external_components_x({ });
|
47
|
-
;// CONCATENATED MODULE: external "./directives"
|
48
|
-
var external_directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
49
|
-
var external_directives_y = x => () => x
|
50
|
-
const external_directives_namespaceObject = external_directives_x({ });
|
51
|
-
;// CONCATENATED MODULE: external "./config-provider"
|
52
|
-
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
53
|
-
var external_config_provider_y = x => () => x
|
54
|
-
const external_config_provider_namespaceObject = external_config_provider_x({ });
|
55
|
-
;// CONCATENATED MODULE: ../../packages/bkui-vue/dist.index.ts
|
56
1
|
/*
|
57
2
|
* Tencent is pleased to support the open source community by making
|
58
3
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -78,10 +23,8 @@ const external_config_provider_namespaceObject = external_config_provider_x({ }
|
|
78
23
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
79
24
|
* IN THE SOFTWARE.
|
80
25
|
*/
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
var __webpack_exports__default = __webpack_exports__["default"];
|
87
|
-
export { __webpack_exports__default as default };
|
26
|
+
import './styles';
|
27
|
+
export { default } from './preset';
|
28
|
+
export * from './components';
|
29
|
+
export * from './directives';
|
30
|
+
export * from './config-provider';
|
package/lib/divider/index.js
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
import
|
1
|
+
import "../styles/reset.css";
|
2
|
+
import "./divider.less";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
2
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
|
-
import * as
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
4
6
|
/******/ // The require scope
|
5
7
|
/******/ var __webpack_require__ = {};
|
6
8
|
/******/
|
@@ -33,15 +35,15 @@ __webpack_require__.d(__webpack_exports__, {
|
|
33
35
|
;// CONCATENATED MODULE: external "../shared"
|
34
36
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
35
37
|
var y = x => () => x
|
36
|
-
const
|
38
|
+
const shared_namespaceObject = x({ ["AlignEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.AlignEnum, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["alignType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.alignType, ["directionType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.directionType, ["lineStyleType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.lineStyleType, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
37
39
|
;// CONCATENATED MODULE: external "vue"
|
38
40
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
39
41
|
var external_vue_y = x => () => x
|
40
42
|
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
|
41
43
|
;// CONCATENATED MODULE: external "../config-provider"
|
42
|
-
var
|
43
|
-
var
|
44
|
-
const
|
44
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
45
|
+
var config_provider_y = x => () => x
|
46
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
45
47
|
;// CONCATENATED MODULE: ../../packages/divider/src/props.ts
|
46
48
|
/*
|
47
49
|
* Tencent is pleased to support the open source community by making
|
@@ -70,11 +72,11 @@ const external_config_provider_namespaceObject = external_config_provider_x({ ["
|
|
70
72
|
*/
|
71
73
|
|
72
74
|
var dividerProps = {
|
73
|
-
direction: (0,
|
74
|
-
align: (0,
|
75
|
-
color:
|
76
|
-
width:
|
77
|
-
type: (0,
|
75
|
+
direction: (0,shared_namespaceObject.directionType)(),
|
76
|
+
align: (0,shared_namespaceObject.alignType)().def(shared_namespaceObject.AlignEnum.CENTER),
|
77
|
+
color: shared_namespaceObject.PropTypes.string.def('#dde4eb'),
|
78
|
+
width: shared_namespaceObject.PropTypes.number.def(1),
|
79
|
+
type: (0,shared_namespaceObject.lineStyleType)()
|
78
80
|
};
|
79
81
|
;// CONCATENATED MODULE: ../../packages/divider/src/divider.tsx
|
80
82
|
|
@@ -121,7 +123,7 @@ var dividerProps = {
|
|
121
123
|
borderBottom: "".concat(_this.width, "px ").concat(_this.type, " ").concat(_this.color)
|
122
124
|
};
|
123
125
|
};
|
124
|
-
var _usePrefix = (0,
|
126
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
125
127
|
resolveClassName = _usePrefix.resolveClassName;
|
126
128
|
var slots;
|
127
129
|
if (this.$slots["default"]) {
|
@@ -163,7 +165,7 @@ var dividerProps = {
|
|
163
165
|
*/
|
164
166
|
|
165
167
|
|
166
|
-
var BkDivider = (0,
|
168
|
+
var BkDivider = (0,shared_namespaceObject.withInstall)(divider);
|
167
169
|
/* harmony default export */ const src = (BkDivider);
|
168
170
|
var __webpack_exports__default = __webpack_exports__["default"];
|
169
171
|
export { __webpack_exports__default as default };
|
package/lib/dropdown/index.js
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
import
|
1
|
+
import "../styles/reset.css";
|
2
|
+
import "./dropdown.less";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
2
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
5
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__ from "lodash/merge";
|
4
|
-
import * as
|
5
|
-
import * as
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
8
|
+
import "../popover/popover.less";
|
6
9
|
/******/ // The require scope
|
7
10
|
/******/ var __webpack_require__ = {};
|
8
11
|
/******/
|
@@ -38,7 +41,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
38
41
|
;// CONCATENATED MODULE: external "../shared"
|
39
42
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
40
43
|
var y = x => () => x
|
41
|
-
const
|
44
|
+
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["placementType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.placementType, ["triggerType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.triggerType, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
|
42
45
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
43
46
|
function _typeof(o) {
|
44
47
|
"@babel/helpers - typeof";
|
@@ -93,13 +96,17 @@ var merge_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
93
96
|
var merge_y = x => () => x
|
94
97
|
const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__["default"] });
|
95
98
|
;// CONCATENATED MODULE: external "../config-provider"
|
96
|
-
var
|
97
|
-
var
|
98
|
-
const
|
99
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
100
|
+
var config_provider_y = x => () => x
|
101
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
99
102
|
;// CONCATENATED MODULE: external "../popover"
|
100
|
-
var
|
101
|
-
var
|
102
|
-
const
|
103
|
+
var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
104
|
+
var popover_y = x => () => x
|
105
|
+
const popover_namespaceObject = popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
|
106
|
+
;// CONCATENATED MODULE: external "../popover/popover.less"
|
107
|
+
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
108
|
+
var popover_less_y = x => () => x
|
109
|
+
const popover_less_namespaceObject = popover_less_x({ });
|
103
110
|
;// CONCATENATED MODULE: ../../packages/dropdown/src/dropdown.tsx
|
104
111
|
|
105
112
|
|
@@ -133,21 +140,22 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
|
|
133
140
|
|
134
141
|
|
135
142
|
|
143
|
+
|
136
144
|
/* harmony default export */ const dropdown = ((0,external_vue_namespaceObject.defineComponent)({
|
137
145
|
name: 'Dropdown',
|
138
146
|
props: {
|
139
147
|
/** trigger = manual时候控制显隐藏 */
|
140
|
-
isShow:
|
148
|
+
isShow: shared_namespaceObject.PropTypes.bool.def(false),
|
141
149
|
/** 弹层出现位置 */
|
142
|
-
placement: (0,
|
150
|
+
placement: (0,shared_namespaceObject.placementType)(),
|
143
151
|
/** 触发方式 */
|
144
|
-
trigger: (0,
|
152
|
+
trigger: (0,shared_namespaceObject.triggerType)(),
|
145
153
|
/** 是否禁用 */
|
146
|
-
disabled:
|
154
|
+
disabled: shared_namespaceObject.PropTypes.bool.def(false),
|
147
155
|
/** popover属性 */
|
148
|
-
popoverOptions:
|
156
|
+
popoverOptions: shared_namespaceObject.PropTypes.object.def({}),
|
149
157
|
/** 外部设置的 class name */
|
150
|
-
extCls:
|
158
|
+
extCls: shared_namespaceObject.PropTypes.string
|
151
159
|
},
|
152
160
|
emits: ['showChange', 'show', 'hide'],
|
153
161
|
setup: function setup(_props, _ref) {
|
@@ -167,7 +175,7 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
|
|
167
175
|
handleShowChagne(false);
|
168
176
|
};
|
169
177
|
var popoverRef = (0,external_vue_namespaceObject.ref)(null);
|
170
|
-
var _usePrefix = (0,
|
178
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
171
179
|
resolveClassName = _usePrefix.resolveClassName;
|
172
180
|
return {
|
173
181
|
afterShow: afterShow,
|
@@ -178,7 +186,7 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
|
|
178
186
|
},
|
179
187
|
render: function render() {
|
180
188
|
var _this = this;
|
181
|
-
var wrapperClasses = (0,
|
189
|
+
var wrapperClasses = (0,shared_namespaceObject.classes)(_defineProperty({}, "".concat(this.resolveClassName('dropdown')), true), this.$props.extCls);
|
182
190
|
/** popover 基础配置 */
|
183
191
|
var basePopoverOptions = {
|
184
192
|
theme: "light ".concat(this.resolveClassName('dropdown-popover')),
|
@@ -191,7 +199,7 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
|
|
191
199
|
var popoverOptions = (0,merge_namespaceObject["default"])(basePopoverOptions, this.popoverOptions);
|
192
200
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
193
201
|
"class": wrapperClasses
|
194
|
-
}, [(0,external_vue_namespaceObject.createVNode)(
|
202
|
+
}, [(0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
195
203
|
"ref": "popoverRef"
|
196
204
|
}, popoverOptions, {
|
197
205
|
"onAfterShow": this.afterShow,
|
@@ -246,7 +254,7 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
|
|
246
254
|
name: 'DropdownItem',
|
247
255
|
props: {
|
248
256
|
/** 外部设置的 class name */
|
249
|
-
extCls:
|
257
|
+
extCls: shared_namespaceObject.PropTypes.string
|
250
258
|
},
|
251
259
|
emits: ['click'],
|
252
260
|
setup: function setup(props, _ref) {
|
@@ -255,7 +263,7 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
|
|
255
263
|
evt.stopPropagation();
|
256
264
|
emit('click', evt);
|
257
265
|
};
|
258
|
-
var _usePrefix = (0,
|
266
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
259
267
|
resolveClassName = _usePrefix.resolveClassName;
|
260
268
|
var wrapperCLasses = (0,external_vue_namespaceObject.computed)(function () {
|
261
269
|
return [resolveClassName('dropdown-item'), props.extCls];
|
@@ -307,10 +315,10 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
|
|
307
315
|
name: 'DropdownMenu',
|
308
316
|
props: {
|
309
317
|
/** 外部设置的 class name */
|
310
|
-
extCls:
|
318
|
+
extCls: shared_namespaceObject.PropTypes.string
|
311
319
|
},
|
312
320
|
setup: function setup(props) {
|
313
|
-
var _usePrefix = (0,
|
321
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
314
322
|
resolveClassName = _usePrefix.resolveClassName;
|
315
323
|
var wrapperCLasses = (0,external_vue_namespaceObject.computed)(function () {
|
316
324
|
return [resolveClassName('dropdown-menu'), props.extCls];
|
@@ -356,7 +364,7 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
|
|
356
364
|
|
357
365
|
|
358
366
|
|
359
|
-
var BkDropdown = (0,
|
367
|
+
var BkDropdown = (0,shared_namespaceObject.withInstallProps)(dropdown, {
|
360
368
|
DropdownMenu: dropdown_menu,
|
361
369
|
DropdownItem: dropdown_item
|
362
370
|
});
|