oip-common 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/i18n/db-migration.en.json +19 -0
- package/assets/i18n/db-migration.ru.json +19 -0
- package/assets/i18n/en.json +10 -0
- package/assets/i18n/ru.json +155 -22
- package/fesm2022/oip-common.mjs +87 -75
- package/fesm2022/oip-common.mjs.map +1 -1
- package/index.d.ts +5 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { OnInit, OnDestroy, WritableSignal, EventEmitter, Renderer2, PipeTransform } from '@angular/core';
|
|
3
3
|
import { MessageService, ToastMessageOptions, MenuItem, SelectItem, ConfirmationService } from 'primeng/api';
|
|
4
4
|
import { ActivatedRoute, QueryParamsHandling, IsActiveMatchOptions, Params, Router, UrlTree } from '@angular/router';
|
|
5
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { TranslateService, InterpolationParameters, Translation, TranslationObject } from '@ngx-translate/core';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { Subject, Observable, Subscription } from 'rxjs';
|
|
8
8
|
import { LoginResponse, AuthOptions, OidcSecurityService, LogoutAuthOptions, AbstractSecurityStorage, StsConfigHttpLoader } from 'angular-auth-oidc-client';
|
|
@@ -431,12 +431,11 @@ declare class UserService {
|
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
declare class AppTopbar {
|
|
434
|
-
layoutService: LayoutService;
|
|
435
434
|
items: MenuItem[];
|
|
436
435
|
securityService: SecurityService;
|
|
437
436
|
topBarService: TopBarService;
|
|
438
437
|
userService: UserService;
|
|
439
|
-
|
|
438
|
+
layoutService: LayoutService;
|
|
440
439
|
toggleDarkMode(): void;
|
|
441
440
|
logoutKeyDown($event: KeyboardEvent): void;
|
|
442
441
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTopbar, never>;
|
|
@@ -444,7 +443,6 @@ declare class AppTopbar {
|
|
|
444
443
|
}
|
|
445
444
|
|
|
446
445
|
declare class FooterComponent {
|
|
447
|
-
constructor();
|
|
448
446
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
449
447
|
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "app-footer", never, {}, {}, never, never, true, never>;
|
|
450
448
|
}
|
|
@@ -843,6 +841,7 @@ declare class L10nService {
|
|
|
843
841
|
*/
|
|
844
842
|
use(selectedLanguage: string, key?: string): void;
|
|
845
843
|
init(langs: string[]): void;
|
|
844
|
+
instant(key: string | string[], interpolateParams?: InterpolationParameters): Translation | TranslationObject;
|
|
846
845
|
static ɵfac: i0.ɵɵFactoryDeclaration<L10nService, never>;
|
|
847
846
|
static ɵprov: i0.ɵɵInjectableDeclaration<L10nService>;
|
|
848
847
|
}
|
|
@@ -919,6 +918,8 @@ interface MigrationDto {
|
|
|
919
918
|
}
|
|
920
919
|
declare class DbMigrationComponent extends BaseModuleComponent<NoSettingsDto, NoSettingsDto> implements OnInit, OnDestroy {
|
|
921
920
|
data: MigrationDto[];
|
|
921
|
+
l10nService: L10nService;
|
|
922
|
+
constructor();
|
|
922
923
|
ngOnInit(): Promise<void>;
|
|
923
924
|
refreshAction(): Promise<void>;
|
|
924
925
|
getData(): Promise<MigrationDto[]>;
|