herum-shared 0.1.38 → 0.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +186 -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 +111 -109
  10. package/fesm2022/herum-shared-atoms.mjs.map +1 -1
  11. package/fesm2022/herum-shared-constants.mjs +205 -162
  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 +9090 -924
  48. package/fesm2022/herum-shared.mjs.map +1 -1
  49. package/fetched-message/index.d.ts +11 -11
  50. package/index.d.ts +1673 -281
  51. package/molecules/index.d.ts +11 -8
  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
 
@@ -123,6 +136,9 @@ declare const dateRangeTimeRangeWithoutSecondsPlaceHolder: string;
123
136
  declare const resourceIdPlaceholder = "$resourceId";
124
137
  declare const defaultCloseTime: Date;
125
138
  declare const defaultOpenTime: Date;
139
+ declare const legacyCorrectAnswerPropertyPath = ".Quiz.Questions[].Answers[].IsCorrect";
140
+ declare const correctAnswerPropertyPath = ".Quiz.Questions[].ClosedContent.Answers[].IsCorrect";
141
+ declare const matchingSourceIndexPropertyPath = ".Quiz.Questions[].MatchingContent.sources[].index";
126
142
  declare const defaultAuthorizationObject: {
127
143
  view(): BackendMicroResourceAuthorization;
128
144
  edit(): BackendMicroResourceAuthorization;
@@ -132,11 +148,14 @@ declare const defaultAuthorizationObject: {
132
148
  areAnswersCorrect(): BackendMicroResourceAuthorization;
133
149
  answerNotes(): BackendMicroResourceAuthorization;
134
150
  isCorrect(): BackendMicroResourceAuthorization;
151
+ matchingSourceIndex(): BackendMicroResourceAuthorization;
135
152
  };
136
153
  declare function getQuizDefaultAuthorizations(): BackendMicroResourceAuthorization[];
154
+ declare function getResourceDefaultAuthorizations(): BackendMicroResourceAuthorization[];
137
155
  declare function getPublishAuthorization(): BackendMicroResourceAuthorization[];
138
156
  declare function getMediaDefaultAuthorizations(): BackendMicroResourceAuthorization[];
139
157
  declare function getPropertyPathsOfPublishAuthorization(): string[];
158
+ declare function normalizeQuizAuthorizationPropertyPath(propertyPath: string): string;
140
159
  declare const viewPermissionLabel: string;
141
160
 
142
161
  declare const defaultTrackTextChangesStyle: {
@@ -148,9 +167,89 @@ declare const defaultTrackTextChangesStyle: {
148
167
  tooltipButtonsContainer: string;
149
168
  };
150
169
 
170
+ declare const dialogsSubmitActionButtons: {
171
+ save: string;
172
+ approve: string;
173
+ delete: string;
174
+ add: string;
175
+ submit: string;
176
+ pageNavigation: string;
177
+ understand: string;
178
+ };
179
+ declare const dialogsCloseActionButtons: {
180
+ pageNavigation: string;
181
+ };
182
+ declare const dialogsTitles: {
183
+ serverError: string;
184
+ userError: string;
185
+ cancelAttachedCollections: string;
186
+ attachCollections: string;
187
+ deleteResources: string;
188
+ deleteResource: string;
189
+ deleteCollegeResource: string;
190
+ deleteCollection: string;
191
+ addResource: string;
192
+ addUser: string;
193
+ editResource: string;
194
+ updateResources: string;
195
+ editUser: string;
196
+ editTeacher: string;
197
+ editStudent: string;
198
+ editCollectionPriority: string;
199
+ editCollection: string;
200
+ editCollections: string;
201
+ deleteGroups: string;
202
+ timeoutError: string;
203
+ pageNavigation: string;
204
+ quizSubmission: string;
205
+ notAuthorized: string;
206
+ addExistingUser: string;
207
+ addedStructWithExistingUsers: string;
208
+ resetQuiz: string;
209
+ removeUserFromPage: string;
210
+ removeUserFromStruct: string;
211
+ studentStartedLesson: string;
212
+ realTimeError: string;
213
+ realTimeUnavailable: string;
214
+ };
215
+ declare const dialogsDescriptions: {
216
+ defaultInsurance: string;
217
+ unsavedChanges: string;
218
+ serverError: string;
219
+ timeoutError: string;
220
+ criticalServerError: string;
221
+ forbiddenServerError: string;
222
+ cancelAttachedCollections: string;
223
+ attachCollections: string;
224
+ editCollectionPriority: string;
225
+ deleteResources: string;
226
+ deleteResource: string;
227
+ deleteCollegeResource: string;
228
+ updateMicroResourcesOpeningTime: string;
229
+ editUser: string;
230
+ deleteGroups: string;
231
+ deleteCollection: string;
232
+ deleteLastResource: string;
233
+ addExistingUser: string;
234
+ addedStructWithExistingUsers: string;
235
+ quizPartialSubmission: string;
236
+ notAuthorized: string;
237
+ resetQuiz: string;
238
+ removeUserFromPage: string;
239
+ removeUserFromStruct: string;
240
+ studentStartedLesson: string;
241
+ realTimeError: string;
242
+ realTimeUnavailable: string;
243
+ };
244
+ declare const dialogsNotes: {
245
+ resetQuiz: string;
246
+ };
247
+ declare const insuranceDialogPageNavigationData: DialogConfig;
248
+
151
249
  declare const errorHeadersToSet: {
152
250
  [key: string]: string;
153
251
  };
252
+ declare const globalErrorHandlingHeader: string;
154
253
 
155
254
  declare const videoPreviewSupportedMimes: string[];
156
255
  declare const audioPreviewSupportedMimes: string[];
@@ -179,11 +278,37 @@ declare const dragPath: string;
179
278
  declare const maleAvatarPath: string;
180
279
  declare const femaleAvatarPath: string;
181
280
 
182
- declare const initialMediaSettings: {
183
- currentTime: number;
184
- isPlaying: boolean;
185
- playbackSpeed: number;
186
- id: any;
281
+ declare const initialMediaSettings: MediaSettings;
282
+
283
+ declare const keyboardKeys: {
284
+ space: number;
285
+ right: number;
286
+ left: number;
287
+ enter: number;
288
+ };
289
+
290
+ declare const radioButtonTypes: {
291
+ disabled: string;
292
+ error: string;
293
+ checked: string;
294
+ completed: string;
295
+ };
296
+
297
+ declare const regexExpressions: {
298
+ digitsOnly: RegExp;
299
+ templateInterpolation: RegExp;
300
+ sevenDigitsLength: RegExp;
301
+ militaryIdLength: RegExp;
302
+ curlyBraces: RegExp;
303
+ squareBrackets: RegExp;
304
+ chromeVersion: RegExp;
305
+ fullDateTime: RegExp;
306
+ fullRangeDateTime: RegExp;
307
+ rangeDateTimeWithoutSeconds: RegExp;
308
+ dateTimeWithoutSeconds: RegExp;
309
+ chromeVersionRegex: RegExp;
310
+ removeSpacesRegex: RegExp;
311
+ phoneNumberTenDigits: RegExp;
187
312
  };
188
313
 
189
314
  declare const resourceFileTypes: {
@@ -197,6 +322,7 @@ declare const resourceTypes: {
197
322
  exercise: string;
198
323
  video: string;
199
324
  learningUnit: string;
325
+ text: string;
200
326
  };
201
327
 
202
328
  declare const routes: {
@@ -556,22 +682,7 @@ declare function getSignUpFormFieldsByFields(fieldNames: string[]): ({
556
682
  disabled?: undefined;
557
683
  })[];
558
684
 
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
- };
685
+ declare const structHierarchyTreeMaxHeight = 2;
575
686
 
576
687
  declare const svgsStrings: {
577
688
  edit: string;
@@ -610,6 +721,9 @@ declare const svgsStrings: {
610
721
  quiz: string;
611
722
  story: string;
612
723
  video: string;
724
+ text: string;
725
+ learningunit: string;
726
+ generic: string;
613
727
  success: string;
614
728
  error: string;
615
729
  information: string;
@@ -618,6 +732,7 @@ declare const svgsStrings: {
618
732
  hadrachaHierarchyResource: string;
619
733
  link: string;
620
734
  messagePlus: string;
735
+ check: string;
621
736
  };
622
737
 
623
738
  declare const system: {
@@ -626,6 +741,26 @@ declare const system: {
626
741
  hadracha: string;
627
742
  };
628
743
 
744
+ declare const tableRowHeights: {
745
+ switchCell: number;
746
+ doubleLines: number;
747
+ default: number;
748
+ };
749
+
750
+ declare const calendarActiveColorCssVariable: string;
751
+ declare const calendarHoverColorCssVariable: string;
752
+ declare const calendarLibrarySelector: string;
753
+ declare const calendarLibraryBodyCellSelector: string;
754
+ declare const timerActiveColorCssVariable: string;
755
+ declare const timerHoverColorCssVariable: string;
756
+ declare const timerItemSizeColorCssVariable: string;
757
+ declare const dayInMilliSeconds: number;
758
+ declare const secondInMilliseconds: number;
759
+ declare const minuteInMilliseconds: number;
760
+ declare const timePattern: string;
761
+
762
+ declare const sixMonthsInDays = 180;
763
+
629
764
  declare const toastsTemplatesKeys: {
630
765
  [key: string]: string;
631
766
  };
@@ -636,9 +771,6 @@ declare const getSignUpMethod: (authenticationPaths: AuthenticationPaths) => str
636
771
  declare const toastStates: {
637
772
  [toastState: string]: ToastState;
638
773
  };
639
- declare const getMongoMethodsDisplayedNamesMap: (mongoUpdates: MongoUpdates, authenticationPaths: AuthenticationPaths) => {
640
- [key: string]: string;
641
- };
642
774
  declare const statusCodes: {
643
775
  [key: string]: (wordToReplace: string) => string;
644
776
  };
@@ -647,10 +779,33 @@ declare const toastsKeys: {
647
779
  [key: string]: string;
648
780
  };
649
781
  declare const skipToastHeader: HttpHeaders;
650
- declare const getToastsTemplates: (mongoUpdates: MongoUpdates, authenticationPaths: AuthenticationPaths) => {
651
- [key: string]: ToastTemplate;
782
+ declare const toastsTemplates: {
783
+ [toastsTemplatesKeys.chromeBrowserVersion]: {
784
+ title: string;
785
+ information: string;
786
+ };
787
+ [toastsTemplatesKeys.addOrUpdateNotebookSuccess]: {
788
+ title: string;
789
+ success: string;
790
+ };
791
+ [toastsTemplatesKeys.addOrUpdateNotebookError]: {
792
+ title: string;
793
+ error: string;
794
+ };
795
+ [toastsTemplatesKeys.hadrachaToolBarError]: {
796
+ title: string;
797
+ error: string;
798
+ };
652
799
  };
653
800
 
801
+ declare const additionTagName: string;
802
+ declare const deletionTagName: string;
803
+ declare const editorContainerElementId: string;
804
+ declare const mouseEnterHandlerKey: string;
805
+ declare const mouseLeaveHandlerKey: string;
806
+ declare const mouseEnter: string;
807
+ declare const mouseLeave: string;
808
+
654
809
  declare const uploadsProgressMetadataTypes: {
655
810
  [uploadsProgressMetadataType: string]: UploadProgressType;
656
811
  };
@@ -679,6 +834,8 @@ declare const uploadsManagerKeys: {
679
834
  resource: string;
680
835
  collection: string;
681
836
  };
837
+ declare const maxImageHeight = 3000;
838
+ declare const maxImageWidth = 3000;
682
839
 
683
840
  declare const validatorsNames: {
684
841
  invalidIDNumber: string;
@@ -687,111 +844,4 @@ declare const validatorsNames: {
687
844
  required: string;
688
845
  };
689
846
 
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 };
847
+ export { activeDragPath, additionTagName, anySubFileTypeWildCard, assignmentMetadata, attributes, audioAndVideoPreviewSupportedMimes, audioAndVideoPreviewSupportedSuffixes, audioPreviewSupportedMimes, audioPreviewSupportedSuffixes, calendarActiveColorCssVariable, calendarHoverColorCssVariable, calendarLibraryBodyCellSelector, calendarLibrarySelector, checkboxTypes, collectionFormKeys, collectionFormValues, correctAnswerPropertyPath, 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, legacyCorrectAnswerPropertyPath, maleAvatarPath, matchingSourceIndexPropertyPath, maxImageHeight, maxImageWidth, minDateError, minuteInMilliseconds, mouseEnter, mouseEnterHandlerKey, mouseLeave, mouseLeaveHandlerKey, normalizeQuizAuthorizationPropertyPath, 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])","/**\r\n * @file Automatically generated by barrelsby.\r\n */\r\n\r\nexport * from \"./open-close\";\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;;ACFH;;AAEG;;;;"}