herum-shared 0.1.38 → 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 -136
  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 +188 -159
  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 -39
  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
@@ -1,12 +1,24 @@
1
- import { SignUpField, BackendMicroResourceAuthorization, ToastTemplate, ToastContext, ToastState, ToastStatus, UploadProgressStatus, UploadProgressType, DialogConfig } from 'herum-shared/herum-types';
1
+ import { SignUpField, MediaSettings } from 'herum-types/Shared';
2
+ import { BackendMicroResourceAuthorization } from 'herum-types/Lessons';
3
+ import { DialogConfig } from 'herum-types/Dialogs';
4
+ import { ToastContext, ToastState, ToastStatus } from 'herum-types/Toast';
2
5
  import { HttpHeaders } from '@angular/common/http';
3
- import { MongoUpdates, AuthenticationPaths } from 'herum-shared/environment';
6
+ import { AuthenticationPaths } from 'herum-shared/environment';
7
+ import { UploadProgressStatus, UploadProgressType } from 'herum-types/uploads-manager';
4
8
 
5
9
  declare const assignmentMetadata: {
6
10
  state: number;
7
11
  name: string;
8
12
  };
9
13
 
14
+ declare const checkboxTypes: {
15
+ unchecked: string;
16
+ indeterminate: string;
17
+ checked: string;
18
+ error: string;
19
+ disabled: string;
20
+ };
21
+
10
22
  declare const collectionFormKeys: {
11
23
  files: string;
12
24
  name: string;
@@ -108,6 +120,7 @@ declare const sideBarSizeButtonId: string;
108
120
  declare const previewImageKey: string;
109
121
  declare const defaultGrade: number;
110
122
  declare const anySubFileTypeWildCard: string;
123
+ declare const resourceColumnPrefix = "resource_";
111
124
 
112
125
  declare const defaultUserId = "1";
113
126
 
@@ -134,6 +147,7 @@ declare const defaultAuthorizationObject: {
134
147
  isCorrect(): BackendMicroResourceAuthorization;
135
148
  };
136
149
  declare function getQuizDefaultAuthorizations(): BackendMicroResourceAuthorization[];
150
+ declare function getResourceDefaultAuthorizations(): BackendMicroResourceAuthorization[];
137
151
  declare function getPublishAuthorization(): BackendMicroResourceAuthorization[];
138
152
  declare function getMediaDefaultAuthorizations(): BackendMicroResourceAuthorization[];
139
153
  declare function getPropertyPathsOfPublishAuthorization(): string[];
@@ -148,9 +162,89 @@ declare const defaultTrackTextChangesStyle: {
148
162
  tooltipButtonsContainer: string;
149
163
  };
150
164
 
165
+ declare const dialogsSubmitActionButtons: {
166
+ save: string;
167
+ approve: string;
168
+ delete: string;
169
+ add: string;
170
+ submit: string;
171
+ pageNavigation: string;
172
+ understand: string;
173
+ };
174
+ declare const dialogsCloseActionButtons: {
175
+ pageNavigation: string;
176
+ };
177
+ declare const dialogsTitles: {
178
+ serverError: string;
179
+ userError: string;
180
+ cancelAttachedCollections: string;
181
+ attachCollections: string;
182
+ deleteResources: string;
183
+ deleteResource: string;
184
+ deleteCollegeResource: string;
185
+ deleteCollection: string;
186
+ addResource: string;
187
+ addUser: string;
188
+ editResource: string;
189
+ updateResources: string;
190
+ editUser: string;
191
+ editTeacher: string;
192
+ editStudent: string;
193
+ editCollectionPriority: string;
194
+ editCollection: string;
195
+ editCollections: string;
196
+ deleteGroups: string;
197
+ timeoutError: string;
198
+ pageNavigation: string;
199
+ quizSubmission: string;
200
+ notAuthorized: string;
201
+ addExistingUser: string;
202
+ addedStructWithExistingUsers: string;
203
+ resetQuiz: string;
204
+ removeUserFromPage: string;
205
+ removeUserFromStruct: string;
206
+ studentStartedLesson: string;
207
+ realTimeError: string;
208
+ realTimeUnavailable: string;
209
+ };
210
+ declare const dialogsDescriptions: {
211
+ defaultInsurance: string;
212
+ unsavedChanges: string;
213
+ serverError: string;
214
+ timeoutError: string;
215
+ criticalServerError: string;
216
+ forbiddenServerError: string;
217
+ cancelAttachedCollections: string;
218
+ attachCollections: string;
219
+ editCollectionPriority: string;
220
+ deleteResources: string;
221
+ deleteResource: string;
222
+ deleteCollegeResource: string;
223
+ updateMicroResourcesOpeningTime: string;
224
+ editUser: string;
225
+ deleteGroups: string;
226
+ deleteCollection: string;
227
+ deleteLastResource: string;
228
+ addExistingUser: string;
229
+ addedStructWithExistingUsers: string;
230
+ quizPartialSubmission: string;
231
+ notAuthorized: string;
232
+ resetQuiz: string;
233
+ removeUserFromPage: string;
234
+ removeUserFromStruct: string;
235
+ studentStartedLesson: string;
236
+ realTimeError: string;
237
+ realTimeUnavailable: string;
238
+ };
239
+ declare const dialogsNotes: {
240
+ resetQuiz: string;
241
+ };
242
+ declare const insuranceDialogPageNavigationData: DialogConfig;
243
+
151
244
  declare const errorHeadersToSet: {
152
245
  [key: string]: string;
153
246
  };
247
+ declare const globalErrorHandlingHeader: string;
154
248
 
155
249
  declare const videoPreviewSupportedMimes: string[];
156
250
  declare const audioPreviewSupportedMimes: string[];
@@ -179,11 +273,37 @@ declare const dragPath: string;
179
273
  declare const maleAvatarPath: string;
180
274
  declare const femaleAvatarPath: string;
181
275
 
182
- declare const initialMediaSettings: {
183
- currentTime: number;
184
- isPlaying: boolean;
185
- playbackSpeed: number;
186
- id: any;
276
+ declare const initialMediaSettings: MediaSettings;
277
+
278
+ declare const keyboardKeys: {
279
+ space: number;
280
+ right: number;
281
+ left: number;
282
+ enter: number;
283
+ };
284
+
285
+ declare const radioButtonTypes: {
286
+ disabled: string;
287
+ error: string;
288
+ checked: string;
289
+ completed: string;
290
+ };
291
+
292
+ declare const regexExpressions: {
293
+ digitsOnly: RegExp;
294
+ templateInterpolation: RegExp;
295
+ sevenDigitsLength: RegExp;
296
+ militaryIdLength: RegExp;
297
+ curlyBraces: RegExp;
298
+ squareBrackets: RegExp;
299
+ chromeVersion: RegExp;
300
+ fullDateTime: RegExp;
301
+ fullRangeDateTime: RegExp;
302
+ rangeDateTimeWithoutSeconds: RegExp;
303
+ dateTimeWithoutSeconds: RegExp;
304
+ chromeVersionRegex: RegExp;
305
+ removeSpacesRegex: RegExp;
306
+ phoneNumberTenDigits: RegExp;
187
307
  };
188
308
 
189
309
  declare const resourceFileTypes: {
@@ -197,6 +317,7 @@ declare const resourceTypes: {
197
317
  exercise: string;
198
318
  video: string;
199
319
  learningUnit: string;
320
+ text: string;
200
321
  };
201
322
 
202
323
  declare const routes: {
@@ -556,22 +677,7 @@ declare function getSignUpFormFieldsByFields(fieldNames: string[]): ({
556
677
  disabled?: undefined;
557
678
  })[];
558
679
 
559
- declare const socketUpdateKeys: {
560
- GetOnlineUsers: string;
561
- LessonStateUpdate: string;
562
- StudentLessonStateUpdate: string;
563
- StartLesson: string;
564
- SendMessage: string;
565
- ConnectionMessage: string;
566
- OnlineUsers: string;
567
- LessonUsers: string;
568
- LessonState: string;
569
- GetConnectedInControlUsers: string;
570
- ConnectedInControlUsers: string;
571
- UserJoined: string;
572
- ReceivedMessage: string;
573
- RemoveStudent: string;
574
- };
680
+ declare const structHierarchyTreeMaxHeight = 2;
575
681
 
576
682
  declare const svgsStrings: {
577
683
  edit: string;
@@ -610,6 +716,9 @@ declare const svgsStrings: {
610
716
  quiz: string;
611
717
  story: string;
612
718
  video: string;
719
+ text: string;
720
+ learningunit: string;
721
+ generic: string;
613
722
  success: string;
614
723
  error: string;
615
724
  information: string;
@@ -618,6 +727,7 @@ declare const svgsStrings: {
618
727
  hadrachaHierarchyResource: string;
619
728
  link: string;
620
729
  messagePlus: string;
730
+ check: string;
621
731
  };
622
732
 
623
733
  declare const system: {
@@ -626,6 +736,26 @@ declare const system: {
626
736
  hadracha: string;
627
737
  };
628
738
 
739
+ declare const tableRowHeights: {
740
+ switchCell: number;
741
+ doubleLines: number;
742
+ default: number;
743
+ };
744
+
745
+ declare const calendarActiveColorCssVariable: string;
746
+ declare const calendarHoverColorCssVariable: string;
747
+ declare const calendarLibrarySelector: string;
748
+ declare const calendarLibraryBodyCellSelector: string;
749
+ declare const timerActiveColorCssVariable: string;
750
+ declare const timerHoverColorCssVariable: string;
751
+ declare const timerItemSizeColorCssVariable: string;
752
+ declare const dayInMilliSeconds: number;
753
+ declare const secondInMilliseconds: number;
754
+ declare const minuteInMilliseconds: number;
755
+ declare const timePattern: string;
756
+
757
+ declare const sixMonthsInDays = 180;
758
+
629
759
  declare const toastsTemplatesKeys: {
630
760
  [key: string]: string;
631
761
  };
@@ -636,9 +766,6 @@ declare const getSignUpMethod: (authenticationPaths: AuthenticationPaths) => str
636
766
  declare const toastStates: {
637
767
  [toastState: string]: ToastState;
638
768
  };
639
- declare const getMongoMethodsDisplayedNamesMap: (mongoUpdates: MongoUpdates, authenticationPaths: AuthenticationPaths) => {
640
- [key: string]: string;
641
- };
642
769
  declare const statusCodes: {
643
770
  [key: string]: (wordToReplace: string) => string;
644
771
  };
@@ -647,10 +774,33 @@ declare const toastsKeys: {
647
774
  [key: string]: string;
648
775
  };
649
776
  declare const skipToastHeader: HttpHeaders;
650
- declare const getToastsTemplates: (mongoUpdates: MongoUpdates, authenticationPaths: AuthenticationPaths) => {
651
- [key: string]: ToastTemplate;
777
+ declare const toastsTemplates: {
778
+ [toastsTemplatesKeys.chromeBrowserVersion]: {
779
+ title: string;
780
+ information: string;
781
+ };
782
+ [toastsTemplatesKeys.addOrUpdateNotebookSuccess]: {
783
+ title: string;
784
+ success: string;
785
+ };
786
+ [toastsTemplatesKeys.addOrUpdateNotebookError]: {
787
+ title: string;
788
+ error: string;
789
+ };
790
+ [toastsTemplatesKeys.hadrachaToolBarError]: {
791
+ title: string;
792
+ error: string;
793
+ };
652
794
  };
653
795
 
796
+ declare const additionTagName: string;
797
+ declare const deletionTagName: string;
798
+ declare const editorContainerElementId: string;
799
+ declare const mouseEnterHandlerKey: string;
800
+ declare const mouseLeaveHandlerKey: string;
801
+ declare const mouseEnter: string;
802
+ declare const mouseLeave: string;
803
+
654
804
  declare const uploadsProgressMetadataTypes: {
655
805
  [uploadsProgressMetadataType: string]: UploadProgressType;
656
806
  };
@@ -679,6 +829,8 @@ declare const uploadsManagerKeys: {
679
829
  resource: string;
680
830
  collection: string;
681
831
  };
832
+ declare const maxImageHeight = 3000;
833
+ declare const maxImageWidth = 3000;
682
834
 
683
835
  declare const validatorsNames: {
684
836
  invalidIDNumber: string;
@@ -687,111 +839,4 @@ declare const validatorsNames: {
687
839
  required: string;
688
840
  };
689
841
 
690
- declare const regexExpressions: {
691
- digitsOnly: RegExp;
692
- templateInterpolation: RegExp;
693
- sevenDigitsLength: RegExp;
694
- militaryIdLength: RegExp;
695
- curlyBraces: RegExp;
696
- squareBrackets: RegExp;
697
- chromeVersion: RegExp;
698
- fullDateTime: RegExp;
699
- fullRangeDateTime: RegExp;
700
- rangeDateTimeWithoutSeconds: RegExp;
701
- dateTimeWithoutSeconds: RegExp;
702
- chromeVersionRegex: RegExp;
703
- removeSpacesRegex: RegExp;
704
- phoneNumberTenDigits: RegExp;
705
- };
706
-
707
- declare const tableRowHeights: {
708
- switchCell: number;
709
- doubleLines: number;
710
- default: number;
711
- };
712
-
713
- declare const dialogsSubmitActionButtons: {
714
- save: string;
715
- approve: string;
716
- delete: string;
717
- add: string;
718
- submit: string;
719
- pageNavigation: string;
720
- };
721
- declare const dialogsCloseActionButtons: {
722
- pageNavigation: string;
723
- };
724
- declare const dialogsTitles: {
725
- serverError: string;
726
- userError: string;
727
- cancelAttachedCollections: string;
728
- attachCollections: string;
729
- deleteResources: string;
730
- deleteResource: string;
731
- deleteCollegeResource: string;
732
- deleteCollection: string;
733
- addResource: string;
734
- addUser: string;
735
- editResource: string;
736
- updateResources: string;
737
- editUser: string;
738
- editTeacher: string;
739
- editStudent: string;
740
- editCollectionPriority: string;
741
- editCollection: string;
742
- editCollections: string;
743
- deleteGroups: string;
744
- timeoutError: string;
745
- pageNavigation: string;
746
- quizSubmission: string;
747
- notAuthorized: string;
748
- addExistingUser: string;
749
- addedStructWithExistingUsers: string;
750
- resetQuiz: string;
751
- removeUserFromPage: string;
752
- removeUserFromStruct: string;
753
- };
754
- declare const dialogsDescriptions: {
755
- defaultInsurance: string;
756
- unsavedChanges: string;
757
- serverError: string;
758
- timeoutError: string;
759
- criticalServerError: string;
760
- forbiddenServerError: string;
761
- cancelAttachedCollections: string;
762
- attachCollections: string;
763
- editCollectionPriority: string;
764
- deleteResources: string;
765
- deleteResource: string;
766
- deleteCollegeResource: string;
767
- updateMicroResourcesOpeningTime: string;
768
- editUser: string;
769
- deleteGroups: string;
770
- deleteCollection: string;
771
- deleteLastResource: string;
772
- addExistingUser: string;
773
- addedStructWithExistingUsers: string;
774
- quizPartialSubmission: string;
775
- notAuthorized: string;
776
- resetQuiz: string;
777
- removeUserFromPage: string;
778
- removeUserFromStruct: string;
779
- };
780
- declare const dialogsNotes: {
781
- resetQuiz: string;
782
- };
783
- declare const insuranceDialogPageNavigationData: DialogConfig;
784
-
785
- declare const calendarActiveColorCssVariable: string;
786
- declare const calendarHoverColorCssVariable: string;
787
- declare const calendarLibrarySelector: string;
788
- declare const calendarLibraryBodyCellSelector: string;
789
- declare const timerActiveColorCssVariable: string;
790
- declare const timerHoverColorCssVariable: string;
791
- declare const timerItemSizeColorCssVariable: string;
792
- declare const dayInMilliSeconds: number;
793
- declare const secondInMilliseconds: number;
794
- declare const minuteInMilliseconds: number;
795
- declare const timePattern: string;
796
-
797
- export { activeDragPath, anySubFileTypeWildCard, assignmentMetadata, attributes, audioAndVideoPreviewSupportedMimes, audioAndVideoPreviewSupportedSuffixes, audioPreviewSupportedMimes, audioPreviewSupportedSuffixes, calendarActiveColorCssVariable, calendarHoverColorCssVariable, calendarLibraryBodyCellSelector, calendarLibrarySelector, collectionFormKeys, collectionFormValues, datePlaceHolder, dateRangePlaceHolder, dateRangeTimeRangePlaceHolder, dateRangeTimeRangeWithoutSecondsPlaceHolder, dateTimePlaceHolder, dateTimeWithoutSecondsPlaceHolder, dayInMilliSeconds, defaultAuthorizationObject, defaultCloseTime, defaultGrade, defaultOpenTime, defaultPlaceholder, defaultTrackTextChangesStyle, defaultUploadsManagerTitle, defaultUserId, dialogsCloseActionButtons, dialogsDescriptions, dialogsNotes, dialogsSubmitActionButtons, dialogsTitles, dragPath, errorHeadersToSet, femaleAvatarPath, filesSuffixes, formStatuses, formatError, formsErrorMessages, generalKeys, getMediaDefaultAuthorizations, getMongoMethodsDisplayedNamesMap, getPropertyPathsOfPublishAuthorization, getPublishAuthorization, getQuizDefaultAuthorizations, getSignUpFormFieldsByFields, getSignUpMethod, getToastsTemplates, herumClosedListMultiSelectType, initialMediaSettings, inputs, insuranceDialogPageNavigationData, keyboardAsciiCodes, maleAvatarPath, minDateError, minuteInMilliseconds, previewImageKey, readynessDisplayName, regexExpressions, resourceFileTypes, resourceFormKeys, resourceIdPlaceholder, resourceKeys, resourceTypes, resourcesFilesSuffixes, routes, secondInMilliseconds, sideBarSizeButtonId, signUpFormFields, signUpFormFieldsData, signUpFormKeys, skipToastHeader, socketUpdateKeys, startEndDateError, statusCodes, svgsStrings, system, tableRowHeights, timePattern, timePlaceHolder, timeWithoutSecondsPlaceHolder, timerActiveColorCssVariable, timerHoverColorCssVariable, timerItemSizeColorCssVariable, timestampError, toastContext, toastStates, toastStatuses, toastsKeys, toastsTemplatesKeys, types, uploadStatuses, uploadsManagerKeys, uploadsProgressMetadataTypes, validatorsNames, videoPreviewSupportedMimes, videoPreviewSupportedSuffixes, viewPermissionLabel };
842
+ export { activeDragPath, additionTagName, anySubFileTypeWildCard, assignmentMetadata, attributes, audioAndVideoPreviewSupportedMimes, audioAndVideoPreviewSupportedSuffixes, audioPreviewSupportedMimes, audioPreviewSupportedSuffixes, calendarActiveColorCssVariable, calendarHoverColorCssVariable, calendarLibraryBodyCellSelector, calendarLibrarySelector, checkboxTypes, collectionFormKeys, collectionFormValues, datePlaceHolder, dateRangePlaceHolder, dateRangeTimeRangePlaceHolder, dateRangeTimeRangeWithoutSecondsPlaceHolder, dateTimePlaceHolder, dateTimeWithoutSecondsPlaceHolder, dayInMilliSeconds, defaultAuthorizationObject, defaultCloseTime, defaultGrade, defaultOpenTime, defaultPlaceholder, defaultTrackTextChangesStyle, defaultUploadsManagerTitle, defaultUserId, deletionTagName, dialogsCloseActionButtons, dialogsDescriptions, dialogsNotes, dialogsSubmitActionButtons, dialogsTitles, dragPath, editorContainerElementId, errorHeadersToSet, femaleAvatarPath, filesSuffixes, formStatuses, formatError, formsErrorMessages, generalKeys, getMediaDefaultAuthorizations, getPropertyPathsOfPublishAuthorization, getPublishAuthorization, getQuizDefaultAuthorizations, getResourceDefaultAuthorizations, getSignUpFormFieldsByFields, getSignUpMethod, globalErrorHandlingHeader, herumClosedListMultiSelectType, initialMediaSettings, inputs, insuranceDialogPageNavigationData, keyboardAsciiCodes, keyboardKeys, maleAvatarPath, maxImageHeight, maxImageWidth, minDateError, minuteInMilliseconds, mouseEnter, mouseEnterHandlerKey, mouseLeave, mouseLeaveHandlerKey, previewImageKey, radioButtonTypes, readynessDisplayName, regexExpressions, resourceColumnPrefix, resourceFileTypes, resourceFormKeys, resourceIdPlaceholder, resourceKeys, resourceTypes, resourcesFilesSuffixes, routes, secondInMilliseconds, sideBarSizeButtonId, signUpFormFields, signUpFormFieldsData, signUpFormKeys, sixMonthsInDays, skipToastHeader, startEndDateError, statusCodes, structHierarchyTreeMaxHeight, svgsStrings, system, tableRowHeights, timePattern, timePlaceHolder, timeWithoutSecondsPlaceHolder, timerActiveColorCssVariable, timerHoverColorCssVariable, timerItemSizeColorCssVariable, timestampError, toastContext, toastStates, toastStatuses, toastsKeys, toastsTemplates, toastsTemplatesKeys, types, uploadStatuses, uploadsManagerKeys, uploadsProgressMetadataTypes, validatorsNames, videoPreviewSupportedMimes, videoPreviewSupportedSuffixes, viewPermissionLabel };
@@ -1,8 +1,9 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import { DialogConfig, FileData } from 'herum-shared/herum-types';
3
- import { EnvironmentConfig } from 'herum-shared/environment';
4
1
  import * as i0 from '@angular/core';
5
2
  import { OnInit } from '@angular/core';
3
+ import { MatDialogRef } from '@angular/material/dialog';
4
+ import { DialogConfig } from 'herum-types/Dialogs';
5
+ import { EnvironmentConfig } from 'herum-shared/environment';
6
+ import { FileData } from 'herum-types/Shared';
6
7
  import * as i3 from '@angular/common';
7
8
  import * as i4 from 'herum-shared/atoms';
8
9
  import * as i5 from 'herum-shared/pipes';
@@ -55,7 +55,7 @@ type MongoUpdates = {
55
55
  };
56
56
 
57
57
  type EnvironmentConfig = {
58
- mongoUpdates: MongoUpdates;
58
+ mongoUpdates?: MongoUpdates;
59
59
  environment: {
60
60
  production: boolean;
61
61
  envName: string;
@@ -88,41 +88,8 @@ type EnvironmentConfig = {
88
88
  ResourceFile: string;
89
89
  Audio: string;
90
90
  };
91
- filesSuffixes: {
92
- Story: string;
93
- Pdf: string;
94
- Video: string;
95
- Presentation: string;
96
- };
97
- checkboxTypes: {
98
- unchecked: string;
99
- indeterminate: string;
100
- checked: string;
101
- error: string;
102
- disabled: string;
103
- };
104
- radioButtonTypes: {
105
- disabled: string;
106
- error: string;
107
- checked: string;
108
- completed: string;
109
- };
110
- resources: {
111
- story: string;
112
- quiz: string;
113
- exercise: string;
114
- text: string;
115
- };
116
- keyboardKeySpace: number;
117
- keyboardKeyRight: number;
118
- keyboardKeyLeft: number;
119
- keyboardKeyEnter: number;
120
- exercisesCollection: string;
121
- feedIconsBasePath: string;
122
- mainStructTreeRootId: string;
123
- maxTreeHeight: number;
124
- sixMonthsInDays: number;
125
91
  };
92
+
126
93
  declare const HERUM_SHARED_CONFIG_TOKEN: InjectionToken<EnvironmentConfig>;
127
94
 
128
95
  export { HERUM_SHARED_CONFIG_TOKEN };
@@ -33,6 +33,10 @@ const openClose = trigger('openClose', [
33
33
  ])
34
34
  ]);
35
35
 
36
+ /**
37
+ * @file Automatically generated by barrelsby.
38
+ */
39
+
36
40
  /**
37
41
  * Generated bundle index. Do not edit.
38
42
  */
@@ -1 +1 @@
1
- {"version":3,"file":"herum-shared-animations.mjs","sources":["../../../projects/herum-shared/animations/open-close.ts","../../../projects/herum-shared/animations/herum-shared-animations.ts"],"sourcesContent":["import { trigger, state, style, animate, transition } from '@angular/animations'; \r\n \r\nexport const openClose = trigger('openClose', [ \r\n state('openUp', style({ \r\n opacity: 1, \r\n transform: 'translateY(-100%)' \r\n })), \r\n \r\n state('openDown', style({ \r\n opacity: 1 \r\n })), \r\n \r\n state('closeDown', style({ \r\n top: 0, \r\n transform: 'translateY(-100%)', \r\n opacity: 0, \r\n height: '0px' ,\r\n })), \r\n \r\n state('closeUp', style({ \r\n opacity: 0, \r\n height: '0px' ,\r\n padding:0\r\n })), \r\n \r\n transition('openUp => closeDown', [ \r\n animate('350ms ease-in') \r\n ]), \r\n \r\n transition('closeDown => openUp', [ \r\n animate('350ms ease-out') \r\n ]), \r\n \r\n transition('openDown => closeUp', [ \r\n animate('350ms ease-out') \r\n ]), \r\n \r\n transition('closeUp => openDown', [ \r\n animate('350ms ease-in') \r\n ]) \r\n])","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEO,MAAM,SAAS,GAAG,OAAO,CAAC,WAAW,EAAE;AAC1C,IAAA,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC;AAClB,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,SAAS,EAAE;AACd,KAAA,CAAC,CAAC;AAEH,IAAA,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC;AACpB,QAAA,OAAO,EAAE;AACZ,KAAA,CAAC,CAAC;AAEH,IAAA,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC;AACrB,QAAA,GAAG,EAAE,CAAC;AACN,QAAA,SAAS,EAAE,mBAAmB;AAC9B,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,MAAM,EAAE,KAAK;AAChB,KAAA,CAAC,CAAC;AAEH,IAAA,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC;AACnB,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,MAAM,EAAE,KAAK;AACb,QAAA,OAAO,EAAC;AACX,KAAA,CAAC,CAAC;IAEH,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,eAAe;KAC1B,CAAC;IAEF,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,gBAAgB;KAC3B,CAAC;IAEF,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,gBAAgB;KAC3B,CAAC;IAEF,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,eAAe;KAC1B;AACJ,CAAA;;ACxCD;;AAEG;;;;"}
1
+ {"version":3,"file":"herum-shared-animations.mjs","sources":["../../../projects/herum-shared/animations/open-close.ts","../../../projects/herum-shared/animations/index.ts","../../../projects/herum-shared/animations/herum-shared-animations.ts"],"sourcesContent":["import { trigger, state, style, animate, transition } from '@angular/animations'; \r\n \r\nexport const openClose = trigger('openClose', [ \r\n state('openUp', style({ \r\n opacity: 1, \r\n transform: 'translateY(-100%)' \r\n })), \r\n \r\n state('openDown', style({ \r\n opacity: 1 \r\n })), \r\n \r\n state('closeDown', style({ \r\n top: 0, \r\n transform: 'translateY(-100%)', \r\n opacity: 0, \r\n height: '0px' ,\r\n })), \r\n \r\n state('closeUp', style({ \r\n opacity: 0, \r\n height: '0px' ,\r\n padding:0\r\n })), \r\n \r\n transition('openUp => closeDown', [ \r\n animate('350ms ease-in') \r\n ]), \r\n \r\n transition('closeDown => openUp', [ \r\n animate('350ms ease-out') \r\n ]), \r\n \r\n transition('openDown => closeUp', [ \r\n animate('350ms ease-out') \r\n ]), \r\n \r\n transition('closeUp => openDown', [ \r\n animate('350ms ease-in') \r\n ]) \r\n])","/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./open-close\";\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEO,MAAM,SAAS,GAAG,OAAO,CAAC,WAAW,EAAE;AAC1C,IAAA,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC;AAClB,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,SAAS,EAAE;AACd,KAAA,CAAC,CAAC;AAEH,IAAA,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC;AACpB,QAAA,OAAO,EAAE;AACZ,KAAA,CAAC,CAAC;AAEH,IAAA,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC;AACrB,QAAA,GAAG,EAAE,CAAC;AACN,QAAA,SAAS,EAAE,mBAAmB;AAC9B,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,MAAM,EAAE,KAAK;AAChB,KAAA,CAAC,CAAC;AAEH,IAAA,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC;AACnB,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,MAAM,EAAE,KAAK;AACb,QAAA,OAAO,EAAC;AACX,KAAA,CAAC,CAAC;IAEH,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,eAAe;KAC1B,CAAC;IAEF,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,gBAAgB;KAC3B,CAAC;IAEF,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,gBAAgB;KAC3B,CAAC;IAEF,UAAU,CAAC,qBAAqB,EAAE;QAC9B,OAAO,CAAC,eAAe;KAC1B;AACJ,CAAA;;ACxCD;;AAEG;;ACFH;;AAEG;;;;"}