forked from opentiny/tiny-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
72 changed files
with
14,848 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
{ | ||
"icon": "link", | ||
"name": { | ||
"zh_CN": "提示框" | ||
}, | ||
"component": "a", | ||
"description": "链接", | ||
"docUrl": "", | ||
"screenshot": "", | ||
"tags": "", | ||
"keywords": "", | ||
"devMode": "proCode", | ||
"group": "component", | ||
"priority": 7, | ||
"npm": {}, | ||
"schema": { | ||
"properties": [ | ||
{ | ||
"label": { | ||
"zh_CN": "基础信息" | ||
}, | ||
"description": { | ||
"zh_CN": "基础信息" | ||
}, | ||
"collapse": { | ||
"number": 6, | ||
"text": { | ||
"zh_CN": "显示更多" | ||
} | ||
}, | ||
"content": [ | ||
{ | ||
"property": "children", | ||
"label": { | ||
"text": { | ||
"zh_CN": "类型" | ||
} | ||
}, | ||
"required": true, | ||
"readOnly": false, | ||
"disabled": false, | ||
"cols": 12, | ||
"widget": { | ||
"component": "MetaHtmlText", | ||
"props": {} | ||
}, | ||
"description": { | ||
"zh_CN": "" | ||
}, | ||
"labelPosition": "none" | ||
}, | ||
{ | ||
"property": "href", | ||
"label": { | ||
"text": { | ||
"zh_CN": "跳转链接" | ||
} | ||
}, | ||
"required": true, | ||
"readOnly": false, | ||
"disabled": false, | ||
"cols": 12, | ||
"widget": { | ||
"component": "MetaInput", | ||
"props": {} | ||
}, | ||
"description": { | ||
"zh_CN": "链接" | ||
} | ||
}, | ||
{ | ||
"property": "target", | ||
"label": { | ||
"text": { | ||
"zh_CN": "页面目标" | ||
} | ||
}, | ||
"required": true, | ||
"readOnly": false, | ||
"disabled": false, | ||
"cols": 12, | ||
"widget": { | ||
"component": "MetaSelect", | ||
"props": { | ||
"options": [ | ||
{ | ||
"label": "当前页面", | ||
"value": "_self" | ||
}, | ||
{ | ||
"label": "打开新页面", | ||
"value": "_blank" | ||
} | ||
] | ||
} | ||
}, | ||
"description": { | ||
"zh_CN": "链接" | ||
} | ||
}, | ||
{ | ||
"property": "attributes3", | ||
"label": { | ||
"text": { | ||
"zh_CN": "原生属性" | ||
} | ||
}, | ||
"required": true, | ||
"readOnly": false, | ||
"disabled": false, | ||
"cols": 12, | ||
"widget": { | ||
"component": "MetaHtmlAttributes", | ||
"props": {} | ||
}, | ||
"description": { | ||
"zh_CN": "" | ||
}, | ||
"labelPosition": "none" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"configure": { | ||
"loop": true, | ||
"condition": true, | ||
"slots": [], | ||
"styles": true, | ||
"isContainer": true, | ||
"isModal": false, | ||
"nestingRule": { | ||
"childWhitelist": "", | ||
"parentWhitelist": "", | ||
"descendantBlacklist": "", | ||
"ancestorWhitelist": "" | ||
}, | ||
"isNullNode": false, | ||
"isLayout": false, | ||
"rootSelector": "", | ||
"shortcuts": { | ||
"properties": [] | ||
}, | ||
"contextMenu": { | ||
"actions": [], | ||
"disable": [] | ||
} | ||
}, | ||
"snippets": [ | ||
{ | ||
"name": { | ||
"zh_CN": "链接" | ||
}, | ||
"icon": "link", | ||
"screenshot": "", | ||
"snippetName": "a", | ||
"schema": { | ||
"componentName": "a", | ||
"children": "链接" | ||
} | ||
} | ||
], | ||
"category": "html" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
{ | ||
"icon": "button", | ||
"name": { | ||
"zh_CN": "Button" | ||
}, | ||
"component": "button", | ||
"container": false, | ||
"screenshot": "", | ||
"tags": "", | ||
"keywords": "", | ||
"devMode": "proCode", | ||
"npm": {}, | ||
"group": "component", | ||
"category": "html", | ||
"priority": 70, | ||
"schema": { | ||
"properties": [ | ||
{ | ||
"label": { | ||
"zh_CN": "基础信息" | ||
}, | ||
"description": { | ||
"zh_CN": "基础信息" | ||
}, | ||
"collapse": { | ||
"number": 6, | ||
"text": { | ||
"zh_CN": "显示更多" | ||
} | ||
}, | ||
"content": [ | ||
{ | ||
"property": "attributes3", | ||
"label": { | ||
"text": { | ||
"zh_CN": "原生属性" | ||
} | ||
}, | ||
"required": true, | ||
"readOnly": false, | ||
"disabled": false, | ||
"cols": 12, | ||
"widget": { | ||
"component": "MetaHtmlAttributes", | ||
"props": {} | ||
}, | ||
"description": { | ||
"zh_CN": "" | ||
}, | ||
"labelPosition": "none" | ||
} | ||
] | ||
} | ||
], | ||
"events": { | ||
"onClick": { | ||
"label": { | ||
"zh_CN": "点击时触发" | ||
}, | ||
"description": { | ||
"zh_CN": "点击时触发" | ||
}, | ||
"type": "event", | ||
"functionInfo": { | ||
"params": [], | ||
"returns": {} | ||
}, | ||
"defaultValue": "" | ||
} | ||
}, | ||
"shortcuts": { | ||
"properties": [] | ||
}, | ||
"contentMenu": { | ||
"actions": [] | ||
} | ||
}, | ||
"snippets": [ | ||
{ | ||
"name": { | ||
"zh_CN": "按钮" | ||
}, | ||
"icon": "button", | ||
"screenshot": "", | ||
"snippetName": "button", | ||
"schema": { | ||
"componentName": "button", | ||
"props": {}, | ||
"children": [ | ||
{ | ||
"componentName": "Text", | ||
"props": { | ||
"text": "按钮文案" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.