mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
feat: migrate ConflictDetailsDialog to JSON
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"timestamp": "2026-01-21T05:06:08.176Z",
|
||||
"timestamp": "2026-01-21T05:06:37.965Z",
|
||||
"issues": [],
|
||||
"stats": {
|
||||
"totalJsonFiles": 337,
|
||||
"totalTsxFiles": 363,
|
||||
"registryEntries": 402,
|
||||
"totalTsxFiles": 362,
|
||||
"registryEntries": 403,
|
||||
"orphanedJson": 0,
|
||||
"duplicates": 0,
|
||||
"obsoleteWrapperRefs": 0
|
||||
|
||||
35
src/components/json-definitions/error-panel-main.json
Normal file
35
src/components/json-definitions/error-panel-main.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"id": "error-panel-main",
|
||||
"type": "div",
|
||||
"className": "h-full flex flex-col bg-background",
|
||||
"children": [
|
||||
{
|
||||
"id": "error-panel-header-wrapper",
|
||||
"type": "ErrorPanelHeader",
|
||||
"bindings": {
|
||||
"props": {
|
||||
"source": "headerProps",
|
||||
"transform": "data"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "error-panel-content",
|
||||
"type": "ScrollArea",
|
||||
"className": "flex-1",
|
||||
"children": [
|
||||
{
|
||||
"id": "error-panel-inner",
|
||||
"type": "div",
|
||||
"className": "p-6",
|
||||
"bindings": {
|
||||
"children": {
|
||||
"source": "contentState",
|
||||
"transform": "data"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
7
src/lib/json-ui/interfaces/error-panel-main.ts
Normal file
7
src/lib/json-ui/interfaces/error-panel-main.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { ProjectFile } from '@/types/project'
|
||||
|
||||
export interface ErrorPanelMainProps {
|
||||
files: ProjectFile[]
|
||||
onFileChange: (fileId: string, content: string) => void
|
||||
onFileSelect: (fileId: string) => void
|
||||
}
|
||||
Reference in New Issue
Block a user