refactor(core): zero circulars + esm ready (#10770)

This commit is contained in:
Nathan Walker
2025-09-18 17:03:23 -07:00
committed by GitHub
parent 1e54baf198
commit c2ff8c1ae7
306 changed files with 9136 additions and 9889 deletions

View File

@ -1,8 +1,7 @@
// Types
import { View } from '../core/view';
import { Page } from '../page';
import { Transition } from '../transition';
import { Observable } from '../../data/observable';
import type { View } from '../core/view';
import type { Page } from '../page';
import type { Transition } from '../transition';
import type { Observable, EventData } from '../../data/observable';
export enum NavigationType {
back,
@ -53,6 +52,47 @@ export interface NavigationTransition {
curve?: any;
}
/**
* Represents an entry in the back stack of a Frame object.
*/
export interface BackstackEntry {
entry: NavigationEntry;
resolvedPage: Page;
//@private
/**
* @private
*/
navDepth: number;
/**
* @private
*/
fragmentTag: string;
/**
* @private
*/
fragment?: any;
/**
* @private
*/
viewSavedState?: any;
/**
* @private
*/
frameId?: number;
/**
* @private
*/
recreated?: boolean;
//@endprivate
}
export interface NavigationData extends EventData {
entry?: BackstackEntry;
fromEntry?: BackstackEntry;
isBack?: boolean;
}
export interface TransitionState {
enterTransitionListener: any;
exitTransitionListener: any;