chore(): update angular

This commit is contained in:
Manu Mtz.-Almeida
2018-08-08 11:13:39 +02:00
parent dc500035ed
commit bae03d2d1c
4 changed files with 91 additions and 86 deletions

View File

@ -1,4 +1,5 @@
/* auto-generated angular directive proxies */ /* auto-generated angular directive proxies */
/* tslint:disable */
import { Directive, ElementRef, EventEmitter } from '@angular/core'; import { Directive, ElementRef, EventEmitter } from '@angular/core';
export function proxyInputs(instance: any, el: ElementRef, props: string[]) { export function proxyInputs(instance: any, el: ElementRef, props: string[]) {
@ -140,10 +141,10 @@ export class ChipButton {
} }
export declare interface ChipIcon extends StencilComponents.IonChipIcon {} export declare interface ChipIcon extends StencilComponents.IonChipIcon {}
@Directive({selector: 'ion-chip-icon', inputs: ['color', 'mode', 'name']}) @Directive({ selector: 'ion-chip-icon', inputs: ['color', 'mode', 'name', 'src'] })
export class ChipIcon { export class ChipIcon {
constructor(r: ElementRef) { constructor(r: ElementRef) {
proxyInputs(this, r, ['color', 'mode', 'name']); proxyInputs(this, r, ['color', 'mode', 'name', 'src']);
} }
} }
@ -165,13 +166,14 @@ export class Content {
} }
export declare interface Datetime extends StencilComponents.IonDatetime {} export declare interface Datetime extends StencilComponents.IonDatetime {}
@Directive({selector: 'ion-datetime', inputs: ['disabled', 'min', 'max', 'displayFormat', 'pickerFormat', 'cancelText', 'doneText', 'yearValues', 'monthValues', 'dayValues', 'hourValues', 'minuteValues', 'monthNames', 'monthShortNames', 'dayNames', 'dayShortNames', 'pickerOptions', 'placeholder', 'value'], outputs: ['ionCancel', 'ionStyle']}) @Directive({ selector: 'ion-datetime', inputs: ['disabled', 'min', 'max', 'displayFormat', 'pickerFormat', 'cancelText', 'doneText', 'yearValues', 'monthValues', 'dayValues', 'hourValues', 'minuteValues', 'monthNames', 'monthShortNames', 'dayNames', 'dayShortNames', 'pickerOptions', 'placeholder', 'value'], outputs: ['ionCancel', 'ionChange', 'ionStyle'] })
export class Datetime { export class Datetime {
ionCancel: EventEmitter<any>; ionCancel: EventEmitter<any>;
ionChange: EventEmitter<any>;
ionStyle: EventEmitter<any>; ionStyle: EventEmitter<any>;
constructor(r: ElementRef) { constructor(r: ElementRef) {
proxyInputs(this, r, ['disabled', 'min', 'max', 'displayFormat', 'pickerFormat', 'cancelText', 'doneText', 'yearValues', 'monthValues', 'dayValues', 'hourValues', 'minuteValues', 'monthNames', 'monthShortNames', 'dayNames', 'dayShortNames', 'pickerOptions', 'placeholder', 'value']); proxyInputs(this, r, ['disabled', 'min', 'max', 'displayFormat', 'pickerFormat', 'cancelText', 'doneText', 'yearValues', 'monthValues', 'dayValues', 'hourValues', 'minuteValues', 'monthNames', 'monthShortNames', 'dayNames', 'dayShortNames', 'pickerOptions', 'placeholder', 'value']);
proxyOutputs(this, ['ionCancel', 'ionStyle']); proxyOutputs(this, ['ionCancel', 'ionChange', 'ionStyle']);
} }
} }
@ -326,11 +328,12 @@ export class ItemOptions {
} }
export declare interface ItemSliding extends StencilComponents.IonItemSliding {} export declare interface ItemSliding extends StencilComponents.IonItemSliding {}
@Directive({selector: 'ion-item-sliding', outputs: ['ionDrag']}) @Directive({ selector: 'ion-item-sliding', inputs: ['disabled'], outputs: ['ionDrag'] })
export class ItemSliding { export class ItemSliding {
ionDrag: EventEmitter<any>; ionDrag: EventEmitter<any>;
constructor(r: ElementRef) { constructor(r: ElementRef) {
proxyMethods(this, r, ['getOpenAmount', 'getSlidingRatio', 'close', 'closeOpened']); proxyMethods(this, r, ['getOpenAmount', 'getSlidingRatio', 'close', 'closeOpened']);
proxyInputs(this, r, ['disabled']);
proxyOutputs(this, ['ionDrag']); proxyOutputs(this, ['ionDrag']);
} }
} }
@ -399,7 +402,7 @@ export class Nav {
ionNavWillChange: EventEmitter<any>; ionNavWillChange: EventEmitter<any>;
ionNavDidChange: EventEmitter<any>; ionNavDidChange: EventEmitter<any>;
constructor(r: ElementRef) { constructor(r: ElementRef) {
proxyMethods(this, r, ['push', 'insert', 'insertPages', 'pop', 'popTo', 'popToRoot', 'removeIndex', 'setRoot', 'setPages', 'setRouteId', 'getRouteId', 'canGoBack', 'getActive', 'getByIndex', 'getPrevious', 'isAnimating', 'length']); proxyMethods(this, r, ['push', 'insert', 'insertPages', 'pop', 'popTo', 'popToRoot', 'removeIndex', 'setRoot', 'setPages', 'setRouteId', 'getRouteId', 'canGoBack', 'getActive', 'getByIndex', 'getPrevious', 'isAnimating', 'getLength']);
proxyInputs(this, r, ['swipeBackEnabled', 'animated', 'delegate', 'rootParams', 'root']); proxyInputs(this, r, ['swipeBackEnabled', 'animated', 'delegate', 'rootParams', 'root']);
proxyOutputs(this, ['ionNavWillLoad', 'ionNavWillChange', 'ionNavDidChange']); proxyOutputs(this, ['ionNavWillLoad', 'ionNavWillChange', 'ionNavDidChange']);
} }

View File

@ -3,7 +3,9 @@ const path = require('path');
const cleanDirs = [ const cleanDirs = [
'dist' 'dist',
'css',
'.stencil'
]; ];
cleanDirs.forEach(dir => { cleanDirs.forEach(dir => {

View File

@ -111,6 +111,9 @@ Gets the active view
Returns the view at the index Returns the view at the index
#### getLength()
#### getPrevious() #### getPrevious()
Gets the previous view Gets the previous view
@ -134,9 +137,6 @@ Inserts an array of components into the nav stack at the specified index. The la
Returns the length of navigation stack Returns the length of navigation stack
#### length()
#### pop() #### pop()
Call to navigate back from a current component. Similar to push(), you can also pass navigation options. Call to navigate back from a current component. Similar to push(), you can also pass navigation options.

View File

@ -66,7 +66,7 @@ AnimationBuilder
Animation to use when the popover is presented. Animation to use when the popover is presented.
#### ev #### event
any any
@ -171,7 +171,7 @@ If true, the popover will be dismissed when the backdrop is clicked. Defaults to
Animation to use when the popover is presented. Animation to use when the popover is presented.
#### ev #### event
any any