mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-25 14:14:57 +00:00
Compare commits
1 Commits
copilot/re
...
codex/exte
| Author | SHA1 | Date | |
|---|---|---|---|
| 52b27dd00c |
@@ -80,7 +80,11 @@
|
|||||||
"status": "json-compatible",
|
"status": "json-compatible",
|
||||||
"source": "wrappers",
|
"source": "wrappers",
|
||||||
"jsonCompatible": true,
|
"jsonCompatible": true,
|
||||||
"wrapperFor": "ComponentBindingDialog"
|
"wrapperFor": "ComponentBindingDialog",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "wrappers",
|
||||||
|
"export": "ComponentBindingDialogWrapper"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Container",
|
"type": "Container",
|
||||||
@@ -122,7 +126,11 @@
|
|||||||
"status": "json-compatible",
|
"status": "json-compatible",
|
||||||
"source": "wrappers",
|
"source": "wrappers",
|
||||||
"jsonCompatible": true,
|
"jsonCompatible": true,
|
||||||
"wrapperFor": "DataSourceEditorDialog"
|
"wrapperFor": "DataSourceEditorDialog",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "wrappers",
|
||||||
|
"export": "DataSourceEditorDialogWrapper"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Dialog",
|
"type": "Dialog",
|
||||||
@@ -724,7 +732,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "ArrowLeft icon",
|
"description": "ArrowLeft icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "ArrowLeft"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "ArrowRight",
|
"type": "ArrowRight",
|
||||||
@@ -733,7 +745,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "ArrowRight icon",
|
"description": "ArrowRight icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "ArrowRight"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Check",
|
"type": "Check",
|
||||||
@@ -742,7 +758,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Check icon",
|
"description": "Check icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Check"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "X",
|
"type": "X",
|
||||||
@@ -751,7 +771,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "X icon",
|
"description": "X icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "X"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Plus",
|
"type": "Plus",
|
||||||
@@ -760,7 +784,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Plus icon",
|
"description": "Plus icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Plus"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Minus",
|
"type": "Minus",
|
||||||
@@ -769,7 +797,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Minus icon",
|
"description": "Minus icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Minus"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Search",
|
"type": "Search",
|
||||||
@@ -778,7 +810,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Search icon",
|
"description": "Search icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "MagnifyingGlass"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Filter",
|
"type": "Filter",
|
||||||
@@ -787,7 +823,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Filter icon",
|
"description": "Filter icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Funnel"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Download",
|
"type": "Download",
|
||||||
@@ -796,7 +836,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Download icon",
|
"description": "Download icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Download"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Upload",
|
"type": "Upload",
|
||||||
@@ -805,7 +849,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Upload icon",
|
"description": "Upload icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Upload"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Edit",
|
"type": "Edit",
|
||||||
@@ -814,7 +862,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Edit icon",
|
"description": "Edit icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "PencilSimple"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Trash",
|
"type": "Trash",
|
||||||
@@ -823,7 +875,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Trash icon",
|
"description": "Trash icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Trash"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Eye",
|
"type": "Eye",
|
||||||
@@ -832,7 +888,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Eye icon",
|
"description": "Eye icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Eye"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "EyeOff",
|
"type": "EyeOff",
|
||||||
@@ -841,7 +901,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "EyeOff icon",
|
"description": "EyeOff icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "EyeClosed"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "ChevronUp",
|
"type": "ChevronUp",
|
||||||
@@ -850,7 +914,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "ChevronUp icon",
|
"description": "ChevronUp icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "CaretUp"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "ChevronDown",
|
"type": "ChevronDown",
|
||||||
@@ -859,7 +927,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "ChevronDown icon",
|
"description": "ChevronDown icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "CaretDown"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "ChevronLeft",
|
"type": "ChevronLeft",
|
||||||
@@ -868,7 +940,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "ChevronLeft icon",
|
"description": "ChevronLeft icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "CaretLeft"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "ChevronRight",
|
"type": "ChevronRight",
|
||||||
@@ -877,7 +953,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "ChevronRight icon",
|
"description": "ChevronRight icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "CaretRight"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Settings",
|
"type": "Settings",
|
||||||
@@ -886,7 +966,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Settings icon",
|
"description": "Settings icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Gear"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "User",
|
"type": "User",
|
||||||
@@ -895,7 +979,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "User icon",
|
"description": "User icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "User"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Bell",
|
"type": "Bell",
|
||||||
@@ -904,7 +992,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Bell icon",
|
"description": "Bell icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Bell"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Mail",
|
"type": "Mail",
|
||||||
@@ -913,7 +1005,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Mail icon",
|
"description": "Mail icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Envelope"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Calendar",
|
"type": "Calendar",
|
||||||
@@ -922,7 +1018,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Calendar icon",
|
"description": "Calendar icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Calendar"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Clock",
|
"type": "Clock",
|
||||||
@@ -931,7 +1031,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Clock icon",
|
"description": "Clock icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Clock"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Star",
|
"type": "Star",
|
||||||
@@ -940,7 +1044,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Star icon",
|
"description": "Star icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Star"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Heart",
|
"type": "Heart",
|
||||||
@@ -949,7 +1057,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Heart icon",
|
"description": "Heart icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Heart"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Share",
|
"type": "Share",
|
||||||
@@ -958,7 +1070,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Share icon",
|
"description": "Share icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "ShareNetwork"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Link",
|
"type": "Link",
|
||||||
@@ -967,7 +1083,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Link icon",
|
"description": "Link icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "LinkSimple"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Copy",
|
"type": "Copy",
|
||||||
@@ -976,7 +1096,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Copy icon",
|
"description": "Copy icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Copy"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Save",
|
"type": "Save",
|
||||||
@@ -985,7 +1109,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Save icon",
|
"description": "Save icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "FloppyDisk"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "RefreshCw",
|
"type": "RefreshCw",
|
||||||
@@ -994,7 +1122,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "RefreshCw icon",
|
"description": "RefreshCw icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "ArrowClockwise"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "AlertCircle",
|
"type": "AlertCircle",
|
||||||
@@ -1003,7 +1135,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "AlertCircle icon",
|
"description": "AlertCircle icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "WarningCircle"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Info",
|
"type": "Info",
|
||||||
@@ -1012,7 +1148,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Info icon",
|
"description": "Info icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Info"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "HelpCircle",
|
"type": "HelpCircle",
|
||||||
@@ -1021,7 +1161,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "HelpCircle icon",
|
"description": "HelpCircle icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "Question"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Home",
|
"type": "Home",
|
||||||
@@ -1030,7 +1174,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Home icon",
|
"description": "Home icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "House"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Menu",
|
"type": "Menu",
|
||||||
@@ -1039,7 +1187,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "Menu icon",
|
"description": "Menu icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "List"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "MoreVertical",
|
"type": "MoreVertical",
|
||||||
@@ -1048,7 +1200,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "MoreVertical icon",
|
"description": "MoreVertical icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "DotsThreeVertical"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "MoreHorizontal",
|
"type": "MoreHorizontal",
|
||||||
@@ -1057,7 +1213,11 @@
|
|||||||
"canHaveChildren": false,
|
"canHaveChildren": false,
|
||||||
"description": "MoreHorizontal icon",
|
"description": "MoreHorizontal icon",
|
||||||
"status": "supported",
|
"status": "supported",
|
||||||
"source": "icons"
|
"source": "icons",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "icons",
|
||||||
|
"export": "DotsThree"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Breadcrumb",
|
"type": "Breadcrumb",
|
||||||
@@ -1275,7 +1435,11 @@
|
|||||||
"status": "json-compatible",
|
"status": "json-compatible",
|
||||||
"source": "wrappers",
|
"source": "wrappers",
|
||||||
"jsonCompatible": true,
|
"jsonCompatible": true,
|
||||||
"wrapperFor": "GitHubBuildStatus"
|
"wrapperFor": "GitHubBuildStatus",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "wrappers",
|
||||||
|
"export": "GitHubBuildStatusWrapper"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "InfoBox",
|
"type": "InfoBox",
|
||||||
@@ -1437,7 +1601,11 @@
|
|||||||
"status": "json-compatible",
|
"status": "json-compatible",
|
||||||
"source": "wrappers",
|
"source": "wrappers",
|
||||||
"jsonCompatible": true,
|
"jsonCompatible": true,
|
||||||
"wrapperFor": "LazyBarChart"
|
"wrapperFor": "LazyBarChart",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "wrappers",
|
||||||
|
"export": "LazyBarChartWrapper"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "LazyD3BarChart",
|
"type": "LazyD3BarChart",
|
||||||
@@ -1460,7 +1628,11 @@
|
|||||||
"status": "json-compatible",
|
"status": "json-compatible",
|
||||||
"source": "wrappers",
|
"source": "wrappers",
|
||||||
"jsonCompatible": true,
|
"jsonCompatible": true,
|
||||||
"wrapperFor": "LazyD3BarChart"
|
"wrapperFor": "LazyD3BarChart",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "wrappers",
|
||||||
|
"export": "LazyD3BarChartWrapper"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "LazyLineChart",
|
"type": "LazyLineChart",
|
||||||
@@ -1483,7 +1655,11 @@
|
|||||||
"status": "json-compatible",
|
"status": "json-compatible",
|
||||||
"source": "wrappers",
|
"source": "wrappers",
|
||||||
"jsonCompatible": true,
|
"jsonCompatible": true,
|
||||||
"wrapperFor": "LazyLineChart"
|
"wrapperFor": "LazyLineChart",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "wrappers",
|
||||||
|
"export": "LazyLineChartWrapper"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "List",
|
"type": "List",
|
||||||
@@ -1542,7 +1718,11 @@
|
|||||||
"status": "json-compatible",
|
"status": "json-compatible",
|
||||||
"source": "wrappers",
|
"source": "wrappers",
|
||||||
"jsonCompatible": true,
|
"jsonCompatible": true,
|
||||||
"wrapperFor": "SeedDataManager"
|
"wrapperFor": "SeedDataManager",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "wrappers",
|
||||||
|
"export": "SeedDataManagerWrapper"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "StatCard",
|
"type": "StatCard",
|
||||||
@@ -1829,7 +2009,11 @@
|
|||||||
"status": "json-compatible",
|
"status": "json-compatible",
|
||||||
"source": "wrappers",
|
"source": "wrappers",
|
||||||
"jsonCompatible": true,
|
"jsonCompatible": true,
|
||||||
"wrapperFor": "ComponentTree"
|
"wrapperFor": "ComponentTree",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "wrappers",
|
||||||
|
"export": "ComponentTreeWrapper"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "ComponentTreeNode",
|
"type": "ComponentTreeNode",
|
||||||
@@ -2072,7 +2256,11 @@
|
|||||||
"status": "json-compatible",
|
"status": "json-compatible",
|
||||||
"source": "wrappers",
|
"source": "wrappers",
|
||||||
"jsonCompatible": true,
|
"jsonCompatible": true,
|
||||||
"wrapperFor": "SaveIndicator"
|
"wrapperFor": "SaveIndicator",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "wrappers",
|
||||||
|
"export": "SaveIndicatorWrapper"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "SchemaEditorCanvas",
|
"type": "SchemaEditorCanvas",
|
||||||
@@ -2236,7 +2424,11 @@
|
|||||||
"status": "json-compatible",
|
"status": "json-compatible",
|
||||||
"source": "wrappers",
|
"source": "wrappers",
|
||||||
"jsonCompatible": true,
|
"jsonCompatible": true,
|
||||||
"wrapperFor": "StorageSettings"
|
"wrapperFor": "StorageSettings",
|
||||||
|
"loadFrom": {
|
||||||
|
"module": "wrappers",
|
||||||
|
"export": "StorageSettingsWrapper"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Timestamp",
|
"type": "Timestamp",
|
||||||
|
|||||||
@@ -73,6 +73,18 @@
|
|||||||
"wrapperFor": {
|
"wrapperFor": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"loadFrom": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"module": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"export": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
"deprecated": {
|
"deprecated": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|||||||
@@ -37,27 +37,9 @@ import { CircularProgress, Divider, ProgressBar } from '@/components/atoms'
|
|||||||
import * as AtomComponents from '@/components/atoms'
|
import * as AtomComponents from '@/components/atoms'
|
||||||
import * as MoleculeComponents from '@/components/molecules'
|
import * as MoleculeComponents from '@/components/molecules'
|
||||||
import * as OrganismComponents from '@/components/organisms'
|
import * as OrganismComponents from '@/components/organisms'
|
||||||
import {
|
import * as WrapperComponents from '@/lib/json-ui/wrappers'
|
||||||
ComponentBindingDialogWrapper,
|
|
||||||
ComponentTreeWrapper,
|
|
||||||
DataSourceEditorDialogWrapper,
|
|
||||||
GitHubBuildStatusWrapper,
|
|
||||||
LazyBarChartWrapper,
|
|
||||||
LazyD3BarChartWrapper,
|
|
||||||
LazyLineChartWrapper,
|
|
||||||
SaveIndicatorWrapper,
|
|
||||||
SeedDataManagerWrapper,
|
|
||||||
StorageSettingsWrapper,
|
|
||||||
} from '@/lib/json-ui/wrappers'
|
|
||||||
import jsonComponentsRegistry from '../../../json-components-registry.json'
|
import jsonComponentsRegistry from '../../../json-components-registry.json'
|
||||||
import {
|
import * as IconComponents from '@phosphor-icons/react'
|
||||||
ArrowLeft, ArrowRight, Check, X, Plus, Minus, MagnifyingGlass,
|
|
||||||
Funnel, Download, Upload, PencilSimple, Trash, Eye, EyeClosed,
|
|
||||||
CaretUp, CaretDown, CaretLeft, CaretRight,
|
|
||||||
Gear, User, Bell, Envelope, Calendar, Clock, Star,
|
|
||||||
Heart, ShareNetwork, LinkSimple, Copy, FloppyDisk, ArrowClockwise, WarningCircle,
|
|
||||||
Info, Question, House, List as ListIcon, DotsThreeVertical, DotsThree
|
|
||||||
} from '@phosphor-icons/react'
|
|
||||||
|
|
||||||
export interface UIComponentRegistry {
|
export interface UIComponentRegistry {
|
||||||
[key: string]: ComponentType<any>
|
[key: string]: ComponentType<any>
|
||||||
@@ -72,6 +54,10 @@ interface JsonRegistryEntry {
|
|||||||
wrapperRequired?: boolean
|
wrapperRequired?: boolean
|
||||||
wrapperComponent?: string
|
wrapperComponent?: string
|
||||||
wrapperFor?: string
|
wrapperFor?: string
|
||||||
|
loadFrom?: {
|
||||||
|
module?: string
|
||||||
|
export?: string
|
||||||
|
}
|
||||||
deprecated?: DeprecatedComponentInfo
|
deprecated?: DeprecatedComponentInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -85,9 +71,13 @@ export interface DeprecatedComponentInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const jsonRegistry = jsonComponentsRegistry as JsonComponentRegistry
|
const jsonRegistry = jsonComponentsRegistry as JsonComponentRegistry
|
||||||
|
const componentLoaders: Record<string, Record<string, ComponentType<any>>> = {
|
||||||
|
wrappers: WrapperComponents as Record<string, ComponentType<any>>,
|
||||||
|
icons: IconComponents as Record<string, ComponentType<any>>,
|
||||||
|
}
|
||||||
|
|
||||||
const getRegistryEntryName = (entry: JsonRegistryEntry): string | undefined =>
|
const getRegistryEntryName = (entry: JsonRegistryEntry): string | undefined =>
|
||||||
entry.export ?? entry.name ?? entry.type
|
entry.name ?? entry.type ?? entry.export
|
||||||
|
|
||||||
const buildRegistryFromNames = (
|
const buildRegistryFromNames = (
|
||||||
names: string[],
|
names: string[],
|
||||||
@@ -102,6 +92,27 @@ const buildRegistryFromNames = (
|
|||||||
}, {})
|
}, {})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const resolveLoadedComponent = (entry: JsonRegistryEntry): ComponentType<any> | null => {
|
||||||
|
const moduleKey = entry.loadFrom?.module ?? entry.source
|
||||||
|
const exportName = entry.loadFrom?.export ?? getRegistryEntryName(entry)
|
||||||
|
if (!moduleKey || !exportName) {
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
const moduleComponents = componentLoaders[moduleKey]
|
||||||
|
return moduleComponents?.[exportName] ?? null
|
||||||
|
}
|
||||||
|
|
||||||
|
const buildRegistryFromEntries = (entries: JsonRegistryEntry[]): UIComponentRegistry => {
|
||||||
|
return entries.reduce<UIComponentRegistry>((registry, entry) => {
|
||||||
|
const registryName = getRegistryEntryName(entry)
|
||||||
|
const component = resolveLoadedComponent(entry)
|
||||||
|
if (registryName && component) {
|
||||||
|
registry[registryName] = component
|
||||||
|
}
|
||||||
|
return registry
|
||||||
|
}, {})
|
||||||
|
}
|
||||||
|
|
||||||
const jsonRegistryEntries = jsonRegistry.components ?? []
|
const jsonRegistryEntries = jsonRegistry.components ?? []
|
||||||
const registryEntryByType = new Map(
|
const registryEntryByType = new Map(
|
||||||
jsonRegistryEntries
|
jsonRegistryEntries
|
||||||
@@ -141,14 +152,8 @@ const shadcnRegistryNames = jsonRegistryEntries
|
|||||||
.filter((entry) => entry.source === 'ui')
|
.filter((entry) => entry.source === 'ui')
|
||||||
.map((entry) => getRegistryEntryName(entry))
|
.map((entry) => getRegistryEntryName(entry))
|
||||||
.filter((name): name is string => Boolean(name))
|
.filter((name): name is string => Boolean(name))
|
||||||
const wrapperRegistryNames = jsonRegistryEntries
|
const wrapperRegistryEntries = jsonRegistryEntries.filter((entry) => entry.source === 'wrappers')
|
||||||
.filter((entry) => entry.source === 'wrappers')
|
const iconRegistryEntries = jsonRegistryEntries.filter((entry) => entry.source === 'icons')
|
||||||
.map((entry) => getRegistryEntryName(entry))
|
|
||||||
.filter((name): name is string => Boolean(name))
|
|
||||||
const iconRegistryNames = jsonRegistryEntries
|
|
||||||
.filter((entry) => entry.source === 'icons')
|
|
||||||
.map((entry) => getRegistryEntryName(entry))
|
|
||||||
.filter((name): name is string => Boolean(name))
|
|
||||||
|
|
||||||
export const primitiveComponents: UIComponentRegistry = {
|
export const primitiveComponents: UIComponentRegistry = {
|
||||||
div: 'div' as any,
|
div: 'div' as any,
|
||||||
@@ -275,69 +280,11 @@ export const organismComponents: UIComponentRegistry = buildRegistryFromNames(
|
|||||||
OrganismComponents as Record<string, ComponentType<any>>
|
OrganismComponents as Record<string, ComponentType<any>>
|
||||||
)
|
)
|
||||||
|
|
||||||
const wrapperComponentMap: Record<string, ComponentType<any>> = {
|
export const jsonWrapperComponents: UIComponentRegistry = buildRegistryFromEntries(
|
||||||
ComponentBindingDialogWrapper,
|
wrapperRegistryEntries
|
||||||
ComponentTreeWrapper,
|
|
||||||
DataSourceEditorDialogWrapper,
|
|
||||||
GitHubBuildStatusWrapper,
|
|
||||||
SaveIndicatorWrapper,
|
|
||||||
LazyBarChartWrapper,
|
|
||||||
LazyLineChartWrapper,
|
|
||||||
LazyD3BarChartWrapper,
|
|
||||||
SeedDataManagerWrapper,
|
|
||||||
StorageSettingsWrapper,
|
|
||||||
}
|
|
||||||
|
|
||||||
export const jsonWrapperComponents: UIComponentRegistry = buildRegistryFromNames(
|
|
||||||
wrapperRegistryNames,
|
|
||||||
wrapperComponentMap
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const iconComponentMap: Record<string, ComponentType<any>> = {
|
export const iconComponents: UIComponentRegistry = buildRegistryFromEntries(iconRegistryEntries)
|
||||||
ArrowLeft,
|
|
||||||
ArrowRight,
|
|
||||||
Check,
|
|
||||||
X,
|
|
||||||
Plus,
|
|
||||||
Minus,
|
|
||||||
Search: MagnifyingGlass,
|
|
||||||
Filter: Funnel,
|
|
||||||
Download,
|
|
||||||
Upload,
|
|
||||||
Edit: PencilSimple,
|
|
||||||
Trash,
|
|
||||||
Eye,
|
|
||||||
EyeOff: EyeClosed,
|
|
||||||
ChevronUp: CaretUp,
|
|
||||||
ChevronDown: CaretDown,
|
|
||||||
ChevronLeft: CaretLeft,
|
|
||||||
ChevronRight: CaretRight,
|
|
||||||
Settings: Gear,
|
|
||||||
User,
|
|
||||||
Bell,
|
|
||||||
Mail: Envelope,
|
|
||||||
Calendar,
|
|
||||||
Clock,
|
|
||||||
Star,
|
|
||||||
Heart,
|
|
||||||
Share: ShareNetwork,
|
|
||||||
Link: LinkSimple,
|
|
||||||
Copy,
|
|
||||||
Save: FloppyDisk,
|
|
||||||
RefreshCw: ArrowClockwise,
|
|
||||||
AlertCircle: WarningCircle,
|
|
||||||
Info,
|
|
||||||
HelpCircle: Question,
|
|
||||||
Home: House,
|
|
||||||
Menu: ListIcon,
|
|
||||||
MoreVertical: DotsThreeVertical,
|
|
||||||
MoreHorizontal: DotsThree,
|
|
||||||
}
|
|
||||||
|
|
||||||
export const iconComponents: UIComponentRegistry = buildRegistryFromNames(
|
|
||||||
iconRegistryNames,
|
|
||||||
iconComponentMap
|
|
||||||
)
|
|
||||||
|
|
||||||
export const uiComponentRegistry: UIComponentRegistry = {
|
export const uiComponentRegistry: UIComponentRegistry = {
|
||||||
...primitiveComponents,
|
...primitiveComponents,
|
||||||
|
|||||||
Reference in New Issue
Block a user