bkui-vue 1.0.3-beta.66 → 1.0.3-beta.66.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 (80) hide show
  1. package/dist/index.cjs.js +69 -69
  2. package/dist/index.esm.js +19959 -19141
  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/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 +312 -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/scrollbar/index.d.ts +15 -0
  32. package/lib/scrollbar/index.js +18756 -0
  33. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
  34. package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
  35. package/lib/scrollbar/scrollbar-core/index.d.ts +240 -0
  36. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
  37. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
  38. package/lib/scrollbar/scrollbar.css +74 -0
  39. package/lib/scrollbar/scrollbar.less +93 -0
  40. package/lib/scrollbar/scrollbar.variable.css +203 -0
  41. package/lib/shared/index.d.ts +0 -1
  42. package/lib/shared/index.js +1 -48
  43. package/lib/sideslider/index.d.ts +31 -222
  44. package/lib/sideslider/index.js +64 -40
  45. package/lib/sideslider/sideslider.css +17 -86
  46. package/lib/sideslider/sideslider.d.ts +14 -105
  47. package/lib/sideslider/sideslider.less +27 -107
  48. package/lib/sideslider/sideslider.variable.css +17 -86
  49. package/lib/table/const.d.ts +1 -1
  50. package/lib/table/index.d.ts +23 -0
  51. package/lib/table/index.js +195 -52
  52. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  53. package/lib/table/plugins/use-pagination.d.ts +3 -1
  54. package/lib/table/plugins/use-shift-key.d.ts +11 -0
  55. package/lib/table/props.d.ts +8 -0
  56. package/lib/table/table.css +97 -42
  57. package/lib/table/table.d.ts +11 -0
  58. package/lib/table/table.less +43 -58
  59. package/lib/table/table.variable.css +97 -42
  60. package/lib/table/use-attributes.d.ts +1 -0
  61. package/lib/table/use-render.d.ts +1 -1
  62. package/lib/table-column/index.js +6 -2
  63. package/lib/tree/index.d.ts +23 -0
  64. package/lib/tree/index.js +9 -3
  65. package/lib/tree/props.d.ts +8 -0
  66. package/lib/tree/tree.css +75 -2
  67. package/lib/tree/tree.d.ts +11 -0
  68. package/lib/tree/tree.variable.css +75 -2
  69. package/lib/virtual-render/index.d.ts +27 -0
  70. package/lib/virtual-render/index.js +283 -74
  71. package/lib/virtual-render/props.d.ts +16 -0
  72. package/lib/virtual-render/use-fix-top.d.ts +2 -7
  73. package/lib/virtual-render/use-scrollbar.d.ts +24 -0
  74. package/lib/virtual-render/v-virtual-render.d.ts +2 -1
  75. package/lib/virtual-render/virtual-render.css +75 -2
  76. package/lib/virtual-render/virtual-render.d.ts +13 -0
  77. package/lib/virtual-render/virtual-render.less +3 -3
  78. package/lib/virtual-render/virtual-render.variable.css +75 -2
  79. package/package.json +1 -1
  80. package/lib/shared/mask.d.ts +0 -11
@@ -0,0 +1,2 @@
1
+ declare const _default: () => boolean;
2
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export declare function getElementWindow(element: Element): Window & typeof globalThis;
2
+ export declare function getElementDocument(element: Element): Document;
3
+ export declare function addClasses(el: HTMLElement | null, classes: string): void;
4
+ export declare function removeClasses(el: HTMLElement | null, classes: string): void;
5
+ export declare function classNamesToQuery(classNames: string): string;
@@ -0,0 +1,240 @@
1
+ import * as helpers from './helpers';
2
+ interface DebouncedFunc<T extends (...args: any[]) => any> {
3
+ /**
4
+ * Call the original function, but applying the debounce rules.
5
+ *
6
+ * If the debounced function can be run immediately, this calls it and returns its return
7
+ * value.
8
+ *
9
+ * Otherwise, it returns the return value of the last invocation, or undefined if the debounced
10
+ * function was not invoked yet.
11
+ */
12
+ (...args: Parameters<T>): ReturnType<T> | undefined;
13
+ /**
14
+ * Throw away any pending invocation of the debounced function.
15
+ */
16
+ cancel(): void;
17
+ /**
18
+ * If there is a pending invocation of the debounced function, invoke it immediately and return
19
+ * its return value.
20
+ *
21
+ * Otherwise, return the value from the last invocation, or undefined if the debounced function
22
+ * was never invoked.
23
+ */
24
+ flush(): ReturnType<T> | undefined;
25
+ }
26
+ export interface Options {
27
+ forceVisible: boolean | Axis;
28
+ clickOnTrack: boolean;
29
+ scrollbarMinSize: number;
30
+ scrollbarMaxSize: number;
31
+ classNames: Partial<ClassNames>;
32
+ ariaLabel: string;
33
+ contentNode: HTMLElement | null;
34
+ delegateYContent: HTMLElement | null;
35
+ delegateXContent: HTMLElement | null;
36
+ wrapperNode: HTMLElement | null;
37
+ autoHide: boolean;
38
+ useSystemScrollXBehavior?: boolean;
39
+ useSystemScrollYBehavior?: boolean;
40
+ scrollDelegate: {
41
+ scrollHeight?: number;
42
+ scrollWidth?: number;
43
+ };
44
+ onScrollCallback?: (args: {
45
+ x: number;
46
+ y: number;
47
+ }) => void;
48
+ }
49
+ export type SimpleBarOptions = Partial<Options>;
50
+ type ClassNames = {
51
+ contentEl: string;
52
+ offset: string;
53
+ mask: string;
54
+ wrapper: string;
55
+ placeholder: string;
56
+ scrollbar: string;
57
+ track: string;
58
+ visible: string;
59
+ horizontal: string;
60
+ vertical: string;
61
+ hover: string;
62
+ dragging: string;
63
+ scrolling: string;
64
+ scrollable: string;
65
+ mouseEntered: string;
66
+ };
67
+ type Axis = 'x' | 'y';
68
+ type AxisProps = {
69
+ scrollOffsetAttr: 'scrollLeft' | 'scrollTop';
70
+ sizeAttr: 'width' | 'height';
71
+ scrollSizeAttr: 'scrollWidth' | 'scrollHeight';
72
+ offsetSizeAttr: 'offsetWidth' | 'offsetHeight';
73
+ offsetAttr: 'left' | 'top';
74
+ overflowAttr: 'overflowX' | 'overflowY';
75
+ dragOffset: number;
76
+ isOverflowing: boolean;
77
+ forceVisible: boolean;
78
+ track: {
79
+ size: any;
80
+ el: HTMLElement | null;
81
+ rect: DOMRect | null;
82
+ isVisible: boolean;
83
+ };
84
+ scrollbar: {
85
+ size: any;
86
+ el: HTMLElement | null;
87
+ rect: DOMRect | null;
88
+ isVisible: boolean;
89
+ };
90
+ };
91
+ type RtlHelpers = {
92
+ isScrollOriginAtZero: boolean;
93
+ isScrollingToNegative: boolean;
94
+ } | null;
95
+ type DefaultOptions = Options & typeof BkScrollbarCore.defaultOptions;
96
+ type MouseWheelInstance = {
97
+ addWheelEvent: (target: HTMLElement) => void;
98
+ removeWheelEvent: (target: HTMLElement) => void;
99
+ };
100
+ export default class BkScrollbarCore {
101
+ static rtlHelpers: RtlHelpers;
102
+ static defaultOptions: Options;
103
+ /**
104
+ * Static functions
105
+ */
106
+ static helpers: typeof helpers;
107
+ /**
108
+ * Helper to fix browsers inconsistency on RTL:
109
+ * - Firefox inverts the scrollbar initial position
110
+ * - IE11 inverts both scrollbar position and scrolling offset
111
+ */
112
+ static getRtlHelpers(): {
113
+ isScrollOriginAtZero: boolean;
114
+ isScrollingToNegative: boolean;
115
+ };
116
+ static getOffset(el: Element): {
117
+ top: number;
118
+ left: number;
119
+ };
120
+ el: HTMLElement;
121
+ options: DefaultOptions;
122
+ classNames: ClassNames;
123
+ axis: {
124
+ x: AxisProps;
125
+ y: AxisProps;
126
+ };
127
+ draggedAxis?: Axis;
128
+ removePreventClickId: null | number;
129
+ minScrollbarWidth: number;
130
+ stopScrollDelay: number;
131
+ isScrolling: boolean;
132
+ isMouseEntering: boolean;
133
+ isDragging: boolean;
134
+ scrollXTicking: boolean;
135
+ scrollYTicking: boolean;
136
+ wrapperEl: HTMLElement | null;
137
+ contentEl: HTMLElement | null;
138
+ delegateXContent: HTMLElement | null;
139
+ delegateYContent: HTMLElement | null;
140
+ rtlHelpers: RtlHelpers;
141
+ scrollbarWidth: number;
142
+ resizeObserver: ResizeObserver | null;
143
+ mutationObserver: MutationObserver | null;
144
+ elStyles: CSSStyleDeclaration | null;
145
+ isRtl: boolean | null;
146
+ mouseX: number;
147
+ mouseY: number;
148
+ mouseWheelInstance: MouseWheelInstance;
149
+ wheelOffset: number;
150
+ mouseWeelTimer: any;
151
+ /**
152
+ * 最外层滚动容器滚动实际位置缓存器
153
+ */
154
+ wrapperScrollValue: {
155
+ scrollTop: number;
156
+ scrollLeft: number;
157
+ };
158
+ /**
159
+ * 模拟滚动条内部缩略滚动器滚动位置缓存器
160
+ */
161
+ wrapperScrollMap: {};
162
+ onMouseMove: DebouncedFunc<any> | (() => void);
163
+ onWindowResize: DebouncedFunc<any> | (() => void);
164
+ onStopScrolling: DebouncedFunc<any> | (() => void);
165
+ onMouseEntered: DebouncedFunc<any> | (() => void);
166
+ onMouseWheel: DebouncedFunc<any> | (() => void);
167
+ constructor(element: HTMLElement, options?: Partial<Options>);
168
+ getScrollbarWidth(): number;
169
+ init(): void;
170
+ initDOM(): void;
171
+ initListeners(): void;
172
+ getWrapperElScrollSize(attrName: string, target?: HTMLElement): any;
173
+ recalculate(): void;
174
+ /**
175
+ * Calculate scrollbar size
176
+ */
177
+ getScrollbarSize(axis?: Axis): any;
178
+ positionScrollbar(axis?: Axis): void;
179
+ toggleTrackVisibility(axis?: Axis): void;
180
+ showScrollbar(axis?: Axis): void;
181
+ hideScrollbar(axis?: Axis): void;
182
+ /**
183
+ * On scroll event handling
184
+ */
185
+ onScroll: () => void;
186
+ scrollX: () => void;
187
+ scrollY: () => void;
188
+ onMouseEnter: () => void;
189
+ onMouseMoveForAxis(axis?: Axis): void;
190
+ onMouseLeave: () => void;
191
+ onMouseLeaveForAxis(axis?: Axis): void;
192
+ onPointerEvent: (e: any) => void;
193
+ /**
194
+ * on scrollbar handle drag movement starts
195
+ */
196
+ onDragStart(e: any, axis?: Axis): void;
197
+ /**
198
+ * Drag scrollbar handle
199
+ */
200
+ drag: (e: any) => void;
201
+ getPointerPosition: (dragPos: number, axis: Axis) => number;
202
+ scrollToAxisPosition: (scrollPos: number, axisValue: Axis) => boolean;
203
+ fixedScrollTo: (axisValue: Axis, resolvedValue: number) => void;
204
+ /**
205
+ * End scroll handle drag
206
+ */
207
+ onEndDrag: (e: any) => void;
208
+ /**
209
+ * Handler to ignore click events during drag
210
+ */
211
+ preventClick: (e: any) => void;
212
+ onTrackClick(e: any, axis?: Axis): void;
213
+ /**
214
+ * Getter for content element
215
+ */
216
+ getContentElement(): HTMLElement;
217
+ /**
218
+ * Getter for original scrolling element
219
+ */
220
+ getScrollElement(): HTMLElement;
221
+ removeListeners(): void;
222
+ /**
223
+ * Remove all listeners from DOM nodes
224
+ */
225
+ unMount(): void;
226
+ /**
227
+ * Check if mouse is within bounds
228
+ */
229
+ isWithinBounds(bbox: DOMRect): boolean;
230
+ /**
231
+ * Find element children matches query
232
+ */
233
+ findChild(el: any, query: any): any;
234
+ private mOnMouseWheel;
235
+ private mOnStopScrolling;
236
+ private mOnMouseEntered;
237
+ private mOnMouseMove;
238
+ private mOnWindowResize;
239
+ }
240
+ export {};
@@ -0,0 +1,5 @@
1
+ declare const _default: (fn: any) => {
2
+ addWheelEvent: (target: HTMLElement) => void;
3
+ removeWheelEvent: (target: HTMLElement) => void;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function scrollbarWidth(): number;
@@ -0,0 +1,74 @@
1
+ .bk-scrollbar-wrapper {
2
+ position: relative;
3
+ overflow: hidden;
4
+ }
5
+ .bk-scrollbar-wrapper .bk-scrollbar-content-el {
6
+ display: inline-flex;
7
+ flex-direction: column;
8
+ }
9
+ .bk-scrollbar-wrapper .bk-scrollbar-track {
10
+ z-index: 1;
11
+ position: absolute;
12
+ right: 0;
13
+ bottom: 0;
14
+ pointer-events: none;
15
+ overflow: hidden;
16
+ }
17
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover {
18
+ background-color: #F0F1F5;
19
+ cursor: pointer;
20
+ }
21
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover .bk-scrollbar::before {
22
+ background-color: #979BA5;
23
+ }
24
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-vertical {
25
+ top: 0;
26
+ width: 8px;
27
+ transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
28
+ }
29
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal {
30
+ left: 0;
31
+ height: 8px;
32
+ transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
33
+ }
34
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal.bk-scrollbar {
35
+ right: auto;
36
+ left: 0;
37
+ top: 0;
38
+ bottom: 0;
39
+ min-height: 0;
40
+ min-width: 8px;
41
+ width: auto;
42
+ }
43
+ .bk-scrollbar-wrapper .bk-scrollbar-dragging {
44
+ pointer-events: none;
45
+ -webkit-touch-callout: none;
46
+ -webkit-user-select: none;
47
+ -khtml-user-select: none;
48
+ -moz-user-select: none;
49
+ -ms-user-select: none;
50
+ user-select: none;
51
+ }
52
+ .bk-scrollbar-wrapper .bk-scrollbar {
53
+ position: absolute;
54
+ left: 0;
55
+ right: 0;
56
+ min-height: 8px;
57
+ }
58
+ .bk-scrollbar-wrapper .bk-scrollbar::before {
59
+ position: absolute;
60
+ content: '';
61
+ background: #DCDEE5;
62
+ border-radius: 6px;
63
+ left: 1px;
64
+ right: 1px;
65
+ top: 1px;
66
+ bottom: 1px;
67
+ opacity: 0;
68
+ transition: opacity 0.2s 0.9s linear;
69
+ }
70
+ .bk-scrollbar-wrapper .bk-scrollbar.bk-scrollbar-visible::before {
71
+ opacity: 0.9;
72
+ transition-delay: 0s;
73
+ transition-duration: 0s;
74
+ }
@@ -0,0 +1,93 @@
1
+ @import '../styles/themes/themes.less';
2
+
3
+ .@{bk-prefix}-scrollbar-wrapper {
4
+ position: relative;
5
+ overflow: hidden;
6
+
7
+ .@{bk-prefix}-scrollbar-content-el {
8
+ display: inline-flex;
9
+ flex-direction: column;
10
+ }
11
+
12
+ .@{bk-prefix}-scrollbar-track {
13
+ z-index: 1;
14
+ position: absolute;
15
+ right: 0;
16
+ bottom: 0;
17
+ pointer-events: none;
18
+ overflow: hidden;
19
+
20
+ &.@{bk-prefix}-scrollbar-hover {
21
+ background-color: #F0F1F5;
22
+ cursor: pointer;
23
+
24
+ .@{bk-prefix}-scrollbar {
25
+ &::before {
26
+ background-color: #979BA5;
27
+ }
28
+ }
29
+ }
30
+
31
+ &.@{bk-prefix}-scrollbar-vertical {
32
+ top: 0;
33
+ width: 8px;
34
+ transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
35
+ }
36
+
37
+ &.@{bk-prefix}-scrollbar-horizontal {
38
+ left: 0;
39
+ height: 8px;
40
+ transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
41
+
42
+ &.@{bk-prefix}-scrollbar {
43
+ right: auto;
44
+ left: 0;
45
+ top: 0;
46
+ bottom: 0;
47
+ min-height: 0;
48
+ min-width: 8px;
49
+ width: auto;
50
+ }
51
+ }
52
+ }
53
+
54
+
55
+ .@{bk-prefix}-scrollbar-dragging {
56
+ pointer-events: none;
57
+ -webkit-touch-callout: none;
58
+ -webkit-user-select: none;
59
+ -khtml-user-select: none;
60
+ -moz-user-select: none;
61
+ -ms-user-select: none;
62
+ user-select: none;
63
+ }
64
+
65
+
66
+ .@{bk-prefix}-scrollbar {
67
+ position: absolute;
68
+ left: 0;
69
+ right: 0;
70
+ min-height: 8px;
71
+
72
+ &::before {
73
+ position: absolute;
74
+ content: '';
75
+ background: #DCDEE5;
76
+ border-radius: 6px;
77
+ left: 1px;
78
+ right: 1px;
79
+ top: 1px;
80
+ bottom: 1px;
81
+ opacity: 0;
82
+ transition: opacity 0.2s 0.9s linear;
83
+ }
84
+
85
+ &.@{bk-prefix}-scrollbar-visible {
86
+ &::before {
87
+ opacity: 0.9;
88
+ transition-delay: 0s;
89
+ transition-duration: 0s;
90
+ }
91
+ }
92
+ }
93
+ }
@@ -0,0 +1,203 @@
1
+ :root {
2
+ --bk-prefix: bk;
3
+ --popover-max-height: 216px;
4
+ --primary-color: #3a84ff;
5
+ --success-color: #2dcb56;
6
+ --warning-color: #ff9c01;
7
+ --danger-color: #ea3636;
8
+ --default-color: #63656e;
9
+ --gray-color: #979ba5;
10
+ --light-gray: #c4c6cc;
11
+ --white-color: white;
12
+ --whitesmoke-color: #fafbfd;
13
+ --disable-color: #dcdee5;
14
+ --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
16
+ --font-size-base: 12px;
17
+ --font-size-medium: 14px;
18
+ --font-size-large: 16px;
19
+ --line-height-base: 16px;
20
+ --line-height-medium: 16px;
21
+ --line-height-large: 18px;
22
+ --component-size-small: 26px;
23
+ --component-size-base: 32px;
24
+ --component-size-large: 40px;
25
+ --component-size-small-padding: 0 12px;
26
+ --component-size-base-padding: 0 14px;
27
+ --component-size-large-padding: 0 16px;
28
+ --border-width-base: 1px;
29
+ --border-style-base: solid;
30
+ --border-radius-base: 2px;
31
+ --border-style-color: var(--light-gray);
32
+ --input-disabled-bg: #fafbfd;
33
+ --input-disabled-border: var(--disable-color);
34
+ --input-height-base: var(--component-size-base);
35
+ --input-color: var(--default-color);
36
+ --input-bg: white;
37
+ --input-border-color: var(--light-gray);
38
+ --input-broder-radius: 3px;
39
+ --input-shadow-color: #a3c5fd;
40
+ --input-horizontal-padding: 8px;
41
+ --input-block-color: #f5f7fa;
42
+ --input-block-hover-color: #eaebf0;
43
+ --input-icon-size: var(--font-size-medium);
44
+ --input-maxlength-color: #979ba5;
45
+ --button-primary-hover-color: #5594fa;
46
+ --button-danger-hover-color: #ff5656;
47
+ --button-success-hover-color: #45e35f;
48
+ --button-warning-hover-color: #ffb848;
49
+ --button-default-hover-border-color: #979ba5;
50
+ --button-primary-active-color: #2c77f4;
51
+ --button-danger-active-color: #db2626;
52
+ --button-success-active-color: #1ab943;
53
+ --button-warning-active-color: #eb9000;
54
+ --button-selected-bg-color: #e1ecff;
55
+ --button-disabled-selected-bg-color: #f0f1f5;
56
+ --radio-font-color: #63656e;
57
+ --radio-active-color: #3a84ff;
58
+ --radio-hover-border-color: #979ba5;
59
+ --radio-disabled-border: #dcdee5;
60
+ --radio-disabled-font-color: #c4c6cc;
61
+ --radio-disabled-checked-bg: #a3c5fd;
62
+ --radio-button-checked-bg: #e1ecff;
63
+ --radio-button-disabled-checked-bg: #fafbfd;
64
+ --checkbox-disabled-checked-bg: #a3c5fd;
65
+ --fixed-navbar-background: #fff;
66
+ --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
67
+ --switch-default-color: #fff;
68
+ --switch-grey-color: #c4c6cc;
69
+ --breadcrumb-black-color: #979ba5;
70
+ --breadcrumb-primary-hover-color: #0082ff;
71
+ --breadcrumb-fn-main-color: #63656e;
72
+ --link-default-hover-color: #979ba5;
73
+ --link-primary-hover-color: #699df4;
74
+ --link-success-hover-color: #45e35f;
75
+ --link-warning-hover-color: #ffb848;
76
+ --link-danger-hover-color: #ff5656;
77
+ --link-default-disabled-color: #dcdee5;
78
+ --link-primary-disabled-color: #a3c5fd;
79
+ --link-success-disabled-color: #94f5a4;
80
+ --link-warning-disabled-color: #ffd695;
81
+ --link-danger-disabled-color: #fd9c9c;
82
+ --message-color: var(--default-color);
83
+ --message-primary-bg-color: #f0f8ff;
84
+ --message-primary-border-color: #e1ecff;
85
+ --message-primary-shadow-color: #e1e8f4;
86
+ --message-warning-bg-color: #fff4e2;
87
+ --message-warning-border-color: #ffe8c3;
88
+ --message-warning-shadow-color: #ede6db;
89
+ --message-success-bg-color: #f2fff4;
90
+ --message-success-border-color: #dcffe2;
91
+ --message-success-shadow-color: #cef0d7;
92
+ --message-danger-bg-color: #ffeded;
93
+ --message-danger-border-color: #ffdddd;
94
+ --message-danger-shadow-color: #f6dada;
95
+ --slider-default-bg: #dcdee5;
96
+ --slider-disable-bar-bg: #979ba5;
97
+ --menu-bg-color: #182132;
98
+ --submenu-bg-color: #151d2c;
99
+ --menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
100
+ --menu-color: #96a2b9;
101
+ --menu-group-color: var(--default-color);
102
+ --menu-width: 260px;
103
+ --menu-collapse-width: 60px;
104
+ --menu-active-color: white;
105
+ --nav-header-bg-color: #182132;
106
+ --nav-bg-color: #182132;
107
+ --date-picker-disabled-bg: #fafbfd;
108
+ --date-picker-dropdown-mb: 4px;
109
+ --date-picker-dropdown-bg: #fff;
110
+ --table-bg-color: var(--white-color);
111
+ --table-border-color: #dcdee5;
112
+ --table-head-bg-color: #fafbfd;
113
+ --table-head-font-color: #313238;
114
+ --table-body-font-color: #63656E;
115
+ --table-row-hover-bg-color: #f5f7fa;
116
+ --table-row-active-bg-color: #f0f1f5;
117
+ --cascader-panel-border-color: #dcdee5;
118
+ --cascader-panel-hover: #f5f7fa;
119
+ --cascader-panel-active: #e1ecff;
120
+ --cascader-panel-disabled-bg: #fff;
121
+ --search-select-focus-border-color: var(--primary-color);
122
+ --search-select-focus-color: #3c96ff;
123
+ --search-select-font-color: var(--default-color);
124
+ --search-select-placeholder-color: var(--light-gray);
125
+ --search-select-message-color: var(--danger-color);
126
+ --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
129
+ }
130
+ .bk-scrollbar-wrapper {
131
+ position: relative;
132
+ overflow: hidden;
133
+ }
134
+ .bk-scrollbar-wrapper .bk-scrollbar-content-el {
135
+ display: inline-flex;
136
+ flex-direction: column;
137
+ }
138
+ .bk-scrollbar-wrapper .bk-scrollbar-track {
139
+ z-index: 1;
140
+ position: absolute;
141
+ right: 0;
142
+ bottom: 0;
143
+ pointer-events: none;
144
+ overflow: hidden;
145
+ }
146
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover {
147
+ background-color: #F0F1F5;
148
+ cursor: pointer;
149
+ }
150
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover .bk-scrollbar::before {
151
+ background-color: #979BA5;
152
+ }
153
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-vertical {
154
+ top: 0;
155
+ width: 8px;
156
+ transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
157
+ }
158
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal {
159
+ left: 0;
160
+ height: 8px;
161
+ transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
162
+ }
163
+ .bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal.bk-scrollbar {
164
+ right: auto;
165
+ left: 0;
166
+ top: 0;
167
+ bottom: 0;
168
+ min-height: 0;
169
+ min-width: 8px;
170
+ width: auto;
171
+ }
172
+ .bk-scrollbar-wrapper .bk-scrollbar-dragging {
173
+ pointer-events: none;
174
+ -webkit-touch-callout: none;
175
+ -webkit-user-select: none;
176
+ -khtml-user-select: none;
177
+ -moz-user-select: none;
178
+ -ms-user-select: none;
179
+ user-select: none;
180
+ }
181
+ .bk-scrollbar-wrapper .bk-scrollbar {
182
+ position: absolute;
183
+ left: 0;
184
+ right: 0;
185
+ min-height: 8px;
186
+ }
187
+ .bk-scrollbar-wrapper .bk-scrollbar::before {
188
+ position: absolute;
189
+ content: '';
190
+ background: #DCDEE5;
191
+ border-radius: 6px;
192
+ left: 1px;
193
+ right: 1px;
194
+ top: 1px;
195
+ bottom: 1px;
196
+ opacity: 0;
197
+ transition: opacity 0.2s 0.9s linear;
198
+ }
199
+ .bk-scrollbar-wrapper .bk-scrollbar.bk-scrollbar-visible::before {
200
+ opacity: 0.9;
201
+ transition-delay: 0s;
202
+ transition-duration: 0s;
203
+ }
@@ -34,7 +34,6 @@ export * from './token';
34
34
  export * from './utils';
35
35
  export * from './vue-types';
36
36
  export * from './z-index-manager';
37
- export * from './mask';
38
37
  export declare function classes(dynamicCls: object, constCls?: string): string;
39
38
  export declare const EMPTY_OBJ: any;
40
39
  export declare const noop: () => void;