261021_01_ENH: 1차 마이그레이션 완료

This commit is contained in:
2026-10-21 16:08:57 +09:00
parent 964269cd82
commit f0c9b02eae
313 changed files with 11557 additions and 344 deletions

View File

@@ -10,6 +10,12 @@ Before each related task, read the current contents of every matching reference
If a task spans multiple scopes, read every matching reference. Do not assume remembered content is current.
## Project Lifecycle (2026-10-21)
- The second migration phase is closed by user instruction. Migration handoff and progress documents have been retired; durable project rules and validation procedures live in `.agent/references/repository-rules.md`.
- Phase closure does not announce launch or certify unexecuted live verification. Treat the application as unlaunched until the user explicitly announces launch.
- Work on subsequent changes only within the user's requested scope; do not automatically resume the retired migration plan.
## Harness Workflow
- `AGENTS.md` and `CLAUDE.md` are generated outputs. Never edit them directly.

View File

@@ -7,3 +7,39 @@
- Consume shared frontend behavior from `@kri/common` and the KRI UI Registry instead of copying provider implementations into this repository.
- `AGENTS.md` and `CLAUDE.md` are central-harness generated outputs. Never edit them directly; update `.agent/profile.yml` or `.agent/project.md` and recompose.
- Run `npm run typecheck` and `npm run build` after relevant source or configuration changes.
## KART basic frontend wiring
- New backend only; development front 4014/backend 4015/api/v1. Use published @kri/common HTTP and persistent hydratedAtom plus TanStack Query; do not add axios or duplicate common storage/auth helpers. Repository package.json and lockfile are authoritative for versions. Add dependencies only after user approval; preserve existing chart, drag-and-drop and registry integrations.
- Next stores the 24-hour token in an HttpOnly cookie and returns validated LoginUser only. Secure for ENV prod/production. Backend logout/session endpoints do not exist: Next logout clears its cookie, client auth and query cache. BFF accepts only fixed implemented project reads and whitelisted query fields; never trust browser role/id headers or send API keys to the browser.
- Basic routes are /, /login, /logout and project pages without query parameters (/Report/Current, /Report/Quota, /Report/Tabulation, /Report/Crosstab, /Management/Derived, /Management/Exim). The selected project {projectType, pkey} lives in the user-scoped persistent atom `useSelectedProject` (localStorage, like legacy ptokenState); home, login and logout clear it, and old `?projectType=0|1&pkey=rawKey` links are stored and stripped. Preserve pkey case and use projectType+pkey in query keys and BFF paths, with current user id/role/team in query keys. Runtime-validate data, use existing UI components, retain raw server count/LOI semantics and display-only padded date cleanup. Keep loading/error/empty/retry states.
- Basic progress uses type/loi/day/screen; date filters affect type/loi/screen, never day, matching the server. Logging is a best-effort /log/visit call with server cookie identity, no /log/site HTTP.
- The second migration phase is closed. Until the user explicitly announces launch, this application is unlaunched and old External token compatibility is unnecessary. The user performs every operation that writes to the shared database (live login, bookmark/derived saves, imports, share issuance and External login) and live Excel generation checks. No shared DB calls in local validation. Phase closure does not certify unexecuted live checks.
- ReportMember/URL Copy/Page Copy roles are 9001/9002/9003. External login replaces the prior identity; validate the server-returned user and link together. Keep the link's project and page scope, disable project-list/summary reads, and use the link title. Page Copy has no GNB menus; URL Copy has only the four report menus. Hide logo navigation, Logout, project selection, Copy and bookmark writes. Bookmark reads and aggregate/Quota Excel remain allowed; server scope enforcement is authoritative.
- Export/Import APIs intentionally have no ordinary-user role restriction. Their menu restriction (userRole === 1001 || userTeam === "R701") is temporary UX policy. Do not ask the server to add a role restriction; External access remains blocked by its interceptor.
## KART report streaming UI
- Tabulation/Crosstab use published common streamPost and TanStack Query. Disable global loading for long report mutations and retain inline progress/cancel. Forward NDJSON without buffering; validate ordered positions, per-item errors and terminal counts. Preserve partial results on cancellation or failure.
- Ordinary tabulation retains the legacy separate TABULATION_0 characteristic request, then one selected-index batch. Keep backend filter/banner/options contracts; the screen shows the legacy default display (percent cells, N on the base line) with no N/% toggle. Render server merge metadata and statistic/word results without reaggregation. Preserve project/user scope during navigation and abort old requests on scope changes.
## KART UI and data compatibility
- Preserve existing KART UI, colors and workflows; simple CSS is acceptable when the rendered result matches. Do not add controls or features absent from the original without approval. Legacy source is `../KART_FRONT/Report_React`; current backend contracts come from `../kart-server` controller, DTO and service sources, not historical migration notes or mocks.
- Reuse project components before adding primitives. Do not overwrite locally edited registry copies or upgrade KriUiRegistry without approval. Use self-hosted Noto Sans/Noto Sans KR (`src/app/fonts.css`, `public/fonts`) and existing `globals.css` tokens; charts and word clouds wait for `useChartFont` readiness. Phone mode uses `(pointer: coarse) and (max-width: 767px)`.
- Preserve empty/loading/error/retry states. Global loading uses `LoadingOverlayAdapter`; long statistics streams and Quota queries use inline loading with `meta.ignoreGlobalLoading`. Keep dnd-kit `DragOverlay` dropAnimation=null.
- Display server count/percent/statistic strings without browser reaggregation or rounding. The legacy default shows percent in ordinary cells and N on the base line (TOTAL row, or TOTAL column when transposed). Preserve the empty top-left result cell and server merge metadata; do not fill it with the result title.
- Excel must preserve the existing workbook layout, cell types, merges, sheet ordering, links and images. Send `percentExact`/`statisticExact` for numeric cells, count strings for N, and the hidden TABULATION_0 table first. Use existing `report-excel.ts`, `download-name.ts` and download BFF helpers. Error responses must not become downloaded files. Use FormData/postForm without manually setting multipart boundaries.
- BOOKMARK_JSON is shared with legacy KART. Keep INDEX, BANNER, FILTER_CONDITION, REAL_FILTER_CONDITION, FILTER_ARRAY and OPTION semantics; `lib/bookmark-json.ts` owns the conversion. Preserve untouched filter strings and existing option keys. Tabulation bookmark application clears results without running; Crosstab reaggregates. Saving a bookmark preserves current results. Bookmark update/delete ownership remains server-enforced.
- Derived variables use single|multi|scale|num and preserve DERIVEDJSON field semantics. Do not expose recalculation BFF routes. Save responses are text and use expectText=true; invalidate question metadata after writes. Preserve the server role/team checks.
## Validation and local safety
- Do not start or stop the user's frontend 4014 or backend 4015. Migration test files and their npm scripts were removed at the user's request. Do not invoke retired test commands or substitute real backend calls. If runtime validation needs a new mock harness, discuss its scope first; always stop owned validation processes afterwards.
- For relevant source changes run `npm run typecheck`, changed-file `npx eslint <files>`, and `npm run build`. Do not format the entire repository. Known whole-project lint errors in unchanged KriEditorWysiwyg.tsx must be distinguished from new failures.
- Verify visible UI with Playwright and the installed Chrome (`channel: "chrome"`), normally at 1920x1080, plus relevant smaller widths. Check bounding boxes and visibility, not DOM existence alone. HTTP tests do not prove visual equivalence or real-data correctness.
- Keep temporary scripts, screenshots and extracted Excel comparisons outside the repository in the OS temporary directory; remove them when finished. Do not capture real free-text responses. Never retain credentials or real data in reports or source control.
- Preserve encoding, BOM and line endings. Read Korean text explicitly as UTF-8 in PowerShell; verify bytes before treating terminal mojibake as file corruption. After edits check UTF-8 validity, BOM, line endings, U+FFFD and unrelated changes. Run `.agent/tools/check-encoding.ps1` when present.
- `useSearchParams` consumers require Suspense. Common HTTP parses JSON content types; use expectText=true for text responses. Do not remove `.next/dev/types` while the user's dev server is running; investigate stale generated route references without disrupting that server.
- Harness project ID is `kart-front-next`. Use the workspace AgentHarnessBase `scripts/agent-harness.cmd`: plan, compose, then verify --project kart-front-next after routing or composed-source changes. For reference-only changes with unchanged routing, verify is sufficient. Never edit AGENTS.md or CLAUDE.md directly.

View File

@@ -6,4 +6,4 @@ NEXT_PUBLIC_STORE_IV=change-this-iv-16
# 환경별 값 (.env.local / .env.development / .env.production)
NEXT_PUBLIC_ENV=local
ENV=local
API_SERVER=http://localhost:8080
API_SERVER=http://localhost:4015/api/v1

View File

@@ -265,6 +265,15 @@ Before each related task, read the current contents of every matching reference,
If a task spans multiple scopes, read every matching reference. Generated files under `.agent-harness/references/` are read-only copies; edit KriFrontCommon's `.agent/consumer.md` or `.agent/consumer-references/` and recompose instead.
## HTTP Streaming
- `@kri/common/http` HTTP clients expose streamGet/streamPost/streamPut/streamPatch/streamDel, returning HttpStreamResponse (status, statusText, headers, url, nullable body).
- Streaming shares ordinary authentication, URL, body and HTTP-error policy. Read body incrementally; no automatic JSON/NDJSON/SSE parsing or reconnect is performed.
- Streaming options accept an external AbortSignal. Caller cancellation raises AbortError without an HTTP error notification. Cancel the body when it will not be consumed.
- timeoutMs covers connection/headers (and an HTTP error body); idleTimeoutMs covers inactivity after successful headers and resets on consumed chunks. Both default to the client's defaultTimeoutMs (60 seconds by default), and 0 disables that timer for streaming only.
- Mid-stream transport/time-out errors reach the body reader. HTTP error statuses use existing HttpError handlers before a stream is returned. A 204 response has body=null.
- See HTTP_STREAMING.md for examples and node --test tests/http-stream.test.mjs for focused validation after npm run build.
## KriUiRegistry Consumer Contract
When implementing or changing frontend UI, use this order:
@@ -274,6 +283,11 @@ When implementing or changing frontend UI, use this order:
3. Otherwise, prefer a suitable shadcn/ui component.
4. Create a custom component only when the preceding options cannot meet the requirement safely.
### KriAutoComplete Search Scroll
- `kri-auto-complete` exposes `resetScrollOnSearch?: boolean` on `KriSingleSelect`, `KriMultiSelect`, and `MultiSelect`. It defaults to `false`, preserving existing behavior.
- When enabled, a search value change (including clearing it) resets the option list scroll to the top on the next animation frame in both `filter` and `inputOnly` modes. Async result updates alone do not trigger another reset.
### Required Shared References
Before each related task, read the current contents of every matching reference, even if it was read earlier in the session.
@@ -297,6 +311,12 @@ Before each related task, read the current contents of every matching reference
If a task spans multiple scopes, read every matching reference. Do not assume remembered content is current.
## Project Lifecycle (2026-10-21)
- The second migration phase is closed by user instruction. Migration handoff and progress documents have been retired; durable project rules and validation procedures live in `.agent/references/repository-rules.md`.
- Phase closure does not announce launch or certify unexecuted live verification. Treat the application as unlaunched until the user explicitly announces launch.
- Work on subsequent changes only within the user's requested scope; do not automatically resume the retired migration plan.
## Harness Workflow
- `AGENTS.md` and `CLAUDE.md` are generated outputs. Never edit them directly.

View File

@@ -1,6 +1,6 @@
# KART
KART 보고서 시스템
KART 설문 데이터 시각화 시스템
## 실행
@@ -36,8 +36,32 @@ npm run build
## Agent Harness
- 프로젝트 ID: `kart-front`
- 프로젝트 ID: `kart-front-next`
- 프로젝트 유형: `internal-service`
- 권위 원본: `.agent/profile.yml`, `.agent/project.md`, `.agent/references/*.md`
`AGENTS.md`와 `CLAUDE.md`는 중앙 Agent Harness가 합성합니다. 두 파일을 직접 수정하지 않습니다.
## 기본 업무 화면
- 로그인/로그아웃, 프로젝트 검색·선택, 최신 6개, `/Report/Current?projectType=0&pkey=...` 진행 현황을 연결했다. 기본 포트는 프런트 4014, 서버 API는 http://localhost:4015/api/v1이다. 운영 API_SERVER는 실제 배포 주소로 별도 설정해야 한다.
- 브라우저는 `/api/login`, `/api/logout`, `/api/project/...`, `/api/log/visit`만 호출하며 서버 API Key를 갖지 않는다. Next 서버가 로그인 accessToken을 24시간 HttpOnly/SameSite=Lax 쿠키에 저장하고 검증한 사용자 필드만 브라우저로 반환한다. ENV=prod/production은 Secure 쿠키다. 백엔드 logout/session API는 호출하지 않고 Next에서 쿠키를 삭제한다.
- 공용 @kri/common 0.19.1 HTTP와 persistent atom의 hydratedAtom, 기존 앱 셸·UI 및 TanStack Query를 사용한다. 캐시 키는 사용자 id/role/team과 프로젝트 유형·원문 PKEY를 포함하고, 로그인/로그아웃 시 캐시를 비운다. 데이터는 30초 staleTime, 수동 새로고침을 지원한다. 브라우저와 서버 응답은 런타임 검증하며 표시 단계에서만 레이블/날짜를 정리한다.
- 현황은 응답자 현황, 서버가 반환한 LOI 문자열, 일별 Total 막대·완료/스크린/쿼터 선, 문항별 스크린 표를 표시한다. 날짜 범위는 실제 날짜·양끝·순서를 검증하고 type/loi/screen에만 전달한다. daily는 기존처럼 전체 기간이며 일자 선택으로 상세 조회한다. 빈 결과/오류/재시도와 기본 반응형을 포함한다. 기존 화면과 픽셀 수준의 시각 동일성은 아직 검수하지 않았다.
- 쿼터·북마크·파생변수 관리·import/export·공유/External UI는 다음 구현 범위다. 현재 기본 화면을 전체 프런트 구현 완료로 간주하지 않는다. 실데이터 구/신 결과 및 실제 Excel 비교는 사용자 결정에 따라 전체 프런트 연결 후 수행한다.
## 기본 기능 검증
- npm run typecheck
- npm run build
- 변경 파일 lint는 통과했다. 전체 npm run lint는 기존 수정하지 않은 KriEditorWysiwyg.tsx의 React Compiler memoization/refs 오류 5개로 실패한다. 공용 에디터 수정은 이번 범위에 포함하지 않았다.
- 브라우저 UI 자동 검증은 Windows 도구가 현재 URL을 확인하지 못해 중단됐다. 합성 API 기반 HTTP 통합 검증과 빌드는 통과했지만 실제 클릭·새로고침·뷰포트별 화면 검수는 완료하지 못했다.
- 지침 검증은 새 프로젝트 ID kart-front-next로 실행했다. 기존 AGENTS.md가 생성 원본과 불일치(stale)하여 전체 하네스 검증은 통과하지 못했으며, 이번에 생성 지침 파일을 덮어쓰지는 않았다.
## 일반 집계·교차표
- /Report/Tabulation, /Report/Crosstab에서 문항 선택·순서 변경, 중첩 필터, 배너 그룹과 보기 묶음을 설정한다. 일반 집계는 기존처럼 표본의 특성을 먼저 요청하고 선택 문항 배열을 집계한다.
- 공용 streamPost와 TanStack Query를 사용한다. Next 프록시는 응답을 버퍼링하지 않고 전달하며 결과를 요청 순서대로 표시한다. 일부 문항 오류, 중단, 잘린 응답을 구분하고 도착한 결과는 유지한다. 스트림은 전역 로딩에서 제외하여 결과 조회와 취소가 가능하다.
- N/%/함께 보기는 서버가 반환한 값으로 셀과 Total에 함께 적용하며 재요청하지 않는다. 병합 셀·통계·주관식 단어 결과를 표시한다. 쿼터 및 Excel 출력은 이번 단계에 포함하지 않는다.
- 타입 검사·17개 테스트·운영 빌드와 격리 HTTP 통합 검증을 수행한다. 통합 검증은 최초 결과 즉시 전달, 문항 오류 후 계속 처리, 주관식·병합 메타데이터 및 취소의 업스트림 전달을 확인한다. 브라우저 클릭·시각 검수와 실데이터 비교는 별도이며 공유 DB는 호출하지 않는다.

211
package-lock.json generated
View File

@@ -8,7 +8,10 @@
"name": "kart-front",
"version": "0.1.0",
"dependencies": {
"@kri/common": "0.19.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@kri/common": "^0.19.1",
"@tanstack/react-query": "latest",
"@tanstack/react-table": "^8.21.3",
"@tiptap/extension-color": "^3.31.4",
@@ -30,8 +33,12 @@
"clsx": "latest",
"cmdk": "^1.1.1",
"cn": "^0.4.0",
"d3-cloud": "^1.2.9",
"date-fns": "^4.4.0",
"dompurify": "^3.4.16",
"echarts": "^6.1.0",
"echarts-for-react": "^3.0.6",
"embla-carousel-react": "^8.6.0",
"jotai": "latest",
"lucide-react": "latest",
"next": "latest",
@@ -46,12 +53,14 @@
},
"devDependencies": {
"@tailwindcss/postcss": "latest",
"@types/d3-cloud": "^1.2.9",
"@types/node": "latest",
"@types/react": "latest",
"@types/react-dom": "latest",
"babel-plugin-react-compiler": "latest",
"eslint": "^9",
"eslint-config-next": "latest",
"playwright": "^1.64.1",
"tailwindcss": "latest",
"tw-animate-css": "latest",
"typescript": "^5"
@@ -316,6 +325,59 @@
"integrity": "sha512-lwYN/vDPeNRULcepoE/LO2Pgx+7/RV+S9ARfbc9lr2DtGkOD7pAiruHvbR1RX3Qyf6ja47EWJDMsNK5vK08DJg==",
"license": "MIT"
},
"node_modules/@dnd-kit/accessibility": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/@dnd-kit/accessibility/-/accessibility-3.1.1.tgz",
"integrity": "sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw==",
"license": "MIT",
"dependencies": {
"tslib": "^2.0.0"
},
"peerDependencies": {
"react": ">=16.8.0"
}
},
"node_modules/@dnd-kit/core": {
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/@dnd-kit/core/-/core-6.3.1.tgz",
"integrity": "sha512-xkGBRQQab4RLwgXxoqETICr6S5JlogafbhNsidmrkVv2YRs5MLwpjoF2qpiGjQt8S9AoxtIV603s0GIUpY5eYQ==",
"license": "MIT",
"dependencies": {
"@dnd-kit/accessibility": "^3.1.1",
"@dnd-kit/utilities": "^3.2.2",
"tslib": "^2.0.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
}
},
"node_modules/@dnd-kit/sortable": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/@dnd-kit/sortable/-/sortable-10.0.0.tgz",
"integrity": "sha512-+xqhmIIzvAYMGfBYYnbKuNicfSsk4RksY2XdmJhT+HAC01nix6fHCztU68jooFiMUB01Ky3F0FyOvhG/BZrWkg==",
"license": "MIT",
"dependencies": {
"@dnd-kit/utilities": "^3.2.2",
"tslib": "^2.0.0"
},
"peerDependencies": {
"@dnd-kit/core": "^6.3.0",
"react": ">=16.8.0"
}
},
"node_modules/@dnd-kit/utilities": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/@dnd-kit/utilities/-/utilities-3.2.2.tgz",
"integrity": "sha512-+MKAJEOfaBe5SmV6t34p80MMKhjvUz0vRrvVJbPT0WElzaOJ/1xs+D+KDv+tD/NE5ujfrChEcshd4fLn0wpiqg==",
"license": "MIT",
"dependencies": {
"tslib": "^2.0.0"
},
"peerDependencies": {
"react": ">=16.8.0"
}
},
"node_modules/@emnapi/core": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",
@@ -1149,9 +1211,9 @@
}
},
"node_modules/@kri/common": {
"version": "0.19.0",
"resolved": "https://gitea.kric.com/api/packages/KRi/npm/%40kri%2Fcommon/-/0.19.0/common-0.19.0.tgz",
"integrity": "sha512-PIYoqxm+Cvfp+92oQ4GAwrCzg6BpPPg7vu6PxsTzuAk00M8V1m6uMK/plJijoNiik20sDy5RS/0/s6o4SRMOUw==",
"version": "0.19.1",
"resolved": "https://gitea.kric.com/api/packages/KRi/npm/%40kri%2Fcommon/-/0.19.1/common-0.19.1.tgz",
"integrity": "sha512-AbCeomCvzF3CoogRNvM2eBT3AgL0SR5a3PS1W4MHh0W9gs/J5Fkt44/uXRc2ouiyT1xhjOmOwp9JJSp1vDVRnQ==",
"license": "UNLICENSED",
"dependencies": {
"clsx": "^2.1.1",
@@ -3856,6 +3918,23 @@
"tslib": "^2.4.0"
}
},
"node_modules/@types/d3": {
"version": "3.5.53",
"resolved": "https://registry.npmjs.org/@types/d3/-/d3-3.5.53.tgz",
"integrity": "sha512-8yKQA9cAS6+wGsJpBysmnhlaaxlN42Qizqkw+h2nILSlS+MAG2z4JdO6p+PJrJ+ACvimkmLJL281h157e52psQ==",
"dev": true,
"license": "MIT"
},
"node_modules/@types/d3-cloud": {
"version": "1.2.9",
"resolved": "https://registry.npmjs.org/@types/d3-cloud/-/d3-cloud-1.2.9.tgz",
"integrity": "sha512-5EWJvnlCrqTThGp8lYHx+DL00sOjx2HTlXH1WRe93k5pfOIhPQaL63NttaKYIbT7bTXp/USiunjNS/N4ipttIQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/d3": "^3"
}
},
"node_modules/@types/estree": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
@@ -5136,6 +5215,21 @@
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
"license": "MIT"
},
"node_modules/d3-cloud": {
"version": "1.2.9",
"resolved": "https://registry.npmjs.org/d3-cloud/-/d3-cloud-1.2.9.tgz",
"integrity": "sha512-leL1GLneC9ZQtnV+6TGWrNlGfI1WX7S2arcTv2vae12DaXo5wjm6GBCkskXbrDlyOymd/A75Pyj1H37MW4BZ/Q==",
"license": "BSD-3-Clause",
"dependencies": {
"d3-dispatch": "^1.0.3"
}
},
"node_modules/d3-dispatch": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.6.tgz",
"integrity": "sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA==",
"license": "BSD-3-Clause"
},
"node_modules/damerau-levenshtein": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz",
@@ -5321,6 +5415,36 @@
"node": ">= 0.4"
}
},
"node_modules/echarts": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/echarts/-/echarts-6.1.0.tgz",
"integrity": "sha512-q0yaFPggC9FUdsWH4blavRWFmxdrIodbkoKNAjJudAI6CA9gNPxHtV2RcZNEepZVlk4yvBYkOkbk6HIVpIyHZA==",
"license": "Apache-2.0",
"dependencies": {
"tslib": "2.3.0",
"zrender": "6.1.0"
}
},
"node_modules/echarts-for-react": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/echarts-for-react/-/echarts-for-react-3.0.6.tgz",
"integrity": "sha512-4zqLgTGWS3JvkQDXjzkR1k1CHRdpd6by0988TWMJgnvDytegWLbeP/VNZmMa+0VJx2eD7Y632bi2JquXDgiGJg==",
"license": "MIT",
"dependencies": {
"fast-deep-equal": "^3.1.3",
"size-sensor": "^1.0.1"
},
"peerDependencies": {
"echarts": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0",
"react": "^15.0.0 || >=16.0.0"
}
},
"node_modules/echarts/node_modules/tslib": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz",
"integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==",
"license": "0BSD"
},
"node_modules/electron-to-chromium": {
"version": "1.5.452",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.452.tgz",
@@ -5328,6 +5452,34 @@
"dev": true,
"license": "ISC"
},
"node_modules/embla-carousel": {
"version": "8.6.0",
"resolved": "https://registry.npmjs.org/embla-carousel/-/embla-carousel-8.6.0.tgz",
"integrity": "sha512-SjWyZBHJPbqxHOzckOfo8lHisEaJWmwd23XppYFYVh10bU66/Pn5tkVkbkCMZVdbUE5eTCI2nD8OyIP4Z+uwkA==",
"license": "MIT"
},
"node_modules/embla-carousel-react": {
"version": "8.6.0",
"resolved": "https://registry.npmjs.org/embla-carousel-react/-/embla-carousel-react-8.6.0.tgz",
"integrity": "sha512-0/PjqU7geVmo6F734pmPqpyHqiM99olvyecY7zdweCw+6tKEXnrE90pBiBbMMU8s5tICemzpQ3hi5EpxzGW+JA==",
"license": "MIT",
"dependencies": {
"embla-carousel": "8.6.0",
"embla-carousel-reactive-utils": "8.6.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
}
},
"node_modules/embla-carousel-reactive-utils": {
"version": "8.6.0",
"resolved": "https://registry.npmjs.org/embla-carousel-reactive-utils/-/embla-carousel-reactive-utils-8.6.0.tgz",
"integrity": "sha512-fMVUDUEx0/uIEDM0Mz3dHznDhfX+znCCDCeIophYb1QGVM7YThSWX+wz11zlYwWFOr74b4QLGg0hrGPJeG2s4A==",
"license": "MIT",
"peerDependencies": {
"embla-carousel": "8.6.0"
}
},
"node_modules/emoji-regex": {
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
@@ -5982,7 +6134,6 @@
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
"dev": true,
"license": "MIT"
},
"node_modules/fast-equals": {
@@ -7938,6 +8089,35 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/playwright": {
"version": "1.64.1",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.64.1.tgz",
"integrity": "sha512-HCrVhHr5QQuwYoswEUGTb7gGp522yflbv/ST8nF4sFWGuLjQCt17Q/EubpGGSNKYn1tsTCPZxqHhHCfVURu7UA==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"playwright-core": "1.64.1"
},
"bin": {
"playwright": "cli.js"
},
"engines": {
"node": ">=20"
}
},
"node_modules/playwright-core": {
"version": "1.64.1",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.64.1.tgz",
"integrity": "sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"playwright-core": "cli.js"
},
"engines": {
"node": ">=20"
}
},
"node_modules/possible-typed-array-names": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",
@@ -8801,6 +8981,12 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/size-sensor": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/size-sensor/-/size-sensor-1.0.3.tgz",
"integrity": "sha512-+k9mJ2/rQMiRmQUcjn+qznch260leIXY8r4FyYKKyRBO/s5UoeMAHGkCJyE1R/4wrIhTJONfyloY55SkE7ve3A==",
"license": "ISC"
},
"node_modules/sonner": {
"version": "2.0.8",
"resolved": "https://registry.npmjs.org/sonner/-/sonner-2.0.8.tgz",
@@ -9628,6 +9814,21 @@
"peerDependencies": {
"zod": "^3.25.0 || ^4.0.0"
}
},
"node_modules/zrender": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/zrender/-/zrender-6.1.0.tgz",
"integrity": "sha512-oEGMDB6pOP2S6OwRR4PdVv610zrjnA3Bh+JnSG12fYJlBKjtNAoEb5fSUoCOOINlH96I2fU38/A2UpRKs67xYQ==",
"license": "BSD-3-Clause",
"dependencies": {
"tslib": "2.3.0"
}
},
"node_modules/zrender/node_modules/tslib": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz",
"integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==",
"license": "0BSD"
}
}
}

View File

@@ -10,7 +10,10 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@kri/common": "0.19.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@kri/common": "^0.19.1",
"@tanstack/react-query": "latest",
"@tanstack/react-table": "^8.21.3",
"@tiptap/extension-color": "^3.31.4",
@@ -32,8 +35,12 @@
"clsx": "latest",
"cmdk": "^1.1.1",
"cn": "^0.4.0",
"d3-cloud": "^1.2.9",
"date-fns": "^4.4.0",
"dompurify": "^3.4.16",
"echarts": "^6.1.0",
"echarts-for-react": "^3.0.6",
"embla-carousel-react": "^8.6.0",
"jotai": "latest",
"lucide-react": "latest",
"next": "latest",
@@ -48,12 +55,14 @@
},
"devDependencies": {
"@tailwindcss/postcss": "latest",
"@types/d3-cloud": "^1.2.9",
"@types/node": "latest",
"@types/react": "latest",
"@types/react-dom": "latest",
"babel-plugin-react-compiler": "latest",
"eslint": "^9",
"eslint-config-next": "latest",
"playwright": "^1.64.1",
"tailwindcss": "latest",
"tw-animate-css": "latest",
"typescript": "^5"

BIN
public/favicon_kart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

View File

@@ -0,0 +1,93 @@
Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More