Skip to content

Commit bf23bd2

Browse files
committed
Added Timeline, News, Progress bars
Fixed Charts
1 parent 2e81559 commit bf23bd2

30 files changed

+604
-224
lines changed

docs/0.chunk.js

Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,109 @@
11
webpackJsonp([0],{
22

3+
/***/ "../../../../../src/app/components/ng2-newslist/ng2newslist.component.html":
4+
/***/ (function(module, exports) {
5+
6+
module.exports = "<div *ngFor=\"let item of items;index as i\" class=\"article border-bottom\">\r\n<div class=\"col-xs-12\">\r\n <div class=\"row\">\r\n <div class=\"col-xs-2 col-md-2 date\">\r\n <div class=\"large\">{{item['large']}}</div>\r\n <div class=\"text-muted\">{{item['small']}}</div>\r\n </div>\r\n <div class=\"col-xs-10 col-md-10\">\r\n <h4><a href=\"{{item['link']}}\">{{item['title']}}</a></h4>\r\n <p>{{item['content']}}</p>\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"clear\"></div>\r\n</div><!--End .article-->\r\n"
7+
8+
/***/ }),
9+
10+
/***/ "../../../../../src/app/components/ng2-newslist/ng2newslist.component.scss":
11+
/***/ (function(module, exports, __webpack_require__) {
12+
13+
exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false);
14+
// imports
15+
16+
17+
// module
18+
exports.push([module.i, "", ""]);
19+
20+
// exports
21+
22+
23+
/*** EXPORTS FROM exports-loader ***/
24+
module.exports = module.exports.toString();
25+
26+
/***/ }),
27+
28+
/***/ "../../../../../src/app/components/ng2-newslist/ng2newslist.component.ts":
29+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
30+
31+
"use strict";
32+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js");
33+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Ng2NewsListComponent; });
34+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
35+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
36+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
37+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
38+
return c > 3 && r && Object.defineProperty(target, key, r), r;
39+
};
40+
var __metadata = (this && this.__metadata) || function (k, v) {
41+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
42+
};
43+
/**
44+
* Created by mohma on 7/31/2017.
45+
*/
46+
47+
var Ng2NewsListComponent = (function () {
48+
function Ng2NewsListComponent() {
49+
}
50+
return Ng2NewsListComponent;
51+
}());
52+
__decorate([
53+
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])('data'),
54+
__metadata("design:type", Object)
55+
], Ng2NewsListComponent.prototype, "items", void 0);
56+
Ng2NewsListComponent = __decorate([
57+
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"])({
58+
selector: 'ng2-news-list',
59+
template: __webpack_require__("../../../../../src/app/components/ng2-newslist/ng2newslist.component.html"),
60+
styles: [__webpack_require__("../../../../../src/app/components/ng2-newslist/ng2newslist.component.scss")]
61+
})
62+
], Ng2NewsListComponent);
63+
64+
//# sourceMappingURL=ng2newslist.component.js.map
65+
66+
/***/ }),
67+
68+
/***/ "../../../../../src/app/components/ng2-newslist/ng2newslist.module.ts":
69+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
70+
71+
"use strict";
72+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js");
73+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common__ = __webpack_require__("../../../common/@angular/common.es5.js");
74+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ng2newslist_component__ = __webpack_require__("../../../../../src/app/components/ng2-newslist/ng2newslist.component.ts");
75+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Ng2NewsList; });
76+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
77+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
78+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
79+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
80+
return c > 3 && r && Object.defineProperty(target, key, r), r;
81+
};
82+
/**
83+
* Created by mohma on 7/31/2017.
84+
*/
85+
86+
87+
88+
var Ng2NewsList = (function () {
89+
function Ng2NewsList() {
90+
}
91+
return Ng2NewsList;
92+
}());
93+
Ng2NewsList = __decorate([
94+
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["NgModule"])({
95+
imports: [
96+
__WEBPACK_IMPORTED_MODULE_1__angular_common__["CommonModule"]
97+
],
98+
declarations: [__WEBPACK_IMPORTED_MODULE_2__ng2newslist_component__["a" /* Ng2NewsListComponent */]],
99+
exports: [__WEBPACK_IMPORTED_MODULE_2__ng2newslist_component__["a" /* Ng2NewsListComponent */]]
100+
})
101+
], Ng2NewsList);
102+
103+
//# sourceMappingURL=ng2newslist.module.js.map
104+
105+
/***/ }),
106+
3107
/***/ "../../../../chart.js/src/chart.js":
4108
/***/ (function(module, exports, __webpack_require__) {
5109

@@ -29352,6 +29456,81 @@ function __export(m) {
2935229456
__export(__webpack_require__("../../../../ng2-charts/charts/charts.js"));
2935329457

2935429458

29459+
/***/ }),
29460+
29461+
/***/ "../../../../ng2-timeline/index.js":
29462+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
29463+
29464+
"use strict";
29465+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("../../../core/@angular/core.es5.js");
29466+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common__ = __webpack_require__("../../../common/@angular/common.es5.js");
29467+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Ng2Timeline; });
29468+
29469+
29470+
29471+
/**
29472+
* Created by mohma on 7/31/2017.
29473+
*/
29474+
var Ng2TimelineComponent = (function () {
29475+
function Ng2TimelineComponent() {
29476+
}
29477+
/**
29478+
* @param {?} index
29479+
* @return {?}
29480+
*/
29481+
Ng2TimelineComponent.prototype.onClick = function (index) {
29482+
if (this.listener) {
29483+
if (this.listener(this.items[index])) {
29484+
this.items[index]['complete'] = !this.items[index]['complete'];
29485+
}
29486+
}
29487+
};
29488+
/**
29489+
* @return {?}
29490+
*/
29491+
Ng2TimelineComponent.prototype.ngOnInit = function () {
29492+
};
29493+
return Ng2TimelineComponent;
29494+
}());
29495+
Ng2TimelineComponent.decorators = [
29496+
{ type: __WEBPACK_IMPORTED_MODULE_0__angular_core__["Component"], args: [{
29497+
selector: 'ng2-timeline',
29498+
template: "<ul class=\"timeline\"> <li *ngFor=\"let item of items; index as i\"> <a href=\"javascript:void(0)\" (click)=\"onClick(i)\"> <div class=\"timeline-badge {{item['complete']?'primary':''}}\" [innerHTML]=\"item['icon']\"> </div> </a> <div class=\"timeline-panel {{item['complete']?'completedEvent':''}}\"> <div class=\"timeline-heading\"> <h4 class=\"timeline-title\">{{item['title']}}</h4> </div> <div class=\"timeline-body\"> <p>{{item['content']}}</p> </div> </div> </li> </ul> ",
29499+
styles: [".timeline { list-style: none; padding: 20px 0 20px; position: relative; } .timeline:before { top: 0; bottom: 0; position: absolute; content: \" \"; width: 2px; background-color: #e9ecf2; left: 25px; margin-right: -1.5px; } .timeline > li { margin-bottom: 20px; position: relative; box-sizing: border-box; } .timeline > li:before, .timeline > li:after { content: \" \"; display: table; } .timeline > li > a > .timeline-badge { color: #fff; width: 46px; height: 46px; line-height: 51px; font-size: 1.4em; text-align: center; position: absolute; top: 16px; left: 0px; margin-right: -25px; background-color: #999999; z-index: 100; border-radius: 9999px; } .timeline > li > .timeline-panel { width: calc( 100% - 65px); float: right; border: 1px solid #edeeed; border-radius: 2px; padding: 10px 20px; position: relative; box-shadow: none; } .timeline > li:after { clear: both; } .timeline-badge.primary { background-color: #30a5ff !important; } .completedEvent { text-decoration: line-through; } "]
29500+
},] },
29501+
];
29502+
/**
29503+
* @nocollapse
29504+
*/
29505+
Ng2TimelineComponent.ctorParameters = function () { return []; };
29506+
Ng2TimelineComponent.propDecorators = {
29507+
'items': [{ type: __WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"], args: ['data',] },],
29508+
'listener': [{ type: __WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"], args: ['completeListener',] },],
29509+
};
29510+
29511+
var Ng2Timeline = (function () {
29512+
function Ng2Timeline() {
29513+
}
29514+
return Ng2Timeline;
29515+
}());
29516+
Ng2Timeline.decorators = [
29517+
{ type: __WEBPACK_IMPORTED_MODULE_0__angular_core__["NgModule"], args: [{
29518+
imports: [
29519+
__WEBPACK_IMPORTED_MODULE_1__angular_common__["CommonModule"]
29520+
],
29521+
declarations: [Ng2TimelineComponent],
29522+
providers: [],
29523+
exports: [Ng2TimelineComponent]
29524+
},] },
29525+
];
29526+
/**
29527+
* @nocollapse
29528+
*/
29529+
Ng2Timeline.ctorParameters = function () { return []; };
29530+
29531+
29532+
29533+
2935529534
/***/ }),
2935629535

2935729536
/***/ "../../../../rxjs/observable/ForkJoinObservable.js":

docs/0.chunk.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)