@fox-js/fox 3.1.1-30 → 3.1.1-31

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.
@@ -150,6 +150,12 @@ declare interface DestroyRouteFilter {
150
150
  (to: Route, session: Record<string | number | symbol, any>): void;
151
151
  }
152
152
 
153
+ /**
154
+ * 销毁state
155
+ * @param state
156
+ */
157
+ export declare function destroyState(state: Object): void;
158
+
153
159
  /**
154
160
  * 完成Task类型(Exception,Finish, Wait)
155
161
  */
@@ -664,6 +670,18 @@ declare class LifecycleContext {
664
670
  * 数据列表
665
671
  */
666
672
  private [registerKey_3];
673
+ /**
674
+ * parent ref
675
+ */
676
+ private [parentKey];
677
+ /**
678
+ * get parent
679
+ */
680
+ get parent(): LifecycleContext | null;
681
+ /**
682
+ * set parent
683
+ */
684
+ set parent(value: LifecycleContext | null);
667
685
  /**
668
686
  * 构造函数
669
687
  */
@@ -870,6 +888,11 @@ declare class Page {
870
888
  layers: Layer[];
871
889
  }
872
890
 
891
+ /**
892
+ * parent key
893
+ */
894
+ declare const parentKey: unique symbol;
895
+
873
896
  declare const parentNodeKey: unique symbol;
874
897
 
875
898
  declare const persistentModeKey: unique symbol;
@@ -1434,170 +1457,170 @@ export declare class Router {
1434
1457
  /**
1435
1458
  * 获取当前最新route
1436
1459
  */
1437
- get currentRoute(): Readonly<Ref< {
1438
- readonly path?: string | undefined;
1439
- readonly fullPath?: string | undefined;
1440
- readonly alias?: string | undefined;
1441
- readonly name?: string | undefined;
1442
- readonly root?: string | undefined;
1443
- readonly params?: {
1444
- readonly [x: string]: any;
1445
- readonly [x: number]: any;
1446
- readonly [x: symbol]: any;
1447
- } | undefined;
1448
- readonly query?: any;
1449
- readonly traceless?: boolean | undefined;
1450
- readonly template?: string | undefined;
1451
- readonly matched?: readonly {
1452
- readonly path?: string | undefined;
1453
- readonly fullPath: string;
1454
- readonly alias?: string | undefined;
1455
- readonly name?: string | undefined;
1456
- readonly root?: string | undefined;
1457
- readonly params?: {
1458
- readonly [x: string]: any;
1459
- readonly [x: number]: any;
1460
- readonly [x: symbol]: any;
1461
- } | undefined;
1462
- readonly query?: any;
1463
- readonly traceless?: boolean | undefined;
1464
- readonly template?: string | undefined;
1465
- readonly matched?: readonly /*elided*/ any[] | undefined;
1466
- readonly meta?: {
1467
- readonly [x: string]: any;
1468
- readonly [x: number]: any;
1469
- readonly [x: symbol]: any;
1470
- } | undefined;
1471
- readonly success?: {
1472
- (...arg: any[]): void;
1473
- } | undefined;
1474
- readonly error?: {
1475
- (...arg: any[]): void;
1476
- } | undefined;
1477
- readonly destroy?: {
1478
- (...arg: any[]): void;
1479
- } | undefined;
1480
- readonly opsType?: OperationType | undefined;
1481
- readonly updateType?: UpdateType | undefined;
1482
- readonly historyUpdatePolicy?: HistoryUpdatePolicy | undefined;
1483
- readonly viewTagAttrs?: any;
1484
- readonly index?: number | undefined;
1485
- readonly active?: boolean | undefined;
1486
- readonly slot?: {
1487
- readonly name: string;
1488
- readonly level: number;
1489
- readonly rootName: string | undefined;
1490
- readonly rootIndex: number;
1491
- } | undefined;
1492
- }[] | undefined;
1493
- readonly meta?: {
1494
- readonly [x: string]: any;
1495
- readonly [x: number]: any;
1496
- readonly [x: symbol]: any;
1497
- } | undefined;
1498
- readonly success?: {
1499
- (...arg: any[]): void;
1500
- } | undefined;
1501
- readonly error?: {
1502
- (...arg: any[]): void;
1503
- } | undefined;
1504
- readonly destroy?: {
1505
- (...arg: any[]): void;
1506
- } | undefined;
1507
- readonly opsType?: OperationType | undefined;
1508
- readonly updateType?: UpdateType | undefined;
1509
- readonly historyUpdatePolicy?: HistoryUpdatePolicy | undefined;
1510
- readonly viewTagAttrs?: any;
1511
- readonly index?: number | undefined;
1512
- readonly active?: boolean | undefined;
1513
- readonly slot?: {
1514
- readonly name: string;
1515
- readonly level: number;
1516
- readonly rootName: string | undefined;
1517
- readonly rootIndex: number;
1518
- } | undefined;
1460
+ get currentRoute(): Readonly< Ref<{
1461
+ readonly path?: string | undefined;
1462
+ readonly fullPath?: string | undefined;
1463
+ readonly alias?: string | undefined;
1464
+ readonly name?: string | undefined;
1465
+ readonly root?: string | undefined;
1466
+ readonly params?: {
1467
+ readonly [x: string]: any;
1468
+ readonly [x: number]: any;
1469
+ readonly [x: symbol]: any;
1470
+ } | undefined;
1471
+ readonly query?: any;
1472
+ readonly traceless?: boolean | undefined;
1473
+ readonly template?: string | undefined;
1474
+ readonly matched?: readonly {
1475
+ readonly path?: string | undefined;
1476
+ readonly fullPath: string;
1477
+ readonly alias?: string | undefined;
1478
+ readonly name?: string | undefined;
1479
+ readonly root?: string | undefined;
1480
+ readonly params?: {
1481
+ readonly [x: string]: any;
1482
+ readonly [x: number]: any;
1483
+ readonly [x: symbol]: any;
1484
+ } | undefined;
1485
+ readonly query?: any;
1486
+ readonly traceless?: boolean | undefined;
1487
+ readonly template?: string | undefined;
1488
+ readonly matched?: readonly /*elided*/ any[] | undefined;
1489
+ readonly meta?: {
1490
+ readonly [x: string]: any;
1491
+ readonly [x: number]: any;
1492
+ readonly [x: symbol]: any;
1493
+ } | undefined;
1494
+ readonly success?: {
1495
+ (...arg: any[]): void;
1496
+ } | undefined;
1497
+ readonly error?: {
1498
+ (...arg: any[]): void;
1499
+ } | undefined;
1500
+ readonly destroy?: {
1501
+ (...arg: any[]): void;
1502
+ } | undefined;
1503
+ readonly opsType?: OperationType | undefined;
1504
+ readonly updateType?: UpdateType | undefined;
1505
+ readonly historyUpdatePolicy?: HistoryUpdatePolicy | undefined;
1506
+ readonly viewTagAttrs?: any;
1507
+ readonly index?: number | undefined;
1508
+ readonly active?: boolean | undefined;
1509
+ readonly slot?: {
1510
+ readonly name: string;
1511
+ readonly level: number;
1512
+ readonly rootName: string | undefined;
1513
+ readonly rootIndex: number;
1514
+ } | undefined;
1515
+ }[] | undefined;
1516
+ readonly meta?: {
1517
+ readonly [x: string]: any;
1518
+ readonly [x: number]: any;
1519
+ readonly [x: symbol]: any;
1520
+ } | undefined;
1521
+ readonly success?: {
1522
+ (...arg: any[]): void;
1523
+ } | undefined;
1524
+ readonly error?: {
1525
+ (...arg: any[]): void;
1526
+ } | undefined;
1527
+ readonly destroy?: {
1528
+ (...arg: any[]): void;
1529
+ } | undefined;
1530
+ readonly opsType?: OperationType | undefined;
1531
+ readonly updateType?: UpdateType | undefined;
1532
+ readonly historyUpdatePolicy?: HistoryUpdatePolicy | undefined;
1533
+ readonly viewTagAttrs?: any;
1534
+ readonly index?: number | undefined;
1535
+ readonly active?: boolean | undefined;
1536
+ readonly slot?: {
1537
+ readonly name: string;
1538
+ readonly level: number;
1539
+ readonly rootName: string | undefined;
1540
+ readonly rootIndex: number;
1541
+ } | undefined;
1519
1542
  } | null, {
1520
- readonly path?: string | undefined;
1521
- readonly fullPath?: string | undefined;
1522
- readonly alias?: string | undefined;
1523
- readonly name?: string | undefined;
1524
- readonly root?: string | undefined;
1525
- readonly params?: {
1526
- readonly [x: string]: any;
1527
- readonly [x: number]: any;
1528
- readonly [x: symbol]: any;
1529
- } | undefined;
1530
- readonly query?: any;
1531
- readonly traceless?: boolean | undefined;
1532
- readonly template?: string | undefined;
1533
- readonly matched?: readonly {
1534
- readonly path?: string | undefined;
1535
- readonly fullPath: string;
1536
- readonly alias?: string | undefined;
1537
- readonly name?: string | undefined;
1538
- readonly root?: string | undefined;
1539
- readonly params?: {
1540
- readonly [x: string]: any;
1541
- readonly [x: number]: any;
1542
- readonly [x: symbol]: any;
1543
- } | undefined;
1544
- readonly query?: any;
1545
- readonly traceless?: boolean | undefined;
1546
- readonly template?: string | undefined;
1547
- readonly matched?: readonly /*elided*/ any[] | undefined;
1548
- readonly meta?: {
1549
- readonly [x: string]: any;
1550
- readonly [x: number]: any;
1551
- readonly [x: symbol]: any;
1552
- } | undefined;
1553
- readonly success?: {
1554
- (...arg: any[]): void;
1555
- } | undefined;
1556
- readonly error?: {
1557
- (...arg: any[]): void;
1558
- } | undefined;
1559
- readonly destroy?: {
1560
- (...arg: any[]): void;
1561
- } | undefined;
1562
- readonly opsType?: OperationType | undefined;
1563
- readonly updateType?: UpdateType | undefined;
1564
- readonly historyUpdatePolicy?: HistoryUpdatePolicy | undefined;
1565
- readonly viewTagAttrs?: any;
1566
- readonly index?: number | undefined;
1567
- readonly active?: boolean | undefined;
1568
- readonly slot?: {
1569
- readonly name: string;
1570
- readonly level: number;
1571
- readonly rootName: string | undefined;
1572
- readonly rootIndex: number;
1573
- } | undefined;
1574
- }[] | undefined;
1575
- readonly meta?: {
1576
- readonly [x: string]: any;
1577
- readonly [x: number]: any;
1578
- readonly [x: symbol]: any;
1579
- } | undefined;
1580
- readonly success?: {
1581
- (...arg: any[]): void;
1582
- } | undefined;
1583
- readonly error?: {
1584
- (...arg: any[]): void;
1585
- } | undefined;
1586
- readonly destroy?: {
1587
- (...arg: any[]): void;
1588
- } | undefined;
1589
- readonly opsType?: OperationType | undefined;
1590
- readonly updateType?: UpdateType | undefined;
1591
- readonly historyUpdatePolicy?: HistoryUpdatePolicy | undefined;
1592
- readonly viewTagAttrs?: any;
1593
- readonly index?: number | undefined;
1594
- readonly active?: boolean | undefined;
1595
- readonly slot?: {
1596
- readonly name: string;
1597
- readonly level: number;
1598
- readonly rootName: string | undefined;
1599
- readonly rootIndex: number;
1600
- } | undefined;
1543
+ readonly path?: string | undefined;
1544
+ readonly fullPath?: string | undefined;
1545
+ readonly alias?: string | undefined;
1546
+ readonly name?: string | undefined;
1547
+ readonly root?: string | undefined;
1548
+ readonly params?: {
1549
+ readonly [x: string]: any;
1550
+ readonly [x: number]: any;
1551
+ readonly [x: symbol]: any;
1552
+ } | undefined;
1553
+ readonly query?: any;
1554
+ readonly traceless?: boolean | undefined;
1555
+ readonly template?: string | undefined;
1556
+ readonly matched?: readonly {
1557
+ readonly path?: string | undefined;
1558
+ readonly fullPath: string;
1559
+ readonly alias?: string | undefined;
1560
+ readonly name?: string | undefined;
1561
+ readonly root?: string | undefined;
1562
+ readonly params?: {
1563
+ readonly [x: string]: any;
1564
+ readonly [x: number]: any;
1565
+ readonly [x: symbol]: any;
1566
+ } | undefined;
1567
+ readonly query?: any;
1568
+ readonly traceless?: boolean | undefined;
1569
+ readonly template?: string | undefined;
1570
+ readonly matched?: readonly /*elided*/ any[] | undefined;
1571
+ readonly meta?: {
1572
+ readonly [x: string]: any;
1573
+ readonly [x: number]: any;
1574
+ readonly [x: symbol]: any;
1575
+ } | undefined;
1576
+ readonly success?: {
1577
+ (...arg: any[]): void;
1578
+ } | undefined;
1579
+ readonly error?: {
1580
+ (...arg: any[]): void;
1581
+ } | undefined;
1582
+ readonly destroy?: {
1583
+ (...arg: any[]): void;
1584
+ } | undefined;
1585
+ readonly opsType?: OperationType | undefined;
1586
+ readonly updateType?: UpdateType | undefined;
1587
+ readonly historyUpdatePolicy?: HistoryUpdatePolicy | undefined;
1588
+ readonly viewTagAttrs?: any;
1589
+ readonly index?: number | undefined;
1590
+ readonly active?: boolean | undefined;
1591
+ readonly slot?: {
1592
+ readonly name: string;
1593
+ readonly level: number;
1594
+ readonly rootName: string | undefined;
1595
+ readonly rootIndex: number;
1596
+ } | undefined;
1597
+ }[] | undefined;
1598
+ readonly meta?: {
1599
+ readonly [x: string]: any;
1600
+ readonly [x: number]: any;
1601
+ readonly [x: symbol]: any;
1602
+ } | undefined;
1603
+ readonly success?: {
1604
+ (...arg: any[]): void;
1605
+ } | undefined;
1606
+ readonly error?: {
1607
+ (...arg: any[]): void;
1608
+ } | undefined;
1609
+ readonly destroy?: {
1610
+ (...arg: any[]): void;
1611
+ } | undefined;
1612
+ readonly opsType?: OperationType | undefined;
1613
+ readonly updateType?: UpdateType | undefined;
1614
+ readonly historyUpdatePolicy?: HistoryUpdatePolicy | undefined;
1615
+ readonly viewTagAttrs?: any;
1616
+ readonly index?: number | undefined;
1617
+ readonly active?: boolean | undefined;
1618
+ readonly slot?: {
1619
+ readonly name: string;
1620
+ readonly level: number;
1621
+ readonly rootName: string | undefined;
1622
+ readonly rootIndex: number;
1623
+ } | undefined;
1601
1624
  } | null>>;
1602
1625
  private options;
1603
1626
  /**
@@ -1615,6 +1638,10 @@ export declare class Router {
1615
1638
  * 初始化
1616
1639
  */
1617
1640
  init(): void;
1641
+ /**
1642
+ * 销毁
1643
+ */
1644
+ destroy(): void;
1618
1645
  /**
1619
1646
  * 第一次导航是否完成
1620
1647
  */
@@ -2024,77 +2051,77 @@ declare interface RouterHistory {
2024
2051
  /**
2025
2052
  * router link
2026
2053
  */
2027
- export declare let RouterLink: DefineComponent<ExtractPropTypes< {
2028
- tag: {
2029
- type: PropType<string | unknown | GenericFunction>;
2030
- required: false;
2031
- default: string;
2032
- };
2033
- to: {
2034
- type: PropType<string | unknown | GenericFunction>;
2035
- required: true;
2036
- };
2037
- root: {
2038
- type: PropType<string>;
2039
- };
2040
- activeClass: {
2041
- type: PropType<string | GenericFunction>;
2042
- required: false;
2043
- default: string;
2044
- };
2045
- exact: {
2046
- type: PropType<string | boolean | GenericFunction>;
2047
- required: false;
2048
- };
2049
- exactActiveClass: {
2050
- type: PropType<string | GenericFunction>;
2051
- required: false;
2052
- default: string;
2053
- };
2054
- event: {
2055
- type: PropType<string | GenericFunction>;
2056
- required: false;
2057
- default: string;
2058
- };
2054
+ export declare let RouterLink: DefineComponent<ExtractPropTypes<{
2055
+ tag: {
2056
+ type: PropType<string | unknown | GenericFunction>;
2057
+ required: false;
2058
+ default: string;
2059
+ };
2060
+ to: {
2061
+ type: PropType<string | unknown | GenericFunction>;
2062
+ required: true;
2063
+ };
2064
+ root: {
2065
+ type: PropType<string>;
2066
+ };
2067
+ activeClass: {
2068
+ type: PropType<string | GenericFunction>;
2069
+ required: false;
2070
+ default: string;
2071
+ };
2072
+ exact: {
2073
+ type: PropType<string | boolean | GenericFunction>;
2074
+ required: false;
2075
+ };
2076
+ exactActiveClass: {
2077
+ type: PropType<string | GenericFunction>;
2078
+ required: false;
2079
+ default: string;
2080
+ };
2081
+ event: {
2082
+ type: PropType<string | GenericFunction>;
2083
+ required: false;
2084
+ default: string;
2085
+ };
2059
2086
  }>, () => VNode<RendererNode, RendererElement, {
2060
- [key: string]: any;
2061
- }> | undefined, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
2062
- tag: {
2063
- type: PropType<string | unknown | GenericFunction>;
2064
- required: false;
2065
- default: string;
2066
- };
2067
- to: {
2068
- type: PropType<string | unknown | GenericFunction>;
2069
- required: true;
2070
- };
2071
- root: {
2072
- type: PropType<string>;
2073
- };
2074
- activeClass: {
2075
- type: PropType<string | GenericFunction>;
2076
- required: false;
2077
- default: string;
2078
- };
2079
- exact: {
2080
- type: PropType<string | boolean | GenericFunction>;
2081
- required: false;
2082
- };
2083
- exactActiveClass: {
2084
- type: PropType<string | GenericFunction>;
2085
- required: false;
2086
- default: string;
2087
- };
2088
- event: {
2089
- type: PropType<string | GenericFunction>;
2090
- required: false;
2091
- default: string;
2092
- };
2087
+ [key: string]: any;
2088
+ }> | undefined, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
2089
+ tag: {
2090
+ type: PropType<string | unknown | GenericFunction>;
2091
+ required: false;
2092
+ default: string;
2093
+ };
2094
+ to: {
2095
+ type: PropType<string | unknown | GenericFunction>;
2096
+ required: true;
2097
+ };
2098
+ root: {
2099
+ type: PropType<string>;
2100
+ };
2101
+ activeClass: {
2102
+ type: PropType<string | GenericFunction>;
2103
+ required: false;
2104
+ default: string;
2105
+ };
2106
+ exact: {
2107
+ type: PropType<string | boolean | GenericFunction>;
2108
+ required: false;
2109
+ };
2110
+ exactActiveClass: {
2111
+ type: PropType<string | GenericFunction>;
2112
+ required: false;
2113
+ default: string;
2114
+ };
2115
+ event: {
2116
+ type: PropType<string | GenericFunction>;
2117
+ required: false;
2118
+ default: string;
2119
+ };
2093
2120
  }>> & Readonly<{}>, {
2094
- tag: string;
2095
- activeClass: string | GenericFunction;
2096
- exactActiveClass: string | GenericFunction;
2097
- event: string | GenericFunction;
2121
+ tag: string;
2122
+ activeClass: string | GenericFunction;
2123
+ exactActiveClass: string | GenericFunction;
2124
+ event: string | GenericFunction;
2098
2125
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2099
2126
 
2100
2127
  /**
@@ -2132,361 +2159,361 @@ export declare interface RouterOptions {
2132
2159
  /**
2133
2160
  * router view
2134
2161
  */
2135
- export declare const RouterView: DefineComponent<ExtractPropTypes< {
2136
- name: {
2137
- type: PropType<string>;
2138
- required: false;
2139
- default: string;
2140
- };
2141
- modelSlot: {
2142
- type: PropType<ModelSlot>;
2143
- required: false;
2144
- };
2145
- multi: {
2146
- type: PropType<boolean>;
2147
- required: false;
2148
- default: boolean;
2149
- };
2150
- tag: {
2151
- type: PropType<string | unknown | PropFunction>;
2152
- required: false;
2153
- default: string;
2154
- };
2155
- viewTag: {
2156
- type: PropType<string | unknown | PropFunction>;
2157
- required: false;
2158
- default: string;
2159
- };
2160
- viewTagProps: {
2161
- type: PropType<unknown | PropFunction>;
2162
- required: false;
2163
- default(): {};
2164
- };
2165
- viewClass: {
2166
- type: PropType<string | PropFunction>;
2167
- required: false;
2168
- };
2169
- viewActiveClass: {
2170
- type: PropType<string | PropFunction>;
2171
- required: false;
2172
- };
2173
- viewInactiveClass: {
2174
- type: PropType<string | PropFunction>;
2175
- required: false;
2176
- };
2177
- transition: {
2178
- type: PropType<TransitionProp>;
2179
- required: false;
2180
- default: boolean;
2181
- };
2182
- transitionName: {
2183
- type: PropType<string>;
2184
- required: false;
2185
- };
2186
- transitionDuration: {
2187
- type: PropType<string | number | {
2188
- enter: number;
2189
- leave: number;
2190
- show: number;
2191
- hide: number;
2192
- }>;
2193
- required: false;
2194
- };
2195
- enterFromClass: {
2196
- type: PropType<string>;
2197
- required: false;
2198
- };
2199
- enterActiveClass: {
2200
- type: PropType<string>;
2201
- required: false;
2202
- };
2203
- enterToClass: {
2204
- type: PropType<string>;
2205
- required: false;
2206
- };
2207
- leaveFromClass: {
2208
- type: PropType<string>;
2209
- required: false;
2210
- };
2211
- leaveActiveClass: {
2212
- type: PropType<string>;
2213
- required: false;
2214
- };
2215
- leaveToClass: {
2216
- type: PropType<string>;
2217
- required: false;
2218
- };
2219
- showFromClass: {
2220
- type: PropType<string>;
2221
- required: false;
2222
- };
2223
- showActiveClass: {
2224
- type: PropType<string>;
2225
- required: false;
2226
- };
2227
- showToClass: {
2228
- type: PropType<string>;
2229
- required: false;
2230
- };
2231
- hideFromClass: {
2232
- type: PropType<string>;
2233
- required: false;
2234
- };
2235
- hideActiveClass: {
2236
- type: PropType<string>;
2237
- required: false;
2238
- };
2239
- hideToClass: {
2240
- type: PropType<string>;
2241
- required: false;
2242
- };
2243
- beforeEnter: {
2244
- type: PropType<PropFunction>;
2245
- required: false;
2246
- };
2247
- enter: {
2248
- type: PropType<PropFunction>;
2249
- required: false;
2250
- };
2251
- afterEnter: {
2252
- type: PropType<PropFunction>;
2253
- required: false;
2254
- };
2255
- enterCancelled: {
2256
- type: PropType<PropFunction>;
2257
- required: false;
2258
- };
2259
- beforeLeave: {
2260
- type: PropType<PropFunction>;
2261
- required: false;
2262
- };
2263
- leave: {
2264
- type: PropType<PropFunction>;
2265
- required: false;
2266
- };
2267
- afterLeave: {
2268
- type: PropType<PropFunction>;
2269
- required: false;
2270
- };
2271
- leaveCancelled: {
2272
- type: PropType<PropFunction>;
2273
- required: false;
2274
- };
2275
- beforeShow: {
2276
- type: PropType<PropFunction>;
2277
- required: false;
2278
- };
2279
- show: {
2280
- type: PropType<PropFunction>;
2281
- required: false;
2282
- };
2283
- afterShow: {
2284
- type: PropType<PropFunction>;
2285
- required: false;
2286
- };
2287
- showCancelled: {
2288
- type: PropType<PropFunction>;
2289
- required: false;
2290
- };
2291
- beforeHide: {
2292
- type: PropType<PropFunction>;
2293
- required: false;
2294
- };
2295
- hide: {
2296
- type: PropType<PropFunction>;
2297
- required: false;
2298
- };
2299
- afterHide: {
2300
- type: PropType<PropFunction>;
2301
- required: false;
2302
- };
2303
- hideCancelled: {
2304
- type: PropType<PropFunction>;
2305
- required: false;
2306
- };
2307
- }>, (() => VNode<RendererNode, RendererElement, {
2308
- [key: string]: any;
2309
- }> | VNode<RendererNode, RendererElement, {
2310
- [key: string]: any;
2311
- }>[] | null) | undefined, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
2312
- name: {
2313
- type: PropType<string>;
2314
- required: false;
2315
- default: string;
2316
- };
2317
- modelSlot: {
2318
- type: PropType<ModelSlot>;
2319
- required: false;
2320
- };
2321
- multi: {
2322
- type: PropType<boolean>;
2323
- required: false;
2324
- default: boolean;
2325
- };
2326
- tag: {
2327
- type: PropType<string | unknown | PropFunction>;
2328
- required: false;
2329
- default: string;
2330
- };
2331
- viewTag: {
2332
- type: PropType<string | unknown | PropFunction>;
2333
- required: false;
2334
- default: string;
2335
- };
2336
- viewTagProps: {
2337
- type: PropType<unknown | PropFunction>;
2338
- required: false;
2339
- default(): {};
2340
- };
2341
- viewClass: {
2342
- type: PropType<string | PropFunction>;
2343
- required: false;
2344
- };
2345
- viewActiveClass: {
2346
- type: PropType<string | PropFunction>;
2347
- required: false;
2348
- };
2349
- viewInactiveClass: {
2350
- type: PropType<string | PropFunction>;
2351
- required: false;
2352
- };
2353
- transition: {
2354
- type: PropType<TransitionProp>;
2355
- required: false;
2356
- default: boolean;
2357
- };
2358
- transitionName: {
2359
- type: PropType<string>;
2360
- required: false;
2361
- };
2362
- transitionDuration: {
2363
- type: PropType<string | number | {
2364
- enter: number;
2365
- leave: number;
2366
- show: number;
2367
- hide: number;
2368
- }>;
2369
- required: false;
2370
- };
2371
- enterFromClass: {
2372
- type: PropType<string>;
2373
- required: false;
2374
- };
2375
- enterActiveClass: {
2376
- type: PropType<string>;
2377
- required: false;
2378
- };
2379
- enterToClass: {
2380
- type: PropType<string>;
2381
- required: false;
2382
- };
2383
- leaveFromClass: {
2384
- type: PropType<string>;
2385
- required: false;
2386
- };
2387
- leaveActiveClass: {
2388
- type: PropType<string>;
2389
- required: false;
2390
- };
2391
- leaveToClass: {
2392
- type: PropType<string>;
2393
- required: false;
2394
- };
2395
- showFromClass: {
2396
- type: PropType<string>;
2397
- required: false;
2398
- };
2399
- showActiveClass: {
2400
- type: PropType<string>;
2401
- required: false;
2402
- };
2403
- showToClass: {
2404
- type: PropType<string>;
2405
- required: false;
2406
- };
2407
- hideFromClass: {
2408
- type: PropType<string>;
2409
- required: false;
2410
- };
2411
- hideActiveClass: {
2412
- type: PropType<string>;
2413
- required: false;
2414
- };
2415
- hideToClass: {
2416
- type: PropType<string>;
2417
- required: false;
2418
- };
2419
- beforeEnter: {
2420
- type: PropType<PropFunction>;
2421
- required: false;
2422
- };
2423
- enter: {
2424
- type: PropType<PropFunction>;
2425
- required: false;
2426
- };
2427
- afterEnter: {
2428
- type: PropType<PropFunction>;
2429
- required: false;
2430
- };
2431
- enterCancelled: {
2432
- type: PropType<PropFunction>;
2433
- required: false;
2434
- };
2435
- beforeLeave: {
2436
- type: PropType<PropFunction>;
2437
- required: false;
2438
- };
2439
- leave: {
2440
- type: PropType<PropFunction>;
2441
- required: false;
2442
- };
2443
- afterLeave: {
2444
- type: PropType<PropFunction>;
2445
- required: false;
2446
- };
2447
- leaveCancelled: {
2448
- type: PropType<PropFunction>;
2449
- required: false;
2450
- };
2451
- beforeShow: {
2452
- type: PropType<PropFunction>;
2453
- required: false;
2454
- };
2455
- show: {
2456
- type: PropType<PropFunction>;
2457
- required: false;
2458
- };
2459
- afterShow: {
2460
- type: PropType<PropFunction>;
2461
- required: false;
2462
- };
2463
- showCancelled: {
2464
- type: PropType<PropFunction>;
2465
- required: false;
2466
- };
2467
- beforeHide: {
2468
- type: PropType<PropFunction>;
2469
- required: false;
2470
- };
2471
- hide: {
2472
- type: PropType<PropFunction>;
2473
- required: false;
2474
- };
2475
- afterHide: {
2476
- type: PropType<PropFunction>;
2477
- required: false;
2478
- };
2479
- hideCancelled: {
2480
- type: PropType<PropFunction>;
2481
- required: false;
2482
- };
2162
+ export declare const RouterView: DefineComponent<ExtractPropTypes<{
2163
+ name: {
2164
+ type: PropType<string>;
2165
+ required: false;
2166
+ default: string;
2167
+ };
2168
+ modelSlot: {
2169
+ type: PropType<ModelSlot>;
2170
+ required: false;
2171
+ };
2172
+ multi: {
2173
+ type: PropType<boolean>;
2174
+ required: false;
2175
+ default: boolean;
2176
+ };
2177
+ tag: {
2178
+ type: PropType<string | unknown | PropFunction>;
2179
+ required: false;
2180
+ default: string;
2181
+ };
2182
+ viewTag: {
2183
+ type: PropType<string | unknown | PropFunction>;
2184
+ required: false;
2185
+ default: string;
2186
+ };
2187
+ viewTagProps: {
2188
+ type: PropType<unknown | PropFunction>;
2189
+ required: false;
2190
+ default(): {};
2191
+ };
2192
+ viewClass: {
2193
+ type: PropType<string | PropFunction>;
2194
+ required: false;
2195
+ };
2196
+ viewActiveClass: {
2197
+ type: PropType<string | PropFunction>;
2198
+ required: false;
2199
+ };
2200
+ viewInactiveClass: {
2201
+ type: PropType<string | PropFunction>;
2202
+ required: false;
2203
+ };
2204
+ transition: {
2205
+ type: PropType<TransitionProp>;
2206
+ required: false;
2207
+ default: boolean;
2208
+ };
2209
+ transitionName: {
2210
+ type: PropType<string>;
2211
+ required: false;
2212
+ };
2213
+ transitionDuration: {
2214
+ type: PropType<string | number | {
2215
+ enter: number;
2216
+ leave: number;
2217
+ show: number;
2218
+ hide: number;
2219
+ }>;
2220
+ required: false;
2221
+ };
2222
+ enterFromClass: {
2223
+ type: PropType<string>;
2224
+ required: false;
2225
+ };
2226
+ enterActiveClass: {
2227
+ type: PropType<string>;
2228
+ required: false;
2229
+ };
2230
+ enterToClass: {
2231
+ type: PropType<string>;
2232
+ required: false;
2233
+ };
2234
+ leaveFromClass: {
2235
+ type: PropType<string>;
2236
+ required: false;
2237
+ };
2238
+ leaveActiveClass: {
2239
+ type: PropType<string>;
2240
+ required: false;
2241
+ };
2242
+ leaveToClass: {
2243
+ type: PropType<string>;
2244
+ required: false;
2245
+ };
2246
+ showFromClass: {
2247
+ type: PropType<string>;
2248
+ required: false;
2249
+ };
2250
+ showActiveClass: {
2251
+ type: PropType<string>;
2252
+ required: false;
2253
+ };
2254
+ showToClass: {
2255
+ type: PropType<string>;
2256
+ required: false;
2257
+ };
2258
+ hideFromClass: {
2259
+ type: PropType<string>;
2260
+ required: false;
2261
+ };
2262
+ hideActiveClass: {
2263
+ type: PropType<string>;
2264
+ required: false;
2265
+ };
2266
+ hideToClass: {
2267
+ type: PropType<string>;
2268
+ required: false;
2269
+ };
2270
+ beforeEnter: {
2271
+ type: PropType<PropFunction>;
2272
+ required: false;
2273
+ };
2274
+ enter: {
2275
+ type: PropType<PropFunction>;
2276
+ required: false;
2277
+ };
2278
+ afterEnter: {
2279
+ type: PropType<PropFunction>;
2280
+ required: false;
2281
+ };
2282
+ enterCancelled: {
2283
+ type: PropType<PropFunction>;
2284
+ required: false;
2285
+ };
2286
+ beforeLeave: {
2287
+ type: PropType<PropFunction>;
2288
+ required: false;
2289
+ };
2290
+ leave: {
2291
+ type: PropType<PropFunction>;
2292
+ required: false;
2293
+ };
2294
+ afterLeave: {
2295
+ type: PropType<PropFunction>;
2296
+ required: false;
2297
+ };
2298
+ leaveCancelled: {
2299
+ type: PropType<PropFunction>;
2300
+ required: false;
2301
+ };
2302
+ beforeShow: {
2303
+ type: PropType<PropFunction>;
2304
+ required: false;
2305
+ };
2306
+ show: {
2307
+ type: PropType<PropFunction>;
2308
+ required: false;
2309
+ };
2310
+ afterShow: {
2311
+ type: PropType<PropFunction>;
2312
+ required: false;
2313
+ };
2314
+ showCancelled: {
2315
+ type: PropType<PropFunction>;
2316
+ required: false;
2317
+ };
2318
+ beforeHide: {
2319
+ type: PropType<PropFunction>;
2320
+ required: false;
2321
+ };
2322
+ hide: {
2323
+ type: PropType<PropFunction>;
2324
+ required: false;
2325
+ };
2326
+ afterHide: {
2327
+ type: PropType<PropFunction>;
2328
+ required: false;
2329
+ };
2330
+ hideCancelled: {
2331
+ type: PropType<PropFunction>;
2332
+ required: false;
2333
+ };
2334
+ }>, (() => VNode< RendererNode, RendererElement, {
2335
+ [key: string]: any;
2336
+ }> | VNode< RendererNode, RendererElement, {
2337
+ [key: string]: any;
2338
+ }>[] | null) | undefined, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
2339
+ name: {
2340
+ type: PropType<string>;
2341
+ required: false;
2342
+ default: string;
2343
+ };
2344
+ modelSlot: {
2345
+ type: PropType<ModelSlot>;
2346
+ required: false;
2347
+ };
2348
+ multi: {
2349
+ type: PropType<boolean>;
2350
+ required: false;
2351
+ default: boolean;
2352
+ };
2353
+ tag: {
2354
+ type: PropType<string | unknown | PropFunction>;
2355
+ required: false;
2356
+ default: string;
2357
+ };
2358
+ viewTag: {
2359
+ type: PropType<string | unknown | PropFunction>;
2360
+ required: false;
2361
+ default: string;
2362
+ };
2363
+ viewTagProps: {
2364
+ type: PropType<unknown | PropFunction>;
2365
+ required: false;
2366
+ default(): {};
2367
+ };
2368
+ viewClass: {
2369
+ type: PropType<string | PropFunction>;
2370
+ required: false;
2371
+ };
2372
+ viewActiveClass: {
2373
+ type: PropType<string | PropFunction>;
2374
+ required: false;
2375
+ };
2376
+ viewInactiveClass: {
2377
+ type: PropType<string | PropFunction>;
2378
+ required: false;
2379
+ };
2380
+ transition: {
2381
+ type: PropType<TransitionProp>;
2382
+ required: false;
2383
+ default: boolean;
2384
+ };
2385
+ transitionName: {
2386
+ type: PropType<string>;
2387
+ required: false;
2388
+ };
2389
+ transitionDuration: {
2390
+ type: PropType<string | number | {
2391
+ enter: number;
2392
+ leave: number;
2393
+ show: number;
2394
+ hide: number;
2395
+ }>;
2396
+ required: false;
2397
+ };
2398
+ enterFromClass: {
2399
+ type: PropType<string>;
2400
+ required: false;
2401
+ };
2402
+ enterActiveClass: {
2403
+ type: PropType<string>;
2404
+ required: false;
2405
+ };
2406
+ enterToClass: {
2407
+ type: PropType<string>;
2408
+ required: false;
2409
+ };
2410
+ leaveFromClass: {
2411
+ type: PropType<string>;
2412
+ required: false;
2413
+ };
2414
+ leaveActiveClass: {
2415
+ type: PropType<string>;
2416
+ required: false;
2417
+ };
2418
+ leaveToClass: {
2419
+ type: PropType<string>;
2420
+ required: false;
2421
+ };
2422
+ showFromClass: {
2423
+ type: PropType<string>;
2424
+ required: false;
2425
+ };
2426
+ showActiveClass: {
2427
+ type: PropType<string>;
2428
+ required: false;
2429
+ };
2430
+ showToClass: {
2431
+ type: PropType<string>;
2432
+ required: false;
2433
+ };
2434
+ hideFromClass: {
2435
+ type: PropType<string>;
2436
+ required: false;
2437
+ };
2438
+ hideActiveClass: {
2439
+ type: PropType<string>;
2440
+ required: false;
2441
+ };
2442
+ hideToClass: {
2443
+ type: PropType<string>;
2444
+ required: false;
2445
+ };
2446
+ beforeEnter: {
2447
+ type: PropType<PropFunction>;
2448
+ required: false;
2449
+ };
2450
+ enter: {
2451
+ type: PropType<PropFunction>;
2452
+ required: false;
2453
+ };
2454
+ afterEnter: {
2455
+ type: PropType<PropFunction>;
2456
+ required: false;
2457
+ };
2458
+ enterCancelled: {
2459
+ type: PropType<PropFunction>;
2460
+ required: false;
2461
+ };
2462
+ beforeLeave: {
2463
+ type: PropType<PropFunction>;
2464
+ required: false;
2465
+ };
2466
+ leave: {
2467
+ type: PropType<PropFunction>;
2468
+ required: false;
2469
+ };
2470
+ afterLeave: {
2471
+ type: PropType<PropFunction>;
2472
+ required: false;
2473
+ };
2474
+ leaveCancelled: {
2475
+ type: PropType<PropFunction>;
2476
+ required: false;
2477
+ };
2478
+ beforeShow: {
2479
+ type: PropType<PropFunction>;
2480
+ required: false;
2481
+ };
2482
+ show: {
2483
+ type: PropType<PropFunction>;
2484
+ required: false;
2485
+ };
2486
+ afterShow: {
2487
+ type: PropType<PropFunction>;
2488
+ required: false;
2489
+ };
2490
+ showCancelled: {
2491
+ type: PropType<PropFunction>;
2492
+ required: false;
2493
+ };
2494
+ beforeHide: {
2495
+ type: PropType<PropFunction>;
2496
+ required: false;
2497
+ };
2498
+ hide: {
2499
+ type: PropType<PropFunction>;
2500
+ required: false;
2501
+ };
2502
+ afterHide: {
2503
+ type: PropType<PropFunction>;
2504
+ required: false;
2505
+ };
2506
+ hideCancelled: {
2507
+ type: PropType<PropFunction>;
2508
+ required: false;
2509
+ };
2483
2510
  }>> & Readonly<{}>, {
2484
- name: string;
2485
- multi: boolean;
2486
- tag: string;
2487
- viewTag: string;
2488
- viewTagProps: {};
2489
- transition: TransitionProp;
2511
+ name: string;
2512
+ multi: boolean;
2513
+ tag: string;
2514
+ viewTag: string;
2515
+ viewTagProps: {};
2516
+ transition: TransitionProp;
2490
2517
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2491
2518
 
2492
2519
  declare const routeSessionCacheKey: unique symbol;