oip-common 0.6.2 → 0.6.4
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/fesm2022/oip-common.mjs +499 -358
- package/fesm2022/oip-common.mjs.map +1 -1
- package/index.d.ts +89 -83
- package/package.json +1 -1
package/fesm2022/oip-common.mjs
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, inject, signal, computed, effect, DestroyRef, ChangeDetectorRef, Component, Input, InjectionToken, PLATFORM_ID, ViewChild, HostBinding, EventEmitter, Output, Renderer2, SecurityContext, ChangeDetectionStrategy, Injector, EnvironmentInjector, ViewContainerRef, makeEnvironmentProviders, importProvidersFrom } from '@angular/core';
|
|
2
|
+
import { Injectable, inject, signal, computed, effect, isDevMode, DestroyRef, ChangeDetectorRef, Component, Input, InjectionToken, PLATFORM_ID, ViewChild, HostBinding, EventEmitter, Output, Renderer2, SecurityContext, ChangeDetectionStrategy, Injector, EnvironmentInjector, ViewContainerRef, makeEnvironmentProviders, importProvidersFrom } from '@angular/core';
|
|
3
3
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
4
|
import { Subject, BehaviorSubject, of, tap, shareReplay, ReplaySubject, firstValueFrom, from, filter as filter$1 } from 'rxjs';
|
|
5
|
-
import * as i2$
|
|
5
|
+
import * as i2$1 from 'primeng/api';
|
|
6
6
|
import { MessageService, ConfirmationService, PrimeIcons, SharedModule } from 'primeng/api';
|
|
7
7
|
import { HttpErrorResponse, HttpClient as HttpClient$1, provideHttpClient, withInterceptors, withFetch } from '@angular/common/http';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i1$7 from '@ngx-translate/core';
|
|
9
9
|
import { TranslateService, TranslatePipe, TranslateModule, TranslateLoader } from '@ngx-translate/core';
|
|
10
|
-
import * as i1$
|
|
10
|
+
import * as i1$5 from '@angular/router';
|
|
11
11
|
import { Router, ActivatedRoute, RouterModule, NavigationEnd, RouterLinkActive, RouterLink } from '@angular/router';
|
|
12
12
|
import { tap as tap$1, catchError, filter, distinctUntilChanged, switchMap, map, take } from 'rxjs/operators';
|
|
13
13
|
import { Title, DomSanitizer } from '@angular/platform-browser';
|
|
14
14
|
import { PrimeNG } from 'primeng/config';
|
|
15
|
-
import * as
|
|
15
|
+
import * as i1 from 'primeng/multiselect';
|
|
16
16
|
import { MultiSelectModule } from 'primeng/multiselect';
|
|
17
|
-
import * as
|
|
17
|
+
import * as i2 from 'primeng/tooltip';
|
|
18
18
|
import { TooltipModule, Tooltip } from 'primeng/tooltip';
|
|
19
|
-
import * as i1$
|
|
19
|
+
import * as i1$2 from 'primeng/button';
|
|
20
20
|
import { ButtonModule, Button } from 'primeng/button';
|
|
21
|
-
import * as i1 from '@angular/forms';
|
|
21
|
+
import * as i1$1 from '@angular/forms';
|
|
22
22
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
23
|
-
import * as
|
|
23
|
+
import * as i1$3 from '@angular/common';
|
|
24
24
|
import { isPlatformBrowser, CommonModule, NgComponentOutlet, NgClass, DatePipe, PathLocationStrategy, LocationStrategy } from '@angular/common';
|
|
25
|
-
import * as i3$
|
|
25
|
+
import * as i3$3 from 'primeng/styleclass';
|
|
26
26
|
import { StyleClassModule } from 'primeng/styleclass';
|
|
27
27
|
import { updatePreset, updateSurfacePalette, $t, definePreset } from '@primeng/themes';
|
|
28
28
|
import Aura from '@primeng/themes/aura';
|
|
29
29
|
import Lara from '@primeng/themes/lara';
|
|
30
30
|
import Nora from '@primeng/themes/nora';
|
|
31
|
-
import * as
|
|
31
|
+
import * as i3 from 'primeng/selectbutton';
|
|
32
32
|
import { SelectButtonModule } from 'primeng/selectbutton';
|
|
33
33
|
import { Tabs, TabList, Tab } from 'primeng/tabs';
|
|
34
|
-
import * as
|
|
34
|
+
import * as i2$2 from 'primeng/avatar';
|
|
35
35
|
import { AvatarModule } from 'primeng/avatar';
|
|
36
36
|
import { ConfirmDialog } from 'primeng/confirmdialog';
|
|
37
|
-
import * as
|
|
37
|
+
import * as i1$4 from 'primeng/badge';
|
|
38
38
|
import { BadgeModule } from 'primeng/badge';
|
|
39
|
-
import * as
|
|
39
|
+
import * as i3$1 from 'primeng/paginator';
|
|
40
40
|
import { PaginatorModule } from 'primeng/paginator';
|
|
41
|
-
import * as
|
|
41
|
+
import * as i7 from 'primeng/popover';
|
|
42
42
|
import { Popover, PopoverModule } from 'primeng/popover';
|
|
43
|
-
import * as
|
|
43
|
+
import * as i4 from 'primeng/progressspinner';
|
|
44
44
|
import { ProgressSpinnerModule } from 'primeng/progressspinner';
|
|
45
|
-
import * as
|
|
45
|
+
import * as i9 from 'primeng/tag';
|
|
46
46
|
import { Tag, TagModule } from 'primeng/tag';
|
|
47
47
|
import * as signalR from '@microsoft/signalr';
|
|
48
|
-
import * as i3$
|
|
48
|
+
import * as i3$2 from 'primeng/menu';
|
|
49
49
|
import { MenuModule } from 'primeng/menu';
|
|
50
|
-
import * as i1$
|
|
50
|
+
import * as i1$6 from 'primeng/contextmenu';
|
|
51
51
|
import { ContextMenuModule, ContextMenu } from 'primeng/contextmenu';
|
|
52
52
|
import * as i3$4 from 'primeng/dialog';
|
|
53
53
|
import { DialogModule } from 'primeng/dialog';
|
|
54
|
-
import * as i4$
|
|
54
|
+
import * as i4$1 from 'primeng/inputtext';
|
|
55
55
|
import { InputTextModule, InputText } from 'primeng/inputtext';
|
|
56
|
-
import * as i2$
|
|
56
|
+
import * as i2$3 from 'primeng/ripple';
|
|
57
57
|
import { RippleModule } from 'primeng/ripple';
|
|
58
|
-
import * as i5
|
|
58
|
+
import * as i5 from 'primeng/select';
|
|
59
59
|
import { SelectModule, Select } from 'primeng/select';
|
|
60
|
-
import * as
|
|
60
|
+
import * as i1$8 from 'primeng/fileupload';
|
|
61
61
|
import { FileUploadModule } from 'primeng/fileupload';
|
|
62
62
|
import { ImageModule } from 'primeng/image';
|
|
63
|
-
import * as i1$
|
|
63
|
+
import * as i1$9 from 'primeng/table';
|
|
64
64
|
import { TableModule } from 'primeng/table';
|
|
65
|
-
import * as i2$
|
|
65
|
+
import * as i2$4 from 'primeng/toggleswitch';
|
|
66
66
|
import { ToggleSwitchModule } from 'primeng/toggleswitch';
|
|
67
67
|
import { TextareaModule, Textarea } from 'primeng/textarea';
|
|
68
|
-
import * as i5$
|
|
68
|
+
import * as i5$1 from 'primeng/toolbar';
|
|
69
69
|
import { ToolbarModule } from 'primeng/toolbar';
|
|
70
|
-
import * as
|
|
70
|
+
import * as i5$2 from 'primeng/card';
|
|
71
71
|
import { CardModule } from 'primeng/card';
|
|
72
72
|
import { DividerModule } from 'primeng/divider';
|
|
73
|
-
import * as
|
|
73
|
+
import * as i6 from 'primeng/panel';
|
|
74
74
|
import { PanelModule } from 'primeng/panel';
|
|
75
75
|
import { loadRemoteModule } from '@angular-architects/module-federation';
|
|
76
76
|
import { primitive } from '@primeng/themes/aura/base';
|
|
@@ -545,75 +545,9 @@ var msgService$1 = {
|
|
|
545
545
|
error: "Error",
|
|
546
546
|
secondary: "Secondary"
|
|
547
547
|
};
|
|
548
|
-
var configComponent$1 = {
|
|
549
|
-
profile: "Profile",
|
|
550
|
-
photo: "Photo",
|
|
551
|
-
usePhoto256x256Pixel: "Use a 256x256 pixel photo",
|
|
552
|
-
localization: "Language",
|
|
553
|
-
selectLanguage: "Select language"
|
|
554
|
-
};
|
|
555
|
-
var menuComponent$1 = {
|
|
556
|
-
all: "All",
|
|
557
|
-
"new": "Add"
|
|
558
|
-
};
|
|
559
|
-
var menuItemEditDialogComponent$1 = {
|
|
560
|
-
header: "Edit menu item",
|
|
561
|
-
parentLabel: "Parent item",
|
|
562
|
-
label: "Label",
|
|
563
|
-
module: "Module",
|
|
564
|
-
selectModule: "Select module",
|
|
565
|
-
icon: "Icon",
|
|
566
|
-
cancel: "Cancel",
|
|
567
|
-
save: "Save",
|
|
568
|
-
security: "Read access"
|
|
569
|
-
};
|
|
570
|
-
var menuItemCreateDialogComponent$1 = {
|
|
571
|
-
header: "New menu item",
|
|
572
|
-
parentLabel: "Parent item",
|
|
573
|
-
label: "Label",
|
|
574
|
-
module: "Module",
|
|
575
|
-
selectModule: "Select module",
|
|
576
|
-
searchModule: "Search module",
|
|
577
|
-
icon: "Icon",
|
|
578
|
-
cancel: "Cancel",
|
|
579
|
-
save: "Save"
|
|
580
|
-
};
|
|
581
|
-
var unauthorized$1 = {
|
|
582
|
-
welcomeToOip: "Welcome to OIP!",
|
|
583
|
-
signInToContinue: "Sign in to continue",
|
|
584
|
-
signIn: "Sign In"
|
|
585
|
-
};
|
|
586
|
-
var menuItemComponent$1 = {
|
|
587
|
-
"new": "Add",
|
|
588
|
-
edit: "Edit",
|
|
589
|
-
"delete": "Delete",
|
|
590
|
-
deleteItemConfirmHeader: "Delete",
|
|
591
|
-
deleteItemConfirmMessage: "Are you sure you want to delete the item?",
|
|
592
|
-
deleteItemSuccessMessage: "Deleted successfully",
|
|
593
|
-
deleteItemConfirmRejectButtonPropsLabel: "Cancel",
|
|
594
|
-
deleteItemConfirmAcceptButtonPropsLabel: "Delete",
|
|
595
|
-
moveUp: "Move up",
|
|
596
|
-
moveDown: "Move down"
|
|
597
|
-
};
|
|
598
|
-
var topbar$1 = {
|
|
599
|
-
logout: "Logout",
|
|
600
|
-
logoutConfirmHeader: "Logout",
|
|
601
|
-
logoutConfirmMessage: "Are you sure you want to logout?",
|
|
602
|
-
logoutConfirmCancel: "Cancel",
|
|
603
|
-
logoutConfirmAccept: "Logout",
|
|
604
|
-
profile: "Profile",
|
|
605
|
-
applications: "Applications"
|
|
606
|
-
};
|
|
607
548
|
var primeng$1 = "";
|
|
608
|
-
var en$
|
|
549
|
+
var en$h = {
|
|
609
550
|
msgService: msgService$1,
|
|
610
|
-
configComponent: configComponent$1,
|
|
611
|
-
menuComponent: menuComponent$1,
|
|
612
|
-
menuItemEditDialogComponent: menuItemEditDialogComponent$1,
|
|
613
|
-
menuItemCreateDialogComponent: menuItemCreateDialogComponent$1,
|
|
614
|
-
unauthorized: unauthorized$1,
|
|
615
|
-
menuItemComponent: menuItemComponent$1,
|
|
616
|
-
topbar: topbar$1,
|
|
617
551
|
primeng: primeng$1
|
|
618
552
|
};
|
|
619
553
|
|
|
@@ -624,65 +558,6 @@ var msgService = {
|
|
|
624
558
|
error: "Ошибка",
|
|
625
559
|
secondary: "Вспомогательный"
|
|
626
560
|
};
|
|
627
|
-
var configComponent = {
|
|
628
|
-
profile: "Профиль",
|
|
629
|
-
photo: "Фото",
|
|
630
|
-
usePhoto256x256Pixel: "Используйте фото 256х256 пикселей",
|
|
631
|
-
localization: "Язык",
|
|
632
|
-
selectLanguage: "Выберите язык"
|
|
633
|
-
};
|
|
634
|
-
var menuComponent = {
|
|
635
|
-
all: "Все",
|
|
636
|
-
"new": "Добавить"
|
|
637
|
-
};
|
|
638
|
-
var menuItemEditDialogComponent = {
|
|
639
|
-
header: "Редактировать элемент меню",
|
|
640
|
-
parentLabel: "Родительский узел",
|
|
641
|
-
label: "Имя",
|
|
642
|
-
module: "Модуль",
|
|
643
|
-
selectModule: "Выберите модуль",
|
|
644
|
-
icon: "Иконка",
|
|
645
|
-
cancel: "Отмена",
|
|
646
|
-
save: "Сохранить",
|
|
647
|
-
security: "Доступ на чтение"
|
|
648
|
-
};
|
|
649
|
-
var menuItemCreateDialogComponent = {
|
|
650
|
-
header: "Новый элемент меню",
|
|
651
|
-
parentLabel: "Родительский узел",
|
|
652
|
-
label: "Имя",
|
|
653
|
-
module: "Модуль",
|
|
654
|
-
selectModule: "Выберите модуль",
|
|
655
|
-
searchModule: "Поиск модуля",
|
|
656
|
-
icon: "Иконка",
|
|
657
|
-
cancel: "Отмена",
|
|
658
|
-
save: "Сохранить"
|
|
659
|
-
};
|
|
660
|
-
var unauthorized = {
|
|
661
|
-
welcomeToOip: "Добро пожаловать в OIP!",
|
|
662
|
-
signInToContinue: "Войдите чтобы продолжить",
|
|
663
|
-
signIn: "Войти"
|
|
664
|
-
};
|
|
665
|
-
var menuItemComponent = {
|
|
666
|
-
"new": "Добавить",
|
|
667
|
-
edit: "Редактировать",
|
|
668
|
-
"delete": "Удалить",
|
|
669
|
-
deleteItemConfirmHeader: "Удаление",
|
|
670
|
-
deleteItemConfirmMessage: "Вы уверены что хотите удалить элемент?",
|
|
671
|
-
deleteItemSuccessMessage: "Успешно удалено",
|
|
672
|
-
deleteItemConfirmRejectButtonPropsLabel: "Отмена",
|
|
673
|
-
deleteItemConfirmAcceptButtonPropsLabel: "Удалить",
|
|
674
|
-
moveUp: "Вверх",
|
|
675
|
-
moveDown: "Вниз"
|
|
676
|
-
};
|
|
677
|
-
var topbar = {
|
|
678
|
-
logout: "Выход",
|
|
679
|
-
logoutConfirmHeader: "Выход",
|
|
680
|
-
logoutConfirmMessage: "Вы уверены, что хотите выйти?",
|
|
681
|
-
logoutConfirmCancel: "Отмена",
|
|
682
|
-
logoutConfirmAccept: "Выйти",
|
|
683
|
-
profile: "Профиль",
|
|
684
|
-
applications: "Приложения"
|
|
685
|
-
};
|
|
686
561
|
var primeng = {
|
|
687
562
|
accept: "Да",
|
|
688
563
|
addRule: "Добавить правило",
|
|
@@ -875,15 +750,8 @@ var primeng = {
|
|
|
875
750
|
zoomOut: "Уменьшить"
|
|
876
751
|
}
|
|
877
752
|
};
|
|
878
|
-
var ru$
|
|
753
|
+
var ru$h = {
|
|
879
754
|
msgService: msgService,
|
|
880
|
-
configComponent: configComponent,
|
|
881
|
-
menuComponent: menuComponent,
|
|
882
|
-
menuItemEditDialogComponent: menuItemEditDialogComponent,
|
|
883
|
-
menuItemCreateDialogComponent: menuItemCreateDialogComponent,
|
|
884
|
-
unauthorized: unauthorized,
|
|
885
|
-
menuItemComponent: menuItemComponent,
|
|
886
|
-
topbar: topbar,
|
|
887
755
|
primeng: primeng
|
|
888
756
|
};
|
|
889
757
|
|
|
@@ -891,7 +759,7 @@ var ru$c = {
|
|
|
891
759
|
* Global dictionaries shared by all components. They are bundled with the library,
|
|
892
760
|
* so the application never requests `assets/i18n/{lang}.json`.
|
|
893
761
|
*/
|
|
894
|
-
const globalTranslations = { en: en$
|
|
762
|
+
const globalTranslations = { en: en$h, ru: ru$h };
|
|
895
763
|
/**
|
|
896
764
|
* Service for managing translation loading in the application
|
|
897
765
|
*/
|
|
@@ -987,8 +855,9 @@ class L10nService {
|
|
|
987
855
|
return this.translateService.get(key);
|
|
988
856
|
}
|
|
989
857
|
/**
|
|
990
|
-
* Internal method to
|
|
991
|
-
*
|
|
858
|
+
* Internal method to merge a namespace's statically-registered translations
|
|
859
|
+
* (see <c>registerTranslations</c>) into the active language dictionary.
|
|
860
|
+
* @param component - Translation namespace
|
|
992
861
|
* @param lang - Language code to load translations for
|
|
993
862
|
*/
|
|
994
863
|
loadTranslations(component, lang) {
|
|
@@ -996,33 +865,17 @@ class L10nService {
|
|
|
996
865
|
if (this.loadedTranslations.has(key)) {
|
|
997
866
|
return of(null);
|
|
998
867
|
}
|
|
999
|
-
// Translations bundled with the component - no HTTP request needed.
|
|
1000
868
|
const staticTranslations = L10nService.staticTranslations.get(component);
|
|
1001
|
-
if (staticTranslations) {
|
|
1002
|
-
|
|
1003
|
-
if (translations) {
|
|
1004
|
-
this.mergeTranslation(lang, translations);
|
|
1005
|
-
}
|
|
869
|
+
if (!staticTranslations) {
|
|
870
|
+
console.error(`No translations registered for namespace "${component}".`);
|
|
1006
871
|
return of(null);
|
|
1007
872
|
}
|
|
1008
|
-
const
|
|
1009
|
-
if (
|
|
1010
|
-
return loading;
|
|
1011
|
-
}
|
|
1012
|
-
const request = this.httpClient.get(`./assets/i18n/${component}.${lang}.json`).pipe(tap((translations) => {
|
|
873
|
+
const translations = staticTranslations[lang];
|
|
874
|
+
if (translations) {
|
|
1013
875
|
this.mergeTranslation(lang, translations);
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
this.loadingTranslations.set(key, request);
|
|
1018
|
-
request.subscribe({
|
|
1019
|
-
error: (e) => {
|
|
1020
|
-
this.loadingTranslations.delete(key);
|
|
1021
|
-
console.error(`No translations found for ${component}.${lang}.json`);
|
|
1022
|
-
console.error(e);
|
|
1023
|
-
}
|
|
1024
|
-
});
|
|
1025
|
-
return request;
|
|
876
|
+
}
|
|
877
|
+
this.loadedTranslations.add(key);
|
|
878
|
+
return of(null);
|
|
1026
879
|
}
|
|
1027
880
|
/**
|
|
1028
881
|
* Merges a translation dictionary into the dictionary of the given language
|
|
@@ -1452,13 +1305,86 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1452
1305
|
args: [{ providedIn: "root" }]
|
|
1453
1306
|
}] });
|
|
1454
1307
|
|
|
1308
|
+
/**
|
|
1309
|
+
* Registers a component's co-located translations and merges them into the
|
|
1310
|
+
* active language. The namespace is derived from the JSON's own root key,
|
|
1311
|
+
* so callers never repeat it as a string literal.
|
|
1312
|
+
*
|
|
1313
|
+
* Must be called from an injection context - as a field initializer, or as
|
|
1314
|
+
* the first statement in a constructor - the same requirement as `inject()`
|
|
1315
|
+
* itself, which it uses internally.
|
|
1316
|
+
*
|
|
1317
|
+
* ```ts
|
|
1318
|
+
* import en from './l10n/menu.en.json';
|
|
1319
|
+
* import ru from './l10n/menu.ru.json';
|
|
1320
|
+
*
|
|
1321
|
+
* @Component({ ... })
|
|
1322
|
+
* export class MenuComponent {
|
|
1323
|
+
* private readonly translations = provideTranslations({ en, ru });
|
|
1324
|
+
* }
|
|
1325
|
+
* ```
|
|
1326
|
+
*/
|
|
1327
|
+
function provideTranslations(byLang) {
|
|
1328
|
+
if (isDevMode()) {
|
|
1329
|
+
warnOnKeyMismatch(byLang);
|
|
1330
|
+
}
|
|
1331
|
+
L10nService.registerTranslations(byLang);
|
|
1332
|
+
const namespace = namespaceOf(byLang);
|
|
1333
|
+
return namespace ? inject(L10nService).get(namespace) : of({});
|
|
1334
|
+
}
|
|
1335
|
+
function namespaceOf(byLang) {
|
|
1336
|
+
const firstLangDict = Object.values(byLang)[0];
|
|
1337
|
+
return firstLangDict ? Object.keys(firstLangDict)[0] : undefined;
|
|
1338
|
+
}
|
|
1339
|
+
/**
|
|
1340
|
+
* Dev-only sanity check: warns when the language dictionaries in `byLang`
|
|
1341
|
+
* don't all declare the same set of keys - a common source of a translated
|
|
1342
|
+
* string silently falling back to its raw key in one language only.
|
|
1343
|
+
*/
|
|
1344
|
+
function warnOnKeyMismatch(byLang) {
|
|
1345
|
+
const langs = Object.keys(byLang);
|
|
1346
|
+
if (langs.length < 2) {
|
|
1347
|
+
return;
|
|
1348
|
+
}
|
|
1349
|
+
const keysByLang = new Map(langs.map((lang) => [lang, collectKeyPaths(byLang[lang])]));
|
|
1350
|
+
const [baseLang, ...otherLangs] = langs;
|
|
1351
|
+
const baseKeys = keysByLang.get(baseLang);
|
|
1352
|
+
const namespace = namespaceOf(byLang) ?? '(unknown namespace)';
|
|
1353
|
+
for (const lang of otherLangs) {
|
|
1354
|
+
const langKeys = keysByLang.get(lang);
|
|
1355
|
+
const missing = [...baseKeys].filter((key) => !langKeys.has(key));
|
|
1356
|
+
const extra = [...langKeys].filter((key) => !baseKeys.has(key));
|
|
1357
|
+
if (missing.length > 0) {
|
|
1358
|
+
console.warn(`[provideTranslations] "${namespace}": "${lang}" is missing keys present in "${baseLang}": ${missing.join(', ')}`);
|
|
1359
|
+
}
|
|
1360
|
+
if (extra.length > 0) {
|
|
1361
|
+
console.warn(`[provideTranslations] "${namespace}": "${lang}" has extra keys not present in "${baseLang}": ${extra.join(', ')}`);
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
/**
|
|
1366
|
+
* Recursively collects dot-joined paths to every leaf value in an object,
|
|
1367
|
+
* e.g. { a: { b: 'x' } } -> ['a.b'].
|
|
1368
|
+
*/
|
|
1369
|
+
function collectKeyPaths(value, prefix = '', paths = new Set()) {
|
|
1370
|
+
if (value !== null && typeof value === 'object' && !Array.isArray(value)) {
|
|
1371
|
+
for (const [key, child] of Object.entries(value)) {
|
|
1372
|
+
collectKeyPaths(child, prefix ? `${prefix}.${key}` : key, paths);
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
else {
|
|
1376
|
+
paths.add(prefix);
|
|
1377
|
+
}
|
|
1378
|
+
return paths;
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1455
1381
|
var baseComponent$1 = {
|
|
1456
1382
|
content: "Content",
|
|
1457
1383
|
settings: "Settings",
|
|
1458
1384
|
security: "Security",
|
|
1459
1385
|
success: "Saved successfully"
|
|
1460
1386
|
};
|
|
1461
|
-
var en$
|
|
1387
|
+
var en$g = {
|
|
1462
1388
|
baseComponent: baseComponent$1
|
|
1463
1389
|
};
|
|
1464
1390
|
|
|
@@ -1468,11 +1394,10 @@ var baseComponent = {
|
|
|
1468
1394
|
security: "Безопасность",
|
|
1469
1395
|
success: "Сохранено"
|
|
1470
1396
|
};
|
|
1471
|
-
var ru$
|
|
1397
|
+
var ru$g = {
|
|
1472
1398
|
baseComponent: baseComponent
|
|
1473
1399
|
};
|
|
1474
1400
|
|
|
1475
|
-
L10nService.registerTranslations({ en: en$b, ru: ru$b });
|
|
1476
1401
|
class BaseModuleComponent {
|
|
1477
1402
|
static { this.readRight = 'read'; }
|
|
1478
1403
|
static { this.editRight = 'edit'; }
|
|
@@ -1604,6 +1529,7 @@ class BaseModuleComponent {
|
|
|
1604
1529
|
* @type {Subject<TLocalStoreSettings>}
|
|
1605
1530
|
*/
|
|
1606
1531
|
this.localSettingsUpdate = new Subject();
|
|
1532
|
+
this.baseTranslations = provideTranslations({ en: en$g, ru: ru$g });
|
|
1607
1533
|
this.l10nService = inject(L10nService);
|
|
1608
1534
|
this.canRead = false;
|
|
1609
1535
|
this.canEdit = false;
|
|
@@ -1622,9 +1548,6 @@ class BaseModuleComponent {
|
|
|
1622
1548
|
{ id: 'settings', icon: 'pi-cog', caption: '' },
|
|
1623
1549
|
{ id: 'security', icon: 'pi-lock', caption: '' }
|
|
1624
1550
|
];
|
|
1625
|
-
// Must run before the route subscription below asks L10nService for the translations.
|
|
1626
|
-
L10nService.registerTranslations(this.constructor.translations);
|
|
1627
|
-
this.l10nService.get('baseComponent');
|
|
1628
1551
|
effect(() => {
|
|
1629
1552
|
const config = this.localSettings();
|
|
1630
1553
|
if (config) {
|
|
@@ -1633,9 +1556,6 @@ class BaseModuleComponent {
|
|
|
1633
1556
|
});
|
|
1634
1557
|
this.subscriptions.push(this.route.url.subscribe((url) => {
|
|
1635
1558
|
this.controller = url[0].path;
|
|
1636
|
-
// The route path is the translation namespace, register it before asking for translations.
|
|
1637
|
-
L10nService.registerTranslations(this.constructor.translations, this.controller);
|
|
1638
|
-
this.l10n$ = this.l10nService.get(this.controller);
|
|
1639
1559
|
}));
|
|
1640
1560
|
this.subscriptions.push(this.route.paramMap.subscribe((params) => {
|
|
1641
1561
|
const routeId = params.get('id');
|
|
@@ -1909,7 +1829,7 @@ var securityComponent$1 = {
|
|
|
1909
1829
|
savedSecurity: "Security settings saved",
|
|
1910
1830
|
selectRoles: "Select roles"
|
|
1911
1831
|
};
|
|
1912
|
-
var en$
|
|
1832
|
+
var en$f = {
|
|
1913
1833
|
securityComponent: securityComponent$1
|
|
1914
1834
|
};
|
|
1915
1835
|
|
|
@@ -1919,13 +1839,13 @@ var securityComponent = {
|
|
|
1919
1839
|
savedSecurity: "Настройки сохранены",
|
|
1920
1840
|
selectRoles: "Выберите роли"
|
|
1921
1841
|
};
|
|
1922
|
-
var ru$
|
|
1842
|
+
var ru$f = {
|
|
1923
1843
|
securityComponent: securityComponent
|
|
1924
1844
|
};
|
|
1925
1845
|
|
|
1926
|
-
L10nService.registerTranslations({ en: en$a, ru: ru$a });
|
|
1927
1846
|
class SecurityComponent {
|
|
1928
|
-
constructor(
|
|
1847
|
+
constructor() {
|
|
1848
|
+
this.translations = provideTranslations({ en: en$f, ru: ru$f });
|
|
1929
1849
|
this.msgService = inject(MsgService);
|
|
1930
1850
|
this.translateService = inject(TranslateService);
|
|
1931
1851
|
this.httpClient = inject(HttpClient);
|
|
@@ -1933,7 +1853,6 @@ class SecurityComponent {
|
|
|
1933
1853
|
this.securityLoadToken = 0;
|
|
1934
1854
|
this.securityData = [];
|
|
1935
1855
|
this.roles = [];
|
|
1936
|
-
l10nService.get('securityComponent');
|
|
1937
1856
|
}
|
|
1938
1857
|
ngOnDestroy() {
|
|
1939
1858
|
// on destroy
|
|
@@ -2007,7 +1926,7 @@ class SecurityComponent {
|
|
|
2007
1926
|
type: ContentType.Json
|
|
2008
1927
|
});
|
|
2009
1928
|
}
|
|
2010
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SecurityComponent, deps: [
|
|
1929
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SecurityComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2011
1930
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: SecurityComponent, isStandalone: true, selector: "security", inputs: { id: "id", controller: "controller" }, usesOnChanges: true, ngImport: i0, template: `
|
|
2012
1931
|
<div class="flex flex-col md:flex-row gap-8">
|
|
2013
1932
|
<div class="md:w-1/2">
|
|
@@ -2040,7 +1959,7 @@ class SecurityComponent {
|
|
|
2040
1959
|
</div>
|
|
2041
1960
|
</div>
|
|
2042
1961
|
</div>
|
|
2043
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type:
|
|
1962
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i1.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "styleClass", "panelStyle", "panelStyleClass", "inputId", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "dataKey", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "placeholder", "options", "filterValue", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus", "highlightOnSelect", "size", "variant", "fluid", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
2044
1963
|
}
|
|
2045
1964
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SecurityComponent, decorators: [{
|
|
2046
1965
|
type: Component,
|
|
@@ -2082,7 +2001,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2082
2001
|
imports: [MultiSelectModule, TooltipModule, FormsModule, ButtonModule, TranslatePipe],
|
|
2083
2002
|
standalone: true
|
|
2084
2003
|
}]
|
|
2085
|
-
}],
|
|
2004
|
+
}], propDecorators: { id: [{
|
|
2086
2005
|
type: Input
|
|
2087
2006
|
}], controller: [{
|
|
2088
2007
|
type: Input
|
|
@@ -2095,7 +2014,7 @@ const APP_THEME_PRESETS_MERGE_MODE = new InjectionToken('APP_THEME_PRESETS_MERGE
|
|
|
2095
2014
|
factory: () => 'mergeWithDefaults'
|
|
2096
2015
|
});
|
|
2097
2016
|
|
|
2098
|
-
var en$
|
|
2017
|
+
var en$e = {
|
|
2099
2018
|
"app-configurator": {
|
|
2100
2019
|
primary: "Primary",
|
|
2101
2020
|
surface: "Surface",
|
|
@@ -2106,7 +2025,7 @@ var en$9 = {
|
|
|
2106
2025
|
}
|
|
2107
2026
|
};
|
|
2108
2027
|
|
|
2109
|
-
var ru$
|
|
2028
|
+
var ru$e = {
|
|
2110
2029
|
"app-configurator": {
|
|
2111
2030
|
primary: "Основной",
|
|
2112
2031
|
surface: "Фон",
|
|
@@ -2117,7 +2036,6 @@ var ru$9 = {
|
|
|
2117
2036
|
}
|
|
2118
2037
|
};
|
|
2119
2038
|
|
|
2120
|
-
L10nService.registerTranslations({ en: en$9, ru: ru$9 });
|
|
2121
2039
|
const DEFAULT_THEME_PRESETS = [
|
|
2122
2040
|
{ id: 'Aura', label: 'Aura', preset: Aura },
|
|
2123
2041
|
{ id: 'Lara', label: 'Lara', preset: Lara },
|
|
@@ -2142,7 +2060,8 @@ const PRIMARY_COLORS = [
|
|
|
2142
2060
|
'rose'
|
|
2143
2061
|
];
|
|
2144
2062
|
class AppConfiguratorComponent {
|
|
2145
|
-
constructor(
|
|
2063
|
+
constructor() {
|
|
2064
|
+
this.translations = provideTranslations({ en: en$e, ru: ru$e });
|
|
2146
2065
|
this.router = inject(Router);
|
|
2147
2066
|
this.config = inject(PrimeNG);
|
|
2148
2067
|
this.layoutService = inject(LayoutService);
|
|
@@ -2312,7 +2231,6 @@ class AppConfiguratorComponent {
|
|
|
2312
2231
|
const activeThemePreset = this.getThemeById(this.layoutService.layoutConfig().preset);
|
|
2313
2232
|
return this.getSurfaceColorOptions(activeThemePreset);
|
|
2314
2233
|
}, ...(ngDevMode ? [{ debugName: "surfaceColors" }] : []));
|
|
2315
|
-
l10nService.get('app-configurator');
|
|
2316
2234
|
}
|
|
2317
2235
|
ngOnInit() {
|
|
2318
2236
|
if (isPlatformBrowser(this.platformId)) {
|
|
@@ -2549,7 +2467,7 @@ class AppConfiguratorComponent {
|
|
|
2549
2467
|
menuMode: event
|
|
2550
2468
|
}));
|
|
2551
2469
|
}
|
|
2552
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AppConfiguratorComponent, deps: [
|
|
2470
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AppConfiguratorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2553
2471
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AppConfiguratorComponent, isStandalone: true, selector: "app-configurator", host: { classAttribute: "hidden absolute top-[3.25rem] right-0 w-72 p-4 bg-surface-0 dark:bg-surface-900 border border-surface rounded-border origin-top shadow-[0px_3px_5px_rgba(0,0,0,0.02),0px_0px_2px_rgba(0,0,0,0.05),0px_1px_4px_rgba(0,0,0,0.08)]" }, ngImport: i0, template: `
|
|
2554
2472
|
<div class="flex flex-col gap-4">
|
|
2555
2473
|
<div>
|
|
@@ -2623,7 +2541,7 @@ class AppConfiguratorComponent {
|
|
|
2623
2541
|
</div>
|
|
2624
2542
|
}
|
|
2625
2543
|
</div>
|
|
2626
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
2544
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SelectButtonModule }, { kind: "component", type: i3.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "styleClass", "ariaLabelledBy", "dataKey", "autofocus", "size", "fluid"], outputs: ["onOptionClick", "onChange"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
2627
2545
|
}
|
|
2628
2546
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AppConfiguratorComponent, decorators: [{
|
|
2629
2547
|
type: Component,
|
|
@@ -2709,7 +2627,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2709
2627
|
class: 'hidden absolute top-[3.25rem] right-0 w-72 p-4 bg-surface-0 dark:bg-surface-900 border border-surface rounded-border origin-top shadow-[0px_3px_5px_rgba(0,0,0,0.02),0px_0px_2px_rgba(0,0,0,0.05),0px_1px_4px_rgba(0,0,0,0.08)]'
|
|
2710
2628
|
}
|
|
2711
2629
|
}]
|
|
2712
|
-
}]
|
|
2630
|
+
}] });
|
|
2713
2631
|
|
|
2714
2632
|
/* eslint-disable */
|
|
2715
2633
|
/* tslint:disable */
|
|
@@ -2961,6 +2879,49 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2961
2879
|
args: [{ providedIn: 'root' }]
|
|
2962
2880
|
}] });
|
|
2963
2881
|
|
|
2882
|
+
const APP_INFO_TOKEN = new InjectionToken('APP_INFO_TOKEN');
|
|
2883
|
+
/**
|
|
2884
|
+
* Provides application information instead of the `app-info.*` translation keys.
|
|
2885
|
+
*/
|
|
2886
|
+
function provideAppInfo(appInfo) {
|
|
2887
|
+
return {
|
|
2888
|
+
provide: APP_INFO_TOKEN,
|
|
2889
|
+
useValue: appInfo
|
|
2890
|
+
};
|
|
2891
|
+
}
|
|
2892
|
+
class AppInfoService {
|
|
2893
|
+
constructor() {
|
|
2894
|
+
this.appInfo = inject(APP_INFO_TOKEN, { optional: true });
|
|
2895
|
+
}
|
|
2896
|
+
/**
|
|
2897
|
+
* Returns the provided version or null when it should be taken from translations.
|
|
2898
|
+
*/
|
|
2899
|
+
getVersion() {
|
|
2900
|
+
return this.resolve(this.appInfo?.version);
|
|
2901
|
+
}
|
|
2902
|
+
/**
|
|
2903
|
+
* Returns the provided application name or null when it should be taken from translations.
|
|
2904
|
+
*/
|
|
2905
|
+
getFooter() {
|
|
2906
|
+
return this.resolve(this.appInfo?.footer);
|
|
2907
|
+
}
|
|
2908
|
+
/**
|
|
2909
|
+
* Returns the provided application name or null when it should be taken from translations.
|
|
2910
|
+
*/
|
|
2911
|
+
getTitle() {
|
|
2912
|
+
return this.resolve(this.appInfo?.title);
|
|
2913
|
+
}
|
|
2914
|
+
resolve(value) {
|
|
2915
|
+
return (typeof value === 'function' ? value() : value) || null;
|
|
2916
|
+
}
|
|
2917
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AppInfoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2918
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AppInfoService, providedIn: 'root' }); }
|
|
2919
|
+
}
|
|
2920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AppInfoService, decorators: [{
|
|
2921
|
+
type: Injectable,
|
|
2922
|
+
args: [{ providedIn: 'root' }]
|
|
2923
|
+
}] });
|
|
2924
|
+
|
|
2964
2925
|
/* eslint-disable */
|
|
2965
2926
|
/* tslint:disable */
|
|
2966
2927
|
// @ts-nocheck
|
|
@@ -3067,7 +3028,7 @@ var userNotifications$1 = {
|
|
|
3067
3028
|
markAsRead: "Read",
|
|
3068
3029
|
markedAsRead: "Notification marked as read"
|
|
3069
3030
|
};
|
|
3070
|
-
var en$
|
|
3031
|
+
var en$d = {
|
|
3071
3032
|
userNotifications: userNotifications$1
|
|
3072
3033
|
};
|
|
3073
3034
|
|
|
@@ -3078,13 +3039,13 @@ var userNotifications = {
|
|
|
3078
3039
|
markAsRead: "Прочитано",
|
|
3079
3040
|
markedAsRead: "Оповещение отмечено прочитанным"
|
|
3080
3041
|
};
|
|
3081
|
-
var ru$
|
|
3042
|
+
var ru$d = {
|
|
3082
3043
|
userNotifications: userNotifications
|
|
3083
3044
|
};
|
|
3084
3045
|
|
|
3085
|
-
L10nService.registerTranslations({ en: en$8, ru: ru$8 });
|
|
3086
3046
|
class UserNotificationsComponent {
|
|
3087
|
-
constructor(
|
|
3047
|
+
constructor() {
|
|
3048
|
+
this.translations = provideTranslations({ en: en$d, ru: ru$d });
|
|
3088
3049
|
this.notifications = [];
|
|
3089
3050
|
this.totalCount = 0;
|
|
3090
3051
|
this.skip = 0;
|
|
@@ -3099,7 +3060,6 @@ class UserNotificationsComponent {
|
|
|
3099
3060
|
const count = this.unreadNotificationCount();
|
|
3100
3061
|
return count > 99 ? '99+' : count.toString();
|
|
3101
3062
|
}, ...(ngDevMode ? [{ debugName: "unreadNotificationBadge" }] : []));
|
|
3102
|
-
l10nService.get('userNotifications');
|
|
3103
3063
|
}
|
|
3104
3064
|
async toggle(event) {
|
|
3105
3065
|
this.popover?.toggle(event);
|
|
@@ -3162,7 +3122,7 @@ class UserNotificationsComponent {
|
|
|
3162
3122
|
return 'secondary';
|
|
3163
3123
|
}
|
|
3164
3124
|
}
|
|
3165
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: UserNotificationsComponent, deps: [
|
|
3125
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: UserNotificationsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3166
3126
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: UserNotificationsComponent, isStandalone: true, selector: "app-user-notifications", viewQueries: [{ propertyName: "popover", first: true, predicate: ["popover"], descendants: true }], ngImport: i0, template: `
|
|
3167
3127
|
<button
|
|
3168
3128
|
class="layout-topbar-action relative"
|
|
@@ -3250,7 +3210,7 @@ class UserNotificationsComponent {
|
|
|
3250
3210
|
(onPageChange)="onPageChange($event)"></p-paginator>
|
|
3251
3211
|
}
|
|
3252
3212
|
</p-popover>
|
|
3253
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: BadgeModule }, { kind: "component", type:
|
|
3213
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: BadgeModule }, { kind: "component", type: i1$4.Badge, selector: "p-badge", inputs: ["styleClass", "badgeSize", "size", "severity", "value", "badgeDisabled"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: PaginatorModule }, { kind: "component", type: i3$1.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first", "appendTo"], outputs: ["onPageChange"] }, { kind: "component", type: Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: ProgressSpinnerModule }, { kind: "component", type: i4.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: Tag, selector: "p-tag", inputs: ["styleClass", "severity", "value", "icon", "rounded"] }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "pipe", type: i1$3.DatePipe, name: "date" }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
3254
3214
|
}
|
|
3255
3215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: UserNotificationsComponent, decorators: [{
|
|
3256
3216
|
type: Component,
|
|
@@ -3357,7 +3317,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
3357
3317
|
</p-popover>
|
|
3358
3318
|
`
|
|
3359
3319
|
}]
|
|
3360
|
-
}],
|
|
3320
|
+
}], propDecorators: { popover: [{
|
|
3361
3321
|
type: ViewChild,
|
|
3362
3322
|
args: ['popover']
|
|
3363
3323
|
}] } });
|
|
@@ -3475,7 +3435,7 @@ class AppTopbarApplicationSwitcherComponent {
|
|
|
3475
3435
|
</p-button>
|
|
3476
3436
|
<p-menu #applicationMenu [model]="applicationMenuItems" [popup]="true" />
|
|
3477
3437
|
}
|
|
3478
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
3438
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i3$2.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex", "appendTo"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
3479
3439
|
}
|
|
3480
3440
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AppTopbarApplicationSwitcherComponent, decorators: [{
|
|
3481
3441
|
type: Component,
|
|
@@ -3505,19 +3465,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
3505
3465
|
}]
|
|
3506
3466
|
}] });
|
|
3507
3467
|
|
|
3468
|
+
var topbar$1 = {
|
|
3469
|
+
logout: "Logout",
|
|
3470
|
+
logoutConfirmHeader: "Logout",
|
|
3471
|
+
logoutConfirmMessage: "Are you sure you want to logout?",
|
|
3472
|
+
logoutConfirmCancel: "Cancel",
|
|
3473
|
+
logoutConfirmAccept: "Logout",
|
|
3474
|
+
profile: "Profile",
|
|
3475
|
+
applications: "Applications"
|
|
3476
|
+
};
|
|
3477
|
+
var en$c = {
|
|
3478
|
+
topbar: topbar$1
|
|
3479
|
+
};
|
|
3480
|
+
|
|
3481
|
+
var topbar = {
|
|
3482
|
+
logout: "Выход",
|
|
3483
|
+
logoutConfirmHeader: "Выход",
|
|
3484
|
+
logoutConfirmMessage: "Вы уверены, что хотите выйти?",
|
|
3485
|
+
logoutConfirmCancel: "Отмена",
|
|
3486
|
+
logoutConfirmAccept: "Выйти",
|
|
3487
|
+
profile: "Профиль",
|
|
3488
|
+
applications: "Приложения"
|
|
3489
|
+
};
|
|
3490
|
+
var ru$c = {
|
|
3491
|
+
topbar: topbar
|
|
3492
|
+
};
|
|
3493
|
+
|
|
3508
3494
|
class AppTopbar {
|
|
3509
3495
|
constructor() {
|
|
3496
|
+
this.translations = provideTranslations({ en: en$c, ru: ru$c });
|
|
3510
3497
|
this.securityService = inject(SecurityService);
|
|
3511
3498
|
this.topBarService = inject(TopBarService);
|
|
3512
3499
|
this.userService = inject(UserService);
|
|
3513
3500
|
this.layoutService = inject(LayoutService);
|
|
3514
3501
|
this.logoService = inject(LogoService);
|
|
3502
|
+
this.appInfoService = inject(AppInfoService);
|
|
3515
3503
|
this.confirmationService = inject(ConfirmationService);
|
|
3516
3504
|
this.translateService = inject(TranslateService);
|
|
3517
3505
|
}
|
|
3518
3506
|
onActiveTabChange(value) {
|
|
3519
|
-
|
|
3520
|
-
this.topBarService.activeId = nextActiveId;
|
|
3507
|
+
this.topBarService.activeId = value == null ? undefined : String(value);
|
|
3521
3508
|
}
|
|
3522
3509
|
toggleDarkMode() {
|
|
3523
3510
|
this.layoutService.layoutConfig.update((state) => ({
|
|
@@ -3561,7 +3548,7 @@ class AppTopbar {
|
|
|
3561
3548
|
<a class="layout-topbar-logo" id="oip-app-topbar-logo-link" routerLink="">
|
|
3562
3549
|
<ng-container
|
|
3563
3550
|
*ngComponentOutlet="logoService.getLogoComponent(); inputs: { width: 36, height: 36 }"></ng-container>
|
|
3564
|
-
<span>{{ 'app-info.title' | translate }}</span>
|
|
3551
|
+
<span>{{ appInfoService.getTitle() ?? ('app-info.title' | translate) }}</span>
|
|
3565
3552
|
</a>
|
|
3566
3553
|
</div>
|
|
3567
3554
|
|
|
@@ -3653,7 +3640,7 @@ class AppTopbar {
|
|
|
3653
3640
|
</div>
|
|
3654
3641
|
</div>
|
|
3655
3642
|
</div>
|
|
3656
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$
|
|
3643
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$5.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: StyleClassModule }, { kind: "directive", type: i3$3.StyleClass, selector: "[pStyleClass]", inputs: ["pStyleClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass", "hideOnEscape", "hideOnResize", "resizeSelector"] }, { kind: "component", type: AppConfiguratorComponent, selector: "app-configurator" }, { kind: "component", type: Tabs, selector: "p-tabs", inputs: ["value", "scrollable", "lazy", "selectOnFocus", "showNavigators", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: TabList, selector: "p-tablist" }, { kind: "component", type: Tab, selector: "p-tab", inputs: ["value", "disabled"], outputs: ["valueChange"] }, { kind: "ngmodule", type: AvatarModule }, { kind: "component", type: i2$2.Avatar, selector: "p-avatar", inputs: ["label", "icon", "image", "size", "shape", "styleClass", "ariaLabel", "ariaLabelledBy"], outputs: ["onImageError"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: ConfirmDialog, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "modal", "visible", "position", "draggable"], outputs: ["onHide"] }, { kind: "component", type: UserNotificationsComponent, selector: "app-user-notifications" }, { kind: "component", type: AppTopbarApplicationSwitcherComponent, selector: "app-topbar-application-switcher" }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
3657
3644
|
}
|
|
3658
3645
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AppTopbar, decorators: [{
|
|
3659
3646
|
type: Component,
|
|
@@ -3685,7 +3672,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
3685
3672
|
<a class="layout-topbar-logo" id="oip-app-topbar-logo-link" routerLink="">
|
|
3686
3673
|
<ng-container
|
|
3687
3674
|
*ngComponentOutlet="logoService.getLogoComponent(); inputs: { width: 36, height: 36 }"></ng-container>
|
|
3688
|
-
<span>{{ 'app-info.title' | translate }}</span>
|
|
3675
|
+
<span>{{ appInfoService.getTitle() ?? ('app-info.title' | translate) }}</span>
|
|
3689
3676
|
</a>
|
|
3690
3677
|
</div>
|
|
3691
3678
|
|
|
@@ -3785,36 +3772,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
3785
3772
|
class FooterComponent {
|
|
3786
3773
|
constructor() {
|
|
3787
3774
|
this.logoService = inject(LogoService);
|
|
3775
|
+
this.appInfoService = inject(AppInfoService);
|
|
3788
3776
|
}
|
|
3789
3777
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: FooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3790
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: FooterComponent, isStandalone: true, selector: "app-footer", ngImport: i0, template: `
|
|
3791
|
-
<div class="layout-footer">
|
|
3792
|
-
<div class="flex justify-center flex-1">
|
|
3793
|
-
<div class="mr-2 -my-0.5">
|
|
3794
|
-
<ng-container
|
|
3795
|
-
*ngComponentOutlet="logoService.getLogoComponent(); inputs: { width: 18, height: 18 }"></ng-container>
|
|
3796
|
-
</div>
|
|
3797
|
-
<span class="font-medium">{{ 'app-info.footer' | translate }}</span>
|
|
3798
|
-
</div>
|
|
3799
|
-
<p class="mr-auto">{{ 'app-info.version' | translate }}</p>
|
|
3800
|
-
</div>
|
|
3778
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: FooterComponent, isStandalone: true, selector: "app-footer", ngImport: i0, template: `
|
|
3779
|
+
<div class="layout-footer">
|
|
3780
|
+
<div class="flex justify-center flex-1">
|
|
3781
|
+
<div class="mr-2 -my-0.5">
|
|
3782
|
+
<ng-container
|
|
3783
|
+
*ngComponentOutlet="logoService.getLogoComponent(); inputs: { width: 18, height: 18 }"></ng-container>
|
|
3784
|
+
</div>
|
|
3785
|
+
<span class="font-medium">{{ appInfoService.getFooter() ?? ('app-info.footer' | translate) }}</span>
|
|
3786
|
+
</div>
|
|
3787
|
+
<p class="mr-auto">{{ appInfoService.getVersion() ?? ('app-info.version' | translate) }}</p>
|
|
3788
|
+
</div>
|
|
3801
3789
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
3802
3790
|
}
|
|
3803
3791
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: FooterComponent, decorators: [{
|
|
3804
3792
|
type: Component,
|
|
3805
3793
|
args: [{
|
|
3806
3794
|
selector: 'app-footer',
|
|
3807
|
-
template: `
|
|
3808
|
-
<div class="layout-footer">
|
|
3809
|
-
<div class="flex justify-center flex-1">
|
|
3810
|
-
<div class="mr-2 -my-0.5">
|
|
3811
|
-
<ng-container
|
|
3812
|
-
*ngComponentOutlet="logoService.getLogoComponent(); inputs: { width: 18, height: 18 }"></ng-container>
|
|
3813
|
-
</div>
|
|
3814
|
-
<span class="font-medium">{{ 'app-info.footer' | translate }}</span>
|
|
3815
|
-
</div>
|
|
3816
|
-
<p class="mr-auto">{{ 'app-info.version' | translate }}</p>
|
|
3817
|
-
</div>
|
|
3795
|
+
template: `
|
|
3796
|
+
<div class="layout-footer">
|
|
3797
|
+
<div class="flex justify-center flex-1">
|
|
3798
|
+
<div class="mr-2 -my-0.5">
|
|
3799
|
+
<ng-container
|
|
3800
|
+
*ngComponentOutlet="logoService.getLogoComponent(); inputs: { width: 18, height: 18 }"></ng-container>
|
|
3801
|
+
</div>
|
|
3802
|
+
<span class="font-medium">{{ appInfoService.getFooter() ?? ('app-info.footer' | translate) }}</span>
|
|
3803
|
+
</div>
|
|
3804
|
+
<p class="mr-auto">{{ appInfoService.getVersion() ?? ('app-info.version' | translate) }}</p>
|
|
3805
|
+
</div>
|
|
3818
3806
|
`,
|
|
3819
3807
|
standalone: true,
|
|
3820
3808
|
imports: [TranslatePipe, NgComponentOutlet]
|
|
@@ -4186,7 +4174,7 @@ class MenuItemComponent {
|
|
|
4186
4174
|
const currentIndex = items.findIndex((item) => item.moduleInstanceId == currentItem.moduleInstanceId);
|
|
4187
4175
|
return this.findNextVisibleIndex(items, currentIndex) !== -1;
|
|
4188
4176
|
}
|
|
4189
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MenuItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$
|
|
4177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MenuItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$5.Router }, { token: MenuService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4190
4178
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: MenuItemComponent, isStandalone: true, selector: "[app-menuitem]", inputs: { item: "item", index: "index", root: "root", parentKey: "parentKey", menuItemCreateDialogComponent: "menuItemCreateDialogComponent", menuItemEditDialogComponent: "menuItemEditDialogComponent", contextMenu: "contextMenu" }, host: { properties: { "class.layout-root-menuitem": "this.root", "class.active-menuitem": "this.activeClass" } }, providers: [ConfirmationService], ngImport: i0, template: `
|
|
4191
4179
|
<ng-container>
|
|
4192
4180
|
<p-confirm-dialog />
|
|
@@ -4260,7 +4248,7 @@ class MenuItemComponent {
|
|
|
4260
4248
|
</ul>
|
|
4261
4249
|
}
|
|
4262
4250
|
</ng-container>
|
|
4263
|
-
`, isInline: true, dependencies: [{ kind: "component", type: MenuItemComponent, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey", "menuItemCreateDialogComponent", "menuItemEditDialogComponent", "contextMenu"] }, { kind: "ngmodule", type: RippleModule }, { kind: "directive", type: i2$
|
|
4251
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MenuItemComponent, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey", "menuItemCreateDialogComponent", "menuItemEditDialogComponent", "contextMenu"] }, { kind: "ngmodule", type: RippleModule }, { kind: "directive", type: i2$3.Ripple, selector: "[pRipple]" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: ContextMenuModule }, { kind: "component", type: ConfirmDialog, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "modal", "visible", "position", "draggable"], outputs: ["onHide"] }] }); }
|
|
4264
4252
|
}
|
|
4265
4253
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MenuItemComponent, decorators: [{
|
|
4266
4254
|
type: Component,
|
|
@@ -4344,7 +4332,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
4344
4332
|
imports: [RippleModule, NgClass, RouterLinkActive, RouterLink, ContextMenuModule, ConfirmDialog],
|
|
4345
4333
|
providers: [ConfirmationService]
|
|
4346
4334
|
}]
|
|
4347
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$
|
|
4335
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$5.Router }, { type: MenuService }], propDecorators: { item: [{
|
|
4348
4336
|
type: Input
|
|
4349
4337
|
}], index: [{
|
|
4350
4338
|
type: Input
|
|
@@ -4517,7 +4505,7 @@ class MenuItemCreateDialogComponent {
|
|
|
4517
4505
|
(click)="save()" />
|
|
4518
4506
|
</div>
|
|
4519
4507
|
</p-dialog>
|
|
4520
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$
|
|
4508
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: i3$4.Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i4$1.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i5.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
4521
4509
|
}
|
|
4522
4510
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MenuItemCreateDialogComponent, decorators: [{
|
|
4523
4511
|
type: Component,
|
|
@@ -4763,7 +4751,7 @@ class MenuItemEditDialogComponent {
|
|
|
4763
4751
|
(click)="save()" />
|
|
4764
4752
|
</div>
|
|
4765
4753
|
</p-dialog>
|
|
4766
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$
|
|
4754
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: i3$4.Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i4$1.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i5.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i1.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "styleClass", "panelStyle", "panelStyleClass", "inputId", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "dataKey", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "placeholder", "options", "filterValue", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus", "highlightOnSelect", "size", "variant", "fluid", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
4767
4755
|
}
|
|
4768
4756
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MenuItemEditDialogComponent, decorators: [{
|
|
4769
4757
|
type: Component,
|
|
@@ -4857,8 +4845,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
4857
4845
|
type: Output
|
|
4858
4846
|
}] } });
|
|
4859
4847
|
|
|
4848
|
+
var menuComponent$1 = {
|
|
4849
|
+
all: "All",
|
|
4850
|
+
"new": "Add"
|
|
4851
|
+
};
|
|
4852
|
+
var menuItemComponent$1 = {
|
|
4853
|
+
"new": "Add",
|
|
4854
|
+
edit: "Edit",
|
|
4855
|
+
"delete": "Delete",
|
|
4856
|
+
deleteItemConfirmHeader: "Delete",
|
|
4857
|
+
deleteItemConfirmMessage: "Are you sure you want to delete the item?",
|
|
4858
|
+
deleteItemSuccessMessage: "Deleted successfully",
|
|
4859
|
+
deleteItemConfirmRejectButtonPropsLabel: "Cancel",
|
|
4860
|
+
deleteItemConfirmAcceptButtonPropsLabel: "Delete",
|
|
4861
|
+
moveUp: "Move up",
|
|
4862
|
+
moveDown: "Move down"
|
|
4863
|
+
};
|
|
4864
|
+
var menuItemEditDialogComponent$1 = {
|
|
4865
|
+
header: "Edit menu item",
|
|
4866
|
+
parentLabel: "Parent item",
|
|
4867
|
+
label: "Label",
|
|
4868
|
+
module: "Module",
|
|
4869
|
+
selectModule: "Select module",
|
|
4870
|
+
icon: "Icon",
|
|
4871
|
+
cancel: "Cancel",
|
|
4872
|
+
save: "Save",
|
|
4873
|
+
security: "Read access"
|
|
4874
|
+
};
|
|
4875
|
+
var menuItemCreateDialogComponent$1 = {
|
|
4876
|
+
header: "New menu item",
|
|
4877
|
+
parentLabel: "Parent item",
|
|
4878
|
+
label: "Label",
|
|
4879
|
+
module: "Module",
|
|
4880
|
+
selectModule: "Select module",
|
|
4881
|
+
searchModule: "Search module",
|
|
4882
|
+
icon: "Icon",
|
|
4883
|
+
cancel: "Cancel",
|
|
4884
|
+
save: "Save"
|
|
4885
|
+
};
|
|
4886
|
+
var en$b = {
|
|
4887
|
+
menuComponent: menuComponent$1,
|
|
4888
|
+
menuItemComponent: menuItemComponent$1,
|
|
4889
|
+
menuItemEditDialogComponent: menuItemEditDialogComponent$1,
|
|
4890
|
+
menuItemCreateDialogComponent: menuItemCreateDialogComponent$1
|
|
4891
|
+
};
|
|
4892
|
+
|
|
4893
|
+
var menuComponent = {
|
|
4894
|
+
all: "Все",
|
|
4895
|
+
"new": "Добавить"
|
|
4896
|
+
};
|
|
4897
|
+
var menuItemComponent = {
|
|
4898
|
+
"new": "Добавить",
|
|
4899
|
+
edit: "Редактировать",
|
|
4900
|
+
"delete": "Удалить",
|
|
4901
|
+
deleteItemConfirmHeader: "Удаление",
|
|
4902
|
+
deleteItemConfirmMessage: "Вы уверены что хотите удалить элемент?",
|
|
4903
|
+
deleteItemSuccessMessage: "Успешно удалено",
|
|
4904
|
+
deleteItemConfirmRejectButtonPropsLabel: "Отмена",
|
|
4905
|
+
deleteItemConfirmAcceptButtonPropsLabel: "Удалить",
|
|
4906
|
+
moveUp: "Вверх",
|
|
4907
|
+
moveDown: "Вниз"
|
|
4908
|
+
};
|
|
4909
|
+
var menuItemEditDialogComponent = {
|
|
4910
|
+
header: "Редактировать элемент меню",
|
|
4911
|
+
parentLabel: "Родительский узел",
|
|
4912
|
+
label: "Имя",
|
|
4913
|
+
module: "Модуль",
|
|
4914
|
+
selectModule: "Выберите модуль",
|
|
4915
|
+
icon: "Иконка",
|
|
4916
|
+
cancel: "Отмена",
|
|
4917
|
+
save: "Сохранить",
|
|
4918
|
+
security: "Доступ на чтение"
|
|
4919
|
+
};
|
|
4920
|
+
var menuItemCreateDialogComponent = {
|
|
4921
|
+
header: "Новый элемент меню",
|
|
4922
|
+
parentLabel: "Родительский узел",
|
|
4923
|
+
label: "Имя",
|
|
4924
|
+
module: "Модуль",
|
|
4925
|
+
selectModule: "Выберите модуль",
|
|
4926
|
+
searchModule: "Поиск модуля",
|
|
4927
|
+
icon: "Иконка",
|
|
4928
|
+
cancel: "Отмена",
|
|
4929
|
+
save: "Сохранить"
|
|
4930
|
+
};
|
|
4931
|
+
var ru$b = {
|
|
4932
|
+
menuComponent: menuComponent,
|
|
4933
|
+
menuItemComponent: menuItemComponent,
|
|
4934
|
+
menuItemEditDialogComponent: menuItemEditDialogComponent,
|
|
4935
|
+
menuItemCreateDialogComponent: menuItemCreateDialogComponent
|
|
4936
|
+
};
|
|
4937
|
+
|
|
4860
4938
|
class MenuComponent {
|
|
4861
4939
|
constructor() {
|
|
4940
|
+
// Registers the whole menu/l10n/menu.*.json bundle, which also covers
|
|
4941
|
+
// menuItemComponent, menuItemEditDialogComponent and menuItemCreateDialogComponent.
|
|
4942
|
+
this.translations = provideTranslations({ en: en$b, ru: ru$b });
|
|
4862
4943
|
this.menuService = inject(MenuService);
|
|
4863
4944
|
this.securityService = inject(SecurityService);
|
|
4864
4945
|
this.translateService = inject(TranslateService);
|
|
@@ -4907,7 +4988,7 @@ class MenuComponent {
|
|
|
4907
4988
|
<p-contextMenu [target]="empty" />
|
|
4908
4989
|
<menu-item-create-dialog />
|
|
4909
4990
|
<menu-item-edit-dialog />
|
|
4910
|
-
}`, isInline: true, dependencies: [{ kind: "component", type: MenuItemComponent, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey", "menuItemCreateDialogComponent", "menuItemEditDialogComponent", "contextMenu"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: ContextMenuModule }, { kind: "component", type: i1$
|
|
4991
|
+
}`, isInline: true, dependencies: [{ kind: "component", type: MenuItemComponent, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey", "menuItemCreateDialogComponent", "menuItemEditDialogComponent", "contextMenu"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: ContextMenuModule }, { kind: "component", type: i1$6.ContextMenu, selector: "p-contextMenu, p-contextmenu, p-context-menu", inputs: ["model", "triggerEvent", "target", "global", "style", "styleClass", "autoZIndex", "baseZIndex", "id", "breakpoint", "ariaLabel", "ariaLabelledBy", "pressDelay", "appendTo"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: DialogModule }, { kind: "ngmodule", type: InputTextModule }, { kind: "component", type: MenuItemCreateDialogComponent, selector: "menu-item-create-dialog", inputs: ["visible"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: MenuItemEditDialogComponent, selector: "menu-item-edit-dialog", inputs: ["visible"], outputs: ["visibleChange"] }] }); }
|
|
4911
4992
|
}
|
|
4912
4993
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MenuComponent, decorators: [{
|
|
4913
4994
|
type: Component,
|
|
@@ -5067,7 +5148,7 @@ class AppLayoutComponent {
|
|
|
5067
5148
|
</div>
|
|
5068
5149
|
<div class="layout-mask animate-fadein"></div>
|
|
5069
5150
|
</div>
|
|
5070
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
5151
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: AppTopbar, selector: "app-topbar" }, { kind: "component", type: SidebarComponent, selector: "app-sidebar" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$5.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: FooterComponent, selector: "app-footer" }] }); }
|
|
5071
5152
|
}
|
|
5072
5153
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AppLayoutComponent, decorators: [{
|
|
5073
5154
|
type: Component,
|
|
@@ -5134,7 +5215,7 @@ class AppFloatingConfiguratorComponent {
|
|
|
5134
5215
|
<app-configurator />
|
|
5135
5216
|
</div>
|
|
5136
5217
|
</div>
|
|
5137
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$
|
|
5218
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: StyleClassModule }, { kind: "directive", type: i3$3.StyleClass, selector: "[pStyleClass]", inputs: ["pStyleClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass", "hideOnEscape", "hideOnResize", "resizeSelector"] }, { kind: "component", type: AppConfiguratorComponent, selector: "app-configurator" }] }); }
|
|
5138
5219
|
}
|
|
5139
5220
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AppFloatingConfiguratorComponent, decorators: [{
|
|
5140
5221
|
type: Component,
|
|
@@ -5175,7 +5256,7 @@ var notfound$1 = {
|
|
|
5175
5256
|
description: "Requested resource is not available.",
|
|
5176
5257
|
button: "Go to home"
|
|
5177
5258
|
};
|
|
5178
|
-
var en$
|
|
5259
|
+
var en$a = {
|
|
5179
5260
|
notfound: notfound$1
|
|
5180
5261
|
};
|
|
5181
5262
|
|
|
@@ -5185,16 +5266,15 @@ var notfound = {
|
|
|
5185
5266
|
description: "Запрашиваемый ресурс недоступен.",
|
|
5186
5267
|
button: "На главную"
|
|
5187
5268
|
};
|
|
5188
|
-
var ru$
|
|
5269
|
+
var ru$a = {
|
|
5189
5270
|
notfound: notfound
|
|
5190
5271
|
};
|
|
5191
5272
|
|
|
5192
|
-
L10nService.registerTranslations({ en: en$7, ru: ru$7 });
|
|
5193
5273
|
class NotfoundComponent {
|
|
5194
|
-
constructor(
|
|
5195
|
-
|
|
5274
|
+
constructor() {
|
|
5275
|
+
this.translations = provideTranslations({ en: en$a, ru: ru$a });
|
|
5196
5276
|
}
|
|
5197
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NotfoundComponent, deps: [
|
|
5277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NotfoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5198
5278
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: NotfoundComponent, isStandalone: true, selector: "app-notfound", ngImport: i0, template: ` <app-floating-configurator />
|
|
5199
5279
|
<div class="flex items-center justify-center min-h-screen overflow-hidden">
|
|
5200
5280
|
<div class="flex flex-col items-center justify-center">
|
|
@@ -5215,7 +5295,7 @@ class NotfoundComponent {
|
|
|
5215
5295
|
</div>
|
|
5216
5296
|
</div>
|
|
5217
5297
|
</div>
|
|
5218
|
-
</div>`, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: LogoComponent, selector: "logo", inputs: ["width", "height"] }, { kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: AppFloatingConfiguratorComponent, selector: "app-floating-configurator" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type:
|
|
5298
|
+
</div>`, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: LogoComponent, selector: "logo", inputs: ["width", "height"] }, { kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: AppFloatingConfiguratorComponent, selector: "app-floating-configurator" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1$7.TranslatePipe, name: "translate" }] }); }
|
|
5219
5299
|
}
|
|
5220
5300
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NotfoundComponent, decorators: [{
|
|
5221
5301
|
type: Component,
|
|
@@ -5245,10 +5325,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5245
5325
|
imports: [RouterLink, LogoComponent, Button, AppFloatingConfiguratorComponent, TranslateModule],
|
|
5246
5326
|
standalone: true
|
|
5247
5327
|
}]
|
|
5248
|
-
}]
|
|
5328
|
+
}] });
|
|
5329
|
+
|
|
5330
|
+
var unauthorized$1 = {
|
|
5331
|
+
welcomeToOip: "Welcome to OIP!",
|
|
5332
|
+
signInToContinue: "Sign in to continue",
|
|
5333
|
+
signIn: "Sign In"
|
|
5334
|
+
};
|
|
5335
|
+
var en$9 = {
|
|
5336
|
+
unauthorized: unauthorized$1
|
|
5337
|
+
};
|
|
5338
|
+
|
|
5339
|
+
var unauthorized = {
|
|
5340
|
+
welcomeToOip: "Добро пожаловать в OIP!",
|
|
5341
|
+
signInToContinue: "Войдите чтобы продолжить",
|
|
5342
|
+
signIn: "Войти"
|
|
5343
|
+
};
|
|
5344
|
+
var ru$9 = {
|
|
5345
|
+
unauthorized: unauthorized
|
|
5346
|
+
};
|
|
5249
5347
|
|
|
5250
5348
|
class UnauthorizedComponent {
|
|
5251
5349
|
constructor() {
|
|
5350
|
+
this.translations = provideTranslations({ en: en$9, ru: ru$9 });
|
|
5252
5351
|
this.securityService = inject(SecurityService);
|
|
5253
5352
|
this.route = inject(ActivatedRoute);
|
|
5254
5353
|
}
|
|
@@ -5293,7 +5392,7 @@ class UnauthorizedComponent {
|
|
|
5293
5392
|
</div>
|
|
5294
5393
|
</div>
|
|
5295
5394
|
</div>
|
|
5296
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$
|
|
5395
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: RippleModule }, { kind: "component", type: LogoComponent, selector: "logo", inputs: ["width", "height"] }, { kind: "component", type: AppFloatingConfiguratorComponent, selector: "app-floating-configurator" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
5297
5396
|
}
|
|
5298
5397
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: UnauthorizedComponent, decorators: [{
|
|
5299
5398
|
type: Component,
|
|
@@ -5338,7 +5437,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5338
5437
|
}]
|
|
5339
5438
|
}] });
|
|
5340
5439
|
|
|
5440
|
+
var access$1 = {
|
|
5441
|
+
title: "Access Denied",
|
|
5442
|
+
message: "You do not have the necessary permissions. Please contact admins.",
|
|
5443
|
+
button: "Go to Dashboard"
|
|
5444
|
+
};
|
|
5445
|
+
var en$8 = {
|
|
5446
|
+
access: access$1
|
|
5447
|
+
};
|
|
5448
|
+
|
|
5449
|
+
var access = {
|
|
5450
|
+
title: "Доступ запрещён",
|
|
5451
|
+
message: "У вас недостаточно прав. Пожалуйста, обратитесь к администраторам.",
|
|
5452
|
+
button: "На главную"
|
|
5453
|
+
};
|
|
5454
|
+
var ru$8 = {
|
|
5455
|
+
access: access
|
|
5456
|
+
};
|
|
5457
|
+
|
|
5341
5458
|
class AccessComponent {
|
|
5459
|
+
constructor() {
|
|
5460
|
+
this.translations = provideTranslations({ en: en$8, ru: ru$8 });
|
|
5461
|
+
}
|
|
5342
5462
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AccessComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5343
5463
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AccessComponent, isStandalone: true, selector: "app-access", ngImport: i0, template: `<div
|
|
5344
5464
|
class="surface-ground flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden">
|
|
@@ -5355,22 +5475,22 @@ class AccessComponent {
|
|
|
5355
5475
|
style="width:3.2rem; height:3.2rem;">
|
|
5356
5476
|
<i class="text-50 pi pi-fw pi-lock text-2xl"></i>
|
|
5357
5477
|
</div>
|
|
5358
|
-
<h1 class="text-900 font-bold text-4xl lg:text-5xl mb-2">
|
|
5359
|
-
<span class="text-600 mb-5">
|
|
5478
|
+
<h1 class="text-900 font-bold text-4xl lg:text-5xl mb-2">{{ 'access.title' | translate }}</h1>
|
|
5479
|
+
<span class="text-600 mb-5">{{ 'access.message' | translate }}</span>
|
|
5360
5480
|
<img alt="Access denied" class="mb-5" src="assets/demo/images/access/asset-access.svg" width="80%" />
|
|
5361
5481
|
<p-button
|
|
5362
5482
|
class="p-button-text"
|
|
5363
5483
|
icon="pi pi-arrow-left"
|
|
5364
5484
|
id="oip-app-access-go-to-dashboard-button"
|
|
5365
|
-
label="Go to Dashboard"
|
|
5366
5485
|
pButton
|
|
5367
5486
|
pRipple
|
|
5487
|
+
[label]="'access.button' | translate"
|
|
5368
5488
|
[routerLink]="['/']"></p-button>
|
|
5369
5489
|
</div>
|
|
5370
5490
|
</div>
|
|
5371
5491
|
</div>
|
|
5372
5492
|
</div>
|
|
5373
|
-
</div>`, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1$
|
|
5493
|
+
</div>`, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1$2.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: RippleModule }, { kind: "directive", type: i2$3.Ripple, selector: "[pRipple]" }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
5374
5494
|
}
|
|
5375
5495
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AccessComponent, decorators: [{
|
|
5376
5496
|
type: Component,
|
|
@@ -5391,98 +5511,119 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5391
5511
|
style="width:3.2rem; height:3.2rem;">
|
|
5392
5512
|
<i class="text-50 pi pi-fw pi-lock text-2xl"></i>
|
|
5393
5513
|
</div>
|
|
5394
|
-
<h1 class="text-900 font-bold text-4xl lg:text-5xl mb-2">
|
|
5395
|
-
<span class="text-600 mb-5">
|
|
5514
|
+
<h1 class="text-900 font-bold text-4xl lg:text-5xl mb-2">{{ 'access.title' | translate }}</h1>
|
|
5515
|
+
<span class="text-600 mb-5">{{ 'access.message' | translate }}</span>
|
|
5396
5516
|
<img alt="Access denied" class="mb-5" src="assets/demo/images/access/asset-access.svg" width="80%" />
|
|
5397
5517
|
<p-button
|
|
5398
5518
|
class="p-button-text"
|
|
5399
5519
|
icon="pi pi-arrow-left"
|
|
5400
5520
|
id="oip-app-access-go-to-dashboard-button"
|
|
5401
|
-
label="Go to Dashboard"
|
|
5402
5521
|
pButton
|
|
5403
5522
|
pRipple
|
|
5523
|
+
[label]="'access.button' | translate"
|
|
5404
5524
|
[routerLink]="['/']"></p-button>
|
|
5405
5525
|
</div>
|
|
5406
5526
|
</div>
|
|
5407
5527
|
</div>
|
|
5408
5528
|
</div>
|
|
5409
5529
|
</div>`,
|
|
5410
|
-
imports: [RouterLink, ButtonModule, RippleModule],
|
|
5530
|
+
imports: [RouterLink, ButtonModule, RippleModule, TranslatePipe],
|
|
5411
5531
|
standalone: true
|
|
5412
5532
|
}]
|
|
5413
5533
|
}] });
|
|
5414
5534
|
|
|
5535
|
+
var error$1 = {
|
|
5536
|
+
title: "Error Occurred",
|
|
5537
|
+
message: "Requested resource is not available.",
|
|
5538
|
+
button: "Go to Dashboard"
|
|
5539
|
+
};
|
|
5540
|
+
var en$7 = {
|
|
5541
|
+
error: error$1
|
|
5542
|
+
};
|
|
5543
|
+
|
|
5544
|
+
var error = {
|
|
5545
|
+
title: "Произошла ошибка",
|
|
5546
|
+
message: "Запрашиваемый ресурс недоступен.",
|
|
5547
|
+
button: "На главную"
|
|
5548
|
+
};
|
|
5549
|
+
var ru$7 = {
|
|
5550
|
+
error: error
|
|
5551
|
+
};
|
|
5552
|
+
|
|
5415
5553
|
class ErrorComponent {
|
|
5554
|
+
constructor() {
|
|
5555
|
+
this.translations = provideTranslations({ en: en$7, ru: ru$7 });
|
|
5556
|
+
}
|
|
5416
5557
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5417
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ErrorComponent, isStandalone: true, selector: "app-error", ngImport: i0, template: `<div
|
|
5418
|
-
class="surface-ground flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden">
|
|
5419
|
-
<div class="flex flex-column align-items-center justify-content-center">
|
|
5420
|
-
<img alt="Sakai logo" class="mb-5 w-6rem flex-shrink-0" src="assets/demo/images/error/logo-error.svg" />
|
|
5421
|
-
<div
|
|
5422
|
-
style="border-radius:56px; padding:0.3rem; background: linear-gradient(180deg, rgba(233, 30, 99, 0.4) 10%, rgba(33, 150, 243, 0) 30%);">
|
|
5423
|
-
<div
|
|
5424
|
-
class="w-full surface-card py-8 px-5 sm:px-8 flex flex-column align-items-center"
|
|
5425
|
-
style="border-radius:53px">
|
|
5426
|
-
<div class="grid flex flex-column align-items-center">
|
|
5427
|
-
<div
|
|
5428
|
-
class="flex justify-content-center align-items-center bg-pink-500 border-circle"
|
|
5429
|
-
style="height:3.2rem; width:3.2rem;">
|
|
5430
|
-
<i class="pi pi-fw pi-exclamation-circle text-2xl text-white"></i>
|
|
5431
|
-
</div>
|
|
5432
|
-
<h1 class="text-900 font-bold text-5xl mb-2">
|
|
5433
|
-
<span class="text-600 mb-5">
|
|
5434
|
-
<img alt="Error" class="mb-5" src="assets/demo/images/error/asset-error.svg" width="80%" />
|
|
5435
|
-
<button
|
|
5436
|
-
class="p-button-text"
|
|
5437
|
-
icon="pi pi-arrow-left"
|
|
5438
|
-
id="oip-app-error-go-to-dashboard-button"
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
[routerLink]="['/']"></button>
|
|
5443
|
-
</div>
|
|
5444
|
-
</div>
|
|
5445
|
-
</div>
|
|
5446
|
-
</div>
|
|
5447
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1$
|
|
5558
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ErrorComponent, isStandalone: true, selector: "app-error", ngImport: i0, template: `<div
|
|
5559
|
+
class="surface-ground flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden">
|
|
5560
|
+
<div class="flex flex-column align-items-center justify-content-center">
|
|
5561
|
+
<img alt="Sakai logo" class="mb-5 w-6rem flex-shrink-0" src="assets/demo/images/error/logo-error.svg" />
|
|
5562
|
+
<div
|
|
5563
|
+
style="border-radius:56px; padding:0.3rem; background: linear-gradient(180deg, rgba(233, 30, 99, 0.4) 10%, rgba(33, 150, 243, 0) 30%);">
|
|
5564
|
+
<div
|
|
5565
|
+
class="w-full surface-card py-8 px-5 sm:px-8 flex flex-column align-items-center"
|
|
5566
|
+
style="border-radius:53px">
|
|
5567
|
+
<div class="grid flex flex-column align-items-center">
|
|
5568
|
+
<div
|
|
5569
|
+
class="flex justify-content-center align-items-center bg-pink-500 border-circle"
|
|
5570
|
+
style="height:3.2rem; width:3.2rem;">
|
|
5571
|
+
<i class="pi pi-fw pi-exclamation-circle text-2xl text-white"></i>
|
|
5572
|
+
</div>
|
|
5573
|
+
<h1 class="text-900 font-bold text-5xl mb-2">{{ 'error.title' | translate }}</h1>
|
|
5574
|
+
<span class="text-600 mb-5">{{ 'error.message' | translate }}</span>
|
|
5575
|
+
<img alt="Error" class="mb-5" src="assets/demo/images/error/asset-error.svg" width="80%" />
|
|
5576
|
+
<button
|
|
5577
|
+
class="p-button-text"
|
|
5578
|
+
icon="pi pi-arrow-left"
|
|
5579
|
+
id="oip-app-error-go-to-dashboard-button"
|
|
5580
|
+
pButton
|
|
5581
|
+
pRipple
|
|
5582
|
+
[label]="'error.button' | translate"
|
|
5583
|
+
[routerLink]="['/']"></button>
|
|
5584
|
+
</div>
|
|
5585
|
+
</div>
|
|
5586
|
+
</div>
|
|
5587
|
+
</div>
|
|
5588
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1$2.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: RippleModule }, { kind: "directive", type: i2$3.Ripple, selector: "[pRipple]" }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
5448
5589
|
}
|
|
5449
5590
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ErrorComponent, decorators: [{
|
|
5450
5591
|
type: Component,
|
|
5451
5592
|
args: [{
|
|
5452
5593
|
selector: 'app-error',
|
|
5453
|
-
template: `<div
|
|
5454
|
-
class="surface-ground flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden">
|
|
5455
|
-
<div class="flex flex-column align-items-center justify-content-center">
|
|
5456
|
-
<img alt="Sakai logo" class="mb-5 w-6rem flex-shrink-0" src="assets/demo/images/error/logo-error.svg" />
|
|
5457
|
-
<div
|
|
5458
|
-
style="border-radius:56px; padding:0.3rem; background: linear-gradient(180deg, rgba(233, 30, 99, 0.4) 10%, rgba(33, 150, 243, 0) 30%);">
|
|
5459
|
-
<div
|
|
5460
|
-
class="w-full surface-card py-8 px-5 sm:px-8 flex flex-column align-items-center"
|
|
5461
|
-
style="border-radius:53px">
|
|
5462
|
-
<div class="grid flex flex-column align-items-center">
|
|
5463
|
-
<div
|
|
5464
|
-
class="flex justify-content-center align-items-center bg-pink-500 border-circle"
|
|
5465
|
-
style="height:3.2rem; width:3.2rem;">
|
|
5466
|
-
<i class="pi pi-fw pi-exclamation-circle text-2xl text-white"></i>
|
|
5467
|
-
</div>
|
|
5468
|
-
<h1 class="text-900 font-bold text-5xl mb-2">
|
|
5469
|
-
<span class="text-600 mb-5">
|
|
5470
|
-
<img alt="Error" class="mb-5" src="assets/demo/images/error/asset-error.svg" width="80%" />
|
|
5471
|
-
<button
|
|
5472
|
-
class="p-button-text"
|
|
5473
|
-
icon="pi pi-arrow-left"
|
|
5474
|
-
id="oip-app-error-go-to-dashboard-button"
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
[routerLink]="['/']"></button>
|
|
5479
|
-
</div>
|
|
5480
|
-
</div>
|
|
5481
|
-
</div>
|
|
5482
|
-
</div>
|
|
5594
|
+
template: `<div
|
|
5595
|
+
class="surface-ground flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden">
|
|
5596
|
+
<div class="flex flex-column align-items-center justify-content-center">
|
|
5597
|
+
<img alt="Sakai logo" class="mb-5 w-6rem flex-shrink-0" src="assets/demo/images/error/logo-error.svg" />
|
|
5598
|
+
<div
|
|
5599
|
+
style="border-radius:56px; padding:0.3rem; background: linear-gradient(180deg, rgba(233, 30, 99, 0.4) 10%, rgba(33, 150, 243, 0) 30%);">
|
|
5600
|
+
<div
|
|
5601
|
+
class="w-full surface-card py-8 px-5 sm:px-8 flex flex-column align-items-center"
|
|
5602
|
+
style="border-radius:53px">
|
|
5603
|
+
<div class="grid flex flex-column align-items-center">
|
|
5604
|
+
<div
|
|
5605
|
+
class="flex justify-content-center align-items-center bg-pink-500 border-circle"
|
|
5606
|
+
style="height:3.2rem; width:3.2rem;">
|
|
5607
|
+
<i class="pi pi-fw pi-exclamation-circle text-2xl text-white"></i>
|
|
5608
|
+
</div>
|
|
5609
|
+
<h1 class="text-900 font-bold text-5xl mb-2">{{ 'error.title' | translate }}</h1>
|
|
5610
|
+
<span class="text-600 mb-5">{{ 'error.message' | translate }}</span>
|
|
5611
|
+
<img alt="Error" class="mb-5" src="assets/demo/images/error/asset-error.svg" width="80%" />
|
|
5612
|
+
<button
|
|
5613
|
+
class="p-button-text"
|
|
5614
|
+
icon="pi pi-arrow-left"
|
|
5615
|
+
id="oip-app-error-go-to-dashboard-button"
|
|
5616
|
+
pButton
|
|
5617
|
+
pRipple
|
|
5618
|
+
[label]="'error.button' | translate"
|
|
5619
|
+
[routerLink]="['/']"></button>
|
|
5620
|
+
</div>
|
|
5621
|
+
</div>
|
|
5622
|
+
</div>
|
|
5623
|
+
</div>
|
|
5483
5624
|
</div>`,
|
|
5484
5625
|
standalone: true,
|
|
5485
|
-
imports: [ButtonModule, RippleModule, RouterLink]
|
|
5626
|
+
imports: [ButtonModule, RippleModule, RouterLink, TranslatePipe]
|
|
5486
5627
|
}]
|
|
5487
5628
|
}] });
|
|
5488
5629
|
|
|
@@ -5518,15 +5659,14 @@ var ru$6 = {
|
|
|
5518
5659
|
profileComponent: profileComponent
|
|
5519
5660
|
};
|
|
5520
5661
|
|
|
5521
|
-
L10nService.registerTranslations({ en: en$6, ru: ru$6 });
|
|
5522
5662
|
class UserProfileComponent {
|
|
5523
|
-
constructor(
|
|
5663
|
+
constructor() {
|
|
5664
|
+
this.translations = provideTranslations({ en: en$6, ru: ru$6 });
|
|
5524
5665
|
this.userService = inject(UserService);
|
|
5525
5666
|
this.msgService = inject(MsgService);
|
|
5526
5667
|
this.translateService = inject(TranslateService);
|
|
5527
5668
|
this.userProfileApi = inject(UserProfileApi);
|
|
5528
5669
|
this.confirmationService = inject(ConfirmationService);
|
|
5529
|
-
l10nService.get('profileComponent');
|
|
5530
5670
|
}
|
|
5531
5671
|
async uploadPhoto(event) {
|
|
5532
5672
|
const file = event.files?.[0];
|
|
@@ -5572,7 +5712,7 @@ class UserProfileComponent {
|
|
|
5572
5712
|
this.msgService.errorFromException(error, this.translateService.instant('profileComponent.failedToDeletePhoto'));
|
|
5573
5713
|
}
|
|
5574
5714
|
}
|
|
5575
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: UserProfileComponent, deps: [
|
|
5715
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: UserProfileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5576
5716
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: UserProfileComponent, isStandalone: true, selector: "user-profile", providers: [ConfirmationService], ngImport: i0, template: `
|
|
5577
5717
|
<p-confirmDialog></p-confirmDialog>
|
|
5578
5718
|
<p-avatar
|
|
@@ -5603,7 +5743,7 @@ class UserProfileComponent {
|
|
|
5603
5743
|
(onClick)="confirmDeletePhoto($event)" />
|
|
5604
5744
|
}
|
|
5605
5745
|
</div>
|
|
5606
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FileUploadModule }, { kind: "component", type:
|
|
5746
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FileUploadModule }, { kind: "component", type: i1$8.FileUpload, selector: "p-fileupload, p-fileUpload", inputs: ["name", "url", "method", "multiple", "accept", "disabled", "auto", "withCredentials", "maxFileSize", "invalidFileSizeMessageSummary", "invalidFileSizeMessageDetail", "invalidFileTypeMessageSummary", "invalidFileTypeMessageDetail", "invalidFileLimitMessageDetail", "invalidFileLimitMessageSummary", "style", "styleClass", "previewWidth", "chooseLabel", "uploadLabel", "cancelLabel", "chooseIcon", "uploadIcon", "cancelIcon", "showUploadButton", "showCancelButton", "mode", "headers", "customUpload", "fileLimit", "uploadStyleClass", "cancelStyleClass", "removeStyleClass", "chooseStyleClass", "chooseButtonProps", "uploadButtonProps", "cancelButtonProps", "files"], outputs: ["onBeforeUpload", "onSend", "onUpload", "onError", "onClear", "onRemove", "onSelect", "onProgress", "uploadHandler", "onImageError", "onRemoveUploadedFile"] }, { kind: "ngmodule", type: ImageModule }, { kind: "ngmodule", type: AvatarModule }, { kind: "component", type: i2$2.Avatar, selector: "p-avatar", inputs: ["label", "icon", "image", "size", "shape", "styleClass", "ariaLabel", "ariaLabelledBy"], outputs: ["onImageError"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: ConfirmDialog, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "modal", "visible", "position", "draggable"], outputs: ["onHide"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
5607
5747
|
}
|
|
5608
5748
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: UserProfileComponent, decorators: [{
|
|
5609
5749
|
type: Component,
|
|
@@ -5644,7 +5784,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5644
5784
|
</div>
|
|
5645
5785
|
`
|
|
5646
5786
|
}]
|
|
5647
|
-
}]
|
|
5787
|
+
}] });
|
|
5648
5788
|
|
|
5649
5789
|
var config$1 = {
|
|
5650
5790
|
all: "All",
|
|
@@ -5686,9 +5826,9 @@ var ru$5 = {
|
|
|
5686
5826
|
config: config
|
|
5687
5827
|
};
|
|
5688
5828
|
|
|
5689
|
-
L10nService.registerTranslations({ en: en$5, ru: ru$5 });
|
|
5690
5829
|
class ConfigComponent {
|
|
5691
5830
|
constructor() {
|
|
5831
|
+
this.translations = provideTranslations({ en: en$5, ru: ru$5 });
|
|
5692
5832
|
this.layoutService = inject(LayoutService);
|
|
5693
5833
|
this.l10nService = inject(L10nService);
|
|
5694
5834
|
this.userService = inject(UserService);
|
|
@@ -5698,7 +5838,6 @@ class ConfigComponent {
|
|
|
5698
5838
|
this.timeFormats = ['HH:mm:ss', 'HH:mm'];
|
|
5699
5839
|
// @ts-ignore
|
|
5700
5840
|
this.allTimeZones = Intl.supportedValuesOf('timeZone');
|
|
5701
|
-
this.l10nService.loadComponentTranslations('config');
|
|
5702
5841
|
this.selectedLanguage = this.layoutService.language();
|
|
5703
5842
|
this.selectedDateFormat = this.layoutService.dateFormat();
|
|
5704
5843
|
this.selectedTimeFormat = this.layoutService.timeFormat();
|
|
@@ -5828,7 +5967,7 @@ class ConfigComponent {
|
|
|
5828
5967
|
</div>
|
|
5829
5968
|
}
|
|
5830
5969
|
</div>
|
|
5831
|
-
`, isInline: true, dependencies: [{ kind: "component", type: UserProfileComponent, selector: "user-profile" }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: TableModule }, { kind: "ngmodule", type: ToggleSwitchModule }, { kind: "component", type: i2$
|
|
5970
|
+
`, isInline: true, dependencies: [{ kind: "component", type: UserProfileComponent, selector: "user-profile" }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: TableModule }, { kind: "ngmodule", type: ToggleSwitchModule }, { kind: "component", type: i2$4.ToggleSwitch, selector: "p-toggleswitch, p-toggleSwitch, p-toggle-switch", inputs: ["styleClass", "tabindex", "inputId", "readonly", "trueValue", "falseValue", "ariaLabel", "size", "ariaLabelledBy", "autofocus"], outputs: ["onChange"] }, { kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
5832
5971
|
}
|
|
5833
5972
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ConfigComponent, decorators: [{
|
|
5834
5973
|
type: Component,
|
|
@@ -5994,7 +6133,10 @@ var ru$4 = {
|
|
|
5994
6133
|
};
|
|
5995
6134
|
|
|
5996
6135
|
class DbMigrationComponent extends BaseModuleComponent {
|
|
5997
|
-
|
|
6136
|
+
constructor() {
|
|
6137
|
+
super(...arguments);
|
|
6138
|
+
this.translations = provideTranslations({ en: en$4, ru: ru$4 });
|
|
6139
|
+
}
|
|
5998
6140
|
async ngOnInit() {
|
|
5999
6141
|
await super.ngOnInit();
|
|
6000
6142
|
await this.refreshAction();
|
|
@@ -6095,7 +6237,7 @@ class DbMigrationComponent extends BaseModuleComponent {
|
|
|
6095
6237
|
} @else if (isSecurity) {
|
|
6096
6238
|
<security [controller]="controller" [id]="id" />
|
|
6097
6239
|
}
|
|
6098
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: TableModule }, { kind: "component", type: i1$
|
|
6240
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: TableModule }, { kind: "component", type: i1$9.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i1$9.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "directive", type: i1$9.EditableRow, selector: "[pEditableRow]", inputs: ["pEditableRow", "pEditableRowDisabled"] }, { kind: "directive", type: i1$9.CancelEditableRow, selector: "[pCancelEditableRow]" }, { kind: "component", type: i1$9.ColumnFilter, selector: "p-columnFilter, p-column-filter, p-columnfilter", inputs: ["field", "type", "display", "showMenu", "matchMode", "operator", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "hideOnClear", "placeholder", "matchModeOptions", "maxConstraints", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "locale", "localeMatcher", "currency", "currencyDisplay", "filterOn", "useGrouping", "showButtons", "ariaLabel", "filterButtonProps"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: TagModule }, { kind: "ngmodule", type: InputTextModule }, { kind: "ngmodule", type: TextareaModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: ConfirmDialog, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "modal", "visible", "position", "draggable"], outputs: ["onHide"] }, { kind: "component", type: SecurityComponent, selector: "security", inputs: ["id", "controller"] }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
6099
6241
|
}
|
|
6100
6242
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DbMigrationComponent, decorators: [{
|
|
6101
6243
|
type: Component,
|
|
@@ -6507,7 +6649,7 @@ class AppModulesComponent {
|
|
|
6507
6649
|
</p-table>
|
|
6508
6650
|
</div>
|
|
6509
6651
|
</div>
|
|
6510
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i1$
|
|
6652
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i1$9.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: Tag, selector: "p-tag", inputs: ["styleClass", "severity", "value", "icon", "rounded"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: ToolbarModule }, { kind: "component", type: i5$1.Toolbar, selector: "p-toolbar", inputs: ["styleClass", "ariaLabelledBy"] }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "component", type: ConfirmDialog, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "modal", "visible", "position", "draggable"], outputs: ["onHide"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i4$1.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
6511
6653
|
}
|
|
6512
6654
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AppModulesComponent, decorators: [{
|
|
6513
6655
|
type: Component,
|
|
@@ -7157,7 +7299,7 @@ class ApplicationsComponent {
|
|
|
7157
7299
|
</p-table>
|
|
7158
7300
|
</div>
|
|
7159
7301
|
</div>
|
|
7160
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i1$
|
|
7302
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i1$9.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i1$9.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i1$9.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: Tag, selector: "p-tag", inputs: ["styleClass", "severity", "value", "icon", "rounded"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: ToolbarModule }, { kind: "component", type: i5$1.Toolbar, selector: "p-toolbar", inputs: ["styleClass", "ariaLabelledBy"] }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "component", type: ConfirmDialog, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "modal", "visible", "position", "draggable"], outputs: ["onHide"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i5.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: ToggleSwitchModule }, { kind: "component", type: i2$4.ToggleSwitch, selector: "p-toggleswitch, p-toggleSwitch, p-toggle-switch", inputs: ["styleClass", "tabindex", "inputId", "readonly", "trueValue", "falseValue", "ariaLabel", "size", "ariaLabelledBy", "autofocus"], outputs: ["onChange"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
7161
7303
|
}
|
|
7162
7304
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ApplicationsComponent, decorators: [{
|
|
7163
7305
|
type: Component,
|
|
@@ -7619,10 +7761,10 @@ var ru$1 = {
|
|
|
7619
7761
|
discussionComponent: discussionComponent
|
|
7620
7762
|
};
|
|
7621
7763
|
|
|
7622
|
-
L10nService.registerTranslations({ en: en$1, ru: ru$1 });
|
|
7623
7764
|
class DiscussionComponent {
|
|
7624
|
-
constructor(
|
|
7765
|
+
constructor() {
|
|
7625
7766
|
this.msgService = inject(MsgService);
|
|
7767
|
+
this.translations = provideTranslations({ en: en$1, ru: ru$1 });
|
|
7626
7768
|
this.discussionApi = inject(DiscussionApi);
|
|
7627
7769
|
this.sanitizer = inject(DomSanitizer);
|
|
7628
7770
|
this.translateService = inject(TranslateService);
|
|
@@ -7644,7 +7786,6 @@ class DiscussionComponent {
|
|
|
7644
7786
|
this.emojiPalette = ['👍', '👎', '🐳', '🍆', '🍑'];
|
|
7645
7787
|
this.mentionSearchTimer = null;
|
|
7646
7788
|
this.getInitialsFromString = getInitialsFromString;
|
|
7647
|
-
l10nService.get('discussionComponent');
|
|
7648
7789
|
}
|
|
7649
7790
|
ngOnChanges(changes) {
|
|
7650
7791
|
if ((changes['objectTypeId'] || changes['objectId']) && this.objectTypeId && this.objectId) {
|
|
@@ -8021,7 +8162,7 @@ class DiscussionComponent {
|
|
|
8021
8162
|
const match = value.match(/@([A-Za-z0-9._+\-@]*)$/);
|
|
8022
8163
|
return match?.[1] ?? null;
|
|
8023
8164
|
}
|
|
8024
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DiscussionComponent, deps: [
|
|
8165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DiscussionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8025
8166
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: DiscussionComponent, isStandalone: true, selector: "discussion", inputs: { objectTypeId: "objectTypeId", objectId: "objectId" }, providers: [ConfirmationService, DiscussionApi], usesOnChanges: true, ngImport: i0, template: `
|
|
8026
8167
|
<p-confirmDialog />
|
|
8027
8168
|
|
|
@@ -8336,7 +8477,7 @@ class DiscussionComponent {
|
|
|
8336
8477
|
</div>
|
|
8337
8478
|
}
|
|
8338
8479
|
</section>
|
|
8339
|
-
`, isInline: true, styles: [":host{display:block}.file-trigger{position:relative;display:inline-flex}.file-trigger input{position:absolute;inset:0;opacity:0;cursor:pointer}.markdown-preview,.history-markdown{word-break:break-word}.markdown-preview :is(h1,h2,h3),.history-markdown :is(h1,h2,h3){margin:0 0 .75rem;font-weight:600}.markdown-preview a,.history-markdown a{color:#2563eb;text-decoration:underline;text-underline-offset:.18em}.emoji-popover{display:flex;flex-wrap:wrap;gap:.5rem;max-width:16rem}.emoji-option{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;font-size:1.25rem;cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AvatarModule }, { kind: "component", type:
|
|
8480
|
+
`, isInline: true, styles: [":host{display:block}.file-trigger{position:relative;display:inline-flex}.file-trigger input{position:absolute;inset:0;opacity:0;cursor:pointer}.markdown-preview,.history-markdown{word-break:break-word}.markdown-preview :is(h1,h2,h3),.history-markdown :is(h1,h2,h3){margin:0 0 .75rem;font-weight:600}.markdown-preview a,.history-markdown a{color:#2563eb;text-decoration:underline;text-underline-offset:.18em}.emoji-popover{display:flex;flex-wrap:wrap;gap:.5rem;max-width:16rem}.emoji-option{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;font-size:1.25rem;cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AvatarModule }, { kind: "component", type: i2$2.Avatar, selector: "p-avatar", inputs: ["label", "icon", "image", "size", "shape", "styleClass", "ariaLabel", "ariaLabelledBy"], outputs: ["onImageError"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: CardModule }, { kind: "component", type: i5$2.Card, selector: "p-card", inputs: ["header", "subheader", "style", "styleClass"] }, { kind: "component", type: ConfirmDialog, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "modal", "visible", "position", "draggable"], outputs: ["onHide"] }, { kind: "ngmodule", type: DividerModule }, { kind: "ngmodule", type: PanelModule }, { kind: "component", type: i6.Panel, selector: "p-panel", inputs: ["id", "toggleable", "header", "collapsed", "styleClass", "iconPos", "showHeader", "toggler", "transitionOptions", "toggleButtonProps"], outputs: ["collapsedChange", "onBeforeToggle", "onAfterToggle"] }, { kind: "ngmodule", type: PopoverModule }, { kind: "component", type: i7.Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: ProgressSpinnerModule }, { kind: "component", type: i4.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "ngmodule", type: TagModule }, { kind: "component", type: i9.Tag, selector: "p-tag", inputs: ["styleClass", "severity", "value", "icon", "rounded"] }, { kind: "directive", type: Textarea, selector: "[pTextarea], [pInputTextarea]", inputs: ["autoResize", "pSize", "variant", "fluid", "invalid"], outputs: ["onResize"] }, { kind: "pipe", type: i1$3.DatePipe, name: "date" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8340
8481
|
}
|
|
8341
8482
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DiscussionComponent, decorators: [{
|
|
8342
8483
|
type: Component,
|
|
@@ -8670,7 +8811,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
8670
8811
|
}
|
|
8671
8812
|
</section>
|
|
8672
8813
|
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}.file-trigger{position:relative;display:inline-flex}.file-trigger input{position:absolute;inset:0;opacity:0;cursor:pointer}.markdown-preview,.history-markdown{word-break:break-word}.markdown-preview :is(h1,h2,h3),.history-markdown :is(h1,h2,h3){margin:0 0 .75rem;font-weight:600}.markdown-preview a,.history-markdown a{color:#2563eb;text-decoration:underline;text-underline-offset:.18em}.emoji-popover{display:flex;flex-wrap:wrap;gap:.5rem;max-width:16rem}.emoji-option{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;font-size:1.25rem;cursor:pointer}\n"] }]
|
|
8673
|
-
}],
|
|
8814
|
+
}], propDecorators: { objectTypeId: [{
|
|
8674
8815
|
type: Input,
|
|
8675
8816
|
args: [{ required: true }]
|
|
8676
8817
|
}], objectId: [{
|
|
@@ -8701,9 +8842,9 @@ var ru = {
|
|
|
8701
8842
|
};
|
|
8702
8843
|
|
|
8703
8844
|
class IframeModuleComponent extends BaseModuleComponent {
|
|
8704
|
-
static { this.translations = { en, ru }; }
|
|
8705
8845
|
constructor() {
|
|
8706
8846
|
super();
|
|
8847
|
+
this.translations = provideTranslations({ en, ru });
|
|
8707
8848
|
this.renderer = inject(Renderer2);
|
|
8708
8849
|
this.translate = inject(TranslateService);
|
|
8709
8850
|
this.iframeUrl = null;
|
|
@@ -8795,7 +8936,7 @@ class IframeModuleComponent extends BaseModuleComponent {
|
|
|
8795
8936
|
} @else if (isSecurity) {
|
|
8796
8937
|
<security [controller]="controller" [id]="id" />
|
|
8797
8938
|
}
|
|
8798
|
-
`, isInline: true, dependencies: [{ kind: "component", type: SecurityComponent, selector: "security", inputs: ["id", "controller"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
8939
|
+
`, isInline: true, dependencies: [{ kind: "component", type: SecurityComponent, selector: "security", inputs: ["id", "controller"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
8799
8940
|
}
|
|
8800
8941
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IframeModuleComponent, decorators: [{
|
|
8801
8942
|
type: Component,
|
|
@@ -9747,5 +9888,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9747
9888
|
* Generated bundle index. Do not edit.
|
|
9748
9889
|
*/
|
|
9749
9890
|
|
|
9750
|
-
export { APP_THEME_PRESETS, APP_THEME_PRESETS_MERGE_MODE, AccessComponent, AppConfiguratorComponent, AppFloatingConfiguratorComponent, AppLayoutComponent, AppModulesComponent, AppTopbar, AppTopbarApplicationSwitcherComponent, ApplicationRegistryService, ApplicationsApi, ApplicationsComponent, AuthGuardService, BaseModuleComponent, BffSecurityService, ConfigComponent, ContentType, CustomElementExtensionModuleHostComponent, DbMigrationComponent, DiscussionComponent, ErrorComponent, ExtensionLoaderService, ExtensionModuleHostComponent, FolderModuleApi, FooterComponent, HttpClient, IframeModuleApi, IframeModuleComponent, L10nService, LOGO_COMPONENT_TOKEN, LayoutService, LogoComponent, LogoService, MenuComponent, MenuService, ModuleInstanceRightsService, MsgService, NotfoundComponent, NotificationApi, NotificationService, OIP_EXTENSION_EVENTS, SecurityApi, SecurityComponent, SecurityService, SidebarComponent, TableFilterService, TopBarService, UnauthorizedComponent, UserNotificationsComponent, UserProfileApi, UserProfileComponent, UserService, convertToPrimeNgDateFormat, defaultTheme, emitOipContextChange, emitOipError, emitOipNavigate, emitOipNotify, emitOipSettingsChange, emitOipTitleChange, langIntercept, mergeWithDefaults, moduleAccessGuard, provideAppThemes, provideLogoComponent, provideOip, replaceDefaults };
|
|
9891
|
+
export { APP_INFO_TOKEN, APP_THEME_PRESETS, APP_THEME_PRESETS_MERGE_MODE, AccessComponent, AppConfiguratorComponent, AppFloatingConfiguratorComponent, AppInfoService, AppLayoutComponent, AppModulesComponent, AppTopbar, AppTopbarApplicationSwitcherComponent, ApplicationRegistryService, ApplicationsApi, ApplicationsComponent, AuthGuardService, BaseModuleComponent, BffSecurityService, ConfigComponent, ContentType, CustomElementExtensionModuleHostComponent, DbMigrationComponent, DiscussionComponent, ErrorComponent, ExtensionLoaderService, ExtensionModuleHostComponent, FolderModuleApi, FooterComponent, HttpClient, IframeModuleApi, IframeModuleComponent, L10nService, LOGO_COMPONENT_TOKEN, LayoutService, LogoComponent, LogoService, MenuComponent, MenuService, ModuleInstanceRightsService, MsgService, NotfoundComponent, NotificationApi, NotificationService, OIP_EXTENSION_EVENTS, SecurityApi, SecurityComponent, SecurityService, SidebarComponent, TableFilterService, TopBarService, UnauthorizedComponent, UserNotificationsComponent, UserProfileApi, UserProfileComponent, UserService, convertToPrimeNgDateFormat, defaultTheme, emitOipContextChange, emitOipError, emitOipNavigate, emitOipNotify, emitOipSettingsChange, emitOipTitleChange, langIntercept, mergeWithDefaults, moduleAccessGuard, provideAppInfo, provideAppThemes, provideLogoComponent, provideOip, provideTranslations, replaceDefaults };
|
|
9751
9892
|
//# sourceMappingURL=oip-common.mjs.map
|