mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix blocking TS errors
This commit is contained in:
@ -1,39 +1,39 @@
|
||||
|
||||
export * from 'ionic/components/app/app'
|
||||
export * from 'ionic/components/app/id'
|
||||
export * from 'ionic/components/action-sheet/action-sheet'
|
||||
export * from 'ionic/components/blur/blur'
|
||||
export * from 'ionic/components/button/button'
|
||||
export * from 'ionic/components/checkbox/checkbox'
|
||||
export * from 'ionic/components/content/content'
|
||||
export * from 'ionic/components/icon/icon'
|
||||
export * from 'ionic/components/item/item'
|
||||
export * from 'ionic/components/item/item-sliding'
|
||||
export * from 'ionic/components/menu/menu'
|
||||
export * from 'ionic/components/menu/menu-types'
|
||||
export * from 'ionic/components/menu/menu-toggle'
|
||||
export * from 'ionic/components/menu/menu-close'
|
||||
export * from 'ionic/components/text-input/text-input'
|
||||
export * from 'ionic/components/text-input/label'
|
||||
export * from 'ionic/components/list/list'
|
||||
export * from 'ionic/components/show-hide-when/show-hide-when'
|
||||
export * from 'ionic/components/modal/modal'
|
||||
export * from 'ionic/components/nav/nav'
|
||||
export * from 'ionic/components/nav/nav-controller'
|
||||
export * from 'ionic/components/nav/view-controller'
|
||||
export * from 'ionic/components/nav/nav-push'
|
||||
export * from 'ionic/components/nav/nav-router'
|
||||
export * from 'ionic/components/navbar/navbar'
|
||||
export * from 'ionic/components/overlay/overlay'
|
||||
export * from 'ionic/components/popup/popup'
|
||||
export * from 'ionic/components/slides/slides'
|
||||
export * from 'ionic/components/radio/radio'
|
||||
export * from 'ionic/components/scroll/scroll'
|
||||
export * from 'ionic/components/scroll/pull-to-refresh'
|
||||
export * from 'ionic/components/searchbar/searchbar'
|
||||
export * from 'ionic/components/segment/segment'
|
||||
export * from 'ionic/components/tabs/tabs'
|
||||
export * from 'ionic/components/tabs/tab'
|
||||
export * from 'ionic/components/tap-click/tap-click'
|
||||
export * from 'ionic/components/toggle/toggle'
|
||||
export * from 'ionic/components/toolbar/toolbar'
|
||||
export * from './components/app/app'
|
||||
export * from './components/app/id'
|
||||
export * from './components/action-sheet/action-sheet'
|
||||
export * from './components/blur/blur'
|
||||
export * from './components/button/button'
|
||||
export * from './components/checkbox/checkbox'
|
||||
export * from './components/content/content'
|
||||
export * from './components/icon/icon'
|
||||
export * from './components/item/item'
|
||||
export * from './components/item/item-sliding'
|
||||
export * from './components/menu/menu'
|
||||
export * from './components/menu/menu-types'
|
||||
export * from './components/menu/menu-toggle'
|
||||
export * from './components/menu/menu-close'
|
||||
export * from './components/text-input/text-input'
|
||||
export * from './components/text-input/label'
|
||||
export * from './components/list/list'
|
||||
export * from './components/show-hide-when/show-hide-when'
|
||||
export * from './components/modal/modal'
|
||||
export * from './components/nav/nav'
|
||||
export * from './components/nav/nav-controller'
|
||||
export * from './components/nav/view-controller'
|
||||
export * from './components/nav/nav-push'
|
||||
export * from './components/nav/nav-router'
|
||||
export * from './components/navbar/navbar'
|
||||
export * from './components/overlay/overlay'
|
||||
export * from './components/popup/popup'
|
||||
export * from './components/slides/slides'
|
||||
export * from './components/radio/radio'
|
||||
export * from './components/scroll/scroll'
|
||||
export * from './components/scroll/pull-to-refresh'
|
||||
export * from './components/searchbar/searchbar'
|
||||
export * from './components/segment/segment'
|
||||
export * from './components/switch/switch'
|
||||
export * from './components/tabs/tabs'
|
||||
export * from './components/tabs/tab'
|
||||
export * from './components/tap-click/tap-click'
|
||||
export * from './components/toggle/toggle'
|
||||
export * from './components/toolbar/toolbar'
|
||||
|
@ -1,6 +1,7 @@
|
||||
import {ElementRef} from 'angular2/angular2';
|
||||
import {Config} from '../config/config';
|
||||
import {isArray} from 'ionic/util';
|
||||
import * as dom from 'ionic/util/dom';
|
||||
import {isArray} from '../util';
|
||||
import * as dom from '../util/dom';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,8 +1,8 @@
|
||||
import {Hammer} from 'ionic/gestures/hammer';
|
||||
import {DragGesture} from 'ionic/gestures/drag-gesture';
|
||||
import {Hammer} from '../../gestures/hammer';
|
||||
import {DragGesture} from '../../gestures/drag-gesture';
|
||||
import {List} from '../list/list';
|
||||
|
||||
import {CSS, raf, closest} from 'ionic/util/dom';
|
||||
import {CSS, raf, closest} from '../../util/dom';
|
||||
|
||||
|
||||
export class ItemSlidingGesture extends DragGesture {
|
||||
|
@ -4,7 +4,7 @@ import {Ion} from '../ion';
|
||||
import {Config} from '../../config/config';
|
||||
import {ListVirtualScroll} from './virtual';
|
||||
import {ItemSlidingGesture} from '../item/item-sliding-gesture';
|
||||
import * as util from 'ionic/util';
|
||||
import * as util from '../../util';
|
||||
|
||||
/**
|
||||
* The List is a widely used interface element in almost any mobile app, and can include
|
||||
|
@ -1,9 +1,9 @@
|
||||
import {Menu} from './menu';
|
||||
import {SlideEdgeGesture} from '../../gestures/slide-edge-gesture';
|
||||
|
||||
import * as util from 'ionic/util';
|
||||
import * as util from '../../util';
|
||||
|
||||
class MenuContentGesture extends SlideEdgeGesture {
|
||||
export class MenuContentGesture extends SlideEdgeGesture {
|
||||
constructor(menu: Menu, targetEl: Element, options = {}) {
|
||||
|
||||
super(targetEl, util.extend({
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {Menu} from './menu';
|
||||
import {Animation} from 'ionic/animations/animation';
|
||||
import {Animation} from '../../animations/animation';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,9 +1,9 @@
|
||||
import {Injectable} from 'angular2/angular2';
|
||||
import {Injectable, Type} from 'angular2/angular2';
|
||||
|
||||
import {OverlayController} from '../overlay/overlay-controller';
|
||||
import {Config} from '../../config/config';
|
||||
import {Animation} from '../../animations/animation';
|
||||
import {extend} from 'ionic/util';
|
||||
import {extend} from '../../util';
|
||||
|
||||
/**
|
||||
* The Modal is a content pane that can go over the user's current page.
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {SlideEdgeGesture} from 'ionic/gestures/slide-edge-gesture';
|
||||
import {SlideEdgeGesture} from '../../gestures/slide-edge-gesture';
|
||||
|
||||
|
||||
export class SwipeBackGesture extends SlideEdgeGesture {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {Animation} from '../../animations/animation';
|
||||
import {extend} from 'ionic/util';
|
||||
import {extend} from '../../util';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,8 +1,8 @@
|
||||
import {Component, NgIf, NgClass, ElementRef, EventEmitter, Host} from 'angular2/angular2'
|
||||
|
||||
import {Content} from '../content/content';
|
||||
import * as util from 'ionic/util';
|
||||
import {raf, ready, CSS} from 'ionic/util/dom';
|
||||
import * as util from '../../util';
|
||||
import {raf, ready, CSS} from '../../util/dom';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -6,7 +6,7 @@ import {Gesture} from '../../gestures/gesture';
|
||||
import {CSS} from '../../util/dom';
|
||||
import {Animation} from '../../animations/animation';
|
||||
|
||||
import * as util from 'ionic/util';
|
||||
import * as util from '../../util';
|
||||
|
||||
/**
|
||||
* @name Scroll
|
||||
|
@ -3,7 +3,7 @@ import {Directive, Attribute, NgZone} from 'angular2/angular2'
|
||||
import {Platform} from '../../platform/platform';
|
||||
|
||||
|
||||
class DisplayWhen {
|
||||
export class DisplayWhen {
|
||||
|
||||
constructor(conditions, platform, ngZone) {
|
||||
this.isMatch = false;
|
||||
|
@ -1,13 +1,13 @@
|
||||
import {Directive, Component, ElementRef, Host, NgClass, EventEmitter} from 'angular2/angular2';
|
||||
|
||||
import {Ion} from '../ion';
|
||||
import {Animation} from 'ionic/animations/animation';
|
||||
import {Gesture} from 'ionic/gestures/gesture';
|
||||
import {DragGesture} from 'ionic/gestures/drag-gesture';
|
||||
import {Animation} from '../../animations/animation';
|
||||
import {Gesture} from '../../gestures/gesture';
|
||||
import {DragGesture} from '../../gestures/drag-gesture';
|
||||
import {Config} from '../../config/config';
|
||||
import {dom} from 'ionic/util';
|
||||
import {dom} from '../../util';
|
||||
import {CSS} from '../../util/dom';
|
||||
import * as util from 'ionic/util';
|
||||
import * as util from '../../util';
|
||||
|
||||
import {Swiper} from './swiper-widget';
|
||||
import {Scroll} from '../scroll/scroll';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {bootstrap, provide} from 'angular2/angular2';
|
||||
import {bootstrap, provide, Provider} from 'angular2/angular2';
|
||||
import {ROUTER_PROVIDERS, LocationStrategy, HashLocationStrategy} from 'angular2/router';
|
||||
import {HTTP_PROVIDERS} from 'angular2/http';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {CORE_DIRECTIVES, FORM_DIRECTIVES, forwardRef} from 'angular2/angular2'
|
||||
import {CORE_DIRECTIVES, FORM_DIRECTIVES, forwardRef, Type} from 'angular2/angular2'
|
||||
|
||||
import {OverlayNav} from '../components/overlay/overlay';
|
||||
import {Menu} from '../components/menu/menu';
|
||||
|
@ -1,6 +1,7 @@
|
||||
|
||||
import {Config} from './config';
|
||||
|
||||
export {}
|
||||
|
||||
// iOS Mode Settings
|
||||
Config.setModeConfig('ios', {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {Gesture} from 'ionic/gestures/gesture';
|
||||
import * as util from 'ionic/util';
|
||||
import {Gesture} from './gesture';
|
||||
import * as util from '../util';
|
||||
|
||||
|
||||
export class DragGesture extends Gesture {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import * as util from 'ionic/util';
|
||||
import {Hammer} from 'ionic/gestures/hammer';
|
||||
import * as util from '../util';
|
||||
import {Hammer} from './hammer';
|
||||
|
||||
/**
|
||||
* A gesture recognizer class.
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {SlideGesture} from 'ionic/gestures/slide-gesture';
|
||||
import {SlideGesture} from './slide-gesture';
|
||||
import {defaults} from '../util/util';
|
||||
import {windowDimensions} from '../util/dom';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {DragGesture} from 'ionic/gestures/drag-gesture';
|
||||
import * as util from 'ionic/util';
|
||||
import {DragGesture} from './drag-gesture';
|
||||
import * as util from '../util';
|
||||
|
||||
export class SlideGesture extends DragGesture {
|
||||
constructor(element, opts = {}) {
|
||||
|
@ -1,14 +1,12 @@
|
||||
|
||||
export * from './config/bootstrap'
|
||||
export * from './config/config'
|
||||
export * from './config/modes'
|
||||
export * from './config/decorators'
|
||||
export * from './config/directives'
|
||||
|
||||
export * from './components'
|
||||
|
||||
export * from './platform/platform'
|
||||
export * from './platform/registry'
|
||||
export * from './platform/storage'
|
||||
|
||||
export * from './util/click-block'
|
||||
@ -16,9 +14,15 @@ export * from './util/events'
|
||||
export * from './util/keyboard'
|
||||
|
||||
export * from './animations/animation'
|
||||
export * from './animations/builtins'
|
||||
export * from './animations/ios-transition'
|
||||
export * from './animations/md-transition'
|
||||
|
||||
|
||||
export * from './translation/translate'
|
||||
export * from './translation/translate_pipe'
|
||||
|
||||
// these modules don't export anything
|
||||
import './config/modes'
|
||||
import './platform/registry'
|
||||
import './animations/builtins'
|
||||
import './animations/ios-transition'
|
||||
import './animations/md-transition'
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import {StorageEngine} from './storage';
|
||||
|
||||
import * as util from 'ionic/util';
|
||||
import * as util from '../util';
|
||||
|
||||
const DB_NAME = '__ionicstorage';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import * as domUtil from 'ionic/util/dom'
|
||||
import * as domUtil from './util/dom'
|
||||
export const dom = domUtil
|
||||
|
||||
export * from 'ionic/util/util'
|
||||
export * from './util/util'
|
||||
|
Reference in New Issue
Block a user