@symbiote-native/angular 0.7.0 → 1.0.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/babel-lower-host-primitives.cjs +636 -0
- package/babel-register-composed.cjs +21 -3
- package/build/angular/anchor-host-registry.js +3 -1
- 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.js +7 -2
- package/build/angular/components/activity-indicator/index.android.js.map +1 -1
- package/build/angular/components/activity-indicator/index.ios.js +3 -1
- 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 +1 -1
- package/build/angular/components/activity-indicator/shared.js.map +1 -1
- package/build/angular/components/button.d.ts +3 -0
- package/build/angular/components/button.js +22 -5
- package/build/angular/components/button.js.map +1 -1
- package/build/angular/components/flat-list/index.d.ts +1 -1
- package/build/angular/components/flat-list/index.js +47 -14
- package/build/angular/components/flat-list/index.js.map +1 -1
- package/build/angular/components/image/index.android.js +4 -10
- package/build/angular/components/image/index.android.js.map +1 -1
- package/build/angular/components/image/index.ios.js +4 -10
- package/build/angular/components/image/index.ios.js.map +1 -1
- package/build/angular/components/image/shared.d.ts +4 -4
- package/build/angular/components/image/shared.js +51 -33
- package/build/angular/components/image/shared.js.map +1 -1
- package/build/angular/components/image-background.d.ts +3 -0
- package/build/angular/components/image-background.js +32 -9
- package/build/angular/components/image-background.js.map +1 -1
- package/build/angular/components/input-accessory-view/index.d.ts +2 -1
- package/build/angular/components/input-accessory-view/index.js +18 -16
- 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 +56 -19
- package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -1
- package/build/angular/components/modal/index.d.ts +1 -0
- package/build/angular/components/modal/index.js +21 -10
- package/build/angular/components/modal/index.js.map +1 -1
- package/build/angular/components/pressable/index.d.ts +10 -5
- package/build/angular/components/pressable/index.js +61 -16
- package/build/angular/components/pressable/index.js.map +1 -1
- package/build/angular/components/refresh-control/index.d.ts +2 -1
- package/build/angular/components/refresh-control/index.js +13 -9
- package/build/angular/components/refresh-control/index.js.map +1 -1
- package/build/angular/components/safe-area-view/index.d.ts +3 -1
- package/build/angular/components/safe-area-view/index.js +22 -20
- package/build/angular/components/safe-area-view/index.js.map +1 -1
- package/build/angular/components/scroll-view/index.android.js +44 -14
- package/build/angular/components/scroll-view/index.android.js.map +1 -1
- package/build/angular/components/scroll-view/index.ios.js +13 -5
- package/build/angular/components/scroll-view/index.ios.js.map +1 -1
- package/build/angular/components/scroll-view/projection.d.ts +32 -0
- package/build/angular/components/scroll-view/projection.js +212 -47
- package/build/angular/components/scroll-view/projection.js.map +1 -1
- package/build/angular/components/scroll-view/shared.d.ts +2 -0
- package/build/angular/components/scroll-view/shared.js +48 -11
- package/build/angular/components/scroll-view/shared.js.map +1 -1
- package/build/angular/components/scroll-view/sticky-header.js +7 -3
- package/build/angular/components/scroll-view/sticky-header.js.map +1 -1
- package/build/angular/components/section-list/index.d.ts +9 -1
- package/build/angular/components/section-list/index.js +72 -18
- package/build/angular/components/section-list/index.js.map +1 -1
- package/build/angular/components/switch/index.android.js +23 -9
- package/build/angular/components/switch/index.android.js.map +1 -1
- package/build/angular/components/switch/index.ios.js +23 -9
- package/build/angular/components/switch/index.ios.js.map +1 -1
- package/build/angular/components/switch/shared.d.ts +1 -1
- package/build/angular/components/switch/shared.js +5 -2
- package/build/angular/components/switch/shared.js.map +1 -1
- package/build/angular/components/text-input.d.ts +8 -2
- package/build/angular/components/text-input.js +79 -34
- package/build/angular/components/text-input.js.map +1 -1
- package/build/angular/components/touchable/index.d.ts +36 -7
- package/build/angular/components/touchable/index.js +280 -72
- package/build/angular/components/touchable/index.js.map +1 -1
- package/build/angular/components/touchable-native-feedback/index.d.ts +2 -1
- package/build/angular/components/touchable-native-feedback/index.js +19 -17
- package/build/angular/components/touchable-native-feedback/index.js.map +1 -1
- package/build/angular/components/virtualized-list/directives.js +4 -0
- package/build/angular/components/virtualized-list/directives.js.map +1 -1
- package/build/angular/components/virtualized-list/index.d.ts +8 -2
- package/build/angular/components/virtualized-list/index.js +207 -61
- package/build/angular/components/virtualized-list/index.js.map +1 -1
- package/build/angular/components/virtualized-section-list/directives.js.map +1 -1
- package/build/angular/components/virtualized-section-list/index.d.ts +21 -1
- package/build/angular/components/virtualized-section-list/index.js +100 -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 +1 -1
- package/build/angular/components.js.map +1 -1
- package/build/angular/create-portal/index.d.ts +11 -2
- package/build/angular/create-portal/index.js +42 -12
- package/build/angular/create-portal/index.js.map +1 -1
- package/build/angular/create-tunnel/index.js.map +1 -1
- package/build/angular/descriptor-to-angular/index.js +3 -1
- 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/gate-demand.d.ts +37 -0
- package/build/angular/gate-demand.js +84 -0
- package/build/angular/gate-demand.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 +6 -2
- package/build/angular/index.js +16 -1
- package/build/angular/index.js.map +1 -1
- package/build/angular/modules/animated/create-animated-component.d.ts +1 -0
- package/build/angular/modules/animated/create-animated-component.js +41 -18
- package/build/angular/modules/animated/create-animated-component.js.map +1 -1
- package/build/angular/modules/app-registry/index.js.map +1 -1
- package/build/angular/modules/status-bar/index.js +1 -1
- package/build/angular/modules/status-bar/index.js.map +1 -1
- package/build/angular/primitives/index.d.ts +31 -2
- package/build/angular/primitives/index.js +81 -3
- package/build/angular/primitives/index.js.map +1 -1
- package/build/angular/primitives/shared.d.ts +9 -1
- package/build/angular/primitives/shared.js +49 -3
- package/build/angular/primitives/shared.js.map +1 -1
- package/build/angular/register.d.ts +1 -0
- package/build/angular/register.js +35 -0
- package/build/angular/register.js.map +1 -0
- package/build/angular/render/index.js +51 -6
- package/build/angular/render/index.js.map +1 -1
- package/build/angular/renderer/index.d.ts +1 -0
- package/build/angular/renderer/index.js +157 -21
- package/build/angular/renderer/index.js.map +1 -1
- package/build/angular/services/color-scheme.service.js.map +1 -1
- package/build/angular/services/window-dimensions.service.js +1 -1
- package/build/angular/services/window-dimensions.service.js.map +1 -1
- package/build/angular/state-style.d.ts +9 -0
- package/build/angular/state-style.js +39 -0
- package/build/angular/state-style.js.map +1 -0
- package/metro-transformer.cjs +69 -0
- package/package.json +27 -8
- package/src/anchor-host-registry.ts +3 -1
- package/src/bootstrap.ts +4 -1
- package/src/components/activity-indicator/index.android.ts +7 -2
- package/src/components/activity-indicator/index.ios.ts +3 -1
- package/src/components/activity-indicator/shared.ts +32 -13
- package/src/components/button.ts +36 -6
- package/src/components/flat-list/index.ts +91 -29
- package/src/components/image/index.android.ts +9 -6
- package/src/components/image/index.ios.ts +9 -6
- package/src/components/image/shared.ts +110 -45
- package/src/components/image-background.ts +47 -10
- package/src/components/input-accessory-view/index.ts +41 -18
- package/src/components/keyboard-avoiding-view/index.ts +76 -22
- package/src/components/modal/index.ts +39 -12
- package/src/components/pressable/index.ts +121 -31
- package/src/components/refresh-control/index.ts +36 -13
- package/src/components/safe-area-view/index.ts +44 -19
- package/src/components/scroll-view/index.android.ts +31 -9
- package/src/components/scroll-view/index.ios.ts +17 -4
- package/src/components/scroll-view/projection.ts +290 -63
- package/src/components/scroll-view/shared.ts +124 -30
- package/src/components/scroll-view/sticky-header.ts +25 -8
- package/src/components/section-list/index.ts +79 -19
- package/src/components/switch/index.android.ts +18 -7
- package/src/components/switch/index.ios.ts +18 -7
- package/src/components/switch/shared.ts +15 -4
- package/src/components/text-input.ts +119 -31
- package/src/components/touchable/index.ts +339 -72
- package/src/components/touchable-native-feedback/index.ts +50 -18
- package/src/components/virtualized-list/directives.ts +19 -5
- package/src/components/virtualized-list/index.ts +292 -72
- package/src/components/virtualized-section-list/directives.ts +6 -3
- package/src/components/virtualized-section-list/index.ts +164 -34
- package/src/components.ts +6 -1
- package/src/create-portal/index.ts +47 -11
- package/src/create-tunnel/index.ts +3 -1
- package/src/descriptor-to-angular/index.ts +29 -8
- package/src/diagnostics.ts +138 -0
- package/src/gate-demand.ts +109 -0
- package/src/host-instance/index.ts +9 -3
- package/src/index.ts +33 -2
- package/src/modules/animated/create-animated-component.ts +67 -19
- package/src/modules/app-registry/index.ts +3 -1
- package/src/modules/status-bar/index.ts +13 -4
- package/src/primitives/index.ts +73 -2
- package/src/primitives/shared.ts +70 -9
- package/src/register.ts +43 -0
- package/src/render/index.ts +59 -7
- package/src/renderer/index.ts +209 -37
- package/src/services/color-scheme.service.ts +3 -1
- package/src/services/window-dimensions.service.ts +11 -4
- package/src/state-style.ts +39 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CUSTOM_ELEMENTS_SCHEMA, Component, ElementRef, forwardRef, inject, signal, } from '@angular/core';
|
|
2
2
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { anchorHostStyle,
|
|
3
|
+
import { anchorHostStyle, ManagedSwitchHost, SymbioteHostPropsDirective, SymbioteStyleInputDirective, } from '../../primitives';
|
|
4
4
|
import { SwitchBase } from './shared';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "../../primitives/shared";
|
|
7
7
|
export class Switch extends SwitchBase {
|
|
8
8
|
// This component's OWN host — the non-painting anchor `class="..."` at the use site resolves
|
|
9
|
-
// onto (see anchorHostStyle's doc comment) — NOT the <symbiote-switch> leaf one level down.
|
|
9
|
+
// onto (see anchorHostStyle's doc comment) — NOT the <symbiote-switch-managed> leaf one level down.
|
|
10
10
|
elementRef = inject(ElementRef);
|
|
11
11
|
platform = {
|
|
12
12
|
snapBackCommand: 'setValue',
|
|
@@ -47,23 +47,37 @@ export class Switch extends SwitchBase {
|
|
|
47
47
|
return { ...props, style: [this.anchorStyle(), props['style']] };
|
|
48
48
|
}
|
|
49
49
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Switch, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: Switch, isStandalone: true, selector: "Switch", inputs: { value: "value", disabled: "disabled", trackColor: "trackColor", thumbColor: "thumbColor", ios_backgroundColor: "ios_backgroundColor", style: "style", nativeID: "nativeID", testID: "testID", accessibilityLabel: "accessibilityLabel", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityHint: "accessibilityHint", accessible: "accessible", role: "role", "aria-label": "aria-label", "aria-disabled": "aria-disabled", "aria-checked": "aria-checked" }, outputs: { valueChange: "valueChange", change: "change" }, providers: [
|
|
51
|
-
|
|
50
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: Switch, isStandalone: true, selector: "Switch", inputs: { value: "value", disabled: "disabled", trackColor: "trackColor", thumbColor: "thumbColor", ios_backgroundColor: "ios_backgroundColor", style: "style", nativeID: "nativeID", testID: "testID", accessibilityLabel: "accessibilityLabel", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityHint: "accessibilityHint", accessible: "accessible", role: "role", "aria-label": "aria-label", "aria-disabled": "aria-disabled", "aria-checked": "aria-checked" }, outputs: { valueChange: "valueChange", change: "change" }, providers: [
|
|
51
|
+
{
|
|
52
|
+
provide: NG_VALUE_ACCESSOR,
|
|
53
|
+
useExisting: forwardRef(() => Switch),
|
|
54
|
+
multi: true,
|
|
55
|
+
},
|
|
56
|
+
], usesInheritance: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
57
|
+
<symbiote-switch-managed
|
|
52
58
|
#nativeSwitch="symbioteHost"
|
|
53
59
|
[symbioteHostProps]="hostProps()"
|
|
54
60
|
(change)="handleChange($event, nativeSwitch)"
|
|
55
61
|
/>
|
|
56
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
62
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ManagedSwitchHost, selector: "symbiote-switch-managed" }, { kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }] });
|
|
57
63
|
}
|
|
58
64
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Switch, decorators: [{
|
|
59
65
|
type: Component,
|
|
60
66
|
args: [{
|
|
61
67
|
selector: 'Switch',
|
|
62
68
|
standalone: true,
|
|
63
|
-
hostDirectives: [
|
|
69
|
+
hostDirectives: [
|
|
70
|
+
{ directive: SymbioteStyleInputDirective, inputs: ['style'] },
|
|
71
|
+
],
|
|
64
72
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
65
|
-
imports: [
|
|
66
|
-
providers: [
|
|
73
|
+
imports: [ManagedSwitchHost, SymbioteHostPropsDirective],
|
|
74
|
+
providers: [
|
|
75
|
+
{
|
|
76
|
+
provide: NG_VALUE_ACCESSOR,
|
|
77
|
+
useExisting: forwardRef(() => Switch),
|
|
78
|
+
multi: true,
|
|
79
|
+
},
|
|
80
|
+
],
|
|
67
81
|
inputs: [
|
|
68
82
|
'value',
|
|
69
83
|
'disabled',
|
|
@@ -86,7 +100,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
86
100
|
],
|
|
87
101
|
outputs: ['valueChange', 'change'],
|
|
88
102
|
template: `
|
|
89
|
-
<symbiote-switch
|
|
103
|
+
<symbiote-switch-managed
|
|
90
104
|
#nativeSwitch="symbioteHost"
|
|
91
105
|
[symbioteHostProps]="hostProps()"
|
|
92
106
|
(change)="handleChange($event, nativeSwitch)"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.ios.js","sourceRoot":"","sources":["../../../../src/components/switch/index.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,SAAS,EACT,UAAU,EACV,UAAU,EACV,MAAM,EACN,MAAM,GAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EACL,eAAe,EACf,
|
|
1
|
+
{"version":3,"file":"index.ios.js","sourceRoot":"","sources":["../../../../src/components/switch/index.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,SAAS,EACT,UAAU,EACV,UAAU,EACV,MAAM,EACN,MAAM,GAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;;;AA+CtC,MAAM,OAAO,MAAO,SAAQ,UAAU;IACpC,6FAA6F;IAC7F,oGAAoG;IACnF,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;IAE9B,QAAQ,GAAG;QAC5B,eAAe,EAAE,UAAU;QAC3B,eAAe,EAAE,CACf,MAAe,EACf,UAA8C,EAC9C,EAAE,CAAC,CAAC;YACJ,WAAW,EAAE,UAAU,EAAE,IAAI;YAC7B,SAAS,EAAE,UAAU,EAAE,KAAK;SAC7B,CAAC;KACH,CAAC;IAEF,+FAA+F;IAC/F,4FAA4F;IAC5F,8FAA8F;IAC9F,+FAA+F;IAC/F,gDAAgD;IAChD,EAAE;IACF,8FAA8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BACZ;qBACF;oBACD,MAAM,EAAE;wBACN,OAAO;wBACP,UAAU;wBACV,YAAY;wBACZ,YAAY;wBACZ,qBAAqB;wBACrB,OAAO;wBACP,UAAU;wBACV,QAAQ;wBACR,oBAAoB;wBACpB,mBAAmB;wBACnB,oBAAoB;wBACpB,oBAAoB;wBACpB,mBAAmB;wBACnB,YAAY;wBACZ,MAAM;wBACN,YAAY;wBACZ,eAAe;wBACf,cAAc;qBACf;oBACD,OAAO,EAAE,CAAC,aAAa,EAAE,QAAQ,CAAC;oBAClC,QAAQ,EAAE;;;;;;GAMT;iBACF"}
|
|
@@ -3,7 +3,7 @@ import type { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import type { ISwitchPlatform, ISwitchProps, ISwitchTrackColor } from '@symbiote-native/components';
|
|
4
4
|
import { type ISymbioteEvent, type IStyleProp, type IViewStyle } from '@symbiote-native/engine';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export type { ISwitchProps, ISwitchTrackColor } from '@symbiote-native/components';
|
|
6
|
+
export type { ISwitchProps, ISwitchTrackColor, } from '@symbiote-native/components';
|
|
7
7
|
export type ISwitchInputs = Pick<ISwitchProps, 'value' | 'disabled' | 'trackColor' | 'thumbColor' | 'ios_backgroundColor' | 'style' | 'nativeID' | 'testID' | 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityState' | 'accessibilityValue' | 'accessibilityHint' | 'accessible' | 'role' | 'aria-label' | 'aria-disabled' | 'aria-checked'>;
|
|
8
8
|
type ISwitchHostPlatform = ISwitchPlatform & {
|
|
9
9
|
snapBackCommand: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Directive, EventEmitter, Output, computed, inject, signal, } from '@angular/core';
|
|
2
|
-
import { renderSwitch, resolveAccessibilityProps } from '@symbiote-native/components';
|
|
2
|
+
import { renderSwitch, resolveAccessibilityProps, } from '@symbiote-native/components';
|
|
3
3
|
import { createInitialSwitchState, shouldSnapBack, switchReducer, valueFromChange, } from '@symbiote-native/components';
|
|
4
4
|
import { dispatchViewCommand, dlog, isSymbioteNode, whenCommitted, } from '@symbiote-native/engine';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -108,7 +108,10 @@ export class SwitchBase {
|
|
|
108
108
|
if (next === undefined)
|
|
109
109
|
return;
|
|
110
110
|
this.valueChange.emit(next);
|
|
111
|
-
this.switchState = switchReducer(this.switchState, {
|
|
111
|
+
this.switchState = switchReducer(this.switchState, {
|
|
112
|
+
type: 'native-reported',
|
|
113
|
+
value: next,
|
|
114
|
+
});
|
|
112
115
|
const hostNode = readSwitchNode(node);
|
|
113
116
|
if (hostNode === null)
|
|
114
117
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../src/components/switch/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,MAAM,EACN,MAAM,GAEP,MAAM,eAAe,CAAC;AAEvB,OAAO,
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../src/components/switch/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,MAAM,EACN,MAAM,GAEP,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,YAAY,EACZ,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AAOrC,OAAO,EACL,wBAAwB,EACxB,cAAc,EACd,aAAa,EACb,eAAe,GAChB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,mBAAmB,EACnB,IAAI,EACJ,cAAc,EACd,aAAa,GAKd,MAAM,yBAAyB,CAAC;;AAiCjC,SAAS,cAAc,CAAC,KAAc;IACpC,IAAI,cAAc,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IACxC,IACE,OAAO,KAAK,KAAK,QAA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3C,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;YAChC,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;YACtC,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC;SACrC,CAAC;IACJ,CAAC;uGA1LmB,UAAU;2FAAV,UAAU;;2FAAV,UAAU;kBAD/B,SAAS;;sBAQP,MAAM;;sBACN,MAAM"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, type AfterViewInit, type OnChanges, type OnDestroy, type SimpleChanges } from '@angular/core';
|
|
2
2
|
import { type ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { type IAccessibilityProps, type IAccessibilityStateValue, type IAriaProps, type IEnterKeyHint, type IInputMode, type ISubmitBehavior, type ITextInputEventHandler, type ITextInputHandle, type ITextInputSelection } from '@symbiote-native/components';
|
|
4
|
-
import { type IStyleProp, type ISymbioteEvent, type ITextStyle } from '@symbiote-native/engine';
|
|
4
|
+
import { type IMeasureInWindowOnSuccess, type IMeasureLayoutOnSuccess, type IMeasureOnSuccess, type IStyleProp, type ISymbioteEvent, type ISymbioteNode, type ITextStyle } from '@symbiote-native/engine';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "../primitives/shared";
|
|
7
|
-
export type { ITextInputHandle, ITextInputSelection, IInputMode, IEnterKeyHint, ISubmitBehavior };
|
|
7
|
+
export type { ITextInputHandle, ITextInputSelection, IInputMode, IEnterKeyHint, ISubmitBehavior, };
|
|
8
8
|
export interface IAngularTextInputProps extends IAccessibilityProps, IAriaProps {
|
|
9
9
|
value?: string;
|
|
10
10
|
defaultValue?: string;
|
|
@@ -97,6 +97,7 @@ export declare class TextInput implements IAngularTextInputInputs, ITextInputHan
|
|
|
97
97
|
readonly accessibilityTap: EventEmitter<ISymbioteEvent>;
|
|
98
98
|
readonly magicTap: EventEmitter<ISymbioteEvent>;
|
|
99
99
|
readonly accessibilityEscape: EventEmitter<ISymbioteEvent>;
|
|
100
|
+
private readonly gateDemand;
|
|
100
101
|
accessible?: boolean;
|
|
101
102
|
accessibilityLabel?: string;
|
|
102
103
|
accessibilityHint?: string;
|
|
@@ -146,6 +147,11 @@ export declare class TextInput implements IAngularTextInputInputs, ITextInputHan
|
|
|
146
147
|
handleFocus(event: unknown): void;
|
|
147
148
|
handleBlur(event: unknown): void;
|
|
148
149
|
emit(emitter: EventEmitter<ISymbioteEvent>, event: unknown): void;
|
|
150
|
+
private gatedAccessibilityHandler;
|
|
151
|
+
measure(callback: IMeasureOnSuccess): void;
|
|
152
|
+
measureInWindow(callback: IMeasureInWindowOnSuccess): void;
|
|
153
|
+
measureLayout(relativeToNativeNode: ISymbioteNode | number, onSuccess: IMeasureLayoutOnSuccess, onFail?: () => void): void;
|
|
154
|
+
setNativeProps(nativeProps: Record<string, unknown>): void;
|
|
149
155
|
focus(): void;
|
|
150
156
|
blur(): void;
|
|
151
157
|
clear(): void;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// and the controlled-write predicate live in @symbiote-native/components/state, the render (intrinsic
|
|
3
3
|
// + native-prop mapping) in @symbiote-native/components/view, both shared verbatim with the React and
|
|
4
4
|
// Vue adapters. Here Angular supplies only the lifecycle: renderTextInput picks ONE of two host
|
|
5
|
-
// intrinsics at runtime (symbiote-text-input /
|
|
5
|
+
// intrinsics at runtime (symbiote-text-input-managed / …-multiline-managed) via `@if`/`@else`,
|
|
6
6
|
// each wired through the shared `SymbioteHostPropsDirective` (`[symbioteHostProps]="hostProps"`,
|
|
7
7
|
// `../primitives/shared.ts`) so the flat resolved prop bag doesn't need enumerating as individual
|
|
8
8
|
// `[prop]` bindings; a @ViewChild reading that directive (by its `#host` template ref, across
|
|
@@ -28,7 +28,8 @@ import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Com
|
|
|
28
28
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
29
29
|
import { foldText, eventCountFromChange, textFromChange, shouldCommandText, renderTextInput, resolveAccessibilityProps, resolveTextInputProps, INITIAL_EVENT_COUNT, SELECTION_NONE, } from '@symbiote-native/components';
|
|
30
30
|
import { blurTextInput, dispatchViewCommand, dlog, isSymbioteEvent, isSymbioteNode, setInputBlurred, setInputFocused, whenCommitted, } from '@symbiote-native/engine';
|
|
31
|
-
import { anchorHostStyle,
|
|
31
|
+
import { anchorHostStyle, ManagedMultilineTextInputHost, SymbioteHostPropsDirective, SymbioteStyleInputDirective, ManagedTextInputHost, } from '../primitives';
|
|
32
|
+
import { gateWanted, injectGateDemand, } from '../gate-demand';
|
|
32
33
|
import * as i0 from "@angular/core";
|
|
33
34
|
import * as i1 from "../primitives/shared";
|
|
34
35
|
export class TextInput {
|
|
@@ -87,6 +88,8 @@ export class TextInput {
|
|
|
87
88
|
accessibilityTap = new EventEmitter();
|
|
88
89
|
magicTap = new EventEmitter();
|
|
89
90
|
accessibilityEscape = new EventEmitter();
|
|
91
|
+
// Null unless a wrapper renders this TextInput in its own template. See `../gate-demand.ts`.
|
|
92
|
+
gateDemand = injectGateDemand();
|
|
90
93
|
accessible;
|
|
91
94
|
accessibilityLabel;
|
|
92
95
|
accessibilityHint;
|
|
@@ -118,7 +121,7 @@ export class TextInput {
|
|
|
118
121
|
hostRef;
|
|
119
122
|
// This component's OWN host — the non-painting anchor `class="..."` at the use site resolves
|
|
120
123
|
// onto (see anchorHostStyle's doc comment) — NOT `hostRef` above, which targets the real inner
|
|
121
|
-
// symbiote-text-input(-multiline) one level down.
|
|
124
|
+
// symbiote-text-input-managed(-multiline-managed) one level down.
|
|
122
125
|
elementRef = inject(ElementRef);
|
|
123
126
|
// Only setDisabledState() needs this: it mutates `editable` from OUTSIDE Angular's own binding
|
|
124
127
|
// path (@angular/forms calling in directly), which doesn't itself schedule a tick under zoneless CD.
|
|
@@ -249,6 +252,30 @@ export class TextInput {
|
|
|
249
252
|
if (isSymbioteEvent(event))
|
|
250
253
|
emitter.emit(event);
|
|
251
254
|
}
|
|
255
|
+
// `undefined` means `setEventListener` never sees a function, so the gate stays dark. A demand
|
|
256
|
+
// from above overrides `.observed` for the same reason it does on Pressable: a wrapper's binding
|
|
257
|
+
// is not a subscriber (`../gate-demand.ts`).
|
|
258
|
+
gatedAccessibilityHandler(name) {
|
|
259
|
+
const emitter = this[name];
|
|
260
|
+
return gateWanted(this.gateDemand, name, emitter)
|
|
261
|
+
? event => this.emit(emitter, event)
|
|
262
|
+
: undefined;
|
|
263
|
+
}
|
|
264
|
+
// Forwarded from the engine node so a TextInput ref is not poorer than any other host ref — an
|
|
265
|
+
// instance exposing only the five methods below CLOSES the node off (see ITextInputHandle's own
|
|
266
|
+
// comment). No Angular-specific state to add: these four pass straight through.
|
|
267
|
+
measure(callback) {
|
|
268
|
+
this.hostNode?.measure(callback);
|
|
269
|
+
}
|
|
270
|
+
measureInWindow(callback) {
|
|
271
|
+
this.hostNode?.measureInWindow(callback);
|
|
272
|
+
}
|
|
273
|
+
measureLayout(relativeToNativeNode, onSuccess, onFail) {
|
|
274
|
+
this.hostNode?.measureLayout(relativeToNativeNode, onSuccess, onFail);
|
|
275
|
+
}
|
|
276
|
+
setNativeProps(nativeProps) {
|
|
277
|
+
this.hostNode?.setNativeProps(nativeProps);
|
|
278
|
+
}
|
|
252
279
|
// The imperative API RN exposes on a TextInput ref; in Angular the component instance IS the
|
|
253
280
|
// handle (a parent reads it via @ViewChild(TextInput) and calls these). focus/blur drive native
|
|
254
281
|
// view commands; clear and setSelection reuse setTextAndSelection (the same stale-safe path as a
|
|
@@ -266,7 +293,12 @@ export class TextInput {
|
|
|
266
293
|
const node = this.hostNode;
|
|
267
294
|
if (node === undefined)
|
|
268
295
|
return;
|
|
269
|
-
dispatchViewCommand(node, 'setTextAndSelection', [
|
|
296
|
+
dispatchViewCommand(node, 'setTextAndSelection', [
|
|
297
|
+
this.mostRecentEventCount,
|
|
298
|
+
'',
|
|
299
|
+
0,
|
|
300
|
+
0,
|
|
301
|
+
]);
|
|
270
302
|
this.lastNativeText = '';
|
|
271
303
|
}
|
|
272
304
|
isFocused() {
|
|
@@ -300,12 +332,27 @@ export class TextInput {
|
|
|
300
332
|
const count = this.mostRecentEventCount;
|
|
301
333
|
dlog(`TextInput setTextAndSelection count=${count} text=${JSON.stringify(value)}`);
|
|
302
334
|
this.lastNativeText = value;
|
|
303
|
-
whenCommitted(node, () => dispatchViewCommand(node, 'setTextAndSelection', [
|
|
335
|
+
whenCommitted(node, () => dispatchViewCommand(node, 'setTextAndSelection', [
|
|
336
|
+
count,
|
|
337
|
+
value,
|
|
338
|
+
selStart,
|
|
339
|
+
selEnd,
|
|
340
|
+
]));
|
|
304
341
|
}
|
|
305
342
|
buildPassthrough() {
|
|
306
343
|
return {
|
|
307
344
|
...this.foldedAccessibility,
|
|
308
345
|
accessible: this.accessible,
|
|
346
|
+
// NOT template bindings, unlike every other event on this component's two host tags. These
|
|
347
|
+
// four are `on*`-GATED Fabric events (`.claude/rules/fabric-boolean-event-gates.md`): native
|
|
348
|
+
// fires them only when the committed payload carries a FUNCTION at that key, and a template
|
|
349
|
+
// `(accessibilityAction)="..."` binding is present unconditionally — so it lit all four gates
|
|
350
|
+
// on every TextInput in every app whether or not anything listened. Routed through the flat
|
|
351
|
+
// bag instead, the same shape Pressable uses.
|
|
352
|
+
onAccessibilityAction: this.gatedAccessibilityHandler('accessibilityAction'),
|
|
353
|
+
onAccessibilityTap: this.gatedAccessibilityHandler('accessibilityTap'),
|
|
354
|
+
onMagicTap: this.gatedAccessibilityHandler('magicTap'),
|
|
355
|
+
onAccessibilityEscape: this.gatedAccessibilityHandler('accessibilityEscape'),
|
|
309
356
|
testID: this.testID,
|
|
310
357
|
nativeID: this.nativeID,
|
|
311
358
|
placeholder: this.placeholder,
|
|
@@ -382,10 +429,14 @@ export class TextInput {
|
|
|
382
429
|
}
|
|
383
430
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
384
431
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: TextInput, isStandalone: true, selector: "TextInput", inputs: { value: "value", defaultValue: "defaultValue", placeholder: "placeholder", placeholderTextColor: "placeholderTextColor", editable: "editable", keyboardType: "keyboardType", secureTextEntry: "secureTextEntry", maxLength: "maxLength", multiline: "multiline", selection: "selection", autoCapitalize: "autoCapitalize", autoCorrect: "autoCorrect", autoComplete: "autoComplete", textContentType: "textContentType", autoFocus: "autoFocus", showSoftInputOnFocus: "showSoftInputOnFocus", returnKeyType: "returnKeyType", selectTextOnFocus: "selectTextOnFocus", scrollEnabled: "scrollEnabled", numberOfLines: "numberOfLines", textAlign: "textAlign", blurOnSubmit: "blurOnSubmit", inputMode: "inputMode", enterKeyHint: "enterKeyHint", readOnly: "readOnly", submitBehavior: "submitBehavior", cursorColor: "cursorColor", selectionColor: "selectionColor", selectionHandleColor: "selectionHandleColor", underlineColorAndroid: "underlineColorAndroid", inputAccessoryViewID: "inputAccessoryViewID", style: "style", 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"] }, outputs: { valueChange: "valueChange", change: "change", focusEvent: "focus", blurEvent: "blur", endEditing: "endEditing", submitEditing: "submitEditing", keyPress: "keyPress", selectionChange: "selectionChange", contentSizeChange: "contentSizeChange", accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape" }, providers: [
|
|
385
|
-
{
|
|
432
|
+
{
|
|
433
|
+
provide: NG_VALUE_ACCESSOR,
|
|
434
|
+
useExisting: forwardRef(() => TextInput),
|
|
435
|
+
multi: true,
|
|
436
|
+
},
|
|
386
437
|
], viewQueries: [{ propertyName: "hostRef", first: true, predicate: ["host"], descendants: true, read: SymbioteHostPropsDirective }], usesOnChanges: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
387
438
|
@if (isMultiline) {
|
|
388
|
-
<symbiote-text-input-multiline
|
|
439
|
+
<symbiote-text-input-multiline-managed
|
|
389
440
|
#host
|
|
390
441
|
[symbioteHostProps]="hostProps"
|
|
391
442
|
(change)="handleChange($event)"
|
|
@@ -396,13 +447,9 @@ export class TextInput {
|
|
|
396
447
|
(keyPress)="emit(keyPress, $event)"
|
|
397
448
|
(endEditing)="emit(endEditing, $event)"
|
|
398
449
|
(contentSizeChange)="emit(contentSizeChange, $event)"
|
|
399
|
-
|
|
400
|
-
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
401
|
-
(magicTap)="emit(magicTap, $event)"
|
|
402
|
-
(accessibilityEscape)="emit(accessibilityEscape, $event)"
|
|
403
|
-
></symbiote-text-input-multiline>
|
|
450
|
+
></symbiote-text-input-multiline-managed>
|
|
404
451
|
} @else {
|
|
405
|
-
<symbiote-text-input
|
|
452
|
+
<symbiote-text-input-managed
|
|
406
453
|
#host
|
|
407
454
|
[symbioteHostProps]="hostProps"
|
|
408
455
|
(change)="handleChange($event)"
|
|
@@ -413,29 +460,35 @@ export class TextInput {
|
|
|
413
460
|
(keyPress)="emit(keyPress, $event)"
|
|
414
461
|
(endEditing)="emit(endEditing, $event)"
|
|
415
462
|
(contentSizeChange)="emit(contentSizeChange, $event)"
|
|
416
|
-
|
|
417
|
-
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
418
|
-
(magicTap)="emit(magicTap, $event)"
|
|
419
|
-
(accessibilityEscape)="emit(accessibilityEscape, $event)"
|
|
420
|
-
></symbiote-text-input>
|
|
463
|
+
></symbiote-text-input-managed>
|
|
421
464
|
}
|
|
422
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }, { kind: "component", type:
|
|
465
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }, { kind: "component", type: ManagedTextInputHost, selector: "symbiote-text-input-managed" }, { kind: "component", type: ManagedMultilineTextInputHost, selector: "symbiote-text-input-multiline-managed" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
423
466
|
}
|
|
424
467
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInput, decorators: [{
|
|
425
468
|
type: Component,
|
|
426
469
|
args: [{
|
|
427
470
|
selector: 'TextInput',
|
|
428
471
|
standalone: true,
|
|
429
|
-
hostDirectives: [
|
|
472
|
+
hostDirectives: [
|
|
473
|
+
{ directive: SymbioteStyleInputDirective, inputs: ['style'] },
|
|
474
|
+
],
|
|
430
475
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
431
|
-
imports: [
|
|
476
|
+
imports: [
|
|
477
|
+
SymbioteHostPropsDirective,
|
|
478
|
+
ManagedTextInputHost,
|
|
479
|
+
ManagedMultilineTextInputHost,
|
|
480
|
+
],
|
|
432
481
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
433
482
|
providers: [
|
|
434
|
-
{
|
|
483
|
+
{
|
|
484
|
+
provide: NG_VALUE_ACCESSOR,
|
|
485
|
+
useExisting: forwardRef(() => TextInput),
|
|
486
|
+
multi: true,
|
|
487
|
+
},
|
|
435
488
|
],
|
|
436
489
|
template: `
|
|
437
490
|
@if (isMultiline) {
|
|
438
|
-
<symbiote-text-input-multiline
|
|
491
|
+
<symbiote-text-input-multiline-managed
|
|
439
492
|
#host
|
|
440
493
|
[symbioteHostProps]="hostProps"
|
|
441
494
|
(change)="handleChange($event)"
|
|
@@ -446,13 +499,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
446
499
|
(keyPress)="emit(keyPress, $event)"
|
|
447
500
|
(endEditing)="emit(endEditing, $event)"
|
|
448
501
|
(contentSizeChange)="emit(contentSizeChange, $event)"
|
|
449
|
-
|
|
450
|
-
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
451
|
-
(magicTap)="emit(magicTap, $event)"
|
|
452
|
-
(accessibilityEscape)="emit(accessibilityEscape, $event)"
|
|
453
|
-
></symbiote-text-input-multiline>
|
|
502
|
+
></symbiote-text-input-multiline-managed>
|
|
454
503
|
} @else {
|
|
455
|
-
<symbiote-text-input
|
|
504
|
+
<symbiote-text-input-managed
|
|
456
505
|
#host
|
|
457
506
|
[symbioteHostProps]="hostProps"
|
|
458
507
|
(change)="handleChange($event)"
|
|
@@ -463,11 +512,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
463
512
|
(keyPress)="emit(keyPress, $event)"
|
|
464
513
|
(endEditing)="emit(endEditing, $event)"
|
|
465
514
|
(contentSizeChange)="emit(contentSizeChange, $event)"
|
|
466
|
-
|
|
467
|
-
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
468
|
-
(magicTap)="emit(magicTap, $event)"
|
|
469
|
-
(accessibilityEscape)="emit(accessibilityEscape, $event)"
|
|
470
|
-
></symbiote-text-input>
|
|
515
|
+
></symbiote-text-input-managed>
|
|
471
516
|
}
|
|
472
517
|
`,
|
|
473
518
|
}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-input.js","sourceRoot":"","sources":["../../../src/components/text-input.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,sGAAsG;AACtG,sGAAsG;AACtG,gGAAgG;AAChG,iGAAiG;AACjG,iGAAiG;AACjG,kGAAkG;AAClG,8FAA8F;AAC9F,iGAAiG;AACjG,0FAA0F;AAC1F,gGAAgG;AAChG,0FAA0F;AAC1F,+FAA+F;AAC/F,EAAE;AACF,iGAAiG;AACjG,gGAAgG;AAChG,8FAA8F;AAC9F,+FAA+F;AAC/F,2FAA2F;AAC3F,+EAA+E;AAC/E,+FAA+F;AAC/F,iGAAiG;AACjG,gGAAgG;AAChG,2FAA2F;AAC3F,mFAAmF;AACnF,gDAAgD;AAEhD,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,YAAY,EACZ,UAAU,EACV,MAAM,EACN,KAAK,EACL,MAAM,EACN,SAAS,GAKV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAA6B,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,yBAAyB,EACzB,qBAAqB,EACrB,mBAAmB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BACN,MAAM;;sBACN,MAAM;uBAAC,OAAO;;sBACd,MAAM;uBAAC,MAAM;;sBACb,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBAEN,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,iBAAiB;;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;;sBAErB,SAAS;uBAAC,MAAM,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE"}
|
|
1
|
+
{"version":3,"file":"text-input.js","sourceRoot":"","sources":["../../../src/components/text-input.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,sGAAsG;AACtG,sGAAsG;AACtG,gGAAgG;AAChG,+FAA+F;AAC/F,iGAAiG;AACjG,kGAAkG;AAClG,8FAA8F;AAC9F,iGAAiG;AACjG,0FAA0F;AAC1F,gGAAgG;AAChG,0FAA0F;AAC1F,+FAA+F;AAC/F,EAAE;AACF,iGAAiG;AACjG,gGAAgG;AAChG,8FAA8F;AAC9F,+FAA+F;AAC/F,2FAA2F;AAC3F,+EAA+E;AAC/E,+FAA+F;AAC/F,iGAAiG;AACjG,gGAAgG;AAChG,2FAA2F;AAC3F,mFAAmF;AACnF,gDAAgD;AAEhD,OAAO,E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;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAUL,MAAM;;sBACN,MAAM;;sBACN,MAAM;uBAAC,OAAO;;sBACd,MAAM;uBAAC,MAAM;;sBACb,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBAKN,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAEL,KAAK;;sBAEL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,iBAAiB;;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;;sBAErB,SAAS;uBAAC,MAAM,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { type DoCheck, EventEmitter, type OnChanges } from '@angular/core';
|
|
2
|
-
import { type IAccessibilityProps, type IAccessibilityStateValue, type IAriaProps, type IPressableAndroidRippleConfig, type
|
|
1
|
+
import { type DoCheck, EventEmitter, type OnChanges, type OnDestroy } from '@angular/core';
|
|
2
|
+
import { type IAccessibilityProps, type IAccessibilityStateValue, type IAriaProps, type IPressableAndroidRippleConfig, type IPressTimingProps, type IRectOffset } from '@symbiote-native/components';
|
|
3
3
|
import { type ISymbioteEvent, type IStyleProp, type IViewStyle } from '@symbiote-native/engine';
|
|
4
4
|
import { type IAngularPressableInputs } from '../pressable';
|
|
5
|
+
import { type IGatedAccessibilityEvent } from '../../gate-demand';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
import * as i1 from "../../primitives/shared";
|
|
7
8
|
type IAngularTouchableBaseProps = Omit<IAngularPressableInputs, 'style'> & IPressTimingProps & {
|
|
@@ -15,7 +16,7 @@ export type IAngularTouchableHighlightProps = IAngularTouchableBaseProps & {
|
|
|
15
16
|
underlayColor?: string;
|
|
16
17
|
};
|
|
17
18
|
export type IAngularTouchableWithoutFeedbackProps = IAngularTouchableBaseProps;
|
|
18
|
-
export declare class TouchableOpacity implements IAngularTouchableOpacityProps, DoCheck {
|
|
19
|
+
export declare class TouchableOpacity implements IAngularTouchableOpacityProps, OnChanges, OnDestroy, DoCheck {
|
|
19
20
|
readonly press: EventEmitter<ISymbioteEvent>;
|
|
20
21
|
readonly pressIn: EventEmitter<ISymbioteEvent>;
|
|
21
22
|
readonly pressOut: EventEmitter<ISymbioteEvent>;
|
|
@@ -27,6 +28,8 @@ export declare class TouchableOpacity implements IAngularTouchableOpacityProps,
|
|
|
27
28
|
readonly accessibilityTap: EventEmitter<ISymbioteEvent>;
|
|
28
29
|
readonly magicTap: EventEmitter<ISymbioteEvent>;
|
|
29
30
|
readonly accessibilityEscape: EventEmitter<ISymbioteEvent>;
|
|
31
|
+
private readonly gateDemandAbove;
|
|
32
|
+
wantsGate(name: IGatedAccessibilityEvent): boolean;
|
|
30
33
|
activeOpacity?: number;
|
|
31
34
|
delayPressIn?: number;
|
|
32
35
|
delayPressOut?: number;
|
|
@@ -86,10 +89,15 @@ export declare class TouchableOpacity implements IAngularTouchableOpacityProps,
|
|
|
86
89
|
role?: IAriaProps['role'];
|
|
87
90
|
private readonly opacity;
|
|
88
91
|
private readonly runtime;
|
|
92
|
+
private readonly timers;
|
|
93
|
+
private settled;
|
|
89
94
|
private readonly elementRef;
|
|
90
95
|
get animatedStyle(): unknown;
|
|
91
96
|
private readonly anchorStyle;
|
|
92
97
|
ngDoCheck(): void;
|
|
98
|
+
ngOnChanges(): void;
|
|
99
|
+
ngOnDestroy(): void;
|
|
100
|
+
private restingOpacity;
|
|
93
101
|
private setOpacityTo;
|
|
94
102
|
private feedbackHandlers;
|
|
95
103
|
handlePressIn: (event: ISymbioteEvent) => void;
|
|
@@ -97,7 +105,7 @@ export declare class TouchableOpacity implements IAngularTouchableOpacityProps,
|
|
|
97
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<TouchableOpacity, never>;
|
|
98
106
|
static ɵcmp: i0.ɵɵComponentDeclaration<TouchableOpacity, "TouchableOpacity", never, { "activeOpacity": { "alias": "activeOpacity"; "required": false; }; "delayPressIn": { "alias": "delayPressIn"; "required": false; }; "delayPressOut": { "alias": "delayPressOut"; "required": false; }; "minPressDuration": { "alias": "minPressDuration"; "required": false; }; "style": { "alias": "style"; "required": false; }; "delayLongPress": { "alias": "delayLongPress"; "required": false; }; "delayHoverIn": { "alias": "delayHoverIn"; "required": false; }; "delayHoverOut": { "alias": "delayHoverOut"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "cancelable": { "alias": "cancelable"; "required": false; }; "hitSlop": { "alias": "hitSlop"; "required": false; }; "pressRetentionOffset": { "alias": "pressRetentionOffset"; "required": false; }; "unstable_pressDelay": { "alias": "unstable_pressDelay"; "required": false; }; "android_ripple": { "alias": "android_ripple"; "required": false; }; "android_disableSound": { "alias": "android_disableSound"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "required": false; }; "hasTVPreferredFocus": { "alias": "hasTVPreferredFocus"; "required": false; }; "nextFocusDown": { "alias": "nextFocusDown"; "required": false; }; "nextFocusForward": { "alias": "nextFocusForward"; "required": false; }; "nextFocusLeft": { "alias": "nextFocusLeft"; "required": false; }; "nextFocusRight": { "alias": "nextFocusRight"; "required": false; }; "nextFocusUp": { "alias": "nextFocusUp"; "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; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaBusy": { "alias": "ariaBusy"; "required": false; }; "ariaChecked": { "alias": "ariaChecked"; "required": false; }; "ariaDisabled": { "alias": "ariaDisabled"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "ariaHidden": { "alias": "ariaHidden"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaLive": { "alias": "ariaLive"; "required": false; }; "ariaSelected": { "alias": "ariaSelected"; "required": false; }; "ariaModal": { "alias": "ariaModal"; "required": false; }; "ariaValueMax": { "alias": "ariaValueMax"; "required": false; }; "ariaValueMin": { "alias": "ariaValueMin"; "required": false; }; "ariaValueNow": { "alias": "ariaValueNow"; "required": false; }; "ariaValueText": { "alias": "ariaValueText"; "required": false; }; "id": { "alias": "id"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, { "press": "press"; "pressIn": "pressIn"; "pressOut": "pressOut"; "pressMove": "pressMove"; "longPress": "longPress"; "hoverIn": "hoverIn"; "hoverOut": "hoverOut"; "accessibilityAction": "accessibilityAction"; "accessibilityTap": "accessibilityTap"; "magicTap": "magicTap"; "accessibilityEscape": "accessibilityEscape"; }, never, ["*"], true, [{ directive: typeof i1.SymbioteStyleInputDirective; inputs: { "style": "style"; }; outputs: {}; }]>;
|
|
99
107
|
}
|
|
100
|
-
export declare class TouchableHighlight implements IAngularTouchableHighlightProps, OnChanges, DoCheck {
|
|
108
|
+
export declare class TouchableHighlight implements IAngularTouchableHighlightProps, OnChanges, OnDestroy, DoCheck {
|
|
101
109
|
readonly press: EventEmitter<ISymbioteEvent>;
|
|
102
110
|
readonly pressIn: EventEmitter<ISymbioteEvent>;
|
|
103
111
|
readonly pressOut: EventEmitter<ISymbioteEvent>;
|
|
@@ -109,6 +117,10 @@ export declare class TouchableHighlight implements IAngularTouchableHighlightPro
|
|
|
109
117
|
readonly accessibilityTap: EventEmitter<ISymbioteEvent>;
|
|
110
118
|
readonly magicTap: EventEmitter<ISymbioteEvent>;
|
|
111
119
|
readonly accessibilityEscape: EventEmitter<ISymbioteEvent>;
|
|
120
|
+
private readonly gateDemandAbove;
|
|
121
|
+
wantsGate(name: IGatedAccessibilityEvent): boolean;
|
|
122
|
+
readonly showUnderlay: EventEmitter<void>;
|
|
123
|
+
readonly hideUnderlay: EventEmitter<void>;
|
|
112
124
|
activeOpacity?: number;
|
|
113
125
|
underlayColor?: string;
|
|
114
126
|
delayPressIn?: number;
|
|
@@ -168,15 +180,24 @@ export declare class TouchableHighlight implements IAngularTouchableHighlightPro
|
|
|
168
180
|
id?: string;
|
|
169
181
|
role?: IAriaProps['role'];
|
|
170
182
|
private readonly elementRef;
|
|
171
|
-
readonly
|
|
183
|
+
private readonly shown;
|
|
184
|
+
private readonly underlayRuntime;
|
|
185
|
+
private readonly timers;
|
|
186
|
+
readonly containerStyle: import("@angular/core").Signal<IStyleProp<IViewStyle>>;
|
|
187
|
+
private hasPressHandler;
|
|
188
|
+
private underlayHandlers;
|
|
189
|
+
handlePressIn(event: ISymbioteEvent): void;
|
|
190
|
+
handlePress(event: ISymbioteEvent): void;
|
|
191
|
+
handlePressOut(event: ISymbioteEvent): void;
|
|
192
|
+
ngOnDestroy(): void;
|
|
172
193
|
private readonly inputsRevision;
|
|
173
194
|
private readonly anchorStyle;
|
|
174
195
|
ngOnChanges(): void;
|
|
175
196
|
ngDoCheck(): void;
|
|
176
197
|
static ɵfac: i0.ɵɵFactoryDeclaration<TouchableHighlight, never>;
|
|
177
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TouchableHighlight, "TouchableHighlight", never, { "activeOpacity": { "alias": "activeOpacity"; "required": false; }; "underlayColor": { "alias": "underlayColor"; "required": false; }; "delayPressIn": { "alias": "delayPressIn"; "required": false; }; "delayPressOut": { "alias": "delayPressOut"; "required": false; }; "minPressDuration": { "alias": "minPressDuration"; "required": false; }; "style": { "alias": "style"; "required": false; }; "delayLongPress": { "alias": "delayLongPress"; "required": false; }; "delayHoverIn": { "alias": "delayHoverIn"; "required": false; }; "delayHoverOut": { "alias": "delayHoverOut"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "cancelable": { "alias": "cancelable"; "required": false; }; "hitSlop": { "alias": "hitSlop"; "required": false; }; "pressRetentionOffset": { "alias": "pressRetentionOffset"; "required": false; }; "unstable_pressDelay": { "alias": "unstable_pressDelay"; "required": false; }; "android_ripple": { "alias": "android_ripple"; "required": false; }; "android_disableSound": { "alias": "android_disableSound"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "required": false; }; "hasTVPreferredFocus": { "alias": "hasTVPreferredFocus"; "required": false; }; "nextFocusDown": { "alias": "nextFocusDown"; "required": false; }; "nextFocusForward": { "alias": "nextFocusForward"; "required": false; }; "nextFocusLeft": { "alias": "nextFocusLeft"; "required": false; }; "nextFocusRight": { "alias": "nextFocusRight"; "required": false; }; "nextFocusUp": { "alias": "nextFocusUp"; "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; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaBusy": { "alias": "ariaBusy"; "required": false; }; "ariaChecked": { "alias": "ariaChecked"; "required": false; }; "ariaDisabled": { "alias": "ariaDisabled"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "ariaHidden": { "alias": "ariaHidden"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaLive": { "alias": "ariaLive"; "required": false; }; "ariaSelected": { "alias": "ariaSelected"; "required": false; }; "ariaModal": { "alias": "ariaModal"; "required": false; }; "ariaValueMax": { "alias": "ariaValueMax"; "required": false; }; "ariaValueMin": { "alias": "ariaValueMin"; "required": false; }; "ariaValueNow": { "alias": "ariaValueNow"; "required": false; }; "ariaValueText": { "alias": "ariaValueText"; "required": false; }; "id": { "alias": "id"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, { "press": "press"; "pressIn": "pressIn"; "pressOut": "pressOut"; "pressMove": "pressMove"; "longPress": "longPress"; "hoverIn": "hoverIn"; "hoverOut": "hoverOut"; "accessibilityAction": "accessibilityAction"; "accessibilityTap": "accessibilityTap"; "magicTap": "magicTap"; "accessibilityEscape": "accessibilityEscape"; }, never, ["*"], true, [{ directive: typeof i1.SymbioteStyleInputDirective; inputs: { "style": "style"; }; outputs: {}; }]>;
|
|
198
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TouchableHighlight, "TouchableHighlight", never, { "activeOpacity": { "alias": "activeOpacity"; "required": false; }; "underlayColor": { "alias": "underlayColor"; "required": false; }; "delayPressIn": { "alias": "delayPressIn"; "required": false; }; "delayPressOut": { "alias": "delayPressOut"; "required": false; }; "minPressDuration": { "alias": "minPressDuration"; "required": false; }; "style": { "alias": "style"; "required": false; }; "delayLongPress": { "alias": "delayLongPress"; "required": false; }; "delayHoverIn": { "alias": "delayHoverIn"; "required": false; }; "delayHoverOut": { "alias": "delayHoverOut"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "cancelable": { "alias": "cancelable"; "required": false; }; "hitSlop": { "alias": "hitSlop"; "required": false; }; "pressRetentionOffset": { "alias": "pressRetentionOffset"; "required": false; }; "unstable_pressDelay": { "alias": "unstable_pressDelay"; "required": false; }; "android_ripple": { "alias": "android_ripple"; "required": false; }; "android_disableSound": { "alias": "android_disableSound"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "required": false; }; "hasTVPreferredFocus": { "alias": "hasTVPreferredFocus"; "required": false; }; "nextFocusDown": { "alias": "nextFocusDown"; "required": false; }; "nextFocusForward": { "alias": "nextFocusForward"; "required": false; }; "nextFocusLeft": { "alias": "nextFocusLeft"; "required": false; }; "nextFocusRight": { "alias": "nextFocusRight"; "required": false; }; "nextFocusUp": { "alias": "nextFocusUp"; "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; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaBusy": { "alias": "ariaBusy"; "required": false; }; "ariaChecked": { "alias": "ariaChecked"; "required": false; }; "ariaDisabled": { "alias": "ariaDisabled"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "ariaHidden": { "alias": "ariaHidden"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaLive": { "alias": "ariaLive"; "required": false; }; "ariaSelected": { "alias": "ariaSelected"; "required": false; }; "ariaModal": { "alias": "ariaModal"; "required": false; }; "ariaValueMax": { "alias": "ariaValueMax"; "required": false; }; "ariaValueMin": { "alias": "ariaValueMin"; "required": false; }; "ariaValueNow": { "alias": "ariaValueNow"; "required": false; }; "ariaValueText": { "alias": "ariaValueText"; "required": false; }; "id": { "alias": "id"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, { "press": "press"; "pressIn": "pressIn"; "pressOut": "pressOut"; "pressMove": "pressMove"; "longPress": "longPress"; "hoverIn": "hoverIn"; "hoverOut": "hoverOut"; "accessibilityAction": "accessibilityAction"; "accessibilityTap": "accessibilityTap"; "magicTap": "magicTap"; "accessibilityEscape": "accessibilityEscape"; "showUnderlay": "showUnderlay"; "hideUnderlay": "hideUnderlay"; }, never, ["*"], true, [{ directive: typeof i1.SymbioteStyleInputDirective; inputs: { "style": "style"; }; outputs: {}; }]>;
|
|
178
199
|
}
|
|
179
|
-
export declare class TouchableWithoutFeedback implements DoCheck, IAngularTouchableWithoutFeedbackProps {
|
|
200
|
+
export declare class TouchableWithoutFeedback implements DoCheck, OnDestroy, IAngularTouchableWithoutFeedbackProps {
|
|
180
201
|
readonly press: EventEmitter<ISymbioteEvent>;
|
|
181
202
|
readonly pressIn: EventEmitter<ISymbioteEvent>;
|
|
182
203
|
readonly pressOut: EventEmitter<ISymbioteEvent>;
|
|
@@ -188,6 +209,8 @@ export declare class TouchableWithoutFeedback implements DoCheck, IAngularToucha
|
|
|
188
209
|
readonly accessibilityTap: EventEmitter<ISymbioteEvent>;
|
|
189
210
|
readonly magicTap: EventEmitter<ISymbioteEvent>;
|
|
190
211
|
readonly accessibilityEscape: EventEmitter<ISymbioteEvent>;
|
|
212
|
+
private readonly gateDemandAbove;
|
|
213
|
+
wantsGate(name: IGatedAccessibilityEvent): boolean;
|
|
191
214
|
delayPressIn?: number;
|
|
192
215
|
delayPressOut?: number;
|
|
193
216
|
minPressDuration?: number;
|
|
@@ -245,7 +268,13 @@ export declare class TouchableWithoutFeedback implements DoCheck, IAngularToucha
|
|
|
245
268
|
id?: string;
|
|
246
269
|
role?: IAriaProps['role'];
|
|
247
270
|
private readonly elementRef;
|
|
271
|
+
private readonly runtime;
|
|
272
|
+
private readonly timers;
|
|
248
273
|
get mergedStyle(): IStyleProp<IViewStyle>;
|
|
274
|
+
private feedbackHandlers;
|
|
275
|
+
handlePressIn(event: ISymbioteEvent): void;
|
|
276
|
+
handlePressOut(event: ISymbioteEvent): void;
|
|
277
|
+
ngOnDestroy(): void;
|
|
249
278
|
private readonly anchorStyle;
|
|
250
279
|
ngDoCheck(): void;
|
|
251
280
|
static ɵfac: i0.ɵɵFactoryDeclaration<TouchableWithoutFeedback, never>;
|