@thelacanians/vue-native-runtime 0.6.5 → 0.7.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/index.cjs +771 -467
- package/dist/index.d.cts +610 -25
- package/dist/index.d.ts +610 -25
- package/dist/index.js +751 -469
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as _vue_runtime_core from '@vue/runtime-core';
|
|
2
|
-
import { PropType, VNode, Ref, Component, Directive, ComputedRef, App } from '@vue/runtime-core';
|
|
2
|
+
import { PropType, VNode, Ref, defineAsyncComponent as defineAsyncComponent$1, Component, Directive, ComputedRef, App } from '@vue/runtime-core';
|
|
3
3
|
export * from '@vue/runtime-core';
|
|
4
|
+
export { AsyncComponentOptions } from '@vue/runtime-core';
|
|
4
5
|
import * as _vue_reactivity from '@vue/reactivity';
|
|
5
6
|
|
|
6
7
|
interface NativeNode {
|
|
@@ -257,6 +258,8 @@ interface VTextProps extends AccessibilityProps {
|
|
|
257
258
|
selectable?: boolean;
|
|
258
259
|
}
|
|
259
260
|
interface VButtonProps extends AccessibilityProps {
|
|
261
|
+
title?: string;
|
|
262
|
+
titleStyle?: TextStyle;
|
|
260
263
|
style?: ViewStyle;
|
|
261
264
|
disabled?: boolean;
|
|
262
265
|
activeOpacity?: number;
|
|
@@ -444,9 +447,11 @@ interface VVideoProps extends AccessibilityProps {
|
|
|
444
447
|
loop?: boolean;
|
|
445
448
|
muted?: boolean;
|
|
446
449
|
paused?: boolean;
|
|
450
|
+
/** Reserved for native transport controls; currently has no effect. */
|
|
447
451
|
controls?: boolean;
|
|
448
452
|
volume?: number;
|
|
449
453
|
resizeMode?: 'cover' | 'contain' | 'stretch' | 'center';
|
|
454
|
+
/** Reserved for native poster rendering; currently has no effect. */
|
|
450
455
|
poster?: string;
|
|
451
456
|
style?: ViewStyle;
|
|
452
457
|
testID?: string;
|
|
@@ -481,23 +486,63 @@ interface VFlatListProps<T = unknown, TRendered = unknown> {
|
|
|
481
486
|
}
|
|
482
487
|
interface VTabBarProps {
|
|
483
488
|
tabs: Array<{
|
|
484
|
-
id: string;
|
|
485
489
|
label: string;
|
|
486
490
|
icon?: string;
|
|
487
491
|
badge?: number | string;
|
|
488
|
-
}
|
|
489
|
-
|
|
492
|
+
} & ({
|
|
493
|
+
id: string;
|
|
494
|
+
name?: string;
|
|
495
|
+
} | {
|
|
496
|
+
id?: string;
|
|
497
|
+
name: string;
|
|
498
|
+
})>;
|
|
499
|
+
activeTab?: string;
|
|
500
|
+
modelValue?: string;
|
|
490
501
|
position?: 'top' | 'bottom';
|
|
502
|
+
activeColor?: string;
|
|
503
|
+
inactiveColor?: string;
|
|
504
|
+
backgroundColor?: string;
|
|
505
|
+
}
|
|
506
|
+
interface VToolbarProps {
|
|
507
|
+
items: Array<{
|
|
508
|
+
id: string;
|
|
509
|
+
label: string;
|
|
510
|
+
icon?: string;
|
|
511
|
+
}>;
|
|
512
|
+
displayMode?: 'iconOnly' | 'labelOnly' | 'iconAndLabel';
|
|
513
|
+
showsBaselineSeparator?: boolean;
|
|
514
|
+
style?: ViewStyle;
|
|
515
|
+
}
|
|
516
|
+
interface VSplitViewProps {
|
|
517
|
+
direction?: 'horizontal' | 'vertical';
|
|
518
|
+
dividerStyle?: 'thin' | 'thick' | 'paneSplitter';
|
|
519
|
+
dividerColor?: string;
|
|
520
|
+
dividerPosition?: number;
|
|
521
|
+
style?: ViewStyle;
|
|
522
|
+
}
|
|
523
|
+
interface VOutlineNode {
|
|
524
|
+
id: string;
|
|
525
|
+
label: string;
|
|
526
|
+
children?: VOutlineNode[];
|
|
527
|
+
}
|
|
528
|
+
interface VOutlineViewProps {
|
|
529
|
+
data: VOutlineNode[];
|
|
530
|
+
expandAll?: boolean;
|
|
531
|
+
selectionMode?: 'single' | 'multiple' | 'none';
|
|
532
|
+
style?: ViewStyle;
|
|
491
533
|
}
|
|
492
534
|
interface VDrawerProps {
|
|
493
535
|
open?: boolean;
|
|
494
536
|
position?: 'left' | 'right';
|
|
495
537
|
width?: number;
|
|
538
|
+
overlayColor?: string;
|
|
496
539
|
closeOnPress?: boolean;
|
|
540
|
+
closeOnPressOutside?: boolean;
|
|
497
541
|
}
|
|
498
542
|
interface VDrawerItemProps extends AccessibilityProps {
|
|
499
543
|
icon?: string;
|
|
500
544
|
label: string;
|
|
545
|
+
active?: boolean;
|
|
501
546
|
badge?: number | string | null;
|
|
502
547
|
disabled?: boolean;
|
|
503
548
|
}
|
|
@@ -599,6 +644,10 @@ declare const VText: _vue_runtime_core.DefineComponent<_vue_runtime_core.Extract
|
|
|
599
644
|
* ```
|
|
600
645
|
*/
|
|
601
646
|
declare const VButton: _vue_runtime_core.DefineComponent<_vue_runtime_core.ExtractPropTypes<{
|
|
647
|
+
/** Convenience label rendered as VText when no default slot is provided. */
|
|
648
|
+
title: StringConstructor;
|
|
649
|
+
/** Text styling for the title shorthand. */
|
|
650
|
+
titleStyle: PropType<TextStyle>;
|
|
602
651
|
style: PropType<ViewStyle>;
|
|
603
652
|
disabled: {
|
|
604
653
|
type: BooleanConstructor;
|
|
@@ -617,6 +666,10 @@ declare const VButton: _vue_runtime_core.DefineComponent<_vue_runtime_core.Extra
|
|
|
617
666
|
}>, () => _vue_runtime_core.VNode<_vue_runtime_core.RendererNode, _vue_runtime_core.RendererElement, {
|
|
618
667
|
[key: string]: any;
|
|
619
668
|
}>, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<_vue_runtime_core.ExtractPropTypes<{
|
|
669
|
+
/** Convenience label rendered as VText when no default slot is provided. */
|
|
670
|
+
title: StringConstructor;
|
|
671
|
+
/** Text styling for the title shorthand. */
|
|
672
|
+
titleStyle: PropType<TextStyle>;
|
|
620
673
|
style: PropType<ViewStyle>;
|
|
621
674
|
disabled: {
|
|
622
675
|
type: BooleanConstructor;
|
|
@@ -1801,7 +1854,7 @@ declare const VPressable: _vue_runtime_core.DefineComponent<_vue_runtime_core.Ex
|
|
|
1801
1854
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
1802
1855
|
|
|
1803
1856
|
/**
|
|
1804
|
-
* VSectionList — A sectioned list
|
|
1857
|
+
* VSectionList — A sectioned native list with grouped sections.
|
|
1805
1858
|
*
|
|
1806
1859
|
* Renders grouped data with section headers. Each section has a title and
|
|
1807
1860
|
* an array of data items rendered via the #item slot.
|
|
@@ -2109,7 +2162,7 @@ declare const VDropdown: _vue_runtime_core.DefineComponent<_vue_runtime_core.Ext
|
|
|
2109
2162
|
/**
|
|
2110
2163
|
* VVideo — the video playback component in Vue Native.
|
|
2111
2164
|
*
|
|
2112
|
-
* Maps to AVPlayer on
|
|
2165
|
+
* Maps to AVPlayer on Apple platforms and MediaPlayer on Android.
|
|
2113
2166
|
* Supports inline video playback with progress reporting.
|
|
2114
2167
|
*
|
|
2115
2168
|
* @example
|
|
@@ -2147,6 +2200,7 @@ declare const VVideo: _vue_runtime_core.DefineComponent<_vue_runtime_core.Extrac
|
|
|
2147
2200
|
type: BooleanConstructor;
|
|
2148
2201
|
default: boolean;
|
|
2149
2202
|
};
|
|
2203
|
+
/** Reserved for native transport controls; currently has no effect. */
|
|
2150
2204
|
controls: {
|
|
2151
2205
|
type: BooleanConstructor;
|
|
2152
2206
|
default: boolean;
|
|
@@ -2159,6 +2213,7 @@ declare const VVideo: _vue_runtime_core.DefineComponent<_vue_runtime_core.Extrac
|
|
|
2159
2213
|
type: () => "cover" | "contain" | "stretch" | "center";
|
|
2160
2214
|
default: string;
|
|
2161
2215
|
};
|
|
2216
|
+
/** Reserved for native poster rendering; currently has no effect. */
|
|
2162
2217
|
poster: StringConstructor;
|
|
2163
2218
|
style: PropType<ViewStyle>;
|
|
2164
2219
|
testID: StringConstructor;
|
|
@@ -2185,6 +2240,7 @@ declare const VVideo: _vue_runtime_core.DefineComponent<_vue_runtime_core.Extrac
|
|
|
2185
2240
|
type: BooleanConstructor;
|
|
2186
2241
|
default: boolean;
|
|
2187
2242
|
};
|
|
2243
|
+
/** Reserved for native transport controls; currently has no effect. */
|
|
2188
2244
|
controls: {
|
|
2189
2245
|
type: BooleanConstructor;
|
|
2190
2246
|
default: boolean;
|
|
@@ -2197,6 +2253,7 @@ declare const VVideo: _vue_runtime_core.DefineComponent<_vue_runtime_core.Extrac
|
|
|
2197
2253
|
type: () => "cover" | "contain" | "stretch" | "center";
|
|
2198
2254
|
default: string;
|
|
2199
2255
|
};
|
|
2256
|
+
/** Reserved for native poster rendering; currently has no effect. */
|
|
2200
2257
|
poster: StringConstructor;
|
|
2201
2258
|
style: PropType<ViewStyle>;
|
|
2202
2259
|
testID: StringConstructor;
|
|
@@ -2408,12 +2465,17 @@ declare const VFlatList: _vue_runtime_core.DefineComponent<_vue_runtime_core.Ext
|
|
|
2408
2465
|
endReachedThreshold: number;
|
|
2409
2466
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
2410
2467
|
|
|
2411
|
-
|
|
2412
|
-
id: string;
|
|
2468
|
+
type TabConfig = {
|
|
2413
2469
|
label: string;
|
|
2414
2470
|
icon?: string;
|
|
2415
2471
|
badge?: number | string;
|
|
2416
|
-
}
|
|
2472
|
+
} & ({
|
|
2473
|
+
id: string;
|
|
2474
|
+
name?: string;
|
|
2475
|
+
} | {
|
|
2476
|
+
id?: string;
|
|
2477
|
+
name: string;
|
|
2478
|
+
});
|
|
2417
2479
|
/**
|
|
2418
2480
|
* VTabBar - Tab bar navigation component
|
|
2419
2481
|
*
|
|
@@ -2435,16 +2497,33 @@ declare const VTabBar: _vue_runtime_core.DefineComponent<_vue_runtime_core.Extra
|
|
|
2435
2497
|
/** Currently active tab ID */
|
|
2436
2498
|
activeTab: {
|
|
2437
2499
|
type: StringConstructor;
|
|
2438
|
-
|
|
2500
|
+
default: undefined;
|
|
2501
|
+
};
|
|
2502
|
+
/** Currently active tab name/id for v-model */
|
|
2503
|
+
modelValue: {
|
|
2504
|
+
type: StringConstructor;
|
|
2505
|
+
default: undefined;
|
|
2439
2506
|
};
|
|
2440
2507
|
/** Position: 'top' | 'bottom' */
|
|
2441
2508
|
position: {
|
|
2442
2509
|
type: PropType<"top" | "bottom">;
|
|
2443
2510
|
default: string;
|
|
2444
2511
|
};
|
|
2512
|
+
activeColor: {
|
|
2513
|
+
type: StringConstructor;
|
|
2514
|
+
default: string;
|
|
2515
|
+
};
|
|
2516
|
+
inactiveColor: {
|
|
2517
|
+
type: StringConstructor;
|
|
2518
|
+
default: string;
|
|
2519
|
+
};
|
|
2520
|
+
backgroundColor: {
|
|
2521
|
+
type: StringConstructor;
|
|
2522
|
+
default: string;
|
|
2523
|
+
};
|
|
2445
2524
|
}>, () => _vue_runtime_core.VNode<_vue_runtime_core.RendererNode, _vue_runtime_core.RendererElement, {
|
|
2446
2525
|
[key: string]: any;
|
|
2447
|
-
}>, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, "change"[], "change", _vue_runtime_core.PublicProps, Readonly<_vue_runtime_core.ExtractPropTypes<{
|
|
2526
|
+
}>, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", _vue_runtime_core.PublicProps, Readonly<_vue_runtime_core.ExtractPropTypes<{
|
|
2448
2527
|
/** Array of tab configurations */
|
|
2449
2528
|
tabs: {
|
|
2450
2529
|
type: PropType<TabConfig[]>;
|
|
@@ -2453,17 +2532,159 @@ declare const VTabBar: _vue_runtime_core.DefineComponent<_vue_runtime_core.Extra
|
|
|
2453
2532
|
/** Currently active tab ID */
|
|
2454
2533
|
activeTab: {
|
|
2455
2534
|
type: StringConstructor;
|
|
2456
|
-
|
|
2535
|
+
default: undefined;
|
|
2536
|
+
};
|
|
2537
|
+
/** Currently active tab name/id for v-model */
|
|
2538
|
+
modelValue: {
|
|
2539
|
+
type: StringConstructor;
|
|
2540
|
+
default: undefined;
|
|
2457
2541
|
};
|
|
2458
2542
|
/** Position: 'top' | 'bottom' */
|
|
2459
2543
|
position: {
|
|
2460
2544
|
type: PropType<"top" | "bottom">;
|
|
2461
2545
|
default: string;
|
|
2462
2546
|
};
|
|
2547
|
+
activeColor: {
|
|
2548
|
+
type: StringConstructor;
|
|
2549
|
+
default: string;
|
|
2550
|
+
};
|
|
2551
|
+
inactiveColor: {
|
|
2552
|
+
type: StringConstructor;
|
|
2553
|
+
default: string;
|
|
2554
|
+
};
|
|
2555
|
+
backgroundColor: {
|
|
2556
|
+
type: StringConstructor;
|
|
2557
|
+
default: string;
|
|
2558
|
+
};
|
|
2463
2559
|
}>> & Readonly<{
|
|
2560
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2464
2561
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2465
2562
|
}>, {
|
|
2563
|
+
backgroundColor: string;
|
|
2564
|
+
modelValue: string;
|
|
2565
|
+
activeTab: string;
|
|
2466
2566
|
position: "top" | "bottom";
|
|
2567
|
+
activeColor: string;
|
|
2568
|
+
inactiveColor: string;
|
|
2569
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
2570
|
+
|
|
2571
|
+
interface ToolbarItem {
|
|
2572
|
+
id: string;
|
|
2573
|
+
label: string;
|
|
2574
|
+
icon?: string;
|
|
2575
|
+
}
|
|
2576
|
+
declare const VToolbar: _vue_runtime_core.DefineComponent<_vue_runtime_core.ExtractPropTypes<{
|
|
2577
|
+
items: {
|
|
2578
|
+
type: PropType<ToolbarItem[]>;
|
|
2579
|
+
required: true;
|
|
2580
|
+
};
|
|
2581
|
+
displayMode: {
|
|
2582
|
+
type: PropType<"iconOnly" | "labelOnly" | "iconAndLabel">;
|
|
2583
|
+
default: string;
|
|
2584
|
+
};
|
|
2585
|
+
showsBaselineSeparator: {
|
|
2586
|
+
type: BooleanConstructor;
|
|
2587
|
+
default: boolean;
|
|
2588
|
+
};
|
|
2589
|
+
style: PropType<ViewStyle>;
|
|
2590
|
+
}>, () => _vue_runtime_core.VNode<_vue_runtime_core.RendererNode, _vue_runtime_core.RendererElement, {
|
|
2591
|
+
[key: string]: any;
|
|
2592
|
+
}>, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, "itemClick"[], "itemClick", _vue_runtime_core.PublicProps, Readonly<_vue_runtime_core.ExtractPropTypes<{
|
|
2593
|
+
items: {
|
|
2594
|
+
type: PropType<ToolbarItem[]>;
|
|
2595
|
+
required: true;
|
|
2596
|
+
};
|
|
2597
|
+
displayMode: {
|
|
2598
|
+
type: PropType<"iconOnly" | "labelOnly" | "iconAndLabel">;
|
|
2599
|
+
default: string;
|
|
2600
|
+
};
|
|
2601
|
+
showsBaselineSeparator: {
|
|
2602
|
+
type: BooleanConstructor;
|
|
2603
|
+
default: boolean;
|
|
2604
|
+
};
|
|
2605
|
+
style: PropType<ViewStyle>;
|
|
2606
|
+
}>> & Readonly<{
|
|
2607
|
+
onItemClick?: ((...args: any[]) => any) | undefined;
|
|
2608
|
+
}>, {
|
|
2609
|
+
displayMode: "iconOnly" | "labelOnly" | "iconAndLabel";
|
|
2610
|
+
showsBaselineSeparator: boolean;
|
|
2611
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
2612
|
+
|
|
2613
|
+
declare const VSplitView: _vue_runtime_core.DefineComponent<_vue_runtime_core.ExtractPropTypes<{
|
|
2614
|
+
direction: {
|
|
2615
|
+
type: PropType<"horizontal" | "vertical">;
|
|
2616
|
+
default: string;
|
|
2617
|
+
};
|
|
2618
|
+
dividerStyle: {
|
|
2619
|
+
type: PropType<"thin" | "thick" | "paneSplitter">;
|
|
2620
|
+
default: string;
|
|
2621
|
+
};
|
|
2622
|
+
dividerColor: StringConstructor;
|
|
2623
|
+
dividerPosition: NumberConstructor;
|
|
2624
|
+
style: PropType<ViewStyle>;
|
|
2625
|
+
}>, () => _vue_runtime_core.VNode<_vue_runtime_core.RendererNode, _vue_runtime_core.RendererElement, {
|
|
2626
|
+
[key: string]: any;
|
|
2627
|
+
}>, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, "resize"[], "resize", _vue_runtime_core.PublicProps, Readonly<_vue_runtime_core.ExtractPropTypes<{
|
|
2628
|
+
direction: {
|
|
2629
|
+
type: PropType<"horizontal" | "vertical">;
|
|
2630
|
+
default: string;
|
|
2631
|
+
};
|
|
2632
|
+
dividerStyle: {
|
|
2633
|
+
type: PropType<"thin" | "thick" | "paneSplitter">;
|
|
2634
|
+
default: string;
|
|
2635
|
+
};
|
|
2636
|
+
dividerColor: StringConstructor;
|
|
2637
|
+
dividerPosition: NumberConstructor;
|
|
2638
|
+
style: PropType<ViewStyle>;
|
|
2639
|
+
}>> & Readonly<{
|
|
2640
|
+
onResize?: ((...args: any[]) => any) | undefined;
|
|
2641
|
+
}>, {
|
|
2642
|
+
direction: "horizontal" | "vertical";
|
|
2643
|
+
dividerStyle: "thin" | "thick" | "paneSplitter";
|
|
2644
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
2645
|
+
|
|
2646
|
+
interface OutlineNode {
|
|
2647
|
+
id: string;
|
|
2648
|
+
label: string;
|
|
2649
|
+
children?: OutlineNode[];
|
|
2650
|
+
}
|
|
2651
|
+
declare const VOutlineView: _vue_runtime_core.DefineComponent<_vue_runtime_core.ExtractPropTypes<{
|
|
2652
|
+
data: {
|
|
2653
|
+
type: PropType<OutlineNode[]>;
|
|
2654
|
+
required: true;
|
|
2655
|
+
};
|
|
2656
|
+
expandAll: {
|
|
2657
|
+
type: BooleanConstructor;
|
|
2658
|
+
default: boolean;
|
|
2659
|
+
};
|
|
2660
|
+
selectionMode: {
|
|
2661
|
+
type: PropType<"single" | "multiple" | "none">;
|
|
2662
|
+
default: string;
|
|
2663
|
+
};
|
|
2664
|
+
style: PropType<ViewStyle>;
|
|
2665
|
+
}>, () => _vue_runtime_core.VNode<_vue_runtime_core.RendererNode, _vue_runtime_core.RendererElement, {
|
|
2666
|
+
[key: string]: any;
|
|
2667
|
+
}>, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, ("select" | "expand" | "collapse")[], "select" | "expand" | "collapse", _vue_runtime_core.PublicProps, Readonly<_vue_runtime_core.ExtractPropTypes<{
|
|
2668
|
+
data: {
|
|
2669
|
+
type: PropType<OutlineNode[]>;
|
|
2670
|
+
required: true;
|
|
2671
|
+
};
|
|
2672
|
+
expandAll: {
|
|
2673
|
+
type: BooleanConstructor;
|
|
2674
|
+
default: boolean;
|
|
2675
|
+
};
|
|
2676
|
+
selectionMode: {
|
|
2677
|
+
type: PropType<"single" | "multiple" | "none">;
|
|
2678
|
+
default: string;
|
|
2679
|
+
};
|
|
2680
|
+
style: PropType<ViewStyle>;
|
|
2681
|
+
}>> & Readonly<{
|
|
2682
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
2683
|
+
onExpand?: ((...args: any[]) => any) | undefined;
|
|
2684
|
+
onCollapse?: ((...args: any[]) => any) | undefined;
|
|
2685
|
+
}>, {
|
|
2686
|
+
expandAll: boolean;
|
|
2687
|
+
selectionMode: "none" | "single" | "multiple";
|
|
2467
2688
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
2468
2689
|
|
|
2469
2690
|
/**
|
|
@@ -2499,14 +2720,24 @@ declare const VDrawer: _vue_runtime_core.DefineComponent<_vue_runtime_core.Extra
|
|
|
2499
2720
|
type: NumberConstructor;
|
|
2500
2721
|
default: number;
|
|
2501
2722
|
};
|
|
2723
|
+
/** Backdrop color shown behind the drawer */
|
|
2724
|
+
overlayColor: {
|
|
2725
|
+
type: StringConstructor;
|
|
2726
|
+
default: string;
|
|
2727
|
+
};
|
|
2502
2728
|
/** Close on item press */
|
|
2503
2729
|
closeOnPress: {
|
|
2504
2730
|
type: BooleanConstructor;
|
|
2505
2731
|
default: boolean;
|
|
2506
2732
|
};
|
|
2733
|
+
/** Close when the backdrop is pressed */
|
|
2734
|
+
closeOnPressOutside: {
|
|
2735
|
+
type: BooleanConstructor;
|
|
2736
|
+
default: boolean;
|
|
2737
|
+
};
|
|
2507
2738
|
}>, () => (VNode<_vue_runtime_core.RendererNode, _vue_runtime_core.RendererElement, {
|
|
2508
2739
|
[key: string]: any;
|
|
2509
|
-
}> | null)[] | null, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, ("update:open" | "close")[], "update:open" | "close", _vue_runtime_core.PublicProps, Readonly<_vue_runtime_core.ExtractPropTypes<{
|
|
2740
|
+
}> | null)[] | null, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, ("update:open" | "open" | "close")[], "update:open" | "open" | "close", _vue_runtime_core.PublicProps, Readonly<_vue_runtime_core.ExtractPropTypes<{
|
|
2510
2741
|
/** Whether the drawer is open */
|
|
2511
2742
|
open: {
|
|
2512
2743
|
type: BooleanConstructor;
|
|
@@ -2522,19 +2753,32 @@ declare const VDrawer: _vue_runtime_core.DefineComponent<_vue_runtime_core.Extra
|
|
|
2522
2753
|
type: NumberConstructor;
|
|
2523
2754
|
default: number;
|
|
2524
2755
|
};
|
|
2756
|
+
/** Backdrop color shown behind the drawer */
|
|
2757
|
+
overlayColor: {
|
|
2758
|
+
type: StringConstructor;
|
|
2759
|
+
default: string;
|
|
2760
|
+
};
|
|
2525
2761
|
/** Close on item press */
|
|
2526
2762
|
closeOnPress: {
|
|
2527
2763
|
type: BooleanConstructor;
|
|
2528
2764
|
default: boolean;
|
|
2529
2765
|
};
|
|
2766
|
+
/** Close when the backdrop is pressed */
|
|
2767
|
+
closeOnPressOutside: {
|
|
2768
|
+
type: BooleanConstructor;
|
|
2769
|
+
default: boolean;
|
|
2770
|
+
};
|
|
2530
2771
|
}>> & Readonly<{
|
|
2531
2772
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
2773
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
2532
2774
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
2533
2775
|
}>, {
|
|
2534
2776
|
position: "left" | "right";
|
|
2535
2777
|
open: boolean;
|
|
2536
2778
|
width: number;
|
|
2779
|
+
overlayColor: string;
|
|
2537
2780
|
closeOnPress: boolean;
|
|
2781
|
+
closeOnPressOutside: boolean;
|
|
2538
2782
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
2539
2783
|
/**
|
|
2540
2784
|
* VDrawer.Item - Drawer menu item component
|
|
@@ -2550,6 +2794,11 @@ declare const VDrawerItem: _vue_runtime_core.DefineComponent<_vue_runtime_core.E
|
|
|
2550
2794
|
type: StringConstructor;
|
|
2551
2795
|
required: true;
|
|
2552
2796
|
};
|
|
2797
|
+
/** Whether this item represents the current destination */
|
|
2798
|
+
active: {
|
|
2799
|
+
type: BooleanConstructor;
|
|
2800
|
+
default: boolean;
|
|
2801
|
+
};
|
|
2553
2802
|
/** Badge count */
|
|
2554
2803
|
badge: {
|
|
2555
2804
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -2573,6 +2822,11 @@ declare const VDrawerItem: _vue_runtime_core.DefineComponent<_vue_runtime_core.E
|
|
|
2573
2822
|
type: StringConstructor;
|
|
2574
2823
|
required: true;
|
|
2575
2824
|
};
|
|
2825
|
+
/** Whether this item represents the current destination */
|
|
2826
|
+
active: {
|
|
2827
|
+
type: BooleanConstructor;
|
|
2828
|
+
default: boolean;
|
|
2829
|
+
};
|
|
2576
2830
|
/** Badge count */
|
|
2577
2831
|
badge: {
|
|
2578
2832
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -2587,6 +2841,7 @@ declare const VDrawerItem: _vue_runtime_core.DefineComponent<_vue_runtime_core.E
|
|
|
2587
2841
|
onPress?: ((...args: any[]) => any) | undefined;
|
|
2588
2842
|
}>, {
|
|
2589
2843
|
icon: string;
|
|
2844
|
+
active: boolean;
|
|
2590
2845
|
badge: string | number;
|
|
2591
2846
|
disabled: boolean;
|
|
2592
2847
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
@@ -2717,6 +2972,328 @@ declare function useAnimation(): {
|
|
|
2717
2972
|
};
|
|
2718
2973
|
};
|
|
2719
2974
|
|
|
2975
|
+
type TransitionMode = 'in-out' | 'out-in' | 'default';
|
|
2976
|
+
interface TransitionProps {
|
|
2977
|
+
show?: boolean;
|
|
2978
|
+
name?: string;
|
|
2979
|
+
appear?: boolean;
|
|
2980
|
+
persist?: boolean;
|
|
2981
|
+
mode?: TransitionMode;
|
|
2982
|
+
css?: boolean;
|
|
2983
|
+
type?: 'transition' | 'animation';
|
|
2984
|
+
enterClass?: string;
|
|
2985
|
+
leaveClass?: string;
|
|
2986
|
+
enterActiveClass?: string;
|
|
2987
|
+
leaveActiveClass?: string;
|
|
2988
|
+
enterToClass?: string;
|
|
2989
|
+
leaveToClass?: string;
|
|
2990
|
+
enterFromClass?: string;
|
|
2991
|
+
leaveFromClass?: string;
|
|
2992
|
+
appearClass?: string;
|
|
2993
|
+
appearActiveClass?: string;
|
|
2994
|
+
appearToClass?: string;
|
|
2995
|
+
duration?: number | {
|
|
2996
|
+
enter: number;
|
|
2997
|
+
leave: number;
|
|
2998
|
+
appear?: number;
|
|
2999
|
+
};
|
|
3000
|
+
enterFrom?: Record<string, unknown>;
|
|
3001
|
+
enterTo?: Record<string, unknown>;
|
|
3002
|
+
leaveFrom?: Record<string, unknown>;
|
|
3003
|
+
leaveTo?: Record<string, unknown>;
|
|
3004
|
+
easing?: EasingType;
|
|
3005
|
+
}
|
|
3006
|
+
declare const VTransition: _vue_runtime_core.DefineComponent<_vue_runtime_core.ExtractPropTypes<{
|
|
3007
|
+
show: {
|
|
3008
|
+
type: BooleanConstructor;
|
|
3009
|
+
default: boolean;
|
|
3010
|
+
};
|
|
3011
|
+
name: {
|
|
3012
|
+
type: StringConstructor;
|
|
3013
|
+
default: string;
|
|
3014
|
+
};
|
|
3015
|
+
appear: {
|
|
3016
|
+
type: BooleanConstructor;
|
|
3017
|
+
default: boolean;
|
|
3018
|
+
};
|
|
3019
|
+
persist: {
|
|
3020
|
+
type: BooleanConstructor;
|
|
3021
|
+
default: boolean;
|
|
3022
|
+
};
|
|
3023
|
+
mode: {
|
|
3024
|
+
type: PropType<TransitionMode>;
|
|
3025
|
+
default: string;
|
|
3026
|
+
};
|
|
3027
|
+
css: {
|
|
3028
|
+
type: BooleanConstructor;
|
|
3029
|
+
default: boolean;
|
|
3030
|
+
};
|
|
3031
|
+
type: {
|
|
3032
|
+
type: StringConstructor;
|
|
3033
|
+
default: string;
|
|
3034
|
+
};
|
|
3035
|
+
enterClass: {
|
|
3036
|
+
type: StringConstructor;
|
|
3037
|
+
default: string;
|
|
3038
|
+
};
|
|
3039
|
+
leaveClass: {
|
|
3040
|
+
type: StringConstructor;
|
|
3041
|
+
default: string;
|
|
3042
|
+
};
|
|
3043
|
+
enterActiveClass: {
|
|
3044
|
+
type: StringConstructor;
|
|
3045
|
+
default: string;
|
|
3046
|
+
};
|
|
3047
|
+
leaveActiveClass: {
|
|
3048
|
+
type: StringConstructor;
|
|
3049
|
+
default: string;
|
|
3050
|
+
};
|
|
3051
|
+
enterToClass: {
|
|
3052
|
+
type: StringConstructor;
|
|
3053
|
+
default: string;
|
|
3054
|
+
};
|
|
3055
|
+
leaveToClass: {
|
|
3056
|
+
type: StringConstructor;
|
|
3057
|
+
default: string;
|
|
3058
|
+
};
|
|
3059
|
+
enterFromClass: {
|
|
3060
|
+
type: StringConstructor;
|
|
3061
|
+
default: string;
|
|
3062
|
+
};
|
|
3063
|
+
leaveFromClass: {
|
|
3064
|
+
type: StringConstructor;
|
|
3065
|
+
default: string;
|
|
3066
|
+
};
|
|
3067
|
+
appearClass: {
|
|
3068
|
+
type: StringConstructor;
|
|
3069
|
+
default: string;
|
|
3070
|
+
};
|
|
3071
|
+
appearActiveClass: {
|
|
3072
|
+
type: StringConstructor;
|
|
3073
|
+
default: string;
|
|
3074
|
+
};
|
|
3075
|
+
appearToClass: {
|
|
3076
|
+
type: StringConstructor;
|
|
3077
|
+
default: string;
|
|
3078
|
+
};
|
|
3079
|
+
duration: PropType<number | {
|
|
3080
|
+
enter: number;
|
|
3081
|
+
leave: number;
|
|
3082
|
+
appear?: number;
|
|
3083
|
+
}>;
|
|
3084
|
+
enterFrom: PropType<Record<string, unknown>>;
|
|
3085
|
+
enterTo: PropType<Record<string, unknown>>;
|
|
3086
|
+
leaveFrom: PropType<Record<string, unknown>>;
|
|
3087
|
+
leaveTo: PropType<Record<string, unknown>>;
|
|
3088
|
+
easing: {
|
|
3089
|
+
type: PropType<EasingType>;
|
|
3090
|
+
default: string;
|
|
3091
|
+
};
|
|
3092
|
+
}>, () => VNode<_vue_runtime_core.RendererNode, _vue_runtime_core.RendererElement, {
|
|
3093
|
+
[key: string]: any;
|
|
3094
|
+
}>, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<_vue_runtime_core.ExtractPropTypes<{
|
|
3095
|
+
show: {
|
|
3096
|
+
type: BooleanConstructor;
|
|
3097
|
+
default: boolean;
|
|
3098
|
+
};
|
|
3099
|
+
name: {
|
|
3100
|
+
type: StringConstructor;
|
|
3101
|
+
default: string;
|
|
3102
|
+
};
|
|
3103
|
+
appear: {
|
|
3104
|
+
type: BooleanConstructor;
|
|
3105
|
+
default: boolean;
|
|
3106
|
+
};
|
|
3107
|
+
persist: {
|
|
3108
|
+
type: BooleanConstructor;
|
|
3109
|
+
default: boolean;
|
|
3110
|
+
};
|
|
3111
|
+
mode: {
|
|
3112
|
+
type: PropType<TransitionMode>;
|
|
3113
|
+
default: string;
|
|
3114
|
+
};
|
|
3115
|
+
css: {
|
|
3116
|
+
type: BooleanConstructor;
|
|
3117
|
+
default: boolean;
|
|
3118
|
+
};
|
|
3119
|
+
type: {
|
|
3120
|
+
type: StringConstructor;
|
|
3121
|
+
default: string;
|
|
3122
|
+
};
|
|
3123
|
+
enterClass: {
|
|
3124
|
+
type: StringConstructor;
|
|
3125
|
+
default: string;
|
|
3126
|
+
};
|
|
3127
|
+
leaveClass: {
|
|
3128
|
+
type: StringConstructor;
|
|
3129
|
+
default: string;
|
|
3130
|
+
};
|
|
3131
|
+
enterActiveClass: {
|
|
3132
|
+
type: StringConstructor;
|
|
3133
|
+
default: string;
|
|
3134
|
+
};
|
|
3135
|
+
leaveActiveClass: {
|
|
3136
|
+
type: StringConstructor;
|
|
3137
|
+
default: string;
|
|
3138
|
+
};
|
|
3139
|
+
enterToClass: {
|
|
3140
|
+
type: StringConstructor;
|
|
3141
|
+
default: string;
|
|
3142
|
+
};
|
|
3143
|
+
leaveToClass: {
|
|
3144
|
+
type: StringConstructor;
|
|
3145
|
+
default: string;
|
|
3146
|
+
};
|
|
3147
|
+
enterFromClass: {
|
|
3148
|
+
type: StringConstructor;
|
|
3149
|
+
default: string;
|
|
3150
|
+
};
|
|
3151
|
+
leaveFromClass: {
|
|
3152
|
+
type: StringConstructor;
|
|
3153
|
+
default: string;
|
|
3154
|
+
};
|
|
3155
|
+
appearClass: {
|
|
3156
|
+
type: StringConstructor;
|
|
3157
|
+
default: string;
|
|
3158
|
+
};
|
|
3159
|
+
appearActiveClass: {
|
|
3160
|
+
type: StringConstructor;
|
|
3161
|
+
default: string;
|
|
3162
|
+
};
|
|
3163
|
+
appearToClass: {
|
|
3164
|
+
type: StringConstructor;
|
|
3165
|
+
default: string;
|
|
3166
|
+
};
|
|
3167
|
+
duration: PropType<number | {
|
|
3168
|
+
enter: number;
|
|
3169
|
+
leave: number;
|
|
3170
|
+
appear?: number;
|
|
3171
|
+
}>;
|
|
3172
|
+
enterFrom: PropType<Record<string, unknown>>;
|
|
3173
|
+
enterTo: PropType<Record<string, unknown>>;
|
|
3174
|
+
leaveFrom: PropType<Record<string, unknown>>;
|
|
3175
|
+
leaveTo: PropType<Record<string, unknown>>;
|
|
3176
|
+
easing: {
|
|
3177
|
+
type: PropType<EasingType>;
|
|
3178
|
+
default: string;
|
|
3179
|
+
};
|
|
3180
|
+
}>> & Readonly<{}>, {
|
|
3181
|
+
name: string;
|
|
3182
|
+
type: string;
|
|
3183
|
+
mode: TransitionMode;
|
|
3184
|
+
easing: EasingType;
|
|
3185
|
+
show: boolean;
|
|
3186
|
+
appear: boolean;
|
|
3187
|
+
persist: boolean;
|
|
3188
|
+
css: boolean;
|
|
3189
|
+
enterClass: string;
|
|
3190
|
+
leaveClass: string;
|
|
3191
|
+
enterActiveClass: string;
|
|
3192
|
+
leaveActiveClass: string;
|
|
3193
|
+
enterToClass: string;
|
|
3194
|
+
leaveToClass: string;
|
|
3195
|
+
enterFromClass: string;
|
|
3196
|
+
leaveFromClass: string;
|
|
3197
|
+
appearClass: string;
|
|
3198
|
+
appearActiveClass: string;
|
|
3199
|
+
appearToClass: string;
|
|
3200
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
3201
|
+
declare const VTransitionGroup: _vue_runtime_core.DefineComponent<_vue_runtime_core.ExtractPropTypes<{
|
|
3202
|
+
tag: {
|
|
3203
|
+
type: StringConstructor;
|
|
3204
|
+
default: undefined;
|
|
3205
|
+
};
|
|
3206
|
+
name: {
|
|
3207
|
+
type: StringConstructor;
|
|
3208
|
+
default: string;
|
|
3209
|
+
};
|
|
3210
|
+
appear: {
|
|
3211
|
+
type: BooleanConstructor;
|
|
3212
|
+
default: boolean;
|
|
3213
|
+
};
|
|
3214
|
+
persist: {
|
|
3215
|
+
type: BooleanConstructor;
|
|
3216
|
+
default: boolean;
|
|
3217
|
+
};
|
|
3218
|
+
moveClass: {
|
|
3219
|
+
type: StringConstructor;
|
|
3220
|
+
default: string;
|
|
3221
|
+
};
|
|
3222
|
+
duration: {
|
|
3223
|
+
type: NumberConstructor;
|
|
3224
|
+
default: undefined;
|
|
3225
|
+
};
|
|
3226
|
+
}>, () => VNode<_vue_runtime_core.RendererNode, _vue_runtime_core.RendererElement, {
|
|
3227
|
+
[key: string]: any;
|
|
3228
|
+
}>, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<_vue_runtime_core.ExtractPropTypes<{
|
|
3229
|
+
tag: {
|
|
3230
|
+
type: StringConstructor;
|
|
3231
|
+
default: undefined;
|
|
3232
|
+
};
|
|
3233
|
+
name: {
|
|
3234
|
+
type: StringConstructor;
|
|
3235
|
+
default: string;
|
|
3236
|
+
};
|
|
3237
|
+
appear: {
|
|
3238
|
+
type: BooleanConstructor;
|
|
3239
|
+
default: boolean;
|
|
3240
|
+
};
|
|
3241
|
+
persist: {
|
|
3242
|
+
type: BooleanConstructor;
|
|
3243
|
+
default: boolean;
|
|
3244
|
+
};
|
|
3245
|
+
moveClass: {
|
|
3246
|
+
type: StringConstructor;
|
|
3247
|
+
default: string;
|
|
3248
|
+
};
|
|
3249
|
+
duration: {
|
|
3250
|
+
type: NumberConstructor;
|
|
3251
|
+
default: undefined;
|
|
3252
|
+
};
|
|
3253
|
+
}>> & Readonly<{}>, {
|
|
3254
|
+
name: string;
|
|
3255
|
+
duration: number;
|
|
3256
|
+
appear: boolean;
|
|
3257
|
+
persist: boolean;
|
|
3258
|
+
tag: string;
|
|
3259
|
+
moveClass: string;
|
|
3260
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
3261
|
+
|
|
3262
|
+
/**
|
|
3263
|
+
* Vue's renderer-native KeepAlive implementation.
|
|
3264
|
+
*
|
|
3265
|
+
* Re-exporting runtime-core's component is important: it coordinates with the
|
|
3266
|
+
* custom renderer's activate/deactivate hooks and preserves component
|
|
3267
|
+
* instances, effects, and activated/deactivated lifecycle semantics.
|
|
3268
|
+
*/
|
|
3269
|
+
declare const KeepAlive: {
|
|
3270
|
+
new (): {
|
|
3271
|
+
$props: _vue_runtime_core.VNodeProps & _vue_runtime_core.KeepAliveProps;
|
|
3272
|
+
$slots: {
|
|
3273
|
+
default(): _vue_runtime_core.VNode[];
|
|
3274
|
+
};
|
|
3275
|
+
};
|
|
3276
|
+
__isKeepAlive: true;
|
|
3277
|
+
};
|
|
3278
|
+
|
|
3279
|
+
/** Vue runtime-core Suspense, named for Vue Native's component convention. */
|
|
3280
|
+
declare const VSuspense: {
|
|
3281
|
+
new (): {
|
|
3282
|
+
$props: _vue_runtime_core.VNodeProps & _vue_runtime_core.SuspenseProps;
|
|
3283
|
+
$slots: {
|
|
3284
|
+
default(): _vue_runtime_core.VNode[];
|
|
3285
|
+
fallback(): _vue_runtime_core.VNode[];
|
|
3286
|
+
};
|
|
3287
|
+
};
|
|
3288
|
+
__isSuspense: true;
|
|
3289
|
+
};
|
|
3290
|
+
/**
|
|
3291
|
+
* Vue's standard async-component helper. It accepts either a loader function
|
|
3292
|
+
* or an options object, unwraps dynamic-import defaults, supports delay and
|
|
3293
|
+
* timeout, and integrates with the renderer's Suspense boundary.
|
|
3294
|
+
*/
|
|
3295
|
+
declare const defineAsyncComponent: typeof defineAsyncComponent$1;
|
|
3296
|
+
|
|
2720
3297
|
/**
|
|
2721
3298
|
* Built-in Vue Native components.
|
|
2722
3299
|
*
|
|
@@ -3073,10 +3650,15 @@ interface NotificationPayload {
|
|
|
3073
3650
|
action?: string;
|
|
3074
3651
|
}
|
|
3075
3652
|
interface PushNotificationPayload {
|
|
3653
|
+
id?: string;
|
|
3076
3654
|
title: string;
|
|
3077
3655
|
body: string;
|
|
3078
3656
|
data: Record<string, unknown>;
|
|
3079
3657
|
remote: true;
|
|
3658
|
+
action?: string;
|
|
3659
|
+
}
|
|
3660
|
+
interface PushRegistrationError {
|
|
3661
|
+
message: string;
|
|
3080
3662
|
}
|
|
3081
3663
|
/**
|
|
3082
3664
|
* Local and push notification management.
|
|
@@ -3108,9 +3690,10 @@ declare function useNotifications(): {
|
|
|
3108
3690
|
getToken: () => Promise<string | null>;
|
|
3109
3691
|
onPushToken: (handler: (token: string) => void) => () => void;
|
|
3110
3692
|
onPushReceived: (handler: (payload: PushNotificationPayload) => void) => () => void;
|
|
3693
|
+
onPushError: (handler: (error: PushRegistrationError) => void) => () => void;
|
|
3111
3694
|
};
|
|
3112
3695
|
|
|
3113
|
-
type BiometryType = 'faceID' | 'touchID' | 'opticID' | 'none';
|
|
3696
|
+
type BiometryType = 'faceID' | 'touchID' | 'opticID' | 'biometric' | 'none';
|
|
3114
3697
|
interface BiometryResult {
|
|
3115
3698
|
success: boolean;
|
|
3116
3699
|
error?: string;
|
|
@@ -3120,7 +3703,7 @@ interface BiometryResult {
|
|
|
3120
3703
|
*
|
|
3121
3704
|
* @example
|
|
3122
3705
|
* const { authenticate, getSupportedBiometry } = useBiometry()
|
|
3123
|
-
* const type = await getSupportedBiometry() // 'faceID' | 'touchID' | 'none'
|
|
3706
|
+
* const type = await getSupportedBiometry() // 'faceID' | 'touchID' | 'biometric' | 'none'
|
|
3124
3707
|
* const result = await authenticate('Confirm your identity')
|
|
3125
3708
|
*/
|
|
3126
3709
|
declare function useBiometry(): {
|
|
@@ -3769,7 +4352,7 @@ interface UpdateInfo {
|
|
|
3769
4352
|
version: string;
|
|
3770
4353
|
/** URL to download the update bundle. */
|
|
3771
4354
|
downloadUrl: string;
|
|
3772
|
-
/** SHA-256
|
|
4355
|
+
/** Required 64-character hexadecimal SHA-256 digest of the bundle. */
|
|
3773
4356
|
hash: string;
|
|
3774
4357
|
/** Size of the update in bytes. */
|
|
3775
4358
|
size: number;
|
|
@@ -3788,8 +4371,10 @@ type UpdateStatus = 'idle' | 'checking' | 'downloading' | 'ready' | 'error';
|
|
|
3788
4371
|
/**
|
|
3789
4372
|
* Composable for managing Over-The-Air (OTA) JS bundle updates.
|
|
3790
4373
|
*
|
|
3791
|
-
* Downloads
|
|
3792
|
-
* and applies them on the next app launch.
|
|
4374
|
+
* Downloads versioned JS bundles from a server, verifies integrity via
|
|
4375
|
+
* SHA-256, and applies them on the next production app launch. SHA-256
|
|
4376
|
+
* protects integrity but does not authenticate the publisher like a
|
|
4377
|
+
* public-key signature would.
|
|
3793
4378
|
*
|
|
3794
4379
|
* @param serverUrl - URL of the update server endpoint
|
|
3795
4380
|
*
|
|
@@ -3811,7 +4396,7 @@ type UpdateStatus = 'idle' | 'checking' | 'downloading' | 'ready' | 'error';
|
|
|
3811
4396
|
*/
|
|
3812
4397
|
declare function useOTAUpdate(serverUrl: string): {
|
|
3813
4398
|
checkForUpdate: () => Promise<UpdateInfo>;
|
|
3814
|
-
downloadUpdate: (url?: string, hash?: string) => Promise<void>;
|
|
4399
|
+
downloadUpdate: (url?: string, hash?: string, version?: string) => Promise<void>;
|
|
3815
4400
|
applyUpdate: () => Promise<void>;
|
|
3816
4401
|
rollback: () => Promise<void>;
|
|
3817
4402
|
getCurrentVersion: () => Promise<VersionInfo>;
|
|
@@ -4427,11 +5012,11 @@ declare class NativeBridgeImpl {
|
|
|
4427
5012
|
*/
|
|
4428
5013
|
invokeNativeModule(moduleName: string, methodName: string, args?: unknown[], timeoutMs?: number): Promise<any>;
|
|
4429
5014
|
/**
|
|
4430
|
-
*
|
|
4431
|
-
*
|
|
4432
|
-
*
|
|
5015
|
+
* @deprecated Native module invocations cannot safely return a value through
|
|
5016
|
+
* the batched JSON bridge. This compatibility alias now uses the reliable
|
|
5017
|
+
* asynchronous callback path; migrate callers to invokeNativeModule().
|
|
4433
5018
|
*/
|
|
4434
|
-
invokeNativeModuleSync(moduleName: string, methodName: string, args?: unknown[]):
|
|
5019
|
+
invokeNativeModuleSync(moduleName: string, methodName: string, args?: unknown[]): Promise<any>;
|
|
4435
5020
|
/**
|
|
4436
5021
|
* Called from Swift via globalThis.__VN_resolveCallback when an async
|
|
4437
5022
|
* native module invocation completes.
|
|
@@ -4461,7 +5046,7 @@ declare class NativeBridgeImpl {
|
|
|
4461
5046
|
/**
|
|
4462
5047
|
* Called from Swift via globalThis.__VN_handleGlobalEvent when a push event fires.
|
|
4463
5048
|
*/
|
|
4464
|
-
handleGlobalEvent(eventName: string, payloadJSON: string):
|
|
5049
|
+
handleGlobalEvent(eventName: string, payloadJSON: string): boolean;
|
|
4465
5050
|
/**
|
|
4466
5051
|
* Reset all internal state. Used for testing.
|
|
4467
5052
|
*/
|
|
@@ -4517,4 +5102,4 @@ interface NativeApp extends App {
|
|
|
4517
5102
|
*/
|
|
4518
5103
|
declare function createApp(rootComponent: Component, rootProps?: Record<string, unknown>): NativeApp;
|
|
4519
5104
|
|
|
4520
|
-
export { type AccessibilityProps, type ActionSheetAction, type AlertButton, type AlignContent, type AlignItems, type AlignSelf, type AnyStyle, type AppStateStatus, type AudioPlayOptions, type AudioRecordOptions, type AudioRecordResult, type AuthResult, type BLECharacteristic, type BLECharacteristicChange, type BLEDevice, type BLEState, type BackgroundTaskOptions, type BackgroundTaskType, type BiometryResult, type BiometryType, type BorderStyle, type Calendar, type CalendarEvent, type CameraOptions, type CameraResult, type ColorScheme$1 as ColorScheme, type ComposedGesture, type ConnectionType, type Contact, type ContactField, type CreateContactData, type CreateEventOptions, type Dimensions, type Direction, type Display, type DropdownOption, ErrorBoundary, type ExecuteResult, type FileStat, type FlatListRenderItemInfo, type FlexDirection, type FlexWrap, type FontStyle, type FontWeight, type ForceTouchState, type GeoCoordinates, type GestureConfig, type GestureState, type HoverState, type HttpRequestConfig, type HttpResponse, type ImageStyle, type ImportantForAccessibility, type JustifyContent, type LocalNotification, type MenuItem, type MenuSection, type NativeApp, NativeBridge, type NativeNode, type NetworkState, type NotificationPayload, type OpenFileOptions, type Overflow, type PanGestureState, type PerformanceMetrics, type Permission, type PermissionStatus, type PinchGestureState, type Platform, type Position, type Product, type ProductType, type Purchase, type PushNotificationPayload, type QRCodeResult, type RadioOption, type ResizeMode, type RotateGestureState, type Row, type SaveFileOptions, type SensorData, type SensorOptions, type ShadowOffset, type ShareContent, type ShareResult, type SharedElementFrame, type SharedElementRegistration, type SocialUser, type SpringOptions, type StatusBarStyle, type StyleProp, type StyleSheet, type SwipeGestureState, type TabConfig, type TapGestureState, type TextAlign, type TextDecorationLine, type TextDecorationStyle, type TextStyle, type TextTransform, type ThemeContext, type ThemeDefinition, type TimingOptions, type TransactionContext, type TransactionState, type TransactionUpdate, type TransformValue, type UpdateInfo, type UpdateStatus, type UseGestureOptions, type UseGestureReturn, VActionSheet, type VActionSheetProps, VActivityIndicator, type VActivityIndicatorProps, VAlertDialog, type VAlertDialogProps, VButton, type VButtonProps, VCheckbox, type VCheckboxProps, VDrawer, VDrawerItem, type VDrawerItemProps, type VDrawerProps, VDrawerSection, type VDrawerSectionProps, VDropdown, type VDropdownProps, VFlatList, type VFlatListProps, VImage, type VImageProps, VInput, type VInputProps, VKeyboardAvoiding, type VKeyboardAvoidingProps, VList, type VListProps, VModal, type VModalProps, VPicker, type VPickerProps, VPressable, type VPressableProps, VProgressBar, type VProgressBarProps, VRadio, type VRadioProps, VRefreshControl, type VRefreshControlProps, VSafeArea, type VSafeAreaProps, VScrollView, type VScrollViewProps, VSectionList, type VSectionListProps, VSegmentedControl, type VSegmentedControlProps, VSlider, type VSliderProps, VStatusBar, type VStatusBarProps, VSwitch, type VSwitchProps, VTabBar, type VTabBarProps, VText, type VTextProps, VVideo, type VVideoProps, VView, type VViewProps, VWebView, type VWebViewProps, type VersionInfo, type VideoCaptureOptions, type VideoCaptureResult, type ViewStyle, type WebSocketOptions, type WebSocketStatus, type WebViewSource, type WindowInfo, builtInComponents, clearSharedElementRegistry, createApp, createCommentNode, createDynamicStyleSheet, createNativeNode, createStyleSheet, createTextNode, createTheme, getRegisteredSharedElements, getSharedElementViewId, measureViewFrame, render, resetNodeId, useAccelerometer, useAnimation, useAppState, useAppleSignIn, useAsyncStorage, useAudio, useBackHandler, useBackgroundTask, useBiometry, useBluetooth, useCalendar, useCamera, useClipboard, useColorScheme, useComposedGestures, useContacts, useDatabase, useDeviceInfo, useDimensions, useDragDrop, useFileDialog, useFileSystem, useGeolocation, useGesture, useGoogleSignIn, useGyroscope, useHaptics, useHttp, useI18n, useIAP, useKeyboard, useLinking, useMenu, useNetwork, useNotifications, useOTAUpdate, usePerformance, usePermissions, usePlatform, useSecureStorage, useShare, useSharedElementTransition, useTeleport, useWebSocket, useWindow, vModel, vShow, validStyleProperties };
|
|
5105
|
+
export { type AccessibilityProps, type ActionSheetAction, type AlertButton, type AlignContent, type AlignItems, type AlignSelf, type AnyStyle, type AppStateStatus, type AudioPlayOptions, type AudioRecordOptions, type AudioRecordResult, type AuthResult, type BLECharacteristic, type BLECharacteristicChange, type BLEDevice, type BLEState, type BackgroundTaskOptions, type BackgroundTaskType, type BiometryResult, type BiometryType, type BorderStyle, type Calendar, type CalendarEvent, type CameraOptions, type CameraResult, type ColorScheme$1 as ColorScheme, type ComposedGesture, type ConnectionType, type Contact, type ContactField, type CreateContactData, type CreateEventOptions, type Dimensions, type Direction, type Display, type DropdownOption, Easing, type EasingType, ErrorBoundary, type ExecuteResult, type FileStat, type FlatListRenderItemInfo, type FlexDirection, type FlexWrap, type FontStyle, type FontWeight, type ForceTouchState, type GeoCoordinates, type GestureCompositionOptions, type GestureConfig, type GestureHandler, type GestureState, type HoverState, type HttpRequestConfig, type HttpResponse, type ImageStyle, type ImportantForAccessibility, type JustifyContent, KeepAlive, type KeyframeStep, type LocalNotification, type MenuItem, type MenuSection, type NativeApp, NativeBridge, type NativeNode, type NetworkState, type NotificationPayload, type OpenFileOptions, type OutlineNode, type Overflow, type PanGestureState, type PerformanceMetrics, type Permission, type PermissionStatus, type PinchGestureState, type Platform, type Position, type Product, type ProductType, type Purchase, type PushNotificationPayload, type PushRegistrationError, type QRCodeResult, type RadioOption, type ResizeMode, type RotateGestureState, type Row, type SaveFileOptions, type SensorData, type SensorOptions, type SequenceAnimation, type ShadowOffset, type ShareContent, type ShareResult, type SharedElementFrame, type SharedElementRegistration, type SocialUser, type SpringConfig, type SpringOptions, type StatusBarStyle, type StyleProp, type StyleSheet, type SwipeGestureState, type TabConfig, type TapGestureState, type TextAlign, type TextDecorationLine, type TextDecorationStyle, type TextStyle, type TextTransform, type ThemeContext, type ThemeDefinition, type TimingConfig, type TimingOptions, type ToolbarItem, type TransactionContext, type TransactionState, type TransactionUpdate, type TransformValue, type TransitionMode, type TransitionProps, type UpdateInfo, type UpdateStatus, type UseGestureOptions, type UseGestureReturn, VActionSheet, type VActionSheetProps, VActivityIndicator, type VActivityIndicatorProps, VAlertDialog, type VAlertDialogProps, VButton, type VButtonProps, VCheckbox, type VCheckboxProps, VDrawer, VDrawerItem, type VDrawerItemProps, type VDrawerProps, VDrawerSection, type VDrawerSectionProps, VDropdown, type VDropdownProps, ErrorBoundary as VErrorBoundary, VFlatList, type VFlatListProps, VImage, type VImageProps, VInput, type VInputProps, VKeyboardAvoiding, type VKeyboardAvoidingProps, VList, type VListProps, VModal, type VModalProps, type VOutlineNode, VOutlineView, type VOutlineViewProps, VPicker, type VPickerProps, VPressable, type VPressableProps, VProgressBar, type VProgressBarProps, VRadio, type VRadioProps, VRefreshControl, type VRefreshControlProps, VSafeArea, type VSafeAreaProps, VScrollView, type VScrollViewProps, VSectionList, type VSectionListProps, VSegmentedControl, type VSegmentedControlProps, VSlider, type VSliderProps, VSplitView, type VSplitViewProps, VStatusBar, type VStatusBarProps, VSuspense, VSwitch, type VSwitchProps, VTabBar, type VTabBarProps, VText, type VTextProps, VToolbar, type VToolbarProps, VTransition, VTransitionGroup, VVideo, type VVideoProps, VView, type VViewProps, VWebView, type VWebViewProps, type VersionInfo, type VideoCaptureOptions, type VideoCaptureResult, type ViewStyle, type WebSocketOptions, type WebSocketStatus, type WebViewSource, type WindowInfo, builtInComponents, clearSharedElementRegistry, createApp, createCommentNode, createDynamicStyleSheet, createNativeNode, createStyleSheet, createTextNode, createTheme, defineAsyncComponent, getRegisteredSharedElements, getSharedElementViewId, measureViewFrame, render, resetNodeId, useAccelerometer, useAnimation, useAppState, useAppleSignIn, useAsyncStorage, useAudio, useBackHandler, useBackgroundTask, useBiometry, useBluetooth, useCalendar, useCamera, useClipboard, useColorScheme, useComposedGestures, useContacts, useDatabase, useDeviceInfo, useDimensions, useDragDrop, useFileDialog, useFileSystem, useGeolocation, useGesture, useGoogleSignIn, useGyroscope, useHaptics, useHttp, useI18n, useIAP, useKeyboard, useLinking, useMenu, useNetwork, useNotifications, useOTAUpdate, usePerformance, usePermissions, usePlatform, useSecureStorage, useShare, useSharedElementTransition, useTeleport, useWebSocket, useWindow, vModel, vShow, validStyleProperties };
|