bkui-vue 2.0.1-beta.40 → 2.0.1-beta.41
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.
- package/dist/index.cjs.js +63 -63
- package/dist/index.esm.js +16186 -16112
- package/dist/index.umd.js +63 -63
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/checkbox/index.js +2 -1
- package/lib/index.js +1 -1
- package/lib/scrollbar/{scrollbar.css → css/scrollbar.css} +90 -75
- package/lib/scrollbar/css/scrollbar.less +139 -0
- package/lib/scrollbar/{scrollbar.variable.css → css/scrollbar.variable.css} +89 -74
- package/lib/scrollbar/handlers/click-rail.d.ts +2 -0
- package/lib/scrollbar/handlers/drag-thumb.d.ts +1 -0
- package/lib/scrollbar/handlers/keyboard.d.ts +2 -0
- package/lib/scrollbar/handlers/mouse-wheel.d.ts +2 -0
- package/lib/scrollbar/handlers/touch.d.ts +4 -0
- package/lib/scrollbar/helper/class-names.d.ts +21 -0
- package/lib/scrollbar/helper/css.d.ts +3 -0
- package/lib/scrollbar/helper/dom.d.ts +4 -0
- package/lib/scrollbar/helper/event-manager.d.ts +20 -0
- package/lib/scrollbar/helper/util.d.ts +11 -0
- package/lib/scrollbar/index.d.ts +133 -13
- package/lib/scrollbar/index.js +1331 -18489
- package/lib/scrollbar/process-scroll-diff.d.ts +1 -0
- package/lib/scrollbar/update-geometry.d.ts +8 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/table/components/table-cell.d.ts +11 -0
- package/lib/table/hooks/use-columns.d.ts +4 -1
- package/lib/table/hooks/use-layout.d.ts +1 -0
- package/lib/table/hooks/use-settings.d.ts +2 -2
- package/lib/table/index.d.ts +23 -0
- package/lib/table/index.js +233 -77
- package/lib/table/props.d.ts +9 -1
- package/lib/table/table.css +126 -109
- package/lib/table/table.d.ts +11 -0
- package/lib/table/table.less +49 -30
- package/lib/table/table.variable.css +126 -109
- package/lib/table/utils.d.ts +15 -15
- package/lib/table-column/index.js +8 -0
- package/lib/tree/index.d.ts +3 -3
- package/lib/tree/tree.css +90 -83
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/tree.variable.css +90 -83
- package/lib/virtual-render/index.d.ts +0 -23
- package/lib/virtual-render/index.js +54 -106
- package/lib/virtual-render/props.d.ts +0 -6
- package/lib/virtual-render/use-scrollbar.d.ts +3 -17
- package/lib/virtual-render/virtual-render.css +89 -82
- package/lib/virtual-render/virtual-render.d.ts +0 -11
- package/lib/virtual-render/virtual-render.less +2 -11
- package/lib/virtual-render/virtual-render.variable.css +89 -82
- package/package.json +1 -1
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/index.d.ts +0 -242
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
- package/lib/scrollbar/scrollbar.less +0 -119
@@ -0,0 +1 @@
|
|
1
|
+
export default function (i: any, axis: any, diff: any, useScrollingClass?: boolean, forceFireReachEvent?: boolean): void;
|
package/lib/styles/index.d.ts
CHANGED
@@ -15,6 +15,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
15
15
|
} & {
|
16
16
|
default: boolean;
|
17
17
|
};
|
18
|
+
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
19
|
+
default: boolean;
|
20
|
+
} & {
|
21
|
+
default: boolean;
|
22
|
+
};
|
18
23
|
isHead: import("vue-types").VueTypeValidableDef<boolean> & {
|
19
24
|
default: boolean;
|
20
25
|
} & {
|
@@ -45,6 +50,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
45
50
|
} & {
|
46
51
|
default: boolean;
|
47
52
|
};
|
53
|
+
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
54
|
+
default: boolean;
|
55
|
+
} & {
|
56
|
+
default: boolean;
|
57
|
+
};
|
48
58
|
isHead: import("vue-types").VueTypeValidableDef<boolean> & {
|
49
59
|
default: boolean;
|
50
60
|
} & {
|
@@ -63,6 +73,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
63
73
|
title: string;
|
64
74
|
row: any;
|
65
75
|
observerResize: boolean;
|
76
|
+
intersectionObserver: boolean;
|
66
77
|
isHead: boolean;
|
67
78
|
isExpandChild: boolean;
|
68
79
|
headExplain: string;
|
@@ -37,8 +37,11 @@ declare const useColumns: (props: TablePropTypes) => {
|
|
37
37
|
getColumnRefAttribute: (col: Column | IEmptyObject, attributeName: string) => any;
|
38
38
|
getColumnCalcWidth: (column: Column) => any;
|
39
39
|
getColumnWidth: (column: Column) => any;
|
40
|
+
getLeftColumnsWidth: (col: Column, includingSelf?: boolean) => number;
|
40
41
|
getGroupAttribute: (group: Column) => IHeadGroup;
|
41
|
-
|
42
|
+
getPreColumn: (col: Column) => Column;
|
43
|
+
getColumnIndex: (col: Column) => number;
|
44
|
+
resolveEventListener: (col: Column, index: number) => Record<string, (...args: any[]) => void> & {
|
42
45
|
[x: string]: (e: MouseEvent) => void;
|
43
46
|
};
|
44
47
|
setColumnIsHidden: (column: Column, value?: boolean) => void;
|
@@ -7,6 +7,7 @@ declare const _default: (props: TablePropTypes, ctx: any) => {
|
|
7
7
|
renderFooter: (childrend?: any) => JSX.Element;
|
8
8
|
renderFixedBottom: () => JSX.Element;
|
9
9
|
setBodyHeight: (height: number) => void;
|
10
|
+
setVirtualBodyHeight: (height: number) => void;
|
10
11
|
setFootHeight: (height: number) => void;
|
11
12
|
setTranslateX: (val: number) => void;
|
12
13
|
setDragOffsetX: (val: number) => void;
|
@@ -27,7 +27,7 @@ declare const useSettings: (props: TablePropTypes, ctx: SetupContext, columns: U
|
|
27
27
|
fixed?: string | boolean;
|
28
28
|
resizable?: boolean;
|
29
29
|
sort?: string | boolean | {
|
30
|
-
sortFn?: (...args: any[]) =>
|
30
|
+
sortFn?: (...args: any[]) => number;
|
31
31
|
sortScope?: import("../props").SortScope;
|
32
32
|
value?: import("../const").SORT_OPTION;
|
33
33
|
};
|
@@ -79,7 +79,7 @@ declare const useSettings: (props: TablePropTypes, ctx: SetupContext, columns: U
|
|
79
79
|
fixed?: string | boolean;
|
80
80
|
resizable?: boolean;
|
81
81
|
sort?: string | boolean | {
|
82
|
-
sortFn?: (...args: any[]) =>
|
82
|
+
sortFn?: (...args: any[]) => number;
|
83
83
|
sortScope?: import("../props").SortScope;
|
84
84
|
value?: import("../const").SORT_OPTION;
|
85
85
|
};
|
package/lib/table/index.d.ts
CHANGED
@@ -149,6 +149,11 @@ declare const BkTable: {
|
|
149
149
|
} & {
|
150
150
|
default: boolean;
|
151
151
|
};
|
152
|
+
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
153
|
+
default: boolean;
|
154
|
+
} & {
|
155
|
+
default: boolean;
|
156
|
+
};
|
152
157
|
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
153
158
|
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
154
159
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
@@ -321,6 +326,11 @@ declare const BkTable: {
|
|
321
326
|
} & {
|
322
327
|
default: boolean;
|
323
328
|
};
|
329
|
+
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
330
|
+
default: boolean;
|
331
|
+
} & {
|
332
|
+
default: boolean;
|
333
|
+
};
|
324
334
|
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
325
335
|
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
326
336
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
@@ -389,6 +399,7 @@ declare const BkTable: {
|
|
389
399
|
defaultSort: import("./props").ISortOption;
|
390
400
|
isRowSelectEnable: any;
|
391
401
|
observerResize: boolean;
|
402
|
+
intersectionObserver: boolean;
|
392
403
|
prependStyle: import("vue").CSSProperties;
|
393
404
|
isFlex: boolean;
|
394
405
|
rowDraggable: any;
|
@@ -546,6 +557,11 @@ declare const BkTable: {
|
|
546
557
|
} & {
|
547
558
|
default: boolean;
|
548
559
|
};
|
560
|
+
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
561
|
+
default: boolean;
|
562
|
+
} & {
|
563
|
+
default: boolean;
|
564
|
+
};
|
549
565
|
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
550
566
|
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
551
567
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
@@ -614,6 +630,7 @@ declare const BkTable: {
|
|
614
630
|
defaultSort: import("./props").ISortOption;
|
615
631
|
isRowSelectEnable: any;
|
616
632
|
observerResize: boolean;
|
633
|
+
intersectionObserver: boolean;
|
617
634
|
prependStyle: import("vue").CSSProperties;
|
618
635
|
isFlex: boolean;
|
619
636
|
rowDraggable: any;
|
@@ -768,6 +785,11 @@ declare const BkTable: {
|
|
768
785
|
} & {
|
769
786
|
default: boolean;
|
770
787
|
};
|
788
|
+
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
789
|
+
default: boolean;
|
790
|
+
} & {
|
791
|
+
default: boolean;
|
792
|
+
};
|
771
793
|
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
772
794
|
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
773
795
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
@@ -836,6 +858,7 @@ declare const BkTable: {
|
|
836
858
|
defaultSort: import("./props").ISortOption;
|
837
859
|
isRowSelectEnable: any;
|
838
860
|
observerResize: boolean;
|
861
|
+
intersectionObserver: boolean;
|
839
862
|
prependStyle: import("vue").CSSProperties;
|
840
863
|
isFlex: boolean;
|
841
864
|
rowDraggable: any;
|