Files
Gnuboard7/templates/_bundled/sirsoft-admin_basic/editor-spec/nesting.json
T
2026-07-01 10:30:32 +09:00

474 lines
8.3 KiB
JSON

{
"comment": "draggable = 편집기에서 드래그/팔레트 배치 가능한 컴포넌트 목록. containers.accepts = 해당 컨테이너가 자식으로 받을 수 있는 컴포넌트 이름 목록. Img/Hr/Icon 등 leaf 는 accepts:[] 로 자식 거부. composite 는 통째 이동만 허용(자체는 draggable 에 포함되나 내부 accepts 는 [] 로 비편집).",
"draggable": [
"Div",
"Span",
"P",
"H1",
"H2",
"H3",
"H4",
"A",
"Button",
"Img",
"Icon",
"Hr",
"Ul",
"Ol",
"Li",
"Nav",
"Section",
"Code",
"Pre",
"Container",
"Grid",
"Flex",
"SectionLayout",
"ThreeColumnLayout",
"Card",
"Badge",
"StatusBadge",
"Alert",
"EmptyState",
"LoadingSpinner",
"PageHeader",
"Breadcrumb",
"TabNavigation",
"TabNavigationScroll",
"Toggle",
"FormField",
"Input",
"Textarea",
"Label",
"Select",
"Checkbox",
"RadioGroup",
"FileInput",
"FileUploader",
"DataGrid",
"CardGrid",
"Pagination",
"SearchBar",
"StatCard",
"ProductCard",
"TemplateCard",
"BarChart",
"DonutChart",
"HtmlContent",
"HtmlEditor",
"ImageGallery",
"Form",
"Table",
"Accordion",
"IconButton",
"Dropdown",
"ActionMenu",
"TagInput",
"SearchableDropdown",
"RichSelect",
"TagSelect",
"IconSelect",
"ChipCheckbox",
"MultilingualInput",
"MultilingualTagInput",
"LanguageSelector",
"PermissionTree",
"CategoryTree",
"ExtensionBadge",
"UserProfile",
"FilterGroup",
"SortableMenuList",
"DynamicFieldList",
"SectionHeader",
"ThemeToggle",
"NotificationCenter",
"ColumnSelector",
"AdminSidebar",
"AdminFooter"
],
"containers": {
"Div": {
"accepts": [
"Div",
"Span",
"P",
"H1",
"H2",
"H3",
"H4",
"A",
"Button",
"Img",
"Icon",
"Hr",
"Ul",
"Ol",
"Nav",
"Section",
"Code",
"Pre",
"Container",
"Grid",
"Flex",
"SectionLayout",
"ThreeColumnLayout",
"Card",
"Badge",
"StatusBadge",
"Alert",
"EmptyState",
"LoadingSpinner",
"PageHeader",
"Breadcrumb",
"TabNavigation",
"TabNavigationScroll",
"Toggle",
"FormField",
"Input",
"Textarea",
"Label",
"Select",
"Checkbox",
"RadioGroup",
"FileInput",
"FileUploader",
"DataGrid",
"CardGrid",
"Pagination",
"SearchBar",
"StatCard",
"ProductCard",
"TemplateCard",
"BarChart",
"DonutChart",
"HtmlContent",
"HtmlEditor",
"ImageGallery",
"Form",
"Table",
"Accordion",
"IconButton",
"Dropdown",
"ActionMenu",
"TagInput",
"SearchableDropdown",
"RichSelect",
"TagSelect",
"IconSelect",
"ChipCheckbox",
"MultilingualInput",
"MultilingualTagInput",
"LanguageSelector",
"PermissionTree",
"CategoryTree",
"ExtensionBadge",
"UserProfile",
"FilterGroup",
"SortableMenuList",
"DynamicFieldList",
"SectionHeader",
"ThemeToggle",
"NotificationCenter",
"ColumnSelector",
"AdminSidebar",
"AdminFooter"
]
},
"Section": {
"accepts": [
"Div",
"Span",
"P",
"H1",
"H2",
"H3",
"H4",
"A",
"Button",
"Img",
"Icon",
"Hr",
"Container",
"Grid",
"Flex",
"Card",
"PageHeader",
"DataGrid",
"CardGrid",
"SectionHeader",
"ThemeToggle",
"NotificationCenter",
"ColumnSelector",
"AdminSidebar",
"AdminFooter"
]
},
"Nav": {
"accepts": [
"Ul",
"Ol",
"A",
"Button",
"Span",
"Icon",
"Div"
]
},
"P": {
"accepts": [
"Span",
"A",
"Img",
"Icon",
"Code"
]
},
"Span": {
"accepts": [
"Span",
"A",
"Img",
"Icon"
]
},
"A": {
"accepts": [
"Span",
"Img",
"Icon"
]
},
"Ul": {
"accepts": [
"Li"
]
},
"Ol": {
"accepts": [
"Li"
]
},
"Li": {
"accepts": [
"Span",
"A",
"Img",
"Icon",
"P",
"Div",
"Button"
]
},
"Container": {
"accepts": [
"Div",
"Span",
"P",
"H1",
"H2",
"H3",
"H4",
"A",
"Button",
"Img",
"Icon",
"Hr",
"Ul",
"Ol",
"Section",
"Grid",
"Flex",
"SectionLayout",
"ThreeColumnLayout",
"Card",
"PageHeader",
"Breadcrumb",
"TabNavigation",
"DataGrid",
"CardGrid",
"Pagination",
"SectionHeader",
"ThemeToggle",
"NotificationCenter",
"ColumnSelector",
"AdminSidebar",
"AdminFooter"
]
},
"Grid": {
"accepts": [
"Div",
"Span",
"P",
"H1",
"H2",
"H3",
"H4",
"A",
"Button",
"Img",
"Icon",
"Card",
"StatCard",
"ProductCard",
"TemplateCard"
]
},
"Flex": {
"accepts": [
"Div",
"Span",
"P",
"H1",
"H2",
"H3",
"H4",
"A",
"Button",
"Img",
"Icon",
"Hr",
"Card",
"Badge",
"StatusBadge"
]
},
"SectionLayout": {
"accepts": [
"Div",
"Section",
"Container",
"Grid",
"Flex",
"Card",
"PageHeader",
"SectionHeader",
"ThemeToggle",
"NotificationCenter",
"ColumnSelector",
"AdminSidebar",
"AdminFooter"
]
},
"ThreeColumnLayout": {
"accepts": [
"Div",
"Section",
"Container",
"Grid",
"Flex",
"Card",
"PageHeader",
"SectionHeader",
"ThemeToggle",
"NotificationCenter",
"ColumnSelector",
"AdminSidebar",
"AdminFooter"
]
},
"Card": {
"accepts": [
"Div",
"Span",
"P",
"H1",
"H2",
"H3",
"H4",
"A",
"Button",
"Img",
"Icon",
"Hr",
"Badge",
"StatusBadge",
"Ul",
"Ol"
]
},
"Form": {
"accepts": [
"Div",
"Span",
"P",
"Label",
"Input",
"Textarea",
"Select",
"Checkbox",
"RadioGroup",
"FileInput",
"FileUploader",
"Button",
"FormField",
"Container",
"Grid",
"Flex",
"Hr",
"MultilingualInput",
"MultilingualTagInput",
"TagInput",
"TagSelect",
"SearchableDropdown",
"RichSelect",
"IconSelect",
"ChipCheckbox",
"DynamicFieldList"
]
},
"FormField": {
"accepts": [
"Input",
"Textarea",
"Select",
"Checkbox",
"RadioGroup",
"FileInput",
"FileUploader",
"Label",
"Span",
"MultilingualInput",
"MultilingualTagInput",
"TagInput",
"TagSelect",
"SearchableDropdown",
"RichSelect",
"IconSelect"
]
},
"Table": {
"accepts": []
},
"Accordion": {
"accepts": [
"Div",
"Span",
"P",
"H1",
"H2",
"H3",
"H4",
"A",
"Button",
"Img",
"Icon",
"Hr",
"Ul",
"Ol",
"Container",
"Grid",
"Flex",
"Card",
"DataGrid",
"Table",
"FormField",
"Input",
"Textarea",
"Select",
"Checkbox"
]
}
}
}