feat(patents): extend patent details with CPC, application info, claims and status
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
This commit is contained in:
@@ -6,20 +6,6 @@
|
||||
<p class="message">Keine Patente gefunden.</p>
|
||||
} @else {
|
||||
<div class="patents-container">
|
||||
<div class="patents-summary">
|
||||
<p class="summary-line">
|
||||
<span class="summary-value">{{ filteredPatents.length }}</span>
|
||||
<span class="summary-label"> Patente</span>
|
||||
</p>
|
||||
<p class="summary-line">
|
||||
<span class="summary-value">{{ getEpoCount() }}</span>
|
||||
<span class="summary-label"> EPO</span>
|
||||
</p>
|
||||
<p class="summary-line">
|
||||
<span class="summary-value">{{ getUsptoCount() }}</span>
|
||||
<span class="summary-label"> USPTO</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@if (showDetail && selectedPatent) {
|
||||
<button class="back-btn" (click)="showDetail = false">
|
||||
@@ -69,6 +55,60 @@
|
||||
</ul>
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (selectedPatent.cpc.length > 0) {
|
||||
<div class="detail-section">
|
||||
<h4>Klassifikation (CPC)</h4>
|
||||
<ul class="tag-list tag-list--compact">
|
||||
@for (cpc of selectedPatent.cpc; track cpc) {
|
||||
<li class="tag">{{ cpc }}</li>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (selectedPatent.application_number) {
|
||||
<div class="detail-section">
|
||||
<h4>Anmeldungsnummer</h4>
|
||||
<p>{{ selectedPatent.application_number }}</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (selectedPatent.application_date) {
|
||||
<div class="detail-section">
|
||||
<h4>Anmeldedatum</h4>
|
||||
<p>{{ formatDate(selectedPatent.application_date) }}</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (selectedPatent.kind) {
|
||||
<div class="detail-section">
|
||||
<h4>Patentart</h4>
|
||||
<p>{{ selectedPatent.kind }}</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (selectedPatent.application_type) {
|
||||
<div class="detail-section">
|
||||
<h4>Anmeldungstyp</h4>
|
||||
<p>{{ selectedPatent.application_type }}</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (selectedPatent.number_of_claims) {
|
||||
<div class="detail-section">
|
||||
<h4>Anzahl Ansprüche</h4>
|
||||
<p>{{ selectedPatent.number_of_claims }}</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (selectedPatent.status) {
|
||||
<div class="detail-section">
|
||||
<h4>Status</h4>
|
||||
<p>{{ selectedPatent.status }}</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
</div>
|
||||
}
|
||||
|
||||
@@ -148,8 +188,24 @@
|
||||
</div>
|
||||
</div>
|
||||
} @else {
|
||||
<div class="patent-detail empty">
|
||||
<p>Klicke auf ein Patent für Details.</p>
|
||||
<div class="patent-detail overview">
|
||||
<p class="overview-title">Patentübersicht</p>
|
||||
<p class="overview-subtitle">Alle Patente dieser Person im Überblick.</p>
|
||||
<div class="overview-stats">
|
||||
<div class="overview-stat">
|
||||
<span class="overview-value">{{ patents.length }}</span>
|
||||
<span class="overview-label">Patente</span>
|
||||
</div>
|
||||
<div class="overview-stat">
|
||||
<span class="overview-value">{{ getEpoCount() }}</span>
|
||||
<span class="overview-label">EPO</span>
|
||||
</div>
|
||||
<div class="overview-stat">
|
||||
<span class="overview-value">{{ getUsptoCount() }}</span>
|
||||
<span class="overview-label">USPTO</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="overview-hint"> Wähle links ein Patent aus, um die Details zu sehen.</p>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
@@ -10,27 +10,6 @@
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.patents-summary {
|
||||
margin-bottom: 8px;
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
|
||||
.summary-line {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.summary-label {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.summary-value {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
.sort-control {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -154,6 +133,60 @@
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
&.overview {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
|
||||
.overview-title {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.overview-subtitle {
|
||||
font-size: 13px;
|
||||
color: #888;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.overview-stats {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 10px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.overview-stat {
|
||||
background: white;
|
||||
border: 1px solid #e0e0e0;
|
||||
border-radius: 8px;
|
||||
padding: 12px 8px;
|
||||
text-align: center;
|
||||
|
||||
.overview-value {
|
||||
display: block;
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.overview-label {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
color: #888;
|
||||
margin-top: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.overview-hint {
|
||||
font-size: 12px;
|
||||
color: #aaa;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 0 0 16px 0;
|
||||
font-size: 16px;
|
||||
@@ -239,7 +272,7 @@
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
padding: 0;
|
||||
align-self: flex-start; // NEU
|
||||
align-self: flex-start;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
|
||||
Reference in New Issue
Block a user