chore: update Angular cache with new TypeScript definition files
This commit is contained in:
@@ -51,7 +51,13 @@
|
||||
[ngClass]="activeView() === 'graph' ? 'btn-primary' : 'btn-ghost'"
|
||||
aria-label="Afficher la vue graphe"
|
||||
>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-text-muted" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" /></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="h-6 w-6 text-text-muted">
|
||||
<path d="M5 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4z" />
|
||||
<path d="M12 3a2 2 0 1 1 0 4 2 2 0 0 1 0-4z" />
|
||||
<path d="M19 16a2 2 0 1 1 0 4 2 2 0 0 1 0-4z" />
|
||||
<path d="M5.88 9.32l4.24 2.46" />
|
||||
<path d="M11.3 5.7l5.4 8.6" />
|
||||
</svg>
|
||||
</button>
|
||||
<button
|
||||
(click)="setView('calendar')"
|
||||
@@ -510,7 +516,7 @@
|
||||
<div class="min-h-0 px-4 py-6 note-content-area lg:flex-1 lg:overflow-y-auto lg:px-8">
|
||||
@if (activeView() === 'graph') {
|
||||
<div class="h-[calc(100vh-180px)] lg:h-[calc(100vh-140px)] rounded-xl border border-border bg-card p-2">
|
||||
<app-graph-view [graphData]="graphData()" (nodeSelected)="selectNote($event)"></app-graph-view>
|
||||
<app-graph-view [graphData]="graphData()" (nodeSelected)="selectNoteFromGraph($event)"></app-graph-view>
|
||||
</div>
|
||||
} @else {
|
||||
@if (selectedNote(); as note) {
|
||||
|
||||
@@ -499,6 +499,11 @@ export class AppComponent implements OnDestroy {
|
||||
}
|
||||
}
|
||||
|
||||
selectNoteFromGraph(noteId: string): void {
|
||||
this.selectNote(noteId);
|
||||
this.activeView.set('files');
|
||||
}
|
||||
|
||||
handleTagClick(tagName: string): void {
|
||||
const normalized = tagName.replace(/^#/, '').trim();
|
||||
if (!normalized) {
|
||||
|
||||
@@ -25,8 +25,12 @@ import { NoteIndexService } from '../../services/note-index.service';
|
||||
type="button"
|
||||
(click)="toggleOptionsPanel()"
|
||||
class="md:hidden absolute bottom-4 right-4 bg-blue-600 hover:bg-blue-700 text-white p-3 rounded-full shadow-lg transition-colors z-10">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4" />
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="h-6 w-6">
|
||||
<path d="M5 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4z" />
|
||||
<path d="M12 3a2 2 0 1 1 0 4 2 2 0 0 1 0-4z" />
|
||||
<path d="M19 16a2 2 0 1 1 0 4 2 2 0 0 1 0-4z" />
|
||||
<path d="M5.88 9.32l4.24 2.46" />
|
||||
<path d="M11.3 5.7l5.4 8.6" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user