@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
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { IAccessibilityProps, IAriaProps, IInnerViewRef } from '@symbiote-native/components';
|
|
2
|
+
import type { IStyleProp, ISymbioteEvent, IViewStyle } from '@symbiote-native/engine';
|
|
3
|
+
import type { ISection } from './directives';
|
|
4
|
+
export type IItemLayout = {
|
|
5
|
+
length: number;
|
|
6
|
+
offset: number;
|
|
7
|
+
index: number;
|
|
8
|
+
};
|
|
9
|
+
export type IVirtualizedSectionListProps<ItemT> = IAccessibilityProps & IAriaProps & {
|
|
10
|
+
sections: ReadonlyArray<ISection<ItemT>>;
|
|
11
|
+
keyExtractor?: (item: ItemT, index: number) => string;
|
|
12
|
+
getItemLayout?: (data: ReadonlyArray<ISection<ItemT>> | null, index: number) => IItemLayout;
|
|
13
|
+
stickySectionHeadersEnabled?: boolean;
|
|
14
|
+
extraData?: unknown;
|
|
15
|
+
onEndReached?: (info: {
|
|
16
|
+
distanceFromEnd: number;
|
|
17
|
+
}) => void;
|
|
18
|
+
onEndReachedThreshold?: number;
|
|
19
|
+
onStartReached?: (info: {
|
|
20
|
+
distanceFromStart: number;
|
|
21
|
+
}) => void;
|
|
22
|
+
onStartReachedThreshold?: number;
|
|
23
|
+
onRefresh?: () => void;
|
|
24
|
+
refreshing?: boolean | null;
|
|
25
|
+
progressViewOffset?: number;
|
|
26
|
+
initialNumToRender?: number;
|
|
27
|
+
initialScrollIndex?: number;
|
|
28
|
+
maxToRenderPerBatch?: number;
|
|
29
|
+
updateCellsBatchingPeriod?: number;
|
|
30
|
+
windowSize?: number;
|
|
31
|
+
disableVirtualization?: boolean;
|
|
32
|
+
inverted?: boolean;
|
|
33
|
+
horizontal?: boolean;
|
|
34
|
+
maintainVisibleContentPosition?: {
|
|
35
|
+
minIndexForVisible: number;
|
|
36
|
+
autoscrollToTopThreshold?: number;
|
|
37
|
+
};
|
|
38
|
+
onScroll?: (event: ISymbioteEvent) => void;
|
|
39
|
+
onScrollBeginDrag?: (event: ISymbioteEvent) => void;
|
|
40
|
+
onScrollEndDrag?: (event: ISymbioteEvent) => void;
|
|
41
|
+
onMomentumScrollBegin?: (event: ISymbioteEvent) => void;
|
|
42
|
+
onMomentumScrollEnd?: (event: ISymbioteEvent) => void;
|
|
43
|
+
onContentSizeChange?: (width: number, height: number) => void;
|
|
44
|
+
scrollEventThrottle?: number;
|
|
45
|
+
keyboardShouldPersistTaps?: boolean | 'always' | 'never' | 'handled';
|
|
46
|
+
keyboardDismissMode?: 'none' | 'on-drag' | 'interactive';
|
|
47
|
+
removeClippedSubviews?: boolean;
|
|
48
|
+
nestedScrollEnabled?: boolean;
|
|
49
|
+
stickyHeaderHiddenOnScroll?: boolean;
|
|
50
|
+
innerViewRef?: IInnerViewRef;
|
|
51
|
+
style?: IStyleProp<IViewStyle>;
|
|
52
|
+
contentContainerStyle?: IStyleProp<IViewStyle>;
|
|
53
|
+
listHeaderComponentStyle?: IStyleProp<IViewStyle>;
|
|
54
|
+
listFooterComponentStyle?: IStyleProp<IViewStyle>;
|
|
55
|
+
};
|
|
56
|
+
export type IVirtualizedSectionListInputs<ItemT> = Omit<IVirtualizedSectionListProps<ItemT>, 'onEndReached' | 'onStartReached' | 'onRefresh' | 'onAccessibilityAction' | 'onAccessibilityTap' | 'onMagicTap' | 'onAccessibilityEscape'>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"section-list-props.js","sourceRoot":"","sources":["../../../../src/components/virtualized-section-list/section-list-props.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VIRTUALIZED_SECTION_LIST_TEMPLATE = "\n <VirtualizedList\n [data]=\"flatEntries\"\n [getItem]=\"getEntry\"\n [getItemCount]=\"getEntryCount\"\n [keyExtractor]=\"entryKeyExtractor\"\n [getItemLayout]=\"entryItemLayout\"\n [stickyHeaderIndices]=\"stickyHeaderIndices\"\n [extraData]=\"extraData\"\n [inverted]=\"inverted\"\n [refreshing]=\"refreshing\"\n [progressViewOffset]=\"progressViewOffset\"\n [refreshRequested]=\"refreshRequested ?? refresh.observed\"\n (refresh)=\"resolvedOnRefresh?.()\"\n (endReached)=\"resolvedOnEndReached?.($event)\"\n [onEndReachedThreshold]=\"onEndReachedThreshold\"\n (startReached)=\"resolvedOnStartReached?.($event)\"\n [onStartReachedThreshold]=\"onStartReachedThreshold\"\n [initialNumToRender]=\"initialNumToRender\"\n [initialScrollIndex]=\"initialScrollIndex\"\n [maxToRenderPerBatch]=\"maxToRenderPerBatch\"\n [updateCellsBatchingPeriod]=\"updateCellsBatchingPeriod\"\n [windowSize]=\"windowSize\"\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 <!-- The single synthesized cell template: dispatch per flattened entry tag -->\n <ng-template vListItem let-entry let-
|
|
1
|
+
export declare const VIRTUALIZED_SECTION_LIST_TEMPLATE = "\n <VirtualizedList\n [data]=\"flatEntries\"\n [getItem]=\"getEntry\"\n [getItemCount]=\"getEntryCount\"\n [keyExtractor]=\"entryKeyExtractor\"\n [getItemLayout]=\"entryItemLayout\"\n [stickyHeaderIndices]=\"stickyHeaderIndices\"\n [extraData]=\"extraData\"\n [inverted]=\"inverted\"\n [horizontal]=\"horizontal\"\n [refreshing]=\"refreshing\"\n [progressViewOffset]=\"progressViewOffset\"\n [refreshRequested]=\"refreshRequested ?? refresh.observed\"\n (refresh)=\"resolvedOnRefresh?.()\"\n (endReached)=\"resolvedOnEndReached?.($event)\"\n [onEndReachedThreshold]=\"onEndReachedThreshold\"\n (startReached)=\"resolvedOnStartReached?.($event)\"\n [onStartReachedThreshold]=\"onStartReachedThreshold\"\n [initialNumToRender]=\"initialNumToRender\"\n [initialScrollIndex]=\"initialScrollIndex\"\n [maxToRenderPerBatch]=\"maxToRenderPerBatch\"\n [updateCellsBatchingPeriod]=\"updateCellsBatchingPeriod\"\n [windowSize]=\"windowSize\"\n [disableVirtualization]=\"disableVirtualization\"\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]=\"cellRendererTpl\"\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 <!-- The single synthesized cell template: dispatch per flattened entry tag -->\n <ng-template vListItem let-entry let-index=\"index\">\n @switch (entryKind(entry)) {\n @case ('header') {\n <ng-container\n [vListOutlet]=\"sectionHeaderDir?.templateRef\"\n [vListOutletContext]=\"sectionContextOf(entry)\"\n ></ng-container>\n }\n @case ('footer') {\n <ng-container\n [vListOutlet]=\"sectionFooterDir?.templateRef\"\n [vListOutletContext]=\"sectionContextOf(entry)\"\n ></ng-container>\n }\n @case ('item') {\n @let plan = cellPlanOf(entry, index);\n @if (plan !== undefined) {\n <ng-container\n vSectionCell\n #cell=\"vSectionCell\"\n [board]=\"board\"\n [cellKey]=\"plan.cellKey\"\n [prevCellKey]=\"plan.prevCellKey\"\n [hasLeading]=\"plan.hasLeading\"\n [hasTrailing]=\"plan.hasTrailing\"\n >\n <ng-container\n [vListOutlet]=\"plan.first.template\"\n [vListOutletContext]=\"cell.contextOf(plan.first)\"\n ></ng-container>\n <ng-container\n [vListOutlet]=\"plan.itemTemplate\"\n [vListOutletContext]=\"itemContextOf(entry, cell.separators)\"\n ></ng-container>\n <ng-container\n [vListOutlet]=\"plan.second.template\"\n [vListOutletContext]=\"cell.contextOf(plan.second)\"\n ></ng-container>\n </ng-container>\n }\n }\n }\n </ng-template>\n\n <!-- List-level slots: forward the app's directives to the inner list -->\n @if (listHeaderDir !== undefined) {\n <ng-template vListHeader>\n <ng-container [vListOutlet]=\"listHeaderDir.templateRef\"></ng-container>\n </ng-template>\n }\n @if (listFooterDir !== undefined) {\n <ng-template vListFooter>\n <ng-container [vListOutlet]=\"listFooterDir.templateRef\"></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 </VirtualizedList>\n";
|
|
@@ -11,6 +11,7 @@ export const VIRTUALIZED_SECTION_LIST_TEMPLATE = `
|
|
|
11
11
|
[stickyHeaderIndices]="stickyHeaderIndices"
|
|
12
12
|
[extraData]="extraData"
|
|
13
13
|
[inverted]="inverted"
|
|
14
|
+
[horizontal]="horizontal"
|
|
14
15
|
[refreshing]="refreshing"
|
|
15
16
|
[progressViewOffset]="progressViewOffset"
|
|
16
17
|
[refreshRequested]="refreshRequested ?? refresh.observed"
|
|
@@ -24,25 +25,32 @@ export const VIRTUALIZED_SECTION_LIST_TEMPLATE = `
|
|
|
24
25
|
[maxToRenderPerBatch]="maxToRenderPerBatch"
|
|
25
26
|
[updateCellsBatchingPeriod]="updateCellsBatchingPeriod"
|
|
26
27
|
[windowSize]="windowSize"
|
|
28
|
+
[disableVirtualization]="disableVirtualization"
|
|
27
29
|
[maintainVisibleContentPosition]="maintainVisibleContentPosition"
|
|
28
30
|
[onScroll]="onScroll"
|
|
29
31
|
[onScrollBeginDrag]="onScrollBeginDrag"
|
|
30
32
|
[onScrollEndDrag]="onScrollEndDrag"
|
|
31
33
|
[onMomentumScrollBegin]="onMomentumScrollBegin"
|
|
32
34
|
[onMomentumScrollEnd]="onMomentumScrollEnd"
|
|
35
|
+
[onContentSizeChange]="onContentSizeChange"
|
|
33
36
|
[scrollEventThrottle]="scrollEventThrottle"
|
|
34
37
|
[keyboardShouldPersistTaps]="keyboardShouldPersistTaps"
|
|
35
38
|
[keyboardDismissMode]="keyboardDismissMode"
|
|
36
39
|
[removeClippedSubviews]="removeClippedSubviews"
|
|
37
40
|
[nestedScrollEnabled]="nestedScrollEnabled"
|
|
41
|
+
[stickyHeaderHiddenOnScroll]="stickyHeaderHiddenOnScroll"
|
|
42
|
+
[innerViewRef]="innerViewRef"
|
|
38
43
|
[style]="resolvedStyle"
|
|
39
44
|
[contentContainerStyle]="contentContainerStyle"
|
|
45
|
+
[listHeaderComponentStyle]="listHeaderComponentStyle"
|
|
46
|
+
[listFooterComponentStyle]="listFooterComponentStyle"
|
|
47
|
+
[cellRendererTemplate]="cellRendererTpl"
|
|
40
48
|
[testID]="testID"
|
|
41
49
|
[nativeID]="nativeID"
|
|
42
50
|
${LIST_ACCESSIBILITY_FORWARD}
|
|
43
51
|
>
|
|
44
52
|
<!-- The single synthesized cell template: dispatch per flattened entry tag -->
|
|
45
|
-
<ng-template vListItem let-entry let-
|
|
53
|
+
<ng-template vListItem let-entry let-index="index">
|
|
46
54
|
@switch (entryKind(entry)) {
|
|
47
55
|
@case ('header') {
|
|
48
56
|
<ng-container
|
|
@@ -56,16 +64,32 @@ export const VIRTUALIZED_SECTION_LIST_TEMPLATE = `
|
|
|
56
64
|
[vListOutletContext]="sectionContextOf(entry)"
|
|
57
65
|
></ng-container>
|
|
58
66
|
}
|
|
59
|
-
@case ('section-separator') {
|
|
60
|
-
<ng-container
|
|
61
|
-
[vListOutlet]="sectionSeparatorDir?.templateRef"
|
|
62
|
-
></ng-container>
|
|
63
|
-
}
|
|
64
67
|
@case ('item') {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
@let plan = cellPlanOf(entry, index);
|
|
69
|
+
@if (plan !== undefined) {
|
|
70
|
+
<ng-container
|
|
71
|
+
vSectionCell
|
|
72
|
+
#cell="vSectionCell"
|
|
73
|
+
[board]="board"
|
|
74
|
+
[cellKey]="plan.cellKey"
|
|
75
|
+
[prevCellKey]="plan.prevCellKey"
|
|
76
|
+
[hasLeading]="plan.hasLeading"
|
|
77
|
+
[hasTrailing]="plan.hasTrailing"
|
|
78
|
+
>
|
|
79
|
+
<ng-container
|
|
80
|
+
[vListOutlet]="plan.first.template"
|
|
81
|
+
[vListOutletContext]="cell.contextOf(plan.first)"
|
|
82
|
+
></ng-container>
|
|
83
|
+
<ng-container
|
|
84
|
+
[vListOutlet]="plan.itemTemplate"
|
|
85
|
+
[vListOutletContext]="itemContextOf(entry, cell.separators)"
|
|
86
|
+
></ng-container>
|
|
87
|
+
<ng-container
|
|
88
|
+
[vListOutlet]="plan.second.template"
|
|
89
|
+
[vListOutletContext]="cell.contextOf(plan.second)"
|
|
90
|
+
></ng-container>
|
|
91
|
+
</ng-container>
|
|
92
|
+
}
|
|
69
93
|
}
|
|
70
94
|
}
|
|
71
95
|
</ng-template>
|
|
@@ -86,22 +110,6 @@ export const VIRTUALIZED_SECTION_LIST_TEMPLATE = `
|
|
|
86
110
|
<ng-container [vListOutlet]="listEmptyDir.templateRef"></ng-container>
|
|
87
111
|
</ng-template>
|
|
88
112
|
}
|
|
89
|
-
<!-- Item separator: unwrap each flattened entry back to its item -->
|
|
90
|
-
@if (itemSeparatorDir !== undefined) {
|
|
91
|
-
<ng-template
|
|
92
|
-
vListSeparator
|
|
93
|
-
let-highlighted
|
|
94
|
-
let-leadingItem="leadingItem"
|
|
95
|
-
let-trailingItem="trailingItem"
|
|
96
|
-
>
|
|
97
|
-
<ng-container
|
|
98
|
-
[vListOutlet]="itemSeparatorDir.templateRef"
|
|
99
|
-
[vListOutletContext]="
|
|
100
|
-
itemSeparatorContextOf(highlighted, leadingItem, trailingItem)
|
|
101
|
-
"
|
|
102
|
-
></ng-container>
|
|
103
|
-
</ng-template>
|
|
104
|
-
}
|
|
105
113
|
</VirtualizedList>
|
|
106
114
|
`;
|
|
107
115
|
//# sourceMappingURL=section-list-template.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section-list-template.js","sourceRoot":"","sources":["../../../../src/components/virtualized-section-list/section-list-template.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,6EAA6E;AAE7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,MAAM,CAAC,MAAM,iCAAiC,GAAG
|
|
1
|
+
{"version":3,"file":"section-list-template.js","sourceRoot":"","sources":["../../../../src/components/virtualized-section-list/section-list-template.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,6EAA6E;AAE7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,MAAM,CAAC,MAAM,iCAAiC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8C3C,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgE/B,CAAC"}
|
|
@@ -8,6 +8,8 @@ export type { IAngularModalProps, IModalAnimationType, IModalOrientation, IModal
|
|
|
8
8
|
export type { IImageProps, IImageSource, IImageSourceProp, IResizeMode, IImageSize, IImageCacheStatus, } from '@symbiote-native/components';
|
|
9
9
|
export type { IAngularPressableProps, IAngularPressableInputs, } from './components/pressable-props';
|
|
10
10
|
export type { IAngularSafeAreaViewProps } from './components/safe-area-view-props';
|
|
11
|
+
export type { IAngularLayoutConformanceProps } from './components/layout-conformance-props';
|
|
12
|
+
export type { ILayoutConformanceMode } from '@symbiote-native/components';
|
|
11
13
|
export type { ISwitchProps, ISwitchTrackColor, ISwitchChangeEvent, } from '@symbiote-native/components';
|
|
12
14
|
export type { IAngularImageBackgroundProps } from './components/image-background-props';
|
|
13
15
|
export { KeyboardAvoidingView } from './components/keyboard-avoiding-view';
|
|
@@ -23,12 +25,14 @@ export type { IAngularTouchableWithoutFeedbackProps } from './components/touchab
|
|
|
23
25
|
export type { IAngularScrollViewProps, IScrollViewHandle, } from './components/scroll-view-props';
|
|
24
26
|
export type { IButtonProps } from './components/button-props';
|
|
25
27
|
export type { ICheckboxProps } from './components/checkbox-props';
|
|
26
|
-
export { VirtualizedList, VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListItemDirective, VListSeparatorDirective, } from './components/virtualized-list';
|
|
27
|
-
export
|
|
28
|
+
export { VirtualizedList, VListCellDirective, VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListItemDirective, VListOutletDirective, VListSeparatorDirective, } from './components/virtualized-list';
|
|
29
|
+
export { injectVirtualizedListScope } from './components/virtualized-list/nested-scope';
|
|
30
|
+
export type { IListScope } from '@symbiote-native/components';
|
|
31
|
+
export type { ICellLayout, ISeparatorProps, ISeparators, IViewabilityConfig, IViewabilityConfigCallbackPair, IViewableItemsChangedInfo, IViewToken, IVirtualizedListHandle, IVirtualizedListProps, IVListCellContext, IVListItemContext, IVListSeparatorContext, } from './components/virtualized-list';
|
|
28
32
|
export { FlatList } from './components/flat-list';
|
|
29
33
|
export type { IFlatListHandle, IFlatListProps } from './components/flat-list';
|
|
30
34
|
export { VirtualizedSectionList, VSectionFooterDirective, VSectionHeaderDirective, VSectionItemDirective, VSectionSeparatorDirective, } from './components/virtualized-section-list';
|
|
31
|
-
export type { ISection, IVirtualizedSectionListHandle, IVirtualizedSectionListProps, IVSectionContext, IVSectionItemContext, } from './components/virtualized-section-list';
|
|
35
|
+
export type { ISection, IVirtualizedSectionListHandle, IVirtualizedSectionListProps, IVSectionContext, IVSectionItemContext, IVSectionSeparatorContext, } from './components/virtualized-section-list';
|
|
32
36
|
export { SectionList } from './components/section-list';
|
|
33
37
|
export type { ISectionListHandle, ISectionListProps, } from './components/section-list';
|
|
34
38
|
export { ViewHost, ViewHost as View, TextHost, TextHost as Text, ImageHost, ScrollViewHost, ScrollContentView, HorizontalScrollView, HorizontalScrollContentView, TextInputHost, MultilineTextInputHost, SwitchHost, ActivityIndicatorHost, SafeAreaViewHost, ModalHost, RefreshControlHost, InputAccessoryViewHost, SymbioteHostPropsDirective, SymbioteStyleInputDirective, anchorHostStyle, stableAnchorStyle, } from './primitives/index';
|
|
@@ -16,7 +16,8 @@ export { KeyboardAvoidingView } from './components/keyboard-avoiding-view';
|
|
|
16
16
|
// `.SelectableBackground(…)` are unchanged; an app's `imports: [TouchableNativeFeedback]` becomes
|
|
17
17
|
// `imports: [TouchableNativeFeedbackElement]`.
|
|
18
18
|
export { TouchableNativeFeedback } from '@symbiote-native/components';
|
|
19
|
-
export { VirtualizedList, VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListItemDirective, VListSeparatorDirective, } from './components/virtualized-list';
|
|
19
|
+
export { VirtualizedList, VListCellDirective, VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListItemDirective, VListOutletDirective, VListSeparatorDirective, } from './components/virtualized-list';
|
|
20
|
+
export { injectVirtualizedListScope } from './components/virtualized-list/nested-scope';
|
|
20
21
|
export { FlatList } from './components/flat-list';
|
|
21
22
|
export { VirtualizedSectionList, VSectionFooterDirective, VSectionHeaderDirective, VSectionItemDirective, VSectionSeparatorDirective, } from './components/virtualized-section-list';
|
|
22
23
|
export { SectionList } from './components/section-list';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/components.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,gGAAgG;AAChG,+FAA+F;AAC/F,8FAA8F;AAC9F,kFAAkF;AAMlF,gGAAgG;AAChG,gGAAgG;AAChG,sFAAsF;AACtF,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAMrE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/components.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,gGAAgG;AAChG,+FAA+F;AAC/F,8FAA8F;AAC9F,kFAAkF;AAMlF,gGAAgG;AAChG,gGAAgG;AAChG,sFAAsF;AACtF,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAMrE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AA4C3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAuB3E,kGAAkG;AAClG,kGAAkG;AAClG,8EAA8E;AAC9E,kGAAkG;AAClG,+CAA+C;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAmCtE,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAgBxF,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAElD,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,uCAAuC,CAAC;AAS/C,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAMxD,+FAA+F;AAC/F,OAAO,EACL,QAAQ,EACR,QAAQ,IAAI,IAAI,EAChB,QAAQ,EACR,QAAQ,IAAI,IAAI,EAChB,SAAS,EACT,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,2BAA2B,EAC3B,aAAa,EACb,sBAAsB,EACtB,UAAU,EACV,qBAAqB,EACrB,gBAAgB,EAChB,SAAS,EACT,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B;AAC1B,+FAA+F;AAC/F,8FAA8F;AAC9F,iGAAiG;AACjG,MAAM;AACN,2BAA2B;AAC3B,oGAAoG;AACpG,+FAA+F;AAC/F,6FAA6F;AAC7F,eAAe;AACf,4FAA4F;AAC5F,0FAA0F;AAC1F,oDAAoD;AACpD,iBAAiB,GAClB,MAAM,oBAAoB,CAAC;AAE5B,sFAAsF;AACtF,wFAAwF;AACxF,4CAA4C"}
|
|
@@ -26,6 +26,7 @@ export declare abstract class SymbioteElement implements OnChanges {
|
|
|
26
26
|
accessibilityState?: IElementProps['accessibilityState'];
|
|
27
27
|
accessibilityValue?: IElementProps['accessibilityValue'];
|
|
28
28
|
accessibilityActions?: IElementProps['accessibilityActions'];
|
|
29
|
+
experimental_accessibilityOrder?: IElementProps['experimental_accessibilityOrder'];
|
|
29
30
|
accessibilityLabelledBy?: IElementProps['accessibilityLabelledBy'];
|
|
30
31
|
importantForAccessibility?: IElementProps['importantForAccessibility'];
|
|
31
32
|
accessibilityLiveRegion?: IElementProps['accessibilityLiveRegion'];
|
|
@@ -68,6 +69,21 @@ export declare abstract class SymbioteElement implements OnChanges {
|
|
|
68
69
|
onResponderRelease?: IElementProps['onResponderRelease'];
|
|
69
70
|
onResponderTerminate?: IElementProps['onResponderTerminate'];
|
|
70
71
|
onResponderTerminationRequest?: IElementProps['onResponderTerminationRequest'];
|
|
72
|
+
onTouchStart?: IElementProps['onTouchStart'];
|
|
73
|
+
onTouchStartCapture?: IElementProps['onTouchStartCapture'];
|
|
74
|
+
onTouchMove?: IElementProps['onTouchMove'];
|
|
75
|
+
onTouchMoveCapture?: IElementProps['onTouchMoveCapture'];
|
|
76
|
+
onTouchEnd?: IElementProps['onTouchEnd'];
|
|
77
|
+
onTouchEndCapture?: IElementProps['onTouchEndCapture'];
|
|
78
|
+
onTouchCancel?: IElementProps['onTouchCancel'];
|
|
79
|
+
onTouchCancelCapture?: IElementProps['onTouchCancelCapture'];
|
|
80
|
+
onFocusCapture?: IElementProps['onFocusCapture'];
|
|
81
|
+
onBlurCapture?: IElementProps['onBlurCapture'];
|
|
82
|
+
onClickCapture?: IElementProps['onClickCapture'];
|
|
83
|
+
onKeyDown?: IElementProps['onKeyDown'];
|
|
84
|
+
onKeyDownCapture?: IElementProps['onKeyDownCapture'];
|
|
85
|
+
onKeyUp?: IElementProps['onKeyUp'];
|
|
86
|
+
onKeyUpCapture?: IElementProps['onKeyUpCapture'];
|
|
71
87
|
pointerEvents?: IElementProps['pointerEvents'];
|
|
72
88
|
hitSlop?: IElementProps['hitSlop'];
|
|
73
89
|
focusable?: IElementProps['focusable'];
|
|
@@ -89,7 +105,7 @@ export declare abstract class SymbioteElement implements OnChanges {
|
|
|
89
105
|
onBlur?: IElementProps['onBlur'];
|
|
90
106
|
ngOnChanges(changes: SimpleChanges): void;
|
|
91
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<SymbioteElement, never>;
|
|
92
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SymbioteElement, never, never, { "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "required": false; }; "id": { "alias": "id"; "required": false; }; "accessible": { "alias": "accessible"; "required": false; }; "accessibilityLabel": { "alias": "accessibilityLabel"; "required": false; }; "accessibilityHint": { "alias": "accessibilityHint"; "required": false; }; "accessibilityRole": { "alias": "accessibilityRole"; "required": false; }; "accessibilityState": { "alias": "accessibilityState"; "required": false; }; "accessibilityValue": { "alias": "accessibilityValue"; "required": false; }; "accessibilityActions": { "alias": "accessibilityActions"; "required": false; }; "accessibilityLabelledBy": { "alias": "accessibilityLabelledBy"; "required": false; }; "importantForAccessibility": { "alias": "importantForAccessibility"; "required": false; }; "accessibilityLiveRegion": { "alias": "accessibilityLiveRegion"; "required": false; }; "screenReaderFocusable": { "alias": "screenReaderFocusable"; "required": false; }; "accessibilityViewIsModal": { "alias": "accessibilityViewIsModal"; "required": false; }; "accessibilityElementsHidden": { "alias": "accessibilityElementsHidden"; "required": false; }; "accessibilityIgnoresInvertColors": { "alias": "accessibilityIgnoresInvertColors"; "required": false; }; "accessibilityLanguage": { "alias": "accessibilityLanguage"; "required": false; }; "accessibilityRespondsToUserInteraction": { "alias": "accessibilityRespondsToUserInteraction"; "required": false; }; "accessibilityShowsLargeContentViewer": { "alias": "accessibilityShowsLargeContentViewer"; "required": false; }; "accessibilityLargeContentTitle": { "alias": "accessibilityLargeContentTitle"; "required": false; }; "onAccessibilityAction": { "alias": "onAccessibilityAction"; "required": false; }; "onAccessibilityTap": { "alias": "onAccessibilityTap"; "required": false; }; "onMagicTap": { "alias": "onMagicTap"; "required": false; }; "onAccessibilityEscape": { "alias": "onAccessibilityEscape"; "required": false; }; "role": { "alias": "role"; "required": false; }; "aria-label": { "alias": "aria-label"; "required": false; }; "aria-labelledby": { "alias": "aria-labelledby"; "required": false; }; "aria-live": { "alias": "aria-live"; "required": false; }; "aria-hidden": { "alias": "aria-hidden"; "required": false; }; "aria-busy": { "alias": "aria-busy"; "required": false; }; "aria-checked": { "alias": "aria-checked"; "required": false; }; "aria-disabled": { "alias": "aria-disabled"; "required": false; }; "aria-expanded": { "alias": "aria-expanded"; "required": false; }; "aria-selected": { "alias": "aria-selected"; "required": false; }; "aria-modal": { "alias": "aria-modal"; "required": false; }; "aria-valuemax": { "alias": "aria-valuemax"; "required": false; }; "aria-valuemin": { "alias": "aria-valuemin"; "required": false; }; "aria-valuenow": { "alias": "aria-valuenow"; "required": false; }; "aria-valuetext": { "alias": "aria-valuetext"; "required": false; }; "onStartShouldSetResponder": { "alias": "onStartShouldSetResponder"; "required": false; }; "onStartShouldSetResponderCapture": { "alias": "onStartShouldSetResponderCapture"; "required": false; }; "onMoveShouldSetResponder": { "alias": "onMoveShouldSetResponder"; "required": false; }; "onMoveShouldSetResponderCapture": { "alias": "onMoveShouldSetResponderCapture"; "required": false; }; "onResponderGrant": { "alias": "onResponderGrant"; "required": false; }; "onResponderReject": { "alias": "onResponderReject"; "required": false; }; "onResponderStart": { "alias": "onResponderStart"; "required": false; }; "onResponderMove": { "alias": "onResponderMove"; "required": false; }; "onResponderEnd": { "alias": "onResponderEnd"; "required": false; }; "onResponderRelease": { "alias": "onResponderRelease"; "required": false; }; "onResponderTerminate": { "alias": "onResponderTerminate"; "required": false; }; "onResponderTerminationRequest": { "alias": "onResponderTerminationRequest"; "required": false; }; "pointerEvents": { "alias": "pointerEvents"; "required": false; }; "hitSlop": { "alias": "hitSlop"; "required": false; }; "focusable": { "alias": "focusable"; "required": false; }; "collapsable": { "alias": "collapsable"; "required": false; }; "removeClippedSubviews": { "alias": "removeClippedSubviews"; "required": false; }; "renderToHardwareTextureAndroid": { "alias": "renderToHardwareTextureAndroid"; "required": false; }; "shouldRasterizeIOS": { "alias": "shouldRasterizeIOS"; "required": false; }; "needsOffscreenAlphaCompositing": { "alias": "needsOffscreenAlphaCompositing"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleProp": { "alias": "styleProp"; "required": false; }; "class": { "alias": "class"; "required": false; }; "onPress": { "alias": "onPress"; "required": false; }; "onPressIn": { "alias": "onPressIn"; "required": false; }; "onPressOut": { "alias": "onPressOut"; "required": false; }; "onPressMove": { "alias": "onPressMove"; "required": false; }; "onLongPress": { "alias": "onLongPress"; "required": false; }; "onLayout": { "alias": "onLayout"; "required": false; }; "onFocus": { "alias": "onFocus"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; }, {}, never, never, true, never>;
|
|
108
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SymbioteElement, never, never, { "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "required": false; }; "id": { "alias": "id"; "required": false; }; "accessible": { "alias": "accessible"; "required": false; }; "accessibilityLabel": { "alias": "accessibilityLabel"; "required": false; }; "accessibilityHint": { "alias": "accessibilityHint"; "required": false; }; "accessibilityRole": { "alias": "accessibilityRole"; "required": false; }; "accessibilityState": { "alias": "accessibilityState"; "required": false; }; "accessibilityValue": { "alias": "accessibilityValue"; "required": false; }; "accessibilityActions": { "alias": "accessibilityActions"; "required": false; }; "experimental_accessibilityOrder": { "alias": "experimental_accessibilityOrder"; "required": false; }; "accessibilityLabelledBy": { "alias": "accessibilityLabelledBy"; "required": false; }; "importantForAccessibility": { "alias": "importantForAccessibility"; "required": false; }; "accessibilityLiveRegion": { "alias": "accessibilityLiveRegion"; "required": false; }; "screenReaderFocusable": { "alias": "screenReaderFocusable"; "required": false; }; "accessibilityViewIsModal": { "alias": "accessibilityViewIsModal"; "required": false; }; "accessibilityElementsHidden": { "alias": "accessibilityElementsHidden"; "required": false; }; "accessibilityIgnoresInvertColors": { "alias": "accessibilityIgnoresInvertColors"; "required": false; }; "accessibilityLanguage": { "alias": "accessibilityLanguage"; "required": false; }; "accessibilityRespondsToUserInteraction": { "alias": "accessibilityRespondsToUserInteraction"; "required": false; }; "accessibilityShowsLargeContentViewer": { "alias": "accessibilityShowsLargeContentViewer"; "required": false; }; "accessibilityLargeContentTitle": { "alias": "accessibilityLargeContentTitle"; "required": false; }; "onAccessibilityAction": { "alias": "onAccessibilityAction"; "required": false; }; "onAccessibilityTap": { "alias": "onAccessibilityTap"; "required": false; }; "onMagicTap": { "alias": "onMagicTap"; "required": false; }; "onAccessibilityEscape": { "alias": "onAccessibilityEscape"; "required": false; }; "role": { "alias": "role"; "required": false; }; "aria-label": { "alias": "aria-label"; "required": false; }; "aria-labelledby": { "alias": "aria-labelledby"; "required": false; }; "aria-live": { "alias": "aria-live"; "required": false; }; "aria-hidden": { "alias": "aria-hidden"; "required": false; }; "aria-busy": { "alias": "aria-busy"; "required": false; }; "aria-checked": { "alias": "aria-checked"; "required": false; }; "aria-disabled": { "alias": "aria-disabled"; "required": false; }; "aria-expanded": { "alias": "aria-expanded"; "required": false; }; "aria-selected": { "alias": "aria-selected"; "required": false; }; "aria-modal": { "alias": "aria-modal"; "required": false; }; "aria-valuemax": { "alias": "aria-valuemax"; "required": false; }; "aria-valuemin": { "alias": "aria-valuemin"; "required": false; }; "aria-valuenow": { "alias": "aria-valuenow"; "required": false; }; "aria-valuetext": { "alias": "aria-valuetext"; "required": false; }; "onStartShouldSetResponder": { "alias": "onStartShouldSetResponder"; "required": false; }; "onStartShouldSetResponderCapture": { "alias": "onStartShouldSetResponderCapture"; "required": false; }; "onMoveShouldSetResponder": { "alias": "onMoveShouldSetResponder"; "required": false; }; "onMoveShouldSetResponderCapture": { "alias": "onMoveShouldSetResponderCapture"; "required": false; }; "onResponderGrant": { "alias": "onResponderGrant"; "required": false; }; "onResponderReject": { "alias": "onResponderReject"; "required": false; }; "onResponderStart": { "alias": "onResponderStart"; "required": false; }; "onResponderMove": { "alias": "onResponderMove"; "required": false; }; "onResponderEnd": { "alias": "onResponderEnd"; "required": false; }; "onResponderRelease": { "alias": "onResponderRelease"; "required": false; }; "onResponderTerminate": { "alias": "onResponderTerminate"; "required": false; }; "onResponderTerminationRequest": { "alias": "onResponderTerminationRequest"; "required": false; }; "onTouchStart": { "alias": "onTouchStart"; "required": false; }; "onTouchStartCapture": { "alias": "onTouchStartCapture"; "required": false; }; "onTouchMove": { "alias": "onTouchMove"; "required": false; }; "onTouchMoveCapture": { "alias": "onTouchMoveCapture"; "required": false; }; "onTouchEnd": { "alias": "onTouchEnd"; "required": false; }; "onTouchEndCapture": { "alias": "onTouchEndCapture"; "required": false; }; "onTouchCancel": { "alias": "onTouchCancel"; "required": false; }; "onTouchCancelCapture": { "alias": "onTouchCancelCapture"; "required": false; }; "onFocusCapture": { "alias": "onFocusCapture"; "required": false; }; "onBlurCapture": { "alias": "onBlurCapture"; "required": false; }; "onClickCapture": { "alias": "onClickCapture"; "required": false; }; "onKeyDown": { "alias": "onKeyDown"; "required": false; }; "onKeyDownCapture": { "alias": "onKeyDownCapture"; "required": false; }; "onKeyUp": { "alias": "onKeyUp"; "required": false; }; "onKeyUpCapture": { "alias": "onKeyUpCapture"; "required": false; }; "pointerEvents": { "alias": "pointerEvents"; "required": false; }; "hitSlop": { "alias": "hitSlop"; "required": false; }; "focusable": { "alias": "focusable"; "required": false; }; "collapsable": { "alias": "collapsable"; "required": false; }; "removeClippedSubviews": { "alias": "removeClippedSubviews"; "required": false; }; "renderToHardwareTextureAndroid": { "alias": "renderToHardwareTextureAndroid"; "required": false; }; "shouldRasterizeIOS": { "alias": "shouldRasterizeIOS"; "required": false; }; "needsOffscreenAlphaCompositing": { "alias": "needsOffscreenAlphaCompositing"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleProp": { "alias": "styleProp"; "required": false; }; "class": { "alias": "class"; "required": false; }; "onPress": { "alias": "onPress"; "required": false; }; "onPressIn": { "alias": "onPressIn"; "required": false; }; "onPressOut": { "alias": "onPressOut"; "required": false; }; "onPressMove": { "alias": "onPressMove"; "required": false; }; "onLongPress": { "alias": "onLongPress"; "required": false; }; "onLayout": { "alias": "onLayout"; "required": false; }; "onFocus": { "alias": "onFocus"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; }, {}, never, never, true, never>;
|
|
93
109
|
}
|
|
94
110
|
/**
|
|
95
111
|
* The base for a tag whose app callback an engine behavior READS BACK inside the same microtask
|
|
@@ -27,7 +27,7 @@ export class SymbioteElement {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SymbioteElement, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
30
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: SymbioteElement, isStandalone: true, inputs: { testID: "testID", nativeID: "nativeID", id: "id", accessible: "accessible", accessibilityLabel: "accessibilityLabel", accessibilityHint: "accessibilityHint", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityActions: "accessibilityActions", accessibilityLabelledBy: "accessibilityLabelledBy", importantForAccessibility: "importantForAccessibility", accessibilityLiveRegion: "accessibilityLiveRegion", screenReaderFocusable: "screenReaderFocusable", accessibilityViewIsModal: "accessibilityViewIsModal", accessibilityElementsHidden: "accessibilityElementsHidden", accessibilityIgnoresInvertColors: "accessibilityIgnoresInvertColors", accessibilityLanguage: "accessibilityLanguage", accessibilityRespondsToUserInteraction: "accessibilityRespondsToUserInteraction", accessibilityShowsLargeContentViewer: "accessibilityShowsLargeContentViewer", accessibilityLargeContentTitle: "accessibilityLargeContentTitle", onAccessibilityAction: "onAccessibilityAction", onAccessibilityTap: "onAccessibilityTap", onMagicTap: "onMagicTap", onAccessibilityEscape: "onAccessibilityEscape", role: "role", "aria-label": "aria-label", "aria-labelledby": "aria-labelledby", "aria-live": "aria-live", "aria-hidden": "aria-hidden", "aria-busy": "aria-busy", "aria-checked": "aria-checked", "aria-disabled": "aria-disabled", "aria-expanded": "aria-expanded", "aria-selected": "aria-selected", "aria-modal": "aria-modal", "aria-valuemax": "aria-valuemax", "aria-valuemin": "aria-valuemin", "aria-valuenow": "aria-valuenow", "aria-valuetext": "aria-valuetext", onStartShouldSetResponder: "onStartShouldSetResponder", onStartShouldSetResponderCapture: "onStartShouldSetResponderCapture", onMoveShouldSetResponder: "onMoveShouldSetResponder", onMoveShouldSetResponderCapture: "onMoveShouldSetResponderCapture", onResponderGrant: "onResponderGrant", onResponderReject: "onResponderReject", onResponderStart: "onResponderStart", onResponderMove: "onResponderMove", onResponderEnd: "onResponderEnd", onResponderRelease: "onResponderRelease", onResponderTerminate: "onResponderTerminate", onResponderTerminationRequest: "onResponderTerminationRequest", pointerEvents: "pointerEvents", hitSlop: "hitSlop", focusable: "focusable", collapsable: "collapsable", removeClippedSubviews: "removeClippedSubviews", renderToHardwareTextureAndroid: "renderToHardwareTextureAndroid", shouldRasterizeIOS: "shouldRasterizeIOS", needsOffscreenAlphaCompositing: "needsOffscreenAlphaCompositing", style: "style", styleProp: "styleProp", class: "class", onPress: "onPress", onPressIn: "onPressIn", onPressOut: "onPressOut", onPressMove: "onPressMove", onLongPress: "onLongPress", onLayout: "onLayout", onFocus: "onFocus", onBlur: "onBlur" }, usesOnChanges: true, ngImport: i0 }); }
|
|
30
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: SymbioteElement, isStandalone: true, inputs: { testID: "testID", nativeID: "nativeID", id: "id", accessible: "accessible", accessibilityLabel: "accessibilityLabel", accessibilityHint: "accessibilityHint", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityActions: "accessibilityActions", experimental_accessibilityOrder: "experimental_accessibilityOrder", accessibilityLabelledBy: "accessibilityLabelledBy", importantForAccessibility: "importantForAccessibility", accessibilityLiveRegion: "accessibilityLiveRegion", screenReaderFocusable: "screenReaderFocusable", accessibilityViewIsModal: "accessibilityViewIsModal", accessibilityElementsHidden: "accessibilityElementsHidden", accessibilityIgnoresInvertColors: "accessibilityIgnoresInvertColors", accessibilityLanguage: "accessibilityLanguage", accessibilityRespondsToUserInteraction: "accessibilityRespondsToUserInteraction", accessibilityShowsLargeContentViewer: "accessibilityShowsLargeContentViewer", accessibilityLargeContentTitle: "accessibilityLargeContentTitle", onAccessibilityAction: "onAccessibilityAction", onAccessibilityTap: "onAccessibilityTap", onMagicTap: "onMagicTap", onAccessibilityEscape: "onAccessibilityEscape", role: "role", "aria-label": "aria-label", "aria-labelledby": "aria-labelledby", "aria-live": "aria-live", "aria-hidden": "aria-hidden", "aria-busy": "aria-busy", "aria-checked": "aria-checked", "aria-disabled": "aria-disabled", "aria-expanded": "aria-expanded", "aria-selected": "aria-selected", "aria-modal": "aria-modal", "aria-valuemax": "aria-valuemax", "aria-valuemin": "aria-valuemin", "aria-valuenow": "aria-valuenow", "aria-valuetext": "aria-valuetext", onStartShouldSetResponder: "onStartShouldSetResponder", onStartShouldSetResponderCapture: "onStartShouldSetResponderCapture", onMoveShouldSetResponder: "onMoveShouldSetResponder", onMoveShouldSetResponderCapture: "onMoveShouldSetResponderCapture", onResponderGrant: "onResponderGrant", onResponderReject: "onResponderReject", onResponderStart: "onResponderStart", onResponderMove: "onResponderMove", onResponderEnd: "onResponderEnd", onResponderRelease: "onResponderRelease", onResponderTerminate: "onResponderTerminate", onResponderTerminationRequest: "onResponderTerminationRequest", onTouchStart: "onTouchStart", onTouchStartCapture: "onTouchStartCapture", onTouchMove: "onTouchMove", onTouchMoveCapture: "onTouchMoveCapture", onTouchEnd: "onTouchEnd", onTouchEndCapture: "onTouchEndCapture", onTouchCancel: "onTouchCancel", onTouchCancelCapture: "onTouchCancelCapture", onFocusCapture: "onFocusCapture", onBlurCapture: "onBlurCapture", onClickCapture: "onClickCapture", onKeyDown: "onKeyDown", onKeyDownCapture: "onKeyDownCapture", onKeyUp: "onKeyUp", onKeyUpCapture: "onKeyUpCapture", pointerEvents: "pointerEvents", hitSlop: "hitSlop", focusable: "focusable", collapsable: "collapsable", removeClippedSubviews: "removeClippedSubviews", renderToHardwareTextureAndroid: "renderToHardwareTextureAndroid", shouldRasterizeIOS: "shouldRasterizeIOS", needsOffscreenAlphaCompositing: "needsOffscreenAlphaCompositing", style: "style", styleProp: "styleProp", class: "class", onPress: "onPress", onPressIn: "onPressIn", onPressOut: "onPressOut", onPressMove: "onPressMove", onLongPress: "onLongPress", onLayout: "onLayout", onFocus: "onFocus", onBlur: "onBlur" }, usesOnChanges: true, ngImport: i0 }); }
|
|
31
31
|
}
|
|
32
32
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SymbioteElement, decorators: [{
|
|
33
33
|
type: Directive
|
|
@@ -51,6 +51,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
51
51
|
type: Input
|
|
52
52
|
}], accessibilityActions: [{
|
|
53
53
|
type: Input
|
|
54
|
+
}], experimental_accessibilityOrder: [{
|
|
55
|
+
type: Input
|
|
54
56
|
}], accessibilityLabelledBy: [{
|
|
55
57
|
type: Input
|
|
56
58
|
}], importantForAccessibility: [{
|
|
@@ -135,6 +137,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
135
137
|
type: Input
|
|
136
138
|
}], onResponderTerminationRequest: [{
|
|
137
139
|
type: Input
|
|
140
|
+
}], onTouchStart: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}], onTouchStartCapture: [{
|
|
143
|
+
type: Input
|
|
144
|
+
}], onTouchMove: [{
|
|
145
|
+
type: Input
|
|
146
|
+
}], onTouchMoveCapture: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], onTouchEnd: [{
|
|
149
|
+
type: Input
|
|
150
|
+
}], onTouchEndCapture: [{
|
|
151
|
+
type: Input
|
|
152
|
+
}], onTouchCancel: [{
|
|
153
|
+
type: Input
|
|
154
|
+
}], onTouchCancelCapture: [{
|
|
155
|
+
type: Input
|
|
156
|
+
}], onFocusCapture: [{
|
|
157
|
+
type: Input
|
|
158
|
+
}], onBlurCapture: [{
|
|
159
|
+
type: Input
|
|
160
|
+
}], onClickCapture: [{
|
|
161
|
+
type: Input
|
|
162
|
+
}], onKeyDown: [{
|
|
163
|
+
type: Input
|
|
164
|
+
}], onKeyDownCapture: [{
|
|
165
|
+
type: Input
|
|
166
|
+
}], onKeyUp: [{
|
|
167
|
+
type: Input
|
|
168
|
+
}], onKeyUpCapture: [{
|
|
169
|
+
type: Input
|
|
138
170
|
}], pointerEvents: [{
|
|
139
171
|
type: Input
|
|
140
172
|
}], hitSlop: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"element-base.js","sourceRoot":"","sources":["../../src/element-base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,YAAY,EACZ,KAAK,EACL,SAAS,EACT,MAAM,GACP,MAAM,eAAe,CAAC;AAOvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;;AAGlC;;;;;;;;;;GAUG;AAEH,MAAM,OAAgB,eAAe;IADrC;QAEmB,aAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QAC3B,SAAI,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"element-base.js","sourceRoot":"","sources":["../../src/element-base.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IAccessibilityProps, IAriaProps, IPressState, IRectOffset, IResponderProps } from '@symbiote-native/components';
|
|
1
|
+
import type { IAccessibilityProps, IAriaProps, IPressState, IRectOffset, IResponderProps, ITextNativeOnlyProps } from '@symbiote-native/components';
|
|
2
2
|
import type { ISymbioteEvent, IStyleProp, ITextStyle, IViewStyle } from '@symbiote-native/engine';
|
|
3
3
|
type IEventHandler = (event: ISymbioteEvent) => void;
|
|
4
4
|
/**
|
|
@@ -9,7 +9,7 @@ type IEventHandler = (event: ISymbioteEvent) => void;
|
|
|
9
9
|
export type IAngularStyleBinding<TStyle> = TStyle | string | null | undefined;
|
|
10
10
|
/** RN's full StyleProp, press-state callback included: the `[styleProp]` binding. */
|
|
11
11
|
export type IElementStyleProp = IStyleProp<IViewStyle> | ((state: IPressState) => IStyleProp<IViewStyle>);
|
|
12
|
-
export
|
|
12
|
+
export type IElementProps = IAccessibilityProps & IAriaProps & IResponderProps & {
|
|
13
13
|
/** RN's modern W3C-named alias for `nativeID`; the renderer folds it (`PROP_ALIASES`). */
|
|
14
14
|
id?: string;
|
|
15
15
|
pointerEvents?: 'auto' | 'none' | 'box-none' | 'box-only';
|
|
@@ -36,9 +36,9 @@ export interface IElementProps extends IAccessibilityProps, IAriaProps, IRespond
|
|
|
36
36
|
onLayout?: IEventHandler;
|
|
37
37
|
onFocus?: IEventHandler;
|
|
38
38
|
onBlur?: IEventHandler;
|
|
39
|
-
}
|
|
39
|
+
};
|
|
40
40
|
/** Text's own surface on top of the shared one. `onTextLayout` is an event, so it is not here. */
|
|
41
|
-
export
|
|
41
|
+
export type ITextElementProps = ITextNativeOnlyProps & {
|
|
42
42
|
/** Narrows the shared `style` so `fontSize` / `fontWeight` type-check on a `<text>`. */
|
|
43
43
|
style?: IAngularStyleBinding<ITextStyle>;
|
|
44
44
|
styleProp?: IStyleProp<ITextStyle>;
|
|
@@ -51,12 +51,12 @@ export interface ITextElementProps {
|
|
|
51
51
|
maxFontSizeMultiplier?: number | null;
|
|
52
52
|
selectionColor?: string;
|
|
53
53
|
disabled?: boolean;
|
|
54
|
-
}
|
|
54
|
+
};
|
|
55
55
|
/** The sticky-header wrapper RN builds in JS (ScrollViewStickyHeader.js). */
|
|
56
|
-
export
|
|
56
|
+
export type IStickyHeaderElementProps = {
|
|
57
57
|
inverted?: boolean;
|
|
58
58
|
nextHeaderLayoutY?: number | null;
|
|
59
59
|
scrollAnimatedValue?: unknown;
|
|
60
60
|
scrollViewHeight?: number | null;
|
|
61
|
-
}
|
|
61
|
+
};
|
|
62
62
|
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ITextInputProps } from '@symbiote-native/components';
|
|
2
|
+
import { ValueChangeElement } from './element-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare abstract class TextInputNativeInputs extends ValueChangeElement {
|
|
5
|
+
caretHidden?: ITextInputProps['caretHidden'];
|
|
6
|
+
clearButtonMode?: ITextInputProps['clearButtonMode'];
|
|
7
|
+
clearTextOnFocus?: ITextInputProps['clearTextOnFocus'];
|
|
8
|
+
contextMenuHidden?: ITextInputProps['contextMenuHidden'];
|
|
9
|
+
dataDetectorTypes?: ITextInputProps['dataDetectorTypes'];
|
|
10
|
+
disableFullscreenUI?: ITextInputProps['disableFullscreenUI'];
|
|
11
|
+
disableKeyboardShortcuts?: ITextInputProps['disableKeyboardShortcuts'];
|
|
12
|
+
enablesReturnKeyAutomatically?: ITextInputProps['enablesReturnKeyAutomatically'];
|
|
13
|
+
importantForAutofill?: ITextInputProps['importantForAutofill'];
|
|
14
|
+
inlineImageLeft?: ITextInputProps['inlineImageLeft'];
|
|
15
|
+
inlineImagePadding?: ITextInputProps['inlineImagePadding'];
|
|
16
|
+
inputAccessoryViewButtonLabel?: ITextInputProps['inputAccessoryViewButtonLabel'];
|
|
17
|
+
keyboardAppearance?: ITextInputProps['keyboardAppearance'];
|
|
18
|
+
lineBreakModeIOS?: ITextInputProps['lineBreakModeIOS'];
|
|
19
|
+
lineBreakStrategyIOS?: ITextInputProps['lineBreakStrategyIOS'];
|
|
20
|
+
passwordRules?: ITextInputProps['passwordRules'];
|
|
21
|
+
returnKeyLabel?: ITextInputProps['returnKeyLabel'];
|
|
22
|
+
smartInsertDelete?: ITextInputProps['smartInsertDelete'];
|
|
23
|
+
spellCheck?: ITextInputProps['spellCheck'];
|
|
24
|
+
textBreakStrategy?: ITextInputProps['textBreakStrategy'];
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextInputNativeInputs, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextInputNativeInputs, never, never, { "caretHidden": { "alias": "caretHidden"; "required": false; }; "clearButtonMode": { "alias": "clearButtonMode"; "required": false; }; "clearTextOnFocus": { "alias": "clearTextOnFocus"; "required": false; }; "contextMenuHidden": { "alias": "contextMenuHidden"; "required": false; }; "dataDetectorTypes": { "alias": "dataDetectorTypes"; "required": false; }; "disableFullscreenUI": { "alias": "disableFullscreenUI"; "required": false; }; "disableKeyboardShortcuts": { "alias": "disableKeyboardShortcuts"; "required": false; }; "enablesReturnKeyAutomatically": { "alias": "enablesReturnKeyAutomatically"; "required": false; }; "importantForAutofill": { "alias": "importantForAutofill"; "required": false; }; "inlineImageLeft": { "alias": "inlineImageLeft"; "required": false; }; "inlineImagePadding": { "alias": "inlineImagePadding"; "required": false; }; "inputAccessoryViewButtonLabel": { "alias": "inputAccessoryViewButtonLabel"; "required": false; }; "keyboardAppearance": { "alias": "keyboardAppearance"; "required": false; }; "lineBreakModeIOS": { "alias": "lineBreakModeIOS"; "required": false; }; "lineBreakStrategyIOS": { "alias": "lineBreakStrategyIOS"; "required": false; }; "passwordRules": { "alias": "passwordRules"; "required": false; }; "returnKeyLabel": { "alias": "returnKeyLabel"; "required": false; }; "smartInsertDelete": { "alias": "smartInsertDelete"; "required": false; }; "spellCheck": { "alias": "spellCheck"; "required": false; }; "textBreakStrategy": { "alias": "textBreakStrategy"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { ValueChangeElement } from './element-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
// The inputs only one platform's native view reads, split from `TextInputElement` for file size
|
|
5
|
+
export class TextInputNativeInputs extends ValueChangeElement {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInputNativeInputs, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: TextInputNativeInputs, isStandalone: true, inputs: { caretHidden: "caretHidden", clearButtonMode: "clearButtonMode", clearTextOnFocus: "clearTextOnFocus", contextMenuHidden: "contextMenuHidden", dataDetectorTypes: "dataDetectorTypes", disableFullscreenUI: "disableFullscreenUI", disableKeyboardShortcuts: "disableKeyboardShortcuts", enablesReturnKeyAutomatically: "enablesReturnKeyAutomatically", importantForAutofill: "importantForAutofill", inlineImageLeft: "inlineImageLeft", inlineImagePadding: "inlineImagePadding", inputAccessoryViewButtonLabel: "inputAccessoryViewButtonLabel", keyboardAppearance: "keyboardAppearance", lineBreakModeIOS: "lineBreakModeIOS", lineBreakStrategyIOS: "lineBreakStrategyIOS", passwordRules: "passwordRules", returnKeyLabel: "returnKeyLabel", smartInsertDelete: "smartInsertDelete", spellCheck: "spellCheck", textBreakStrategy: "textBreakStrategy" }, usesInheritance: true, ngImport: i0 }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInputNativeInputs, decorators: [{
|
|
10
|
+
type: Directive
|
|
11
|
+
}], propDecorators: { caretHidden: [{
|
|
12
|
+
type: Input
|
|
13
|
+
}], clearButtonMode: [{
|
|
14
|
+
type: Input
|
|
15
|
+
}], clearTextOnFocus: [{
|
|
16
|
+
type: Input
|
|
17
|
+
}], contextMenuHidden: [{
|
|
18
|
+
type: Input
|
|
19
|
+
}], dataDetectorTypes: [{
|
|
20
|
+
type: Input
|
|
21
|
+
}], disableFullscreenUI: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], disableKeyboardShortcuts: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], enablesReturnKeyAutomatically: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], importantForAutofill: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], inlineImageLeft: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], inlineImagePadding: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], inputAccessoryViewButtonLabel: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], keyboardAppearance: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], lineBreakModeIOS: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], lineBreakStrategyIOS: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], passwordRules: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], returnKeyLabel: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], smartInsertDelete: [{
|
|
46
|
+
type: Input
|
|
47
|
+
}], spellCheck: [{
|
|
48
|
+
type: Input
|
|
49
|
+
}], textBreakStrategy: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}] } });
|
|
52
|
+
//# sourceMappingURL=element-text-input-native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element-text-input-native.js","sourceRoot":"","sources":["../../src/element-text-input-native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;;AAEpD,gGAAgG;AAEhG,MAAM,OAAgB,qBAAsB,SAAQ,kBAAkB;8GAAhD,qBAAqB;kGAArB,qBAAqB;;2FAArB,qBAAqB;kBAD1C,SAAS;;sBAEP,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAEL,KAAK;;sBAEL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAEL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import type { OnDestroy } from '@angular/core';
|
|
3
3
|
import { type ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import type { IActivityIndicatorProps, IInputAccessoryViewViewProps, IModalViewProps, ISwitchProps, ITextInputProps } from '@symbiote-native/components';
|
|
4
|
+
import type { IActivityIndicatorProps, IInputAccessoryViewViewProps, ILayoutConformanceMode, IModalViewProps, ISwitchProps, ITextInputProps } from '@symbiote-native/components';
|
|
5
5
|
import type { IStickyHeaderElementProps } from './element-props';
|
|
6
6
|
import type { IAngularRefreshControlProps } from './components/refresh-control-props';
|
|
7
|
+
import { TextInputNativeInputs } from './element-text-input-native';
|
|
7
8
|
import { ReadBackElement, SymbioteElement, ValueChangeElement } from './element-base';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class TextInputElement extends
|
|
10
|
+
export declare class TextInputElement extends TextInputNativeInputs {
|
|
10
11
|
value?: ITextInputProps['value'];
|
|
11
12
|
defaultValue?: ITextInputProps['defaultValue'];
|
|
12
13
|
placeholder?: ITextInputProps['placeholder'];
|
|
@@ -121,6 +122,11 @@ export declare class SafeAreaViewElement extends SymbioteElement {
|
|
|
121
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<SafeAreaViewElement, never>;
|
|
122
123
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SafeAreaViewElement, "safe-area-view", never, {}, {}, never, never, true, never>;
|
|
123
124
|
}
|
|
125
|
+
export declare class LayoutConformanceElement extends SymbioteElement {
|
|
126
|
+
mode?: ILayoutConformanceMode;
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutConformanceElement, never>;
|
|
128
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LayoutConformanceElement, "layout-conformance", never, { "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, true, never>;
|
|
129
|
+
}
|
|
124
130
|
export declare class ModalElement extends SymbioteElement {
|
|
125
131
|
visible?: IModalViewProps['visible'];
|
|
126
132
|
transparent?: IModalViewProps['transparent'];
|