MOBILE-3833 lint: Fix strictInputAccessModifiers angular compiler option
This commit is contained in:
		
							parent
							
								
									9dbcd09e4a
								
							
						
					
					
						commit
						d22b1a08e3
					
				| @ -34,7 +34,7 @@ export class AddonModBookTocComponent implements OnInit { | |||||||
|     addPadding = true; |     addPadding = true; | ||||||
|     showBullets = false; |     showBullets = false; | ||||||
| 
 | 
 | ||||||
|     @Input() protected book?: AddonModBookBookWSData; |     @Input() book?: AddonModBookBookWSData; | ||||||
| 
 | 
 | ||||||
|     /** |     /** | ||||||
|      * Component loaded. |      * Component loaded. | ||||||
|  | |||||||
| @ -40,8 +40,8 @@ export class AddonModWorkshopAssessmentComponent implements OnInit { | |||||||
|     @Input() courseId!: number; |     @Input() courseId!: number; | ||||||
|     @Input() workshop!: AddonModWorkshopData; |     @Input() workshop!: AddonModWorkshopData; | ||||||
|     @Input() access!: AddonModWorkshopGetWorkshopAccessInformationWSResponse; |     @Input() access!: AddonModWorkshopGetWorkshopAccessInformationWSResponse; | ||||||
|     @Input() protected submission!: AddonModWorkshopSubmissionDataWithOfflineData; |     @Input() submission!: AddonModWorkshopSubmissionDataWithOfflineData; | ||||||
|     @Input() protected module!: CoreCourseModule; |     @Input() module!: CoreCourseModule; | ||||||
| 
 | 
 | ||||||
|     canViewAssessment = false; |     canViewAssessment = false; | ||||||
|     canSelfAssess = false; |     canSelfAssess = false; | ||||||
|  | |||||||
| @ -28,7 +28,7 @@ export class AddonModWorkshopPhaseInfoComponent implements OnInit { | |||||||
|     @Input() phases!: AddonModWorkshopPhaseDataWithSwitch[]; |     @Input() phases!: AddonModWorkshopPhaseDataWithSwitch[]; | ||||||
|     @Input() workshopPhase!: AddonModWorkshopPhase; |     @Input() workshopPhase!: AddonModWorkshopPhase; | ||||||
|     @Input() showSubmit = false; |     @Input() showSubmit = false; | ||||||
|     @Input() protected externalUrl!: string; |     @Input() externalUrl!: string; | ||||||
| 
 | 
 | ||||||
|     ngOnInit(): void { |     ngOnInit(): void { | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -30,8 +30,8 @@ export class AddonNotesAddComponent { | |||||||
| 
 | 
 | ||||||
|     @ViewChild('itemEdit') formElement?: ElementRef; |     @ViewChild('itemEdit') formElement?: ElementRef; | ||||||
| 
 | 
 | ||||||
|     @Input() protected courseId!: number; |     @Input() courseId!: number; | ||||||
|     @Input() protected userId?: number; |     @Input() userId?: number; | ||||||
|     @Input() type: AddonNotesPublishState = 'personal'; |     @Input() type: AddonNotesPublishState = 'personal'; | ||||||
|     text = ''; |     text = ''; | ||||||
|     processing = false; |     processing = false; | ||||||
|  | |||||||
| @ -46,7 +46,7 @@ export class CoreTabsBaseComponent<T extends CoreTabBase> implements OnInit, Aft | |||||||
|     // Max height that allows tab hiding.
 |     // Max height that allows tab hiding.
 | ||||||
|     protected static readonly MAX_HEIGHT_TO_HIDE_TABS = 768; |     protected static readonly MAX_HEIGHT_TO_HIDE_TABS = 768; | ||||||
| 
 | 
 | ||||||
|     @Input() protected selectedIndex = 0; // Index of the tab to select.
 |     @Input() selectedIndex = 0; // Index of the tab to select.
 | ||||||
|     @Input() hideUntil = false; // Determine when should the contents be shown.
 |     @Input() hideUntil = false; // Determine when should the contents be shown.
 | ||||||
|     @Output() protected ionChange = new EventEmitter<T>(); // Emitted when the tab changes.
 |     @Output() protected ionChange = new EventEmitter<T>(); // Emitted when the tab changes.
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -51,7 +51,7 @@ export class CoreComboboxComponent { | |||||||
| 
 | 
 | ||||||
|     // Additional options when interface modal is selected.
 |     // Additional options when interface modal is selected.
 | ||||||
|     @Input() icon?: string; // Icon for modal interface.
 |     @Input() icon?: string; // Icon for modal interface.
 | ||||||
|     @Input() protected modalOptions?: ModalOptions; // Will emit an event the value changed.
 |     @Input() modalOptions?: ModalOptions; // Will emit an event the value changed.
 | ||||||
|     @Input() listboxId = ''; |     @Input() listboxId = ''; | ||||||
| 
 | 
 | ||||||
|     expanded = false; |     expanded = false; | ||||||
|  | |||||||
| @ -49,7 +49,7 @@ export class CoreLoadingComponent implements OnInit, OnChanges, AfterViewInit { | |||||||
| 
 | 
 | ||||||
|     @Input() hideUntil: unknown; // Determine when should the contents be shown.
 |     @Input() hideUntil: unknown; // Determine when should the contents be shown.
 | ||||||
|     @Input() message?: string; // Message to show while loading.
 |     @Input() message?: string; // Message to show while loading.
 | ||||||
|     @Input() protected fullscreen = true; // Use the whole screen.
 |     @Input() fullscreen = true; // Use the whole screen.
 | ||||||
| 
 | 
 | ||||||
|     @ViewChild('content') content?: ElementRef; |     @ViewChild('content') content?: ElementRef; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -38,8 +38,8 @@ export class CoreUserAvatarComponent implements OnInit, OnChanges, OnDestroy { | |||||||
|     @Input() profileUrl?: string; |     @Input() profileUrl?: string; | ||||||
|     @Input() linkProfile = true; // Avoid linking to the profile if wanted.
 |     @Input() linkProfile = true; // Avoid linking to the profile if wanted.
 | ||||||
|     @Input() fullname?: string; |     @Input() fullname?: string; | ||||||
|     @Input() protected userId?: number; // If provided or found it will be used to link the image to the profile.
 |     @Input() userId?: number; // If provided or found it will be used to link the image to the profile.
 | ||||||
|     @Input() protected courseId?: number; |     @Input() courseId?: number; | ||||||
|     @Input() checkOnline = false; // If want to check and show online status.
 |     @Input() checkOnline = false; // If want to check and show online status.
 | ||||||
|     @Input() extraIcon?: string; // Extra icon to show near the avatar.
 |     @Input() extraIcon?: string; // Extra icon to show near the avatar.
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -36,15 +36,15 @@ import { CoreEventObserver, CoreEvents } from '@singletons/events'; | |||||||
| }) | }) | ||||||
| export class CoreRatingRateComponent implements OnChanges, OnDestroy { | export class CoreRatingRateComponent implements OnChanges, OnDestroy { | ||||||
| 
 | 
 | ||||||
|     @Input() protected ratingInfo!: CoreRatingInfo; |     @Input() ratingInfo!: CoreRatingInfo; | ||||||
|     @Input() protected contextLevel!: ContextLevel; // Context level: course, module, user, etc.
 |     @Input() contextLevel!: ContextLevel; // Context level: course, module, user, etc.
 | ||||||
|     @Input() protected instanceId!: number; // Context instance id.
 |     @Input() instanceId!: number; // Context instance id.
 | ||||||
|     @Input() protected itemId!: number; // Item id. Example: forum post id.
 |     @Input() itemId!: number; // Item id. Example: forum post id.
 | ||||||
|     @Input() protected itemSetId!: number; // Item set id. Example: forum discussion id.
 |     @Input() itemSetId!: number; // Item set id. Example: forum discussion id.
 | ||||||
|     @Input() protected courseId!: number; |     @Input() courseId!: number; | ||||||
|     @Input() protected aggregateMethod!: number; |     @Input() aggregateMethod!: number; | ||||||
|     @Input() protected scaleId!: number; |     @Input() scaleId!: number; | ||||||
|     @Input() protected userId!: number; |     @Input() userId!: number; | ||||||
|     @Output() protected onLoading: EventEmitter<boolean>; // Eevent that indicates whether the component is loading data.
 |     @Output() protected onLoading: EventEmitter<boolean>; // Eevent that indicates whether the component is loading data.
 | ||||||
|     @Output() protected onUpdate: EventEmitter<void>; // Event emitted when the rating is updated online.
 |     @Output() protected onUpdate: EventEmitter<void>; // Event emitted when the rating is updated online.
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -26,13 +26,13 @@ import { ModalController } from '@singletons'; | |||||||
| }) | }) | ||||||
| export class CoreRatingRatingsComponent implements OnInit { | export class CoreRatingRatingsComponent implements OnInit { | ||||||
| 
 | 
 | ||||||
|     @Input() protected contextLevel!: ContextLevel; |     @Input() contextLevel!: ContextLevel; | ||||||
|     @Input() protected instanceId!: number; |     @Input() instanceId!: number; | ||||||
|     @Input() protected ratingComponent!: string; |     @Input() ratingComponent!: string; | ||||||
|     @Input() protected ratingArea!: string; |     @Input() ratingArea!: string; | ||||||
|     @Input() protected aggregateMethod!: number; |     @Input() aggregateMethod!: number; | ||||||
|     @Input() protected itemId!: number; |     @Input() itemId!: number; | ||||||
|     @Input() protected scaleId!: number; |     @Input() scaleId!: number; | ||||||
|     @Input() courseId!: number; |     @Input() courseId!: number; | ||||||
| 
 | 
 | ||||||
|     loaded = false; |     loaded = false; | ||||||
|  | |||||||
| @ -46,12 +46,12 @@ export class CoreSearchBoxComponent implements OnInit { | |||||||
|     @Input() lengthCheck = 3; // Check value length before submit. If 0, any string will be submitted.
 |     @Input() lengthCheck = 3; // Check value length before submit. If 0, any string will be submitted.
 | ||||||
|     @Input() showClear = true; // Show/hide clear button.
 |     @Input() showClear = true; // Show/hide clear button.
 | ||||||
|     @Input() disabled = false; // Disables the input text.
 |     @Input() disabled = false; // Disables the input text.
 | ||||||
|     @Input() protected initialSearch = ''; // Initial search text.
 |     @Input() initialSearch = ''; // Initial search text.
 | ||||||
| 
 | 
 | ||||||
|     /* If provided. It will save and display a history of searches for this particular Id. |     /* If provided. It will save and display a history of searches for this particular Id. | ||||||
|      * To use different history lists, place different Id. |      * To use different history lists, place different Id. | ||||||
|      * I.e. AddonMessagesContacts or CoreUserParticipants-6 (using the course Id).*/ |      * I.e. AddonMessagesContacts or CoreUserParticipants-6 (using the course Id).*/ | ||||||
|     @Input() protected searchArea = ''; |     @Input() searchArea = ''; | ||||||
| 
 | 
 | ||||||
|     @Output() onSubmit: EventEmitter<string>; // Send data when submitting the search form.
 |     @Output() onSubmit: EventEmitter<string>; // Send data when submitting the search form.
 | ||||||
|     @Output() onClear: EventEmitter<void>; // Send event when clearing the search form.
 |     @Output() onClear: EventEmitter<void>; // Send event when clearing the search form.
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user