bkui-vue 1.0.3-beta.62.dialog.1 → 1.0.3-beta.63

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.
Files changed (88) hide show
  1. package/dist/index.cjs.js +69 -69
  2. package/dist/index.esm.js +17802 -18626
  3. package/dist/index.umd.js +69 -69
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/checkbox/index.js +4 -4
  7. package/lib/components.d.ts +0 -1
  8. package/lib/components.js +0 -1
  9. package/lib/dialog/dialog.css +77 -139
  10. package/lib/dialog/dialog.d.ts +121 -41
  11. package/lib/dialog/dialog.less +65 -10
  12. package/lib/dialog/dialog.variable.css +77 -139
  13. package/lib/dialog/index.d.ts +272 -105
  14. package/lib/dialog/index.js +100 -91
  15. package/lib/dialog/props.d.ts +48 -8
  16. package/lib/info-box/index.d.ts +2 -2
  17. package/lib/info-box/index.js +173 -312
  18. package/lib/info-box/info-box.css +7 -63
  19. package/lib/info-box/info-box.d.ts +16 -17
  20. package/lib/info-box/info-box.less +14 -76
  21. package/lib/info-box/info-box.variable.css +7 -63
  22. package/lib/modal/index.d.ts +325 -45
  23. package/lib/modal/index.js +666 -187
  24. package/lib/modal/modal.css +31 -131
  25. package/lib/modal/modal.d.ts +126 -16
  26. package/lib/modal/modal.less +28 -84
  27. package/lib/modal/modal.variable.css +31 -131
  28. package/lib/modal/props.mixin.d.ts +53 -2
  29. package/lib/radio/index.js +5 -5
  30. package/lib/select/index.d.ts +33 -0
  31. package/lib/select/index.js +4 -2
  32. package/lib/select/select.css +19 -5
  33. package/lib/select/select.d.ts +11 -0
  34. package/lib/select/select.less +26 -6
  35. package/lib/select/select.variable.css +19 -5
  36. package/lib/select/selectTagInput.d.ts +7 -0
  37. package/lib/shared/index.d.ts +1 -0
  38. package/lib/shared/index.js +48 -1
  39. package/lib/shared/mask.d.ts +11 -0
  40. package/lib/sideslider/index.d.ts +222 -31
  41. package/lib/sideslider/index.js +36 -49
  42. package/lib/sideslider/sideslider.css +42 -4
  43. package/lib/sideslider/sideslider.d.ts +105 -14
  44. package/lib/sideslider/sideslider.less +58 -13
  45. package/lib/sideslider/sideslider.variable.css +42 -4
  46. package/lib/table/const.d.ts +1 -1
  47. package/lib/table/index.d.ts +0 -23
  48. package/lib/table/index.js +43 -176
  49. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  50. package/lib/table/plugins/use-pagination.d.ts +1 -3
  51. package/lib/table/props.d.ts +0 -8
  52. package/lib/table/table.css +42 -97
  53. package/lib/table/table.d.ts +0 -11
  54. package/lib/table/table.less +58 -43
  55. package/lib/table/table.variable.css +42 -97
  56. package/lib/table/use-attributes.d.ts +0 -1
  57. package/lib/table/use-render.d.ts +1 -1
  58. package/lib/table-column/index.js +2 -6
  59. package/lib/tree/index.d.ts +0 -23
  60. package/lib/tree/index.js +3 -9
  61. package/lib/tree/props.d.ts +0 -8
  62. package/lib/tree/tree.css +2 -75
  63. package/lib/tree/tree.d.ts +0 -11
  64. package/lib/tree/tree.variable.css +2 -75
  65. package/lib/virtual-render/index.d.ts +0 -4
  66. package/lib/virtual-render/index.js +52 -253
  67. package/lib/virtual-render/props.d.ts +0 -7
  68. package/lib/virtual-render/use-fix-top.d.ts +7 -2
  69. package/lib/virtual-render/v-virtual-render.d.ts +1 -2
  70. package/lib/virtual-render/virtual-render.css +2 -75
  71. package/lib/virtual-render/virtual-render.d.ts +0 -2
  72. package/lib/virtual-render/virtual-render.less +3 -3
  73. package/lib/virtual-render/virtual-render.variable.css +2 -75
  74. package/package.json +1 -1
  75. package/lib/info-box/render-component.d.ts +0 -4
  76. package/lib/modal/mask.d.ts +0 -6
  77. package/lib/scrollbar/index.d.ts +0 -14
  78. package/lib/scrollbar/index.js +0 -18737
  79. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
  80. package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
  81. package/lib/scrollbar/scrollbar-core/index.d.ts +0 -236
  82. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
  83. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
  84. package/lib/scrollbar/scrollbar.css +0 -74
  85. package/lib/scrollbar/scrollbar.less +0 -93
  86. package/lib/scrollbar/scrollbar.variable.css +0 -203
  87. package/lib/table/plugins/use-shift-key.d.ts +0 -11
  88. package/lib/virtual-render/use-scrollbar.d.ts +0 -23
@@ -1,71 +1,27 @@
1
- .bk-infobox {
2
- font-size: 12px;
1
+ .bk-info-wrapper .bk-modal-wrapper {
2
+ width: 440px;
3
3
  }
4
- .bk-infobox .bk-modal-wrapper {
5
- top: 50%;
6
- left: 50%;
7
- transform: translate(-50%, -50%);
8
- }
9
- .bk-infobox-header {
10
- padding-top: 24px;
11
- }
12
- .bk-infobox-type {
13
- display: flex;
14
- justify-content: center;
15
- align-items: center;
16
- }
17
- .bk-infobox-icon {
18
- width: 42px;
19
- height: 42px;
20
- font-size: 42px;
21
- }
22
- .bk-infobox-icon.success {
23
- color: #2dcb56;
24
- }
25
- .bk-infobox-icon.warning {
26
- color: #ff9c01;
27
- }
28
- .bk-infobox-icon.danger {
29
- color: #ea3636;
30
- }
31
- .bk-infobox-icon.loading {
32
- color: #3a84ff;
33
- }
34
- .bk-infobox-title {
35
- padding-right: 24px;
36
- padding-left: 24px;
37
- margin-top: 24px;
38
- font-size: 20px;
39
- line-height: 32px;
40
- color: #313238;
41
- }
42
- .bk-infobox-content {
43
- padding-right: 24px;
44
- padding-left: 24px;
4
+ .bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
45
5
  margin-top: 16px;
46
6
  }
47
- .bk-infobox-footer {
48
- display: flex;
49
- padding-right: 24px;
50
- padding-bottom: 24px;
51
- padding-left: 24px;
52
- margin-top: 24px;
53
- align-content: center;
54
- }
55
- .bk-infobox-footer.is-position-right {
56
- justify-content: right;
57
- }
58
- .bk-infobox-footer.is-position-center {
59
- justify-content: center;
7
+ .bk-info-wrapper .bk-dialog-footer button {
8
+ min-width: 88px;
60
9
  }
61
- .bk-infobox-footer.is-position-left {
62
- justify-content: left;
10
+ .bk-info-sub-title {
11
+ text-align: center;
12
+ word-break: break-all;
63
13
  }
64
- .bk-infobox-footer .bk-button {
65
- min-width: 88px;
14
+ .bk-modal-ctx {
15
+ position: fixed;
16
+ top: 0px;
17
+ left: 0px;
18
+ display: none;
19
+ width: 100%;
20
+ height: 100%;
21
+ pointer-events: auto;
66
22
  }
67
- .bk-infobox-footer .bk-button ~ .bk-button {
68
- margin-left: 8px;
23
+ .bk-modal-ctx.is-show {
24
+ display: block;
69
25
  }
70
26
  .bk-modal-ctx-mask {
71
27
  position: fixed;
@@ -76,8 +32,18 @@
76
32
  background-color: rgba(0, 0, 0, 0.6);
77
33
  }
78
34
  .bk-modal-wrapper {
79
- position: fixed;
35
+ position: absolute;
36
+ top: 50%;
37
+ left: 50%;
80
38
  border-radius: 2px;
39
+ transform: translate(-50%, -50%);
40
+ }
41
+ .bk-modal-outside {
42
+ position: fixed;
43
+ top: 0;
44
+ right: 0;
45
+ bottom: 0;
46
+ left: 0;
81
47
  }
82
48
  .bk-modal-body {
83
49
  height: 100%;
@@ -88,10 +54,8 @@
88
54
  }
89
55
  .bk-modal-content {
90
56
  max-height: 100vh;
91
- font-size: 0;
92
- }
93
- .bk-modal-content div {
94
- font-size: 12px;
57
+ overflow: auto;
58
+ scrollbar-gutter: stable;
95
59
  }
96
60
  .bk-modal-close {
97
61
  position: absolute;
@@ -111,67 +75,3 @@
111
75
  .bk-modal-close:hover {
112
76
  background: #f0f1f5;
113
77
  }
114
- .modal-fadein-enter-from {
115
- opacity: 0;
116
- }
117
- .modal-fadein-enter-from .bk-modal-body {
118
- transform: translateY(-20px);
119
- }
120
- .modal-fadein-enter-to {
121
- opacity: 1;
122
- }
123
- .modal-fadein-enter-to .bk-modal-body {
124
- transform: translateY(0);
125
- }
126
- .modal-fadein-leave-from {
127
- opacity: 1;
128
- }
129
- .modal-fadein-leave-from .bk-modal-body {
130
- transform: translateY(0);
131
- }
132
- .modal-fadein-leave-to {
133
- opacity: 0;
134
- }
135
- .modal-fadein-leave-to .bk-modal-body {
136
- transform: translateY(-20px);
137
- }
138
- .modal-fadein-enter-active,
139
- .modal-fadein-leave-active {
140
- transition: opacity 0.15s linear;
141
- }
142
- .modal-fadein-enter-active .bk-modal-body,
143
- .modal-fadein-leave-active .bk-modal-body {
144
- transition: transform 0.08s linear;
145
- }
146
- .modal-right-enter-from {
147
- transform: translateX(100%);
148
- }
149
- .modal-right-enter-to {
150
- transform: translateX(0);
151
- }
152
- .modal-right-leave-from {
153
- transform: translateX(0);
154
- }
155
- .modal-right-leave-to {
156
- transform: translateX(100%);
157
- }
158
- .modal-right-enter-active,
159
- .modal-right-leave-active {
160
- transition: transform 0.15s ease;
161
- }
162
- .modal-left-enter-from {
163
- transform: translateX(-100%);
164
- }
165
- .modal-left-enter-to {
166
- transform: translateX(0);
167
- }
168
- .modal-left-leave-from {
169
- transform: translateX(0);
170
- }
171
- .modal-left-leave-to {
172
- transform: translateX(-100%);
173
- }
174
- .modal-left-enter-active,
175
- .modal-left-leave-active {
176
- transition: transform 0.15s ease;
177
- }
@@ -7,8 +7,18 @@ declare const _default: import("vue").DefineComponent<{
7
7
  } & {
8
8
  default: boolean;
9
9
  };
10
- width: import("vue-types").VueTypeDef<string | number>;
11
- fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
10
+ width: import("vue-types").VueTypeDef<string | number> & {
11
+ default: string | number;
12
+ };
13
+ height: import("vue-types").VueTypeDef<string | number> & {
14
+ default: string | number;
15
+ };
16
+ extCls: (import("vue-types").VueTypeValidableDef<string> & {
17
+ default: string;
18
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
19
+ default: () => unknown[];
20
+ });
21
+ scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
12
22
  default: boolean;
13
23
  } & {
14
24
  default: boolean;
@@ -28,6 +38,17 @@ declare const _default: import("vue").DefineComponent<{
28
38
  } & {
29
39
  default: boolean;
30
40
  };
41
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
42
+ default: boolean;
43
+ } & {
44
+ default: boolean;
45
+ };
46
+ size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
47
+ draggable: import("vue-types").VueTypeValidableDef<boolean> & {
48
+ default: boolean;
49
+ } & {
50
+ default: boolean;
51
+ };
31
52
  quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
32
53
  default: boolean;
33
54
  } & {
@@ -37,6 +58,19 @@ declare const _default: import("vue").DefineComponent<{
37
58
  default: string | boolean | (() => HTMLElement);
38
59
  };
39
60
  zIndex: import("vue-types").VueTypeDef<string | number>;
61
+ maxHeight: import("vue-types").VueTypeValidableDef<string> & {
62
+ default: string;
63
+ };
64
+ direction: import("vue-types").VueTypeValidableDef<string> & {
65
+ default: string;
66
+ } & {
67
+ default: string;
68
+ };
69
+ title: import("vue-types").VueTypeValidableDef<string> & {
70
+ default: string;
71
+ } & {
72
+ default: string;
73
+ };
40
74
  animateType: import("vue-types").VueTypeValidableDef<string> & {
41
75
  default: string;
42
76
  } & {
@@ -46,38 +80,61 @@ declare const _default: import("vue").DefineComponent<{
46
80
  default: "show" | "if";
47
81
  };
48
82
  beforeClose: import("vue-types").VueTypeDef<unknown>;
83
+ dialogType: import("vue-types").VueTypeDef<"show" | "process" | "operation" | "confirm">;
84
+ multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
85
+ default: boolean;
86
+ } & {
87
+ default: boolean;
88
+ };
89
+ infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
90
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
91
+ default: string;
92
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
93
+ default: () => unknown[];
94
+ });
49
95
  left: import("vue-types").VueTypeValidableDef<string> & {
50
96
  default: string;
51
97
  };
52
98
  top: import("vue-types").VueTypeValidableDef<string> & {
53
99
  default: string;
54
100
  };
101
+ hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
102
+ default: number;
103
+ } & {
104
+ default: number;
105
+ };
55
106
  }, {
56
- rootRef: import("vue").Ref<HTMLElement>;
57
- maskRef: import("vue").Ref<HTMLElement>;
58
- localShow: import("vue").Ref<boolean>;
59
- initRendered: import("vue").Ref<boolean>;
60
107
  zIndex: import("vue").Ref<string | number>;
108
+ visible: import("vue").Ref<boolean>;
61
109
  contentStyles: import("vue").Ref<{}>;
62
110
  isContentScroll: import("vue").Ref<boolean>;
63
111
  modalWrapperStyles: import("vue").ComputedRef<{
64
- zIndex: string | number;
65
- width: string | number;
66
- left: string;
67
- top: string;
112
+ display: string;
68
113
  }>;
114
+ handleClickOutSide: (e: MouseEvent) => void;
115
+ refRoot: import("vue").Ref<HTMLElement>;
116
+ refMask: import("vue").Ref<HTMLElement>;
69
117
  resolveClassName: (cls: string) => string;
118
+ close: () => void;
70
119
  resizeTargetRef: import("vue").Ref<HTMLElement>;
71
- handleClose: () => void;
72
- handleClickOutSide: (e: MouseEvent) => void;
73
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "shown" | "quick-close")[], "close" | "hidden" | "shown" | "quick-close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
120
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "shown" | "quickClose" | "quick-close")[], "close" | "hidden" | "shown" | "quickClose" | "quick-close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
74
121
  isShow: import("vue-types").VueTypeValidableDef<boolean> & {
75
122
  default: boolean;
76
123
  } & {
77
124
  default: boolean;
78
125
  };
79
- width: import("vue-types").VueTypeDef<string | number>;
80
- fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
126
+ width: import("vue-types").VueTypeDef<string | number> & {
127
+ default: string | number;
128
+ };
129
+ height: import("vue-types").VueTypeDef<string | number> & {
130
+ default: string | number;
131
+ };
132
+ extCls: (import("vue-types").VueTypeValidableDef<string> & {
133
+ default: string;
134
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
135
+ default: () => unknown[];
136
+ });
137
+ scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
81
138
  default: boolean;
82
139
  } & {
83
140
  default: boolean;
@@ -97,6 +154,17 @@ declare const _default: import("vue").DefineComponent<{
97
154
  } & {
98
155
  default: boolean;
99
156
  };
157
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
158
+ default: boolean;
159
+ } & {
160
+ default: boolean;
161
+ };
162
+ size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
163
+ draggable: import("vue-types").VueTypeValidableDef<boolean> & {
164
+ default: boolean;
165
+ } & {
166
+ default: boolean;
167
+ };
100
168
  quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
101
169
  default: boolean;
102
170
  } & {
@@ -106,6 +174,19 @@ declare const _default: import("vue").DefineComponent<{
106
174
  default: string | boolean | (() => HTMLElement);
107
175
  };
108
176
  zIndex: import("vue-types").VueTypeDef<string | number>;
177
+ maxHeight: import("vue-types").VueTypeValidableDef<string> & {
178
+ default: string;
179
+ };
180
+ direction: import("vue-types").VueTypeValidableDef<string> & {
181
+ default: string;
182
+ } & {
183
+ default: string;
184
+ };
185
+ title: import("vue-types").VueTypeValidableDef<string> & {
186
+ default: string;
187
+ } & {
188
+ default: string;
189
+ };
109
190
  animateType: import("vue-types").VueTypeValidableDef<string> & {
110
191
  default: string;
111
192
  } & {
@@ -115,28 +196,57 @@ declare const _default: import("vue").DefineComponent<{
115
196
  default: "show" | "if";
116
197
  };
117
198
  beforeClose: import("vue-types").VueTypeDef<unknown>;
199
+ dialogType: import("vue-types").VueTypeDef<"show" | "process" | "operation" | "confirm">;
200
+ multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
201
+ default: boolean;
202
+ } & {
203
+ default: boolean;
204
+ };
205
+ infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
206
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
207
+ default: string;
208
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
209
+ default: () => unknown[];
210
+ });
118
211
  left: import("vue-types").VueTypeValidableDef<string> & {
119
212
  default: string;
120
213
  };
121
214
  top: import("vue-types").VueTypeValidableDef<string> & {
122
215
  default: string;
123
216
  };
217
+ hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
218
+ default: number;
219
+ } & {
220
+ default: number;
221
+ };
124
222
  }>> & {
125
223
  onClose?: (...args: any[]) => any;
126
224
  onHidden?: (...args: any[]) => any;
127
225
  onShown?: (...args: any[]) => any;
226
+ onQuickClose?: (...args: any[]) => any;
128
227
  "onQuick-close"?: (...args: any[]) => any;
129
228
  }, {
229
+ title: string;
230
+ width: string | number;
231
+ height: string | number;
232
+ maxHeight: string;
233
+ extCls: string | unknown[];
130
234
  top: string;
131
235
  left: string;
132
236
  isShow: boolean;
237
+ draggable: boolean;
133
238
  transfer: string | boolean | HTMLElement;
239
+ direction: string;
134
240
  renderDirective: "show" | "if";
135
- fullscreen: boolean;
241
+ scrollable: boolean;
136
242
  showMask: boolean;
137
243
  closeIcon: boolean;
138
244
  escClose: boolean;
245
+ fullscreen: boolean;
139
246
  quickClose: boolean;
140
247
  animateType: string;
248
+ multiInstance: boolean;
249
+ bodyClass: string | unknown[];
250
+ hiddenDelay: number;
141
251
  }, {}>;
142
252
  export default _default;
@@ -1,6 +1,20 @@
1
1
  @import '../styles/themes/themes.less';
2
2
  @import '../info-box/info-box.less';
3
3
 
4
+ .@{bk-prefix}-modal-ctx {
5
+ position: fixed;
6
+ top: 0px;
7
+ left: 0px;
8
+ display: none;
9
+ width: 100%;
10
+ height: 100%;
11
+ pointer-events: auto;
12
+
13
+ &.is-show {
14
+ display: block;
15
+ }
16
+ }
17
+
4
18
  .@{bk-prefix}-modal-ctx-mask {
5
19
  position: fixed;
6
20
  top: 0;
@@ -11,8 +25,19 @@
11
25
  }
12
26
 
13
27
  .@{bk-prefix}-modal-wrapper {
14
- position: fixed;
28
+ position: absolute;
29
+ top: 50%;
30
+ left: 50%;
15
31
  border-radius: 2px;
32
+ transform: translate(-50%, -50%);
33
+ }
34
+
35
+ .@{bk-prefix}-modal-outside {
36
+ position: fixed;
37
+ top: 0;
38
+ right: 0;
39
+ bottom: 0;
40
+ left: 0;
16
41
  }
17
42
 
18
43
  .@{bk-prefix}-modal-body {
@@ -25,11 +50,8 @@
25
50
 
26
51
  .@{bk-prefix}-modal-content {
27
52
  max-height: 100vh;
28
- font-size: 0;
29
-
30
- div {
31
- font-size: 12px;
32
- }
53
+ overflow: auto;
54
+ scrollbar-gutter: stable;
33
55
  }
34
56
 
35
57
  .@{bk-prefix}-modal-close {
@@ -51,81 +73,3 @@
51
73
  background: #f0f1f5;
52
74
  }
53
75
  }
54
-
55
- .modal-fadein-enter-from {
56
- opacity: 0;
57
- .@{bk-prefix}-modal-body {
58
- transform: translateY(-20px);
59
- }
60
- }
61
-
62
- .modal-fadein-enter-to {
63
- opacity: 1;
64
- .@{bk-prefix}-modal-body {
65
- transform: translateY(0);
66
- }
67
- }
68
-
69
- .modal-fadein-leave-from {
70
- opacity: 1;
71
- .@{bk-prefix}-modal-body {
72
- transform: translateY(0);
73
- }
74
- }
75
-
76
- .modal-fadein-leave-to {
77
- opacity: 0;
78
- .@{bk-prefix}-modal-body {
79
- transform: translateY(-20px);
80
- }
81
- }
82
-
83
- .modal-fadein-enter-active,
84
- .modal-fadein-leave-active {
85
- transition: opacity 0.15s linear;
86
- .@{bk-prefix}-modal-body {
87
- transition: transform 0.08s linear;
88
- }
89
- }
90
-
91
- .modal-right-enter-from {
92
- transform: translateX(100%);
93
- }
94
-
95
- .modal-right-enter-to {
96
- transform: translateX(0);
97
- }
98
-
99
- .modal-right-leave-from {
100
- transform: translateX(0);
101
- }
102
-
103
- .modal-right-leave-to {
104
- transform: translateX(100%);
105
- }
106
-
107
- .modal-right-enter-active,
108
- .modal-right-leave-active {
109
- transition: transform 0.15s ease;
110
- }
111
-
112
- .modal-left-enter-from {
113
- transform: translateX(-100%);
114
- }
115
-
116
- .modal-left-enter-to {
117
- transform: translateX(0);
118
- }
119
-
120
- .modal-left-leave-from {
121
- transform: translateX(0);
122
- }
123
-
124
- .modal-left-leave-to {
125
- transform: translateX(-100%);
126
- }
127
-
128
- .modal-left-enter-active,
129
- .modal-left-leave-active {
130
- transition: transform 0.15s ease;
131
- }