mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
refactor(many): use utils import (#27160)
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
import type { EventEmitter } from '@stencil/core';
|
||||
import { Build, Component, Element, Event, Method, Prop, Watch, h } from '@stencil/core';
|
||||
import { getTimeGivenProgression } from '@utils/animation/cubic-bezier';
|
||||
import { assert } from '@utils/helpers';
|
||||
import type { TransitionOptions } from '@utils/transition';
|
||||
import { lifecycle, setPageHidden, transition } from '@utils/transition';
|
||||
|
||||
import { config } from '../../global/config';
|
||||
import { getIonMode } from '../../global/ionic-global';
|
||||
import type { Animation, AnimationBuilder, ComponentProps, FrameworkDelegate, Gesture } from '../../interface';
|
||||
import { getTimeGivenProgression } from '../../utils/animation/cubic-bezier';
|
||||
import { assert } from '../../utils/helpers';
|
||||
import type { TransitionOptions } from '../../utils/transition';
|
||||
import { lifecycle, setPageHidden, transition } from '../../utils/transition';
|
||||
import type { NavOutlet, RouteID, RouteWrite, RouterDirection } from '../router/utils/interface';
|
||||
|
||||
import { LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_LEAVE, LIFECYCLE_WILL_UNLOAD } from './constants';
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { attachComponent } from '@utils/framework-delegate';
|
||||
import { assert, shallowEqualStringMap } from '@utils/helpers';
|
||||
|
||||
import type { AnimationBuilder, ComponentProps, FrameworkDelegate, NavComponentWithProps } from '../../interface';
|
||||
import { attachComponent } from '../../utils/framework-delegate';
|
||||
import { assert, shallowEqualStringMap } from '../../utils/helpers';
|
||||
|
||||
export const VIEW_STATE_NEW = 1;
|
||||
export const VIEW_STATE_ATTACHED = 2;
|
||||
|
||||
Reference in New Issue
Block a user