MOBILE-3833 lint: Fix strictInputAccessModifiers angular compiler option
parent
9dbcd09e4a
commit
d22b1a08e3
|
@ -34,7 +34,7 @@ export class AddonModBookTocComponent implements OnInit {
|
|||
addPadding = true;
|
||||
showBullets = false;
|
||||
|
||||
@Input() protected book?: AddonModBookBookWSData;
|
||||
@Input() book?: AddonModBookBookWSData;
|
||||
|
||||
/**
|
||||
* Component loaded.
|
||||
|
|
|
@ -40,8 +40,8 @@ export class AddonModWorkshopAssessmentComponent implements OnInit {
|
|||
@Input() courseId!: number;
|
||||
@Input() workshop!: AddonModWorkshopData;
|
||||
@Input() access!: AddonModWorkshopGetWorkshopAccessInformationWSResponse;
|
||||
@Input() protected submission!: AddonModWorkshopSubmissionDataWithOfflineData;
|
||||
@Input() protected module!: CoreCourseModule;
|
||||
@Input() submission!: AddonModWorkshopSubmissionDataWithOfflineData;
|
||||
@Input() module!: CoreCourseModule;
|
||||
|
||||
canViewAssessment = false;
|
||||
canSelfAssess = false;
|
||||
|
|
|
@ -28,7 +28,7 @@ export class AddonModWorkshopPhaseInfoComponent implements OnInit {
|
|||
@Input() phases!: AddonModWorkshopPhaseDataWithSwitch[];
|
||||
@Input() workshopPhase!: AddonModWorkshopPhase;
|
||||
@Input() showSubmit = false;
|
||||
@Input() protected externalUrl!: string;
|
||||
@Input() externalUrl!: string;
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ export class AddonNotesAddComponent {
|
|||
|
||||
@ViewChild('itemEdit') formElement?: ElementRef;
|
||||
|
||||
@Input() protected courseId!: number;
|
||||
@Input() protected userId?: number;
|
||||
@Input() courseId!: number;
|
||||
@Input() userId?: number;
|
||||
@Input() type: AddonNotesPublishState = 'personal';
|
||||
text = '';
|
||||
processing = false;
|
||||
|
|
|
@ -46,7 +46,7 @@ export class CoreTabsBaseComponent<T extends CoreTabBase> implements OnInit, Aft
|
|||
// Max height that allows tab hiding.
|
||||
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.
|
||||
@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.
|
||||
@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 = '';
|
||||
|
||||
expanded = false;
|
||||
|
|
|
@ -49,7 +49,7 @@ export class CoreLoadingComponent implements OnInit, OnChanges, AfterViewInit {
|
|||
|
||||
@Input() hideUntil: unknown; // Determine when should the contents be shown.
|
||||
@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;
|
||||
|
||||
|
|
|
@ -38,8 +38,8 @@ export class CoreUserAvatarComponent implements OnInit, OnChanges, OnDestroy {
|
|||
@Input() profileUrl?: string;
|
||||
@Input() linkProfile = true; // Avoid linking to the profile if wanted.
|
||||
@Input() fullname?: string;
|
||||
@Input() protected userId?: number; // If provided or found it will be used to link the image to the profile.
|
||||
@Input() protected courseId?: number;
|
||||
@Input() userId?: number; // If provided or found it will be used to link the image to the profile.
|
||||
@Input() courseId?: number;
|
||||
@Input() checkOnline = false; // If want to check and show online status.
|
||||
@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 {
|
||||
|
||||
@Input() protected ratingInfo!: CoreRatingInfo;
|
||||
@Input() protected contextLevel!: ContextLevel; // Context level: course, module, user, etc.
|
||||
@Input() protected instanceId!: number; // Context instance id.
|
||||
@Input() protected itemId!: number; // Item id. Example: forum post id.
|
||||
@Input() protected itemSetId!: number; // Item set id. Example: forum discussion id.
|
||||
@Input() protected courseId!: number;
|
||||
@Input() protected aggregateMethod!: number;
|
||||
@Input() protected scaleId!: number;
|
||||
@Input() protected userId!: number;
|
||||
@Input() ratingInfo!: CoreRatingInfo;
|
||||
@Input() contextLevel!: ContextLevel; // Context level: course, module, user, etc.
|
||||
@Input() instanceId!: number; // Context instance id.
|
||||
@Input() itemId!: number; // Item id. Example: forum post id.
|
||||
@Input() itemSetId!: number; // Item set id. Example: forum discussion id.
|
||||
@Input() courseId!: number;
|
||||
@Input() aggregateMethod!: number;
|
||||
@Input() scaleId!: number;
|
||||
@Input() userId!: number;
|
||||
@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.
|
||||
|
||||
|
|
|
@ -26,13 +26,13 @@ import { ModalController } from '@singletons';
|
|||
})
|
||||
export class CoreRatingRatingsComponent implements OnInit {
|
||||
|
||||
@Input() protected contextLevel!: ContextLevel;
|
||||
@Input() protected instanceId!: number;
|
||||
@Input() protected ratingComponent!: string;
|
||||
@Input() protected ratingArea!: string;
|
||||
@Input() protected aggregateMethod!: number;
|
||||
@Input() protected itemId!: number;
|
||||
@Input() protected scaleId!: number;
|
||||
@Input() contextLevel!: ContextLevel;
|
||||
@Input() instanceId!: number;
|
||||
@Input() ratingComponent!: string;
|
||||
@Input() ratingArea!: string;
|
||||
@Input() aggregateMethod!: number;
|
||||
@Input() itemId!: number;
|
||||
@Input() scaleId!: number;
|
||||
@Input() courseId!: number;
|
||||
|
||||
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() showClear = true; // Show/hide clear button.
|
||||
@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.
|
||||
* To use different history lists, place different 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() onClear: EventEmitter<void>; // Send event when clearing the search form.
|
||||
|
|
Loading…
Reference in New Issue