@ng-native/expo 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audio.js +2 -2
- package/dist/audio.js.map +1 -1
- package/dist/community-views.js +1 -1
- package/dist/community-views.js.map +1 -1
- package/dist/crypto.js +2 -2
- package/dist/crypto.js.map +1 -1
- package/dist/database.d.ts +18 -3
- package/dist/database.js +26 -7
- package/dist/database.js.map +1 -1
- package/dist/date-time-picker.d.ts +33 -0
- package/dist/date-time-picker.js +77 -0
- package/dist/date-time-picker.js.map +1 -0
- package/dist/dom-component.d.ts +5 -0
- package/dist/dom-component.js +57 -2
- package/dist/dom-component.js.map +1 -1
- package/dist/expo-ui-components.d.ts +150 -2
- package/dist/expo-ui-components.js +170 -3
- package/dist/expo-ui-components.js.map +1 -1
- package/dist/expo-ui.js +11 -1
- package/dist/expo-ui.js.map +1 -1
- package/dist/file-system.d.ts +7 -0
- package/dist/file-system.js +16 -3
- package/dist/file-system.js.map +1 -1
- package/dist/fonts.d.ts +0 -9
- package/dist/fonts.js +19 -14
- package/dist/fonts.js.map +1 -1
- package/dist/glass.d.ts +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/live-activity.js +7 -1
- package/dist/live-activity.js.map +1 -1
- package/dist/location.d.ts +17 -0
- package/dist/location.js +18 -0
- package/dist/location.js.map +1 -1
- package/dist/native.d.ts +8 -1
- package/dist/native.js +21 -6
- package/dist/native.js.map +1 -1
- package/dist/register-expo-view.d.ts +2 -0
- package/dist/register-expo-view.js +1 -0
- package/dist/register-expo-view.js.map +1 -1
- package/dist/video.js +2 -2
- package/dist/video.js.map +1 -1
- package/dist/widget.d.ts +63 -0
- package/dist/widget.js +98 -0
- package/dist/widget.js.map +1 -0
- package/package.json +6 -2
|
@@ -14,6 +14,7 @@ export interface UiModifier {
|
|
|
14
14
|
* drawn in it spills outside it, where it can be seen but not touched or read by VoiceOver.
|
|
15
15
|
*/
|
|
16
16
|
export declare class UiHost {
|
|
17
|
+
protected readonly nativeView: true;
|
|
17
18
|
readonly matchContents: import("@angular/core").InputSignal<boolean | {
|
|
18
19
|
readonly vertical?: boolean;
|
|
19
20
|
readonly horizontal?: boolean;
|
|
@@ -27,6 +28,7 @@ export declare class UiHost {
|
|
|
27
28
|
}
|
|
28
29
|
/** A SwiftUI `Menu`. Its trigger is the `label` or a `<ui-slot name="label">`; its items are children. */
|
|
29
30
|
export declare class UiMenu {
|
|
31
|
+
protected readonly nativeView: true;
|
|
30
32
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
31
33
|
/** An SF Symbol name. */
|
|
32
34
|
readonly systemImage: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -35,23 +37,67 @@ export declare class UiMenu {
|
|
|
35
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiMenu, never>;
|
|
36
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiMenu, "ui-menu", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "systemImage": { "alias": "systemImage"; "required": false; "isSignal": true; }; "accessibilityLabel": { "alias": "accessibilityLabel"; "required": false; "isSignal": true; }; "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
37
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Views of the app's own inside SwiftUI or Compose content: the way back from a `ui-host`. What
|
|
42
|
+
* it holds is laid out by the engine, as anywhere else, and takes presses as anywhere else, so a
|
|
43
|
+
* row drawn with the app's own components can be a context menu's trigger or a sheet's body.
|
|
44
|
+
*
|
|
45
|
+
* It holds one element. `matchContents` sizes it to that element, both ways: the element needs a
|
|
46
|
+
* width of its own, since nothing here stretches it. Without `matchContents` it fills what the
|
|
47
|
+
* SwiftUI or Compose view around it offers, which inside a view sized to its content is a width
|
|
48
|
+
* and no height.
|
|
49
|
+
*/
|
|
50
|
+
export declare class UiViewHost {
|
|
51
|
+
protected readonly nativeView: true;
|
|
52
|
+
readonly matchContents: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
53
|
+
/**
|
|
54
|
+
* For content presented in a window of its own, a sheet or a popover, where nothing above it
|
|
55
|
+
* delivers its touches: it then takes them itself, and is measured from itself.
|
|
56
|
+
*/
|
|
57
|
+
readonly layoutRoot: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
58
|
+
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiViewHost, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiViewHost, "ui-view-host", never, { "matchContents": { "alias": "matchContents"; "required": false; "isSignal": true; }; "layoutRoot": { "alias": "layoutRoot"; "required": false; "isSignal": true; }; "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* A SwiftUI `contextMenu`: the menu a long press on its trigger opens, with the trigger lifted
|
|
64
|
+
* over the dimmed screen. iOS only.
|
|
65
|
+
*
|
|
66
|
+
* Its content is three slots: `<ui-slot name="trigger">` is what is always shown,
|
|
67
|
+
* `<ui-slot name="items">` holds the `ui-button`s, `ui-divider`s and `ui-section`s of the menu, and
|
|
68
|
+
* `<ui-slot name="preview">`, when there is one, is shown above the open menu in place of the
|
|
69
|
+
* trigger. All three are SwiftUI content, as everything inside a `ui-host` is.
|
|
70
|
+
*/
|
|
71
|
+
export declare class UiContextMenu {
|
|
72
|
+
protected readonly nativeView: true;
|
|
73
|
+
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiContextMenu, never>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiContextMenu, "ui-context-menu", never, { "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
76
|
+
}
|
|
38
77
|
/**
|
|
39
78
|
* A SwiftUI `Button`, as a menu item or on its own, or Compose's on Android, which draws `label` as
|
|
40
79
|
* text inside it. `systemImage` and `role` are SwiftUI's alone.
|
|
41
80
|
*/
|
|
42
81
|
export declare class UiButton {
|
|
82
|
+
protected readonly nativeView: true;
|
|
43
83
|
protected readonly android: boolean;
|
|
44
84
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
45
85
|
/** An SF Symbol name. */
|
|
46
86
|
readonly systemImage: import("@angular/core").InputSignal<string | undefined>;
|
|
47
87
|
readonly role: import("@angular/core").InputSignal<"default" | "cancel" | "destructive" | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* In a home-screen widget's layout, what a tap on it records for the app: see
|
|
90
|
+
* `@ng-native/expo/widget`.
|
|
91
|
+
*/
|
|
92
|
+
readonly target: import("@angular/core").InputSignal<string | undefined>;
|
|
48
93
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
49
94
|
readonly buttonPress: import("@angular/core").OutputEmitterRef<NativeSyntheticEvent<Record<string, never>>>;
|
|
50
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiButton, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiButton, "ui-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "systemImage": { "alias": "systemImage"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, { "buttonPress": "buttonPress"; }, never, ["*"], true, never>;
|
|
96
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiButton, "ui-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "systemImage": { "alias": "systemImage"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, { "buttonPress": "buttonPress"; }, never, ["*"], true, never>;
|
|
52
97
|
}
|
|
53
98
|
/** A SwiftUI `Divider`, or Compose's `HorizontalDivider`: a separator between groups of items. */
|
|
54
99
|
export declare class UiDivider {
|
|
100
|
+
protected readonly nativeView: true;
|
|
55
101
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
56
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiDivider, never>;
|
|
57
103
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiDivider, "ui-divider", never, { "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -62,6 +108,7 @@ export declare class UiDivider {
|
|
|
62
108
|
* `allowsFullSwipe`.
|
|
63
109
|
*/
|
|
64
110
|
export declare class UiSlot {
|
|
111
|
+
protected readonly nativeView: true;
|
|
65
112
|
protected readonly android: boolean;
|
|
66
113
|
readonly name: import("@angular/core").InputSignal<string>;
|
|
67
114
|
readonly extraProps: import("@angular/core").InputSignal<Readonly<Record<string, unknown>> | undefined>;
|
|
@@ -73,6 +120,7 @@ export declare class UiSlot {
|
|
|
73
120
|
* swipe actions through `ui-swipe-actions`.
|
|
74
121
|
*/
|
|
75
122
|
export declare class UiList {
|
|
123
|
+
protected readonly nativeView: true;
|
|
76
124
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
77
125
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiList, never>;
|
|
78
126
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiList, "ui-list", never, { "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -83,6 +131,7 @@ export declare class UiList {
|
|
|
83
131
|
* slot per edge, as `ui-button`s.
|
|
84
132
|
*/
|
|
85
133
|
export declare class UiSwipeActions {
|
|
134
|
+
protected readonly nativeView: true;
|
|
86
135
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
87
136
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiSwipeActions, never>;
|
|
88
137
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiSwipeActions, "ui-swipe-actions", never, { "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -96,6 +145,7 @@ export type UiSliderChangeEvent = NativeSyntheticEvent<{
|
|
|
96
145
|
* moves; note the d, which SwiftUI's event has and `@expo/ui`'s React prop does not.
|
|
97
146
|
*/
|
|
98
147
|
export declare class UiSlider {
|
|
148
|
+
protected readonly nativeView: true;
|
|
99
149
|
readonly value: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
100
150
|
readonly min: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
101
151
|
readonly max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
@@ -119,6 +169,7 @@ export declare class UiSlider {
|
|
|
119
169
|
* puts none.
|
|
120
170
|
*/
|
|
121
171
|
export declare class UiVStack {
|
|
172
|
+
protected readonly nativeView: true;
|
|
122
173
|
readonly alignment: import("@angular/core").InputSignal<"leading" | "center" | "trailing" | undefined>;
|
|
123
174
|
readonly spacing: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
124
175
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
@@ -130,6 +181,7 @@ export declare class UiVStack {
|
|
|
130
181
|
}
|
|
131
182
|
/** A SwiftUI `Image`: an SF Symbol by `systemName`, or a picture by `uiImage` URL. */
|
|
132
183
|
export declare class UiImage {
|
|
184
|
+
protected readonly nativeView: true;
|
|
133
185
|
readonly systemName: import("@angular/core").InputSignal<string | undefined>;
|
|
134
186
|
readonly uiImage: import("@angular/core").InputSignal<string | undefined>;
|
|
135
187
|
readonly size: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
@@ -143,6 +195,7 @@ export declare class UiImage {
|
|
|
143
195
|
* `<ui-text>Us {{ score }}</ui-text>`, as `<text>` takes its own, or `text`, which wins over it.
|
|
144
196
|
*/
|
|
145
197
|
export declare class UiText {
|
|
198
|
+
protected readonly nativeView: true;
|
|
146
199
|
readonly text: import("@angular/core").InputSignal<string | undefined>;
|
|
147
200
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
148
201
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiText, never>;
|
|
@@ -170,6 +223,7 @@ export type UiDateChangeEvent = NativeSyntheticEvent<{
|
|
|
170
223
|
* `selection` is still accepted as ISO text, for a picker bound without a form.
|
|
171
224
|
*/
|
|
172
225
|
export declare class UiDatePicker {
|
|
226
|
+
protected readonly nativeView: true;
|
|
173
227
|
readonly title: import("@angular/core").InputSignal<string | undefined>;
|
|
174
228
|
readonly selection: import("@angular/core").InputSignal<string | undefined>;
|
|
175
229
|
readonly displayedComponents: import("@angular/core").InputSignal<readonly ("date" | "hourAndMinute")[] | undefined>;
|
|
@@ -213,11 +267,12 @@ export interface UiPickerOption {
|
|
|
213
267
|
* work for anything richer. `pickerStyle` is SwiftUI's (`menu`, `segmented`, `wheel`, `inline`).
|
|
214
268
|
*/
|
|
215
269
|
export declare class UiPicker {
|
|
270
|
+
protected readonly nativeView: true;
|
|
216
271
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
217
272
|
/** An SF Symbol name. */
|
|
218
273
|
readonly systemImage: import("@angular/core").InputSignal<string | undefined>;
|
|
219
274
|
readonly options: import("@angular/core").InputSignal<readonly UiPickerOption[] | undefined>;
|
|
220
|
-
readonly pickerStyle: import("@angular/core").InputSignal<"
|
|
275
|
+
readonly pickerStyle: import("@angular/core").InputSignal<"inline" | "automatic" | "menu" | "segmented" | "wheel" | "palette" | undefined>;
|
|
221
276
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
222
277
|
/** The chosen option's value: what `[formField]` binds. */
|
|
223
278
|
readonly value: import("@angular/core").ModelSignal<string | number | null>;
|
|
@@ -243,6 +298,7 @@ export type UiToggleChangeEvent = NativeSyntheticEvent<{
|
|
|
243
298
|
* `isOn`, it shows what `isOn` says; without it, it switches itself. `label` is SwiftUI's alone.
|
|
244
299
|
*/
|
|
245
300
|
export declare class UiToggle {
|
|
301
|
+
protected readonly nativeView: true;
|
|
246
302
|
readonly isOn: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
247
303
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
248
304
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
@@ -262,6 +318,7 @@ export type UiStepperChangeEvent = NativeSyntheticEvent<{
|
|
|
262
318
|
}>;
|
|
263
319
|
/** A SwiftUI `Stepper`, between `min` and `max` by `step`. */
|
|
264
320
|
export declare class UiStepper {
|
|
321
|
+
protected readonly nativeView: true;
|
|
265
322
|
readonly value: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
266
323
|
readonly min: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
267
324
|
readonly max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
@@ -281,6 +338,7 @@ export type UiTextFieldChangeEvent = NativeSyntheticEvent<{
|
|
|
281
338
|
* writes to it on the UI thread, and `textChange` reports each change.
|
|
282
339
|
*/
|
|
283
340
|
export declare class UiTextField {
|
|
341
|
+
protected readonly nativeView: true;
|
|
284
342
|
readonly text: import("@angular/core").InputSignal<NativeState<string> | null | undefined>;
|
|
285
343
|
readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
286
344
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
@@ -294,6 +352,7 @@ export type UiColorChangeEvent = NativeSyntheticEvent<{
|
|
|
294
352
|
}>;
|
|
295
353
|
/** A SwiftUI `ColorPicker`. `selection` is a colour as hex. */
|
|
296
354
|
export declare class UiColorPicker {
|
|
355
|
+
protected readonly nativeView: true;
|
|
297
356
|
readonly selection: import("@angular/core").InputSignal<string | undefined>;
|
|
298
357
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
299
358
|
readonly supportsOpacity: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
@@ -304,6 +363,7 @@ export declare class UiColorPicker {
|
|
|
304
363
|
}
|
|
305
364
|
/** A SwiftUI `Gauge`: `value` between `min` and `max`, drawn as `type` says. */
|
|
306
365
|
export declare class UiGauge {
|
|
366
|
+
protected readonly nativeView: true;
|
|
307
367
|
readonly value: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
308
368
|
readonly min: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
309
369
|
readonly max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
@@ -315,11 +375,84 @@ export declare class UiGauge {
|
|
|
315
375
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiGauge, never>;
|
|
316
376
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiGauge, "ui-gauge", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "currentValueLabel": { "alias": "currentValueLabel"; "required": false; "isSignal": true; }; "minimumValueLabel": { "alias": "minimumValueLabel"; "required": false; "isSignal": true; }; "maximumValueLabel": { "alias": "maximumValueLabel"; "required": false; "isSignal": true; }; "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
317
377
|
}
|
|
378
|
+
/** One point of a `ui-chart`: `x`, a label or a number, against `y`, with a colour of its own. */
|
|
379
|
+
export interface UiChartDataPoint {
|
|
380
|
+
readonly x: string | number;
|
|
381
|
+
readonly y: number;
|
|
382
|
+
readonly color?: string;
|
|
383
|
+
}
|
|
384
|
+
/** How a `ui-chart` draws its points: `pie` needs iOS 17. */
|
|
385
|
+
export type UiChartType = 'line' | 'point' | 'bar' | 'area' | 'pie' | 'rectangle';
|
|
386
|
+
/** The symbol a `ui-chart` marks a point with. */
|
|
387
|
+
export type UiChartPointSymbol = 'circle' | 'square' | 'diamond';
|
|
388
|
+
/** A line chart's line: its dashes, width, colour, and the symbol at each point. */
|
|
389
|
+
export interface UiChartLineStyle {
|
|
390
|
+
readonly dashArray?: readonly number[];
|
|
391
|
+
readonly width?: number;
|
|
392
|
+
readonly pointStyle?: UiChartPointSymbol;
|
|
393
|
+
readonly pointSize?: number;
|
|
394
|
+
readonly color?: string;
|
|
395
|
+
}
|
|
396
|
+
/** A point chart's symbol and its size. */
|
|
397
|
+
export interface UiChartPointStyle {
|
|
398
|
+
readonly pointStyle?: UiChartPointSymbol;
|
|
399
|
+
readonly pointSize?: number;
|
|
400
|
+
}
|
|
401
|
+
/** An area chart's fill. */
|
|
402
|
+
export interface UiChartAreaStyle {
|
|
403
|
+
readonly color?: string;
|
|
404
|
+
}
|
|
405
|
+
/** A bar chart's bars: their corner radius and width. */
|
|
406
|
+
export interface UiChartBarStyle {
|
|
407
|
+
readonly cornerRadius?: number;
|
|
408
|
+
readonly width?: number;
|
|
409
|
+
}
|
|
410
|
+
/** A pie chart's slices: `innerRadius` from 0, a full pie, to 0.5 for a donut, and the gap between. */
|
|
411
|
+
export interface UiChartPieStyle {
|
|
412
|
+
readonly innerRadius?: number;
|
|
413
|
+
readonly angularInset?: number;
|
|
414
|
+
}
|
|
415
|
+
/** A rectangle chart's colour and corner radius. */
|
|
416
|
+
export interface UiChartRectangleStyle {
|
|
417
|
+
readonly color?: string;
|
|
418
|
+
readonly cornerRadius?: number;
|
|
419
|
+
}
|
|
420
|
+
/** The lines `referenceLines` draws across a `ui-chart`. */
|
|
421
|
+
export interface UiChartRuleStyle {
|
|
422
|
+
readonly color?: string;
|
|
423
|
+
readonly lineWidth?: number;
|
|
424
|
+
readonly dashArray?: readonly number[];
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* A Swift Charts chart of `data`, drawn as `type` says, iOS only, as Compose has no chart. Each
|
|
428
|
+
* style applies to its own type alone; `referenceLines` are drawn across it in `ruleStyle`.
|
|
429
|
+
* `showLegend` shows only when no point has a colour of its own.
|
|
430
|
+
*/
|
|
431
|
+
export declare class UiChart {
|
|
432
|
+
protected readonly nativeView: true;
|
|
433
|
+
readonly data: import("@angular/core").InputSignal<readonly UiChartDataPoint[]>;
|
|
434
|
+
readonly type: import("@angular/core").InputSignal<UiChartType | undefined>;
|
|
435
|
+
readonly showGrid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
436
|
+
readonly animate: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
437
|
+
readonly showLegend: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
438
|
+
readonly referenceLines: import("@angular/core").InputSignal<readonly UiChartDataPoint[] | undefined>;
|
|
439
|
+
readonly lineStyle: import("@angular/core").InputSignal<UiChartLineStyle | undefined>;
|
|
440
|
+
readonly pointStyle: import("@angular/core").InputSignal<UiChartPointStyle | undefined>;
|
|
441
|
+
readonly areaStyle: import("@angular/core").InputSignal<UiChartAreaStyle | undefined>;
|
|
442
|
+
readonly barStyle: import("@angular/core").InputSignal<UiChartBarStyle | undefined>;
|
|
443
|
+
readonly pieStyle: import("@angular/core").InputSignal<UiChartPieStyle | undefined>;
|
|
444
|
+
readonly rectangleStyle: import("@angular/core").InputSignal<UiChartRectangleStyle | undefined>;
|
|
445
|
+
readonly ruleStyle: import("@angular/core").InputSignal<UiChartRuleStyle | undefined>;
|
|
446
|
+
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
447
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiChart, never>;
|
|
448
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiChart, "ui-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "animate": { "alias": "animate"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "referenceLines": { "alias": "referenceLines"; "required": false; "isSignal": true; }; "lineStyle": { "alias": "lineStyle"; "required": false; "isSignal": true; }; "pointStyle": { "alias": "pointStyle"; "required": false; "isSignal": true; }; "areaStyle": { "alias": "areaStyle"; "required": false; "isSignal": true; }; "barStyle": { "alias": "barStyle"; "required": false; "isSignal": true; }; "pieStyle": { "alias": "pieStyle"; "required": false; "isSignal": true; }; "rectangleStyle": { "alias": "rectangleStyle"; "required": false; "isSignal": true; }; "ruleStyle": { "alias": "ruleStyle"; "required": false; "isSignal": true; }; "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
449
|
+
}
|
|
318
450
|
/**
|
|
319
451
|
* A SwiftUI `ProgressView`: a bar filled to `value`, from 0 to 1, or a spinner without one. On
|
|
320
452
|
* Android, Compose's `LinearProgressIndicator`, a moving bar rather than a spinner without a value.
|
|
321
453
|
*/
|
|
322
454
|
export declare class UiProgress {
|
|
455
|
+
protected readonly nativeView: true;
|
|
323
456
|
protected readonly android: boolean;
|
|
324
457
|
readonly value: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
325
458
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
@@ -332,6 +465,7 @@ export declare class UiProgress {
|
|
|
332
465
|
* puts its own default spacing between children and Compose puts none.
|
|
333
466
|
*/
|
|
334
467
|
export declare class UiHStack {
|
|
468
|
+
protected readonly nativeView: true;
|
|
335
469
|
readonly alignment: import("@angular/core").InputSignal<"center" | "top" | "bottom" | "firstTextBaseline" | undefined>;
|
|
336
470
|
readonly spacing: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
337
471
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
@@ -346,6 +480,7 @@ declare function spacedBy(spacing: number | undefined): {
|
|
|
346
480
|
} | undefined;
|
|
347
481
|
/** A SwiftUI `Spacer`: the room left over in its stack. */
|
|
348
482
|
export declare class UiSpacer {
|
|
483
|
+
protected readonly nativeView: true;
|
|
349
484
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
350
485
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiSpacer, never>;
|
|
351
486
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiSpacer, "ui-spacer", never, { "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -357,6 +492,7 @@ export type UiZStackAlignment = 'center' | 'leading' | 'trailing' | 'top' | 'bot
|
|
|
357
492
|
* Compose's `Box`, centred, as SwiftUI's is, unless `alignment` says otherwise.
|
|
358
493
|
*/
|
|
359
494
|
export declare class UiZStack {
|
|
495
|
+
protected readonly nativeView: true;
|
|
360
496
|
readonly alignment: import("@angular/core").InputSignal<UiZStackAlignment | undefined>;
|
|
361
497
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
362
498
|
protected readonly android: boolean;
|
|
@@ -366,12 +502,14 @@ export declare class UiZStack {
|
|
|
366
502
|
}
|
|
367
503
|
/** A SwiftUI `Rectangle`, filling the space it is given. Colour it with `foregroundStyle`. */
|
|
368
504
|
export declare class UiRectangle {
|
|
505
|
+
protected readonly nativeView: true;
|
|
369
506
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
370
507
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiRectangle, never>;
|
|
371
508
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiRectangle, "ui-rectangle", never, { "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
372
509
|
}
|
|
373
510
|
/** A SwiftUI `RoundedRectangle`, its corners rounded by `cornerRadius`. */
|
|
374
511
|
export declare class UiRoundedRectangle {
|
|
512
|
+
protected readonly nativeView: true;
|
|
375
513
|
readonly cornerRadius: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
376
514
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
377
515
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiRoundedRectangle, never>;
|
|
@@ -379,6 +517,7 @@ export declare class UiRoundedRectangle {
|
|
|
379
517
|
}
|
|
380
518
|
/** A SwiftUI `UnevenRoundedRectangle`: a rectangle with a radius of its own for each corner. */
|
|
381
519
|
export declare class UiUnevenRoundedRectangle {
|
|
520
|
+
protected readonly nativeView: true;
|
|
382
521
|
readonly topLeadingRadius: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
383
522
|
readonly topTrailingRadius: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
384
523
|
readonly bottomLeadingRadius: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
@@ -389,6 +528,7 @@ export declare class UiUnevenRoundedRectangle {
|
|
|
389
528
|
}
|
|
390
529
|
/** A SwiftUI `Capsule`: a rectangle with fully rounded ends. */
|
|
391
530
|
export declare class UiCapsule {
|
|
531
|
+
protected readonly nativeView: true;
|
|
392
532
|
readonly cornerStyle: import("@angular/core").InputSignal<"continuous" | "circular" | undefined>;
|
|
393
533
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
394
534
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiCapsule, never>;
|
|
@@ -396,12 +536,14 @@ export declare class UiCapsule {
|
|
|
396
536
|
}
|
|
397
537
|
/** A SwiftUI `Circle`, as large as fits the space it is given. */
|
|
398
538
|
export declare class UiCircle {
|
|
539
|
+
protected readonly nativeView: true;
|
|
399
540
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
400
541
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiCircle, never>;
|
|
401
542
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiCircle, "ui-circle", never, { "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
402
543
|
}
|
|
403
544
|
/** A SwiftUI `Ellipse`, filling the space it is given. */
|
|
404
545
|
export declare class UiEllipse {
|
|
546
|
+
protected readonly nativeView: true;
|
|
405
547
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
406
548
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiEllipse, never>;
|
|
407
549
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiEllipse, "ui-ellipse", never, { "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -411,12 +553,14 @@ export declare class UiEllipse {
|
|
|
411
553
|
* translucent disc or panel behind its content.
|
|
412
554
|
*/
|
|
413
555
|
export declare class UiAccessoryWidgetBackground {
|
|
556
|
+
protected readonly nativeView: true;
|
|
414
557
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
415
558
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiAccessoryWidgetBackground, never>;
|
|
416
559
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiAccessoryWidgetBackground, "ui-accessory-widget-background", never, { "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
417
560
|
}
|
|
418
561
|
/** A SwiftUI `Label`: a title beside an SF Symbol. */
|
|
419
562
|
export declare class UiLabel {
|
|
563
|
+
protected readonly nativeView: true;
|
|
420
564
|
readonly title: import("@angular/core").InputSignal<string | undefined>;
|
|
421
565
|
/** An SF Symbol name. */
|
|
422
566
|
readonly systemImage: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -430,6 +574,7 @@ export declare class UiLabel {
|
|
|
430
574
|
* written inside it. In a widget, a link is how a tap opens the app at a deep link.
|
|
431
575
|
*/
|
|
432
576
|
export declare class UiLink {
|
|
577
|
+
protected readonly nativeView: true;
|
|
433
578
|
readonly destination: import("@angular/core").InputSignal<string>;
|
|
434
579
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
435
580
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
@@ -438,6 +583,7 @@ export declare class UiLink {
|
|
|
438
583
|
}
|
|
439
584
|
/** A SwiftUI `LabeledContent`: a label, and its content beside it. */
|
|
440
585
|
export declare class UiLabeledContent {
|
|
586
|
+
protected readonly nativeView: true;
|
|
441
587
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
442
588
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
443
589
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiLabeledContent, never>;
|
|
@@ -445,12 +591,14 @@ export declare class UiLabeledContent {
|
|
|
445
591
|
}
|
|
446
592
|
/** A SwiftUI `Form`: settings-style grouped rows. */
|
|
447
593
|
export declare class UiForm {
|
|
594
|
+
protected readonly nativeView: true;
|
|
448
595
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
449
596
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiForm, never>;
|
|
450
597
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiForm, "ui-form", never, { "modifiers": { "alias": "modifiers"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
451
598
|
}
|
|
452
599
|
/** A SwiftUI `Section` of a form or a list, under `title`. */
|
|
453
600
|
export declare class UiSection {
|
|
601
|
+
protected readonly nativeView: true;
|
|
454
602
|
readonly title: import("@angular/core").InputSignal<string | undefined>;
|
|
455
603
|
readonly modifiers: import("@angular/core").InputSignal<readonly UiModifier[] | undefined>;
|
|
456
604
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiSection, never>;
|