@simonbackx/vue-app-navigation 2.0.0-alpha.6 → 2.0.0-alpha.8

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.
@@ -307,6 +307,7 @@ export declare const ModalMixin: import('vue').DefineComponent<{}, {}, {}, {}, {
307
307
  present(options: import('./PushOptions').PushOptions): void;
308
308
  returnToHistoryIndex(): boolean;
309
309
  replace(component: import('./ComponentWithProperties').ComponentWithProperties, animated?: boolean): void;
310
+ shouldNavigateAway(): Promise<boolean>;
310
311
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
311
312
  readonly root: import('./ComponentWithProperties').ComponentWithProperties | null;
312
313
  readonly initialComponents: import('./ComponentWithProperties').ComponentWithProperties[] | null;
@@ -330,6 +331,7 @@ export declare const ModalMixin: import('vue').DefineComponent<{}, {}, {}, {}, {
330
331
  present(options: import('./PushOptions').PushOptions): void;
331
332
  returnToHistoryIndex(): boolean;
332
333
  replace(component: import('./ComponentWithProperties').ComponentWithProperties, animated?: boolean): void;
334
+ shouldNavigateAway(): Promise<boolean>;
333
335
  }, {
334
336
  root: import('./ComponentWithProperties').ComponentWithProperties | null;
335
337
  initialComponents: import('./ComponentWithProperties').ComponentWithProperties[] | null;
@@ -339,6 +341,7 @@ export declare const ModalMixin: import('vue').DefineComponent<{}, {}, {}, {}, {
339
341
  present(options: import('./PushOptions').PushOptions): void;
340
342
  returnToHistoryIndex(): boolean;
341
343
  replace(component: import('./ComponentWithProperties').ComponentWithProperties, animated?: boolean): void;
344
+ shouldNavigateAway(): Promise<boolean>;
342
345
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
343
346
  root: {
344
347
  default: null;
@@ -666,6 +669,7 @@ export declare const ModalMixin: import('vue').DefineComponent<{}, {}, {}, {}, {
666
669
  present(options: import('./PushOptions').PushOptions): void;
667
670
  returnToHistoryIndex(): boolean;
668
671
  replace(component: import('./ComponentWithProperties').ComponentWithProperties, animated?: boolean): void;
672
+ shouldNavigateAway(): Promise<boolean>;
669
673
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
670
674
  readonly root: import('./ComponentWithProperties').ComponentWithProperties | null;
671
675
  readonly initialComponents: import('./ComponentWithProperties').ComponentWithProperties[] | null;
@@ -689,6 +693,7 @@ export declare const ModalMixin: import('vue').DefineComponent<{}, {}, {}, {}, {
689
693
  present(options: import('./PushOptions').PushOptions): void;
690
694
  returnToHistoryIndex(): boolean;
691
695
  replace(component: import('./ComponentWithProperties').ComponentWithProperties, animated?: boolean): void;
696
+ shouldNavigateAway(): Promise<boolean>;
692
697
  }, {
693
698
  root: import('./ComponentWithProperties').ComponentWithProperties | null;
694
699
  initialComponents: import('./ComponentWithProperties').ComponentWithProperties[] | null;
@@ -698,6 +703,7 @@ export declare const ModalMixin: import('vue').DefineComponent<{}, {}, {}, {}, {
698
703
  present(options: import('./PushOptions').PushOptions): void;
699
704
  returnToHistoryIndex(): boolean;
700
705
  replace(component: import('./ComponentWithProperties').ComponentWithProperties, animated?: boolean): void;
706
+ shouldNavigateAway(): Promise<boolean>;
701
707
  }, {
702
708
  root: import('./ComponentWithProperties').ComponentWithProperties | null;
703
709
  initialComponents: import('./ComponentWithProperties').ComponentWithProperties[] | null;
@@ -306,6 +306,7 @@ declare const ModalStackComponent: import('vue').DefineComponent<{
306
306
  present(options: PushOptions): void;
307
307
  returnToHistoryIndex(): boolean;
308
308
  replace(component: ComponentWithProperties, animated?: boolean): void;
309
+ shouldNavigateAway(): Promise<boolean>;
309
310
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
310
311
  readonly root: ComponentWithProperties | null;
311
312
  readonly initialComponents: ComponentWithProperties[] | null;
@@ -329,6 +330,7 @@ declare const ModalStackComponent: import('vue').DefineComponent<{
329
330
  present(options: PushOptions): void;
330
331
  returnToHistoryIndex(): boolean;
331
332
  replace(component: ComponentWithProperties, animated?: boolean): void;
333
+ shouldNavigateAway(): Promise<boolean>;
332
334
  }, {
333
335
  root: ComponentWithProperties | null;
334
336
  initialComponents: ComponentWithProperties[] | null;
@@ -338,6 +340,7 @@ declare const ModalStackComponent: import('vue').DefineComponent<{
338
340
  present(options: PushOptions): void;
339
341
  returnToHistoryIndex(): boolean;
340
342
  replace(component: ComponentWithProperties, animated?: boolean): void;
343
+ shouldNavigateAway(): Promise<boolean>;
341
344
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
342
345
  root: {
343
346
  default: null;
@@ -322,6 +322,7 @@ declare const _default: import('vue').DefineComponent<{
322
322
  present(options: import('./PushOptions').PushOptions): void;
323
323
  returnToHistoryIndex(): boolean;
324
324
  replace(component: ComponentWithProperties, animated?: boolean): void;
325
+ shouldNavigateAway(): Promise<boolean>;
325
326
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
326
327
  readonly root: ComponentWithProperties | null;
327
328
  readonly initialComponents: ComponentWithProperties[] | null;
@@ -345,6 +346,7 @@ declare const _default: import('vue').DefineComponent<{
345
346
  present(options: import('./PushOptions').PushOptions): void;
346
347
  returnToHistoryIndex(): boolean;
347
348
  replace(component: ComponentWithProperties, animated?: boolean): void;
349
+ shouldNavigateAway(): Promise<boolean>;
348
350
  }, {
349
351
  root: ComponentWithProperties | null;
350
352
  initialComponents: ComponentWithProperties[] | null;
@@ -354,6 +356,7 @@ declare const _default: import('vue').DefineComponent<{
354
356
  present(options: import('./PushOptions').PushOptions): void;
355
357
  returnToHistoryIndex(): boolean;
356
358
  replace(component: ComponentWithProperties, animated?: boolean): void;
359
+ shouldNavigateAway(): Promise<boolean>;
357
360
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
358
361
  root: {
359
362
  default: null;
@@ -681,6 +684,7 @@ declare const _default: import('vue').DefineComponent<{
681
684
  present(options: import('./PushOptions').PushOptions): void;
682
685
  returnToHistoryIndex(): boolean;
683
686
  replace(component: ComponentWithProperties, animated?: boolean): void;
687
+ shouldNavigateAway(): Promise<boolean>;
684
688
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
685
689
  readonly root: ComponentWithProperties | null;
686
690
  readonly initialComponents: ComponentWithProperties[] | null;
@@ -704,6 +708,7 @@ declare const _default: import('vue').DefineComponent<{
704
708
  present(options: import('./PushOptions').PushOptions): void;
705
709
  returnToHistoryIndex(): boolean;
706
710
  replace(component: ComponentWithProperties, animated?: boolean): void;
711
+ shouldNavigateAway(): Promise<boolean>;
707
712
  }, {
708
713
  root: ComponentWithProperties | null;
709
714
  initialComponents: ComponentWithProperties[] | null;
@@ -713,6 +718,7 @@ declare const _default: import('vue').DefineComponent<{
713
718
  present(options: import('./PushOptions').PushOptions): void;
714
719
  returnToHistoryIndex(): boolean;
715
720
  replace(component: ComponentWithProperties, animated?: boolean): void;
721
+ shouldNavigateAway(): Promise<boolean>;
716
722
  }, {
717
723
  root: ComponentWithProperties | null;
718
724
  initialComponents: ComponentWithProperties[] | null;
@@ -323,6 +323,7 @@ declare const SideView: import('vue').DefineComponent<{
323
323
  present(options: import('./PushOptions').PushOptions): void;
324
324
  returnToHistoryIndex(): boolean;
325
325
  replace(component: ComponentWithProperties, animated?: boolean): void;
326
+ shouldNavigateAway(): Promise<boolean>;
326
327
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
327
328
  readonly root: ComponentWithProperties | null;
328
329
  readonly initialComponents: ComponentWithProperties[] | null;
@@ -346,6 +347,7 @@ declare const SideView: import('vue').DefineComponent<{
346
347
  present(options: import('./PushOptions').PushOptions): void;
347
348
  returnToHistoryIndex(): boolean;
348
349
  replace(component: ComponentWithProperties, animated?: boolean): void;
350
+ shouldNavigateAway(): Promise<boolean>;
349
351
  }, {
350
352
  root: ComponentWithProperties | null;
351
353
  initialComponents: ComponentWithProperties[] | null;
@@ -355,6 +357,7 @@ declare const SideView: import('vue').DefineComponent<{
355
357
  present(options: import('./PushOptions').PushOptions): void;
356
358
  returnToHistoryIndex(): boolean;
357
359
  replace(component: ComponentWithProperties, animated?: boolean): void;
360
+ shouldNavigateAway(): Promise<boolean>;
358
361
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
359
362
  root: {
360
363
  default: null;
@@ -682,6 +685,7 @@ declare const SideView: import('vue').DefineComponent<{
682
685
  present(options: import('./PushOptions').PushOptions): void;
683
686
  returnToHistoryIndex(): boolean;
684
687
  replace(component: ComponentWithProperties, animated?: boolean): void;
688
+ shouldNavigateAway(): Promise<boolean>;
685
689
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
686
690
  readonly root: ComponentWithProperties | null;
687
691
  readonly initialComponents: ComponentWithProperties[] | null;
@@ -705,6 +709,7 @@ declare const SideView: import('vue').DefineComponent<{
705
709
  present(options: import('./PushOptions').PushOptions): void;
706
710
  returnToHistoryIndex(): boolean;
707
711
  replace(component: ComponentWithProperties, animated?: boolean): void;
712
+ shouldNavigateAway(): Promise<boolean>;
708
713
  }, {
709
714
  root: ComponentWithProperties | null;
710
715
  initialComponents: ComponentWithProperties[] | null;
@@ -714,6 +719,7 @@ declare const SideView: import('vue').DefineComponent<{
714
719
  present(options: import('./PushOptions').PushOptions): void;
715
720
  returnToHistoryIndex(): boolean;
716
721
  replace(component: ComponentWithProperties, animated?: boolean): void;
722
+ shouldNavigateAway(): Promise<boolean>;
717
723
  }, {
718
724
  root: ComponentWithProperties | null;
719
725
  initialComponents: ComponentWithProperties[] | null;
@@ -439,6 +439,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
439
439
  present(options: import('..').PushOptions): void;
440
440
  returnToHistoryIndex(): boolean;
441
441
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
442
+ shouldNavigateAway(): Promise<boolean>;
442
443
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
443
444
  readonly root: import('..').ComponentWithProperties | null;
444
445
  readonly initialComponents: import('..').ComponentWithProperties[] | null;
@@ -462,6 +463,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
462
463
  present(options: import('..').PushOptions): void;
463
464
  returnToHistoryIndex(): boolean;
464
465
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
466
+ shouldNavigateAway(): Promise<boolean>;
465
467
  }, {
466
468
  root: import('..').ComponentWithProperties | null;
467
469
  initialComponents: import('..').ComponentWithProperties[] | null;
@@ -471,6 +473,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
471
473
  present(options: import('..').PushOptions): void;
472
474
  returnToHistoryIndex(): boolean;
473
475
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
476
+ shouldNavigateAway(): Promise<boolean>;
474
477
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
475
478
  root: {
476
479
  default: null;
@@ -798,6 +801,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
798
801
  present(options: import('..').PushOptions): void;
799
802
  returnToHistoryIndex(): boolean;
800
803
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
804
+ shouldNavigateAway(): Promise<boolean>;
801
805
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
802
806
  readonly root: import('..').ComponentWithProperties | null;
803
807
  readonly initialComponents: import('..').ComponentWithProperties[] | null;
@@ -821,6 +825,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
821
825
  present(options: import('..').PushOptions): void;
822
826
  returnToHistoryIndex(): boolean;
823
827
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
828
+ shouldNavigateAway(): Promise<boolean>;
824
829
  }, {
825
830
  root: import('..').ComponentWithProperties | null;
826
831
  initialComponents: import('..').ComponentWithProperties[] | null;
@@ -830,6 +835,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
830
835
  present(options: import('..').PushOptions): void;
831
836
  returnToHistoryIndex(): boolean;
832
837
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
838
+ shouldNavigateAway(): Promise<boolean>;
833
839
  }, {
834
840
  root: import('..').ComponentWithProperties | null;
835
841
  initialComponents: import('..').ComponentWithProperties[] | null;
@@ -1904,6 +1910,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
1904
1910
  present(options: import('..').PushOptions): void;
1905
1911
  returnToHistoryIndex(): boolean;
1906
1912
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
1913
+ shouldNavigateAway(): Promise<boolean>;
1907
1914
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
1908
1915
  readonly root: import('..').ComponentWithProperties | null;
1909
1916
  readonly initialComponents: import('..').ComponentWithProperties[] | null;
@@ -1927,6 +1934,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
1927
1934
  present(options: import('..').PushOptions): void;
1928
1935
  returnToHistoryIndex(): boolean;
1929
1936
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
1937
+ shouldNavigateAway(): Promise<boolean>;
1930
1938
  }, {
1931
1939
  root: import('..').ComponentWithProperties | null;
1932
1940
  initialComponents: import('..').ComponentWithProperties[] | null;
@@ -1936,6 +1944,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
1936
1944
  present(options: import('..').PushOptions): void;
1937
1945
  returnToHistoryIndex(): boolean;
1938
1946
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
1947
+ shouldNavigateAway(): Promise<boolean>;
1939
1948
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
1940
1949
  root: {
1941
1950
  default: null;
@@ -2263,6 +2272,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
2263
2272
  present(options: import('..').PushOptions): void;
2264
2273
  returnToHistoryIndex(): boolean;
2265
2274
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
2275
+ shouldNavigateAway(): Promise<boolean>;
2266
2276
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
2267
2277
  readonly root: import('..').ComponentWithProperties | null;
2268
2278
  readonly initialComponents: import('..').ComponentWithProperties[] | null;
@@ -2286,6 +2296,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
2286
2296
  present(options: import('..').PushOptions): void;
2287
2297
  returnToHistoryIndex(): boolean;
2288
2298
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
2299
+ shouldNavigateAway(): Promise<boolean>;
2289
2300
  }, {
2290
2301
  root: import('..').ComponentWithProperties | null;
2291
2302
  initialComponents: import('..').ComponentWithProperties[] | null;
@@ -2295,6 +2306,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
2295
2306
  present(options: import('..').PushOptions): void;
2296
2307
  returnToHistoryIndex(): boolean;
2297
2308
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
2309
+ shouldNavigateAway(): Promise<boolean>;
2298
2310
  }, {
2299
2311
  root: import('..').ComponentWithProperties | null;
2300
2312
  initialComponents: import('..').ComponentWithProperties[] | null;
@@ -3461,6 +3473,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
3461
3473
  present(options: import('..').PushOptions): void;
3462
3474
  returnToHistoryIndex(): boolean;
3463
3475
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
3476
+ shouldNavigateAway(): Promise<boolean>;
3464
3477
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
3465
3478
  readonly root: import('..').ComponentWithProperties | null;
3466
3479
  readonly initialComponents: import('..').ComponentWithProperties[] | null;
@@ -3484,6 +3497,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
3484
3497
  present(options: import('..').PushOptions): void;
3485
3498
  returnToHistoryIndex(): boolean;
3486
3499
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
3500
+ shouldNavigateAway(): Promise<boolean>;
3487
3501
  }, {
3488
3502
  root: import('..').ComponentWithProperties | null;
3489
3503
  initialComponents: import('..').ComponentWithProperties[] | null;
@@ -3493,6 +3507,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
3493
3507
  present(options: import('..').PushOptions): void;
3494
3508
  returnToHistoryIndex(): boolean;
3495
3509
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
3510
+ shouldNavigateAway(): Promise<boolean>;
3496
3511
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
3497
3512
  root: {
3498
3513
  default: null;
@@ -3820,6 +3835,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
3820
3835
  present(options: import('..').PushOptions): void;
3821
3836
  returnToHistoryIndex(): boolean;
3822
3837
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
3838
+ shouldNavigateAway(): Promise<boolean>;
3823
3839
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, {
3824
3840
  readonly root: import('..').ComponentWithProperties | null;
3825
3841
  readonly initialComponents: import('..').ComponentWithProperties[] | null;
@@ -3843,6 +3859,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
3843
3859
  present(options: import('..').PushOptions): void;
3844
3860
  returnToHistoryIndex(): boolean;
3845
3861
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
3862
+ shouldNavigateAway(): Promise<boolean>;
3846
3863
  }, {
3847
3864
  root: import('..').ComponentWithProperties | null;
3848
3865
  initialComponents: import('..').ComponentWithProperties[] | null;
@@ -3852,6 +3869,7 @@ declare const EditWebshopMixin_base: new (...args: any) => {
3852
3869
  present(options: import('..').PushOptions): void;
3853
3870
  returnToHistoryIndex(): boolean;
3854
3871
  replace(component: import('..').ComponentWithProperties, animated?: boolean): void;
3872
+ shouldNavigateAway(): Promise<boolean>;
3855
3873
  }, {
3856
3874
  root: import('..').ComponentWithProperties | null;
3857
3875
  initialComponents: import('..').ComponentWithProperties[] | null;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@simonbackx/vue-app-navigation",
3
3
  "main": "./dist/index.js",
4
4
  "types": "./dist/index.d.ts",
5
- "version": "2.0.0-alpha.6",
5
+ "version": "2.0.0-alpha.8",
6
6
  "exports": {
7
7
  ".": {
8
8
  "import": "./dist/index.js",