mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
chore(): update to angular 7
This commit is contained in:

committed by
Manu MA

parent
5d0050157e
commit
3ac05214f1
@ -47,20 +47,20 @@
|
|||||||
"@ionic/core": "4.0.0-beta.15"
|
"@ionic/core": "4.0.0-beta.15"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/common": "^6.1.0",
|
"@angular/common": "^7.0.3",
|
||||||
"@angular/compiler": "^6.1.0",
|
"@angular/compiler": "^7.0.3",
|
||||||
"@angular/compiler-cli": "^6.1.0",
|
"@angular/compiler-cli": "^7.0.3",
|
||||||
"@angular/core": "^6.1.0",
|
"@angular/core": "^7.0.3",
|
||||||
"@angular/forms": "^6.1.0",
|
"@angular/forms": "^7.0.3",
|
||||||
"@angular/platform-browser": "^6.1.0",
|
"@angular/platform-browser": "^7.0.3",
|
||||||
"@angular/platform-browser-dynamic": "^6.1.0",
|
"@angular/platform-browser-dynamic": "^7.0.3",
|
||||||
"@angular/router": "^6.1.0",
|
"@angular/router": "^7.0.3",
|
||||||
"fs-extra": "^7.0.0",
|
"fs-extra": "^7.0.0",
|
||||||
"glob": "^7.1.2",
|
"glob": "^7.1.2",
|
||||||
"rxjs": "^6.2.0",
|
"rxjs": "^6.2.0",
|
||||||
"tslint": "^5.10.0",
|
"tslint": "^5.10.0",
|
||||||
"tslint-ionic-rules": "0.0.17",
|
"tslint-ionic-rules": "0.0.17",
|
||||||
"typescript": "2.9.2",
|
"typescript": "3.1.6",
|
||||||
"zone.js": "^0.8.26"
|
"zone.js": "^0.8.26"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,6 @@ const DECLARATIONS = [
|
|||||||
d.CardTitle,
|
d.CardTitle,
|
||||||
d.Checkbox,
|
d.Checkbox,
|
||||||
d.Chip,
|
d.Chip,
|
||||||
d.ChipButton,
|
|
||||||
d.ChipIcon,
|
|
||||||
d.Col,
|
d.Col,
|
||||||
d.Content,
|
d.Content,
|
||||||
d.Datetime,
|
d.Datetime,
|
||||||
|
@ -89,9 +89,9 @@ export class NavController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private guessDirection() {
|
private guessDirection() {
|
||||||
const index = this.stack.indexOf(document.location.href);
|
const index = this.stack.indexOf(document.location!.href);
|
||||||
if (index === -1) {
|
if (index === -1) {
|
||||||
this.stack.push(document.location.href);
|
this.stack.push(document.location!.href);
|
||||||
return 1;
|
return 1;
|
||||||
} else if (index < this.stack.length - 1) {
|
} else if (index < this.stack.length - 1) {
|
||||||
this.stack = this.stack.slice(0, index + 1);
|
this.stack = this.stack.slice(0, index + 1);
|
||||||
|
4
core/src/components.d.ts
vendored
4
core/src/components.d.ts
vendored
@ -1612,7 +1612,7 @@ export namespace Components {
|
|||||||
/**
|
/**
|
||||||
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
||||||
*/
|
*/
|
||||||
'autocapitalize': 'on' | 'off' | 'words' | 'characters';
|
'autocapitalize': string;
|
||||||
/**
|
/**
|
||||||
* Indicates whether the value of the control can be automatically completed by the browser.
|
* Indicates whether the value of the control can be automatically completed by the browser.
|
||||||
*/
|
*/
|
||||||
@ -1730,7 +1730,7 @@ export namespace Components {
|
|||||||
/**
|
/**
|
||||||
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
||||||
*/
|
*/
|
||||||
'autocapitalize'?: 'on' | 'off' | 'words' | 'characters';
|
'autocapitalize'?: string;
|
||||||
/**
|
/**
|
||||||
* Indicates whether the value of the control can be automatically completed by the browser.
|
* Indicates whether the value of the control can be automatically completed by the browser.
|
||||||
*/
|
*/
|
||||||
|
@ -42,7 +42,7 @@ export class Input implements ComponentInterface {
|
|||||||
/**
|
/**
|
||||||
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
||||||
*/
|
*/
|
||||||
@Prop() autocapitalize: 'on' | 'off' | 'words' | 'characters' = 'off';
|
@Prop() autocapitalize = 'off';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates whether the value of the control can be automatically completed by the browser.
|
* Indicates whether the value of the control can be automatically completed by the browser.
|
||||||
|
@ -13,7 +13,7 @@ It is meant for text `type` inputs only, such as `"text"`, `"password"`, `"email
|
|||||||
| Property | Attribute | Description | Type | Default |
|
| Property | Attribute | Description | Type | Default |
|
||||||
| ---------------- | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -------------- |
|
| ---------------- | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -------------- |
|
||||||
| `accept` | `accept` | If the value of the type attribute is `"file"`, then this attribute will indicate the types of files that the server accepts, otherwise it will be ignored. The value must be a comma-separated list of unique content type specifiers. | `string \| undefined` | `undefined` |
|
| `accept` | `accept` | If the value of the type attribute is `"file"`, then this attribute will indicate the types of files that the server accepts, otherwise it will be ignored. The value must be a comma-separated list of unique content type specifiers. | `string \| undefined` | `undefined` |
|
||||||
| `autocapitalize` | `autocapitalize` | Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. | `"characters" \| "off" \| "on" \| "words"` | `'off'` |
|
| `autocapitalize` | `autocapitalize` | Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. | `string` | `'off'` |
|
||||||
| `autocomplete` | `autocomplete` | Indicates whether the value of the control can be automatically completed by the browser. | `"off" \| "on"` | `'off'` |
|
| `autocomplete` | `autocomplete` | Indicates whether the value of the control can be automatically completed by the browser. | `"off" \| "on"` | `'off'` |
|
||||||
| `autocorrect` | `autocorrect` | Whether auto correction should be enabled when the user is entering/editing the text value. | `"off" \| "on"` | `'off'` |
|
| `autocorrect` | `autocorrect` | Whether auto correction should be enabled when the user is entering/editing the text value. | `"off" \| "on"` | `'off'` |
|
||||||
| `autofocus` | `autofocus` | This Boolean attribute lets you specify that a form control should have input focus when the page loads. | `boolean` | `false` |
|
| `autofocus` | `autofocus` | This Boolean attribute lets you specify that a form control should have input focus when the page loads. | `boolean` | `false` |
|
||||||
|
Reference in New Issue
Block a user