2 |
3 |
404
4 |
{{'DEMO.ERROR.WORD' | translate}}
5 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-error/main-error.component.ts:
--------------------------------------------------------------------------------
1 | import {Location} from '@angular/common';
2 | import {Component, OnInit} from '@angular/core';
3 |
4 | @Component({
5 | selector: 'free-main-error',
6 | templateUrl: './main-error.component.html',
7 | styleUrls: ['./main-error.component.css']
8 | })
9 | export class MainErrorComponent implements OnInit {
10 | pageTitle = '404 Page';
11 | constructor(public location: Location) { }
12 |
13 | ngOnInit() {
14 | }
15 |
16 | goToBack() {
17 | this.location.back();
18 | }
19 |
20 | }
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/app/democase/main-error/main-error.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {GridModule} from '../../component/grid/grid.directive';
4 | import {IconModule} from '../../component/icon/icon.component';
5 | import {MainErrorRoutingModule} from './main-error-routing.module';
6 | import {MainErrorComponent} from './main-error.component';
7 | import {LanguageModule} from '../common/language';
8 |
9 | @NgModule({
10 | imports: [
11 | CommonModule,
12 | MainErrorRoutingModule,
13 | GridModule,
14 | IconModule,
15 | LanguageModule
16 | ],
17 | declarations: [MainErrorComponent]
18 | })
19 |
20 | export class MainErrorModule {}
21 |
--------------------------------------------------------------------------------
/src/app/democase/main-flow/main-flow-routing.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import {RouterModule} from '@angular/router';
3 | import {MainFlowComponent} from './main-flow.component';
4 |
5 | @NgModule({
6 | imports: [
7 | RouterModule.forChild([
8 | {path: '', component: MainFlowComponent}
9 | ])
10 | ],
11 | exports: [RouterModule]
12 | })
13 | export class MainFlowRoutingModule { }
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-flow/main-flow.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ free-flow .flow-item {
2 | display: inline-block;
3 | margin: 0 5px;
4 | font-size: 14px;
5 | width: 47%;
6 | margin-bottom: 10px;
7 | min-height: 100px;
8 | line-height: 100px;
9 | text-align: center;
10 | background-color: #eee; }
11 | :host /deep/ free-flow .flow-item img {
12 | display: block;
13 | width: 100%;
14 | height: 120px; }
15 |
16 | /*# sourceMappingURL=main-flow.component.css.map */
17 |
--------------------------------------------------------------------------------
/src/app/democase/main-flow/main-flow.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | free-flow .flow-item {
3 | display: inline-block;
4 | margin: 0 5px;
5 | font-size: 14px;
6 | width: 47%;
7 | margin-bottom: 10px;
8 | min-height: 100px;
9 | line-height: 100px;
10 | text-align: center;
11 | background-color: #eee;
12 |
13 | img {
14 | display: block;
15 | width: 100%;
16 | height: 120px;
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/src/app/democase/main-flow/main-flow.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {GridModule} from '../../component/grid/grid.directive';
4 | import {TableModule} from '../../component/table/table.component';
5 | import {CodeModule} from '../../component/code/code.component';
6 | import {TabGroupModule} from '../../component/tab/tab.component';
7 | import {MainFlowRoutingModule} from './main-flow-routing.module';
8 | import {MainFlowComponent} from './main-flow.component';
9 | import {FlowModule} from '../../component/flow/flow.component';
10 | import {LanguageModule} from '../common/language';
11 |
12 | @NgModule({
13 | imports: [
14 | CommonModule,
15 | TabGroupModule,
16 | CodeModule,
17 | TableModule,
18 | GridModule,
19 | FlowModule,
20 | MainFlowRoutingModule,
21 | LanguageModule
22 | ],
23 | declarations: [MainFlowComponent]
24 | })
25 | export class MainFlowModule {}
26 |
--------------------------------------------------------------------------------
/src/app/democase/main-form/main-form-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {RouterModule} from '@angular/router';
3 | import {MainFormComponent} from './main-form.component';
4 | import {NgModule} from '@angular/core';
5 | @NgModule({
6 | imports: [RouterModule.forChild([
7 | {path: '', component: MainFormComponent}
8 | ])],
9 | exports: [RouterModule]
10 | })
11 |
12 | export class MainFormRoutingModule {}
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-form/main-form.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ .input-pattern p {
2 | width: 100%; }
3 | :host /deep/ .input-pattern p free-inputtext {
4 | width: 40%;
5 | display: block; }
6 |
7 | /*# sourceMappingURL=main-form.component.css.map */
8 |
--------------------------------------------------------------------------------
/src/app/democase/main-form/main-form.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | .input-pattern p {
3 | width: 100%;
4 |
5 | free-inputtext {
6 | width: 40%;
7 | display: block;
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/src/app/democase/main-form/main-form.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-form',
6 | templateUrl: './main-form.component.html',
7 | styleUrls: ['./main-form.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainFormComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | value: string;
15 | pageTitle = 'Components-Inputtext';
16 | constructor() { }
17 |
18 | ngOnInit() {
19 | }
20 |
21 | }
22 |
23 |
--------------------------------------------------------------------------------
/src/app/democase/main-fullpage/main-fullpage-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {MainFullpageComponent} from './main-fullpage.component';
4 | @NgModule({
5 | imports: [RouterModule.forChild([
6 | {path: '', component: MainFullpageComponent}
7 | ])],
8 | exports: [RouterModule]
9 | })
10 |
11 | export class MainFullpageRoutingModule {}
12 |
--------------------------------------------------------------------------------
/src/app/democase/main-fullpage/main-fullpage.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ .fullpage,
2 | :host /deep/ .fullpage img {
3 | display: block;
4 | width: 100%;
5 | height: 100%; }
6 |
7 | /*# sourceMappingURL=main-fullpage.component.css.map */
8 |
--------------------------------------------------------------------------------
/src/app/democase/main-fullpage/main-fullpage.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | .fullpage,
3 | .fullpage img{
4 | display: block;
5 | width: 100%;
6 | height: 100%;
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/src/app/democase/main-fullpage/main-fullpage.component.ts:
--------------------------------------------------------------------------------
1 | import { Component, OnInit } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'free-main-fullpage',
5 | templateUrl: './main-fullpage.component.html',
6 | styleUrls: ['./main-fullpage.component.css']
7 | })
8 | export class MainFullpageComponent implements OnInit {
9 | pageTitle = 'Components-Fullpage';
10 | constructor() { }
11 |
12 | ngOnInit() {
13 | }
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-fullpage/review-fullpage-routing.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {ReviewFullpageComponent} from './review-fullpage.component';
4 | @NgModule({
5 | imports: [RouterModule.forChild([
6 | {path: '', component: ReviewFullpageComponent}
7 | ])],
8 | exports: [RouterModule]
9 | })
10 |
11 | export class ReviewFullpageRoutingModule {}
12 |
--------------------------------------------------------------------------------
/src/app/democase/main-fullpage/review-fullpage.module.ts:
--------------------------------------------------------------------------------
1 | import {CommonModule} from '@angular/common';
2 | import {NgModule} from '@angular/core';
3 | import {ReviewFullpageRoutingModule} from './review-fullpage-routing';
4 | import {ReviewFullpageComponent} from './review-fullpage.component';
5 | import {FullpageModule} from '../../component/fullpage/fullpage.component';
6 |
7 | @NgModule({
8 | imports: [
9 | CommonModule,
10 | FullpageModule,
11 | ReviewFullpageRoutingModule
12 | ],
13 | declarations: [ReviewFullpageComponent]
14 | })
15 |
16 | export class ReviewFullpageModule {}
17 |
--------------------------------------------------------------------------------
/src/app/democase/main-grid/main-grid-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {RouterModule} from '@angular/router';
3 | import {NgModule} from '@angular/core';
4 | import {MainGridComponent} from './main-grid.component';
5 |
6 | @NgModule({
7 | imports: [RouterModule.forChild([
8 | {path: '', component: MainGridComponent}
9 | ])],
10 | exports: [RouterModule]
11 | })
12 |
13 | export class MainGridRoutingModule {}
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-grid/main-grid.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ table {
2 | line-height: 1rem; }
3 |
4 | /*# sourceMappingURL=main-grid.component.css.map */
5 |
--------------------------------------------------------------------------------
/src/app/democase/main-grid/main-grid.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | table {
3 | line-height: 1rem;
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/src/app/democase/main-grid/main-grid.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-grid',
6 | templateUrl: './main-grid.component.html',
7 | styleUrls: ['./main-grid.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainGridComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') state;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'UI Element-Grid';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/app/democase/main-grid/main-grid.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {GridModule} from '../../component/grid/grid.directive';
4 | import {TableModule} from '../../component/table/table.component';
5 | import {TabGroupModule} from '../../component/tab/tab.component';
6 | import {CodeModule} from '../../component/code/code.component';
7 | import {MainGridRoutingModule} from './main-grid-routing.module';
8 | import {MainGridComponent} from './main-grid.component';
9 | import {LanguageModule} from '../common/language';
10 |
11 | @NgModule({
12 | imports: [
13 | CommonModule,
14 | MainGridRoutingModule,
15 | GridModule,
16 | TableModule,
17 | TabGroupModule,
18 | CodeModule,
19 | LanguageModule
20 | ],
21 | declarations: [MainGridComponent]
22 | })
23 |
24 | export class MainGridModule {}
25 |
--------------------------------------------------------------------------------
/src/app/democase/main-icon/main-icon-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainIconComponent} from './main-icon.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainIconComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainIconRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-icon/main-icon.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ free-icon {
2 | display: inline-flex;
3 | align-items: center;
4 | justify-content: center;
5 | border-radius: 50%;
6 | margin: 0 .5rem .5rem 0; }
7 |
8 | /*# sourceMappingURL=main-icon.component.css.map */
9 |
--------------------------------------------------------------------------------
/src/app/democase/main-icon/main-icon.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 |
3 | free-icon {
4 | display: inline-flex;
5 | align-items: center;
6 | justify-content: center;
7 | border-radius: 50%;
8 | margin: 0 .5rem .5rem 0;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/src/app/democase/main-icon/main-icon.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-icon',
6 | templateUrl: './main-icon.component.html',
7 | styleUrls: ['./main-icon.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainIconComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Icon';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/src/app/democase/main-icon/main-icon.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {TableModule} from '../../component/table/table.component';
4 | import {CodeModule} from '../../component/code/code.component';
5 | import {TabGroupModule} from '../../component/tab/tab.component';
6 | import {IconModule} from '../../component/icon/icon.component';
7 | import {GridModule} from '../../component/grid/grid.directive';
8 | import {MainIconRoutingModule} from './main-icon-routing.module';
9 | import {MainIconComponent} from './main-icon.component';
10 | import {LanguageModule} from '../common/language';
11 |
12 | @NgModule({
13 | imports: [
14 | CommonModule,
15 | MainIconRoutingModule,
16 | TabGroupModule,
17 | CodeModule,
18 | TableModule,
19 | IconModule,
20 | GridModule,
21 | LanguageModule
22 | ],
23 | declarations: [MainIconComponent]
24 | })
25 |
26 | export class MainIconModule {}
27 |
--------------------------------------------------------------------------------
/src/app/democase/main-image/main-image-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {RouterModule} from '@angular/router';
3 | import {NgModule} from '@angular/core';
4 | import {MainImageComponent} from './main-image.component';
5 |
6 | @NgModule({
7 | imports: [RouterModule.forChild([
8 | {path: '', component: MainImageComponent}
9 | ])],
10 | exports: [RouterModule]
11 | })
12 |
13 | export class MainImageRoutingModule {}
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-image/main-image.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ img {
2 | width: 5rem;
3 | height: 5rem;
4 | margin: 0 .5rem .5rem 0; }
5 | :host /deep/ img.img-ellipse {
6 | width: 8rem; }
7 |
8 | /*# sourceMappingURL=main-image.component.css.map */
9 |
--------------------------------------------------------------------------------
/src/app/democase/main-image/main-image.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | img {
3 | width: 5rem;
4 | height: 5rem;
5 | margin: 0 .5rem .5rem 0;
6 | }
7 | img.img-ellipse {
8 | width: 8rem;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/src/app/democase/main-image/main-image.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-image',
6 | templateUrl: './main-image.component.html',
7 | styleUrls: ['./main-image.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainImageComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Image';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/src/app/democase/main-image/main-image.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {TableModule} from '../../component/table/table.component';
4 | import {CodeModule} from '../../component/code/code.component';
5 | import {TabGroupModule} from '../../component/tab/tab.component';
6 | import {GridModule} from '../../component/grid/grid.directive';
7 | import {MainImageRoutingModule} from './main-image-routing.module';
8 | import {MainImageComponent} from './main-image.component';
9 | import {LanguageModule} from '../common/language';
10 |
11 | @NgModule({
12 | imports: [
13 | CommonModule,
14 | MainImageRoutingModule,
15 | TabGroupModule,
16 | CodeModule,
17 | TableModule,
18 | GridModule,
19 | LanguageModule
20 | ],
21 | declarations: [MainImageComponent]
22 | })
23 |
24 | export class MainImageModule {}
25 |
--------------------------------------------------------------------------------
/src/app/democase/main-knob/main-knob-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {RouterModule} from '@angular/router';
3 | import {NgModule} from '@angular/core';
4 | import {MainKnobComponent} from './main-knob.component';
5 |
6 | @NgModule({
7 | imports: [RouterModule.forChild([
8 | {path: '', component: MainKnobComponent}
9 | ])],
10 | exports: [RouterModule]
11 | })
12 |
13 | export class MainKnobRoutingModule {}
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-knob/main-knob.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-knob.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-knob/main-knob.component.scss:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/app/democase/main-knob/main-knob.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-knob',
6 | templateUrl: './main-knob.component.html',
7 | styleUrls: ['./main-knob.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainKnobComponent implements OnInit {
11 | @HostBinding('@fadeInUpState') fadeInUpState;
12 | @HostBinding('style.display') display = 'block';
13 | percent: number;
14 | pageTitle = 'Components-Knob';
15 | constructor() {
16 | this.percent = 80;
17 | }
18 |
19 | ngOnInit() {
20 | }
21 |
22 | }
23 |
24 |
--------------------------------------------------------------------------------
/src/app/democase/main-list/main-list-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainListComponent} from './main-list.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainListComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainListRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-list/main-list.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ .free-box {
2 | flex: 1 0 auto;
3 | margin-bottom: .75rem;
4 | border-radius: 2px;
5 | box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12); }
6 |
7 | /*# sourceMappingURL=main-list.component.css.map */
8 |
--------------------------------------------------------------------------------
/src/app/democase/main-list/main-list.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | .free-box {
3 | flex: 1 0 auto;
4 | margin-bottom: .75rem;
5 | border-radius: 2px;
6 | box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/src/app/democase/main-list/main-list.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-list',
6 | templateUrl: './main-list.component.html',
7 | styleUrls: ['./main-list.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainListComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 |
15 | pageTitle = 'Components-List';
16 | constructor() {
17 | }
18 |
19 | ngOnInit() {
20 | }
21 |
22 | }
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/app/democase/main-loading/main-loading-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainLoadingComponent} from './main-loading.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainLoadingComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainLoadingRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-loading/main-loading.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-loading.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-loading/main-loading.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-loading/main-loading.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-loading/main-loading.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-loading',
6 | templateUrl: './main-loading.component.html',
7 | styleUrls: ['./main-loading.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainLoadingComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Loading';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/app/democase/main-media/main-media-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {MainMediaComponent} from './main-media.component';
4 |
5 | @NgModule({
6 | imports: [RouterModule.forChild([
7 | {path: '', component: MainMediaComponent}
8 | ])],
9 | exports: [RouterModule]
10 | })
11 |
12 |
13 | export class MainMediaRoutingModule {}
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-media/main-media.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ free-media {
2 | margin: 20px 20px 0 0; }
3 |
4 | /*# sourceMappingURL=main-media.component.css.map */
5 |
--------------------------------------------------------------------------------
/src/app/democase/main-media/main-media.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | free-media {
3 | margin: 20px 20px 0 0;
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/src/app/democase/main-modal/main-modal-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainModalComponent} from './main-modal.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainModalComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainModalRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-modal/main-modal.component.css:
--------------------------------------------------------------------------------
1 | .modal-btn button {
2 | margin-bottom: 10px; }
3 |
4 | /*# sourceMappingURL=main-modal.component.css.map */
5 |
--------------------------------------------------------------------------------
/src/app/democase/main-modal/main-modal.component.scss:
--------------------------------------------------------------------------------
1 |
2 | .modal-btn button {
3 | margin-bottom: 10px;
4 | }
5 |
--------------------------------------------------------------------------------
/src/app/democase/main-modal/main-modal.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-modal',
6 | templateUrl: './main-modal.component.html',
7 | styleUrls: ['./main-modal.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainModalComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Modal';
15 | visible: boolean;
16 | blueVisible: boolean;
17 | confirmVisible: boolean;
18 | alertVisible: boolean;
19 | delayLoading: boolean;
20 |
21 | promptVisible: boolean;
22 | Loading: boolean;
23 | constructor() { }
24 |
25 | ngOnInit() {
26 | }
27 |
28 | open() {
29 | this.visible = !this.visible;
30 | }
31 |
32 | onChange(event) {
33 | console.log(event);
34 | }
35 | }
36 |
37 |
38 |
--------------------------------------------------------------------------------
/src/app/democase/main-notification/main-notification-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {RouterModule} from '@angular/router';
3 | import {NgModule} from '@angular/core';
4 | import {MainNotificationComponent} from './main-notification.component';
5 |
6 | @NgModule({
7 | imports: [RouterModule.forChild([
8 | {path: '', component: MainNotificationComponent}
9 | ])],
10 | exports: [RouterModule]
11 | })
12 |
13 | export class MainNotificationRoutingModule {}
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-notification/main-notification.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-notification.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-notification/main-notification.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-notification/main-notification.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-pagination/main-pagination-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {MainPaginationComponent} from './main-pagination.component';
4 |
5 | @NgModule({
6 | imports: [RouterModule.forChild([
7 | {path: '', component: MainPaginationComponent}
8 | ])],
9 | exports: [RouterModule]
10 | })
11 |
12 | export class MainPaginationRoutingModule {}
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-pagination/main-pagination.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-pagination.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-pagination/main-pagination.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-pagination/main-pagination.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-pagination/main-pagination.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-pagination',
6 | templateUrl: './main-pagination.component.html',
7 | styleUrls: ['./main-pagination.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainPaginationComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Pagination';
15 | activeIndex1: number;
16 | activeIndex2: number;
17 | constructor() {
18 | this.activeIndex1 = 1;
19 | this.activeIndex2 = 1;
20 | }
21 |
22 | ngOnInit() {
23 | }
24 | onChange1(event: object) {
25 | this.activeIndex1 = event['activeIndex'];
26 | }
27 | onChange2(event: object) {
28 | this.activeIndex2 = event['activeIndex'];
29 | }
30 |
31 | }
32 |
33 |
--------------------------------------------------------------------------------
/src/app/democase/main-panel/main-panel-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {MainPanelComponent} from './main-panel.component';
4 |
5 | @NgModule({
6 | imports: [RouterModule.forChild([
7 | {path: '', component: MainPanelComponent}
8 | ])],
9 | exports: [RouterModule]
10 | })
11 |
12 | export class MainPanelRoutingModule {}
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-panel/main-panel.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ free-tab free-panel {
2 | margin-bottom: 10px; }
3 |
4 | /*# sourceMappingURL=main-panel.component.css.map */
5 |
--------------------------------------------------------------------------------
/src/app/democase/main-panel/main-panel.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | free-tab {
3 | free-panel {
4 | margin-bottom: 10px;
5 | }
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/src/app/democase/main-panel/main-panel.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-panel',
6 | templateUrl: './main-panel.component.html',
7 | styleUrls: ['./main-panel.component.scss'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainPanelComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 |
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/src/app/democase/main-panel/main-panel.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {GridModule} from '../../component/grid/grid.directive';
4 | import {TableModule} from '../../component/table/table.component';
5 | import {CodeModule} from '../../component/code/code.component';
6 | import {TabGroupModule} from '../../component/tab/tab.component';
7 | import {MainPanelComponent} from './main-panel.component';
8 | import {MainPanelRoutingModule} from './main-panel-routing.module';
9 | import {PanelModule} from '../../component/panel/panel.component';
10 | import {LanguageModule} from '../common/language';
11 |
12 | @NgModule({
13 | imports: [
14 | CommonModule,
15 | TabGroupModule,
16 | CodeModule,
17 | TableModule,
18 | GridModule,
19 | PanelModule,
20 | MainPanelRoutingModule,
21 | LanguageModule
22 | ],
23 | declarations: [MainPanelComponent]
24 | })
25 |
26 | export class MainPanelModule {}
27 |
--------------------------------------------------------------------------------
/src/app/democase/main-popover/main-popover-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {MainPopoverComponent} from './main-popover.component';
4 |
5 | @NgModule({
6 | imports: [RouterModule.forChild([
7 | {path: '', component: MainPopoverComponent}
8 | ])],
9 | exports: [RouterModule]
10 | })
11 |
12 | export class MainPopoverRoutingModule {}
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-popover/main-popover.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-popover.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-popover/main-popover.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-popover/main-popover.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-popover/main-popover.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-popover',
6 | templateUrl: './main-popover.component.html',
7 | styleUrls: ['./main-popover.component.scss'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainPopoverComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 |
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/src/app/democase/main-progress/main-progress-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainProgressComponent} from './main-progress.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainProgressComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainProgressRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-progress/main-progress.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ free-progress {
2 | margin-top: 15px; }
3 |
4 | /*# sourceMappingURL=main-progress.component.css.map */
5 |
--------------------------------------------------------------------------------
/src/app/democase/main-progress/main-progress.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | free-progress {
3 | margin-top: 15px;
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/src/app/democase/main-progress/main-progress.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-progress',
6 | templateUrl: './main-progress.component.html',
7 | styleUrls: ['./main-progress.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainProgressComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Progress';
15 | percent: number;
16 |
17 | constructor() {
18 | this.percent = 20;
19 | }
20 |
21 | ngOnInit() {
22 | }
23 |
24 | onClick() {
25 | const interval = setInterval(() => {
26 | this.percent = this.percent + Math.floor(Math.random() * 20) + 1;
27 | if (this.percent >= 100) {
28 | this.percent = 100;
29 | clearInterval(interval);
30 | }
31 | }, 2000);
32 | }
33 | }
34 |
35 |
--------------------------------------------------------------------------------
/src/app/democase/main-radio/main-radio-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainRadioComponent} from './main-radio.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainRadioComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainRadioRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-radio/main-radio.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ free-radio {
2 | margin: 0 .5rem .5rem 0; }
3 |
4 | /*# sourceMappingURL=main-radio.component.css.map */
5 |
--------------------------------------------------------------------------------
/src/app/democase/main-radio/main-radio.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | free-radio {
3 | margin: 0 .5rem .5rem 0;
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/src/app/democase/main-radio/main-radio.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding, OnDestroy} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-radio',
6 | templateUrl: './main-radio.component.html',
7 | styleUrls: ['./main-radio.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainRadioComponent implements OnInit, OnDestroy {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Radio';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | ngOnDestroy() {
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/src/app/democase/main-radio/main-radio.module.ts:
--------------------------------------------------------------------------------
1 | import {CommonModule} from '@angular/common';
2 | import {NgModule} from '@angular/core';
3 | import {TableModule} from '../../component/table/table.component';
4 | import {CodeModule} from '../../component/code/code.component';
5 | import {TabGroupModule} from '../../component/tab/tab.component';
6 | import {RadioModule} from '../../component/radio/radio.component';
7 | import {GridModule} from '../../component/grid/grid.directive';
8 | import {MainRadioRoutingModule} from './main-radio-routing.module';
9 | import {MainRadioComponent} from './main-radio.component';
10 | import {LanguageModule} from '../common/language';
11 |
12 | @NgModule({
13 | imports: [
14 | CommonModule,
15 | MainRadioRoutingModule,
16 | TabGroupModule,
17 | CodeModule,
18 | TableModule,
19 | RadioModule,
20 | GridModule,
21 | LanguageModule
22 | ],
23 | declarations: [MainRadioComponent]
24 | })
25 |
26 | export class MainRadioModule {}
27 |
--------------------------------------------------------------------------------
/src/app/democase/main-range/main-range-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainRangeComponent} from './main-range.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainRangeComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainRangeRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-range/main-range.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ .range-slider {
2 | margin: 10px 20px; }
3 | :host /deep/ .free-tab.active {
4 | padding-top: 2rem !important; }
5 | :host /deep/ free-range {
6 | display: inline-flex;
7 | margin: 40px 10px 10px 10px; }
8 |
9 | /*# sourceMappingURL=main-knob.component.cssmap */
10 |
--------------------------------------------------------------------------------
/src/app/democase/main-range/main-range.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | .range-slider {
3 | margin: 10px 20px;
4 | }
5 |
6 | .free-tab.active {
7 | padding-top: 2rem !important;
8 | }
9 |
10 | free-range {
11 | display: inline-flex;
12 | margin: 40px 10px 10px 10px;
13 | }
14 | }
15 |
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-range/main-range.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-range',
6 | templateUrl: './main-range.component.html',
7 | styleUrls: ['./main-range.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainRangeComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Range';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/src/app/democase/main-range/main-range.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {TableModule} from '../../component/table/table.component';
4 | import {CodeModule} from '../../component/code/code.component';
5 | import {TabGroupModule} from '../../component/tab/tab.component';
6 | import {RangeModule} from '../../component/range/range.component';
7 | import {GridModule} from '../../component/grid/grid.directive';
8 | import {MainRangeRoutingModule} from './main-range-routing.module';
9 | import {MainRangeComponent} from './main-range.component';
10 | import {LanguageModule} from '../common/language';
11 |
12 | @NgModule({
13 | imports: [
14 | CommonModule,
15 | MainRangeRoutingModule,
16 | TabGroupModule,
17 | CodeModule,
18 | TableModule,
19 | RangeModule,
20 | GridModule,
21 | LanguageModule
22 | ],
23 | declarations: [MainRangeComponent]
24 | })
25 |
26 | export class MainRangeModule {}
27 |
--------------------------------------------------------------------------------
/src/app/democase/main-rating/main-rating-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainRatingComponent} from './main-rating.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainRatingComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainRatingRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-rating/main-rating.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-rating.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-rating/main-rating.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-rating/main-rating.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-rating/main-rating.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-rating',
6 | templateUrl: './main-rating.component.html',
7 | styleUrls: ['./main-rating.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainRatingComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Rating';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | ratingChange(value: number) {
21 | alert(value);
22 | }
23 | }
24 |
25 |
--------------------------------------------------------------------------------
/src/app/democase/main-ripple/main-ripple-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {RouterModule} from '@angular/router';
3 | import {MainRippleComponent} from './main-ripple.component';
4 | @NgModule({
5 | imports: [
6 | RouterModule.forChild([
7 | {path: '', component: MainRippleComponent}
8 | ])
9 | ],
10 | exports: [RouterModule]
11 | })
12 | export class MainRippleRoutingModule {}
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-ripple/main-ripple.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ .ripple-image {
2 | margin-right: 1rem; }
3 | :host /deep/ .ripple-image img {
4 | display: block; }
5 |
6 | /*# sourceMappingURL=main-ripple.component.css.map */
7 |
--------------------------------------------------------------------------------
/src/app/democase/main-ripple/main-ripple.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | .ripple-image {
3 | margin-right: 1rem;
4 |
5 | img {
6 | display: block;
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/src/app/democase/main-ripple/main-ripple.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-ripple',
6 | templateUrl: './main-ripple.component.html',
7 | styleUrls: ['./main-ripple.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainRippleComponent implements OnInit {
11 | @HostBinding('@fadeInUpState') fadeInUpState;
12 | @HostBinding('style.display') display = 'block';
13 | pageTitle = 'UI Element-Ripple';
14 | constructor() { }
15 |
16 | ngOnInit() {
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/src/app/democase/main-ripple/main-ripple.module.ts:
--------------------------------------------------------------------------------
1 | import {CommonModule} from '@angular/common';
2 | import {NgModule} from '@angular/core';
3 | import {MainRippleRoutingModule} from './main-ripple-routing.module';
4 | import {CodeModule} from '../../component/code/code.component';
5 | import {TabGroupModule} from '../../component/tab/tab.component';
6 | import {GridModule} from '../../component/grid/grid.directive';
7 | import {MainRippleComponent} from './main-ripple.component';
8 | import {RippleModule} from '../../component/ripple/ripple.directive';
9 | import {LanguageModule} from '../common/language';
10 |
11 | @NgModule({
12 | imports: [
13 | CommonModule,
14 | MainRippleRoutingModule,
15 | TabGroupModule,
16 | CodeModule,
17 | GridModule,
18 | RippleModule,
19 | LanguageModule
20 | ],
21 | declarations: [MainRippleComponent]
22 | })
23 | export class MainRippleModule {}
24 |
--------------------------------------------------------------------------------
/src/app/democase/main-scroll/main-scroll-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainScrollComponent} from './main-scroll.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainScrollComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainScrollRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-scroll/main-scroll.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ free-scroll {
2 | display: block;
3 | border: 1px solid #d9d9d9;
4 | padding: 10px; }
5 | :host /deep/ .free-scroll-inner {
6 | padding: 10px; }
7 | :host /deep/ .custom-scroll-thumb {
8 | background: #d0b9a0 !important;
9 | box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); }
10 | :host /deep/ .custom-scroll-track {
11 | width: 2px !important;
12 | left: 50% !important;
13 | transform: translate(-50%, 0); }
14 |
15 | /*# sourceMappingURL=main-scroll.component.css.map */
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-scroll/main-scroll.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | free-scroll {
3 | display: block;
4 | border: 1px solid #d9d9d9;
5 | padding: 10px;
6 | }
7 |
8 | .free-scroll-inner {
9 | padding: 10px;
10 | }
11 |
12 | .custom-scroll-thumb {
13 | background: #d0b9a0 !important;
14 | box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
15 | }
16 |
17 | .custom-scroll-track {
18 | width: 2px !important;
19 | left: 50% !important;
20 | transform: translate(-50%, 0);
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/src/app/democase/main-scroll/main-scroll.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-scroll',
6 | templateUrl: './main-scroll.component.html',
7 | styleUrls: ['./main-scroll.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainScrollComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Scroll';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/app/democase/main-select/main-select-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainSelectComponent} from './main-select.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainSelectComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainSelectRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-select/main-select.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-select.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-select/main-select.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-select/main-select.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-shadow/main-shadow-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainShadowComponent} from './main-shadow.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainShadowComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainShadowRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-shadow/main-shadow.component.css:
--------------------------------------------------------------------------------
1 | .box-shadow {
2 | width: 100px;
3 | height: 100px;
4 | margin: 24px 12px 12px 24px;
5 | display: -ms-inline-flexbox;
6 | display: inline-flex;
7 | -ms-flex-pack: center;
8 | justify-content: center;
9 | -ms-flex-align: center;
10 | align-items: center;
11 | border: 1px solid #eee; }
12 |
13 | /*# sourceMappingURL=main-shadow.component.css.map */
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-shadow/main-shadow.component.scss:
--------------------------------------------------------------------------------
1 |
2 | .box-shadow {
3 | width: 100px;
4 | height: 100px;
5 | margin: 24px 12px 12px 24px;
6 | display: -ms-inline-flexbox;
7 | display: inline-flex;
8 | -ms-flex-pack: center;
9 | justify-content: center;
10 | -ms-flex-align: center;
11 | align-items: center;
12 | border: 1px solid #eee;
13 | }
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-shadow/main-shadow.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-shadow',
6 | templateUrl: './main-shadow.component.html',
7 | styleUrls: ['./main-shadow.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainShadowComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'UI Element-Shadow';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/app/democase/main-shadow/main-shadow.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {GridModule} from '../../component/grid/grid.directive';
4 | import {MainShadowRoutingModule} from './main-shadow-routing.module';
5 | import {MainShadowComponent} from './main-shadow.component';
6 | import {TableModule} from '../../component/table/table.component';
7 | import {CodeModule} from '../../component/code/code.component';
8 | import {TabGroupModule} from '../../component/tab/tab.component';
9 | import {LanguageModule} from '../common/language';
10 |
11 | @NgModule({
12 | imports: [
13 | CommonModule,
14 | MainShadowRoutingModule,
15 | TabGroupModule,
16 | CodeModule,
17 | TableModule,
18 | GridModule,
19 | LanguageModule
20 | ],
21 | declarations: [MainShadowComponent]
22 | })
23 |
24 | export class MainShadowModule {}
25 |
--------------------------------------------------------------------------------
/src/app/democase/main-share-button/main-share-button-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {MainShareButtonComponent} from './main-share-button.component';
4 |
5 | @NgModule({
6 | imports: [RouterModule.forChild([
7 | {path: '', component: MainShareButtonComponent}
8 | ])],
9 | exports: [RouterModule]
10 | })
11 |
12 | export class MainShareButtonRoutingModule {}
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-share-button/main-share-button.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-share-button.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-share-button/main-share-button.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-share-button/main-share-button.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-share-button/main-share-button.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-share-button',
6 | templateUrl: './main-share-button.component.html',
7 | styleUrls: ['./main-share-button.component.scss'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainShareButtonComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 |
15 | shareData: any;
16 | constructor() {
17 | this.shareData = {
18 | title: 'FreeNG: UI Components for Angular4',
19 | description: 'FreeNG - 一键分享到微博,QQ空间,腾讯微博,人人,豆瓣,facebook,twitter,google,linkedIn',
20 | image: 'http://oumfrpm5j.bkt.clouddn.com/freeng_logo.png'
21 | }
22 | }
23 |
24 | ngOnInit() {
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/src/app/democase/main-shrink/main-shrink-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {RouterModule} from '@angular/router';
3 | import {NgModule} from '@angular/core';
4 | import {MainShrinkComponent} from './main-shrink.component';
5 |
6 | @NgModule({
7 | imports: [RouterModule.forChild([
8 | {path: '', component: MainShrinkComponent}
9 | ])],
10 | exports: [RouterModule]
11 | })
12 |
13 | export class MainShrinkRoutingModule {}
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-shrink/main-shrink.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ .rb {
2 | position: absolute;
3 | right: 10px;
4 | bottom: 10px; }
5 | :host /deep/ .tr {
6 | position: absolute;
7 | right: 10px;
8 | top: 10px; }
9 | :host /deep/ .lb {
10 | position: absolute;
11 | left: 10px;
12 | bottom: 10px; }
13 | :host /deep/ .ctr {
14 | position: absolute;
15 | left: 230px;
16 | top: 180px; }
17 | :host /deep/ .clb {
18 | position: absolute;
19 | left: 230px;
20 | top: 85px; }
21 | :host /deep/ .crb {
22 | position: absolute;
23 | left: 330px;
24 | top: 130px; }
25 | :host /deep/ .clt {
26 | position: absolute;
27 | left: 140px;
28 | top: 130px; }
29 |
30 | /*# sourceMappingURL=main-shrink.component.css.map */
31 |
--------------------------------------------------------------------------------
/src/app/democase/main-shrink/main-shrink.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | .rb {
3 | position: absolute;
4 | right: 10px;
5 | bottom: 10px;
6 | }
7 |
8 | .tr {
9 | position: absolute;
10 | right: 10px;
11 | top: 10px;
12 | }
13 |
14 | .lb {
15 | position: absolute;
16 | left: 10px;
17 | bottom: 10px;
18 | }
19 |
20 | .ctr {
21 | position: absolute;
22 | left: 230px;
23 | top: 180px;
24 | }
25 |
26 | .clb {
27 | position: absolute;
28 | left: 230px;
29 | top: 85px;
30 | }
31 |
32 | .crb {
33 | position: absolute;
34 | left: 330px;
35 | top: 130px;
36 | }
37 |
38 | .clt {
39 | position: absolute;
40 | left: 140px;
41 | top: 130px;
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/src/app/democase/main-shrink/main-shrink.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-shrink',
6 | templateUrl: './main-shrink.component.html',
7 | styleUrls: ['./main-shrink.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainShrinkComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Shrink';
15 | menus: any;
16 | constructor() {
17 | this.menus = [
18 | { 'icon': 'weibo'},
19 | { 'icon': 'weixin'},
20 | { 'icon': 'qq'},
21 | { 'icon': 'renren'}
22 | ];
23 | }
24 |
25 | ngOnInit() {
26 | }
27 |
28 | }
29 |
30 |
--------------------------------------------------------------------------------
/src/app/democase/main-sidenav/main-sidenav-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {NgModule} from '@angular/core';
3 | import {RouterModule} from '@angular/router';
4 | import {MainSidenavComponent} from './main-sidenav.component';
5 | @NgModule({
6 | imports: [
7 | RouterModule.forChild([
8 | {path: '', component: MainSidenavComponent}
9 | ])
10 | ],
11 | exports: [RouterModule]
12 | })
13 | export class MainSidenavRoutingModule {}
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-sidenav/main-sidenav.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ .simulation-browser {
2 | width: 100%;
3 | height: 400px;
4 | overflow: hidden;
5 | position: relative;
6 | background: #eee;
7 | margin: 10px;
8 | border: 1px solid #d9d9d9;
9 | transform: translate(0, 0); }
10 | :host /deep/ .free-four .simulation-browser {
11 | width: 45%; }
12 |
13 | /*# sourceMappingURL=main-sidenav.component.css.map */
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-sidenav/main-sidenav.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | .simulation-browser {
3 | width: 100%;
4 | height: 400px;
5 | overflow: hidden;
6 | position: relative;
7 | background: #eee;
8 | margin: 10px;
9 | border: 1px solid #d9d9d9;
10 | transform: translate(0, 0);
11 | }
12 |
13 | .free-four .simulation-browser {
14 | width: 45%;
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/app/democase/main-sidenav/main-sidenav.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-sidenav',
6 | templateUrl: './main-sidenav.component.html',
7 | styleUrls: ['./main-sidenav.component.scss'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainSidenavComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | leftSidenav: boolean;
15 | rightSidenav: boolean;
16 | topSidenav: boolean;
17 | bottomSidenav: boolean;
18 | contentVisible: boolean;
19 | contentRightVisible: boolean;
20 | contentTopVisible: boolean;
21 | contentBottomVisible: boolean;
22 | overlay: boolean;
23 | constructor() { }
24 |
25 | ngOnInit() {
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/src/app/democase/main-slide/main-slide-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {RouterModule} from '@angular/router';
3 | import {NgModule} from '@angular/core';
4 | import {MainSlideComponent} from './main-slide.component';
5 |
6 | @NgModule({
7 | imports: [RouterModule.forChild([
8 | {path: '', component: MainSlideComponent}
9 | ])],
10 | exports: [RouterModule]
11 | })
12 |
13 | export class MainSlideRoutingModule {}
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-slide/main-slide.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-slide.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-slide/main-slide.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 |
3 | }
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-slide/main-slide.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-slide',
6 | templateUrl: './main-slide.component.html',
7 | styleUrls: ['./main-slide.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainSlideComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Slide';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/src/app/democase/main-slide/main-slide.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {TabGroupModule} from '../../component/tab/tab.component';
4 | import {CodeModule} from '../../component/code/code.component';
5 | import {TableModule} from '../../component/table/table.component';
6 | import {SlideModule} from '../../component/slides/slides.component';
7 | import {GridModule} from '../../component/grid/grid.directive';
8 | import {MainSlideRoutingModule} from './main-slide-routing.module';
9 | import {MainSlideComponent} from './main-slide.component';
10 | import {LanguageModule} from '../common/language';
11 |
12 | @NgModule({
13 | imports: [
14 | CommonModule,
15 | MainSlideRoutingModule,
16 | TabGroupModule,
17 | CodeModule,
18 | TableModule,
19 | SlideModule,
20 | GridModule,
21 | LanguageModule
22 | ],
23 | declarations: [MainSlideComponent]
24 | })
25 |
26 | export class MainSlideModule {}
27 |
--------------------------------------------------------------------------------
/src/app/democase/main-spinner/main-spinner-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainSpinnerComponent} from './main-spinner.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainSpinnerComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainSpinnerRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-spinner/main-spinner.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-spinner.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-spinner/main-spinner.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-spinner/main-spinner.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-spinner/main-spinner.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-spinner',
6 | templateUrl: './main-spinner.component.html',
7 | styleUrls: ['./main-spinner.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainSpinnerComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Spinner';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/src/app/democase/main-start/main-start-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainStartComponent} from './main-start.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainStartComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainStartRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-start/main-start.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-start.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-start/main-start.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-start/main-start.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-start/main-start.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {PanelModule} from '../../component/panel/panel.component';
4 | import {GridModule} from '../../component/grid/grid.directive';
5 | import {CodeModule} from '../../component/code/code.component';
6 | import {TreeModule} from '../../component/tree/tree.component';
7 | import {MainStartRoutingModule} from './main-start-routing.module';
8 | import {MainStartComponent} from './main-start.component';
9 | import {LanguageModule} from '../common/language';
10 |
11 | @NgModule({
12 | imports: [
13 | CommonModule,
14 | MainStartRoutingModule,
15 | PanelModule,
16 | GridModule,
17 | CodeModule,
18 | TreeModule,
19 | LanguageModule
20 | ],
21 | declarations: [MainStartComponent]
22 | })
23 |
24 | export class MainStartModule {
25 | }
26 |
--------------------------------------------------------------------------------
/src/app/democase/main-steps/main-steps-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {MainStepsComponent} from './main-steps.component';
4 |
5 | @NgModule({
6 | imports: [RouterModule.forChild([
7 | {path: '', component: MainStepsComponent}
8 | ])],
9 | exports: [RouterModule]
10 | })
11 |
12 | export class MainStepsRoutingModule {}
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-steps/main-steps.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-steps.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-steps/main-steps.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-steps/main-steps.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-switch/main-switch-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {MainSwitchComponent} from './main-switch.component';
4 |
5 | @NgModule({
6 | imports: [RouterModule.forChild([
7 | {path: '', component: MainSwitchComponent}
8 | ])],
9 | exports: [RouterModule]
10 | })
11 |
12 | export class MainSwitchRoutingModule {}
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-switch/main-switch.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-switch.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-switch/main-switch.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-switch/main-switch.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-switch/main-switch.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-switch',
6 | templateUrl: './main-switch.component.html',
7 | styleUrls: ['./main-switch.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainSwitchComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | checked: boolean;
15 | pageTitle = 'Components-Switch';
16 | constructor() { }
17 |
18 | ngOnInit() {
19 | }
20 |
21 | onChange(event: any) {
22 | alert('是否选中:' + event.checked);
23 | }
24 |
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/src/app/democase/main-tab/main-tab-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {MainTabComponent} from './main-tab.component';
6 | import {NgModule} from '@angular/core';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainTabComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainTabRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-tab/main-tab.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-tab.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-tab/main-tab.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-tab/main-tab.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-tab/main-tab.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {CodeModule} from '../../component/code/code.component';
4 | import {TabGroupModule} from '../../component/tab/tab.component';
5 | import {TableModule} from '../../component/table/table.component';
6 | import {GridModule} from '../../component/grid/grid.directive';
7 | import {MainTabRoutingModule} from './main-tab-routing.module';
8 | import {MainTabComponent} from './main-tab.component';
9 | import {LanguageModule} from '../common/language';
10 | @NgModule({
11 | imports: [
12 | CommonModule,
13 | MainTabRoutingModule,
14 | TabGroupModule,
15 | CodeModule,
16 | TableModule,
17 | GridModule,
18 | LanguageModule
19 | ],
20 | declarations: [MainTabComponent]
21 | })
22 |
23 | export class MainTabModule {}
24 |
--------------------------------------------------------------------------------
/src/app/democase/main-table/main-table-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainTableComponent} from './main-table.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainTableComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainTableRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-table/main-table.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ free-table {
2 | flex: 1 0 auto; }
3 |
4 | /*# sourceMappingURL=main-table.component.css.map */
5 |
--------------------------------------------------------------------------------
/src/app/democase/main-table/main-table.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | free-table {
3 | flex: 1 0 auto;
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/src/app/democase/main-table/main-table.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-table',
6 | templateUrl: './main-table.component.html',
7 | styleUrls: ['./main-table.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainTableComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | cells: any[] = [];
15 | pageTitle = 'Components-Table';
16 | constructor() {
17 | }
18 |
19 | ngOnInit() {
20 | this.cells = [
21 | {
22 | 'pro': 'theme',
23 | 'intro': '设置Table主题'
24 | },
25 | {
26 | 'pro': 'theme',
27 | 'intro': '设置Table主题'
28 | },
29 | {
30 | 'pro': 'theme',
31 | 'intro': '设置Table主题'
32 | }
33 | ];
34 | }
35 |
36 | }
37 |
38 |
39 |
--------------------------------------------------------------------------------
/src/app/democase/main-timeline/main-timeline-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {MainTimelineComponent} from './main-timeline.component';
3 | import {NgModule} from '@angular/core';
4 | @NgModule({
5 | imports: [
6 | RouterModule.forChild([
7 | {path: '', component: MainTimelineComponent}
8 | ])
9 | ],
10 | exports: [RouterModule]
11 | })
12 | export class MainTimelineRoutingModule {}
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-timeline/main-timeline.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ .timeline-header {
2 | width: 30px;
3 | vertical-align: middle;
4 | border-radius: 50%; }
5 |
6 | /*# sourceMappingURL=main-timeline.component.css.map */
7 |
--------------------------------------------------------------------------------
/src/app/democase/main-timeline/main-timeline.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | .timeline-header {
3 | width: 30px;
4 | vertical-align: middle;
5 | border-radius: 50%;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/src/app/democase/main-toast/main-toast-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {RouterModule} from '@angular/router';
3 | import {NgModule} from '@angular/core';
4 | import {MainToastComponent} from './main-toast.component';
5 |
6 | @NgModule({
7 | imports: [RouterModule.forChild([
8 | {path: '', component: MainToastComponent}
9 | ])],
10 | exports: [RouterModule]
11 | })
12 |
13 | export class MainToastRoutingModule {}
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-toast/main-toast.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-toast.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-toast/main-toast.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-toast/main-toast.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-tooltip/main-tooltip-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {MainTooltipComponent} from './main-tooltip.component';
4 |
5 | @NgModule({
6 | imports: [RouterModule.forChild([
7 | {path: '', component: MainTooltipComponent}
8 | ])],
9 | exports: [RouterModule]
10 | })
11 |
12 | export class MainTooltipRoutingModule {}
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-tooltip/main-tooltip.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-tooltip.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-tooltip/main-tooltip.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-tooltip/main-tooltip.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-tooltip/main-tooltip.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-tooltip',
6 | templateUrl: './main-tooltip.component.html',
7 | styleUrls: ['./main-tooltip.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainTooltipComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Directives-Tooltip';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 | }
20 |
21 |
22 |
--------------------------------------------------------------------------------
/src/app/democase/main-tour/main-tour-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {MainTourComponent} from './main-tour.component';
4 |
5 | @NgModule({
6 | imports: [RouterModule.forChild([
7 | {path: '', component: MainTourComponent}
8 | ])],
9 | exports: [RouterModule]
10 | })
11 |
12 | export class MainTourRoutingModule {}
13 |
--------------------------------------------------------------------------------
/src/app/democase/main-tour/main-tour.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-tour.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-tour/main-tour.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-tour/main-tour.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main-tour/main-tour.component.ts:
--------------------------------------------------------------------------------
1 | import { Component, OnInit } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'free-main-tour',
5 | templateUrl: './main-tour.component.html',
6 | styleUrls: ['./main-tour.component.scss']
7 | })
8 | export class MainTourComponent implements OnInit {
9 | tourVisible: boolean;
10 | tourData: any;
11 | constructor() {
12 | }
13 |
14 | ngOnInit() {
15 | this.tourData = [
16 | {
17 | label: 'This is a first step!'
18 | },
19 | {
20 | label: 'This is a first step!'
21 | },
22 | {
23 | label: 'This is a first step!'
24 | },
25 | {
26 | label: 'This is a first step!'
27 | }
28 | ];
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/src/app/democase/main-tree/main-tree-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {RouterModule} from '@angular/router';
3 | import {NgModule} from '@angular/core';
4 | import {MainTreeComponent} from './main-tree.component';
5 |
6 | @NgModule({
7 | imports: [RouterModule.forChild([
8 | {path: '', component: MainTreeComponent}
9 | ])],
10 | exports: [RouterModule]
11 | })
12 |
13 | export class MainTreeRoutingModule {}
14 |
--------------------------------------------------------------------------------
/src/app/democase/main-tree/main-tree.component.css:
--------------------------------------------------------------------------------
1 | :host ::ng-deep .tree-template button {
2 | margin-bottom: 10px; }
3 |
4 | /*# sourceMappingURL=main-tree.component.css.map */
5 |
--------------------------------------------------------------------------------
/src/app/democase/main-tree/main-tree.component.scss:
--------------------------------------------------------------------------------
1 | :host ::ng-deep {
2 | .tree-template {
3 | button {
4 | margin-bottom: 10px;
5 | }
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/src/app/democase/main-tree/main-tree.service.ts:
--------------------------------------------------------------------------------
1 | import {Injectable} from '@angular/core';
2 | import {HttpClient} from '@angular/common/http';
3 |
4 | @Injectable()
5 | export class MainTreeService {
6 | constructor(private http: HttpClient) {
7 | }
8 |
9 | getFiles() {
10 | return this.http.get('assets/json/files.json');
11 | }
12 |
13 | getLazyFiles() {
14 | return this.http.get('assets/json/lazyFiles.json');
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/app/democase/main-typography/main-typography-routing.module.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by ux168 on 17-7-1.
3 | */
4 | import {RouterModule} from '@angular/router';
5 | import {NgModule} from '@angular/core';
6 | import {MainTypographyComponent} from './main-typography.component';
7 |
8 | @NgModule({
9 | imports: [RouterModule.forChild([
10 | {path: '', component: MainTypographyComponent}
11 | ])],
12 | exports: [RouterModule]
13 | })
14 |
15 | export class MainTypographyRoutingModule {}
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-typography/main-typography.component.css:
--------------------------------------------------------------------------------
1 | :host /deep/ h1, :host /deep/ h2, :host /deep/ h3, :host /deep/ h4, :host /deep/ h5, :host /deep/ h6, :host /deep/ p {
2 | width: 100%;
3 | flex: 1 0 auto; }
4 | :host /deep/ .blockquote-box {
5 | flex: 1 0 auto; }
6 | :host /deep/ .blockquote-box blockquote {
7 | margin-top: 10px; }
8 |
9 | /*# sourceMappingURL=main-typography.component.css.map */
10 |
--------------------------------------------------------------------------------
/src/app/democase/main-typography/main-typography.component.scss:
--------------------------------------------------------------------------------
1 | :host /deep/ {
2 | h1,h2,h3,h4,h5,h6,p {
3 | width: 100%;
4 | flex: 1 0 auto;
5 | }
6 |
7 | .blockquote-box {
8 | flex: 1 0 auto;
9 |
10 | blockquote {
11 | margin-top: 10px;
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/app/democase/main-typography/main-typography.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-typography',
6 | templateUrl: './main-typography.component.html',
7 | styleUrls: ['./main-typography.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainTypographyComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'UI Element-Typography';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/src/app/democase/main-typography/main-typography.module.ts:
--------------------------------------------------------------------------------
1 | import {NgModule} from '@angular/core';
2 | import {CommonModule} from '@angular/common';
3 | import {CodeModule} from '../../component/code/code.component';
4 | import {TabGroupModule} from '../../component/tab/tab.component';
5 | import {GridModule} from '../../component/grid/grid.directive';
6 | import {MainTypographyRoutingModule} from './main-typography-routing.module';
7 | import {MainTypographyComponent} from './main-typography.component';
8 | import {LanguageModule} from '../common/language';
9 |
10 | @NgModule({
11 | imports: [
12 | CommonModule,
13 | MainTypographyRoutingModule,
14 | TabGroupModule,
15 | CodeModule,
16 | GridModule,
17 | LanguageModule
18 | ],
19 | declarations: [MainTypographyComponent]
20 | })
21 |
22 | export class MainTypographyModule {}
23 |
--------------------------------------------------------------------------------
/src/app/democase/main-upload/main-upload-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {RouterModule} from '@angular/router';
3 | import {NgModule} from '@angular/core';
4 | import {MainUploadComponent} from './main-upload.component';
5 |
6 | @NgModule({
7 | imports: [RouterModule.forChild([
8 | {path: '', component: MainUploadComponent}
9 | ])],
10 | exports: [RouterModule]
11 | })
12 |
13 |
14 | export class MainUploadRoutingModule {}
15 |
--------------------------------------------------------------------------------
/src/app/democase/main-upload/main-upload.component.css:
--------------------------------------------------------------------------------
1 | .upload-custom-btn {
2 | width: 200px;
3 | height: 80px;
4 | display: inline-flex;
5 | align-items: center;
6 | justify-content: center;
7 | font-size: 30px;
8 | font-weight: normal;
9 | border: 1px solid #d9d9d9;
10 | background: #eee; }
11 | .upload-custom-btn i {
12 | opacity: .6; }
13 |
14 | /*# sourceMappingURL=main-upload.component.css.map */
15 |
--------------------------------------------------------------------------------
/src/app/democase/main-upload/main-upload.component.scss:
--------------------------------------------------------------------------------
1 | .upload-custom-btn {
2 | width: 200px;
3 | height: 80px;
4 | display: inline-flex;
5 | align-items: center;
6 | justify-content: center;
7 | font-size: 30px;
8 | font-weight: normal;
9 | border: 1px solid #d9d9d9;
10 | background: #eee;
11 |
12 | i {
13 | opacity: .6;
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/app/democase/main-upload/main-upload.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, HostBinding, OnInit} from '@angular/core';
2 | import {fadeInUp} from '../common/animations';
3 |
4 | @Component({
5 | selector: 'free-main-upload',
6 | templateUrl: './main-upload.component.html',
7 | styleUrls: ['./main-upload.component.css'],
8 | animations: [fadeInUp]
9 | })
10 | export class MainUploadComponent implements OnInit {
11 |
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | pageTitle = 'Components-Upload';
15 | constructor() { }
16 |
17 | ngOnInit() {
18 | }
19 |
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/src/app/democase/main-validation/main-validation-routing.module.ts:
--------------------------------------------------------------------------------
1 |
2 | import {RouterModule} from '@angular/router';
3 | import {NgModule} from '@angular/core';
4 | import {MainValidationComponent} from './main-validation.component';
5 |
6 | @NgModule({
7 | imports: [RouterModule.forChild([
8 | {path: '', component: MainValidationComponent}
9 | ])],
10 | exports: [RouterModule]
11 | })
12 |
13 |
14 | export class MainValidationRoutingModule {}
15 |
--------------------------------------------------------------------------------
/src/app/democase/main-validation/main-validation.component.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=main-validation.component.css.map */
4 |
--------------------------------------------------------------------------------
/src/app/democase/main-validation/main-validation.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/app/democase/main-validation/main-validation.component.scss
--------------------------------------------------------------------------------
/src/app/democase/main/main-routing.module.ts:
--------------------------------------------------------------------------------
1 | import {RouterModule} from '@angular/router';
2 | import {NgModule} from '@angular/core';
3 | import {MainComponent} from './main.component';
4 |
5 | @NgModule({
6 | imports: [
7 | RouterModule.forChild([
8 | { path: '', component: MainComponent }
9 | ])
10 | ],
11 | exports: [RouterModule]
12 | })
13 |
14 | export class MainRoutingModule {
15 | }
16 |
--------------------------------------------------------------------------------
/src/app/democase/main/main.component.css:
--------------------------------------------------------------------------------
1 | .main-container free-accordion-group {
2 | margin-bottom: .75rem; }
3 |
4 | .main-container free-panel,
5 | .main-container free-tab-group {
6 | margin-bottom: .75rem; }
7 |
8 | .donate {
9 | display: flex; }
10 | .donate div {
11 | width: 50%; }
12 | .donate div img {
13 | width: 97%;
14 | margin-right: 3%; }
15 |
16 | :host /deep/ ul li ul {
17 | margin-left: 1rem; }
18 | :host /deep/ .main-point {
19 | padding: 0 10px 0 30px; }
20 | :host /deep/ .main-container .accordion-content .accordion-inner {
21 | padding: .5rem !important; }
22 | :host /deep/ .free-panel-header {
23 | font-weight: bold; }
24 |
25 | /*# sourceMappingURL=main.component.css.map */
26 |
--------------------------------------------------------------------------------
/src/app/democase/main/main.component.scss:
--------------------------------------------------------------------------------
1 | @import '../../../assets/sass/mixin';
2 | .main-container free-accordion-group{
3 | margin-bottom: .75rem;
4 | }
5 |
6 | .main-container free-panel,
7 | .main-container free-tab-group {
8 | margin-bottom: .75rem;
9 | }
10 |
11 | .donate {
12 | display: flex;
13 |
14 | div {
15 | width: 50%;
16 | img {
17 | width: 97%;
18 | margin-right: 3%;
19 | }
20 | }
21 | }
22 |
23 | :host /deep/ {
24 | ul li ul {
25 | margin-left: 1rem;
26 | }
27 |
28 | .main-point {
29 | padding: 0 10px 0 30px;
30 | }
31 |
32 | .main-container .accordion-content .accordion-inner {
33 | padding: .5rem !important;
34 | }
35 |
36 | .free-panel-header {
37 | font-weight: bold;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/src/app/democase/main/main.component.ts:
--------------------------------------------------------------------------------
1 | import {Component, OnInit, HostBinding} from '@angular/core';
2 | import { fadeInUp } from '../common/animations';
3 | import {config} from '../common/config';
4 |
5 | @Component({
6 | selector: 'free-main',
7 | templateUrl: './main.component.html',
8 | styleUrls: ['./main.component.css'],
9 | animations: [fadeInUp]
10 | })
11 | export class MainComponent {
12 | @HostBinding('@fadeInUpState') fadeInUpState;
13 | @HostBinding('style.display') display = 'block';
14 | version: string;
15 | pageTitle = 'HomePage';
16 | constructor() {
17 | this.version = config.version;
18 | }
19 | }
20 |
21 |
--------------------------------------------------------------------------------
/src/assets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/assets/.gitkeep
--------------------------------------------------------------------------------
/src/assets/di.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IronPans/freeng/c62dc640afbda14e37313ae6a2ecdb04e3f92e08/src/assets/di.ico
--------------------------------------------------------------------------------
/src/assets/images/angular.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |