bkui-vue 0.0.2-modal-refactor.1 → 0.0.2-modal-refactor.2

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.
@@ -0,0 +1,24 @@
1
+ import { type ComponentPublicInstance } from 'vue';
2
+ import type { DatePickerPanelType } from './interface';
3
+ export declare function useCalendar(props: any, slots: any, emit: any): {
4
+ resolveClassName: (cls: string) => string;
5
+ longWidthCls: import("vue").ComputedRef<string>;
6
+ fontSizeCls: import("vue").ComputedRef<string>;
7
+ forceInputRerender: import("vue").Ref<number>;
8
+ internalValue: any;
9
+ localReadonly: import("vue").ComputedRef<any>;
10
+ displayValue: import("vue").ComputedRef<any>;
11
+ inputRef: any;
12
+ setInputRef: (el: Element | ComponentPublicInstance | null) => void;
13
+ handleFocus: (e: any) => void;
14
+ handleBlur: (e: any) => void;
15
+ showClose: import("vue").Ref<boolean>;
16
+ handleIconClick: () => void;
17
+ handleKeydown: (e: KeyboardEvent) => void;
18
+ handleInputChange: (e: any) => void;
19
+ handleInputInput: (e: any) => void;
20
+ handleClear: () => void;
21
+ panel: import("vue").ComputedRef<DatePickerPanelType>;
22
+ opened: import("vue").ComputedRef<any>;
23
+ };
24
+ export declare function defaultTrigger(props: any, slots: any, emit: any): JSX.Element;
@@ -1,40 +1,40 @@
1
- .bk-modal-wrapper.bk-info-wrapper {
1
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper {
2
2
  width: 440px;
3
3
  }
4
- .bk-modal-wrapper.bk-info-wrapper.normal {
4
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.normal {
5
5
  width: 440px;
6
6
  }
7
- .bk-modal-wrapper.bk-info-wrapper.small {
7
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
8
8
  width: 400px;
9
9
  }
10
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-body {
10
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
11
11
  border-radius: 2px;
12
12
  }
13
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header {
13
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
14
14
  padding: 24px 24px 0;
15
15
  }
16
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header .bk-dialog-title {
16
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
17
17
  height: 27px;
18
18
  margin: 15px 0 10px;
19
19
  }
20
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content {
20
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content {
21
21
  height: 100%;
22
22
  max-height: 100%;
23
23
  min-height: 100%;
24
24
  padding: 0 50px 10px;
25
25
  word-break: break-all;
26
26
  }
27
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content .bk-info-sub-title {
27
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content .bk-info-sub-title {
28
28
  margin-bottom: 10px;
29
29
  text-align: center;
30
30
  word-break: break-all;
31
31
  }
32
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer {
32
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
33
33
  padding: 0 65px 33px;
34
34
  background-color: #fff;
35
35
  border-top: none;
36
36
  }
37
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer .bk-dialog-footer button {
37
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
38
38
  min-width: 88px;
39
39
  }
40
40
  .bk-modal-ctx {
@@ -287,16 +287,16 @@ declare const _default: import("vue").DefineComponent<{
287
287
  theme: "success" | "warning" | "danger" | "primary";
288
288
  draggable: boolean;
289
289
  transfer: string | boolean | HTMLElement;
290
- showMask: boolean;
291
- multiInstance: boolean;
292
290
  direction: string;
293
291
  renderDirective: "show" | "if";
294
292
  quickClose: boolean;
295
293
  scrollable: boolean;
294
+ showMask: boolean;
296
295
  closeIcon: boolean;
297
296
  escClose: boolean;
298
297
  fullscreen: boolean;
299
298
  animateType: string;
299
+ multiInstance: boolean;
300
300
  confirmText: string;
301
301
  cancelText: string;
302
302
  prevText: string;
@@ -124,43 +124,43 @@
124
124
  --search-select-message-color: var(--danger-color);
125
125
  --search-select-menu-border-color: var(--disable-color);
126
126
  }
127
- .bk-modal-wrapper.bk-info-wrapper {
127
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper {
128
128
  width: 440px;
129
129
  }
130
- .bk-modal-wrapper.bk-info-wrapper.normal {
130
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.normal {
131
131
  width: 440px;
132
132
  }
133
- .bk-modal-wrapper.bk-info-wrapper.small {
133
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
134
134
  width: 400px;
135
135
  }
136
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-body {
136
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
137
137
  border-radius: 2px;
138
138
  }
139
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header {
139
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
140
140
  padding: 24px 24px 0;
141
141
  }
142
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header .bk-dialog-title {
142
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
143
143
  height: 27px;
144
144
  margin: 15px 0 10px;
145
145
  }
146
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content {
146
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content {
147
147
  height: 100%;
148
148
  max-height: 100%;
149
149
  min-height: 100%;
150
150
  padding: 0 50px 10px;
151
151
  word-break: break-all;
152
152
  }
153
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content .bk-info-sub-title {
153
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content .bk-info-sub-title {
154
154
  margin-bottom: 10px;
155
155
  text-align: center;
156
156
  word-break: break-all;
157
157
  }
158
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer {
158
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
159
159
  padding: 0 65px 33px;
160
160
  background-color: #fff;
161
161
  border-top: none;
162
162
  }
163
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer .bk-dialog-footer button {
163
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
164
164
  min-width: 88px;
165
165
  }
166
166
  .bk-modal-ctx {
@@ -14,16 +14,16 @@ declare const BkDialog: {
14
14
  theme?: "success" | "warning" | "danger" | "primary";
15
15
  draggable?: boolean;
16
16
  transfer?: string | boolean | HTMLElement;
17
- showMask?: boolean;
18
- multiInstance?: boolean;
19
17
  direction?: string;
20
18
  renderDirective?: "show" | "if";
21
19
  quickClose?: boolean;
22
20
  scrollable?: boolean;
21
+ showMask?: boolean;
23
22
  closeIcon?: boolean;
24
23
  escClose?: boolean;
25
24
  fullscreen?: boolean;
26
25
  animateType?: string;
26
+ multiInstance?: boolean;
27
27
  confirmText?: string;
28
28
  cancelText?: string;
29
29
  prevText?: string;
@@ -267,16 +267,16 @@ declare const BkDialog: {
267
267
  theme: "success" | "warning" | "danger" | "primary";
268
268
  draggable: boolean;
269
269
  transfer: string | boolean | HTMLElement;
270
- showMask: boolean;
271
- multiInstance: boolean;
272
270
  direction: string;
273
271
  renderDirective: "show" | "if";
274
272
  quickClose: boolean;
275
273
  scrollable: boolean;
274
+ showMask: boolean;
276
275
  closeIcon: boolean;
277
276
  escClose: boolean;
278
277
  fullscreen: boolean;
279
278
  animateType: string;
279
+ multiInstance: boolean;
280
280
  confirmText: string;
281
281
  cancelText: string;
282
282
  prevText: string;
@@ -628,16 +628,16 @@ declare const BkDialog: {
628
628
  theme: "success" | "warning" | "danger" | "primary";
629
629
  draggable: boolean;
630
630
  transfer: string | boolean | HTMLElement;
631
- showMask: boolean;
632
- multiInstance: boolean;
633
631
  direction: string;
634
632
  renderDirective: "show" | "if";
635
633
  quickClose: boolean;
636
634
  scrollable: boolean;
635
+ showMask: boolean;
637
636
  closeIcon: boolean;
638
637
  escClose: boolean;
639
638
  fullscreen: boolean;
640
639
  animateType: string;
640
+ multiInstance: boolean;
641
641
  confirmText: string;
642
642
  cancelText: string;
643
643
  prevText: string;
@@ -998,19 +998,13 @@ function info_box_objectSpread(target) { for (var i = 1; i < arguments.length; i
998
998
 
999
999
  var InfoBox = function InfoBox(config) {
1000
1000
  var container = document.createElement('div');
1001
- var isShow = (0,external_vue_namespaceObject.ref)(false);
1002
1001
  var modalFuncProps = (0,external_vue_namespaceObject.shallowRef)(config);
1002
+ var isShow = (0,external_vue_namespaceObject.ref)(modalFuncProps.value.isShow !== false);
1003
+ var app;
1003
1004
  var dialog = (0,external_vue_namespaceObject.defineComponent)({
1004
1005
  name: 'DialogConfirm',
1005
1006
  setup: function setup(_props, _ref) {
1006
1007
  var expose = _ref.expose;
1007
- (0,external_vue_namespaceObject.onMounted)(function () {
1008
- var dom = document.activeElement || document.body;
1009
- dom.blur();
1010
- if (modalFuncProps.value.isShow !== false) {
1011
- isShow.value = true;
1012
- }
1013
- });
1014
1008
  var onClosed = /*#__PURE__*/function () {
1015
1009
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
1016
1010
  var _modalFuncProps$value;
@@ -1093,6 +1087,9 @@ var InfoBox = function InfoBox(config) {
1093
1087
  }
1094
1088
  return subTitleBox;
1095
1089
  };
1090
+ var onHidden = function onHidden() {
1091
+ container.remove();
1092
+ };
1096
1093
  return function () {
1097
1094
  return (0,external_vue_namespaceObject.createVNode)(src_dialog, info_box_objectSpread(info_box_objectSpread({
1098
1095
  "class": resolveClassName('info-wrapper'),
@@ -1103,24 +1100,38 @@ var InfoBox = function InfoBox(config) {
1103
1100
  }, modalFuncProps.value), {}, {
1104
1101
  isShow: isShow.value,
1105
1102
  onClosed: onClosed,
1106
- onConfirm: onConfirm
1107
- }), getContent());
1103
+ onConfirm: onConfirm,
1104
+ onHidden: onHidden
1105
+ }), getContent);
1108
1106
  };
1109
1107
  }
1110
1108
  });
1111
- var app = (0,external_vue_namespaceObject.createApp)(dialog).mount(container);
1109
+ var beforeShow = function beforeShow() {
1110
+ if (!app) {
1111
+ document.body.append(container);
1112
+ app = (0,external_vue_namespaceObject.createApp)(dialog).mount(container);
1113
+ }
1114
+ };
1115
+ if (isShow.value) {
1116
+ beforeShow();
1117
+ }
1112
1118
  return {
1113
1119
  show: function show() {
1120
+ beforeShow();
1114
1121
  isShow.value = true;
1115
1122
  },
1116
1123
  hide: function hide() {
1117
1124
  isShow.value = false;
1118
1125
  },
1119
1126
  update: function update(config) {
1120
- app.update(config);
1127
+ var _app;
1128
+ beforeShow();
1129
+ (_app = app) === null || _app === void 0 ? void 0 : _app.update(config);
1121
1130
  },
1122
1131
  destroy: function destroy() {
1123
- app.unmount();
1132
+ var _app2;
1133
+ container.remove();
1134
+ (_app2 = app) === null || _app2 === void 0 ? void 0 : _app2.unmount();
1124
1135
  app = null;
1125
1136
  }
1126
1137
  };
@@ -1,39 +1,39 @@
1
- .bk-modal-wrapper.bk-info-wrapper {
1
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper {
2
2
  width: 440px;
3
3
  }
4
- .bk-modal-wrapper.bk-info-wrapper.normal {
4
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.normal {
5
5
  width: 440px;
6
6
  }
7
- .bk-modal-wrapper.bk-info-wrapper.small {
7
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
8
8
  width: 400px;
9
9
  }
10
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-body {
10
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
11
11
  border-radius: 2px;
12
12
  }
13
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header {
13
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
14
14
  padding: 24px 24px 0;
15
15
  }
16
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header .bk-dialog-title {
16
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
17
17
  height: 27px;
18
18
  margin: 15px 0 10px;
19
19
  }
20
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content {
20
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content {
21
21
  height: 100%;
22
22
  max-height: 100%;
23
23
  min-height: 100%;
24
24
  padding: 0 50px 10px;
25
25
  word-break: break-all;
26
26
  }
27
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content .bk-info-sub-title {
27
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content .bk-info-sub-title {
28
28
  margin-bottom: 10px;
29
29
  text-align: center;
30
30
  word-break: break-all;
31
31
  }
32
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer {
32
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
33
33
  padding: 0 65px 33px;
34
34
  background-color: #fff;
35
35
  border-top: none;
36
36
  }
37
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer .bk-dialog-footer button {
37
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
38
38
  min-width: 88px;
39
39
  }
@@ -1,52 +1,55 @@
1
1
  @import '../styles/themes/themes.less';
2
- .@{bk-prefix}-modal-wrapper {
2
+ .@{bk-prefix}-modal-ctx {
3
3
  &.@{bk-prefix}-info-wrapper {
4
- width: 440px;
5
-
6
- &.normal {
4
+ .@{bk-prefix}-modal-wrapper {
7
5
  width: 440px;
8
- }
9
6
 
10
- &.small {
11
- width: 400px;
12
- }
7
+ &.normal {
8
+ width: 440px;
9
+ }
13
10
 
14
- .@{bk-prefix}-modal-body {
15
- border-radius: 2px;
16
- }
11
+ &.small {
12
+ width: 400px;
13
+ }
17
14
 
18
- .@{bk-prefix}-dialog-header {
19
- padding: 24px 24px 0;
15
+ .@{bk-prefix}-modal-body {
16
+ border-radius: 2px;
17
+ }
20
18
 
21
- .@{bk-prefix}-dialog-title {
22
- height: 27px;
23
- margin: 15px 0 10px;
19
+ .@{bk-prefix}-dialog-header {
20
+ padding: 24px 24px 0;
21
+
22
+ .@{bk-prefix}-dialog-title {
23
+ height: 27px;
24
+ margin: 15px 0 10px;
25
+ }
24
26
  }
25
- }
26
27
 
27
- .@{bk-prefix}-modal-content {
28
- height: 100%;
29
- max-height: 100%;
30
- min-height: 100%;
31
- padding: 0 50px 10px;
32
- word-break: break-all;
33
- .@{bk-prefix}-info-sub-title {
34
- margin-bottom: 10px;
35
- text-align: center;
28
+ .@{bk-prefix}-modal-content {
29
+ height: 100%;
30
+ max-height: 100%;
31
+ min-height: 100%;
32
+ padding: 0 50px 10px;
36
33
  word-break: break-all;
34
+ .@{bk-prefix}-info-sub-title {
35
+ margin-bottom: 10px;
36
+ text-align: center;
37
+ word-break: break-all;
38
+ }
37
39
  }
38
- }
39
40
 
40
- .@{bk-prefix}-modal-footer {
41
- padding: 0 65px 33px;
42
- background-color: #fff;
43
- border-top: none;
41
+ .@{bk-prefix}-modal-footer {
42
+ padding: 0 65px 33px;
43
+ background-color: #fff;
44
+ border-top: none;
44
45
 
45
- .@{bk-prefix}-dialog-footer {
46
- button {
47
- min-width: 88px;
46
+ .@{bk-prefix}-dialog-footer {
47
+ button {
48
+ min-width: 88px;
49
+ }
48
50
  }
49
51
  }
50
52
  }
53
+
51
54
  }
52
55
  }
@@ -124,42 +124,42 @@
124
124
  --search-select-message-color: var(--danger-color);
125
125
  --search-select-menu-border-color: var(--disable-color);
126
126
  }
127
- .bk-modal-wrapper.bk-info-wrapper {
127
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper {
128
128
  width: 440px;
129
129
  }
130
- .bk-modal-wrapper.bk-info-wrapper.normal {
130
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.normal {
131
131
  width: 440px;
132
132
  }
133
- .bk-modal-wrapper.bk-info-wrapper.small {
133
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
134
134
  width: 400px;
135
135
  }
136
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-body {
136
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
137
137
  border-radius: 2px;
138
138
  }
139
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header {
139
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
140
140
  padding: 24px 24px 0;
141
141
  }
142
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header .bk-dialog-title {
142
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
143
143
  height: 27px;
144
144
  margin: 15px 0 10px;
145
145
  }
146
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content {
146
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content {
147
147
  height: 100%;
148
148
  max-height: 100%;
149
149
  min-height: 100%;
150
150
  padding: 0 50px 10px;
151
151
  word-break: break-all;
152
152
  }
153
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content .bk-info-sub-title {
153
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content .bk-info-sub-title {
154
154
  margin-bottom: 10px;
155
155
  text-align: center;
156
156
  word-break: break-all;
157
157
  }
158
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer {
158
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
159
159
  padding: 0 65px 33px;
160
160
  background-color: #fff;
161
161
  border-top: none;
162
162
  }
163
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer .bk-dialog-footer button {
163
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
164
164
  min-width: 88px;
165
165
  }
@@ -14,16 +14,16 @@ declare const BkModal: {
14
14
  isShow?: boolean;
15
15
  draggable?: boolean;
16
16
  transfer?: string | boolean | HTMLElement;
17
- showMask?: boolean;
18
- multiInstance?: boolean;
19
17
  direction?: string;
20
18
  renderDirective?: "show" | "if";
21
19
  quickClose?: boolean;
22
20
  scrollable?: boolean;
21
+ showMask?: boolean;
23
22
  closeIcon?: boolean;
24
23
  escClose?: boolean;
25
24
  fullscreen?: boolean;
26
25
  animateType?: string;
26
+ multiInstance?: boolean;
27
27
  class?: unknown;
28
28
  style?: unknown;
29
29
  ref?: import("vue").VNodeRef;
@@ -219,16 +219,16 @@ declare const BkModal: {
219
219
  isShow: boolean;
220
220
  draggable: boolean;
221
221
  transfer: string | boolean | HTMLElement;
222
- showMask: boolean;
223
- multiInstance: boolean;
224
222
  direction: string;
225
223
  renderDirective: "show" | "if";
226
224
  quickClose: boolean;
227
225
  scrollable: boolean;
226
+ showMask: boolean;
228
227
  closeIcon: boolean;
229
228
  escClose: boolean;
230
229
  fullscreen: boolean;
231
230
  animateType: string;
231
+ multiInstance: boolean;
232
232
  }, {}, string, {}> & {
233
233
  beforeCreate?: (() => void) | (() => void)[];
234
234
  created?: (() => void) | (() => void)[];
@@ -496,16 +496,16 @@ declare const BkModal: {
496
496
  isShow: boolean;
497
497
  draggable: boolean;
498
498
  transfer: string | boolean | HTMLElement;
499
- showMask: boolean;
500
- multiInstance: boolean;
501
499
  direction: string;
502
500
  renderDirective: "show" | "if";
503
501
  quickClose: boolean;
504
502
  scrollable: boolean;
503
+ showMask: boolean;
505
504
  closeIcon: boolean;
506
505
  escClose: boolean;
507
506
  fullscreen: boolean;
508
507
  animateType: string;
508
+ multiInstance: boolean;
509
509
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
510
510
  propsMixin: {
511
511
  isShow: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -1,40 +1,40 @@
1
- .bk-modal-wrapper.bk-info-wrapper {
1
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper {
2
2
  width: 440px;
3
3
  }
4
- .bk-modal-wrapper.bk-info-wrapper.normal {
4
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.normal {
5
5
  width: 440px;
6
6
  }
7
- .bk-modal-wrapper.bk-info-wrapper.small {
7
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
8
8
  width: 400px;
9
9
  }
10
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-body {
10
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
11
11
  border-radius: 2px;
12
12
  }
13
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header {
13
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
14
14
  padding: 24px 24px 0;
15
15
  }
16
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header .bk-dialog-title {
16
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
17
17
  height: 27px;
18
18
  margin: 15px 0 10px;
19
19
  }
20
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content {
20
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content {
21
21
  height: 100%;
22
22
  max-height: 100%;
23
23
  min-height: 100%;
24
24
  padding: 0 50px 10px;
25
25
  word-break: break-all;
26
26
  }
27
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content .bk-info-sub-title {
27
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content .bk-info-sub-title {
28
28
  margin-bottom: 10px;
29
29
  text-align: center;
30
30
  word-break: break-all;
31
31
  }
32
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer {
32
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
33
33
  padding: 0 65px 33px;
34
34
  background-color: #fff;
35
35
  border-top: none;
36
36
  }
37
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer .bk-dialog-footer button {
37
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
38
38
  min-width: 88px;
39
39
  }
40
40
  .bk-modal-ctx {
@@ -215,15 +215,15 @@ declare const _default: import("vue").DefineComponent<{
215
215
  isShow: boolean;
216
216
  draggable: boolean;
217
217
  transfer: string | boolean | HTMLElement;
218
- showMask: boolean;
219
- multiInstance: boolean;
220
218
  direction: string;
221
219
  renderDirective: "show" | "if";
222
220
  quickClose: boolean;
223
221
  scrollable: boolean;
222
+ showMask: boolean;
224
223
  closeIcon: boolean;
225
224
  escClose: boolean;
226
225
  fullscreen: boolean;
227
226
  animateType: string;
227
+ multiInstance: boolean;
228
228
  }, {}>;
229
229
  export default _default;
@@ -124,43 +124,43 @@
124
124
  --search-select-message-color: var(--danger-color);
125
125
  --search-select-menu-border-color: var(--disable-color);
126
126
  }
127
- .bk-modal-wrapper.bk-info-wrapper {
127
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper {
128
128
  width: 440px;
129
129
  }
130
- .bk-modal-wrapper.bk-info-wrapper.normal {
130
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.normal {
131
131
  width: 440px;
132
132
  }
133
- .bk-modal-wrapper.bk-info-wrapper.small {
133
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
134
134
  width: 400px;
135
135
  }
136
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-body {
136
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
137
137
  border-radius: 2px;
138
138
  }
139
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header {
139
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
140
140
  padding: 24px 24px 0;
141
141
  }
142
- .bk-modal-wrapper.bk-info-wrapper .bk-dialog-header .bk-dialog-title {
142
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
143
143
  height: 27px;
144
144
  margin: 15px 0 10px;
145
145
  }
146
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content {
146
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content {
147
147
  height: 100%;
148
148
  max-height: 100%;
149
149
  min-height: 100%;
150
150
  padding: 0 50px 10px;
151
151
  word-break: break-all;
152
152
  }
153
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-content .bk-info-sub-title {
153
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content .bk-info-sub-title {
154
154
  margin-bottom: 10px;
155
155
  text-align: center;
156
156
  word-break: break-all;
157
157
  }
158
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer {
158
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
159
159
  padding: 0 65px 33px;
160
160
  background-color: #fff;
161
161
  border-top: none;
162
162
  }
163
- .bk-modal-wrapper.bk-info-wrapper .bk-modal-footer .bk-dialog-footer button {
163
+ .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
164
164
  min-width: 88px;
165
165
  }
166
166
  .bk-modal-ctx {
@@ -28,8 +28,6 @@ export * from './dom';
28
28
  export * from './helper';
29
29
  export * from './hooks/use-form';
30
30
  export * from './hooks/use-form-item';
31
- export * from './mask-manager';
32
- export * from './pop-manager';
33
31
  export * from './popover';
34
32
  export * from './scrollbar-width';
35
33
  export * from './token';