bkui-vue 1.0.3-beta.59 → 1.0.3-beta.60.dialog.1

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 (187) hide show
  1. package/dist/index.cjs.js +51 -51
  2. package/dist/index.esm.js +10150 -10028
  3. package/dist/index.umd.js +51 -51
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.js +1 -1
  7. package/lib/alert/index.js +1 -1
  8. package/lib/animate-number/index.js +7 -8
  9. package/lib/badge/index.js +1 -1
  10. package/lib/breadcrumb/index.js +1 -1
  11. package/lib/button/index.js +1 -1
  12. package/lib/card/index.js +1 -1
  13. package/lib/cascader/index.js +38 -42
  14. package/lib/checkbox/index.js +6 -7
  15. package/lib/collapse/index.js +11 -12
  16. package/lib/collapse-transition/index.js +3 -4
  17. package/lib/color-picker/index.js +10 -13
  18. package/lib/config-provider/index.js +1 -1
  19. package/lib/container/index.js +10 -12
  20. package/lib/date-picker/index.js +1 -1
  21. package/lib/dialog/dialog.css +139 -77
  22. package/lib/dialog/dialog.d.ts +41 -121
  23. package/lib/dialog/dialog.less +10 -65
  24. package/lib/dialog/dialog.variable.css +139 -77
  25. package/lib/dialog/index.d.ts +105 -272
  26. package/lib/dialog/index.js +95 -104
  27. package/lib/dialog/props.d.ts +8 -48
  28. package/lib/directives/index.js +1 -1
  29. package/lib/divider/index.js +2 -3
  30. package/lib/dropdown/index.js +6 -8
  31. package/lib/exception/index.js +1 -1
  32. package/lib/fixed-navbar/index.js +2 -3
  33. package/lib/form/index.js +1 -1
  34. package/lib/icon/angle-double-down-line.js +1 -1
  35. package/lib/icon/angle-double-left-line.js +1 -1
  36. package/lib/icon/angle-double-left.js +1 -1
  37. package/lib/icon/angle-double-right-line.js +1 -1
  38. package/lib/icon/angle-double-right.js +1 -1
  39. package/lib/icon/angle-double-up-line.js +1 -1
  40. package/lib/icon/angle-down-fill.js +1 -1
  41. package/lib/icon/angle-down-line.js +1 -1
  42. package/lib/icon/angle-down.js +1 -1
  43. package/lib/icon/angle-left.js +1 -1
  44. package/lib/icon/angle-right.js +1 -1
  45. package/lib/icon/angle-up-fill.js +1 -1
  46. package/lib/icon/angle-up.js +1 -1
  47. package/lib/icon/archive-fill.js +1 -1
  48. package/lib/icon/arrows-left.js +1 -1
  49. package/lib/icon/arrows-right.js +1 -1
  50. package/lib/icon/assistant.js +1 -1
  51. package/lib/icon/audio-fill.js +1 -1
  52. package/lib/icon/bk.js +1 -1
  53. package/lib/icon/circle.js +1 -1
  54. package/lib/icon/close-line.js +1 -1
  55. package/lib/icon/close.js +1 -1
  56. package/lib/icon/code.js +1 -1
  57. package/lib/icon/cog-shape.js +1 -1
  58. package/lib/icon/collapse-left.js +1 -1
  59. package/lib/icon/copy-shape.js +1 -1
  60. package/lib/icon/copy.js +1 -1
  61. package/lib/icon/data-shape.js +1 -1
  62. package/lib/icon/del.js +1 -1
  63. package/lib/icon/doc-fill.js +1 -1
  64. package/lib/icon/done.js +1 -1
  65. package/lib/icon/down-shape.js +1 -1
  66. package/lib/icon/down-small.js +1 -1
  67. package/lib/icon/edit-line.js +1 -1
  68. package/lib/icon/ellipsis.js +1 -1
  69. package/lib/icon/enlarge-line.js +1 -1
  70. package/lib/icon/error.js +1 -1
  71. package/lib/icon/excel-fill.js +1 -1
  72. package/lib/icon/exclamation-circle-shape.js +1 -1
  73. package/lib/icon/eye.js +1 -1
  74. package/lib/icon/filliscreen-line.js +1 -1
  75. package/lib/icon/fix-line.js +1 -1
  76. package/lib/icon/fix-shape.js +1 -1
  77. package/lib/icon/folder-open.js +1 -1
  78. package/lib/icon/folder-shape-open.js +1 -1
  79. package/lib/icon/folder-shape.js +1 -1
  80. package/lib/icon/folder.js +1 -1
  81. package/lib/icon/funnel.js +1 -1
  82. package/lib/icon/grag-fill.js +1 -1
  83. package/lib/icon/help-document-fill.js +1 -1
  84. package/lib/icon/help-fill.js +1 -1
  85. package/lib/icon/help.js +1 -1
  86. package/lib/icon/image-fill.js +1 -1
  87. package/lib/icon/img-error.js +1 -1
  88. package/lib/icon/img-placehoulder.js +1 -1
  89. package/lib/icon/info-line.js +1 -1
  90. package/lib/icon/info.js +1 -1
  91. package/lib/icon/left-shape.js +1 -1
  92. package/lib/icon/left-turn-line.js +1 -1
  93. package/lib/icon/loading.js +1 -1
  94. package/lib/icon/narrow-line.js +1 -1
  95. package/lib/icon/original.js +1 -1
  96. package/lib/icon/pdf-fill.js +1 -1
  97. package/lib/icon/play-shape.js +1 -1
  98. package/lib/icon/plus.js +1 -1
  99. package/lib/icon/ppt-fill.js +1 -1
  100. package/lib/icon/qq.js +1 -1
  101. package/lib/icon/right-shape.js +1 -1
  102. package/lib/icon/right-turn-line.js +1 -1
  103. package/lib/icon/search.js +1 -1
  104. package/lib/icon/share.js +1 -1
  105. package/lib/icon/spinner.js +1 -1
  106. package/lib/icon/success.js +1 -1
  107. package/lib/icon/switcher-loading.js +1 -1
  108. package/lib/icon/text-all.js +1 -1
  109. package/lib/icon/text-file.js +1 -1
  110. package/lib/icon/text-fill.js +1 -1
  111. package/lib/icon/transfer.js +1 -1
  112. package/lib/icon/tree-application-shape.js +1 -1
  113. package/lib/icon/unfull-screen.js +1 -1
  114. package/lib/icon/unvisible.js +1 -1
  115. package/lib/icon/up-shape.js +1 -1
  116. package/lib/icon/upload.js +1 -1
  117. package/lib/icon/video-fill.js +1 -1
  118. package/lib/icon/warn.js +1 -1
  119. package/lib/icon/weixin-pro.js +1 -1
  120. package/lib/icon/weixin.js +1 -1
  121. package/lib/image/index.js +10 -11
  122. package/lib/info-box/index.d.ts +2 -2
  123. package/lib/info-box/index.js +316 -177
  124. package/lib/info-box/info-box.css +63 -7
  125. package/lib/info-box/info-box.d.ts +17 -16
  126. package/lib/info-box/info-box.less +76 -14
  127. package/lib/info-box/info-box.variable.css +63 -7
  128. package/lib/info-box/render-component.d.ts +4 -0
  129. package/lib/input/index.js +4 -4
  130. package/lib/link/index.js +2 -2
  131. package/lib/loading/index.js +11 -12
  132. package/lib/menu/index.js +2 -3
  133. package/lib/message/index.js +1 -1
  134. package/lib/modal/index.d.ts +45 -325
  135. package/lib/modal/index.js +188 -667
  136. package/lib/modal/mask.d.ts +6 -0
  137. package/lib/modal/modal.css +131 -31
  138. package/lib/modal/modal.d.ts +16 -126
  139. package/lib/modal/modal.less +84 -28
  140. package/lib/modal/modal.variable.css +131 -31
  141. package/lib/modal/props.mixin.d.ts +2 -53
  142. package/lib/navigation/index.js +7 -9
  143. package/lib/notify/index.js +1 -1
  144. package/lib/overflow-title/index.js +9 -10
  145. package/lib/pagination/index.js +1 -1
  146. package/lib/plugin-popover/index.js +26 -30
  147. package/lib/pop-confirm/index.js +4 -5
  148. package/lib/popover/index.js +26 -30
  149. package/lib/popover2/index.js +2 -2
  150. package/lib/process/index.js +4 -4
  151. package/lib/progress/index.js +5 -6
  152. package/lib/radio/index.js +6 -7
  153. package/lib/rate/index.js +1 -1
  154. package/lib/resize-layout/index.js +1 -1
  155. package/lib/search-select/index.d.ts +12 -6
  156. package/lib/search-select/index.js +331 -251
  157. package/lib/search-select/input.d.ts +2 -1
  158. package/lib/search-select/search-select.d.ts +4 -2
  159. package/lib/search-select/selected.d.ts +4 -2
  160. package/lib/search-select/utils.d.ts +6 -0
  161. package/lib/select/index.js +4 -4
  162. package/lib/shared/index.d.ts +0 -1
  163. package/lib/shared/index.js +6 -56
  164. package/lib/sideslider/index.d.ts +31 -222
  165. package/lib/sideslider/index.js +53 -40
  166. package/lib/sideslider/sideslider.css +4 -42
  167. package/lib/sideslider/sideslider.d.ts +14 -105
  168. package/lib/sideslider/sideslider.less +13 -58
  169. package/lib/sideslider/sideslider.variable.css +4 -42
  170. package/lib/slider/index.js +19 -20
  171. package/lib/steps/index.js +4 -4
  172. package/lib/swiper/index.js +1 -1
  173. package/lib/switcher/index.js +1 -1
  174. package/lib/tab/index.js +3 -4
  175. package/lib/table/index.js +6 -8
  176. package/lib/table-column/index.js +1 -1
  177. package/lib/tag/index.js +1 -1
  178. package/lib/tag-input/index.js +3 -4
  179. package/lib/tree/index.js +10 -12
  180. package/lib/upload/index.d.ts +12 -0
  181. package/lib/upload/index.js +25 -34
  182. package/lib/upload/props.d.ts +3 -0
  183. package/lib/upload/upload-trigger.d.ts +6 -0
  184. package/lib/upload/upload.d.ts +6 -0
  185. package/lib/virtual-render/index.js +2 -3
  186. package/package.json +1 -1
  187. package/lib/shared/mask.d.ts +0 -11
@@ -1,19 +1,13 @@
1
- .bk-sideslider {
2
- position: fixed;
3
- top: 0;
1
+ .bk-sideslider.is-position-right .bk-modal-wrapper {
4
2
  right: 0;
5
- bottom: 0;
3
+ }
4
+ .bk-sideslider.is-position-left .bk-modal-wrapper {
6
5
  left: 0;
7
6
  }
8
7
  .bk-sideslider .bk-modal-wrapper {
9
- position: absolute;
8
+ position: fixed;
10
9
  top: 0;
11
10
  bottom: 0;
12
- left: auto;
13
- transform: initial;
14
- }
15
- .bk-sideslider .bk-modal-wrapper.scroll-able .bk-modal-content {
16
- overflow: auto;
17
11
  }
18
12
  .bk-sideslider .bk-modal-footer.is-fixed .bk-sideslider-footer {
19
13
  height: 54px;
@@ -88,35 +82,3 @@
88
82
  background: #fff;
89
83
  align-items: center;
90
84
  }
91
- /* fade-center */
92
- /* slide过渡动画 */
93
- .slide-enter-active,
94
- .slide-leave-active,
95
- .bk-modal-body {
96
- transform: translateX(0);
97
- transition: transform 0.25s;
98
- }
99
- .slide-enter-active {
100
- animation: slider-fade-in 0.25s;
101
- }
102
- .slide-leave-active {
103
- animation: slider-fade-in 0.25s reverse;
104
- }
105
- .slide-enter-from.left,
106
- .slide-leave-to.left {
107
- transform: translateX(-100%);
108
- transition: transform 0.25s;
109
- }
110
- .slide-enter-from.right,
111
- .slide-leave-to.right {
112
- transform: translateX(100%);
113
- transition: transform 0.25s;
114
- }
115
- @keyframes slider-fade-in {
116
- 0% {
117
- opacity: 0;
118
- }
119
- 100% {
120
- opacity: 1;
121
- }
122
- }
@@ -1,4 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
+ title: import("vue-types").VueTypeValidableDef<string> & {
3
+ default: string;
4
+ } & {
5
+ default: string;
6
+ };
2
7
  direction: {
3
8
  type: StringConstructor;
4
9
  default: string;
@@ -9,18 +14,8 @@ declare const _default: import("vue").DefineComponent<{
9
14
  } & {
10
15
  default: boolean;
11
16
  };
12
- width: import("vue-types").VueTypeDef<string | number> & {
13
- default: string | number;
14
- };
15
- height: import("vue-types").VueTypeDef<string | number> & {
16
- default: string | number;
17
- };
18
- extCls: (import("vue-types").VueTypeValidableDef<string> & {
19
- default: string;
20
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
21
- default: () => unknown[];
22
- });
23
- scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
17
+ width: import("vue-types").VueTypeDef<string | number>;
18
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
24
19
  default: boolean;
25
20
  } & {
26
21
  default: boolean;
@@ -40,17 +35,6 @@ declare const _default: import("vue").DefineComponent<{
40
35
  } & {
41
36
  default: boolean;
42
37
  };
43
- fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
44
- default: boolean;
45
- } & {
46
- default: boolean;
47
- };
48
- size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
49
- draggable: import("vue-types").VueTypeValidableDef<boolean> & {
50
- default: boolean;
51
- } & {
52
- default: boolean;
53
- };
54
38
  quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
55
39
  default: boolean;
56
40
  } & {
@@ -60,14 +44,6 @@ declare const _default: import("vue").DefineComponent<{
60
44
  default: string | boolean | (() => HTMLElement);
61
45
  };
62
46
  zIndex: import("vue-types").VueTypeDef<string | number>;
63
- maxHeight: import("vue-types").VueTypeValidableDef<string> & {
64
- default: string;
65
- };
66
- title: import("vue-types").VueTypeValidableDef<string> & {
67
- default: string;
68
- } & {
69
- default: string;
70
- };
71
47
  animateType: import("vue-types").VueTypeValidableDef<string> & {
72
48
  default: string;
73
49
  } & {
@@ -77,30 +53,18 @@ declare const _default: import("vue").DefineComponent<{
77
53
  default: "show" | "if";
78
54
  };
79
55
  beforeClose: import("vue-types").VueTypeDef<unknown>;
80
- dialogType: import("vue-types").VueTypeDef<"show" | "process" | "operation" | "confirm">;
81
- multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
82
- default: boolean;
83
- } & {
84
- default: boolean;
85
- };
86
- infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
87
- bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
88
- default: string;
89
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
90
- default: () => unknown[];
91
- });
92
56
  left: import("vue-types").VueTypeValidableDef<string> & {
93
57
  default: string;
94
58
  };
95
59
  top: import("vue-types").VueTypeValidableDef<string> & {
96
60
  default: string;
97
61
  };
98
- hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
99
- default: number;
62
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], "hidden" | "shown" | "closed" | "update:isShow" | "animation-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
63
+ title: import("vue-types").VueTypeValidableDef<string> & {
64
+ default: string;
100
65
  } & {
101
- default: number;
66
+ default: string;
102
67
  };
103
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], "hidden" | "shown" | "closed" | "update:isShow" | "animation-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
104
68
  direction: {
105
69
  type: StringConstructor;
106
70
  default: string;
@@ -111,18 +75,8 @@ declare const _default: import("vue").DefineComponent<{
111
75
  } & {
112
76
  default: boolean;
113
77
  };
114
- width: import("vue-types").VueTypeDef<string | number> & {
115
- default: string | number;
116
- };
117
- height: import("vue-types").VueTypeDef<string | number> & {
118
- default: string | number;
119
- };
120
- extCls: (import("vue-types").VueTypeValidableDef<string> & {
121
- default: string;
122
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
123
- default: () => unknown[];
124
- });
125
- scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
78
+ width: import("vue-types").VueTypeDef<string | number>;
79
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
126
80
  default: boolean;
127
81
  } & {
128
82
  default: boolean;
@@ -142,17 +96,6 @@ declare const _default: import("vue").DefineComponent<{
142
96
  } & {
143
97
  default: boolean;
144
98
  };
145
- fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
146
- default: boolean;
147
- } & {
148
- default: boolean;
149
- };
150
- size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
151
- draggable: import("vue-types").VueTypeValidableDef<boolean> & {
152
- default: boolean;
153
- } & {
154
- default: boolean;
155
- };
156
99
  quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
157
100
  default: boolean;
158
101
  } & {
@@ -162,14 +105,6 @@ declare const _default: import("vue").DefineComponent<{
162
105
  default: string | boolean | (() => HTMLElement);
163
106
  };
164
107
  zIndex: import("vue-types").VueTypeDef<string | number>;
165
- maxHeight: import("vue-types").VueTypeValidableDef<string> & {
166
- default: string;
167
- };
168
- title: import("vue-types").VueTypeValidableDef<string> & {
169
- default: string;
170
- } & {
171
- default: string;
172
- };
173
108
  animateType: import("vue-types").VueTypeValidableDef<string> & {
174
109
  default: string;
175
110
  } & {
@@ -179,29 +114,12 @@ declare const _default: import("vue").DefineComponent<{
179
114
  default: "show" | "if";
180
115
  };
181
116
  beforeClose: import("vue-types").VueTypeDef<unknown>;
182
- dialogType: import("vue-types").VueTypeDef<"show" | "process" | "operation" | "confirm">;
183
- multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
184
- default: boolean;
185
- } & {
186
- default: boolean;
187
- };
188
- infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
189
- bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
190
- default: string;
191
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
192
- default: () => unknown[];
193
- });
194
117
  left: import("vue-types").VueTypeValidableDef<string> & {
195
118
  default: string;
196
119
  };
197
120
  top: import("vue-types").VueTypeValidableDef<string> & {
198
121
  default: string;
199
122
  };
200
- hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
201
- default: number;
202
- } & {
203
- default: number;
204
- };
205
123
  }>> & {
206
124
  onHidden?: (...args: any[]) => any;
207
125
  onShown?: (...args: any[]) => any;
@@ -210,26 +128,17 @@ declare const _default: import("vue").DefineComponent<{
210
128
  "onAnimation-end"?: (...args: any[]) => any;
211
129
  }, {
212
130
  title: string;
213
- width: string | number;
214
- height: string | number;
215
- maxHeight: string;
216
- extCls: string | unknown[];
217
131
  top: string;
218
132
  left: string;
219
133
  isShow: boolean;
220
- draggable: boolean;
221
134
  transfer: string | boolean | HTMLElement;
222
135
  direction: string;
223
136
  renderDirective: "show" | "if";
224
- scrollable: boolean;
137
+ fullscreen: boolean;
225
138
  showMask: boolean;
226
139
  closeIcon: boolean;
227
140
  escClose: boolean;
228
- fullscreen: boolean;
229
141
  quickClose: boolean;
230
142
  animateType: string;
231
- multiInstance: boolean;
232
- bodyClass: string | unknown[];
233
- hiddenDelay: number;
234
143
  }, {}>;
235
144
  export default _default;
@@ -1,25 +1,24 @@
1
1
  @import '../styles/themes/themes.less';
2
2
 
3
3
  .@{bk-prefix}-sideslider {
4
- position: fixed;
5
- top: 0;
6
- right: 0;
7
- bottom: 0;
8
- left: 0;
4
+ &.is-position-right {
5
+ .@{bk-prefix}-modal-wrapper {
6
+ right: 0;
7
+ }
8
+ }
9
+
10
+ &.is-position-left {
11
+ .@{bk-prefix}-modal-wrapper {
12
+ left: 0;
13
+ }
14
+ }
9
15
 
10
16
  .@{bk-prefix}-modal-wrapper {
11
- position: absolute;
17
+ position: fixed;
12
18
  top: 0;
13
19
  bottom: 0;
14
- left: auto;
15
- transform: initial;
16
-
17
- &.scroll-able {
18
- .@{bk-prefix}-modal-content {
19
- overflow: auto;
20
- }
21
- }
22
20
  }
21
+
23
22
  .@{bk-prefix}-modal-footer {
24
23
  &.is-fixed {
25
24
  .@{bk-prefix}-sideslider-footer {
@@ -98,9 +97,6 @@
98
97
  }
99
98
  }
100
99
 
101
- // .@{bk-prefix}-sideslider-content {
102
- // }
103
-
104
100
  .@{bk-prefix}-sideslider-footer {
105
101
  display: flex;
106
102
  width: 100%;
@@ -110,44 +106,3 @@
110
106
  background: #fff;
111
107
  align-items: center;
112
108
  }
113
-
114
- /* fade-center */
115
-
116
- /* slide过渡动画 */
117
- .slide-enter-active,
118
- .slide-leave-active,
119
- .@{bk-prefix}-modal-body {
120
- transform: translateX(0);
121
- transition: transform 0.25s;
122
- }
123
-
124
- .slide-enter-active {
125
- animation: slider-fade-in 0.25s;
126
- }
127
-
128
- .slide-leave-active {
129
- animation: slider-fade-in 0.25s reverse;
130
- }
131
-
132
- .slide-enter-from,
133
- .slide-leave-to {
134
- &.left {
135
- transform: translateX(-100%);
136
- transition: transform 0.25s;
137
- }
138
-
139
- &.right {
140
- transform: translateX(100%);
141
- transition: transform 0.25s;
142
- }
143
- }
144
-
145
- @keyframes slider-fade-in {
146
- 0% {
147
- opacity: 0;
148
- }
149
-
150
- 100% {
151
- opacity: 1;
152
- }
153
- }
@@ -127,22 +127,16 @@
127
127
  --select-active-color: #e1ecff;
128
128
  --select-hover-color: #f5f7fa;
129
129
  }
130
- .bk-sideslider {
131
- position: fixed;
132
- top: 0;
130
+ .bk-sideslider.is-position-right .bk-modal-wrapper {
133
131
  right: 0;
134
- bottom: 0;
132
+ }
133
+ .bk-sideslider.is-position-left .bk-modal-wrapper {
135
134
  left: 0;
136
135
  }
137
136
  .bk-sideslider .bk-modal-wrapper {
138
- position: absolute;
137
+ position: fixed;
139
138
  top: 0;
140
139
  bottom: 0;
141
- left: auto;
142
- transform: initial;
143
- }
144
- .bk-sideslider .bk-modal-wrapper.scroll-able .bk-modal-content {
145
- overflow: auto;
146
140
  }
147
141
  .bk-sideslider .bk-modal-footer.is-fixed .bk-sideslider-footer {
148
142
  height: 54px;
@@ -217,35 +211,3 @@
217
211
  background: #fff;
218
212
  align-items: center;
219
213
  }
220
- /* fade-center */
221
- /* slide过渡动画 */
222
- .slide-enter-active,
223
- .slide-leave-active,
224
- .bk-modal-body {
225
- transform: translateX(0);
226
- transition: transform 0.25s;
227
- }
228
- .slide-enter-active {
229
- animation: slider-fade-in 0.25s;
230
- }
231
- .slide-leave-active {
232
- animation: slider-fade-in 0.25s reverse;
233
- }
234
- .slide-enter-from.left,
235
- .slide-leave-to.left {
236
- transform: translateX(-100%);
237
- transition: transform 0.25s;
238
- }
239
- .slide-enter-from.right,
240
- .slide-leave-to.right {
241
- transform: translateX(100%);
242
- transition: transform 0.25s;
243
- }
244
- @keyframes slider-fade-in {
245
- 0% {
246
- opacity: 0;
247
- }
248
- 100% {
249
- opacity: 1;
250
- }
251
- }
@@ -122,7 +122,7 @@ function _regeneratorRuntime() {
122
122
  function makeInvokeMethod(e, r, n) {
123
123
  var o = h;
124
124
  return function (i, a) {
125
- if (o === f) throw new Error("Generator is already running");
125
+ if (o === f) throw Error("Generator is already running");
126
126
  if (o === s) {
127
127
  if ("throw" === i) throw a;
128
128
  return {
@@ -264,7 +264,7 @@ function _regeneratorRuntime() {
264
264
  } else if (c) {
265
265
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
266
266
  } else {
267
- if (!u) throw new Error("try statement without catch or finally");
267
+ if (!u) throw Error("try statement without catch or finally");
268
268
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
269
269
  }
270
270
  }
@@ -304,7 +304,7 @@ function _regeneratorRuntime() {
304
304
  return o;
305
305
  }
306
306
  }
307
- throw new Error("illegal catch attempt");
307
+ throw Error("illegal catch attempt");
308
308
  },
309
309
  delegateYield: function delegateYield(e, r, n) {
310
310
  return this.delegate = {
@@ -517,8 +517,7 @@ const popover_less_namespaceObject = popover_less_x({ });
517
517
 
518
518
 
519
519
 
520
-
521
- /* harmony default export */ const slider_button = ((0,external_vue_namespaceObject.defineComponent)({
520
+ /* harmony default export */ const slider_button = (defineComponent({
522
521
  name: 'SliderButton',
523
522
  props: {
524
523
  modelValue: {
@@ -535,18 +534,18 @@ const popover_less_namespaceObject = popover_less_x({ });
535
534
  emits: ['emitChange', 'resetSize', 'update:modelValue'],
536
535
  setup: function setup(props, _ref) {
537
536
  var emit = _ref.emit;
538
- var dragging = (0,external_vue_namespaceObject.ref)(false);
539
- var isClick = (0,external_vue_namespaceObject.ref)(false);
540
- var startY = (0,external_vue_namespaceObject.ref)(0);
541
- var startX = (0,external_vue_namespaceObject.ref)(0);
542
- var startPosition = (0,external_vue_namespaceObject.ref)(0);
543
- var newPosition = (0,external_vue_namespaceObject.ref)(null);
544
- var oldValue = (0,external_vue_namespaceObject.ref)(props.modelValue);
545
- var currentY = (0,external_vue_namespaceObject.ref)(0);
546
- var currentX = (0,external_vue_namespaceObject.ref)(0);
547
- var isMove = (0,external_vue_namespaceObject.ref)(false);
548
- var button = (0,external_vue_namespaceObject.ref)(null);
549
- var tip = (0,external_vue_namespaceObject.computed)(function () {
537
+ var dragging = ref(false);
538
+ var isClick = ref(false);
539
+ var startY = ref(0);
540
+ var startX = ref(0);
541
+ var startPosition = ref(0);
542
+ var newPosition = ref(null);
543
+ var oldValue = ref(props.modelValue);
544
+ var currentY = ref(0);
545
+ var currentX = ref(0);
546
+ var isMove = ref(false);
547
+ var button = ref(null);
548
+ var tip = computed(function () {
550
549
  var _props$params$customC, _props$params;
551
550
  var tip = '';
552
551
  if ((_props$params$customC = props.params.customContent) !== null && _props$params$customC !== void 0 && _props$params$customC[props.modelValue]) {
@@ -565,17 +564,17 @@ const popover_less_namespaceObject = popover_less_x({ });
565
564
  placement: placement
566
565
  };
567
566
  });
568
- var currentPosition = (0,external_vue_namespaceObject.computed)(function () {
567
+ var currentPosition = computed(function () {
569
568
  return "".concat((props.modelValue - props.params.minValue) / (props.params.maxValue - props.params.minValue) * 100, "%");
570
569
  });
571
- var wrapperStyle = (0,external_vue_namespaceObject.computed)(function () {
570
+ var wrapperStyle = computed(function () {
572
571
  return props.params.vertical ? {
573
572
  bottom: currentPosition.value
574
573
  } : {
575
574
  left: currentPosition.value
576
575
  };
577
576
  });
578
- var buttonLabel = (0,external_vue_namespaceObject.computed)(function () {
577
+ var buttonLabel = computed(function () {
579
578
  return props.params.formatterButtonLabel(props.modelValue);
580
579
  });
581
580
  var onButtonDown = function onButtonDown(event) {
@@ -120,7 +120,7 @@ function _regeneratorRuntime() {
120
120
  function makeInvokeMethod(e, r, n) {
121
121
  var o = h;
122
122
  return function (i, a) {
123
- if (o === f) throw new Error("Generator is already running");
123
+ if (o === f) throw Error("Generator is already running");
124
124
  if (o === s) {
125
125
  if ("throw" === i) throw a;
126
126
  return {
@@ -262,7 +262,7 @@ function _regeneratorRuntime() {
262
262
  } else if (c) {
263
263
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
264
264
  } else {
265
- if (!u) throw new Error("try statement without catch or finally");
265
+ if (!u) throw Error("try statement without catch or finally");
266
266
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
267
267
  }
268
268
  }
@@ -302,7 +302,7 @@ function _regeneratorRuntime() {
302
302
  return o;
303
303
  }
304
304
  }
305
- throw new Error("illegal catch attempt");
305
+ throw Error("illegal catch attempt");
306
306
  },
307
307
  delegateYield: function delegateYield(e, r, n) {
308
308
  return this.delegate = {
@@ -452,7 +452,7 @@ function toPrimitive(t, r) {
452
452
 
453
453
  function toPropertyKey(t) {
454
454
  var i = toPrimitive(t, "string");
455
- return "symbol" == _typeof(i) ? i : String(i);
455
+ return "symbol" == _typeof(i) ? i : i + "";
456
456
  }
457
457
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
458
458
 
@@ -63,7 +63,7 @@ function toPrimitive(t, r) {
63
63
 
64
64
  function toPropertyKey(t) {
65
65
  var i = toPrimitive(t, "string");
66
- return "symbol" == _typeof(i) ? i : String(i);
66
+ return "symbol" == _typeof(i) ? i : i + "";
67
67
  }
68
68
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
69
69
 
@@ -64,7 +64,7 @@ function toPrimitive(t, r) {
64
64
 
65
65
  function toPropertyKey(t) {
66
66
  var i = toPrimitive(t, "string");
67
- return "symbol" == _typeof(i) ? i : String(i);
67
+ return "symbol" == _typeof(i) ? i : i + "";
68
68
  }
69
69
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
70
70
 
package/lib/tab/index.js CHANGED
@@ -70,7 +70,7 @@ function toPrimitive(t, r) {
70
70
 
71
71
  function toPropertyKey(t) {
72
72
  var i = toPrimitive(t, "string");
73
- return "symbol" == _typeof(i) ? i : String(i);
73
+ return "symbol" == _typeof(i) ? i : i + "";
74
74
  }
75
75
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
76
76
 
@@ -865,8 +865,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
865
865
  */
866
866
 
867
867
 
868
-
869
- /* harmony default export */ const tab_panel = ((0,external_vue_namespaceObject.defineComponent)({
868
+ /* harmony default export */ const tab_panel = (defineComponent({
870
869
  name: 'TabPanel',
871
870
  props: tabPanelProps,
872
871
  render: function render() {
@@ -878,7 +877,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
878
877
  return null;
879
878
  }
880
879
  if (typeof _this.panel === 'function') {
881
- return _this.panel(external_vue_namespaceObject.h);
880
+ return _this.panel(h);
882
881
  }
883
882
  if (typeof _this.$slots["default"] === 'function') {
884
883
  return _this.$slots["default"](null);
@@ -101,7 +101,7 @@ function toPrimitive(t, r) {
101
101
 
102
102
  function toPropertyKey(t) {
103
103
  var i = toPrimitive(t, "string");
104
- return "symbol" == typeof_typeof(i) ? i : String(i);
104
+ return "symbol" == typeof_typeof(i) ? i : i + "";
105
105
  }
106
106
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
107
107
 
@@ -1051,7 +1051,7 @@ var BkTableCache = /*#__PURE__*/function () {
1051
1051
  defineProperty_defineProperty(this, "defKey", Symbol('bk-table-cache-def-key'));
1052
1052
  this.storage = new WeakMap();
1053
1053
  }
1054
- _createClass(BkTableCache, [{
1054
+ return _createClass(BkTableCache, [{
1055
1055
  key: "queueStack",
1056
1056
  value: function queueStack(methodName) {
1057
1057
  var _target$methodName;
@@ -1085,7 +1085,6 @@ var BkTableCache = /*#__PURE__*/function () {
1085
1085
  }
1086
1086
  }
1087
1087
  }]);
1088
- return BkTableCache;
1089
1088
  }();
1090
1089
 
1091
1090
  ;// CONCATENATED MODULE: ../../packages/table/src/events.ts
@@ -4808,7 +4807,7 @@ const directives_namespaceObject = directives_x({ ["bkEllipsisInstance"]: () =>
4808
4807
  * IN THE SOFTWARE.
4809
4808
  */
4810
4809
 
4811
- /* harmony default export */ const table_row = ((0,external_vue_namespaceObject.defineComponent)({
4810
+ /* harmony default export */ const table_row = (defineComponent({
4812
4811
  name: 'TableRow',
4813
4812
  render: function render() {
4814
4813
  var _this$$slots$default, _this$$slots;
@@ -4854,8 +4853,7 @@ const exception_less_namespaceObject = exception_less_x({ });
4854
4853
 
4855
4854
 
4856
4855
 
4857
-
4858
- /* harmony default export */ const body_empty = ((0,external_vue_namespaceObject.defineComponent)({
4856
+ /* harmony default export */ const body_empty = (defineComponent({
4859
4857
  name: 'BodyEmpty',
4860
4858
  props: {
4861
4859
  list: shared_namespaceObject.PropTypes.array.def([]),
@@ -4865,13 +4863,13 @@ const exception_less_namespaceObject = exception_less_x({ });
4865
4863
  emits: ['change'],
4866
4864
  setup: function setup(props) {
4867
4865
  var t = (0,config_provider_namespaceObject.useLocale)('table');
4868
- var localEmptyText = (0,external_vue_namespaceObject.computed)(function () {
4866
+ var localEmptyText = computed(function () {
4869
4867
  if (props.emptyText === undefined) {
4870
4868
  return t.value.emptyText;
4871
4869
  }
4872
4870
  return props.emptyText;
4873
4871
  });
4874
- var type = (0,external_vue_namespaceObject.computed)(function () {
4872
+ var type = computed(function () {
4875
4873
  return props.list.length === 0 ? 'empty' : 'search-empty';
4876
4874
  });
4877
4875
  return function () {
@@ -62,7 +62,7 @@ function toPrimitive(t, r) {
62
62
 
63
63
  function toPropertyKey(t) {
64
64
  var i = toPrimitive(t, "string");
65
- return "symbol" == _typeof(i) ? i : String(i);
65
+ return "symbol" == _typeof(i) ? i : i + "";
66
66
  }
67
67
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
68
68
 
package/lib/tag/index.js CHANGED
@@ -65,7 +65,7 @@ function toPrimitive(t, r) {
65
65
 
66
66
  function toPropertyKey(t) {
67
67
  var i = toPrimitive(t, "string");
68
- return "symbol" == _typeof(i) ? i : String(i);
68
+ return "symbol" == _typeof(i) ? i : i + "";
69
69
  }
70
70
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
71
71