herum-shared 0.1.38 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/shared/audio-images/purple-pause.svg +4 -0
- package/assets/shared/audio-images/purple-play.svg +3 -0
- package/atoms/index.d.ts +55 -55
- package/constants/index.d.ts +186 -136
- package/dialogs/index.d.ts +4 -3
- package/environment/index.d.ts +2 -35
- package/fesm2022/herum-shared-animations.mjs +4 -0
- package/fesm2022/herum-shared-animations.mjs.map +1 -1
- package/fesm2022/herum-shared-atoms.mjs +111 -109
- package/fesm2022/herum-shared-atoms.mjs.map +1 -1
- package/fesm2022/herum-shared-constants.mjs +205 -162
- package/fesm2022/herum-shared-constants.mjs.map +1 -1
- package/fesm2022/herum-shared-decorators.mjs +4 -0
- package/fesm2022/herum-shared-decorators.mjs.map +1 -1
- package/fesm2022/herum-shared-dialogs.mjs +7 -4
- package/fesm2022/herum-shared-dialogs.mjs.map +1 -1
- package/fesm2022/herum-shared-directives.mjs +5 -1
- package/fesm2022/herum-shared-directives.mjs.map +1 -1
- package/fesm2022/herum-shared-environment.mjs +4 -0
- package/fesm2022/herum-shared-environment.mjs.map +1 -1
- package/fesm2022/herum-shared-errors.mjs +5 -1
- package/fesm2022/herum-shared-errors.mjs.map +1 -1
- package/fesm2022/herum-shared-fetched-message.mjs +39 -30
- package/fesm2022/herum-shared-fetched-message.mjs.map +1 -1
- package/fesm2022/herum-shared-molecules.mjs +57 -28
- package/fesm2022/herum-shared-molecules.mjs.map +1 -1
- package/fesm2022/herum-shared-mongo.mjs +414 -150
- package/fesm2022/herum-shared-mongo.mjs.map +1 -1
- package/fesm2022/herum-shared-objectsExample.mjs +5 -1
- package/fesm2022/herum-shared-objectsExample.mjs.map +1 -1
- package/fesm2022/herum-shared-pipes.mjs +64 -60
- package/fesm2022/herum-shared-pipes.mjs.map +1 -1
- package/fesm2022/herum-shared-services.mjs +144 -321
- package/fesm2022/herum-shared-services.mjs.map +1 -1
- package/fesm2022/herum-shared-static-services.mjs +4 -0
- package/fesm2022/herum-shared-static-services.mjs.map +1 -1
- package/fesm2022/herum-shared-table.mjs +61 -48
- package/fesm2022/herum-shared-table.mjs.map +1 -1
- package/fesm2022/herum-shared-testsObjects.mjs +89 -119
- package/fesm2022/herum-shared-testsObjects.mjs.map +1 -1
- package/fesm2022/herum-shared-tokens.mjs +4 -0
- package/fesm2022/herum-shared-tokens.mjs.map +1 -1
- package/fesm2022/herum-shared-utils.mjs +43 -39
- package/fesm2022/herum-shared-utils.mjs.map +1 -1
- package/fesm2022/herum-shared-validators.mjs +4 -0
- package/fesm2022/herum-shared-validators.mjs.map +1 -1
- package/fesm2022/herum-shared.mjs +9090 -924
- package/fesm2022/herum-shared.mjs.map +1 -1
- package/fetched-message/index.d.ts +11 -11
- package/index.d.ts +1673 -281
- package/molecules/index.d.ts +11 -8
- package/mongo/index.d.ts +125 -66
- package/objectsExample/index.d.ts +3 -1
- package/package.json +2 -5
- package/pipes/index.d.ts +25 -21
- package/services/index.d.ts +56 -67
- package/styles/_mixin.scss +2 -2
- package/styles/dialogs.scss +0 -5
- package/styles/variables/_colors.scss +5 -109
- package/styles/variables/_sizes.scss +2 -9
- package/table/index.d.ts +25 -18
- package/testsObjects/index.d.ts +3 -3
- package/tokens/index.d.ts +6 -4
- package/utils/index.d.ts +14 -10
- package/fesm2022/herum-shared-herum-types.mjs +0 -107
- package/fesm2022/herum-shared-herum-types.mjs.map +0 -1
- package/herum-types/index.d.ts +0 -200
- package/styles/variables/_colors.college.scss +0 -65
package/index.d.ts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, OnChanges, OnDestroy, ElementRef, SimpleChanges, AfterViewInit, OnInit, ChangeDetectorRef, QueryList, TemplateRef, Renderer2, PipeTransform } from '@angular/core';
|
|
3
|
-
import { ResourceGradeUpdate,
|
|
2
|
+
import { EventEmitter, OnChanges, OnDestroy, ElementRef, SimpleChanges, AfterViewInit, OnInit, NgZone, ChangeDetectorRef, QueryList, TemplateRef, Renderer2, PipeTransform, SimpleChange, ErrorHandler, RendererFactory2, InjectionToken } from '@angular/core';
|
|
3
|
+
import { ResourceGradeUpdate, Resource, QuizData, Question, Answer, ModifiedResource, MicroResourceAuthorizationType, MicroResourceFrontData, QuizGradeData } from 'herum-types/Resource';
|
|
4
|
+
import * as rxjs from 'rxjs';
|
|
4
5
|
import { Subject, BehaviorSubject, Observable } from 'rxjs';
|
|
5
|
-
import { GlobalKeyboardListenerService, KeyPressService, TrackTextChangesService, UtilsService, CommonGraphqlRequestsService } from 'herum-shared/services';
|
|
6
|
-
import {
|
|
6
|
+
import { GlobalKeyboardListenerService as GlobalKeyboardListenerService$1, KeyPressService as KeyPressService$1, TrackTextChangesService as TrackTextChangesService$1, UtilsService as UtilsService$1, CommonGraphqlRequestsService as CommonGraphqlRequestsService$1, ToastsService as ToastsService$1, LoaderManagerService as LoaderManagerService$1, AuthService as AuthService$1, DbActionsInnerIdManagerService as DbActionsInnerIdManagerService$1 } from 'herum-shared/services';
|
|
7
|
+
import { MediaSettings, IdentifiedEntity, ViewModelType, AudioVisualConfiguration, TreeNode, NodeMenuItem, SystemTreeNodeData, TimeRange, DateTimePicker, FileData, RecursiveTitledOption, MenuItem, SignUpField, DisplayIdentifiedEntity, TreeNodeAssignmentsData, Step, KeyValue, ProgressOverView, SignInFormData, SignUpFormData, ClosedList, GlobalKeyboardEvent, SystemIdentifier, ModelInfo } from 'herum-types/Shared';
|
|
8
|
+
import { ResourceSubscription, UserAnswer, UserQuestionData, User, CollectionSubscription, AnswerNote, SecurityQuestion } from 'herum-types/User';
|
|
9
|
+
import { IMediaPlayer, ISystemTrackTextChangesService, ISystemUserService } from 'herum-types/interfaces';
|
|
10
|
+
import { TextChange, TextChangeStyle } from 'herum-types/TrackTextChanges';
|
|
11
|
+
import { UserPreview, ResourcePreview } from 'herum-types/Previews';
|
|
12
|
+
import { AnimationItem } from 'lottie-web';
|
|
13
|
+
import { EnvironmentConfig as EnvironmentConfig$1, AuthenticationPaths as AuthenticationPaths$1, MongoUpdates as MongoUpdates$1 } from 'herum-shared/environment';
|
|
7
14
|
import * as i40 from '@angular/forms';
|
|
8
15
|
import { FormControl, FormGroup, FormBuilder, ControlValueAccessor, NgControl, ControlContainer, ValidatorFn, AsyncValidatorFn } from '@angular/forms';
|
|
9
16
|
import * as i4 from 'herum-shared/atoms';
|
|
@@ -28,17 +35,121 @@ import * as i51 from '@angular/material/slider';
|
|
|
28
35
|
import * as i52 from '@angular/cdk/drag-drop';
|
|
29
36
|
import * as i54 from '@angular/material/core';
|
|
30
37
|
import { DateAdapter } from '@angular/material/core';
|
|
31
|
-
import { HttpClient, HttpRequest, HttpErrorResponse } from '@angular/common/http';
|
|
38
|
+
import { HttpClient, HttpHeaders, HttpRequest, HttpErrorResponse } from '@angular/common/http';
|
|
32
39
|
import { MatDialogRef, MatDialog } from '@angular/material/dialog';
|
|
40
|
+
import { DialogConfig, FetchedMessage } from 'herum-types/Dialogs';
|
|
33
41
|
import * as i6 from 'herum-shared/molecules';
|
|
42
|
+
import { HerumTableParams, AlignDir, HoveredHerumRowTable, BaseRowData } from 'herum-types/Table';
|
|
34
43
|
import * as i55 from 'herum-shared/directives';
|
|
35
44
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
36
45
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
46
|
+
import { CollectionBase, Collection } from 'herum-types/Collection';
|
|
37
47
|
import { SplitGutterInteractionEvent } from 'angular-split';
|
|
38
|
-
import * as
|
|
48
|
+
import * as i16 from 'ag-grid-angular';
|
|
39
49
|
import { ICellRendererAngularComp, AgFilterComponent } from 'ag-grid-angular';
|
|
40
50
|
import { ICellRendererParams, ColDef, GridApi, ColumnApi, GridReadyEvent, ModelUpdatedEvent, IFilterParams, IDoesFilterPassParams } from 'ag-grid-community';
|
|
51
|
+
import { Router } from '@angular/router';
|
|
52
|
+
import { GraphQlQuery, GQLVariable, GraphQLFilter, GraphQlOffsetPaging, GraphQLOrder } from 'herum-types/GraphQL';
|
|
53
|
+
import { AuthenticationResponse } from 'herum-types/Auth';
|
|
54
|
+
import { Group } from 'herum-types/Group';
|
|
55
|
+
import { LessonResourceSubscription, Lesson, MicroResourceAuthorizationBase, LessonStudentSubscription, BackendMicroResourceAuthorization } from 'herum-types/Lessons';
|
|
56
|
+
import { UsersLessonPermissionsDalResponse, DbActionResponse } from 'herum-types/GenericUpdates';
|
|
57
|
+
import { HadrachaPage } from 'herum-types/HadrachaPage';
|
|
58
|
+
import { Toast, ToastTemplate, ToastStatus, ToastContext, ToastState, CommonDependentsToast, ToastHttpResponseDependencies } from 'herum-types/Toast';
|
|
59
|
+
import { UploadProgressStatus, UploadProgressType, FailedDependentsRequestsContext, ComplexObservableArrowFunctions, DependentMetadata, ObservableArrowFunction, UploadProgressMetadata } from 'herum-types/uploads-manager';
|
|
41
60
|
import * as _angular_animations from '@angular/animations';
|
|
61
|
+
import { PermissionTemplate } from 'herum-types/Permission';
|
|
62
|
+
import { validatorsNames as validatorsNames$1 } from 'herum-shared/constants';
|
|
63
|
+
|
|
64
|
+
type MongoUpdates = {
|
|
65
|
+
CollectionCategories: {
|
|
66
|
+
Metadata: string;
|
|
67
|
+
};
|
|
68
|
+
Collections: {
|
|
69
|
+
Collections: string;
|
|
70
|
+
HadrachaPages: string;
|
|
71
|
+
HadrachaPage: string;
|
|
72
|
+
LessonTemplates: string;
|
|
73
|
+
Lessons: string;
|
|
74
|
+
Groups: string;
|
|
75
|
+
Playlists: string;
|
|
76
|
+
Resources: string;
|
|
77
|
+
PartialResources: string;
|
|
78
|
+
Structs: string;
|
|
79
|
+
StructsPaginatedLessons: string;
|
|
80
|
+
Users: string;
|
|
81
|
+
PartialUsers: string;
|
|
82
|
+
User: string;
|
|
83
|
+
Tags: string;
|
|
84
|
+
ClosedLists: string;
|
|
85
|
+
Subjects: string;
|
|
86
|
+
CommonQuestionSections: string;
|
|
87
|
+
};
|
|
88
|
+
Methods: {
|
|
89
|
+
AddOrUpdate: string;
|
|
90
|
+
ModelInfo: string;
|
|
91
|
+
Attach: string;
|
|
92
|
+
Delete: string;
|
|
93
|
+
ListItemDeletion: string;
|
|
94
|
+
Create: string;
|
|
95
|
+
Basic: string;
|
|
96
|
+
Update: string;
|
|
97
|
+
ListItem: string;
|
|
98
|
+
};
|
|
99
|
+
Submethods: {
|
|
100
|
+
AndAttach: string;
|
|
101
|
+
Duplicate: string;
|
|
102
|
+
};
|
|
103
|
+
Options: {
|
|
104
|
+
Bulk: string;
|
|
105
|
+
SetFile: string;
|
|
106
|
+
SetFiles: string;
|
|
107
|
+
ResourceFiles: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
type AuthenticationPaths = {
|
|
112
|
+
tryLogin: string;
|
|
113
|
+
signUp: string;
|
|
114
|
+
isValidSessionId: string;
|
|
115
|
+
isUniqueUser: string;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
type EnvironmentConfig = {
|
|
119
|
+
mongoUpdates?: MongoUpdates;
|
|
120
|
+
environment: {
|
|
121
|
+
production: boolean;
|
|
122
|
+
envName: string;
|
|
123
|
+
siteServerPath: string;
|
|
124
|
+
filesDisplayServerPath?: string;
|
|
125
|
+
s3ServerPath: string;
|
|
126
|
+
userAction: string;
|
|
127
|
+
lessonSocketBackend: string;
|
|
128
|
+
keyboardEventsLocalSocketPath: string;
|
|
129
|
+
systemIdentifier: string;
|
|
130
|
+
};
|
|
131
|
+
graphQLConfiguration: {
|
|
132
|
+
serverBasePath: string;
|
|
133
|
+
minDifferentBeforeNextPage: number;
|
|
134
|
+
};
|
|
135
|
+
pagesRouteWithoutHeader: Array<string>;
|
|
136
|
+
resourcePaths: {
|
|
137
|
+
resourceSubscriptionUpdate: string;
|
|
138
|
+
resourceUpdateAuthorizations: string;
|
|
139
|
+
};
|
|
140
|
+
authenticationPaths: AuthenticationPaths;
|
|
141
|
+
buckets: {
|
|
142
|
+
GeneralFiles: string;
|
|
143
|
+
Story: string;
|
|
144
|
+
Pdf: string;
|
|
145
|
+
Video: string;
|
|
146
|
+
Presentation: string;
|
|
147
|
+
PreviewImage: string;
|
|
148
|
+
Paka: string;
|
|
149
|
+
ResourceFile: string;
|
|
150
|
+
Audio: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
42
153
|
|
|
43
154
|
interface IHerumInterface {
|
|
44
155
|
srcPath: string;
|
|
@@ -46,6 +157,7 @@ interface IHerumInterface {
|
|
|
46
157
|
onGradeUpdate: EventEmitter<ResourceGradeUpdate>;
|
|
47
158
|
}
|
|
48
159
|
|
|
160
|
+
type Interval = ReturnType<typeof setInterval>;
|
|
49
161
|
declare class HerumVideoPlayerComponent implements OnChanges, OnDestroy, IHerumInterface, IMediaPlayer {
|
|
50
162
|
private globalKeyboardListener;
|
|
51
163
|
private keyPressService;
|
|
@@ -58,9 +170,9 @@ declare class HerumVideoPlayerComponent implements OnChanges, OnDestroy, IHerumI
|
|
|
58
170
|
isBlock: boolean;
|
|
59
171
|
id: string;
|
|
60
172
|
getTimeUpdate: number;
|
|
61
|
-
onGradeUpdate: EventEmitter<
|
|
173
|
+
onGradeUpdate: EventEmitter<ResourceGradeUpdate>;
|
|
62
174
|
isLoadingChange: EventEmitter<boolean>;
|
|
63
|
-
mediaSettingsUpdate: EventEmitter<
|
|
175
|
+
mediaSettingsUpdate: EventEmitter<MediaSettings>;
|
|
64
176
|
mediaSettingsUpdateByRequest: EventEmitter<number>;
|
|
65
177
|
videoPlayer: ElementRef;
|
|
66
178
|
_onKeyDown(event: KeyboardEvent): void;
|
|
@@ -77,9 +189,9 @@ declare class HerumVideoPlayerComponent implements OnChanges, OnDestroy, IHerumI
|
|
|
77
189
|
canPlay: boolean;
|
|
78
190
|
isToUpdateGrade$: Subject<void>;
|
|
79
191
|
destroySubject$: Subject<null>;
|
|
80
|
-
updateGradeInterval:
|
|
81
|
-
updateCurrentTimeInterval:
|
|
82
|
-
constructor(globalKeyboardListener: GlobalKeyboardListenerService, keyPressService: KeyPressService);
|
|
192
|
+
updateGradeInterval: Interval;
|
|
193
|
+
updateCurrentTimeInterval: Interval;
|
|
194
|
+
constructor(globalKeyboardListener: GlobalKeyboardListenerService$1, keyPressService: KeyPressService$1);
|
|
83
195
|
ngOnChanges(changes: SimpleChanges): void;
|
|
84
196
|
private resetVideoState;
|
|
85
197
|
private setGradeInterval;
|
|
@@ -163,7 +275,8 @@ declare class TrackTextChangesComponent implements AfterViewInit, OnChanges {
|
|
|
163
275
|
isReadOnly: boolean;
|
|
164
276
|
fontSize: number;
|
|
165
277
|
showComments: boolean;
|
|
166
|
-
|
|
278
|
+
allowedActions?: ("addition" | "deletion" | "comment")[];
|
|
279
|
+
changesEmitter: EventEmitter<TextChange[]>;
|
|
167
280
|
editor: ElementRef;
|
|
168
281
|
trackChangesEnabled: boolean;
|
|
169
282
|
currentSelection: {
|
|
@@ -191,9 +304,10 @@ declare class TrackTextChangesComponent implements AfterViewInit, OnChanges {
|
|
|
191
304
|
isCursorInsideMarker: boolean;
|
|
192
305
|
private editingCommentElement;
|
|
193
306
|
markerTimeoutId: any;
|
|
307
|
+
private readonly defaultAllowedActions;
|
|
194
308
|
textChangeStyle: TextChangeStyle;
|
|
195
309
|
commentTextHoverColor: string;
|
|
196
|
-
constructor(trackTextChangesService: TrackTextChangesService);
|
|
310
|
+
constructor(trackTextChangesService: TrackTextChangesService$1);
|
|
197
311
|
ngOnChanges(changes: SimpleChanges): void;
|
|
198
312
|
ngAfterViewInit(): void;
|
|
199
313
|
_onKeyDown(event: KeyboardEvent): void;
|
|
@@ -357,8 +471,9 @@ declare class TrackTextChangesComponent implements AfterViewInit, OnChanges {
|
|
|
357
471
|
get informationIconSvgString(): string;
|
|
358
472
|
get messagePlusIconSvgString(): string;
|
|
359
473
|
ngOnDestroy(): void;
|
|
474
|
+
private isActionAllowed;
|
|
360
475
|
static ɵfac: i0.ɵɵFactoryDeclaration<TrackTextChangesComponent, never>;
|
|
361
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TrackTextChangesComponent, "track-text-changes", never, { "changes": { "alias": "changes"; "required": false; }; "selectedChange": { "alias": "selectedChange"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; "baseContent": { "alias": "baseContent"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "showComments": { "alias": "showComments"; "required": false; }; }, { "changesEmitter": "changesEmitter"; }, never, never, false, never>;
|
|
476
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TrackTextChangesComponent, "track-text-changes", never, { "changes": { "alias": "changes"; "required": false; }; "selectedChange": { "alias": "selectedChange"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; "baseContent": { "alias": "baseContent"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "showComments": { "alias": "showComments"; "required": false; }; "allowedActions": { "alias": "allowedActions"; "required": false; }; }, { "changesEmitter": "changesEmitter"; }, never, never, false, never>;
|
|
362
477
|
}
|
|
363
478
|
|
|
364
479
|
declare class HerumVideoRangeBarComponent implements OnInit {
|
|
@@ -375,7 +490,7 @@ declare class HerumPdfViewerComponent implements OnChanges, IHerumInterface {
|
|
|
375
490
|
srcPath: string;
|
|
376
491
|
isResourceInWideMode: boolean;
|
|
377
492
|
resourceId: string;
|
|
378
|
-
onGradeUpdate: EventEmitter<
|
|
493
|
+
onGradeUpdate: EventEmitter<ResourceGradeUpdate>;
|
|
379
494
|
pdfFrame: ElementRef;
|
|
380
495
|
ngOnChanges(): void;
|
|
381
496
|
private updateGrade;
|
|
@@ -389,7 +504,7 @@ declare class HerumStoryViewerComponent implements OnChanges, IHerumInterface {
|
|
|
389
504
|
srcPath: string;
|
|
390
505
|
isResourceInWideMode: boolean;
|
|
391
506
|
resourceId: string;
|
|
392
|
-
onGradeUpdate: EventEmitter<
|
|
507
|
+
onGradeUpdate: EventEmitter<ResourceGradeUpdate>;
|
|
393
508
|
constructor();
|
|
394
509
|
ngOnChanges(): void;
|
|
395
510
|
private updateGrade;
|
|
@@ -400,7 +515,7 @@ declare class HerumStoryViewerComponent implements OnChanges, IHerumInterface {
|
|
|
400
515
|
declare class HerumPresentationViewerComponent implements OnInit, IHerumInterface {
|
|
401
516
|
srcPath: string;
|
|
402
517
|
resourceId: string;
|
|
403
|
-
onGradeUpdate: EventEmitter<
|
|
518
|
+
onGradeUpdate: EventEmitter<ResourceGradeUpdate>;
|
|
404
519
|
constructor();
|
|
405
520
|
ngOnInit(): void;
|
|
406
521
|
private updateGrade;
|
|
@@ -410,12 +525,15 @@ declare class HerumPresentationViewerComponent implements OnInit, IHerumInterfac
|
|
|
410
525
|
|
|
411
526
|
declare class HerumLoaderComponent {
|
|
412
527
|
private environmentConfig;
|
|
528
|
+
private ngZone;
|
|
413
529
|
loaderText: string;
|
|
414
530
|
lottieRef: ElementRef;
|
|
415
531
|
isHadracha: boolean;
|
|
416
|
-
|
|
532
|
+
loaderAnimation: AnimationItem;
|
|
533
|
+
constructor(environmentConfig: EnvironmentConfig$1, ngZone: NgZone);
|
|
417
534
|
ngOnInit(): void;
|
|
418
535
|
ngAfterViewInit(): void;
|
|
536
|
+
ngOnDestroy(): void;
|
|
419
537
|
static ɵfac: i0.ɵɵFactoryDeclaration<HerumLoaderComponent, never>;
|
|
420
538
|
static ɵcmp: i0.ɵɵComponentDeclaration<HerumLoaderComponent, "herum-loader", never, { "loaderText": { "alias": "loaderText"; "required": false; }; }, {}, never, never, false, never>;
|
|
421
539
|
}
|
|
@@ -433,14 +551,14 @@ declare class HerumQuizComponent implements OnChanges {
|
|
|
433
551
|
ngOnChanges(changes: SimpleChanges): void;
|
|
434
552
|
get currentQuestionIndex(): number;
|
|
435
553
|
get currentQuestionValidation(): boolean;
|
|
436
|
-
get nextButtonText(): "התחל מבחן" | "חזרה למסך סיכום" | "סיים מבחן" | "הגשת מבחן" | "
|
|
554
|
+
get nextButtonText(): "התחל מבחן" | "חזרה למסך סיכום" | "סיים מבחן" | "הגשת מבחן" | "ניסיון חוזר" | "לשאלה הבאה";
|
|
437
555
|
_previousQuestion(): void;
|
|
438
556
|
get previousButtonText(): "לשאלה הקודמת" | "חזרה לשאלה הראשונה";
|
|
439
557
|
get isValidQuiz(): boolean;
|
|
440
558
|
get isLastQuestion(): boolean;
|
|
441
|
-
getCorrectAnswersCount(question: Question):
|
|
559
|
+
getCorrectAnswersCount(question: Question): number;
|
|
442
560
|
_nextQuestion(isSkipped?: boolean): void;
|
|
443
|
-
_getUserAnswers(questionId: string):
|
|
561
|
+
_getUserAnswers(questionId: string): UserAnswer[];
|
|
444
562
|
_selectQuestion(questionIndex: number): void;
|
|
445
563
|
_onAnswersChange(userAnswers: UserAnswer[], questionId: string): void;
|
|
446
564
|
private updateQuizUserAnswer;
|
|
@@ -463,7 +581,9 @@ declare class QuizHeaderComponent {
|
|
|
463
581
|
private isQuestionAnswered;
|
|
464
582
|
private isUserAnsweredCorrect;
|
|
465
583
|
get questionsContainerWidth(): any;
|
|
466
|
-
get questionsState():
|
|
584
|
+
get questionsState(): {
|
|
585
|
+
index: number;
|
|
586
|
+
}[];
|
|
467
587
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuizHeaderComponent, never>;
|
|
468
588
|
static ɵcmp: i0.ɵɵComponentDeclaration<QuizHeaderComponent, "quiz-header", never, { "quizData": { "alias": "quizData"; "required": false; }; }, { "onSelectQuestion": "onSelectQuestion"; "onReturnToGradePage": "onReturnToGradePage"; }, never, never, false, never>;
|
|
469
589
|
}
|
|
@@ -472,18 +592,18 @@ declare class QuizTwoAnswersQuestionComponent {
|
|
|
472
592
|
question: Question;
|
|
473
593
|
userAnswers: UserAnswer[];
|
|
474
594
|
isSubmitted: boolean;
|
|
475
|
-
onAnswersChange: EventEmitter<
|
|
595
|
+
onAnswersChange: EventEmitter<UserAnswer[]>;
|
|
476
596
|
selectedAnswer: string;
|
|
477
597
|
_onAnswersChange(answer: Answer): void;
|
|
478
598
|
_getAnswerClass(answer: Answer): string;
|
|
479
599
|
_isTruncatedTitleElement(element: HTMLElement): boolean;
|
|
600
|
+
get questionAnswers(): Answer[];
|
|
480
601
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuizTwoAnswersQuestionComponent, never>;
|
|
481
602
|
static ɵcmp: i0.ɵɵComponentDeclaration<QuizTwoAnswersQuestionComponent, "quiz-two-answers-question", never, { "question": { "alias": "question"; "required": false; }; "userAnswers": { "alias": "userAnswers"; "required": false; }; "isSubmitted": { "alias": "isSubmitted"; "required": false; }; }, { "onAnswersChange": "onAnswersChange"; }, never, never, false, never>;
|
|
482
603
|
}
|
|
483
604
|
|
|
484
|
-
declare class QuizOneAnswerQuestionComponent implements
|
|
605
|
+
declare class QuizOneAnswerQuestionComponent implements OnChanges {
|
|
485
606
|
private changeDetectorRef;
|
|
486
|
-
private environmentConfig;
|
|
487
607
|
instructionTitle: string;
|
|
488
608
|
question: Question;
|
|
489
609
|
userAnswers: UserAnswer[];
|
|
@@ -491,22 +611,23 @@ declare class QuizOneAnswerQuestionComponent implements OnInit, OnChanges {
|
|
|
491
611
|
areAnswersRevealed: boolean;
|
|
492
612
|
areAnswersBlocked: boolean;
|
|
493
613
|
isCheckingMode: boolean;
|
|
494
|
-
onAnswersChange: EventEmitter<
|
|
614
|
+
onAnswersChange: EventEmitter<UserAnswer[]>;
|
|
495
615
|
convertedOptions: {
|
|
496
616
|
id: string;
|
|
497
617
|
name: string;
|
|
498
618
|
}[];
|
|
499
619
|
selectedAnswer: FormControl;
|
|
500
|
-
destroySubject$: Subject<null>;
|
|
501
620
|
answerNotes: string[];
|
|
502
621
|
correctAnswer: IdentifiedEntity;
|
|
503
|
-
constructor(changeDetectorRef: ChangeDetectorRef
|
|
622
|
+
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
504
623
|
ngOnChanges(changes: SimpleChanges): void;
|
|
624
|
+
private get isRadioBlocked();
|
|
505
625
|
private getAnswerNotes;
|
|
506
626
|
private convertToOptions;
|
|
627
|
+
private getChosenAnswerId;
|
|
507
628
|
private isCheckedAnswerCorrect;
|
|
508
|
-
|
|
509
|
-
|
|
629
|
+
_onAnswerSelected(answerId: string): void;
|
|
630
|
+
private get questionAnswers();
|
|
510
631
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuizOneAnswerQuestionComponent, never>;
|
|
511
632
|
static ɵcmp: i0.ɵɵComponentDeclaration<QuizOneAnswerQuestionComponent, "quiz-one-answer-question", never, { "instructionTitle": { "alias": "instructionTitle"; "required": false; }; "question": { "alias": "question"; "required": false; }; "userAnswers": { "alias": "userAnswers"; "required": false; }; "quizData": { "alias": "quizData"; "required": false; }; "areAnswersRevealed": { "alias": "areAnswersRevealed"; "required": false; }; "areAnswersBlocked": { "alias": "areAnswersBlocked"; "required": false; }; "isCheckingMode": { "alias": "isCheckingMode"; "required": false; }; }, { "onAnswersChange": "onAnswersChange"; }, never, never, false, never>;
|
|
512
633
|
}
|
|
@@ -535,15 +656,14 @@ declare class QuizGradeSheetComponent {
|
|
|
535
656
|
resourceSubscription: ResourceSubscription;
|
|
536
657
|
quizData: QuizData;
|
|
537
658
|
get isUserPassTheQuiz(): boolean;
|
|
538
|
-
get questionCount():
|
|
539
|
-
get quizName():
|
|
659
|
+
get questionCount(): number;
|
|
660
|
+
get quizName(): string;
|
|
540
661
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuizGradeSheetComponent, never>;
|
|
541
662
|
static ɵcmp: i0.ɵɵComponentDeclaration<QuizGradeSheetComponent, "quiz-grade-sheet", never, { "resourceSubscription": { "alias": "resourceSubscription"; "required": false; }; "quizData": { "alias": "quizData"; "required": false; }; }, {}, never, never, false, never>;
|
|
542
663
|
}
|
|
543
664
|
|
|
544
665
|
declare class QuizMultiAnswerQuestionComponent {
|
|
545
666
|
private fb;
|
|
546
|
-
private environmentConfig;
|
|
547
667
|
question: Question;
|
|
548
668
|
quizData: QuizData;
|
|
549
669
|
userAnswers: UserAnswer[];
|
|
@@ -551,7 +671,7 @@ declare class QuizMultiAnswerQuestionComponent {
|
|
|
551
671
|
areAnswersRevealed: boolean;
|
|
552
672
|
areAnswersBlocked: boolean;
|
|
553
673
|
correctAnswerCount: number;
|
|
554
|
-
onAnswersChange: EventEmitter<
|
|
674
|
+
onAnswersChange: EventEmitter<UserAnswer[]>;
|
|
555
675
|
onValidationChange: EventEmitter<boolean>;
|
|
556
676
|
checkboxes: QueryList<HerumCheckboxComponent$1>;
|
|
557
677
|
isValid: boolean;
|
|
@@ -559,17 +679,21 @@ declare class QuizMultiAnswerQuestionComponent {
|
|
|
559
679
|
answersForm: FormGroup;
|
|
560
680
|
destroySubject$: Subject<null>;
|
|
561
681
|
answerTypeAttributes: string[];
|
|
562
|
-
constructor(fb: FormBuilder
|
|
682
|
+
constructor(fb: FormBuilder);
|
|
563
683
|
ngOnChanges(changes: SimpleChanges): void;
|
|
684
|
+
private initQuestionFormControls;
|
|
685
|
+
private syncQuestionFormControls;
|
|
564
686
|
private setAnswerTypeAttributes;
|
|
565
687
|
_onAnswerClicked(index: number): void;
|
|
566
|
-
_isAnswerChecked(answerId: string):
|
|
688
|
+
_isAnswerChecked(answerId: string): boolean;
|
|
567
689
|
getTypeCheckbox(answerId: string): string;
|
|
568
690
|
private iAnswerCorrect;
|
|
569
691
|
_onAnswersChange(answer: Answer, isChosen: boolean): void;
|
|
570
692
|
private getFormControlValue;
|
|
693
|
+
private toIsChosen;
|
|
571
694
|
get controlNamePrefix(): string;
|
|
572
|
-
get isBlocked():
|
|
695
|
+
get isBlocked(): boolean;
|
|
696
|
+
get questionAnswers(): Answer[];
|
|
573
697
|
ngOnDestroy(): void;
|
|
574
698
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuizMultiAnswerQuestionComponent, never>;
|
|
575
699
|
static ɵcmp: i0.ɵɵComponentDeclaration<QuizMultiAnswerQuestionComponent, "quiz-multi-answer-question", never, { "question": { "alias": "question"; "required": false; }; "quizData": { "alias": "quizData"; "required": false; }; "userAnswers": { "alias": "userAnswers"; "required": false; }; "isCheckingMode": { "alias": "isCheckingMode"; "required": false; }; "areAnswersRevealed": { "alias": "areAnswersRevealed"; "required": false; }; "areAnswersBlocked": { "alias": "areAnswersBlocked"; "required": false; }; "correctAnswerCount": { "alias": "correctAnswerCount"; "required": false; }; }, { "onAnswersChange": "onAnswersChange"; "onValidationChange": "onValidationChange"; }, never, never, false, never>;
|
|
@@ -692,10 +816,11 @@ declare class AudioPlayerComponent implements OnInit, IMediaPlayer {
|
|
|
692
816
|
audioFile: File;
|
|
693
817
|
mediaSettings: MediaSettings;
|
|
694
818
|
bucketName: string;
|
|
819
|
+
theme: 'default' | 'purple';
|
|
695
820
|
periodicCurrentTime: EventEmitter<number>;
|
|
696
821
|
isLoadingChange: EventEmitter<boolean>;
|
|
697
822
|
timingUpdateByRequest: EventEmitter<any>;
|
|
698
|
-
mediaSettingsUpdate: EventEmitter<
|
|
823
|
+
mediaSettingsUpdate: EventEmitter<MediaSettings>;
|
|
699
824
|
audioCanvas: ElementRef<HTMLCanvasElement>;
|
|
700
825
|
slider: ElementRef<HTMLInputElement>;
|
|
701
826
|
audioContainer: ElementRef;
|
|
@@ -719,9 +844,12 @@ declare class AudioPlayerComponent implements OnInit, IMediaPlayer {
|
|
|
719
844
|
timeupdate: () => void;
|
|
720
845
|
};
|
|
721
846
|
destroySubject$: Subject<null>;
|
|
722
|
-
|
|
847
|
+
abortController: AbortController;
|
|
848
|
+
private mediaSettingsOnFlight;
|
|
849
|
+
constructor(visualizationService: AudioVisualizationService, globalKeyboardListener: GlobalKeyboardListenerService$1, keyPressService: KeyPressService$1, utilsService: UtilsService$1, audioVisualConfiguration: AudioVisualConfiguration);
|
|
723
850
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
724
851
|
private syncStateBasedOnMediaSettingsInput;
|
|
852
|
+
private initAudioFile;
|
|
725
853
|
private resetAudio;
|
|
726
854
|
ngOnInit(): void;
|
|
727
855
|
ngAfterViewInit(): void;
|
|
@@ -790,11 +918,14 @@ declare class AudioPlayerComponent implements OnInit, IMediaPlayer {
|
|
|
790
918
|
private updatePlaybackSpeed;
|
|
791
919
|
private emitMediaSettingsUpdate;
|
|
792
920
|
private removeAudioElementEventListeners;
|
|
921
|
+
private readonly iconMap;
|
|
922
|
+
get playIcon(): string;
|
|
923
|
+
get pauseIcon(): string;
|
|
793
924
|
get speedOptions(): number[];
|
|
794
925
|
get currentTimeLabel(): string;
|
|
795
926
|
ngOnDestroy(): void;
|
|
796
927
|
static ɵfac: i0.ɵɵFactoryDeclaration<AudioPlayerComponent, never>;
|
|
797
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AudioPlayerComponent, "herum-audio-player", never, { "showVolumeSliders": { "alias": "showVolumeSliders"; "required": false; }; "isPreview": { "alias": "isPreview"; "required": false; }; "getTimeUpdate": { "alias": "getTimeUpdate"; "required": false; }; "playbackSpeed": { "alias": "playbackSpeed"; "required": false; }; "isBlock": { "alias": "isBlock"; "required": false; }; "currentTime": { "alias": "currentTime"; "required": false; }; "isAudioPlaying": { "alias": "isAudioPlaying"; "required": false; }; "width": { "alias": "width"; "required": false; }; "id": { "alias": "id"; "required": false; }; "audioFile": { "alias": "audioFile"; "required": false; }; "mediaSettings": { "alias": "mediaSettings"; "required": false; }; "bucketName": { "alias": "bucketName"; "required": false; }; }, { "periodicCurrentTime": "periodicCurrentTime"; "isLoadingChange": "isLoadingChange"; "timingUpdateByRequest": "timingUpdateByRequest"; "mediaSettingsUpdate": "mediaSettingsUpdate"; }, never, never, false, never>;
|
|
928
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AudioPlayerComponent, "herum-audio-player", never, { "showVolumeSliders": { "alias": "showVolumeSliders"; "required": false; }; "isPreview": { "alias": "isPreview"; "required": false; }; "getTimeUpdate": { "alias": "getTimeUpdate"; "required": false; }; "playbackSpeed": { "alias": "playbackSpeed"; "required": false; }; "isBlock": { "alias": "isBlock"; "required": false; }; "currentTime": { "alias": "currentTime"; "required": false; }; "isAudioPlaying": { "alias": "isAudioPlaying"; "required": false; }; "width": { "alias": "width"; "required": false; }; "id": { "alias": "id"; "required": false; }; "audioFile": { "alias": "audioFile"; "required": false; }; "mediaSettings": { "alias": "mediaSettings"; "required": false; }; "bucketName": { "alias": "bucketName"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "periodicCurrentTime": "periodicCurrentTime"; "isLoadingChange": "isLoadingChange"; "timingUpdateByRequest": "timingUpdateByRequest"; "mediaSettingsUpdate": "mediaSettingsUpdate"; }, never, never, false, never>;
|
|
798
929
|
}
|
|
799
930
|
|
|
800
931
|
declare class HerumMiniTableComponent {
|
|
@@ -827,21 +958,19 @@ declare class HerumMiniTableComponent {
|
|
|
827
958
|
}
|
|
828
959
|
|
|
829
960
|
declare class HerumHierarchyTreeComponent implements OnChanges {
|
|
830
|
-
private environmentConfig;
|
|
831
961
|
treeNode: TreeNode;
|
|
832
962
|
showAssignmentsDetails: boolean;
|
|
833
963
|
nodeMenuItems: NodeMenuItem<SystemTreeNodeData>[];
|
|
834
|
-
onMenuItemSelected: EventEmitter<
|
|
835
|
-
onNodeSelected: EventEmitter<
|
|
836
|
-
onCreateNewChildren: EventEmitter<
|
|
964
|
+
onMenuItemSelected: EventEmitter<NodeMenuItem<SystemTreeNodeData>>;
|
|
965
|
+
onNodeSelected: EventEmitter<TreeNode>;
|
|
966
|
+
onCreateNewChildren: EventEmitter<TreeNode>;
|
|
837
967
|
topParent: TreeNode;
|
|
838
968
|
left: number;
|
|
839
969
|
top: number;
|
|
840
970
|
elementRef: ElementRef;
|
|
841
|
-
constructor(environmentConfig: EnvironmentConfig);
|
|
842
971
|
ngOnChanges(): void;
|
|
843
972
|
_onNodeSelected(node: TreeNode): void;
|
|
844
|
-
_displayNode(node: TreeNode):
|
|
973
|
+
_displayNode(node: TreeNode): boolean;
|
|
845
974
|
isLastHierarchy(treeNode: TreeNode): boolean;
|
|
846
975
|
_onCreateNewStruct(node: TreeNode): void;
|
|
847
976
|
_onMenuItemSelected(item: NodeMenuItem<SystemTreeNodeData>): void;
|
|
@@ -864,7 +993,7 @@ declare class HerumTextualVerticalTreeComponent implements OnInit {
|
|
|
864
993
|
hierarchySvg: string;
|
|
865
994
|
resourceSvg: string;
|
|
866
995
|
selectedTypeToShow: string;
|
|
867
|
-
onNodeSelected: EventEmitter<
|
|
996
|
+
onNodeSelected: EventEmitter<TreeNode>;
|
|
868
997
|
constructor();
|
|
869
998
|
ngOnInit(): void;
|
|
870
999
|
_onStructSelection(treeNode: TreeNode): void;
|
|
@@ -896,7 +1025,7 @@ declare class HerumDateTimePickerSelectComponent implements ControlValueAccessor
|
|
|
896
1025
|
heightTimePicker: string;
|
|
897
1026
|
showButtonText: boolean;
|
|
898
1027
|
buttonMode: boolean;
|
|
899
|
-
dateTimeValueChange: EventEmitter<
|
|
1028
|
+
dateTimeValueChange: EventEmitter<DateTimePicker>;
|
|
900
1029
|
onClick(event: MouseEvent): void;
|
|
901
1030
|
onResize(): void;
|
|
902
1031
|
dropContainer: ElementRef;
|
|
@@ -952,7 +1081,7 @@ declare class HerumDateTimePickerSelectComponent implements ControlValueAccessor
|
|
|
952
1081
|
declare class HerumTimeRangeSelectComponent {
|
|
953
1082
|
showSeconds: boolean;
|
|
954
1083
|
selectedTime: TimeRange;
|
|
955
|
-
timeChange: EventEmitter<
|
|
1084
|
+
timeChange: EventEmitter<TimeRange>;
|
|
956
1085
|
startLabel: string;
|
|
957
1086
|
endLabel: string;
|
|
958
1087
|
_startTimeChange(startTime: string): void;
|
|
@@ -970,7 +1099,7 @@ declare class AudioSliderComponent {
|
|
|
970
1099
|
id: string;
|
|
971
1100
|
sliderChange: EventEmitter<number>;
|
|
972
1101
|
ngAfterViewInit(): void;
|
|
973
|
-
updateSliderBackground(): void;
|
|
1102
|
+
updateSliderBackground(isFirstUpdate?: boolean): void;
|
|
974
1103
|
static ɵfac: i0.ɵɵFactoryDeclaration<AudioSliderComponent, never>;
|
|
975
1104
|
static ɵcmp: i0.ɵɵComponentDeclaration<AudioSliderComponent, "audio-slider", never, { "sliderValue": { "alias": "sliderValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "color": { "alias": "color"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "sliderChange": "sliderChange"; }, never, never, false, never>;
|
|
976
1105
|
}
|
|
@@ -984,9 +1113,9 @@ declare class QuizOpenAnswerQuestionComponent {
|
|
|
984
1113
|
areAnswersBlocked: boolean;
|
|
985
1114
|
isCheckingMode: boolean;
|
|
986
1115
|
selectedTextChange: TextChange;
|
|
987
|
-
|
|
988
|
-
notesChange: EventEmitter<
|
|
989
|
-
|
|
1116
|
+
correctAnswerChange: EventEmitter<string>;
|
|
1117
|
+
notesChange: EventEmitter<TextChange[]>;
|
|
1118
|
+
correctAnswerControl: FormControl<string>;
|
|
990
1119
|
notes: TextChange[];
|
|
991
1120
|
destroySubject$: Subject<null>;
|
|
992
1121
|
constructor(answerNotesToTextChangesPipe: AnswerNotesToTextChangesPipe$1);
|
|
@@ -995,7 +1124,7 @@ declare class QuizOpenAnswerQuestionComponent {
|
|
|
995
1124
|
_notesChange(notes: TextChange[]): void;
|
|
996
1125
|
ngOnDestroy(): void;
|
|
997
1126
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuizOpenAnswerQuestionComponent, never>;
|
|
998
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuizOpenAnswerQuestionComponent, "quiz-open-answer-question", never, { "previewMode": { "alias": "previewMode"; "required": false; }; "question": { "alias": "question"; "required": false; }; "userQuestion": { "alias": "userQuestion"; "required": false; }; "areAnswersRevealed": { "alias": "areAnswersRevealed"; "required": false; }; "areAnswersBlocked": { "alias": "areAnswersBlocked"; "required": false; }; "isCheckingMode": { "alias": "isCheckingMode"; "required": false; }; "selectedTextChange": { "alias": "selectedTextChange"; "required": false; }; }, { "
|
|
1127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuizOpenAnswerQuestionComponent, "quiz-open-answer-question", never, { "previewMode": { "alias": "previewMode"; "required": false; }; "question": { "alias": "question"; "required": false; }; "userQuestion": { "alias": "userQuestion"; "required": false; }; "areAnswersRevealed": { "alias": "areAnswersRevealed"; "required": false; }; "areAnswersBlocked": { "alias": "areAnswersBlocked"; "required": false; }; "isCheckingMode": { "alias": "isCheckingMode"; "required": false; }; "selectedTextChange": { "alias": "selectedTextChange"; "required": false; }; }, { "correctAnswerChange": "correctAnswerChange"; "notesChange": "notesChange"; }, never, never, false, never>;
|
|
999
1128
|
}
|
|
1000
1129
|
|
|
1001
1130
|
declare class HerumHighlightDirective {
|
|
@@ -1041,7 +1170,7 @@ declare class UserActionDirective {
|
|
|
1041
1170
|
private http;
|
|
1042
1171
|
private environmentConfig;
|
|
1043
1172
|
description: string;
|
|
1044
|
-
constructor(el: ElementRef, http: HttpClient, environmentConfig: EnvironmentConfig);
|
|
1173
|
+
constructor(el: ElementRef, http: HttpClient, environmentConfig: EnvironmentConfig$1);
|
|
1045
1174
|
onClick(event: any): void;
|
|
1046
1175
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserActionDirective, never>;
|
|
1047
1176
|
static ɵdir: i0.ɵɵDirectiveDeclaration<UserActionDirective, "[userAction]", never, { "description": { "alias": "userAction"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -1057,7 +1186,7 @@ declare class InsuranceDialogComponent {
|
|
|
1057
1186
|
dialogRef: MatDialogRef<InsuranceDialogComponent>;
|
|
1058
1187
|
data: DialogConfig;
|
|
1059
1188
|
private environmentConfig;
|
|
1060
|
-
constructor(dialogRef: MatDialogRef<InsuranceDialogComponent>, data: DialogConfig, environmentConfig: EnvironmentConfig);
|
|
1189
|
+
constructor(dialogRef: MatDialogRef<InsuranceDialogComponent>, data: DialogConfig, environmentConfig: EnvironmentConfig$1);
|
|
1061
1190
|
_onSubmit(): void;
|
|
1062
1191
|
_onClose(): void;
|
|
1063
1192
|
get systemIdentifier(): string;
|
|
@@ -1107,7 +1236,7 @@ declare class UsersProfilePreviewComponent {
|
|
|
1107
1236
|
declare class HerumBreadcrumbsComponent {
|
|
1108
1237
|
items: IdentifiedEntity[];
|
|
1109
1238
|
itemToSet: IdentifiedEntity;
|
|
1110
|
-
itemEmitter: EventEmitter<
|
|
1239
|
+
itemEmitter: EventEmitter<IdentifiedEntity[]>;
|
|
1111
1240
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1112
1241
|
_onClick(itemIndex: number, isLastItem: boolean): void;
|
|
1113
1242
|
private handleItemInput;
|
|
@@ -1135,8 +1264,7 @@ declare class HerumButtonComponent {
|
|
|
1135
1264
|
static ɵcmp: i0.ɵɵComponentDeclaration<HerumButtonComponent, "herum-button", never, { "type": { "alias": "type"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "roundedCorners": { "alias": "roundedCorners"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
1136
1265
|
}
|
|
1137
1266
|
|
|
1138
|
-
declare class HerumCheckboxComponent implements ControlValueAccessor
|
|
1139
|
-
private environmentConfig;
|
|
1267
|
+
declare class HerumCheckboxComponent implements ControlValueAccessor {
|
|
1140
1268
|
type: 'checked' | 'indeterminate' | 'error' | 'disabled' | 'unchecked';
|
|
1141
1269
|
isChecked: boolean;
|
|
1142
1270
|
isBlocked: boolean;
|
|
@@ -1146,8 +1274,6 @@ declare class HerumCheckboxComponent implements ControlValueAccessor, OnInit {
|
|
|
1146
1274
|
error: string;
|
|
1147
1275
|
checkboxClasses: string;
|
|
1148
1276
|
params: HerumTableParams;
|
|
1149
|
-
constructor(environmentConfig: EnvironmentConfig);
|
|
1150
|
-
ngOnInit(): void;
|
|
1151
1277
|
_onClick(): void;
|
|
1152
1278
|
getCheckboxClasses(): string;
|
|
1153
1279
|
onChange: (value: any) => void;
|
|
@@ -1297,6 +1423,8 @@ declare class HerumInputFieldComponent implements OnInit, ControlValueAccessor {
|
|
|
1297
1423
|
destroySubject$: Subject<null>;
|
|
1298
1424
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
1299
1425
|
ngOnInit(): void;
|
|
1426
|
+
ngOnChanges(changes: SimpleChange): void;
|
|
1427
|
+
private resetState;
|
|
1300
1428
|
private initInputSubject$;
|
|
1301
1429
|
private setInputsByFormControl;
|
|
1302
1430
|
clearInput(): void;
|
|
@@ -1349,8 +1477,8 @@ declare class HerumMultiSelectComponent implements ControlValueAccessor {
|
|
|
1349
1477
|
isDropDownInPositionFixed: boolean;
|
|
1350
1478
|
dropDownDirection: 'upwards' | 'downwards';
|
|
1351
1479
|
isMultiHeads: boolean;
|
|
1352
|
-
selectedOptions: EventEmitter<
|
|
1353
|
-
selectedRecursiveOptions: EventEmitter<
|
|
1480
|
+
selectedOptions: EventEmitter<IdentifiedEntity[]>;
|
|
1481
|
+
selectedRecursiveOptions: EventEmitter<RecursiveTitledOption>;
|
|
1354
1482
|
filterInput: HerumInputFieldComponent;
|
|
1355
1483
|
dropContainer: ElementRef;
|
|
1356
1484
|
filteredOptions: IdentifiedEntity[];
|
|
@@ -1374,10 +1502,10 @@ declare class HerumMultiSelectComponent implements ControlValueAccessor {
|
|
|
1374
1502
|
_select(option: IdentifiedEntity): void;
|
|
1375
1503
|
_selectRecursive(selectedRecursiveOptions: RecursiveTitledOption): void;
|
|
1376
1504
|
private removeSelectedOption;
|
|
1377
|
-
getLimitedList():
|
|
1505
|
+
getLimitedList(): IdentifiedEntity[];
|
|
1378
1506
|
_getHiddenOptions(): string;
|
|
1379
1507
|
showAll(): void;
|
|
1380
|
-
isOptionSelected(option: IdentifiedEntity):
|
|
1508
|
+
isOptionSelected(option: IdentifiedEntity): IdentifiedEntity;
|
|
1381
1509
|
toggleDropdown(): void;
|
|
1382
1510
|
closeDropdown(event: MouseEvent): void;
|
|
1383
1511
|
private resetFiltering;
|
|
@@ -1424,7 +1552,7 @@ declare class HerumOptionsListComponent {
|
|
|
1424
1552
|
selectedOptions: IdentifiedEntity[];
|
|
1425
1553
|
isContentInsideExpendablePanel: boolean;
|
|
1426
1554
|
isInternalMode: boolean;
|
|
1427
|
-
selectedOptionsEmitter: EventEmitter<
|
|
1555
|
+
selectedOptionsEmitter: EventEmitter<IdentifiedEntity>;
|
|
1428
1556
|
_onSelect(option: IdentifiedEntity): void;
|
|
1429
1557
|
isOptionSelected(option: IdentifiedEntity): boolean;
|
|
1430
1558
|
static ɵfac: i0.ɵɵFactoryDeclaration<HerumOptionsListComponent, never>;
|
|
@@ -1476,7 +1604,7 @@ declare class HerumPaginatorComponent {
|
|
|
1476
1604
|
declare class HerumPanelLinksComponent {
|
|
1477
1605
|
selectedLink: IdentifiedEntity;
|
|
1478
1606
|
links: IdentifiedEntity[];
|
|
1479
|
-
linkEmitter: EventEmitter<
|
|
1607
|
+
linkEmitter: EventEmitter<IdentifiedEntity>;
|
|
1480
1608
|
_onClick(link: IdentifiedEntity): void;
|
|
1481
1609
|
_isActiveLink(linkId: string): boolean;
|
|
1482
1610
|
static ɵfac: i0.ɵɵFactoryDeclaration<HerumPanelLinksComponent, never>;
|
|
@@ -1517,8 +1645,8 @@ declare class HerumRecursiveHierarchyOptionsListComponent {
|
|
|
1517
1645
|
options: IdentifiedEntity[];
|
|
1518
1646
|
selectedOptions: IdentifiedEntity[];
|
|
1519
1647
|
recursiveTitledOption: RecursiveTitledOption;
|
|
1520
|
-
selectedOptionsEmitter: EventEmitter<
|
|
1521
|
-
selectedRecursiveOptionsEmitter: EventEmitter<
|
|
1648
|
+
selectedOptionsEmitter: EventEmitter<IdentifiedEntity>;
|
|
1649
|
+
selectedRecursiveOptionsEmitter: EventEmitter<RecursiveTitledOption>;
|
|
1522
1650
|
_onSelect(option: RecursiveTitledOption): void;
|
|
1523
1651
|
_isOptionSelected(option: IdentifiedEntity): boolean;
|
|
1524
1652
|
static ɵfac: i0.ɵɵFactoryDeclaration<HerumRecursiveHierarchyOptionsListComponent, never>;
|
|
@@ -1541,7 +1669,7 @@ declare class HerumSelectComponent implements ControlValueAccessor {
|
|
|
1541
1669
|
dropDownDirection: 'upwards' | 'downwards';
|
|
1542
1670
|
filterPlaceholder: string;
|
|
1543
1671
|
debounceTime: number;
|
|
1544
|
-
selectedOptionEmitter: EventEmitter<
|
|
1672
|
+
selectedOptionEmitter: EventEmitter<IdentifiedEntity>;
|
|
1545
1673
|
filterTextEmitter: EventEmitter<string>;
|
|
1546
1674
|
filterInput: HerumInputFieldComponent;
|
|
1547
1675
|
dropContainer: ElementRef;
|
|
@@ -1736,7 +1864,7 @@ declare class HerumUploadFileComponent implements ControlValueAccessor {
|
|
|
1736
1864
|
ngAfterViewInit(): void;
|
|
1737
1865
|
_onPreventDefault(event: DragEvent): void;
|
|
1738
1866
|
_onDrop(event: DragEvent): void;
|
|
1739
|
-
_onUploadFile(
|
|
1867
|
+
_onUploadFile(fileList: FileList): void;
|
|
1740
1868
|
private setExistingFile;
|
|
1741
1869
|
private isFileTypeAllowed;
|
|
1742
1870
|
private directoryValidation;
|
|
@@ -1782,7 +1910,6 @@ declare class HerumVideoSelectComponent implements OnInit, ControlValueAccessor
|
|
|
1782
1910
|
}
|
|
1783
1911
|
|
|
1784
1912
|
declare class HerumRadioButtonComponent implements ControlValueAccessor {
|
|
1785
|
-
private environmentConfig;
|
|
1786
1913
|
options: IdentifiedEntity[];
|
|
1787
1914
|
isValid: boolean;
|
|
1788
1915
|
errorMsg: string;
|
|
@@ -1798,7 +1925,6 @@ declare class HerumRadioButtonComponent implements ControlValueAccessor {
|
|
|
1798
1925
|
isSelectedOptionFocused: boolean;
|
|
1799
1926
|
isOptionFocused: boolean;
|
|
1800
1927
|
focusedIdOption: string;
|
|
1801
|
-
constructor(environmentConfig: EnvironmentConfig);
|
|
1802
1928
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1803
1929
|
_onSelect(option: IdentifiedEntity): void;
|
|
1804
1930
|
getRadioButtonClasses(id: string): string;
|
|
@@ -1827,7 +1953,7 @@ declare class RoundedVerticalMenuComponent implements OnInit, OnChanges {
|
|
|
1827
1953
|
menuItems: MenuItemWithDisabled[];
|
|
1828
1954
|
currentItem?: MenuItemWithDisabled;
|
|
1829
1955
|
currentUser: User;
|
|
1830
|
-
itemSelected: EventEmitter<
|
|
1956
|
+
itemSelected: EventEmitter<MenuItem>;
|
|
1831
1957
|
ngOnInit(): void;
|
|
1832
1958
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1833
1959
|
_onSelectItem(item: MenuItemWithDisabled): void;
|
|
@@ -1839,14 +1965,14 @@ declare class RoundedVerticalMenuComponent implements OnInit, OnChanges {
|
|
|
1839
1965
|
declare class TrackTextChangesNotesComponent {
|
|
1840
1966
|
textChanges: TextChange[];
|
|
1841
1967
|
enableDeleteNote: boolean;
|
|
1842
|
-
deleteNoteChange: EventEmitter<
|
|
1843
|
-
hoverNote: EventEmitter<
|
|
1968
|
+
deleteNoteChange: EventEmitter<TextChange[]>;
|
|
1969
|
+
hoverNote: EventEmitter<TextChange>;
|
|
1844
1970
|
noteTypesToDisplay: string[];
|
|
1845
1971
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1846
1972
|
private setNoteTypesToDisplay;
|
|
1847
1973
|
_onDeleteTextChange(textChangeToDelete: TextChange): void;
|
|
1848
1974
|
_onHoverNote(hoveredTextChange: TextChange): void;
|
|
1849
|
-
_trackNote(index: number, textChange: TextChange):
|
|
1975
|
+
_trackNote(index: number, textChange: TextChange): string | number;
|
|
1850
1976
|
get deleteSvgString(): string;
|
|
1851
1977
|
static ɵfac: i0.ɵɵFactoryDeclaration<TrackTextChangesNotesComponent, never>;
|
|
1852
1978
|
static ɵcmp: i0.ɵɵComponentDeclaration<TrackTextChangesNotesComponent, "track-text-changes-notes", never, { "textChanges": { "alias": "textChanges"; "required": false; }; "enableDeleteNote": { "alias": "enableDeleteNote"; "required": false; }; }, { "deleteNoteChange": "deleteNoteChange"; "hoverNote": "hoverNote"; }, never, never, false, never>;
|
|
@@ -1858,14 +1984,14 @@ declare class UserProfileImageComponent {
|
|
|
1858
1984
|
user: User | UserPreview;
|
|
1859
1985
|
isLoadingUser: boolean;
|
|
1860
1986
|
isUserClickAble: boolean;
|
|
1861
|
-
userClicked: EventEmitter<
|
|
1987
|
+
userClicked: EventEmitter<UserPreview | User>;
|
|
1862
1988
|
imagePath: string;
|
|
1863
1989
|
isLoadingImage: boolean;
|
|
1864
1990
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1865
1991
|
_onUserClicked(): void;
|
|
1866
1992
|
_useFallbackProfileImage(event: Event): void;
|
|
1867
1993
|
_loadComplete(): void;
|
|
1868
|
-
get userProfileImage():
|
|
1994
|
+
get userProfileImage(): string;
|
|
1869
1995
|
get fallbackProfileImage(): string;
|
|
1870
1996
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileImageComponent, never>;
|
|
1871
1997
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileImageComponent, "user-profile-image", never, { "imageSize": { "alias": "imageSize"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "user": { "alias": "user"; "required": false; }; "isLoadingUser": { "alias": "isLoadingUser"; "required": false; }; "isUserClickAble": { "alias": "isUserClickAble"; "required": false; }; }, { "userClicked": "userClicked"; }, never, ["*"], false, never>;
|
|
@@ -1928,7 +2054,7 @@ declare class EllipsisPipe implements PipeTransform {
|
|
|
1928
2054
|
}
|
|
1929
2055
|
|
|
1930
2056
|
declare class UserIdentifiedEntitiesToBackendModelsPipe implements PipeTransform {
|
|
1931
|
-
transform(user: User):
|
|
2057
|
+
transform(user: User): User;
|
|
1932
2058
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserIdentifiedEntitiesToBackendModelsPipe, never>;
|
|
1933
2059
|
static ɵpipe: i0.ɵɵPipeDeclaration<UserIdentifiedEntitiesToBackendModelsPipe, "userIdentifiedEntitiesToBackendModels", false>;
|
|
1934
2060
|
}
|
|
@@ -2012,7 +2138,7 @@ declare class HerumAutocompleteComponent implements ControlValueAccessor {
|
|
|
2012
2138
|
selectedOption: DisplayIdentifiedEntity | null;
|
|
2013
2139
|
isBlurred: boolean;
|
|
2014
2140
|
filterTextEmitter: EventEmitter<string>;
|
|
2015
|
-
selectedOptionEmitter: EventEmitter<
|
|
2141
|
+
selectedOptionEmitter: EventEmitter<DisplayIdentifiedEntity>;
|
|
2016
2142
|
filterInput: HerumInputFieldComponent$1;
|
|
2017
2143
|
containerRef: ElementRef<HTMLDivElement>;
|
|
2018
2144
|
onWindowClick(event: MouseEvent): void;
|
|
@@ -2048,9 +2174,9 @@ declare class HerumClosedListMultiSelectComponent {
|
|
|
2048
2174
|
size: 'fit' | 'default' | 'big' | 'responsive';
|
|
2049
2175
|
dropDownDirection: 'upwards' | 'downwards';
|
|
2050
2176
|
selectedClosedListOptionalValues: IdentifiedEntity[];
|
|
2051
|
-
selectedClosedListValueEmitter: EventEmitter<
|
|
2177
|
+
selectedClosedListValueEmitter: EventEmitter<IdentifiedEntity[]>;
|
|
2052
2178
|
closedListValues: IdentifiedEntity[];
|
|
2053
|
-
constructor(commonGraphqlRequestsService: CommonGraphqlRequestsService);
|
|
2179
|
+
constructor(commonGraphqlRequestsService: CommonGraphqlRequestsService$1);
|
|
2054
2180
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2055
2181
|
private setClosedListValues;
|
|
2056
2182
|
_selectedOptionsEmitter(selectedClosedListValue: IdentifiedEntity[]): void;
|
|
@@ -2079,11 +2205,11 @@ declare class HerumClosedListSelectComponent implements ControlValueAccessor {
|
|
|
2079
2205
|
isLoadingInput: boolean;
|
|
2080
2206
|
dropDownDirection: 'upwards' | 'downwards';
|
|
2081
2207
|
filterPlaceholder: string;
|
|
2082
|
-
selectedClosedListValueEmitter: EventEmitter<
|
|
2208
|
+
selectedClosedListValueEmitter: EventEmitter<IdentifiedEntity>;
|
|
2083
2209
|
filterTextEmitter: EventEmitter<string>;
|
|
2084
2210
|
closedListValues: IdentifiedEntity[];
|
|
2085
2211
|
selectedClosedListOptionalValue: IdentifiedEntity;
|
|
2086
|
-
constructor(commonGraphqlRequestsService: CommonGraphqlRequestsService);
|
|
2212
|
+
constructor(commonGraphqlRequestsService: CommonGraphqlRequestsService$1);
|
|
2087
2213
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2088
2214
|
private setClosedListValues;
|
|
2089
2215
|
private handleClosedListValueId;
|
|
@@ -2181,12 +2307,13 @@ declare class HerumDropZoneComponent {
|
|
|
2181
2307
|
};
|
|
2182
2308
|
isValidUpload: boolean;
|
|
2183
2309
|
isSupportedFileType: boolean;
|
|
2310
|
+
isImagesSizeValid: boolean;
|
|
2184
2311
|
parsedAllowedFileTypes: string;
|
|
2185
2312
|
errorMessages: {
|
|
2186
2313
|
condition: () => boolean;
|
|
2187
2314
|
message: string;
|
|
2188
2315
|
}[];
|
|
2189
|
-
constructor(environmentConfig: EnvironmentConfig);
|
|
2316
|
+
constructor(environmentConfig: EnvironmentConfig$1);
|
|
2190
2317
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2191
2318
|
_onRemoveFile(index: number, event: MouseEvent): void;
|
|
2192
2319
|
_onRemoveImage(): void;
|
|
@@ -2197,6 +2324,7 @@ declare class HerumDropZoneComponent {
|
|
|
2197
2324
|
_onClickFileInput(): void;
|
|
2198
2325
|
private uploadFiles;
|
|
2199
2326
|
private supportedFilesValidation;
|
|
2327
|
+
private imagesSizeValidation;
|
|
2200
2328
|
private filesTypeValidation;
|
|
2201
2329
|
private isExceededFilesLength;
|
|
2202
2330
|
getIconPath(file: File): string;
|
|
@@ -2220,11 +2348,11 @@ declare class HerumFilesViewerComponent {
|
|
|
2220
2348
|
private environmentConfig;
|
|
2221
2349
|
fileData: FileData;
|
|
2222
2350
|
showDeleteFileButton: boolean;
|
|
2223
|
-
downloadFile: EventEmitter<
|
|
2224
|
-
deleteFile: EventEmitter<
|
|
2351
|
+
downloadFile: EventEmitter<FileData>;
|
|
2352
|
+
deleteFile: EventEmitter<FileData>;
|
|
2225
2353
|
srcPath: string;
|
|
2226
2354
|
fileType: string;
|
|
2227
|
-
constructor(environmentConfig: EnvironmentConfig);
|
|
2355
|
+
constructor(environmentConfig: EnvironmentConfig$1);
|
|
2228
2356
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2229
2357
|
_onDeleteFile(): void;
|
|
2230
2358
|
_downloadFile(): void;
|
|
@@ -2242,10 +2370,10 @@ declare class HerumHierarchyTreeNodeComponent {
|
|
|
2242
2370
|
showAssignmentsDetails: boolean;
|
|
2243
2371
|
nodeMenuItems: NodeMenuItem<SystemTreeNodeData>[];
|
|
2244
2372
|
onNodeSelected: EventEmitter<boolean>;
|
|
2245
|
-
onMenuItemSelected: EventEmitter<
|
|
2373
|
+
onMenuItemSelected: EventEmitter<NodeMenuItem<SystemTreeNodeData>>;
|
|
2246
2374
|
onExpand: EventEmitter<boolean>;
|
|
2247
2375
|
isExpand: boolean;
|
|
2248
|
-
constructor(changeDetectorRef: ChangeDetectorRef, environmentConfig: EnvironmentConfig);
|
|
2376
|
+
constructor(changeDetectorRef: ChangeDetectorRef, environmentConfig: EnvironmentConfig$1);
|
|
2249
2377
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2250
2378
|
_isTruncatedTitleElement(element: HTMLElement): boolean;
|
|
2251
2379
|
_onExpand(): void;
|
|
@@ -2276,7 +2404,7 @@ declare class HerumMultiProgressBarComponent implements OnInit {
|
|
|
2276
2404
|
}[];
|
|
2277
2405
|
constructor();
|
|
2278
2406
|
ngOnInit(): void;
|
|
2279
|
-
getBorderRadius(sectionIndex: number, progressBarIndex: number): "none" | "
|
|
2407
|
+
getBorderRadius(sectionIndex: number, progressBarIndex: number): "none" | "left" | "right" | "both";
|
|
2280
2408
|
static ɵfac: i0.ɵɵFactoryDeclaration<HerumMultiProgressBarComponent, never>;
|
|
2281
2409
|
static ɵcmp: i0.ɵɵComponentDeclaration<HerumMultiProgressBarComponent, "herum-multi-progress-bar", never, { "progressBarsSections": { "alias": "progressBarsSections"; "required": false; }; }, {}, never, never, false, never>;
|
|
2282
2410
|
}
|
|
@@ -2346,7 +2474,7 @@ declare class HerumUserProfileComponent {
|
|
|
2346
2474
|
titleSize: 'big' | 'medium' | 'small';
|
|
2347
2475
|
imageSize: 'image-default-size' | 'image-small-size';
|
|
2348
2476
|
get userFullName(): string;
|
|
2349
|
-
get fullHierarchyName():
|
|
2477
|
+
get fullHierarchyName(): string;
|
|
2350
2478
|
get assignmentStateDisplayName(): "" | "שיבוץ זמני" | "אכ\"א" | "אג\"ת";
|
|
2351
2479
|
static ɵfac: i0.ɵɵFactoryDeclaration<HerumUserProfileComponent, never>;
|
|
2352
2480
|
static ɵcmp: i0.ɵɵComponentDeclaration<HerumUserProfileComponent, "herum-user-profile", never, { "userData": { "alias": "userData"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "titleSize": { "alias": "titleSize"; "required": false; }; "imageSize": { "alias": "imageSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -2397,7 +2525,7 @@ declare class ErrorMessageDialogComponent implements OnInit {
|
|
|
2397
2525
|
data: any;
|
|
2398
2526
|
private environmentConfig;
|
|
2399
2527
|
errorImagePath: string;
|
|
2400
|
-
constructor(dialogRef: MatDialogRef<ErrorMessageDialogComponent>, data: any, environmentConfig: EnvironmentConfig);
|
|
2528
|
+
constructor(dialogRef: MatDialogRef<ErrorMessageDialogComponent>, data: any, environmentConfig: EnvironmentConfig$1);
|
|
2401
2529
|
ngOnInit(): void;
|
|
2402
2530
|
_onSubmit(): void;
|
|
2403
2531
|
_onClose(): void;
|
|
@@ -2535,8 +2663,6 @@ declare class HerumTableComponent implements OnChanges, AfterViewInit {
|
|
|
2535
2663
|
rowData: (unknown & BaseRowData)[];
|
|
2536
2664
|
columnDefs: ColDef[];
|
|
2537
2665
|
selectedRowsIds: string[];
|
|
2538
|
-
tableFixedHeight: string;
|
|
2539
|
-
tableMaxHeight: number;
|
|
2540
2666
|
noResults: number;
|
|
2541
2667
|
overlayNoRowsTemplate: string;
|
|
2542
2668
|
rowsSelectionType: 'multiple' | 'single';
|
|
@@ -2550,7 +2676,7 @@ declare class HerumTableComponent implements OnChanges, AfterViewInit {
|
|
|
2550
2676
|
cellMouseOver: EventEmitter<any>;
|
|
2551
2677
|
onPaginationChanged: EventEmitter<any>;
|
|
2552
2678
|
tableContainer: ElementRef;
|
|
2553
|
-
onResize(): void;
|
|
2679
|
+
onResize(event: any): void;
|
|
2554
2680
|
windowWidth: number;
|
|
2555
2681
|
context: any;
|
|
2556
2682
|
childComponentsReferences: HoveredHerumRowTable[];
|
|
@@ -2599,11 +2725,10 @@ declare class HerumTableComponent implements OnChanges, AfterViewInit {
|
|
|
2599
2725
|
private setRowheightStyleProperty;
|
|
2600
2726
|
private getMaxRowHeightFromColumns;
|
|
2601
2727
|
static ɵfac: i0.ɵɵFactoryDeclaration<HerumTableComponent, never>;
|
|
2602
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HerumTableComponent, "herum-table", never, { "rowData": { "alias": "rowData"; "required": false; }; "columnDefs": { "alias": "columnDefs"; "required": false; }; "selectedRowsIds": { "alias": "selectedRowsIds"; "required": false; }; "
|
|
2728
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HerumTableComponent, "herum-table", never, { "rowData": { "alias": "rowData"; "required": false; }; "columnDefs": { "alias": "columnDefs"; "required": false; }; "selectedRowsIds": { "alias": "selectedRowsIds"; "required": false; }; "noResults": { "alias": "noResults"; "required": false; }; "overlayNoRowsTemplate": { "alias": "overlayNoRowsTemplate"; "required": false; }; "rowsSelectionType": { "alias": "rowsSelectionType"; "required": false; }; "usePagination": { "alias": "usePagination"; "required": false; }; "suppressRowClickSelection": { "alias": "suppressRowClickSelection"; "required": false; }; "showExportToExcel": { "alias": "showExportToExcel"; "required": false; }; }, { "onCheckedRow": "onCheckedRow"; "onUncheckedRow": "onUncheckedRow"; "selectedRowByChild": "selectedRowByChild"; "cellValueChangeByChild": "cellValueChangeByChild"; "cellMouseOver": "cellMouseOver"; "onPaginationChanged": "onPaginationChanged"; }, never, never, false, never>;
|
|
2603
2729
|
}
|
|
2604
2730
|
|
|
2605
2731
|
declare class HerumAgGridFilterComponent implements AgFilterComponent, OnInit {
|
|
2606
|
-
private envConfig;
|
|
2607
2732
|
private static readonly rowHeight;
|
|
2608
2733
|
private model;
|
|
2609
2734
|
private uniqueCheck;
|
|
@@ -2619,7 +2744,6 @@ declare class HerumAgGridFilterComponent implements AgFilterComponent, OnInit {
|
|
|
2619
2744
|
onFilterValuesChanged$: Observable<string[]>;
|
|
2620
2745
|
destroySubject$: Subject<null>;
|
|
2621
2746
|
selectedFilter: FormControl;
|
|
2622
|
-
constructor(envConfig: EnvironmentConfig);
|
|
2623
2747
|
ngOnInit(): void;
|
|
2624
2748
|
agInit(params: IFilterParams): void;
|
|
2625
2749
|
private handleChekedValuesWhenfiltering;
|
|
@@ -2645,9 +2769,21 @@ declare class HerumAgGridFilterComponent implements AgFilterComponent, OnInit {
|
|
|
2645
2769
|
static ɵcmp: i0.ɵɵComponentDeclaration<HerumAgGridFilterComponent, "app-herum-ag-grid-filter", never, {}, {}, never, never, false, never>;
|
|
2646
2770
|
}
|
|
2647
2771
|
|
|
2772
|
+
declare class TextWithIconCell implements ICellRendererAngularComp {
|
|
2773
|
+
params: HerumTableParams;
|
|
2774
|
+
text: string;
|
|
2775
|
+
iconSrc: string;
|
|
2776
|
+
textStyle: {};
|
|
2777
|
+
agInit(params: HerumTableParams): void;
|
|
2778
|
+
refresh(params: HerumTableParams): boolean;
|
|
2779
|
+
private setParams;
|
|
2780
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextWithIconCell, never>;
|
|
2781
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextWithIconCell, "app-text-with-icon-cell", never, {}, {}, never, never, false, never>;
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2648
2784
|
declare class TableModule {
|
|
2649
2785
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
|
|
2650
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof CheckboxCellComponent, typeof ChipsCellComponent, typeof CopyableCellComponent, typeof DeleteRowComponent, typeof EditRowComponent, typeof InputCellComponent, typeof RowActionButtonsComponent, typeof SwitchCellComponent, typeof HerumTableComponent, typeof HerumAgGridFilterComponent], [typeof i2.CommonModule, typeof i4.AtomsModule, typeof i40.FormsModule, typeof i40.ReactiveFormsModule, typeof i46.MatTooltipModule, typeof
|
|
2786
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof CheckboxCellComponent, typeof ChipsCellComponent, typeof CopyableCellComponent, typeof DeleteRowComponent, typeof EditRowComponent, typeof InputCellComponent, typeof RowActionButtonsComponent, typeof SwitchCellComponent, typeof HerumTableComponent, typeof HerumAgGridFilterComponent, typeof TextWithIconCell], [typeof i2.CommonModule, typeof i4.AtomsModule, typeof i40.FormsModule, typeof i40.ReactiveFormsModule, typeof i46.MatTooltipModule, typeof i16.AgGridModule, typeof i4$1.PipesModule, typeof i42.ClipboardModule], [typeof CheckboxCellComponent, typeof ChipsCellComponent, typeof CopyableCellComponent, typeof DeleteRowComponent, typeof EditRowComponent, typeof InputCellComponent, typeof RowActionButtonsComponent, typeof SwitchCellComponent, typeof HerumTableComponent, typeof HerumAgGridFilterComponent, typeof TextWithIconCell, typeof i16.AgGridModule]>;
|
|
2651
2787
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
|
|
2652
2788
|
}
|
|
2653
2789
|
|
|
@@ -2657,8 +2793,6 @@ declare class HerumSharedModule {
|
|
|
2657
2793
|
static ɵinj: i0.ɵɵInjectorDeclaration<HerumSharedModule>;
|
|
2658
2794
|
}
|
|
2659
2795
|
|
|
2660
|
-
declare const openClose: _angular_animations.AnimationTriggerMetadata;
|
|
2661
|
-
|
|
2662
2796
|
declare class HerumFormControl extends FormControl {
|
|
2663
2797
|
errorMessages: {
|
|
2664
2798
|
[key: string]: string;
|
|
@@ -2674,182 +2808,6 @@ declare class HerumFormControl extends FormControl {
|
|
|
2674
2808
|
private setCurrentErrorMessage;
|
|
2675
2809
|
}
|
|
2676
2810
|
|
|
2677
|
-
declare class FetchedMessageService {
|
|
2678
|
-
private http;
|
|
2679
|
-
private dialog;
|
|
2680
|
-
private environmentConfig;
|
|
2681
|
-
private recipient;
|
|
2682
|
-
private messageKey;
|
|
2683
|
-
constructor(http: HttpClient, dialog: MatDialog, environmentConfig: EnvironmentConfig);
|
|
2684
|
-
handleFetchedMessage(recipient: Object, messageKey: string, condition?: boolean): void;
|
|
2685
|
-
private setMessageKey;
|
|
2686
|
-
private setRecipient;
|
|
2687
|
-
fetchedMessageData(): Observable<Object>;
|
|
2688
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FetchedMessageService, never>;
|
|
2689
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FetchedMessageService>;
|
|
2690
|
-
}
|
|
2691
|
-
|
|
2692
|
-
declare class ErrorsHandlerService {
|
|
2693
|
-
private dialog;
|
|
2694
|
-
private http;
|
|
2695
|
-
private utilsService;
|
|
2696
|
-
private environmentConfig;
|
|
2697
|
-
isErrorPopupCurrentlyOpened: boolean;
|
|
2698
|
-
failedReportUploadProgressRequests: HttpRequest<any>[];
|
|
2699
|
-
failedDependentsRequestsContext: FailedDependentsRequestsContext;
|
|
2700
|
-
dependentRequestId$: Subject<string>;
|
|
2701
|
-
reportUploadProgressRequest$: Subject<string>;
|
|
2702
|
-
commonDependentsErrorToast$: Subject<CommonDependentsToast>;
|
|
2703
|
-
errorToast$: Subject<ToastHttpResponseDependencies>;
|
|
2704
|
-
constructor(dialog: MatDialog, http: HttpClient, utilsService: UtilsService, environmentConfig: EnvironmentConfig);
|
|
2705
|
-
handleError(errorStatus: number, errorData?: any): void;
|
|
2706
|
-
setFailedReportUploadProgressRequests(failedReportUploadProgressRequest: HttpRequest<any>): void;
|
|
2707
|
-
private handleUnauthorizedError;
|
|
2708
|
-
private handleConflictError;
|
|
2709
|
-
private handleForbiddenError;
|
|
2710
|
-
private handleTimeoutError;
|
|
2711
|
-
private handleInternalServerError;
|
|
2712
|
-
private handleDependentRequestError;
|
|
2713
|
-
private handleReportUploadProgressRequestError;
|
|
2714
|
-
private isErrorToastNeeded;
|
|
2715
|
-
private handleErrorToast;
|
|
2716
|
-
setChainedFailedObservableFunctions(dependentId: string, error: HttpErrorResponse, failedComplexObservableArrowFunctions: ComplexObservableArrowFunctions, initialValue?: any): void;
|
|
2717
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorsHandlerService, never>;
|
|
2718
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorsHandlerService>;
|
|
2719
|
-
}
|
|
2720
|
-
|
|
2721
|
-
declare class DependentsService {
|
|
2722
|
-
private errorsHandlerService;
|
|
2723
|
-
dependentMetadata: DependentMetadata;
|
|
2724
|
-
constructor(errorsHandlerService: ErrorsHandlerService);
|
|
2725
|
-
chainObservableFunctions(complexFunctions: ComplexObservableArrowFunctions, initialValue?: any): any;
|
|
2726
|
-
private setInitialObservable;
|
|
2727
|
-
private handleInitialComplexFunction;
|
|
2728
|
-
private handleInitialFunction;
|
|
2729
|
-
private chainObservables;
|
|
2730
|
-
private handleCurrentChainedComplexObservable;
|
|
2731
|
-
handleCurrentChainedObservable(complexFunctions: ComplexObservableArrowFunctions, currentFunction: ObservableArrowFunction, result: any, functionsIndex: number): any;
|
|
2732
|
-
private calculateNumberOfObservableFunctions;
|
|
2733
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DependentsService, never>;
|
|
2734
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DependentsService>;
|
|
2735
|
-
}
|
|
2736
|
-
|
|
2737
|
-
declare class ToastsService {
|
|
2738
|
-
private errorsHandlerService;
|
|
2739
|
-
private utilsService;
|
|
2740
|
-
private environmentConfig;
|
|
2741
|
-
toast$: BehaviorSubject<Toast>;
|
|
2742
|
-
toastId: number;
|
|
2743
|
-
toastsTemplates: {
|
|
2744
|
-
[key: string]: ToastTemplate;
|
|
2745
|
-
};
|
|
2746
|
-
constructor(errorsHandlerService: ErrorsHandlerService, utilsService: UtilsService, environmentConfig: EnvironmentConfig);
|
|
2747
|
-
createToastBasedOnHttpResponse(toastHttpResponseDependencies: ToastHttpResponseDependencies): void;
|
|
2748
|
-
findErrorMessageByStatusCode(statusCode: string, mongoMethodDisplayedName: string): string;
|
|
2749
|
-
showErrorToast(toastContextKey: string): void;
|
|
2750
|
-
showSuccessToast(toastContextKey: string): void;
|
|
2751
|
-
showInformationToast(toastContextKey: string): void;
|
|
2752
|
-
showOnDemandToast(toastContextKey: string, status: ToastStatus, toastStorageKey?: string): void;
|
|
2753
|
-
private hasToastAlreadyShownAndShouldShowOnce;
|
|
2754
|
-
showToast(title: string, content: string, status: ToastStatus): void;
|
|
2755
|
-
private setToastStatus;
|
|
2756
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToastsService, never>;
|
|
2757
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToastsService>;
|
|
2758
|
-
}
|
|
2759
|
-
|
|
2760
|
-
declare class UploadsManagerService {
|
|
2761
|
-
private errorsHandlerService;
|
|
2762
|
-
private dependentsService;
|
|
2763
|
-
private http;
|
|
2764
|
-
private toastsService;
|
|
2765
|
-
uploadsManagerTitle$: BehaviorSubject<string>;
|
|
2766
|
-
uploadsProgressMetadata$: BehaviorSubject<UploadProgressMetadata[]>;
|
|
2767
|
-
constructor(errorsHandlerService: ErrorsHandlerService, dependentsService: DependentsService, http: HttpClient, toastsService: ToastsService);
|
|
2768
|
-
private setSubscriptions;
|
|
2769
|
-
private updateUploadProgressStatus;
|
|
2770
|
-
retryFailedUploads(): Observable<any>[];
|
|
2771
|
-
retryFailedUpload(uploadProgressId: string): Observable<any>;
|
|
2772
|
-
private handleFailedDependentRequest;
|
|
2773
|
-
private handleFailedReportUploadRequest;
|
|
2774
|
-
addOrUpdateUploadProgressMetadata(uploadProgressMetadata: UploadProgressMetadata): void;
|
|
2775
|
-
getUploadProgressById(uploadProgressId: string): UploadProgressMetadata;
|
|
2776
|
-
createNewToastBasedOnHttpRequest(commonDependentsToast: CommonDependentsToast): void;
|
|
2777
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UploadsManagerService, never>;
|
|
2778
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UploadsManagerService>;
|
|
2779
|
-
}
|
|
2780
|
-
|
|
2781
|
-
declare class HerumToastsComponent {
|
|
2782
|
-
private toastsService;
|
|
2783
|
-
private changeDetectorRef;
|
|
2784
|
-
toastElements: QueryList<ElementRef>;
|
|
2785
|
-
toasts: Toast[];
|
|
2786
|
-
minimumOpacity: number;
|
|
2787
|
-
transformDuration: number;
|
|
2788
|
-
leavingDuration: number;
|
|
2789
|
-
gap: number;
|
|
2790
|
-
constructor(toastsService: ToastsService, changeDetectorRef: ChangeDetectorRef);
|
|
2791
|
-
ngOnInit(): void;
|
|
2792
|
-
handleNewToast(toast: Toast): void;
|
|
2793
|
-
private reduceToastHeights;
|
|
2794
|
-
_onHideToast(currentToast: Toast, lowToasts: boolean): void;
|
|
2795
|
-
private removeToast;
|
|
2796
|
-
private setToastLinearOpacity;
|
|
2797
|
-
_toastStatusIcon(toastStatus: ToastStatus): string;
|
|
2798
|
-
get successStatus(): any;
|
|
2799
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HerumToastsComponent, never>;
|
|
2800
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HerumToastsComponent, "herum-toasts", never, {}, {}, never, never, false, never>;
|
|
2801
|
-
}
|
|
2802
|
-
|
|
2803
|
-
declare class HerumUploadsManagerComponent {
|
|
2804
|
-
private uploadsManagerService;
|
|
2805
|
-
destroySubject$: Subject<null>;
|
|
2806
|
-
isContainerOpen: boolean;
|
|
2807
|
-
loadingStatus: UploadProgressStatus;
|
|
2808
|
-
errorStatus: UploadProgressStatus;
|
|
2809
|
-
successStatus: UploadProgressStatus;
|
|
2810
|
-
uploadsProgressMetadata: UploadProgressMetadata[];
|
|
2811
|
-
averageProgressSum: number;
|
|
2812
|
-
hasUploadProgressFinished: boolean;
|
|
2813
|
-
numberOfFailedLoaders: number;
|
|
2814
|
-
successProgressBarColor: string;
|
|
2815
|
-
progressBarColor: string;
|
|
2816
|
-
showConfirmationNativeMessage(event: any): void;
|
|
2817
|
-
constructor(uploadsManagerService: UploadsManagerService);
|
|
2818
|
-
ngOnInit(): void;
|
|
2819
|
-
private setSuccessProgressBarColor;
|
|
2820
|
-
private uploadsProgressMetadataSubscription;
|
|
2821
|
-
_onRetryFailedUploads(): void;
|
|
2822
|
-
_onRetryFailedUpload(uploadProgressId: string): void;
|
|
2823
|
-
_onClose(): void;
|
|
2824
|
-
_onToggleUploadsContainer(): void;
|
|
2825
|
-
_isTruncatedTitleElement(element: HTMLElement): boolean;
|
|
2826
|
-
_getUploadProgressDescription(uploadProgressMetadata: UploadProgressMetadata): string;
|
|
2827
|
-
_isUploadProgressStatusError(uploadProgressStatus: UploadProgressStatus): boolean;
|
|
2828
|
-
_getFileIcon(uploadProgressType: UploadProgressType): string;
|
|
2829
|
-
_getUploadStatusIcon(uploadProgressType: UploadProgressType): string;
|
|
2830
|
-
_trackByFn(index: number, uploadProgressMetadata: UploadProgressMetadata): any;
|
|
2831
|
-
get containerTitle$(): Observable<string>;
|
|
2832
|
-
calculateAverageProgressSum(uploadsProgressMetadata: UploadProgressMetadata[]): number;
|
|
2833
|
-
calculateHasUploadProgressFinished(uploadsProgressMetadata: UploadProgressMetadata[]): boolean;
|
|
2834
|
-
calculateNumberOfFailedLoaders(uploadsProgressMetadata: UploadProgressMetadata[]): number;
|
|
2835
|
-
calculateProgressBarColor(uploadsProgressMetadata: UploadProgressMetadata[]): string;
|
|
2836
|
-
ngOnDestroy(): void;
|
|
2837
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HerumUploadsManagerComponent, never>;
|
|
2838
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HerumUploadsManagerComponent, "herum-uploads-manager", never, {}, {}, never, never, false, never>;
|
|
2839
|
-
}
|
|
2840
|
-
|
|
2841
|
-
declare class MongoMoleculesModule {
|
|
2842
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MongoMoleculesModule, never>;
|
|
2843
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MongoMoleculesModule, [typeof HerumToastsComponent, typeof HerumUploadsManagerComponent], [typeof i2.CommonModule, typeof i4$1.PipesModule, typeof i4.AtomsModule], [typeof HerumToastsComponent, typeof HerumUploadsManagerComponent]>;
|
|
2844
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MongoMoleculesModule>;
|
|
2845
|
-
}
|
|
2846
|
-
|
|
2847
|
-
declare class MongoModule {
|
|
2848
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MongoModule, never>;
|
|
2849
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MongoModule, never, [typeof i2.CommonModule, typeof MongoMoleculesModule], [typeof MongoMoleculesModule]>;
|
|
2850
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MongoModule>;
|
|
2851
|
-
}
|
|
2852
|
-
|
|
2853
2811
|
declare namespace AudioConfigurationConstants {
|
|
2854
2812
|
const maxValue = 100;
|
|
2855
2813
|
const defaultSecondsSkip = 15;
|
|
@@ -2912,5 +2870,1439 @@ declare const deleteButtonStyle: {
|
|
|
2912
2870
|
cursor: string;
|
|
2913
2871
|
};
|
|
2914
2872
|
|
|
2915
|
-
|
|
2916
|
-
|
|
2873
|
+
declare const NestedConditionSigniture = "filters";
|
|
2874
|
+
declare class GraphQLService {
|
|
2875
|
+
private httpClient;
|
|
2876
|
+
private environmentConfig;
|
|
2877
|
+
constructor(httpClient: HttpClient, environmentConfig: EnvironmentConfig$1);
|
|
2878
|
+
executeQuery(gqlQuery: GraphQlQuery, isListQuery?: boolean, isOffsetPagination?: boolean): Observable<any>;
|
|
2879
|
+
getFreeTextCondition(freeText: string, orConditionKeys: string[]): {
|
|
2880
|
+
and: any[];
|
|
2881
|
+
};
|
|
2882
|
+
generateFilterStringDynamically(ids: string[], key: string, type: ('String' | 'Number')): {
|
|
2883
|
+
filters: any[];
|
|
2884
|
+
variables: GQLVariable[];
|
|
2885
|
+
};
|
|
2886
|
+
convertToResolverNameFormat(mongoCollectionName: string): string;
|
|
2887
|
+
generateQuery(resolverName: string, formatExample: any, condition?: GraphQLFilter, first?: number, after?: string, offsetPaging?: GraphQlOffsetPaging, variablesStringForQuerySigniture?: string, order?: GraphQLOrder, conditionPaths?: {
|
|
2888
|
+
[path: string]: GraphQLFilter;
|
|
2889
|
+
}, orderPaths?: {
|
|
2890
|
+
[path: string]: GraphQLOrder;
|
|
2891
|
+
}, offsetPagingPaths?: {
|
|
2892
|
+
[path: string]: GraphQlOffsetPaging;
|
|
2893
|
+
}, isListQuery?: boolean, isOffsetPagination?: boolean, useTotalCount?: boolean): string;
|
|
2894
|
+
private generateConditionString;
|
|
2895
|
+
private generatePagingString;
|
|
2896
|
+
private generateOffsetPagingString;
|
|
2897
|
+
private getKeysString;
|
|
2898
|
+
private generateVariablesObjectForBody;
|
|
2899
|
+
private generateVariablesStringForQuerySigniture;
|
|
2900
|
+
generateOrderString<T extends {}>(order: T): string;
|
|
2901
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraphQLService, never>;
|
|
2902
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GraphQLService>;
|
|
2903
|
+
}
|
|
2904
|
+
|
|
2905
|
+
declare class AuthService {
|
|
2906
|
+
private http;
|
|
2907
|
+
private router;
|
|
2908
|
+
private gql;
|
|
2909
|
+
private environmentConfig;
|
|
2910
|
+
sessionId$: BehaviorSubject<string>;
|
|
2911
|
+
isTeacher$: Subject<boolean>;
|
|
2912
|
+
constructor(http: HttpClient, router: Router, gql: GraphQLService, environmentConfig: EnvironmentConfig$1);
|
|
2913
|
+
tryLogin(signInFormData: SignInFormData): Observable<AuthenticationResponse>;
|
|
2914
|
+
getUserIdentificationQuestions(personalId: string): Observable<Object>;
|
|
2915
|
+
signUp(signUpData: SignUpFormData): Observable<AuthenticationResponse>;
|
|
2916
|
+
logout(): void;
|
|
2917
|
+
clearSession(): void;
|
|
2918
|
+
isValidSessionId(sessionId: string): Observable<boolean>;
|
|
2919
|
+
isTeacher(): Observable<boolean>;
|
|
2920
|
+
setIdentificationQuestions(password: string, questions: {
|
|
2921
|
+
question: string;
|
|
2922
|
+
answer: string;
|
|
2923
|
+
}[]): Observable<Object>;
|
|
2924
|
+
resetPassword(securityQuestions: SecurityQuestion[], personalId: string, newPassword: string): Observable<Object>;
|
|
2925
|
+
securityCheck(securityQuestions: SecurityQuestion[], personalId: string): Observable<Object>;
|
|
2926
|
+
handleNewSessionId(authenticationResponse: AuthenticationResponse): AuthenticationResponse;
|
|
2927
|
+
private updateSessionId;
|
|
2928
|
+
private generateStringForAuthenticationHash;
|
|
2929
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
2930
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
declare class CommonGraphqlRequestsService {
|
|
2934
|
+
private gql;
|
|
2935
|
+
private environmentConfig;
|
|
2936
|
+
constructor(gql: GraphQLService, environmentConfig: EnvironmentConfig$1);
|
|
2937
|
+
getGroupsByIds(ids: string[], formatExample: Group): Observable<Group[]>;
|
|
2938
|
+
getClosedLists(names?: string[]): Observable<ClosedList[] | ClosedList>;
|
|
2939
|
+
getUsersByIds(usersIds: string[], formatExample: User): Observable<User[]>;
|
|
2940
|
+
getPermissionsTemplates(): Observable<any>;
|
|
2941
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonGraphqlRequestsService, never>;
|
|
2942
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommonGraphqlRequestsService>;
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2945
|
+
declare const innerUniqListItemKey = "_id";
|
|
2946
|
+
declare const emptyValueFlagForCreationUniqListItem = "null";
|
|
2947
|
+
declare class DbActionsInnerIdManagerService {
|
|
2948
|
+
determineIfInnerIdIsNeeded(value: any[]): void;
|
|
2949
|
+
deleteInnerIdFieldIfExist(itemToAttach: {
|
|
2950
|
+
[key: string]: any;
|
|
2951
|
+
}, itemValue: {
|
|
2952
|
+
[key: string]: any;
|
|
2953
|
+
}): void;
|
|
2954
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbActionsInnerIdManagerService, never>;
|
|
2955
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DbActionsInnerIdManagerService>;
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
declare class GlobalErrorHandler implements ErrorHandler {
|
|
2959
|
+
private http;
|
|
2960
|
+
private environmentConfig;
|
|
2961
|
+
private lastErrorKey;
|
|
2962
|
+
private lastErrorAt;
|
|
2963
|
+
constructor(http: HttpClient, environmentConfig: EnvironmentConfig$1);
|
|
2964
|
+
handleError(error: Error): void;
|
|
2965
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalErrorHandler, never>;
|
|
2966
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GlobalErrorHandler>;
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2969
|
+
declare class GlobalKeyboardListenerService {
|
|
2970
|
+
private environmentConfig;
|
|
2971
|
+
globalKeyboardEvents$: Subject<GlobalKeyboardEvent>;
|
|
2972
|
+
connection: WebSocket;
|
|
2973
|
+
constructor(environmentConfig: EnvironmentConfig$1);
|
|
2974
|
+
initGlobalSocket(): void;
|
|
2975
|
+
get globalKeysToChromeKeysNames(): {
|
|
2976
|
+
'NUMPAD 0': string;
|
|
2977
|
+
'NUMPAD 1': string;
|
|
2978
|
+
'NUMPAD 2': string;
|
|
2979
|
+
'NUMPAD 3': string;
|
|
2980
|
+
'NUMPAD 4': string;
|
|
2981
|
+
'NUMPAD 5': string;
|
|
2982
|
+
'NUMPAD 6': string;
|
|
2983
|
+
'NUMPAD 7': string;
|
|
2984
|
+
'NUMPAD 8': string;
|
|
2985
|
+
'NUMPAD 9': string;
|
|
2986
|
+
};
|
|
2987
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalKeyboardListenerService, never>;
|
|
2988
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GlobalKeyboardListenerService>;
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
declare class KeyPressService {
|
|
2992
|
+
shouldPreventMacroKeyPress(event: KeyboardEvent, macroKeysPress: number[]): boolean;
|
|
2993
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KeyPressService, never>;
|
|
2994
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KeyPressService>;
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2997
|
+
declare class LoaderManagerService {
|
|
2998
|
+
loadersIds: string[];
|
|
2999
|
+
loadingDescription: string;
|
|
3000
|
+
addLoader(loaderId: string, description?: string): void;
|
|
3001
|
+
changeDescription(description: string): void;
|
|
3002
|
+
clear(): void;
|
|
3003
|
+
removeLoaderId(loaderIdToRemove: string): void;
|
|
3004
|
+
get isFullScreenLoading(): boolean;
|
|
3005
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderManagerService, never>;
|
|
3006
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderManagerService>;
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
declare const freeTextAnswerField: string;
|
|
3010
|
+
type studentInnerAuthorizationSubscription = {
|
|
3011
|
+
user?: {
|
|
3012
|
+
id: string;
|
|
3013
|
+
};
|
|
3014
|
+
innerAuthorizations?: BackendMicroResourceAuthorization[];
|
|
3015
|
+
};
|
|
3016
|
+
declare class MicroResourcesService {
|
|
3017
|
+
private http;
|
|
3018
|
+
private environmentConfig;
|
|
3019
|
+
constructor(http: HttpClient, environmentConfig: EnvironmentConfig$1);
|
|
3020
|
+
getAssignmentUpdateTimings(selectedResource: Partial<Resource & LessonResourceSubscription>, openingTime: Date, closingTime: Date): {
|
|
3021
|
+
propertyPath: string;
|
|
3022
|
+
collectionItemType: string;
|
|
3023
|
+
openingTime: Date;
|
|
3024
|
+
closingTime: Date;
|
|
3025
|
+
authorizationType: MicroResourceAuthorizationType;
|
|
3026
|
+
}[];
|
|
3027
|
+
getPublishGradeTimings(selectedResource: Partial<Resource & LessonResourceSubscription>, openingTime?: Date, closingTime?: Date): {
|
|
3028
|
+
authorizationType: MicroResourceAuthorizationType;
|
|
3029
|
+
closingTime: Date;
|
|
3030
|
+
collectionItemType: string;
|
|
3031
|
+
openingTime: Date;
|
|
3032
|
+
propertyPath: string;
|
|
3033
|
+
}[];
|
|
3034
|
+
updateUserMicroResourceAuthorizationLocally(currentLesson: Lesson, studentId: string, microResourceAuthorizations: MicroResourceAuthorizationBase[], selectedResource: ResourcePreview): void;
|
|
3035
|
+
updateUserMicroResourceVisibility(microResource: MicroResourceFrontData, resource: Resource & LessonResourceSubscription, lesson: Lesson, user: LessonStudentSubscription): rxjs.Observable<UsersLessonPermissionsDalResponse>;
|
|
3036
|
+
updateUserMicroResourceAuthorization(studentId: string, lesson: Lesson, resource: ResourcePreview, authorizations: MicroResourceAuthorizationBase[]): rxjs.Observable<UsersLessonPermissionsDalResponse>;
|
|
3037
|
+
resolvePropertyPath(path: string | ((question: (Question | UserQuestionData)[]) => string), questions: (Question | UserQuestionData)[]): string;
|
|
3038
|
+
isTimePass(date: string | number | Date): boolean;
|
|
3039
|
+
isAuthenticated(microResource: MicroResourceAuthorizationBase): boolean;
|
|
3040
|
+
isQuestionAssignment(resourceSubscription: ResourceSubscription, questionType: string): boolean;
|
|
3041
|
+
isQuestionPendingForCheck(resourceSubscription: ResourceSubscription, questionData: UserQuestionData): boolean;
|
|
3042
|
+
buildQuestionPropertyPath(id: string, field: string): string;
|
|
3043
|
+
isPublishGradeAuthenticated(innerAuthorizations: BackendMicroResourceAuthorization[], resource: Resource): boolean;
|
|
3044
|
+
hasFillAuthorizationClosingTimePassed(innerAuthorizations: BackendMicroResourceAuthorization[], resource: Resource): boolean;
|
|
3045
|
+
getAuthorization(innerAuthorizations: BackendMicroResourceAuthorization[], defaultAuthorizationObject: BackendMicroResourceAuthorization, microResourceAuthorizationType: MicroResourceAuthorizationType, resource: Resource): BackendMicroResourceAuthorization;
|
|
3046
|
+
createMultiResourceDefaultAuthorizations<T extends studentInnerAuthorizationSubscription>(students: T[], pageId: string, resourcesIdsToDefaultAuthorizations: {
|
|
3047
|
+
[key: string]: BackendMicroResourceAuthorization[];
|
|
3048
|
+
}, authorizations?: BackendMicroResourceAuthorization[]): rxjs.Observable<Object[]>;
|
|
3049
|
+
copyResourceStudentsAuthorizations<T extends studentInnerAuthorizationSubscription>(students: T[], pageId: string, authSourceResourceId: string, authTargetResourceId: string, useDefaultGradePermissions: boolean): rxjs.Observable<Object[]>;
|
|
3050
|
+
removeResourceAuthorizations(page: HadrachaPage, resourcesIdsToRemove: string[]): rxjs.Observable<Object[]>;
|
|
3051
|
+
getGradeDisplayText(gradeData: QuizGradeData): string;
|
|
3052
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MicroResourcesService, never>;
|
|
3053
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MicroResourcesService>;
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
declare class UtilsService {
|
|
3057
|
+
private environmentConfig;
|
|
3058
|
+
private http;
|
|
3059
|
+
constructor(environmentConfig: EnvironmentConfig$1, http: HttpClient);
|
|
3060
|
+
getModelInfo(model: string): Observable<any>;
|
|
3061
|
+
getUrlFromFileData(fileData: Partial<FileData>): string;
|
|
3062
|
+
fetchFiles(fileId: string, resourceType: string, bucket?: string): Promise<Response>;
|
|
3063
|
+
initAudioFile(fileId: string, bucketName?: string, signal?: AbortSignal): Promise<File>;
|
|
3064
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
|
3065
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
|
3066
|
+
}
|
|
3067
|
+
|
|
3068
|
+
declare class ResourceDataBuilderService {
|
|
3069
|
+
private utilsService;
|
|
3070
|
+
constructor(utilsService: UtilsService);
|
|
3071
|
+
buildFilePath(resource: Resource): string;
|
|
3072
|
+
buildDirectoryPath(resource: Resource): string;
|
|
3073
|
+
private getVersionPathParameter;
|
|
3074
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceDataBuilderService, never>;
|
|
3075
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceDataBuilderService>;
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
declare class SystemStylingService {
|
|
3079
|
+
private document;
|
|
3080
|
+
private rendererFactory;
|
|
3081
|
+
private renderer;
|
|
3082
|
+
constructor(document: Document, rendererFactory: RendererFactory2);
|
|
3083
|
+
setHerumStyling(): void;
|
|
3084
|
+
setCollegeStyling(): void;
|
|
3085
|
+
setHadrachaStyling(): void;
|
|
3086
|
+
private setCssVariable;
|
|
3087
|
+
private setFavicon;
|
|
3088
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SystemStylingService, never>;
|
|
3089
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SystemStylingService>;
|
|
3090
|
+
}
|
|
3091
|
+
declare function systemStylingFactory(systemName: string, systemStylingService: SystemStylingService): () => void;
|
|
3092
|
+
|
|
3093
|
+
declare class ToastsService {
|
|
3094
|
+
toast$: BehaviorSubject<Toast>;
|
|
3095
|
+
toastId: number;
|
|
3096
|
+
toastsTemplates: {
|
|
3097
|
+
[key: string]: ToastTemplate;
|
|
3098
|
+
};
|
|
3099
|
+
findErrorMessageByStatusCode(statusCode: string, mongoMethodDisplayedName: string): string;
|
|
3100
|
+
showErrorToast(toastContextKey: string): void;
|
|
3101
|
+
showSuccessToast(toastContextKey: string): void;
|
|
3102
|
+
showInformationToast(toastContextKey: string): void;
|
|
3103
|
+
showOnDemandToast(toastContextKey: string, status: ToastStatus, toastStorageKey?: string): void;
|
|
3104
|
+
private hasToastAlreadyShownAndShouldShowOnce;
|
|
3105
|
+
showToast(title: string, content: string, status: ToastStatus): void;
|
|
3106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastsService, never>;
|
|
3107
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToastsService>;
|
|
3108
|
+
}
|
|
3109
|
+
|
|
3110
|
+
declare class TrackTextChangesService {
|
|
3111
|
+
private systemContextTrackTextChangesService;
|
|
3112
|
+
constructor(systemContextTrackTextChangesService: ISystemTrackTextChangesService);
|
|
3113
|
+
getStyle(): TextChangeStyle;
|
|
3114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrackTextChangesService, never>;
|
|
3115
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TrackTextChangesService>;
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
declare const SYSTEM_IDENTIFIER: InjectionToken<SystemIdentifier>;
|
|
3119
|
+
declare const SYSTEM_USER_SERVICE: InjectionToken<ISystemUserService>;
|
|
3120
|
+
declare const SYSTEM_TRACK_TEXT_CHANGES_SERVICE: InjectionToken<ISystemUserService>;
|
|
3121
|
+
declare const SYSTEM_AUDIO_VISUAL_CONFIGURATION: InjectionToken<AudioVisualConfiguration>;
|
|
3122
|
+
|
|
3123
|
+
declare const assignmentMetadata: {
|
|
3124
|
+
state: number;
|
|
3125
|
+
name: string;
|
|
3126
|
+
};
|
|
3127
|
+
|
|
3128
|
+
declare const checkboxTypes: {
|
|
3129
|
+
unchecked: string;
|
|
3130
|
+
indeterminate: string;
|
|
3131
|
+
checked: string;
|
|
3132
|
+
error: string;
|
|
3133
|
+
disabled: string;
|
|
3134
|
+
};
|
|
3135
|
+
|
|
3136
|
+
declare const collectionFormKeys: {
|
|
3137
|
+
files: string;
|
|
3138
|
+
name: string;
|
|
3139
|
+
description: string;
|
|
3140
|
+
subjects: string;
|
|
3141
|
+
isPublic: string;
|
|
3142
|
+
groupsPermissions: string;
|
|
3143
|
+
groupsViewPermissions: string;
|
|
3144
|
+
tags: string;
|
|
3145
|
+
};
|
|
3146
|
+
declare const collectionFormValues: {
|
|
3147
|
+
public: string;
|
|
3148
|
+
private: string;
|
|
3149
|
+
};
|
|
3150
|
+
declare const resourceKeys: {
|
|
3151
|
+
previewImage: string;
|
|
3152
|
+
minimumGradeToPass: string;
|
|
3153
|
+
isIncludedInAverageGrade: string;
|
|
3154
|
+
};
|
|
3155
|
+
declare const resourceFormKeys: {
|
|
3156
|
+
title: string;
|
|
3157
|
+
resourceType: string;
|
|
3158
|
+
description: string;
|
|
3159
|
+
files: string;
|
|
3160
|
+
positionInCollection: string;
|
|
3161
|
+
exercise: string;
|
|
3162
|
+
};
|
|
3163
|
+
declare const generalKeys: {
|
|
3164
|
+
id: string;
|
|
3165
|
+
subjects: string;
|
|
3166
|
+
newFileRequest: string;
|
|
3167
|
+
file: string;
|
|
3168
|
+
additionalFiles: string;
|
|
3169
|
+
resourceFile: string;
|
|
3170
|
+
ids: string;
|
|
3171
|
+
resourceType: string;
|
|
3172
|
+
groups: string;
|
|
3173
|
+
quiz: string;
|
|
3174
|
+
request: string;
|
|
3175
|
+
newValue: string;
|
|
3176
|
+
storyPrefix: string;
|
|
3177
|
+
};
|
|
3178
|
+
declare const types: {
|
|
3179
|
+
string: string;
|
|
3180
|
+
object: string;
|
|
3181
|
+
number: string;
|
|
3182
|
+
boolean: string;
|
|
3183
|
+
function: string;
|
|
3184
|
+
};
|
|
3185
|
+
declare const inputs: {
|
|
3186
|
+
resource: string;
|
|
3187
|
+
collection: string;
|
|
3188
|
+
resourceSubscriptions: string;
|
|
3189
|
+
};
|
|
3190
|
+
declare const readynessDisplayName: {
|
|
3191
|
+
high: string;
|
|
3192
|
+
medium: string;
|
|
3193
|
+
low: string;
|
|
3194
|
+
};
|
|
3195
|
+
declare const signUpFormKeys: {
|
|
3196
|
+
readonly firstName: "firstName";
|
|
3197
|
+
readonly lastName: "lastName";
|
|
3198
|
+
readonly personalId: "personalId";
|
|
3199
|
+
readonly militaryId: "militaryId";
|
|
3200
|
+
readonly groups: "groups";
|
|
3201
|
+
readonly referringUser: "referringUser";
|
|
3202
|
+
readonly militaryStatus: "militaryStatus";
|
|
3203
|
+
readonly gender: "gender";
|
|
3204
|
+
readonly civilProfession: "civilProfession";
|
|
3205
|
+
readonly sections: "sections";
|
|
3206
|
+
readonly sagahs: "sagahs";
|
|
3207
|
+
readonly subjectAreas: "subjectAreas";
|
|
3208
|
+
readonly phoneNumber: "phoneNumber";
|
|
3209
|
+
readonly militaryEmail: "militaryEmail";
|
|
3210
|
+
};
|
|
3211
|
+
declare const signUpFormFields: Record<keyof typeof signUpFormKeys, SignUpField>;
|
|
3212
|
+
declare const formsErrorMessages: {
|
|
3213
|
+
requiredField: string;
|
|
3214
|
+
personalIdIsUsed: string;
|
|
3215
|
+
militaryIdIsUsed: string;
|
|
3216
|
+
notValidPersonalId: string;
|
|
3217
|
+
notValidMilitarylId: string;
|
|
3218
|
+
};
|
|
3219
|
+
declare const formStatuses: {
|
|
3220
|
+
valid: string;
|
|
3221
|
+
invalid: string;
|
|
3222
|
+
disabled: string;
|
|
3223
|
+
pending: string;
|
|
3224
|
+
};
|
|
3225
|
+
declare const defaultPlaceholder: string;
|
|
3226
|
+
declare const attributes: {
|
|
3227
|
+
preventMacroKeysPressEvent: string;
|
|
3228
|
+
contenteditable: string;
|
|
3229
|
+
};
|
|
3230
|
+
declare const keyboardAsciiCodes: {
|
|
3231
|
+
[key: string]: number;
|
|
3232
|
+
};
|
|
3233
|
+
declare const sideBarSizeButtonId: string;
|
|
3234
|
+
declare const previewImageKey: string;
|
|
3235
|
+
declare const defaultGrade: number;
|
|
3236
|
+
declare const anySubFileTypeWildCard: string;
|
|
3237
|
+
declare const resourceColumnPrefix = "resource_";
|
|
3238
|
+
|
|
3239
|
+
declare const defaultUserId = "1";
|
|
3240
|
+
|
|
3241
|
+
declare const datePlaceHolder: string;
|
|
3242
|
+
declare const timePlaceHolder: string;
|
|
3243
|
+
declare const timeWithoutSecondsPlaceHolder: string;
|
|
3244
|
+
declare const dateTimePlaceHolder: string;
|
|
3245
|
+
declare const dateTimeWithoutSecondsPlaceHolder: string;
|
|
3246
|
+
declare const dateRangePlaceHolder: string;
|
|
3247
|
+
declare const dateRangeTimeRangePlaceHolder: string;
|
|
3248
|
+
declare const dateRangeTimeRangeWithoutSecondsPlaceHolder: string;
|
|
3249
|
+
|
|
3250
|
+
declare const resourceIdPlaceholder = "$resourceId";
|
|
3251
|
+
declare const defaultCloseTime: Date;
|
|
3252
|
+
declare const defaultOpenTime: Date;
|
|
3253
|
+
declare const legacyCorrectAnswerPropertyPath = ".Quiz.Questions[].Answers[].IsCorrect";
|
|
3254
|
+
declare const correctAnswerPropertyPath = ".Quiz.Questions[].ClosedContent.Answers[].IsCorrect";
|
|
3255
|
+
declare const matchingSourceIndexPropertyPath = ".Quiz.Questions[].MatchingContent.sources[].index";
|
|
3256
|
+
declare const defaultAuthorizationObject: {
|
|
3257
|
+
view(): BackendMicroResourceAuthorization;
|
|
3258
|
+
edit(): BackendMicroResourceAuthorization;
|
|
3259
|
+
fill(): BackendMicroResourceAuthorization;
|
|
3260
|
+
resourceGrade(): BackendMicroResourceAuthorization;
|
|
3261
|
+
questionGrade(): BackendMicroResourceAuthorization;
|
|
3262
|
+
areAnswersCorrect(): BackendMicroResourceAuthorization;
|
|
3263
|
+
answerNotes(): BackendMicroResourceAuthorization;
|
|
3264
|
+
isCorrect(): BackendMicroResourceAuthorization;
|
|
3265
|
+
matchingSourceIndex(): BackendMicroResourceAuthorization;
|
|
3266
|
+
};
|
|
3267
|
+
declare function getQuizDefaultAuthorizations(): BackendMicroResourceAuthorization[];
|
|
3268
|
+
declare function getResourceDefaultAuthorizations(): BackendMicroResourceAuthorization[];
|
|
3269
|
+
declare function getPublishAuthorization(): BackendMicroResourceAuthorization[];
|
|
3270
|
+
declare function getMediaDefaultAuthorizations(): BackendMicroResourceAuthorization[];
|
|
3271
|
+
declare function getPropertyPathsOfPublishAuthorization(): string[];
|
|
3272
|
+
declare function normalizeQuizAuthorizationPropertyPath(propertyPath: string): string;
|
|
3273
|
+
declare const viewPermissionLabel: string;
|
|
3274
|
+
|
|
3275
|
+
declare const defaultTrackTextChangesStyle: {
|
|
3276
|
+
ins: string;
|
|
3277
|
+
del: string;
|
|
3278
|
+
commentMarker: string;
|
|
3279
|
+
tooltip: string;
|
|
3280
|
+
tooltipText: string;
|
|
3281
|
+
tooltipButtonsContainer: string;
|
|
3282
|
+
};
|
|
3283
|
+
|
|
3284
|
+
declare const dialogsSubmitActionButtons: {
|
|
3285
|
+
save: string;
|
|
3286
|
+
approve: string;
|
|
3287
|
+
delete: string;
|
|
3288
|
+
add: string;
|
|
3289
|
+
submit: string;
|
|
3290
|
+
pageNavigation: string;
|
|
3291
|
+
understand: string;
|
|
3292
|
+
};
|
|
3293
|
+
declare const dialogsCloseActionButtons: {
|
|
3294
|
+
pageNavigation: string;
|
|
3295
|
+
};
|
|
3296
|
+
declare const dialogsTitles: {
|
|
3297
|
+
serverError: string;
|
|
3298
|
+
userError: string;
|
|
3299
|
+
cancelAttachedCollections: string;
|
|
3300
|
+
attachCollections: string;
|
|
3301
|
+
deleteResources: string;
|
|
3302
|
+
deleteResource: string;
|
|
3303
|
+
deleteCollegeResource: string;
|
|
3304
|
+
deleteCollection: string;
|
|
3305
|
+
addResource: string;
|
|
3306
|
+
addUser: string;
|
|
3307
|
+
editResource: string;
|
|
3308
|
+
updateResources: string;
|
|
3309
|
+
editUser: string;
|
|
3310
|
+
editTeacher: string;
|
|
3311
|
+
editStudent: string;
|
|
3312
|
+
editCollectionPriority: string;
|
|
3313
|
+
editCollection: string;
|
|
3314
|
+
editCollections: string;
|
|
3315
|
+
deleteGroups: string;
|
|
3316
|
+
timeoutError: string;
|
|
3317
|
+
pageNavigation: string;
|
|
3318
|
+
quizSubmission: string;
|
|
3319
|
+
notAuthorized: string;
|
|
3320
|
+
addExistingUser: string;
|
|
3321
|
+
addedStructWithExistingUsers: string;
|
|
3322
|
+
resetQuiz: string;
|
|
3323
|
+
removeUserFromPage: string;
|
|
3324
|
+
removeUserFromStruct: string;
|
|
3325
|
+
studentStartedLesson: string;
|
|
3326
|
+
realTimeError: string;
|
|
3327
|
+
realTimeUnavailable: string;
|
|
3328
|
+
};
|
|
3329
|
+
declare const dialogsDescriptions: {
|
|
3330
|
+
defaultInsurance: string;
|
|
3331
|
+
unsavedChanges: string;
|
|
3332
|
+
serverError: string;
|
|
3333
|
+
timeoutError: string;
|
|
3334
|
+
criticalServerError: string;
|
|
3335
|
+
forbiddenServerError: string;
|
|
3336
|
+
cancelAttachedCollections: string;
|
|
3337
|
+
attachCollections: string;
|
|
3338
|
+
editCollectionPriority: string;
|
|
3339
|
+
deleteResources: string;
|
|
3340
|
+
deleteResource: string;
|
|
3341
|
+
deleteCollegeResource: string;
|
|
3342
|
+
updateMicroResourcesOpeningTime: string;
|
|
3343
|
+
editUser: string;
|
|
3344
|
+
deleteGroups: string;
|
|
3345
|
+
deleteCollection: string;
|
|
3346
|
+
deleteLastResource: string;
|
|
3347
|
+
addExistingUser: string;
|
|
3348
|
+
addedStructWithExistingUsers: string;
|
|
3349
|
+
quizPartialSubmission: string;
|
|
3350
|
+
notAuthorized: string;
|
|
3351
|
+
resetQuiz: string;
|
|
3352
|
+
removeUserFromPage: string;
|
|
3353
|
+
removeUserFromStruct: string;
|
|
3354
|
+
studentStartedLesson: string;
|
|
3355
|
+
realTimeError: string;
|
|
3356
|
+
realTimeUnavailable: string;
|
|
3357
|
+
};
|
|
3358
|
+
declare const dialogsNotes: {
|
|
3359
|
+
resetQuiz: string;
|
|
3360
|
+
};
|
|
3361
|
+
declare const insuranceDialogPageNavigationData: DialogConfig;
|
|
3362
|
+
|
|
3363
|
+
declare const errorHeadersToSet: {
|
|
3364
|
+
[key: string]: string;
|
|
3365
|
+
};
|
|
3366
|
+
declare const globalErrorHandlingHeader: string;
|
|
3367
|
+
|
|
3368
|
+
declare const videoPreviewSupportedMimes: string[];
|
|
3369
|
+
declare const audioPreviewSupportedMimes: string[];
|
|
3370
|
+
declare const audioAndVideoPreviewSupportedMimes: string[];
|
|
3371
|
+
|
|
3372
|
+
declare const filesSuffixes: {
|
|
3373
|
+
[key: string]: string[];
|
|
3374
|
+
};
|
|
3375
|
+
declare const resourcesFilesSuffixes: {
|
|
3376
|
+
Story: string;
|
|
3377
|
+
Pdf: string;
|
|
3378
|
+
Video: string;
|
|
3379
|
+
Presentation: string;
|
|
3380
|
+
};
|
|
3381
|
+
declare const videoPreviewSupportedSuffixes: string[];
|
|
3382
|
+
declare const audioPreviewSupportedSuffixes: string[];
|
|
3383
|
+
declare const audioAndVideoPreviewSupportedSuffixes: string[];
|
|
3384
|
+
|
|
3385
|
+
declare const timestampError: string;
|
|
3386
|
+
declare const formatError: string;
|
|
3387
|
+
declare const minDateError: string;
|
|
3388
|
+
declare const startEndDateError: string;
|
|
3389
|
+
|
|
3390
|
+
declare const activeDragPath: string;
|
|
3391
|
+
declare const dragPath: string;
|
|
3392
|
+
declare const maleAvatarPath: string;
|
|
3393
|
+
declare const femaleAvatarPath: string;
|
|
3394
|
+
|
|
3395
|
+
declare const initialMediaSettings: MediaSettings;
|
|
3396
|
+
|
|
3397
|
+
declare const keyboardKeys: {
|
|
3398
|
+
space: number;
|
|
3399
|
+
right: number;
|
|
3400
|
+
left: number;
|
|
3401
|
+
enter: number;
|
|
3402
|
+
};
|
|
3403
|
+
|
|
3404
|
+
declare const radioButtonTypes: {
|
|
3405
|
+
disabled: string;
|
|
3406
|
+
error: string;
|
|
3407
|
+
checked: string;
|
|
3408
|
+
completed: string;
|
|
3409
|
+
};
|
|
3410
|
+
|
|
3411
|
+
declare const regexExpressions: {
|
|
3412
|
+
digitsOnly: RegExp;
|
|
3413
|
+
templateInterpolation: RegExp;
|
|
3414
|
+
sevenDigitsLength: RegExp;
|
|
3415
|
+
militaryIdLength: RegExp;
|
|
3416
|
+
curlyBraces: RegExp;
|
|
3417
|
+
squareBrackets: RegExp;
|
|
3418
|
+
chromeVersion: RegExp;
|
|
3419
|
+
fullDateTime: RegExp;
|
|
3420
|
+
fullRangeDateTime: RegExp;
|
|
3421
|
+
rangeDateTimeWithoutSeconds: RegExp;
|
|
3422
|
+
dateTimeWithoutSeconds: RegExp;
|
|
3423
|
+
chromeVersionRegex: RegExp;
|
|
3424
|
+
removeSpacesRegex: RegExp;
|
|
3425
|
+
phoneNumberTenDigits: RegExp;
|
|
3426
|
+
};
|
|
3427
|
+
|
|
3428
|
+
declare const resourceFileTypes: {
|
|
3429
|
+
directory: string;
|
|
3430
|
+
};
|
|
3431
|
+
|
|
3432
|
+
declare const resourceTypes: {
|
|
3433
|
+
story: string;
|
|
3434
|
+
pdf: string;
|
|
3435
|
+
quiz: string;
|
|
3436
|
+
exercise: string;
|
|
3437
|
+
video: string;
|
|
3438
|
+
learningUnit: string;
|
|
3439
|
+
text: string;
|
|
3440
|
+
};
|
|
3441
|
+
|
|
3442
|
+
declare const routes: {
|
|
3443
|
+
login: string;
|
|
3444
|
+
catalog: string;
|
|
3445
|
+
};
|
|
3446
|
+
|
|
3447
|
+
declare const herumClosedListMultiSelectType = "herum-closed-list-multi-select";
|
|
3448
|
+
declare const signUpFormFieldsData: ({
|
|
3449
|
+
name: "personalId";
|
|
3450
|
+
label: string;
|
|
3451
|
+
type: string;
|
|
3452
|
+
typeInput: string;
|
|
3453
|
+
placeholder: string;
|
|
3454
|
+
errorMsg?: undefined;
|
|
3455
|
+
options?: undefined;
|
|
3456
|
+
size?: undefined;
|
|
3457
|
+
dropDownDirection?: undefined;
|
|
3458
|
+
closedListName?: undefined;
|
|
3459
|
+
disabled?: undefined;
|
|
3460
|
+
} | {
|
|
3461
|
+
name: "militaryId";
|
|
3462
|
+
label: string;
|
|
3463
|
+
type: string;
|
|
3464
|
+
typeInput: string;
|
|
3465
|
+
placeholder: string;
|
|
3466
|
+
errorMsg?: undefined;
|
|
3467
|
+
options?: undefined;
|
|
3468
|
+
size?: undefined;
|
|
3469
|
+
dropDownDirection?: undefined;
|
|
3470
|
+
closedListName?: undefined;
|
|
3471
|
+
disabled?: undefined;
|
|
3472
|
+
} | {
|
|
3473
|
+
name: "firstName";
|
|
3474
|
+
label: string;
|
|
3475
|
+
type: string;
|
|
3476
|
+
typeInput: string;
|
|
3477
|
+
errorMsg: string;
|
|
3478
|
+
placeholder: string;
|
|
3479
|
+
options?: undefined;
|
|
3480
|
+
size?: undefined;
|
|
3481
|
+
dropDownDirection?: undefined;
|
|
3482
|
+
closedListName?: undefined;
|
|
3483
|
+
disabled?: undefined;
|
|
3484
|
+
} | {
|
|
3485
|
+
name: "lastName";
|
|
3486
|
+
label: string;
|
|
3487
|
+
type: string;
|
|
3488
|
+
typeInput: string;
|
|
3489
|
+
errorMsg: string;
|
|
3490
|
+
placeholder: string;
|
|
3491
|
+
options?: undefined;
|
|
3492
|
+
size?: undefined;
|
|
3493
|
+
dropDownDirection?: undefined;
|
|
3494
|
+
closedListName?: undefined;
|
|
3495
|
+
disabled?: undefined;
|
|
3496
|
+
} | {
|
|
3497
|
+
name: "militaryStatus";
|
|
3498
|
+
label: string;
|
|
3499
|
+
type: string;
|
|
3500
|
+
options: {
|
|
3501
|
+
name: string;
|
|
3502
|
+
id: string;
|
|
3503
|
+
}[];
|
|
3504
|
+
typeInput?: undefined;
|
|
3505
|
+
placeholder?: undefined;
|
|
3506
|
+
errorMsg?: undefined;
|
|
3507
|
+
size?: undefined;
|
|
3508
|
+
dropDownDirection?: undefined;
|
|
3509
|
+
closedListName?: undefined;
|
|
3510
|
+
disabled?: undefined;
|
|
3511
|
+
} | {
|
|
3512
|
+
name: "civilProfession";
|
|
3513
|
+
label: string;
|
|
3514
|
+
type: string;
|
|
3515
|
+
size: string;
|
|
3516
|
+
dropDownDirection: string;
|
|
3517
|
+
typeInput?: undefined;
|
|
3518
|
+
placeholder?: undefined;
|
|
3519
|
+
errorMsg?: undefined;
|
|
3520
|
+
options?: undefined;
|
|
3521
|
+
closedListName?: undefined;
|
|
3522
|
+
disabled?: undefined;
|
|
3523
|
+
} | {
|
|
3524
|
+
name: "sections";
|
|
3525
|
+
label: string;
|
|
3526
|
+
type: string;
|
|
3527
|
+
closedListName: string;
|
|
3528
|
+
size: string;
|
|
3529
|
+
dropDownDirection: string;
|
|
3530
|
+
typeInput?: undefined;
|
|
3531
|
+
placeholder?: undefined;
|
|
3532
|
+
errorMsg?: undefined;
|
|
3533
|
+
options?: undefined;
|
|
3534
|
+
disabled?: undefined;
|
|
3535
|
+
} | {
|
|
3536
|
+
name: "sagahs";
|
|
3537
|
+
label: string;
|
|
3538
|
+
type: string;
|
|
3539
|
+
closedListName: string;
|
|
3540
|
+
size: string;
|
|
3541
|
+
dropDownDirection: string;
|
|
3542
|
+
typeInput?: undefined;
|
|
3543
|
+
placeholder?: undefined;
|
|
3544
|
+
errorMsg?: undefined;
|
|
3545
|
+
options?: undefined;
|
|
3546
|
+
disabled?: undefined;
|
|
3547
|
+
} | {
|
|
3548
|
+
name: "subjectAreas";
|
|
3549
|
+
label: string;
|
|
3550
|
+
type: string;
|
|
3551
|
+
closedListName: string;
|
|
3552
|
+
size: string;
|
|
3553
|
+
dropDownDirection: string;
|
|
3554
|
+
typeInput?: undefined;
|
|
3555
|
+
placeholder?: undefined;
|
|
3556
|
+
errorMsg?: undefined;
|
|
3557
|
+
options?: undefined;
|
|
3558
|
+
disabled?: undefined;
|
|
3559
|
+
} | {
|
|
3560
|
+
name: "groups";
|
|
3561
|
+
label: string;
|
|
3562
|
+
type: string;
|
|
3563
|
+
options: any[];
|
|
3564
|
+
size: string;
|
|
3565
|
+
dropDownDirection: string;
|
|
3566
|
+
typeInput?: undefined;
|
|
3567
|
+
placeholder?: undefined;
|
|
3568
|
+
errorMsg?: undefined;
|
|
3569
|
+
closedListName?: undefined;
|
|
3570
|
+
disabled?: undefined;
|
|
3571
|
+
} | {
|
|
3572
|
+
name: "referringUser";
|
|
3573
|
+
label: string;
|
|
3574
|
+
type: string;
|
|
3575
|
+
typeInput: string;
|
|
3576
|
+
errorMsg: string;
|
|
3577
|
+
disabled: boolean;
|
|
3578
|
+
placeholder?: undefined;
|
|
3579
|
+
options?: undefined;
|
|
3580
|
+
size?: undefined;
|
|
3581
|
+
dropDownDirection?: undefined;
|
|
3582
|
+
closedListName?: undefined;
|
|
3583
|
+
} | {
|
|
3584
|
+
name: "phoneNumber";
|
|
3585
|
+
label: string;
|
|
3586
|
+
type: string;
|
|
3587
|
+
typeInput: string;
|
|
3588
|
+
errorMsg: string;
|
|
3589
|
+
placeholder: string;
|
|
3590
|
+
options?: undefined;
|
|
3591
|
+
size?: undefined;
|
|
3592
|
+
dropDownDirection?: undefined;
|
|
3593
|
+
closedListName?: undefined;
|
|
3594
|
+
disabled?: undefined;
|
|
3595
|
+
} | {
|
|
3596
|
+
name: "militaryEmail";
|
|
3597
|
+
label: string;
|
|
3598
|
+
type: string;
|
|
3599
|
+
typeInput: string;
|
|
3600
|
+
errorMsg: string;
|
|
3601
|
+
placeholder: string;
|
|
3602
|
+
options?: undefined;
|
|
3603
|
+
size?: undefined;
|
|
3604
|
+
dropDownDirection?: undefined;
|
|
3605
|
+
closedListName?: undefined;
|
|
3606
|
+
disabled?: undefined;
|
|
3607
|
+
} | {
|
|
3608
|
+
name: "gender";
|
|
3609
|
+
label: string;
|
|
3610
|
+
type: string;
|
|
3611
|
+
options: {
|
|
3612
|
+
name: string;
|
|
3613
|
+
id: number;
|
|
3614
|
+
}[];
|
|
3615
|
+
typeInput?: undefined;
|
|
3616
|
+
placeholder?: undefined;
|
|
3617
|
+
errorMsg?: undefined;
|
|
3618
|
+
size?: undefined;
|
|
3619
|
+
dropDownDirection?: undefined;
|
|
3620
|
+
closedListName?: undefined;
|
|
3621
|
+
disabled?: undefined;
|
|
3622
|
+
})[];
|
|
3623
|
+
declare function getSignUpFormFieldsByFields(fieldNames: string[]): ({
|
|
3624
|
+
name: "personalId";
|
|
3625
|
+
label: string;
|
|
3626
|
+
type: string;
|
|
3627
|
+
typeInput: string;
|
|
3628
|
+
placeholder: string;
|
|
3629
|
+
errorMsg?: undefined;
|
|
3630
|
+
options?: undefined;
|
|
3631
|
+
size?: undefined;
|
|
3632
|
+
dropDownDirection?: undefined;
|
|
3633
|
+
closedListName?: undefined;
|
|
3634
|
+
disabled?: undefined;
|
|
3635
|
+
} | {
|
|
3636
|
+
name: "militaryId";
|
|
3637
|
+
label: string;
|
|
3638
|
+
type: string;
|
|
3639
|
+
typeInput: string;
|
|
3640
|
+
placeholder: string;
|
|
3641
|
+
errorMsg?: undefined;
|
|
3642
|
+
options?: undefined;
|
|
3643
|
+
size?: undefined;
|
|
3644
|
+
dropDownDirection?: undefined;
|
|
3645
|
+
closedListName?: undefined;
|
|
3646
|
+
disabled?: undefined;
|
|
3647
|
+
} | {
|
|
3648
|
+
name: "firstName";
|
|
3649
|
+
label: string;
|
|
3650
|
+
type: string;
|
|
3651
|
+
typeInput: string;
|
|
3652
|
+
errorMsg: string;
|
|
3653
|
+
placeholder: string;
|
|
3654
|
+
options?: undefined;
|
|
3655
|
+
size?: undefined;
|
|
3656
|
+
dropDownDirection?: undefined;
|
|
3657
|
+
closedListName?: undefined;
|
|
3658
|
+
disabled?: undefined;
|
|
3659
|
+
} | {
|
|
3660
|
+
name: "lastName";
|
|
3661
|
+
label: string;
|
|
3662
|
+
type: string;
|
|
3663
|
+
typeInput: string;
|
|
3664
|
+
errorMsg: string;
|
|
3665
|
+
placeholder: string;
|
|
3666
|
+
options?: undefined;
|
|
3667
|
+
size?: undefined;
|
|
3668
|
+
dropDownDirection?: undefined;
|
|
3669
|
+
closedListName?: undefined;
|
|
3670
|
+
disabled?: undefined;
|
|
3671
|
+
} | {
|
|
3672
|
+
name: "militaryStatus";
|
|
3673
|
+
label: string;
|
|
3674
|
+
type: string;
|
|
3675
|
+
options: {
|
|
3676
|
+
name: string;
|
|
3677
|
+
id: string;
|
|
3678
|
+
}[];
|
|
3679
|
+
typeInput?: undefined;
|
|
3680
|
+
placeholder?: undefined;
|
|
3681
|
+
errorMsg?: undefined;
|
|
3682
|
+
size?: undefined;
|
|
3683
|
+
dropDownDirection?: undefined;
|
|
3684
|
+
closedListName?: undefined;
|
|
3685
|
+
disabled?: undefined;
|
|
3686
|
+
} | {
|
|
3687
|
+
name: "civilProfession";
|
|
3688
|
+
label: string;
|
|
3689
|
+
type: string;
|
|
3690
|
+
size: string;
|
|
3691
|
+
dropDownDirection: string;
|
|
3692
|
+
typeInput?: undefined;
|
|
3693
|
+
placeholder?: undefined;
|
|
3694
|
+
errorMsg?: undefined;
|
|
3695
|
+
options?: undefined;
|
|
3696
|
+
closedListName?: undefined;
|
|
3697
|
+
disabled?: undefined;
|
|
3698
|
+
} | {
|
|
3699
|
+
name: "sections";
|
|
3700
|
+
label: string;
|
|
3701
|
+
type: string;
|
|
3702
|
+
closedListName: string;
|
|
3703
|
+
size: string;
|
|
3704
|
+
dropDownDirection: string;
|
|
3705
|
+
typeInput?: undefined;
|
|
3706
|
+
placeholder?: undefined;
|
|
3707
|
+
errorMsg?: undefined;
|
|
3708
|
+
options?: undefined;
|
|
3709
|
+
disabled?: undefined;
|
|
3710
|
+
} | {
|
|
3711
|
+
name: "sagahs";
|
|
3712
|
+
label: string;
|
|
3713
|
+
type: string;
|
|
3714
|
+
closedListName: string;
|
|
3715
|
+
size: string;
|
|
3716
|
+
dropDownDirection: string;
|
|
3717
|
+
typeInput?: undefined;
|
|
3718
|
+
placeholder?: undefined;
|
|
3719
|
+
errorMsg?: undefined;
|
|
3720
|
+
options?: undefined;
|
|
3721
|
+
disabled?: undefined;
|
|
3722
|
+
} | {
|
|
3723
|
+
name: "subjectAreas";
|
|
3724
|
+
label: string;
|
|
3725
|
+
type: string;
|
|
3726
|
+
closedListName: string;
|
|
3727
|
+
size: string;
|
|
3728
|
+
dropDownDirection: string;
|
|
3729
|
+
typeInput?: undefined;
|
|
3730
|
+
placeholder?: undefined;
|
|
3731
|
+
errorMsg?: undefined;
|
|
3732
|
+
options?: undefined;
|
|
3733
|
+
disabled?: undefined;
|
|
3734
|
+
} | {
|
|
3735
|
+
name: "groups";
|
|
3736
|
+
label: string;
|
|
3737
|
+
type: string;
|
|
3738
|
+
options: any[];
|
|
3739
|
+
size: string;
|
|
3740
|
+
dropDownDirection: string;
|
|
3741
|
+
typeInput?: undefined;
|
|
3742
|
+
placeholder?: undefined;
|
|
3743
|
+
errorMsg?: undefined;
|
|
3744
|
+
closedListName?: undefined;
|
|
3745
|
+
disabled?: undefined;
|
|
3746
|
+
} | {
|
|
3747
|
+
name: "referringUser";
|
|
3748
|
+
label: string;
|
|
3749
|
+
type: string;
|
|
3750
|
+
typeInput: string;
|
|
3751
|
+
errorMsg: string;
|
|
3752
|
+
disabled: boolean;
|
|
3753
|
+
placeholder?: undefined;
|
|
3754
|
+
options?: undefined;
|
|
3755
|
+
size?: undefined;
|
|
3756
|
+
dropDownDirection?: undefined;
|
|
3757
|
+
closedListName?: undefined;
|
|
3758
|
+
} | {
|
|
3759
|
+
name: "phoneNumber";
|
|
3760
|
+
label: string;
|
|
3761
|
+
type: string;
|
|
3762
|
+
typeInput: string;
|
|
3763
|
+
errorMsg: string;
|
|
3764
|
+
placeholder: string;
|
|
3765
|
+
options?: undefined;
|
|
3766
|
+
size?: undefined;
|
|
3767
|
+
dropDownDirection?: undefined;
|
|
3768
|
+
closedListName?: undefined;
|
|
3769
|
+
disabled?: undefined;
|
|
3770
|
+
} | {
|
|
3771
|
+
name: "militaryEmail";
|
|
3772
|
+
label: string;
|
|
3773
|
+
type: string;
|
|
3774
|
+
typeInput: string;
|
|
3775
|
+
errorMsg: string;
|
|
3776
|
+
placeholder: string;
|
|
3777
|
+
options?: undefined;
|
|
3778
|
+
size?: undefined;
|
|
3779
|
+
dropDownDirection?: undefined;
|
|
3780
|
+
closedListName?: undefined;
|
|
3781
|
+
disabled?: undefined;
|
|
3782
|
+
} | {
|
|
3783
|
+
name: "gender";
|
|
3784
|
+
label: string;
|
|
3785
|
+
type: string;
|
|
3786
|
+
options: {
|
|
3787
|
+
name: string;
|
|
3788
|
+
id: number;
|
|
3789
|
+
}[];
|
|
3790
|
+
typeInput?: undefined;
|
|
3791
|
+
placeholder?: undefined;
|
|
3792
|
+
errorMsg?: undefined;
|
|
3793
|
+
size?: undefined;
|
|
3794
|
+
dropDownDirection?: undefined;
|
|
3795
|
+
closedListName?: undefined;
|
|
3796
|
+
disabled?: undefined;
|
|
3797
|
+
})[];
|
|
3798
|
+
|
|
3799
|
+
declare const structHierarchyTreeMaxHeight = 2;
|
|
3800
|
+
|
|
3801
|
+
declare const svgsStrings: {
|
|
3802
|
+
edit: string;
|
|
3803
|
+
garbage: string;
|
|
3804
|
+
greyUploadFile: string;
|
|
3805
|
+
uploadFile: string;
|
|
3806
|
+
downloadFile: string;
|
|
3807
|
+
'.mp4': string;
|
|
3808
|
+
'.pdf': string;
|
|
3809
|
+
'.pptx': string;
|
|
3810
|
+
bigVideo: string;
|
|
3811
|
+
bigPdf: string;
|
|
3812
|
+
bigAudio: string;
|
|
3813
|
+
responsiveUploadFile: string;
|
|
3814
|
+
cancel: string;
|
|
3815
|
+
X: string;
|
|
3816
|
+
chevron: string;
|
|
3817
|
+
smallChevron: string;
|
|
3818
|
+
search: string;
|
|
3819
|
+
clock: string;
|
|
3820
|
+
calendar: string;
|
|
3821
|
+
civilProfession: string;
|
|
3822
|
+
position: string;
|
|
3823
|
+
role: string;
|
|
3824
|
+
school: string;
|
|
3825
|
+
struct: string;
|
|
3826
|
+
id: string;
|
|
3827
|
+
clipboardText: string;
|
|
3828
|
+
audio: string;
|
|
3829
|
+
collection: string;
|
|
3830
|
+
exercise: string;
|
|
3831
|
+
genericFile: string;
|
|
3832
|
+
image: string;
|
|
3833
|
+
pdf: string;
|
|
3834
|
+
presentation: string;
|
|
3835
|
+
quiz: string;
|
|
3836
|
+
story: string;
|
|
3837
|
+
video: string;
|
|
3838
|
+
text: string;
|
|
3839
|
+
learningunit: string;
|
|
3840
|
+
generic: string;
|
|
3841
|
+
success: string;
|
|
3842
|
+
error: string;
|
|
3843
|
+
information: string;
|
|
3844
|
+
primaryPlay: string;
|
|
3845
|
+
hadrachaHierarchy: string;
|
|
3846
|
+
hadrachaHierarchyResource: string;
|
|
3847
|
+
link: string;
|
|
3848
|
+
messagePlus: string;
|
|
3849
|
+
check: string;
|
|
3850
|
+
};
|
|
3851
|
+
|
|
3852
|
+
declare const system: {
|
|
3853
|
+
college: string;
|
|
3854
|
+
herum: string;
|
|
3855
|
+
hadracha: string;
|
|
3856
|
+
};
|
|
3857
|
+
|
|
3858
|
+
declare const tableRowHeights: {
|
|
3859
|
+
switchCell: number;
|
|
3860
|
+
doubleLines: number;
|
|
3861
|
+
default: number;
|
|
3862
|
+
};
|
|
3863
|
+
|
|
3864
|
+
declare const calendarActiveColorCssVariable: string;
|
|
3865
|
+
declare const calendarHoverColorCssVariable: string;
|
|
3866
|
+
declare const calendarLibrarySelector: string;
|
|
3867
|
+
declare const calendarLibraryBodyCellSelector: string;
|
|
3868
|
+
declare const timerActiveColorCssVariable: string;
|
|
3869
|
+
declare const timerHoverColorCssVariable: string;
|
|
3870
|
+
declare const timerItemSizeColorCssVariable: string;
|
|
3871
|
+
declare const dayInMilliSeconds: number;
|
|
3872
|
+
declare const secondInMilliseconds: number;
|
|
3873
|
+
declare const minuteInMilliseconds: number;
|
|
3874
|
+
declare const timePattern: string;
|
|
3875
|
+
|
|
3876
|
+
declare const sixMonthsInDays = 180;
|
|
3877
|
+
|
|
3878
|
+
declare const toastsTemplatesKeys: {
|
|
3879
|
+
[key: string]: string;
|
|
3880
|
+
};
|
|
3881
|
+
declare const toastStatuses: {
|
|
3882
|
+
[toastStatus: string]: ToastStatus;
|
|
3883
|
+
};
|
|
3884
|
+
declare const getSignUpMethod: (authenticationPaths: AuthenticationPaths$1) => string;
|
|
3885
|
+
declare const toastStates: {
|
|
3886
|
+
[toastState: string]: ToastState;
|
|
3887
|
+
};
|
|
3888
|
+
declare const statusCodes: {
|
|
3889
|
+
[key: string]: (wordToReplace: string) => string;
|
|
3890
|
+
};
|
|
3891
|
+
declare const toastContext: ToastContext;
|
|
3892
|
+
declare const toastsKeys: {
|
|
3893
|
+
[key: string]: string;
|
|
3894
|
+
};
|
|
3895
|
+
declare const skipToastHeader: HttpHeaders;
|
|
3896
|
+
declare const toastsTemplates: {
|
|
3897
|
+
[toastsTemplatesKeys.chromeBrowserVersion]: {
|
|
3898
|
+
title: string;
|
|
3899
|
+
information: string;
|
|
3900
|
+
};
|
|
3901
|
+
[toastsTemplatesKeys.addOrUpdateNotebookSuccess]: {
|
|
3902
|
+
title: string;
|
|
3903
|
+
success: string;
|
|
3904
|
+
};
|
|
3905
|
+
[toastsTemplatesKeys.addOrUpdateNotebookError]: {
|
|
3906
|
+
title: string;
|
|
3907
|
+
error: string;
|
|
3908
|
+
};
|
|
3909
|
+
[toastsTemplatesKeys.hadrachaToolBarError]: {
|
|
3910
|
+
title: string;
|
|
3911
|
+
error: string;
|
|
3912
|
+
};
|
|
3913
|
+
};
|
|
3914
|
+
|
|
3915
|
+
declare const additionTagName: string;
|
|
3916
|
+
declare const deletionTagName: string;
|
|
3917
|
+
declare const editorContainerElementId: string;
|
|
3918
|
+
declare const mouseEnterHandlerKey: string;
|
|
3919
|
+
declare const mouseLeaveHandlerKey: string;
|
|
3920
|
+
declare const mouseEnter: string;
|
|
3921
|
+
declare const mouseLeave: string;
|
|
3922
|
+
|
|
3923
|
+
declare const uploadsProgressMetadataTypes: {
|
|
3924
|
+
[uploadsProgressMetadataType: string]: UploadProgressType;
|
|
3925
|
+
};
|
|
3926
|
+
declare const uploadStatuses: {
|
|
3927
|
+
[uploadsProgressStatus: string]: UploadProgressStatus;
|
|
3928
|
+
};
|
|
3929
|
+
declare const defaultUploadsManagerTitle: string;
|
|
3930
|
+
declare const uploadsManagerKeys: {
|
|
3931
|
+
dependentIdHeader: string;
|
|
3932
|
+
reportUploadProgressIdHeader: string;
|
|
3933
|
+
uploadsManagerTitleHeader: string;
|
|
3934
|
+
commonDependentsIdHeader: string;
|
|
3935
|
+
numberOfObservableArrowFunctionsHeader: string;
|
|
3936
|
+
dependentId: string;
|
|
3937
|
+
reportUploadProgressId: string;
|
|
3938
|
+
uploadsManagerTitle: string;
|
|
3939
|
+
commonDependentsId: string;
|
|
3940
|
+
numberOfObservableArrowFunctions: string;
|
|
3941
|
+
resourceUpload: string;
|
|
3942
|
+
collectionUpload: string;
|
|
3943
|
+
fileUpload: string;
|
|
3944
|
+
megaBytes: string;
|
|
3945
|
+
bytes: string;
|
|
3946
|
+
defaultUploadsManagerTitle: string;
|
|
3947
|
+
file: string;
|
|
3948
|
+
resource: string;
|
|
3949
|
+
collection: string;
|
|
3950
|
+
};
|
|
3951
|
+
declare const maxImageHeight = 3000;
|
|
3952
|
+
declare const maxImageWidth = 3000;
|
|
3953
|
+
|
|
3954
|
+
declare const validatorsNames: {
|
|
3955
|
+
invalidIDNumber: string;
|
|
3956
|
+
isUniqueIdValidator: string;
|
|
3957
|
+
pattern: string;
|
|
3958
|
+
required: string;
|
|
3959
|
+
};
|
|
3960
|
+
|
|
3961
|
+
declare const openClose: _angular_animations.AnimationTriggerMetadata;
|
|
3962
|
+
|
|
3963
|
+
declare const TableRowHeight: (value: number) => (constructor: any) => void;
|
|
3964
|
+
|
|
3965
|
+
declare const closedListExample: ClosedList;
|
|
3966
|
+
|
|
3967
|
+
declare const defaultUsers: User[];
|
|
3968
|
+
|
|
3969
|
+
declare const permissionsTemplatesExample: PermissionTemplate;
|
|
3970
|
+
|
|
3971
|
+
declare const selfIsTeacherExample: User;
|
|
3972
|
+
|
|
3973
|
+
declare const collectionModelInfo: {
|
|
3974
|
+
[key: string]: ModelInfo;
|
|
3975
|
+
};
|
|
3976
|
+
|
|
3977
|
+
declare const collectionId: string[];
|
|
3978
|
+
declare const mockedCollectionFile: File;
|
|
3979
|
+
declare const mockedCollectionFields: {
|
|
3980
|
+
[key: string]: any;
|
|
3981
|
+
};
|
|
3982
|
+
declare const collectionSplittedFields: {
|
|
3983
|
+
[key: string]: any;
|
|
3984
|
+
};
|
|
3985
|
+
declare const collectionFormattedAttachments: {
|
|
3986
|
+
[key: string]: any;
|
|
3987
|
+
}[];
|
|
3988
|
+
declare const mockedNewFileCollectionRequest: {
|
|
3989
|
+
DbBasicActionRequest: {
|
|
3990
|
+
data: any;
|
|
3991
|
+
ids: string[];
|
|
3992
|
+
};
|
|
3993
|
+
DbAttachmentActionRequests: {
|
|
3994
|
+
[key: string]: any;
|
|
3995
|
+
}[];
|
|
3996
|
+
};
|
|
3997
|
+
declare const userId: string;
|
|
3998
|
+
declare const structId: string;
|
|
3999
|
+
declare const mockedAssignedUserFields: {
|
|
4000
|
+
[key: string]: any;
|
|
4001
|
+
};
|
|
4002
|
+
declare const assignedUserSplittedFields: {
|
|
4003
|
+
[key: string]: any;
|
|
4004
|
+
};
|
|
4005
|
+
declare const mockedAssignedUserFormattedAttachments: {
|
|
4006
|
+
attachments: {
|
|
4007
|
+
[userId]: {
|
|
4008
|
+
assignmentMetadata: {
|
|
4009
|
+
state: number;
|
|
4010
|
+
name: string;
|
|
4011
|
+
};
|
|
4012
|
+
id: null;
|
|
4013
|
+
};
|
|
4014
|
+
};
|
|
4015
|
+
field: string;
|
|
4016
|
+
ids: string[];
|
|
4017
|
+
}[];
|
|
4018
|
+
declare const mockedUserFields: {
|
|
4019
|
+
[key: string]: any;
|
|
4020
|
+
};
|
|
4021
|
+
declare const mockedUpdatedUserFields: {
|
|
4022
|
+
[key: string]: any;
|
|
4023
|
+
};
|
|
4024
|
+
declare const mockedUpdatedUserRequest: {
|
|
4025
|
+
[key: string]: any;
|
|
4026
|
+
};
|
|
4027
|
+
declare const userSplittedFields: {
|
|
4028
|
+
[key: string]: any;
|
|
4029
|
+
};
|
|
4030
|
+
declare const userFormattedAttachments: {
|
|
4031
|
+
[key: string]: any;
|
|
4032
|
+
}[];
|
|
4033
|
+
declare const mockedNewGroupFields: {
|
|
4034
|
+
[key: string]: any;
|
|
4035
|
+
};
|
|
4036
|
+
declare const mockedNewGroupRequest: {
|
|
4037
|
+
[key: string]: any;
|
|
4038
|
+
};
|
|
4039
|
+
declare const mockedCollectioDeletedFields: {
|
|
4040
|
+
[key: string]: any;
|
|
4041
|
+
};
|
|
4042
|
+
declare const mockedCollectioDeletedFieldsRequest: {
|
|
4043
|
+
[key: string]: any;
|
|
4044
|
+
};
|
|
4045
|
+
|
|
4046
|
+
declare const groupsModelInfo: {
|
|
4047
|
+
[key: string]: ModelInfo;
|
|
4048
|
+
};
|
|
4049
|
+
|
|
4050
|
+
declare const structModelInfo: {
|
|
4051
|
+
[key: string]: ModelInfo;
|
|
4052
|
+
};
|
|
4053
|
+
|
|
4054
|
+
declare const testEnvironmentConfig: EnvironmentConfig$1;
|
|
4055
|
+
|
|
4056
|
+
declare const usersModelInfo: {
|
|
4057
|
+
[key: string]: ModelInfo;
|
|
4058
|
+
};
|
|
4059
|
+
|
|
4060
|
+
declare function formCollectionNameValidator(): ValidatorFn;
|
|
4061
|
+
|
|
4062
|
+
declare function validateIDNumber(): ValidatorFn;
|
|
4063
|
+
|
|
4064
|
+
declare function isUniqueIdValidator(path: string, fieldName: string, http: HttpClient, isEditMode?: boolean): AsyncValidatorFn;
|
|
4065
|
+
|
|
4066
|
+
declare const requiredErrorMessage: {
|
|
4067
|
+
[validatorsNames$1.required]: string;
|
|
4068
|
+
};
|
|
4069
|
+
declare const validatorsErrorMessages: {
|
|
4070
|
+
[key: string]: {
|
|
4071
|
+
[key: string]: string;
|
|
4072
|
+
};
|
|
4073
|
+
};
|
|
4074
|
+
|
|
4075
|
+
declare class FetchedMessageService {
|
|
4076
|
+
private http;
|
|
4077
|
+
private dialog;
|
|
4078
|
+
private environmentConfig;
|
|
4079
|
+
private recipient;
|
|
4080
|
+
private messageKey;
|
|
4081
|
+
constructor(http: HttpClient, dialog: MatDialog, environmentConfig: EnvironmentConfig$1);
|
|
4082
|
+
handleFetchedMessage(recipient: Object, messageKey: string, condition?: boolean): void;
|
|
4083
|
+
private setMessageKey;
|
|
4084
|
+
private setRecipient;
|
|
4085
|
+
fetchedMessageData(): Observable<Object>;
|
|
4086
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FetchedMessageService, never>;
|
|
4087
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FetchedMessageService>;
|
|
4088
|
+
}
|
|
4089
|
+
|
|
4090
|
+
declare class HerumToastsComponent implements OnInit, OnDestroy {
|
|
4091
|
+
private toastsService;
|
|
4092
|
+
private changeDetectorRef;
|
|
4093
|
+
toastElements: QueryList<ElementRef>;
|
|
4094
|
+
toasts: Toast[];
|
|
4095
|
+
minimumOpacity: number;
|
|
4096
|
+
transformDuration: number;
|
|
4097
|
+
leavingDuration: number;
|
|
4098
|
+
gap: number;
|
|
4099
|
+
destroySubject$: Subject<null>;
|
|
4100
|
+
constructor(toastsService: ToastsService$1, changeDetectorRef: ChangeDetectorRef);
|
|
4101
|
+
ngOnInit(): void;
|
|
4102
|
+
handleNewToast(toast: Toast): void;
|
|
4103
|
+
private reduceToastHeights;
|
|
4104
|
+
_onHideToast(currentToast: Toast, lowToasts: boolean): void;
|
|
4105
|
+
private removeToast;
|
|
4106
|
+
private setToastLinearOpacity;
|
|
4107
|
+
_toastStatusIcon(toastStatus: ToastStatus): string;
|
|
4108
|
+
get successStatus(): ToastStatus;
|
|
4109
|
+
ngOnDestroy(): void;
|
|
4110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HerumToastsComponent, never>;
|
|
4111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HerumToastsComponent, "herum-toasts", never, {}, {}, never, never, false, never>;
|
|
4112
|
+
}
|
|
4113
|
+
|
|
4114
|
+
declare class MongoUtilsService {
|
|
4115
|
+
private environmentConfig;
|
|
4116
|
+
constructor(environmentConfig: EnvironmentConfig$1);
|
|
4117
|
+
getDisplayedNameForMongoMethodByUserActivity(urlRequest: string): string | undefined;
|
|
4118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MongoUtilsService, never>;
|
|
4119
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MongoUtilsService>;
|
|
4120
|
+
}
|
|
4121
|
+
|
|
4122
|
+
declare class ErrorsHandlerService {
|
|
4123
|
+
private dialog;
|
|
4124
|
+
private loaderService;
|
|
4125
|
+
private http;
|
|
4126
|
+
private auth;
|
|
4127
|
+
private mongoUtilsService;
|
|
4128
|
+
private environmentConfig;
|
|
4129
|
+
isErrorPopupCurrentlyOpened: boolean;
|
|
4130
|
+
failedReportUploadProgressRequests: HttpRequest<any>[];
|
|
4131
|
+
failedDependentsRequestsContext: FailedDependentsRequestsContext;
|
|
4132
|
+
dependentRequestId$: Subject<string>;
|
|
4133
|
+
reportUploadProgressRequest$: Subject<string>;
|
|
4134
|
+
commonDependentsErrorToast$: Subject<CommonDependentsToast>;
|
|
4135
|
+
errorToast$: Subject<ToastHttpResponseDependencies>;
|
|
4136
|
+
constructor(dialog: MatDialog, loaderService: LoaderManagerService$1, http: HttpClient, auth: AuthService$1, mongoUtilsService: MongoUtilsService, environmentConfig: EnvironmentConfig$1);
|
|
4137
|
+
handleError(errorStatus: number, errorData?: any): void;
|
|
4138
|
+
setFailedReportUploadProgressRequests(failedReportUploadProgressRequest: HttpRequest<any>): void;
|
|
4139
|
+
private handleUnauthorizedError;
|
|
4140
|
+
private handleConflictError;
|
|
4141
|
+
private handleForbiddenError;
|
|
4142
|
+
private handleTimeoutError;
|
|
4143
|
+
private handleInternalServerError;
|
|
4144
|
+
private handleDependentRequestError;
|
|
4145
|
+
private handleReportUploadProgressRequestError;
|
|
4146
|
+
private isErrorToastNeeded;
|
|
4147
|
+
private handleErrorToast;
|
|
4148
|
+
setChainedFailedObservableFunctions(dependentId: string, error: HttpErrorResponse, failedComplexObservableArrowFunctions: ComplexObservableArrowFunctions, initialValue?: any): void;
|
|
4149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorsHandlerService, never>;
|
|
4150
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorsHandlerService>;
|
|
4151
|
+
}
|
|
4152
|
+
|
|
4153
|
+
declare class DependentsService {
|
|
4154
|
+
private errorsHandlerService;
|
|
4155
|
+
dependentMetadata: DependentMetadata;
|
|
4156
|
+
constructor(errorsHandlerService: ErrorsHandlerService);
|
|
4157
|
+
chainObservableFunctions(complexFunctions: ComplexObservableArrowFunctions, initialValue?: any): Observable<any>;
|
|
4158
|
+
private setInitialObservable;
|
|
4159
|
+
private handleInitialComplexFunction;
|
|
4160
|
+
private handleInitialFunction;
|
|
4161
|
+
private chainObservables;
|
|
4162
|
+
private handleCurrentChainedComplexObservable;
|
|
4163
|
+
handleCurrentChainedObservable(complexFunctions: ComplexObservableArrowFunctions, currentFunction: ObservableArrowFunction, result: any, functionsIndex: number): Observable<any>;
|
|
4164
|
+
private calculateNumberOfObservableFunctions;
|
|
4165
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DependentsService, never>;
|
|
4166
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DependentsService>;
|
|
4167
|
+
}
|
|
4168
|
+
|
|
4169
|
+
declare class UploadsManagerService {
|
|
4170
|
+
private errorsHandlerService;
|
|
4171
|
+
private dependentsService;
|
|
4172
|
+
private http;
|
|
4173
|
+
private toastsService;
|
|
4174
|
+
uploadsManagerTitle$: BehaviorSubject<string>;
|
|
4175
|
+
uploadsProgressMetadata$: BehaviorSubject<UploadProgressMetadata[]>;
|
|
4176
|
+
constructor(errorsHandlerService: ErrorsHandlerService, dependentsService: DependentsService, http: HttpClient, toastsService: ToastsService$1);
|
|
4177
|
+
private setSubscriptions;
|
|
4178
|
+
private updateUploadProgressStatus;
|
|
4179
|
+
retryFailedUploads(): Observable<any>[];
|
|
4180
|
+
retryFailedUpload(uploadProgressId: string): Observable<any>;
|
|
4181
|
+
private handleFailedDependentRequest;
|
|
4182
|
+
private handleFailedReportUploadRequest;
|
|
4183
|
+
addOrUpdateUploadProgressMetadata(uploadProgressMetadata: UploadProgressMetadata): void;
|
|
4184
|
+
getUploadProgressById(uploadProgressId: string): UploadProgressMetadata;
|
|
4185
|
+
createNewToastBasedOnHttpRequest(commonDependentsToast: CommonDependentsToast): void;
|
|
4186
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadsManagerService, never>;
|
|
4187
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UploadsManagerService>;
|
|
4188
|
+
}
|
|
4189
|
+
|
|
4190
|
+
declare class HerumUploadsManagerComponent {
|
|
4191
|
+
private uploadsManagerService;
|
|
4192
|
+
destroySubject$: Subject<null>;
|
|
4193
|
+
isContainerOpen: boolean;
|
|
4194
|
+
loadingStatus: UploadProgressStatus;
|
|
4195
|
+
errorStatus: UploadProgressStatus;
|
|
4196
|
+
successStatus: UploadProgressStatus;
|
|
4197
|
+
uploadsProgressMetadata: UploadProgressMetadata[];
|
|
4198
|
+
averageProgressSum: number;
|
|
4199
|
+
hasUploadProgressFinished: boolean;
|
|
4200
|
+
numberOfFailedLoaders: number;
|
|
4201
|
+
successProgressBarColor: string;
|
|
4202
|
+
progressBarColor: string;
|
|
4203
|
+
showConfirmationNativeMessage(event: any): void;
|
|
4204
|
+
constructor(uploadsManagerService: UploadsManagerService);
|
|
4205
|
+
ngOnInit(): void;
|
|
4206
|
+
private setSuccessProgressBarColor;
|
|
4207
|
+
private uploadsProgressMetadataSubscription;
|
|
4208
|
+
_onRetryFailedUploads(): void;
|
|
4209
|
+
_onRetryFailedUpload(uploadProgressId: string): void;
|
|
4210
|
+
_onClose(): void;
|
|
4211
|
+
_onToggleUploadsContainer(): void;
|
|
4212
|
+
_isTruncatedTitleElement(element: HTMLElement): boolean;
|
|
4213
|
+
_getUploadProgressDescription(uploadProgressMetadata: UploadProgressMetadata): string;
|
|
4214
|
+
_isUploadProgressStatusError(uploadProgressStatus: UploadProgressStatus): boolean;
|
|
4215
|
+
_getFileIcon(uploadProgressType: UploadProgressType): string;
|
|
4216
|
+
_getUploadStatusIcon(uploadProgressType: UploadProgressType): string;
|
|
4217
|
+
_trackByFn(index: number, uploadProgressMetadata: UploadProgressMetadata): string;
|
|
4218
|
+
get containerTitle$(): Observable<string>;
|
|
4219
|
+
calculateAverageProgressSum(uploadsProgressMetadata: UploadProgressMetadata[]): number;
|
|
4220
|
+
calculateHasUploadProgressFinished(uploadsProgressMetadata: UploadProgressMetadata[]): boolean;
|
|
4221
|
+
calculateNumberOfFailedLoaders(uploadsProgressMetadata: UploadProgressMetadata[]): number;
|
|
4222
|
+
calculateProgressBarColor(uploadsProgressMetadata: UploadProgressMetadata[]): string;
|
|
4223
|
+
ngOnDestroy(): void;
|
|
4224
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HerumUploadsManagerComponent, never>;
|
|
4225
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HerumUploadsManagerComponent, "herum-uploads-manager", never, {}, {}, never, never, false, never>;
|
|
4226
|
+
}
|
|
4227
|
+
|
|
4228
|
+
declare class HerumSharedMongoModule {
|
|
4229
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HerumSharedMongoModule, never>;
|
|
4230
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HerumSharedMongoModule, [typeof HerumToastsComponent, typeof HerumUploadsManagerComponent], [typeof i2.CommonModule, typeof i4$1.PipesModule, typeof i4.AtomsModule], [typeof HerumToastsComponent, typeof HerumUploadsManagerComponent]>;
|
|
4231
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HerumSharedMongoModule>;
|
|
4232
|
+
}
|
|
4233
|
+
|
|
4234
|
+
declare const getMongoMethodsDisplayedNamesMap: (mongoUpdates: MongoUpdates$1, authenticationPaths: AuthenticationPaths$1) => {
|
|
4235
|
+
[key: string]: string;
|
|
4236
|
+
};
|
|
4237
|
+
|
|
4238
|
+
declare class DbActionRequestsService {
|
|
4239
|
+
private http;
|
|
4240
|
+
private dbActionsInnerIdManagerService;
|
|
4241
|
+
private environmentConfig;
|
|
4242
|
+
constructor(http: HttpClient, dbActionsInnerIdManagerService: DbActionsInnerIdManagerService$1, environmentConfig: EnvironmentConfig$1);
|
|
4243
|
+
getFileRequest(request: any, file: File): FormData;
|
|
4244
|
+
addOrUpdateAndAttachBulkWithFile(mongoCollectionName: string, fields: {
|
|
4245
|
+
[key: string]: any;
|
|
4246
|
+
}, file: File, ids: string[], uploadsManagerTitle?: string, skipToast?: boolean): Observable<string>;
|
|
4247
|
+
setAddOrUpdateAndAttachBulkWithFileHeaders(headerToSet: any[]): HttpHeaders;
|
|
4248
|
+
AndAttachBulk(mongoCollectionName: string, fields: {
|
|
4249
|
+
[key: string]: any;
|
|
4250
|
+
}, ids: string[], method: 'create' | 'addOrUpdate', attachmentsToUpdate?: {
|
|
4251
|
+
[key: string]: any;
|
|
4252
|
+
}): Observable<DbActionResponse>;
|
|
4253
|
+
basicBulk(mongoCollectionName: string, fields: {
|
|
4254
|
+
[key: string]: any;
|
|
4255
|
+
}, ids: string[], requestType: string, skipToast?: boolean): Observable<Object>;
|
|
4256
|
+
private buildSourceCollectionRequestsData;
|
|
4257
|
+
private buildMirrorSourceCollectionRequestsData;
|
|
4258
|
+
private arrayOfIdObjectsToIdsArray;
|
|
4259
|
+
private buildBasicBulkObjectData;
|
|
4260
|
+
deleteMongoDocument(mongoCollectionName: string, ids: string[]): Observable<Object>;
|
|
4261
|
+
deletePreviewItemsFromList(mongoCollectionName: string, fields: {
|
|
4262
|
+
[key: string]: any;
|
|
4263
|
+
}, ids: string[]): Observable<Object>;
|
|
4264
|
+
getFormattedAttachments(ids: string[], objectsToAttach: {
|
|
4265
|
+
[key: string]: any;
|
|
4266
|
+
}, keysToAttachInDifferentModel: {
|
|
4267
|
+
[key: string]: any;
|
|
4268
|
+
}, modelInfo: {
|
|
4269
|
+
[key: string]: ModelInfo;
|
|
4270
|
+
}): any[];
|
|
4271
|
+
splitFieldByType(fields: {
|
|
4272
|
+
[key: string]: any;
|
|
4273
|
+
}, modelInfo: {
|
|
4274
|
+
[key: string]: ModelInfo;
|
|
4275
|
+
}): {
|
|
4276
|
+
keysToAttach: {
|
|
4277
|
+
[key: string]: any;
|
|
4278
|
+
};
|
|
4279
|
+
keysToUpdate: {
|
|
4280
|
+
[key: string]: any;
|
|
4281
|
+
};
|
|
4282
|
+
keysToAttachInDifferentModel: {
|
|
4283
|
+
[key: string]: any;
|
|
4284
|
+
};
|
|
4285
|
+
};
|
|
4286
|
+
getMongoCollectionModelInfo(mongoCollectionName: string): Observable<{
|
|
4287
|
+
[key: string]: ModelInfo;
|
|
4288
|
+
}>;
|
|
4289
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbActionRequestsService, never>;
|
|
4290
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DbActionRequestsService>;
|
|
4291
|
+
}
|
|
4292
|
+
|
|
4293
|
+
declare class DbActionToastService {
|
|
4294
|
+
private errorsHandlerService;
|
|
4295
|
+
private toastsService;
|
|
4296
|
+
private mongoUtilsService;
|
|
4297
|
+
toastsTemplates: {
|
|
4298
|
+
[key: string]: ToastTemplate;
|
|
4299
|
+
};
|
|
4300
|
+
constructor(errorsHandlerService: ErrorsHandlerService, toastsService: ToastsService$1, mongoUtilsService: MongoUtilsService);
|
|
4301
|
+
createToastBasedOnHttpResponse(toastHttpResponseDependencies: ToastHttpResponseDependencies): void;
|
|
4302
|
+
private setToastStatus;
|
|
4303
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbActionToastService, never>;
|
|
4304
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DbActionToastService>;
|
|
4305
|
+
}
|
|
4306
|
+
|
|
4307
|
+
export { AnswerNotesToTextChangesPipe, AtomsModule, AudioConfigurationConstants, AudioPlayerComponent, AudioSliderComponent, AudioVisualizationService, AuthService, BlockedFormComponent, CheckboxCellComponent, ChipsCellComponent, CollectionSubscriptionToCollectionBasePipe, CollectionToCollectionBasePipe, CollegeAudioConfiguration, CollegeLoaderComponent, CommonGraphqlRequestsService, ConditionalFormControlNameDirective, CopyableCellComponent, DbActionRequestsService, DbActionToastService, DbActionsInnerIdManagerService, DeleteRowComponent, DependentsService, DialogsModule, DirectivesModule, DisplayedSubmissionsCounterPipe, EditRowComponent, EllipsisPipe, ErrorMessageDialogComponent, ErrorsHandlerService, ErrorsModule, FetchedMessageDialog, FetchedMessageModule, FetchedMessageService, GlobalErrorHandler, GlobalKeyboardListenerService, GraphQLService, HadrachaAudioConfiguration, HerumActiveLinkComponent, HerumActiveMenuComponent, HerumAgGridFilterComponent, HerumAutocompleteComponent, HerumBreadcrumbsComponent, HerumButtonComponent, HerumCheckboxComponent, HerumChipComponent, HerumCircularProgressBarComponent, HerumClosedListMultiSelectComponent, HerumClosedListSelectComponent, HerumDatePickerComponent, HerumDateTimeInputComponent, HerumDateTimePickerComponent, HerumDateTimePickerSelectComponent, HerumDownloadFileComponent, HerumDropZoneComponent, HerumEllipsisLoaderComponent, HerumExpendablePanelComponent, HerumFilesViewerComponent, HerumFilesViewerDialogComponent, HerumFormControl, HerumHierarchyTreeComponent, HerumHierarchyTreeNodeComponent, HerumHighlightDirective, HerumIconLabelComponent, HerumIndeterminateComponent, HerumInputFieldComponent, HerumListCentralizerComponent, HerumLoaderComponent, HerumLocalLoaderComponent, HerumLogoComponent, HerumMiniTableComponent, HerumMultiProgressBarComponent, HerumMultiSelectComponent, HerumNarrowCollectionMenuItemComponent, HerumNavigatorComponent, HerumNoResultMessageComponent, HerumOptionsListComponent, HerumPaginatorComponent, HerumPanelLinksComponent, HerumPdfViewerComponent, HerumPresentationViewerComponent, HerumProgressBarComponent, HerumQuizComponent, HerumQuizHeaderItemComponent, HerumRadioButtonComponent, HerumRecursiveHierarchyOptionsListComponent, HerumSelectComponent, HerumSharedModule, HerumSharedMongoModule, HerumSliderComponent, HerumSpinnerComponent, HerumStepNavigatorComponent, HerumStepperComponent, HerumStoryViewerComponent, HerumSwitchComponent, HerumTableComponent, HerumTextAreaComponent, HerumTextualVerticalTreeComponent, HerumTimePickerComponent, HerumTimeRangeSelectComponent, HerumTimeSelectComponent, HerumToastsComponent, HerumToggleButtonComponent, HerumToolTipDirective, HerumUploadFileComponent, HerumUploadsManagerComponent, HerumUserProfileComponent, HerumUserProgressComponent, HerumVideoPlayerComponent, HerumVideoRangeBarComponent, HerumVideoSelectComponent, InputCellComponent, InsuranceDialogComponent, KeyPressService, KeyValueListComponent, LabelsWithIconsListComponent, LoaderManagerService, MicroResourcesService, MoleculesModule, MongoUtilsService, NestedConditionSigniture, PipesModule, ProgressesOverViewComponent, QuizGradeSheetComponent, QuizHeaderComponent, QuizIntroComponent, QuizLoaderComponent, QuizMultiAnswerQuestionComponent, QuizOneAnswerQuestionComponent, QuizOpenAnswerQuestionComponent, QuizSubmissionComponent, QuizTwoAnswersQuestionComponent, RecursiveTreeComponent, ResourceDataBuilderService, ResourceSubscriptionToResourcePipe, ResourceToResourceSubscriptionPipe, RoundedVerticalMenuComponent, RowActionButtonsComponent, SYSTEM_AUDIO_VISUAL_CONFIGURATION, SYSTEM_IDENTIFIER, SYSTEM_TRACK_TEXT_CHANGES_SERVICE, SYSTEM_USER_SERVICE, SafeHtmlPipe, SafePipe, SliceBreadcrumbsPipe, StringArrayToSignUpFieldArrayPipe, SvgOnHoverDirective, SwitchCellComponent, SystemStylingService, TableModule, TableRowHeight, TextWithIconCell, TimeFormatPipe, ToIntegerPipe, ToastsService, TrackTextChangesComponent, TrackTextChangesNotesComponent, TrackTextChangesService, UploadsManagerService, UserActionDirective, UserIdentifiedEntitiesToBackendModelsPipe, UserProfileImageComponent, UsersProfilePreviewComponent, UtilsService, activeDragPath, additionTagName, anySubFileTypeWildCard, assignedUserSplittedFields, assignmentMetadata, attributes, audioAndVideoPreviewSupportedMimes, audioAndVideoPreviewSupportedSuffixes, audioPreviewSupportedMimes, audioPreviewSupportedSuffixes, buttonsContainerStyle, calendarActiveColorCssVariable, calendarHoverColorCssVariable, calendarLibraryBodyCellSelector, calendarLibrarySelector, checkboxTypes, closedListExample, collectionFormKeys, collectionFormValues, collectionFormattedAttachments, collectionId, collectionModelInfo, collectionSplittedFields, commentTextStyle, correctAnswerPropertyPath, datePlaceHolder, dateRangePlaceHolder, dateRangeTimeRangePlaceHolder, dateRangeTimeRangeWithoutSecondsPlaceHolder, dateTimePlaceHolder, dateTimeWithoutSecondsPlaceHolder, dayInMilliSeconds, defaultAuthorizationObject, defaultCloseTime, defaultGrade, defaultOpenTime, defaultPlaceholder, defaultTrackTextChangesStyle, defaultUploadsManagerTitle, defaultUserId, defaultUsers, deleteButtonStyle, deletionTagName, dialogsCloseActionButtons, dialogsDescriptions, dialogsNotes, dialogsSubmitActionButtons, dialogsTitles, dragPath, editButtonStyle, editorContainerElementId, emptyValueFlagForCreationUniqListItem, errorHeadersToSet, femaleAvatarPath, filesSuffixes, formCollectionNameValidator, formStatuses, formatError, formsErrorMessages, freeTextAnswerField, generalKeys, getMediaDefaultAuthorizations, getMongoMethodsDisplayedNamesMap, getPropertyPathsOfPublishAuthorization, getPublishAuthorization, getQuizDefaultAuthorizations, getResourceDefaultAuthorizations, getSignUpFormFieldsByFields, getSignUpMethod, globalErrorHandlingHeader, groupsModelInfo, herumClosedListMultiSelectType, initialMediaSettings, innerUniqListItemKey, inputs, insuranceDialogPageNavigationData, isUniqueIdValidator, keyboardAsciiCodes, keyboardKeys, legacyCorrectAnswerPropertyPath, maleAvatarPath, matchingSourceIndexPropertyPath, maxImageHeight, maxImageWidth, minDateError, minuteInMilliseconds, mockedAssignedUserFields, mockedAssignedUserFormattedAttachments, mockedCollectioDeletedFields, mockedCollectioDeletedFieldsRequest, mockedCollectionFields, mockedCollectionFile, mockedNewFileCollectionRequest, mockedNewGroupFields, mockedNewGroupRequest, mockedUpdatedUserFields, mockedUpdatedUserRequest, mockedUserFields, mouseEnter, mouseEnterHandlerKey, mouseLeave, mouseLeaveHandlerKey, normalizeQuizAuthorizationPropertyPath, openClose, permissionsTemplatesExample, previewImageKey, radioButtonTypes, readynessDisplayName, regexExpressions, requiredErrorMessage, resourceColumnPrefix, resourceFileTypes, resourceFormKeys, resourceIdPlaceholder, resourceKeys, resourceTypes, resourcesFilesSuffixes, routes, secondInMilliseconds, selfIsTeacherExample, setDynamicElementStyle, sideBarSizeButtonId, signUpFormFields, signUpFormFieldsData, signUpFormKeys, sixMonthsInDays, skipToastHeader, speedOptions, startEndDateError, statusCodes, structHierarchyTreeMaxHeight, structId, structModelInfo, svgsStrings, system, systemStylingFactory, tableRowHeights, testEnvironmentConfig, timePattern, timePlaceHolder, timeWithoutSecondsPlaceHolder, timerActiveColorCssVariable, timerHoverColorCssVariable, timerItemSizeColorCssVariable, timestampError, toastContext, toastStates, toastStatuses, toastsKeys, toastsTemplates, toastsTemplatesKeys, tooltipStyle, types, uploadStatuses, uploadsManagerKeys, uploadsProgressMetadataTypes, userFormattedAttachments, userId, userSplittedFields, usersModelInfo, validateIDNumber, validatorsErrorMessages, validatorsNames, videoPreviewSupportedMimes, videoPreviewSupportedSuffixes, viewPermissionLabel };
|
|
4308
|
+
export type { EnvironmentConfig, IHerumInterface, studentInnerAuthorizationSubscription };
|