bkui-vue 1.0.3-beta.41 → 1.0.3-beta.42
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 +33 -33
- package/dist/index.esm.js +5905 -5841
- package/dist/index.umd.js +35 -35
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/dialog/dialog.css +82 -106
- package/lib/dialog/dialog.d.ts +17 -14
- package/lib/dialog/dialog.less +91 -98
- package/lib/dialog/dialog.variable.css +82 -106
- package/lib/dialog/index.d.ts +35 -30
- package/lib/dialog/index.js +148 -131
- package/lib/dialog/props.d.ts +8 -6
- package/lib/info-box/info-box.css +5 -26
- package/lib/info-box/info-box.less +16 -43
- package/lib/info-box/info-box.variable.css +5 -26
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +34 -48
- package/lib/modal/index.js +144 -68
- package/lib/modal/modal.css +33 -50
- package/lib/modal/modal.d.ts +15 -16
- package/lib/modal/modal.less +46 -46
- package/lib/modal/modal.variable.css +33 -50
- package/lib/modal/props.mixin.d.ts +2 -0
- package/lib/sideslider/index.d.ts +3 -3
- package/lib/sideslider/index.js +7 -16
- package/lib/sideslider/sideslider.css +56 -46
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/sideslider/sideslider.less +106 -96
- package/lib/sideslider/sideslider.variable.css +56 -46
- package/package.json +1 -1
package/lib/dialog/index.js
CHANGED
@@ -428,6 +428,51 @@ __webpack_require__.d(__webpack_exports__, {
|
|
428
428
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
429
429
|
var y = x => () => x
|
430
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 });
|
431
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
432
|
+
function _typeof(o) {
|
433
|
+
"@babel/helpers - typeof";
|
434
|
+
|
435
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
436
|
+
return typeof o;
|
437
|
+
} : function (o) {
|
438
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
439
|
+
}, _typeof(o);
|
440
|
+
}
|
441
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
442
|
+
|
443
|
+
function toPrimitive(t, r) {
|
444
|
+
if ("object" != _typeof(t) || !t) return t;
|
445
|
+
var e = t[Symbol.toPrimitive];
|
446
|
+
if (void 0 !== e) {
|
447
|
+
var i = e.call(t, r || "default");
|
448
|
+
if ("object" != _typeof(i)) return i;
|
449
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
450
|
+
}
|
451
|
+
return ("string" === r ? String : Number)(t);
|
452
|
+
}
|
453
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
454
|
+
|
455
|
+
|
456
|
+
function toPropertyKey(t) {
|
457
|
+
var i = toPrimitive(t, "string");
|
458
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
459
|
+
}
|
460
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
461
|
+
|
462
|
+
function _defineProperty(obj, key, value) {
|
463
|
+
key = toPropertyKey(key);
|
464
|
+
if (key in obj) {
|
465
|
+
Object.defineProperty(obj, key, {
|
466
|
+
value: value,
|
467
|
+
enumerable: true,
|
468
|
+
configurable: true,
|
469
|
+
writable: true
|
470
|
+
});
|
471
|
+
} else {
|
472
|
+
obj[key] = value;
|
473
|
+
}
|
474
|
+
return obj;
|
475
|
+
}
|
431
476
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
432
477
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
433
478
|
try {
|
@@ -490,51 +535,6 @@ const modal_namespaceObject = modal_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
|
|
490
535
|
var modal_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
491
536
|
var modal_less_y = x => () => x
|
492
537
|
const modal_less_namespaceObject = modal_less_x({ });
|
493
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
494
|
-
function _typeof(o) {
|
495
|
-
"@babel/helpers - typeof";
|
496
|
-
|
497
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
498
|
-
return typeof o;
|
499
|
-
} : function (o) {
|
500
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
501
|
-
}, _typeof(o);
|
502
|
-
}
|
503
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
504
|
-
|
505
|
-
function toPrimitive(t, r) {
|
506
|
-
if ("object" != _typeof(t) || !t) return t;
|
507
|
-
var e = t[Symbol.toPrimitive];
|
508
|
-
if (void 0 !== e) {
|
509
|
-
var i = e.call(t, r || "default");
|
510
|
-
if ("object" != _typeof(i)) return i;
|
511
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
512
|
-
}
|
513
|
-
return ("string" === r ? String : Number)(t);
|
514
|
-
}
|
515
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
516
|
-
|
517
|
-
|
518
|
-
function toPropertyKey(t) {
|
519
|
-
var i = toPrimitive(t, "string");
|
520
|
-
return "symbol" == _typeof(i) ? i : String(i);
|
521
|
-
}
|
522
|
-
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
523
|
-
|
524
|
-
function _defineProperty(obj, key, value) {
|
525
|
-
key = toPropertyKey(key);
|
526
|
-
if (key in obj) {
|
527
|
-
Object.defineProperty(obj, key, {
|
528
|
-
value: value,
|
529
|
-
enumerable: true,
|
530
|
-
configurable: true,
|
531
|
-
writable: true
|
532
|
-
});
|
533
|
-
} else {
|
534
|
-
obj[key] = value;
|
535
|
-
}
|
536
|
-
return obj;
|
537
|
-
}
|
538
538
|
;// CONCATENATED MODULE: ../../packages/dialog/src/props.ts
|
539
539
|
|
540
540
|
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; }
|
@@ -567,8 +567,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
567
567
|
|
568
568
|
|
569
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(''),
|
572
570
|
// 确认按钮文字
|
573
571
|
// confirmText: PropTypes.string.def('确定'),
|
574
572
|
confirmText: shared_namespaceObject.PropTypes.string,
|
@@ -602,6 +600,7 @@ var props = _objectSpread(_objectSpread({}, modal_namespaceObject.propsMixin), {
|
|
602
600
|
|
603
601
|
|
604
602
|
|
603
|
+
|
605
604
|
/*
|
606
605
|
* Tencent is pleased to support the open source community by making
|
607
606
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -679,16 +678,6 @@ function _isSlot(s) {
|
|
679
678
|
}
|
680
679
|
});
|
681
680
|
var isModalShow = (0,external_vue_namespaceObject.ref)(props.isShow);
|
682
|
-
(0,external_vue_namespaceObject.onMounted)(function () {
|
683
|
-
if (props.escClose) {
|
684
|
-
addEventListener('keydown', escCloseHandler);
|
685
|
-
}
|
686
|
-
});
|
687
|
-
(0,external_vue_namespaceObject.onBeforeUnmount)(function () {
|
688
|
-
if (props.escClose) {
|
689
|
-
removeEventListener('keydown', escCloseHandler);
|
690
|
-
}
|
691
|
-
});
|
692
681
|
(0,external_vue_namespaceObject.watch)(function () {
|
693
682
|
return props.isShow;
|
694
683
|
}, function (val) {
|
@@ -742,11 +731,7 @@ function _isSlot(s) {
|
|
742
731
|
var handleConfirm = function handleConfirm() {
|
743
732
|
emit('update:isShow', false);
|
744
733
|
emit('confirm');
|
745
|
-
// isModalShow.value = false; 影响异步关闭
|
746
734
|
};
|
747
|
-
var hasFooter = (0,external_vue_namespaceObject.computed)(function () {
|
748
|
-
return ['process', 'operation', 'confirm'].includes(props.dialogType);
|
749
|
-
});
|
750
735
|
// 按 esc 关闭弹框
|
751
736
|
var escCloseHandler = function escCloseHandler(e) {
|
752
737
|
if (props.isShow && props.closeIcon) {
|
@@ -810,6 +795,16 @@ function _isSlot(s) {
|
|
810
795
|
};
|
811
796
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
812
797
|
resolveClassName = _usePrefix.resolveClassName;
|
798
|
+
(0,external_vue_namespaceObject.onMounted)(function () {
|
799
|
+
if (props.escClose) {
|
800
|
+
addEventListener('keydown', escCloseHandler);
|
801
|
+
}
|
802
|
+
});
|
803
|
+
(0,external_vue_namespaceObject.onBeforeUnmount)(function () {
|
804
|
+
if (props.escClose) {
|
805
|
+
removeEventListener('keydown', escCloseHandler);
|
806
|
+
}
|
807
|
+
});
|
813
808
|
return {
|
814
809
|
data: data,
|
815
810
|
handleClose: handleClose,
|
@@ -818,7 +813,6 @@ function _isSlot(s) {
|
|
818
813
|
moveHandler: moveHandler,
|
819
814
|
handlePrevStep: handlePrevStep,
|
820
815
|
handleNextStep: handleNextStep,
|
821
|
-
hasFooter: hasFooter,
|
822
816
|
isModalShow: isModalShow,
|
823
817
|
localConfirmText: localConfirmText,
|
824
818
|
localCancelText: localCancelText,
|
@@ -855,7 +849,7 @@ function _isSlot(s) {
|
|
855
849
|
}, [(_this$$slots$tools = (_this$$slots$tools2 = (_this$$slots = _this.$slots).tools) === null || _this$$slots$tools2 === void 0 ? void 0 : _this$$slots$tools2.call(_this$$slots)) !== null && _this$$slots$tools !== void 0 ? _this$$slots$tools : '']), (0,external_vue_namespaceObject.createVNode)("div", {
|
856
850
|
"class": _this.resolveClassName('dialog-header')
|
857
851
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
858
|
-
"class": _this.resolveClassName('header-icon')
|
852
|
+
"class": _this.resolveClassName('dialog-header-icon')
|
859
853
|
}, [_this.infoType ? renderIcon() : (0,external_vue_namespaceObject.createVNode)("slot", {
|
860
854
|
"name": "info-icon"
|
861
855
|
}, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
|
@@ -863,86 +857,109 @@ function _isSlot(s) {
|
|
863
857
|
"style": "text-align: ".concat(_this.headerAlign)
|
864
858
|
}, [(_this$$slots$header = (_this$$slots$header2 = (_this$$slots2 = _this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots2)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : _this.title])])];
|
865
859
|
},
|
866
|
-
|
867
|
-
var _this$$slots$footer, _this$$slots$footer2, _this$$slots3, _this$$slots$footer3, _this$$slots$footer4, _this$$slots4, _this$$slots$footer5, _this$$slots$footer6, _this$$slots5;
|
860
|
+
"default": function _default() {
|
868
861
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
869
|
-
"class": _this.resolveClassName('dialog-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
}
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
})]) : '', _this.dialogType === 'operation' ? (_this$$slots$footer3 = (_this$$slots$footer4 = (_this$$slots4 = _this.$slots).footer) === null || _this$$slots$footer4 === void 0 ? void 0 : _this$$slots$footer4.call(_this$$slots4)) !== 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"], {
|
902
|
-
"onClick": _this.handleConfirm,
|
903
|
-
"theme": _this.theme,
|
904
|
-
"loading": _this.isLoading
|
905
|
-
}, {
|
906
|
-
"default": function _default() {
|
907
|
-
return [_this.localConfirmText];
|
862
|
+
"class": _this.resolveClassName('dialog-content')
|
863
|
+
}, [_this.$slots["default"]()]);
|
864
|
+
},
|
865
|
+
footer: function footer() {
|
866
|
+
if (!['process', 'operation', 'confirm'].includes(_this.dialogType)) {
|
867
|
+
return null;
|
868
|
+
}
|
869
|
+
if (_this.$slots.footer) {
|
870
|
+
return (0,external_vue_namespaceObject.createVNode)("div", {
|
871
|
+
"class": _this.resolveClassName('dialog-footer'),
|
872
|
+
"style": "text-align: ".concat(_this.footerAlign)
|
873
|
+
}, [_this.$slots.footer()]);
|
874
|
+
}
|
875
|
+
var renderFooterAction = function renderFooterAction() {
|
876
|
+
if (_this.dialogType === 'operation') {
|
877
|
+
return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
878
|
+
"onClick": _this.handleConfirm,
|
879
|
+
"theme": _this.theme,
|
880
|
+
"loading": _this.isLoading
|
881
|
+
}, {
|
882
|
+
"default": function _default() {
|
883
|
+
return [_this.localConfirmText];
|
884
|
+
}
|
885
|
+
}), (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
886
|
+
"class": _this.resolveClassName('dialog-cancel'),
|
887
|
+
"onClick": _this.handleClose,
|
888
|
+
"disabled": _this.isLoading
|
889
|
+
}, {
|
890
|
+
"default": function _default() {
|
891
|
+
return [_this.localCancelText];
|
892
|
+
}
|
893
|
+
})]);
|
908
894
|
}
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
895
|
+
if (_this.dialogType === 'confirm') {
|
896
|
+
return (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
897
|
+
"onClick": _this.handleConfirm,
|
898
|
+
"theme": _this.theme,
|
899
|
+
"loading": _this.isLoading
|
900
|
+
}, {
|
901
|
+
"default": function _default() {
|
902
|
+
return [_this.localConfirmText];
|
903
|
+
}
|
904
|
+
});
|
916
905
|
}
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
906
|
+
if (_this.dialogType === 'process') {
|
907
|
+
var renderFirstStepBtn = function renderFirstStepBtn() {
|
908
|
+
if (_this.current === 1) {
|
909
|
+
return (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
910
|
+
"class": _this.resolveClassName('dialog-perv'),
|
911
|
+
"onClick": _this.handlePrevStep
|
912
|
+
}, {
|
913
|
+
"default": function _default() {
|
914
|
+
return [_this.localPrevText];
|
915
|
+
}
|
916
|
+
});
|
917
|
+
}
|
918
|
+
};
|
919
|
+
var renderStepBtn = function renderStepBtn() {
|
920
|
+
if (_this.current === _this.totalStep) {
|
921
|
+
return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
922
|
+
"class": _this.resolveClassName('dialog-next'),
|
923
|
+
"onClick": _this.handleNextStep
|
924
|
+
}, {
|
925
|
+
"default": function _default() {
|
926
|
+
return [_this.localNextText];
|
927
|
+
}
|
928
|
+
}), (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
929
|
+
"onClick": _this.handleConfirm,
|
930
|
+
"theme": _this.theme,
|
931
|
+
"loading": _this.isLoading
|
932
|
+
}, {
|
933
|
+
"default": function _default() {
|
934
|
+
return [_this.localConfirmText];
|
935
|
+
}
|
936
|
+
})]);
|
937
|
+
}
|
938
|
+
};
|
939
|
+
return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [renderFirstStepBtn(), renderStepBtn(), (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
940
|
+
"class": _this.resolveClassName('dialog-cancel'),
|
941
|
+
"onClick": _this.handleClose,
|
942
|
+
"disabled": _this.isLoading
|
943
|
+
}, {
|
944
|
+
"default": function _default() {
|
945
|
+
return [_this.localCancelText];
|
946
|
+
}
|
947
|
+
})]);
|
924
948
|
}
|
925
|
-
}
|
949
|
+
};
|
950
|
+
return (0,external_vue_namespaceObject.createVNode)("div", {
|
951
|
+
"class": _this.resolveClassName('dialog-footer'),
|
952
|
+
"style": "text-align: ".concat(_this.footerAlign)
|
953
|
+
}, [renderFooterAction()]);
|
926
954
|
},
|
927
|
-
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
928
955
|
close: function close() {
|
929
956
|
return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
|
930
957
|
"onClick": _this.handleClose
|
931
958
|
}, null);
|
932
959
|
}
|
933
960
|
};
|
934
|
-
if (this.$slots["default"]) {
|
935
|
-
Object.assign(dialogSlot, {
|
936
|
-
"default": function _default() {
|
937
|
-
return _this.$slots["default"]();
|
938
|
-
}
|
939
|
-
});
|
940
|
-
}
|
941
|
-
var className = this.resolveClassName('dialog-wrapper ');
|
942
|
-
var bodyClass = "".concat(this.scrollable ? 'scroll-able' : '', " ").concat(this.multiInstance ? 'multi-instance' : '', " ").concat(this.hasFooter ? 'has-footer' : 'no-footer');
|
943
961
|
return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)(this.$props, {
|
944
|
-
"class":
|
945
|
-
"bodyClass": bodyClass,
|
962
|
+
"class": _defineProperty(_defineProperty(_defineProperty({}, this.resolveClassName('dialog'), true), this.resolveClassName('dialog-wrapper'), true), 'is-fullscreen', this.fullscreen),
|
946
963
|
"onClose": this.handleClose,
|
947
964
|
"isShow": this.isModalShow,
|
948
965
|
"left": this.data.moveStyle.left,
|
package/lib/dialog/props.d.ts
CHANGED
@@ -1,10 +1,4 @@
|
|
1
1
|
declare const props: {
|
2
|
-
width: import("vue-types").VueTypeDef<string | number> & {
|
3
|
-
default: string | number;
|
4
|
-
};
|
5
|
-
height: import("vue-types").VueTypeDef<string | number> & {
|
6
|
-
default: string | number;
|
7
|
-
};
|
8
2
|
confirmText: import("vue-types").VueTypeValidableDef<string> & {
|
9
3
|
default: string;
|
10
4
|
};
|
@@ -50,6 +44,12 @@ declare const props: {
|
|
50
44
|
} & {
|
51
45
|
default: boolean;
|
52
46
|
};
|
47
|
+
width: import("vue-types").VueTypeDef<string | number> & {
|
48
|
+
default: string | number;
|
49
|
+
};
|
50
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
51
|
+
default: string | number;
|
52
|
+
};
|
53
53
|
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
54
54
|
default: string;
|
55
55
|
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
@@ -100,6 +100,8 @@ declare const props: {
|
|
100
100
|
};
|
101
101
|
direction: import("vue-types").VueTypeValidableDef<string> & {
|
102
102
|
default: string;
|
103
|
+
} & {
|
104
|
+
default: string;
|
103
105
|
};
|
104
106
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
105
107
|
default: string;
|
@@ -1,34 +1,13 @@
|
|
1
|
-
.bk-
|
1
|
+
.bk-info-wrapper .bk-modal-wrapper {
|
2
2
|
width: 440px;
|
3
3
|
}
|
4
|
-
.bk-
|
5
|
-
width: 440px;
|
6
|
-
}
|
7
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
|
8
|
-
width: 400px;
|
9
|
-
}
|
10
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
|
11
|
-
border-radius: 2px;
|
12
|
-
}
|
13
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
4
|
+
.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
14
5
|
margin-top: 16px;
|
15
6
|
}
|
16
|
-
.bk-
|
17
|
-
|
18
|
-
max-height: initial;
|
19
|
-
min-height: initial;
|
20
|
-
word-break: break-all;
|
7
|
+
.bk-info-wrapper .bk-dialog-footer button {
|
8
|
+
min-width: 88px;
|
21
9
|
}
|
22
|
-
.bk-
|
10
|
+
.bk-info-sub-title {
|
23
11
|
text-align: center;
|
24
12
|
word-break: break-all;
|
25
13
|
}
|
26
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
|
27
|
-
height: initial;
|
28
|
-
margin-top: 24px;
|
29
|
-
background-color: #fff;
|
30
|
-
border-top: none;
|
31
|
-
}
|
32
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
|
33
|
-
min-width: 88px;
|
34
|
-
}
|
@@ -1,51 +1,24 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
|
-
.@{bk-prefix}-modal-ctx {
|
3
|
-
&.@{bk-prefix}-info-wrapper {
|
4
|
-
.@{bk-prefix}-modal-wrapper {
|
5
|
-
width: 440px;
|
6
2
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
&.small {
|
12
|
-
width: 400px;
|
13
|
-
}
|
14
|
-
|
15
|
-
.@{bk-prefix}-modal-body {
|
16
|
-
border-radius: 2px;
|
17
|
-
}
|
18
|
-
|
19
|
-
.@{bk-prefix}-dialog-header {
|
20
|
-
.@{bk-prefix}-dialog-title {
|
21
|
-
margin-top: 16px;
|
22
|
-
}
|
23
|
-
}
|
3
|
+
&.@{bk-prefix}-info-wrapper {
|
4
|
+
.@{bk-prefix}-modal-wrapper {
|
5
|
+
width: 440px;
|
24
6
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
min-height: initial;
|
29
|
-
word-break: break-all;
|
30
|
-
.@{bk-prefix}-info-sub-title {
|
31
|
-
text-align: center;
|
32
|
-
word-break: break-all;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
.@{bk-prefix}-modal-footer {
|
37
|
-
height: initial;
|
38
|
-
margin-top: 24px;
|
39
|
-
background-color: #fff;
|
40
|
-
border-top: none;
|
41
|
-
|
42
|
-
.@{bk-prefix}-dialog-footer {
|
43
|
-
button {
|
44
|
-
min-width: 88px;
|
45
|
-
}
|
46
|
-
}
|
7
|
+
.@{bk-prefix}-dialog-header {
|
8
|
+
.@{bk-prefix}-dialog-title {
|
9
|
+
margin-top: 16px;
|
47
10
|
}
|
48
11
|
}
|
12
|
+
}
|
49
13
|
|
14
|
+
.@{bk-prefix}-dialog-footer {
|
15
|
+
button {
|
16
|
+
min-width: 88px;
|
17
|
+
}
|
50
18
|
}
|
51
19
|
}
|
20
|
+
|
21
|
+
.@{bk-prefix}-info-sub-title {
|
22
|
+
text-align: center;
|
23
|
+
word-break: break-all;
|
24
|
+
}
|
@@ -127,37 +127,16 @@
|
|
127
127
|
--select-active-color: #e1ecff;
|
128
128
|
--select-hover-color: #f5f7fa;
|
129
129
|
}
|
130
|
-
.bk-
|
130
|
+
.bk-info-wrapper .bk-modal-wrapper {
|
131
131
|
width: 440px;
|
132
132
|
}
|
133
|
-
.bk-
|
134
|
-
width: 440px;
|
135
|
-
}
|
136
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
|
137
|
-
width: 400px;
|
138
|
-
}
|
139
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
|
140
|
-
border-radius: 2px;
|
141
|
-
}
|
142
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
133
|
+
.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
143
134
|
margin-top: 16px;
|
144
135
|
}
|
145
|
-
.bk-
|
146
|
-
|
147
|
-
max-height: initial;
|
148
|
-
min-height: initial;
|
149
|
-
word-break: break-all;
|
136
|
+
.bk-info-wrapper .bk-dialog-footer button {
|
137
|
+
min-width: 88px;
|
150
138
|
}
|
151
|
-
.bk-
|
139
|
+
.bk-info-sub-title {
|
152
140
|
text-align: center;
|
153
141
|
word-break: break-all;
|
154
142
|
}
|
155
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
|
156
|
-
height: initial;
|
157
|
-
margin-top: 24px;
|
158
|
-
background-color: #fff;
|
159
|
-
border-top: none;
|
160
|
-
}
|
161
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
|
162
|
-
min-width: 88px;
|
163
|
-
}
|