import { DeesElement, customElement, html, css, cssManager, property, type TemplateResult, } from '@design.estate/dees-element'; import './sz-stat-card.js'; declare global { interface HTMLElementTagNameMap { 'sz-service-detail-view': SzServiceDetailView; } } export interface IServiceDetail { name: string; status: 'running' | 'stopped' | 'starting' | 'error'; image: string; port: number; domain: string | null; containerId: string; created: string; updated: string; registry: string; repository: string; tag: string; } export interface IServiceStats { cpu: number; memory: string; memoryLimit: string; networkIn: string; networkOut: string; } export interface IServiceBackup { id: string; createdAt: string; size: string; type: string; } export interface ILogEntry { timestamp: string; message: string; level?: 'info' | 'warn' | 'error'; } @customElement('sz-service-detail-view') export class SzServiceDetailView extends DeesElement { public static demo = () => html`