@simonbackx/vue-app-navigation 2.0.0-alpha.14 → 2.0.0-alpha.16
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.d.ts +1 -0
- package/dist/index.js +109085 -36670
- package/dist/src/HistoryManager.d.ts +4 -0
- package/dist/src/ModalMixin.d.ts +20 -8
- package/dist/src/ModalStackComponent.vue.d.ts +10 -4
- package/dist/src/NavigationController.vue.d.ts +6 -3
- package/dist/src/Sheet.vue.d.ts +20 -8
- package/dist/src/SideView.vue.d.ts +20 -8
- package/dist/src/SplitViewController.vue.d.ts +10 -4
- package/dist/src/utils/navigationHooks.d.ts +3 -0
- package/dist/test/EditWebshopMixin.d.ts +62 -25
- package/package.json +1 -1
|
@@ -235,8 +235,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
235
235
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
236
236
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
237
237
|
}, unknown, {
|
|
238
|
-
components: import('..').ComponentWithProperties[];
|
|
239
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
238
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
239
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
240
240
|
transitionName: string;
|
|
241
241
|
savedScrollPositions: number[];
|
|
242
242
|
nextScrollPosition: number;
|
|
@@ -245,7 +245,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
245
245
|
savedInternalScrollPositions: number[];
|
|
246
246
|
asyncQueue: (() => Promise<void>)[];
|
|
247
247
|
asyncQueueRunning: boolean;
|
|
248
|
+
cachedProvides: Map<number, any>;
|
|
248
249
|
}, {}, {
|
|
250
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
251
|
+
provideForComponent(key: number): any;
|
|
249
252
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
250
253
|
runQueueIfNeeded(): void;
|
|
251
254
|
freezeSize(): void;
|
|
@@ -327,8 +330,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
327
330
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
328
331
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
329
332
|
}, {}, {
|
|
330
|
-
components: import('..').ComponentWithProperties[];
|
|
331
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
333
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
334
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
332
335
|
transitionName: string;
|
|
333
336
|
savedScrollPositions: number[];
|
|
334
337
|
nextScrollPosition: number;
|
|
@@ -337,7 +340,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
337
340
|
savedInternalScrollPositions: number[];
|
|
338
341
|
asyncQueue: (() => Promise<void>)[];
|
|
339
342
|
asyncQueueRunning: boolean;
|
|
343
|
+
cachedProvides: Map<number, any>;
|
|
340
344
|
}, {}, {
|
|
345
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
346
|
+
provideForComponent(key: number): any;
|
|
341
347
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
342
348
|
runQueueIfNeeded(): void;
|
|
343
349
|
freezeSize(): void;
|
|
@@ -603,8 +609,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
603
609
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
604
610
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
605
611
|
}, unknown, {
|
|
606
|
-
components: import('..').ComponentWithProperties[];
|
|
607
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
612
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
613
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
608
614
|
transitionName: string;
|
|
609
615
|
savedScrollPositions: number[];
|
|
610
616
|
nextScrollPosition: number;
|
|
@@ -613,7 +619,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
613
619
|
savedInternalScrollPositions: number[];
|
|
614
620
|
asyncQueue: (() => Promise<void>)[];
|
|
615
621
|
asyncQueueRunning: boolean;
|
|
622
|
+
cachedProvides: Map<number, any>;
|
|
616
623
|
}, {}, {
|
|
624
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
625
|
+
provideForComponent(key: number): any;
|
|
617
626
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
618
627
|
runQueueIfNeeded(): void;
|
|
619
628
|
freezeSize(): void;
|
|
@@ -695,8 +704,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
695
704
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
696
705
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
697
706
|
}, {}, {
|
|
698
|
-
components: import('..').ComponentWithProperties[];
|
|
699
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
707
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
708
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
700
709
|
transitionName: string;
|
|
701
710
|
savedScrollPositions: number[];
|
|
702
711
|
nextScrollPosition: number;
|
|
@@ -705,7 +714,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
705
714
|
savedInternalScrollPositions: number[];
|
|
706
715
|
asyncQueue: (() => Promise<void>)[];
|
|
707
716
|
asyncQueueRunning: boolean;
|
|
717
|
+
cachedProvides: Map<number, any>;
|
|
708
718
|
}, {}, {
|
|
719
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
720
|
+
provideForComponent(key: number): any;
|
|
709
721
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
710
722
|
runQueueIfNeeded(): void;
|
|
711
723
|
freezeSize(): void;
|
|
@@ -807,8 +819,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
807
819
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
808
820
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
809
821
|
}, unknown, {
|
|
810
|
-
components: import('..').ComponentWithProperties[];
|
|
811
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
822
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
823
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
812
824
|
transitionName: string;
|
|
813
825
|
savedScrollPositions: number[];
|
|
814
826
|
nextScrollPosition: number;
|
|
@@ -817,7 +829,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
817
829
|
savedInternalScrollPositions: number[];
|
|
818
830
|
asyncQueue: (() => Promise<void>)[];
|
|
819
831
|
asyncQueueRunning: boolean;
|
|
832
|
+
cachedProvides: Map<number, any>;
|
|
820
833
|
}, {}, {
|
|
834
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
835
|
+
provideForComponent(key: number): any;
|
|
821
836
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
822
837
|
runQueueIfNeeded(): void;
|
|
823
838
|
freezeSize(): void;
|
|
@@ -899,8 +914,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
899
914
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
900
915
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
901
916
|
}, {}, {
|
|
902
|
-
components: import('..').ComponentWithProperties[];
|
|
903
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
917
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
918
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
904
919
|
transitionName: string;
|
|
905
920
|
savedScrollPositions: number[];
|
|
906
921
|
nextScrollPosition: number;
|
|
@@ -909,7 +924,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
909
924
|
savedInternalScrollPositions: number[];
|
|
910
925
|
asyncQueue: (() => Promise<void>)[];
|
|
911
926
|
asyncQueueRunning: boolean;
|
|
927
|
+
cachedProvides: Map<number, any>;
|
|
912
928
|
}, {}, {
|
|
929
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
930
|
+
provideForComponent(key: number): any;
|
|
913
931
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
914
932
|
runQueueIfNeeded(): void;
|
|
915
933
|
freezeSize(): void;
|
|
@@ -983,8 +1001,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
983
1001
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
984
1002
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
985
1003
|
}, unknown, {
|
|
986
|
-
components: import('..').ComponentWithProperties[];
|
|
987
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
1004
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
1005
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
988
1006
|
transitionName: string;
|
|
989
1007
|
savedScrollPositions: number[];
|
|
990
1008
|
nextScrollPosition: number;
|
|
@@ -993,7 +1011,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
993
1011
|
savedInternalScrollPositions: number[];
|
|
994
1012
|
asyncQueue: (() => Promise<void>)[];
|
|
995
1013
|
asyncQueueRunning: boolean;
|
|
1014
|
+
cachedProvides: Map<number, any>;
|
|
996
1015
|
}, {}, {
|
|
1016
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
1017
|
+
provideForComponent(key: number): any;
|
|
997
1018
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
998
1019
|
runQueueIfNeeded(): void;
|
|
999
1020
|
freezeSize(): void;
|
|
@@ -1075,8 +1096,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
1075
1096
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
1076
1097
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
1077
1098
|
}, {}, {
|
|
1078
|
-
components: import('..').ComponentWithProperties[];
|
|
1079
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
1099
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
1100
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
1080
1101
|
transitionName: string;
|
|
1081
1102
|
savedScrollPositions: number[];
|
|
1082
1103
|
nextScrollPosition: number;
|
|
@@ -1085,7 +1106,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
1085
1106
|
savedInternalScrollPositions: number[];
|
|
1086
1107
|
asyncQueue: (() => Promise<void>)[];
|
|
1087
1108
|
asyncQueueRunning: boolean;
|
|
1109
|
+
cachedProvides: Map<number, any>;
|
|
1088
1110
|
}, {}, {
|
|
1111
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
1112
|
+
provideForComponent(key: number): any;
|
|
1089
1113
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
1090
1114
|
runQueueIfNeeded(): void;
|
|
1091
1115
|
freezeSize(): void;
|
|
@@ -1188,8 +1212,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
1188
1212
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
1189
1213
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
1190
1214
|
}, unknown, {
|
|
1191
|
-
components: import('..').ComponentWithProperties[];
|
|
1192
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
1215
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
1216
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
1193
1217
|
transitionName: string;
|
|
1194
1218
|
savedScrollPositions: number[];
|
|
1195
1219
|
nextScrollPosition: number;
|
|
@@ -1198,7 +1222,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
1198
1222
|
savedInternalScrollPositions: number[];
|
|
1199
1223
|
asyncQueue: (() => Promise<void>)[];
|
|
1200
1224
|
asyncQueueRunning: boolean;
|
|
1225
|
+
cachedProvides: Map<number, any>;
|
|
1201
1226
|
}, {}, {
|
|
1227
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
1228
|
+
provideForComponent(key: number): any;
|
|
1202
1229
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
1203
1230
|
runQueueIfNeeded(): void;
|
|
1204
1231
|
freezeSize(): void;
|
|
@@ -1280,8 +1307,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
1280
1307
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
1281
1308
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
1282
1309
|
}, {}, {
|
|
1283
|
-
components: import('..').ComponentWithProperties[];
|
|
1284
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
1310
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
1311
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
1285
1312
|
transitionName: string;
|
|
1286
1313
|
savedScrollPositions: number[];
|
|
1287
1314
|
nextScrollPosition: number;
|
|
@@ -1290,7 +1317,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
1290
1317
|
savedInternalScrollPositions: number[];
|
|
1291
1318
|
asyncQueue: (() => Promise<void>)[];
|
|
1292
1319
|
asyncQueueRunning: boolean;
|
|
1320
|
+
cachedProvides: Map<number, any>;
|
|
1293
1321
|
}, {}, {
|
|
1322
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
1323
|
+
provideForComponent(key: number): any;
|
|
1294
1324
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
1295
1325
|
runQueueIfNeeded(): void;
|
|
1296
1326
|
freezeSize(): void;
|
|
@@ -1358,8 +1388,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
1358
1388
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
1359
1389
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
1360
1390
|
}, unknown, {
|
|
1361
|
-
components: import('..').ComponentWithProperties[];
|
|
1362
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
1391
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
1392
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
1363
1393
|
transitionName: string;
|
|
1364
1394
|
savedScrollPositions: number[];
|
|
1365
1395
|
nextScrollPosition: number;
|
|
@@ -1368,7 +1398,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
1368
1398
|
savedInternalScrollPositions: number[];
|
|
1369
1399
|
asyncQueue: (() => Promise<void>)[];
|
|
1370
1400
|
asyncQueueRunning: boolean;
|
|
1401
|
+
cachedProvides: Map<number, any>;
|
|
1371
1402
|
}, {}, {
|
|
1403
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
1404
|
+
provideForComponent(key: number): any;
|
|
1372
1405
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
1373
1406
|
runQueueIfNeeded(): void;
|
|
1374
1407
|
freezeSize(): void;
|
|
@@ -1450,8 +1483,8 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
1450
1483
|
onShowDetail?: ((...args: any[]) => any) | undefined;
|
|
1451
1484
|
onPresent?: ((...args: any[]) => any) | undefined;
|
|
1452
1485
|
}, {}, {
|
|
1453
|
-
components: import('..').ComponentWithProperties[];
|
|
1454
|
-
mainComponent: import('..').ComponentWithProperties | null;
|
|
1486
|
+
components: import('vue').Raw<import('..').ComponentWithProperties>[];
|
|
1487
|
+
mainComponent: import('vue').Raw<import('..').ComponentWithProperties> | null;
|
|
1455
1488
|
transitionName: string;
|
|
1456
1489
|
savedScrollPositions: number[];
|
|
1457
1490
|
nextScrollPosition: number;
|
|
@@ -1460,7 +1493,10 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
1460
1493
|
savedInternalScrollPositions: number[];
|
|
1461
1494
|
asyncQueue: (() => Promise<void>)[];
|
|
1462
1495
|
asyncQueueRunning: boolean;
|
|
1496
|
+
cachedProvides: Map<number, any>;
|
|
1463
1497
|
}, {}, {
|
|
1498
|
+
cacheComponentProvides(newComponent: import('..').ComponentWithProperties): void;
|
|
1499
|
+
provideForComponent(key: number): any;
|
|
1464
1500
|
runQueue<T>(run: () => Promise<T>): Promise<T>;
|
|
1465
1501
|
runQueueIfNeeded(): void;
|
|
1466
1502
|
freezeSize(): void;
|
|
@@ -1496,8 +1532,9 @@ declare const EditWebshopMixin_base: new (...args: any) => import('../src/class-
|
|
|
1496
1532
|
setTitle(title: string): void;
|
|
1497
1533
|
extendUrl(url: string): string;
|
|
1498
1534
|
match<Params>(template: string, params?: import('..').UrlParamsConstructors<Params> | undefined): import('..').UrlMatchResult<Params> | undefined;
|
|
1535
|
+
matchCurrent<Params_1>(template: string, params?: import('..').UrlParamsConstructors<Params_1> | undefined): import('..').UrlMatchResult<Params_1> | undefined;
|
|
1499
1536
|
};
|
|
1500
|
-
$navigate: <
|
|
1537
|
+
$navigate: <Params_2 extends Record<string, unknown>>(prop1: string | import('..').Route<Params_2, unknown>, prop2?: import('..').RouteNavigationOptions<Params_2> | undefined) => Promise<void>;
|
|
1501
1538
|
}, {}, {
|
|
1502
1539
|
show: (options: import('..').ComponentWithProperties | import('..').PushOptions) => Promise<void>;
|
|
1503
1540
|
showDetail: (options: import('..').ComponentWithProperties | import('..').PushOptions) => Promise<void>;
|