@symbiote-native/angular 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/babel-register-composed.cjs +1 -0
- package/build/angular/accessibility-inputs.d.ts +2 -1
- package/build/angular/accessibility-inputs.js +4 -1
- package/build/angular/accessibility-inputs.js.map +1 -1
- package/build/angular/callback-host.d.ts +1 -1
- package/build/angular/callback-host.js +57 -9
- package/build/angular/callback-host.js.map +1 -1
- package/build/angular/components/flat-list/flat-list-handle.d.ts +35 -0
- package/build/angular/components/flat-list/flat-list-handle.js +48 -0
- package/build/angular/components/flat-list/flat-list-handle.js.map +1 -0
- package/build/angular/components/flat-list/flat-list-template.d.ts +1 -1
- package/build/angular/components/flat-list/flat-list-template.js +16 -0
- package/build/angular/components/flat-list/flat-list-template.js.map +1 -1
- package/build/angular/components/flat-list/index.d.ts +6 -30
- package/build/angular/components/flat-list/index.js +6 -36
- package/build/angular/components/flat-list/index.js.map +1 -1
- package/build/angular/components/image-inputs.d.ts +4 -0
- package/build/angular/components/image-inputs.js +81 -0
- package/build/angular/components/image-inputs.js.map +1 -0
- package/build/angular/components/image-props-resolve.d.ts +3 -0
- package/build/angular/components/image-props-resolve.js +133 -0
- package/build/angular/components/image-props-resolve.js.map +1 -0
- package/build/angular/components/image-shared.d.ts +8 -6
- package/build/angular/components/image-shared.js +23 -212
- package/build/angular/components/image-shared.js.map +1 -1
- package/build/angular/components/input-accessory-view-props.d.ts +4 -4
- package/build/angular/components/keyboard-avoiding-view/index.d.ts +3 -6
- package/build/angular/components/keyboard-avoiding-view/index.js +29 -56
- package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -1
- package/build/angular/components/layout-conformance-props.d.ts +4 -0
- package/build/angular/components/layout-conformance-props.js +2 -0
- package/build/angular/components/layout-conformance-props.js.map +1 -0
- package/build/angular/components/modal/index.d.ts +6 -5
- package/build/angular/components/modal/index.js +17 -2
- package/build/angular/components/modal/index.js.map +1 -1
- package/build/angular/components/refresh-control-props.d.ts +7 -7
- package/build/angular/components/scroll-view-props.d.ts +8 -5
- package/build/angular/components/section-list/index.d.ts +17 -8
- package/build/angular/components/section-list/index.js +37 -28
- package/build/angular/components/section-list/index.js.map +1 -1
- package/build/angular/components/touchable-props.d.ts +2 -2
- package/build/angular/components/virtualized-list/cell-renderer-context.d.ts +12 -0
- package/build/angular/components/virtualized-list/cell-renderer-context.js +16 -0
- package/build/angular/components/virtualized-list/cell-renderer-context.js.map +1 -0
- package/build/angular/components/virtualized-list/directives.d.ts +26 -6
- package/build/angular/components/virtualized-list/directives.js +59 -5
- package/build/angular/components/virtualized-list/directives.js.map +1 -1
- package/build/angular/components/virtualized-list/index.d.ts +19 -15
- package/build/angular/components/virtualized-list/index.js +91 -61
- package/build/angular/components/virtualized-list/index.js.map +1 -1
- package/build/angular/components/virtualized-list/list-bags.d.ts +5 -1
- package/build/angular/components/virtualized-list/list-bags.js +31 -19
- package/build/angular/components/virtualized-list/list-bags.js.map +1 -1
- package/build/angular/components/virtualized-list/list-effects.d.ts +2 -2
- package/build/angular/components/virtualized-list/list-effects.js +17 -27
- package/build/angular/components/virtualized-list/list-effects.js.map +1 -1
- package/build/angular/components/virtualized-list/list-handle.d.ts +4 -1
- package/build/angular/components/virtualized-list/list-handle.js +13 -3
- package/build/angular/components/virtualized-list/list-handle.js.map +1 -1
- package/build/angular/components/virtualized-list/list-inputs.d.ts +19 -5
- package/build/angular/components/virtualized-list/list-inputs.js +47 -4
- package/build/angular/components/virtualized-list/list-inputs.js.map +1 -1
- package/build/angular/components/virtualized-list/list-props.d.ts +9 -3
- package/build/angular/components/virtualized-list/list-rows.d.ts +25 -0
- package/build/angular/components/virtualized-list/list-rows.js +25 -0
- package/build/angular/components/virtualized-list/list-rows.js.map +1 -0
- package/build/angular/components/virtualized-list/list-styles.d.ts +4 -0
- package/build/angular/components/virtualized-list/list-styles.js +10 -2
- package/build/angular/components/virtualized-list/list-styles.js.map +1 -1
- package/build/angular/components/virtualized-list/list-template.d.ts +1 -1
- package/build/angular/components/virtualized-list/list-template.js +159 -73
- package/build/angular/components/virtualized-list/list-template.js.map +1 -1
- package/build/angular/components/virtualized-list/nested-scope.d.ts +6 -0
- package/build/angular/components/virtualized-list/nested-scope.js +17 -0
- package/build/angular/components/virtualized-list/nested-scope.js.map +1 -0
- package/build/angular/components/virtualized-section-list/directives.d.ts +21 -9
- package/build/angular/components/virtualized-section-list/directives.js +8 -28
- package/build/angular/components/virtualized-section-list/directives.js.map +1 -1
- package/build/angular/components/virtualized-section-list/index.d.ts +39 -60
- package/build/angular/components/virtualized-section-list/index.js +67 -33
- package/build/angular/components/virtualized-section-list/index.js.map +1 -1
- package/build/angular/components/virtualized-section-list/section-cell.d.ts +29 -0
- package/build/angular/components/virtualized-section-list/section-cell.js +82 -0
- package/build/angular/components/virtualized-section-list/section-cell.js.map +1 -0
- package/build/angular/components/virtualized-section-list/section-list-props.d.ts +56 -0
- package/build/angular/components/virtualized-section-list/section-list-props.js +3 -0
- package/build/angular/components/virtualized-section-list/section-list-props.js.map +1 -0
- package/build/angular/components/virtualized-section-list/section-list-template.d.ts +1 -1
- package/build/angular/components/virtualized-section-list/section-list-template.js +34 -26
- package/build/angular/components/virtualized-section-list/section-list-template.js.map +1 -1
- package/build/angular/components.d.ts +7 -3
- package/build/angular/components.js +2 -1
- package/build/angular/components.js.map +1 -1
- package/build/angular/element-base.d.ts +17 -1
- package/build/angular/element-base.js +33 -1
- package/build/angular/element-base.js.map +1 -1
- package/build/angular/element-props.d.ts +7 -7
- package/build/angular/element-text-input-native.d.ts +27 -0
- package/build/angular/element-text-input-native.js +52 -0
- package/build/angular/element-text-input-native.js.map +1 -0
- package/build/angular/elements-controls.d.ts +8 -2
- package/build/angular/elements-controls.js +13 -1
- package/build/angular/elements-controls.js.map +1 -1
- package/build/angular/elements-layout.d.ts +20 -3
- package/build/angular/elements-layout.js +37 -3
- package/build/angular/elements-layout.js.map +1 -1
- package/build/angular/elements-press.d.ts +10 -3
- package/build/angular/elements-press.js +13 -1
- package/build/angular/elements-press.js.map +1 -1
- package/build/angular/elements.d.ts +3 -3
- package/build/angular/elements.js +3 -2
- package/build/angular/elements.js.map +1 -1
- package/build/angular/index.d.ts +14 -7
- package/build/angular/index.js +21 -25
- package/build/angular/index.js.map +1 -1
- package/build/angular/modules/animated/create-animated-component.d.ts +1 -1
- package/build/angular/modules/animated/create-animated-component.js +1 -1
- package/build/angular/modules/animated/create-animated-component.js.map +1 -1
- package/build/angular/modules/animated/index.d.ts +54 -41
- package/build/angular/modules/animated/index.js +2 -26
- package/build/angular/modules/animated/index.js.map +1 -1
- package/build/angular/modules/app-registry/index.d.ts +3 -3
- package/build/angular/modules/app-registry/index.js +2 -2
- package/build/angular/modules/app-registry/index.js.map +1 -1
- package/build/angular/modules/status-bar/index.d.ts +9 -5
- package/build/angular/modules/status-bar/index.js +21 -10
- package/build/angular/modules/status-bar/index.js.map +1 -1
- package/build/angular/primitives/index.d.ts +4 -0
- package/build/angular/primitives/index.js +12 -0
- package/build/angular/primitives/index.js.map +1 -1
- package/build/angular/services/color-scheme.service.d.ts +1 -1
- package/package.json +6 -6
- package/src/accessibility-inputs.ts +3 -0
- package/src/callback-host.ts +56 -8
- package/src/components/flat-list/flat-list-handle.ts +64 -0
- package/src/components/flat-list/flat-list-template.ts +16 -0
- package/src/components/flat-list/index.ts +6 -48
- package/src/components/image-inputs.ts +94 -0
- package/src/components/image-props-resolve.ts +172 -0
- package/src/components/image-shared.ts +26 -291
- package/src/components/input-accessory-view-props.ts +12 -8
- package/src/components/keyboard-avoiding-view/index.ts +39 -79
- package/src/components/layout-conformance-props.ts +8 -0
- package/src/components/modal/index.ts +42 -20
- package/src/components/refresh-control-props.ts +29 -25
- package/src/components/scroll-view-props.ts +84 -76
- package/src/components/section-list/index.ts +34 -37
- package/src/components/touchable-props.ts +6 -2
- package/src/components/virtualized-list/cell-renderer-context.ts +36 -0
- package/src/components/virtualized-list/directives.ts +84 -8
- package/src/components/virtualized-list/index.ts +118 -85
- package/src/components/virtualized-list/list-bags.ts +38 -19
- package/src/components/virtualized-list/list-effects.ts +20 -32
- package/src/components/virtualized-list/list-handle.ts +17 -4
- package/src/components/virtualized-list/list-inputs.ts +47 -0
- package/src/components/virtualized-list/list-props.ts +57 -50
- package/src/components/virtualized-list/list-rows.ts +66 -0
- package/src/components/virtualized-list/list-styles.ts +30 -1
- package/src/components/virtualized-list/list-template.ts +159 -73
- package/src/components/virtualized-list/nested-scope.ts +22 -0
- package/src/components/virtualized-section-list/directives.ts +41 -40
- package/src/components/virtualized-section-list/index.ts +114 -118
- package/src/components/virtualized-section-list/section-cell.ts +109 -0
- package/src/components/virtualized-section-list/section-list-props.ts +79 -0
- package/src/components/virtualized-section-list/section-list-template.ts +34 -26
- package/src/components.ts +8 -0
- package/src/element-base.ts +17 -0
- package/src/element-props.ts +35 -33
- package/src/element-text-input-native.ts +31 -0
- package/src/elements-controls.ts +9 -1
- package/src/elements-layout.ts +27 -0
- package/src/elements-press.ts +10 -2
- package/src/elements.ts +3 -0
- package/src/index.ts +72 -22
- package/src/modules/animated/index.ts +2 -47
- package/src/modules/app-registry/index.ts +3 -1
- package/src/modules/status-bar/index.ts +24 -11
- package/src/primitives/index.ts +7 -0
- package/src/services/color-scheme.service.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/modal/index.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,gGAAgG;AAChG,kGAAkG;AAClG,2GAA2G;AAC3G,oGAAoG;AACpG,qGAAqG;AACrG,oEAAoE;AAEpE,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,MAAM,EACN,KAAK,EACL,MAAM,EACN,MAAM,GAKP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,uBAAuB,EACvB,cAAc,EACd,YAAY,EACZ,qBAAqB,EACrB,WAAW,EACX,yBAAyB,EACzB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/modal/index.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,gGAAgG;AAChG,kGAAkG;AAClG,2GAA2G;AAC3G,oGAAoG;AACpG,qGAAqG;AACrG,oEAAoE;AAEpE,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,MAAM,EACN,KAAK,EACL,MAAM,EACN,MAAM,GAKP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,uBAAuB,EACvB,cAAc,EACd,YAAY,EACZ,qBAAqB,EACrB,WAAW,EACX,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,GAOpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,IAAI,EACJ,eAAe,EACf,QAAQ,GAKT,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,iBAAiB,EACjB,aAAa,GACd,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,eAAe,EACf,SAAS,EACT,0BAA0B,EAC1B,2BAA2B,EAC3B,QAAQ,GACT,MAAM,kBAAkB,CAAC;;;AA0E1B,MAAM,OAAO,KACX,SAAQ,uBAAuB;IA5BjC;;QA+BqB,SAAI,GAAG,IAAI,YAAY,EAAQ,CAAC;QAChC,YAAO,GAAG,IAAI,YAAY,EAAQ,CAAC;QACnC,iBAAY,GAAG,IAAI,YAAY,EAAQ,CAAC;QAaxC,sBAAiB,GAAG,IAAI,YAAY,EAAkB,CAAC;QAE1E,4FAA4F;QAC5F,wCAAwC;QAChC,UAAK,GAAgB,uBAAuB,CAAC,KAAK,CAAC,CAAC;QAE3C,mBAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;QAC5D,6FAA6F;QAC7F,2FAA2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AAE,CAAC,SAAS,EAAE,QAAQ,EAAE,0BAA0B,CAAC;oBAC1D,yFAAyF;oBACzF,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC;oBACpE,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE;;;;;;;;;;;;;;GAcT;iBACF;;sBAKE,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,MAAM"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { IAccessibilityProps, IAriaProps } from '@symbiote-native/components';
|
|
2
|
-
import type { IStyleProp, IViewStyle } from '@symbiote-native/engine';
|
|
3
|
-
export
|
|
2
|
+
import type { IColorValue, IStyleProp, IViewStyle } from '@symbiote-native/engine';
|
|
3
|
+
export type IAngularRefreshControlProps = IAccessibilityProps & IAriaProps & {
|
|
4
4
|
refreshing: boolean;
|
|
5
5
|
id?: string;
|
|
6
6
|
onRefresh?: () => void | Promise<void>;
|
|
7
|
-
tintColor?:
|
|
7
|
+
tintColor?: IColorValue;
|
|
8
8
|
title?: string;
|
|
9
|
-
titleColor?:
|
|
9
|
+
titleColor?: IColorValue;
|
|
10
10
|
progressViewOffset?: number;
|
|
11
|
-
colors?: readonly
|
|
12
|
-
progressBackgroundColor?:
|
|
11
|
+
colors?: readonly IColorValue[];
|
|
12
|
+
progressBackgroundColor?: IColorValue;
|
|
13
13
|
size?: 'default' | 'large';
|
|
14
14
|
enabled?: boolean;
|
|
15
15
|
style?: IStyleProp<IViewStyle>;
|
|
16
|
-
}
|
|
16
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { IAccessibilityProps, IAriaProps } from '@symbiote-native/components';
|
|
2
|
-
import type { IStyleProp, ISymbioteEvent, IViewStyle } from '@symbiote-native/engine';
|
|
1
|
+
import type { IAccessibilityProps, IAriaProps, IInnerViewRef, IScrollViewNativeOnlyProps } from '@symbiote-native/components';
|
|
2
|
+
import type { IColorValue, IStyleProp, ISymbioteEvent, IViewStyle } from '@symbiote-native/engine';
|
|
3
3
|
export type { IScrollViewHandle } from '@symbiote-native/components';
|
|
4
4
|
type IScrollHandler = (event: ISymbioteEvent) => void;
|
|
5
5
|
type IContentSizeHandler = (width: number, height: number) => void;
|
|
6
|
-
export
|
|
6
|
+
export type IAngularScrollViewProps = IAccessibilityProps & IAriaProps & IScrollViewNativeOnlyProps & {
|
|
7
7
|
style?: IStyleProp<IViewStyle>;
|
|
8
8
|
contentContainerStyle?: IStyleProp<IViewStyle> | string;
|
|
9
9
|
scrollEnabled?: boolean;
|
|
@@ -30,8 +30,11 @@ export interface IAngularScrollViewProps extends IAccessibilityProps, IAriaProps
|
|
|
30
30
|
snapToStart?: boolean;
|
|
31
31
|
snapToEnd?: boolean;
|
|
32
32
|
disableIntervalMomentum?: boolean;
|
|
33
|
+
experimental_endDraggingSensitivityMultiplier?: number;
|
|
33
34
|
stickyHeaderIndices?: number[];
|
|
34
35
|
invertStickyHeaders?: boolean;
|
|
36
|
+
stickyHeaderHiddenOnScroll?: boolean;
|
|
37
|
+
innerViewRef?: IInnerViewRef;
|
|
35
38
|
keyboardDismissMode?: 'none' | 'on-drag' | 'interactive';
|
|
36
39
|
keyboardShouldPersistTaps?: boolean | 'always' | 'never' | 'handled';
|
|
37
40
|
maintainVisibleContentPosition?: {
|
|
@@ -60,7 +63,7 @@ export interface IAngularScrollViewProps extends IAccessibilityProps, IAriaProps
|
|
|
60
63
|
overScrollMode?: 'auto' | 'always' | 'never';
|
|
61
64
|
fadingEdgeLength?: number;
|
|
62
65
|
persistentScrollbar?: boolean;
|
|
63
|
-
endFillColor?:
|
|
66
|
+
endFillColor?: IColorValue;
|
|
64
67
|
onLayout?: IScrollHandler;
|
|
65
68
|
onScroll?: IScrollHandler;
|
|
66
69
|
onScrollBeginDrag?: IScrollHandler;
|
|
@@ -73,4 +76,4 @@ export interface IAngularScrollViewProps extends IAccessibilityProps, IAriaProps
|
|
|
73
76
|
onAccessibilityTap?: (event: ISymbioteEvent) => void;
|
|
74
77
|
onMagicTap?: (event: ISymbioteEvent) => void;
|
|
75
78
|
onAccessibilityEscape?: (event: ISymbioteEvent) => void;
|
|
76
|
-
}
|
|
79
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IInnerViewRef, IScrollViewHandle, IVirtualizedSectionListHandle } from '@symbiote-native/components';
|
|
2
2
|
import { type IStyleProp, type ISymbioteEvent, type ISymbioteNode, type IViewStyle } from '@symbiote-native/engine';
|
|
3
|
-
import { VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListSeparatorDirective
|
|
3
|
+
import { VListCellDirective, VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListSeparatorDirective } from '../virtualized-list';
|
|
4
4
|
import { ListEventsBase } from '../virtualized-list/list-events';
|
|
5
|
-
import { VSectionFooterDirective, VSectionHeaderDirective, VSectionItemDirective, VSectionSeparatorDirective, type IVirtualizedSectionListProps } from '../virtualized-section-list';
|
|
5
|
+
import { VSectionFooterDirective, VSectionHeaderDirective, VSectionItemDirective, VSectionSeparatorDirective, type ISection, type IVirtualizedSectionListProps } from '../virtualized-section-list';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import * as i1 from "../../primitives/shared";
|
|
8
|
-
export type { ISection } from '
|
|
8
|
+
export type { ISection } from '../virtualized-section-list';
|
|
9
9
|
export type ISectionListHandle = IVirtualizedSectionListHandle;
|
|
10
10
|
export { VSectionFooterDirective, VSectionHeaderDirective, VSectionItemDirective, VSectionSeparatorDirective, } from '../virtualized-section-list';
|
|
11
11
|
export { VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListSeparatorDirective, } from '../virtualized-list';
|
|
@@ -30,7 +30,9 @@ export declare class SectionList<ItemT = unknown> extends ListEventsBase impleme
|
|
|
30
30
|
maxToRenderPerBatch?: number;
|
|
31
31
|
updateCellsBatchingPeriod?: number;
|
|
32
32
|
windowSize?: number;
|
|
33
|
+
disableVirtualization?: boolean;
|
|
33
34
|
inverted?: boolean;
|
|
35
|
+
horizontal?: boolean;
|
|
34
36
|
maintainVisibleContentPosition?: {
|
|
35
37
|
minIndexForVisible: number;
|
|
36
38
|
autoscrollToTopThreshold?: number;
|
|
@@ -40,13 +42,18 @@ export declare class SectionList<ItemT = unknown> extends ListEventsBase impleme
|
|
|
40
42
|
onScrollEndDrag?: (event: ISymbioteEvent) => void;
|
|
41
43
|
onMomentumScrollBegin?: (event: ISymbioteEvent) => void;
|
|
42
44
|
onMomentumScrollEnd?: (event: ISymbioteEvent) => void;
|
|
45
|
+
onContentSizeChange?: (width: number, height: number) => void;
|
|
43
46
|
scrollEventThrottle?: number;
|
|
44
47
|
keyboardShouldPersistTaps?: boolean | 'always' | 'never' | 'handled';
|
|
45
48
|
keyboardDismissMode?: 'none' | 'on-drag' | 'interactive';
|
|
46
49
|
removeClippedSubviews?: boolean;
|
|
47
50
|
nestedScrollEnabled?: boolean;
|
|
51
|
+
stickyHeaderHiddenOnScroll?: boolean;
|
|
52
|
+
innerViewRef?: IInnerViewRef;
|
|
48
53
|
style?: IStyleProp<IViewStyle>;
|
|
49
54
|
contentContainerStyle?: IStyleProp<IViewStyle>;
|
|
55
|
+
listHeaderComponentStyle?: IStyleProp<IViewStyle>;
|
|
56
|
+
listFooterComponentStyle?: IStyleProp<IViewStyle>;
|
|
50
57
|
testID?: string;
|
|
51
58
|
nativeID?: string;
|
|
52
59
|
private cachedResolvedStyle;
|
|
@@ -54,14 +61,14 @@ export declare class SectionList<ItemT = unknown> extends ListEventsBase impleme
|
|
|
54
61
|
sectionItemDir?: VSectionItemDirective<ItemT>;
|
|
55
62
|
sectionHeaderDir?: VSectionHeaderDirective<ItemT>;
|
|
56
63
|
sectionFooterDir?: VSectionFooterDirective<ItemT>;
|
|
57
|
-
sectionSeparatorDir?: VSectionSeparatorDirective
|
|
64
|
+
sectionSeparatorDir?: VSectionSeparatorDirective<ItemT>;
|
|
58
65
|
listHeaderDir?: VListHeaderDirective;
|
|
59
66
|
listFooterDir?: VListFooterDirective;
|
|
60
67
|
listEmptyDir?: VListEmptyDirective;
|
|
61
68
|
itemSeparatorDir?: VListSeparatorDirective<ItemT>;
|
|
69
|
+
cellDir?: VListCellDirective;
|
|
62
70
|
private list?;
|
|
63
71
|
private readonly elementRef;
|
|
64
|
-
itemSeparatorContext(highlighted: unknown, leadingItem: unknown, trailingItem: unknown): IVListSeparatorContext<ItemT>;
|
|
65
72
|
scrollToLocation(params: {
|
|
66
73
|
sectionIndex: number;
|
|
67
74
|
itemIndex: number;
|
|
@@ -70,11 +77,13 @@ export declare class SectionList<ItemT = unknown> extends ListEventsBase impleme
|
|
|
70
77
|
animated?: boolean;
|
|
71
78
|
}): void;
|
|
72
79
|
flashScrollIndicators(): void;
|
|
73
|
-
getNativeScrollRef():
|
|
80
|
+
getNativeScrollRef(): ISymbioteNode | null;
|
|
74
81
|
getScrollableNode(): IScrollViewHandle | null;
|
|
75
82
|
getScrollResponder(): IScrollViewHandle | null;
|
|
76
83
|
getScrollNode(): ISymbioteNode | null;
|
|
84
|
+
getScrollRef(): ISymbioteNode | null;
|
|
77
85
|
recordInteraction(): void;
|
|
86
|
+
setNativeProps(props: Record<string, unknown>): void;
|
|
78
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<SectionList<any>, never>;
|
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SectionList<any>, "SectionList", never, { "sections": { "alias": "sections"; "required": true; }; "keyExtractor": { "alias": "keyExtractor"; "required": false; }; "getItemLayout": { "alias": "getItemLayout"; "required": false; }; "stickySectionHeadersEnabled": { "alias": "stickySectionHeadersEnabled"; "required": false; }; "extraData": { "alias": "extraData"; "required": false; }; "onEndReachedThreshold": { "alias": "onEndReachedThreshold"; "required": false; }; "onStartReachedThreshold": { "alias": "onStartReachedThreshold"; "required": false; }; "refreshing": { "alias": "refreshing"; "required": false; }; "progressViewOffset": { "alias": "progressViewOffset"; "required": false; }; "initialNumToRender": { "alias": "initialNumToRender"; "required": false; }; "initialScrollIndex": { "alias": "initialScrollIndex"; "required": false; }; "maxToRenderPerBatch": { "alias": "maxToRenderPerBatch"; "required": false; }; "updateCellsBatchingPeriod": { "alias": "updateCellsBatchingPeriod"; "required": false; }; "windowSize": { "alias": "windowSize"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "maintainVisibleContentPosition": { "alias": "maintainVisibleContentPosition"; "required": false; }; "onScroll": { "alias": "onScroll"; "required": false; }; "onScrollBeginDrag": { "alias": "onScrollBeginDrag"; "required": false; }; "onScrollEndDrag": { "alias": "onScrollEndDrag"; "required": false; }; "onMomentumScrollBegin": { "alias": "onMomentumScrollBegin"; "required": false; }; "onMomentumScrollEnd": { "alias": "onMomentumScrollEnd"; "required": false; }; "scrollEventThrottle": { "alias": "scrollEventThrottle"; "required": false; }; "keyboardShouldPersistTaps": { "alias": "keyboardShouldPersistTaps"; "required": false; }; "keyboardDismissMode": { "alias": "keyboardDismissMode"; "required": false; }; "removeClippedSubviews": { "alias": "removeClippedSubviews"; "required": false; }; "nestedScrollEnabled": { "alias": "nestedScrollEnabled"; "required": false; }; "style": { "alias": "style"; "required": false; }; "contentContainerStyle": { "alias": "contentContainerStyle"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "required": false; }; }, {}, ["sectionItemDir", "sectionHeaderDir", "sectionFooterDir", "sectionSeparatorDir", "listHeaderDir", "listFooterDir", "listEmptyDir", "itemSeparatorDir"], never, true, [{ directive: typeof i1.SymbioteStyleInputDirective; inputs: { "style": "style"; }; outputs: {}; }]>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SectionList<any>, "SectionList", never, { "sections": { "alias": "sections"; "required": true; }; "keyExtractor": { "alias": "keyExtractor"; "required": false; }; "getItemLayout": { "alias": "getItemLayout"; "required": false; }; "stickySectionHeadersEnabled": { "alias": "stickySectionHeadersEnabled"; "required": false; }; "extraData": { "alias": "extraData"; "required": false; }; "onEndReachedThreshold": { "alias": "onEndReachedThreshold"; "required": false; }; "onStartReachedThreshold": { "alias": "onStartReachedThreshold"; "required": false; }; "refreshing": { "alias": "refreshing"; "required": false; }; "progressViewOffset": { "alias": "progressViewOffset"; "required": false; }; "initialNumToRender": { "alias": "initialNumToRender"; "required": false; }; "initialScrollIndex": { "alias": "initialScrollIndex"; "required": false; }; "maxToRenderPerBatch": { "alias": "maxToRenderPerBatch"; "required": false; }; "updateCellsBatchingPeriod": { "alias": "updateCellsBatchingPeriod"; "required": false; }; "windowSize": { "alias": "windowSize"; "required": false; }; "disableVirtualization": { "alias": "disableVirtualization"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "maintainVisibleContentPosition": { "alias": "maintainVisibleContentPosition"; "required": false; }; "onScroll": { "alias": "onScroll"; "required": false; }; "onScrollBeginDrag": { "alias": "onScrollBeginDrag"; "required": false; }; "onScrollEndDrag": { "alias": "onScrollEndDrag"; "required": false; }; "onMomentumScrollBegin": { "alias": "onMomentumScrollBegin"; "required": false; }; "onMomentumScrollEnd": { "alias": "onMomentumScrollEnd"; "required": false; }; "onContentSizeChange": { "alias": "onContentSizeChange"; "required": false; }; "scrollEventThrottle": { "alias": "scrollEventThrottle"; "required": false; }; "keyboardShouldPersistTaps": { "alias": "keyboardShouldPersistTaps"; "required": false; }; "keyboardDismissMode": { "alias": "keyboardDismissMode"; "required": false; }; "removeClippedSubviews": { "alias": "removeClippedSubviews"; "required": false; }; "nestedScrollEnabled": { "alias": "nestedScrollEnabled"; "required": false; }; "stickyHeaderHiddenOnScroll": { "alias": "stickyHeaderHiddenOnScroll"; "required": false; }; "innerViewRef": { "alias": "innerViewRef"; "required": false; }; "style": { "alias": "style"; "required": false; }; "contentContainerStyle": { "alias": "contentContainerStyle"; "required": false; }; "listHeaderComponentStyle": { "alias": "listHeaderComponentStyle"; "required": false; }; "listFooterComponentStyle": { "alias": "listFooterComponentStyle"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "required": false; }; }, {}, ["sectionItemDir", "sectionHeaderDir", "sectionFooterDir", "sectionSeparatorDir", "listHeaderDir", "listFooterDir", "listEmptyDir", "itemSeparatorDir", "cellDir"], never, true, [{ directive: typeof i1.SymbioteStyleInputDirective; inputs: { "style": "style"; }; outputs: {}; }]>;
|
|
80
89
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// captured here and re-stamped onto the inner list
|
|
4
4
|
import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, Input, ViewChild, inject, } from '@angular/core';
|
|
5
5
|
import {} from '@symbiote-native/engine';
|
|
6
|
-
import { VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListSeparatorDirective, } from '../virtualized-list';
|
|
6
|
+
import { VListCellDirective, VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListSeparatorDirective, } from '../virtualized-list';
|
|
7
7
|
import { VListOutletDirective } from '../virtualized-list/directives';
|
|
8
8
|
import { LIST_ACCESSIBILITY_FORWARD } from '../virtualized-list/list-a11y-forward';
|
|
9
9
|
import { ListEventsBase } from '../virtualized-list/list-events';
|
|
@@ -12,11 +12,6 @@ import { stableAnchorStyle, SymbioteStyleInputDirective, } from '../../primitive
|
|
|
12
12
|
import { VSectionFooterDirective, VSectionHeaderDirective, VSectionItemDirective, VSectionSeparatorDirective, VirtualizedSectionList, } from '../virtualized-section-list';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
import * as i1 from "../../primitives/shared";
|
|
15
|
-
// The separator context arrives typed `unknown`, the directive is matched structurally in the
|
|
16
|
-
// template with no type argument to pin the item type. The narrowest cast for that gap
|
|
17
|
-
function asItem(value) {
|
|
18
|
-
return value;
|
|
19
|
-
}
|
|
20
15
|
// Re-exported so app code gets the whole `vSection*` and `vList*` authoring surface from here
|
|
21
16
|
export { VSectionFooterDirective, VSectionHeaderDirective, VSectionItemDirective, VSectionSeparatorDirective, } from '../virtualized-section-list';
|
|
22
17
|
export { VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListSeparatorDirective, } from '../virtualized-list';
|
|
@@ -30,17 +25,6 @@ export class SectionList extends ListEventsBase {
|
|
|
30
25
|
this.cachedResolvedStyle = stableAnchorStyle(this.elementRef, this.style, this.cachedResolvedStyle);
|
|
31
26
|
return this.cachedResolvedStyle;
|
|
32
27
|
}
|
|
33
|
-
// The leading and trailing items arrive `unknown` from the template's `let` bindings, already
|
|
34
|
-
// unwrapped to real items
|
|
35
|
-
itemSeparatorContext(highlighted, leadingItem, trailingItem) {
|
|
36
|
-
const isHighlighted = highlighted === true;
|
|
37
|
-
return {
|
|
38
|
-
$implicit: isHighlighted,
|
|
39
|
-
highlighted: isHighlighted,
|
|
40
|
-
leadingItem: asItem(leadingItem),
|
|
41
|
-
trailingItem: asItem(trailingItem),
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
28
|
scrollToLocation(params) {
|
|
45
29
|
this.list?.scrollToLocation(params);
|
|
46
30
|
}
|
|
@@ -59,11 +43,17 @@ export class SectionList extends ListEventsBase {
|
|
|
59
43
|
getScrollNode() {
|
|
60
44
|
return this.list?.getScrollNode() ?? null;
|
|
61
45
|
}
|
|
46
|
+
getScrollRef() {
|
|
47
|
+
return this.list?.getScrollRef() ?? null;
|
|
48
|
+
}
|
|
62
49
|
recordInteraction() {
|
|
63
50
|
this.list?.recordInteraction();
|
|
64
51
|
}
|
|
52
|
+
setNativeProps(props) {
|
|
53
|
+
this.list?.setNativeProps(props);
|
|
54
|
+
}
|
|
65
55
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SectionList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
66
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SectionList, isStandalone: true, selector: "SectionList", inputs: { sections: "sections", keyExtractor: "keyExtractor", getItemLayout: "getItemLayout", stickySectionHeadersEnabled: "stickySectionHeadersEnabled", extraData: "extraData", onEndReachedThreshold: "onEndReachedThreshold", onStartReachedThreshold: "onStartReachedThreshold", refreshing: "refreshing", progressViewOffset: "progressViewOffset", initialNumToRender: "initialNumToRender", initialScrollIndex: "initialScrollIndex", maxToRenderPerBatch: "maxToRenderPerBatch", updateCellsBatchingPeriod: "updateCellsBatchingPeriod", windowSize: "windowSize", inverted: "inverted", maintainVisibleContentPosition: "maintainVisibleContentPosition", onScroll: "onScroll", onScrollBeginDrag: "onScrollBeginDrag", onScrollEndDrag: "onScrollEndDrag", onMomentumScrollBegin: "onMomentumScrollBegin", onMomentumScrollEnd: "onMomentumScrollEnd", scrollEventThrottle: "scrollEventThrottle", keyboardShouldPersistTaps: "keyboardShouldPersistTaps", keyboardDismissMode: "keyboardDismissMode", removeClippedSubviews: "removeClippedSubviews", nestedScrollEnabled: "nestedScrollEnabled", style: "style", contentContainerStyle: "contentContainerStyle", testID: "testID", nativeID: "nativeID" }, queries: [{ propertyName: "sectionItemDir", first: true, predicate: VSectionItemDirective, descendants: true }, { propertyName: "sectionHeaderDir", first: true, predicate: VSectionHeaderDirective, descendants: true }, { propertyName: "sectionFooterDir", first: true, predicate: VSectionFooterDirective, descendants: true }, { propertyName: "sectionSeparatorDir", first: true, predicate: VSectionSeparatorDirective, descendants: true }, { propertyName: "listHeaderDir", first: true, predicate: VListHeaderDirective, descendants: true }, { propertyName: "listFooterDir", first: true, predicate: VListFooterDirective, descendants: true }, { propertyName: "listEmptyDir", first: true, predicate: VListEmptyDirective, descendants: true }, { propertyName: "itemSeparatorDir", first: true, predicate: VListSeparatorDirective, descendants: true }], viewQueries: [{ propertyName: "list", first: true, predicate: VirtualizedSectionList, descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: "\n <VirtualizedSectionList\n [sections]=\"sections\"\n [keyExtractor]=\"keyExtractor\"\n [getItemLayout]=\"getItemLayout\"\n [stickySectionHeadersEnabled]=\"stickySectionHeadersEnabled\"\n [extraData]=\"extraData\"\n (endReached)=\"endReached.emit($event)\"\n [onEndReachedThreshold]=\"onEndReachedThreshold\"\n (startReached)=\"startReached.emit($event)\"\n [onStartReachedThreshold]=\"onStartReachedThreshold\"\n (refresh)=\"refresh.emit()\"\n [refreshRequested]=\"refresh.observed\"\n [refreshing]=\"refreshing\"\n [progressViewOffset]=\"progressViewOffset\"\n [initialNumToRender]=\"initialNumToRender\"\n [initialScrollIndex]=\"initialScrollIndex\"\n [maxToRenderPerBatch]=\"maxToRenderPerBatch\"\n [updateCellsBatchingPeriod]=\"updateCellsBatchingPeriod\"\n [windowSize]=\"windowSize\"\n [inverted]=\"inverted\"\n [maintainVisibleContentPosition]=\"maintainVisibleContentPosition\"\n [onScroll]=\"onScroll\"\n [onScrollBeginDrag]=\"onScrollBeginDrag\"\n [onScrollEndDrag]=\"onScrollEndDrag\"\n [onMomentumScrollBegin]=\"onMomentumScrollBegin\"\n [onMomentumScrollEnd]=\"onMomentumScrollEnd\"\n [scrollEventThrottle]=\"scrollEventThrottle\"\n [keyboardShouldPersistTaps]=\"keyboardShouldPersistTaps\"\n [keyboardDismissMode]=\"keyboardDismissMode\"\n [removeClippedSubviews]=\"removeClippedSubviews\"\n [nestedScrollEnabled]=\"nestedScrollEnabled\"\n [style]=\"resolvedStyle\"\n [contentContainerStyle]=\"contentContainerStyle\"\n [testID]=\"testID\"\n [nativeID]=\"nativeID\"\n \n [accessible]=\"accessible\"\n [accessibilityLabel]=\"accessibilityLabel\"\n [accessibilityHint]=\"accessibilityHint\"\n [accessibilityRole]=\"accessibilityRole\"\n [accessibilityState]=\"accessibilityState\"\n [accessibilityValue]=\"accessibilityValue\"\n [accessibilityActions]=\"accessibilityActions\"\n [accessibilityLabelledBy]=\"accessibilityLabelledBy\"\n [importantForAccessibility]=\"importantForAccessibility\"\n [accessibilityLiveRegion]=\"accessibilityLiveRegion\"\n [screenReaderFocusable]=\"screenReaderFocusable\"\n [accessibilityViewIsModal]=\"accessibilityViewIsModal\"\n [accessibilityElementsHidden]=\"accessibilityElementsHidden\"\n [accessibilityIgnoresInvertColors]=\"accessibilityIgnoresInvertColors\"\n [accessibilityLanguage]=\"accessibilityLanguage\"\n [accessibilityRespondsToUserInteraction]=\"accessibilityRespondsToUserInteraction\"\n [accessibilityShowsLargeContentViewer]=\"accessibilityShowsLargeContentViewer\"\n [accessibilityLargeContentTitle]=\"accessibilityLargeContentTitle\"\n (accessibilityAction)=\"accessibilityAction.emit($event)\"\n (accessibilityTap)=\"accessibilityTap.emit($event)\"\n (magicTap)=\"magicTap.emit($event)\"\n (accessibilityEscape)=\"accessibilityEscape.emit($event)\"\n [role]=\"role\"\n [aria-label]=\"ariaLabel\"\n [aria-labelledby]=\"ariaLabelledBy\"\n [aria-live]=\"ariaLive\"\n [aria-hidden]=\"ariaHidden\"\n [aria-busy]=\"ariaBusy\"\n [aria-checked]=\"ariaChecked\"\n [aria-disabled]=\"ariaDisabled\"\n [aria-expanded]=\"ariaExpanded\"\n [aria-selected]=\"ariaSelected\"\n [aria-modal]=\"ariaModal\"\n [aria-valuemax]=\"ariaValueMax\"\n [aria-valuemin]=\"ariaValueMin\"\n [aria-valuenow]=\"ariaValueNow\"\n [aria-valuetext]=\"ariaValueText\"\n\n >\n <ng-template\n vSectionItem\n let-item\n let-index=\"index\"\n let-section=\"section\"\n let-separators=\"separators\"\n >\n <ng-container\n [vListOutlet]=\"sectionItemDir?.templateRef\"\n [vListOutletContext]=\"{\n $implicit: item,\n item,\n index,\n section,\n separators,\n }\"\n ></ng-container>\n </ng-template>\n @if (sectionHeaderDir !== undefined) {\n <ng-template vSectionHeader let-section>\n <ng-container\n [vListOutlet]=\"sectionHeaderDir.templateRef\"\n [vListOutletContext]=\"{ $implicit: section, section }\"\n ></ng-container>\n </ng-template>\n }\n @if (sectionFooterDir !== undefined) {\n <ng-template vSectionFooter let-section>\n <ng-container\n [vListOutlet]=\"sectionFooterDir.templateRef\"\n [vListOutletContext]=\"{ $implicit: section, section }\"\n ></ng-container>\n </ng-template>\n }\n @if (sectionSeparatorDir !== undefined) {\n <ng-template vSectionSeparator>\n <ng-container\n [vListOutlet]=\"sectionSeparatorDir.templateRef\"\n ></ng-container>\n </ng-template>\n }\n @if (listHeaderDir !== undefined) {\n <ng-template vListHeader>\n <ng-container\n [vListOutlet]=\"listHeaderDir.templateRef\"\n ></ng-container>\n </ng-template>\n }\n @if (listFooterDir !== undefined) {\n <ng-template vListFooter>\n <ng-container\n [vListOutlet]=\"listFooterDir.templateRef\"\n ></ng-container>\n </ng-template>\n }\n @if (listEmptyDir !== undefined) {\n <ng-template vListEmpty>\n <ng-container [vListOutlet]=\"listEmptyDir.templateRef\"></ng-container>\n </ng-template>\n }\n @if (itemSeparatorDir !== undefined) {\n <ng-template\n vListSeparator\n let-highlighted=\"highlighted\"\n let-leadingItem=\"leadingItem\"\n let-trailingItem=\"trailingItem\"\n >\n <ng-container\n [vListOutlet]=\"itemSeparatorDir.templateRef\"\n [vListOutletContext]=\"\n itemSeparatorContext(highlighted, leadingItem, trailingItem)\n \"\n ></ng-container>\n </ng-template>\n }\n </VirtualizedSectionList>\n ", isInline: true, dependencies: [{ kind: "component", type: VirtualizedSectionList, selector: "VirtualizedSectionList", inputs: ["sections", "keyExtractor", "getItemLayout", "stickySectionHeadersEnabled", "extraData", "onEndReachedThreshold", "onStartReachedThreshold", "refreshing", "progressViewOffset", "refreshRequested", "initialNumToRender", "initialScrollIndex", "maxToRenderPerBatch", "updateCellsBatchingPeriod", "windowSize", "inverted", "maintainVisibleContentPosition", "onScroll", "onScrollBeginDrag", "onScrollEndDrag", "onMomentumScrollBegin", "onMomentumScrollEnd", "scrollEventThrottle", "keyboardShouldPersistTaps", "keyboardDismissMode", "removeClippedSubviews", "nestedScrollEnabled", "style", "contentContainerStyle", "testID", "nativeID"] }, { kind: "directive", type: VSectionItemDirective, selector: "[vSectionItem]" }, { kind: "directive", type: VSectionHeaderDirective, selector: "[vSectionHeader]" }, { kind: "directive", type: VSectionFooterDirective, selector: "[vSectionFooter]" }, { kind: "directive", type: VSectionSeparatorDirective, selector: "[vSectionSeparator]" }, { kind: "directive", type: VListHeaderDirective, selector: "[vListHeader]" }, { kind: "directive", type: VListFooterDirective, selector: "[vListFooter]" }, { kind: "directive", type: VListEmptyDirective, selector: "[vListEmpty]" }, { kind: "directive", type: VListSeparatorDirective, selector: "[vListSeparator]" }, { kind: "directive", type: VListOutletDirective, selector: "[vListOutlet]", inputs: ["vListOutlet", "vListOutletContext"] }], viewProviders: [provideGateDemand(() => SectionList)], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
56
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SectionList, isStandalone: true, selector: "SectionList", inputs: { sections: "sections", keyExtractor: "keyExtractor", getItemLayout: "getItemLayout", stickySectionHeadersEnabled: "stickySectionHeadersEnabled", extraData: "extraData", onEndReachedThreshold: "onEndReachedThreshold", onStartReachedThreshold: "onStartReachedThreshold", refreshing: "refreshing", progressViewOffset: "progressViewOffset", initialNumToRender: "initialNumToRender", initialScrollIndex: "initialScrollIndex", maxToRenderPerBatch: "maxToRenderPerBatch", updateCellsBatchingPeriod: "updateCellsBatchingPeriod", windowSize: "windowSize", disableVirtualization: "disableVirtualization", inverted: "inverted", horizontal: "horizontal", maintainVisibleContentPosition: "maintainVisibleContentPosition", onScroll: "onScroll", onScrollBeginDrag: "onScrollBeginDrag", onScrollEndDrag: "onScrollEndDrag", onMomentumScrollBegin: "onMomentumScrollBegin", onMomentumScrollEnd: "onMomentumScrollEnd", onContentSizeChange: "onContentSizeChange", scrollEventThrottle: "scrollEventThrottle", keyboardShouldPersistTaps: "keyboardShouldPersistTaps", keyboardDismissMode: "keyboardDismissMode", removeClippedSubviews: "removeClippedSubviews", nestedScrollEnabled: "nestedScrollEnabled", stickyHeaderHiddenOnScroll: "stickyHeaderHiddenOnScroll", innerViewRef: "innerViewRef", style: "style", contentContainerStyle: "contentContainerStyle", listHeaderComponentStyle: "listHeaderComponentStyle", listFooterComponentStyle: "listFooterComponentStyle", testID: "testID", nativeID: "nativeID" }, queries: [{ propertyName: "sectionItemDir", first: true, predicate: VSectionItemDirective, descendants: true }, { propertyName: "sectionHeaderDir", first: true, predicate: VSectionHeaderDirective, descendants: true }, { propertyName: "sectionFooterDir", first: true, predicate: VSectionFooterDirective, descendants: true }, { propertyName: "sectionSeparatorDir", first: true, predicate: VSectionSeparatorDirective, descendants: true }, { propertyName: "listHeaderDir", first: true, predicate: VListHeaderDirective, descendants: true }, { propertyName: "listFooterDir", first: true, predicate: VListFooterDirective, descendants: true }, { propertyName: "listEmptyDir", first: true, predicate: VListEmptyDirective, descendants: true }, { propertyName: "itemSeparatorDir", first: true, predicate: VListSeparatorDirective, descendants: true }, { propertyName: "cellDir", first: true, predicate: VListCellDirective, descendants: true }], viewQueries: [{ propertyName: "list", first: true, predicate: VirtualizedSectionList, descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: "\n <VirtualizedSectionList\n [sections]=\"sections\"\n [keyExtractor]=\"keyExtractor\"\n [getItemLayout]=\"getItemLayout\"\n [stickySectionHeadersEnabled]=\"stickySectionHeadersEnabled\"\n [extraData]=\"extraData\"\n (endReached)=\"endReached.emit($event)\"\n [onEndReachedThreshold]=\"onEndReachedThreshold\"\n (startReached)=\"startReached.emit($event)\"\n [onStartReachedThreshold]=\"onStartReachedThreshold\"\n (refresh)=\"refresh.emit()\"\n [refreshRequested]=\"refresh.observed\"\n [refreshing]=\"refreshing\"\n [progressViewOffset]=\"progressViewOffset\"\n [initialNumToRender]=\"initialNumToRender\"\n [initialScrollIndex]=\"initialScrollIndex\"\n [maxToRenderPerBatch]=\"maxToRenderPerBatch\"\n [updateCellsBatchingPeriod]=\"updateCellsBatchingPeriod\"\n [windowSize]=\"windowSize\"\n [disableVirtualization]=\"disableVirtualization\"\n [inverted]=\"inverted\"\n [horizontal]=\"horizontal\"\n [maintainVisibleContentPosition]=\"maintainVisibleContentPosition\"\n [onScroll]=\"onScroll\"\n [onScrollBeginDrag]=\"onScrollBeginDrag\"\n [onScrollEndDrag]=\"onScrollEndDrag\"\n [onMomentumScrollBegin]=\"onMomentumScrollBegin\"\n [onMomentumScrollEnd]=\"onMomentumScrollEnd\"\n [onContentSizeChange]=\"onContentSizeChange\"\n [scrollEventThrottle]=\"scrollEventThrottle\"\n [keyboardShouldPersistTaps]=\"keyboardShouldPersistTaps\"\n [keyboardDismissMode]=\"keyboardDismissMode\"\n [removeClippedSubviews]=\"removeClippedSubviews\"\n [nestedScrollEnabled]=\"nestedScrollEnabled\"\n [stickyHeaderHiddenOnScroll]=\"stickyHeaderHiddenOnScroll\"\n [innerViewRef]=\"innerViewRef\"\n [style]=\"resolvedStyle\"\n [contentContainerStyle]=\"contentContainerStyle\"\n [listHeaderComponentStyle]=\"listHeaderComponentStyle\"\n [listFooterComponentStyle]=\"listFooterComponentStyle\"\n [cellRendererTemplate]=\"cellDir?.templateRef\"\n [testID]=\"testID\"\n [nativeID]=\"nativeID\"\n \n [accessible]=\"accessible\"\n [accessibilityLabel]=\"accessibilityLabel\"\n [accessibilityHint]=\"accessibilityHint\"\n [accessibilityRole]=\"accessibilityRole\"\n [accessibilityState]=\"accessibilityState\"\n [accessibilityValue]=\"accessibilityValue\"\n [accessibilityActions]=\"accessibilityActions\"\n [accessibilityLabelledBy]=\"accessibilityLabelledBy\"\n [importantForAccessibility]=\"importantForAccessibility\"\n [accessibilityLiveRegion]=\"accessibilityLiveRegion\"\n [screenReaderFocusable]=\"screenReaderFocusable\"\n [accessibilityViewIsModal]=\"accessibilityViewIsModal\"\n [accessibilityElementsHidden]=\"accessibilityElementsHidden\"\n [accessibilityIgnoresInvertColors]=\"accessibilityIgnoresInvertColors\"\n [accessibilityLanguage]=\"accessibilityLanguage\"\n [accessibilityRespondsToUserInteraction]=\"accessibilityRespondsToUserInteraction\"\n [accessibilityShowsLargeContentViewer]=\"accessibilityShowsLargeContentViewer\"\n [accessibilityLargeContentTitle]=\"accessibilityLargeContentTitle\"\n (accessibilityAction)=\"accessibilityAction.emit($event)\"\n (accessibilityTap)=\"accessibilityTap.emit($event)\"\n (magicTap)=\"magicTap.emit($event)\"\n (accessibilityEscape)=\"accessibilityEscape.emit($event)\"\n [role]=\"role\"\n [aria-label]=\"ariaLabel\"\n [aria-labelledby]=\"ariaLabelledBy\"\n [aria-live]=\"ariaLive\"\n [aria-hidden]=\"ariaHidden\"\n [aria-busy]=\"ariaBusy\"\n [aria-checked]=\"ariaChecked\"\n [aria-disabled]=\"ariaDisabled\"\n [aria-expanded]=\"ariaExpanded\"\n [aria-selected]=\"ariaSelected\"\n [aria-modal]=\"ariaModal\"\n [aria-valuemax]=\"ariaValueMax\"\n [aria-valuemin]=\"ariaValueMin\"\n [aria-valuenow]=\"ariaValueNow\"\n [aria-valuetext]=\"ariaValueText\"\n\n >\n <ng-template\n vSectionItem\n let-item\n let-index=\"index\"\n let-section=\"section\"\n let-separators=\"separators\"\n >\n <ng-container\n [vListOutlet]=\"sectionItemDir?.templateRef\"\n [vListOutletContext]=\"{\n $implicit: item,\n item,\n index,\n section,\n separators,\n }\"\n ></ng-container>\n </ng-template>\n @if (sectionHeaderDir !== undefined) {\n <ng-template vSectionHeader let-section>\n <ng-container\n [vListOutlet]=\"sectionHeaderDir.templateRef\"\n [vListOutletContext]=\"{ $implicit: section, section }\"\n ></ng-container>\n </ng-template>\n }\n @if (sectionFooterDir !== undefined) {\n <ng-template vSectionFooter let-section>\n <ng-container\n [vListOutlet]=\"sectionFooterDir.templateRef\"\n [vListOutletContext]=\"{ $implicit: section, section }\"\n ></ng-container>\n </ng-template>\n }\n @if (sectionSeparatorDir !== undefined) {\n <ng-template vSectionSeparator let-props=\"props\">\n <ng-container\n [vListOutlet]=\"sectionSeparatorDir.templateRef\"\n [vListOutletContext]=\"props\"\n ></ng-container>\n </ng-template>\n }\n @if (listHeaderDir !== undefined) {\n <ng-template vListHeader>\n <ng-container\n [vListOutlet]=\"listHeaderDir.templateRef\"\n ></ng-container>\n </ng-template>\n }\n @if (listFooterDir !== undefined) {\n <ng-template vListFooter>\n <ng-container\n [vListOutlet]=\"listFooterDir.templateRef\"\n ></ng-container>\n </ng-template>\n }\n @if (listEmptyDir !== undefined) {\n <ng-template vListEmpty>\n <ng-container [vListOutlet]=\"listEmptyDir.templateRef\"></ng-container>\n </ng-template>\n }\n @if (itemSeparatorDir !== undefined) {\n <ng-template vListSeparator let-props=\"props\">\n <ng-container\n [vListOutlet]=\"itemSeparatorDir.templateRef\"\n [vListOutletContext]=\"props\"\n ></ng-container>\n </ng-template>\n }\n </VirtualizedSectionList>\n ", isInline: true, dependencies: [{ kind: "component", type: VirtualizedSectionList, selector: "VirtualizedSectionList", inputs: ["sections", "keyExtractor", "getItemLayout", "stickySectionHeadersEnabled", "extraData", "onEndReachedThreshold", "onStartReachedThreshold", "refreshing", "progressViewOffset", "refreshRequested", "initialNumToRender", "initialScrollIndex", "maxToRenderPerBatch", "updateCellsBatchingPeriod", "windowSize", "disableVirtualization", "inverted", "horizontal", "maintainVisibleContentPosition", "onScroll", "onScrollBeginDrag", "onScrollEndDrag", "onMomentumScrollBegin", "onMomentumScrollEnd", "onContentSizeChange", "scrollEventThrottle", "keyboardShouldPersistTaps", "keyboardDismissMode", "removeClippedSubviews", "nestedScrollEnabled", "stickyHeaderHiddenOnScroll", "innerViewRef", "style", "contentContainerStyle", "listHeaderComponentStyle", "listFooterComponentStyle", "testID", "nativeID", "cellRendererTemplate"] }, { kind: "directive", type: VSectionItemDirective, selector: "[vSectionItem]" }, { kind: "directive", type: VSectionHeaderDirective, selector: "[vSectionHeader]" }, { kind: "directive", type: VSectionFooterDirective, selector: "[vSectionFooter]" }, { kind: "directive", type: VSectionSeparatorDirective, selector: "[vSectionSeparator]" }, { kind: "directive", type: VListHeaderDirective, selector: "[vListHeader]" }, { kind: "directive", type: VListFooterDirective, selector: "[vListFooter]" }, { kind: "directive", type: VListEmptyDirective, selector: "[vListEmpty]" }, { kind: "directive", type: VListSeparatorDirective, selector: "[vListSeparator]" }, { kind: "directive", type: VListOutletDirective, selector: "[vListOutlet]", inputs: ["vListOutlet", "vListOutletContext", "vListOutletComponent"] }], viewProviders: [provideGateDemand(() => SectionList)], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
67
57
|
}
|
|
68
58
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SectionList, decorators: [{
|
|
69
59
|
type: Component,
|
|
@@ -107,20 +97,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
107
97
|
[maxToRenderPerBatch]="maxToRenderPerBatch"
|
|
108
98
|
[updateCellsBatchingPeriod]="updateCellsBatchingPeriod"
|
|
109
99
|
[windowSize]="windowSize"
|
|
100
|
+
[disableVirtualization]="disableVirtualization"
|
|
110
101
|
[inverted]="inverted"
|
|
102
|
+
[horizontal]="horizontal"
|
|
111
103
|
[maintainVisibleContentPosition]="maintainVisibleContentPosition"
|
|
112
104
|
[onScroll]="onScroll"
|
|
113
105
|
[onScrollBeginDrag]="onScrollBeginDrag"
|
|
114
106
|
[onScrollEndDrag]="onScrollEndDrag"
|
|
115
107
|
[onMomentumScrollBegin]="onMomentumScrollBegin"
|
|
116
108
|
[onMomentumScrollEnd]="onMomentumScrollEnd"
|
|
109
|
+
[onContentSizeChange]="onContentSizeChange"
|
|
117
110
|
[scrollEventThrottle]="scrollEventThrottle"
|
|
118
111
|
[keyboardShouldPersistTaps]="keyboardShouldPersistTaps"
|
|
119
112
|
[keyboardDismissMode]="keyboardDismissMode"
|
|
120
113
|
[removeClippedSubviews]="removeClippedSubviews"
|
|
121
114
|
[nestedScrollEnabled]="nestedScrollEnabled"
|
|
115
|
+
[stickyHeaderHiddenOnScroll]="stickyHeaderHiddenOnScroll"
|
|
116
|
+
[innerViewRef]="innerViewRef"
|
|
122
117
|
[style]="resolvedStyle"
|
|
123
118
|
[contentContainerStyle]="contentContainerStyle"
|
|
119
|
+
[listHeaderComponentStyle]="listHeaderComponentStyle"
|
|
120
|
+
[listFooterComponentStyle]="listFooterComponentStyle"
|
|
121
|
+
[cellRendererTemplate]="cellDir?.templateRef"
|
|
124
122
|
[testID]="testID"
|
|
125
123
|
[nativeID]="nativeID"
|
|
126
124
|
${LIST_ACCESSIBILITY_FORWARD}
|
|
@@ -160,9 +158,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
160
158
|
</ng-template>
|
|
161
159
|
}
|
|
162
160
|
@if (sectionSeparatorDir !== undefined) {
|
|
163
|
-
<ng-template vSectionSeparator>
|
|
161
|
+
<ng-template vSectionSeparator let-props="props">
|
|
164
162
|
<ng-container
|
|
165
163
|
[vListOutlet]="sectionSeparatorDir.templateRef"
|
|
164
|
+
[vListOutletContext]="props"
|
|
166
165
|
></ng-container>
|
|
167
166
|
</ng-template>
|
|
168
167
|
}
|
|
@@ -186,17 +185,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
186
185
|
</ng-template>
|
|
187
186
|
}
|
|
188
187
|
@if (itemSeparatorDir !== undefined) {
|
|
189
|
-
<ng-template
|
|
190
|
-
vListSeparator
|
|
191
|
-
let-highlighted="highlighted"
|
|
192
|
-
let-leadingItem="leadingItem"
|
|
193
|
-
let-trailingItem="trailingItem"
|
|
194
|
-
>
|
|
188
|
+
<ng-template vListSeparator let-props="props">
|
|
195
189
|
<ng-container
|
|
196
190
|
[vListOutlet]="itemSeparatorDir.templateRef"
|
|
197
|
-
[vListOutletContext]="
|
|
198
|
-
itemSeparatorContext(highlighted, leadingItem, trailingItem)
|
|
199
|
-
"
|
|
191
|
+
[vListOutletContext]="props"
|
|
200
192
|
></ng-container>
|
|
201
193
|
</ng-template>
|
|
202
194
|
}
|
|
@@ -232,8 +224,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
232
224
|
type: Input
|
|
233
225
|
}], windowSize: [{
|
|
234
226
|
type: Input
|
|
227
|
+
}], disableVirtualization: [{
|
|
228
|
+
type: Input
|
|
235
229
|
}], inverted: [{
|
|
236
230
|
type: Input
|
|
231
|
+
}], horizontal: [{
|
|
232
|
+
type: Input
|
|
237
233
|
}], maintainVisibleContentPosition: [{
|
|
238
234
|
type: Input
|
|
239
235
|
}], onScroll: [{
|
|
@@ -246,6 +242,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
246
242
|
type: Input
|
|
247
243
|
}], onMomentumScrollEnd: [{
|
|
248
244
|
type: Input
|
|
245
|
+
}], onContentSizeChange: [{
|
|
246
|
+
type: Input
|
|
249
247
|
}], scrollEventThrottle: [{
|
|
250
248
|
type: Input
|
|
251
249
|
}], keyboardShouldPersistTaps: [{
|
|
@@ -256,10 +254,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
256
254
|
type: Input
|
|
257
255
|
}], nestedScrollEnabled: [{
|
|
258
256
|
type: Input
|
|
257
|
+
}], stickyHeaderHiddenOnScroll: [{
|
|
258
|
+
type: Input
|
|
259
|
+
}], innerViewRef: [{
|
|
260
|
+
type: Input
|
|
259
261
|
}], style: [{
|
|
260
262
|
type: Input
|
|
261
263
|
}], contentContainerStyle: [{
|
|
262
264
|
type: Input
|
|
265
|
+
}], listHeaderComponentStyle: [{
|
|
266
|
+
type: Input
|
|
267
|
+
}], listFooterComponentStyle: [{
|
|
268
|
+
type: Input
|
|
263
269
|
}], testID: [{
|
|
264
270
|
type: Input
|
|
265
271
|
}], nativeID: [{
|
|
@@ -288,6 +294,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
288
294
|
}], itemSeparatorDir: [{
|
|
289
295
|
type: ContentChild,
|
|
290
296
|
args: [VListSeparatorDirective]
|
|
297
|
+
}], cellDir: [{
|
|
298
|
+
type: ContentChild,
|
|
299
|
+
args: [VListCellDirective]
|
|
291
300
|
}], list: [{
|
|
292
301
|
type: ViewChild,
|
|
293
302
|
args: [VirtualizedSectionList]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/section-list/index.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,kGAAkG;AAClG,mDAAmD;AAEnD,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,YAAY,EACZ,UAAU,EACV,KAAK,EACL,SAAS,EACT,MAAM,GACP,MAAM,eAAe,CAAC;AAMvB,OAAO,EAKN,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/section-list/index.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,kGAAkG;AAClG,mDAAmD;AAEnD,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,YAAY,EACZ,UAAU,EACV,KAAK,EACL,SAAS,EACT,MAAM,GACP,MAAM,eAAe,CAAC;AAMvB,OAAO,EAKN,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,0BAA0B,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mB;wBACnB,uBAAuB;wBACvB,oBAAoB;qBACrB;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA4CJ,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwE/B;iBACF;;sBAKE,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBACxB,KAAK;;sBAEL,KAAK;;sBAIL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAIL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAeL,YAAY;uBAAC,qBAAqB;;sBAElC,YAAY;uBAAC,uBAAuB;;sBAEpC,YAAY;uBAAC,uBAAuB;;sBAEpC,YAAY;uBAAC,0BAA0B;;sBAEvC,YAAY;uBAAC,oBAAoB;;sBACjC,YAAY;uBAAC,oBAAoB;;sBACjC,YAAY;uBAAC,mBAAmB;;sBAChC,YAAY;uBAAC,uBAAuB;;sBAEpC,YAAY;uBAAC,kBAAkB;;sBAG/B,SAAS;uBAAC,sBAAsB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IPressTimingProps } from '@symbiote-native/components';
|
|
2
|
-
import type { IStyleProp, IViewStyle } from '@symbiote-native/engine';
|
|
2
|
+
import type { IColorValue, IStyleProp, IViewStyle } from '@symbiote-native/engine';
|
|
3
3
|
import type { IAngularPressableInputs } from './pressable-props';
|
|
4
4
|
type IAngularTouchableBaseProps = Omit<IAngularPressableInputs, 'style'> & IPressTimingProps & {
|
|
5
5
|
style?: IStyleProp<IViewStyle>;
|
|
@@ -9,7 +9,7 @@ export type IAngularTouchableOpacityProps = IAngularTouchableBaseProps & {
|
|
|
9
9
|
};
|
|
10
10
|
export type IAngularTouchableHighlightProps = IAngularTouchableBaseProps & {
|
|
11
11
|
activeOpacity?: number;
|
|
12
|
-
underlayColor?:
|
|
12
|
+
underlayColor?: IColorValue;
|
|
13
13
|
testOnly_pressed?: boolean;
|
|
14
14
|
};
|
|
15
15
|
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { TemplateRef } from '@angular/core';
|
|
2
|
+
import type { IViewStyle } from '@symbiote-native/engine';
|
|
3
|
+
import type { IWindowCell } from './cell-registry';
|
|
4
|
+
import type { IVListCellContext } from './directives';
|
|
5
|
+
export type ICellRendererArgs<ItemT> = {
|
|
6
|
+
cell: IWindowCell<ItemT>;
|
|
7
|
+
style: IViewStyle | undefined;
|
|
8
|
+
body: TemplateRef<unknown> | undefined;
|
|
9
|
+
layout: (measure: IWindowCell<ItemT>['measure'], event: unknown, index: number) => void;
|
|
10
|
+
focus: (index: number) => void;
|
|
11
|
+
};
|
|
12
|
+
export declare function buildCellRendererContext<ItemT>(args: ICellRendererArgs<ItemT>): IVListCellContext;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// The context a `vListCell` template reads for one cell: RN's `CellRendererComponent` props plus
|
|
2
|
+
// the template that stamps the item and its separator inside the wrapper the app draws
|
|
3
|
+
export function buildCellRendererContext(args) {
|
|
4
|
+
const { cell, style, body, layout, focus } = args;
|
|
5
|
+
return {
|
|
6
|
+
$implicit: cell.context.$implicit,
|
|
7
|
+
cellKey: cell.key,
|
|
8
|
+
index: cell.index,
|
|
9
|
+
style,
|
|
10
|
+
layout: event => layout(cell.measure, event, cell.index),
|
|
11
|
+
focus: () => focus(cell.index),
|
|
12
|
+
content: body,
|
|
13
|
+
contentContext: { $implicit: cell },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=cell-renderer-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell-renderer-context.js","sourceRoot":"","sources":["../../../../src/components/virtualized-list/cell-renderer-context.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,uFAAuF;AAoBvF,MAAM,UAAU,wBAAwB,CACtC,IAA8B;IAE9B,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAClD,OAAO;QACL,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS;QACjC,OAAO,EAAE,IAAI,CAAC,GAAG;QACjB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,KAAK;QACL,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QACxD,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC;QAC9B,OAAO,EAAE,IAAI;QACb,cAAc,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;KACpC,CAAC;AACJ,CAAC"}
|
|
@@ -1,18 +1,29 @@
|
|
|
1
|
-
import { TemplateRef, type OnChanges, type OnDestroy, type SimpleChanges } from '@angular/core';
|
|
1
|
+
import { TemplateRef, type OnChanges, type OnDestroy, type SimpleChanges, type Type } from '@angular/core';
|
|
2
|
+
import { type IViewStyle } from '@symbiote-native/engine';
|
|
2
3
|
import type { ISeparators } from '@symbiote-native/components';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export
|
|
5
|
+
export type IVListItemContext<ItemT> = {
|
|
5
6
|
$implicit: ItemT;
|
|
6
7
|
index: number;
|
|
7
8
|
separators: ISeparators;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
9
|
+
};
|
|
10
|
+
export type IVListSeparatorContext<ItemT> = {
|
|
10
11
|
$implicit: boolean;
|
|
11
12
|
highlighted: boolean;
|
|
12
13
|
leadingItem?: ItemT;
|
|
13
14
|
trailingItem?: ItemT;
|
|
14
15
|
[key: string]: unknown;
|
|
15
|
-
}
|
|
16
|
+
};
|
|
17
|
+
export type IVListCellContext = {
|
|
18
|
+
$implicit: unknown;
|
|
19
|
+
cellKey: string;
|
|
20
|
+
index: number;
|
|
21
|
+
style: IViewStyle | undefined;
|
|
22
|
+
layout: (event: unknown) => void;
|
|
23
|
+
focus: () => void;
|
|
24
|
+
content: TemplateRef<unknown> | undefined;
|
|
25
|
+
contentContext: unknown;
|
|
26
|
+
};
|
|
16
27
|
export declare class VListItemDirective<ItemT = unknown> {
|
|
17
28
|
readonly templateRef: TemplateRef<IVListItemContext<ItemT>>;
|
|
18
29
|
static ngTemplateContextGuard<T>(_dir: VListItemDirective<T>, _ctx: unknown): _ctx is IVListItemContext<T>;
|
|
@@ -40,15 +51,24 @@ export declare class VListSeparatorDirective<ItemT = unknown> {
|
|
|
40
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<VListSeparatorDirective<any>, never>;
|
|
41
52
|
static ɵdir: i0.ɵɵDirectiveDeclaration<VListSeparatorDirective<any>, "[vListSeparator]", never, {}, {}, never, never, true, never>;
|
|
42
53
|
}
|
|
54
|
+
export declare class VListCellDirective {
|
|
55
|
+
readonly templateRef: TemplateRef<IVListCellContext>;
|
|
56
|
+
static ngTemplateContextGuard(_dir: VListCellDirective, _ctx: unknown): _ctx is IVListCellContext;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VListCellDirective, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VListCellDirective, "[vListCell]", never, {}, {}, never, never, true, never>;
|
|
59
|
+
}
|
|
43
60
|
export declare class VListOutletDirective<C = unknown> implements OnChanges, OnDestroy {
|
|
44
61
|
templateRef?: TemplateRef<C>;
|
|
45
62
|
context?: C;
|
|
63
|
+
component?: Type<unknown>;
|
|
46
64
|
private viewRef;
|
|
65
|
+
private componentRef;
|
|
47
66
|
private readonly viewContainer;
|
|
48
67
|
private readonly instanceId;
|
|
49
68
|
ngOnChanges(changes: SimpleChanges): void;
|
|
50
69
|
ngOnDestroy(): void;
|
|
70
|
+
private writeComponentInputs;
|
|
51
71
|
private updateContext;
|
|
52
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<VListOutletDirective<any>, never>;
|
|
53
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<VListOutletDirective<any>, "[vListOutlet]", never, { "templateRef": { "alias": "vListOutlet"; "required": false; }; "context": { "alias": "vListOutletContext"; "required": false; }; }, {}, never, never, true, never>;
|
|
73
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VListOutletDirective<any>, "[vListOutlet]", never, { "templateRef": { "alias": "vListOutlet"; "required": false; }; "context": { "alias": "vListOutletContext"; "required": false; }; "component": { "alias": "vListOutletComponent"; "required": false; }; }, {}, never, never, true, never>;
|
|
54
74
|
}
|