herum-shared 0.1.25
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/README.md +63 -0
- package/animations/index.d.ts +5 -0
- package/assets/feed/exercise/exerciseAchivment.svg +11 -0
- package/assets/feed/icons/active/audio.svg +5 -0
- package/assets/feed/icons/active/collection.svg +15 -0
- package/assets/feed/icons/active/exercise.svg +13 -0
- package/assets/feed/icons/active/generic-file.svg +8 -0
- package/assets/feed/icons/active/image.svg +11 -0
- package/assets/feed/icons/active/link.svg +6 -0
- package/assets/feed/icons/active/pdf.svg +14 -0
- package/assets/feed/icons/active/presentation.svg +11 -0
- package/assets/feed/icons/active/quiz.svg +17 -0
- package/assets/feed/icons/active/story.svg +7 -0
- package/assets/feed/icons/active/video.svg +11 -0
- package/assets/feed/icons/comment.svg +12 -0
- package/assets/feed/icons/error/audio.svg +5 -0
- package/assets/feed/icons/error/collection.svg +15 -0
- package/assets/feed/icons/error/exercise.svg +13 -0
- package/assets/feed/icons/error/generic-file.svg +8 -0
- package/assets/feed/icons/error/image.svg +11 -0
- package/assets/feed/icons/error/pdf.svg +14 -0
- package/assets/feed/icons/error/presentation.svg +11 -0
- package/assets/feed/icons/error/quiz.svg +17 -0
- package/assets/feed/icons/error/story.svg +7 -0
- package/assets/feed/icons/error/video.svg +11 -0
- package/assets/feed/icons/eye.svg +13 -0
- package/assets/feed/icons/garbage-secondary.svg +14 -0
- package/assets/feed/icons/garbage.svg +14 -0
- package/assets/feed/icons/green-x.svg +165 -0
- package/assets/feed/icons/hamburger.svg +2 -0
- package/assets/feed/icons/inactive/audio.svg +5 -0
- package/assets/feed/icons/inactive/exercise.svg +17 -0
- package/assets/feed/icons/inactive/link.svg +6 -0
- package/assets/feed/icons/inactive/pdf.svg +19 -0
- package/assets/feed/icons/inactive/presentation.svg +13 -0
- package/assets/feed/icons/inactive/quiz.svg +25 -0
- package/assets/feed/icons/inactive/story.svg +7 -0
- package/assets/feed/icons/inactive/video.svg +13 -0
- package/assets/feed/icons/status/Group 856.svg +11 -0
- package/assets/feed/icons/status/almostDone.svg +11 -0
- package/assets/feed/icons/status/done.svg +11 -0
- package/assets/feed/icons/status/inProgress.svg +13 -0
- package/assets/feed/icons/white-chevron.svg +3 -0
- package/assets/feed/icons/wide-mode.png +0 -0
- package/assets/feed/icons/wide-mode.svg +7 -0
- package/assets/feed/icons/wide-mode2.svg +8 -0
- package/assets/files-icons/.image.svg +11 -0
- package/assets/files-icons/.mp4.png +0 -0
- package/assets/files-icons/.mp4.svg +12 -0
- package/assets/files-icons/.pdf.png +0 -0
- package/assets/files-icons/.pdf.svg +16 -0
- package/assets/files-icons/.pptx.png +0 -0
- package/assets/files-icons/.pptx.svg +12 -0
- package/assets/files-icons/.video.svg +12 -0
- package/assets/files-icons/default-file.png +0 -0
- package/assets/files-icons/generic-file.svg +8 -0
- package/assets/files-icons/story.png +0 -0
- package/assets/files-icons/story.svg +3 -0
- package/assets/files-icons/upload-file.svg +4 -0
- package/assets/general/calendar.svg +12 -0
- package/assets/general/chevron.svg +3 -0
- package/assets/general/clock.svg +4 -0
- package/assets/general/closed-chevron.png +0 -0
- package/assets/general/college-calendar.svg +12 -0
- package/assets/general/comment-icon.svg +12 -0
- package/assets/general/dialogX.png +0 -0
- package/assets/general/errorOwl.png +0 -0
- package/assets/general/green-x.svg +4 -0
- package/assets/general/grey-chevron.svg +3 -0
- package/assets/general/keyboardLink.svg +15 -0
- package/assets/general/logo.png +0 -0
- package/assets/general/noCollectionsMessage.svg +59 -0
- package/assets/general/open-chevron.png +0 -0
- package/assets/general/owl-logo.svg +98 -0
- package/assets/general/secondary-x.svg +3 -0
- package/assets/general/user.svg +15 -0
- package/assets/general/white-chevron.svg +3 -0
- package/assets/quiz/greenHeaderArrow.svg +12 -0
- package/assets/quiz/greyHeaderArrow.svg +12 -0
- package/assets/quiz/happyOwl.svg +126 -0
- package/assets/quiz/sadOwl.svg +94 -0
- package/assets/quiz/skip.svg +5 -0
- package/assets/shared/atoms/inputs/herum-inputs.component.scss +56 -0
- package/assets/shared/atoms/selects/herum-selects.component.scss +141 -0
- package/assets/shared/atoms/uploadingStatuses/error.svg +8 -0
- package/assets/shared/atoms/uploadingStatuses/information.svg +6 -0
- package/assets/shared/atoms/uploadingStatuses/success.svg +9 -0
- package/assets/shared/audio-images/gray-pause.svg +4 -0
- package/assets/shared/audio-images/gray-play.svg +3 -0
- package/assets/shared/audio-images/next15.svg +7 -0
- package/assets/shared/audio-images/pause.svg +4 -0
- package/assets/shared/audio-images/play.svg +3 -0
- package/assets/shared/audio-images/previous15.svg +7 -0
- package/assets/shared/background/cubes.png +0 -0
- package/assets/shared/background/cubes.svg +1900 -0
- package/assets/shared/icons/V.svg +3 -0
- package/assets/shared/icons/X.svg +3 -0
- package/assets/shared/icons/active-clipboard.svg +7 -0
- package/assets/shared/icons/active-drag.svg +44 -0
- package/assets/shared/icons/active-upload.svg +3 -0
- package/assets/shared/icons/add.svg +3 -0
- package/assets/shared/icons/attachUsers.png +0 -0
- package/assets/shared/icons/big-no-result-owl.png +0 -0
- package/assets/shared/icons/bigV.svg +3 -0
- package/assets/shared/icons/celeb-owl.png +0 -0
- package/assets/shared/icons/clock.svg +3 -0
- package/assets/shared/icons/drag.svg +44 -0
- package/assets/shared/icons/edit.svg +3 -0
- package/assets/shared/icons/editCollection.png +0 -0
- package/assets/shared/icons/femaleAvatar.svg +80 -0
- package/assets/shared/icons/inactive-clipboard.svg +7 -0
- package/assets/shared/icons/input/X.png +0 -0
- package/assets/shared/icons/input/X.svg +3 -0
- package/assets/shared/icons/input/drag.svg +6 -0
- package/assets/shared/icons/input/green-search.png +0 -0
- package/assets/shared/icons/input/grey-search.png +0 -0
- package/assets/shared/icons/input/search.svg +4 -0
- package/assets/shared/icons/maleAvatar.svg +55 -0
- package/assets/shared/icons/no-result-owl.png +0 -0
- package/assets/shared/icons/resources.svg +6 -0
- package/assets/shared/icons/secondary-x.svg +3 -0
- package/assets/shared/icons/settings.png +0 -0
- package/assets/shared/icons/stepper/white-v.svg +3 -0
- package/assets/shared/icons/table/edit.svg +3 -0
- package/assets/shared/icons/target.png +0 -0
- package/assets/shared/icons/upload.png +0 -0
- package/assets/shared/icons/upload.svg +7 -0
- package/assets/shared/icons/user.svg +8 -0
- package/assets/shared/icons/video/Play.PNG +0 -0
- package/assets/shared/icons/video/back10.PNG +0 -0
- package/assets/shared/icons/video/back10.svg +7 -0
- package/assets/shared/icons/video/download.PNG +0 -0
- package/assets/shared/icons/video/download.svg +4 -0
- package/assets/shared/icons/video/fullScreen.PNG +0 -0
- package/assets/shared/icons/video/fullScreen.svg +7 -0
- package/assets/shared/icons/video/minimize.png +0 -0
- package/assets/shared/icons/video/mute.png +0 -0
- package/assets/shared/icons/video/mute.svg +7 -0
- package/assets/shared/icons/video/next10.PNG +0 -0
- package/assets/shared/icons/video/next10.svg +7 -0
- package/assets/shared/icons/video/pause.PNG +0 -0
- package/assets/shared/icons/video/pause.svg +5 -0
- package/assets/shared/icons/video/pictureInPicture.png +0 -0
- package/assets/shared/icons/video/pictureInPicture.svg +5 -0
- package/assets/shared/icons/video/pictureInPictureOff.svg +7 -0
- package/assets/shared/icons/video/play.svg +4 -0
- package/assets/shared/icons/video/primary-play.png +0 -0
- package/assets/shared/icons/video/primaryPlay.svg +22 -0
- package/assets/shared/icons/video/sound.svg +8 -0
- package/assets/shared/icons/video/speaker.PNG +0 -0
- package/assets/shared/trackChanges/edit.svg +11 -0
- package/assets/shared/trackChanges/message-plus.svg +14 -0
- package/assets/shared/trackChanges/show-comments.svg +5 -0
- package/assets/shared/trackChanges/text-reference.svg +3 -0
- package/assets/shared/trackChanges/trash.svg +9 -0
- package/atoms/index.d.ts +836 -0
- package/constants/index.d.ts +795 -0
- package/decorators/index.d.ts +3 -0
- package/dialogs/index.d.ts +41 -0
- package/directives/index.d.ts +55 -0
- package/environment/index.d.ts +129 -0
- package/errors/index.d.ts +26 -0
- package/fesm2022/herum-shared-animations.mjs +41 -0
- package/fesm2022/herum-shared-animations.mjs.map +1 -0
- package/fesm2022/herum-shared-atoms.mjs +2919 -0
- package/fesm2022/herum-shared-atoms.mjs.map +1 -0
- package/fesm2022/herum-shared-constants.mjs +711 -0
- package/fesm2022/herum-shared-constants.mjs.map +1 -0
- package/fesm2022/herum-shared-decorators.mjs +12 -0
- package/fesm2022/herum-shared-decorators.mjs.map +1 -0
- package/fesm2022/herum-shared-dialogs.mjs +113 -0
- package/fesm2022/herum-shared-dialogs.mjs.map +1 -0
- package/fesm2022/herum-shared-directives.mjs +226 -0
- package/fesm2022/herum-shared-directives.mjs.map +1 -0
- package/fesm2022/herum-shared-environment.mjs +10 -0
- package/fesm2022/herum-shared-environment.mjs.map +1 -0
- package/fesm2022/herum-shared-errors.mjs +71 -0
- package/fesm2022/herum-shared-errors.mjs.map +1 -0
- package/fesm2022/herum-shared-fetched-message.mjs +118 -0
- package/fesm2022/herum-shared-fetched-message.mjs.map +1 -0
- package/fesm2022/herum-shared-herum-types.mjs +106 -0
- package/fesm2022/herum-shared-herum-types.mjs.map +1 -0
- package/fesm2022/herum-shared-molecules.mjs +1530 -0
- package/fesm2022/herum-shared-molecules.mjs.map +1 -0
- package/fesm2022/herum-shared-mongo-molecules.mjs +269 -0
- package/fesm2022/herum-shared-mongo-molecules.mjs.map +1 -0
- package/fesm2022/herum-shared-mongo-services.mjs +441 -0
- package/fesm2022/herum-shared-mongo-services.mjs.map +1 -0
- package/fesm2022/herum-shared-mongo.mjs +729 -0
- package/fesm2022/herum-shared-mongo.mjs.map +1 -0
- package/fesm2022/herum-shared-objectsExample.mjs +190 -0
- package/fesm2022/herum-shared-objectsExample.mjs.map +1 -0
- package/fesm2022/herum-shared-pipes.mjs +406 -0
- package/fesm2022/herum-shared-pipes.mjs.map +1 -0
- package/fesm2022/herum-shared-services.mjs +1107 -0
- package/fesm2022/herum-shared-services.mjs.map +1 -0
- package/fesm2022/herum-shared-static-services.mjs +140 -0
- package/fesm2022/herum-shared-static-services.mjs.map +1 -0
- package/fesm2022/herum-shared-table.mjs +837 -0
- package/fesm2022/herum-shared-table.mjs.map +1 -0
- package/fesm2022/herum-shared-testsObjects.mjs +5722 -0
- package/fesm2022/herum-shared-testsObjects.mjs.map +1 -0
- package/fesm2022/herum-shared-tokens.mjs +13 -0
- package/fesm2022/herum-shared-tokens.mjs.map +1 -0
- package/fesm2022/herum-shared-utils.mjs +380 -0
- package/fesm2022/herum-shared-utils.mjs.map +1 -0
- package/fesm2022/herum-shared-validators.mjs +76 -0
- package/fesm2022/herum-shared-validators.mjs.map +1 -0
- package/fesm2022/herum-shared.mjs +11709 -0
- package/fesm2022/herum-shared.mjs.map +1 -0
- package/fetched-message/index.d.ts +49 -0
- package/herum-types/index.d.ts +198 -0
- package/index.d.ts +2946 -0
- package/molecules/index.d.ts +458 -0
- package/mongo/index.d.ts +175 -0
- package/mongo/molecules/index.d.ts +76 -0
- package/mongo/services/index.d.ts +98 -0
- package/objectsExample/index.d.ts +11 -0
- package/package.json +128 -0
- package/pipes/index.d.ts +93 -0
- package/services/index.d.ts +266 -0
- package/static-services/index.d.ts +25 -0
- package/styles/_mixin.scss +86 -0
- package/styles/collection-wizard-layout.component.scss +70 -0
- package/styles/dialogs.scss +49 -0
- package/styles/forms.scss +18 -0
- package/styles/overView.scss +115 -0
- package/styles/variables/_colors.college.scss +65 -0
- package/styles/variables/_colors.scss +161 -0
- package/styles/variables/_sizes.scss +73 -0
- package/styles/wizard-steps-layout.scss +21 -0
- package/table/index.d.ts +233 -0
- package/testsObjects/index.d.ts +91 -0
- package/tokens/index.d.ts +8 -0
- package/utils/index.d.ts +92 -0
- package/validators/index.d.ts +20 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { DialogConfig, FileData } from 'herum-shared/herum-types';
|
|
3
|
+
import { EnvironmentConfig } from 'herum-shared/environment';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { OnInit } from '@angular/core';
|
|
6
|
+
import * as i3 from '@angular/common';
|
|
7
|
+
import * as i4 from 'herum-shared/atoms';
|
|
8
|
+
import * as i5 from 'herum-shared/pipes';
|
|
9
|
+
import * as i6 from 'herum-shared/molecules';
|
|
10
|
+
|
|
11
|
+
declare class InsuranceDialogComponent {
|
|
12
|
+
dialogRef: MatDialogRef<InsuranceDialogComponent>;
|
|
13
|
+
data: DialogConfig;
|
|
14
|
+
private environmentConfig;
|
|
15
|
+
constructor(dialogRef: MatDialogRef<InsuranceDialogComponent>, data: DialogConfig, environmentConfig: EnvironmentConfig);
|
|
16
|
+
_onSubmit(): void;
|
|
17
|
+
_onClose(): void;
|
|
18
|
+
get systemIdentifier(): string;
|
|
19
|
+
get isWarning(): boolean;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InsuranceDialogComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InsuranceDialogComponent, "app-insurance-dialog", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare class HerumFilesViewerDialogComponent implements OnInit {
|
|
25
|
+
private dialogRef;
|
|
26
|
+
data: any;
|
|
27
|
+
fileData: FileData;
|
|
28
|
+
constructor(dialogRef: MatDialogRef<FileData>, data: any);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
_downloadFile(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HerumFilesViewerDialogComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HerumFilesViewerDialogComponent, "herum-files-viewer-dialog", never, {}, {}, never, never, false, never>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare class DialogsModule {
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogsModule, never>;
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogsModule, [typeof InsuranceDialogComponent, typeof HerumFilesViewerDialogComponent], [typeof i3.CommonModule, typeof i4.AtomsModule, typeof i5.PipesModule, typeof i6.MoleculesModule], [typeof InsuranceDialogComponent, typeof HerumFilesViewerDialogComponent]>;
|
|
38
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DialogsModule>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { DialogsModule, HerumFilesViewerDialogComponent, InsuranceDialogComponent };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { EnvironmentConfig } from 'herum-shared/environment';
|
|
5
|
+
|
|
6
|
+
declare class HerumHighlightDirective {
|
|
7
|
+
private el;
|
|
8
|
+
private renderer;
|
|
9
|
+
highlightText: string | null | undefined;
|
|
10
|
+
highlightQuery: string | null | undefined;
|
|
11
|
+
constructor(el: ElementRef<HTMLElement>, renderer: Renderer2);
|
|
12
|
+
ngOnChanges(): void;
|
|
13
|
+
private escapeHtml;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HerumHighlightDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HerumHighlightDirective, "[herumHighlight]", never, { "highlightText": { "alias": "highlightText"; "required": false; }; "highlightQuery": { "alias": "herumHighlight"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class HerumToolTipDirective {
|
|
19
|
+
private el;
|
|
20
|
+
tooltipText: string;
|
|
21
|
+
private tooltip;
|
|
22
|
+
constructor(el: ElementRef);
|
|
23
|
+
onMouseEnter(): void;
|
|
24
|
+
onMouseLeave(): void;
|
|
25
|
+
private showTooltip;
|
|
26
|
+
private hideTooltip;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HerumToolTipDirective, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HerumToolTipDirective, "[appHerumToolTip]", never, { "tooltipText": { "alias": "tooltipText"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare class SvgOnHoverDirective {
|
|
32
|
+
private element;
|
|
33
|
+
iconHoverColor: string;
|
|
34
|
+
onMouseEnter(): void;
|
|
35
|
+
onMouseLeave(): void;
|
|
36
|
+
stroke: string;
|
|
37
|
+
constructor(element: ElementRef);
|
|
38
|
+
setElementAttribute(color: string): void;
|
|
39
|
+
setElementsAttribute(color: string): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SvgOnHoverDirective, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SvgOnHoverDirective, "[svgOnHover]", never, { "iconHoverColor": { "alias": "svgOnHover"; "required": false; }; }, {}, never, never, false, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare class UserActionDirective {
|
|
45
|
+
private el;
|
|
46
|
+
private http;
|
|
47
|
+
private environmentConfig;
|
|
48
|
+
description: string;
|
|
49
|
+
constructor(el: ElementRef, http: HttpClient, environmentConfig: EnvironmentConfig);
|
|
50
|
+
onClick(event: any): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserActionDirective, never>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UserActionDirective, "[userAction]", never, { "description": { "alias": "userAction"; "required": false; }; }, {}, never, never, false, never>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { HerumHighlightDirective, HerumToolTipDirective, SvgOnHoverDirective, UserActionDirective };
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
type AuthenticationPaths = {
|
|
4
|
+
tryLogin: string;
|
|
5
|
+
signUp: string;
|
|
6
|
+
isValidSessionId: string;
|
|
7
|
+
isUniqueUser: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
type MongoUpdates = {
|
|
11
|
+
CollectionCategories: {
|
|
12
|
+
Metadata: string;
|
|
13
|
+
};
|
|
14
|
+
Collections: {
|
|
15
|
+
Collections: string;
|
|
16
|
+
HadrachaPages: string;
|
|
17
|
+
HadrachaPage: string;
|
|
18
|
+
LessonTemplates: string;
|
|
19
|
+
Lessons: string;
|
|
20
|
+
Groups: string;
|
|
21
|
+
Playlists: string;
|
|
22
|
+
Resources: string;
|
|
23
|
+
PartialResources: string;
|
|
24
|
+
Structs: string;
|
|
25
|
+
StructsPaginatedLessons: string;
|
|
26
|
+
Users: string;
|
|
27
|
+
PartialUsers: string;
|
|
28
|
+
User: string;
|
|
29
|
+
Tags: string;
|
|
30
|
+
ClosedLists: string;
|
|
31
|
+
Subjects: string;
|
|
32
|
+
CommonQuestionSections: string;
|
|
33
|
+
};
|
|
34
|
+
Methods: {
|
|
35
|
+
AddOrUpdate: string;
|
|
36
|
+
ModelInfo: string;
|
|
37
|
+
Attach: string;
|
|
38
|
+
Delete: string;
|
|
39
|
+
ListItemDeletion: string;
|
|
40
|
+
Create: string;
|
|
41
|
+
Basic: string;
|
|
42
|
+
Update: string;
|
|
43
|
+
ListItem: string;
|
|
44
|
+
};
|
|
45
|
+
Submethods: {
|
|
46
|
+
AndAttach: string;
|
|
47
|
+
Duplicate: string;
|
|
48
|
+
};
|
|
49
|
+
Options: {
|
|
50
|
+
Bulk: string;
|
|
51
|
+
SetFile: string;
|
|
52
|
+
SetFiles: string;
|
|
53
|
+
ResourceFiles: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
type EnvironmentConfig = {
|
|
58
|
+
mongoUpdates: MongoUpdates;
|
|
59
|
+
environment: {
|
|
60
|
+
production: boolean;
|
|
61
|
+
envName: string;
|
|
62
|
+
siteServerPath: string;
|
|
63
|
+
filesDisplayServerPath?: string;
|
|
64
|
+
s3ServerPath: string;
|
|
65
|
+
userAction: string;
|
|
66
|
+
lessonSocketBackend: string;
|
|
67
|
+
keyboardEventsLocalSocketPath: string;
|
|
68
|
+
systemIdentifier: string;
|
|
69
|
+
};
|
|
70
|
+
graphQLConfiguration: {
|
|
71
|
+
serverBasePath: string;
|
|
72
|
+
minDifferentBeforeNextPage: number;
|
|
73
|
+
};
|
|
74
|
+
pagesRouteWithoutHeader: Array<string>;
|
|
75
|
+
resourcePaths: {
|
|
76
|
+
resourceSubscriptionUpdate: string;
|
|
77
|
+
resourceUpdateAuthorizations: string;
|
|
78
|
+
};
|
|
79
|
+
authenticationPaths: AuthenticationPaths;
|
|
80
|
+
buckets: {
|
|
81
|
+
GeneralFiles: string;
|
|
82
|
+
Story: string;
|
|
83
|
+
Pdf: string;
|
|
84
|
+
Video: string;
|
|
85
|
+
Presentation: string;
|
|
86
|
+
PreviewImage: string;
|
|
87
|
+
Paka: string;
|
|
88
|
+
ResourceFile: string;
|
|
89
|
+
Audio: string;
|
|
90
|
+
};
|
|
91
|
+
filesSuffixes: {
|
|
92
|
+
Story: string;
|
|
93
|
+
Pdf: string;
|
|
94
|
+
Video: string;
|
|
95
|
+
Presentation: string;
|
|
96
|
+
};
|
|
97
|
+
checkboxTypes: {
|
|
98
|
+
unchecked: string;
|
|
99
|
+
indeterminate: string;
|
|
100
|
+
checked: string;
|
|
101
|
+
error: string;
|
|
102
|
+
disabled: string;
|
|
103
|
+
};
|
|
104
|
+
radioButtonTypes: {
|
|
105
|
+
disabled: string;
|
|
106
|
+
error: string;
|
|
107
|
+
checked: string;
|
|
108
|
+
completed: string;
|
|
109
|
+
};
|
|
110
|
+
resources: {
|
|
111
|
+
story: string;
|
|
112
|
+
quiz: string;
|
|
113
|
+
exercise: string;
|
|
114
|
+
text: string;
|
|
115
|
+
};
|
|
116
|
+
keyboardKeySpace: number;
|
|
117
|
+
keyboardKeyRight: number;
|
|
118
|
+
keyboardKeyLeft: number;
|
|
119
|
+
keyboardKeyEnter: number;
|
|
120
|
+
exercisesCollection: string;
|
|
121
|
+
feedIconsBasePath: string;
|
|
122
|
+
mainStructTreeRootId: string;
|
|
123
|
+
maxTreeHeight: number;
|
|
124
|
+
sixMonthsInDays: number;
|
|
125
|
+
};
|
|
126
|
+
declare const HERUM_SHARED_CONFIG_TOKEN: InjectionToken<EnvironmentConfig>;
|
|
127
|
+
|
|
128
|
+
export { HERUM_SHARED_CONFIG_TOKEN };
|
|
129
|
+
export type { AuthenticationPaths, EnvironmentConfig, MongoUpdates };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { EnvironmentConfig } from 'herum-shared/environment';
|
|
5
|
+
import * as i2 from '@angular/common';
|
|
6
|
+
|
|
7
|
+
declare class ErrorMessageDialogComponent implements OnInit {
|
|
8
|
+
dialogRef: MatDialogRef<ErrorMessageDialogComponent>;
|
|
9
|
+
data: any;
|
|
10
|
+
private environmentConfig;
|
|
11
|
+
errorImagePath: string;
|
|
12
|
+
constructor(dialogRef: MatDialogRef<ErrorMessageDialogComponent>, data: any, environmentConfig: EnvironmentConfig);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
_onSubmit(): void;
|
|
15
|
+
_onClose(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMessageDialogComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorMessageDialogComponent, "error-message-dialog", never, {}, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare class ErrorsModule {
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorsModule, never>;
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ErrorsModule, [typeof ErrorMessageDialogComponent], [typeof i2.CommonModule], [typeof ErrorMessageDialogComponent]>;
|
|
23
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ErrorsModule>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { ErrorMessageDialogComponent, ErrorsModule };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
2
|
+
|
|
3
|
+
const openClose = trigger('openClose', [
|
|
4
|
+
state('openUp', style({
|
|
5
|
+
opacity: 1,
|
|
6
|
+
transform: 'translateY(-100%)'
|
|
7
|
+
})),
|
|
8
|
+
state('openDown', style({
|
|
9
|
+
opacity: 1
|
|
10
|
+
})),
|
|
11
|
+
state('closeDown', style({
|
|
12
|
+
top: 0,
|
|
13
|
+
transform: 'translateY(-100%)',
|
|
14
|
+
opacity: 0,
|
|
15
|
+
height: '0px',
|
|
16
|
+
})),
|
|
17
|
+
state('closeUp', style({
|
|
18
|
+
opacity: 0,
|
|
19
|
+
height: '0px',
|
|
20
|
+
padding: 0
|
|
21
|
+
})),
|
|
22
|
+
transition('openUp => closeDown', [
|
|
23
|
+
animate('350ms ease-in')
|
|
24
|
+
]),
|
|
25
|
+
transition('closeDown => openUp', [
|
|
26
|
+
animate('350ms ease-out')
|
|
27
|
+
]),
|
|
28
|
+
transition('openDown => closeUp', [
|
|
29
|
+
animate('350ms ease-out')
|
|
30
|
+
]),
|
|
31
|
+
transition('closeUp => openDown', [
|
|
32
|
+
animate('350ms ease-in')
|
|
33
|
+
])
|
|
34
|
+
]);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Generated bundle index. Do not edit.
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
export { openClose };
|
|
41
|
+
//# sourceMappingURL=herum-shared-animations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"herum-shared-animations.mjs","sources":["../../../projects/herum-shared/animations/open-close.ts","../../../projects/herum-shared/animations/herum-shared-animations.ts"],"sourcesContent":["import { trigger, state, style, animate, transition } from '@angular/animations'; \r\n \r\nexport const openClose = trigger('openClose', [ \r\n state('openUp', style({ \r\n opacity: 1, \r\n transform: 'translateY(-100%)' \r\n })), \r\n \r\n state('openDown', style({ \r\n opacity: 1 \r\n })), \r\n \r\n state('closeDown', style({ \r\n top: 0, \r\n transform: 'translateY(-100%)', \r\n opacity: 0, \r\n height: '0px' ,\r\n })), \r\n \r\n state('closeUp', style({ \r\n opacity: 0, \r\n height: '0px' ,\r\n padding:0\r\n })), \r\n \r\n transition('openUp => closeDown', [ \r\n animate('350ms ease-in') \r\n ]), \r\n \r\n transition('closeDown => openUp', [ \r\n animate('350ms ease-out') \r\n ]), \r\n \r\n transition('openDown => closeUp', [ \r\n animate('350ms ease-out') \r\n ]), \r\n \r\n transition('closeUp => openDown', [ \r\n animate('350ms ease-in') \r\n ]) \r\n])","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEO,MAAM,SAAS,GAAG,OAAO,CAAC,WAAW,EAAE;AAC1C,IAAA,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC;AAClB,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,SAAS,EAAE;AACd,KAAA,CAAC,CAAC;AAEH,IAAA,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC;AACpB,QAAA,OAAO,EAAE;AACZ,KAAA,CAAC,CAAC;AAEH,IAAA,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC;AACrB,QAAA,GAAG,EAAE,CAAC;AACN,QAAA,SAAS,EAAE,mBAAmB;AAC9B,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,MAAM,EAAE,KAAK;AAChB,KAAA,CAAC,CAAC;AAEH,IAAA,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC;AACnB,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,MAAM,EAAE,KAAK;AACb,QAAA,OAAO,EAAC;AACX,KAAA,CAAC,CAAC;IAEH,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,eAAe;KAC1B,CAAC;IAEF,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,gBAAgB;KAC3B,CAAC;IAEF,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,gBAAgB;KAC3B,CAAC;IAEF,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,eAAe;KAC1B;AACJ,CAAA;;ACxCD;;AAEG;;;;"}
|