bkui-vue 1.0.3-beta.67 → 1.0.3-beta.67.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 (88) hide show
  1. package/dist/index.cjs.js +70 -70
  2. package/dist/index.esm.js +19841 -19029
  3. package/dist/index.umd.js +70 -70
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/components.d.ts +1 -0
  7. package/lib/components.js +1 -0
  8. package/lib/dialog/dialog.css +135 -84
  9. package/lib/dialog/dialog.d.ts +32 -133
  10. package/lib/dialog/dialog.less +9 -76
  11. package/lib/dialog/dialog.variable.css +135 -84
  12. package/lib/dialog/index.d.ts +84 -314
  13. package/lib/dialog/index.js +206 -221
  14. package/lib/dialog/props.d.ts +8 -48
  15. package/lib/info-box/index.d.ts +2 -2
  16. package/lib/info-box/index.js +318 -173
  17. package/lib/info-box/info-box.css +63 -7
  18. package/lib/info-box/info-box.d.ts +17 -16
  19. package/lib/info-box/info-box.less +76 -14
  20. package/lib/info-box/info-box.variable.css +63 -7
  21. package/lib/info-box/render-component.d.ts +4 -0
  22. package/lib/modal/hooks.d.ts +1 -1
  23. package/lib/modal/index.d.ts +16 -350
  24. package/lib/modal/index.js +183 -675
  25. package/lib/modal/mask.d.ts +6 -0
  26. package/lib/modal/modal.css +131 -32
  27. package/lib/modal/modal.d.ts +6 -134
  28. package/lib/modal/modal.less +84 -29
  29. package/lib/modal/modal.variable.css +131 -32
  30. package/lib/modal/props.mixin.d.ts +2 -53
  31. package/lib/overflow-title/index.js +46 -52
  32. package/lib/scrollbar/index.d.ts +15 -0
  33. package/lib/scrollbar/index.js +18756 -0
  34. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
  35. package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
  36. package/lib/scrollbar/scrollbar-core/index.d.ts +240 -0
  37. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
  38. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
  39. package/lib/scrollbar/scrollbar.css +75 -0
  40. package/lib/scrollbar/scrollbar.less +94 -0
  41. package/lib/scrollbar/scrollbar.variable.css +204 -0
  42. package/lib/shared/index.d.ts +0 -1
  43. package/lib/shared/index.js +1 -48
  44. package/lib/sideslider/index.d.ts +31 -222
  45. package/lib/sideslider/index.js +64 -40
  46. package/lib/sideslider/sideslider.css +17 -86
  47. package/lib/sideslider/sideslider.d.ts +14 -105
  48. package/lib/sideslider/sideslider.less +27 -107
  49. package/lib/sideslider/sideslider.variable.css +17 -86
  50. package/lib/table/components/table-cell.d.ts +3 -2
  51. package/lib/table/components/table-column.d.ts +2 -2
  52. package/lib/table/const.d.ts +1 -1
  53. package/lib/table/index.d.ts +25 -2
  54. package/lib/table/index.js +237 -85
  55. package/lib/table/plugins/head-filter.css +8 -4
  56. package/lib/table/plugins/head-filter.less +6 -3
  57. package/lib/table/plugins/head-filter.variable.css +8 -4
  58. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  59. package/lib/table/plugins/use-pagination.d.ts +3 -1
  60. package/lib/table/plugins/use-shift-key.d.ts +11 -0
  61. package/lib/table/props.d.ts +11 -3
  62. package/lib/table/table.css +106 -46
  63. package/lib/table/table.d.ts +11 -0
  64. package/lib/table/table.less +43 -58
  65. package/lib/table/table.variable.css +106 -46
  66. package/lib/table/use-attributes.d.ts +2 -1
  67. package/lib/table/use-column.d.ts +6 -6
  68. package/lib/table/use-render.d.ts +1 -1
  69. package/lib/table-column/index.d.ts +6 -6
  70. package/lib/table-column/index.js +6 -2
  71. package/lib/tree/index.d.ts +23 -0
  72. package/lib/tree/index.js +9 -3
  73. package/lib/tree/props.d.ts +8 -0
  74. package/lib/tree/tree.css +76 -2
  75. package/lib/tree/tree.d.ts +11 -0
  76. package/lib/tree/tree.variable.css +76 -2
  77. package/lib/virtual-render/index.d.ts +27 -0
  78. package/lib/virtual-render/index.js +285 -76
  79. package/lib/virtual-render/props.d.ts +16 -0
  80. package/lib/virtual-render/use-fix-top.d.ts +2 -7
  81. package/lib/virtual-render/use-scrollbar.d.ts +24 -0
  82. package/lib/virtual-render/v-virtual-render.d.ts +2 -1
  83. package/lib/virtual-render/virtual-render.css +76 -2
  84. package/lib/virtual-render/virtual-render.d.ts +13 -0
  85. package/lib/virtual-render/virtual-render.less +3 -3
  86. package/lib/virtual-render/virtual-render.variable.css +76 -2
  87. package/package.json +1 -1
  88. package/lib/shared/mask.d.ts +0 -11
@@ -127,32 +127,76 @@
127
127
  --select-active-color: #e1ecff;
128
128
  --select-hover-color: #f5f7fa;
129
129
  }
130
- .bk-info-wrapper .bk-modal-wrapper {
131
- width: 440px;
130
+ .bk-infobox {
131
+ font-size: 12px;
132
132
  }
133
- .bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
133
+ .bk-infobox .bk-modal-wrapper {
134
+ top: 50%;
135
+ left: 50%;
136
+ transform: translate(-50%, -50%);
137
+ }
138
+ .bk-infobox-header {
139
+ padding-top: 24px;
140
+ }
141
+ .bk-infobox-type {
142
+ display: flex;
143
+ justify-content: center;
144
+ align-items: center;
145
+ }
146
+ .bk-infobox-icon {
147
+ width: 42px;
148
+ height: 42px;
149
+ font-size: 42px;
150
+ }
151
+ .bk-infobox-icon.success {
152
+ color: #2dcb56;
153
+ }
154
+ .bk-infobox-icon.warning {
155
+ color: #ff9c01;
156
+ }
157
+ .bk-infobox-icon.danger {
158
+ color: #ea3636;
159
+ }
160
+ .bk-infobox-icon.loading {
161
+ color: #3a84ff;
162
+ }
163
+ .bk-infobox-title {
164
+ padding-right: 24px;
165
+ padding-left: 24px;
166
+ margin-top: 24px;
167
+ font-size: 20px;
168
+ line-height: 32px;
169
+ color: #313238;
170
+ }
171
+ .bk-infobox-content {
172
+ padding-right: 24px;
173
+ padding-left: 24px;
134
174
  margin-top: 16px;
135
175
  }
136
- .bk-info-wrapper .bk-dialog-footer button {
137
- min-width: 88px;
176
+ .bk-infobox-footer {
177
+ display: flex;
178
+ padding-right: 24px;
179
+ padding-bottom: 24px;
180
+ padding-left: 24px;
181
+ margin-top: 24px;
182
+ align-content: center;
138
183
  }
139
- .bk-info-sub-title {
140
- text-align: center;
141
- word-break: break-all;
184
+ .bk-infobox-footer.is-position-right {
185
+ justify-content: right;
142
186
  }
143
- .bk-modal-ctx {
144
- position: fixed;
145
- top: 0px;
146
- left: 0px;
147
- display: none;
148
- width: 100%;
149
- height: 100%;
150
- pointer-events: auto;
187
+ .bk-infobox-footer.is-position-center {
188
+ justify-content: center;
151
189
  }
152
- .bk-modal-ctx.is-show {
153
- display: block;
190
+ .bk-infobox-footer.is-position-left {
191
+ justify-content: left;
154
192
  }
155
- .bk-modal-ctx-mask {
193
+ .bk-infobox-footer .bk-button {
194
+ min-width: 88px;
195
+ }
196
+ .bk-infobox-footer .bk-button ~ .bk-button {
197
+ margin-left: 8px;
198
+ }
199
+ .bk-modal-mask {
156
200
  position: fixed;
157
201
  top: 0;
158
202
  left: 0;
@@ -161,18 +205,7 @@
161
205
  background-color: rgba(0, 0, 0, 0.6);
162
206
  }
163
207
  .bk-modal-wrapper {
164
- position: absolute;
165
- top: 50%;
166
- left: 50%;
167
- border-radius: 2px;
168
- transform: translate(-50%, -50%);
169
- }
170
- .bk-modal-outside {
171
208
  position: fixed;
172
- top: 0;
173
- right: 0;
174
- bottom: 0;
175
- left: 0;
176
209
  }
177
210
  .bk-modal-body {
178
211
  height: 100%;
@@ -183,8 +216,10 @@
183
216
  }
184
217
  .bk-modal-content {
185
218
  max-height: 100vh;
186
- overflow: auto;
187
- scrollbar-gutter: stable;
219
+ font-size: 0;
220
+ }
221
+ .bk-modal-content div {
222
+ font-size: 12px;
188
223
  }
189
224
  .bk-modal-close {
190
225
  position: absolute;
@@ -204,3 +239,67 @@
204
239
  .bk-modal-close:hover {
205
240
  background: #f0f1f5;
206
241
  }
242
+ .modal-fadein-enter-from {
243
+ opacity: 0;
244
+ }
245
+ .modal-fadein-enter-from .bk-modal-body {
246
+ transform: translateY(-20px);
247
+ }
248
+ .modal-fadein-enter-to {
249
+ opacity: 1;
250
+ }
251
+ .modal-fadein-enter-to .bk-modal-body {
252
+ transform: translateY(0);
253
+ }
254
+ .modal-fadein-leave-from {
255
+ opacity: 1;
256
+ }
257
+ .modal-fadein-leave-from .bk-modal-body {
258
+ transform: translateY(0);
259
+ }
260
+ .modal-fadein-leave-to {
261
+ opacity: 0;
262
+ }
263
+ .modal-fadein-leave-to .bk-modal-body {
264
+ transform: translateY(-20px);
265
+ }
266
+ .modal-fadein-enter-active,
267
+ .modal-fadein-leave-active {
268
+ transition: opacity 0.15s linear;
269
+ }
270
+ .modal-fadein-enter-active .bk-modal-body,
271
+ .modal-fadein-leave-active .bk-modal-body {
272
+ transition: transform 0.08s linear;
273
+ }
274
+ .modal-right-enter-from {
275
+ transform: translateX(100%);
276
+ }
277
+ .modal-right-enter-to {
278
+ transform: translateX(0);
279
+ }
280
+ .modal-right-leave-from {
281
+ transform: translateX(0);
282
+ }
283
+ .modal-right-leave-to {
284
+ transform: translateX(100%);
285
+ }
286
+ .modal-right-enter-active,
287
+ .modal-right-leave-active {
288
+ transition: transform 0.15s ease;
289
+ }
290
+ .modal-left-enter-from {
291
+ transform: translateX(-100%);
292
+ }
293
+ .modal-left-enter-to {
294
+ transform: translateX(0);
295
+ }
296
+ .modal-left-leave-from {
297
+ transform: translateX(0);
298
+ }
299
+ .modal-left-leave-to {
300
+ transform: translateX(-100%);
301
+ }
302
+ .modal-left-enter-active,
303
+ .modal-left-leave-active {
304
+ transition: transform 0.15s ease;
305
+ }
@@ -4,18 +4,8 @@ export declare const propsMixin: {
4
4
  } & {
5
5
  default: boolean;
6
6
  };
7
- width: import("vue-types").VueTypeDef<string | number> & {
8
- default: string | number;
9
- };
10
- height: import("vue-types").VueTypeDef<string | number> & {
11
- default: string | number;
12
- };
13
- extCls: (import("vue-types").VueTypeValidableDef<string> & {
14
- default: string;
15
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
16
- default: () => unknown[];
17
- });
18
- scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
7
+ width: import("vue-types").VueTypeDef<string | number>;
8
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
19
9
  default: boolean;
20
10
  } & {
21
11
  default: boolean;
@@ -35,17 +25,6 @@ export declare const propsMixin: {
35
25
  } & {
36
26
  default: boolean;
37
27
  };
38
- fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
39
- default: boolean;
40
- } & {
41
- default: boolean;
42
- };
43
- size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
44
- draggable: import("vue-types").VueTypeValidableDef<boolean> & {
45
- default: boolean;
46
- } & {
47
- default: boolean;
48
- };
49
28
  quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
50
29
  default: boolean;
51
30
  } & {
@@ -55,19 +34,6 @@ export declare const propsMixin: {
55
34
  default: string | boolean | (() => HTMLElement);
56
35
  };
57
36
  zIndex: import("vue-types").VueTypeDef<string | number>;
58
- maxHeight: import("vue-types").VueTypeValidableDef<string> & {
59
- default: string;
60
- };
61
- direction: import("vue-types").VueTypeValidableDef<string> & {
62
- default: string;
63
- } & {
64
- default: string;
65
- };
66
- title: import("vue-types").VueTypeValidableDef<string> & {
67
- default: string;
68
- } & {
69
- default: string;
70
- };
71
37
  animateType: import("vue-types").VueTypeValidableDef<string> & {
72
38
  default: string;
73
39
  } & {
@@ -77,27 +43,10 @@ export declare const propsMixin: {
77
43
  default: "show" | "if";
78
44
  };
79
45
  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
46
  left: import("vue-types").VueTypeValidableDef<string> & {
93
47
  default: string;
94
48
  };
95
49
  top: import("vue-types").VueTypeValidableDef<string> & {
96
50
  default: string;
97
51
  };
98
- hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
99
- default: number;
100
- } & {
101
- default: number;
102
- };
103
52
  };
@@ -41,7 +41,7 @@ __webpack_require__.d(__webpack_exports__, {
41
41
  ;// CONCATENATED MODULE: external "../shared"
42
42
  var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
43
43
  var y = x => () => x
44
- const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["debounce"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.debounce, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
44
+ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["debounce"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.debounce, ["hasOverflowEllipsis"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.hasOverflowEllipsis, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
45
45
  ;// CONCATENATED MODULE: external "vue"
46
46
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
47
47
  var external_vue_y = x => () => x
@@ -91,38 +91,6 @@ function placementType() {
91
91
  resizeable: shared_namespaceObject.PropTypes.bool,
92
92
  popoverOptions: Object // popover属性
93
93
  });
94
- ;// CONCATENATED MODULE: ../../packages/overflow-title/src/utils/getActualWidthByCanvas.ts
95
- function getActualWidthByCanvas(text, options) {
96
- var _options$fontSize = options.fontSize,
97
- fontSize = _options$fontSize === void 0 ? 14 : _options$fontSize,
98
- _options$fontFamily = options.fontFamily,
99
- fontFamily = _options$fontFamily === void 0 ? 'Microsoft YaHei' : _options$fontFamily;
100
- var canvas = document.createElement('canvas');
101
- var ctx = canvas.getContext('2d');
102
- ctx.font = "".concat(fontSize, "px ").concat(fontFamily);
103
- var metrics = ctx.measureText(text);
104
- var actual = Math.abs(metrics.actualBoundingBoxLeft) + Math.abs(metrics.actualBoundingBoxRight);
105
- return Math.max(metrics.width, actual);
106
- }
107
- /* harmony default export */ const utils_getActualWidthByCanvas = (getActualWidthByCanvas);
108
- ;// CONCATENATED MODULE: ../../packages/overflow-title/src/utils/getActualWidthByDom.ts
109
- function getActualWidthByDom(text, options) {
110
- var dom = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document.body;
111
- if (!dom) {
112
- return 0;
113
- }
114
- var _ref = options || {},
115
- fontSize = _ref.fontSize,
116
- fontFamily = _ref.fontFamily;
117
- var tempDom = document.createElement('div');
118
- tempDom.style.cssText = "position: absolute;left: -999em;top:-999em;z-index: -1;text-overflow: initial;\n ".concat(fontSize ? "font-size:".concat(fontSize, " ;") : '', "\n ").concat(fontFamily ? "font-family:".concat(fontFamily, " ") : '', "\n ");
119
- tempDom.innerText = text;
120
- dom.append(tempDom);
121
- var clientWidth = tempDom.clientWidth;
122
- dom.removeChild(tempDom);
123
- return clientWidth;
124
- }
125
- /* harmony default export */ const utils_getActualWidthByDom = (getActualWidthByDom);
126
94
  ;// CONCATENATED MODULE: ../../packages/overflow-title/src/components/overflow-title.tsx
127
95
 
128
96
 
@@ -130,8 +98,8 @@ function getActualWidthByDom(text, options) {
130
98
 
131
99
 
132
100
 
133
-
134
-
101
+ // import getActualWidthByCanvas from '../utils/getActualWidthByCanvas';
102
+ // import getActualWidthByDom from '../utils/getActualWidthByDom';
135
103
  /* harmony default export */ const overflow_title = ((0,external_vue_namespaceObject.defineComponent)({
136
104
  name: 'OverflowTitle',
137
105
  props: props,
@@ -149,29 +117,23 @@ function getActualWidthByDom(text, options) {
149
117
  return slots === null || slots === void 0 || (_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots);
150
118
  });
151
119
  (0,external_vue_namespaceObject.onMounted)(function () {
152
- var clientWidth = boxRef.value.clientWidth;
120
+ // const { clientWidth } = boxRef.value;
153
121
  var resizeHandler = (0,shared_namespaceObject.debounce)(500, function () {
154
122
  isShowTips.value = false;
155
123
  textProps.value = {};
156
- var textWidth = 0;
157
- if (props.calType === 'dom') {
158
- var _textRef$value;
159
- textWidth = utils_getActualWidthByDom((_textRef$value = textRef.value) === null || _textRef$value === void 0 ? void 0 : _textRef$value.textContent, null, boxRef.value);
160
- } else {
161
- var _getComputedStyle = getComputedStyle(boxRef.value),
162
- fontSize = _getComputedStyle.fontSize,
163
- fontFamily = _getComputedStyle.fontFamily;
164
- textWidth = utils_getActualWidthByCanvas(contentText.value, {
165
- fontSize: fontSize,
166
- fontFamily: fontFamily
167
- });
168
- }
169
- if (textWidth > clientWidth) {
124
+ // let textWidth = 0;
125
+ // if (props.calType === 'dom') {
126
+ // textWidth = getActualWidthByDom(textRef.value?.textContent, null, boxRef.value);
127
+ // } else {
128
+ // const { fontSize, fontFamily } = getComputedStyle(boxRef.value);
129
+ // textWidth = getActualWidthByCanvas(contentText.value as string, { fontSize, fontFamily });
130
+ // }
131
+ if ((0,shared_namespaceObject.hasOverflowEllipsis)(textRef.value)) {
170
132
  isShowTips.value = true;
171
133
  if (props.type === 'title') {
172
- var _textRef$value$innerT, _textRef$value2;
134
+ var _textRef$value$innerT, _textRef$value;
173
135
  textProps.value = {
174
- title: (_textRef$value$innerT = textRef === null || textRef === void 0 || (_textRef$value2 = textRef.value) === null || _textRef$value2 === void 0 ? void 0 : _textRef$value2.innerText) !== null && _textRef$value$innerT !== void 0 ? _textRef$value$innerT : props.content
136
+ title: (_textRef$value$innerT = textRef === null || textRef === void 0 || (_textRef$value = textRef.value) === null || _textRef$value === void 0 ? void 0 : _textRef$value.innerText) !== null && _textRef$value$innerT !== void 0 ? _textRef$value$innerT : props.content
175
137
  };
176
138
  }
177
139
  }
@@ -218,6 +180,38 @@ function getActualWidthByDom(text, options) {
218
180
  })]);
219
181
  }
220
182
  }));
183
+ ;// CONCATENATED MODULE: ../../packages/overflow-title/src/utils/getActualWidthByCanvas.ts
184
+ function getActualWidthByCanvas(text, options) {
185
+ var _options$fontSize = options.fontSize,
186
+ fontSize = _options$fontSize === void 0 ? 14 : _options$fontSize,
187
+ _options$fontFamily = options.fontFamily,
188
+ fontFamily = _options$fontFamily === void 0 ? 'Microsoft YaHei' : _options$fontFamily;
189
+ var canvas = document.createElement('canvas');
190
+ var ctx = canvas.getContext('2d');
191
+ ctx.font = "".concat(fontSize, "px ").concat(fontFamily);
192
+ var metrics = ctx.measureText(text);
193
+ var actual = Math.abs(metrics.actualBoundingBoxLeft) + Math.abs(metrics.actualBoundingBoxRight);
194
+ return Math.max(metrics.width, actual);
195
+ }
196
+ /* harmony default export */ const utils_getActualWidthByCanvas = (getActualWidthByCanvas);
197
+ ;// CONCATENATED MODULE: ../../packages/overflow-title/src/utils/getActualWidthByDom.ts
198
+ function getActualWidthByDom(text, options) {
199
+ var dom = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document.body;
200
+ if (!dom) {
201
+ return 0;
202
+ }
203
+ var _ref = options || {},
204
+ fontSize = _ref.fontSize,
205
+ fontFamily = _ref.fontFamily;
206
+ var tempDom = document.createElement('div');
207
+ tempDom.style.cssText = "position: absolute;left: -999em;top:-999em;z-index: -1;text-overflow: initial;\n ".concat(fontSize ? "font-size:".concat(fontSize, " ;") : '', "\n ").concat(fontFamily ? "font-family:".concat(fontFamily, " ") : '', "\n ");
208
+ tempDom.innerText = text;
209
+ dom.append(tempDom);
210
+ var clientWidth = tempDom.clientWidth;
211
+ dom.removeChild(tempDom);
212
+ return clientWidth;
213
+ }
214
+ /* harmony default export */ const utils_getActualWidthByDom = (getActualWidthByDom);
221
215
  ;// CONCATENATED MODULE: ../../packages/overflow-title/src/directive/overflow-title.ts
222
216
 
223
217
 
@@ -0,0 +1,15 @@
1
+ import BkScrollbarCore, { Options } from './scrollbar-core';
2
+ export default class BkScrollBar extends BkScrollbarCore {
3
+ static globalObserver: MutationObserver;
4
+ static instances: WeakMap<object, any>;
5
+ static removeObserver(): void;
6
+ constructor(...args: ConstructorParameters<typeof BkScrollbarCore>);
7
+ initDOM(): void;
8
+ unMount(): void;
9
+ scrollTo({ left, top }: {
10
+ left?: number;
11
+ top?: number;
12
+ }): void;
13
+ setOptions(options: Partial<Options>): void;
14
+ private createScrollElement;
15
+ }