mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 22:29:38 +00:00
Update to Angular 19
This commit is contained in:
@@ -3,6 +3,7 @@ import { AfterViewInit, Component, ElementRef, HostBinding, ViewChild } from '@a
|
||||
@Component({
|
||||
selector: 'app-browse',
|
||||
templateUrl: './browse.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class BrowseComponent implements AfterViewInit {
|
||||
@HostBinding('class.contents') contents = true
|
||||
|
||||
@@ -8,6 +8,7 @@ import { instrumentToDiff } from 'src-shared/UtilFunctions'
|
||||
@Component({
|
||||
selector: 'app-chart-sidebar-instrument',
|
||||
templateUrl: './chart-sidebar-instrument.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class ChartSidebarInstrumentComponent {
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ import { driveLink } from 'src-shared/UtilFunctions'
|
||||
@Component({
|
||||
selector: 'app-chart-sidebar-menu',
|
||||
templateUrl: './chart-sidebar-menu.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class ChartSidebarMenutComponent implements OnInit {
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ import { ChartPreview } from './render.js'
|
||||
@Component({
|
||||
selector: 'app-chart-sidebar-preview',
|
||||
templateUrl: './chart-sidebar-preview.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class ChartSidebarPreviewComponent implements OnInit, OnDestroy {
|
||||
@HostBinding('class.h-full') height = true
|
||||
|
||||
@@ -13,6 +13,7 @@ import { difficulties, difficultyDisplay, driveLink, hasIssues, instruments, msT
|
||||
@Component({
|
||||
selector: 'app-chart-sidebar',
|
||||
templateUrl: './chart-sidebar.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class ChartSidebarComponent implements OnInit {
|
||||
@HostBinding('class.contents') contents = true
|
||||
|
||||
@@ -10,6 +10,7 @@ import { SelectionService } from '../../../../core/services/selection.service.js
|
||||
@Component({
|
||||
selector: 'tr[app-result-table-row]',
|
||||
templateUrl: './result-table-row.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class ResultTableRowComponent implements OnInit {
|
||||
@Input() song: ChartData[]
|
||||
|
||||
@@ -11,6 +11,7 @@ import { ResultTableRowComponent } from './result-table-row/result-table-row.com
|
||||
@Component({
|
||||
selector: 'app-result-table',
|
||||
templateUrl: './result-table.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class ResultTableComponent implements OnInit {
|
||||
@HostBinding('class.contents') contents = true
|
||||
|
||||
@@ -10,6 +10,7 @@ import { difficulties, difficultyDisplay, drumTypeDisplay, DrumTypeName, drumTyp
|
||||
@Component({
|
||||
selector: 'app-search-bar',
|
||||
templateUrl: './search-bar.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class SearchBarComponent implements OnInit, AfterViewInit {
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ import { DownloadService } from '../../../../core/services/download.service'
|
||||
@Component({
|
||||
selector: 'app-downloads-modal',
|
||||
templateUrl: './downloads-modal.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class DownloadsModalComponent {
|
||||
@HostBinding('class.contents') contents = true
|
||||
|
||||
@@ -10,6 +10,7 @@ import { SelectionService } from '../../../core/services/selection.service'
|
||||
@Component({
|
||||
selector: 'app-status-bar',
|
||||
templateUrl: './status-bar.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class StatusBarComponent {
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ import { themes } from 'src-shared/Settings'
|
||||
@Component({
|
||||
selector: 'app-settings',
|
||||
templateUrl: './settings.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class SettingsComponent implements OnInit {
|
||||
@ViewChild('themeDropdown', { static: true }) themeDropdown: ElementRef
|
||||
|
||||
@@ -3,6 +3,7 @@ import { ChangeDetectorRef, Component, OnInit } from '@angular/core'
|
||||
@Component({
|
||||
selector: 'app-toolbar',
|
||||
templateUrl: './toolbar.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class ToolbarComponent implements OnInit {
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import { SettingsService } from 'src-angular/app/core/services/settings.service'
|
||||
@Component({
|
||||
selector: 'app-tools',
|
||||
templateUrl: './tools.component.html',
|
||||
standalone: false,
|
||||
})
|
||||
export class ToolsComponent {
|
||||
@ViewChild('themeDropdown', { static: true }) themeDropdown: ElementRef
|
||||
|
||||
Reference in New Issue
Block a user