mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
fix(lint): import order
This commit is contained in:
@ -2,12 +2,12 @@ import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@
|
|||||||
import { ActionSheetButton, Animation, AnimationBuilder, Config, CssClassMap, Mode } from '../../interface';
|
import { ActionSheetButton, Animation, AnimationBuilder, Config, CssClassMap, Mode } from '../../interface';
|
||||||
import { BACKDROP, OverlayEventDetail, OverlayInterface, dismiss, eventMethod, isCancel, present } from '../../utils/overlays';
|
import { BACKDROP, OverlayEventDetail, OverlayInterface, dismiss, eventMethod, isCancel, present } from '../../utils/overlays';
|
||||||
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
||||||
|
|
||||||
import iosEnterAnimation from './animations/ios.enter';
|
import iosEnterAnimation from './animations/ios.enter';
|
||||||
import iosLeaveAnimation from './animations/ios.leave';
|
import iosLeaveAnimation from './animations/ios.leave';
|
||||||
import mdEnterAnimation from './animations/md.enter';
|
import mdEnterAnimation from './animations/md.enter';
|
||||||
import mdLeaveAnimation from './animations/md.leave';
|
import mdLeaveAnimation from './animations/md.leave';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
tag: 'ion-action-sheet',
|
tag: 'ion-action-sheet',
|
||||||
styleUrls: {
|
styleUrls: {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Component, Prop } from '@stencil/core';
|
import { Component, Prop } from '@stencil/core';
|
||||||
|
|
||||||
import { createThemedClasses } from '../../utils/theme';
|
|
||||||
import { Mode } from '../../interface';
|
import { Mode } from '../../interface';
|
||||||
|
import { createThemedClasses } from '../../utils/theme';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
tag: 'ion-card-header',
|
tag: 'ion-card-header',
|
||||||
|
@ -18,8 +18,8 @@ import {
|
|||||||
updateDate
|
updateDate
|
||||||
} from './datetime-util';
|
} from './datetime-util';
|
||||||
|
|
||||||
import { clamp, deferEvent } from '../../utils/helpers';
|
|
||||||
import { CssClassMap, PickerColumn, PickerOptions, StyleEvent } from '../../interface';
|
import { CssClassMap, PickerColumn, PickerOptions, StyleEvent } from '../../interface';
|
||||||
|
import { clamp, deferEvent } from '../../utils/helpers';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Component, Element, Prop } from '@stencil/core';
|
import { Component, Element, Prop } from '@stencil/core';
|
||||||
import { createThemedClasses, getElementClassMap } from '../../utils/theme';
|
|
||||||
import { CssClassMap, Mode } from '../../interface';
|
import { CssClassMap, Mode } from '../../interface';
|
||||||
|
import { createThemedClasses, getElementClassMap } from '../../utils/theme';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Component, Prop } from '@stencil/core';
|
import { Component, Prop } from '@stencil/core';
|
||||||
|
|
||||||
import { createThemedClasses } from '../../utils/theme';
|
|
||||||
import { Mode } from '../../interface';
|
import { Mode } from '../../interface';
|
||||||
|
import { createThemedClasses } from '../../utils/theme';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
tag: 'ion-footer',
|
tag: 'ion-footer',
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Component, Event, EventEmitter, Method } from '@stencil/core';
|
import { Component, Event, EventEmitter, Method } from '@stencil/core';
|
||||||
import { BlockerDelegate, GestureDelegate } from './gesture-controller-utils';
|
|
||||||
import { BlockerConfig, GestureConfig } from '../../interface';
|
import { BlockerConfig, GestureConfig } from '../../interface';
|
||||||
|
import { BlockerDelegate, GestureDelegate } from './gesture-controller-utils';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Component, Prop } from '@stencil/core';
|
import { Component, Prop } from '@stencil/core';
|
||||||
|
|
||||||
import { createThemedClasses } from '../../utils/theme';
|
|
||||||
import { Mode } from '../../interface';
|
import { Mode } from '../../interface';
|
||||||
|
import { createThemedClasses } from '../../utils/theme';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
tag: 'ion-header',
|
tag: 'ion-header',
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Component, Element, Listen, Prop } from '@stencil/core';
|
import { Component, Element, Listen, Prop } from '@stencil/core';
|
||||||
import { createThemedClasses, getElementClassMap, openURL } from '../../utils/theme';
|
|
||||||
import { CssClassMap, Mode } from '../../interface';
|
import { CssClassMap, Mode } from '../../interface';
|
||||||
|
import { createThemedClasses, getElementClassMap, openURL } from '../../utils/theme';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
||||||
import { Animation, AnimationBuilder, Config, Mode } from '../../interface';
|
import { Animation, AnimationBuilder, Config, Mode } from '../../interface';
|
||||||
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
|
||||||
import { BACKDROP, OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
import { BACKDROP, OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
||||||
|
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
||||||
|
|
||||||
import iosEnterAnimation from './animations/ios.enter';
|
import iosEnterAnimation from './animations/ios.enter';
|
||||||
import iosLeaveAnimation from './animations/ios.leave';
|
import iosLeaveAnimation from './animations/ios.leave';
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
||||||
import { Animation, AnimationBuilder, ComponentProps, ComponentRef, Config, FrameworkDelegate, Mode } from '../../interface';
|
import { Animation, AnimationBuilder, ComponentProps, ComponentRef, Config, FrameworkDelegate, Mode } from '../../interface';
|
||||||
|
|
||||||
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
|
||||||
import { BACKDROP, OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
|
||||||
import { attachComponent, detachComponent } from '../../utils/framework-delegate';
|
import { attachComponent, detachComponent } from '../../utils/framework-delegate';
|
||||||
|
import { BACKDROP, OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
||||||
|
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
||||||
|
|
||||||
import iosEnterAnimation from './animations/ios.enter';
|
import iosEnterAnimation from './animations/ios.enter';
|
||||||
import iosLeaveAnimation from './animations/ios.leave';
|
import iosLeaveAnimation from './animations/ios.leave';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { ViewController } from './view-controller';
|
|
||||||
import { Animation, ComponentRef, FrameworkDelegate } from '../../interface';
|
import { Animation, ComponentRef, FrameworkDelegate } from '../../interface';
|
||||||
|
import { ViewController } from './view-controller';
|
||||||
|
|
||||||
export { Nav } from './nav';
|
export { Nav } from './nav';
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { Build, Component, Element, Event, EventEmitter, Method, Prop, Watch } from '@stencil/core';
|
import { Build, Component, Element, Event, EventEmitter, Method, Prop, Watch } from '@stencil/core';
|
||||||
import { Animation, ComponentProps, Config, FrameworkDelegate, GestureDetail, Mode, NavOutlet, QueueController, RouteID, RouteWrite, RouterDirection } from '../../interface';
|
import { Animation, ComponentProps, Config, FrameworkDelegate, GestureDetail, Mode, NavOutlet, QueueController, RouteID, RouteWrite, RouterDirection } from '../../interface';
|
||||||
|
import { NavComponent, NavDirection, NavOptions, NavResult, TransitionDoneFn, TransitionInstruction } from '../../interface';
|
||||||
import { assert } from '../../utils/helpers';
|
import { assert } from '../../utils/helpers';
|
||||||
import { AnimationOptions, ViewLifecycle, lifecycle, transition } from '../../utils/transition';
|
import { AnimationOptions, ViewLifecycle, lifecycle, transition } from '../../utils/transition';
|
||||||
import { NavComponent, NavDirection, NavOptions, NavResult, TransitionDoneFn, TransitionInstruction } from '../../interface';
|
|
||||||
import { ViewController, ViewState, convertToViews, matches } from './view-controller';
|
import { ViewController, ViewState, convertToViews, matches } from './view-controller';
|
||||||
|
|
||||||
import iosTransitionAnimation from './animations/ios.transition';
|
import iosTransitionAnimation from './animations/ios.transition';
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { TestWindow } from '@stencil/core/dist/testing';
|
import { TestWindow } from '@stencil/core/dist/testing';
|
||||||
|
import { Config } from '../../../global/config';
|
||||||
import { AnimationControllerImpl } from '../../animation-controller/animation-controller';
|
import { AnimationControllerImpl } from '../../animation-controller/animation-controller';
|
||||||
import { Nav } from '../nav';
|
import { Nav } from '../nav';
|
||||||
import { NavOptions } from '../nav-interface';
|
import { NavOptions } from '../nav-interface';
|
||||||
import { ViewController, ViewState } from '../view-controller';
|
import { ViewController, ViewState } from '../view-controller';
|
||||||
import { Config } from '../../../global/config';
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Component, Listen, Method, Prop } from '@stencil/core';
|
import { Component, Listen, Method, Prop } from '@stencil/core';
|
||||||
import { OverlayController, createOverlay, dismissOverlay, getTopOverlay, removeLastOverlay } from '../../utils/overlays';
|
|
||||||
import { PickerOptions } from '../../interface';
|
import { PickerOptions } from '../../interface';
|
||||||
|
import { OverlayController, createOverlay, dismissOverlay, getTopOverlay, removeLastOverlay } from '../../utils/overlays';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { Component, Element, Event, EventEmitter, Listen, Method, Prop, State } from '@stencil/core';
|
import { Component, Element, Event, EventEmitter, Listen, Method, Prop, State } from '@stencil/core';
|
||||||
import { Animation, AnimationBuilder, Config, CssClassMap, Mode, PickerButton, PickerColumn } from '../../interface';
|
import { Animation, AnimationBuilder, Config, CssClassMap, Mode, PickerButton, PickerColumn } from '../../interface';
|
||||||
|
|
||||||
import { getClassMap } from '../../utils/theme';
|
|
||||||
import { OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
import { OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
||||||
|
import { getClassMap } from '../../utils/theme';
|
||||||
|
|
||||||
import iosEnterAnimation from './animations/ios.enter';
|
import iosEnterAnimation from './animations/ios.enter';
|
||||||
import iosLeaveAnimation from './animations/ios.leave';
|
import iosLeaveAnimation from './animations/ios.leave';
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
||||||
import { Animation, AnimationBuilder, ComponentProps, ComponentRef, Config, FrameworkDelegate, Mode } from '../../interface';
|
import { Animation, AnimationBuilder, ComponentProps, ComponentRef, Config, FrameworkDelegate, Mode } from '../../interface';
|
||||||
|
|
||||||
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
|
||||||
import { BACKDROP, OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
|
||||||
import { attachComponent, detachComponent } from '../../utils/framework-delegate';
|
import { attachComponent, detachComponent } from '../../utils/framework-delegate';
|
||||||
|
import { BACKDROP, OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
||||||
|
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
||||||
|
|
||||||
import iosEnterAnimation from './animations/ios.enter';
|
import iosEnterAnimation from './animations/ios.enter';
|
||||||
import iosLeaveAnimation from './animations/ios.leave';
|
import iosLeaveAnimation from './animations/ios.leave';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Component, Element, EventListenerEnable, Listen, Method, Prop, Watch } from '@stencil/core';
|
import { Component, Element, EventListenerEnable, Listen, Method, Prop, Watch } from '@stencil/core';
|
||||||
import { now } from '../../utils/helpers';
|
|
||||||
import { QueueController } from '../../interface';
|
import { QueueController } from '../../interface';
|
||||||
|
import { now } from '../../utils/helpers';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
tag: 'ion-ripple-effect',
|
tag: 'ion-ripple-effect',
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
||||||
import { Config, QueueController } from '../../interface';
|
import { Config, QueueController } from '../../interface';
|
||||||
import { flattenRouterTree, readRedirects, readRoutes } from './utils/parser';
|
|
||||||
import { readNavState, writeNavState } from './utils/dom';
|
import { readNavState, writeNavState } from './utils/dom';
|
||||||
import { chainToPath, generatePath, parsePath, readPath, writePath } from './utils/path';
|
|
||||||
import { RouteChain, RouteRedirect, RouterDirection, RouterEventDetail } from './utils/interface';
|
import { RouteChain, RouteRedirect, RouterDirection, RouterEventDetail } from './utils/interface';
|
||||||
import { routeRedirect, routerIDsToChain, routerPathToChain } from './utils/matching';
|
import { routeRedirect, routerIDsToChain, routerPathToChain } from './utils/matching';
|
||||||
|
import { flattenRouterTree, readRedirects, readRoutes } from './utils/parser';
|
||||||
|
import { chainToPath, generatePath, parsePath, readPath, writePath } from './utils/path';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
tag: 'ion-router'
|
tag: 'ion-router'
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
|
import { TestWindow } from '@stencil/core/dist/testing';
|
||||||
import { RouteChain, RouteID } from '../utils/interface';
|
import { RouteChain, RouteID } from '../utils/interface';
|
||||||
import { routerIDsToChain, routerPathToChain } from '../utils/matching';
|
import { routerIDsToChain, routerPathToChain } from '../utils/matching';
|
||||||
import { mockRouteElement } from './parser.spec';
|
|
||||||
import { chainToPath, generatePath, parsePath } from '../utils/path';
|
|
||||||
import { flattenRouterTree, readRoutes } from '../utils/parser';
|
import { flattenRouterTree, readRoutes } from '../utils/parser';
|
||||||
import { TestWindow } from '@stencil/core/dist/testing';
|
import { chainToPath, generatePath, parsePath } from '../utils/path';
|
||||||
|
import { mockRouteElement } from './parser.spec';
|
||||||
|
|
||||||
describe('ionic-conference-app', () => {
|
describe('ionic-conference-app', () => {
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { flattenRouterTree, readRedirects, readRoutes } from '../utils/parser';
|
|
||||||
import { RouteRedirect, RouteTree } from '../utils/interface';
|
|
||||||
import { TestWindow } from '@stencil/core/dist/testing';
|
import { TestWindow } from '@stencil/core/dist/testing';
|
||||||
|
import { RouteRedirect, RouteTree } from '../utils/interface';
|
||||||
|
import { flattenRouterTree, readRedirects, readRoutes } from '../utils/parser';
|
||||||
|
|
||||||
describe('parser', () => {
|
describe('parser', () => {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { chainToPath, generatePath, parsePath } from '../utils/path';
|
|
||||||
import { RouteChain } from '../utils/interface';
|
import { RouteChain } from '../utils/interface';
|
||||||
|
import { chainToPath, generatePath, parsePath } from '../utils/path';
|
||||||
|
|
||||||
describe('parseURL', () => {
|
describe('parseURL', () => {
|
||||||
it('should parse empty path', () => {
|
it('should parse empty path', () => {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { generatePath } from './path';
|
|
||||||
import { RouteChain } from './interface';
|
import { RouteChain } from './interface';
|
||||||
|
import { generatePath } from './path';
|
||||||
|
|
||||||
export function printRoutes(routes: RouteChain[]) {
|
export function printRoutes(routes: RouteChain[]) {
|
||||||
console.debug('%c[ion-core]', 'font-weight: bold', `registered ${routes.length} routes`);
|
console.debug('%c[ion-core]', 'font-weight: bold', `registered ${routes.length} routes`);
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { Component, Element, Event, EventEmitter, Prop, State, Watch } from '@stencil/core';
|
import { Component, Element, Event, EventEmitter, Prop, State, Watch } from '@stencil/core';
|
||||||
|
|
||||||
import { createThemedClasses } from '../../utils/theme';
|
|
||||||
import { debounceEvent } from '../../utils/helpers';
|
|
||||||
import { InputChangeEvent, Mode } from '../../interface';
|
import { InputChangeEvent, Mode } from '../../interface';
|
||||||
|
import { debounceEvent } from '../../utils/helpers';
|
||||||
|
import { createThemedClasses } from '../../utils/theme';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Component, Element, Event, EventEmitter, Prop } from '@stencil/core';
|
import { Component, Element, Event, EventEmitter, Prop } from '@stencil/core';
|
||||||
import { createThemedClasses, getElementClassMap } from '../../utils/theme';
|
|
||||||
import { Mode } from '../../interface';
|
import { Mode } from '../../interface';
|
||||||
|
import { createThemedClasses, getElementClassMap } from '../../utils/theme';
|
||||||
|
|
||||||
let ids = 0;
|
let ids = 0;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Component, Prop } from '@stencil/core';
|
import { Component, Prop } from '@stencil/core';
|
||||||
import { createThemedClasses } from '../../utils/theme';
|
|
||||||
import { Config, Mode } from '../../interface';
|
import { Config, Mode } from '../../interface';
|
||||||
|
import { createThemedClasses } from '../../utils/theme';
|
||||||
import { SPINNERS, SpinnerConfig } from './spinner-configs';
|
import { SPINNERS, SpinnerConfig } from './spinner-configs';
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Component, Element, Listen, Prop, State, Watch } from '@stencil/core';
|
import { Component, Element, Listen, Prop, State, Watch } from '@stencil/core';
|
||||||
import { createThemedClasses } from '../../utils/theme';
|
|
||||||
import { Mode, QueueController } from '../../interface';
|
import { Mode, QueueController } from '../../interface';
|
||||||
|
import { createThemedClasses } from '../../utils/theme';
|
||||||
|
|
||||||
export type TabbarLayout = 'icon-top' | 'icon-start' | 'icon-end' | 'icon-bottom' | 'icon-hide' | 'title-hide';
|
export type TabbarLayout = 'icon-top' | 'icon-start' | 'icon-end' | 'icon-bottom' | 'icon-hide' | 'title-hide';
|
||||||
export type TabbarPlacement = 'top' | 'bottom';
|
export type TabbarPlacement = 'top' | 'bottom';
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { Component, Element, Event, EventEmitter, Prop, Watch } from '@stencil/core';
|
import { Component, Element, Event, EventEmitter, Prop, Watch } from '@stencil/core';
|
||||||
|
|
||||||
|
import { InputChangeEvent, Mode, StyleEvent } from '../../interface';
|
||||||
import { debounceEvent, deferEvent } from '../../utils/helpers';
|
import { debounceEvent, deferEvent } from '../../utils/helpers';
|
||||||
import { createThemedClasses } from '../../utils/theme';
|
import { createThemedClasses } from '../../utils/theme';
|
||||||
import { TextareaComponent } from '../input/input-base';
|
import { TextareaComponent } from '../input/input-base';
|
||||||
import { InputChangeEvent, Mode, StyleEvent } from '../../interface';
|
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Component } from '@stencil/core';
|
import { Component } from '@stencil/core';
|
||||||
import { createThemedClasses } from '../../utils/theme';
|
|
||||||
import { Mode } from '../../interface';
|
import { Mode } from '../../interface';
|
||||||
|
import { createThemedClasses } from '../../utils/theme';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
||||||
import { Animation, AnimationBuilder, Config, Mode } from '../../interface';
|
import { Animation, AnimationBuilder, Config, Mode } from '../../interface';
|
||||||
|
|
||||||
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
|
||||||
import { OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
import { OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
||||||
|
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
||||||
|
|
||||||
import iosEnterAnimation from './animations/ios.enter';
|
import iosEnterAnimation from './animations/ios.enter';
|
||||||
import iosLeaveAnimation from './animations/ios.leave';
|
import iosLeaveAnimation from './animations/ios.leave';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Component, Prop } from '@stencil/core';
|
import { Component, Prop } from '@stencil/core';
|
||||||
import { createThemedClasses } from '../../utils/theme';
|
|
||||||
import { Config, Mode } from '../../interface';
|
import { Config, Mode } from '../../interface';
|
||||||
|
import { createThemedClasses } from '../../utils/theme';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { Component, Element, EventListenerEnable, Listen, Method, Prop, Watch } from '@stencil/core';
|
import { Component, Element, EventListenerEnable, Listen, Method, Prop, Watch } from '@stencil/core';
|
||||||
|
import { QueueController } from '../../interface';
|
||||||
import { Cell, DomRenderFn, HeaderFn, ItemHeightFn,
|
import { Cell, DomRenderFn, HeaderFn, ItemHeightFn,
|
||||||
ItemRenderFn, NodeHeightFn, Range,
|
ItemRenderFn, NodeHeightFn, Range,
|
||||||
VirtualNode, calcCells, calcHeightIndex, doRender,
|
VirtualNode, calcCells, calcHeightIndex, doRender,
|
||||||
findCellIndex, getRange, getShouldUpdate, getViewport,
|
findCellIndex, getRange, getShouldUpdate, getViewport,
|
||||||
inplaceUpdate, positionForIndex, resizeBuffer, updateVDom } from './virtual-scroll-utils';
|
inplaceUpdate, positionForIndex, resizeBuffer, updateVDom } from './virtual-scroll-utils';
|
||||||
import { QueueController } from '../../interface';
|
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import 'ionicons';
|
import 'ionicons';
|
||||||
import { Config } from './config';
|
|
||||||
import { isIOS } from '../utils/platform';
|
|
||||||
import { configFromURL } from '../utils/config';
|
import { configFromURL } from '../utils/config';
|
||||||
|
import { isIOS } from '../utils/platform';
|
||||||
|
import { Config } from './config';
|
||||||
|
|
||||||
const Ionic = (window as any).Ionic = (window as any).Ionic || {};
|
const Ionic = (window as any).Ionic = (window as any).Ionic || {};
|
||||||
declare const Context: any;
|
declare const Context: any;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { isAndroid, isCordova, isElectron, isIOS, isIpad, isIphone, isPhablet, isTablet, matchMedia } from './platform';
|
|
||||||
import { Config, Mode } from '../interface';
|
import { Config, Mode } from '../interface';
|
||||||
|
import { isAndroid, isCordova, isElectron, isIOS, isIpad, isIphone, isPhablet, isTablet, matchMedia } from './platform';
|
||||||
|
|
||||||
export function updateTestResults(displayWhen: DisplayWhen) {
|
export function updateTestResults(displayWhen: DisplayWhen) {
|
||||||
displayWhen.passesTest = getTestResult(displayWhen);
|
displayWhen.passesTest = getTestResult(displayWhen);
|
||||||
|
@ -5,6 +5,9 @@
|
|||||||
"no-non-null-assertion": false,
|
"no-non-null-assertion": false,
|
||||||
"no-unnecessary-type-assertion": false,
|
"no-unnecessary-type-assertion": false,
|
||||||
"prefer-for-of": false,
|
"prefer-for-of": false,
|
||||||
"no-import-side-effect": false
|
"no-import-side-effect": false,
|
||||||
|
"ordered-imports": [true, {
|
||||||
|
"named-imports-order": "lowercase-last"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user