@symbiote-native/angular 0.6.2 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bin/symbiote-angular-dev.cjs +20 -19
- package/build/angular/anchor-host-registry.js +2 -2
- package/build/angular/anchor-host-registry.js.map +1 -1
- package/build/angular/bootstrap.js +1 -1
- package/build/angular/bootstrap.js.map +1 -1
- package/build/angular/components/activity-indicator/index.android.d.ts +2 -1
- package/build/angular/components/activity-indicator/index.android.js +12 -4
- package/build/angular/components/activity-indicator/index.android.js.map +1 -1
- package/build/angular/components/activity-indicator/index.ios.d.ts +2 -1
- package/build/angular/components/activity-indicator/index.ios.js +8 -3
- package/build/angular/components/activity-indicator/index.ios.js.map +1 -1
- package/build/angular/components/activity-indicator/shared.d.ts +1 -1
- package/build/angular/components/activity-indicator/shared.js +4 -4
- package/build/angular/components/activity-indicator/shared.js.map +1 -1
- package/build/angular/components/button.d.ts +4 -2
- package/build/angular/components/button.js +41 -22
- package/build/angular/components/button.js.map +1 -1
- package/build/angular/components/flat-list/index.d.ts +6 -4
- package/build/angular/components/flat-list/index.js +80 -50
- package/build/angular/components/flat-list/index.js.map +1 -1
- package/build/angular/components/image/index.android.d.ts +8 -3
- package/build/angular/components/image/index.android.js +42 -10
- package/build/angular/components/image/index.android.js.map +1 -1
- package/build/angular/components/image/index.ios.d.ts +8 -3
- package/build/angular/components/image/index.ios.js +42 -10
- package/build/angular/components/image/index.ios.js.map +1 -1
- package/build/angular/components/image/shared.d.ts +4 -1
- package/build/angular/components/image/shared.js +51 -8
- package/build/angular/components/image/shared.js.map +1 -1
- package/build/angular/components/image-background.d.ts +2 -1
- package/build/angular/components/image-background.js +26 -10
- package/build/angular/components/image-background.js.map +1 -1
- package/build/angular/components/input-accessory-view/index.d.ts +9 -4
- package/build/angular/components/input-accessory-view/index.js +49 -10
- package/build/angular/components/input-accessory-view/index.js.map +1 -1
- package/build/angular/components/keyboard-avoiding-view/index.d.ts +3 -1
- package/build/angular/components/keyboard-avoiding-view/index.js +44 -12
- package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -1
- package/build/angular/components/modal/index.d.ts +11 -8
- package/build/angular/components/modal/index.js +51 -29
- package/build/angular/components/modal/index.js.map +1 -1
- package/build/angular/components/pressable/index.d.ts +12 -6
- package/build/angular/components/pressable/index.js +66 -13
- package/build/angular/components/pressable/index.js.map +1 -1
- package/build/angular/components/refresh-control/index.d.ts +8 -4
- package/build/angular/components/refresh-control/index.js +54 -16
- package/build/angular/components/refresh-control/index.js.map +1 -1
- package/build/angular/components/safe-area-view/index.d.ts +9 -4
- package/build/angular/components/safe-area-view/index.js +48 -9
- package/build/angular/components/safe-area-view/index.js.map +1 -1
- package/build/angular/components/scroll-view/index.android.d.ts +2 -3
- package/build/angular/components/scroll-view/index.android.js +88 -61
- package/build/angular/components/scroll-view/index.android.js.map +1 -1
- package/build/angular/components/scroll-view/index.ios.d.ts +2 -3
- package/build/angular/components/scroll-view/index.ios.js +24 -18
- package/build/angular/components/scroll-view/index.ios.js.map +1 -1
- package/build/angular/components/scroll-view/projection.d.ts +35 -0
- package/build/angular/components/scroll-view/projection.js +279 -53
- package/build/angular/components/scroll-view/projection.js.map +1 -1
- package/build/angular/components/scroll-view/shared.d.ts +14 -5
- package/build/angular/components/scroll-view/shared.js +225 -75
- package/build/angular/components/scroll-view/shared.js.map +1 -1
- package/build/angular/components/scroll-view/sticky-header.js +21 -22
- package/build/angular/components/scroll-view/sticky-header.js.map +1 -1
- package/build/angular/components/section-list/index.d.ts +7 -1
- package/build/angular/components/section-list/index.js +91 -54
- package/build/angular/components/section-list/index.js.map +1 -1
- package/build/angular/components/switch/index.android.d.ts +7 -3
- package/build/angular/components/switch/index.android.js +52 -10
- package/build/angular/components/switch/index.android.js.map +1 -1
- package/build/angular/components/switch/index.ios.d.ts +7 -3
- package/build/angular/components/switch/index.ios.js +52 -10
- package/build/angular/components/switch/index.ios.js.map +1 -1
- package/build/angular/components/switch/shared.d.ts +13 -4
- package/build/angular/components/switch/shared.js +71 -7
- package/build/angular/components/switch/shared.js.map +1 -1
- package/build/angular/components/text-input.d.ts +11 -3
- package/build/angular/components/text-input.js +68 -8
- package/build/angular/components/text-input.js.map +1 -1
- package/build/angular/components/touchable/index.d.ts +40 -9
- package/build/angular/components/touchable/index.js +303 -67
- package/build/angular/components/touchable/index.js.map +1 -1
- package/build/angular/components/touchable-native-feedback/index.d.ts +6 -3
- package/build/angular/components/touchable-native-feedback/index.js +63 -27
- package/build/angular/components/touchable-native-feedback/index.js.map +1 -1
- package/build/angular/components/virtualized-list/directives.js +22 -18
- package/build/angular/components/virtualized-list/directives.js.map +1 -1
- package/build/angular/components/virtualized-list/index.d.ts +15 -4
- package/build/angular/components/virtualized-list/index.js +326 -94
- package/build/angular/components/virtualized-list/index.js.map +1 -1
- package/build/angular/components/virtualized-section-list/directives.js +12 -12
- package/build/angular/components/virtualized-section-list/directives.js.map +1 -1
- package/build/angular/components/virtualized-section-list/index.d.ts +19 -1
- package/build/angular/components/virtualized-section-list/index.js +93 -22
- package/build/angular/components/virtualized-section-list/index.js.map +1 -1
- package/build/angular/components.d.ts +2 -2
- package/build/angular/components.js +5 -0
- package/build/angular/components.js.map +1 -1
- package/build/angular/create-portal/index.js +34 -36
- package/build/angular/create-portal/index.js.map +1 -1
- package/build/angular/create-tunnel/index.js +19 -22
- package/build/angular/create-tunnel/index.js.map +1 -1
- package/build/angular/descriptor-to-angular/index.js +6 -4
- package/build/angular/descriptor-to-angular/index.js.map +1 -1
- package/build/angular/diagnostics.d.ts +33 -0
- package/build/angular/diagnostics.js +82 -0
- package/build/angular/diagnostics.js.map +1 -0
- package/build/angular/host-instance/index.js +1 -1
- package/build/angular/host-instance/index.js.map +1 -1
- package/build/angular/index.d.ts +9 -4
- package/build/angular/index.js +17 -3
- package/build/angular/index.js.map +1 -1
- package/build/angular/modules/animated/animated-leaf-binder.d.ts +1 -7
- package/build/angular/modules/animated/animated-leaf-binder.js +22 -72
- package/build/angular/modules/animated/animated-leaf-binder.js.map +1 -1
- package/build/angular/modules/animated/create-animated-component.d.ts +11 -6
- package/build/angular/modules/animated/create-animated-component.js +106 -55
- package/build/angular/modules/animated/create-animated-component.js.map +1 -1
- package/build/angular/modules/status-bar/index.js +4 -4
- package/build/angular/modules/status-bar/index.js.map +1 -1
- package/build/angular/primitives/index.d.ts +20 -3
- package/build/angular/primitives/index.js +84 -48
- package/build/angular/primitives/index.js.map +1 -1
- package/build/angular/primitives/shared.d.ts +48 -2
- package/build/angular/primitives/shared.js +158 -11
- package/build/angular/primitives/shared.js.map +1 -1
- package/build/angular/render/index.js +69 -38
- package/build/angular/render/index.js.map +1 -1
- package/build/angular/renderer/index.d.ts +1 -0
- package/build/angular/renderer/index.js +37 -2
- package/build/angular/renderer/index.js.map +1 -1
- package/build/angular/services/color-scheme.service.js +3 -3
- package/build/angular/services/color-scheme.service.js.map +1 -1
- package/build/angular/services/window-dimensions.service.js +4 -4
- package/build/angular/services/window-dimensions.service.js.map +1 -1
- package/package.json +10 -8
- package/src/anchor-host-registry.ts +2 -2
- package/src/bootstrap.ts +4 -1
- package/src/components/activity-indicator/index.android.ts +8 -1
- package/src/components/activity-indicator/index.ios.ts +4 -0
- package/src/components/activity-indicator/shared.ts +32 -13
- package/src/components/button.ts +46 -19
- package/src/components/flat-list/index.ts +122 -62
- package/src/components/image/index.android.ts +58 -7
- package/src/components/image/index.ios.ts +58 -7
- package/src/components/image/shared.ts +92 -21
- package/src/components/image-background.ts +29 -9
- package/src/components/input-accessory-view/index.ts +67 -12
- package/src/components/keyboard-avoiding-view/index.ts +61 -15
- package/src/components/modal/index.ts +72 -33
- package/src/components/pressable/index.ts +117 -28
- package/src/components/refresh-control/index.ts +74 -18
- package/src/components/safe-area-view/index.ts +64 -10
- package/src/components/scroll-view/index.android.ts +62 -47
- package/src/components/scroll-view/index.ios.ts +19 -17
- package/src/components/scroll-view/projection.ts +363 -64
- package/src/components/scroll-view/shared.ts +312 -90
- package/src/components/scroll-view/sticky-header.ts +36 -24
- package/src/components/section-list/index.ts +86 -53
- package/src/components/switch/index.android.ts +60 -8
- package/src/components/switch/index.ios.ts +60 -8
- package/src/components/switch/shared.ts +93 -6
- package/src/components/text-input.ts +95 -13
- package/src/components/touchable/index.ts +348 -64
- package/src/components/touchable-native-feedback/index.ts +94 -31
- package/src/components/virtualized-list/directives.ts +19 -5
- package/src/components/virtualized-list/index.ts +380 -85
- package/src/components/virtualized-section-list/directives.ts +6 -3
- package/src/components/virtualized-section-list/index.ts +146 -33
- package/src/components.ts +9 -1
- package/src/create-portal/index.ts +31 -31
- package/src/create-tunnel/index.ts +16 -17
- package/src/descriptor-to-angular/index.ts +29 -8
- package/src/diagnostics.ts +138 -0
- package/src/host-instance/index.ts +9 -3
- package/src/index.ts +61 -3
- package/src/modules/animated/animated-leaf-binder.ts +28 -77
- package/src/modules/animated/create-animated-component.ts +115 -47
- package/src/modules/app-registry/index.ts +9 -9
- package/src/modules/status-bar/index.ts +13 -4
- package/src/primitives/index.ts +47 -2
- package/src/primitives/shared.ts +170 -10
- package/src/render/index.ts +77 -39
- package/src/renderer/index.ts +76 -14
- package/src/services/color-scheme.service.ts +3 -1
- package/src/services/window-dimensions.service.ts +11 -4
- package/build/angular/modules/animated/animated-leaf-binder/index.d.ts +0 -14
- package/build/angular/modules/animated/animated-leaf-binder/index.js +0 -91
- package/build/angular/modules/animated/animated-leaf-binder/index.js.map +0 -1
- package/src/modules/animated/animated-leaf-binder/index.ts +0 -101
|
@@ -1,22 +1,51 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, Component, ElementRef, inject } from '@angular/core';
|
|
2
|
-
import { anchorHostStyle, ImageHost, SymbioteHostPropsDirective } from '../../primitives';
|
|
3
|
-
import { IMAGE_INPUTS, IMAGE_OUTPUTS, ImageBase, resolveImageProps } from './shared';
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, Component, ElementRef, inject, signal, } from '@angular/core';
|
|
2
|
+
import { anchorHostStyle, ImageHost, SymbioteHostPropsDirective, SymbioteStyleInputDirective, } from '../../primitives';
|
|
3
|
+
import { IMAGE_INPUTS, IMAGE_OUTPUTS, ImageBase, resolveImageProps, } from './shared';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../primitives/shared";
|
|
5
6
|
export { setImageSourceResolver } from './shared';
|
|
6
7
|
export class Image extends ImageBase {
|
|
7
8
|
// This component's OWN host — the non-painting anchor `class="..."` at the use site resolves
|
|
8
9
|
// onto (see anchorHostStyle's doc comment) — NOT the inner `symbiote-image` one level down.
|
|
9
10
|
elementRef = inject(ElementRef);
|
|
10
|
-
|
|
11
|
+
// The anchor's class-derived style is written by the renderer's addClass/removeClass and never
|
|
12
|
+
// reaches Angular's input pipeline (a bare `class="x"` never appears in SimpleChanges — see
|
|
13
|
+
// anchorHostStyle's doc comment), so ImageBase's inputsRevision cannot see it. Hence its own
|
|
14
|
+
// signal: a plain field read inside a computed() would be untracked and the bag would go stale
|
|
15
|
+
// the moment a `[class.x]`/`[ngClass]` toggled.
|
|
16
|
+
//
|
|
17
|
+
// ngDoCheck is the right cadence: render3's callHooks flushes a node's pre-order hooks at the
|
|
18
|
+
// next `ɵɵadvance` past it (or in refreshView's post-template flush), i.e. AFTER the declaring
|
|
19
|
+
// template's ɵɵclassProp wrote the class onto this element and BEFORE this component's own view
|
|
20
|
+
// refreshes — the exact window a class poll needs. callHooks also runs under
|
|
21
|
+
// setActiveConsumer(null), so the write registers no dependency on the caller's view (no NG0600).
|
|
22
|
+
// commitClassStyle allocates a fresh style array only when a token actually moved, so signal.set's
|
|
23
|
+
// own Object.is check makes an unchanged poll a no-op that dirties nothing.
|
|
24
|
+
//
|
|
25
|
+
// Known gap, shared with every other component polling this way (Pressable, SafeAreaView,
|
|
26
|
+
// TouchableNativeFeedback): `[ngClass]` applies its tokens from NgClass's OWN ngDoCheck, and a
|
|
27
|
+
// node's hooks flush in registration order with the component's first, so an [ngClass] flip lands
|
|
28
|
+
// one pass after this poll reads it. `class=` and `[class.x]` are written by the declaring
|
|
29
|
+
// template's styling instructions and so are always current here.
|
|
30
|
+
anchorStyle = signal(undefined, /* @ts-ignore */
|
|
31
|
+
...(ngDevMode ? [{ debugName: "anchorStyle" }] : /* istanbul ignore next */ []));
|
|
32
|
+
// ImageBase is undecorated, so the input bump is declared here rather than inherited.
|
|
33
|
+
ngOnChanges() {
|
|
34
|
+
this.bumpInputsRevision();
|
|
35
|
+
}
|
|
36
|
+
ngDoCheck() {
|
|
37
|
+
this.anchorStyle.set(anchorHostStyle(this.elementRef));
|
|
38
|
+
}
|
|
39
|
+
buildImageProps() {
|
|
11
40
|
return resolveImageProps({
|
|
12
41
|
...this.imageInputProps,
|
|
13
|
-
style: [
|
|
42
|
+
style: [this.anchorStyle(), this.style],
|
|
14
43
|
});
|
|
15
44
|
}
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
17
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
45
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Image, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: Image, isStandalone: true, selector: "Image", inputs: { source: "source", defaultSource: "defaultSource", loadingIndicatorSource: "loadingIndicatorSource", style: "style", 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"], onAccessibilityAction: "onAccessibilityAction", onAccessibilityTap: "onAccessibilityTap", onMagicTap: "onMagicTap", onAccessibilityEscape: "onAccessibilityEscape", onLoadStart: "onLoadStart", onLoad: "onLoad", onLoadEnd: "onLoadEnd", onError: "onError", onProgress: "onProgress", onPartialLoad: "onPartialLoad" }, outputs: { accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape", loadStart: "loadStart", load: "load", loadEnd: "loadEnd", error: "error", progress: "progress", partialLoad: "partialLoad" }, usesInheritance: true, usesOnChanges: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
18
47
|
<symbiote-image
|
|
19
|
-
[symbioteHostProps]="imageProps"
|
|
48
|
+
[symbioteHostProps]="imageProps()"
|
|
20
49
|
(accessibilityAction)="handleAccessibilityAction($event)"
|
|
21
50
|
(accessibilityTap)="handleAccessibilityTap($event)"
|
|
22
51
|
(magicTap)="handleMagicTap($event)"
|
|
@@ -30,18 +59,21 @@ export class Image extends ImageBase {
|
|
|
30
59
|
/>
|
|
31
60
|
`, isInline: true, dependencies: [{ kind: "component", type: ImageHost, selector: "symbiote-image" }, { kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }] });
|
|
32
61
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Image, decorators: [{
|
|
34
63
|
type: Component,
|
|
35
64
|
args: [{
|
|
36
65
|
selector: 'Image',
|
|
37
66
|
standalone: true,
|
|
67
|
+
hostDirectives: [
|
|
68
|
+
{ directive: SymbioteStyleInputDirective, inputs: ['style'] },
|
|
69
|
+
],
|
|
38
70
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
39
71
|
imports: [ImageHost, SymbioteHostPropsDirective],
|
|
40
72
|
inputs: IMAGE_INPUTS,
|
|
41
73
|
outputs: IMAGE_OUTPUTS,
|
|
42
74
|
template: `
|
|
43
75
|
<symbiote-image
|
|
44
|
-
[symbioteHostProps]="imageProps"
|
|
76
|
+
[symbioteHostProps]="imageProps()"
|
|
45
77
|
(accessibilityAction)="handleAccessibilityAction($event)"
|
|
46
78
|
(accessibilityTap)="handleAccessibilityTap($event)"
|
|
47
79
|
(magicTap)="handleMagicTap($event)"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.ios.js","sourceRoot":"","sources":["../../../../src/components/image/index.ios.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.ios.js","sourceRoot":"","sources":["../../../../src/components/image/index.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,SAAS,EACT,UAAU,EACV,MAAM,EACN,MAAM,GAGP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,SAAS,EACT,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,YAAY,EACZ,aAAa,EACb,SAAS,EACT,iBAAiB,GAClB,MAAM,UAAU,CAAC;;;AAClB,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAoClD,MAAM,OAAO,KAAM,SAAQ,SAAS;IAClC,6FAA6F;IAC7F,4FAA4F;IAC3E,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;IAEjD,+FAA+F;IAC/F,4FAA4F;IAC5F,6FAA6F;IAC7F,+FAA+F;IAC/F,gDAAgD;IAChD,EAAE;IACF,8FAA8F;IAC9F,+FAA+F;IAC/F,gGAAgG;IAChG,6EAA6E;IAC7E,kGAAkG;IAClG,mGAAmG;IACnG,4EAA4E;IAC5E,EAAE;IACF,0FAA0F;IAC1F,+FAA+F;IAC/F,kGAAkG;IAClG,2FAA2F;IAC3F,kEAAkE;IACjD,WAAW,GAAG,MAAM,CAAU,SAAS;oFAAC,CAAC;IAE1D,sFAAsF;IACtF,WAAW;QACT,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;IAED,SAAS;QACP,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IACzD,CAAC;IAEkB,eAAe;QAChC,OAAO,iBAAiB,CAAC;YACvB,GAAG,IAAI,CAAC,eAAe;YACvB,KAAK,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC;SACxC,CAAC,CAAC;IACL,CAAC;uGAxCU,KAAK;2FAAL,KAAK,+2FAhBN;;;;;;;;;;;;;;GAcT,4DAjBS,SAAS,2DAAE,0BAA0B;;2FAmBpC,KAAK;kBA1BjB,SAAS;mBAAC;oBACT,QAAQ,EAAE,OAAO;oBACjB,UAAU,EAAE,IAAI;oBAChB,cAAc,EAAE;wBACd,EAAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE;qBAC9D;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,SAAS,EAAE,0BAA0B,CAAC;oBAChD,MAAM,EAAE,YAAY;oBACpB,OAAO,EAAE,aAAa;oBACtB,QAAQ,EAAE;;;;;;;;;;;;;;GAcT;iBACF"}
|
|
@@ -97,5 +97,8 @@ export declare abstract class ImageBase {
|
|
|
97
97
|
handleProgress(event: Event): void;
|
|
98
98
|
handlePartialLoad(event: Event): void;
|
|
99
99
|
protected get imageInputProps(): Record<string, unknown>;
|
|
100
|
-
|
|
100
|
+
protected readonly inputsRevision: import("@angular/core").WritableSignal<number>;
|
|
101
|
+
protected bumpInputsRevision(): void;
|
|
102
|
+
readonly imageProps: import("@angular/core").Signal<Record<string, unknown>>;
|
|
103
|
+
protected buildImageProps(): Record<string, unknown>;
|
|
101
104
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, computed, signal } from '@angular/core';
|
|
2
2
|
import { imageStatics, renderImage, resolveAccessibilityProps, } from '@symbiote-native/components';
|
|
3
3
|
import { isSymbioteEvent, } from '@symbiote-native/engine';
|
|
4
4
|
export { setImageSourceResolver } from '@symbiote-native/components';
|
|
@@ -103,7 +103,9 @@ function asNumber(value) {
|
|
|
103
103
|
return typeof value === 'number' ? value : undefined;
|
|
104
104
|
}
|
|
105
105
|
function asCrossOrigin(value) {
|
|
106
|
-
return value === 'anonymous' || value === 'use-credentials'
|
|
106
|
+
return value === 'anonymous' || value === 'use-credentials'
|
|
107
|
+
? value
|
|
108
|
+
: undefined;
|
|
107
109
|
}
|
|
108
110
|
function asStyle(value) {
|
|
109
111
|
return typeof value === 'object' && value !== null ? value : undefined;
|
|
@@ -119,7 +121,9 @@ export function resolveImageProps(input) {
|
|
|
119
121
|
: undefined,
|
|
120
122
|
testID: asString(input['testID']),
|
|
121
123
|
nativeID: asString(input['nativeID']),
|
|
122
|
-
accessible: typeof input['accessible'] === 'boolean'
|
|
124
|
+
accessible: typeof input['accessible'] === 'boolean'
|
|
125
|
+
? input['accessible']
|
|
126
|
+
: undefined,
|
|
123
127
|
accessibilityLabel: asString(input['accessibilityLabel']),
|
|
124
128
|
accessibilityHint: asString(input['accessibilityHint']),
|
|
125
129
|
accessibilityRole: input['accessibilityRole'],
|
|
@@ -153,12 +157,20 @@ export function resolveImageProps(input) {
|
|
|
153
157
|
'aria-label': asString(input['ariaLabel'] ?? input['aria-label']),
|
|
154
158
|
'aria-labelledby': asString(input['ariaLabelledBy'] ?? input['aria-labelledby']),
|
|
155
159
|
'aria-live': input['ariaLive'],
|
|
156
|
-
'aria-hidden': typeof input['ariaHidden'] === 'boolean'
|
|
160
|
+
'aria-hidden': typeof input['ariaHidden'] === 'boolean'
|
|
161
|
+
? input['ariaHidden']
|
|
162
|
+
: undefined,
|
|
157
163
|
'aria-busy': typeof input['ariaBusy'] === 'boolean' ? input['ariaBusy'] : undefined,
|
|
158
164
|
'aria-checked': input['ariaChecked'],
|
|
159
|
-
'aria-disabled': typeof input['ariaDisabled'] === 'boolean'
|
|
160
|
-
|
|
161
|
-
|
|
165
|
+
'aria-disabled': typeof input['ariaDisabled'] === 'boolean'
|
|
166
|
+
? input['ariaDisabled']
|
|
167
|
+
: undefined,
|
|
168
|
+
'aria-expanded': typeof input['ariaExpanded'] === 'boolean'
|
|
169
|
+
? input['ariaExpanded']
|
|
170
|
+
: undefined,
|
|
171
|
+
'aria-selected': typeof input['ariaSelected'] === 'boolean'
|
|
172
|
+
? input['ariaSelected']
|
|
173
|
+
: undefined,
|
|
162
174
|
'aria-modal': typeof input['ariaModal'] === 'boolean' ? input['ariaModal'] : undefined,
|
|
163
175
|
'aria-valuemax': asNumber(input['ariaValueMax']),
|
|
164
176
|
'aria-valuemin': asNumber(input['ariaValueMin']),
|
|
@@ -399,7 +411,38 @@ export class ImageBase {
|
|
|
399
411
|
onPartialLoad: this.onPartialLoad,
|
|
400
412
|
};
|
|
401
413
|
}
|
|
402
|
-
|
|
414
|
+
// Bridges the non-reactive @Input fields into the reactive graph so imageProps below can be a
|
|
415
|
+
// memoized computed(). Signal inputs would make this unnecessary, but `input()` is visible only
|
|
416
|
+
// to the AOT compiler and this package's unit suite runs on JIT - see the
|
|
417
|
+
// `angular-adapter-change-detection` skill, §6. `signal()`/`computed()` are plain runtime APIs
|
|
418
|
+
// and need no compiler support, which is what makes this bridge possible at all.
|
|
419
|
+
//
|
|
420
|
+
// ImageBase is deliberately UNdecorated, so the ngOnChanges that bumps this lives on each
|
|
421
|
+
// platform @Component instead of here.
|
|
422
|
+
//
|
|
423
|
+
// Every dependency of the bag below is an @Input, which Angular always routes through
|
|
424
|
+
// ngOnChanges. State assigned OUTSIDE that path needs its OWN signal - never widen this one to
|
|
425
|
+
// "bump on everything", which silently un-memoizes the bag. The platform anchor style is exactly
|
|
426
|
+
// such a dependency and carries its own signal.
|
|
427
|
+
inputsRevision = signal(0, /* @ts-ignore */
|
|
428
|
+
...(ngDevMode ? [{ debugName: "inputsRevision" }] : /* istanbul ignore next */ []));
|
|
429
|
+
bumpInputsRevision() {
|
|
430
|
+
this.inputsRevision.update(revision => revision + 1);
|
|
431
|
+
}
|
|
432
|
+
// MEASURED 2026-08-16: as a getter this rebuilt the bag on every refresh of this view, so
|
|
433
|
+
// `[symbioteHostProps]`'s reference check failed every time and every key was re-pushed through
|
|
434
|
+
// Renderer2 -> routeProp - pure waste when nothing changed. computed() returns the SAME object
|
|
435
|
+
// until a tracked dependency actually changes, and the input setter then skips the whole spread.
|
|
436
|
+
//
|
|
437
|
+
// A computed FIELD cannot be overridden by a subclass accessor the way a getter can, so the
|
|
438
|
+
// platform components override buildImageProps() below and this stays the single memoization
|
|
439
|
+
// point for every platform.
|
|
440
|
+
imageProps = computed(() => {
|
|
441
|
+
this.inputsRevision();
|
|
442
|
+
return this.buildImageProps();
|
|
443
|
+
}, /* @ts-ignore */
|
|
444
|
+
...(ngDevMode ? [{ debugName: "imageProps" }] : /* istanbul ignore next */ []));
|
|
445
|
+
buildImageProps() {
|
|
403
446
|
return resolveImageProps(this.imageInputProps);
|
|
404
447
|
}
|
|
405
448
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../src/components/image/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EACL,YAAY,EACZ,WAAW,EACX,yBAAyB,GAM1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,eAAe,GAIhB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAUrE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,QAAQ;IACR,eAAe;IACf,wBAAwB;IACxB,OAAO;IACP,YAAY;IACZ,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,cAAc;IACd,6BAA6B;IAC7B,KAAK;IACL,QAAQ;IACR,KAAK;IACL,OAAO;IACP,QAAQ;IACR,aAAa;IACb,gBAAgB;IAChB,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,oBAAoB;IACpB,mBAAmB;IACnB,mBAAmB;IACnB,oBAAoB;IACpB,oBAAoB;IACpB,sBAAsB;IACtB,yBAAyB;IACzB,2BAA2B;IAC3B,yBAAyB;IACzB,uBAAuB;IACvB,0BAA0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F;IACtF,+FAA+F;IAC/F,iGAAiG;IACjG,gDAAgD;IAC7B,cAAc,GAAG,MAAM,CAAC,CAAC;uFAAC,CAAC;IAEpC,kBAAkB;QAC1B,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,0FAA0F;IAC1F,gGAAgG;IAChG,+FAA+F;IAC/F,iGAAiG;IACjG,EAAE;IACF,4FAA4F;IAC5F,6FAA6F;IAC7F,4BAA4B;IACnB,UAAU,GAAG,QAAQ,CAA0B,GAAG,EAAE;QAC3D,IAAI,CAAC,cAAc,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC,eAAe,EAAE,CAAC;IAChC,CAAC;mFAAC,CAAC;IAEO,eAAe;QACvB,OAAO,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IACjD,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { type IAccessibilityProps, type IAccessibilityStateValue, type IAriaProps, type IImageProps, type IImageSourceProp, type IResizeMode } from '@symbiote-native/components';
|
|
3
3
|
import { type IStyleProp, type ISymbioteEvent, type IViewStyle } from '@symbiote-native/engine';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../primitives/shared";
|
|
5
6
|
export interface IAngularImageBackgroundProps extends Omit<IImageProps, 'style'> {
|
|
6
7
|
style?: IStyleProp<IViewStyle>;
|
|
7
8
|
imageStyle?: IStyleProp<IViewStyle> | string;
|
|
@@ -77,5 +78,5 @@ export declare class ImageBackground implements IAngularImageBackgroundInputs {
|
|
|
77
78
|
get imageStyle(): IStyleProp<IViewStyle> | undefined;
|
|
78
79
|
get folded(): Partial<IAngularImageBackgroundProps>;
|
|
79
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageBackground, never>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageBackground, "ImageBackground", never, { "source": { "alias": "source"; "required": false; }; "defaultSource": { "alias": "defaultSource"; "required": false; }; "loadingIndicatorSource": { "alias": "loadingIndicatorSource"; "required": false; }; "style": { "alias": "style"; "required": false; }; "imageStyleValue": { "alias": "imageStyle"; "required": false; }; "resizeMode": { "alias": "resizeMode"; "required": false; }; "resizeMethod": { "alias": "resizeMethod"; "required": false; }; "tintColor": { "alias": "tintColor"; "required": false; }; "blurRadius": { "alias": "blurRadius"; "required": false; }; "capInsets": { "alias": "capInsets"; "required": false; }; "fadeDuration": { "alias": "fadeDuration"; "required": false; }; "progressiveRenderingEnabled": { "alias": "progressiveRenderingEnabled"; "required": false; }; "src": { "alias": "src"; "required": false; }; "srcSet": { "alias": "srcSet"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "crossOrigin": { "alias": "crossOrigin"; "required": false; }; "referrerPolicy": { "alias": "referrerPolicy"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "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"; "loadStart": "loadStart"; "load": "load"; "loadEnd": "loadEnd"; "error": "error"; "progress": "progress"; "partialLoad": "partialLoad"; }, never, ["*"], true,
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageBackground, "ImageBackground", never, { "source": { "alias": "source"; "required": false; }; "defaultSource": { "alias": "defaultSource"; "required": false; }; "loadingIndicatorSource": { "alias": "loadingIndicatorSource"; "required": false; }; "style": { "alias": "style"; "required": false; }; "imageStyleValue": { "alias": "imageStyle"; "required": false; }; "resizeMode": { "alias": "resizeMode"; "required": false; }; "resizeMethod": { "alias": "resizeMethod"; "required": false; }; "tintColor": { "alias": "tintColor"; "required": false; }; "blurRadius": { "alias": "blurRadius"; "required": false; }; "capInsets": { "alias": "capInsets"; "required": false; }; "fadeDuration": { "alias": "fadeDuration"; "required": false; }; "progressiveRenderingEnabled": { "alias": "progressiveRenderingEnabled"; "required": false; }; "src": { "alias": "src"; "required": false; }; "srcSet": { "alias": "srcSet"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "crossOrigin": { "alias": "crossOrigin"; "required": false; }; "referrerPolicy": { "alias": "referrerPolicy"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "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"; "loadStart": "loadStart"; "load": "load"; "loadEnd": "loadEnd"; "error": "error"; "progress": "progress"; "partialLoad": "partialLoad"; }, never, ["*"], true, [{ directive: typeof i1.SymbioteStyleInputDirective; inputs: { "style": "style"; }; outputs: {}; }]>;
|
|
81
82
|
}
|
|
@@ -13,8 +13,9 @@ import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, ElementRef,
|
|
|
13
13
|
import { renderImageBackground, resolveAccessibilityProps, } from '@symbiote-native/components';
|
|
14
14
|
import { resolveClassName, } from '@symbiote-native/engine';
|
|
15
15
|
import { Image } from './image';
|
|
16
|
-
import { anchorHostStyle, ViewHost } from '../primitives';
|
|
16
|
+
import { anchorHostStyle, SymbioteStyleInputDirective, ViewHost, } from '../primitives';
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
|
+
import * as i1 from "../primitives/shared";
|
|
18
19
|
export class ImageBackground {
|
|
19
20
|
// The inner <Image>'s events as real Angular events, re-emitted verbatim through
|
|
20
21
|
// ImageBackground's own outputs: `(load)="load.emit($event)"`, not `[onLoad]="onLoad"`.
|
|
@@ -150,8 +151,8 @@ export class ImageBackground {
|
|
|
150
151
|
'aria-valuetext': this.ariaValueText,
|
|
151
152
|
});
|
|
152
153
|
}
|
|
153
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
154
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
154
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ImageBackground, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
155
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", 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" }, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
155
156
|
<symbiote-view [style]="wrapperStyle">
|
|
156
157
|
<Image
|
|
157
158
|
[source]="source"
|
|
@@ -187,10 +188,16 @@ export class ImageBackground {
|
|
|
187
188
|
[screenReaderFocusable]="folded.screenReaderFocusable"
|
|
188
189
|
[accessibilityViewIsModal]="folded.accessibilityViewIsModal"
|
|
189
190
|
[accessibilityElementsHidden]="folded.accessibilityElementsHidden"
|
|
190
|
-
[accessibilityIgnoresInvertColors]="
|
|
191
|
+
[accessibilityIgnoresInvertColors]="
|
|
192
|
+
folded.accessibilityIgnoresInvertColors
|
|
193
|
+
"
|
|
191
194
|
[accessibilityLanguage]="folded.accessibilityLanguage"
|
|
192
|
-
[accessibilityRespondsToUserInteraction]="
|
|
193
|
-
|
|
195
|
+
[accessibilityRespondsToUserInteraction]="
|
|
196
|
+
folded.accessibilityRespondsToUserInteraction
|
|
197
|
+
"
|
|
198
|
+
[accessibilityShowsLargeContentViewer]="
|
|
199
|
+
folded.accessibilityShowsLargeContentViewer
|
|
200
|
+
"
|
|
194
201
|
[accessibilityLargeContentTitle]="folded.accessibilityLargeContentTitle"
|
|
195
202
|
(loadStart)="loadStart.emit($event)"
|
|
196
203
|
(load)="load.emit($event)"
|
|
@@ -207,11 +214,14 @@ export class ImageBackground {
|
|
|
207
214
|
</symbiote-view>
|
|
208
215
|
`, 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
216
|
}
|
|
210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ImageBackground, decorators: [{
|
|
211
218
|
type: Component,
|
|
212
219
|
args: [{
|
|
213
220
|
selector: 'ImageBackground',
|
|
214
221
|
standalone: true,
|
|
222
|
+
hostDirectives: [
|
|
223
|
+
{ directive: SymbioteStyleInputDirective, inputs: ['style'] },
|
|
224
|
+
],
|
|
215
225
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
216
226
|
imports: [Image, ViewHost],
|
|
217
227
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -251,10 +261,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
251
261
|
[screenReaderFocusable]="folded.screenReaderFocusable"
|
|
252
262
|
[accessibilityViewIsModal]="folded.accessibilityViewIsModal"
|
|
253
263
|
[accessibilityElementsHidden]="folded.accessibilityElementsHidden"
|
|
254
|
-
[accessibilityIgnoresInvertColors]="
|
|
264
|
+
[accessibilityIgnoresInvertColors]="
|
|
265
|
+
folded.accessibilityIgnoresInvertColors
|
|
266
|
+
"
|
|
255
267
|
[accessibilityLanguage]="folded.accessibilityLanguage"
|
|
256
|
-
[accessibilityRespondsToUserInteraction]="
|
|
257
|
-
|
|
268
|
+
[accessibilityRespondsToUserInteraction]="
|
|
269
|
+
folded.accessibilityRespondsToUserInteraction
|
|
270
|
+
"
|
|
271
|
+
[accessibilityShowsLargeContentViewer]="
|
|
272
|
+
folded.accessibilityShowsLargeContentViewer
|
|
273
|
+
"
|
|
258
274
|
[accessibilityLargeContentTitle]="folded.accessibilityLargeContentTitle"
|
|
259
275
|
(loadStart)="loadStart.emit($event)"
|
|
260
276
|
(load)="load.emit($event)"
|
|
@@ -1 +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,
|
|
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,EACL,eAAe,EACf,2BAA2B,EAC3B,QAAQ,GACT,MAAM,eAAe,CAAC;;;AAsGvB,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,EAAk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iB;;sBACvB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,aAAa;;sBACnB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,cAAc;;sBACpB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,gBAAgB"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, type DoCheck, type OnChanges } from '@angular/core';
|
|
2
2
|
import { type IAccessibilityProps, type IAccessibilityStateValue, type IAriaProps } from '@symbiote-native/components';
|
|
3
3
|
import { type IStyleProp, type ISymbioteEvent, type IViewStyle } from '@symbiote-native/engine';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../primitives/shared";
|
|
5
6
|
export interface IAngularInputAccessoryViewProps extends IAccessibilityProps, IAriaProps {
|
|
6
7
|
nativeID?: string;
|
|
7
8
|
backgroundColor?: string;
|
|
8
9
|
style?: IStyleProp<IViewStyle>;
|
|
9
10
|
}
|
|
10
11
|
export type IAngularInputAccessoryViewInputs = Omit<IAngularInputAccessoryViewProps, 'onAccessibilityAction' | 'onAccessibilityTap' | 'onMagicTap' | 'onAccessibilityEscape'>;
|
|
11
|
-
export declare class InputAccessoryView implements IAngularInputAccessoryViewInputs {
|
|
12
|
+
export declare class InputAccessoryView implements IAngularInputAccessoryViewInputs, OnChanges, DoCheck {
|
|
12
13
|
nativeID?: string;
|
|
13
14
|
backgroundColor?: string;
|
|
14
15
|
style?: IStyleProp<IViewStyle>;
|
|
@@ -53,8 +54,12 @@ export declare class InputAccessoryView implements IAngularInputAccessoryViewInp
|
|
|
53
54
|
private readonly elementRef;
|
|
54
55
|
emit(emitter: EventEmitter<ISymbioteEvent>, event: unknown): void;
|
|
55
56
|
private get descriptor();
|
|
56
|
-
|
|
57
|
+
private readonly hostPropsRevision;
|
|
58
|
+
private lastAnchorStyle;
|
|
59
|
+
ngOnChanges(): void;
|
|
60
|
+
ngDoCheck(): void;
|
|
61
|
+
readonly hostProps: import("@angular/core").Signal<Record<string, unknown>>;
|
|
57
62
|
private accessibilityInputs;
|
|
58
63
|
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,
|
|
64
|
+
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, [{ directive: typeof i1.SymbioteStyleInputDirective; inputs: { "style": "style"; }; outputs: {}; }]>;
|
|
60
65
|
}
|
|
@@ -6,11 +6,12 @@
|
|
|
6
6
|
// Angular supplies only the lifecycle — it folds aria/role, reads the resolved props off the
|
|
7
7
|
// Descriptor, and nests the user children under the host via <ng-content>. The Angular twin of the
|
|
8
8
|
// React/Vue InputAccessoryView. No platform branch, so this stays flat.
|
|
9
|
-
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, inject, Input, Output, } from '@angular/core';
|
|
9
|
+
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, computed, ElementRef, EventEmitter, inject, Input, Output, signal, } from '@angular/core';
|
|
10
10
|
import { renderInputAccessoryView, resolveAccessibilityProps, } from '@symbiote-native/components';
|
|
11
11
|
import { isSymbioteEvent, } from '@symbiote-native/engine';
|
|
12
|
-
import { anchorHostStyle, InputAccessoryViewHost, SymbioteHostPropsDirective, } from '../../primitives';
|
|
12
|
+
import { anchorHostStyle, InputAccessoryViewHost, SymbioteHostPropsDirective, SymbioteStyleInputDirective, } from '../../primitives';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "../../primitives/shared";
|
|
14
15
|
export class InputAccessoryView {
|
|
15
16
|
nativeID;
|
|
16
17
|
backgroundColor;
|
|
@@ -72,12 +73,47 @@ export class InputAccessoryView {
|
|
|
72
73
|
passthrough: resolveAccessibilityProps(this.accessibilityInputs()),
|
|
73
74
|
});
|
|
74
75
|
}
|
|
76
|
+
// Bridges the non-reactive fields `hostProps` reads into the reactive graph, so it can memoize.
|
|
77
|
+
// Plain fields read inside a computed() are UNTRACKED - something must signal "a dependency
|
|
78
|
+
// changed" or the bag goes stale. Signal inputs would do this natively, but `input()` is visible
|
|
79
|
+
// only to the AOT compiler and this package's unit suite runs on JIT (see the
|
|
80
|
+
// `angular-adapter-change-detection` skill, §6); `signal()`/`computed()` are plain runtime APIs.
|
|
81
|
+
hostPropsRevision = signal(0, /* @ts-ignore */
|
|
82
|
+
...(ngDevMode ? [{ debugName: "hostPropsRevision" }] : /* istanbul ignore next */ []));
|
|
83
|
+
// What the anchor's class-derived style was when the bag was last built (identity, not value).
|
|
84
|
+
lastAnchorStyle;
|
|
85
|
+
ngOnChanges() {
|
|
86
|
+
// The single moment Angular has finished writing every changed @Input for this pass.
|
|
87
|
+
this.hostPropsRevision.update(revision => revision + 1);
|
|
88
|
+
}
|
|
89
|
+
// The anchor's class-derived style is NOT an @Input: `class="..."`/`[ngClass]` at the use site
|
|
90
|
+
// resolves through the renderer's addClass onto this component's anchor host (see
|
|
91
|
+
// anchorHostStyle's doc comment), so it never shows up in SimpleChanges and ngOnChanges alone
|
|
92
|
+
// would leave a later class toggle stranded. ngDoCheck runs at exactly the cadence the old
|
|
93
|
+
// getter was re-read, and bumps only on a real identity change.
|
|
94
|
+
ngDoCheck() {
|
|
95
|
+
const anchorStyle = anchorHostStyle(this.elementRef);
|
|
96
|
+
if (anchorStyle === this.lastAnchorStyle)
|
|
97
|
+
return;
|
|
98
|
+
this.lastAnchorStyle = anchorStyle;
|
|
99
|
+
this.hostPropsRevision.update(revision => revision + 1);
|
|
100
|
+
}
|
|
75
101
|
// The anchor's class-derived style goes FIRST, the Descriptor's resolved style SECOND —
|
|
76
102
|
// flattenStyle's later-wins collapse keeps an explicit [style] winning over its ambient class.
|
|
77
|
-
|
|
103
|
+
//
|
|
104
|
+
// A computed(), not a getter: Angular re-reads a template getter on every refresh of this view
|
|
105
|
+
// and `[symbioteHostProps]` compares by REFERENCE, so a freshly rebuilt (but identical) bag
|
|
106
|
+
// re-pushes every key through renderer.setProperty -> the engine's prop routing - and this one
|
|
107
|
+
// re-runs renderInputAccessoryView to build it.
|
|
108
|
+
hostProps = computed(() => {
|
|
109
|
+
this.hostPropsRevision();
|
|
78
110
|
const descriptorProps = this.descriptor.props;
|
|
79
|
-
return {
|
|
80
|
-
|
|
111
|
+
return {
|
|
112
|
+
...descriptorProps,
|
|
113
|
+
style: [anchorHostStyle(this.elementRef), descriptorProps.style],
|
|
114
|
+
};
|
|
115
|
+
}, /* @ts-ignore */
|
|
116
|
+
...(ngDevMode ? [{ debugName: "hostProps" }] : /* istanbul ignore next */ []));
|
|
81
117
|
// Typed as the a11y intersection WITH the string index (the bag renderInputAccessoryView spreads
|
|
82
118
|
// into the host props), so resolveAccessibilityProps's result stays assignable to passthrough.
|
|
83
119
|
accessibilityInputs() {
|
|
@@ -118,10 +154,10 @@ export class InputAccessoryView {
|
|
|
118
154
|
'aria-valuetext': this.ariaValueText,
|
|
119
155
|
};
|
|
120
156
|
}
|
|
121
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
122
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputAccessoryView, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
158
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: InputAccessoryView, isStandalone: true, selector: "InputAccessoryView", inputs: { nativeID: "nativeID", backgroundColor: "backgroundColor", style: "style", testID: "testID", 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" }, usesOnChanges: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
123
159
|
<symbiote-input-accessory-view
|
|
124
|
-
[symbioteHostProps]="hostProps"
|
|
160
|
+
[symbioteHostProps]="hostProps()"
|
|
125
161
|
(accessibilityAction)="emit(accessibilityAction, $event)"
|
|
126
162
|
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
127
163
|
(magicTap)="emit(magicTap, $event)"
|
|
@@ -131,17 +167,20 @@ export class InputAccessoryView {
|
|
|
131
167
|
</symbiote-input-accessory-view>
|
|
132
168
|
`, isInline: true, dependencies: [{ kind: "component", type: InputAccessoryViewHost, selector: "symbiote-input-accessory-view" }, { kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
133
169
|
}
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputAccessoryView, decorators: [{
|
|
135
171
|
type: Component,
|
|
136
172
|
args: [{
|
|
137
173
|
selector: 'InputAccessoryView',
|
|
138
174
|
standalone: true,
|
|
175
|
+
hostDirectives: [
|
|
176
|
+
{ directive: SymbioteStyleInputDirective, inputs: ['style'] },
|
|
177
|
+
],
|
|
139
178
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
140
179
|
imports: [InputAccessoryViewHost, SymbioteHostPropsDirective],
|
|
141
180
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
142
181
|
template: `
|
|
143
182
|
<symbiote-input-accessory-view
|
|
144
|
-
[symbioteHostProps]="hostProps"
|
|
183
|
+
[symbioteHostProps]="hostProps()"
|
|
145
184
|
(accessibilityAction)="emit(accessibilityAction, $event)"
|
|
146
185
|
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
147
186
|
(magicTap)="emit(magicTap, $event)"
|