refactor(ui): unify 14 list views into a single ListFactory component

- ListFactory.ts를 생성하여 중복되는 테이블 생성, 정렬, 필터 로직을 공통 컴포넌트화

- 14개의 ListView.ts 파일들을 ListFactory를 호출하는 설정 객체 형태로 리팩토링

- TypeScript 컴파일 에러(타입 불일치 및 누락된 속성) 수정 완료
This commit is contained in:
2026-05-26 19:47:01 +09:00
parent 2c67037fc4
commit bf7fb0ffe6
19 changed files with 617 additions and 1589 deletions

View File

@@ -75,7 +75,7 @@ export function renderSwDashboard(container: HTMLElement) {
}
function isSWExpiring(sw: any) {
const expiry = sw[ASSET_SCHEMA.EXPIRY_DATE.key];
const expiry = sw[ASSET_SCHEMA.EXPIRED_DATE.key];
if (!expiry) return false;
const endMs = new Date(normalizeDate(expiry)).getTime();
const diffDays = (endMs - Date.now()) / (1000 * 60 * 60 * 24);