export default [ { title: 'URL 地址', screenshot: '', schema: { componentName: 'PisellUrl', props: { mode: 'edit', placeholder: '请输入网址', }, }, }, { title: 'URL 地址(协议补全)', screenshot: '', schema: { componentName: 'PisellUrl', props: { mode: 'edit', autoCompleteProtocol: true, defaultProtocol: 'https://', placeholder: '失焦后自动补全协议', }, }, }, { title: 'URL 地址(只读可跳转)', screenshot: '', schema: { componentName: 'PisellUrl', props: { mode: 'read', value: 'https://www.example.com', enableLinkClick: true, openInNewWindow: true, }, }, }, { title: 'URL 地址(隐藏协议)', screenshot: '', schema: { componentName: 'PisellUrl', props: { mode: 'read', value: 'https://www.example.com/path', showProtocol: false, }, }, }, { title: 'URL 地址(仅域名)', screenshot: '', schema: { componentName: 'PisellUrl', props: { mode: 'read', value: 'https://www.example.com/path', displayFormat: 'domain', }, }, }, { title: 'URL 地址(HTTPS 限制)', screenshot: '', schema: { componentName: 'PisellUrl', props: { mode: 'edit', allowedProtocols: ['https'], placeholder: '仅支持 HTTPS 协议', }, }, }, ];