sss-core-lib
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -262,3 +262,3 @@ (function (global, factory) { | ||
this.methodName = methodName; | ||
this.apiUrl = 'http://ovz1.sasha100rus.me78p.vps.myjino.ru:49372'; | ||
this.apiUrl = 'https://ovz1.sasha100rus.me78p.vps.myjino.ru:49372'; | ||
} | ||
@@ -265,0 +265,0 @@ /** |
@@ -15,3 +15,3 @@ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@angular/common/http"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("sss-core-lib",["exports","@angular/core","@angular/common","@angular/common/http","rxjs/operators"],e):e((t=t||self)["sss-core-lib"]={},t.ng.core,t.ng.common,t.ng.common.http,t.rxjs.operators)}(this,(function(t,e,n,r,o){"use strict"; | ||
and limitations under the License. | ||
***************************************************************************** */var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function c(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[],imports:[n.CommonModule,r.HttpClientModule]}]}],t}(),p=function(){function t(){}return t.prototype.helloSss=function(){return"Hello, Sss!"},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),u=function(){function t(t,e,n){this.http=t,this.authService=e,this.methodName=n,this.apiUrl="http://ovz1.sasha100rus.me78p.vps.myjino.ru:49372"}return t.prototype.get=function(t){return this.http.get(this.apiUrl+"/"+this.methodName+(t||""),{headers:this.getHeaders()})},t.prototype.getItem=function(t){return this.get("/"+t)},t.prototype.post=function(t,e){return this.http.post(this.apiUrl+"/"+this.methodName+(e||""),t,{headers:this.getHeaders()})},t.prototype.put=function(t,e){return this.http.put(this.apiUrl+"/"+this.methodName+(e||""),t,{headers:this.getHeaders()})},t.prototype.delete=function(t){return this.http.delete(this.apiUrl+"/"+this.methodName+(t?"/"+t:""),{headers:this.getHeaders()})},t.prototype.getHeaders=function(){var t={"Content-Type":"application/json"};return this.authService&&(t.Authorization="Bearer "+this.authService.getToken()),new r.HttpHeaders(t)},t}();var s=function(t){function n(e){return t.call(this,e,void 0,"auth")||this}return c(n,t),n.prototype.login=function(t,e){var n=this;return this.post({username:t,password:e},"/login").pipe(o.map((function(t){return t.access_token}))).pipe(o.tap((function(t){if(!t||0===t.length)throw new Error("Response token is invalid");n.accessToken=t})))},n.prototype.getToken=function(){return this.accessToken},n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient))},token:n,providedIn:"root"}),n}(u);var l=function(t){function n(e,n){var r=t.call(this,e,n,"collection")||this;return r.http=e,r.authService=n,r}return c(n,t),n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var f=function(t){function n(e,n){var r=t.call(this,e,n,"collection")||this;return r.http=e,r.authService=n,r}return c(n,t),n.prototype.get=function(e){return t.prototype.get.call(this,"/"+e+"/list")},n.prototype.getItem=function(e,n){return t.prototype.get.call(this,"/"+e+"/list/"+n)},n.prototype.post=function(e,n,r){return t.prototype.post.call(this,e,"/"+n+"/list/"+r)},n.prototype.delete=function(e,n){return t.prototype.delete.call(this,e+"/list/"+n)},n.prototype.put=function(e,n){return t.prototype.put.call(this,e,"/"+n+"/list")},n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var h=function(t){function n(e,n){var r=t.call(this,e,n,"config")||this;return r.http=e,r.authService=n,r}return c(n,t),n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var d=function(t){function n(e,n){var r=t.call(this,e,n,"group")||this;return r.http=e,r.authService=n,r}return c(n,t),n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var y=function(t){function n(e,n){var r=t.call(this,e,n,"media")||this;return r.http=e,r.authService=n,r}return c(n,t),n.prototype.download=function(t){location.href=this.apiUrl+"/media/"+t+"/file"},n.prototype.upload=function(t){var e=this.apiUrl+"/media",n=new FormData;return n.append("file",t,t.name),this.http.post(e,n,{headers:{Authorization:"Bearer "+this.authService.getToken()}})},n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var v=function(t){function n(e,n){var r=t.call(this,e,n,"notification")||this;return r.http=e,r.authService=n,r}return c(n,t),n.prototype.sendMail=function(e){return t.prototype.post.call(this,e,"/email")},n.prototype.history=function(){return t.prototype.get.call(this,"/history")},n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var j=function(t){function n(e,n){var r=t.call(this,e,n,"user")||this;return r.http=e,r.authService=n,r}return c(n,t),n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var g=function(t){function n(e,n){var r=t.call(this,e,n,"workspace")||this;return r.http=e,r.authService=n,r}return c(n,t),n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);t.AuthService=s,t.CollectionListService=f,t.CollectionService=l,t.ConfigService=h,t.GroupService=d,t.MediaService=y,t.NotificationService=v,t.SssCoreModule=a,t.SssCoreService=p,t.UserService=j,t.WorkspaceService=g,t.ɵa=u,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
***************************************************************************** */var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function c(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[],imports:[n.CommonModule,r.HttpClientModule]}]}],t}(),p=function(){function t(){}return t.prototype.helloSss=function(){return"Hello, Sss!"},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),u=function(){function t(t,e,n){this.http=t,this.authService=e,this.methodName=n,this.apiUrl="https://ovz1.sasha100rus.me78p.vps.myjino.ru:49372"}return t.prototype.get=function(t){return this.http.get(this.apiUrl+"/"+this.methodName+(t||""),{headers:this.getHeaders()})},t.prototype.getItem=function(t){return this.get("/"+t)},t.prototype.post=function(t,e){return this.http.post(this.apiUrl+"/"+this.methodName+(e||""),t,{headers:this.getHeaders()})},t.prototype.put=function(t,e){return this.http.put(this.apiUrl+"/"+this.methodName+(e||""),t,{headers:this.getHeaders()})},t.prototype.delete=function(t){return this.http.delete(this.apiUrl+"/"+this.methodName+(t?"/"+t:""),{headers:this.getHeaders()})},t.prototype.getHeaders=function(){var t={"Content-Type":"application/json"};return this.authService&&(t.Authorization="Bearer "+this.authService.getToken()),new r.HttpHeaders(t)},t}();var s=function(t){function n(e){return t.call(this,e,void 0,"auth")||this}return c(n,t),n.prototype.login=function(t,e){var n=this;return this.post({username:t,password:e},"/login").pipe(o.map((function(t){return t.access_token}))).pipe(o.tap((function(t){if(!t||0===t.length)throw new Error("Response token is invalid");n.accessToken=t})))},n.prototype.getToken=function(){return this.accessToken},n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient))},token:n,providedIn:"root"}),n}(u);var l=function(t){function n(e,n){var r=t.call(this,e,n,"collection")||this;return r.http=e,r.authService=n,r}return c(n,t),n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var f=function(t){function n(e,n){var r=t.call(this,e,n,"collection")||this;return r.http=e,r.authService=n,r}return c(n,t),n.prototype.get=function(e){return t.prototype.get.call(this,"/"+e+"/list")},n.prototype.getItem=function(e,n){return t.prototype.get.call(this,"/"+e+"/list/"+n)},n.prototype.post=function(e,n,r){return t.prototype.post.call(this,e,"/"+n+"/list/"+r)},n.prototype.delete=function(e,n){return t.prototype.delete.call(this,e+"/list/"+n)},n.prototype.put=function(e,n){return t.prototype.put.call(this,e,"/"+n+"/list")},n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var h=function(t){function n(e,n){var r=t.call(this,e,n,"config")||this;return r.http=e,r.authService=n,r}return c(n,t),n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var d=function(t){function n(e,n){var r=t.call(this,e,n,"group")||this;return r.http=e,r.authService=n,r}return c(n,t),n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var y=function(t){function n(e,n){var r=t.call(this,e,n,"media")||this;return r.http=e,r.authService=n,r}return c(n,t),n.prototype.download=function(t){location.href=this.apiUrl+"/media/"+t+"/file"},n.prototype.upload=function(t){var e=this.apiUrl+"/media",n=new FormData;return n.append("file",t,t.name),this.http.post(e,n,{headers:{Authorization:"Bearer "+this.authService.getToken()}})},n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var v=function(t){function n(e,n){var r=t.call(this,e,n,"notification")||this;return r.http=e,r.authService=n,r}return c(n,t),n.prototype.sendMail=function(e){return t.prototype.post.call(this,e,"/email")},n.prototype.history=function(){return t.prototype.get.call(this,"/history")},n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var j=function(t){function n(e,n){var r=t.call(this,e,n,"user")||this;return r.http=e,r.authService=n,r}return c(n,t),n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);var g=function(t){function n(e,n){var r=t.call(this,e,n,"workspace")||this;return r.http=e,r.authService=n,r}return c(n,t),n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.HttpClient},{type:s}]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(r.HttpClient),e.ɵɵinject(s))},token:n,providedIn:"root"}),n}(u);t.AuthService=s,t.CollectionListService=f,t.CollectionService=l,t.ConfigService=h,t.GroupService=d,t.MediaService=y,t.NotificationService=v,t.SssCoreModule=a,t.SssCoreService=p,t.UserService=j,t.WorkspaceService=g,t.ɵa=u,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=sss-core-lib.umd.min.js.map |
@@ -17,3 +17,3 @@ /** | ||
this.methodName = methodName; | ||
this.apiUrl = 'http://ovz1.sasha100rus.me78p.vps.myjino.ru:49372'; | ||
this.apiUrl = 'https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A9IHtcbiAgICAgICdDb250ZW50LVR5cGUnOiAnYXBwbGljYXRpb24vanNvbicsXG4gICAgfTtcbiAgICBpZiAodGhpcy5hdXRoU2VydmljZSkge1xuICAgICAgaGVhZGVycy5BdXRob3JpemF0aW9uID0gJ0JlYXJlciAnICsgdGhpcy5hdXRoU2VydmljZS5nZXRUb2tlbigpO1xuICAgIH1cbiAgICByZXR1cm4gbmV3IEh0dHBIZWFkZXJzKGhlYWRlcnMpO1xuICB9XG5cbn1cbiJdfQ== |
@@ -12,3 +12,3 @@ /** | ||
this.methodName = methodName; | ||
this.apiUrl = 'http://ovz1.sasha100rus.me78p.vps.myjino.ru:49372'; | ||
this.apiUrl = 'https://ovz1.sasha100rus.me78p.vps.myjino.ru:49372'; | ||
} | ||
@@ -122,2 +122,2 @@ /** | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9zc3MtY29yZS1saWIvIiwic291cmNlcyI6WyJsaWIvYXBpLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFDQSxPQUFPLEVBQWMsV0FBVyxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFJL0Q7SUFJRSxvQkFDcUIsSUFBZ0IsRUFDaEIsV0FBVyxFQUN0QixVQUFrQjtRQUZQLFNBQUksR0FBSixJQUFJLENBQVk7UUFDaEIsZ0JBQVcsR0FBWCxXQUFXLENBQUE7UUFDdEIsZUFBVSxHQUFWLFVBQVUsQ0FBUTtRQUxaLFdBQU0sR0FBRyxtREFBbUQsQ0FBQztJQU16RSxDQUFDOzs7Ozs7SUFFTCx3QkFBRzs7Ozs7SUFBSCxVQUFPLElBQWE7UUFDbEIsT0FBTyxtQkFBQSxJQUFJLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsTUFBTSxHQUFHLEdBQUc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IH0pO1xuICB9XG5cbiAgcHV0PFQ+KGJvZHk6IFQsIHBhdGg/OiBzdHJpbmcpIHtcbiAgICByZXR1cm4gdGhpcy5odHRwLnB1dCh0aGlzLmFwaVVybCArICcvJyArIHRoaXMubWV0aG9kTmFtZSArIChwYXRoIHx8ICcnKSwgYm9keSwgeyBoZWFkZXJzOiB0aGlzLmdldEhlYWRlcnMoKSB9KTtcbiAgfVxuXG4gIGRlbGV0ZShpZD86IHN0cmluZyk6IE9ic2VydmFibGU8SURlbGV0ZVJlc3BvbnNlPiB7XG4gICAgcmV0dXJuIHRoaXMuaHR0cC5kZWxldGUoXG4gICAgICB0aGlzLmFwaVVybCArICcvJyArIHRoaXMubWV0aG9kTmFtZSArIChpZCA/ICcvJyArIGlkIDogJycpLFxuICAgICAgeyBoZWFkZXJzOiB0aGlzLmdldEhlYWRlcnMoKSB9XG4gICAgKSBhcyBPYnNlcnZhYmxlPElEZWxldGVSZXNwb25zZT47XG4gIH1cblxuICBwcml2YXRlIGdldEhlYWRlcnMoKTogYW55IHtcbiAgICBjb25zdCBoZWFkZXJzOiBhbnkgPSB7XG4gICAgICAnQ29udGVudC1UeXBlJzogJ2FwcGxpY2F0aW9uL2pzb24nLFxuICAgIH07XG4gICAgaWYgKHRoaXMuYXV0aFNlcnZpY2UpIHtcbiAgICAgIGhlYWRlcnMuQXV0aG9yaXphdGlvbiA9ICdCZWFyZXIgJyArIHRoaXMuYXV0aFNlcnZpY2UuZ2V0VG9rZW4oKTtcbiAgICB9XG4gICAgcmV0dXJuIG5ldyBIdHRwSGVhZGVycyhoZWFkZXJzKTtcbiAgfVxuXG59XG4iXX0= |
@@ -61,3 +61,3 @@ import { NgModule, Injectable, ɵɵdefineInjectable, ɵɵinject } from '@angular/core'; | ||
this.methodName = methodName; | ||
this.apiUrl = 'http://ovz1.sasha100rus.me78p.vps.myjino.ru:49372'; | ||
this.apiUrl = 'https://ovz1.sasha100rus.me78p.vps.myjino.ru:49372'; | ||
} | ||
@@ -64,0 +64,0 @@ /** |
@@ -65,3 +65,3 @@ import { NgModule, Injectable, ɵɵdefineInjectable, ɵɵinject } from '@angular/core'; | ||
this.methodName = methodName; | ||
this.apiUrl = 'http://ovz1.sasha100rus.me78p.vps.myjino.ru:49372'; | ||
this.apiUrl = 'https://ovz1.sasha100rus.me78p.vps.myjino.ru:49372'; | ||
} | ||
@@ -68,0 +68,0 @@ /** |
@@ -8,3 +8,3 @@ import { HttpClient } from '@angular/common/http'; | ||
private methodName; | ||
readonly apiUrl = "http://ovz1.sasha100rus.me78p.vps.myjino.ru:49372"; | ||
readonly apiUrl = "https://ovz1.sasha100rus.me78p.vps.myjino.ru:49372"; | ||
constructor(http: HttpClient, authService: any, methodName: string); | ||
@@ -11,0 +11,0 @@ get<R>(path?: string): Observable<R>; |
{ | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"name": "sss-core-lib", | ||
@@ -4,0 +4,0 @@ "description": "This package is used to interact with the cloud service.", |
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
363303