feat: plugins v1.7
This commit is contained in:
@@ -23,6 +23,7 @@ import {
|
||||
lucidePalette,
|
||||
lucidePackage,
|
||||
lucideSettings,
|
||||
lucideTerminal,
|
||||
lucideUsers,
|
||||
lucideBan,
|
||||
lucideShield
|
||||
@@ -46,6 +47,7 @@ import { BansSettingsComponent } from './bans-settings/bans-settings.component';
|
||||
import { PermissionsSettingsComponent } from './permissions-settings/permissions-settings.component';
|
||||
import { DebuggingSettingsComponent } from './debugging-settings/debugging-settings.component';
|
||||
import { UpdatesSettingsComponent } from './updates-settings/updates-settings.component';
|
||||
import { LocalApiSettingsComponent } from './local-api-settings/local-api-settings.component';
|
||||
import { DataSettingsComponent } from './data-settings/data-settings.component';
|
||||
import { THIRD_PARTY_LICENSES, type ThirdPartyLicense } from './third-party-licenses';
|
||||
import {
|
||||
@@ -67,6 +69,7 @@ import {
|
||||
PluginManagerComponent,
|
||||
VoiceSettingsComponent,
|
||||
UpdatesSettingsComponent,
|
||||
LocalApiSettingsComponent,
|
||||
DataSettingsComponent,
|
||||
DebuggingSettingsComponent,
|
||||
ServerSettingsComponent,
|
||||
@@ -86,6 +89,7 @@ import {
|
||||
lucidePalette,
|
||||
lucidePackage,
|
||||
lucideSettings,
|
||||
lucideTerminal,
|
||||
lucideUsers,
|
||||
lucideBan,
|
||||
lucideShield
|
||||
@@ -127,6 +131,7 @@ export class SettingsModalComponent {
|
||||
{ id: 'notifications', label: 'Notifications', icon: 'lucideBell' },
|
||||
{ id: 'voice', label: 'Voice & Audio', icon: 'lucideAudioLines' },
|
||||
{ id: 'updates', label: 'Updates', icon: 'lucideDownload' },
|
||||
{ id: 'localApi', label: 'Local API', icon: 'lucideTerminal' },
|
||||
{ id: 'data', label: 'Data', icon: 'lucideDownload' },
|
||||
{ id: 'debugging', label: 'Debugging', icon: 'lucideBug' }
|
||||
];
|
||||
@@ -349,6 +354,12 @@ export class SettingsModalComponent {
|
||||
setTimeout(() => this.modal.close(), 200);
|
||||
}
|
||||
|
||||
closeForExternalNavigation(): void {
|
||||
this.showThirdPartyLicenses.set(false);
|
||||
this.animating.set(false);
|
||||
this.modal.close();
|
||||
}
|
||||
|
||||
openThirdPartyLicenses(): void {
|
||||
this.showThirdPartyLicenses.set(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user