@symbiote-native/angular 0.0.0-canary-20260724081123
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/LICENSE +21 -0
- package/README.md +157 -0
- package/babel-linker.cjs +7 -0
- package/babel-register-composed.cjs +127 -0
- package/bin/symbiote-angular-dev.cjs +93 -0
- package/build/angular/anchor-host-registry.d.ts +2 -0
- package/build/angular/anchor-host-registry.js +84 -0
- package/build/angular/anchor-host-registry.js.map +1 -0
- package/build/angular/bootstrap.d.ts +7 -0
- package/build/angular/bootstrap.js +15 -0
- package/build/angular/bootstrap.js.map +1 -0
- package/build/angular/components/activity-indicator/index.android.d.ts +12 -0
- package/build/angular/components/activity-indicator/index.android.js +21 -0
- package/build/angular/components/activity-indicator/index.android.js.map +1 -0
- package/build/angular/components/activity-indicator/index.d.ts +1 -0
- package/build/angular/components/activity-indicator/index.ios.d.ts +8 -0
- package/build/angular/components/activity-indicator/index.ios.js +21 -0
- package/build/angular/components/activity-indicator/index.ios.js.map +1 -0
- package/build/angular/components/activity-indicator/index.js +4 -0
- package/build/angular/components/activity-indicator/index.js.map +1 -0
- package/build/angular/components/activity-indicator/shared.d.ts +67 -0
- package/build/angular/components/activity-indicator/shared.js +260 -0
- package/build/angular/components/activity-indicator/shared.js.map +1 -0
- package/build/angular/components/button.d.ts +63 -0
- package/build/angular/components/button.js +332 -0
- package/build/angular/components/button.js.map +1 -0
- package/build/angular/components/flat-list/index.d.ts +122 -0
- package/build/angular/components/flat-list/index.js +688 -0
- package/build/angular/components/flat-list/index.js.map +1 -0
- package/build/angular/components/image/index.android.d.ts +10 -0
- package/build/angular/components/image/index.android.js +59 -0
- package/build/angular/components/image/index.android.js.map +1 -0
- package/build/angular/components/image/index.d.ts +1 -0
- package/build/angular/components/image/index.ios.d.ts +10 -0
- package/build/angular/components/image/index.ios.js +59 -0
- package/build/angular/components/image/index.ios.js.map +1 -0
- package/build/angular/components/image/index.js +3 -0
- package/build/angular/components/image/index.js.map +1 -0
- package/build/angular/components/image/shared.d.ts +101 -0
- package/build/angular/components/image/shared.js +406 -0
- package/build/angular/components/image/shared.js.map +1 -0
- package/build/angular/components/image-background.d.ts +81 -0
- package/build/angular/components/image-background.js +418 -0
- package/build/angular/components/image-background.js.map +1 -0
- package/build/angular/components/input-accessory-view/index.d.ts +60 -0
- package/build/angular/components/input-accessory-view/index.js +251 -0
- package/build/angular/components/input-accessory-view/index.js.map +1 -0
- package/build/angular/components/keyboard-avoiding-view/index.d.ts +82 -0
- package/build/angular/components/keyboard-avoiding-view/index.js +358 -0
- package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -0
- package/build/angular/components/modal/index.d.ts +92 -0
- package/build/angular/components/modal/index.js +360 -0
- package/build/angular/components/modal/index.js.map +1 -0
- package/build/angular/components/pressable/index.d.ts +123 -0
- package/build/angular/components/pressable/index.js +420 -0
- package/build/angular/components/pressable/index.js.map +1 -0
- package/build/angular/components/refresh-control/index.d.ts +86 -0
- package/build/angular/components/refresh-control/index.js +342 -0
- package/build/angular/components/refresh-control/index.js.map +1 -0
- package/build/angular/components/safe-area-view/index.d.ts +57 -0
- package/build/angular/components/safe-area-view/index.js +248 -0
- package/build/angular/components/safe-area-view/index.js.map +1 -0
- package/build/angular/components/scroll-view/index.android.d.ts +21 -0
- package/build/angular/components/scroll-view/index.android.js +235 -0
- package/build/angular/components/scroll-view/index.android.js.map +1 -0
- package/build/angular/components/scroll-view/index.d.ts +3 -0
- package/build/angular/components/scroll-view/index.ios.d.ts +9 -0
- package/build/angular/components/scroll-view/index.ios.js +86 -0
- package/build/angular/components/scroll-view/index.ios.js.map +1 -0
- package/build/angular/components/scroll-view/index.js +6 -0
- package/build/angular/components/scroll-view/index.js.map +1 -0
- package/build/angular/components/scroll-view/projection.d.ts +32 -0
- package/build/angular/components/scroll-view/projection.js +334 -0
- package/build/angular/components/scroll-view/projection.js.map +1 -0
- package/build/angular/components/scroll-view/shared.d.ts +230 -0
- package/build/angular/components/scroll-view/shared.js +682 -0
- package/build/angular/components/scroll-view/shared.js.map +1 -0
- package/build/angular/components/scroll-view/sticky-header.d.ts +40 -0
- package/build/angular/components/scroll-view/sticky-header.js +225 -0
- package/build/angular/components/scroll-view/sticky-header.js.map +1 -0
- package/build/angular/components/section-list/index.d.ts +116 -0
- package/build/angular/components/section-list/index.js +641 -0
- package/build/angular/components/section-list/index.js.map +1 -0
- package/build/angular/components/switch/index.android.d.ts +20 -0
- package/build/angular/components/switch/index.android.js +70 -0
- package/build/angular/components/switch/index.android.js.map +1 -0
- package/build/angular/components/switch/index.d.ts +1 -0
- package/build/angular/components/switch/index.ios.d.ts +19 -0
- package/build/angular/components/switch/index.ios.js +69 -0
- package/build/angular/components/switch/index.ios.js.map +1 -0
- package/build/angular/components/switch/index.js +4 -0
- package/build/angular/components/switch/index.js.map +1 -0
- package/build/angular/components/switch/shared.d.ts +40 -0
- package/build/angular/components/switch/shared.js +127 -0
- package/build/angular/components/switch/shared.js.map +1 -0
- package/build/angular/components/text-input.d.ts +153 -0
- package/build/angular/components/text-input.js +599 -0
- package/build/angular/components/text-input.js.map +1 -0
- package/build/angular/components/touchable/index.d.ts +245 -0
- package/build/angular/components/touchable/index.js +1186 -0
- package/build/angular/components/touchable/index.js.map +1 -0
- package/build/angular/components/touchable-native-feedback/index.d.ts +83 -0
- package/build/angular/components/touchable-native-feedback/index.js +371 -0
- package/build/angular/components/touchable-native-feedback/index.js.map +1 -0
- package/build/angular/components/virtualized-list/directives.d.ts +54 -0
- package/build/angular/components/virtualized-list/directives.js +153 -0
- package/build/angular/components/virtualized-list/directives.js.map +1 -0
- package/build/angular/components/virtualized-list/index.d.ts +253 -0
- package/build/angular/components/virtualized-list/index.js +1031 -0
- package/build/angular/components/virtualized-list/index.js.map +1 -0
- package/build/angular/components/virtualized-section-list/directives.d.ts +37 -0
- package/build/angular/components/virtualized-section-list/directives.js +76 -0
- package/build/angular/components/virtualized-section-list/directives.js.map +1 -0
- package/build/angular/components/virtualized-section-list/index.d.ts +178 -0
- package/build/angular/components/virtualized-section-list/index.js +720 -0
- package/build/angular/components/virtualized-section-list/index.js.map +1 -0
- package/build/angular/components.d.ts +39 -0
- package/build/angular/components.js +38 -0
- package/build/angular/components.js.map +1 -0
- package/build/angular/create-portal/index.d.ts +22 -0
- package/build/angular/create-portal/index.js +74 -0
- package/build/angular/create-portal/index.js.map +1 -0
- package/build/angular/create-tunnel/index.d.ts +34 -0
- package/build/angular/create-tunnel/index.js +126 -0
- package/build/angular/create-tunnel/index.js.map +1 -0
- package/build/angular/descriptor-to-angular/index.d.ts +22 -0
- package/build/angular/descriptor-to-angular/index.js +142 -0
- package/build/angular/descriptor-to-angular/index.js.map +1 -0
- package/build/angular/host-instance/index.d.ts +2 -0
- package/build/angular/host-instance/index.js +37 -0
- package/build/angular/host-instance/index.js.map +1 -0
- package/build/angular/index.d.ts +22 -0
- package/build/angular/index.js +46 -0
- package/build/angular/index.js.map +1 -0
- package/build/angular/modules/animated/animated-leaf-binder/index.d.ts +14 -0
- package/build/angular/modules/animated/animated-leaf-binder/index.js +91 -0
- package/build/angular/modules/animated/animated-leaf-binder/index.js.map +1 -0
- package/build/angular/modules/animated/animated-leaf-binder.d.ts +14 -0
- package/build/angular/modules/animated/animated-leaf-binder.js +91 -0
- package/build/angular/modules/animated/animated-leaf-binder.js.map +1 -0
- package/build/angular/modules/animated/create-animated-component.d.ts +59 -0
- package/build/angular/modules/animated/create-animated-component.js +364 -0
- package/build/angular/modules/animated/create-animated-component.js.map +1 -0
- package/build/angular/modules/animated/index.d.ts +51 -0
- package/build/angular/modules/animated/index.js +59 -0
- package/build/angular/modules/animated/index.js.map +1 -0
- package/build/angular/modules/app-registry/index.d.ts +7 -0
- package/build/angular/modules/app-registry/index.js +23 -0
- package/build/angular/modules/app-registry/index.js.map +1 -0
- package/build/angular/modules/status-bar/index.d.ts +20 -0
- package/build/angular/modules/status-bar/index.js +59 -0
- package/build/angular/modules/status-bar/index.js.map +1 -0
- package/build/angular/primitives/index.d.ts +63 -0
- package/build/angular/primitives/index.js +189 -0
- package/build/angular/primitives/index.js.map +1 -0
- package/build/angular/primitives/shared.d.ts +88 -0
- package/build/angular/primitives/shared.js +171 -0
- package/build/angular/primitives/shared.js.map +1 -0
- package/build/angular/render/index.d.ts +11 -0
- package/build/angular/render/index.js +171 -0
- package/build/angular/render/index.js.map +1 -0
- package/build/angular/renderer/index.d.ts +37 -0
- package/build/angular/renderer/index.js +301 -0
- package/build/angular/renderer/index.js.map +1 -0
- package/build/angular/services/color-scheme.service.d.ts +16 -0
- package/build/angular/services/color-scheme.service.js +31 -0
- package/build/angular/services/color-scheme.service.js.map +1 -0
- package/build/angular/services/index.d.ts +2 -0
- package/build/angular/services/index.js +3 -0
- package/build/angular/services/index.js.map +1 -0
- package/build/angular/services/window-dimensions.service.d.ts +16 -0
- package/build/angular/services/window-dimensions.service.js +42 -0
- package/build/angular/services/window-dimensions.service.js.map +1 -0
- package/metro-config.cjs +48 -0
- package/metro-css-parser.cjs +13 -0
- package/package.json +80 -0
- package/src/__tests__/responder-change-detection.test.ts +102 -0
- package/src/__tests__/responder-nested-cd.test.ts +113 -0
- package/src/anchor-host-registry.ts +88 -0
- package/src/angular-gaps.test.ts +142 -0
- package/src/angular-imports.test.ts +100 -0
- package/src/bootstrap.ts +26 -0
- package/src/components/activity-indicator/activity-indicator-class-style.test.ts +44 -0
- package/src/components/activity-indicator/activity-indicator.test.ts +131 -0
- package/src/components/activity-indicator/index.android.ts +16 -0
- package/src/components/activity-indicator/index.ios.ts +17 -0
- package/src/components/activity-indicator/index.ts +4 -0
- package/src/components/activity-indicator/shared.ts +206 -0
- package/src/components/button.ts +193 -0
- package/src/components/flat-list/column-wrapper-style-class.test.ts +116 -0
- package/src/components/flat-list/flat-list-array-style.test.ts +131 -0
- package/src/components/flat-list/flat-list-class-style.test.ts +74 -0
- package/src/components/flat-list/flat-list-scroll-containment.test.ts +107 -0
- package/src/components/flat-list/flat-list.test.ts +99 -0
- package/src/components/flat-list/index.ts +574 -0
- package/src/components/image/image-class-style.test.ts +46 -0
- package/src/components/image/index.android.ts +48 -0
- package/src/components/image/index.ios.ts +48 -0
- package/src/components/image/index.ts +3 -0
- package/src/components/image/shared.ts +479 -0
- package/src/components/image-background-class-style.test.ts +48 -0
- package/src/components/image-background-style-class.test.ts +79 -0
- package/src/components/image-background.ts +270 -0
- package/src/components/input-accessory-view/index.ts +185 -0
- package/src/components/input-accessory-view/input-accessory-view.test.ts +43 -0
- package/src/components/keyboard-avoiding-view/index.ts +303 -0
- package/src/components/keyboard-avoiding-view/keyboard-avoiding-view.test.ts +54 -0
- package/src/components/modal/index.ts +299 -0
- package/src/components/modal/modal.test.ts +43 -0
- package/src/components/pressable/index.ts +373 -0
- package/src/components/pressable/pressable.test.ts +85 -0
- package/src/components/refresh-control/index.ts +284 -0
- package/src/components/refresh-control/refresh-control.test.ts +41 -0
- package/src/components/safe-area-view/index.ts +177 -0
- package/src/components/safe-area-view/safe-area-view.test.ts +43 -0
- package/src/components/scroll-view/android-scroll-view-axis-projection.test.ts +123 -0
- package/src/components/scroll-view/content-container-style-class.test.ts +75 -0
- package/src/components/scroll-view/index.android.ts +190 -0
- package/src/components/scroll-view/index.ios.ts +79 -0
- package/src/components/scroll-view/index.ts +7 -0
- package/src/components/scroll-view/projection.ts +414 -0
- package/src/components/scroll-view/scroll-view-class-style.test.ts +134 -0
- package/src/components/scroll-view/scroll-view-projection.test.ts +194 -0
- package/src/components/scroll-view/shared.ts +844 -0
- package/src/components/scroll-view/sticky-header.ts +255 -0
- package/src/components/section-list/index.ts +445 -0
- package/src/components/switch/android-switch-class.test.ts +42 -0
- package/src/components/switch/index.android.ts +61 -0
- package/src/components/switch/index.ios.ts +60 -0
- package/src/components/switch/index.ts +4 -0
- package/src/components/switch/shared.ts +197 -0
- package/src/components/switch/switch.test.ts +92 -0
- package/src/components/text-input-class-style.test.ts +54 -0
- package/src/components/text-input.ts +531 -0
- package/src/components/touchable/index.ts +629 -0
- package/src/components/touchable/touchable.test.ts +102 -0
- package/src/components/touchable-native-feedback/index.ts +254 -0
- package/src/components/touchable-native-feedback/touchable-native-feedback.test.ts +49 -0
- package/src/components/virtualized-list/directives.ts +168 -0
- package/src/components/virtualized-list/index.ts +992 -0
- package/src/components/virtualized-list/virtualized-list-class-style.test.ts +76 -0
- package/src/components/virtualized-section-list/directives.ts +90 -0
- package/src/components/virtualized-section-list/index.ts +601 -0
- package/src/components/virtualized-section-list/virtualized-section-list-class-style.test.ts +60 -0
- package/src/components.ts +149 -0
- package/src/create-portal/create-portal.test.ts +90 -0
- package/src/create-portal/index.ts +74 -0
- package/src/create-tunnel/create-tunnel.test.ts +120 -0
- package/src/create-tunnel/index.ts +136 -0
- package/src/descriptor-to-angular/descriptor-outlet.test.ts +94 -0
- package/src/descriptor-to-angular/index.ts +190 -0
- package/src/host-instance/host-instance.test.ts +49 -0
- package/src/host-instance/index.ts +36 -0
- package/src/index.ts +261 -0
- package/src/modules/animated/animated-leaf-binder/animated-leaf-binder.test.ts +116 -0
- package/src/modules/animated/animated-leaf-binder/index.ts +101 -0
- package/src/modules/animated/animated-leaf-binder.test.ts +116 -0
- package/src/modules/animated/animated-leaf-binder.ts +101 -0
- package/src/modules/animated/animated-scroll-view.test.ts +102 -0
- package/src/modules/animated/create-animated-component.ts +365 -0
- package/src/modules/animated/index.ts +105 -0
- package/src/modules/app-registry/app-registry.test.ts +106 -0
- package/src/modules/app-registry/index.ts +60 -0
- package/src/modules/status-bar/index.ts +57 -0
- package/src/modules/status-bar/status-bar.test.ts +50 -0
- package/src/primitives/index.ts +119 -0
- package/src/primitives/shared.ts +190 -0
- package/src/render/index.ts +235 -0
- package/src/render/render.test.ts +147 -0
- package/src/renderer/index.ts +347 -0
- package/src/renderer/renderer.test.ts +203 -0
- package/src/services/color-scheme.service.ts +27 -0
- package/src/services/index.ts +2 -0
- package/src/services/services.test.ts +163 -0
- package/src/services/window-dimensions.service.ts +41 -0
- package/tsconfig.angular.base.json +30 -0
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
// ImageBackground: the Angular lifecycle half. ImageBackground has NO native host of its own —
|
|
2
|
+
// it composes an outer View, an absolute-fill Image behind the user children, and the children
|
|
3
|
+
// on top. The composition math (the absolute-fill, the wrapper-dimension proxy onto the inner
|
|
4
|
+
// image, the imageStyle merge) lives framework-agnostic in @symbiote-native/components/renderImageBackground
|
|
5
|
+
// and is shared verbatim with React/Vue. React/Vue bridge the Descriptor it returns; Angular has
|
|
6
|
+
// no hyperscript bridge, so it composes with a TEMPLATE instead and reuses renderImageBackground
|
|
7
|
+
// ONLY to compute the inner image's merged style (read off the tree it returns) — the math stays
|
|
8
|
+
// shared, never reimplemented. The inner <Image> is the adapter's own Image component, which owns
|
|
9
|
+
// source resolution / a11y folding / event emission; ImageBackground forwards every Image prop onto
|
|
10
|
+
// it. `style` is the WRAPPER View style; `imageStyle` targets the inner image. Children paint AFTER
|
|
11
|
+
// the image (on top) via <ng-content>. The Angular twin of the React/Vue ImageBackground.
|
|
12
|
+
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, inject, Input, Output, } from '@angular/core';
|
|
13
|
+
import { renderImageBackground, resolveAccessibilityProps, } from '@symbiote-native/components';
|
|
14
|
+
import { resolveClassName, } from '@symbiote-native/engine';
|
|
15
|
+
import { Image } from './image';
|
|
16
|
+
import { anchorHostStyle, ViewHost } from '../primitives';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
export class ImageBackground {
|
|
19
|
+
// The inner <Image>'s events as real Angular events, re-emitted verbatim through
|
|
20
|
+
// ImageBackground's own outputs: `(load)="load.emit($event)"`, not `[onLoad]="onLoad"`.
|
|
21
|
+
accessibilityAction = new EventEmitter();
|
|
22
|
+
accessibilityTap = new EventEmitter();
|
|
23
|
+
magicTap = new EventEmitter();
|
|
24
|
+
accessibilityEscape = new EventEmitter();
|
|
25
|
+
loadStart = new EventEmitter();
|
|
26
|
+
load = new EventEmitter();
|
|
27
|
+
loadEnd = new EventEmitter();
|
|
28
|
+
error = new EventEmitter();
|
|
29
|
+
progress = new EventEmitter();
|
|
30
|
+
partialLoad = new EventEmitter();
|
|
31
|
+
source;
|
|
32
|
+
defaultSource;
|
|
33
|
+
loadingIndicatorSource;
|
|
34
|
+
style;
|
|
35
|
+
imageStyleValue;
|
|
36
|
+
resizeMode;
|
|
37
|
+
resizeMethod;
|
|
38
|
+
tintColor;
|
|
39
|
+
blurRadius;
|
|
40
|
+
capInsets;
|
|
41
|
+
fadeDuration;
|
|
42
|
+
progressiveRenderingEnabled;
|
|
43
|
+
src;
|
|
44
|
+
srcSet;
|
|
45
|
+
alt;
|
|
46
|
+
width;
|
|
47
|
+
height;
|
|
48
|
+
crossOrigin;
|
|
49
|
+
referrerPolicy;
|
|
50
|
+
testID;
|
|
51
|
+
nativeID;
|
|
52
|
+
accessible;
|
|
53
|
+
accessibilityLabel;
|
|
54
|
+
accessibilityHint;
|
|
55
|
+
accessibilityRole;
|
|
56
|
+
accessibilityState;
|
|
57
|
+
accessibilityValue;
|
|
58
|
+
accessibilityActions;
|
|
59
|
+
accessibilityLabelledBy;
|
|
60
|
+
importantForAccessibility;
|
|
61
|
+
accessibilityLiveRegion;
|
|
62
|
+
screenReaderFocusable;
|
|
63
|
+
accessibilityViewIsModal;
|
|
64
|
+
accessibilityElementsHidden;
|
|
65
|
+
accessibilityIgnoresInvertColors;
|
|
66
|
+
accessibilityLanguage;
|
|
67
|
+
accessibilityRespondsToUserInteraction;
|
|
68
|
+
accessibilityShowsLargeContentViewer;
|
|
69
|
+
accessibilityLargeContentTitle;
|
|
70
|
+
role;
|
|
71
|
+
ariaLabel;
|
|
72
|
+
ariaLabelledBy;
|
|
73
|
+
ariaLive;
|
|
74
|
+
ariaHidden;
|
|
75
|
+
ariaBusy;
|
|
76
|
+
ariaChecked;
|
|
77
|
+
ariaDisabled;
|
|
78
|
+
ariaExpanded;
|
|
79
|
+
ariaSelected;
|
|
80
|
+
ariaModal;
|
|
81
|
+
ariaValueMax;
|
|
82
|
+
ariaValueMin;
|
|
83
|
+
ariaValueNow;
|
|
84
|
+
ariaValueText;
|
|
85
|
+
// This component's OWN host — the non-painting anchor `class="..."` at the use site resolves
|
|
86
|
+
// onto (see anchorHostStyle's doc comment) — NOT the inner `symbiote-view [style]="wrapperStyle"`
|
|
87
|
+
// one level down. Merged FIRST so the explicit `style` @Input still wins (flattenStyle's
|
|
88
|
+
// later-wins collapse), mirroring every other composed component's anchor merge. `imageStyle`
|
|
89
|
+
// below stays untouched per the ImageBackground-specific nuance: it targets the inner image, not
|
|
90
|
+
// this component's own root.
|
|
91
|
+
elementRef = inject(ElementRef);
|
|
92
|
+
get wrapperStyle() {
|
|
93
|
+
return [anchorHostStyle(this.elementRef), this.style];
|
|
94
|
+
}
|
|
95
|
+
// renderImageBackground owns the absolute-fill + wrapper-dimension-proxy + imageStyle merge
|
|
96
|
+
// (shared verbatim with React/Vue); read the inner image Descriptor's style off the tree it
|
|
97
|
+
// returns rather than reimplementing it. Only style/imageStyle drive that merge, so the image
|
|
98
|
+
// bag is empty here — the inner <Image> below resolves source / a11y / events on its own.
|
|
99
|
+
get imageStyle() {
|
|
100
|
+
// imageStyle targets the INNER image (renderImageBackground's own field); resolve a
|
|
101
|
+
// class-name string here, before it flows into the merge.
|
|
102
|
+
const resolvedImageStyleValue = typeof this.imageStyleValue === 'string'
|
|
103
|
+
? resolveClassName(this.imageStyleValue)
|
|
104
|
+
: this.imageStyleValue;
|
|
105
|
+
const inner = renderImageBackground({
|
|
106
|
+
style: this.style,
|
|
107
|
+
imageStyle: resolvedImageStyleValue,
|
|
108
|
+
image: { passthrough: {} },
|
|
109
|
+
}).children[0];
|
|
110
|
+
return typeof inner === 'string'
|
|
111
|
+
? undefined
|
|
112
|
+
: inner.props.style;
|
|
113
|
+
}
|
|
114
|
+
// Fold the web aria-*/role aliases into the canonical accessibility* props once per render, so the
|
|
115
|
+
// inner image never sees an aria-* key (native ignores them) — the shared transform every adapter
|
|
116
|
+
// runs. The inner <Image> re-runs the same fold idempotently over the already-folded props.
|
|
117
|
+
get folded() {
|
|
118
|
+
return resolveAccessibilityProps({
|
|
119
|
+
accessibilityLabel: this.accessibilityLabel,
|
|
120
|
+
accessibilityHint: this.accessibilityHint,
|
|
121
|
+
accessibilityRole: this.accessibilityRole,
|
|
122
|
+
accessibilityState: this.accessibilityState,
|
|
123
|
+
accessibilityValue: this.accessibilityValue,
|
|
124
|
+
accessibilityActions: this.accessibilityActions,
|
|
125
|
+
accessibilityLabelledBy: this.accessibilityLabelledBy,
|
|
126
|
+
importantForAccessibility: this.importantForAccessibility,
|
|
127
|
+
accessibilityLiveRegion: this.accessibilityLiveRegion,
|
|
128
|
+
screenReaderFocusable: this.screenReaderFocusable,
|
|
129
|
+
accessibilityViewIsModal: this.accessibilityViewIsModal,
|
|
130
|
+
accessibilityElementsHidden: this.accessibilityElementsHidden,
|
|
131
|
+
accessibilityIgnoresInvertColors: this.accessibilityIgnoresInvertColors,
|
|
132
|
+
accessibilityLanguage: this.accessibilityLanguage,
|
|
133
|
+
accessibilityRespondsToUserInteraction: this.accessibilityRespondsToUserInteraction,
|
|
134
|
+
accessibilityShowsLargeContentViewer: this.accessibilityShowsLargeContentViewer,
|
|
135
|
+
accessibilityLargeContentTitle: this.accessibilityLargeContentTitle,
|
|
136
|
+
role: this.role,
|
|
137
|
+
'aria-label': this.ariaLabel,
|
|
138
|
+
'aria-labelledby': this.ariaLabelledBy,
|
|
139
|
+
'aria-live': this.ariaLive,
|
|
140
|
+
'aria-hidden': this.ariaHidden,
|
|
141
|
+
'aria-busy': this.ariaBusy,
|
|
142
|
+
'aria-checked': this.ariaChecked,
|
|
143
|
+
'aria-disabled': this.ariaDisabled,
|
|
144
|
+
'aria-expanded': this.ariaExpanded,
|
|
145
|
+
'aria-selected': this.ariaSelected,
|
|
146
|
+
'aria-modal': this.ariaModal,
|
|
147
|
+
'aria-valuemax': this.ariaValueMax,
|
|
148
|
+
'aria-valuemin': this.ariaValueMin,
|
|
149
|
+
'aria-valuenow': this.ariaValueNow,
|
|
150
|
+
'aria-valuetext': this.ariaValueText,
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ImageBackground, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
154
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: ImageBackground, isStandalone: true, selector: "ImageBackground", inputs: { source: "source", defaultSource: "defaultSource", loadingIndicatorSource: "loadingIndicatorSource", style: "style", imageStyleValue: ["imageStyle", "imageStyleValue"], resizeMode: "resizeMode", resizeMethod: "resizeMethod", tintColor: "tintColor", blurRadius: "blurRadius", capInsets: "capInsets", fadeDuration: "fadeDuration", progressiveRenderingEnabled: "progressiveRenderingEnabled", src: "src", srcSet: "srcSet", alt: "alt", width: "width", height: "height", crossOrigin: "crossOrigin", referrerPolicy: "referrerPolicy", testID: "testID", nativeID: "nativeID", 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", role: "role", ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledBy: ["aria-labelledby", "ariaLabelledBy"], ariaLive: ["aria-live", "ariaLive"], ariaHidden: ["aria-hidden", "ariaHidden"], ariaBusy: ["aria-busy", "ariaBusy"], ariaChecked: ["aria-checked", "ariaChecked"], ariaDisabled: ["aria-disabled", "ariaDisabled"], ariaExpanded: ["aria-expanded", "ariaExpanded"], ariaSelected: ["aria-selected", "ariaSelected"], ariaModal: ["aria-modal", "ariaModal"], ariaValueMax: ["aria-valuemax", "ariaValueMax"], ariaValueMin: ["aria-valuemin", "ariaValueMin"], ariaValueNow: ["aria-valuenow", "ariaValueNow"], ariaValueText: ["aria-valuetext", "ariaValueText"] }, outputs: { accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape", loadStart: "loadStart", load: "load", loadEnd: "loadEnd", error: "error", progress: "progress", partialLoad: "partialLoad" }, ngImport: i0, template: `
|
|
155
|
+
<symbiote-view [style]="wrapperStyle">
|
|
156
|
+
<Image
|
|
157
|
+
[source]="source"
|
|
158
|
+
[defaultSource]="defaultSource"
|
|
159
|
+
[loadingIndicatorSource]="loadingIndicatorSource"
|
|
160
|
+
[style]="imageStyle"
|
|
161
|
+
[resizeMode]="resizeMode"
|
|
162
|
+
[resizeMethod]="resizeMethod"
|
|
163
|
+
[tintColor]="tintColor"
|
|
164
|
+
[blurRadius]="blurRadius"
|
|
165
|
+
[capInsets]="capInsets"
|
|
166
|
+
[fadeDuration]="fadeDuration"
|
|
167
|
+
[progressiveRenderingEnabled]="progressiveRenderingEnabled"
|
|
168
|
+
[src]="src"
|
|
169
|
+
[srcSet]="srcSet"
|
|
170
|
+
[alt]="alt"
|
|
171
|
+
[width]="width"
|
|
172
|
+
[height]="height"
|
|
173
|
+
[crossOrigin]="crossOrigin"
|
|
174
|
+
[referrerPolicy]="referrerPolicy"
|
|
175
|
+
[testID]="testID"
|
|
176
|
+
[nativeID]="nativeID"
|
|
177
|
+
[accessible]="accessible"
|
|
178
|
+
[accessibilityLabel]="folded.accessibilityLabel"
|
|
179
|
+
[accessibilityHint]="folded.accessibilityHint"
|
|
180
|
+
[accessibilityRole]="folded.accessibilityRole"
|
|
181
|
+
[accessibilityState]="folded.accessibilityState"
|
|
182
|
+
[accessibilityValue]="folded.accessibilityValue"
|
|
183
|
+
[accessibilityActions]="folded.accessibilityActions"
|
|
184
|
+
[accessibilityLabelledBy]="folded.accessibilityLabelledBy"
|
|
185
|
+
[importantForAccessibility]="folded.importantForAccessibility"
|
|
186
|
+
[accessibilityLiveRegion]="folded.accessibilityLiveRegion"
|
|
187
|
+
[screenReaderFocusable]="folded.screenReaderFocusable"
|
|
188
|
+
[accessibilityViewIsModal]="folded.accessibilityViewIsModal"
|
|
189
|
+
[accessibilityElementsHidden]="folded.accessibilityElementsHidden"
|
|
190
|
+
[accessibilityIgnoresInvertColors]="folded.accessibilityIgnoresInvertColors"
|
|
191
|
+
[accessibilityLanguage]="folded.accessibilityLanguage"
|
|
192
|
+
[accessibilityRespondsToUserInteraction]="folded.accessibilityRespondsToUserInteraction"
|
|
193
|
+
[accessibilityShowsLargeContentViewer]="folded.accessibilityShowsLargeContentViewer"
|
|
194
|
+
[accessibilityLargeContentTitle]="folded.accessibilityLargeContentTitle"
|
|
195
|
+
(loadStart)="loadStart.emit($event)"
|
|
196
|
+
(load)="load.emit($event)"
|
|
197
|
+
(loadEnd)="loadEnd.emit($event)"
|
|
198
|
+
(error)="error.emit($event)"
|
|
199
|
+
(progress)="progress.emit($event)"
|
|
200
|
+
(partialLoad)="partialLoad.emit($event)"
|
|
201
|
+
(accessibilityAction)="accessibilityAction.emit($event)"
|
|
202
|
+
(accessibilityTap)="accessibilityTap.emit($event)"
|
|
203
|
+
(magicTap)="magicTap.emit($event)"
|
|
204
|
+
(accessibilityEscape)="accessibilityEscape.emit($event)"
|
|
205
|
+
/>
|
|
206
|
+
<ng-content></ng-content>
|
|
207
|
+
</symbiote-view>
|
|
208
|
+
`, isInline: true, dependencies: [{ kind: "component", type: Image, selector: "Image", inputs: ["source", "defaultSource", "loadingIndicatorSource", "style", "resizeMode", "resizeMethod", "tintColor", "blurRadius", "capInsets", "fadeDuration", "progressiveRenderingEnabled", "src", "srcSet", "alt", "width", "height", "crossOrigin", "referrerPolicy", "testID", "nativeID", "accessible", "accessibilityLabel", "accessibilityHint", "accessibilityRole", "accessibilityState", "accessibilityValue", "accessibilityActions", "accessibilityLabelledBy", "importantForAccessibility", "accessibilityLiveRegion", "screenReaderFocusable", "accessibilityViewIsModal", "accessibilityElementsHidden", "accessibilityIgnoresInvertColors", "accessibilityLanguage", "accessibilityRespondsToUserInteraction", "accessibilityShowsLargeContentViewer", "accessibilityLargeContentTitle", "role", "aria-label", "aria-labelledby", "aria-live", "aria-hidden", "aria-busy", "aria-checked", "aria-disabled", "aria-expanded", "aria-selected", "aria-modal", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "onAccessibilityAction", "onAccessibilityTap", "onMagicTap", "onAccessibilityEscape", "onLoadStart", "onLoad", "onLoadEnd", "onError", "onProgress", "onPartialLoad"], outputs: ["accessibilityAction", "accessibilityTap", "magicTap", "accessibilityEscape", "loadStart", "load", "loadEnd", "error", "progress", "partialLoad"] }, { kind: "component", type: ViewHost, selector: "symbiote-view, View" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
209
|
+
}
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ImageBackground, decorators: [{
|
|
211
|
+
type: Component,
|
|
212
|
+
args: [{
|
|
213
|
+
selector: 'ImageBackground',
|
|
214
|
+
standalone: true,
|
|
215
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
216
|
+
imports: [Image, ViewHost],
|
|
217
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
218
|
+
template: `
|
|
219
|
+
<symbiote-view [style]="wrapperStyle">
|
|
220
|
+
<Image
|
|
221
|
+
[source]="source"
|
|
222
|
+
[defaultSource]="defaultSource"
|
|
223
|
+
[loadingIndicatorSource]="loadingIndicatorSource"
|
|
224
|
+
[style]="imageStyle"
|
|
225
|
+
[resizeMode]="resizeMode"
|
|
226
|
+
[resizeMethod]="resizeMethod"
|
|
227
|
+
[tintColor]="tintColor"
|
|
228
|
+
[blurRadius]="blurRadius"
|
|
229
|
+
[capInsets]="capInsets"
|
|
230
|
+
[fadeDuration]="fadeDuration"
|
|
231
|
+
[progressiveRenderingEnabled]="progressiveRenderingEnabled"
|
|
232
|
+
[src]="src"
|
|
233
|
+
[srcSet]="srcSet"
|
|
234
|
+
[alt]="alt"
|
|
235
|
+
[width]="width"
|
|
236
|
+
[height]="height"
|
|
237
|
+
[crossOrigin]="crossOrigin"
|
|
238
|
+
[referrerPolicy]="referrerPolicy"
|
|
239
|
+
[testID]="testID"
|
|
240
|
+
[nativeID]="nativeID"
|
|
241
|
+
[accessible]="accessible"
|
|
242
|
+
[accessibilityLabel]="folded.accessibilityLabel"
|
|
243
|
+
[accessibilityHint]="folded.accessibilityHint"
|
|
244
|
+
[accessibilityRole]="folded.accessibilityRole"
|
|
245
|
+
[accessibilityState]="folded.accessibilityState"
|
|
246
|
+
[accessibilityValue]="folded.accessibilityValue"
|
|
247
|
+
[accessibilityActions]="folded.accessibilityActions"
|
|
248
|
+
[accessibilityLabelledBy]="folded.accessibilityLabelledBy"
|
|
249
|
+
[importantForAccessibility]="folded.importantForAccessibility"
|
|
250
|
+
[accessibilityLiveRegion]="folded.accessibilityLiveRegion"
|
|
251
|
+
[screenReaderFocusable]="folded.screenReaderFocusable"
|
|
252
|
+
[accessibilityViewIsModal]="folded.accessibilityViewIsModal"
|
|
253
|
+
[accessibilityElementsHidden]="folded.accessibilityElementsHidden"
|
|
254
|
+
[accessibilityIgnoresInvertColors]="folded.accessibilityIgnoresInvertColors"
|
|
255
|
+
[accessibilityLanguage]="folded.accessibilityLanguage"
|
|
256
|
+
[accessibilityRespondsToUserInteraction]="folded.accessibilityRespondsToUserInteraction"
|
|
257
|
+
[accessibilityShowsLargeContentViewer]="folded.accessibilityShowsLargeContentViewer"
|
|
258
|
+
[accessibilityLargeContentTitle]="folded.accessibilityLargeContentTitle"
|
|
259
|
+
(loadStart)="loadStart.emit($event)"
|
|
260
|
+
(load)="load.emit($event)"
|
|
261
|
+
(loadEnd)="loadEnd.emit($event)"
|
|
262
|
+
(error)="error.emit($event)"
|
|
263
|
+
(progress)="progress.emit($event)"
|
|
264
|
+
(partialLoad)="partialLoad.emit($event)"
|
|
265
|
+
(accessibilityAction)="accessibilityAction.emit($event)"
|
|
266
|
+
(accessibilityTap)="accessibilityTap.emit($event)"
|
|
267
|
+
(magicTap)="magicTap.emit($event)"
|
|
268
|
+
(accessibilityEscape)="accessibilityEscape.emit($event)"
|
|
269
|
+
/>
|
|
270
|
+
<ng-content></ng-content>
|
|
271
|
+
</symbiote-view>
|
|
272
|
+
`,
|
|
273
|
+
}]
|
|
274
|
+
}], propDecorators: { accessibilityAction: [{
|
|
275
|
+
type: Output
|
|
276
|
+
}], accessibilityTap: [{
|
|
277
|
+
type: Output
|
|
278
|
+
}], magicTap: [{
|
|
279
|
+
type: Output
|
|
280
|
+
}], accessibilityEscape: [{
|
|
281
|
+
type: Output
|
|
282
|
+
}], loadStart: [{
|
|
283
|
+
type: Output
|
|
284
|
+
}], load: [{
|
|
285
|
+
type: Output
|
|
286
|
+
}], loadEnd: [{
|
|
287
|
+
type: Output
|
|
288
|
+
}], error: [{
|
|
289
|
+
type: Output
|
|
290
|
+
}], progress: [{
|
|
291
|
+
type: Output
|
|
292
|
+
}], partialLoad: [{
|
|
293
|
+
type: Output
|
|
294
|
+
}], source: [{
|
|
295
|
+
type: Input
|
|
296
|
+
}], defaultSource: [{
|
|
297
|
+
type: Input
|
|
298
|
+
}], loadingIndicatorSource: [{
|
|
299
|
+
type: Input
|
|
300
|
+
}], style: [{
|
|
301
|
+
type: Input
|
|
302
|
+
}], imageStyleValue: [{
|
|
303
|
+
type: Input,
|
|
304
|
+
args: ['imageStyle']
|
|
305
|
+
}], resizeMode: [{
|
|
306
|
+
type: Input
|
|
307
|
+
}], resizeMethod: [{
|
|
308
|
+
type: Input
|
|
309
|
+
}], tintColor: [{
|
|
310
|
+
type: Input
|
|
311
|
+
}], blurRadius: [{
|
|
312
|
+
type: Input
|
|
313
|
+
}], capInsets: [{
|
|
314
|
+
type: Input
|
|
315
|
+
}], fadeDuration: [{
|
|
316
|
+
type: Input
|
|
317
|
+
}], progressiveRenderingEnabled: [{
|
|
318
|
+
type: Input
|
|
319
|
+
}], src: [{
|
|
320
|
+
type: Input
|
|
321
|
+
}], srcSet: [{
|
|
322
|
+
type: Input
|
|
323
|
+
}], alt: [{
|
|
324
|
+
type: Input
|
|
325
|
+
}], width: [{
|
|
326
|
+
type: Input
|
|
327
|
+
}], height: [{
|
|
328
|
+
type: Input
|
|
329
|
+
}], crossOrigin: [{
|
|
330
|
+
type: Input
|
|
331
|
+
}], referrerPolicy: [{
|
|
332
|
+
type: Input
|
|
333
|
+
}], testID: [{
|
|
334
|
+
type: Input
|
|
335
|
+
}], nativeID: [{
|
|
336
|
+
type: Input
|
|
337
|
+
}], accessible: [{
|
|
338
|
+
type: Input
|
|
339
|
+
}], accessibilityLabel: [{
|
|
340
|
+
type: Input
|
|
341
|
+
}], accessibilityHint: [{
|
|
342
|
+
type: Input
|
|
343
|
+
}], accessibilityRole: [{
|
|
344
|
+
type: Input
|
|
345
|
+
}], accessibilityState: [{
|
|
346
|
+
type: Input
|
|
347
|
+
}], accessibilityValue: [{
|
|
348
|
+
type: Input
|
|
349
|
+
}], accessibilityActions: [{
|
|
350
|
+
type: Input
|
|
351
|
+
}], accessibilityLabelledBy: [{
|
|
352
|
+
type: Input
|
|
353
|
+
}], importantForAccessibility: [{
|
|
354
|
+
type: Input
|
|
355
|
+
}], accessibilityLiveRegion: [{
|
|
356
|
+
type: Input
|
|
357
|
+
}], screenReaderFocusable: [{
|
|
358
|
+
type: Input
|
|
359
|
+
}], accessibilityViewIsModal: [{
|
|
360
|
+
type: Input
|
|
361
|
+
}], accessibilityElementsHidden: [{
|
|
362
|
+
type: Input
|
|
363
|
+
}], accessibilityIgnoresInvertColors: [{
|
|
364
|
+
type: Input
|
|
365
|
+
}], accessibilityLanguage: [{
|
|
366
|
+
type: Input
|
|
367
|
+
}], accessibilityRespondsToUserInteraction: [{
|
|
368
|
+
type: Input
|
|
369
|
+
}], accessibilityShowsLargeContentViewer: [{
|
|
370
|
+
type: Input
|
|
371
|
+
}], accessibilityLargeContentTitle: [{
|
|
372
|
+
type: Input
|
|
373
|
+
}], role: [{
|
|
374
|
+
type: Input
|
|
375
|
+
}], ariaLabel: [{
|
|
376
|
+
type: Input,
|
|
377
|
+
args: ['aria-label']
|
|
378
|
+
}], ariaLabelledBy: [{
|
|
379
|
+
type: Input,
|
|
380
|
+
args: ['aria-labelledby']
|
|
381
|
+
}], ariaLive: [{
|
|
382
|
+
type: Input,
|
|
383
|
+
args: ['aria-live']
|
|
384
|
+
}], ariaHidden: [{
|
|
385
|
+
type: Input,
|
|
386
|
+
args: ['aria-hidden']
|
|
387
|
+
}], ariaBusy: [{
|
|
388
|
+
type: Input,
|
|
389
|
+
args: ['aria-busy']
|
|
390
|
+
}], ariaChecked: [{
|
|
391
|
+
type: Input,
|
|
392
|
+
args: ['aria-checked']
|
|
393
|
+
}], ariaDisabled: [{
|
|
394
|
+
type: Input,
|
|
395
|
+
args: ['aria-disabled']
|
|
396
|
+
}], ariaExpanded: [{
|
|
397
|
+
type: Input,
|
|
398
|
+
args: ['aria-expanded']
|
|
399
|
+
}], ariaSelected: [{
|
|
400
|
+
type: Input,
|
|
401
|
+
args: ['aria-selected']
|
|
402
|
+
}], ariaModal: [{
|
|
403
|
+
type: Input,
|
|
404
|
+
args: ['aria-modal']
|
|
405
|
+
}], ariaValueMax: [{
|
|
406
|
+
type: Input,
|
|
407
|
+
args: ['aria-valuemax']
|
|
408
|
+
}], ariaValueMin: [{
|
|
409
|
+
type: Input,
|
|
410
|
+
args: ['aria-valuemin']
|
|
411
|
+
}], ariaValueNow: [{
|
|
412
|
+
type: Input,
|
|
413
|
+
args: ['aria-valuenow']
|
|
414
|
+
}], ariaValueText: [{
|
|
415
|
+
type: Input,
|
|
416
|
+
args: ['aria-valuetext']
|
|
417
|
+
}] } });
|
|
418
|
+
//# sourceMappingURL=image-background.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-background.js","sourceRoot":"","sources":["../../../src/components/image-background.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,+FAA+F;AAC/F,8FAA8F;AAC9F,6GAA6G;AAC7G,iGAAiG;AACjG,iGAAiG;AACjG,iGAAiG;AACjG,kGAAkG;AAClG,oGAAoG;AACpG,oGAAoG;AACpG,0FAA0F;AAE1F,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,SAAS,EACT,UAAU,EACV,YAAY,EACZ,MAAM,EACN,KAAK,EACL,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,qBAAqB,EACrB,yBAAyB,GAO1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,gBAAgB,GAIjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;;AA0F1D,MAAM,OAAO,eAAe;IAC1B,iFAAiF;IACjF,wFAAwF;IACrE,mBAAmB,GAAG,IAAI,YAAY,EAAkB,CAAC;IACzD,gBAAgB,GAAG,IAAI,YAAY,EAAkB,CAAC;IACtD,QAAQ,GAAG,IAAI,YAAY,EAAkB,CAAC;IAC9C,mBAAmB,GAAG,IAAI,YAAY,EAAkB,CAAC;IACzD,SAAS,GAAG,IAAI,YAAY,EAAkB,CAAC;IAC/C,IAAI,GAAG,IAAI,YAAY,EAAkB,CAAC;IAC1C,OAAO,GAAG,IAAI,YAAY,EAAkB,CAAC;IAC7C,KAAK,GAAG,IAAI,YAAY,EAAkB,CAAC;IAC3C,QAAQ,GAAG,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|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { type IAccessibilityProps, type IAccessibilityStateValue, type IAriaProps } from '@symbiote-native/components';
|
|
3
|
+
import { type IStyleProp, type ISymbioteEvent, type IViewStyle } from '@symbiote-native/engine';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface IAngularInputAccessoryViewProps extends IAccessibilityProps, IAriaProps {
|
|
6
|
+
nativeID?: string;
|
|
7
|
+
backgroundColor?: string;
|
|
8
|
+
style?: IStyleProp<IViewStyle>;
|
|
9
|
+
}
|
|
10
|
+
export type IAngularInputAccessoryViewInputs = Omit<IAngularInputAccessoryViewProps, 'onAccessibilityAction' | 'onAccessibilityTap' | 'onMagicTap' | 'onAccessibilityEscape'>;
|
|
11
|
+
export declare class InputAccessoryView implements IAngularInputAccessoryViewInputs {
|
|
12
|
+
nativeID?: string;
|
|
13
|
+
backgroundColor?: string;
|
|
14
|
+
style?: IStyleProp<IViewStyle>;
|
|
15
|
+
readonly accessibilityAction: EventEmitter<ISymbioteEvent>;
|
|
16
|
+
readonly accessibilityTap: EventEmitter<ISymbioteEvent>;
|
|
17
|
+
readonly magicTap: EventEmitter<ISymbioteEvent>;
|
|
18
|
+
readonly accessibilityEscape: EventEmitter<ISymbioteEvent>;
|
|
19
|
+
testID?: string;
|
|
20
|
+
accessible?: boolean;
|
|
21
|
+
accessibilityLabel?: string;
|
|
22
|
+
accessibilityHint?: string;
|
|
23
|
+
accessibilityRole?: IAccessibilityProps['accessibilityRole'];
|
|
24
|
+
accessibilityState?: IAccessibilityStateValue;
|
|
25
|
+
accessibilityValue?: IAccessibilityProps['accessibilityValue'];
|
|
26
|
+
accessibilityActions?: IAccessibilityProps['accessibilityActions'];
|
|
27
|
+
accessibilityLabelledBy?: string | string[];
|
|
28
|
+
importantForAccessibility?: IAccessibilityProps['importantForAccessibility'];
|
|
29
|
+
accessibilityLiveRegion?: IAccessibilityProps['accessibilityLiveRegion'];
|
|
30
|
+
screenReaderFocusable?: boolean;
|
|
31
|
+
accessibilityViewIsModal?: boolean;
|
|
32
|
+
accessibilityElementsHidden?: boolean;
|
|
33
|
+
accessibilityIgnoresInvertColors?: boolean;
|
|
34
|
+
accessibilityLanguage?: string;
|
|
35
|
+
accessibilityRespondsToUserInteraction?: boolean;
|
|
36
|
+
accessibilityShowsLargeContentViewer?: boolean;
|
|
37
|
+
accessibilityLargeContentTitle?: string;
|
|
38
|
+
role?: IAriaProps['role'];
|
|
39
|
+
ariaLabel?: string;
|
|
40
|
+
ariaLabelledBy?: string;
|
|
41
|
+
ariaLive?: IAriaProps['aria-live'];
|
|
42
|
+
ariaHidden?: boolean;
|
|
43
|
+
ariaBusy?: boolean;
|
|
44
|
+
ariaChecked?: boolean | 'mixed';
|
|
45
|
+
ariaDisabled?: boolean;
|
|
46
|
+
ariaExpanded?: boolean;
|
|
47
|
+
ariaSelected?: boolean;
|
|
48
|
+
ariaModal?: boolean;
|
|
49
|
+
ariaValueMax?: number;
|
|
50
|
+
ariaValueMin?: number;
|
|
51
|
+
ariaValueNow?: number;
|
|
52
|
+
ariaValueText?: string;
|
|
53
|
+
private readonly elementRef;
|
|
54
|
+
emit(emitter: EventEmitter<ISymbioteEvent>, event: unknown): void;
|
|
55
|
+
private get descriptor();
|
|
56
|
+
get hostProps(): Record<string, unknown>;
|
|
57
|
+
private accessibilityInputs;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputAccessoryView, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputAccessoryView, "InputAccessoryView", never, { "nativeID": { "alias": "nativeID"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testID": { "alias": "testID"; "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; }; "role": { "alias": "role"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; }; "ariaLive": { "alias": "aria-live"; "required": false; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; }; "ariaBusy": { "alias": "aria-busy"; "required": false; }; "ariaChecked": { "alias": "aria-checked"; "required": false; }; "ariaDisabled": { "alias": "aria-disabled"; "required": false; }; "ariaExpanded": { "alias": "aria-expanded"; "required": false; }; "ariaSelected": { "alias": "aria-selected"; "required": false; }; "ariaModal": { "alias": "aria-modal"; "required": false; }; "ariaValueMax": { "alias": "aria-valuemax"; "required": false; }; "ariaValueMin": { "alias": "aria-valuemin"; "required": false; }; "ariaValueNow": { "alias": "aria-valuenow"; "required": false; }; "ariaValueText": { "alias": "aria-valuetext"; "required": false; }; }, { "accessibilityAction": "accessibilityAction"; "accessibilityTap": "accessibilityTap"; "magicTap": "magicTap"; "accessibilityEscape": "accessibilityEscape"; }, never, ["*"], true, never>;
|
|
60
|
+
}
|