@ngx-loading-bar/core
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -1,2 +0,2 @@ | ||
import { ChangeDetectionStrategy, Component, Injectable, Input, NgModule } from '@angular/core'; | ||
import { Component, Injectable, Input, NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
@@ -121,3 +121,2 @@ import { Subject as Subject$1 } from 'rxjs/Subject'; | ||
preserveWhitespaces: false, | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
styles: ["\n /* Make clicks pass-through */\n :host > div {\n pointer-events: none;\n -webkit-pointer-events: none;\n -webkit-transition: 350ms linear all;\n transition: 350ms linear all;\n color: #29d;\n /* Fancy blur effect */ }\n :host > div .bar {\n -webkit-transition: width 350ms;\n transition: width 350ms;\n background: #29d;\n position: fixed;\n z-index: 10002;\n top: 0;\n left: 0;\n width: 100%;\n height: 2px;\n border-bottom-right-radius: 1px;\n border-top-right-radius: 1px; }\n :host > div .peg {\n position: absolute;\n width: 70px;\n right: 0;\n top: 0;\n height: 2px;\n opacity: .45;\n -ms-box-shadow: 1px 0 6px 1px;\n -webkit-box-shadow: 1px 0 6px 1px;\n box-shadow: 1px 0 6px 1px;\n color: inherit;\n border-radius: 100%; }\n :host > div:first-child {\n display: block;\n position: fixed;\n z-index: 10002;\n top: 10px;\n left: 10px; }\n :host > div:first-child .spinner-icon {\n width: 14px;\n height: 14px;\n border: solid 2px transparent;\n border-top-color: inherit;\n border-left-color: inherit;\n border-radius: 50%;\n -webkit-animation: loading-bar-spinner 400ms linear infinite;\n animation: loading-bar-spinner 400ms linear infinite; }\n\n @-webkit-keyframes loading-bar-spinner {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n @keyframes loading-bar-spinner {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n "], | ||
@@ -124,0 +123,0 @@ },] }, |
@@ -1,2 +0,2 @@ | ||
import { ChangeDetectionStrategy, Component, Injectable, Input, NgModule } from '@angular/core'; | ||
import { Component, Injectable, Input, NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
@@ -128,3 +128,2 @@ import { Subject as Subject$1 } from 'rxjs/Subject'; | ||
preserveWhitespaces: false, | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
styles: [` | ||
@@ -131,0 +130,0 @@ /* Make clicks pass-through */ |
@@ -123,3 +123,2 @@ (function (global, factory) { | ||
preserveWhitespaces: false, | ||
changeDetection: core.ChangeDetectionStrategy.OnPush, | ||
styles: ["\n /* Make clicks pass-through */\n :host > div {\n pointer-events: none;\n -webkit-pointer-events: none;\n -webkit-transition: 350ms linear all;\n transition: 350ms linear all;\n color: #29d;\n /* Fancy blur effect */ }\n :host > div .bar {\n -webkit-transition: width 350ms;\n transition: width 350ms;\n background: #29d;\n position: fixed;\n z-index: 10002;\n top: 0;\n left: 0;\n width: 100%;\n height: 2px;\n border-bottom-right-radius: 1px;\n border-top-right-radius: 1px; }\n :host > div .peg {\n position: absolute;\n width: 70px;\n right: 0;\n top: 0;\n height: 2px;\n opacity: .45;\n -ms-box-shadow: 1px 0 6px 1px;\n -webkit-box-shadow: 1px 0 6px 1px;\n box-shadow: 1px 0 6px 1px;\n color: inherit;\n border-radius: 100%; }\n :host > div:first-child {\n display: block;\n position: fixed;\n z-index: 10002;\n top: 10px;\n left: 10px; }\n :host > div:first-child .spinner-icon {\n width: 14px;\n height: 14px;\n border: solid 2px transparent;\n border-top-color: inherit;\n border-left-color: inherit;\n border-radius: 50%;\n -webkit-animation: loading-bar-spinner 400ms linear infinite;\n animation: loading-bar-spinner 400ms linear infinite; }\n\n @-webkit-keyframes loading-bar-spinner {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n @keyframes loading-bar-spinner {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n "], | ||
@@ -126,0 +125,0 @@ },] }, |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":3,"metadata":{"LoadingBarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","name":"LoadingBarComponent"}],"exports":[{"__symbolic":"reference","name":"LoadingBarComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LoadingBarModule"},"providers":[{"__symbolic":"reference","name":"LoadingBarService"}]}}}},"LoadingBarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ngx-loading-bar","template":"\n <ng-container *ngIf=\"(loader.progress$|async) as progress\">\n <div id=\"loading-bar-spinner\" *ngIf=\"includeSpinner\" [style.color]=\"color\"><div class=\"spinner-icon\"></div></div>\n <div id=\"loading-bar\" *ngIf=\"includeBar\" [style.color]=\"color\">\n <div class=\"bar\" [style.background]=\"color\" [style.width]=\"progress + '%'\">\n <div class=\"peg\"></div>\n </div>\n </div>\n </ng-container>\n ","preserveWhitespaces":false,"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"styles":["\n /* Make clicks pass-through */\n :host > div {\n pointer-events: none;\n -webkit-pointer-events: none;\n -webkit-transition: 350ms linear all;\n transition: 350ms linear all;\n color: #29d;\n /* Fancy blur effect */ }\n :host > div .bar {\n -webkit-transition: width 350ms;\n transition: width 350ms;\n background: #29d;\n position: fixed;\n z-index: 10002;\n top: 0;\n left: 0;\n width: 100%;\n height: 2px;\n border-bottom-right-radius: 1px;\n border-top-right-radius: 1px; }\n :host > div .peg {\n position: absolute;\n width: 70px;\n right: 0;\n top: 0;\n height: 2px;\n opacity: .45;\n -ms-box-shadow: 1px 0 6px 1px;\n -webkit-box-shadow: 1px 0 6px 1px;\n box-shadow: 1px 0 6px 1px;\n color: inherit;\n border-radius: 100%; }\n :host > div:first-child {\n display: block;\n position: fixed;\n z-index: 10002;\n top: 10px;\n left: 10px; }\n :host > div:first-child .spinner-icon {\n width: 14px;\n height: 14px;\n border: solid 2px transparent;\n border-top-color: inherit;\n border-left-color: inherit;\n border-radius: 50%;\n -webkit-animation: loading-bar-spinner 400ms linear infinite;\n animation: loading-bar-spinner 400ms linear infinite; }\n\n @-webkit-keyframes loading-bar-spinner {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n @keyframes loading-bar-spinner {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n "]}]}],"members":{"includeSpinner":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"includeBar":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LoadingBarService"}]}]}},"LoadingBarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"start":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"increment":[{"__symbolic":"method"}]}}},"origins":{"LoadingBarModule":"./core.module","LoadingBarComponent":"./loading-bar.component","LoadingBarService":"./loading-bar.service"},"importAs":"@ngx-loading-bar/core"} | ||
{"__symbolic":"module","version":3,"metadata":{"LoadingBarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","name":"LoadingBarComponent"}],"exports":[{"__symbolic":"reference","name":"LoadingBarComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LoadingBarModule"},"providers":[{"__symbolic":"reference","name":"LoadingBarService"}]}}}},"LoadingBarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ngx-loading-bar","template":"\n <ng-container *ngIf=\"(loader.progress$|async) as progress\">\n <div id=\"loading-bar-spinner\" *ngIf=\"includeSpinner\" [style.color]=\"color\"><div class=\"spinner-icon\"></div></div>\n <div id=\"loading-bar\" *ngIf=\"includeBar\" [style.color]=\"color\">\n <div class=\"bar\" [style.background]=\"color\" [style.width]=\"progress + '%'\">\n <div class=\"peg\"></div>\n </div>\n </div>\n </ng-container>\n ","preserveWhitespaces":false,"styles":["\n /* Make clicks pass-through */\n :host > div {\n pointer-events: none;\n -webkit-pointer-events: none;\n -webkit-transition: 350ms linear all;\n transition: 350ms linear all;\n color: #29d;\n /* Fancy blur effect */ }\n :host > div .bar {\n -webkit-transition: width 350ms;\n transition: width 350ms;\n background: #29d;\n position: fixed;\n z-index: 10002;\n top: 0;\n left: 0;\n width: 100%;\n height: 2px;\n border-bottom-right-radius: 1px;\n border-top-right-radius: 1px; }\n :host > div .peg {\n position: absolute;\n width: 70px;\n right: 0;\n top: 0;\n height: 2px;\n opacity: .45;\n -ms-box-shadow: 1px 0 6px 1px;\n -webkit-box-shadow: 1px 0 6px 1px;\n box-shadow: 1px 0 6px 1px;\n color: inherit;\n border-radius: 100%; }\n :host > div:first-child {\n display: block;\n position: fixed;\n z-index: 10002;\n top: 10px;\n left: 10px; }\n :host > div:first-child .spinner-icon {\n width: 14px;\n height: 14px;\n border: solid 2px transparent;\n border-top-color: inherit;\n border-left-color: inherit;\n border-radius: 50%;\n -webkit-animation: loading-bar-spinner 400ms linear infinite;\n animation: loading-bar-spinner 400ms linear infinite; }\n\n @-webkit-keyframes loading-bar-spinner {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n @keyframes loading-bar-spinner {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n "]}]}],"members":{"includeSpinner":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"includeBar":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LoadingBarService"}]}]}},"LoadingBarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"start":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"increment":[{"__symbolic":"method"}]}}},"origins":{"LoadingBarModule":"./core.module","LoadingBarComponent":"./loading-bar.component","LoadingBarService":"./loading-bar.service"},"importAs":"@ngx-loading-bar/core"} |
{ | ||
"name": "@ngx-loading-bar/core", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Automatic page loading / progress bar for Angular", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
65542
612