mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 09:34:19 +08:00
test(routing): fix test
This commit is contained in:
@ -1,166 +0,0 @@
|
||||
/**
|
||||
* This is an autogenerated file created by the Stencil build process.
|
||||
* It contains typing information for all components that exist in this project
|
||||
* and imports for stencil collections that might be configured in your stencil.config.js file
|
||||
*/
|
||||
|
||||
|
||||
declare global {
|
||||
interface HTMLStencilElement extends HTMLElement {
|
||||
componentOnReady(): Promise<this>;
|
||||
componentOnReady(done: (ele?: this) => void): void;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
import {
|
||||
PageOne as PageOne
|
||||
} from './components/page-one/page-one';
|
||||
|
||||
declare global {
|
||||
interface HTMLPageOneElement extends PageOne, HTMLStencilElement {
|
||||
}
|
||||
var HTMLPageOneElement: {
|
||||
prototype: HTMLPageOneElement;
|
||||
new (): HTMLPageOneElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"page-one": HTMLPageOneElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"page-one": HTMLPageOneElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"page-one": JSXElements.PageOneAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface PageOneAttributes extends HTMLAttributes {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
PageTwo as PageTwo
|
||||
} from './components/page-two/page-two';
|
||||
|
||||
declare global {
|
||||
interface HTMLPageTwoElement extends PageTwo, HTMLStencilElement {
|
||||
}
|
||||
var HTMLPageTwoElement: {
|
||||
prototype: HTMLPageTwoElement;
|
||||
new (): HTMLPageTwoElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"page-two": HTMLPageTwoElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"page-two": HTMLPageTwoElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"page-two": JSXElements.PageTwoAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface PageTwoAttributes extends HTMLAttributes {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
TabOne as TabOne
|
||||
} from './components/tab-one/tab-one';
|
||||
|
||||
declare global {
|
||||
interface HTMLTabOneElement extends TabOne, HTMLStencilElement {
|
||||
}
|
||||
var HTMLTabOneElement: {
|
||||
prototype: HTMLTabOneElement;
|
||||
new (): HTMLTabOneElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"tab-one": HTMLTabOneElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"tab-one": HTMLTabOneElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"tab-one": JSXElements.TabOneAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface TabOneAttributes extends HTMLAttributes {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
TabThree as TabThree
|
||||
} from './components/tab-three/tab-three';
|
||||
|
||||
declare global {
|
||||
interface HTMLTabThreeElement extends TabThree, HTMLStencilElement {
|
||||
}
|
||||
var HTMLTabThreeElement: {
|
||||
prototype: HTMLTabThreeElement;
|
||||
new (): HTMLTabThreeElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"tab-three": HTMLTabThreeElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"tab-three": HTMLTabThreeElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"tab-three": JSXElements.TabThreeAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface TabThreeAttributes extends HTMLAttributes {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
import {
|
||||
TabTwo as TabTwo
|
||||
} from './components/tab-two/tab-two';
|
||||
|
||||
declare global {
|
||||
interface HTMLTabTwoElement extends TabTwo, HTMLStencilElement {
|
||||
}
|
||||
var HTMLTabTwoElement: {
|
||||
prototype: HTMLTabTwoElement;
|
||||
new (): HTMLTabTwoElement;
|
||||
};
|
||||
interface HTMLElementTagNameMap {
|
||||
"tab-two": HTMLTabTwoElement;
|
||||
}
|
||||
interface ElementTagNameMap {
|
||||
"tab-two": HTMLTabTwoElement;
|
||||
}
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
"tab-two": JSXElements.TabTwoAttributes;
|
||||
}
|
||||
}
|
||||
namespace JSXElements {
|
||||
export interface TabTwoAttributes extends HTMLAttributes {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
declare global { namespace JSX { interface StencilJSX {} } }
|
@ -1,21 +0,0 @@
|
||||
import { Component } from '@stencil/core';
|
||||
|
||||
@Component({
|
||||
tag: 'page-one',
|
||||
})
|
||||
export class PageOne {
|
||||
|
||||
render() {
|
||||
return [
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>Page One</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>,
|
||||
<ion-content>
|
||||
page one
|
||||
<a href='#/two/second-page'>Ir a la page 2</a>
|
||||
</ion-content>
|
||||
];
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
import { Component } from '@stencil/core';
|
||||
|
||||
@Component({
|
||||
tag: 'page-two',
|
||||
})
|
||||
export class PageTwo {
|
||||
|
||||
render() {
|
||||
return [
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>Page Two</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>,
|
||||
<ion-content>
|
||||
this is page two
|
||||
</ion-content>
|
||||
];
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
import { Component } from '@stencil/core';
|
||||
|
||||
@Component({
|
||||
tag: 'tab-one',
|
||||
})
|
||||
export class TabOne {
|
||||
|
||||
render() {
|
||||
return [
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>Page One</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>,
|
||||
<ion-content>
|
||||
tab one
|
||||
</ion-content>
|
||||
];
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
import { Component } from '@stencil/core';
|
||||
|
||||
@Component({
|
||||
tag: 'tab-three',
|
||||
})
|
||||
export class TabThree {
|
||||
|
||||
render() {
|
||||
return [
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>Tab 3</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>,
|
||||
<ion-content>
|
||||
tab three
|
||||
</ion-content>
|
||||
];
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
import { Component } from '@stencil/core';
|
||||
|
||||
@Component({
|
||||
tag: 'tab-two',
|
||||
})
|
||||
export class TabTwo {
|
||||
|
||||
render() {
|
||||
return [
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>Tab two (2)</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>,
|
||||
<ion-content>
|
||||
<ion-nav></ion-nav>
|
||||
</ion-content>
|
||||
];
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
exports.config = {
|
||||
generateWWW: true,
|
||||
wwwDir: '../../test-components',
|
||||
serviceWorker: false
|
||||
};
|
@ -1,22 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"allowUnreachableCode": false,
|
||||
"declaration": false,
|
||||
"experimentalDecorators": true,
|
||||
"lib": [
|
||||
"dom",
|
||||
"es2015"
|
||||
],
|
||||
"moduleResolution": "node",
|
||||
"module": "es2015",
|
||||
"target": "es2015",
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"jsx": "react",
|
||||
"jsxFactory": "h"
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user