@symbiote-native/angular 3.1.3 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babel-register-composed.cjs +1 -0
- package/build/angular/accessibility-events.d.ts +12 -0
- package/build/angular/accessibility-events.js +28 -0
- package/build/angular/accessibility-events.js.map +1 -0
- package/build/angular/accessibility-inputs.d.ts +40 -0
- package/build/angular/accessibility-inputs.js +130 -0
- package/build/angular/accessibility-inputs.js.map +1 -0
- package/build/angular/bootstrap.d.ts +3 -1
- package/build/angular/bootstrap.js +4 -1
- package/build/angular/bootstrap.js.map +1 -1
- package/build/angular/components/checkbox-props.d.ts +2 -0
- package/build/angular/components/checkbox-props.js +2 -0
- package/build/angular/components/checkbox-props.js.map +1 -0
- package/build/angular/components/flat-list/flat-list-template.d.ts +1 -0
- package/build/angular/components/flat-list/flat-list-template.js +158 -0
- package/build/angular/components/flat-list/flat-list-template.js.map +1 -0
- package/build/angular/components/flat-list/index.d.ts +6 -61
- package/build/angular/components/flat-list/index.js +26 -463
- package/build/angular/components/flat-list/index.js.map +1 -1
- package/build/angular/components/keyboard-avoiding-view/index.d.ts +4 -40
- package/build/angular/components/keyboard-avoiding-view/index.js +7 -131
- package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -1
- package/build/angular/components/modal/index.d.ts +5 -41
- package/build/angular/components/modal/index.js +8 -133
- package/build/angular/components/modal/index.js.map +1 -1
- package/build/angular/components/section-list/index.d.ts +4 -51
- package/build/angular/components/section-list/index.js +18 -335
- package/build/angular/components/section-list/index.js.map +1 -1
- package/build/angular/components/virtualized-list/cell-registry.d.ts +35 -0
- package/build/angular/components/virtualized-list/cell-registry.js +133 -0
- package/build/angular/components/virtualized-list/cell-registry.js.map +1 -0
- package/build/angular/components/virtualized-list/index.d.ts +18 -253
- package/build/angular/components/virtualized-list/index.js +112 -1178
- package/build/angular/components/virtualized-list/index.js.map +1 -1
- package/build/angular/components/virtualized-list/list-a11y-forward.d.ts +1 -0
- package/build/angular/components/virtualized-list/list-a11y-forward.js +42 -0
- package/build/angular/components/virtualized-list/list-a11y-forward.js.map +1 -0
- package/build/angular/components/virtualized-list/list-bags.d.ts +32 -0
- package/build/angular/components/virtualized-list/list-bags.js +120 -0
- package/build/angular/components/virtualized-list/list-bags.js.map +1 -0
- package/build/angular/components/virtualized-list/list-effects.d.ts +31 -0
- package/build/angular/components/virtualized-list/list-effects.js +83 -0
- package/build/angular/components/virtualized-list/list-effects.js.map +1 -0
- package/build/angular/components/virtualized-list/list-events.d.ts +17 -0
- package/build/angular/components/virtualized-list/list-events.js +34 -0
- package/build/angular/components/virtualized-list/list-events.js.map +1 -0
- package/build/angular/components/virtualized-list/list-handle.d.ts +35 -0
- package/build/angular/components/virtualized-list/list-handle.js +61 -0
- package/build/angular/components/virtualized-list/list-handle.js.map +1 -0
- package/build/angular/components/virtualized-list/list-inputs.d.ts +78 -0
- package/build/angular/components/virtualized-list/list-inputs.js +150 -0
- package/build/angular/components/virtualized-list/list-inputs.js.map +1 -0
- package/build/angular/components/virtualized-list/list-props.d.ts +58 -0
- package/build/angular/components/virtualized-list/list-props.js +3 -0
- package/build/angular/components/virtualized-list/list-props.js.map +1 -0
- package/build/angular/components/virtualized-list/list-styles.d.ts +23 -0
- package/build/angular/components/virtualized-list/list-styles.js +26 -0
- package/build/angular/components/virtualized-list/list-styles.js.map +1 -0
- package/build/angular/components/virtualized-list/list-template.d.ts +1 -0
- package/build/angular/components/virtualized-list/list-template.js +176 -0
- package/build/angular/components/virtualized-list/list-template.js.map +1 -0
- package/build/angular/components/virtualized-section-list/index.d.ts +13 -70
- package/build/angular/components/virtualized-section-list/index.js +22 -455
- package/build/angular/components/virtualized-section-list/index.js.map +1 -1
- package/build/angular/components/virtualized-section-list/section-list-template.d.ts +1 -0
- package/build/angular/components/virtualized-section-list/section-list-template.js +107 -0
- package/build/angular/components/virtualized-section-list/section-list-template.js.map +1 -0
- package/build/angular/components.d.ts +1 -0
- package/build/angular/components.js.map +1 -1
- package/build/angular/descriptor-to-angular/descriptor-host.d.ts +8 -0
- package/build/angular/descriptor-to-angular/descriptor-host.js +38 -0
- package/build/angular/descriptor-to-angular/descriptor-host.js.map +1 -0
- package/build/angular/descriptor-to-angular/index.d.ts +1 -0
- package/build/angular/descriptor-to-angular/index.js +4 -0
- package/build/angular/descriptor-to-angular/index.js.map +1 -1
- package/build/angular/element-base.d.ts +153 -0
- package/build/angular/element-base.js +272 -0
- package/build/angular/element-base.js.map +1 -0
- package/build/angular/elements-controls.d.ts +165 -0
- package/build/angular/elements-controls.js +382 -0
- package/build/angular/elements-controls.js.map +1 -0
- package/build/angular/elements-layout.d.ts +122 -0
- package/build/angular/elements-layout.js +242 -0
- package/build/angular/elements-layout.js.map +1 -0
- package/build/angular/elements-press.d.ts +96 -0
- package/build/angular/elements-press.js +227 -0
- package/build/angular/elements-press.js.map +1 -0
- package/build/angular/elements.d.ts +6 -516
- package/build/angular/elements.js +8 -1091
- package/build/angular/elements.js.map +1 -1
- package/build/angular/finalization-registry.d.ts +4 -0
- package/build/angular/finalization-registry.js +17 -0
- package/build/angular/finalization-registry.js.map +1 -0
- package/build/angular/host-instance/index.d.ts +2 -0
- package/build/angular/host-instance/index.js +4 -4
- package/build/angular/host-instance/index.js.map +1 -1
- package/build/angular/index.d.ts +9 -4
- package/build/angular/index.js +8 -3
- package/build/angular/index.js.map +1 -1
- package/build/angular/native-view-base.d.ts +27 -0
- package/build/angular/native-view-base.js +69 -0
- package/build/angular/native-view-base.js.map +1 -0
- package/build/angular/render/index.d.ts +2 -1
- package/build/angular/render/index.js +46 -73
- package/build/angular/render/index.js.map +1 -1
- package/build/angular/services/connect-watched-signal.d.ts +2 -0
- package/build/angular/services/connect-watched-signal.js +9 -0
- package/build/angular/services/connect-watched-signal.js.map +1 -0
- package/build/angular/services/create-event-value-hook.d.ts +3 -0
- package/build/angular/services/create-event-value-hook.js +17 -0
- package/build/angular/services/create-event-value-hook.js.map +1 -0
- package/build/angular/services/create-resource-hook.d.ts +7 -0
- package/build/angular/services/create-resource-hook.js +20 -0
- package/build/angular/services/create-resource-hook.js.map +1 -0
- package/build/angular/services/index.d.ts +5 -0
- package/build/angular/services/index.js +5 -0
- package/build/angular/services/index.js.map +1 -1
- package/build/angular/services/inject-event.d.ts +6 -0
- package/build/angular/services/inject-event.js +24 -0
- package/build/angular/services/inject-event.js.map +1 -0
- package/build/angular/services/permissions-service-base.d.ts +14 -0
- package/build/angular/services/permissions-service-base.js +38 -0
- package/build/angular/services/permissions-service-base.js.map +1 -0
- package/package.json +6 -6
- package/src/accessibility-events.ts +13 -0
- package/src/accessibility-inputs.ts +89 -0
- package/src/bootstrap.ts +6 -2
- package/src/components/checkbox-props.ts +12 -0
- package/src/components/flat-list/flat-list-template.ts +159 -0
- package/src/components/flat-list/index.ts +30 -307
- package/src/components/keyboard-avoiding-view/index.ts +4 -78
- package/src/components/modal/index.ts +7 -80
- package/src/components/section-list/index.ts +21 -172
- package/src/components/virtualized-list/cell-registry.ts +199 -0
- package/src/components/virtualized-list/index.ts +145 -1181
- package/src/components/virtualized-list/list-a11y-forward.ts +42 -0
- package/src/components/virtualized-list/list-bags.ts +142 -0
- package/src/components/virtualized-list/list-effects.ts +116 -0
- package/src/components/virtualized-list/list-events.ts +31 -0
- package/src/components/virtualized-list/list-handle.ts +92 -0
- package/src/components/virtualized-list/list-inputs.ts +149 -0
- package/src/components/virtualized-list/list-props.ts +81 -0
- package/src/components/virtualized-list/list-styles.ts +62 -0
- package/src/components/virtualized-list/list-template.ts +175 -0
- package/src/components/virtualized-section-list/index.ts +40 -351
- package/src/components/virtualized-section-list/section-list-template.ts +108 -0
- package/src/components.ts +1 -0
- package/src/descriptor-to-angular/descriptor-host.ts +27 -0
- package/src/descriptor-to-angular/index.ts +5 -0
- package/src/element-base.ts +272 -0
- package/src/elements-controls.ts +282 -0
- package/src/elements-layout.ts +141 -0
- package/src/elements-press.ts +145 -0
- package/src/elements.ts +73 -788
- package/src/finalization-registry.ts +18 -0
- package/src/host-instance/index.ts +4 -4
- package/src/index.ts +18 -2
- package/src/native-view-base.ts +86 -0
- package/src/render/index.ts +76 -77
- package/src/services/connect-watched-signal.ts +15 -0
- package/src/services/create-event-value-hook.ts +24 -0
- package/src/services/create-resource-hook.ts +32 -0
- package/src/services/index.ts +5 -0
- package/src/services/inject-event.ts +52 -0
- package/src/services/permissions-service-base.ts +46 -0
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
import { Directive, ElementRef, EventEmitter, Input, Output, Renderer2, forwardRef, inject, } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { VALUE_CHANGE_EVENT } from './renderer/value-change';
|
|
4
|
+
import { ReadBackElement, SymbioteElement, ValueChangeElement, } from './element-base';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class TextInputElement extends ValueChangeElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
// NonNullable, not the prop type: `[(value)]="name"` binds a `string`, and an emitter that can
|
|
10
|
+
// also emit `undefined` fails the two-way assignability check ngtsc runs on the event half.
|
|
11
|
+
this.valueChange = new EventEmitter();
|
|
12
|
+
}
|
|
13
|
+
hasValueSubscriber() {
|
|
14
|
+
return this.valueChange.observed;
|
|
15
|
+
}
|
|
16
|
+
emitValue(value) {
|
|
17
|
+
if (typeof value === 'string')
|
|
18
|
+
this.valueChange.emit(value);
|
|
19
|
+
}
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInputElement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: TextInputElement, isStandalone: true, selector: "text-input", inputs: { value: "value", defaultValue: "defaultValue", placeholder: "placeholder", placeholderTextColor: "placeholderTextColor", multiline: "multiline", numberOfLines: "numberOfLines", maxLength: "maxLength", editable: "editable", readOnly: "readOnly", autoFocus: "autoFocus", autoCapitalize: "autoCapitalize", autoComplete: "autoComplete", autoCorrect: "autoCorrect", blurOnSubmit: "blurOnSubmit", submitBehavior: "submitBehavior", cursorColor: "cursorColor", enterKeyHint: "enterKeyHint", returnKeyType: "returnKeyType", inputMode: "inputMode", keyboardType: "keyboardType", inputAccessoryViewID: "inputAccessoryViewID", scrollEnabled: "scrollEnabled", secureTextEntry: "secureTextEntry", selectTextOnFocus: "selectTextOnFocus", selection: "selection", selectionColor: "selectionColor", selectionHandleColor: "selectionHandleColor", showSoftInputOnFocus: "showSoftInputOnFocus", textAlign: "textAlign", textContentType: "textContentType", underlineColorAndroid: "underlineColorAndroid", onValueChange: "onValueChange", onChangeText: "onChangeText", onContentSizeChange: "onContentSizeChange", onEndEditing: "onEndEditing", onKeyPress: "onKeyPress", onSelectionChange: "onSelectionChange", onSubmitEditing: "onSubmitEditing" }, outputs: { valueChange: "valueChange" }, usesInheritance: true, ngImport: i0 }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInputElement, decorators: [{
|
|
24
|
+
type: Directive,
|
|
25
|
+
args: [{ selector: 'text-input', standalone: true }]
|
|
26
|
+
}], propDecorators: { value: [{
|
|
27
|
+
type: Input
|
|
28
|
+
}], defaultValue: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}], placeholder: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], placeholderTextColor: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}], multiline: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], numberOfLines: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], maxLength: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], editable: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}], readOnly: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}], autoFocus: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], autoCapitalize: [{
|
|
47
|
+
type: Input
|
|
48
|
+
}], autoComplete: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], autoCorrect: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], blurOnSubmit: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], submitBehavior: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], cursorColor: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], enterKeyHint: [{
|
|
59
|
+
type: Input
|
|
60
|
+
}], returnKeyType: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], inputMode: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], keyboardType: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], inputAccessoryViewID: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], scrollEnabled: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}], secureTextEntry: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], selectTextOnFocus: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], selection: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], selectionColor: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}], selectionHandleColor: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}], showSoftInputOnFocus: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], textAlign: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], textContentType: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], underlineColorAndroid: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], onValueChange: [{
|
|
89
|
+
type: Input
|
|
90
|
+
}], onChangeText: [{
|
|
91
|
+
type: Input
|
|
92
|
+
}], onContentSizeChange: [{
|
|
93
|
+
type: Input
|
|
94
|
+
}], onEndEditing: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], onKeyPress: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], onSelectionChange: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], onSubmitEditing: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], valueChange: [{
|
|
103
|
+
type: Output
|
|
104
|
+
}] } });
|
|
105
|
+
export class MultilineTextInputElement extends TextInputElement {
|
|
106
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MultilineTextInputElement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
107
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: MultilineTextInputElement, isStandalone: true, selector: "text-input-multiline", usesInheritance: true, ngImport: i0 }); }
|
|
108
|
+
}
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MultilineTextInputElement, decorators: [{
|
|
110
|
+
type: Directive,
|
|
111
|
+
args: [{ selector: 'text-input-multiline', standalone: true }]
|
|
112
|
+
}] });
|
|
113
|
+
export class SwitchElement extends ValueChangeElement {
|
|
114
|
+
constructor() {
|
|
115
|
+
super(...arguments);
|
|
116
|
+
this.valueChange = new EventEmitter();
|
|
117
|
+
}
|
|
118
|
+
hasValueSubscriber() {
|
|
119
|
+
return this.valueChange.observed;
|
|
120
|
+
}
|
|
121
|
+
emitValue(value) {
|
|
122
|
+
if (typeof value === 'boolean')
|
|
123
|
+
this.valueChange.emit(value);
|
|
124
|
+
}
|
|
125
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SwitchElement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
126
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: SwitchElement, isStandalone: true, selector: "switch, symbiote-switch", inputs: { value: "value", disabled: "disabled", trackColor: "trackColor", thumbColor: "thumbColor", ios_backgroundColor: "ios_backgroundColor", onValueChange: "onValueChange" }, outputs: { valueChange: "valueChange" }, usesInheritance: true, ngImport: i0 }); }
|
|
127
|
+
}
|
|
128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SwitchElement, decorators: [{
|
|
129
|
+
type: Directive,
|
|
130
|
+
args: [{ selector: 'switch, symbiote-switch', standalone: true }]
|
|
131
|
+
}], propDecorators: { value: [{
|
|
132
|
+
type: Input
|
|
133
|
+
}], disabled: [{
|
|
134
|
+
type: Input
|
|
135
|
+
}], trackColor: [{
|
|
136
|
+
type: Input
|
|
137
|
+
}], thumbColor: [{
|
|
138
|
+
type: Input
|
|
139
|
+
}], ios_backgroundColor: [{
|
|
140
|
+
type: Input
|
|
141
|
+
}], onValueChange: [{
|
|
142
|
+
type: Input
|
|
143
|
+
}], valueChange: [{
|
|
144
|
+
type: Output
|
|
145
|
+
}] } });
|
|
146
|
+
/**
|
|
147
|
+
* `[(ngModel)]` / `formControlName` on a `<text-input>` or a `<switch>`.
|
|
148
|
+
*
|
|
149
|
+
* The wrappers provided `NG_VALUE_ACCESSOR` themselves; a tag has no class for @angular/forms to
|
|
150
|
+
* call into, so the accessor moves onto a directive of its own rather than being dropped — the
|
|
151
|
+
* shape Angular's own `DefaultValueAccessor` takes for `<input>`. Providing it unconditionally is
|
|
152
|
+
* safe: @angular/forms looks the accessor up only when an `ngModel` / `formControl*` directive sits
|
|
153
|
+
* on the SAME element, so a plain `<switch [(value)]>` never reaches it.
|
|
154
|
+
*
|
|
155
|
+
* Everything below goes through `Renderer2`, which is the adapter's own — `setProperty` lands in
|
|
156
|
+
* `routeProp` and `listen('valueChange')` is already unwrapped to a bare value there, so this
|
|
157
|
+
* directive holds no fold of its own.
|
|
158
|
+
*/
|
|
159
|
+
class SymbioteValueAccessor {
|
|
160
|
+
constructor() {
|
|
161
|
+
this.renderer = inject(Renderer2);
|
|
162
|
+
this.host = inject(ElementRef);
|
|
163
|
+
}
|
|
164
|
+
setProp(name, value) {
|
|
165
|
+
this.renderer.setProperty(this.host.nativeElement, name, value);
|
|
166
|
+
}
|
|
167
|
+
writeValue(value) {
|
|
168
|
+
this.setProp('value', value ?? undefined);
|
|
169
|
+
}
|
|
170
|
+
registerOnChange(fn) {
|
|
171
|
+
this.unlisten?.();
|
|
172
|
+
this.unlisten = this.renderer.listen(this.host.nativeElement, VALUE_CHANGE_EVENT, (value) => {
|
|
173
|
+
// THE HALF THE DOM DOES FOR FREE, and without it a controlled input undoes every
|
|
174
|
+
// keystroke. `<text-input>`'s behavior re-commands the native text whenever `props.value`
|
|
175
|
+
// disagrees with what native last reported — that is what makes it controlled — and the
|
|
176
|
+
// read-back flush exists so the app's new value is on the node by the time the commit runs.
|
|
177
|
+
// @angular/forms does not reach the node in that window: `NgModel.ngOnChanges` defers
|
|
178
|
+
// `_updateValue` through `resolvedPromise.then`, so `writeValue` lands a MICROTASK after
|
|
179
|
+
// the flush, and the commit in between still reads the value from before the keystroke.
|
|
180
|
+
//
|
|
181
|
+
// In a browser there is nothing to do here: `input.value` already holds what the user
|
|
182
|
+
// typed. `node.props.value` is the same slot, and nothing else writes it — so the accessor
|
|
183
|
+
// mirrors it, which is the shape rather than a workaround. A later `writeValue` still wins,
|
|
184
|
+
// so an app that transforms or refuses the value keeps doing so, one microtask on.
|
|
185
|
+
//
|
|
186
|
+
// Without this, every character snaps the field back to its mounted text.
|
|
187
|
+
this.setProp('value', value);
|
|
188
|
+
fn(value);
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
// Native has no blur-driven "touched" signal distinct from `blur`, and RN's own onBlur is what an
|
|
192
|
+
// app binds — so touched is driven off the same event rather than a second channel.
|
|
193
|
+
registerOnTouched(fn) {
|
|
194
|
+
this.setProp('onBlur', () => fn());
|
|
195
|
+
}
|
|
196
|
+
setDisabledState(isDisabled) {
|
|
197
|
+
this.writeDisabled(isDisabled);
|
|
198
|
+
}
|
|
199
|
+
ngOnDestroy() {
|
|
200
|
+
this.unlisten?.();
|
|
201
|
+
}
|
|
202
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SymbioteValueAccessor, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
203
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: SymbioteValueAccessor, isStandalone: true, ngImport: i0 }); }
|
|
204
|
+
}
|
|
205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SymbioteValueAccessor, decorators: [{
|
|
206
|
+
type: Directive
|
|
207
|
+
}] });
|
|
208
|
+
export class TextInputValueAccessor extends SymbioteValueAccessor {
|
|
209
|
+
writeDisabled(isDisabled) {
|
|
210
|
+
this.setProp('editable', !isDisabled);
|
|
211
|
+
}
|
|
212
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInputValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
213
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: TextInputValueAccessor, isStandalone: true, selector: "text-input[ngModel], text-input[formControl], text-input[formControlName], text-input-multiline[ngModel], text-input-multiline[formControl], text-input-multiline[formControlName]", providers: [
|
|
214
|
+
{
|
|
215
|
+
provide: NG_VALUE_ACCESSOR,
|
|
216
|
+
useExisting: forwardRef(() => TextInputValueAccessor),
|
|
217
|
+
multi: true,
|
|
218
|
+
},
|
|
219
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
220
|
+
}
|
|
221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TextInputValueAccessor, decorators: [{
|
|
222
|
+
type: Directive,
|
|
223
|
+
args: [{
|
|
224
|
+
selector: 'text-input[ngModel], text-input[formControl], text-input[formControlName], text-input-multiline[ngModel], text-input-multiline[formControl], text-input-multiline[formControlName]',
|
|
225
|
+
standalone: true,
|
|
226
|
+
providers: [
|
|
227
|
+
{
|
|
228
|
+
provide: NG_VALUE_ACCESSOR,
|
|
229
|
+
useExisting: forwardRef(() => TextInputValueAccessor),
|
|
230
|
+
multi: true,
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
}]
|
|
234
|
+
}] });
|
|
235
|
+
export class SwitchValueAccessor extends SymbioteValueAccessor {
|
|
236
|
+
writeDisabled(isDisabled) {
|
|
237
|
+
this.setProp('disabled', isDisabled);
|
|
238
|
+
}
|
|
239
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SwitchValueAccessor, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
240
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: SwitchValueAccessor, isStandalone: true, selector: "switch[ngModel], switch[formControl], switch[formControlName]", providers: [
|
|
241
|
+
{
|
|
242
|
+
provide: NG_VALUE_ACCESSOR,
|
|
243
|
+
useExisting: forwardRef(() => SwitchValueAccessor),
|
|
244
|
+
multi: true,
|
|
245
|
+
},
|
|
246
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
247
|
+
}
|
|
248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SwitchValueAccessor, decorators: [{
|
|
249
|
+
type: Directive,
|
|
250
|
+
args: [{
|
|
251
|
+
selector: 'switch[ngModel], switch[formControl], switch[formControlName]',
|
|
252
|
+
standalone: true,
|
|
253
|
+
providers: [
|
|
254
|
+
{
|
|
255
|
+
provide: NG_VALUE_ACCESSOR,
|
|
256
|
+
useExisting: forwardRef(() => SwitchValueAccessor),
|
|
257
|
+
multi: true,
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
}]
|
|
261
|
+
}] });
|
|
262
|
+
// The HOST — RN's centering RCTView (ActivityIndicator.js:112), which is the tag an app writes.
|
|
263
|
+
// The four spinner props are declared here because that is where the app writes them; the engine's
|
|
264
|
+
// behavior redirects them onto the spinner it builds underneath (`slotProps`).
|
|
265
|
+
export class ActivityIndicatorElement extends SymbioteElement {
|
|
266
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ActivityIndicatorElement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
267
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: ActivityIndicatorElement, isStandalone: true, selector: "activity-indicator", inputs: { animating: "animating", color: "color", size: "size", hidesWhenStopped: "hidesWhenStopped" }, usesInheritance: true, ngImport: i0 }); }
|
|
268
|
+
}
|
|
269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ActivityIndicatorElement, decorators: [{
|
|
270
|
+
type: Directive,
|
|
271
|
+
args: [{ selector: 'activity-indicator', standalone: true }]
|
|
272
|
+
}], propDecorators: { animating: [{
|
|
273
|
+
type: Input
|
|
274
|
+
}], color: [{
|
|
275
|
+
type: Input
|
|
276
|
+
}], size: [{
|
|
277
|
+
type: Input
|
|
278
|
+
}], hidesWhenStopped: [{
|
|
279
|
+
type: Input
|
|
280
|
+
}] } });
|
|
281
|
+
// The native spinner. Built by the behavior's `buildStructure` and by the wrapper's render fn, never
|
|
282
|
+
// written in an app template — declared only so the tag alphabet stays covered, the same as
|
|
283
|
+
// `scroll-content`.
|
|
284
|
+
export class ActivityIndicatorSpinnerElement extends ActivityIndicatorElement {
|
|
285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ActivityIndicatorSpinnerElement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
286
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: ActivityIndicatorSpinnerElement, isStandalone: true, selector: "activity-indicator-spinner", usesInheritance: true, ngImport: i0 }); }
|
|
287
|
+
}
|
|
288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ActivityIndicatorSpinnerElement, decorators: [{
|
|
289
|
+
type: Directive,
|
|
290
|
+
args: [{ selector: 'activity-indicator-spinner', standalone: true }]
|
|
291
|
+
}] });
|
|
292
|
+
export class SafeAreaViewElement extends SymbioteElement {
|
|
293
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SafeAreaViewElement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
294
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: SafeAreaViewElement, isStandalone: true, selector: "safe-area-view", usesInheritance: true, ngImport: i0 }); }
|
|
295
|
+
}
|
|
296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SafeAreaViewElement, decorators: [{
|
|
297
|
+
type: Directive,
|
|
298
|
+
args: [{ selector: 'safe-area-view', standalone: true }]
|
|
299
|
+
}] });
|
|
300
|
+
export class ModalElement extends SymbioteElement {
|
|
301
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ModalElement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
302
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: ModalElement, isStandalone: true, selector: "modal, symbiote-modal", inputs: { visible: "visible", transparent: "transparent", animationType: "animationType", presentationStyle: "presentationStyle", supportedOrientations: "supportedOrientations", hardwareAccelerated: "hardwareAccelerated", statusBarTranslucent: "statusBarTranslucent", navigationBarTranslucent: "navigationBarTranslucent", allowSwipeDismissal: "allowSwipeDismissal", backdropColor: "backdropColor" }, usesInheritance: true, ngImport: i0 }); }
|
|
303
|
+
}
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ModalElement, decorators: [{
|
|
305
|
+
type: Directive,
|
|
306
|
+
args: [{ selector: 'modal, symbiote-modal', standalone: true }]
|
|
307
|
+
}], propDecorators: { visible: [{
|
|
308
|
+
type: Input
|
|
309
|
+
}], transparent: [{
|
|
310
|
+
type: Input
|
|
311
|
+
}], animationType: [{
|
|
312
|
+
type: Input
|
|
313
|
+
}], presentationStyle: [{
|
|
314
|
+
type: Input
|
|
315
|
+
}], supportedOrientations: [{
|
|
316
|
+
type: Input
|
|
317
|
+
}], hardwareAccelerated: [{
|
|
318
|
+
type: Input
|
|
319
|
+
}], statusBarTranslucent: [{
|
|
320
|
+
type: Input
|
|
321
|
+
}], navigationBarTranslucent: [{
|
|
322
|
+
type: Input
|
|
323
|
+
}], allowSwipeDismissal: [{
|
|
324
|
+
type: Input
|
|
325
|
+
}], backdropColor: [{
|
|
326
|
+
type: Input
|
|
327
|
+
}] } });
|
|
328
|
+
export class RefreshControlElement extends ReadBackElement {
|
|
329
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RefreshControlElement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
330
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: RefreshControlElement, isStandalone: true, selector: "refresh-control", inputs: { refreshing: "refreshing", enabled: "enabled", colors: "colors", tintColor: "tintColor", title: "title", titleColor: "titleColor", size: "size", progressBackgroundColor: "progressBackgroundColor", progressViewOffset: "progressViewOffset", onRefresh: "onRefresh" }, usesInheritance: true, ngImport: i0 }); }
|
|
331
|
+
}
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RefreshControlElement, decorators: [{
|
|
333
|
+
type: Directive,
|
|
334
|
+
args: [{ selector: 'refresh-control', standalone: true }]
|
|
335
|
+
}], propDecorators: { refreshing: [{
|
|
336
|
+
type: Input
|
|
337
|
+
}], enabled: [{
|
|
338
|
+
type: Input
|
|
339
|
+
}], colors: [{
|
|
340
|
+
type: Input
|
|
341
|
+
}], tintColor: [{
|
|
342
|
+
type: Input
|
|
343
|
+
}], title: [{
|
|
344
|
+
type: Input
|
|
345
|
+
}], titleColor: [{
|
|
346
|
+
type: Input
|
|
347
|
+
}], size: [{
|
|
348
|
+
type: Input
|
|
349
|
+
}], progressBackgroundColor: [{
|
|
350
|
+
type: Input
|
|
351
|
+
}], progressViewOffset: [{
|
|
352
|
+
type: Input
|
|
353
|
+
}], onRefresh: [{
|
|
354
|
+
type: Input
|
|
355
|
+
}] } });
|
|
356
|
+
export class StickyHeaderElement extends SymbioteElement {
|
|
357
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: StickyHeaderElement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
358
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: StickyHeaderElement, isStandalone: true, selector: "sticky-header", inputs: { inverted: "inverted", nextHeaderLayoutY: "nextHeaderLayoutY", scrollAnimatedValue: "scrollAnimatedValue", scrollViewHeight: "scrollViewHeight" }, usesInheritance: true, ngImport: i0 }); }
|
|
359
|
+
}
|
|
360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: StickyHeaderElement, decorators: [{
|
|
361
|
+
type: Directive,
|
|
362
|
+
args: [{ selector: 'sticky-header', standalone: true }]
|
|
363
|
+
}], propDecorators: { inverted: [{
|
|
364
|
+
type: Input
|
|
365
|
+
}], nextHeaderLayoutY: [{
|
|
366
|
+
type: Input
|
|
367
|
+
}], scrollAnimatedValue: [{
|
|
368
|
+
type: Input
|
|
369
|
+
}], scrollViewHeight: [{
|
|
370
|
+
type: Input
|
|
371
|
+
}] } });
|
|
372
|
+
export class InputAccessoryViewElement extends SymbioteElement {
|
|
373
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputAccessoryViewElement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
374
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: InputAccessoryViewElement, isStandalone: true, selector: "input-accessory-view", inputs: { backgroundColor: "backgroundColor" }, usesInheritance: true, ngImport: i0 }); }
|
|
375
|
+
}
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputAccessoryViewElement, decorators: [{
|
|
377
|
+
type: Directive,
|
|
378
|
+
args: [{ selector: 'input-accessory-view', standalone: true }]
|
|
379
|
+
}], propDecorators: { backgroundColor: [{
|
|
380
|
+
type: Input
|
|
381
|
+
}] } });
|
|
382
|
+
//# sourceMappingURL=elements-controls.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elements-controls.js","sourceRoot":"","sources":["../../src/elements-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,UAAU,EACV,YAAY,EACZ,KAAK,EACL,MAAM,EACN,SAAS,EACT,UAAU,EACV,MAAM,GACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,iBAAiB,EAA6B,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAU7D,OAAO,EACL,eAAe,EACf,eAAe,EACf,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;;AAGxB,MAAM,OAAO,gBAAiB,SAAQ,kBAAkB;IADxD;;QAyCE,+FAA+F;QAC/F,4FAA4F;QACzE,gBAAW,GAAG,IAAI,YAAY,EAE9C,CAAC;KASL;IAPW,kBAAkB;QAC1B,OAAO,IAAI,CAAC,W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K;;sBACL,KAAK;;AAIR,MAAM,OAAO,qBAAsB,SAAQ,eAAe;8GAA7C,qBAAqB;kGAArB,qBAAqB;;2FAArB,qBAAqB;kBADjC,SAAS;mBAAC,EAAE,QAAQ,EAAE,iBAAiB,EAAE,UAAU,EAAE,IAAI,EAAE;;sBAEzD,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAEL,KAAK;;sBAEL,KAAK;;AAIR,MAAM,OAAO,mBAAoB,SAAQ,eAAe;8GAA3C,mBAAmB;kGAAnB,mBAAmB;;2FAAnB,mBAAmB;kBAD/B,SAAS;mBAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,UAAU,EAAE,IAAI,EAAE;;sBAEvD,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAEL,KAAK;;AAIR,MAAM,OAAO,yBAA0B,SAAQ,eAAe;8GAAjD,yBAAyB;kGAAzB,yBAAyB;;2FAAzB,yBAAyB;kBADrC,SAAS;mBAAC,EAAE,QAAQ,EAAE,sBAAsB,EAAE,UAAU,EAAE,IAAI,EAAE;;sBAE9D,KAAK"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { IImageProps } from '@symbiote-native/components';
|
|
2
|
+
import type { IAngularImageBackgroundProps } from './components/image-background-props';
|
|
3
|
+
import type { IAngularScrollViewProps } from './components/scroll-view-props';
|
|
4
|
+
import { SymbioteElement } from './element-base';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ImageElement extends SymbioteElement {
|
|
7
|
+
source?: IImageProps['source'];
|
|
8
|
+
src?: IImageProps['src'];
|
|
9
|
+
srcSet?: IImageProps['srcSet'];
|
|
10
|
+
alt?: IImageProps['alt'];
|
|
11
|
+
width?: IImageProps['width'];
|
|
12
|
+
height?: IImageProps['height'];
|
|
13
|
+
resizeMode?: IImageProps['resizeMode'];
|
|
14
|
+
resizeMethod?: IImageProps['resizeMethod'];
|
|
15
|
+
defaultSource?: IImageProps['defaultSource'];
|
|
16
|
+
loadingIndicatorSource?: IImageProps['loadingIndicatorSource'];
|
|
17
|
+
blurRadius?: IImageProps['blurRadius'];
|
|
18
|
+
capInsets?: IImageProps['capInsets'];
|
|
19
|
+
crossOrigin?: IImageProps['crossOrigin'];
|
|
20
|
+
referrerPolicy?: IImageProps['referrerPolicy'];
|
|
21
|
+
fadeDuration?: IImageProps['fadeDuration'];
|
|
22
|
+
progressiveRenderingEnabled?: IImageProps['progressiveRenderingEnabled'];
|
|
23
|
+
tintColor?: IImageProps['tintColor'];
|
|
24
|
+
onLoad?: IImageProps['onLoad'];
|
|
25
|
+
onLoadStart?: IImageProps['onLoadStart'];
|
|
26
|
+
onLoadEnd?: IImageProps['onLoadEnd'];
|
|
27
|
+
onError?: IImageProps['onError'];
|
|
28
|
+
onProgress?: IImageProps['onProgress'];
|
|
29
|
+
onPartialLoad?: IImageProps['onPartialLoad'];
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageElement, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageElement, "image, symbiote-image", never, { "source": { "alias": "source"; "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; }; "resizeMode": { "alias": "resizeMode"; "required": false; }; "resizeMethod": { "alias": "resizeMethod"; "required": false; }; "defaultSource": { "alias": "defaultSource"; "required": false; }; "loadingIndicatorSource": { "alias": "loadingIndicatorSource"; "required": false; }; "blurRadius": { "alias": "blurRadius"; "required": false; }; "capInsets": { "alias": "capInsets"; "required": false; }; "crossOrigin": { "alias": "crossOrigin"; "required": false; }; "referrerPolicy": { "alias": "referrerPolicy"; "required": false; }; "fadeDuration": { "alias": "fadeDuration"; "required": false; }; "progressiveRenderingEnabled": { "alias": "progressiveRenderingEnabled"; "required": false; }; "tintColor": { "alias": "tintColor"; "required": false; }; "onLoad": { "alias": "onLoad"; "required": false; }; "onLoadStart": { "alias": "onLoadStart"; "required": false; }; "onLoadEnd": { "alias": "onLoadEnd"; "required": false; }; "onError": { "alias": "onError"; "required": false; }; "onProgress": { "alias": "onProgress"; "required": false; }; "onPartialLoad": { "alias": "onPartialLoad"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
33
|
+
export declare class ImageBackgroundElement extends SymbioteElement {
|
|
34
|
+
imageStyle?: IAngularImageBackgroundProps['imageStyle'];
|
|
35
|
+
source?: IImageProps['source'];
|
|
36
|
+
src?: IImageProps['src'];
|
|
37
|
+
srcSet?: IImageProps['srcSet'];
|
|
38
|
+
alt?: IImageProps['alt'];
|
|
39
|
+
width?: IImageProps['width'];
|
|
40
|
+
height?: IImageProps['height'];
|
|
41
|
+
resizeMode?: IImageProps['resizeMode'];
|
|
42
|
+
resizeMethod?: IImageProps['resizeMethod'];
|
|
43
|
+
defaultSource?: IImageProps['defaultSource'];
|
|
44
|
+
loadingIndicatorSource?: IImageProps['loadingIndicatorSource'];
|
|
45
|
+
blurRadius?: IImageProps['blurRadius'];
|
|
46
|
+
capInsets?: IImageProps['capInsets'];
|
|
47
|
+
crossOrigin?: IImageProps['crossOrigin'];
|
|
48
|
+
referrerPolicy?: IImageProps['referrerPolicy'];
|
|
49
|
+
fadeDuration?: IImageProps['fadeDuration'];
|
|
50
|
+
progressiveRenderingEnabled?: IImageProps['progressiveRenderingEnabled'];
|
|
51
|
+
tintColor?: IImageProps['tintColor'];
|
|
52
|
+
onLoad?: IImageProps['onLoad'];
|
|
53
|
+
onLoadStart?: IImageProps['onLoadStart'];
|
|
54
|
+
onLoadEnd?: IImageProps['onLoadEnd'];
|
|
55
|
+
onError?: IImageProps['onError'];
|
|
56
|
+
onProgress?: IImageProps['onProgress'];
|
|
57
|
+
onPartialLoad?: IImageProps['onPartialLoad'];
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageBackgroundElement, never>;
|
|
59
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageBackgroundElement, "image-background", never, { "imageStyle": { "alias": "imageStyle"; "required": false; }; "source": { "alias": "source"; "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; }; "resizeMode": { "alias": "resizeMode"; "required": false; }; "resizeMethod": { "alias": "resizeMethod"; "required": false; }; "defaultSource": { "alias": "defaultSource"; "required": false; }; "loadingIndicatorSource": { "alias": "loadingIndicatorSource"; "required": false; }; "blurRadius": { "alias": "blurRadius"; "required": false; }; "capInsets": { "alias": "capInsets"; "required": false; }; "crossOrigin": { "alias": "crossOrigin"; "required": false; }; "referrerPolicy": { "alias": "referrerPolicy"; "required": false; }; "fadeDuration": { "alias": "fadeDuration"; "required": false; }; "progressiveRenderingEnabled": { "alias": "progressiveRenderingEnabled"; "required": false; }; "tintColor": { "alias": "tintColor"; "required": false; }; "onLoad": { "alias": "onLoad"; "required": false; }; "onLoadStart": { "alias": "onLoadStart"; "required": false; }; "onLoadEnd": { "alias": "onLoadEnd"; "required": false; }; "onError": { "alias": "onError"; "required": false; }; "onProgress": { "alias": "onProgress"; "required": false; }; "onPartialLoad": { "alias": "onPartialLoad"; "required": false; }; }, {}, never, never, true, never>;
|
|
60
|
+
}
|
|
61
|
+
export declare class ScrollViewElement extends SymbioteElement {
|
|
62
|
+
scrollEnabled?: IAngularScrollViewProps['scrollEnabled'];
|
|
63
|
+
scrollEventThrottle?: IAngularScrollViewProps['scrollEventThrottle'];
|
|
64
|
+
contentContainerStyle?: IAngularScrollViewProps['contentContainerStyle'];
|
|
65
|
+
contentInset?: IAngularScrollViewProps['contentInset'];
|
|
66
|
+
contentInsetAdjustmentBehavior?: IAngularScrollViewProps['contentInsetAdjustmentBehavior'];
|
|
67
|
+
contentOffset?: IAngularScrollViewProps['contentOffset'];
|
|
68
|
+
scrollIndicatorInsets?: IAngularScrollViewProps['scrollIndicatorInsets'];
|
|
69
|
+
showsHorizontalScrollIndicator?: IAngularScrollViewProps['showsHorizontalScrollIndicator'];
|
|
70
|
+
showsVerticalScrollIndicator?: IAngularScrollViewProps['showsVerticalScrollIndicator'];
|
|
71
|
+
alwaysBounceHorizontal?: IAngularScrollViewProps['alwaysBounceHorizontal'];
|
|
72
|
+
alwaysBounceVertical?: IAngularScrollViewProps['alwaysBounceVertical'];
|
|
73
|
+
bounces?: IAngularScrollViewProps['bounces'];
|
|
74
|
+
bouncesZoom?: IAngularScrollViewProps['bouncesZoom'];
|
|
75
|
+
centerContent?: IAngularScrollViewProps['centerContent'];
|
|
76
|
+
decelerationRate?: IAngularScrollViewProps['decelerationRate'];
|
|
77
|
+
directionalLockEnabled?: IAngularScrollViewProps['directionalLockEnabled'];
|
|
78
|
+
disableIntervalMomentum?: IAngularScrollViewProps['disableIntervalMomentum'];
|
|
79
|
+
endFillColor?: IAngularScrollViewProps['endFillColor'];
|
|
80
|
+
fadingEdgeLength?: IAngularScrollViewProps['fadingEdgeLength'];
|
|
81
|
+
indicatorStyle?: IAngularScrollViewProps['indicatorStyle'];
|
|
82
|
+
invertStickyHeaders?: IAngularScrollViewProps['invertStickyHeaders'];
|
|
83
|
+
keyboardDismissMode?: IAngularScrollViewProps['keyboardDismissMode'];
|
|
84
|
+
keyboardShouldPersistTaps?: IAngularScrollViewProps['keyboardShouldPersistTaps'];
|
|
85
|
+
automaticallyAdjustKeyboardInsets?: IAngularScrollViewProps['automaticallyAdjustKeyboardInsets'];
|
|
86
|
+
maintainVisibleContentPosition?: IAngularScrollViewProps['maintainVisibleContentPosition'];
|
|
87
|
+
maximumZoomScale?: IAngularScrollViewProps['maximumZoomScale'];
|
|
88
|
+
minimumZoomScale?: IAngularScrollViewProps['minimumZoomScale'];
|
|
89
|
+
zoomScale?: IAngularScrollViewProps['zoomScale'];
|
|
90
|
+
nestedScrollEnabled?: IAngularScrollViewProps['nestedScrollEnabled'];
|
|
91
|
+
overScrollMode?: IAngularScrollViewProps['overScrollMode'];
|
|
92
|
+
pagingEnabled?: IAngularScrollViewProps['pagingEnabled'];
|
|
93
|
+
persistentScrollbar?: IAngularScrollViewProps['persistentScrollbar'];
|
|
94
|
+
pinchGestureEnabled?: IAngularScrollViewProps['pinchGestureEnabled'];
|
|
95
|
+
snapToAlignment?: IAngularScrollViewProps['snapToAlignment'];
|
|
96
|
+
snapToEnd?: IAngularScrollViewProps['snapToEnd'];
|
|
97
|
+
snapToInterval?: IAngularScrollViewProps['snapToInterval'];
|
|
98
|
+
snapToOffsets?: IAngularScrollViewProps['snapToOffsets'];
|
|
99
|
+
snapToStart?: IAngularScrollViewProps['snapToStart'];
|
|
100
|
+
stickyHeaderIndices?: IAngularScrollViewProps['stickyHeaderIndices'];
|
|
101
|
+
onScroll?: IAngularScrollViewProps['onScroll'];
|
|
102
|
+
onScrollBeginDrag?: IAngularScrollViewProps['onScrollBeginDrag'];
|
|
103
|
+
onScrollEndDrag?: IAngularScrollViewProps['onScrollEndDrag'];
|
|
104
|
+
onMomentumScrollBegin?: IAngularScrollViewProps['onMomentumScrollBegin'];
|
|
105
|
+
onMomentumScrollEnd?: IAngularScrollViewProps['onMomentumScrollEnd'];
|
|
106
|
+
onScrollToTop?: IAngularScrollViewProps['onScrollToTop'];
|
|
107
|
+
onContentSizeChange?: IAngularScrollViewProps['onContentSizeChange'];
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollViewElement, never>;
|
|
109
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollViewElement, "scroll-view", never, { "scrollEnabled": { "alias": "scrollEnabled"; "required": false; }; "scrollEventThrottle": { "alias": "scrollEventThrottle"; "required": false; }; "contentContainerStyle": { "alias": "contentContainerStyle"; "required": false; }; "contentInset": { "alias": "contentInset"; "required": false; }; "contentInsetAdjustmentBehavior": { "alias": "contentInsetAdjustmentBehavior"; "required": false; }; "contentOffset": { "alias": "contentOffset"; "required": false; }; "scrollIndicatorInsets": { "alias": "scrollIndicatorInsets"; "required": false; }; "showsHorizontalScrollIndicator": { "alias": "showsHorizontalScrollIndicator"; "required": false; }; "showsVerticalScrollIndicator": { "alias": "showsVerticalScrollIndicator"; "required": false; }; "alwaysBounceHorizontal": { "alias": "alwaysBounceHorizontal"; "required": false; }; "alwaysBounceVertical": { "alias": "alwaysBounceVertical"; "required": false; }; "bounces": { "alias": "bounces"; "required": false; }; "bouncesZoom": { "alias": "bouncesZoom"; "required": false; }; "centerContent": { "alias": "centerContent"; "required": false; }; "decelerationRate": { "alias": "decelerationRate"; "required": false; }; "directionalLockEnabled": { "alias": "directionalLockEnabled"; "required": false; }; "disableIntervalMomentum": { "alias": "disableIntervalMomentum"; "required": false; }; "endFillColor": { "alias": "endFillColor"; "required": false; }; "fadingEdgeLength": { "alias": "fadingEdgeLength"; "required": false; }; "indicatorStyle": { "alias": "indicatorStyle"; "required": false; }; "invertStickyHeaders": { "alias": "invertStickyHeaders"; "required": false; }; "keyboardDismissMode": { "alias": "keyboardDismissMode"; "required": false; }; "keyboardShouldPersistTaps": { "alias": "keyboardShouldPersistTaps"; "required": false; }; "automaticallyAdjustKeyboardInsets": { "alias": "automaticallyAdjustKeyboardInsets"; "required": false; }; "maintainVisibleContentPosition": { "alias": "maintainVisibleContentPosition"; "required": false; }; "maximumZoomScale": { "alias": "maximumZoomScale"; "required": false; }; "minimumZoomScale": { "alias": "minimumZoomScale"; "required": false; }; "zoomScale": { "alias": "zoomScale"; "required": false; }; "nestedScrollEnabled": { "alias": "nestedScrollEnabled"; "required": false; }; "overScrollMode": { "alias": "overScrollMode"; "required": false; }; "pagingEnabled": { "alias": "pagingEnabled"; "required": false; }; "persistentScrollbar": { "alias": "persistentScrollbar"; "required": false; }; "pinchGestureEnabled": { "alias": "pinchGestureEnabled"; "required": false; }; "snapToAlignment": { "alias": "snapToAlignment"; "required": false; }; "snapToEnd": { "alias": "snapToEnd"; "required": false; }; "snapToInterval": { "alias": "snapToInterval"; "required": false; }; "snapToOffsets": { "alias": "snapToOffsets"; "required": false; }; "snapToStart": { "alias": "snapToStart"; "required": false; }; "stickyHeaderIndices": { "alias": "stickyHeaderIndices"; "required": false; }; "onScroll": { "alias": "onScroll"; "required": false; }; "onScrollBeginDrag": { "alias": "onScrollBeginDrag"; "required": false; }; "onScrollEndDrag": { "alias": "onScrollEndDrag"; "required": false; }; "onMomentumScrollBegin": { "alias": "onMomentumScrollBegin"; "required": false; }; "onMomentumScrollEnd": { "alias": "onMomentumScrollEnd"; "required": false; }; "onScrollToTop": { "alias": "onScrollToTop"; "required": false; }; "onContentSizeChange": { "alias": "onContentSizeChange"; "required": false; }; }, {}, never, never, true, never>;
|
|
110
|
+
}
|
|
111
|
+
export declare class HorizontalScrollViewElement extends ScrollViewElement {
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HorizontalScrollViewElement, never>;
|
|
113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HorizontalScrollViewElement, "horizontal-scroll-view", never, {}, {}, never, never, true, never>;
|
|
114
|
+
}
|
|
115
|
+
export declare class ScrollContentElement extends SymbioteElement {
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollContentElement, never>;
|
|
117
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollContentElement, "scroll-content", never, {}, {}, never, never, true, never>;
|
|
118
|
+
}
|
|
119
|
+
export declare class HorizontalScrollContentElement extends SymbioteElement {
|
|
120
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HorizontalScrollContentElement, never>;
|
|
121
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HorizontalScrollContentElement, "horizontal-scroll-content", never, {}, {}, never, never, true, never>;
|
|
122
|
+
}
|