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
@@ -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
 
@@ -120,16 +133,6 @@ declare const dateRangePlaceHolder: string;
120
133
  declare const dateRangeTimeRangePlaceHolder: string;
121
134
  declare const dateRangeTimeRangeWithoutSecondsPlaceHolder: string;
122
135
 
123
- declare const calendarActiveColorCssVariable: string;
124
- declare const calendarHoverColorCssVariable: string;
125
- declare const calendarLibrarySelector: string;
126
- declare const calendarLibraryBodyCellSelector: string;
127
- declare const timerActiveColorCssVariable: string;
128
- declare const timerHoverColorCssVariable: string;
129
- declare const timerItemSizeColorCssVariable: string;
130
- declare const dayInMilliSeconds: number;
131
- declare const timePattern: string;
132
-
133
136
  declare const resourceIdPlaceholder = "$resourceId";
134
137
  declare const defaultCloseTime: Date;
135
138
  declare const defaultOpenTime: Date;
@@ -144,6 +147,7 @@ declare const defaultAuthorizationObject: {
144
147
  isCorrect(): BackendMicroResourceAuthorization;
145
148
  };
146
149
  declare function getQuizDefaultAuthorizations(): BackendMicroResourceAuthorization[];
150
+ declare function getResourceDefaultAuthorizations(): BackendMicroResourceAuthorization[];
147
151
  declare function getPublishAuthorization(): BackendMicroResourceAuthorization[];
148
152
  declare function getMediaDefaultAuthorizations(): BackendMicroResourceAuthorization[];
149
153
  declare function getPropertyPathsOfPublishAuthorization(): string[];
@@ -158,9 +162,89 @@ declare const defaultTrackTextChangesStyle: {
158
162
  tooltipButtonsContainer: string;
159
163
  };
160
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
+
161
244
  declare const errorHeadersToSet: {
162
245
  [key: string]: string;
163
246
  };
247
+ declare const globalErrorHandlingHeader: string;
164
248
 
165
249
  declare const videoPreviewSupportedMimes: string[];
166
250
  declare const audioPreviewSupportedMimes: string[];
@@ -189,11 +273,37 @@ declare const dragPath: string;
189
273
  declare const maleAvatarPath: string;
190
274
  declare const femaleAvatarPath: string;
191
275
 
192
- declare const initialMediaSettings: {
193
- currentTime: number;
194
- isPlaying: boolean;
195
- playbackSpeed: number;
196
- 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;
197
307
  };
198
308
 
199
309
  declare const resourceFileTypes: {
@@ -207,6 +317,7 @@ declare const resourceTypes: {
207
317
  exercise: string;
208
318
  video: string;
209
319
  learningUnit: string;
320
+ text: string;
210
321
  };
211
322
 
212
323
  declare const routes: {
@@ -566,22 +677,7 @@ declare function getSignUpFormFieldsByFields(fieldNames: string[]): ({
566
677
  disabled?: undefined;
567
678
  })[];
568
679
 
569
- declare const socketUpdateKeys: {
570
- GetOnlineUsers: string;
571
- LessonStateUpdate: string;
572
- StudentLessonStateUpdate: string;
573
- StartLesson: string;
574
- SendMessage: string;
575
- ConnectionMessage: string;
576
- OnlineUsers: string;
577
- LessonUsers: string;
578
- LessonState: string;
579
- GetConnectedInControlUsers: string;
580
- ConnectedInControlUsers: string;
581
- UserJoined: string;
582
- ReceivedMessage: string;
583
- RemoveStudent: string;
584
- };
680
+ declare const structHierarchyTreeMaxHeight = 2;
585
681
 
586
682
  declare const svgsStrings: {
587
683
  edit: string;
@@ -620,6 +716,9 @@ declare const svgsStrings: {
620
716
  quiz: string;
621
717
  story: string;
622
718
  video: string;
719
+ text: string;
720
+ learningunit: string;
721
+ generic: string;
623
722
  success: string;
624
723
  error: string;
625
724
  information: string;
@@ -628,6 +727,7 @@ declare const svgsStrings: {
628
727
  hadrachaHierarchyResource: string;
629
728
  link: string;
630
729
  messagePlus: string;
730
+ check: string;
631
731
  };
632
732
 
633
733
  declare const system: {
@@ -636,6 +736,26 @@ declare const system: {
636
736
  hadracha: string;
637
737
  };
638
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
+
639
759
  declare const toastsTemplatesKeys: {
640
760
  [key: string]: string;
641
761
  };
@@ -646,9 +766,6 @@ declare const getSignUpMethod: (authenticationPaths: AuthenticationPaths) => str
646
766
  declare const toastStates: {
647
767
  [toastState: string]: ToastState;
648
768
  };
649
- declare const getMongoMethodsDisplayedNamesMap: (mongoUpdates: MongoUpdates, authenticationPaths: AuthenticationPaths) => {
650
- [key: string]: string;
651
- };
652
769
  declare const statusCodes: {
653
770
  [key: string]: (wordToReplace: string) => string;
654
771
  };
@@ -657,10 +774,33 @@ declare const toastsKeys: {
657
774
  [key: string]: string;
658
775
  };
659
776
  declare const skipToastHeader: HttpHeaders;
660
- declare const getToastsTemplates: (mongoUpdates: MongoUpdates, authenticationPaths: AuthenticationPaths) => {
661
- [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
+ };
662
794
  };
663
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
+
664
804
  declare const uploadsProgressMetadataTypes: {
665
805
  [uploadsProgressMetadataType: string]: UploadProgressType;
666
806
  };
@@ -689,6 +829,8 @@ declare const uploadsManagerKeys: {
689
829
  resource: string;
690
830
  collection: string;
691
831
  };
832
+ declare const maxImageHeight = 3000;
833
+ declare const maxImageWidth = 3000;
692
834
 
693
835
  declare const validatorsNames: {
694
836
  invalidIDNumber: string;
@@ -697,99 +839,4 @@ declare const validatorsNames: {
697
839
  required: string;
698
840
  };
699
841
 
700
- declare const regexExpressions: {
701
- digitsOnly: RegExp;
702
- templateInterpolation: RegExp;
703
- sevenDigitsLength: RegExp;
704
- militaryIdLength: RegExp;
705
- curlyBraces: RegExp;
706
- squareBrackets: RegExp;
707
- chromeVersion: RegExp;
708
- fullDateTime: RegExp;
709
- fullRangeDateTime: RegExp;
710
- rangeDateTimeWithoutSeconds: RegExp;
711
- dateTimeWithoutSeconds: RegExp;
712
- chromeVersionRegex: RegExp;
713
- removeSpacesRegex: RegExp;
714
- phoneNumberTenDigits: RegExp;
715
- };
716
-
717
- declare const tableRowHeights: {
718
- switchCell: number;
719
- doubleLines: number;
720
- default: number;
721
- };
722
-
723
- declare const dialogsSubmitActionButtons: {
724
- save: string;
725
- approve: string;
726
- delete: string;
727
- add: string;
728
- submit: string;
729
- pageNavigation: string;
730
- };
731
- declare const dialogsCloseActionButtons: {
732
- pageNavigation: string;
733
- };
734
- declare const dialogsTitles: {
735
- serverError: string;
736
- userError: string;
737
- cancelAttachedCollections: string;
738
- attachCollections: string;
739
- deleteResources: string;
740
- deleteResource: string;
741
- deleteCollegeResource: string;
742
- deleteCollection: string;
743
- addResource: string;
744
- addUser: string;
745
- editResource: string;
746
- updateResources: string;
747
- editUser: string;
748
- editTeacher: string;
749
- editStudent: string;
750
- editCollectionPriority: string;
751
- editCollection: string;
752
- editCollections: string;
753
- deleteGroups: string;
754
- timeoutError: string;
755
- pageNavigation: string;
756
- quizSubmission: string;
757
- notAuthorized: string;
758
- addExistingUser: string;
759
- addedStructWithExistingUsers: string;
760
- resetQuiz: string;
761
- removeUserFromPage: string;
762
- removeUserFromStruct: string;
763
- };
764
- declare const dialogsDescriptions: {
765
- defaultInsurance: string;
766
- unsavedChanges: string;
767
- serverError: string;
768
- timeoutError: string;
769
- criticalServerError: string;
770
- forbiddenServerError: string;
771
- cancelAttachedCollections: string;
772
- attachCollections: string;
773
- editCollectionPriority: string;
774
- deleteResources: string;
775
- deleteResource: string;
776
- deleteCollegeResource: string;
777
- updateMicroResourcesOpeningTime: string;
778
- editUser: string;
779
- deleteGroups: string;
780
- deleteCollection: string;
781
- deleteLastResource: string;
782
- addExistingUser: string;
783
- addedStructWithExistingUsers: string;
784
- quizPartialSubmission: string;
785
- notAuthorized: string;
786
- resetQuiz: string;
787
- removeUserFromPage: string;
788
- removeUserFromStruct: string;
789
- };
790
- declare const dialogsNotes: {
791
- resetQuiz: string;
792
- };
793
- declare const insuranceDialogPageNavigationData: DialogConfig;
794
-
795
- 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, previewImageKey, readynessDisplayName, regexExpressions, resourceFileTypes, resourceFormKeys, resourceIdPlaceholder, resourceKeys, resourceTypes, resourcesFilesSuffixes, routes, 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;;;;"}