@symbiote-native/vue 3.3.0 → 3.4.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/build/components/flat-list/index.d.ts +4 -3
- package/build/components/flat-list/index.js +18 -21
- package/build/components/input-accessory-view-props.d.ts +4 -4
- package/build/components/keyboard-avoiding-view.d.ts +11 -3
- package/build/components/keyboard-avoiding-view.js +38 -69
- package/build/components/layout-conformance-props.d.ts +4 -0
- package/build/components/layout-conformance-props.js +1 -0
- package/build/components/modal/index.d.ts +18 -5
- package/build/components/modal/index.js +53 -24
- package/build/components/refresh-control-props.d.ts +7 -7
- package/build/components/scroll-view/scroll-view-props.d.ts +8 -5
- package/build/components/section-list/index.d.ts +1 -1
- package/build/components/section-list/index.js +2 -6
- package/build/components/text-props.d.ts +3 -3
- package/build/components/touchable-props.d.ts +6 -6
- package/build/components/virtualized-list/index.d.ts +5 -75
- package/build/components/virtualized-list/index.js +130 -558
- package/build/components/virtualized-list/list-children.d.ts +18 -0
- package/build/components/virtualized-list/list-children.js +81 -0
- package/build/components/virtualized-list/list-elements.d.ts +7 -0
- package/build/components/virtualized-list/list-elements.js +29 -0
- package/build/components/virtualized-list/list-scroll-props.d.ts +20 -0
- package/build/components/virtualized-list/list-scroll-props.js +9 -0
- package/build/components/virtualized-list/narrow-props.d.ts +79 -0
- package/build/components/virtualized-list/narrow-props.js +89 -0
- package/build/components/virtualized-list/nested-scope.d.ts +3 -0
- package/build/components/virtualized-list/nested-scope.js +12 -0
- package/build/components/virtualized-list/user-handlers.d.ts +3 -0
- package/build/components/virtualized-list/user-handlers.js +24 -0
- package/build/components/virtualized-list/virtualized-list-props.d.ts +82 -0
- package/build/components/virtualized-list/virtualized-list-props.js +41 -0
- package/build/components/virtualized-section-list/index.d.ts +20 -5
- package/build/components/virtualized-section-list/index.js +81 -95
- package/build/components/virtualized-section-list/section-item-cell.d.ts +18 -0
- package/build/components/virtualized-section-list/section-item-cell.js +52 -0
- package/build/composables/use-animated-value.d.ts +7 -0
- package/build/composables/use-animated-value.js +14 -0
- package/build/composables/use-color-scheme.d.ts +1 -1
- package/build/create-transition/index.d.ts +2 -2
- package/build/create-transition/index.js +1 -1
- package/build/index.d.ts +13 -4
- package/build/index.js +16 -31
- package/build/modules/animated/index.d.ts +54 -41
- package/build/modules/animated/index.js +2 -26
- package/build/modules/app-registry/index.d.ts +3 -3
- package/build/modules/app-registry/index.js +2 -2
- package/build/modules/status-bar.js +22 -24
- package/metro-vue-transformer.cjs +165 -224
- package/package.json +6 -6
|
@@ -1,78 +1,8 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type ISeparatorProps, type ISeparators, type IViewabilityConfig, type IViewabilityConfigCallbackPair, type IViewableItemsChangedInfo } from '@symbiote-native/components';
|
|
3
|
-
import { type IStyleProp, type ISymbioteEvent, type IViewStyle } from '@symbiote-native/engine';
|
|
1
|
+
import { type IVirtualizedListEmits, type IVirtualizedListProps, type IVirtualizedListSlots } from './virtualized-list-props';
|
|
4
2
|
export type { ICellLayout, ISeparators, ISeparatorProps, IViewToken, IViewableItemsChangedInfo, IViewabilityConfig, IViewabilityConfigCallbackPair, IVirtualizedListHandle, } from '@symbiote-native/components';
|
|
5
|
-
export
|
|
6
|
-
data: unknown;
|
|
7
|
-
getItem: (data: unknown, index: number) => ItemT;
|
|
8
|
-
getItemCount: (data: unknown) => number;
|
|
9
|
-
keyExtractor?: (item: ItemT, index: number) => string;
|
|
10
|
-
getItemLayout?: (data: unknown, index: number) => {
|
|
11
|
-
length: number;
|
|
12
|
-
offset: number;
|
|
13
|
-
index: number;
|
|
14
|
-
};
|
|
15
|
-
horizontal?: boolean;
|
|
16
|
-
inverted?: boolean;
|
|
17
|
-
extraData?: unknown;
|
|
18
|
-
onEndReachedThreshold?: number;
|
|
19
|
-
onStartReachedThreshold?: number;
|
|
20
|
-
refreshing?: boolean | null;
|
|
21
|
-
progressViewOffset?: number;
|
|
22
|
-
viewabilityConfig?: IViewabilityConfig;
|
|
23
|
-
viewabilityConfigCallbackPairs?: IViewabilityConfigCallbackPair<ItemT>[];
|
|
24
|
-
initialNumToRender?: number;
|
|
25
|
-
initialScrollIndex?: number;
|
|
26
|
-
maxToRenderPerBatch?: number;
|
|
27
|
-
updateCellsBatchingPeriod?: number;
|
|
28
|
-
windowSize?: number;
|
|
29
|
-
stickyHeaderIndices?: number[];
|
|
30
|
-
maintainVisibleContentPosition?: {
|
|
31
|
-
minIndexForVisible: number;
|
|
32
|
-
autoscrollToTopThreshold?: number;
|
|
33
|
-
};
|
|
34
|
-
onScroll?: (event: ISymbioteEvent) => void;
|
|
35
|
-
onScrollBeginDrag?: (event: ISymbioteEvent) => void;
|
|
36
|
-
onScrollEndDrag?: (event: ISymbioteEvent) => void;
|
|
37
|
-
onMomentumScrollBegin?: (event: ISymbioteEvent) => void;
|
|
38
|
-
onMomentumScrollEnd?: (event: ISymbioteEvent) => void;
|
|
39
|
-
scrollEventThrottle?: number;
|
|
40
|
-
keyboardShouldPersistTaps?: boolean | 'always' | 'never' | 'handled';
|
|
41
|
-
keyboardDismissMode?: 'none' | 'on-drag' | 'interactive';
|
|
42
|
-
removeClippedSubviews?: boolean;
|
|
43
|
-
nestedScrollEnabled?: boolean;
|
|
44
|
-
style?: IStyleProp<IViewStyle>;
|
|
45
|
-
contentContainerStyle?: IStyleProp<IViewStyle>;
|
|
46
|
-
[key: string]: unknown;
|
|
47
|
-
}
|
|
48
|
-
export type IVirtualizedListSlots<ItemT> = {
|
|
49
|
-
item: (info: {
|
|
50
|
-
item: ItemT;
|
|
51
|
-
index: number;
|
|
52
|
-
separators: ISeparators;
|
|
53
|
-
}) => VNode[] | VNode;
|
|
54
|
-
separator?: (props: ISeparatorProps<ItemT>) => VNode[] | VNode;
|
|
55
|
-
header?: () => VNode[] | VNode;
|
|
56
|
-
footer?: () => VNode[] | VNode;
|
|
57
|
-
empty?: () => VNode[] | VNode;
|
|
58
|
-
};
|
|
59
|
-
export type IVirtualizedListEmits<ItemT> = {
|
|
60
|
-
viewableItemsChanged: (info: IViewableItemsChangedInfo<ItemT>) => void;
|
|
61
|
-
endReached: (info: {
|
|
62
|
-
distanceFromEnd: number;
|
|
63
|
-
}) => void;
|
|
64
|
-
startReached: (info: {
|
|
65
|
-
distanceFromStart: number;
|
|
66
|
-
}) => void;
|
|
67
|
-
refresh: () => void;
|
|
68
|
-
scrollToIndexFailed: (info: {
|
|
69
|
-
index: number;
|
|
70
|
-
highestMeasuredFrameIndex: number;
|
|
71
|
-
averageItemLength: number;
|
|
72
|
-
}) => void;
|
|
73
|
-
};
|
|
3
|
+
export type { IVirtualizedListEmits, IVirtualizedListProps, IVirtualizedListSlots, } from './virtualized-list-props';
|
|
74
4
|
export declare const VirtualizedList: new <ItemT>(props: (IVirtualizedListProps<ItemT> & ({} | {
|
|
75
|
-
onViewableItemsChanged?: ((info: IViewableItemsChangedInfo<ItemT>) => any) | undefined;
|
|
5
|
+
onViewableItemsChanged?: ((info: import("@symbiote-native/components").IViewableItemsChangedInfo<ItemT>) => any) | undefined;
|
|
76
6
|
onEndReached?: ((info: {
|
|
77
7
|
distanceFromEnd: number;
|
|
78
8
|
}) => any) | undefined;
|
|
@@ -86,7 +16,7 @@ export declare const VirtualizedList: new <ItemT>(props: (IVirtualizedListProps<
|
|
|
86
16
|
averageItemLength: number;
|
|
87
17
|
}) => any) | undefined;
|
|
88
18
|
})) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps) => import("vue").CreateComponentPublicInstanceWithMixins<IVirtualizedListProps<ItemT> & ({} | {
|
|
89
|
-
onViewableItemsChanged?: ((info: IViewableItemsChangedInfo<ItemT>) => any) | undefined;
|
|
19
|
+
onViewableItemsChanged?: ((info: import("@symbiote-native/components").IViewableItemsChangedInfo<ItemT>) => any) | undefined;
|
|
90
20
|
onEndReached?: ((info: {
|
|
91
21
|
distanceFromEnd: number;
|
|
92
22
|
}) => any) | undefined;
|
|
@@ -107,7 +37,7 @@ export declare const VirtualizedList: new <ItemT>(props: (IVirtualizedListProps<
|
|
|
107
37
|
M: {};
|
|
108
38
|
Defaults: {};
|
|
109
39
|
}, (IVirtualizedListProps<ItemT> & {}) | (IVirtualizedListProps<ItemT> & {
|
|
110
|
-
onViewableItemsChanged?: ((info: IViewableItemsChangedInfo<ItemT>) => any) | undefined;
|
|
40
|
+
onViewableItemsChanged?: ((info: import("@symbiote-native/components").IViewableItemsChangedInfo<ItemT>) => any) | undefined;
|
|
111
41
|
onEndReached?: ((info: {
|
|
112
42
|
distanceFromEnd: number;
|
|
113
43
|
}) => any) | undefined;
|