Skip to content

Commit

Permalink
docs(demo): updated live demo
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Mar 30, 2018
1 parent ca3189b commit ac7fb12
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 45 deletions.
Binary file modified @packaged/angular-star-rating.tgz
Binary file not shown.
90 changes: 47 additions & 43 deletions apps/angular5-example/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { StarRatingModule } from '@angular-star-rating-lib/angular-star-rating';
import { AppComponent } from './app.component';
import { RouterModule } from '@angular/router';
import { NxModule } from '@nrwl/nx';
import { KitchensinkComponent } from './components/kitchensink/kitchensink.component';
import { EventBindingsComponent } from './components/event-bindings/event-bindings.component';
import { PropertyBindingsComponent } from './components/property-bindings/property-bindings.component';
import { FormControlStarRatingComponent } from './components/form-control-star-rating/form-control-star-rating.component';
import { ReactiveFormsModule } from '@angular/forms';
import { StaticModuleModule } from './static-module/static-module.module';
import {StarRatingModule} from '@angular-star-rating-lib/angular-star-rating';
import {NgModule} from '@angular/core';
import {ReactiveFormsModule} from '@angular/forms';
import {BrowserModule} from '@angular/platform-browser';
import {RouterModule} from '@angular/router';
import {NxModule} from '@nrwl/nx';
import {AppComponent} from './app.component';
import {EventBindingsComponent} from './components/event-bindings/event-bindings.component';
import {FormControlStarRatingComponent} from './components/form-control-star-rating/form-control-star-rating.component';
import {KitchensinkComponent} from './components/kitchensink/kitchensink.component';
import {PropertyBindingsComponent} from './components/property-bindings/property-bindings.component';
import {StaticModuleModule} from './static-module/static-module.module';

const DECLARATIONS = [
AppComponent,
Expand All @@ -26,41 +26,45 @@ const DECLARATIONS = [
StaticModuleModule,
StarRatingModule.forRoot(),
RouterModule.forRoot([
{
path: '',
redirectTo: 'form',
pathMatch: 'full'
},
{
path: 'property-bindings',
component: PropertyBindingsComponent
},
{
path: 'event-bindings',
component: EventBindingsComponent
},
{
path: 'form-control',
component: FormControlStarRatingComponent
},
// static-config-override routes in its module
{
path: 'lazy-config-override',
loadChildren: 'apps/angular5-example/src/app/lazy-module/lazy-module.module#LazyModuleModule'
},
{
path: 'kitchensink',
component: KitchensinkComponent
},
{
path: '**',
redirectTo: 'kitchensink'
}
],
{
path: '',
redirectTo: 'form',
pathMatch: 'full'
},
{
path: 'property-bindings',
component: PropertyBindingsComponent
},
{
path: 'event-bindings',
component: EventBindingsComponent
},
{
path: 'form-control',
component: FormControlStarRatingComponent
},
// static-config-override routes in its module
{
path: 'lazy-config-override',
loadChildren:
'apps/angular5-example/src/app/lazy-module/lazy-module.module#LazyModuleModule'
},
{
path: 'kitchensink',
component: KitchensinkComponent
},
{
path: '**',
redirectTo: 'kitchensink'
useHash: true
}
])
)
],
declarations: [DECLARATIONS],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {}
export class AppModule {
}
47 changes: 47 additions & 0 deletions docs/3rdpartylicenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,53 @@ MIT
MIT
MIT

[email protected]
MIT
Copyright JS Foundation and other contributors

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

@angular-devkit/[email protected]
MIT
The MIT License

Copyright (c) 2017 Google, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

@angular/[email protected]
MIT
MIT
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Angular5Example</title><base href="/angular-star-rating/"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/x-icon" href="favicon.ico"><link href="styles.0434af7e8c2110d1de27.bundle.css" rel="stylesheet"/></head><body><app-root></app-root><script type="text/javascript" src="inline.2255a49875ddb86f2cc4.bundle.js"></script><script type="text/javascript" src="polyfills.fd43c416068889cddb79.bundle.js"></script><script type="text/javascript" src="main.0b920d15b59f923650cd.bundle.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Angular5Example</title><base href="/angular-star-rating/"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/x-icon" href="favicon.ico"><link href="styles.0434af7e8c2110d1de27.bundle.css" rel="stylesheet"/></head><body><app-root></app-root><script type="text/javascript" src="inline.2255a49875ddb86f2cc4.bundle.js"></script><script type="text/javascript" src="polyfills.fd43c416068889cddb79.bundle.js"></script><script type="text/javascript" src="main.d1ab887c48719776201e.bundle.js"></script></body></html>
1 change: 0 additions & 1 deletion docs/main.0b920d15b59f923650cd.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/main.d1ab887c48719776201e.bundle.js

Large diffs are not rendered by default.

0 comments on commit ac7fb12

Please sign in to comment.