Skip to content

Commit

Permalink
0.13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
allenhwkim committed Feb 16, 2017
2 parents 8ca73ee + 877bf0d commit 9694ea1
Show file tree
Hide file tree
Showing 20 changed files with 5,853 additions and 1,189 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ Collection of Quality Angular 2 UIs

| module | version | most-recent version |
| ------------------ | ------- | ----------------------------------------------------------------------------------- |
| ng2-auto-complete | 0.8.2 | ![](https://badge.fury.io/js/ng2-auto-complete.svg) |
| ng2-collapsable | 0.4.2 | ![](https://badge.fury.io/js/ng2-collapsable.svg) |
| ng2-datetime-picker| 0.12.0 | ![](https://badge.fury.io/js/ng2-datetime-picker.svg) |
| ng2-auto-complete | 0.10.9 | ![](https://badge.fury.io/js/ng2-auto-complete.svg) |
| ng2-collapsable | 0.4.0 | ![](https://badge.fury.io/js/ng2-collapsable.svg) |
| ng2-datetime-picker| 0.14.1 | ![](https://badge.fury.io/js/ng2-datetime-picker.svg) |
| ng2-infinite-list | 0.5.1 | ![](https://badge.fury.io/js/ng2-infinite-list.svg) |
| ng2-map | 0.12.2 | ![](https://badge.fury.io/js/ng2-map.svg) |
| ng2-map | 0.15.5 | ![](https://badge.fury.io/js/ng2-map.svg) |
| ng2-menu | 0.5.1 | ![](https://badge.fury.io/js/ng2-menu.svg) |
| ng2-overlay | 0.7.0 | ![](https://badge.fury.io/js/ng2-overlay.svg) |
| ng2-overlay | 0.7.1 | ![](https://badge.fury.io/js/ng2-overlay.svg) |
| ng2-parallax-scroll| 0.4.0 | ![](https://badge.fury.io/js/ng2-parallax-scroll.svg) |
| ng2-popup | 0.4.0 | ![](https://badge.fury.io/js/ng2-popup.svg) |
| ng2-scrollable | 0.7.0 | ![](https://badge.fury.io/js/ng2-scrollable.svg) |
| ng2-sticky | 0.4.0 | ![](https://badge.fury.io/js/ng2-sticky.svg) |
| ng2-scrollable | 0.7.1 | ![](https://badge.fury.io/js/ng2-scrollable.svg) |
| ng2-sticky | 0.4.1 | ![](https://badge.fury.io/js/ng2-sticky.svg) |
| ng2-tab | 0.4.0 | ![](https://badge.fury.io/js/ng2-tab.svg) |
| ng2-tooltip-overlay| 0.4.0 | ![](https://badge.fury.io/js/ng2-tooltip-overlay.svg) |
| ng2-ui-sortable | 0.3.0 | ![](https://badge.fury.io/js/ng2-ui-sortable.svg) |
Expand Down Expand Up @@ -52,7 +52,13 @@ Collection of Quality Angular 2 UIs
import { Ng2UIModule } from 'ng2-ui'; // <---- this
@NgModule({
imports: [BrowserModule, FormsModule, HttpModule, Ng2UIModule], // <--- this
imports: [
BrowserModule,
FormsModule,
HttpModule,
Ng2UIModule, // <--- this
Ng2MapModule['forRoot']({ apiUrl: 'YOUR GOOGLE MAP URL WITH KEY'}) // <---- this
],
declarations: [AppComponent],
bootstrap: [AppComponent]
})
Expand Down
1 change: 1 addition & 0 deletions TODO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Need to upgrade webpack from 1.* to 2.*
3 changes: 1 addition & 2 deletions app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
Ng2OverlayManager,
Ng2PopupComponent,
Ng2MessagePopupComponent,
Ng2MapComponent,
Ng2ScrollableDirective
} from 'ng2-ui';

Expand All @@ -17,7 +16,7 @@ export class AppComponent {

constructor(public overlayManager: Ng2OverlayManager) {
console.log('overlayManager', overlayManager);
Ng2MapComponent['apiUrl'] = "https://maps.google.com/maps/api/js?key=AIzaSyCbMGRUwcqKjlYX4h4-P6t-xcDryRYLmCM";
// Ng2MapComponent['apiUrl'] = "https://maps.google.com/maps/api/js?key=AIzaSyCbMGRUwcqKjlYX4h4-P6t-xcDryRYLmCM";
}

scrollTo(selector, parentSelector, horizontal) {
Expand Down
21 changes: 10 additions & 11 deletions app/app.tpl.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<h3>ng2-datetime-picker</h3>
<input datetime-picker [(ngModel)]="model1" date-only="true"/> <br/>
<input ng2-datetime-picker [(ngModel)]="model1" date-only="true"/> <br/>

<h3>ng2-auto-complete</h3>
<input auto-complete [source]="arrayOfKeyValues"
<input ng2-auto-complete
[source]="arrayOfKeyValues"
[(ngModel)]="model3"
placeholder="enter text"
value-property-name="key"
display-property-name="name"/>
display-property-name="name"
list-formatter="(key) name"
/>
<br/> selected: {{model3 | json}}

<h3>ng2-overlay</h3>
Expand All @@ -17,13 +19,6 @@ <h3>ng2-overlay</h3>
<button (click)="overlayManager.open('window-loading')">Show Loading For Window</button>


<h3>ng2-scrollable</h3>
currentSection: {{id}}
<div (scrolledTo)="id=$event" ng2-scrollable style="overflow:auto; height: 2em">
<div id="s1">One</div> <div id="s2">Two</div> <div id="s3">Three</div> <div id="s4">Four</div> <div id="s5">Five</div>
<div id="s6">Six</div> <div id="s7">Seven</div> <div id="s8">Eight</div> <div id="s9">Nine</div>
</div>

<h3>ng2-tooltop-overlay</h3>
<div ng2-tooltip="This is my tooltip">
tooltip 1
Expand Down Expand Up @@ -52,6 +47,10 @@ <h3>ng2-map</h3>
<marker position="Brampton, Canada" draggable="true"></marker>
</ng2-map>

<ng2-map center="New York, USA" scrollwheel="false">
<marker position="New York, USA" draggable="true"></marker>
</ng2-map>

<h3>ng2-infinite-list</h3>

<h3>ng2-parallax-scroll</h3>
Expand Down
212 changes: 98 additions & 114 deletions app/build/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/build/app.js.map

Large diffs are not rendered by default.

13 changes: 11 additions & 2 deletions app/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,22 @@ import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from "@angular/forms";
import { HttpModule } from '@angular/http';
import { Ng2UIModule } from 'ng2-ui';
import { Ng2UIModule, Ng2MapModule } from 'ng2-ui';

import { AppComponent } from './app.component';


@NgModule({
imports: [BrowserModule, FormsModule, HttpModule, Ng2UIModule],
imports: [
BrowserModule,
FormsModule,
HttpModule,
Ng2UIModule,
Ng2MapModule['forRoot']({
apiUrl: 'https://maps.google.com/maps/api/js?key=AIzaSyCbMGRUwcqKjlYX4h4-P6t-xcDryRYLmCM' +
'&libraries=visualization,places,drawing',
})
],
declarations: [AppComponent],
bootstrap: [ AppComponent ]
})
Expand Down
9 changes: 2 additions & 7 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
import { Ng2OverlayManager } from 'ng2-overlay';
import { Ng2MapComponent } from "ng2-map";
import { Ng2ScrollableDirective } from "ng2-scrollable";
import { Ng2MessagePopupComponent, Ng2PopupComponent } from "ng2-popup";
export { Ng2OverlayManager, Ng2PopupComponent, Ng2MessagePopupComponent, Ng2MapComponent, Ng2ScrollableDirective };
export declare class Ng2UIModule {
}
import { Ng2ScrollableDirective, Ng2MessagePopupComponent, Ng2PopupComponent, Ng2OverlayManager, Ng2MapComponent, Ng2UIModule, Ng2MapModule } from './ng2-ui.module';
export { Ng2OverlayManager, Ng2PopupComponent, Ng2MessagePopupComponent, Ng2MapComponent, Ng2ScrollableDirective, Ng2MapModule, Ng2UIModule };
72 changes: 8 additions & 64 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/index.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"__symbolic":"module","version":3,"metadata":{"Ng2OverlayManager":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2OverlayManager"},"Ng2PopupComponent":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2PopupComponent"},"Ng2MessagePopupComponent":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2MessagePopupComponent"},"Ng2MapComponent":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2MapComponent"},"Ng2ScrollableDirective":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2ScrollableDirective"},"Ng2MapModule":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2MapModule"},"Ng2UIModule":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2UIModule"}}},{"__symbolic":"module","version":1,"metadata":{"Ng2OverlayManager":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2OverlayManager"},"Ng2PopupComponent":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2PopupComponent"},"Ng2MessagePopupComponent":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2MessagePopupComponent"},"Ng2MapComponent":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2MapComponent"},"Ng2ScrollableDirective":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2ScrollableDirective"},"Ng2MapModule":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2MapModule"},"Ng2UIModule":{"__symbolic":"reference","module":"./ng2-ui.module","name":"Ng2UIModule"}}}]
8 changes: 8 additions & 0 deletions dist/ng2-ui.module.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { Ng2MapModule } from "ng2-map";
import { Ng2OverlayManager } from 'ng2-overlay';
import { Ng2ScrollableDirective } from "ng2-scrollable";
import { Ng2MessagePopupComponent, Ng2PopupComponent } from "ng2-popup";
import { Ng2MapComponent } from "ng2-map";
export { Ng2OverlayManager, Ng2ScrollableDirective, Ng2MessagePopupComponent, Ng2PopupComponent, Ng2MapComponent, Ng2MapModule };
export declare class Ng2UIModule {
}
63 changes: 63 additions & 0 deletions dist/ng2-ui.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/ng2-ui.module.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9694ea1

Please sign in to comment.