herum-shared 0.1.37 → 0.1.39

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.
Files changed (68) hide show
  1. package/assets/shared/audio-images/purple-pause.svg +4 -0
  2. package/assets/shared/audio-images/purple-play.svg +3 -0
  3. package/atoms/index.d.ts +55 -55
  4. package/constants/index.d.ts +181 -134
  5. package/dialogs/index.d.ts +4 -3
  6. package/environment/index.d.ts +2 -35
  7. package/fesm2022/herum-shared-animations.mjs +4 -0
  8. package/fesm2022/herum-shared-animations.mjs.map +1 -1
  9. package/fesm2022/herum-shared-atoms.mjs +110 -108
  10. package/fesm2022/herum-shared-atoms.mjs.map +1 -1
  11. package/fesm2022/herum-shared-constants.mjs +198 -167
  12. package/fesm2022/herum-shared-constants.mjs.map +1 -1
  13. package/fesm2022/herum-shared-decorators.mjs +4 -0
  14. package/fesm2022/herum-shared-decorators.mjs.map +1 -1
  15. package/fesm2022/herum-shared-dialogs.mjs +7 -4
  16. package/fesm2022/herum-shared-dialogs.mjs.map +1 -1
  17. package/fesm2022/herum-shared-directives.mjs +5 -1
  18. package/fesm2022/herum-shared-directives.mjs.map +1 -1
  19. package/fesm2022/herum-shared-environment.mjs +4 -0
  20. package/fesm2022/herum-shared-environment.mjs.map +1 -1
  21. package/fesm2022/herum-shared-errors.mjs +5 -1
  22. package/fesm2022/herum-shared-errors.mjs.map +1 -1
  23. package/fesm2022/herum-shared-fetched-message.mjs +39 -30
  24. package/fesm2022/herum-shared-fetched-message.mjs.map +1 -1
  25. package/fesm2022/herum-shared-molecules.mjs +57 -28
  26. package/fesm2022/herum-shared-molecules.mjs.map +1 -1
  27. package/fesm2022/herum-shared-mongo.mjs +414 -150
  28. package/fesm2022/herum-shared-mongo.mjs.map +1 -1
  29. package/fesm2022/herum-shared-objectsExample.mjs +5 -1
  30. package/fesm2022/herum-shared-objectsExample.mjs.map +1 -1
  31. package/fesm2022/herum-shared-pipes.mjs +64 -60
  32. package/fesm2022/herum-shared-pipes.mjs.map +1 -1
  33. package/fesm2022/herum-shared-services.mjs +144 -321
  34. package/fesm2022/herum-shared-services.mjs.map +1 -1
  35. package/fesm2022/herum-shared-static-services.mjs +4 -0
  36. package/fesm2022/herum-shared-static-services.mjs.map +1 -1
  37. package/fesm2022/herum-shared-table.mjs +61 -48
  38. package/fesm2022/herum-shared-table.mjs.map +1 -1
  39. package/fesm2022/herum-shared-testsObjects.mjs +89 -119
  40. package/fesm2022/herum-shared-testsObjects.mjs.map +1 -1
  41. package/fesm2022/herum-shared-tokens.mjs +4 -0
  42. package/fesm2022/herum-shared-tokens.mjs.map +1 -1
  43. package/fesm2022/herum-shared-utils.mjs +43 -40
  44. package/fesm2022/herum-shared-utils.mjs.map +1 -1
  45. package/fesm2022/herum-shared-validators.mjs +4 -0
  46. package/fesm2022/herum-shared-validators.mjs.map +1 -1
  47. package/fesm2022/herum-shared.mjs +9031 -890
  48. package/fesm2022/herum-shared.mjs.map +1 -1
  49. package/fetched-message/index.d.ts +11 -11
  50. package/index.d.ts +1654 -274
  51. package/molecules/index.d.ts +12 -9
  52. package/mongo/index.d.ts +125 -66
  53. package/objectsExample/index.d.ts +3 -1
  54. package/package.json +2 -5
  55. package/pipes/index.d.ts +25 -21
  56. package/services/index.d.ts +56 -67
  57. package/styles/_mixin.scss +2 -2
  58. package/styles/dialogs.scss +0 -5
  59. package/styles/variables/_colors.scss +5 -109
  60. package/styles/variables/_sizes.scss +2 -9
  61. package/table/index.d.ts +25 -18
  62. package/testsObjects/index.d.ts +3 -3
  63. package/tokens/index.d.ts +6 -4
  64. package/utils/index.d.ts +14 -10
  65. package/fesm2022/herum-shared-herum-types.mjs +0 -107
  66. package/fesm2022/herum-shared-herum-types.mjs.map +0 -1
  67. package/herum-types/index.d.ts +0 -200
  68. package/styles/variables/_colors.college.scss +0 -65
@@ -5,11 +5,12 @@ import * as i23 from '@angular/forms';
5
5
  import { ControlValueAccessor, NgControl } from '@angular/forms';
6
6
  import * as i40 from 'herum-shared/atoms';
7
7
  import { HerumInputFieldComponent } from 'herum-shared/atoms';
8
- import { DisplayIdentifiedEntity, IdentifiedEntity, FileData, TreeNodeAssignmentsData, NodeMenuItem, SystemTreeNodeData, Step, User, KeyValue, ProgressOverView } from 'herum-shared/herum-types';
8
+ import { DisplayIdentifiedEntity, IdentifiedEntity, FileData, TreeNodeAssignmentsData, NodeMenuItem, SystemTreeNodeData, Step, KeyValue, ProgressOverView } from 'herum-types/Shared';
9
9
  import { CommonGraphqlRequestsService } from 'herum-shared/services';
10
10
  import * as i36 from '@angular/material/datepicker';
11
11
  import { DateRange } from '@angular/material/datepicker';
12
12
  import { EnvironmentConfig } from 'herum-shared/environment';
13
+ import { User } from 'herum-types/User';
13
14
  import * as i22 from '@angular/common';
14
15
  import * as i24 from '@angular/material/menu';
15
16
  import * as i25 from '@angular/cdk/clipboard';
@@ -76,7 +77,7 @@ declare class HerumAutocompleteComponent implements ControlValueAccessor {
76
77
  selectedOption: DisplayIdentifiedEntity | null;
77
78
  isBlurred: boolean;
78
79
  filterTextEmitter: EventEmitter<string>;
79
- selectedOptionEmitter: EventEmitter<any>;
80
+ selectedOptionEmitter: EventEmitter<DisplayIdentifiedEntity>;
80
81
  filterInput: HerumInputFieldComponent;
81
82
  containerRef: ElementRef<HTMLDivElement>;
82
83
  onWindowClick(event: MouseEvent): void;
@@ -112,7 +113,7 @@ declare class HerumClosedListMultiSelectComponent {
112
113
  size: 'fit' | 'default' | 'big' | 'responsive';
113
114
  dropDownDirection: 'upwards' | 'downwards';
114
115
  selectedClosedListOptionalValues: IdentifiedEntity[];
115
- selectedClosedListValueEmitter: EventEmitter<any[]>;
116
+ selectedClosedListValueEmitter: EventEmitter<IdentifiedEntity[]>;
116
117
  closedListValues: IdentifiedEntity[];
117
118
  constructor(commonGraphqlRequestsService: CommonGraphqlRequestsService);
118
119
  ngOnChanges(changes: SimpleChanges): void;
@@ -143,7 +144,7 @@ declare class HerumClosedListSelectComponent implements ControlValueAccessor {
143
144
  isLoadingInput: boolean;
144
145
  dropDownDirection: 'upwards' | 'downwards';
145
146
  filterPlaceholder: string;
146
- selectedClosedListValueEmitter: EventEmitter<any>;
147
+ selectedClosedListValueEmitter: EventEmitter<IdentifiedEntity>;
147
148
  filterTextEmitter: EventEmitter<string>;
148
149
  closedListValues: IdentifiedEntity[];
149
150
  selectedClosedListOptionalValue: IdentifiedEntity;
@@ -245,6 +246,7 @@ declare class HerumDropZoneComponent {
245
246
  };
246
247
  isValidUpload: boolean;
247
248
  isSupportedFileType: boolean;
249
+ isImagesSizeValid: boolean;
248
250
  parsedAllowedFileTypes: string;
249
251
  errorMessages: {
250
252
  condition: () => boolean;
@@ -261,6 +263,7 @@ declare class HerumDropZoneComponent {
261
263
  _onClickFileInput(): void;
262
264
  private uploadFiles;
263
265
  private supportedFilesValidation;
266
+ private imagesSizeValidation;
264
267
  private filesTypeValidation;
265
268
  private isExceededFilesLength;
266
269
  getIconPath(file: File): string;
@@ -284,8 +287,8 @@ declare class HerumFilesViewerComponent {
284
287
  private environmentConfig;
285
288
  fileData: FileData;
286
289
  showDeleteFileButton: boolean;
287
- downloadFile: EventEmitter<any>;
288
- deleteFile: EventEmitter<any>;
290
+ downloadFile: EventEmitter<FileData>;
291
+ deleteFile: EventEmitter<FileData>;
289
292
  srcPath: string;
290
293
  fileType: string;
291
294
  constructor(environmentConfig: EnvironmentConfig);
@@ -306,7 +309,7 @@ declare class HerumHierarchyTreeNodeComponent {
306
309
  showAssignmentsDetails: boolean;
307
310
  nodeMenuItems: NodeMenuItem<SystemTreeNodeData>[];
308
311
  onNodeSelected: EventEmitter<boolean>;
309
- onMenuItemSelected: EventEmitter<any>;
312
+ onMenuItemSelected: EventEmitter<NodeMenuItem<SystemTreeNodeData>>;
310
313
  onExpand: EventEmitter<boolean>;
311
314
  isExpand: boolean;
312
315
  constructor(changeDetectorRef: ChangeDetectorRef, environmentConfig: EnvironmentConfig);
@@ -340,7 +343,7 @@ declare class HerumMultiProgressBarComponent implements OnInit {
340
343
  }[];
341
344
  constructor();
342
345
  ngOnInit(): void;
343
- getBorderRadius(sectionIndex: number, progressBarIndex: number): "none" | "both" | "left" | "right";
346
+ getBorderRadius(sectionIndex: number, progressBarIndex: number): "none" | "left" | "right" | "both";
344
347
  static ɵfac: i0.ɵɵFactoryDeclaration<HerumMultiProgressBarComponent, never>;
345
348
  static ɵcmp: i0.ɵɵComponentDeclaration<HerumMultiProgressBarComponent, "herum-multi-progress-bar", never, { "progressBarsSections": { "alias": "progressBarsSections"; "required": false; }; }, {}, never, never, false, never>;
346
349
  }
@@ -410,7 +413,7 @@ declare class HerumUserProfileComponent {
410
413
  titleSize: 'big' | 'medium' | 'small';
411
414
  imageSize: 'image-default-size' | 'image-small-size';
412
415
  get userFullName(): string;
413
- get fullHierarchyName(): any;
416
+ get fullHierarchyName(): string;
414
417
  get assignmentStateDisplayName(): "" | "שיבוץ זמני" | "אכ\"א" | "אג\"ת";
415
418
  static ɵfac: i0.ɵɵFactoryDeclaration<HerumUserProfileComponent, never>;
416
419
  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>;
package/mongo/index.d.ts CHANGED
@@ -1,19 +1,56 @@
1
- import { HttpRequest, HttpClient, HttpErrorResponse } from '@angular/common/http';
2
- import { MatDialog } from '@angular/material/dialog';
3
- import { Subject, BehaviorSubject, Observable } from 'rxjs';
4
- import { FailedDependentsRequestsContext, CommonDependentsToast, ToastHttpResponseDependencies, ComplexObservableArrowFunctions, DependentMetadata, ObservableArrowFunction, Toast, ToastTemplate, ToastStatus, UploadProgressMetadata, UploadProgressStatus, UploadProgressType } from 'herum-shared/herum-types';
5
- import { EnvironmentConfig } from 'herum-shared/environment';
6
- import { UtilsService } from 'herum-shared/services';
7
1
  import * as i0 from '@angular/core';
8
- import { QueryList, ElementRef, ChangeDetectorRef } from '@angular/core';
2
+ import { OnInit, OnDestroy, QueryList, ElementRef, ChangeDetectorRef } from '@angular/core';
3
+ import { ToastsService, LoaderManagerService, AuthService, DbActionsInnerIdManagerService } from 'herum-shared/services';
4
+ import { Toast, ToastStatus, CommonDependentsToast, ToastHttpResponseDependencies, ToastTemplate } from 'herum-types/Toast';
5
+ import { Subject, Observable, BehaviorSubject } from 'rxjs';
6
+ import { HttpRequest, HttpClient, HttpErrorResponse, HttpHeaders } from '@angular/common/http';
7
+ import { MatDialog } from '@angular/material/dialog';
8
+ import { FailedDependentsRequestsContext, ComplexObservableArrowFunctions, DependentMetadata, ObservableArrowFunction, UploadProgressMetadata, UploadProgressStatus, UploadProgressType } from 'herum-types/uploads-manager';
9
+ import { EnvironmentConfig, MongoUpdates, AuthenticationPaths } from 'herum-shared/environment';
9
10
  import * as i3 from '@angular/common';
10
11
  import * as i4 from 'herum-shared/pipes';
11
12
  import * as i5 from 'herum-shared/atoms';
13
+ import { ModelInfo } from 'herum-types/Shared';
14
+ import { DbActionResponse } from 'herum-types/GenericUpdates';
15
+
16
+ declare class HerumToastsComponent implements OnInit, OnDestroy {
17
+ private toastsService;
18
+ private changeDetectorRef;
19
+ toastElements: QueryList<ElementRef>;
20
+ toasts: Toast[];
21
+ minimumOpacity: number;
22
+ transformDuration: number;
23
+ leavingDuration: number;
24
+ gap: number;
25
+ destroySubject$: Subject<null>;
26
+ constructor(toastsService: ToastsService, changeDetectorRef: ChangeDetectorRef);
27
+ ngOnInit(): void;
28
+ handleNewToast(toast: Toast): void;
29
+ private reduceToastHeights;
30
+ _onHideToast(currentToast: Toast, lowToasts: boolean): void;
31
+ private removeToast;
32
+ private setToastLinearOpacity;
33
+ _toastStatusIcon(toastStatus: ToastStatus): string;
34
+ get successStatus(): ToastStatus;
35
+ ngOnDestroy(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<HerumToastsComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<HerumToastsComponent, "herum-toasts", never, {}, {}, never, never, false, never>;
38
+ }
39
+
40
+ declare class MongoUtilsService {
41
+ private environmentConfig;
42
+ constructor(environmentConfig: EnvironmentConfig);
43
+ getDisplayedNameForMongoMethodByUserActivity(urlRequest: string): string | undefined;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<MongoUtilsService, never>;
45
+ static ɵprov: i0.ɵɵInjectableDeclaration<MongoUtilsService>;
46
+ }
12
47
 
13
48
  declare class ErrorsHandlerService {
14
49
  private dialog;
50
+ private loaderService;
15
51
  private http;
16
- private utilsService;
52
+ private auth;
53
+ private mongoUtilsService;
17
54
  private environmentConfig;
18
55
  isErrorPopupCurrentlyOpened: boolean;
19
56
  failedReportUploadProgressRequests: HttpRequest<any>[];
@@ -22,7 +59,7 @@ declare class ErrorsHandlerService {
22
59
  reportUploadProgressRequest$: Subject<string>;
23
60
  commonDependentsErrorToast$: Subject<CommonDependentsToast>;
24
61
  errorToast$: Subject<ToastHttpResponseDependencies>;
25
- constructor(dialog: MatDialog, http: HttpClient, utilsService: UtilsService, environmentConfig: EnvironmentConfig);
62
+ constructor(dialog: MatDialog, loaderService: LoaderManagerService, http: HttpClient, auth: AuthService, mongoUtilsService: MongoUtilsService, environmentConfig: EnvironmentConfig);
26
63
  handleError(errorStatus: number, errorData?: any): void;
27
64
  setFailedReportUploadProgressRequests(failedReportUploadProgressRequest: HttpRequest<any>): void;
28
65
  private handleUnauthorizedError;
@@ -43,41 +80,18 @@ declare class DependentsService {
43
80
  private errorsHandlerService;
44
81
  dependentMetadata: DependentMetadata;
45
82
  constructor(errorsHandlerService: ErrorsHandlerService);
46
- chainObservableFunctions(complexFunctions: ComplexObservableArrowFunctions, initialValue?: any): any;
83
+ chainObservableFunctions(complexFunctions: ComplexObservableArrowFunctions, initialValue?: any): Observable<any>;
47
84
  private setInitialObservable;
48
85
  private handleInitialComplexFunction;
49
86
  private handleInitialFunction;
50
87
  private chainObservables;
51
88
  private handleCurrentChainedComplexObservable;
52
- handleCurrentChainedObservable(complexFunctions: ComplexObservableArrowFunctions, currentFunction: ObservableArrowFunction, result: any, functionsIndex: number): any;
89
+ handleCurrentChainedObservable(complexFunctions: ComplexObservableArrowFunctions, currentFunction: ObservableArrowFunction, result: any, functionsIndex: number): Observable<any>;
53
90
  private calculateNumberOfObservableFunctions;
54
91
  static ɵfac: i0.ɵɵFactoryDeclaration<DependentsService, never>;
55
92
  static ɵprov: i0.ɵɵInjectableDeclaration<DependentsService>;
56
93
  }
57
94
 
58
- declare class ToastsService {
59
- private errorsHandlerService;
60
- private utilsService;
61
- private environmentConfig;
62
- toast$: BehaviorSubject<Toast>;
63
- toastId: number;
64
- toastsTemplates: {
65
- [key: string]: ToastTemplate;
66
- };
67
- constructor(errorsHandlerService: ErrorsHandlerService, utilsService: UtilsService, environmentConfig: EnvironmentConfig);
68
- createToastBasedOnHttpResponse(toastHttpResponseDependencies: ToastHttpResponseDependencies): void;
69
- findErrorMessageByStatusCode(statusCode: string, mongoMethodDisplayedName: string): string;
70
- showErrorToast(toastContextKey: string): void;
71
- showSuccessToast(toastContextKey: string): void;
72
- showInformationToast(toastContextKey: string): void;
73
- showOnDemandToast(toastContextKey: string, status: ToastStatus, toastStorageKey?: string): void;
74
- private hasToastAlreadyShownAndShouldShowOnce;
75
- showToast(title: string, content: string, status: ToastStatus): void;
76
- private setToastStatus;
77
- static ɵfac: i0.ɵɵFactoryDeclaration<ToastsService, never>;
78
- static ɵprov: i0.ɵɵInjectableDeclaration<ToastsService>;
79
- }
80
-
81
95
  declare class UploadsManagerService {
82
96
  private errorsHandlerService;
83
97
  private dependentsService;
@@ -99,28 +113,6 @@ declare class UploadsManagerService {
99
113
  static ɵprov: i0.ɵɵInjectableDeclaration<UploadsManagerService>;
100
114
  }
101
115
 
102
- declare class HerumToastsComponent {
103
- private toastsService;
104
- private changeDetectorRef;
105
- toastElements: QueryList<ElementRef>;
106
- toasts: Toast[];
107
- minimumOpacity: number;
108
- transformDuration: number;
109
- leavingDuration: number;
110
- gap: number;
111
- constructor(toastsService: ToastsService, changeDetectorRef: ChangeDetectorRef);
112
- ngOnInit(): void;
113
- handleNewToast(toast: Toast): void;
114
- private reduceToastHeights;
115
- _onHideToast(currentToast: Toast, lowToasts: boolean): void;
116
- private removeToast;
117
- private setToastLinearOpacity;
118
- _toastStatusIcon(toastStatus: ToastStatus): string;
119
- get successStatus(): any;
120
- static ɵfac: i0.ɵɵFactoryDeclaration<HerumToastsComponent, never>;
121
- static ɵcmp: i0.ɵɵComponentDeclaration<HerumToastsComponent, "herum-toasts", never, {}, {}, never, never, false, never>;
122
- }
123
-
124
116
  declare class HerumUploadsManagerComponent {
125
117
  private uploadsManagerService;
126
118
  destroySubject$: Subject<null>;
@@ -148,7 +140,7 @@ declare class HerumUploadsManagerComponent {
148
140
  _isUploadProgressStatusError(uploadProgressStatus: UploadProgressStatus): boolean;
149
141
  _getFileIcon(uploadProgressType: UploadProgressType): string;
150
142
  _getUploadStatusIcon(uploadProgressType: UploadProgressType): string;
151
- _trackByFn(index: number, uploadProgressMetadata: UploadProgressMetadata): any;
143
+ _trackByFn(index: number, uploadProgressMetadata: UploadProgressMetadata): string;
152
144
  get containerTitle$(): Observable<string>;
153
145
  calculateAverageProgressSum(uploadsProgressMetadata: UploadProgressMetadata[]): number;
154
146
  calculateHasUploadProgressFinished(uploadsProgressMetadata: UploadProgressMetadata[]): boolean;
@@ -159,16 +151,83 @@ declare class HerumUploadsManagerComponent {
159
151
  static ɵcmp: i0.ɵɵComponentDeclaration<HerumUploadsManagerComponent, "herum-uploads-manager", never, {}, {}, never, never, false, never>;
160
152
  }
161
153
 
162
- declare class MongoMoleculesModule {
163
- static ɵfac: i0.ɵɵFactoryDeclaration<MongoMoleculesModule, never>;
164
- static ɵmod: i0.ɵɵNgModuleDeclaration<MongoMoleculesModule, [typeof HerumToastsComponent, typeof HerumUploadsManagerComponent], [typeof i3.CommonModule, typeof i4.PipesModule, typeof i5.AtomsModule], [typeof HerumToastsComponent, typeof HerumUploadsManagerComponent]>;
165
- static ɵinj: i0.ɵɵInjectorDeclaration<MongoMoleculesModule>;
154
+ declare class HerumSharedMongoModule {
155
+ static ɵfac: i0.ɵɵFactoryDeclaration<HerumSharedMongoModule, never>;
156
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HerumSharedMongoModule, [typeof HerumToastsComponent, typeof HerumUploadsManagerComponent], [typeof i3.CommonModule, typeof i4.PipesModule, typeof i5.AtomsModule], [typeof HerumToastsComponent, typeof HerumUploadsManagerComponent]>;
157
+ static ɵinj: i0.ɵɵInjectorDeclaration<HerumSharedMongoModule>;
166
158
  }
167
159
 
168
- declare class MongoModule {
169
- static ɵfac: i0.ɵɵFactoryDeclaration<MongoModule, never>;
170
- static ɵmod: i0.ɵɵNgModuleDeclaration<MongoModule, never, [typeof i3.CommonModule, typeof MongoMoleculesModule], [typeof MongoMoleculesModule]>;
171
- static ɵinj: i0.ɵɵInjectorDeclaration<MongoModule>;
160
+ declare const getMongoMethodsDisplayedNamesMap: (mongoUpdates: MongoUpdates, authenticationPaths: AuthenticationPaths) => {
161
+ [key: string]: string;
162
+ };
163
+
164
+ declare class DbActionRequestsService {
165
+ private http;
166
+ private dbActionsInnerIdManagerService;
167
+ private environmentConfig;
168
+ constructor(http: HttpClient, dbActionsInnerIdManagerService: DbActionsInnerIdManagerService, environmentConfig: EnvironmentConfig);
169
+ getFileRequest(request: any, file: File): FormData;
170
+ addOrUpdateAndAttachBulkWithFile(mongoCollectionName: string, fields: {
171
+ [key: string]: any;
172
+ }, file: File, ids: string[], uploadsManagerTitle?: string, skipToast?: boolean): Observable<string>;
173
+ setAddOrUpdateAndAttachBulkWithFileHeaders(headerToSet: any[]): HttpHeaders;
174
+ AndAttachBulk(mongoCollectionName: string, fields: {
175
+ [key: string]: any;
176
+ }, ids: string[], method: 'create' | 'addOrUpdate', attachmentsToUpdate?: {
177
+ [key: string]: any;
178
+ }): Observable<DbActionResponse>;
179
+ basicBulk(mongoCollectionName: string, fields: {
180
+ [key: string]: any;
181
+ }, ids: string[], requestType: string, skipToast?: boolean): Observable<Object>;
182
+ private buildSourceCollectionRequestsData;
183
+ private buildMirrorSourceCollectionRequestsData;
184
+ private arrayOfIdObjectsToIdsArray;
185
+ private buildBasicBulkObjectData;
186
+ deleteMongoDocument(mongoCollectionName: string, ids: string[]): Observable<Object>;
187
+ deletePreviewItemsFromList(mongoCollectionName: string, fields: {
188
+ [key: string]: any;
189
+ }, ids: string[]): Observable<Object>;
190
+ getFormattedAttachments(ids: string[], objectsToAttach: {
191
+ [key: string]: any;
192
+ }, keysToAttachInDifferentModel: {
193
+ [key: string]: any;
194
+ }, modelInfo: {
195
+ [key: string]: ModelInfo;
196
+ }): any[];
197
+ splitFieldByType(fields: {
198
+ [key: string]: any;
199
+ }, modelInfo: {
200
+ [key: string]: ModelInfo;
201
+ }): {
202
+ keysToAttach: {
203
+ [key: string]: any;
204
+ };
205
+ keysToUpdate: {
206
+ [key: string]: any;
207
+ };
208
+ keysToAttachInDifferentModel: {
209
+ [key: string]: any;
210
+ };
211
+ };
212
+ getMongoCollectionModelInfo(mongoCollectionName: string): Observable<{
213
+ [key: string]: ModelInfo;
214
+ }>;
215
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbActionRequestsService, never>;
216
+ static ɵprov: i0.ɵɵInjectableDeclaration<DbActionRequestsService>;
217
+ }
218
+
219
+ declare class DbActionToastService {
220
+ private errorsHandlerService;
221
+ private toastsService;
222
+ private mongoUtilsService;
223
+ toastsTemplates: {
224
+ [key: string]: ToastTemplate;
225
+ };
226
+ constructor(errorsHandlerService: ErrorsHandlerService, toastsService: ToastsService, mongoUtilsService: MongoUtilsService);
227
+ createToastBasedOnHttpResponse(toastHttpResponseDependencies: ToastHttpResponseDependencies): void;
228
+ private setToastStatus;
229
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbActionToastService, never>;
230
+ static ɵprov: i0.ɵɵInjectableDeclaration<DbActionToastService>;
172
231
  }
173
232
 
174
- export { DependentsService, ErrorsHandlerService, HerumToastsComponent, HerumUploadsManagerComponent, MongoModule, MongoMoleculesModule, ToastsService, UploadsManagerService };
233
+ export { DbActionRequestsService, DbActionToastService, DependentsService, ErrorsHandlerService, HerumSharedMongoModule, HerumToastsComponent, HerumUploadsManagerComponent, MongoUtilsService, UploadsManagerService, getMongoMethodsDisplayedNamesMap };
@@ -1,4 +1,6 @@
1
- import { ClosedList, User, PermissionTemplate } from 'herum-shared/herum-types';
1
+ import { ClosedList } from 'herum-types/Shared';
2
+ import { User } from 'herum-types/User';
3
+ import { PermissionTemplate } from 'herum-types/Permission';
2
4
 
3
5
  declare const closedListExample: ClosedList;
4
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "herum-shared",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^20.3.2",
6
6
  "@angular/cdk": "^20.1.2",
@@ -11,6 +11,7 @@
11
11
  "@angular/platform-browser": "^20.3.2",
12
12
  "@angular/router": "^20.3.2",
13
13
  "ag-grid-angular": "^31.3.2",
14
+ "herum-types": "^1.0.1",
14
15
  "jssha": "^2.4.2",
15
16
  "lodash": "^4.17.21",
16
17
  "rxjs": "~7.5.1",
@@ -68,10 +69,6 @@
68
69
  "types": "./fetched-message/index.d.ts",
69
70
  "default": "./fesm2022/herum-shared-fetched-message.mjs"
70
71
  },
71
- "./herum-types": {
72
- "types": "./herum-types/index.d.ts",
73
- "default": "./fesm2022/herum-shared-herum-types.mjs"
74
- },
75
72
  "./molecules": {
76
73
  "types": "./molecules/index.d.ts",
77
74
  "default": "./fesm2022/herum-shared-molecules.mjs"
package/pipes/index.d.ts CHANGED
@@ -1,8 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { PipeTransform } from '@angular/core';
3
- import { AnswerNote, TextChange, CollectionSubscription, CollectionBase, Collection, Resource, QuizData, ModifiedResource, ResourceSubscription, SignUpField, User } from 'herum-shared/herum-types';
3
+ import { TextChange } from 'herum-types/TrackTextChanges';
4
+ import { AnswerNote, CollectionSubscription, ResourceSubscription, User } from 'herum-types/User';
5
+ import { CollectionBase, Collection } from 'herum-types/Collection';
6
+ import { Resource, QuizData, ModifiedResource } from 'herum-types/Resource';
4
7
  import * as _angular_platform_browser from '@angular/platform-browser';
5
8
  import { DomSanitizer } from '@angular/platform-browser';
9
+ import { SignUpField } from 'herum-types/Shared';
6
10
 
7
11
  declare class AnswerNotesToTextChangesPipe implements PipeTransform {
8
12
  transform(answerNotes: AnswerNote[]): TextChange[];
@@ -38,6 +42,22 @@ declare class EllipsisPipe implements PipeTransform {
38
42
  static ɵpipe: i0.ɵɵPipeDeclaration<EllipsisPipe, "ellipsis", false>;
39
43
  }
40
44
 
45
+ declare class SafePipe implements PipeTransform {
46
+ private sanitizer;
47
+ constructor(sanitizer: DomSanitizer);
48
+ transform(url: any): _angular_platform_browser.SafeResourceUrl;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
50
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "safe", false>;
51
+ }
52
+
53
+ declare class SafeHtmlPipe implements PipeTransform {
54
+ private sanitized;
55
+ constructor(sanitized: DomSanitizer);
56
+ transform(value: any): any;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
58
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", false>;
59
+ }
60
+
41
61
  declare class ResourceSubscriptionToResourcePipe implements PipeTransform {
42
62
  transform(resourceSubscription: any, ...args: unknown[]): ModifiedResource;
43
63
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourceSubscriptionToResourcePipe, never>;
@@ -50,20 +70,10 @@ declare class ResourceToResourceSubscriptionPipe implements PipeTransform {
50
70
  static ɵpipe: i0.ɵɵPipeDeclaration<ResourceToResourceSubscriptionPipe, "resourceToResourceSubscription", false>;
51
71
  }
52
72
 
53
- declare class SafeHtmlPipe implements PipeTransform {
54
- private sanitized;
55
- constructor(sanitized: DomSanitizer);
56
- transform(value: any): any;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
58
- static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", false>;
59
- }
60
-
61
- declare class SafePipe implements PipeTransform {
62
- private sanitizer;
63
- constructor(sanitizer: DomSanitizer);
64
- transform(url: any): _angular_platform_browser.SafeResourceUrl;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
66
- static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "safe", false>;
73
+ declare class UserIdentifiedEntitiesToBackendModelsPipe implements PipeTransform {
74
+ transform(user: User): User;
75
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserIdentifiedEntitiesToBackendModelsPipe, never>;
76
+ static ɵpipe: i0.ɵɵPipeDeclaration<UserIdentifiedEntitiesToBackendModelsPipe, "userIdentifiedEntitiesToBackendModels", false>;
67
77
  }
68
78
 
69
79
  declare class StringArrayToSignUpFieldArrayPipe implements PipeTransform {
@@ -78,12 +88,6 @@ declare class ToIntegerPipe implements PipeTransform {
78
88
  static ɵpipe: i0.ɵɵPipeDeclaration<ToIntegerPipe, "toInteger", false>;
79
89
  }
80
90
 
81
- declare class UserIdentifiedEntitiesToBackendModelsPipe implements PipeTransform {
82
- transform(user: User): any;
83
- static ɵfac: i0.ɵɵFactoryDeclaration<UserIdentifiedEntitiesToBackendModelsPipe, never>;
84
- static ɵpipe: i0.ɵɵPipeDeclaration<UserIdentifiedEntitiesToBackendModelsPipe, "userIdentifiedEntitiesToBackendModels", false>;
85
- }
86
-
87
91
  declare class PipesModule {
88
92
  static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
89
93
  static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof SafePipe, typeof CollectionSubscriptionToCollectionBasePipe, typeof CollectionToCollectionBasePipe, typeof SafeHtmlPipe, typeof ResourceSubscriptionToResourcePipe, typeof ResourceToResourceSubscriptionPipe, typeof EllipsisPipe, typeof UserIdentifiedEntitiesToBackendModelsPipe, typeof AnswerNotesToTextChangesPipe, typeof StringArrayToSignUpFieldArrayPipe, typeof ToIntegerPipe, typeof DisplayedSubmissionsCounterPipe], never, [typeof SafePipe, typeof CollectionSubscriptionToCollectionBasePipe, typeof CollectionToCollectionBasePipe, typeof SafeHtmlPipe, typeof ResourceSubscriptionToResourcePipe, typeof ResourceToResourceSubscriptionPipe, typeof EllipsisPipe, typeof UserIdentifiedEntitiesToBackendModelsPipe, typeof AnswerNotesToTextChangesPipe, typeof StringArrayToSignUpFieldArrayPipe, typeof ToIntegerPipe, typeof DisplayedSubmissionsCounterPipe]>;
@@ -1,11 +1,23 @@
1
- import { HttpClient, HttpHeaders } from '@angular/common/http';
2
- import { GraphQlQuery, GraphQLFilter, GraphQlOffsetPaging, GraphQLOrder, SignInFormData, AuthenticationResponse, SignUpFormData, SecurityQuestion, Group, ClosedList, User, DbActionResponse, ModelInfo, GlobalKeyboardEvent, Resource, LessonResourceSubscription, Lesson, MicroResourceAuthorizationBase, ResourcePreview, MicroResourceFrontData, LessonStudentSubscription, Question, UserQuestionData, ResourceSubscription, BackendMicroResourceAuthorization, microResourceAuthorizationType, HadrachaPage, FileData, ISystemTrackTextChangesService } from 'herum-shared/herum-types';
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { SignInFormData, SignUpFormData, ClosedList, GlobalKeyboardEvent, FileData } from 'herum-types/Shared';
3
3
  import * as rxjs from 'rxjs';
4
4
  import { Observable, BehaviorSubject, Subject } from 'rxjs';
5
5
  import { Router } from '@angular/router';
6
+ import { GraphQlQuery, GQLVariable, GraphQLFilter, GraphQlOffsetPaging, GraphQLOrder } from 'herum-types/GraphQL';
6
7
  import { EnvironmentConfig } from 'herum-shared/environment';
7
8
  import * as i0 from '@angular/core';
8
- import { RendererFactory2 } from '@angular/core';
9
+ import { ErrorHandler, RendererFactory2 } from '@angular/core';
10
+ import { AuthenticationResponse } from 'herum-types/Auth';
11
+ import { SecurityQuestion, User, UserQuestionData, ResourceSubscription } from 'herum-types/User';
12
+ import { Group } from 'herum-types/Group';
13
+ import { LessonResourceSubscription, Lesson, MicroResourceAuthorizationBase, LessonStudentSubscription, BackendMicroResourceAuthorization } from 'herum-types/Lessons';
14
+ import { Resource, MicroResourceAuthorizationType, MicroResourceFrontData, Question, QuizGradeData } from 'herum-types/Resource';
15
+ import { ResourcePreview } from 'herum-types/Previews';
16
+ import { UsersLessonPermissionsDalResponse } from 'herum-types/GenericUpdates';
17
+ import { HadrachaPage } from 'herum-types/HadrachaPage';
18
+ import { Toast, ToastTemplate, ToastStatus } from 'herum-types/Toast';
19
+ import { ISystemTrackTextChangesService } from 'herum-types/interfaces';
20
+ import { TextChangeStyle } from 'herum-types/TrackTextChanges';
9
21
 
10
22
  declare const NestedConditionSigniture = "filters";
11
23
  declare class GraphQLService {
@@ -18,7 +30,7 @@ declare class GraphQLService {
18
30
  };
19
31
  generateFilterStringDynamically(ids: string[], key: string, type: ('String' | 'Number')): {
20
32
  filters: any[];
21
- variables: any[];
33
+ variables: GQLVariable[];
22
34
  };
23
35
  convertToResolverNameFormat(mongoCollectionName: string): string;
24
36
  generateQuery(resolverName: string, formatExample: any, condition?: GraphQLFilter, first?: number, after?: string, offsetPaging?: GraphQlOffsetPaging, variablesStringForQuerySigniture?: string, order?: GraphQLOrder, conditionPaths?: {
@@ -27,7 +39,7 @@ declare class GraphQLService {
27
39
  [path: string]: GraphQLOrder;
28
40
  }, offsetPagingPaths?: {
29
41
  [path: string]: GraphQlOffsetPaging;
30
- }, isListQuery?: boolean, isOffsetPagination?: boolean): string;
42
+ }, isListQuery?: boolean, isOffsetPagination?: boolean, useTotalCount?: boolean): string;
31
43
  private generateConditionString;
32
44
  private generatePagingString;
33
45
  private generateOffsetPagingString;
@@ -92,59 +104,15 @@ declare class DbActionsInnerIdManagerService {
92
104
  static ɵprov: i0.ɵɵInjectableDeclaration<DbActionsInnerIdManagerService>;
93
105
  }
94
106
 
95
- declare class DbActionRequestsService {
107
+ declare class GlobalErrorHandler implements ErrorHandler {
96
108
  private http;
97
- private dbActionsInnerIdManagerService;
98
109
  private environmentConfig;
99
- constructor(http: HttpClient, dbActionsInnerIdManagerService: DbActionsInnerIdManagerService, environmentConfig: EnvironmentConfig);
100
- getFileRequest(request: any, file: File): FormData;
101
- addOrUpdateAndAttachBulkWithFile(mongoCollectionName: string, fields: {
102
- [key: string]: any;
103
- }, file: File, ids: string[], uploadsManagerTitle?: string, skipToast?: boolean): Observable<string>;
104
- setAddOrUpdateAndAttachBulkWithFileHeaders(headerToSet: any[]): HttpHeaders;
105
- AndAttachBulk(mongoCollectionName: string, fields: {
106
- [key: string]: any;
107
- }, ids: string[], method: 'create' | 'addOrUpdate', attachmentsToUpdate?: {
108
- [key: string]: any;
109
- }): Observable<DbActionResponse>;
110
- basicBulk(mongoCollectionName: string, fields: {
111
- [key: string]: any;
112
- }, ids: string[], requestType: string, skipToast?: boolean): Observable<Object>;
113
- private buildSourceCollectionRequestsData;
114
- private buildMirrorSourceCollectionRequestsData;
115
- private arrayOfIdObjectsToIdsArray;
116
- private buildBasicBulkObjectData;
117
- deleteMongoDocument(mongoCollectionName: string, ids: string[]): Observable<Object>;
118
- deletePreviewItemsFromList(mongoCollectionName: string, fields: {
119
- [key: string]: any;
120
- }, ids: string[]): Observable<Object>;
121
- getFormattedAttachments(ids: string[], objectsToAttach: {
122
- [key: string]: any;
123
- }, keysToAttachInDifferentModel: {
124
- [key: string]: any;
125
- }, modelInfo: {
126
- [key: string]: ModelInfo;
127
- }): any[];
128
- splitFieldByType(fields: {
129
- [key: string]: any;
130
- }, modelInfo: {
131
- [key: string]: ModelInfo;
132
- }): {
133
- keysToAttach: {
134
- [key: string]: any;
135
- };
136
- keysToUpdate: {
137
- [key: string]: any;
138
- };
139
- keysToAttachInDifferentModel: {
140
- [key: string]: any;
141
- };
142
- };
143
- getMongoCollectionModelInfo(mongoCollectionName: string): Observable<{
144
- [key: string]: ModelInfo;
145
- }>;
146
- static ɵfac: i0.ɵɵFactoryDeclaration<DbActionRequestsService, never>;
147
- static ɵprov: i0.ɵɵInjectableDeclaration<DbActionRequestsService>;
110
+ private lastErrorKey;
111
+ private lastErrorAt;
112
+ constructor(http: HttpClient, environmentConfig: EnvironmentConfig);
113
+ handleError(error: Error): void;
114
+ static ɵfac: i0.ɵɵFactoryDeclaration<GlobalErrorHandler, never>;
115
+ static ɵprov: i0.ɵɵInjectableDeclaration<GlobalErrorHandler>;
148
116
  }
149
117
 
150
118
  declare class GlobalKeyboardListenerService {
@@ -203,38 +171,42 @@ declare class MicroResourcesService {
203
171
  collectionItemType: string;
204
172
  openingTime: Date;
205
173
  closingTime: Date;
206
- authorizationType: any;
174
+ authorizationType: MicroResourceAuthorizationType;
207
175
  }[];
208
176
  getPublishGradeTimings(selectedResource: Partial<Resource & LessonResourceSubscription>, openingTime?: Date, closingTime?: Date): {
209
- authorizationType: any;
177
+ authorizationType: MicroResourceAuthorizationType;
210
178
  closingTime: Date;
211
179
  collectionItemType: string;
212
180
  openingTime: Date;
213
181
  propertyPath: string;
214
182
  }[];
215
183
  updateUserMicroResourceAuthorizationLocally(currentLesson: Lesson, studentId: string, microResourceAuthorizations: MicroResourceAuthorizationBase[], selectedResource: ResourcePreview): void;
216
- updateUserMicroResourceVisibility(microResource: MicroResourceFrontData, resource: Resource & LessonResourceSubscription, lesson: Lesson, user: LessonStudentSubscription): rxjs.Observable<any>;
217
- updateUserMicroResourceAuthorization(studentId: string, lesson: Lesson, resource: ResourcePreview, authorizations: MicroResourceAuthorizationBase[]): rxjs.Observable<any>;
184
+ updateUserMicroResourceVisibility(microResource: MicroResourceFrontData, resource: Resource & LessonResourceSubscription, lesson: Lesson, user: LessonStudentSubscription): rxjs.Observable<UsersLessonPermissionsDalResponse>;
185
+ updateUserMicroResourceAuthorization(studentId: string, lesson: Lesson, resource: ResourcePreview, authorizations: MicroResourceAuthorizationBase[]): rxjs.Observable<UsersLessonPermissionsDalResponse>;
218
186
  resolvePropertyPath(path: string | ((question: (Question | UserQuestionData)[]) => string), questions: (Question | UserQuestionData)[]): string;
219
187
  isTimePass(date: string | number | Date): boolean;
220
188
  isAuthenticated(microResource: MicroResourceAuthorizationBase): boolean;
221
189
  isQuestionAssignment(resourceSubscription: ResourceSubscription, questionType: string): boolean;
222
190
  isQuestionPendingForCheck(resourceSubscription: ResourceSubscription, questionData: UserQuestionData): boolean;
223
191
  buildQuestionPropertyPath(id: string, field: string): string;
224
- hasFillAuthorizationClosingTimePassed(innerAuthorizations: BackendMicroResourceAuthorization[], resource: Resource): boolean;
225
192
  isPublishGradeAuthenticated(innerAuthorizations: BackendMicroResourceAuthorization[], resource: Resource): boolean;
226
- getAuthorization(innerAuthorizations: BackendMicroResourceAuthorization[], defaultAuthorizationObject: BackendMicroResourceAuthorization, microResourceAuthorizationType: microResourceAuthorizationType, resource: Resource): any;
227
- createMultiResourceDefaultAuthorizations<T extends studentInnerAuthorizationSubscription>(students: T[], pageId: string, resourcesIds: string[], defaultAuthorizations: BackendMicroResourceAuthorization[], authorizations?: BackendMicroResourceAuthorization[]): rxjs.Observable<Object[]>;
193
+ hasFillAuthorizationClosingTimePassed(innerAuthorizations: BackendMicroResourceAuthorization[], resource: Resource): boolean;
194
+ getAuthorization(innerAuthorizations: BackendMicroResourceAuthorization[], defaultAuthorizationObject: BackendMicroResourceAuthorization, microResourceAuthorizationType: MicroResourceAuthorizationType, resource: Resource): BackendMicroResourceAuthorization;
195
+ createMultiResourceDefaultAuthorizations<T extends studentInnerAuthorizationSubscription>(students: T[], pageId: string, resourcesIdsToDefaultAuthorizations: {
196
+ [key: string]: BackendMicroResourceAuthorization[];
197
+ }, authorizations?: BackendMicroResourceAuthorization[]): rxjs.Observable<Object[]>;
228
198
  copyResourceStudentsAuthorizations<T extends studentInnerAuthorizationSubscription>(students: T[], pageId: string, authSourceResourceId: string, authTargetResourceId: string, useDefaultGradePermissions: boolean): rxjs.Observable<Object[]>;
229
199
  removeResourceAuthorizations(page: HadrachaPage, resourcesIdsToRemove: string[]): rxjs.Observable<Object[]>;
200
+ getGradeDisplayText(gradeData: QuizGradeData): string;
230
201
  static ɵfac: i0.ɵɵFactoryDeclaration<MicroResourcesService, never>;
231
202
  static ɵprov: i0.ɵɵInjectableDeclaration<MicroResourcesService>;
232
203
  }
233
204
 
234
205
  declare class UtilsService {
235
206
  private environmentConfig;
236
- constructor(environmentConfig: EnvironmentConfig);
237
- getDisplayedNameForMongoMethodByUserActivity(urlRequest: string): string | undefined;
207
+ private http;
208
+ constructor(environmentConfig: EnvironmentConfig, http: HttpClient);
209
+ getModelInfo(model: string): Observable<any>;
238
210
  getUrlFromFileData(fileData: Partial<FileData>): string;
239
211
  fetchFiles(fileId: string, resourceType: string, bucket?: string): Promise<Response>;
240
212
  initAudioFile(fileId: string, bucketName?: string, signal?: AbortSignal): Promise<File>;
@@ -267,13 +239,30 @@ declare class SystemStylingService {
267
239
  }
268
240
  declare function systemStylingFactory(systemName: string, systemStylingService: SystemStylingService): () => void;
269
241
 
242
+ declare class ToastsService {
243
+ toast$: BehaviorSubject<Toast>;
244
+ toastId: number;
245
+ toastsTemplates: {
246
+ [key: string]: ToastTemplate;
247
+ };
248
+ findErrorMessageByStatusCode(statusCode: string, mongoMethodDisplayedName: string): string;
249
+ showErrorToast(toastContextKey: string): void;
250
+ showSuccessToast(toastContextKey: string): void;
251
+ showInformationToast(toastContextKey: string): void;
252
+ showOnDemandToast(toastContextKey: string, status: ToastStatus, toastStorageKey?: string): void;
253
+ private hasToastAlreadyShownAndShouldShowOnce;
254
+ showToast(title: string, content: string, status: ToastStatus): void;
255
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastsService, never>;
256
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastsService>;
257
+ }
258
+
270
259
  declare class TrackTextChangesService {
271
260
  private systemContextTrackTextChangesService;
272
261
  constructor(systemContextTrackTextChangesService: ISystemTrackTextChangesService);
273
- getStyle(): any;
262
+ getStyle(): TextChangeStyle;
274
263
  static ɵfac: i0.ɵɵFactoryDeclaration<TrackTextChangesService, never>;
275
264
  static ɵprov: i0.ɵɵInjectableDeclaration<TrackTextChangesService>;
276
265
  }
277
266
 
278
- export { AuthService, CommonGraphqlRequestsService, DbActionRequestsService, DbActionsInnerIdManagerService, GlobalKeyboardListenerService, GraphQLService, KeyPressService, LoaderManagerService, MicroResourcesService, NestedConditionSigniture, ResourceDataBuilderService, SystemStylingService, TrackTextChangesService, UtilsService, emptyValueFlagForCreationUniqListItem, freeTextAnswerField, innerUniqListItemKey, systemStylingFactory };
267
+ export { AuthService, CommonGraphqlRequestsService, DbActionsInnerIdManagerService, GlobalErrorHandler, GlobalKeyboardListenerService, GraphQLService, KeyPressService, LoaderManagerService, MicroResourcesService, NestedConditionSigniture, ResourceDataBuilderService, SystemStylingService, ToastsService, TrackTextChangesService, UtilsService, emptyValueFlagForCreationUniqListItem, freeTextAnswerField, innerUniqListItemKey, systemStylingFactory };
279
268
  export type { studentInnerAuthorizationSubscription };