@codemonster-ru/vueforge 0.43.0 → 0.44.0
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/README.md +53 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.ts.mjs +1980 -1840
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/virtual-scroller.test.d.ts +1 -0
- package/dist/package/components/virtual-scroller.vue.d.ts +56 -0
- package/dist/package/config/theme-core.d.ts +13 -0
- package/dist/package/themes/default/components/virtual-scroller.d.ts +13 -0
- package/dist/package/themes/default/index.d.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
items?: Array<unknown>;
|
|
3
|
+
itemHeight?: number;
|
|
4
|
+
height?: string;
|
|
5
|
+
overscan?: number;
|
|
6
|
+
keyField?: string;
|
|
7
|
+
virtual?: boolean;
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
emptyText?: string;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
empty?(_: {}): any;
|
|
15
|
+
default?(_: {
|
|
16
|
+
item: unknown;
|
|
17
|
+
index: number;
|
|
18
|
+
}): any;
|
|
19
|
+
default?(_: {
|
|
20
|
+
item: unknown;
|
|
21
|
+
index: number;
|
|
22
|
+
}): any;
|
|
23
|
+
};
|
|
24
|
+
refs: {
|
|
25
|
+
viewport: HTMLDivElement;
|
|
26
|
+
};
|
|
27
|
+
rootEl: HTMLDivElement;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
scroll: (...args: any[]) => void;
|
|
32
|
+
rangeChange: (...args: any[]) => void;
|
|
33
|
+
reachEnd: (...args: any[]) => void;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
35
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
onRangeChange?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
onReachEnd?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
items: Array<unknown>;
|
|
40
|
+
ariaLabel: string;
|
|
41
|
+
emptyText: string;
|
|
42
|
+
height: string;
|
|
43
|
+
itemHeight: number;
|
|
44
|
+
overscan: number;
|
|
45
|
+
keyField: string;
|
|
46
|
+
virtual: boolean;
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
48
|
+
viewport: HTMLDivElement;
|
|
49
|
+
}, HTMLDivElement>;
|
|
50
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -912,6 +912,18 @@ export type TreeSelectTokens = {
|
|
|
912
912
|
fontSize?: string;
|
|
913
913
|
};
|
|
914
914
|
};
|
|
915
|
+
export type VirtualScrollerTokens = {
|
|
916
|
+
fontSize?: string;
|
|
917
|
+
borderColor?: string;
|
|
918
|
+
borderRadius?: string;
|
|
919
|
+
backgroundColor?: string;
|
|
920
|
+
textColor?: string;
|
|
921
|
+
focusRingShadow?: string;
|
|
922
|
+
itemPadding?: string;
|
|
923
|
+
itemBorderColor?: string;
|
|
924
|
+
emptyPadding?: string;
|
|
925
|
+
emptyColor?: string;
|
|
926
|
+
};
|
|
915
927
|
export type StepperTokens = {
|
|
916
928
|
gap?: string;
|
|
917
929
|
itemGap?: string;
|
|
@@ -1226,6 +1238,7 @@ export type ThemeComponentTokens = {
|
|
|
1226
1238
|
rating?: RatingTokens;
|
|
1227
1239
|
tree?: TreeTokens;
|
|
1228
1240
|
treeselect?: TreeSelectTokens;
|
|
1241
|
+
virtualScroller?: VirtualScrollerTokens;
|
|
1229
1242
|
[key: string]: unknown;
|
|
1230
1243
|
};
|
|
1231
1244
|
export type ThemeTokens = {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
fontSize: string;
|
|
3
|
+
borderColor: string;
|
|
4
|
+
borderRadius: string;
|
|
5
|
+
backgroundColor: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
focusRingShadow: string;
|
|
8
|
+
itemPadding: string;
|
|
9
|
+
itemBorderColor: string;
|
|
10
|
+
emptyPadding: string;
|
|
11
|
+
emptyColor: string;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -1415,6 +1415,18 @@ declare const _default: {
|
|
|
1415
1415
|
fontSize: string;
|
|
1416
1416
|
};
|
|
1417
1417
|
};
|
|
1418
|
+
virtualScroller: {
|
|
1419
|
+
fontSize: string;
|
|
1420
|
+
borderColor: string;
|
|
1421
|
+
borderRadius: string;
|
|
1422
|
+
backgroundColor: string;
|
|
1423
|
+
textColor: string;
|
|
1424
|
+
focusRingShadow: string;
|
|
1425
|
+
itemPadding: string;
|
|
1426
|
+
itemBorderColor: string;
|
|
1427
|
+
emptyPadding: string;
|
|
1428
|
+
emptyColor: string;
|
|
1429
|
+
};
|
|
1418
1430
|
};
|
|
1419
1431
|
colors: {
|
|
1420
1432
|
white: string;
|