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
@@ -0,0 +1,4 @@
1
+ <svg width="22" height="20" viewBox="0 0 22 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="8.23529" height="20" rx="4.11765" fill="#a255ff"/>
3
+ <rect x="12.9414" width="8.23529" height="20" rx="4.11765" fill="#a255ff"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="20" height="23" viewBox="0 0 20 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M19 9.76795C20.3333 10.5378 20.3333 12.4623 19 13.2321L3.25 22.3253C1.91666 23.0951 0.249999 22.1329 0.249999 20.5933L0.25 2.40673C0.25 0.867131 1.91667 -0.0951187 3.25 0.674682L19 9.76795Z" fill="#a255ff"/>
3
+ </svg>
package/atoms/index.d.ts CHANGED
@@ -1,14 +1,17 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, EventEmitter, SimpleChanges, PipeTransform, ElementRef, ChangeDetectorRef, Renderer2, OnChanges } from '@angular/core';
3
- import { IdentifiedEntity, HerumTableParams, RecursiveTitledOption, FileData, MenuItem, User, TextChange, UserPreview } from 'herum-shared/herum-types';
2
+ import { OnInit, SimpleChanges, EventEmitter, PipeTransform, ElementRef, ChangeDetectorRef, Renderer2, SimpleChange, OnChanges } from '@angular/core';
3
+ import { User } from 'herum-types/User';
4
+ import { IdentifiedEntity, RecursiveTitledOption, FileData, MenuItem } from 'herum-types/Shared';
4
5
  import * as i40 from '@angular/forms';
5
- import { ControlValueAccessor, FormControl, ValidatorFn, AsyncValidatorFn, NgControl, ControlContainer } from '@angular/forms';
6
- import { EnvironmentConfig } from 'herum-shared/environment';
6
+ import { ControlValueAccessor, NgControl, ControlContainer, FormControl, ValidatorFn, AsyncValidatorFn } from '@angular/forms';
7
+ import { HerumTableParams } from 'herum-types/Table';
7
8
  import * as i54 from '@angular/material/core';
8
9
  import { DateAdapter } from '@angular/material/core';
9
10
  import * as i53 from '@angular/material/datepicker';
10
11
  import { DateRange, MatCalendar } from '@angular/material/datepicker';
11
12
  import { Subject } from 'rxjs';
13
+ import { TextChange } from 'herum-types/TrackTextChanges';
14
+ import { UserPreview } from 'herum-types/Previews';
12
15
  import * as i39 from '@angular/common';
13
16
  import * as i41 from '@angular/material/menu';
14
17
  import * as i42 from '@angular/cdk/clipboard';
@@ -33,10 +36,23 @@ declare class CollegeLoaderComponent implements OnInit {
33
36
  static ɵcmp: i0.ɵɵComponentDeclaration<CollegeLoaderComponent, "college-loader", never, {}, {}, never, never, false, never>;
34
37
  }
35
38
 
39
+ declare class UsersProfilePreviewComponent {
40
+ users: Partial<User>[];
41
+ title: string;
42
+ searchFields: (keyof User)[];
43
+ placeholder: string;
44
+ filteredUsers: Partial<User>[];
45
+ ngOnChanges(changes: SimpleChanges): void;
46
+ _filterUsers(freeText: string): void;
47
+ fallbackProfileImage(user: Partial<User>): string;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<UsersProfilePreviewComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<UsersProfilePreviewComponent, "users-profile-preview", never, { "users": { "alias": "users"; "required": false; }; "title": { "alias": "title"; "required": false; }; "searchFields": { "alias": "searchFields"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, false, never>;
50
+ }
51
+
36
52
  declare class HerumBreadcrumbsComponent {
37
53
  items: IdentifiedEntity[];
38
54
  itemToSet: IdentifiedEntity;
39
- itemEmitter: EventEmitter<any[]>;
55
+ itemEmitter: EventEmitter<IdentifiedEntity[]>;
40
56
  ngOnChanges(changes: SimpleChanges): void;
41
57
  _onClick(itemIndex: number, isLastItem: boolean): void;
42
58
  private handleItemInput;
@@ -64,8 +80,7 @@ declare class HerumButtonComponent {
64
80
  static ɵcmp: i0.ɵɵComponentDeclaration<HerumButtonComponent, "herum-button", never, { "type": { "alias": "type"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "roundedCorners": { "alias": "roundedCorners"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], false, never>;
65
81
  }
66
82
 
67
- declare class HerumCheckboxComponent implements ControlValueAccessor, OnInit {
68
- private environmentConfig;
83
+ declare class HerumCheckboxComponent implements ControlValueAccessor {
69
84
  type: 'checked' | 'indeterminate' | 'error' | 'disabled' | 'unchecked';
70
85
  isChecked: boolean;
71
86
  isBlocked: boolean;
@@ -75,8 +90,6 @@ declare class HerumCheckboxComponent implements ControlValueAccessor, OnInit {
75
90
  error: string;
76
91
  checkboxClasses: string;
77
92
  params: HerumTableParams;
78
- constructor(environmentConfig: EnvironmentConfig);
79
- ngOnInit(): void;
80
93
  _onClick(): void;
81
94
  getCheckboxClasses(): string;
82
95
  onChange: (value: any) => void;
@@ -171,21 +184,6 @@ declare class HerumEllipsisLoaderComponent {
171
184
  static ɵcmp: i0.ɵɵComponentDeclaration<HerumEllipsisLoaderComponent, "herum-ellipsis-loader", never, {}, {}, never, never, false, never>;
172
185
  }
173
186
 
174
- declare class HerumFormControl extends FormControl {
175
- errorMessages: {
176
- [key: string]: string;
177
- };
178
- currentErrorMessage: string;
179
- destroySubject$: Subject<null>;
180
- /**
181
- @comment The component that creates this class should have destroySubject$ so you can listen to its ngOnDestroy life cycle hook so you can unsubscribe statusChangesSubscription
182
- */
183
- constructor(formState: any, validatorOrOpts: ValidatorFn | ValidatorFn[] | null, asyncValidator: AsyncValidatorFn | AsyncValidatorFn[] | null, errorMessages: {
184
- [key: string]: string;
185
- }, componentReference: any);
186
- private setCurrentErrorMessage;
187
- }
188
-
189
187
  declare class HerumIconLabelComponent {
190
188
  iconPath: string;
191
189
  isLoading: boolean;
@@ -241,6 +239,8 @@ declare class HerumInputFieldComponent implements OnInit, ControlValueAccessor {
241
239
  destroySubject$: Subject<null>;
242
240
  constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
243
241
  ngOnInit(): void;
242
+ ngOnChanges(changes: SimpleChange): void;
243
+ private resetState;
244
244
  private initInputSubject$;
245
245
  private setInputsByFormControl;
246
246
  clearInput(): void;
@@ -293,8 +293,8 @@ declare class HerumMultiSelectComponent implements ControlValueAccessor {
293
293
  isDropDownInPositionFixed: boolean;
294
294
  dropDownDirection: 'upwards' | 'downwards';
295
295
  isMultiHeads: boolean;
296
- selectedOptions: EventEmitter<any[]>;
297
- selectedRecursiveOptions: EventEmitter<any>;
296
+ selectedOptions: EventEmitter<IdentifiedEntity[]>;
297
+ selectedRecursiveOptions: EventEmitter<RecursiveTitledOption>;
298
298
  filterInput: HerumInputFieldComponent;
299
299
  dropContainer: ElementRef;
300
300
  filteredOptions: IdentifiedEntity[];
@@ -318,10 +318,10 @@ declare class HerumMultiSelectComponent implements ControlValueAccessor {
318
318
  _select(option: IdentifiedEntity): void;
319
319
  _selectRecursive(selectedRecursiveOptions: RecursiveTitledOption): void;
320
320
  private removeSelectedOption;
321
- getLimitedList(): any[];
321
+ getLimitedList(): IdentifiedEntity[];
322
322
  _getHiddenOptions(): string;
323
323
  showAll(): void;
324
- isOptionSelected(option: IdentifiedEntity): any;
324
+ isOptionSelected(option: IdentifiedEntity): IdentifiedEntity;
325
325
  toggleDropdown(): void;
326
326
  closeDropdown(event: MouseEvent): void;
327
327
  private resetFiltering;
@@ -368,7 +368,7 @@ declare class HerumOptionsListComponent {
368
368
  selectedOptions: IdentifiedEntity[];
369
369
  isContentInsideExpendablePanel: boolean;
370
370
  isInternalMode: boolean;
371
- selectedOptionsEmitter: EventEmitter<any>;
371
+ selectedOptionsEmitter: EventEmitter<IdentifiedEntity>;
372
372
  _onSelect(option: IdentifiedEntity): void;
373
373
  isOptionSelected(option: IdentifiedEntity): boolean;
374
374
  static ɵfac: i0.ɵɵFactoryDeclaration<HerumOptionsListComponent, never>;
@@ -420,7 +420,7 @@ declare class HerumPaginatorComponent {
420
420
  declare class HerumPanelLinksComponent {
421
421
  selectedLink: IdentifiedEntity;
422
422
  links: IdentifiedEntity[];
423
- linkEmitter: EventEmitter<any>;
423
+ linkEmitter: EventEmitter<IdentifiedEntity>;
424
424
  _onClick(link: IdentifiedEntity): void;
425
425
  _isActiveLink(linkId: string): boolean;
426
426
  static ɵfac: i0.ɵɵFactoryDeclaration<HerumPanelLinksComponent, never>;
@@ -461,8 +461,8 @@ declare class HerumRecursiveHierarchyOptionsListComponent {
461
461
  options: IdentifiedEntity[];
462
462
  selectedOptions: IdentifiedEntity[];
463
463
  recursiveTitledOption: RecursiveTitledOption;
464
- selectedOptionsEmitter: EventEmitter<any>;
465
- selectedRecursiveOptionsEmitter: EventEmitter<any>;
464
+ selectedOptionsEmitter: EventEmitter<IdentifiedEntity>;
465
+ selectedRecursiveOptionsEmitter: EventEmitter<RecursiveTitledOption>;
466
466
  _onSelect(option: RecursiveTitledOption): void;
467
467
  _isOptionSelected(option: IdentifiedEntity): boolean;
468
468
  static ɵfac: i0.ɵɵFactoryDeclaration<HerumRecursiveHierarchyOptionsListComponent, never>;
@@ -485,7 +485,7 @@ declare class HerumSelectComponent implements ControlValueAccessor {
485
485
  dropDownDirection: 'upwards' | 'downwards';
486
486
  filterPlaceholder: string;
487
487
  debounceTime: number;
488
- selectedOptionEmitter: EventEmitter<any>;
488
+ selectedOptionEmitter: EventEmitter<IdentifiedEntity>;
489
489
  filterTextEmitter: EventEmitter<string>;
490
490
  filterInput: HerumInputFieldComponent;
491
491
  dropContainer: ElementRef;
@@ -680,7 +680,7 @@ declare class HerumUploadFileComponent implements ControlValueAccessor {
680
680
  ngAfterViewInit(): void;
681
681
  _onPreventDefault(event: DragEvent): void;
682
682
  _onDrop(event: DragEvent): void;
683
- _onUploadFile(files: File[]): void;
683
+ _onUploadFile(fileList: FileList): void;
684
684
  private setExistingFile;
685
685
  private isFileTypeAllowed;
686
686
  private directoryValidation;
@@ -726,7 +726,6 @@ declare class HerumVideoSelectComponent implements OnInit, ControlValueAccessor
726
726
  }
727
727
 
728
728
  declare class HerumRadioButtonComponent implements ControlValueAccessor {
729
- private environmentConfig;
730
729
  options: IdentifiedEntity[];
731
730
  isValid: boolean;
732
731
  errorMsg: string;
@@ -742,7 +741,6 @@ declare class HerumRadioButtonComponent implements ControlValueAccessor {
742
741
  isSelectedOptionFocused: boolean;
743
742
  isOptionFocused: boolean;
744
743
  focusedIdOption: string;
745
- constructor(environmentConfig: EnvironmentConfig);
746
744
  ngOnChanges(changes: SimpleChanges): void;
747
745
  _onSelect(option: IdentifiedEntity): void;
748
746
  getRadioButtonClasses(id: string): string;
@@ -771,7 +769,7 @@ declare class RoundedVerticalMenuComponent implements OnInit, OnChanges {
771
769
  menuItems: MenuItemWithDisabled[];
772
770
  currentItem?: MenuItemWithDisabled;
773
771
  currentUser: User;
774
- itemSelected: EventEmitter<any>;
772
+ itemSelected: EventEmitter<MenuItem>;
775
773
  ngOnInit(): void;
776
774
  ngOnChanges(changes: SimpleChanges): void;
777
775
  _onSelectItem(item: MenuItemWithDisabled): void;
@@ -783,14 +781,14 @@ declare class RoundedVerticalMenuComponent implements OnInit, OnChanges {
783
781
  declare class TrackTextChangesNotesComponent {
784
782
  textChanges: TextChange[];
785
783
  enableDeleteNote: boolean;
786
- deleteNoteChange: EventEmitter<any[]>;
787
- hoverNote: EventEmitter<any>;
784
+ deleteNoteChange: EventEmitter<TextChange[]>;
785
+ hoverNote: EventEmitter<TextChange>;
788
786
  noteTypesToDisplay: string[];
789
787
  ngOnChanges(changes: SimpleChanges): void;
790
788
  private setNoteTypesToDisplay;
791
789
  _onDeleteTextChange(textChangeToDelete: TextChange): void;
792
790
  _onHoverNote(hoveredTextChange: TextChange): void;
793
- _trackNote(index: number, textChange: TextChange): any;
791
+ _trackNote(index: number, textChange: TextChange): string | number;
794
792
  get deleteSvgString(): string;
795
793
  static ɵfac: i0.ɵɵFactoryDeclaration<TrackTextChangesNotesComponent, never>;
796
794
  static ɵcmp: i0.ɵɵComponentDeclaration<TrackTextChangesNotesComponent, "track-text-changes-notes", never, { "textChanges": { "alias": "textChanges"; "required": false; }; "enableDeleteNote": { "alias": "enableDeleteNote"; "required": false; }; }, { "deleteNoteChange": "deleteNoteChange"; "hoverNote": "hoverNote"; }, never, never, false, never>;
@@ -802,36 +800,38 @@ declare class UserProfileImageComponent {
802
800
  user: User | UserPreview;
803
801
  isLoadingUser: boolean;
804
802
  isUserClickAble: boolean;
805
- userClicked: EventEmitter<any>;
803
+ userClicked: EventEmitter<User | UserPreview>;
806
804
  imagePath: string;
807
805
  isLoadingImage: boolean;
808
806
  ngOnChanges(changes: SimpleChanges): void;
809
807
  _onUserClicked(): void;
810
808
  _useFallbackProfileImage(event: Event): void;
811
809
  _loadComplete(): void;
812
- get userProfileImage(): any;
810
+ get userProfileImage(): string;
813
811
  get fallbackProfileImage(): string;
814
812
  static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileImageComponent, never>;
815
813
  static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileImageComponent, "user-profile-image", never, { "imageSize": { "alias": "imageSize"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "user": { "alias": "user"; "required": false; }; "isLoadingUser": { "alias": "isLoadingUser"; "required": false; }; "isUserClickAble": { "alias": "isUserClickAble"; "required": false; }; }, { "userClicked": "userClicked"; }, never, ["*"], false, never>;
816
814
  }
817
815
 
818
- declare class UsersProfilePreviewComponent {
819
- users: Partial<User>[];
820
- title: string;
821
- searchFields: (keyof User)[];
822
- placeholder: string;
823
- filteredUsers: Partial<User>[];
824
- ngOnChanges(changes: SimpleChanges): void;
825
- _filterUsers(freeText: string): void;
826
- fallbackProfileImage(user: Partial<User>): string;
827
- static ɵfac: i0.ɵɵFactoryDeclaration<UsersProfilePreviewComponent, never>;
828
- static ɵcmp: i0.ɵɵComponentDeclaration<UsersProfilePreviewComponent, "users-profile-preview", never, { "users": { "alias": "users"; "required": false; }; "title": { "alias": "title"; "required": false; }; "searchFields": { "alias": "searchFields"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, false, never>;
829
- }
830
-
831
816
  declare class AtomsModule {
832
817
  static ɵfac: i0.ɵɵFactoryDeclaration<AtomsModule, never>;
833
818
  static ɵmod: i0.ɵɵNgModuleDeclaration<AtomsModule, [typeof CollegeLoaderComponent, typeof UsersProfilePreviewComponent, typeof HerumBreadcrumbsComponent, typeof SliceBreadcrumbsPipe, typeof HerumButtonComponent, typeof HerumCheckboxComponent, typeof HerumChipComponent, typeof HerumCircularProgressBarComponent, typeof HerumDatePickerComponent, typeof HerumDownloadFileComponent, typeof HerumEllipsisLoaderComponent, typeof HerumIconLabelComponent, typeof HerumIndeterminateComponent, typeof ConditionalFormControlNameDirective, typeof HerumInputFieldComponent, typeof HerumLogoComponent, typeof HerumMultiSelectComponent, typeof HerumNarrowCollectionMenuItemComponent, typeof HerumNoResultMessageComponent, typeof HerumOptionsListComponent, typeof HerumPaginatorComponent, typeof HerumPanelLinksComponent, typeof HerumProgressBarComponent, typeof HerumQuizHeaderItemComponent, typeof HerumRecursiveHierarchyOptionsListComponent, typeof HerumSelectComponent, typeof HerumSliderComponent, typeof HerumSpinnerComponent, typeof HerumSwitchComponent, typeof HerumTextAreaComponent, typeof HerumTimePickerComponent, typeof HerumToggleButtonComponent, typeof HerumUploadFileComponent, typeof HerumVideoSelectComponent, typeof HerumRadioButtonComponent, typeof RoundedVerticalMenuComponent, typeof TrackTextChangesNotesComponent, typeof UserProfileImageComponent], [typeof i39.CommonModule, typeof i40.ReactiveFormsModule, typeof i40.FormsModule, typeof i41.MatMenuModule, typeof i42.ClipboardModule, typeof i43.MatAutocompleteModule, typeof i44.MatChipsModule, typeof i45.MatFormFieldModule, typeof i46.MatTooltipModule, typeof i47.MatInputModule, typeof i48.MatSelectModule, typeof i49.MatIconModule, typeof i50.MatCheckboxModule, typeof i51.MatSliderModule, typeof i52.DragDropModule, typeof i53.MatDatepickerModule, typeof i54.MatNativeDateModule, typeof i55.DirectivesModule, typeof i56.PipesModule], [typeof CollegeLoaderComponent, typeof UsersProfilePreviewComponent, typeof HerumBreadcrumbsComponent, typeof SliceBreadcrumbsPipe, typeof HerumButtonComponent, typeof HerumCheckboxComponent, typeof HerumChipComponent, typeof HerumCircularProgressBarComponent, typeof HerumDatePickerComponent, typeof HerumDownloadFileComponent, typeof HerumEllipsisLoaderComponent, typeof HerumIconLabelComponent, typeof HerumIndeterminateComponent, typeof ConditionalFormControlNameDirective, typeof HerumInputFieldComponent, typeof HerumLogoComponent, typeof HerumMultiSelectComponent, typeof HerumNarrowCollectionMenuItemComponent, typeof HerumNoResultMessageComponent, typeof HerumOptionsListComponent, typeof HerumPaginatorComponent, typeof HerumPanelLinksComponent, typeof HerumProgressBarComponent, typeof HerumQuizHeaderItemComponent, typeof HerumRecursiveHierarchyOptionsListComponent, typeof HerumSelectComponent, typeof HerumSliderComponent, typeof HerumSpinnerComponent, typeof HerumSwitchComponent, typeof HerumTextAreaComponent, typeof HerumTimePickerComponent, typeof HerumToggleButtonComponent, typeof HerumUploadFileComponent, typeof HerumVideoSelectComponent, typeof HerumRadioButtonComponent, typeof RoundedVerticalMenuComponent, typeof TrackTextChangesNotesComponent, typeof UserProfileImageComponent]>;
834
819
  static ɵinj: i0.ɵɵInjectorDeclaration<AtomsModule>;
835
820
  }
836
821
 
822
+ declare class HerumFormControl extends FormControl {
823
+ errorMessages: {
824
+ [key: string]: string;
825
+ };
826
+ currentErrorMessage: string;
827
+ destroySubject$: Subject<null>;
828
+ /**
829
+ @comment The component that creates this class should have destroySubject$ so you can listen to its ngOnDestroy life cycle hook so you can unsubscribe statusChangesSubscription
830
+ */
831
+ constructor(formState: any, validatorOrOpts: ValidatorFn | ValidatorFn[] | null, asyncValidator: AsyncValidatorFn | AsyncValidatorFn[] | null, errorMessages: {
832
+ [key: string]: string;
833
+ }, componentReference: any);
834
+ private setCurrentErrorMessage;
835
+ }
836
+
837
837
  export { AtomsModule, CollegeLoaderComponent, ConditionalFormControlNameDirective, HerumBreadcrumbsComponent, HerumButtonComponent, HerumCheckboxComponent, HerumChipComponent, HerumCircularProgressBarComponent, HerumDatePickerComponent, HerumDownloadFileComponent, HerumEllipsisLoaderComponent, HerumFormControl, HerumIconLabelComponent, HerumIndeterminateComponent, HerumInputFieldComponent, HerumLogoComponent, HerumMultiSelectComponent, HerumNarrowCollectionMenuItemComponent, HerumNoResultMessageComponent, HerumOptionsListComponent, HerumPaginatorComponent, HerumPanelLinksComponent, HerumProgressBarComponent, HerumQuizHeaderItemComponent, HerumRadioButtonComponent, HerumRecursiveHierarchyOptionsListComponent, HerumSelectComponent, HerumSliderComponent, HerumSpinnerComponent, HerumSwitchComponent, HerumTextAreaComponent, HerumTimePickerComponent, HerumToggleButtonComponent, HerumUploadFileComponent, HerumVideoSelectComponent, RoundedVerticalMenuComponent, SliceBreadcrumbsPipe, TrackTextChangesNotesComponent, UserProfileImageComponent, UsersProfilePreviewComponent };