@simonbackx/vue-app-navigation 2.0.0-alpha.9 → 2.1.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.
@@ -1,733 +0,0 @@
1
- import { PopOptions } from './PopOptions';
2
- import { ComponentWithProperties } from './ComponentWithProperties';
3
- import { PropType } from 'vue';
4
-
5
- declare const _default: import('vue').DefineComponent<{
6
- root: {
7
- required: true;
8
- type: PropType<ComponentWithProperties>;
9
- };
10
- }, unknown, unknown, {
11
- shouldAppear(): boolean;
12
- isFocused(): boolean;
13
- }, {
14
- onClick(event: MouseEvent): void;
15
- dismiss(options?: PopOptions): Promise<false | undefined>;
16
- onKey(event: KeyboardEvent): void;
17
- shouldNavigateAway(): Promise<boolean>;
18
- }, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {}, {}, {
19
- pop(options?: PopOptions): void;
20
- getPoppableParent(): import('vue').ComponentInternalInstance | null;
21
- }, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<{}, {}, {}, {
22
- modalStackComponent(): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
23
- root: {
24
- default: null;
25
- type: PropType<ComponentWithProperties | null>;
26
- };
27
- initialComponents: {
28
- default: null;
29
- type: PropType<ComponentWithProperties[] | null>;
30
- };
31
- initialPresents: {
32
- default: null;
33
- type: PropType<import('./PushOptions').PushOptions[] | null>;
34
- };
35
- }>>, unknown, unknown, {
36
- stackComponent(): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{}>> & {
37
- onPresent?: ((...args: any[]) => any) | undefined;
38
- onReturnToHistoryIndex?: ((...args: any[]) => any) | undefined;
39
- }, {}, {
40
- components: ComponentWithProperties[];
41
- }, {}, {
42
- getCustomProvide(index: number, key: number): {
43
- reactive_navigation_pop: () => void;
44
- reactive_navigation_can_pop: boolean;
45
- reactive_navigation_dismiss: () => void;
46
- reactive_navigation_can_dismiss: boolean;
47
- };
48
- show(component: ComponentWithProperties): void;
49
- getFocusedComponent(): {
50
- component: any;
51
- properties: Record<string, any>;
52
- provide: Record<string, any>;
53
- inheritedDisplayerProvide: Record<string, any>;
54
- inheritedParentProvide: Record<string, any>;
55
- key: number;
56
- type: string | null;
57
- vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
58
- [key: string]: any;
59
- }> | null;
60
- unmount: ((vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
61
- [key: string]: any;
62
- }>) => void) | null;
63
- keepAlive: boolean;
64
- isKeptAlive: boolean;
65
- modalDisplayStyle: import('./ComponentWithProperties').ModalDisplayStyle;
66
- animated: boolean;
67
- checkRoutes: boolean;
68
- isDismissing: boolean;
69
- historyIndex: number | null;
70
- setCheckRoutes: () => ComponentWithProperties;
71
- readonly combinedProvide: {
72
- [x: string]: any;
73
- };
74
- inheritFromDisplayer: (component: ComponentWithProperties) => void;
75
- inheritFromParent: (component: ComponentWithProperties) => void;
76
- clone: () => ComponentWithProperties;
77
- beforeMount: () => void;
78
- getHistoryIndex: () => number | null | undefined;
79
- deleteHistoryIndex: () => void;
80
- hasHistoryIndex: () => boolean;
81
- assignHistoryIndex: () => void;
82
- inheritHistoryIndex: (index: number) => void;
83
- ownsHistoryIndex: () => boolean;
84
- setUrl: (url: string, title?: string | undefined) => void;
85
- setTitle: (title: string) => void;
86
- returnToHistoryIndex: () => boolean;
87
- logHistoryOwners: () => void;
88
- componentInstance: () => import('vue').ComponentPublicInstance | null;
89
- shouldNavigateAway: () => Promise<boolean>;
90
- destroy: (vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
91
- [key: string]: any;
92
- }>) => void;
93
- setDisplayStyle: (style: import('./ComponentWithProperties').ModalDisplayStyle) => ComponentWithProperties;
94
- setAnimated: (animated: boolean) => ComponentWithProperties;
95
- } | null;
96
- removeAt(index: number, key: number): void;
97
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("present" | "returnToHistoryIndex")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
98
- onPresent?: ((...args: any[]) => any) | undefined;
99
- onReturnToHistoryIndex?: ((...args: any[]) => any) | undefined;
100
- }, {}, true, {}, {}, {
101
- P: {};
102
- B: {};
103
- D: {};
104
- C: {};
105
- M: {};
106
- Defaults: {};
107
- }, Readonly<import('vue').ExtractPropTypes<{}>> & {
108
- onPresent?: ((...args: any[]) => any) | undefined;
109
- onReturnToHistoryIndex?: ((...args: any[]) => any) | undefined;
110
- }, {}, {
111
- components: ComponentWithProperties[];
112
- }, {}, {
113
- getCustomProvide(index: number, key: number): {
114
- reactive_navigation_pop: () => void;
115
- reactive_navigation_can_pop: boolean;
116
- reactive_navigation_dismiss: () => void;
117
- reactive_navigation_can_dismiss: boolean;
118
- };
119
- show(component: ComponentWithProperties): void;
120
- getFocusedComponent(): {
121
- component: any;
122
- properties: Record<string, any>;
123
- provide: Record<string, any>;
124
- inheritedDisplayerProvide: Record<string, any>;
125
- inheritedParentProvide: Record<string, any>;
126
- key: number;
127
- type: string | null;
128
- vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
129
- [key: string]: any;
130
- }> | null;
131
- unmount: ((vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
132
- [key: string]: any;
133
- }>) => void) | null;
134
- keepAlive: boolean;
135
- isKeptAlive: boolean;
136
- modalDisplayStyle: import('./ComponentWithProperties').ModalDisplayStyle;
137
- animated: boolean;
138
- checkRoutes: boolean;
139
- isDismissing: boolean;
140
- historyIndex: number | null;
141
- setCheckRoutes: () => ComponentWithProperties;
142
- readonly combinedProvide: {
143
- [x: string]: any;
144
- };
145
- inheritFromDisplayer: (component: ComponentWithProperties) => void;
146
- inheritFromParent: (component: ComponentWithProperties) => void;
147
- clone: () => ComponentWithProperties;
148
- beforeMount: () => void;
149
- getHistoryIndex: () => number | null | undefined;
150
- deleteHistoryIndex: () => void;
151
- hasHistoryIndex: () => boolean;
152
- assignHistoryIndex: () => void;
153
- inheritHistoryIndex: (index: number) => void;
154
- ownsHistoryIndex: () => boolean;
155
- setUrl: (url: string, title?: string | undefined) => void;
156
- setTitle: (title: string) => void;
157
- returnToHistoryIndex: () => boolean;
158
- logHistoryOwners: () => void;
159
- componentInstance: () => import('vue').ComponentPublicInstance | null;
160
- shouldNavigateAway: () => Promise<boolean>;
161
- destroy: (vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
162
- [key: string]: any;
163
- }>) => void;
164
- setDisplayStyle: (style: import('./ComponentWithProperties').ModalDisplayStyle) => ComponentWithProperties;
165
- setAnimated: (animated: boolean) => ComponentWithProperties;
166
- } | null;
167
- removeAt(index: number, key: number): void;
168
- }, {}>;
169
- navigationController(): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
170
- root: {
171
- default: null;
172
- type: PropType<ComponentWithProperties | null>;
173
- };
174
- initialComponents: {
175
- default: null;
176
- type: PropType<ComponentWithProperties[] | null>;
177
- };
178
- animationType: {
179
- default: string;
180
- type: StringConstructor;
181
- };
182
- customProvide: {
183
- type: ObjectConstructor;
184
- default: null;
185
- };
186
- }>> & {
187
- onDidPush?: ((...args: any[]) => any) | undefined;
188
- onDidPop?: ((...args: any[]) => any) | undefined;
189
- onShowDetail?: ((...args: any[]) => any) | undefined;
190
- onPresent?: ((...args: any[]) => any) | undefined;
191
- }, unknown, {
192
- components: ComponentWithProperties[];
193
- mainComponent: ComponentWithProperties | null;
194
- transitionName: string;
195
- savedScrollPositions: number[];
196
- nextScrollPosition: number;
197
- previousScrollPosition: number;
198
- nextInternalScrollPosition: number;
199
- savedInternalScrollPositions: number[];
200
- }, {}, {
201
- freezeSize(): void;
202
- growSize(width: number, height: number): void;
203
- unfreezeSize(): void;
204
- getInternalScrollElement(element?: Element | null): HTMLElement | null;
205
- getScrollElement(element?: HTMLElement | null): HTMLElement;
206
- shouldAnimate(): any;
207
- returnToHistoryIndex(): boolean;
208
- push(options: import('./PushOptions').PushOptions): Promise<void>;
209
- shouldNavigateAway(): Promise<boolean>;
210
- popToRoot(options?: PopOptions): Promise<ComponentWithProperties[] | undefined>;
211
- getPoppableParent(): import('vue').ComponentInternalInstance | null;
212
- pop(options?: PopOptions): Promise<ComponentWithProperties[] | undefined>;
213
- beforeEnter(insertedElement: Element): void;
214
- beforeLeave(leavingElement: Element): void;
215
- beforeBeforeEnterAnimation(): void;
216
- finishedEnterAnimation(): void;
217
- enter(element: any, done: () => void): void;
218
- getScrollOuterHeight(scrollElement: HTMLElement): number;
219
- leave(element: any, done: () => void): void;
220
- afterLeave(element: any): void;
221
- afterEnter(element: any): void;
222
- enterCancelled(_element: any): void;
223
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("didPush" | "didPop" | "showDetail" | "present")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
224
- root: {
225
- default: null;
226
- type: PropType<ComponentWithProperties | null>;
227
- };
228
- initialComponents: {
229
- default: null;
230
- type: PropType<ComponentWithProperties[] | null>;
231
- };
232
- animationType: {
233
- default: string;
234
- type: StringConstructor;
235
- };
236
- customProvide: {
237
- type: ObjectConstructor;
238
- default: null;
239
- };
240
- }>> & {
241
- onDidPush?: ((...args: any[]) => any) | undefined;
242
- onDidPop?: ((...args: any[]) => any) | undefined;
243
- onShowDetail?: ((...args: any[]) => any) | undefined;
244
- onPresent?: ((...args: any[]) => any) | undefined;
245
- }, {
246
- root: ComponentWithProperties | null;
247
- customProvide: Record<string, any>;
248
- initialComponents: ComponentWithProperties[] | null;
249
- animationType: string;
250
- }, true, {}, {}, {
251
- P: {};
252
- B: {};
253
- D: {};
254
- C: {};
255
- M: {};
256
- Defaults: {};
257
- }, Readonly<import('vue').ExtractPropTypes<{
258
- root: {
259
- default: null;
260
- type: PropType<ComponentWithProperties | null>;
261
- };
262
- initialComponents: {
263
- default: null;
264
- type: PropType<ComponentWithProperties[] | null>;
265
- };
266
- animationType: {
267
- default: string;
268
- type: StringConstructor;
269
- };
270
- customProvide: {
271
- type: ObjectConstructor;
272
- default: null;
273
- };
274
- }>> & {
275
- onDidPush?: ((...args: any[]) => any) | undefined;
276
- onDidPop?: ((...args: any[]) => any) | undefined;
277
- onShowDetail?: ((...args: any[]) => any) | undefined;
278
- onPresent?: ((...args: any[]) => any) | undefined;
279
- }, {}, {
280
- components: ComponentWithProperties[];
281
- mainComponent: ComponentWithProperties | null;
282
- transitionName: string;
283
- savedScrollPositions: number[];
284
- nextScrollPosition: number;
285
- previousScrollPosition: number;
286
- nextInternalScrollPosition: number;
287
- savedInternalScrollPositions: number[];
288
- }, {}, {
289
- freezeSize(): void;
290
- growSize(width: number, height: number): void;
291
- unfreezeSize(): void;
292
- getInternalScrollElement(element?: Element | null): HTMLElement | null;
293
- getScrollElement(element?: HTMLElement | null): HTMLElement;
294
- shouldAnimate(): any;
295
- returnToHistoryIndex(): boolean;
296
- push(options: import('./PushOptions').PushOptions): Promise<void>;
297
- shouldNavigateAway(): Promise<boolean>;
298
- popToRoot(options?: PopOptions): Promise<ComponentWithProperties[] | undefined>;
299
- getPoppableParent(): import('vue').ComponentInternalInstance | null;
300
- pop(options?: PopOptions): Promise<ComponentWithProperties[] | undefined>;
301
- beforeEnter(insertedElement: Element): void;
302
- beforeLeave(leavingElement: Element): void;
303
- beforeBeforeEnterAnimation(): void;
304
- finishedEnterAnimation(): void;
305
- enter(element: any, done: () => void): void;
306
- getScrollOuterHeight(scrollElement: HTMLElement): number;
307
- leave(element: any, done: () => void): void;
308
- afterLeave(element: any): void;
309
- afterEnter(element: any): void;
310
- enterCancelled(_element: any): void;
311
- }, {
312
- root: ComponentWithProperties | null;
313
- customProvide: Record<string, any>;
314
- initialComponents: ComponentWithProperties[] | null;
315
- animationType: string;
316
- }>;
317
- modalStackComponent(): import('vue').CreateComponentPublicInstance<{
318
- readonly root: ComponentWithProperties | null;
319
- readonly initialComponents: ComponentWithProperties[] | null;
320
- readonly initialPresents: import('./PushOptions').PushOptions[] | null;
321
- }, unknown, unknown, any, {
322
- present(options: import('./PushOptions').PushOptions): void;
323
- returnToHistoryIndex(): boolean;
324
- replace(component: ComponentWithProperties, animated?: boolean): void;
325
- shouldNavigateAway(): Promise<boolean>;
326
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
327
- readonly root: ComponentWithProperties | null;
328
- readonly initialComponents: ComponentWithProperties[] | null;
329
- readonly initialPresents: import('./PushOptions').PushOptions[] | null;
330
- }, {
331
- root: ComponentWithProperties | null;
332
- initialComponents: ComponentWithProperties[] | null;
333
- initialPresents: import('./PushOptions').PushOptions[] | null;
334
- }, false, {}, {}, {
335
- P: {};
336
- B: {};
337
- D: {};
338
- C: {};
339
- M: {};
340
- Defaults: {};
341
- }, {
342
- readonly root: ComponentWithProperties | null;
343
- readonly initialComponents: ComponentWithProperties[] | null;
344
- readonly initialPresents: import('./PushOptions').PushOptions[] | null;
345
- }, {}, {}, any, {
346
- present(options: import('./PushOptions').PushOptions): void;
347
- returnToHistoryIndex(): boolean;
348
- replace(component: ComponentWithProperties, animated?: boolean): void;
349
- shouldNavigateAway(): Promise<boolean>;
350
- }, {
351
- root: ComponentWithProperties | null;
352
- initialComponents: ComponentWithProperties[] | null;
353
- initialPresents: import('./PushOptions').PushOptions[] | null;
354
- }>;
355
- }, {
356
- present(options: import('./PushOptions').PushOptions): void;
357
- returnToHistoryIndex(): boolean;
358
- replace(component: ComponentWithProperties, animated?: boolean): void;
359
- shouldNavigateAway(): Promise<boolean>;
360
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
361
- root: {
362
- default: null;
363
- type: PropType<ComponentWithProperties | null>;
364
- };
365
- initialComponents: {
366
- default: null;
367
- type: PropType<ComponentWithProperties[] | null>;
368
- };
369
- initialPresents: {
370
- default: null;
371
- type: PropType<import('./PushOptions').PushOptions[] | null>;
372
- };
373
- }>>, {
374
- root: ComponentWithProperties | null;
375
- initialComponents: ComponentWithProperties[] | null;
376
- initialPresents: import('./PushOptions').PushOptions[] | null;
377
- }, true, {}, {}, {
378
- P: {};
379
- B: {};
380
- D: {};
381
- C: {};
382
- M: {};
383
- Defaults: {};
384
- }, Readonly<import('vue').ExtractPropTypes<{
385
- root: {
386
- default: null;
387
- type: PropType<ComponentWithProperties | null>;
388
- };
389
- initialComponents: {
390
- default: null;
391
- type: PropType<ComponentWithProperties[] | null>;
392
- };
393
- initialPresents: {
394
- default: null;
395
- type: PropType<import('./PushOptions').PushOptions[] | null>;
396
- };
397
- }>>, {}, {}, {
398
- stackComponent(): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{}>> & {
399
- onPresent?: ((...args: any[]) => any) | undefined;
400
- onReturnToHistoryIndex?: ((...args: any[]) => any) | undefined;
401
- }, {}, {
402
- components: ComponentWithProperties[];
403
- }, {}, {
404
- getCustomProvide(index: number, key: number): {
405
- reactive_navigation_pop: () => void;
406
- reactive_navigation_can_pop: boolean;
407
- reactive_navigation_dismiss: () => void;
408
- reactive_navigation_can_dismiss: boolean;
409
- };
410
- show(component: ComponentWithProperties): void;
411
- getFocusedComponent(): {
412
- component: any;
413
- properties: Record<string, any>;
414
- provide: Record<string, any>;
415
- inheritedDisplayerProvide: Record<string, any>;
416
- inheritedParentProvide: Record<string, any>;
417
- key: number;
418
- type: string | null;
419
- vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
420
- [key: string]: any;
421
- }> | null;
422
- unmount: ((vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
423
- [key: string]: any;
424
- }>) => void) | null;
425
- keepAlive: boolean;
426
- isKeptAlive: boolean;
427
- modalDisplayStyle: import('./ComponentWithProperties').ModalDisplayStyle;
428
- animated: boolean;
429
- checkRoutes: boolean;
430
- isDismissing: boolean;
431
- historyIndex: number | null;
432
- setCheckRoutes: () => ComponentWithProperties;
433
- readonly combinedProvide: {
434
- [x: string]: any;
435
- };
436
- inheritFromDisplayer: (component: ComponentWithProperties) => void;
437
- inheritFromParent: (component: ComponentWithProperties) => void;
438
- clone: () => ComponentWithProperties;
439
- beforeMount: () => void;
440
- getHistoryIndex: () => number | null | undefined;
441
- deleteHistoryIndex: () => void;
442
- hasHistoryIndex: () => boolean;
443
- assignHistoryIndex: () => void;
444
- inheritHistoryIndex: (index: number) => void;
445
- ownsHistoryIndex: () => boolean;
446
- setUrl: (url: string, title?: string | undefined) => void;
447
- setTitle: (title: string) => void;
448
- returnToHistoryIndex: () => boolean;
449
- logHistoryOwners: () => void;
450
- componentInstance: () => import('vue').ComponentPublicInstance | null;
451
- shouldNavigateAway: () => Promise<boolean>;
452
- destroy: (vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
453
- [key: string]: any;
454
- }>) => void;
455
- setDisplayStyle: (style: import('./ComponentWithProperties').ModalDisplayStyle) => ComponentWithProperties;
456
- setAnimated: (animated: boolean) => ComponentWithProperties;
457
- } | null;
458
- removeAt(index: number, key: number): void;
459
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("present" | "returnToHistoryIndex")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
460
- onPresent?: ((...args: any[]) => any) | undefined;
461
- onReturnToHistoryIndex?: ((...args: any[]) => any) | undefined;
462
- }, {}, true, {}, {}, {
463
- P: {};
464
- B: {};
465
- D: {};
466
- C: {};
467
- M: {};
468
- Defaults: {};
469
- }, Readonly<import('vue').ExtractPropTypes<{}>> & {
470
- onPresent?: ((...args: any[]) => any) | undefined;
471
- onReturnToHistoryIndex?: ((...args: any[]) => any) | undefined;
472
- }, {}, {
473
- components: ComponentWithProperties[];
474
- }, {}, {
475
- getCustomProvide(index: number, key: number): {
476
- reactive_navigation_pop: () => void;
477
- reactive_navigation_can_pop: boolean;
478
- reactive_navigation_dismiss: () => void;
479
- reactive_navigation_can_dismiss: boolean;
480
- };
481
- show(component: ComponentWithProperties): void;
482
- getFocusedComponent(): {
483
- component: any;
484
- properties: Record<string, any>;
485
- provide: Record<string, any>;
486
- inheritedDisplayerProvide: Record<string, any>;
487
- inheritedParentProvide: Record<string, any>;
488
- key: number;
489
- type: string | null;
490
- vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
491
- [key: string]: any;
492
- }> | null;
493
- unmount: ((vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
494
- [key: string]: any;
495
- }>) => void) | null;
496
- keepAlive: boolean;
497
- isKeptAlive: boolean;
498
- modalDisplayStyle: import('./ComponentWithProperties').ModalDisplayStyle;
499
- animated: boolean;
500
- checkRoutes: boolean;
501
- isDismissing: boolean;
502
- historyIndex: number | null;
503
- setCheckRoutes: () => ComponentWithProperties;
504
- readonly combinedProvide: {
505
- [x: string]: any;
506
- };
507
- inheritFromDisplayer: (component: ComponentWithProperties) => void;
508
- inheritFromParent: (component: ComponentWithProperties) => void;
509
- clone: () => ComponentWithProperties;
510
- beforeMount: () => void;
511
- getHistoryIndex: () => number | null | undefined;
512
- deleteHistoryIndex: () => void;
513
- hasHistoryIndex: () => boolean;
514
- assignHistoryIndex: () => void;
515
- inheritHistoryIndex: (index: number) => void;
516
- ownsHistoryIndex: () => boolean;
517
- setUrl: (url: string, title?: string | undefined) => void;
518
- setTitle: (title: string) => void;
519
- returnToHistoryIndex: () => boolean;
520
- logHistoryOwners: () => void;
521
- componentInstance: () => import('vue').ComponentPublicInstance | null;
522
- shouldNavigateAway: () => Promise<boolean>;
523
- destroy: (vnode: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
524
- [key: string]: any;
525
- }>) => void;
526
- setDisplayStyle: (style: import('./ComponentWithProperties').ModalDisplayStyle) => ComponentWithProperties;
527
- setAnimated: (animated: boolean) => ComponentWithProperties;
528
- } | null;
529
- removeAt(index: number, key: number): void;
530
- }, {}>;
531
- navigationController(): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
532
- root: {
533
- default: null;
534
- type: PropType<ComponentWithProperties | null>;
535
- };
536
- initialComponents: {
537
- default: null;
538
- type: PropType<ComponentWithProperties[] | null>;
539
- };
540
- animationType: {
541
- default: string;
542
- type: StringConstructor;
543
- };
544
- customProvide: {
545
- type: ObjectConstructor;
546
- default: null;
547
- };
548
- }>> & {
549
- onDidPush?: ((...args: any[]) => any) | undefined;
550
- onDidPop?: ((...args: any[]) => any) | undefined;
551
- onShowDetail?: ((...args: any[]) => any) | undefined;
552
- onPresent?: ((...args: any[]) => any) | undefined;
553
- }, unknown, {
554
- components: ComponentWithProperties[];
555
- mainComponent: ComponentWithProperties | null;
556
- transitionName: string;
557
- savedScrollPositions: number[];
558
- nextScrollPosition: number;
559
- previousScrollPosition: number;
560
- nextInternalScrollPosition: number;
561
- savedInternalScrollPositions: number[];
562
- }, {}, {
563
- freezeSize(): void;
564
- growSize(width: number, height: number): void;
565
- unfreezeSize(): void;
566
- getInternalScrollElement(element?: Element | null): HTMLElement | null;
567
- getScrollElement(element?: HTMLElement | null): HTMLElement;
568
- shouldAnimate(): any;
569
- returnToHistoryIndex(): boolean;
570
- push(options: import('./PushOptions').PushOptions): Promise<void>;
571
- shouldNavigateAway(): Promise<boolean>;
572
- popToRoot(options?: PopOptions): Promise<ComponentWithProperties[] | undefined>;
573
- getPoppableParent(): import('vue').ComponentInternalInstance | null;
574
- pop(options?: PopOptions): Promise<ComponentWithProperties[] | undefined>;
575
- beforeEnter(insertedElement: Element): void;
576
- beforeLeave(leavingElement: Element): void;
577
- beforeBeforeEnterAnimation(): void;
578
- finishedEnterAnimation(): void;
579
- enter(element: any, done: () => void): void;
580
- getScrollOuterHeight(scrollElement: HTMLElement): number;
581
- leave(element: any, done: () => void): void;
582
- afterLeave(element: any): void;
583
- afterEnter(element: any): void;
584
- enterCancelled(_element: any): void;
585
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("didPush" | "didPop" | "showDetail" | "present")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
586
- root: {
587
- default: null;
588
- type: PropType<ComponentWithProperties | null>;
589
- };
590
- initialComponents: {
591
- default: null;
592
- type: PropType<ComponentWithProperties[] | null>;
593
- };
594
- animationType: {
595
- default: string;
596
- type: StringConstructor;
597
- };
598
- customProvide: {
599
- type: ObjectConstructor;
600
- default: null;
601
- };
602
- }>> & {
603
- onDidPush?: ((...args: any[]) => any) | undefined;
604
- onDidPop?: ((...args: any[]) => any) | undefined;
605
- onShowDetail?: ((...args: any[]) => any) | undefined;
606
- onPresent?: ((...args: any[]) => any) | undefined;
607
- }, {
608
- root: ComponentWithProperties | null;
609
- customProvide: Record<string, any>;
610
- initialComponents: ComponentWithProperties[] | null;
611
- animationType: string;
612
- }, true, {}, {}, {
613
- P: {};
614
- B: {};
615
- D: {};
616
- C: {};
617
- M: {};
618
- Defaults: {};
619
- }, Readonly<import('vue').ExtractPropTypes<{
620
- root: {
621
- default: null;
622
- type: PropType<ComponentWithProperties | null>;
623
- };
624
- initialComponents: {
625
- default: null;
626
- type: PropType<ComponentWithProperties[] | null>;
627
- };
628
- animationType: {
629
- default: string;
630
- type: StringConstructor;
631
- };
632
- customProvide: {
633
- type: ObjectConstructor;
634
- default: null;
635
- };
636
- }>> & {
637
- onDidPush?: ((...args: any[]) => any) | undefined;
638
- onDidPop?: ((...args: any[]) => any) | undefined;
639
- onShowDetail?: ((...args: any[]) => any) | undefined;
640
- onPresent?: ((...args: any[]) => any) | undefined;
641
- }, {}, {
642
- components: ComponentWithProperties[];
643
- mainComponent: ComponentWithProperties | null;
644
- transitionName: string;
645
- savedScrollPositions: number[];
646
- nextScrollPosition: number;
647
- previousScrollPosition: number;
648
- nextInternalScrollPosition: number;
649
- savedInternalScrollPositions: number[];
650
- }, {}, {
651
- freezeSize(): void;
652
- growSize(width: number, height: number): void;
653
- unfreezeSize(): void;
654
- getInternalScrollElement(element?: Element | null): HTMLElement | null;
655
- getScrollElement(element?: HTMLElement | null): HTMLElement;
656
- shouldAnimate(): any;
657
- returnToHistoryIndex(): boolean;
658
- push(options: import('./PushOptions').PushOptions): Promise<void>;
659
- shouldNavigateAway(): Promise<boolean>;
660
- popToRoot(options?: PopOptions): Promise<ComponentWithProperties[] | undefined>;
661
- getPoppableParent(): import('vue').ComponentInternalInstance | null;
662
- pop(options?: PopOptions): Promise<ComponentWithProperties[] | undefined>;
663
- beforeEnter(insertedElement: Element): void;
664
- beforeLeave(leavingElement: Element): void;
665
- beforeBeforeEnterAnimation(): void;
666
- finishedEnterAnimation(): void;
667
- enter(element: any, done: () => void): void;
668
- getScrollOuterHeight(scrollElement: HTMLElement): number;
669
- leave(element: any, done: () => void): void;
670
- afterLeave(element: any): void;
671
- afterEnter(element: any): void;
672
- enterCancelled(_element: any): void;
673
- }, {
674
- root: ComponentWithProperties | null;
675
- customProvide: Record<string, any>;
676
- initialComponents: ComponentWithProperties[] | null;
677
- animationType: string;
678
- }>;
679
- modalStackComponent(): import('vue').CreateComponentPublicInstance<{
680
- readonly root: ComponentWithProperties | null;
681
- readonly initialComponents: ComponentWithProperties[] | null;
682
- readonly initialPresents: import('./PushOptions').PushOptions[] | null;
683
- }, unknown, unknown, any, {
684
- present(options: import('./PushOptions').PushOptions): void;
685
- returnToHistoryIndex(): boolean;
686
- replace(component: ComponentWithProperties, animated?: boolean): void;
687
- shouldNavigateAway(): Promise<boolean>;
688
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
689
- readonly root: ComponentWithProperties | null;
690
- readonly initialComponents: ComponentWithProperties[] | null;
691
- readonly initialPresents: import('./PushOptions').PushOptions[] | null;
692
- }, {
693
- root: ComponentWithProperties | null;
694
- initialComponents: ComponentWithProperties[] | null;
695
- initialPresents: import('./PushOptions').PushOptions[] | null;
696
- }, false, {}, {}, {
697
- P: {};
698
- B: {};
699
- D: {};
700
- C: {};
701
- M: {};
702
- Defaults: {};
703
- }, {
704
- readonly root: ComponentWithProperties | null;
705
- readonly initialComponents: ComponentWithProperties[] | null;
706
- readonly initialPresents: import('./PushOptions').PushOptions[] | null;
707
- }, {}, {}, any, {
708
- present(options: import('./PushOptions').PushOptions): void;
709
- returnToHistoryIndex(): boolean;
710
- replace(component: ComponentWithProperties, animated?: boolean): void;
711
- shouldNavigateAway(): Promise<boolean>;
712
- }, {
713
- root: ComponentWithProperties | null;
714
- initialComponents: ComponentWithProperties[] | null;
715
- initialPresents: import('./PushOptions').PushOptions[] | null;
716
- }>;
717
- }, {
718
- present(options: import('./PushOptions').PushOptions): void;
719
- returnToHistoryIndex(): boolean;
720
- replace(component: ComponentWithProperties, animated?: boolean): void;
721
- shouldNavigateAway(): Promise<boolean>;
722
- }, {
723
- root: ComponentWithProperties | null;
724
- initialComponents: ComponentWithProperties[] | null;
725
- initialPresents: import('./PushOptions').PushOptions[] | null;
726
- }> | null;
727
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
728
- root: {
729
- required: true;
730
- type: PropType<ComponentWithProperties>;
731
- };
732
- }>>, {}, {}>;
733
- export default _default;