generator-lib-commons-angular5
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -147,4 +147,4 @@ import { ErrorMessage } from './error-message.exception'; | ||
var messageParamsArrayInstance = []; | ||
var messageParamsArrayJsonLength = messageParamsArrayInstance.length; | ||
for (var i = 0; i < messageParamsArrayJsonLength; i++) { | ||
var messageParamsJsonArrayLength = messageParamsJsonArray.length; | ||
for (var i = 0; i < messageParamsJsonArrayLength; i++) { | ||
var errorMessageParams = new ErrorMessageParams(); | ||
@@ -151,0 +151,0 @@ errorMessageParams.setName(messageParamsJsonArray[i].name); |
@@ -364,4 +364,4 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var messageParamsArrayInstance = []; | ||
var messageParamsArrayJsonLength = messageParamsArrayInstance.length; | ||
for (var i = 0; i < messageParamsArrayJsonLength; i++) { | ||
var messageParamsJsonArrayLength = messageParamsJsonArray.length; | ||
for (var i = 0; i < messageParamsJsonArrayLength; i++) { | ||
var errorMessageParams = new error_message_params_exception_1.ErrorMessageParams(); | ||
@@ -368,0 +368,0 @@ errorMessageParams.setName(messageParamsJsonArray[i].name); |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/common"),require("@angular/core")):"function"==typeof define&&define.amd?define(["@angular/common","@angular/core"],t):"object"==typeof exports?exports["generator-lib-commons-angular5"]=t(require("@angular/common"),require("@angular/core")):e["generator-lib-commons-angular5"]=t(e.ng.common,e.ng.core)}("undefined"!=typeof self?self:this,function(e,t){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.setCode=function(e){this.code=e},e.prototype.getCode=function(){return this.code},e.prototype.setMessage=function(e){this.message=e},e.prototype.getMessage=function(){return this.message},e.prototype.setType=function(e){this.type=e},e.prototype.getType=function(){return this.type},e.prototype.setParameters=function(e){this.parameters=e},e.prototype.getParameters=function(){return this.parameters},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e}();t.ErrorMessage=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.setName=function(e){this.name=e},e.prototype.getName=function(){return this.name},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e}();t.ErrorMessageParams=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3);t.GeneratorLibCommonsModuleAngular5=n.GeneratorLibCommonsModuleAngular5;var o=r(6);t.Errors=o.Errors;var s=r(0);t.ErrorMessage=s.ErrorMessage;var u=r(7);t.ErrorMessageType=u.ErrorMessageType;var a=r(1);t.ErrorMessageParams=a.ErrorMessageParams;var i=r(8);t.Metadata=i.Metadata;var c=r(9);t.ImplicitHeadersOutput=c.ImplicitHeadersOutput;var f=r(10);t.RandomValues=f.RandomValues;var p=r(11);t.RequestConfig=p.RequestConfig;var l=r(12);t.ParserValues=l.ParserValues;var d=r(13);t.SchemesValues=d.SchemesValues},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,s=arguments.length,u=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(u=(s<3?o(u):s>3?o(t,r,u):o(t,r))||u);return s>3&&u&&Object.defineProperty(t,r,u),u};Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),s=r(5),u=function(){function e(){}return t=e,e.forRoot=function(){return{ngModule:t}},e=t=n([s.NgModule({imports:[o.CommonModule]})],e);var t}();t.GeneratorLibCommonsModuleAngular5=u},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=r(1),s=function(){function e(e){this.status=e}return e.prototype.setStatus=function(e){this.status=e},e.prototype.getStatus=function(){return this.status},e.prototype.setMessages=function(e){this.messages=e},e.prototype.getMessages=function(){return this.messages},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e.parse=function(t,r){var n=new e(t),o=null;return null!=r&&"undefined"!=r&&null!=r.messages&&"undefined"!=r.messages&&(o=e.parseMessages(r.messages)),n.setMessages(o),n},e.parseMessages=function(t){for(var r=[],o=t.length,s=0;s<o;s++){var u=new n.ErrorMessage;u.setCode(t[s].code),u.setMessage(t[s].message),u.setType(t[s].type);var a=null;null!=t[s].parameters&&"undefined"!=t[s].parameters&&(a=e.parseMessageParams(t[s].parameters)),u.setParameters(a),r[s]=u}return r},e.parseMessageParams=function(e){for(var t=[],r=t.length,n=0;n<r;n++){var s=new o.ErrorMessageParams;s.setName(e[n].name),t[n]=s}return t},e}();t.Errors=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.fatal="fatal",e.critical="critical",e.error="error",e.warning="warning",e}();t.ErrorMessageType=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.implicitHeadersOutput=e}return e.prototype.getImplicitHeadersOutput=function(){return this.implicitHeadersOutput},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e}();t.Metadata=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.outputHeadersMap=new Map,e&&(this.outputHeadersMap=e)}return e.prototype.setRawHeaderBoolean=function(e,t){if(null!=t){var r=void 0;for(var n in t)r.push(n.toString());this.setRawHeader(e,r)}},e.prototype.setRawHeaderNumber=function(e,t){if(null!=t){var r=void 0;for(var n in t)r.push(n.toString());this.setRawHeader(e,r)}},e.prototype.setRawHeaderString=function(e,t){this.setRawHeader(e,t)},e.prototype.setRawHeader=function(e,t){null!=t&&this.outputHeadersMap.set(e,t)},e.prototype.getOutputHeadersMap=function(){return this.outputHeadersMap},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e}();t.ImplicitHeadersOutput=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.generateRandomBoolean=function(){return Math.random()>=.5},e.generateRandomNumber=function(){return Math.floor(10*Math.random()+1)},e.generateRandomString=function(){for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=0;r<5;r++)e+=t.charAt(Math.floor(Math.random()*t.length));return e},e.generateRandomFile=function(){return"dummyLocation"},e}();t.RandomValues=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.schemesValue=e}return e.prototype.getSchemeValues=function(){return this.schemesValue},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e}();t.RequestConfig=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.booleanParser=function(e){return!0===e},e.numberParser=function(e){return parseInt(e)},e.floatParser=function(e){return parseFloat(e)},e.stringParser=function(e){return String(e)},e.fileParser=function(e){return e},e}();t.ParserValues=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.http="http",e.https="https",e.ws="ws",e.wss="wss",e}();t.SchemesValues=n}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/common"),require("@angular/core")):"function"==typeof define&&define.amd?define(["@angular/common","@angular/core"],t):"object"==typeof exports?exports["generator-lib-commons-angular5"]=t(require("@angular/common"),require("@angular/core")):e["generator-lib-commons-angular5"]=t(e.ng.common,e.ng.core)}("undefined"!=typeof self?self:this,function(e,t){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.setCode=function(e){this.code=e},e.prototype.getCode=function(){return this.code},e.prototype.setMessage=function(e){this.message=e},e.prototype.getMessage=function(){return this.message},e.prototype.setType=function(e){this.type=e},e.prototype.getType=function(){return this.type},e.prototype.setParameters=function(e){this.parameters=e},e.prototype.getParameters=function(){return this.parameters},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e}();t.ErrorMessage=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.setName=function(e){this.name=e},e.prototype.getName=function(){return this.name},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e}();t.ErrorMessageParams=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3);t.GeneratorLibCommonsModuleAngular5=n.GeneratorLibCommonsModuleAngular5;var o=r(6);t.Errors=o.Errors;var s=r(0);t.ErrorMessage=s.ErrorMessage;var u=r(7);t.ErrorMessageType=u.ErrorMessageType;var a=r(1);t.ErrorMessageParams=a.ErrorMessageParams;var i=r(8);t.Metadata=i.Metadata;var c=r(9);t.ImplicitHeadersOutput=c.ImplicitHeadersOutput;var f=r(10);t.RandomValues=f.RandomValues;var p=r(11);t.RequestConfig=p.RequestConfig;var l=r(12);t.ParserValues=l.ParserValues;var d=r(13);t.SchemesValues=d.SchemesValues},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,s=arguments.length,u=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(u=(s<3?o(u):s>3?o(t,r,u):o(t,r))||u);return s>3&&u&&Object.defineProperty(t,r,u),u};Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),s=r(5),u=function(){function e(){}return t=e,e.forRoot=function(){return{ngModule:t}},e=t=n([s.NgModule({imports:[o.CommonModule]})],e);var t}();t.GeneratorLibCommonsModuleAngular5=u},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=r(1),s=function(){function e(e){this.status=e}return e.prototype.setStatus=function(e){this.status=e},e.prototype.getStatus=function(){return this.status},e.prototype.setMessages=function(e){this.messages=e},e.prototype.getMessages=function(){return this.messages},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e.parse=function(t,r){var n=new e(t),o=null;return null!=r&&"undefined"!=r&&null!=r.messages&&"undefined"!=r.messages&&(o=e.parseMessages(r.messages)),n.setMessages(o),n},e.parseMessages=function(t){for(var r=[],o=t.length,s=0;s<o;s++){var u=new n.ErrorMessage;u.setCode(t[s].code),u.setMessage(t[s].message),u.setType(t[s].type);var a=null;null!=t[s].parameters&&"undefined"!=t[s].parameters&&(a=e.parseMessageParams(t[s].parameters)),u.setParameters(a),r[s]=u}return r},e.parseMessageParams=function(e){for(var t=[],r=e.length,n=0;n<r;n++){var s=new o.ErrorMessageParams;s.setName(e[n].name),t[n]=s}return t},e}();t.Errors=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.fatal="fatal",e.critical="critical",e.error="error",e.warning="warning",e}();t.ErrorMessageType=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.implicitHeadersOutput=e}return e.prototype.getImplicitHeadersOutput=function(){return this.implicitHeadersOutput},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e}();t.Metadata=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.outputHeadersMap=new Map,e&&(this.outputHeadersMap=e)}return e.prototype.setRawHeaderBoolean=function(e,t){if(null!=t){var r=void 0;for(var n in t)r.push(n.toString());this.setRawHeader(e,r)}},e.prototype.setRawHeaderNumber=function(e,t){if(null!=t){var r=void 0;for(var n in t)r.push(n.toString());this.setRawHeader(e,r)}},e.prototype.setRawHeaderString=function(e,t){this.setRawHeader(e,t)},e.prototype.setRawHeader=function(e,t){null!=t&&this.outputHeadersMap.set(e,t)},e.prototype.getOutputHeadersMap=function(){return this.outputHeadersMap},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e}();t.ImplicitHeadersOutput=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.generateRandomBoolean=function(){return Math.random()>=.5},e.generateRandomNumber=function(){return Math.floor(10*Math.random()+1)},e.generateRandomString=function(){for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=0;r<5;r++)e+=t.charAt(Math.floor(Math.random()*t.length));return e},e.generateRandomFile=function(){return"dummyLocation"},e}();t.RandomValues=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.schemesValue=e}return e.prototype.getSchemeValues=function(){return this.schemesValue},e.prototype.toString=function(){return JSON.stringify(this,null,4)},e}();t.RequestConfig=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.booleanParser=function(e){return!0===e},e.numberParser=function(e){return parseInt(e)},e.floatParser=function(e){return parseFloat(e)},e.stringParser=function(e){return String(e)},e.fileParser=function(e){return e},e}();t.ParserValues=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.http="http",e.https="https",e.ws="ws",e.wss="wss",e}();t.SchemesValues=n}])}); | ||
//# sourceMappingURL=generator-lib-commons-angular5.umd.min.js.map |
{ | ||
"name": "generator-lib-commons-angular5", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "This is a common library for the autogenerated libraries with the API Rest Generator for Angular5", | ||
@@ -5,0 +5,0 @@ "main": "lib/generator-lib-commons-angular5.umd.js", |
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
178052