MOBILE-4653 chore: Migrate styleUrls to styleUrl when possible

main
Pau Ferrer Ocaña 2024-10-29 11:35:17 +01:00
parent 62d725150e
commit e04264b9e5
120 changed files with 120 additions and 122 deletions

View File

@ -61,7 +61,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'addon-calendar-calendar', selector: 'addon-calendar-calendar',
templateUrl: 'addon-calendar-calendar.html', templateUrl: 'addon-calendar-calendar.html',
styleUrls: ['calendar.scss'], styleUrl: 'calendar.scss',
}) })
export class AddonCalendarCalendarComponent implements OnInit, DoCheck, OnDestroy { export class AddonCalendarCalendarComponent implements OnInit, DoCheck, OnDestroy {

View File

@ -36,7 +36,7 @@ import { Translate } from '@singletons';
@Component({ @Component({
selector: 'addon-calendar-upcoming-events', selector: 'addon-calendar-upcoming-events',
templateUrl: 'addon-calendar-upcoming-events.html', templateUrl: 'addon-calendar-upcoming-events.html',
styleUrls: ['../../calendar-common.scss'], styleUrl: '../../calendar-common.scss',
}) })
export class AddonCalendarUpcomingEventsComponent implements OnInit, DoCheck, OnDestroy { export class AddonCalendarUpcomingEventsComponent implements OnInit, DoCheck, OnDestroy {

View File

@ -55,7 +55,7 @@ import { CoreLoadings } from '@services/loadings';
@Component({ @Component({
selector: 'page-addon-calendar-edit-event', selector: 'page-addon-calendar-edit-event',
templateUrl: 'edit-event.html', templateUrl: 'edit-event.html',
styleUrls: ['edit-event.scss'], styleUrl: 'edit-event.scss',
}) })
export class AddonCalendarEditEventPage implements OnInit, OnDestroy, CanLeave { export class AddonCalendarEditEventPage implements OnInit, OnDestroy, CanLeave {

View File

@ -36,7 +36,7 @@ import { CoreKeyboard } from '@singletons/keyboard';
@Component({ @Component({
selector: 'addon-messages-contacts', selector: 'addon-messages-contacts',
templateUrl: 'contacts.html', templateUrl: 'contacts.html',
styleUrls: ['../../messages-common.scss'], styleUrl: '../../messages-common.scss',
}) })
export class AddonMessagesContacts35Page implements OnInit, OnDestroy { export class AddonMessagesContacts35Page implements OnInit, OnDestroy {

View File

@ -31,9 +31,7 @@ import { CoreSplitViewComponent } from '@components/split-view/split-view';
@Component({ @Component({
selector: 'page-addon-messages-contacts', selector: 'page-addon-messages-contacts',
templateUrl: 'contacts.html', templateUrl: 'contacts.html',
styleUrls: [ styleUrl: '../../messages-common.scss',
'../../messages-common.scss',
],
}) })
export class AddonMessagesContactsPage implements OnInit, OnDestroy { export class AddonMessagesContactsPage implements OnInit, OnDestroy {

View File

@ -40,7 +40,7 @@ import { CoreKeyboard } from '@singletons/keyboard';
@Component({ @Component({
selector: 'addon-messages-discussions', selector: 'addon-messages-discussions',
templateUrl: 'discussions.html', templateUrl: 'discussions.html',
styleUrls: ['../../messages-common.scss'], styleUrl: '../../messages-common.scss',
}) })
export class AddonMessagesDiscussions35Page implements OnInit, OnDestroy { export class AddonMessagesDiscussions35Page implements OnInit, OnDestroy {

View File

@ -53,7 +53,7 @@ const enum AddonMessagesGroupConversationOptionNames {
@Component({ @Component({
selector: 'page-addon-messages-group-conversations', selector: 'page-addon-messages-group-conversations',
templateUrl: 'group-conversations.html', templateUrl: 'group-conversations.html',
styleUrls: ['../../messages-common.scss'], styleUrl: '../../messages-common.scss',
}) })
export class AddonMessagesGroupConversationsPage implements OnInit, OnDestroy { export class AddonMessagesGroupConversationsPage implements OnInit, OnDestroy {

View File

@ -77,7 +77,7 @@ import { CoreLoadings } from '@services/loadings';
@Component({ @Component({
selector: 'addon-mod-assign-submission', selector: 'addon-mod-assign-submission',
templateUrl: 'addon-mod-assign-submission.html', templateUrl: 'addon-mod-assign-submission.html',
styleUrls: ['submission.scss'], styleUrl: 'submission.scss',
}) })
export class AddonModAssignSubmissionComponent implements OnInit, OnDestroy, CanLeave { export class AddonModAssignSubmissionComponent implements OnInit, OnDestroy, CanLeave {

View File

@ -54,7 +54,7 @@ import { CoreLoadings } from '@services/loadings';
@Component({ @Component({
selector: 'page-addon-mod-assign-edit', selector: 'page-addon-mod-assign-edit',
templateUrl: 'edit.html', templateUrl: 'edit.html',
styleUrls: ['edit.scss'], styleUrl: 'edit.scss',
}) })
export class AddonModAssignEditPage implements OnInit, OnDestroy, CanLeave { export class AddonModAssignEditPage implements OnInit, OnDestroy, CanLeave {

View File

@ -41,7 +41,7 @@ import { convertTextToHTMLElement } from '@/core/utils/create-html-element';
@Component({ @Component({
selector: 'addon-mod-bbb-index', selector: 'addon-mod-bbb-index',
templateUrl: 'index.html', templateUrl: 'index.html',
styleUrls: ['index.scss'], styleUrl: 'index.scss',
}) })
export class AddonModBBBIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit { export class AddonModBBBIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit {

View File

@ -45,7 +45,7 @@ import { CoreModals } from '@services/modals';
@Component({ @Component({
selector: 'page-addon-mod-book-contents', selector: 'page-addon-mod-book-contents',
templateUrl: 'contents.html', templateUrl: 'contents.html',
styleUrls: ['contents.scss'], styleUrl: 'contents.scss',
}) })
export class AddonModBookContentsPage implements OnInit, OnDestroy { export class AddonModBookContentsPage implements OnInit, OnDestroy {

View File

@ -61,7 +61,7 @@ const contentToken = '<!-- CORE-DATABASE-CONTENT-GOES-HERE -->';
@Component({ @Component({
selector: 'addon-mod-data-index', selector: 'addon-mod-data-index',
templateUrl: 'addon-mod-data-index.html', templateUrl: 'addon-mod-data-index.html',
styleUrls: ['../../data.scss'], styleUrl: '../../data.scss',
}) })
export class AddonModDataIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, OnDestroy { export class AddonModDataIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, OnDestroy {

View File

@ -50,7 +50,7 @@ import {
@Component({ @Component({
selector: 'page-addon-mod-data-entry', selector: 'page-addon-mod-data-entry',
templateUrl: 'entry.html', templateUrl: 'entry.html',
styleUrls: ['../../data.scss'], styleUrl: '../../data.scss',
}) })
export class AddonModDataEntryPage implements OnInit, OnDestroy { export class AddonModDataEntryPage implements OnInit, OnDestroy {

View File

@ -51,7 +51,7 @@ import { CoreError } from '@classes/errors/error';
@Component({ @Component({
selector: 'page-addon-mod-feedback-form', selector: 'page-addon-mod-feedback-form',
templateUrl: 'form.html', templateUrl: 'form.html',
styleUrls: ['form.scss'], styleUrl: 'form.scss',
}) })
export class AddonModFeedbackFormPage implements OnInit, OnDestroy, CanLeave { export class AddonModFeedbackFormPage implements OnInit, OnDestroy, CanLeave {

View File

@ -74,7 +74,7 @@ import { CoreLoadings } from '@services/loadings';
@Component({ @Component({
selector: 'addon-mod-forum-index', selector: 'addon-mod-forum-index',
templateUrl: 'index.html', templateUrl: 'index.html',
styleUrls: ['index.scss'], styleUrl: 'index.scss',
}) })
export class AddonModForumIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, AfterViewInit, OnDestroy { export class AddonModForumIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, AfterViewInit, OnDestroy {

View File

@ -65,7 +65,7 @@ import { CoreWSFile } from '@services/ws';
@Component({ @Component({
selector: 'addon-mod-forum-post', selector: 'addon-mod-forum-post',
templateUrl: 'post.html', templateUrl: 'post.html',
styleUrls: ['post.scss'], styleUrl: 'post.scss',
}) })
export class AddonModForumPostComponent implements OnInit, OnDestroy, OnChanges { export class AddonModForumPostComponent implements OnInit, OnDestroy, OnChanges {

View File

@ -73,7 +73,7 @@ type Post = AddonModForumPost & { children?: Post[] };
@Component({ @Component({
selector: 'page-addon-mod-forum-discussion', selector: 'page-addon-mod-forum-discussion',
templateUrl: 'discussion.html', templateUrl: 'discussion.html',
styleUrls: ['discussion.scss'], styleUrl: 'discussion.scss',
}) })
export class AddonModForumDiscussionPage implements OnInit, AfterViewInit, OnDestroy, CanLeave { export class AddonModForumDiscussionPage implements OnInit, AfterViewInit, OnDestroy, CanLeave {

View File

@ -70,7 +70,7 @@ type NewDiscussionData = {
@Component({ @Component({
selector: 'page-addon-mod-forum-new-discussion', selector: 'page-addon-mod-forum-new-discussion',
templateUrl: 'new-discussion.html', templateUrl: 'new-discussion.html',
styleUrls: ['new-discussion.scss'], styleUrl: 'new-discussion.scss',
}) })
export class AddonModForumNewDiscussionPage implements OnInit, OnDestroy, CanLeave { export class AddonModForumNewDiscussionPage implements OnInit, OnDestroy, CanLeave {

View File

@ -66,7 +66,7 @@ import { CorePopovers } from '@services/popovers';
@Component({ @Component({
selector: 'addon-mod-glossary-index', selector: 'addon-mod-glossary-index',
templateUrl: 'addon-mod-glossary-index.html', templateUrl: 'addon-mod-glossary-index.html',
styleUrls: ['index.scss'], styleUrl: 'index.scss',
}) })
export class AddonModGlossaryIndexComponent extends CoreCourseModuleMainActivityComponent export class AddonModGlossaryIndexComponent extends CoreCourseModuleMainActivityComponent
implements OnInit, AfterViewInit, OnDestroy { implements OnInit, AfterViewInit, OnDestroy {

View File

@ -33,7 +33,7 @@ import { ADDON_MOD_H5PACTIVITY_COMPONENT } from '../../constants';
@Component({ @Component({
selector: 'page-addon-mod-h5pactivity-attempt-results', selector: 'page-addon-mod-h5pactivity-attempt-results',
templateUrl: 'attempt-results.html', templateUrl: 'attempt-results.html',
styleUrls: ['attempt-results.scss'], styleUrl: 'attempt-results.scss',
}) })
export class AddonModH5PActivityAttemptResultsPage implements OnInit { export class AddonModH5PActivityAttemptResultsPage implements OnInit {

View File

@ -34,7 +34,7 @@ import { CoreAnalytics, CoreAnalyticsEventType } from '@services/analytics';
@Component({ @Component({
selector: 'page-addon-mod-h5pactivity-user-attempts', selector: 'page-addon-mod-h5pactivity-user-attempts',
templateUrl: 'user-attempts.html', templateUrl: 'user-attempts.html',
styleUrls: ['user-attempts.scss'], styleUrl: 'user-attempts.scss',
}) })
export class AddonModH5PActivityUserAttemptsPage implements OnInit { export class AddonModH5PActivityUserAttemptsPage implements OnInit {

View File

@ -33,7 +33,7 @@ import { AddonModH5PActivityGradeMethod } from '../../constants';
@Component({ @Component({
selector: 'page-addon-mod-h5pactivity-users-attempts', selector: 'page-addon-mod-h5pactivity-users-attempts',
templateUrl: 'users-attempts.html', templateUrl: 'users-attempts.html',
styleUrls: ['users-attempts.scss'], styleUrl: 'users-attempts.scss',
}) })
export class AddonModH5PActivityUsersAttemptsPage implements OnInit { export class AddonModH5PActivityUsersAttemptsPage implements OnInit {

View File

@ -27,7 +27,7 @@ import { ADDON_MOD_IMSCP_COMPONENT, ADDON_MOD_IMSCP_PAGE_NAME } from '../../cons
@Component({ @Component({
selector: 'addon-mod-imscp-index', selector: 'addon-mod-imscp-index',
templateUrl: 'addon-mod-imscp-index.html', templateUrl: 'addon-mod-imscp-index.html',
styleUrls: ['index.scss'], styleUrl: 'index.scss',
}) })
export class AddonModImscpIndexComponent extends CoreCourseModuleMainResourceComponent implements OnInit { export class AddonModImscpIndexComponent extends CoreCourseModuleMainResourceComponent implements OnInit {

View File

@ -62,7 +62,7 @@ import { CoreModals } from '@services/modals';
@Component({ @Component({
selector: 'page-addon-mod-lesson-player', selector: 'page-addon-mod-lesson-player',
templateUrl: 'player.html', templateUrl: 'player.html',
styleUrls: ['player.scss'], styleUrl: 'player.scss',
}) })
export class AddonModLessonPlayerPage implements OnInit, OnDestroy, CanLeave { export class AddonModLessonPlayerPage implements OnInit, OnDestroy, CanLeave {

View File

@ -42,7 +42,7 @@ import { ADDON_MOD_LESSON_COMPONENT } from '../../constants';
@Component({ @Component({
selector: 'page-addon-mod-lesson-user-retake', selector: 'page-addon-mod-lesson-user-retake',
templateUrl: 'user-retake.html', templateUrl: 'user-retake.html',
styleUrls: ['user-retake.scss'], styleUrl: 'user-retake.scss',
}) })
export class AddonModLessonUserRetakePage implements OnInit { export class AddonModLessonUserRetakePage implements OnInit {

View File

@ -22,7 +22,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'addon-mod-quiz-attempt-state', selector: 'addon-mod-quiz-attempt-state',
templateUrl: 'attempt-state.html', templateUrl: 'attempt-state.html',
styleUrls: ['attempt-state.scss'], styleUrl: 'attempt-state.scss',
}) })
export class AddonModQuizAttemptStateComponent implements OnChanges { export class AddonModQuizAttemptStateComponent implements OnChanges {

View File

@ -58,7 +58,7 @@ import { QuestionDisplayOptionsMarks } from '@features/question/constants';
@Component({ @Component({
selector: 'addon-mod-quiz-index', selector: 'addon-mod-quiz-index',
templateUrl: 'addon-mod-quiz-index.html', templateUrl: 'addon-mod-quiz-index.html',
styleUrls: ['index.scss'], styleUrl: 'index.scss',
}) })
export class AddonModQuizIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, OnDestroy { export class AddonModQuizIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, OnDestroy {

View File

@ -42,7 +42,7 @@ import { ADDON_MOD_RESOURCE_COMPONENT } from '../../constants';
@Component({ @Component({
selector: 'addon-mod-resource-index', selector: 'addon-mod-resource-index',
templateUrl: 'addon-mod-resource-index.html', templateUrl: 'addon-mod-resource-index.html',
styleUrls: ['index.scss'], styleUrl: 'index.scss',
}) })
export class AddonModResourceIndexComponent extends CoreCourseModuleMainResourceComponent implements OnInit, OnDestroy { export class AddonModResourceIndexComponent extends CoreCourseModuleMainResourceComponent implements OnInit, OnDestroy {

View File

@ -57,7 +57,7 @@ import { CoreWait } from '@singletons/wait';
@Component({ @Component({
selector: 'addon-mod-scorm-index', selector: 'addon-mod-scorm-index',
templateUrl: 'addon-mod-scorm-index.html', templateUrl: 'addon-mod-scorm-index.html',
styleUrls: ['index.scss'], styleUrl: 'index.scss',
}) })
export class AddonModScormIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit { export class AddonModScormIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit {

View File

@ -46,7 +46,7 @@ import { CoreLoadings } from '@services/loadings';
@Component({ @Component({
selector: 'addon-mod-survey-index', selector: 'addon-mod-survey-index',
templateUrl: 'addon-mod-survey-index.html', templateUrl: 'addon-mod-survey-index.html',
styleUrls: ['index.scss'], styleUrl: 'index.scss',
}) })
export class AddonModSurveyIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit { export class AddonModSurveyIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit {

View File

@ -31,7 +31,7 @@ import { CoreSites } from '@services/sites';
@Component({ @Component({
selector: 'addon-mod-url-index', selector: 'addon-mod-url-index',
templateUrl: 'addon-mod-url-index.html', templateUrl: 'addon-mod-url-index.html',
styleUrls: ['index.scss'], styleUrl: 'index.scss',
}) })
export class AddonModUrlIndexComponent extends CoreCourseModuleMainResourceComponent implements OnInit { export class AddonModUrlIndexComponent extends CoreCourseModuleMainResourceComponent implements OnInit {

View File

@ -67,7 +67,7 @@ import { CorePopovers } from '@services/popovers';
@Component({ @Component({
selector: 'addon-mod-wiki-index', selector: 'addon-mod-wiki-index',
templateUrl: 'addon-mod-wiki-index.html', templateUrl: 'addon-mod-wiki-index.html',
styleUrls: ['index.scss'], styleUrl: 'index.scss',
}) })
export class AddonModWikiIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, OnDestroy { export class AddonModWikiIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, OnDestroy {

View File

@ -38,7 +38,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'addon-mod-workshop-submission', selector: 'addon-mod-workshop-submission',
templateUrl: 'addon-mod-workshop-submission.html', templateUrl: 'addon-mod-workshop-submission.html',
styleUrls: ['submission.scss'], styleUrl: 'submission.scss',
}) })
export class AddonModWorkshopSubmissionComponent implements OnInit { export class AddonModWorkshopSubmissionComponent implements OnInit {

View File

@ -48,7 +48,7 @@ import { CoreLoadings } from '@services/loadings';
@Component({ @Component({
selector: 'page-addon-notifications-settings', selector: 'page-addon-notifications-settings',
templateUrl: 'settings.html', templateUrl: 'settings.html',
styleUrls: ['settings.scss'], styleUrl: 'settings.scss',
}) })
export class AddonNotificationsSettingsPage implements OnInit, OnDestroy { export class AddonNotificationsSettingsPage implements OnInit, OnDestroy {

View File

@ -21,7 +21,7 @@ import { CoreFileComponent } from '@components/file/file';
selector: 'addon-privatefiles-file', selector: 'addon-privatefiles-file',
templateUrl: 'file.html', templateUrl: 'file.html',
standalone: true, standalone: true,
styleUrls: ['file.scss'], styleUrl: 'file.scss',
imports: [CoreSharedModule], imports: [CoreSharedModule],
}) })
export class AddonPrivateFilesFileComponent extends CoreFileComponent implements OnDestroy { export class AddonPrivateFilesFileComponent extends CoreFileComponent implements OnDestroy {

View File

@ -45,7 +45,7 @@ import { AddonPrivateFilesFileComponent } from '@addons/privatefiles/components/
@Component({ @Component({
selector: 'page-addon-privatefiles-index', selector: 'page-addon-privatefiles-index',
templateUrl: 'index.html', templateUrl: 'index.html',
styleUrls: ['./index.scss'], styleUrl: './index.scss',
}) })
export class AddonPrivateFilesIndexPage implements OnInit, OnDestroy { export class AddonPrivateFilesIndexPage implements OnInit, OnDestroy {

View File

@ -22,7 +22,7 @@ import { AddonModQuizCalculatedQuestion, CoreQuestionBaseComponent } from '@feat
@Component({ @Component({
selector: 'addon-qtype-calculated', selector: 'addon-qtype-calculated',
templateUrl: 'addon-qtype-calculated.html', templateUrl: 'addon-qtype-calculated.html',
styleUrls: ['calculated.scss'], styleUrl: 'calculated.scss',
}) })
export class AddonQtypeCalculatedComponent extends CoreQuestionBaseComponent<AddonModQuizCalculatedQuestion> { export class AddonQtypeCalculatedComponent extends CoreQuestionBaseComponent<AddonModQuizCalculatedQuestion> {

View File

@ -27,7 +27,7 @@ import { AddonQtypeDdMarkerQuestion } from '../classes/ddmarker';
@Component({ @Component({
selector: 'addon-qtype-ddmarker', selector: 'addon-qtype-ddmarker',
templateUrl: 'addon-qtype-ddmarker.html', templateUrl: 'addon-qtype-ddmarker.html',
styleUrls: ['ddmarker.scss'], styleUrl: 'ddmarker.scss',
}) })
export class AddonQtypeDdMarkerComponent export class AddonQtypeDdMarkerComponent
extends CoreQuestionBaseComponent<AddonQtypeDdMarkerQuestionData> extends CoreQuestionBaseComponent<AddonQtypeDdMarkerQuestionData>

View File

@ -23,7 +23,7 @@ import { CoreQuestionHelper } from '@features/question/services/question-helper'
@Component({ @Component({
selector: 'addon-qtype-gapselect', selector: 'addon-qtype-gapselect',
templateUrl: 'addon-qtype-gapselect.html', templateUrl: 'addon-qtype-gapselect.html',
styleUrls: ['gapselect.scss'], styleUrl: 'gapselect.scss',
}) })
export class AddonQtypeGapSelectComponent extends CoreQuestionBaseComponent { export class AddonQtypeGapSelectComponent extends CoreQuestionBaseComponent {

View File

@ -22,7 +22,7 @@ import { AddonModQuizMatchQuestion, CoreQuestionBaseComponent } from '@features/
@Component({ @Component({
selector: 'addon-qtype-match', selector: 'addon-qtype-match',
templateUrl: 'addon-qtype-match.html', templateUrl: 'addon-qtype-match.html',
styleUrls: ['match.scss'], styleUrl: 'match.scss',
}) })
export class AddonQtypeMatchComponent extends CoreQuestionBaseComponent<AddonModQuizMatchQuestion> { export class AddonQtypeMatchComponent extends CoreQuestionBaseComponent<AddonModQuizMatchQuestion> {

View File

@ -22,7 +22,7 @@ import { CoreQuestionHelper } from '@features/question/services/question-helper'
@Component({ @Component({
selector: 'addon-qtype-multianswer', selector: 'addon-qtype-multianswer',
templateUrl: 'addon-qtype-multianswer.html', templateUrl: 'addon-qtype-multianswer.html',
styleUrls: ['multianswer.scss'], styleUrl: 'multianswer.scss',
}) })
export class AddonQtypeMultiAnswerComponent extends CoreQuestionBaseComponent { export class AddonQtypeMultiAnswerComponent extends CoreQuestionBaseComponent {

View File

@ -22,7 +22,7 @@ import { AddonModQuizMultichoiceQuestion, CoreQuestionBaseComponent } from '@fea
@Component({ @Component({
selector: 'addon-qtype-multichoice', selector: 'addon-qtype-multichoice',
templateUrl: 'addon-qtype-multichoice.html', templateUrl: 'addon-qtype-multichoice.html',
styleUrls: ['multichoice.scss'], styleUrl: 'multichoice.scss',
}) })
export class AddonQtypeMultichoiceComponent extends CoreQuestionBaseComponent<AddonModQuizMultichoiceQuestion> { export class AddonQtypeMultichoiceComponent extends CoreQuestionBaseComponent<AddonModQuizMultichoiceQuestion> {

View File

@ -22,7 +22,7 @@ import { AddonModQuizTextQuestion, CoreQuestionBaseComponent } from '@features/q
@Component({ @Component({
selector: 'addon-qtype-shortanswer', selector: 'addon-qtype-shortanswer',
templateUrl: 'addon-qtype-shortanswer.html', templateUrl: 'addon-qtype-shortanswer.html',
styleUrls: ['shortanswer.scss'], styleUrl: 'shortanswer.scss',
}) })
export class AddonQtypeShortAnswerComponent extends CoreQuestionBaseComponent<AddonModQuizTextQuestion> { export class AddonQtypeShortAnswerComponent extends CoreQuestionBaseComponent<AddonModQuizTextQuestion> {

View File

@ -34,7 +34,7 @@ import { CoreEventObserver, CoreEvents } from '@singletons/events';
@Component({ @Component({
selector: 'page-addon-storagemanager-courses-storage', selector: 'page-addon-storagemanager-courses-storage',
templateUrl: 'courses-storage.html', templateUrl: 'courses-storage.html',
styleUrls: ['courses-storage.scss'], styleUrl: 'courses-storage.scss',
}) })
export class AddonStorageManagerCoursesStoragePage implements OnInit, OnDestroy { export class AddonStorageManagerCoursesStoragePage implements OnInit, OnDestroy {

View File

@ -25,7 +25,7 @@ import { CoreUtils } from '@services/utils/utils';
@Component({ @Component({
selector: 'addon-user-profile-field-checkbox', selector: 'addon-user-profile-field-checkbox',
templateUrl: 'addon-user-profile-field-checkbox.html', templateUrl: 'addon-user-profile-field-checkbox.html',
styleUrls: ['./checkbox.scss'], styleUrl: './checkbox.scss',
}) })
export class AddonUserProfileFieldCheckboxComponent extends CoreUserProfileFieldBaseComponent<boolean> { export class AddonUserProfileFieldCheckboxComponent extends CoreUserProfileFieldBaseComponent<boolean> {

View File

@ -23,7 +23,7 @@ import { CoreUserProfileFieldBaseComponent } from '@features/user/classes/base-p
@Component({ @Component({
selector: 'addon-user-profile-field-menu', selector: 'addon-user-profile-field-menu',
templateUrl: 'addon-user-profile-field-menu.html', templateUrl: 'addon-user-profile-field-menu.html',
styleUrls: ['./menu.scss'], styleUrl: './menu.scss',
}) })
export class AddonUserProfileFieldMenuComponent extends CoreUserProfileFieldBaseComponent { export class AddonUserProfileFieldMenuComponent extends CoreUserProfileFieldBaseComponent {

View File

@ -43,7 +43,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-attachments', selector: 'core-attachments',
templateUrl: 'core-attachments.html', templateUrl: 'core-attachments.html',
styleUrls: ['attachments.scss'], styleUrl: 'attachments.scss',
}) })
export class CoreAttachmentsComponent implements OnInit { export class CoreAttachmentsComponent implements OnInit {

View File

@ -27,7 +27,7 @@ import { CoreAnimations } from '@components/animations';
@Component({ @Component({
selector: 'core-button-with-spinner', selector: 'core-button-with-spinner',
templateUrl: 'core-button-with-spinner.html', templateUrl: 'core-button-with-spinner.html',
styleUrls: ['button-with-spinner.scss'], styleUrl: 'button-with-spinner.scss',
animations: [CoreAnimations.SHOW_HIDE], animations: [CoreAnimations.SHOW_HIDE],
}) })
export class CoreButtonWithSpinnerComponent { export class CoreButtonWithSpinnerComponent {

View File

@ -30,7 +30,7 @@ import { ChartLegendLabelItem, ChartLegendOptions } from 'chart.js';
@Component({ @Component({
selector: 'core-chart', selector: 'core-chart',
templateUrl: 'core-chart.html', templateUrl: 'core-chart.html',
styleUrls: ['chart.scss'], styleUrl: 'chart.scss',
}) })
export class CoreChartComponent implements OnDestroy, OnInit, OnChanges { export class CoreChartComponent implements OnDestroy, OnInit, OnChanges {

View File

@ -40,7 +40,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-combobox', selector: 'core-combobox',
templateUrl: 'core-combobox.html', templateUrl: 'core-combobox.html',
styleUrls: ['combobox.scss'], styleUrl: 'combobox.scss',
providers: [ providers: [
{ {
provide: NG_VALUE_ACCESSOR, provide: NG_VALUE_ACCESSOR,

View File

@ -21,7 +21,7 @@ import { CoreColors } from '@singletons/colors';
@Component({ @Component({
selector: 'core-course-image', selector: 'core-course-image',
templateUrl: 'course-image.html', templateUrl: 'course-image.html',
styleUrls: ['./course-image.scss'], styleUrl: './course-image.scss',
}) })
export class CoreCourseImageComponent { export class CoreCourseImageComponent {

View File

@ -27,7 +27,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-download-refresh', selector: 'core-download-refresh',
templateUrl: 'core-download-refresh.html', templateUrl: 'core-download-refresh.html',
styleUrls: ['download-refresh.scss'], styleUrl: 'download-refresh.scss',
animations: [CoreAnimations.SHOW_HIDE], animations: [CoreAnimations.SHOW_HIDE],
}) })
export class CoreDownloadRefreshComponent implements OnInit { export class CoreDownloadRefreshComponent implements OnInit {

View File

@ -25,7 +25,7 @@ const enum ScrollPosition {
@Component({ @Component({
selector: 'core-horizontal-scroll-controls', selector: 'core-horizontal-scroll-controls',
templateUrl: 'core-horizontal-scroll-controls.html', templateUrl: 'core-horizontal-scroll-controls.html',
styleUrls: ['./horizontal-scroll-controls.scss'], styleUrl: './horizontal-scroll-controls.scss',
}) })
export class CoreHorizontalScrollControlsComponent { export class CoreHorizontalScrollControlsComponent {

View File

@ -33,7 +33,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-iframe', selector: 'core-iframe',
templateUrl: 'core-iframe.html', templateUrl: 'core-iframe.html',
styleUrls: ['iframe.scss'], styleUrl: 'iframe.scss',
}) })
export class CoreIframeComponent implements OnChanges, OnDestroy { export class CoreIframeComponent implements OnChanges, OnDestroy {

View File

@ -36,7 +36,7 @@ import { FormControl } from '@angular/forms';
@Component({ @Component({
selector: 'core-input-errors', selector: 'core-input-errors',
templateUrl: 'core-input-errors.html', templateUrl: 'core-input-errors.html',
styleUrls: ['input-errors.scss'], styleUrl: 'input-errors.scss',
}) })
export class CoreInputErrorsComponent implements OnInit, OnChanges { export class CoreInputErrorsComponent implements OnInit, OnChanges {

View File

@ -47,7 +47,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-loading', selector: 'core-loading',
templateUrl: 'core-loading.html', templateUrl: 'core-loading.html',
styleUrls: ['loading.scss'], styleUrl: 'loading.scss',
animations: [CoreAnimations.SHOW_HIDE], animations: [CoreAnimations.SHOW_HIDE],
}) })
export class CoreLoadingComponent implements OnInit, OnChanges, AfterViewInit, AsyncDirective, OnDestroy { export class CoreLoadingComponent implements OnInit, OnChanges, AfterViewInit, AsyncDirective, OnDestroy {

View File

@ -31,7 +31,7 @@ import { Translate } from '@singletons';
@Component({ @Component({
selector: '[core-mark-required]', selector: '[core-mark-required]',
templateUrl: 'core-mark-required.html', templateUrl: 'core-mark-required.html',
styleUrls: ['mark-required.scss'], styleUrl: 'mark-required.scss',
}) })
export class CoreMarkRequiredComponent implements AfterViewInit { export class CoreMarkRequiredComponent implements AfterViewInit {

View File

@ -26,7 +26,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-message', selector: 'core-message',
templateUrl: 'message.html', templateUrl: 'message.html',
styleUrls: ['message.scss'], styleUrl: 'message.scss',
animations: [CoreAnimations.SLIDE_IN_OUT], animations: [CoreAnimations.SLIDE_IN_OUT],
}) })
export class CoreMessageComponent implements OnInit { export class CoreMessageComponent implements OnInit {

View File

@ -46,7 +46,7 @@ const enum IconVersion {
@Component({ @Component({
selector: 'core-mod-icon', selector: 'core-mod-icon',
templateUrl: 'mod-icon.html', templateUrl: 'mod-icon.html',
styleUrls: ['mod-icon.scss'], styleUrl: 'mod-icon.scss',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
}) })
export class CoreModIconComponent implements OnInit, OnChanges { export class CoreModIconComponent implements OnInit, OnChanges {

View File

@ -53,7 +53,7 @@ const BUTTON_HIDDEN_CLASS = 'core-navbar-button-hidden';
@Component({ @Component({
selector: 'core-navbar-buttons', selector: 'core-navbar-buttons',
template: '<ng-content/><template #contextMenuContainer>-</template>', template: '<ng-content/><template #contextMenuContainer>-</template>',
styleUrls: ['navbar-buttons.scss'], styleUrl: 'navbar-buttons.scss',
}) })
export class CoreNavBarButtonsComponent implements OnInit, OnDestroy { export class CoreNavBarButtonsComponent implements OnInit, OnDestroy {

View File

@ -28,7 +28,7 @@ import { Translate } from '@singletons';
@Component({ @Component({
selector: 'core-navigation-bar', selector: 'core-navigation-bar',
templateUrl: 'core-navigation-bar.html', templateUrl: 'core-navigation-bar.html',
styleUrls: ['navigation-bar.scss'], styleUrl: 'navigation-bar.scss',
}) })
export class CoreNavigationBarComponent implements OnChanges { export class CoreNavigationBarComponent implements OnChanges {

View File

@ -25,7 +25,7 @@ import { DomSanitizer, Translate } from '@singletons';
@Component({ @Component({
selector: 'core-progress-bar', selector: 'core-progress-bar',
templateUrl: 'core-progress-bar.html', templateUrl: 'core-progress-bar.html',
styleUrls: ['progress-bar.scss'], styleUrl: 'progress-bar.scss',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
}) })
export class CoreProgressBarComponent implements OnChanges { export class CoreProgressBarComponent implements OnChanges {

View File

@ -35,7 +35,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-send-message-form', selector: 'core-send-message-form',
templateUrl: 'core-send-message-form.html', templateUrl: 'core-send-message-form.html',
styleUrls: ['send-message-form.scss'], styleUrl: 'send-message-form.scss',
}) })
export class CoreSendMessageFormComponent { export class CoreSendMessageFormComponent {

View File

@ -24,7 +24,7 @@ import { CoreDirectivesRegistry } from '@singletons/directives-registry';
@Component({ @Component({
selector: 'core-sheet-modal', selector: 'core-sheet-modal',
templateUrl: 'sheet-modal.html', templateUrl: 'sheet-modal.html',
styleUrls: ['sheet-modal.scss'], styleUrl: 'sheet-modal.scss',
}) })
export class CoreSheetModalComponent<T extends CoreModalComponent> implements AfterViewInit { export class CoreSheetModalComponent<T extends CoreModalComponent> implements AfterViewInit {

View File

@ -39,7 +39,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-sites-list', selector: 'core-sites-list',
templateUrl: 'sites-list.html', templateUrl: 'sites-list.html',
styleUrls: ['sites-list.scss'], styleUrl: 'sites-list.scss',
}) })
export class CoreSitesListComponent<T extends CoreSiteBasicInfo> { export class CoreSitesListComponent<T extends CoreSiteBasicInfo> {

View File

@ -29,7 +29,7 @@ const disabledScrollClass = 'disable-scroll-y';
@Component({ @Component({
selector: 'core-split-view', selector: 'core-split-view',
templateUrl: 'split-view.html', templateUrl: 'split-view.html',
styleUrls: ['split-view.scss'], styleUrl: 'split-view.scss',
}) })
export class CoreSplitViewComponent implements AfterViewInit, OnDestroy { export class CoreSplitViewComponent implements AfterViewInit, OnDestroy {

View File

@ -21,7 +21,7 @@ import { CoreUserTours } from '@features/usertours/services/user-tours';
@Component({ @Component({
selector: 'core-swipe-navigation-tour', selector: 'core-swipe-navigation-tour',
templateUrl: 'core-swipe-navigation-tour.html', templateUrl: 'core-swipe-navigation-tour.html',
styleUrls: ['swipe-navigation-tour.scss'], styleUrl: 'swipe-navigation-tour.scss',
}) })
export class CoreSwipeNavigationTourComponent { export class CoreSwipeNavigationTourComponent {

View File

@ -34,7 +34,7 @@ import { SwiperOptions } from 'swiper/types';
@Component({ @Component({
selector: 'core-swipe-slides', selector: 'core-swipe-slides',
templateUrl: 'swipe-slides.html', templateUrl: 'swipe-slides.html',
styleUrls: ['swipe-slides.scss'], styleUrl: 'swipe-slides.scss',
}) })
export class CoreSwipeSlidesComponent<Item = unknown> implements OnChanges, OnDestroy, AsyncDirective { export class CoreSwipeSlidesComponent<Item = unknown> implements OnChanges, OnDestroy, AsyncDirective {

View File

@ -49,7 +49,7 @@ import { CorePath } from '@singletons/path';
@Component({ @Component({
selector: 'core-tabs-outlet', selector: 'core-tabs-outlet',
templateUrl: 'core-tabs-outlet.html', templateUrl: 'core-tabs-outlet.html',
styleUrls: ['../tabs/tabs.scss'], styleUrl: '../tabs/tabs.scss',
}) })
export class CoreTabsOutletComponent extends CoreTabsBaseComponent<CoreTabsOutletTab> export class CoreTabsOutletComponent extends CoreTabsBaseComponent<CoreTabsOutletTab>
implements AfterViewInit, OnChanges, OnDestroy { implements AfterViewInit, OnChanges, OnDestroy {

View File

@ -41,7 +41,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-tabs', selector: 'core-tabs',
templateUrl: 'core-tabs.html', templateUrl: 'core-tabs.html',
styleUrls: ['tabs.scss'], styleUrl: 'tabs.scss',
}) })
export class CoreTabsComponent extends CoreTabsBaseComponent<CoreTabComponent> implements AfterViewInit { export class CoreTabsComponent extends CoreTabsBaseComponent<CoreTabComponent> implements AfterViewInit {

View File

@ -27,7 +27,7 @@ import { CoreTimeUtils } from '@services/utils/time';
@Component({ @Component({
selector: 'core-timer', selector: 'core-timer',
templateUrl: 'core-timer.html', templateUrl: 'core-timer.html',
styleUrls: ['timer.scss'], styleUrl: 'timer.scss',
}) })
export class CoreTimerComponent implements OnInit, OnDestroy { export class CoreTimerComponent implements OnInit, OnDestroy {

View File

@ -33,7 +33,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-user-avatar', selector: 'core-user-avatar',
templateUrl: 'core-user-avatar.html', templateUrl: 'core-user-avatar.html',
styleUrls: ['user-avatar.scss'], styleUrl: 'user-avatar.scss',
}) })
export class CoreUserAvatarComponent implements OnInit, OnChanges, OnDestroy { export class CoreUserAvatarComponent implements OnInit, OnChanges, OnDestroy {

View File

@ -26,7 +26,7 @@ import { ContextLevel } from '@/core/constants';
@Component({ @Component({
selector: 'core-block', selector: 'core-block',
templateUrl: 'core-block.html', templateUrl: 'core-block.html',
styleUrls: ['block.scss'], styleUrl: 'block.scss',
}) })
export class CoreBlockComponent implements OnChanges, OnDestroy { export class CoreBlockComponent implements OnChanges, OnDestroy {

View File

@ -22,7 +22,7 @@ import { CoreNavigator } from '@services/navigator';
@Component({ @Component({
selector: 'core-block-only-title', selector: 'core-block-only-title',
templateUrl: 'core-block-only-title.html', templateUrl: 'core-block-only-title.html',
styleUrls: ['only-title-block.scss'], styleUrl: 'only-title-block.scss',
}) })
export class CoreBlockOnlyTitleComponent extends CoreBlockBaseComponent implements OnInit { export class CoreBlockOnlyTitleComponent extends CoreBlockBaseComponent implements OnInit {

View File

@ -27,7 +27,7 @@ import { ContextLevel } from '@/core/constants';
@Component({ @Component({
selector: 'core-block-side-blocks-button', selector: 'core-block-side-blocks-button',
templateUrl: 'side-blocks-button.html', templateUrl: 'side-blocks-button.html',
styleUrls: ['side-blocks-button.scss'], styleUrl: 'side-blocks-button.scss',
}) })
export class CoreBlockSideBlocksButtonComponent implements OnInit, OnDestroy { export class CoreBlockSideBlocksButtonComponent implements OnInit, OnDestroy {

View File

@ -21,7 +21,7 @@ import { CoreUserTours } from '@features/usertours/services/user-tours';
@Component({ @Component({
selector: 'core-block-side-blocks-tour', selector: 'core-block-side-blocks-tour',
templateUrl: 'side-blocks-tour.html', templateUrl: 'side-blocks-tour.html',
styleUrls: ['side-blocks-tour.scss'], styleUrl: 'side-blocks-tour.scss',
}) })
export class CoreBlockSideBlocksTourComponent { export class CoreBlockSideBlocksTourComponent {

View File

@ -21,7 +21,7 @@ import { CoreUserTours } from '@features/usertours/services/user-tours';
@Component({ @Component({
selector: 'core-course-course-index-tour', selector: 'core-course-course-index-tour',
templateUrl: 'course-index-tour.html', templateUrl: 'course-index-tour.html',
styleUrls: ['course-index-tour.scss'], styleUrl: 'course-index-tour.scss',
}) })
export class CoreCourseCourseIndexTourComponent { export class CoreCourseCourseIndexTourComponent {

View File

@ -39,7 +39,7 @@ import { ContextLevel } from '@/core/constants';
@Component({ @Component({
selector: 'core-course-module-completion-legacy', selector: 'core-course-module-completion-legacy',
templateUrl: 'core-course-module-completion-legacy.html', templateUrl: 'core-course-module-completion-legacy.html',
styleUrls: ['module-completion-legacy.scss'], styleUrl: 'module-completion-legacy.scss',
}) })
export class CoreCourseModuleCompletionLegacyComponent extends CoreCourseModuleCompletionBaseComponent export class CoreCourseModuleCompletionLegacyComponent extends CoreCourseModuleCompletionBaseComponent
implements OnInit, OnDestroy { implements OnInit, OnDestroy {

View File

@ -37,7 +37,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-course-module-completion', selector: 'core-course-module-completion',
templateUrl: 'core-course-module-completion.html', templateUrl: 'core-course-module-completion.html',
styleUrls: ['module-completion.scss'], styleUrl: 'module-completion.scss',
}) })
export class CoreCourseModuleCompletionComponent export class CoreCourseModuleCompletionComponent
extends CoreCourseModuleCompletionBaseComponent extends CoreCourseModuleCompletionBaseComponent

View File

@ -32,7 +32,7 @@ import { CoreSites } from '@services/sites';
@Component({ @Component({
selector: 'core-course-module-info', selector: 'core-course-module-info',
templateUrl: 'core-course-module-info.html', templateUrl: 'core-course-module-info.html',
styleUrls: ['course-module-info.scss'], styleUrl: 'course-module-info.scss',
}) })
export class CoreCourseModuleInfoComponent implements OnInit { export class CoreCourseModuleInfoComponent implements OnInit {

View File

@ -33,7 +33,7 @@ import { CoreEventObserver, CoreEvents } from '@singletons/events';
@Component({ @Component({
selector: 'core-course-module-navigation', selector: 'core-course-module-navigation',
templateUrl: 'core-course-module-navigation.html', templateUrl: 'core-course-module-navigation.html',
styleUrls: ['module-navigation.scss'], styleUrl: 'module-navigation.scss',
}) })
export class CoreCourseModuleNavigationComponent implements OnInit, OnDestroy { export class CoreCourseModuleNavigationComponent implements OnInit, OnDestroy {

View File

@ -42,7 +42,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-course-module', selector: 'core-course-module',
templateUrl: 'core-course-module.html', templateUrl: 'core-course-module.html',
styleUrls: ['module.scss'], styleUrl: 'module.scss',
}) })
export class CoreCourseModuleComponent implements OnInit, OnDestroy { export class CoreCourseModuleComponent implements OnInit, OnDestroy {

View File

@ -23,7 +23,7 @@ import { CoreCourseModuleDelegate } from '@features/course/services/module-deleg
@Component({ @Component({
selector: 'core-course-unsupported-module', selector: 'core-course-unsupported-module',
templateUrl: 'core-course-unsupported-module.html', templateUrl: 'core-course-unsupported-module.html',
styleUrls: ['unsupported-module.scss'], styleUrl: 'unsupported-module.scss',
}) })
export class CoreCourseUnsupportedModuleComponent implements OnInit { export class CoreCourseUnsupportedModuleComponent implements OnInit {

View File

@ -30,7 +30,7 @@ import type { CoreCourseModuleMainActivityComponent } from '@features/course/cla
@Component({ @Component({
selector: 'core-course-format-single-activity', selector: 'core-course-format-single-activity',
templateUrl: 'core-course-format-single-activity.html', templateUrl: 'core-course-format-single-activity.html',
styleUrls: ['single-activity.scss'], styleUrl: 'single-activity.scss',
}) })
export class CoreCourseFormatSingleActivityComponent implements OnChanges { export class CoreCourseFormatSingleActivityComponent implements OnChanges {

View File

@ -49,7 +49,7 @@ import { CoreEnrol, CoreEnrolEnrolmentMethod } from '@features/enrol/services/en
@Component({ @Component({
selector: 'page-core-course-summary', selector: 'page-core-course-summary',
templateUrl: 'course-summary.html', templateUrl: 'course-summary.html',
styleUrls: ['course-summary.scss'], styleUrl: 'course-summary.scss',
}) })
export class CoreCourseSummaryPage implements OnInit, OnDestroy { export class CoreCourseSummaryPage implements OnInit, OnDestroy {

View File

@ -38,7 +38,7 @@ import { CoreWait } from '@singletons/wait';
@Component({ @Component({
selector: 'page-core-course-index', selector: 'page-core-course-index',
templateUrl: 'index.html', templateUrl: 'index.html',
styleUrls: ['index.scss'], styleUrl: 'index.scss',
}) })
export class CoreCourseIndexPage implements OnInit, OnDestroy { export class CoreCourseIndexPage implements OnInit, OnDestroy {

View File

@ -29,7 +29,7 @@ import { CoreUtils } from '@services/utils/utils';
@Component({ @Component({
selector: 'page-core-course-module-preview', selector: 'page-core-course-module-preview',
templateUrl: 'module-preview.html', templateUrl: 'module-preview.html',
styleUrls: ['module-preview.scss'], styleUrl: 'module-preview.scss',
}) })
export class CoreCourseModulePreviewPage implements OnInit { export class CoreCourseModulePreviewPage implements OnInit {

View File

@ -41,7 +41,7 @@ import { CoreLoadings } from '@services/loadings';
@Component({ @Component({
selector: 'core-courses-course-list-item', selector: 'core-courses-course-list-item',
templateUrl: 'core-courses-course-list-item.html', templateUrl: 'core-courses-course-list-item.html',
styleUrls: ['course-list-item.scss'], styleUrl: 'course-list-item.scss',
}) })
export class CoreCoursesCourseListItemComponent implements OnInit, OnDestroy, OnChanges { export class CoreCoursesCourseListItemComponent implements OnInit, OnDestroy, OnChanges {

View File

@ -38,7 +38,7 @@ import { CoreWait } from '@singletons/wait';
@Component({ @Component({
selector: 'page-core-courses-my', selector: 'page-core-courses-my',
templateUrl: 'my.html', templateUrl: 'my.html',
styleUrls: ['my.scss'], styleUrl: 'my.scss',
providers: [{ providers: [{
provide: PageLoadsManager, provide: PageLoadsManager,
useClass: PageLoadsManager, useClass: PageLoadsManager,

View File

@ -60,7 +60,7 @@ import { CoreQRScan } from '@services/qrscan';
@Component({ @Component({
selector: 'core-rich-text-editor', selector: 'core-rich-text-editor',
templateUrl: 'core-editor-rich-text-editor.html', templateUrl: 'core-editor-rich-text-editor.html',
styleUrls: ['rich-text-editor.scss'], styleUrl: 'rich-text-editor.scss',
}) })
export class CoreEditorRichTextEditorComponent implements OnInit, AfterViewInit, OnDestroy { export class CoreEditorRichTextEditorComponent implements OnInit, AfterViewInit, OnDestroy {

View File

@ -33,7 +33,7 @@ import { CoreLoadings } from '@services/loadings';
@Component({ @Component({
selector: 'core-emulator-capture-media', selector: 'core-emulator-capture-media',
templateUrl: 'capture-media.html', templateUrl: 'capture-media.html',
styleUrls: ['capture-media.scss'], styleUrl: 'capture-media.scss',
}) })
export class CoreEmulatorCaptureMediaComponent implements OnInit, OnDestroy { export class CoreEmulatorCaptureMediaComponent implements OnInit, OnDestroy {

View File

@ -43,7 +43,7 @@ import { CoreAnalytics, CoreAnalyticsEventType } from '@services/analytics';
@Component({ @Component({
selector: 'page-core-grades-course', selector: 'page-core-grades-course',
templateUrl: 'course.html', templateUrl: 'course.html',
styleUrls: ['course.scss'], styleUrl: 'course.scss',
}) })
export class CoreGradesCoursePage implements AfterViewInit, OnDestroy { export class CoreGradesCoursePage implements AfterViewInit, OnDestroy {

View File

@ -34,7 +34,7 @@ import { BehaviorSubject } from 'rxjs';
@Component({ @Component({
selector: 'core-h5p-player', selector: 'core-h5p-player',
templateUrl: 'core-h5p-player.html', templateUrl: 'core-h5p-player.html',
styleUrls: ['h5p-player.scss'], styleUrl: 'h5p-player.scss',
}) })
export class CoreH5PPlayerComponent implements OnInit, OnChanges, OnDestroy { export class CoreH5PPlayerComponent implements OnInit, OnChanges, OnDestroy {

View File

@ -19,7 +19,7 @@ import { CoreUserSupport } from '@features/user/services/support';
@Component({ @Component({
selector: 'core-login-exceeded-attempts', selector: 'core-login-exceeded-attempts',
templateUrl: 'exceeded-attempts.html', templateUrl: 'exceeded-attempts.html',
styleUrls: ['./exceeded-attempts.scss'], styleUrl: './exceeded-attempts.scss',
}) })
export class CoreLoginExceededAttemptsComponent implements OnInit { export class CoreLoginExceededAttemptsComponent implements OnInit {

View File

@ -24,7 +24,7 @@ import { CoreDomUtils } from '@services/utils/dom';
@Component({ @Component({
selector: 'core-login-methods', selector: 'core-login-methods',
templateUrl: 'login-methods.html', templateUrl: 'login-methods.html',
styleUrls: ['../../login.scss'], styleUrl: '../../login.scss',
}) })
export class CoreLoginMethodsComponent implements OnInit { export class CoreLoginMethodsComponent implements OnInit {

View File

@ -49,7 +49,7 @@ import { CoreLoadings } from '@services/loadings';
@Component({ @Component({
selector: 'page-core-login-credentials', selector: 'page-core-login-credentials',
templateUrl: 'credentials.html', templateUrl: 'credentials.html',
styleUrls: ['../../login.scss'], styleUrl: '../../login.scss',
}) })
export class CoreLoginCredentialsPage implements OnInit, OnDestroy { export class CoreLoginCredentialsPage implements OnInit, OnDestroy {

View File

@ -45,7 +45,7 @@ import { CoreLoadings } from '@services/loadings';
@Component({ @Component({
selector: 'page-core-login-email-signup', selector: 'page-core-login-email-signup',
templateUrl: 'email-signup.html', templateUrl: 'email-signup.html',
styleUrls: ['../../login.scss'], styleUrl: '../../login.scss',
}) })
export class CoreLoginEmailSignupPage implements OnInit { export class CoreLoginEmailSignupPage implements OnInit {

View File

@ -41,7 +41,7 @@ import { CoreLoadings } from '@services/loadings';
@Component({ @Component({
selector: 'page-core-login-reconnect', selector: 'page-core-login-reconnect',
templateUrl: 'reconnect.html', templateUrl: 'reconnect.html',
styleUrls: ['../../login.scss'], styleUrl: '../../login.scss',
}) })
export class CoreLoginReconnectPage implements OnInit, OnDestroy { export class CoreLoginReconnectPage implements OnInit, OnDestroy {

View File

@ -32,7 +32,7 @@ import { toBoolean } from '@/core/transforms/boolean';
@Component({ @Component({
selector: 'core-user-menu-button', selector: 'core-user-menu-button',
templateUrl: 'user-menu-button.html', templateUrl: 'user-menu-button.html',
styleUrls: ['user-menu-button.scss'], styleUrl: 'user-menu-button.scss',
}) })
export class CoreMainMenuUserButtonComponent implements OnInit { export class CoreMainMenuUserButtonComponent implements OnInit {

View File

@ -21,7 +21,7 @@ import { CoreUserTours } from '@features/usertours/services/user-tours';
@Component({ @Component({
selector: 'core-mainmenu-user-menu-tour', selector: 'core-mainmenu-user-menu-tour',
templateUrl: 'user-menu-tour.html', templateUrl: 'user-menu-tour.html',
styleUrls: ['user-menu-tour.scss'], styleUrl: 'user-menu-tour.scss',
}) })
export class CoreMainMenuUserMenuTourComponent { export class CoreMainMenuUserMenuTourComponent {

Some files were not shown because too many files have changed in this diff Show More