Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng-jhipster

Package Overview
Dependencies
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-jhipster - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

8

index.d.ts

@@ -5,4 +5,4 @@ import { ModuleWithProviders } from '@angular/core';

import { JhiMissingTranslationHandler } from './src/language';
import { ModuleConfig } from './src/config';
import { ConfigService } from './src/config.service';
import { JhiModuleConfig } from './src/config';
import { JhiConfigService } from './src/config.service';
export * from './src/pipe';

@@ -15,5 +15,5 @@ export * from './src/directive';

export declare function translatePartialLoader(http: Http): TranslateHttpLoader;
export declare function missingTranslationHandler(configService: ConfigService): JhiMissingTranslationHandler;
export declare function missingTranslationHandler(configService: JhiConfigService): JhiMissingTranslationHandler;
export declare class NgJhipsterModule {
static forRoot(moduleConfig: ModuleConfig): ModuleWithProviders;
static forRoot(moduleConfig: JhiModuleConfig): ModuleWithProviders;
}

@@ -26,4 +26,4 @@ /*

import { JhiMissingTranslationHandler, JhiTranslateComponent, JhiLanguageService } from './src/language';
import { ModuleConfig } from './src/config';
import { ConfigService } from './src/config.service';
import { JhiModuleConfig } from './src/config';
import { JhiConfigService } from './src/config.service';
// Re export the files

@@ -50,4 +50,4 @@ export * from './src/pipe';

JhiLanguageService,
{ provide: ModuleConfig, useValue: moduleConfig },
ConfigService
{ provide: JhiModuleConfig, useValue: moduleConfig },
JhiConfigService
])

@@ -71,3 +71,3 @@ };

useFactory: missingTranslationHandler,
deps: [ConfigService]
deps: [JhiConfigService]
}

@@ -74,0 +74,0 @@ }),

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"translatePartialLoader":{"__symbolic":"function","parameters":["http"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@ngx-translate/http-loader","name":"TranslateHttpLoader"},"arguments":[{"__symbolic":"reference","name":"http"},"i18n/",".json"]}},"missingTranslationHandler":{"__symbolic":"function","parameters":["configService"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./src/language","name":"JhiMissingTranslationHandler"},"arguments":[{"__symbolic":"reference","name":"configService"}]}},"NgJhipsterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule"},"member":"forRoot"},"arguments":[{"loader":{"provide":{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateLoader"},"useFactory":{"__symbolic":"reference","name":"translatePartialLoader"},"deps":[{"__symbolic":"reference","module":"@angular/http","name":"Http"}]},"missingTranslationHandler":{"provide":{"__symbolic":"reference","module":"@ngx-translate/core","name":"MissingTranslationHandler"},"useFactory":{"__symbolic":"reference","name":"missingTranslationHandler"},"deps":[{"__symbolic":"reference","module":"./src/config.service","name":"ConfigService"}]}}]},{"__symbolic":"reference","module":"@angular/http","name":"HttpModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_PIPES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_DIRECTIVES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_COMPONENTS"}},{"__symbolic":"reference","module":"./src/language","name":"JhiTranslateComponent"}],"exports":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_PIPES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_DIRECTIVES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_COMPONENTS"}},{"__symbolic":"reference","module":"./src/language","name":"JhiTranslateComponent"},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule"},{"__symbolic":"reference","module":"@angular/http","name":"HttpModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":["moduleConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"NgJhipsterModule"},"providers":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_SERVICES"}},{"__symbolic":"reference","module":"./src/language","name":"JhiLanguageService"},{"provide":{"__symbolic":"reference","module":"./src/config","name":"ModuleConfig"},"useValue":{"__symbolic":"reference","name":"moduleConfig"}},{"__symbolic":"reference","module":"./src/config.service","name":"ConfigService"}]}}}}},"exports":[{"from":"./src/pipe"},{"from":"./src/directive"},{"from":"./src/service"},{"from":"./src/component"},{"from":"./src/language"},{"from":"./src/interceptor"}]},{"__symbolic":"module","version":1,"metadata":{"translatePartialLoader":{"__symbolic":"function","parameters":["http"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@ngx-translate/http-loader","name":"TranslateHttpLoader"},"arguments":[{"__symbolic":"reference","name":"http"},"i18n/",".json"]}},"missingTranslationHandler":{"__symbolic":"function","parameters":["configService"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./src/language","name":"JhiMissingTranslationHandler"},"arguments":[{"__symbolic":"reference","name":"configService"}]}},"NgJhipsterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule"},"member":"forRoot"},"arguments":[{"loader":{"provide":{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateLoader"},"useFactory":{"__symbolic":"reference","name":"translatePartialLoader"},"deps":[{"__symbolic":"reference","module":"@angular/http","name":"Http"}]},"missingTranslationHandler":{"provide":{"__symbolic":"reference","module":"@ngx-translate/core","name":"MissingTranslationHandler"},"useFactory":{"__symbolic":"reference","name":"missingTranslationHandler"},"deps":[{"__symbolic":"reference","module":"./src/config.service","name":"ConfigService"}]}}]},{"__symbolic":"reference","module":"@angular/http","name":"HttpModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_PIPES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_DIRECTIVES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_COMPONENTS"}},{"__symbolic":"reference","module":"./src/language","name":"JhiTranslateComponent"}],"exports":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_PIPES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_DIRECTIVES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_COMPONENTS"}},{"__symbolic":"reference","module":"./src/language","name":"JhiTranslateComponent"},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule"},{"__symbolic":"reference","module":"@angular/http","name":"HttpModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":["moduleConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"NgJhipsterModule"},"providers":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_SERVICES"}},{"__symbolic":"reference","module":"./src/language","name":"JhiLanguageService"},{"provide":{"__symbolic":"reference","module":"./src/config","name":"ModuleConfig"},"useValue":{"__symbolic":"reference","name":"moduleConfig"}},{"__symbolic":"reference","module":"./src/config.service","name":"ConfigService"}]}}}}},"exports":[{"from":"./src/pipe"},{"from":"./src/directive"},{"from":"./src/service"},{"from":"./src/component"},{"from":"./src/language"},{"from":"./src/interceptor"}]}]
[{"__symbolic":"module","version":3,"metadata":{"translatePartialLoader":{"__symbolic":"function","parameters":["http"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@ngx-translate/http-loader","name":"TranslateHttpLoader"},"arguments":[{"__symbolic":"reference","name":"http"},"i18n/",".json"]}},"missingTranslationHandler":{"__symbolic":"function","parameters":["configService"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./src/language","name":"JhiMissingTranslationHandler"},"arguments":[{"__symbolic":"reference","name":"configService"}]}},"NgJhipsterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule"},"member":"forRoot"},"arguments":[{"loader":{"provide":{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateLoader"},"useFactory":{"__symbolic":"reference","name":"translatePartialLoader"},"deps":[{"__symbolic":"reference","module":"@angular/http","name":"Http"}]},"missingTranslationHandler":{"provide":{"__symbolic":"reference","module":"@ngx-translate/core","name":"MissingTranslationHandler"},"useFactory":{"__symbolic":"reference","name":"missingTranslationHandler"},"deps":[{"__symbolic":"reference","module":"./src/config.service","name":"JhiConfigService"}]}}]},{"__symbolic":"reference","module":"@angular/http","name":"HttpModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_PIPES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_DIRECTIVES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_COMPONENTS"}},{"__symbolic":"reference","module":"./src/language","name":"JhiTranslateComponent"}],"exports":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_PIPES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_DIRECTIVES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_COMPONENTS"}},{"__symbolic":"reference","module":"./src/language","name":"JhiTranslateComponent"},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule"},{"__symbolic":"reference","module":"@angular/http","name":"HttpModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":["moduleConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"NgJhipsterModule"},"providers":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_SERVICES"}},{"__symbolic":"reference","module":"./src/language","name":"JhiLanguageService"},{"provide":{"__symbolic":"reference","module":"./src/config","name":"JhiModuleConfig"},"useValue":{"__symbolic":"reference","name":"moduleConfig"}},{"__symbolic":"reference","module":"./src/config.service","name":"JhiConfigService"}]}}}}},"exports":[{"from":"./src/pipe"},{"from":"./src/directive"},{"from":"./src/service"},{"from":"./src/component"},{"from":"./src/language"},{"from":"./src/interceptor"}]},{"__symbolic":"module","version":1,"metadata":{"translatePartialLoader":{"__symbolic":"function","parameters":["http"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@ngx-translate/http-loader","name":"TranslateHttpLoader"},"arguments":[{"__symbolic":"reference","name":"http"},"i18n/",".json"]}},"missingTranslationHandler":{"__symbolic":"function","parameters":["configService"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./src/language","name":"JhiMissingTranslationHandler"},"arguments":[{"__symbolic":"reference","name":"configService"}]}},"NgJhipsterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule"},"member":"forRoot"},"arguments":[{"loader":{"provide":{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateLoader"},"useFactory":{"__symbolic":"reference","name":"translatePartialLoader"},"deps":[{"__symbolic":"reference","module":"@angular/http","name":"Http"}]},"missingTranslationHandler":{"provide":{"__symbolic":"reference","module":"@ngx-translate/core","name":"MissingTranslationHandler"},"useFactory":{"__symbolic":"reference","name":"missingTranslationHandler"},"deps":[{"__symbolic":"reference","module":"./src/config.service","name":"JhiConfigService"}]}}]},{"__symbolic":"reference","module":"@angular/http","name":"HttpModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_PIPES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_DIRECTIVES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_COMPONENTS"}},{"__symbolic":"reference","module":"./src/language","name":"JhiTranslateComponent"}],"exports":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_PIPES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_DIRECTIVES"}},{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_COMPONENTS"}},{"__symbolic":"reference","module":"./src/language","name":"JhiTranslateComponent"},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule"},{"__symbolic":"reference","module":"@angular/http","name":"HttpModule"},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":["moduleConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"NgJhipsterModule"},"providers":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./src/jhi-components","name":"JHI_SERVICES"}},{"__symbolic":"reference","module":"./src/language","name":"JhiLanguageService"},{"provide":{"__symbolic":"reference","module":"./src/config","name":"JhiModuleConfig"},"useValue":{"__symbolic":"reference","name":"moduleConfig"}},{"__symbolic":"reference","module":"./src/config.service","name":"JhiConfigService"}]}}}}},"exports":[{"from":"./src/pipe"},{"from":"./src/directive"},{"from":"./src/service"},{"from":"./src/component"},{"from":"./src/language"},{"from":"./src/interceptor"}]}]

@@ -69,3 +69,3 @@ {

},
"version": "0.2.2",
"version": "0.2.3",
"scripts": {

@@ -72,0 +72,0 @@ "cleanup": "rimraf src/*.d.ts src/**/*.d.ts src/*.js src/**/*.js aot/* tests/**/*.d.ts tests/**/*.js tests/*.d.ts tests/*.js",

@@ -1,2 +0,2 @@

import { ConfigService } from '../config.service';
import { JhiConfigService } from '../config.service';
export declare class JhiItemCountComponent {

@@ -8,3 +8,3 @@ page: number;

i18nValues(): string;
constructor(config: ConfigService);
constructor(config: JhiConfigService);
}

@@ -20,3 +20,3 @@ /*

import { Component, Input } from '@angular/core';
import { ConfigService } from '../config.service';
import { JhiConfigService } from '../config.service';
/**

@@ -48,3 +48,3 @@ * A component that will take care of item count statistics of a pagination.

JhiItemCountComponent.ctorParameters = function () { return [
{ type: ConfigService, },
{ type: JhiConfigService, },
]; };

@@ -51,0 +51,0 @@ JhiItemCountComponent.propDecorators = {

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"JhiItemCountComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"jhi-item-count","template":"\n <div *ngIf=\"i18nEnabled; else noI18n\" class=\"info jhi-item-count\"\n jhiTranslate=\"global.item-count\"\n translateValues=\"{{i18nValues()}}\"\n [attr.translateValues]=\"i18nValues()\"> /* [attr.translateValues] is used to get entire values in tests */\n </div>\n <ng-template #noI18n class=\"info jhi-item-count\">\n Showing {{((page - 1) * itemsPerPage) == 0 ? 1 : ((page - 1) * itemsPerPage + 1)}} -\n {{(page * itemsPerPage) < total ? (page * itemsPerPage) : total}}\n of {{total}} items.\n </ng-template>"}]}],"members":{"page":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"total":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemsPerPage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"i18nValues":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config.service","name":"ConfigService"}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiItemCountComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"jhi-item-count","template":"\n <div *ngIf=\"i18nEnabled; else noI18n\" class=\"info jhi-item-count\"\n jhiTranslate=\"global.item-count\"\n translateValues=\"{{i18nValues()}}\"\n [attr.translateValues]=\"i18nValues()\"> /* [attr.translateValues] is used to get entire values in tests */\n </div>\n <ng-template #noI18n class=\"info jhi-item-count\">\n Showing {{((page - 1) * itemsPerPage) == 0 ? 1 : ((page - 1) * itemsPerPage + 1)}} -\n {{(page * itemsPerPage) < total ? (page * itemsPerPage) : total}}\n of {{total}} items.\n </ng-template>"}]}],"members":{"page":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"total":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemsPerPage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"i18nValues":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config.service","name":"ConfigService"}]}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiItemCountComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"jhi-item-count","template":"\n <div *ngIf=\"i18nEnabled; else noI18n\" class=\"info jhi-item-count\"\n jhiTranslate=\"global.item-count\"\n translateValues=\"{{i18nValues()}}\"\n [attr.translateValues]=\"i18nValues()\"> /* [attr.translateValues] is used to get entire values in tests */\n </div>\n <ng-template #noI18n class=\"info jhi-item-count\">\n Showing {{((page - 1) * itemsPerPage) == 0 ? 1 : ((page - 1) * itemsPerPage + 1)}} -\n {{(page * itemsPerPage) < total ? (page * itemsPerPage) : total}}\n of {{total}} items.\n </ng-template>"}]}],"members":{"page":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"total":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemsPerPage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"i18nValues":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiItemCountComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"jhi-item-count","template":"\n <div *ngIf=\"i18nEnabled; else noI18n\" class=\"info jhi-item-count\"\n jhiTranslate=\"global.item-count\"\n translateValues=\"{{i18nValues()}}\"\n [attr.translateValues]=\"i18nValues()\"> /* [attr.translateValues] is used to get entire values in tests */\n </div>\n <ng-template #noI18n class=\"info jhi-item-count\">\n Showing {{((page - 1) * itemsPerPage) == 0 ? 1 : ((page - 1) * itemsPerPage + 1)}} -\n {{(page * itemsPerPage) < total ? (page * itemsPerPage) : total}}\n of {{total}} items.\n </ng-template>"}]}],"members":{"page":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"total":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemsPerPage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"i18nValues":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"}]}]}}}}]

@@ -1,2 +0,2 @@

export declare class ModuleConfig {
export declare class JhiModuleConfig {
sortIcon?: string;

@@ -3,0 +3,0 @@ sortAscIcon?: string;

@@ -20,4 +20,4 @@ /*

import { Injectable } from '@angular/core';
var ModuleConfig = (function () {
function ModuleConfig() {
var JhiModuleConfig = (function () {
function JhiModuleConfig() {
this.sortIcon = 'fa-sort';

@@ -32,9 +32,9 @@ this.sortAscIcon = 'fa-sort-asc';

}
return ModuleConfig;
return JhiModuleConfig;
}());
export { ModuleConfig };
ModuleConfig.decorators = [
export { JhiModuleConfig };
JhiModuleConfig.decorators = [
{ type: Injectable },
];
/** @nocollapse */
ModuleConfig.ctorParameters = function () { return []; };
JhiModuleConfig.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"ModuleConfig":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}]}}},{"__symbolic":"module","version":1,"metadata":{"ModuleConfig":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}]}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiModuleConfig":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}]}}},{"__symbolic":"module","version":1,"metadata":{"JhiModuleConfig":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}]}}}]

@@ -1,6 +0,6 @@

import { ModuleConfig } from './config';
export declare class ConfigService {
CONFIG_OPTIONS: ModuleConfig;
constructor(moduleConfig?: ModuleConfig);
getConfig(): ModuleConfig;
import { JhiModuleConfig } from './config';
export declare class JhiConfigService {
CONFIG_OPTIONS: JhiModuleConfig;
constructor(moduleConfig?: JhiModuleConfig);
getConfig(): JhiModuleConfig;
}

@@ -28,19 +28,19 @@ var __assign = (this && this.__assign) || Object.assign || function(t) {

import { Injectable } from '@angular/core';
import { ModuleConfig } from './config';
var ConfigService = (function () {
function ConfigService(moduleConfig) {
this.CONFIG_OPTIONS = __assign({}, new ModuleConfig(), moduleConfig);
import { JhiModuleConfig } from './config';
var JhiConfigService = (function () {
function JhiConfigService(moduleConfig) {
this.CONFIG_OPTIONS = __assign({}, new JhiModuleConfig(), moduleConfig);
}
ConfigService.prototype.getConfig = function () {
JhiConfigService.prototype.getConfig = function () {
return this.CONFIG_OPTIONS;
};
return ConfigService;
return JhiConfigService;
}());
export { ConfigService };
ConfigService.decorators = [
export { JhiConfigService };
JhiConfigService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
ConfigService.ctorParameters = function () { return [
{ type: ModuleConfig, },
JhiConfigService.ctorParameters = function () { return [
{ type: JhiModuleConfig, },
]; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"ConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./config","name":"ModuleConfig"}]}],"getConfig":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./config","name":"ModuleConfig"}]}],"getConfig":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./config","name":"JhiModuleConfig"}]}],"getConfig":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./config","name":"JhiModuleConfig"}]}],"getConfig":[{"__symbolic":"method"}]}}}}]
import { FormControl } from '@angular/forms';
export declare class MaxbytesValidatorDirective {
export declare class JhiMaxbytesValidatorDirective {
jhiMaxbytes: number;

@@ -4,0 +4,0 @@ constructor();

@@ -23,6 +23,6 @@ /*

import { numberOfBytes } from './number-of-bytes';
var MaxbytesValidatorDirective = (function () {
function MaxbytesValidatorDirective() {
var JhiMaxbytesValidatorDirective = (function () {
function JhiMaxbytesValidatorDirective() {
}
MaxbytesValidatorDirective.prototype.validate = function (c) {
JhiMaxbytesValidatorDirective.prototype.validate = function (c) {
return (c.value && numberOfBytes(c.value) <= this.jhiMaxbytes) ? null : {

@@ -34,10 +34,10 @@ maxbytes: {

};
return MaxbytesValidatorDirective;
return JhiMaxbytesValidatorDirective;
}());
export { MaxbytesValidatorDirective };
MaxbytesValidatorDirective.decorators = [
export { JhiMaxbytesValidatorDirective };
JhiMaxbytesValidatorDirective.decorators = [
{ type: Directive, args: [{
selector: '[jhiMaxbytes][ngModel]',
providers: [
{ provide: NG_VALIDATORS, useExisting: forwardRef(function () { return MaxbytesValidatorDirective; }), multi: true }
{ provide: NG_VALIDATORS, useExisting: forwardRef(function () { return JhiMaxbytesValidatorDirective; }), multi: true }
]

@@ -47,5 +47,5 @@ },] },

/** @nocollapse */
MaxbytesValidatorDirective.ctorParameters = function () { return []; };
MaxbytesValidatorDirective.propDecorators = {
JhiMaxbytesValidatorDirective.ctorParameters = function () { return []; };
JhiMaxbytesValidatorDirective.propDecorators = {
'jhiMaxbytes': [{ type: Input },],
};

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"MaxbytesValidatorDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiMaxbytes][ngModel]","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS"},"useExisting":{"__symbolic":"reference","name":"MaxbytesValidatorDirective"},"multi":true}]}]}],"members":{"jhiMaxbytes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"validate":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MaxbytesValidatorDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiMaxbytes][ngModel]","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS"},"useExisting":{"__symbolic":"reference","name":"MaxbytesValidatorDirective"},"multi":true}]}]}],"members":{"jhiMaxbytes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"validate":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiMaxbytesValidatorDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiMaxbytes][ngModel]","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS"},"useExisting":{"__symbolic":"reference","name":"JhiMaxbytesValidatorDirective"},"multi":true}]}]}],"members":{"jhiMaxbytes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"validate":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiMaxbytesValidatorDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiMaxbytes][ngModel]","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS"},"useExisting":{"__symbolic":"reference","name":"JhiMaxbytesValidatorDirective"},"multi":true}]}]}],"members":{"jhiMaxbytes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"validate":[{"__symbolic":"method"}]}}}}]
import { FormControl } from '@angular/forms';
export declare class MinbytesValidatorDirective {
export declare class JhiMinbytesValidatorDirective {
jhiMinbytes: number;

@@ -4,0 +4,0 @@ constructor();

@@ -23,6 +23,6 @@ /*

import { numberOfBytes } from './number-of-bytes';
var MinbytesValidatorDirective = (function () {
function MinbytesValidatorDirective() {
var JhiMinbytesValidatorDirective = (function () {
function JhiMinbytesValidatorDirective() {
}
MinbytesValidatorDirective.prototype.validate = function (c) {
JhiMinbytesValidatorDirective.prototype.validate = function (c) {
return (c.value && numberOfBytes(c.value) >= this.jhiMinbytes) ? null : {

@@ -34,10 +34,10 @@ minbytes: {

};
return MinbytesValidatorDirective;
return JhiMinbytesValidatorDirective;
}());
export { MinbytesValidatorDirective };
MinbytesValidatorDirective.decorators = [
export { JhiMinbytesValidatorDirective };
JhiMinbytesValidatorDirective.decorators = [
{ type: Directive, args: [{
selector: '[jhiMinbytes][ngModel]',
providers: [
{ provide: NG_VALIDATORS, useExisting: forwardRef(function () { return MinbytesValidatorDirective; }), multi: true }
{ provide: NG_VALIDATORS, useExisting: forwardRef(function () { return JhiMinbytesValidatorDirective; }), multi: true }
]

@@ -47,5 +47,5 @@ },] },

/** @nocollapse */
MinbytesValidatorDirective.ctorParameters = function () { return []; };
MinbytesValidatorDirective.propDecorators = {
JhiMinbytesValidatorDirective.ctorParameters = function () { return []; };
JhiMinbytesValidatorDirective.propDecorators = {
'jhiMinbytes': [{ type: Input },],
};

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"MinbytesValidatorDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiMinbytes][ngModel]","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS"},"useExisting":{"__symbolic":"reference","name":"MinbytesValidatorDirective"},"multi":true}]}]}],"members":{"jhiMinbytes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"validate":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MinbytesValidatorDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiMinbytes][ngModel]","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS"},"useExisting":{"__symbolic":"reference","name":"MinbytesValidatorDirective"},"multi":true}]}]}],"members":{"jhiMinbytes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"validate":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiMinbytesValidatorDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiMinbytes][ngModel]","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS"},"useExisting":{"__symbolic":"reference","name":"JhiMinbytesValidatorDirective"},"multi":true}]}]}],"members":{"jhiMinbytes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"validate":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiMinbytesValidatorDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiMinbytes][ngModel]","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS"},"useExisting":{"__symbolic":"reference","name":"JhiMinbytesValidatorDirective"},"multi":true}]}]}],"members":{"jhiMinbytes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"validate":[{"__symbolic":"method"}]}}}}]
import { ElementRef, Renderer } from '@angular/core';
import { JhiSortDirective } from './sort.directive';
import { ConfigService } from '../config.service';
import { JhiConfigService } from '../config.service';
export declare class JhiSortByDirective {

@@ -11,5 +11,5 @@ private el;

jhiSort: JhiSortDirective;
constructor(jhiSort: JhiSortDirective, el: ElementRef, renderer: Renderer, configService: ConfigService);
constructor(jhiSort: JhiSortDirective, el: ElementRef, renderer: Renderer, configService: JhiConfigService);
onClick(): void;
private applyClass();
}

@@ -21,3 +21,3 @@ /*

import { JhiSortDirective } from './sort.directive';
import { ConfigService } from '../config.service';
import { JhiConfigService } from '../config.service';
var JhiSortByDirective = (function () {

@@ -62,3 +62,3 @@ function JhiSortByDirective(jhiSort, el, renderer, configService) {

{ type: Renderer, },
{ type: ConfigService, },
{ type: JhiConfigService, },
]; };

@@ -65,0 +65,0 @@ JhiSortByDirective.propDecorators = {

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"JhiSortByDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiSortBy]"}]}],"members":{"jhiSortBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}],null,null,null],"parameters":[{"__symbolic":"reference","module":"./sort.directive","name":"JhiSortDirective"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"../config.service","name":"ConfigService"}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click"]}]}],"applyClass":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiSortByDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiSortBy]"}]}],"members":{"jhiSortBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}],null,null,null],"parameters":[{"__symbolic":"reference","module":"./sort.directive","name":"JhiSortDirective"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"../config.service","name":"ConfigService"}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click"]}]}],"applyClass":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiSortByDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiSortBy]"}]}],"members":{"jhiSortBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}],null,null,null],"parameters":[{"__symbolic":"reference","module":"./sort.directive","name":"JhiSortDirective"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click"]}]}],"applyClass":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiSortByDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiSortBy]"}]}],"members":{"jhiSortBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}],null,null,null],"parameters":[{"__symbolic":"reference","module":"./sort.directive","name":"JhiSortDirective"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["click"]}]}],"applyClass":[{"__symbolic":"method"}]}}}}]
import { Renderer, EventEmitter, ElementRef } from '@angular/core';
import { ConfigService } from '../config.service';
import { JhiConfigService } from '../config.service';
export declare class JhiSortDirective {

@@ -14,5 +14,5 @@ predicate: string;

element: any;
constructor(el: ElementRef, renderer: Renderer, configService: ConfigService);
constructor(el: ElementRef, renderer: Renderer, configService: JhiConfigService);
sort(field: any): void;
private resetClasses();
}

@@ -20,3 +20,3 @@ /*

import { Directive, Input, Output, Renderer, EventEmitter, ElementRef } from '@angular/core';
import { ConfigService } from '../config.service';
import { JhiConfigService } from '../config.service';
var JhiSortDirective = (function () {

@@ -72,3 +72,3 @@ function JhiSortDirective(el, renderer, configService) {

{ type: Renderer, },
{ type: ConfigService, },
{ type: JhiConfigService, },
]; };

@@ -75,0 +75,0 @@ JhiSortDirective.propDecorators = {

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"JhiSortDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiSort]"}]}],"members":{"predicate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ascending":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"callback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"predicateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"ascendingChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"../config.service","name":"ConfigService"}]}],"sort":[{"__symbolic":"method"}],"resetClasses":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiSortDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiSort]"}]}],"members":{"predicate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ascending":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"callback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"predicateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"ascendingChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"../config.service","name":"ConfigService"}]}],"sort":[{"__symbolic":"method"}],"resetClasses":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiSortDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiSort]"}]}],"members":{"predicate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ascending":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"callback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"predicateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"ascendingChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"}]}],"sort":[{"__symbolic":"method"}],"resetClasses":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiSortDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[jhiSort]"}]}],"members":{"predicate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ascending":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"callback":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"predicateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"ascendingChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"}]}],"sort":[{"__symbolic":"method"}],"resetClasses":[{"__symbolic":"method"}]}}}}]

@@ -7,5 +7,5 @@ import { Observable } from 'rxjs/Observable';

*/
export declare abstract class HttpInterceptor {
export declare abstract class JhiHttpInterceptor {
private _successor;
successor: HttpInterceptor;
successor: JhiHttpInterceptor;
processRequestInterception(options?: RequestOptionsArgs): RequestOptionsArgs;

@@ -12,0 +12,0 @@ processResponseInterception(response: Observable<Response>): Observable<Response>;

@@ -5,7 +5,7 @@ /**

*/
var HttpInterceptor = (function () {
function HttpInterceptor() {
var JhiHttpInterceptor = (function () {
function JhiHttpInterceptor() {
this._successor = null;
}
Object.defineProperty(HttpInterceptor.prototype, "successor", {
Object.defineProperty(JhiHttpInterceptor.prototype, "successor", {
set: function (successor) {

@@ -17,12 +17,12 @@ this._successor = successor;

});
HttpInterceptor.prototype.processRequestInterception = function (options) {
JhiHttpInterceptor.prototype.processRequestInterception = function (options) {
return (!this._successor) ? this.requestIntercept(options) :
this._successor.processRequestInterception(this.requestIntercept(options));
};
HttpInterceptor.prototype.processResponseInterception = function (response) {
JhiHttpInterceptor.prototype.processResponseInterception = function (response) {
return (!this._successor) ? this.responseIntercept(response) :
this._successor.processResponseInterception(this.responseIntercept(response));
};
return HttpInterceptor;
return JhiHttpInterceptor;
}());
export { HttpInterceptor };
export { JhiHttpInterceptor };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"HttpInterceptor":{"__symbolic":"class","members":{"processRequestInterception":[{"__symbolic":"method"}],"processResponseInterception":[{"__symbolic":"method"}],"requestIntercept":[{"__symbolic":"method"}],"responseIntercept":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"HttpInterceptor":{"__symbolic":"class","members":{"processRequestInterception":[{"__symbolic":"method"}],"processResponseInterception":[{"__symbolic":"method"}],"requestIntercept":[{"__symbolic":"method"}],"responseIntercept":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiHttpInterceptor":{"__symbolic":"class","members":{"processRequestInterception":[{"__symbolic":"method"}],"processResponseInterception":[{"__symbolic":"method"}],"requestIntercept":[{"__symbolic":"method"}],"responseIntercept":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiHttpInterceptor":{"__symbolic":"class","members":{"processRequestInterception":[{"__symbolic":"method"}],"processResponseInterception":[{"__symbolic":"method"}],"requestIntercept":[{"__symbolic":"method"}],"responseIntercept":[{"__symbolic":"method"}]}}}}]

@@ -1,7 +0,7 @@

import { HttpInterceptor } from './http.interceptor';
import { JhiHttpInterceptor } from './http.interceptor';
import { Http, ConnectionBackend, RequestOptions, RequestOptionsArgs, Request, Response } from '@angular/http';
import { Observable } from 'rxjs/Observable';
export declare class InterceptableHttp extends Http {
export declare class JhiInterceptableHttp extends Http {
private firstInterceptor;
constructor(backend: ConnectionBackend, defaultOptions: RequestOptions, interceptors: HttpInterceptor[]);
constructor(backend: ConnectionBackend, defaultOptions: RequestOptions, interceptors: JhiHttpInterceptor[]);
request(url: string | Request, options?: RequestOptionsArgs): Observable<Response>;

@@ -8,0 +8,0 @@ get(url: string, options?: RequestOptionsArgs): Observable<Response>;

@@ -29,8 +29,8 @@ var __extends = (this && this.__extends) || (function () {

*/
import { HttpInterceptor } from './http.interceptor';
import { JhiHttpInterceptor } from './http.interceptor';
import { forwardRef, Inject, Injectable } from '@angular/core';
import { Http, ConnectionBackend, RequestOptions, Headers } from '@angular/http';
var InterceptableHttp = (function (_super) {
__extends(InterceptableHttp, _super);
function InterceptableHttp(backend, defaultOptions, interceptors // see the issue generator-jhipster#4794
var JhiInterceptableHttp = (function (_super) {
__extends(JhiInterceptableHttp, _super);
function JhiInterceptableHttp(backend, defaultOptions, interceptors // see the issue generator-jhipster#4794
) {

@@ -53,27 +53,27 @@ var _this = _super.call(this, backend, defaultOptions) || this;

}
InterceptableHttp.prototype.request = function (url, options) {
JhiInterceptableHttp.prototype.request = function (url, options) {
return this.intercept(_super.prototype.request.call(this, url, this.getRequestOptionArgs(options)));
};
InterceptableHttp.prototype.get = function (url, options) {
JhiInterceptableHttp.prototype.get = function (url, options) {
return this.intercept(_super.prototype.get.call(this, url, this.getRequestOptionArgs(options)));
};
InterceptableHttp.prototype.post = function (url, body, options) {
JhiInterceptableHttp.prototype.post = function (url, body, options) {
return this.intercept(_super.prototype.post.call(this, url, body, this.getRequestOptionArgs(options)));
};
InterceptableHttp.prototype.put = function (url, body, options) {
JhiInterceptableHttp.prototype.put = function (url, body, options) {
return this.intercept(_super.prototype.put.call(this, url, body, this.getRequestOptionArgs(options)));
};
InterceptableHttp.prototype.delete = function (url, options) {
JhiInterceptableHttp.prototype.delete = function (url, options) {
return this.intercept(_super.prototype.delete.call(this, url, this.getRequestOptionArgs(options)));
};
InterceptableHttp.prototype.patch = function (url, body, options) {
JhiInterceptableHttp.prototype.patch = function (url, body, options) {
return this.intercept(_super.prototype.patch.call(this, url, body, this.getRequestOptionArgs(options)));
};
InterceptableHttp.prototype.head = function (url, options) {
JhiInterceptableHttp.prototype.head = function (url, options) {
return this.intercept(_super.prototype.head.call(this, url, this.getRequestOptionArgs(options)));
};
InterceptableHttp.prototype.options = function (url, options) {
JhiInterceptableHttp.prototype.options = function (url, options) {
return this.intercept(_super.prototype.options.call(this, url, this.getRequestOptionArgs(options)));
};
InterceptableHttp.prototype.getRequestOptionArgs = function (options) {
JhiInterceptableHttp.prototype.getRequestOptionArgs = function (options) {
if (!options) {

@@ -87,16 +87,16 @@ options = new RequestOptions();

};
InterceptableHttp.prototype.intercept = function (observable) {
JhiInterceptableHttp.prototype.intercept = function (observable) {
return !this.firstInterceptor ? observable : this.firstInterceptor.processResponseInterception(observable);
};
return InterceptableHttp;
return JhiInterceptableHttp;
}(Http));
export { InterceptableHttp };
InterceptableHttp.decorators = [
export { JhiInterceptableHttp };
JhiInterceptableHttp.decorators = [
{ type: Injectable },
];
/** @nocollapse */
InterceptableHttp.ctorParameters = function () { return [
JhiInterceptableHttp.ctorParameters = function () { return [
{ type: ConnectionBackend, },
{ type: RequestOptions, },
{ type: Array, decorators: [{ type: Inject, args: [forwardRef(function () { return HttpInterceptor; }),] },] },
{ type: Array, decorators: [{ type: Inject, args: [forwardRef(function () { return JhiHttpInterceptor; }),] },] },
]; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"InterceptableHttp":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/http","name":"Http"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"./http.interceptor","name":"HttpInterceptor"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/http","name":"ConnectionBackend"},{"__symbolic":"reference","module":"@angular/http","name":"RequestOptions"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./http.interceptor","name":"HttpInterceptor"}]}]}],"request":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"put":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"patch":[{"__symbolic":"method"}],"head":[{"__symbolic":"method"}],"options":[{"__symbolic":"method"}],"getRequestOptionArgs":[{"__symbolic":"method"}],"intercept":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"InterceptableHttp":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/http","name":"Http"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"./http.interceptor","name":"HttpInterceptor"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/http","name":"ConnectionBackend"},{"__symbolic":"reference","module":"@angular/http","name":"RequestOptions"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./http.interceptor","name":"HttpInterceptor"}]}]}],"request":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"put":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"patch":[{"__symbolic":"method"}],"head":[{"__symbolic":"method"}],"options":[{"__symbolic":"method"}],"getRequestOptionArgs":[{"__symbolic":"method"}],"intercept":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiInterceptableHttp":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/http","name":"Http"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"./http.interceptor","name":"JhiHttpInterceptor"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/http","name":"ConnectionBackend"},{"__symbolic":"reference","module":"@angular/http","name":"RequestOptions"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./http.interceptor","name":"JhiHttpInterceptor"}]}]}],"request":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"put":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"patch":[{"__symbolic":"method"}],"head":[{"__symbolic":"method"}],"options":[{"__symbolic":"method"}],"getRequestOptionArgs":[{"__symbolic":"method"}],"intercept":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiInterceptableHttp":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@angular/http","name":"Http"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"./http.interceptor","name":"JhiHttpInterceptor"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/http","name":"ConnectionBackend"},{"__symbolic":"reference","module":"@angular/http","name":"RequestOptions"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"./http.interceptor","name":"JhiHttpInterceptor"}]}]}],"request":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"put":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"patch":[{"__symbolic":"method"}],"head":[{"__symbolic":"method"}],"options":[{"__symbolic":"method"}],"getRequestOptionArgs":[{"__symbolic":"method"}],"intercept":[{"__symbolic":"method"}]}}}}]

@@ -1,8 +0,8 @@

import { FilterPipe, KeysPipe, OrderByPipe, TruncateCharactersPipe } from './pipe';
import { MaxbytesValidatorDirective, MinbytesValidatorDirective, JhiSortDirective, JhiSortByDirective } from './directive';
import { JhiFilterPipe, JhiKeysPipe, JhiOrderByPipe, JhiTruncateCharactersPipe } from './pipe';
import { JhiMaxbytesValidatorDirective, JhiMinbytesValidatorDirective, JhiSortDirective, JhiSortByDirective } from './directive';
import { JhiItemCountComponent } from './component';
import { DataUtils, DateUtils, EventManager, ParseLinks, PaginationUtil, Base64, AlertService } from './service';
export declare const JHI_PIPES: (typeof TruncateCharactersPipe | typeof OrderByPipe | typeof FilterPipe | typeof KeysPipe)[];
export declare const JHI_DIRECTIVES: (typeof MaxbytesValidatorDirective | typeof MinbytesValidatorDirective | typeof JhiSortDirective | typeof JhiSortByDirective)[];
import { JhiDataUtils, JhiDateUtils, JhiEventManager, JhiParseLinks, JhiPaginationUtil, JhiBase64Service, JhiAlertService } from './service';
export declare const JHI_PIPES: (typeof JhiTruncateCharactersPipe | typeof JhiOrderByPipe | typeof JhiFilterPipe | typeof JhiKeysPipe)[];
export declare const JHI_DIRECTIVES: (typeof JhiMaxbytesValidatorDirective | typeof JhiMinbytesValidatorDirective | typeof JhiSortDirective | typeof JhiSortByDirective)[];
export declare const JHI_COMPONENTS: typeof JhiItemCountComponent[];
export declare const JHI_SERVICES: (typeof PaginationUtil | typeof ParseLinks | typeof DataUtils | typeof DateUtils | typeof EventManager | typeof AlertService | typeof Base64)[];
export declare const JHI_SERVICES: (typeof JhiPaginationUtil | typeof JhiParseLinks | typeof JhiDataUtils | typeof JhiDateUtils | typeof JhiEventManager | typeof JhiAlertService | typeof JhiBase64Service)[];

@@ -19,18 +19,18 @@ /*

*/
import { CapitalizePipe, FilterPipe, KeysPipe, OrderByPipe, PureFilterPipe, TruncateCharactersPipe, TruncateWordsPipe } from './pipe';
import { MaxbytesValidatorDirective, MinbytesValidatorDirective, JhiSortDirective, JhiSortByDirective } from './directive';
import { JhiCapitalizePipe, JhiFilterPipe, JhiKeysPipe, JhiOrderByPipe, JhiPureFilterPipe, JhiTruncateCharactersPipe, JhiTruncateWordsPipe } from './pipe';
import { JhiMaxbytesValidatorDirective, JhiMinbytesValidatorDirective, JhiSortDirective, JhiSortByDirective } from './directive';
import { JhiItemCountComponent } from './component';
import { DataUtils, DateUtils, EventManager, ParseLinks, PaginationUtil, Base64, AlertService } from './service';
import { JhiDataUtils, JhiDateUtils, JhiEventManager, JhiParseLinks, JhiPaginationUtil, JhiBase64Service, JhiAlertService } from './service';
export var JHI_PIPES = [
CapitalizePipe,
FilterPipe,
KeysPipe,
OrderByPipe,
PureFilterPipe,
TruncateCharactersPipe,
TruncateWordsPipe
JhiCapitalizePipe,
JhiFilterPipe,
JhiKeysPipe,
JhiOrderByPipe,
JhiPureFilterPipe,
JhiTruncateCharactersPipe,
JhiTruncateWordsPipe
];
export var JHI_DIRECTIVES = [
MaxbytesValidatorDirective,
MinbytesValidatorDirective,
JhiMaxbytesValidatorDirective,
JhiMinbytesValidatorDirective,
JhiSortDirective,

@@ -43,9 +43,9 @@ JhiSortByDirective

export var JHI_SERVICES = [
DataUtils,
DateUtils,
EventManager,
ParseLinks,
PaginationUtil,
Base64,
AlertService
JhiDataUtils,
JhiDateUtils,
JhiEventManager,
JhiParseLinks,
JhiPaginationUtil,
JhiBase64Service,
JhiAlertService
];

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"JHI_PIPES":[{"__symbolic":"reference","module":"./pipe","name":"CapitalizePipe"},{"__symbolic":"reference","module":"./pipe","name":"FilterPipe"},{"__symbolic":"reference","module":"./pipe","name":"KeysPipe"},{"__symbolic":"reference","module":"./pipe","name":"OrderByPipe"},{"__symbolic":"reference","module":"./pipe","name":"PureFilterPipe"},{"__symbolic":"reference","module":"./pipe","name":"TruncateCharactersPipe"},{"__symbolic":"reference","module":"./pipe","name":"TruncateWordsPipe"}],"JHI_DIRECTIVES":[{"__symbolic":"reference","module":"./directive","name":"MaxbytesValidatorDirective"},{"__symbolic":"reference","module":"./directive","name":"MinbytesValidatorDirective"},{"__symbolic":"reference","module":"./directive","name":"JhiSortDirective"},{"__symbolic":"reference","module":"./directive","name":"JhiSortByDirective"}],"JHI_COMPONENTS":[{"__symbolic":"reference","module":"./component","name":"JhiItemCountComponent"}],"JHI_SERVICES":[{"__symbolic":"reference","module":"./service","name":"DataUtils"},{"__symbolic":"reference","module":"./service","name":"DateUtils"},{"__symbolic":"reference","module":"./service","name":"EventManager"},{"__symbolic":"reference","module":"./service","name":"ParseLinks"},{"__symbolic":"reference","module":"./service","name":"PaginationUtil"},{"__symbolic":"reference","module":"./service","name":"Base64"},{"__symbolic":"reference","module":"./service","name":"AlertService"}]}},{"__symbolic":"module","version":1,"metadata":{"JHI_PIPES":[{"__symbolic":"reference","module":"./pipe","name":"CapitalizePipe"},{"__symbolic":"reference","module":"./pipe","name":"FilterPipe"},{"__symbolic":"reference","module":"./pipe","name":"KeysPipe"},{"__symbolic":"reference","module":"./pipe","name":"OrderByPipe"},{"__symbolic":"reference","module":"./pipe","name":"PureFilterPipe"},{"__symbolic":"reference","module":"./pipe","name":"TruncateCharactersPipe"},{"__symbolic":"reference","module":"./pipe","name":"TruncateWordsPipe"}],"JHI_DIRECTIVES":[{"__symbolic":"reference","module":"./directive","name":"MaxbytesValidatorDirective"},{"__symbolic":"reference","module":"./directive","name":"MinbytesValidatorDirective"},{"__symbolic":"reference","module":"./directive","name":"JhiSortDirective"},{"__symbolic":"reference","module":"./directive","name":"JhiSortByDirective"}],"JHI_COMPONENTS":[{"__symbolic":"reference","module":"./component","name":"JhiItemCountComponent"}],"JHI_SERVICES":[{"__symbolic":"reference","module":"./service","name":"DataUtils"},{"__symbolic":"reference","module":"./service","name":"DateUtils"},{"__symbolic":"reference","module":"./service","name":"EventManager"},{"__symbolic":"reference","module":"./service","name":"ParseLinks"},{"__symbolic":"reference","module":"./service","name":"PaginationUtil"},{"__symbolic":"reference","module":"./service","name":"Base64"},{"__symbolic":"reference","module":"./service","name":"AlertService"}]}}]
[{"__symbolic":"module","version":3,"metadata":{"JHI_PIPES":[{"__symbolic":"reference","module":"./pipe","name":"JhiCapitalizePipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiFilterPipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiKeysPipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiOrderByPipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiPureFilterPipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiTruncateCharactersPipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiTruncateWordsPipe"}],"JHI_DIRECTIVES":[{"__symbolic":"reference","module":"./directive","name":"JhiMaxbytesValidatorDirective"},{"__symbolic":"reference","module":"./directive","name":"JhiMinbytesValidatorDirective"},{"__symbolic":"reference","module":"./directive","name":"JhiSortDirective"},{"__symbolic":"reference","module":"./directive","name":"JhiSortByDirective"}],"JHI_COMPONENTS":[{"__symbolic":"reference","module":"./component","name":"JhiItemCountComponent"}],"JHI_SERVICES":[{"__symbolic":"reference","module":"./service","name":"JhiDataUtils"},{"__symbolic":"reference","module":"./service","name":"JhiDateUtils"},{"__symbolic":"reference","module":"./service","name":"JhiEventManager"},{"__symbolic":"reference","module":"./service","name":"JhiParseLinks"},{"__symbolic":"reference","module":"./service","name":"JhiPaginationUtil"},{"__symbolic":"reference","module":"./service","name":"JhiBase64Service"},{"__symbolic":"reference","module":"./service","name":"JhiAlertService"}]}},{"__symbolic":"module","version":1,"metadata":{"JHI_PIPES":[{"__symbolic":"reference","module":"./pipe","name":"JhiCapitalizePipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiFilterPipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiKeysPipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiOrderByPipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiPureFilterPipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiTruncateCharactersPipe"},{"__symbolic":"reference","module":"./pipe","name":"JhiTruncateWordsPipe"}],"JHI_DIRECTIVES":[{"__symbolic":"reference","module":"./directive","name":"JhiMaxbytesValidatorDirective"},{"__symbolic":"reference","module":"./directive","name":"JhiMinbytesValidatorDirective"},{"__symbolic":"reference","module":"./directive","name":"JhiSortDirective"},{"__symbolic":"reference","module":"./directive","name":"JhiSortByDirective"}],"JHI_COMPONENTS":[{"__symbolic":"reference","module":"./component","name":"JhiItemCountComponent"}],"JHI_SERVICES":[{"__symbolic":"reference","module":"./service","name":"JhiDataUtils"},{"__symbolic":"reference","module":"./service","name":"JhiDateUtils"},{"__symbolic":"reference","module":"./service","name":"JhiEventManager"},{"__symbolic":"reference","module":"./service","name":"JhiParseLinks"},{"__symbolic":"reference","module":"./service","name":"JhiPaginationUtil"},{"__symbolic":"reference","module":"./service","name":"JhiBase64Service"},{"__symbolic":"reference","module":"./service","name":"JhiAlertService"}]}}]
import { MissingTranslationHandler, MissingTranslationHandlerParams } from '@ngx-translate/core';
import { ConfigService } from '../config.service';
import { JhiConfigService } from '../config.service';
export declare class JhiMissingTranslationHandler implements MissingTranslationHandler {
private configService;
constructor(configService: ConfigService);
constructor(configService: JhiConfigService);
handle(params: MissingTranslationHandlerParams): string;
}

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"JhiMissingTranslationHandler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config.service","name":"ConfigService"}]}],"handle":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiMissingTranslationHandler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config.service","name":"ConfigService"}]}],"handle":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiMissingTranslationHandler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"}]}],"handle":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiMissingTranslationHandler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"}]}],"handle":[{"__symbolic":"method"}]}}}}]
import { TranslateService } from '@ngx-translate/core';
import { ConfigService } from '../config.service';
import { JhiConfigService } from '../config.service';
export declare class JhiLanguageService {

@@ -7,3 +7,3 @@ private translateService;

currentLang: string;
constructor(translateService: TranslateService, configService: ConfigService);
constructor(translateService: TranslateService, configService: JhiConfigService);
init(): void;

@@ -10,0 +10,0 @@ changeLanguage(languageKey: string): void;

@@ -21,3 +21,3 @@ /*

import { TranslateService } from '@ngx-translate/core';
import { ConfigService } from '../config.service';
import { JhiConfigService } from '../config.service';
var JhiLanguageService = (function () {

@@ -53,3 +53,3 @@ function JhiLanguageService(translateService, configService) {

{ type: TranslateService, },
{ type: ConfigService, },
{ type: JhiConfigService, },
]; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"JhiLanguageService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService"},{"__symbolic":"reference","module":"../config.service","name":"ConfigService"}]}],"init":[{"__symbolic":"method"}],"changeLanguage":[{"__symbolic":"method"}],"getCurrent":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiLanguageService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService"},{"__symbolic":"reference","module":"../config.service","name":"ConfigService"}]}],"init":[{"__symbolic":"method"}],"changeLanguage":[{"__symbolic":"method"}],"getCurrent":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiLanguageService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService"},{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"}]}],"init":[{"__symbolic":"method"}],"changeLanguage":[{"__symbolic":"method"}],"getCurrent":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiLanguageService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService"},{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"}]}],"init":[{"__symbolic":"method"}],"changeLanguage":[{"__symbolic":"method"}],"getCurrent":[{"__symbolic":"method"}]}}}}]
import { PipeTransform } from '@angular/core';
export declare class CapitalizePipe implements PipeTransform {
export declare class JhiCapitalizePipe implements PipeTransform {
transform(input: string): string;
}

@@ -20,6 +20,6 @@ /*

import { Pipe } from '@angular/core';
var CapitalizePipe = (function () {
function CapitalizePipe() {
var JhiCapitalizePipe = (function () {
function JhiCapitalizePipe() {
}
CapitalizePipe.prototype.transform = function (input) {
JhiCapitalizePipe.prototype.transform = function (input) {
if (input !== null) {

@@ -30,9 +30,9 @@ input = input.toLowerCase();

};
return CapitalizePipe;
return JhiCapitalizePipe;
}());
export { CapitalizePipe };
CapitalizePipe.decorators = [
export { JhiCapitalizePipe };
JhiCapitalizePipe.decorators = [
{ type: Pipe, args: [{ name: 'capitalize' },] },
];
/** @nocollapse */
CapitalizePipe.ctorParameters = function () { return []; };
JhiCapitalizePipe.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"CapitalizePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"capitalize"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CapitalizePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"capitalize"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiCapitalizePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"capitalize"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiCapitalizePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"capitalize"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
import { PipeTransform } from '@angular/core';
export declare class FilterPipe implements PipeTransform {
export declare class JhiFilterPipe implements PipeTransform {
private filterByStringAndField(filter, field);

@@ -4,0 +4,0 @@ private filterByString(filter);

@@ -20,6 +20,6 @@ /*

import { Pipe } from '@angular/core';
var FilterPipe = (function () {
function FilterPipe() {
var JhiFilterPipe = (function () {
function JhiFilterPipe() {
}
FilterPipe.prototype.filterByStringAndField = function (filter, field) {
JhiFilterPipe.prototype.filterByStringAndField = function (filter, field) {
return function (value) {

@@ -30,3 +30,3 @@ return !filter || (value[field] && value[field].toLowerCase().indexOf(filter.toLowerCase()) !== -1);

// adapted from https://github.com/VadimDez/ng2-filter-pipe
FilterPipe.prototype.filterByString = function (filter) {
JhiFilterPipe.prototype.filterByString = function (filter) {
return function (value) {

@@ -36,3 +36,3 @@ return !filter || value.toLowerCase().indexOf(filter.toLowerCase()) !== -1;

};
FilterPipe.prototype.filterDefault = function (filter) {
JhiFilterPipe.prototype.filterDefault = function (filter) {
return function (value) {

@@ -42,3 +42,3 @@ return !filter || filter === value;

};
FilterPipe.prototype.filterByObject = function (filter) {
JhiFilterPipe.prototype.filterByObject = function (filter) {
var _this = this;

@@ -66,3 +66,3 @@ return function (value) {

};
FilterPipe.prototype.transform = function (input, filter, field) {
JhiFilterPipe.prototype.transform = function (input, filter, field) {
if (!filter) {

@@ -82,9 +82,9 @@ return input;

};
return FilterPipe;
return JhiFilterPipe;
}());
export { FilterPipe };
FilterPipe.decorators = [
export { JhiFilterPipe };
JhiFilterPipe.decorators = [
{ type: Pipe, args: [{ name: 'filter', pure: false },] },
];
/** @nocollapse */
FilterPipe.ctorParameters = function () { return []; };
JhiFilterPipe.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"FilterPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"filter","pure":false}]}],"members":{"filterByStringAndField":[{"__symbolic":"method"}],"filterByString":[{"__symbolic":"method"}],"filterDefault":[{"__symbolic":"method"}],"filterByObject":[{"__symbolic":"method"}],"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"FilterPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"filter","pure":false}]}],"members":{"filterByStringAndField":[{"__symbolic":"method"}],"filterByString":[{"__symbolic":"method"}],"filterDefault":[{"__symbolic":"method"}],"filterByObject":[{"__symbolic":"method"}],"transform":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiFilterPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"filter","pure":false}]}],"members":{"filterByStringAndField":[{"__symbolic":"method"}],"filterByString":[{"__symbolic":"method"}],"filterDefault":[{"__symbolic":"method"}],"filterByObject":[{"__symbolic":"method"}],"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiFilterPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"filter","pure":false}]}],"members":{"filterByStringAndField":[{"__symbolic":"method"}],"filterByString":[{"__symbolic":"method"}],"filterDefault":[{"__symbolic":"method"}],"filterByObject":[{"__symbolic":"method"}],"transform":[{"__symbolic":"method"}]}}}}]
import { PipeTransform } from '@angular/core';
export declare class KeysPipe implements PipeTransform {
export declare class JhiKeysPipe implements PipeTransform {
transform(value: any, args: string[]): any;
}

@@ -20,6 +20,6 @@ /*

import { Pipe } from '@angular/core';
var KeysPipe = (function () {
function KeysPipe() {
var JhiKeysPipe = (function () {
function JhiKeysPipe() {
}
KeysPipe.prototype.transform = function (value, args) {
JhiKeysPipe.prototype.transform = function (value, args) {
var keys = [];

@@ -32,9 +32,9 @@ for (var i = 0, valueKeys = Object.keys(value); i < valueKeys.length; i++) {

};
return KeysPipe;
return JhiKeysPipe;
}());
export { KeysPipe };
KeysPipe.decorators = [
export { JhiKeysPipe };
JhiKeysPipe.decorators = [
{ type: Pipe, args: [{ name: 'keys' },] },
];
/** @nocollapse */
KeysPipe.ctorParameters = function () { return []; };
JhiKeysPipe.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"KeysPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"keys"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"KeysPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"keys"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiKeysPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"keys"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiKeysPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"keys"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
import { PipeTransform } from '@angular/core';
export declare class OrderByPipe implements PipeTransform {
export declare class JhiOrderByPipe implements PipeTransform {
transform(values: any[], predicate?: string, reverse?: boolean): any;
}

@@ -20,6 +20,6 @@ /*

import { Pipe } from '@angular/core';
var OrderByPipe = (function () {
function OrderByPipe() {
var JhiOrderByPipe = (function () {
function JhiOrderByPipe() {
}
OrderByPipe.prototype.transform = function (values, predicate, reverse) {
JhiOrderByPipe.prototype.transform = function (values, predicate, reverse) {
if (predicate === void 0) { predicate = ''; }

@@ -40,9 +40,9 @@ if (reverse === void 0) { reverse = false; }

};
return OrderByPipe;
return JhiOrderByPipe;
}());
export { OrderByPipe };
OrderByPipe.decorators = [
export { JhiOrderByPipe };
JhiOrderByPipe.decorators = [
{ type: Pipe, args: [{ name: 'orderBy' },] },
];
/** @nocollapse */
OrderByPipe.ctorParameters = function () { return []; };
JhiOrderByPipe.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"OrderByPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"orderBy"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"OrderByPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"orderBy"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiOrderByPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"orderBy"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiOrderByPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"orderBy"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
import { PipeTransform } from '@angular/core';
import { FilterPipe } from './filter.pipe';
export declare class PureFilterPipe extends FilterPipe implements PipeTransform {
import { JhiFilterPipe } from './filter.pipe';
export declare class JhiPureFilterPipe extends JhiFilterPipe implements PipeTransform {
transform(input: Array<any>, filter: string, field: string): any;
}

@@ -30,18 +30,18 @@ var __extends = (this && this.__extends) || (function () {

import { Pipe } from '@angular/core';
import { FilterPipe } from './filter.pipe';
var PureFilterPipe = (function (_super) {
__extends(PureFilterPipe, _super);
function PureFilterPipe() {
import { JhiFilterPipe } from './filter.pipe';
var JhiPureFilterPipe = (function (_super) {
__extends(JhiPureFilterPipe, _super);
function JhiPureFilterPipe() {
return _super !== null && _super.apply(this, arguments) || this;
}
PureFilterPipe.prototype.transform = function (input, filter, field) {
JhiPureFilterPipe.prototype.transform = function (input, filter, field) {
return _super.prototype.transform.call(this, input, filter, field);
};
return PureFilterPipe;
}(FilterPipe));
export { PureFilterPipe };
PureFilterPipe.decorators = [
return JhiPureFilterPipe;
}(JhiFilterPipe));
export { JhiPureFilterPipe };
JhiPureFilterPipe.decorators = [
{ type: Pipe, args: [{ name: 'pureFilter' },] },
];
/** @nocollapse */
PureFilterPipe.ctorParameters = function () { return []; };
JhiPureFilterPipe.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"PureFilterPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./filter.pipe","name":"FilterPipe"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"pureFilter"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"PureFilterPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./filter.pipe","name":"FilterPipe"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"pureFilter"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiPureFilterPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./filter.pipe","name":"JhiFilterPipe"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"pureFilter"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiPureFilterPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./filter.pipe","name":"JhiFilterPipe"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"pureFilter"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
import { PipeTransform } from '@angular/core';
export declare class TruncateCharactersPipe implements PipeTransform {
export declare class JhiTruncateCharactersPipe implements PipeTransform {
transform(input: string, chars: number, breakOnWord?: boolean): string;
}

@@ -20,6 +20,6 @@ /*

import { Pipe } from '@angular/core';
var TruncateCharactersPipe = (function () {
function TruncateCharactersPipe() {
var JhiTruncateCharactersPipe = (function () {
function JhiTruncateCharactersPipe() {
}
TruncateCharactersPipe.prototype.transform = function (input, chars, breakOnWord) {
JhiTruncateCharactersPipe.prototype.transform = function (input, chars, breakOnWord) {
if (isNaN(chars)) {

@@ -49,9 +49,9 @@ return input;

};
return TruncateCharactersPipe;
return JhiTruncateCharactersPipe;
}());
export { TruncateCharactersPipe };
TruncateCharactersPipe.decorators = [
export { JhiTruncateCharactersPipe };
JhiTruncateCharactersPipe.decorators = [
{ type: Pipe, args: [{ name: 'truncateCharacters' },] },
];
/** @nocollapse */
TruncateCharactersPipe.ctorParameters = function () { return []; };
JhiTruncateCharactersPipe.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"TruncateCharactersPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"truncateCharacters"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"TruncateCharactersPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"truncateCharacters"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiTruncateCharactersPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"truncateCharacters"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiTruncateCharactersPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"truncateCharacters"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
import { PipeTransform } from '@angular/core';
export declare class TruncateWordsPipe implements PipeTransform {
export declare class JhiTruncateWordsPipe implements PipeTransform {
transform(input: string, words: number): string;
}

@@ -20,6 +20,6 @@ /*

import { Pipe } from '@angular/core';
var TruncateWordsPipe = (function () {
function TruncateWordsPipe() {
var JhiTruncateWordsPipe = (function () {
function JhiTruncateWordsPipe() {
}
TruncateWordsPipe.prototype.transform = function (input, words) {
JhiTruncateWordsPipe.prototype.transform = function (input, words) {
if (isNaN(words)) {

@@ -39,9 +39,9 @@ return input;

};
return TruncateWordsPipe;
return JhiTruncateWordsPipe;
}());
export { TruncateWordsPipe };
TruncateWordsPipe.decorators = [
export { JhiTruncateWordsPipe };
JhiTruncateWordsPipe.decorators = [
{ type: Pipe, args: [{ name: 'truncateWords' },] },
];
/** @nocollapse */
TruncateWordsPipe.ctorParameters = function () { return []; };
JhiTruncateWordsPipe.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"TruncateWordsPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"truncateWords"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"TruncateWordsPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"truncateWords"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiTruncateWordsPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"truncateWords"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiTruncateWordsPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"truncateWords"}]}],"members":{"transform":[{"__symbolic":"method"}]}}}}]
import { Sanitizer } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { ConfigService } from '../config.service';
export declare type AlertType = 'success' | 'danger' | 'warning' | 'info';
export interface Alert {
import { JhiConfigService } from '../config.service';
export declare type JhiAlertType = 'success' | 'danger' | 'warning' | 'info';
export interface JhiAlert {
id?: number;
type: AlertType;
type: JhiAlertType;
msg: string;

@@ -14,5 +14,5 @@ params?: any;

scoped?: boolean;
close?: (alerts: Alert[]) => void;
close?: (alerts: JhiAlert[]) => void;
}
export declare class AlertService {
export declare class JhiAlertService {
private sanitizer;

@@ -26,14 +26,14 @@ private configService;

private i18nEnabled;
constructor(sanitizer: Sanitizer, configService: ConfigService, translateService: TranslateService);
constructor(sanitizer: Sanitizer, configService: JhiConfigService, translateService: TranslateService);
clear(): void;
get(): Alert[];
success(msg: string, params?: any, position?: string): Alert;
error(msg: string, params?: any, position?: string): Alert;
warning(msg: string, params?: any, position?: string): Alert;
info(msg: string, params?: any, position?: string): Alert;
get(): JhiAlert[];
success(msg: string, params?: any, position?: string): JhiAlert;
error(msg: string, params?: any, position?: string): JhiAlert;
warning(msg: string, params?: any, position?: string): JhiAlert;
info(msg: string, params?: any, position?: string): JhiAlert;
private factory(alertOptions);
addAlert(alertOptions: Alert, extAlerts: Alert[]): Alert;
closeAlert(id: number, extAlerts?: Alert[]): any;
closeAlertByIndex(index: number, thisAlerts: Alert[]): Alert[];
addAlert(alertOptions: JhiAlert, extAlerts: JhiAlert[]): JhiAlert;
closeAlert(id: number, extAlerts?: JhiAlert[]): any;
closeAlertByIndex(index: number, thisAlerts: JhiAlert[]): JhiAlert[];
isToast(): boolean;
}

@@ -21,5 +21,5 @@ /*

import { TranslateService } from '@ngx-translate/core';
import { ConfigService } from '../config.service';
var AlertService = (function () {
function AlertService(sanitizer, configService, translateService) {
import { JhiConfigService } from '../config.service';
var JhiAlertService = (function () {
function JhiAlertService(sanitizer, configService, translateService) {
this.sanitizer = sanitizer;

@@ -35,9 +35,9 @@ this.configService = configService;

}
AlertService.prototype.clear = function () {
JhiAlertService.prototype.clear = function () {
this.alerts.splice(0, this.alerts.length);
};
AlertService.prototype.get = function () {
JhiAlertService.prototype.get = function () {
return this.alerts;
};
AlertService.prototype.success = function (msg, params, position) {
JhiAlertService.prototype.success = function (msg, params, position) {
return this.addAlert({

@@ -52,3 +52,3 @@ type: 'success',

};
AlertService.prototype.error = function (msg, params, position) {
JhiAlertService.prototype.error = function (msg, params, position) {
return this.addAlert({

@@ -63,3 +63,3 @@ type: 'danger',

};
AlertService.prototype.warning = function (msg, params, position) {
JhiAlertService.prototype.warning = function (msg, params, position) {
return this.addAlert({

@@ -74,3 +74,3 @@ type: 'warning',

};
AlertService.prototype.info = function (msg, params, position) {
JhiAlertService.prototype.info = function (msg, params, position) {
return this.addAlert({

@@ -85,3 +85,3 @@ type: 'info',

};
AlertService.prototype.factory = function (alertOptions) {
JhiAlertService.prototype.factory = function (alertOptions) {
var _this = this;

@@ -105,3 +105,3 @@ var alert = {

};
AlertService.prototype.addAlert = function (alertOptions, extAlerts) {
JhiAlertService.prototype.addAlert = function (alertOptions, extAlerts) {
var _this = this;

@@ -120,23 +120,23 @@ alertOptions.id = this.alertId++;

};
AlertService.prototype.closeAlert = function (id, extAlerts) {
JhiAlertService.prototype.closeAlert = function (id, extAlerts) {
var thisAlerts = (extAlerts && extAlerts.length > 0) ? extAlerts : this.alerts;
return this.closeAlertByIndex(thisAlerts.map(function (e) { return e.id; }).indexOf(id), thisAlerts);
};
AlertService.prototype.closeAlertByIndex = function (index, thisAlerts) {
JhiAlertService.prototype.closeAlertByIndex = function (index, thisAlerts) {
return thisAlerts.splice(index, 1);
};
AlertService.prototype.isToast = function () {
JhiAlertService.prototype.isToast = function () {
return this.toast;
};
return AlertService;
return JhiAlertService;
}());
export { AlertService };
AlertService.decorators = [
export { JhiAlertService };
JhiAlertService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
AlertService.ctorParameters = function () { return [
JhiAlertService.ctorParameters = function () { return [
{ type: Sanitizer, },
{ type: ConfigService, },
{ type: JhiConfigService, },
{ type: TranslateService, },
]; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"Alert":{"__symbolic":"interface"},"AlertService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer"},{"__symbolic":"reference","module":"../config.service","name":"ConfigService"},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService"}]}],"clear":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"success":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"warning":[{"__symbolic":"method"}],"info":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"addAlert":[{"__symbolic":"method"}],"closeAlert":[{"__symbolic":"method"}],"closeAlertByIndex":[{"__symbolic":"method"}],"isToast":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"Alert":{"__symbolic":"interface"},"AlertService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer"},{"__symbolic":"reference","module":"../config.service","name":"ConfigService"},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService"}]}],"clear":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"success":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"warning":[{"__symbolic":"method"}],"info":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"addAlert":[{"__symbolic":"method"}],"closeAlert":[{"__symbolic":"method"}],"closeAlertByIndex":[{"__symbolic":"method"}],"isToast":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiAlert":{"__symbolic":"interface"},"JhiAlertService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer"},{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService"}]}],"clear":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"success":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"warning":[{"__symbolic":"method"}],"info":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"addAlert":[{"__symbolic":"method"}],"closeAlert":[{"__symbolic":"method"}],"closeAlertByIndex":[{"__symbolic":"method"}],"isToast":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiAlert":{"__symbolic":"interface"},"JhiAlertService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Sanitizer"},{"__symbolic":"reference","module":"../config.service","name":"JhiConfigService"},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateService"}]}],"clear":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"success":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"warning":[{"__symbolic":"method"}],"info":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"addAlert":[{"__symbolic":"method"}],"closeAlert":[{"__symbolic":"method"}],"closeAlertByIndex":[{"__symbolic":"method"}],"isToast":[{"__symbolic":"method"}]}}}}]

@@ -1,2 +0,2 @@

export declare class Base64 {
export declare class JhiBase64Service {
private keyStr;

@@ -3,0 +3,0 @@ encode(input: any): string;

@@ -21,4 +21,4 @@ /*

import { Injectable } from '@angular/core';
var Base64 = (function () {
function Base64() {
var JhiBase64Service = (function () {
function JhiBase64Service() {
this.keyStr = 'ABCDEFGHIJKLMNOP' +

@@ -30,3 +30,3 @@ 'QRSTUVWXYZabcdef' +

}
Base64.prototype.encode = function (input) {
JhiBase64Service.prototype.encode = function (input) {
var output = '';

@@ -65,3 +65,3 @@ var enc1 = '';

};
Base64.prototype.decode = function (input) {
JhiBase64Service.prototype.decode = function (input) {
var output = '';

@@ -98,9 +98,9 @@ var enc1 = '';

};
return Base64;
return JhiBase64Service;
}());
export { Base64 };
Base64.decorators = [
export { JhiBase64Service };
JhiBase64Service.decorators = [
{ type: Injectable },
];
/** @nocollapse */
Base64.ctorParameters = function () { return []; };
JhiBase64Service.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"Base64":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"encode":[{"__symbolic":"method"}],"decode":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"Base64":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"encode":[{"__symbolic":"method"}],"decode":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiBase64Service":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"encode":[{"__symbolic":"method"}],"decode":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiBase64Service":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"encode":[{"__symbolic":"method"}],"decode":[{"__symbolic":"method"}]}}}}]
import { ElementRef } from '@angular/core';
export declare class DataUtils {
export declare class JhiDataUtils {
constructor();

@@ -4,0 +4,0 @@ abbreviate(text: string, append?: string): string;

@@ -23,4 +23,4 @@ /*

*/
var DataUtils = (function () {
function DataUtils() {
var JhiDataUtils = (function () {
function JhiDataUtils() {
}

@@ -30,3 +30,3 @@ /**

*/
DataUtils.prototype.abbreviate = function (text, append) {
JhiDataUtils.prototype.abbreviate = function (text, append) {
if (append === void 0) { append = '...'; }

@@ -41,3 +41,3 @@ if (text.length < 30) {

*/
DataUtils.prototype.byteSize = function (base64String) {
JhiDataUtils.prototype.byteSize = function (base64String) {
return this.formatAsBytes(this.size(base64String));

@@ -48,3 +48,3 @@ };

*/
DataUtils.prototype.openFile = function (type, data) {
JhiDataUtils.prototype.openFile = function (type, data) {
window.open('data:' + type + ';base64,' + data, '_blank', 'height=300,width=400');

@@ -55,3 +55,3 @@ };

*/
DataUtils.prototype.toBase64 = function (file, cb) {
JhiDataUtils.prototype.toBase64 = function (file, cb) {
var fileReader = new FileReader();

@@ -67,3 +67,3 @@ fileReader.readAsDataURL(file);

*/
DataUtils.prototype.clearInputImage = function (entity, elementRef, field, fieldContentType, idInput) {
JhiDataUtils.prototype.clearInputImage = function (entity, elementRef, field, fieldContentType, idInput) {
console.log(elementRef);

@@ -83,6 +83,6 @@ console.log(entity);

};
DataUtils.prototype.endsWith = function (suffix, str) {
JhiDataUtils.prototype.endsWith = function (suffix, str) {
return str.indexOf(suffix, str.length - suffix.length) !== -1;
};
DataUtils.prototype.paddingSize = function (value) {
JhiDataUtils.prototype.paddingSize = function (value) {
if (this.endsWith('==', value)) {

@@ -96,15 +96,15 @@ return 2;

};
DataUtils.prototype.size = function (value) {
JhiDataUtils.prototype.size = function (value) {
return value.length / 4 * 3 - this.paddingSize(value);
};
DataUtils.prototype.formatAsBytes = function (size) {
JhiDataUtils.prototype.formatAsBytes = function (size) {
return size.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ' ') + ' bytes';
};
return DataUtils;
return JhiDataUtils;
}());
export { DataUtils };
DataUtils.decorators = [
export { JhiDataUtils };
JhiDataUtils.decorators = [
{ type: Injectable },
];
/** @nocollapse */
DataUtils.ctorParameters = function () { return []; };
JhiDataUtils.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"DataUtils":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"abbreviate":[{"__symbolic":"method"}],"byteSize":[{"__symbolic":"method"}],"openFile":[{"__symbolic":"method"}],"toBase64":[{"__symbolic":"method"}],"clearInputImage":[{"__symbolic":"method"}],"endsWith":[{"__symbolic":"method"}],"paddingSize":[{"__symbolic":"method"}],"size":[{"__symbolic":"method"}],"formatAsBytes":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"DataUtils":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"abbreviate":[{"__symbolic":"method"}],"byteSize":[{"__symbolic":"method"}],"openFile":[{"__symbolic":"method"}],"toBase64":[{"__symbolic":"method"}],"clearInputImage":[{"__symbolic":"method"}],"endsWith":[{"__symbolic":"method"}],"paddingSize":[{"__symbolic":"method"}],"size":[{"__symbolic":"method"}],"formatAsBytes":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiDataUtils":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"abbreviate":[{"__symbolic":"method"}],"byteSize":[{"__symbolic":"method"}],"openFile":[{"__symbolic":"method"}],"toBase64":[{"__symbolic":"method"}],"clearInputImage":[{"__symbolic":"method"}],"endsWith":[{"__symbolic":"method"}],"paddingSize":[{"__symbolic":"method"}],"size":[{"__symbolic":"method"}],"formatAsBytes":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiDataUtils":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"abbreviate":[{"__symbolic":"method"}],"byteSize":[{"__symbolic":"method"}],"openFile":[{"__symbolic":"method"}],"toBase64":[{"__symbolic":"method"}],"clearInputImage":[{"__symbolic":"method"}],"endsWith":[{"__symbolic":"method"}],"paddingSize":[{"__symbolic":"method"}],"size":[{"__symbolic":"method"}],"formatAsBytes":[{"__symbolic":"method"}]}}}}]
import { DatePipe } from '@angular/common';
export declare class DateUtils {
export declare class JhiDateUtils {
private datePipe;

@@ -4,0 +4,0 @@ private pattern;

@@ -24,4 +24,4 @@ /*

*/
var DateUtils = (function () {
function DateUtils(datePipe) {
var JhiDateUtils = (function () {
function JhiDateUtils(datePipe) {
this.datePipe = datePipe;

@@ -33,3 +33,3 @@ this.pattern = 'yyyy-MM-dd';

*/
DateUtils.prototype.convertDateTimeFromServer = function (date) {
JhiDateUtils.prototype.convertDateTimeFromServer = function (date) {
if (date) {

@@ -45,3 +45,3 @@ return new Date(date);

*/
DateUtils.prototype.convertLocalDateFromServer = function (date) {
JhiDateUtils.prototype.convertLocalDateFromServer = function (date) {
if (date) {

@@ -56,3 +56,3 @@ var dateString = date.split('-');

*/
DateUtils.prototype.convertLocalDateToServer = function (date, pattern) {
JhiDateUtils.prototype.convertLocalDateToServer = function (date, pattern) {
if (pattern === void 0) { pattern = this.pattern; }

@@ -70,7 +70,7 @@ if (date) {

*/
DateUtils.prototype.dateformat = function () {
JhiDateUtils.prototype.dateformat = function () {
return this.pattern;
};
// TODO Change this method when moving from datetime-local input to NgbDatePicker
DateUtils.prototype.toDate = function (date) {
JhiDateUtils.prototype.toDate = function (date) {
if (date === undefined || date === null) {

@@ -82,11 +82,11 @@ return null;

};
return DateUtils;
return JhiDateUtils;
}());
export { DateUtils };
DateUtils.decorators = [
export { JhiDateUtils };
JhiDateUtils.decorators = [
{ type: Injectable },
];
/** @nocollapse */
DateUtils.ctorParameters = function () { return [
JhiDateUtils.ctorParameters = function () { return [
{ type: DatePipe, },
]; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"DateUtils":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common","name":"DatePipe"}]}],"convertDateTimeFromServer":[{"__symbolic":"method"}],"convertLocalDateFromServer":[{"__symbolic":"method"}],"convertLocalDateToServer":[{"__symbolic":"method"}],"dateformat":[{"__symbolic":"method"}],"toDate":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"DateUtils":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common","name":"DatePipe"}]}],"convertDateTimeFromServer":[{"__symbolic":"method"}],"convertLocalDateFromServer":[{"__symbolic":"method"}],"convertLocalDateToServer":[{"__symbolic":"method"}],"dateformat":[{"__symbolic":"method"}],"toDate":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiDateUtils":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common","name":"DatePipe"}]}],"convertDateTimeFromServer":[{"__symbolic":"method"}],"convertLocalDateFromServer":[{"__symbolic":"method"}],"convertLocalDateToServer":[{"__symbolic":"method"}],"dateformat":[{"__symbolic":"method"}],"toDate":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiDateUtils":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common","name":"DatePipe"}]}],"convertDateTimeFromServer":[{"__symbolic":"method"}],"convertLocalDateFromServer":[{"__symbolic":"method"}],"convertLocalDateToServer":[{"__symbolic":"method"}],"dateformat":[{"__symbolic":"method"}],"toDate":[{"__symbolic":"method"}]}}}}]
import { Observable, Observer, Subscription } from 'rxjs/Rx';
export declare class EventManager {
export declare class JhiEventManager {
observable: Observable<any>;

@@ -4,0 +4,0 @@ observer: Observer<any>;

@@ -24,4 +24,4 @@ /*

*/
var EventManager = (function () {
function EventManager() {
var JhiEventManager = (function () {
function JhiEventManager() {
var _this = this;

@@ -35,3 +35,3 @@ this.observable = Observable.create(function (observer) {

*/
EventManager.prototype.broadcast = function (event) {
JhiEventManager.prototype.broadcast = function (event) {
if (this.observer != null) {

@@ -44,3 +44,3 @@ this.observer.next(event);

*/
EventManager.prototype.subscribe = function (eventName, callback) {
JhiEventManager.prototype.subscribe = function (eventName, callback) {
var subscriber = this.observable.filter(function (event) {

@@ -54,12 +54,12 @@ return event.name === eventName;

*/
EventManager.prototype.destroy = function (subscriber) {
JhiEventManager.prototype.destroy = function (subscriber) {
subscriber.unsubscribe();
};
return EventManager;
return JhiEventManager;
}());
export { EventManager };
EventManager.decorators = [
export { JhiEventManager };
JhiEventManager.decorators = [
{ type: Injectable },
];
/** @nocollapse */
EventManager.ctorParameters = function () { return []; };
JhiEventManager.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"EventManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"broadcast":[{"__symbolic":"method"}],"subscribe":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"EventManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"broadcast":[{"__symbolic":"method"}],"subscribe":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiEventManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"broadcast":[{"__symbolic":"method"}],"subscribe":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiEventManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"broadcast":[{"__symbolic":"method"}],"subscribe":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}}}}]

@@ -1,2 +0,2 @@

export declare class PaginationUtil {
export declare class JhiPaginationUtil {
constructor();

@@ -3,0 +3,0 @@ parseAscending(sort: string): boolean;

@@ -23,4 +23,4 @@ /*

*/
var PaginationUtil = (function () {
function PaginationUtil() {
var JhiPaginationUtil = (function () {
function JhiPaginationUtil() {
}

@@ -30,3 +30,3 @@ /**

*/
PaginationUtil.prototype.parseAscending = function (sort) {
JhiPaginationUtil.prototype.parseAscending = function (sort) {
var sortArray = sort.split(',');

@@ -43,3 +43,3 @@ sortArray = sortArray.length > 1 ? sortArray : sort.split('%2C');

*/
PaginationUtil.prototype.parsePage = function (page) {
JhiPaginationUtil.prototype.parsePage = function (page) {
return parseInt(page, 10);

@@ -50,12 +50,12 @@ };

*/
PaginationUtil.prototype.parsePredicate = function (sort) {
JhiPaginationUtil.prototype.parsePredicate = function (sort) {
return sort.split(',')[0].split('%2C')[0];
};
return PaginationUtil;
return JhiPaginationUtil;
}());
export { PaginationUtil };
PaginationUtil.decorators = [
export { JhiPaginationUtil };
JhiPaginationUtil.decorators = [
{ type: Injectable },
];
/** @nocollapse */
PaginationUtil.ctorParameters = function () { return []; };
JhiPaginationUtil.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"PaginationUtil":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"parseAscending":[{"__symbolic":"method"}],"parsePage":[{"__symbolic":"method"}],"parsePredicate":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"PaginationUtil":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"parseAscending":[{"__symbolic":"method"}],"parsePage":[{"__symbolic":"method"}],"parsePredicate":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiPaginationUtil":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"parseAscending":[{"__symbolic":"method"}],"parsePage":[{"__symbolic":"method"}],"parsePredicate":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiPaginationUtil":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"parseAscending":[{"__symbolic":"method"}],"parsePage":[{"__symbolic":"method"}],"parsePredicate":[{"__symbolic":"method"}]}}}}]

@@ -1,4 +0,4 @@

export declare class ParseLinks {
export declare class JhiParseLinks {
constructor();
parse(header: string): any;
}

@@ -23,4 +23,4 @@ /*

*/
var ParseLinks = (function () {
function ParseLinks() {
var JhiParseLinks = (function () {
function JhiParseLinks() {
}

@@ -30,3 +30,3 @@ /**

*/
ParseLinks.prototype.parse = function (header) {
JhiParseLinks.prototype.parse = function (header) {
if (header.length === 0) {

@@ -56,9 +56,9 @@ throw new Error('input must not be of zero length');

};
return ParseLinks;
return JhiParseLinks;
}());
export { ParseLinks };
ParseLinks.decorators = [
export { JhiParseLinks };
JhiParseLinks.decorators = [
{ type: Injectable },
];
/** @nocollapse */
ParseLinks.ctorParameters = function () { return []; };
JhiParseLinks.ctorParameters = function () { return []; };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"ParseLinks":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"parse":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ParseLinks":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"parse":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"JhiParseLinks":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"parse":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"JhiParseLinks":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"parse":[{"__symbolic":"method"}]}}}}]

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc