MOBILE-4653 chore: Migrate styleUrls to styleUrl when possible
parent
62d725150e
commit
e04264b9e5
|
@ -61,7 +61,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'addon-calendar-calendar',
|
||||
templateUrl: 'addon-calendar-calendar.html',
|
||||
styleUrls: ['calendar.scss'],
|
||||
styleUrl: 'calendar.scss',
|
||||
})
|
||||
export class AddonCalendarCalendarComponent implements OnInit, DoCheck, OnDestroy {
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ import { Translate } from '@singletons';
|
|||
@Component({
|
||||
selector: 'addon-calendar-upcoming-events',
|
||||
templateUrl: 'addon-calendar-upcoming-events.html',
|
||||
styleUrls: ['../../calendar-common.scss'],
|
||||
styleUrl: '../../calendar-common.scss',
|
||||
})
|
||||
export class AddonCalendarUpcomingEventsComponent implements OnInit, DoCheck, OnDestroy {
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ import { CoreLoadings } from '@services/loadings';
|
|||
@Component({
|
||||
selector: 'page-addon-calendar-edit-event',
|
||||
templateUrl: 'edit-event.html',
|
||||
styleUrls: ['edit-event.scss'],
|
||||
styleUrl: 'edit-event.scss',
|
||||
})
|
||||
export class AddonCalendarEditEventPage implements OnInit, OnDestroy, CanLeave {
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ import { CoreKeyboard } from '@singletons/keyboard';
|
|||
@Component({
|
||||
selector: 'addon-messages-contacts',
|
||||
templateUrl: 'contacts.html',
|
||||
styleUrls: ['../../messages-common.scss'],
|
||||
styleUrl: '../../messages-common.scss',
|
||||
})
|
||||
export class AddonMessagesContacts35Page implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -31,9 +31,7 @@ import { CoreSplitViewComponent } from '@components/split-view/split-view';
|
|||
@Component({
|
||||
selector: 'page-addon-messages-contacts',
|
||||
templateUrl: 'contacts.html',
|
||||
styleUrls: [
|
||||
'../../messages-common.scss',
|
||||
],
|
||||
styleUrl: '../../messages-common.scss',
|
||||
})
|
||||
export class AddonMessagesContactsPage implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ import { CoreKeyboard } from '@singletons/keyboard';
|
|||
@Component({
|
||||
selector: 'addon-messages-discussions',
|
||||
templateUrl: 'discussions.html',
|
||||
styleUrls: ['../../messages-common.scss'],
|
||||
styleUrl: '../../messages-common.scss',
|
||||
})
|
||||
export class AddonMessagesDiscussions35Page implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ const enum AddonMessagesGroupConversationOptionNames {
|
|||
@Component({
|
||||
selector: 'page-addon-messages-group-conversations',
|
||||
templateUrl: 'group-conversations.html',
|
||||
styleUrls: ['../../messages-common.scss'],
|
||||
styleUrl: '../../messages-common.scss',
|
||||
})
|
||||
export class AddonMessagesGroupConversationsPage implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ import { CoreLoadings } from '@services/loadings';
|
|||
@Component({
|
||||
selector: 'addon-mod-assign-submission',
|
||||
templateUrl: 'addon-mod-assign-submission.html',
|
||||
styleUrls: ['submission.scss'],
|
||||
styleUrl: 'submission.scss',
|
||||
})
|
||||
export class AddonModAssignSubmissionComponent implements OnInit, OnDestroy, CanLeave {
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ import { CoreLoadings } from '@services/loadings';
|
|||
@Component({
|
||||
selector: 'page-addon-mod-assign-edit',
|
||||
templateUrl: 'edit.html',
|
||||
styleUrls: ['edit.scss'],
|
||||
styleUrl: 'edit.scss',
|
||||
})
|
||||
export class AddonModAssignEditPage implements OnInit, OnDestroy, CanLeave {
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ import { convertTextToHTMLElement } from '@/core/utils/create-html-element';
|
|||
@Component({
|
||||
selector: 'addon-mod-bbb-index',
|
||||
templateUrl: 'index.html',
|
||||
styleUrls: ['index.scss'],
|
||||
styleUrl: 'index.scss',
|
||||
})
|
||||
export class AddonModBBBIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ import { CoreModals } from '@services/modals';
|
|||
@Component({
|
||||
selector: 'page-addon-mod-book-contents',
|
||||
templateUrl: 'contents.html',
|
||||
styleUrls: ['contents.scss'],
|
||||
styleUrl: 'contents.scss',
|
||||
})
|
||||
export class AddonModBookContentsPage implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ const contentToken = '<!-- CORE-DATABASE-CONTENT-GOES-HERE -->';
|
|||
@Component({
|
||||
selector: 'addon-mod-data-index',
|
||||
templateUrl: 'addon-mod-data-index.html',
|
||||
styleUrls: ['../../data.scss'],
|
||||
styleUrl: '../../data.scss',
|
||||
})
|
||||
export class AddonModDataIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ import {
|
|||
@Component({
|
||||
selector: 'page-addon-mod-data-entry',
|
||||
templateUrl: 'entry.html',
|
||||
styleUrls: ['../../data.scss'],
|
||||
styleUrl: '../../data.scss',
|
||||
})
|
||||
export class AddonModDataEntryPage implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ import { CoreError } from '@classes/errors/error';
|
|||
@Component({
|
||||
selector: 'page-addon-mod-feedback-form',
|
||||
templateUrl: 'form.html',
|
||||
styleUrls: ['form.scss'],
|
||||
styleUrl: 'form.scss',
|
||||
})
|
||||
export class AddonModFeedbackFormPage implements OnInit, OnDestroy, CanLeave {
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ import { CoreLoadings } from '@services/loadings';
|
|||
@Component({
|
||||
selector: 'addon-mod-forum-index',
|
||||
templateUrl: 'index.html',
|
||||
styleUrls: ['index.scss'],
|
||||
styleUrl: 'index.scss',
|
||||
})
|
||||
export class AddonModForumIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ import { CoreWSFile } from '@services/ws';
|
|||
@Component({
|
||||
selector: 'addon-mod-forum-post',
|
||||
templateUrl: 'post.html',
|
||||
styleUrls: ['post.scss'],
|
||||
styleUrl: 'post.scss',
|
||||
})
|
||||
export class AddonModForumPostComponent implements OnInit, OnDestroy, OnChanges {
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ type Post = AddonModForumPost & { children?: Post[] };
|
|||
@Component({
|
||||
selector: 'page-addon-mod-forum-discussion',
|
||||
templateUrl: 'discussion.html',
|
||||
styleUrls: ['discussion.scss'],
|
||||
styleUrl: 'discussion.scss',
|
||||
})
|
||||
export class AddonModForumDiscussionPage implements OnInit, AfterViewInit, OnDestroy, CanLeave {
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ type NewDiscussionData = {
|
|||
@Component({
|
||||
selector: 'page-addon-mod-forum-new-discussion',
|
||||
templateUrl: 'new-discussion.html',
|
||||
styleUrls: ['new-discussion.scss'],
|
||||
styleUrl: 'new-discussion.scss',
|
||||
})
|
||||
export class AddonModForumNewDiscussionPage implements OnInit, OnDestroy, CanLeave {
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ import { CorePopovers } from '@services/popovers';
|
|||
@Component({
|
||||
selector: 'addon-mod-glossary-index',
|
||||
templateUrl: 'addon-mod-glossary-index.html',
|
||||
styleUrls: ['index.scss'],
|
||||
styleUrl: 'index.scss',
|
||||
})
|
||||
export class AddonModGlossaryIndexComponent extends CoreCourseModuleMainActivityComponent
|
||||
implements OnInit, AfterViewInit, OnDestroy {
|
||||
|
|
|
@ -33,7 +33,7 @@ import { ADDON_MOD_H5PACTIVITY_COMPONENT } from '../../constants';
|
|||
@Component({
|
||||
selector: 'page-addon-mod-h5pactivity-attempt-results',
|
||||
templateUrl: 'attempt-results.html',
|
||||
styleUrls: ['attempt-results.scss'],
|
||||
styleUrl: 'attempt-results.scss',
|
||||
})
|
||||
export class AddonModH5PActivityAttemptResultsPage implements OnInit {
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import { CoreAnalytics, CoreAnalyticsEventType } from '@services/analytics';
|
|||
@Component({
|
||||
selector: 'page-addon-mod-h5pactivity-user-attempts',
|
||||
templateUrl: 'user-attempts.html',
|
||||
styleUrls: ['user-attempts.scss'],
|
||||
styleUrl: 'user-attempts.scss',
|
||||
})
|
||||
export class AddonModH5PActivityUserAttemptsPage implements OnInit {
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ import { AddonModH5PActivityGradeMethod } from '../../constants';
|
|||
@Component({
|
||||
selector: 'page-addon-mod-h5pactivity-users-attempts',
|
||||
templateUrl: 'users-attempts.html',
|
||||
styleUrls: ['users-attempts.scss'],
|
||||
styleUrl: 'users-attempts.scss',
|
||||
})
|
||||
export class AddonModH5PActivityUsersAttemptsPage implements OnInit {
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ import { ADDON_MOD_IMSCP_COMPONENT, ADDON_MOD_IMSCP_PAGE_NAME } from '../../cons
|
|||
@Component({
|
||||
selector: 'addon-mod-imscp-index',
|
||||
templateUrl: 'addon-mod-imscp-index.html',
|
||||
styleUrls: ['index.scss'],
|
||||
styleUrl: 'index.scss',
|
||||
})
|
||||
export class AddonModImscpIndexComponent extends CoreCourseModuleMainResourceComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ import { CoreModals } from '@services/modals';
|
|||
@Component({
|
||||
selector: 'page-addon-mod-lesson-player',
|
||||
templateUrl: 'player.html',
|
||||
styleUrls: ['player.scss'],
|
||||
styleUrl: 'player.scss',
|
||||
})
|
||||
export class AddonModLessonPlayerPage implements OnInit, OnDestroy, CanLeave {
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ import { ADDON_MOD_LESSON_COMPONENT } from '../../constants';
|
|||
@Component({
|
||||
selector: 'page-addon-mod-lesson-user-retake',
|
||||
templateUrl: 'user-retake.html',
|
||||
styleUrls: ['user-retake.scss'],
|
||||
styleUrl: 'user-retake.scss',
|
||||
})
|
||||
export class AddonModLessonUserRetakePage implements OnInit {
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'addon-mod-quiz-attempt-state',
|
||||
templateUrl: 'attempt-state.html',
|
||||
styleUrls: ['attempt-state.scss'],
|
||||
styleUrl: 'attempt-state.scss',
|
||||
})
|
||||
export class AddonModQuizAttemptStateComponent implements OnChanges {
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ import { QuestionDisplayOptionsMarks } from '@features/question/constants';
|
|||
@Component({
|
||||
selector: 'addon-mod-quiz-index',
|
||||
templateUrl: 'addon-mod-quiz-index.html',
|
||||
styleUrls: ['index.scss'],
|
||||
styleUrl: 'index.scss',
|
||||
})
|
||||
export class AddonModQuizIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ import { ADDON_MOD_RESOURCE_COMPONENT } from '../../constants';
|
|||
@Component({
|
||||
selector: 'addon-mod-resource-index',
|
||||
templateUrl: 'addon-mod-resource-index.html',
|
||||
styleUrls: ['index.scss'],
|
||||
styleUrl: 'index.scss',
|
||||
})
|
||||
export class AddonModResourceIndexComponent extends CoreCourseModuleMainResourceComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ import { CoreWait } from '@singletons/wait';
|
|||
@Component({
|
||||
selector: 'addon-mod-scorm-index',
|
||||
templateUrl: 'addon-mod-scorm-index.html',
|
||||
styleUrls: ['index.scss'],
|
||||
styleUrl: 'index.scss',
|
||||
})
|
||||
export class AddonModScormIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ import { CoreLoadings } from '@services/loadings';
|
|||
@Component({
|
||||
selector: 'addon-mod-survey-index',
|
||||
templateUrl: 'addon-mod-survey-index.html',
|
||||
styleUrls: ['index.scss'],
|
||||
styleUrl: 'index.scss',
|
||||
})
|
||||
export class AddonModSurveyIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ import { CoreSites } from '@services/sites';
|
|||
@Component({
|
||||
selector: 'addon-mod-url-index',
|
||||
templateUrl: 'addon-mod-url-index.html',
|
||||
styleUrls: ['index.scss'],
|
||||
styleUrl: 'index.scss',
|
||||
})
|
||||
export class AddonModUrlIndexComponent extends CoreCourseModuleMainResourceComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ import { CorePopovers } from '@services/popovers';
|
|||
@Component({
|
||||
selector: 'addon-mod-wiki-index',
|
||||
templateUrl: 'addon-mod-wiki-index.html',
|
||||
styleUrls: ['index.scss'],
|
||||
styleUrl: 'index.scss',
|
||||
})
|
||||
export class AddonModWikiIndexComponent extends CoreCourseModuleMainActivityComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'addon-mod-workshop-submission',
|
||||
templateUrl: 'addon-mod-workshop-submission.html',
|
||||
styleUrls: ['submission.scss'],
|
||||
styleUrl: 'submission.scss',
|
||||
})
|
||||
export class AddonModWorkshopSubmissionComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ import { CoreLoadings } from '@services/loadings';
|
|||
@Component({
|
||||
selector: 'page-addon-notifications-settings',
|
||||
templateUrl: 'settings.html',
|
||||
styleUrls: ['settings.scss'],
|
||||
styleUrl: 'settings.scss',
|
||||
})
|
||||
export class AddonNotificationsSettingsPage implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import { CoreFileComponent } from '@components/file/file';
|
|||
selector: 'addon-privatefiles-file',
|
||||
templateUrl: 'file.html',
|
||||
standalone: true,
|
||||
styleUrls: ['file.scss'],
|
||||
styleUrl: 'file.scss',
|
||||
imports: [CoreSharedModule],
|
||||
})
|
||||
export class AddonPrivateFilesFileComponent extends CoreFileComponent implements OnDestroy {
|
||||
|
|
|
@ -45,7 +45,7 @@ import { AddonPrivateFilesFileComponent } from '@addons/privatefiles/components/
|
|||
@Component({
|
||||
selector: 'page-addon-privatefiles-index',
|
||||
templateUrl: 'index.html',
|
||||
styleUrls: ['./index.scss'],
|
||||
styleUrl: './index.scss',
|
||||
})
|
||||
export class AddonPrivateFilesIndexPage implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import { AddonModQuizCalculatedQuestion, CoreQuestionBaseComponent } from '@feat
|
|||
@Component({
|
||||
selector: 'addon-qtype-calculated',
|
||||
templateUrl: 'addon-qtype-calculated.html',
|
||||
styleUrls: ['calculated.scss'],
|
||||
styleUrl: 'calculated.scss',
|
||||
})
|
||||
export class AddonQtypeCalculatedComponent extends CoreQuestionBaseComponent<AddonModQuizCalculatedQuestion> {
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ import { AddonQtypeDdMarkerQuestion } from '../classes/ddmarker';
|
|||
@Component({
|
||||
selector: 'addon-qtype-ddmarker',
|
||||
templateUrl: 'addon-qtype-ddmarker.html',
|
||||
styleUrls: ['ddmarker.scss'],
|
||||
styleUrl: 'ddmarker.scss',
|
||||
})
|
||||
export class AddonQtypeDdMarkerComponent
|
||||
extends CoreQuestionBaseComponent<AddonQtypeDdMarkerQuestionData>
|
||||
|
|
|
@ -23,7 +23,7 @@ import { CoreQuestionHelper } from '@features/question/services/question-helper'
|
|||
@Component({
|
||||
selector: 'addon-qtype-gapselect',
|
||||
templateUrl: 'addon-qtype-gapselect.html',
|
||||
styleUrls: ['gapselect.scss'],
|
||||
styleUrl: 'gapselect.scss',
|
||||
})
|
||||
export class AddonQtypeGapSelectComponent extends CoreQuestionBaseComponent {
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import { AddonModQuizMatchQuestion, CoreQuestionBaseComponent } from '@features/
|
|||
@Component({
|
||||
selector: 'addon-qtype-match',
|
||||
templateUrl: 'addon-qtype-match.html',
|
||||
styleUrls: ['match.scss'],
|
||||
styleUrl: 'match.scss',
|
||||
})
|
||||
export class AddonQtypeMatchComponent extends CoreQuestionBaseComponent<AddonModQuizMatchQuestion> {
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import { CoreQuestionHelper } from '@features/question/services/question-helper'
|
|||
@Component({
|
||||
selector: 'addon-qtype-multianswer',
|
||||
templateUrl: 'addon-qtype-multianswer.html',
|
||||
styleUrls: ['multianswer.scss'],
|
||||
styleUrl: 'multianswer.scss',
|
||||
})
|
||||
export class AddonQtypeMultiAnswerComponent extends CoreQuestionBaseComponent {
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import { AddonModQuizMultichoiceQuestion, CoreQuestionBaseComponent } from '@fea
|
|||
@Component({
|
||||
selector: 'addon-qtype-multichoice',
|
||||
templateUrl: 'addon-qtype-multichoice.html',
|
||||
styleUrls: ['multichoice.scss'],
|
||||
styleUrl: 'multichoice.scss',
|
||||
})
|
||||
export class AddonQtypeMultichoiceComponent extends CoreQuestionBaseComponent<AddonModQuizMultichoiceQuestion> {
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import { AddonModQuizTextQuestion, CoreQuestionBaseComponent } from '@features/q
|
|||
@Component({
|
||||
selector: 'addon-qtype-shortanswer',
|
||||
templateUrl: 'addon-qtype-shortanswer.html',
|
||||
styleUrls: ['shortanswer.scss'],
|
||||
styleUrl: 'shortanswer.scss',
|
||||
})
|
||||
export class AddonQtypeShortAnswerComponent extends CoreQuestionBaseComponent<AddonModQuizTextQuestion> {
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import { CoreEventObserver, CoreEvents } from '@singletons/events';
|
|||
@Component({
|
||||
selector: 'page-addon-storagemanager-courses-storage',
|
||||
templateUrl: 'courses-storage.html',
|
||||
styleUrls: ['courses-storage.scss'],
|
||||
styleUrl: 'courses-storage.scss',
|
||||
})
|
||||
export class AddonStorageManagerCoursesStoragePage implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import { CoreUtils } from '@services/utils/utils';
|
|||
@Component({
|
||||
selector: 'addon-user-profile-field-checkbox',
|
||||
templateUrl: 'addon-user-profile-field-checkbox.html',
|
||||
styleUrls: ['./checkbox.scss'],
|
||||
styleUrl: './checkbox.scss',
|
||||
})
|
||||
export class AddonUserProfileFieldCheckboxComponent extends CoreUserProfileFieldBaseComponent<boolean> {
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ import { CoreUserProfileFieldBaseComponent } from '@features/user/classes/base-p
|
|||
@Component({
|
||||
selector: 'addon-user-profile-field-menu',
|
||||
templateUrl: 'addon-user-profile-field-menu.html',
|
||||
styleUrls: ['./menu.scss'],
|
||||
styleUrl: './menu.scss',
|
||||
})
|
||||
export class AddonUserProfileFieldMenuComponent extends CoreUserProfileFieldBaseComponent {
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-attachments',
|
||||
templateUrl: 'core-attachments.html',
|
||||
styleUrls: ['attachments.scss'],
|
||||
styleUrl: 'attachments.scss',
|
||||
})
|
||||
export class CoreAttachmentsComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ import { CoreAnimations } from '@components/animations';
|
|||
@Component({
|
||||
selector: 'core-button-with-spinner',
|
||||
templateUrl: 'core-button-with-spinner.html',
|
||||
styleUrls: ['button-with-spinner.scss'],
|
||||
styleUrl: 'button-with-spinner.scss',
|
||||
animations: [CoreAnimations.SHOW_HIDE],
|
||||
})
|
||||
export class CoreButtonWithSpinnerComponent {
|
||||
|
|
|
@ -30,7 +30,7 @@ import { ChartLegendLabelItem, ChartLegendOptions } from 'chart.js';
|
|||
@Component({
|
||||
selector: 'core-chart',
|
||||
templateUrl: 'core-chart.html',
|
||||
styleUrls: ['chart.scss'],
|
||||
styleUrl: 'chart.scss',
|
||||
})
|
||||
export class CoreChartComponent implements OnDestroy, OnInit, OnChanges {
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-combobox',
|
||||
templateUrl: 'core-combobox.html',
|
||||
styleUrls: ['combobox.scss'],
|
||||
styleUrl: 'combobox.scss',
|
||||
providers: [
|
||||
{
|
||||
provide: NG_VALUE_ACCESSOR,
|
||||
|
|
|
@ -21,7 +21,7 @@ import { CoreColors } from '@singletons/colors';
|
|||
@Component({
|
||||
selector: 'core-course-image',
|
||||
templateUrl: 'course-image.html',
|
||||
styleUrls: ['./course-image.scss'],
|
||||
styleUrl: './course-image.scss',
|
||||
})
|
||||
export class CoreCourseImageComponent {
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-download-refresh',
|
||||
templateUrl: 'core-download-refresh.html',
|
||||
styleUrls: ['download-refresh.scss'],
|
||||
styleUrl: 'download-refresh.scss',
|
||||
animations: [CoreAnimations.SHOW_HIDE],
|
||||
})
|
||||
export class CoreDownloadRefreshComponent implements OnInit {
|
||||
|
|
|
@ -25,7 +25,7 @@ const enum ScrollPosition {
|
|||
@Component({
|
||||
selector: 'core-horizontal-scroll-controls',
|
||||
templateUrl: 'core-horizontal-scroll-controls.html',
|
||||
styleUrls: ['./horizontal-scroll-controls.scss'],
|
||||
styleUrl: './horizontal-scroll-controls.scss',
|
||||
})
|
||||
export class CoreHorizontalScrollControlsComponent {
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-iframe',
|
||||
templateUrl: 'core-iframe.html',
|
||||
styleUrls: ['iframe.scss'],
|
||||
styleUrl: 'iframe.scss',
|
||||
})
|
||||
export class CoreIframeComponent implements OnChanges, OnDestroy {
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ import { FormControl } from '@angular/forms';
|
|||
@Component({
|
||||
selector: 'core-input-errors',
|
||||
templateUrl: 'core-input-errors.html',
|
||||
styleUrls: ['input-errors.scss'],
|
||||
styleUrl: 'input-errors.scss',
|
||||
})
|
||||
export class CoreInputErrorsComponent implements OnInit, OnChanges {
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-loading',
|
||||
templateUrl: 'core-loading.html',
|
||||
styleUrls: ['loading.scss'],
|
||||
styleUrl: 'loading.scss',
|
||||
animations: [CoreAnimations.SHOW_HIDE],
|
||||
})
|
||||
export class CoreLoadingComponent implements OnInit, OnChanges, AfterViewInit, AsyncDirective, OnDestroy {
|
||||
|
|
|
@ -31,7 +31,7 @@ import { Translate } from '@singletons';
|
|||
@Component({
|
||||
selector: '[core-mark-required]',
|
||||
templateUrl: 'core-mark-required.html',
|
||||
styleUrls: ['mark-required.scss'],
|
||||
styleUrl: 'mark-required.scss',
|
||||
})
|
||||
export class CoreMarkRequiredComponent implements AfterViewInit {
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-message',
|
||||
templateUrl: 'message.html',
|
||||
styleUrls: ['message.scss'],
|
||||
styleUrl: 'message.scss',
|
||||
animations: [CoreAnimations.SLIDE_IN_OUT],
|
||||
})
|
||||
export class CoreMessageComponent implements OnInit {
|
||||
|
|
|
@ -46,7 +46,7 @@ const enum IconVersion {
|
|||
@Component({
|
||||
selector: 'core-mod-icon',
|
||||
templateUrl: 'mod-icon.html',
|
||||
styleUrls: ['mod-icon.scss'],
|
||||
styleUrl: 'mod-icon.scss',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class CoreModIconComponent implements OnInit, OnChanges {
|
||||
|
|
|
@ -53,7 +53,7 @@ const BUTTON_HIDDEN_CLASS = 'core-navbar-button-hidden';
|
|||
@Component({
|
||||
selector: 'core-navbar-buttons',
|
||||
template: '<ng-content/><template #contextMenuContainer>-</template>',
|
||||
styleUrls: ['navbar-buttons.scss'],
|
||||
styleUrl: 'navbar-buttons.scss',
|
||||
})
|
||||
export class CoreNavBarButtonsComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import { Translate } from '@singletons';
|
|||
@Component({
|
||||
selector: 'core-navigation-bar',
|
||||
templateUrl: 'core-navigation-bar.html',
|
||||
styleUrls: ['navigation-bar.scss'],
|
||||
styleUrl: 'navigation-bar.scss',
|
||||
})
|
||||
export class CoreNavigationBarComponent implements OnChanges {
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import { DomSanitizer, Translate } from '@singletons';
|
|||
@Component({
|
||||
selector: 'core-progress-bar',
|
||||
templateUrl: 'core-progress-bar.html',
|
||||
styleUrls: ['progress-bar.scss'],
|
||||
styleUrl: 'progress-bar.scss',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class CoreProgressBarComponent implements OnChanges {
|
||||
|
|
|
@ -35,7 +35,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-send-message-form',
|
||||
templateUrl: 'core-send-message-form.html',
|
||||
styleUrls: ['send-message-form.scss'],
|
||||
styleUrl: 'send-message-form.scss',
|
||||
})
|
||||
export class CoreSendMessageFormComponent {
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ import { CoreDirectivesRegistry } from '@singletons/directives-registry';
|
|||
@Component({
|
||||
selector: 'core-sheet-modal',
|
||||
templateUrl: 'sheet-modal.html',
|
||||
styleUrls: ['sheet-modal.scss'],
|
||||
styleUrl: 'sheet-modal.scss',
|
||||
})
|
||||
export class CoreSheetModalComponent<T extends CoreModalComponent> implements AfterViewInit {
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-sites-list',
|
||||
templateUrl: 'sites-list.html',
|
||||
styleUrls: ['sites-list.scss'],
|
||||
styleUrl: 'sites-list.scss',
|
||||
})
|
||||
export class CoreSitesListComponent<T extends CoreSiteBasicInfo> {
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ const disabledScrollClass = 'disable-scroll-y';
|
|||
@Component({
|
||||
selector: 'core-split-view',
|
||||
templateUrl: 'split-view.html',
|
||||
styleUrls: ['split-view.scss'],
|
||||
styleUrl: 'split-view.scss',
|
||||
})
|
||||
export class CoreSplitViewComponent implements AfterViewInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import { CoreUserTours } from '@features/usertours/services/user-tours';
|
|||
@Component({
|
||||
selector: 'core-swipe-navigation-tour',
|
||||
templateUrl: 'core-swipe-navigation-tour.html',
|
||||
styleUrls: ['swipe-navigation-tour.scss'],
|
||||
styleUrl: 'swipe-navigation-tour.scss',
|
||||
})
|
||||
export class CoreSwipeNavigationTourComponent {
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import { SwiperOptions } from 'swiper/types';
|
|||
@Component({
|
||||
selector: 'core-swipe-slides',
|
||||
templateUrl: 'swipe-slides.html',
|
||||
styleUrls: ['swipe-slides.scss'],
|
||||
styleUrl: 'swipe-slides.scss',
|
||||
})
|
||||
export class CoreSwipeSlidesComponent<Item = unknown> implements OnChanges, OnDestroy, AsyncDirective {
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ import { CorePath } from '@singletons/path';
|
|||
@Component({
|
||||
selector: 'core-tabs-outlet',
|
||||
templateUrl: 'core-tabs-outlet.html',
|
||||
styleUrls: ['../tabs/tabs.scss'],
|
||||
styleUrl: '../tabs/tabs.scss',
|
||||
})
|
||||
export class CoreTabsOutletComponent extends CoreTabsBaseComponent<CoreTabsOutletTab>
|
||||
implements AfterViewInit, OnChanges, OnDestroy {
|
||||
|
|
|
@ -41,7 +41,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-tabs',
|
||||
templateUrl: 'core-tabs.html',
|
||||
styleUrls: ['tabs.scss'],
|
||||
styleUrl: 'tabs.scss',
|
||||
})
|
||||
export class CoreTabsComponent extends CoreTabsBaseComponent<CoreTabComponent> implements AfterViewInit {
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ import { CoreTimeUtils } from '@services/utils/time';
|
|||
@Component({
|
||||
selector: 'core-timer',
|
||||
templateUrl: 'core-timer.html',
|
||||
styleUrls: ['timer.scss'],
|
||||
styleUrl: 'timer.scss',
|
||||
})
|
||||
export class CoreTimerComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-user-avatar',
|
||||
templateUrl: 'core-user-avatar.html',
|
||||
styleUrls: ['user-avatar.scss'],
|
||||
styleUrl: 'user-avatar.scss',
|
||||
})
|
||||
export class CoreUserAvatarComponent implements OnInit, OnChanges, OnDestroy {
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import { ContextLevel } from '@/core/constants';
|
|||
@Component({
|
||||
selector: 'core-block',
|
||||
templateUrl: 'core-block.html',
|
||||
styleUrls: ['block.scss'],
|
||||
styleUrl: 'block.scss',
|
||||
})
|
||||
export class CoreBlockComponent implements OnChanges, OnDestroy {
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import { CoreNavigator } from '@services/navigator';
|
|||
@Component({
|
||||
selector: 'core-block-only-title',
|
||||
templateUrl: 'core-block-only-title.html',
|
||||
styleUrls: ['only-title-block.scss'],
|
||||
styleUrl: 'only-title-block.scss',
|
||||
})
|
||||
export class CoreBlockOnlyTitleComponent extends CoreBlockBaseComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ import { ContextLevel } from '@/core/constants';
|
|||
@Component({
|
||||
selector: 'core-block-side-blocks-button',
|
||||
templateUrl: 'side-blocks-button.html',
|
||||
styleUrls: ['side-blocks-button.scss'],
|
||||
styleUrl: 'side-blocks-button.scss',
|
||||
})
|
||||
export class CoreBlockSideBlocksButtonComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import { CoreUserTours } from '@features/usertours/services/user-tours';
|
|||
@Component({
|
||||
selector: 'core-block-side-blocks-tour',
|
||||
templateUrl: 'side-blocks-tour.html',
|
||||
styleUrls: ['side-blocks-tour.scss'],
|
||||
styleUrl: 'side-blocks-tour.scss',
|
||||
})
|
||||
export class CoreBlockSideBlocksTourComponent {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import { CoreUserTours } from '@features/usertours/services/user-tours';
|
|||
@Component({
|
||||
selector: 'core-course-course-index-tour',
|
||||
templateUrl: 'course-index-tour.html',
|
||||
styleUrls: ['course-index-tour.scss'],
|
||||
styleUrl: 'course-index-tour.scss',
|
||||
})
|
||||
export class CoreCourseCourseIndexTourComponent {
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ import { ContextLevel } from '@/core/constants';
|
|||
@Component({
|
||||
selector: 'core-course-module-completion-legacy',
|
||||
templateUrl: 'core-course-module-completion-legacy.html',
|
||||
styleUrls: ['module-completion-legacy.scss'],
|
||||
styleUrl: 'module-completion-legacy.scss',
|
||||
})
|
||||
export class CoreCourseModuleCompletionLegacyComponent extends CoreCourseModuleCompletionBaseComponent
|
||||
implements OnInit, OnDestroy {
|
||||
|
|
|
@ -37,7 +37,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-course-module-completion',
|
||||
templateUrl: 'core-course-module-completion.html',
|
||||
styleUrls: ['module-completion.scss'],
|
||||
styleUrl: 'module-completion.scss',
|
||||
})
|
||||
export class CoreCourseModuleCompletionComponent
|
||||
extends CoreCourseModuleCompletionBaseComponent
|
||||
|
|
|
@ -32,7 +32,7 @@ import { CoreSites } from '@services/sites';
|
|||
@Component({
|
||||
selector: 'core-course-module-info',
|
||||
templateUrl: 'core-course-module-info.html',
|
||||
styleUrls: ['course-module-info.scss'],
|
||||
styleUrl: 'course-module-info.scss',
|
||||
})
|
||||
export class CoreCourseModuleInfoComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ import { CoreEventObserver, CoreEvents } from '@singletons/events';
|
|||
@Component({
|
||||
selector: 'core-course-module-navigation',
|
||||
templateUrl: 'core-course-module-navigation.html',
|
||||
styleUrls: ['module-navigation.scss'],
|
||||
styleUrl: 'module-navigation.scss',
|
||||
})
|
||||
export class CoreCourseModuleNavigationComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-course-module',
|
||||
templateUrl: 'core-course-module.html',
|
||||
styleUrls: ['module.scss'],
|
||||
styleUrl: 'module.scss',
|
||||
})
|
||||
export class CoreCourseModuleComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ import { CoreCourseModuleDelegate } from '@features/course/services/module-deleg
|
|||
@Component({
|
||||
selector: 'core-course-unsupported-module',
|
||||
templateUrl: 'core-course-unsupported-module.html',
|
||||
styleUrls: ['unsupported-module.scss'],
|
||||
styleUrl: 'unsupported-module.scss',
|
||||
})
|
||||
export class CoreCourseUnsupportedModuleComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ import type { CoreCourseModuleMainActivityComponent } from '@features/course/cla
|
|||
@Component({
|
||||
selector: 'core-course-format-single-activity',
|
||||
templateUrl: 'core-course-format-single-activity.html',
|
||||
styleUrls: ['single-activity.scss'],
|
||||
styleUrl: 'single-activity.scss',
|
||||
})
|
||||
export class CoreCourseFormatSingleActivityComponent implements OnChanges {
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ import { CoreEnrol, CoreEnrolEnrolmentMethod } from '@features/enrol/services/en
|
|||
@Component({
|
||||
selector: 'page-core-course-summary',
|
||||
templateUrl: 'course-summary.html',
|
||||
styleUrls: ['course-summary.scss'],
|
||||
styleUrl: 'course-summary.scss',
|
||||
})
|
||||
export class CoreCourseSummaryPage implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ import { CoreWait } from '@singletons/wait';
|
|||
@Component({
|
||||
selector: 'page-core-course-index',
|
||||
templateUrl: 'index.html',
|
||||
styleUrls: ['index.scss'],
|
||||
styleUrl: 'index.scss',
|
||||
})
|
||||
export class CoreCourseIndexPage implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ import { CoreUtils } from '@services/utils/utils';
|
|||
@Component({
|
||||
selector: 'page-core-course-module-preview',
|
||||
templateUrl: 'module-preview.html',
|
||||
styleUrls: ['module-preview.scss'],
|
||||
styleUrl: 'module-preview.scss',
|
||||
})
|
||||
export class CoreCourseModulePreviewPage implements OnInit {
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ import { CoreLoadings } from '@services/loadings';
|
|||
@Component({
|
||||
selector: 'core-courses-course-list-item',
|
||||
templateUrl: 'core-courses-course-list-item.html',
|
||||
styleUrls: ['course-list-item.scss'],
|
||||
styleUrl: 'course-list-item.scss',
|
||||
})
|
||||
export class CoreCoursesCourseListItemComponent implements OnInit, OnDestroy, OnChanges {
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ import { CoreWait } from '@singletons/wait';
|
|||
@Component({
|
||||
selector: 'page-core-courses-my',
|
||||
templateUrl: 'my.html',
|
||||
styleUrls: ['my.scss'],
|
||||
styleUrl: 'my.scss',
|
||||
providers: [{
|
||||
provide: PageLoadsManager,
|
||||
useClass: PageLoadsManager,
|
||||
|
|
|
@ -60,7 +60,7 @@ import { CoreQRScan } from '@services/qrscan';
|
|||
@Component({
|
||||
selector: 'core-rich-text-editor',
|
||||
templateUrl: 'core-editor-rich-text-editor.html',
|
||||
styleUrls: ['rich-text-editor.scss'],
|
||||
styleUrl: 'rich-text-editor.scss',
|
||||
})
|
||||
export class CoreEditorRichTextEditorComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ import { CoreLoadings } from '@services/loadings';
|
|||
@Component({
|
||||
selector: 'core-emulator-capture-media',
|
||||
templateUrl: 'capture-media.html',
|
||||
styleUrls: ['capture-media.scss'],
|
||||
styleUrl: 'capture-media.scss',
|
||||
})
|
||||
export class CoreEmulatorCaptureMediaComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ import { CoreAnalytics, CoreAnalyticsEventType } from '@services/analytics';
|
|||
@Component({
|
||||
selector: 'page-core-grades-course',
|
||||
templateUrl: 'course.html',
|
||||
styleUrls: ['course.scss'],
|
||||
styleUrl: 'course.scss',
|
||||
})
|
||||
export class CoreGradesCoursePage implements AfterViewInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import { BehaviorSubject } from 'rxjs';
|
|||
@Component({
|
||||
selector: 'core-h5p-player',
|
||||
templateUrl: 'core-h5p-player.html',
|
||||
styleUrls: ['h5p-player.scss'],
|
||||
styleUrl: 'h5p-player.scss',
|
||||
})
|
||||
export class CoreH5PPlayerComponent implements OnInit, OnChanges, OnDestroy {
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ import { CoreUserSupport } from '@features/user/services/support';
|
|||
@Component({
|
||||
selector: 'core-login-exceeded-attempts',
|
||||
templateUrl: 'exceeded-attempts.html',
|
||||
styleUrls: ['./exceeded-attempts.scss'],
|
||||
styleUrl: './exceeded-attempts.scss',
|
||||
})
|
||||
export class CoreLoginExceededAttemptsComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ import { CoreDomUtils } from '@services/utils/dom';
|
|||
@Component({
|
||||
selector: 'core-login-methods',
|
||||
templateUrl: 'login-methods.html',
|
||||
styleUrls: ['../../login.scss'],
|
||||
styleUrl: '../../login.scss',
|
||||
})
|
||||
export class CoreLoginMethodsComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ import { CoreLoadings } from '@services/loadings';
|
|||
@Component({
|
||||
selector: 'page-core-login-credentials',
|
||||
templateUrl: 'credentials.html',
|
||||
styleUrls: ['../../login.scss'],
|
||||
styleUrl: '../../login.scss',
|
||||
})
|
||||
export class CoreLoginCredentialsPage implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ import { CoreLoadings } from '@services/loadings';
|
|||
@Component({
|
||||
selector: 'page-core-login-email-signup',
|
||||
templateUrl: 'email-signup.html',
|
||||
styleUrls: ['../../login.scss'],
|
||||
styleUrl: '../../login.scss',
|
||||
})
|
||||
export class CoreLoginEmailSignupPage implements OnInit {
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ import { CoreLoadings } from '@services/loadings';
|
|||
@Component({
|
||||
selector: 'page-core-login-reconnect',
|
||||
templateUrl: 'reconnect.html',
|
||||
styleUrls: ['../../login.scss'],
|
||||
styleUrl: '../../login.scss',
|
||||
})
|
||||
export class CoreLoginReconnectPage implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ import { toBoolean } from '@/core/transforms/boolean';
|
|||
@Component({
|
||||
selector: 'core-user-menu-button',
|
||||
templateUrl: 'user-menu-button.html',
|
||||
styleUrls: ['user-menu-button.scss'],
|
||||
styleUrl: 'user-menu-button.scss',
|
||||
})
|
||||
export class CoreMainMenuUserButtonComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import { CoreUserTours } from '@features/usertours/services/user-tours';
|
|||
@Component({
|
||||
selector: 'core-mainmenu-user-menu-tour',
|
||||
templateUrl: 'user-menu-tour.html',
|
||||
styleUrls: ['user-menu-tour.scss'],
|
||||
styleUrl: 'user-menu-tour.scss',
|
||||
})
|
||||
export class CoreMainMenuUserMenuTourComponent {
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue