mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 10:29:19 +08:00
Deploying to gh-pages from @ 59de94217c
🚀
This commit is contained in:
commit
0c649d4f70
66
app/index.html
Normal file
66
app/index.html
Normal file
@ -0,0 +1,66 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis app 模式</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link
|
||||
type="image/x-icon"
|
||||
rel="shortcut icon"
|
||||
href="/amis/static/favicon_b3b0647.png"
|
||||
/>
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/app/index.html_map_8bfc942.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @require examples/app/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['7d8eb4e'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
1872
components/EChartsEditor/option-parts/option.angleAxis.json
Normal file
1872
components/EChartsEditor/option-parts/option.angleAxis.json
Normal file
File diff suppressed because one or more lines are too long
1668
components/EChartsEditor/option-parts/option.legend.json
Normal file
1668
components/EChartsEditor/option-parts/option.legend.json
Normal file
File diff suppressed because it is too large
Load Diff
654
components/EChartsEditor/option-parts/option.polar.json
Normal file
654
components/EChartsEditor/option-parts/option.polar.json
Normal file
File diff suppressed because one or more lines are too long
2289
components/EChartsEditor/option-parts/option.radiusAxis.json
Normal file
2289
components/EChartsEditor/option-parts/option.radiusAxis.json
Normal file
File diff suppressed because one or more lines are too long
5348
components/EChartsEditor/option-parts/option.series-bar.json
Normal file
5348
components/EChartsEditor/option-parts/option.series-bar.json
Normal file
File diff suppressed because one or more lines are too long
13220
components/EChartsEditor/option-parts/option.series-funnel.json
Normal file
13220
components/EChartsEditor/option-parts/option.series-funnel.json
Normal file
File diff suppressed because one or more lines are too long
11470
components/EChartsEditor/option-parts/option.series-gauge.json
Normal file
11470
components/EChartsEditor/option-parts/option.series-gauge.json
Normal file
File diff suppressed because one or more lines are too long
15711
components/EChartsEditor/option-parts/option.series-line.json
Normal file
15711
components/EChartsEditor/option-parts/option.series-line.json
Normal file
File diff suppressed because one or more lines are too long
12877
components/EChartsEditor/option-parts/option.series-pie.json
Normal file
12877
components/EChartsEditor/option-parts/option.series-pie.json
Normal file
File diff suppressed because one or more lines are too long
5532
components/EChartsEditor/option-parts/option.series-radar.json
Normal file
5532
components/EChartsEditor/option-parts/option.series-radar.json
Normal file
File diff suppressed because one or more lines are too long
794
components/EChartsEditor/option-parts/option.title.json
Normal file
794
components/EChartsEditor/option-parts/option.title.json
Normal file
@ -0,0 +1,794 @@
|
||||
{
|
||||
"id": {
|
||||
"desc": "<p>组件 ID。默认不指定。指定则可用于在 option 或者 API 中引用组件。</p>\n"
|
||||
},
|
||||
"show": {
|
||||
"desc": "\n\n<p>是否显示标题组件。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
}
|
||||
},
|
||||
"text": {
|
||||
"desc": "\n\n<p>主标题文本,支持使用 <code class=\"codespan\">\\n</code> 换行。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "text"
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
"desc": "<p>主标题文本超链接。</p>\n"
|
||||
},
|
||||
"target": {
|
||||
"desc": "<p>指定窗口打开主标题超链接。</p>\n<p><strong>可选:</strong></p>\n<ul>\n<li><p><code class=\"codespan\">'self'</code> 当前窗口打开</p>\n</li>\n<li><p><code class=\"codespan\">'blank'</code> 新窗口打开</p>\n</li>\n</ul>\n"
|
||||
},
|
||||
"textStyle.color": {
|
||||
"desc": "\n\n<p>主标题文字的颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "'#333'"
|
||||
}
|
||||
},
|
||||
"textStyle.fontStyle": {
|
||||
"desc": "\n\n<p>主标题文字字体的风格。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'normal'</code></li>\n<li><code class=\"codespan\">'italic'</code></li>\n<li><code class=\"codespan\">'oblique'</code></li>\n</ul>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "normal",
|
||||
"options": "normal,italic,oblique"
|
||||
}
|
||||
},
|
||||
"textStyle.fontWeight": {
|
||||
"desc": "\n\n<p>主标题文字字体的粗细。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'normal'</code></li>\n<li><code class=\"codespan\">'bold'</code></li>\n<li><code class=\"codespan\">'bolder'</code></li>\n<li><code class=\"codespan\">'lighter'</code></li>\n<li>100 | 200 | 300 | 400...</li>\n</ul>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "normal",
|
||||
"options": "normal,bold,bolder,lighter"
|
||||
}
|
||||
},
|
||||
"textStyle.fontFamily": {
|
||||
"desc": "\n\n<p>主标题文字的字体系列。</p>\n<p>还可以是 'serif' , 'monospace', 'Arial', 'Courier New', 'Microsoft YaHei', ...</p>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "sans-serif",
|
||||
"options": "sans-serif,serif,monospace,Arial,Courier New"
|
||||
}
|
||||
},
|
||||
"textStyle.fontSize": {
|
||||
"desc": "\n\n<p>主标题文字的字体大小。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "18",
|
||||
"min": "1",
|
||||
"step": "1"
|
||||
}
|
||||
},
|
||||
"textStyle.lineHeight": {
|
||||
"desc": "\n\n<p>行高。</p>\n<p><code class=\"codespan\">rich</code> 中如果没有设置 <code class=\"codespan\">lineHeight</code>,则会取父层级的 <code class=\"codespan\">lineHeight</code>。例如:</p>\n<pre><code class=\"lang-js\">{\n lineHeight: 56,\n rich: {\n a: {\n // 没有设置 `lineHeight`,则 `lineHeight` 为 56\n }\n }\n}\n</code></pre>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "1",
|
||||
"default": "12"
|
||||
}
|
||||
},
|
||||
"textStyle.width": {
|
||||
"desc": "\n\n<p>文本显示宽度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "100",
|
||||
"min": "1",
|
||||
"max": "500",
|
||||
"step": "1"
|
||||
}
|
||||
},
|
||||
"textStyle.height": {
|
||||
"desc": "\n\n<p>文本显示高度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "50",
|
||||
"min": "1",
|
||||
"max": "500",
|
||||
"step": "1"
|
||||
}
|
||||
},
|
||||
"textStyle.textBorderColor": {
|
||||
"desc": "\n\n<p>文字本身的描边颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color"
|
||||
}
|
||||
},
|
||||
"textStyle.textBorderWidth": {
|
||||
"desc": "\n\n<p>文字本身的描边宽度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textStyle.textShadowColor": {
|
||||
"desc": "\n\n<p>文字本身的阴影颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "#000"
|
||||
}
|
||||
},
|
||||
"textStyle.textShadowBlur": {
|
||||
"desc": "\n\n<p>文字本身的阴影长度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textStyle.textShadowOffsetX": {
|
||||
"desc": "\n\n<p>文字本身的阴影 X 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textStyle.textShadowOffsetY": {
|
||||
"desc": "\n\n<p>文字本身的阴影 Y 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textStyle.overflow": {
|
||||
"desc": "\n\n<p>文字超出宽度是否截断或者换行。配置<code class=\"codespan\">width</code>时有效</p>\n<ul>\n<li><code class=\"codespan\">'truncate'</code> 截断,并在末尾显示<code class=\"codespan\">ellipsis</code>配置的文本,默认为<code class=\"codespan\">...</code></li>\n<li><code class=\"codespan\">'break'</code> 换行</li>\n<li><code class=\"codespan\">'breakAll'</code> 换行,跟<code class=\"codespan\">'break'</code>不同的是,在英语等拉丁文中,<code class=\"codespan\">'breakAll'</code>还会强制单词内换行</li>\n</ul>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"options": "truncate,break,breakAll"
|
||||
}
|
||||
},
|
||||
"textStyle.ellipsis": {
|
||||
"desc": "<p>在<code class=\"codespan\">overflow</code>配置为<code class=\"codespan\">'truncate'</code>的时候,可以通过该属性配置末尾显示的文本。</p>\n"
|
||||
},
|
||||
"textStyle.lineOverflow": {
|
||||
"desc": "<p>文本超出高度部分是否截断,配置<code class=\"codespan\">height</code>时有效。</p>\n<ul>\n<li><code class=\"codespan\">'truncate'</code> 在文本行数超出高度部分截断。</li>\n</ul>\n"
|
||||
},
|
||||
"textStyle.rich": {
|
||||
"desc": "<p>在 <code class=\"codespan\">rich</code> 里面,可以自定义富文本样式。利用富文本样式,可以在标签中做出非常丰富的效果。</p>\n<p>例如:</p>\n<pre><code class=\"lang-js\">label: {\n // 在文本中,可以对部分文本采用 rich 中定义样式。\n // 这里需要在文本中使用标记符号:\n // `{styleName|text content text content}` 标记样式名。\n // 注意,换行仍是使用 '\\n'。\n formatter: [\n '{a|这段文本采用样式a}',\n '{b|这段文本采用样式b}这段用默认样式{x|这段用样式x}'\n ].join('\\n'),\n\n rich: {\n a: {\n color: 'red',\n lineHeight: 10\n },\n b: {\n backgroundColor: {\n image: 'xxx/xxx.jpg'\n },\n height: 40\n },\n x: {\n fontSize: 18,\n fontFamily: 'Microsoft YaHei',\n borderColor: '#449933',\n borderRadius: 4\n },\n ...\n }\n}\n</code></pre>\n<p>详情参见教程:<a href=\"tutorial.html#%E5%AF%8C%E6%96%87%E6%9C%AC%E6%A0%87%E7%AD%BE\" target=\"_blank\">富文本标签</a></p>\n"
|
||||
},
|
||||
"textStyle.rich.<style_name>.color": {
|
||||
"desc": "\n\n<p>文字的颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "null"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.fontStyle": {
|
||||
"desc": "\n\n<p>文字字体的风格。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'normal'</code></li>\n<li><code class=\"codespan\">'italic'</code></li>\n<li><code class=\"codespan\">'oblique'</code></li>\n</ul>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "normal",
|
||||
"options": "normal,italic,oblique"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.fontWeight": {
|
||||
"desc": "\n\n<p>文字字体的粗细。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'normal'</code></li>\n<li><code class=\"codespan\">'bold'</code></li>\n<li><code class=\"codespan\">'bolder'</code></li>\n<li><code class=\"codespan\">'lighter'</code></li>\n<li>100 | 200 | 300 | 400...</li>\n</ul>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "normal",
|
||||
"options": "normal,bold,bolder,lighter"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.fontFamily": {
|
||||
"desc": "\n\n<p>文字的字体系列。</p>\n<p>还可以是 'serif' , 'monospace', 'Arial', 'Courier New', 'Microsoft YaHei', ...</p>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "sans-serif",
|
||||
"options": "sans-serif,serif,monospace,Arial,Courier New"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.fontSize": {
|
||||
"desc": "\n\n<p>文字的字体大小。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "12",
|
||||
"min": "1",
|
||||
"step": "1"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.align": {
|
||||
"desc": "\n\n<p>文字水平对齐方式,默认自动。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'left'</code></li>\n<li><code class=\"codespan\">'center'</code></li>\n<li><code class=\"codespan\">'right'</code></li>\n</ul>\n<p><code class=\"codespan\">rich</code> 中如果没有设置 <code class=\"codespan\">align</code>,则会取父层级的 <code class=\"codespan\">align</code>。例如:</p>\n<pre><code class=\"lang-js\">{\n align: right,\n rich: {\n a: {\n // 没有设置 `align`,则 `align` 为 right\n }\n }\n}\n</code></pre>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"options": "left,center,right"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.verticalAlign": {
|
||||
"desc": "\n\n<p>文字垂直对齐方式,默认自动。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'top'</code></li>\n<li><code class=\"codespan\">'middle'</code></li>\n<li><code class=\"codespan\">'bottom'</code></li>\n</ul>\n<p><code class=\"codespan\">rich</code> 中如果没有设置 <code class=\"codespan\">verticalAlign</code>,则会取父层级的 <code class=\"codespan\">verticalAlign</code>。例如:</p>\n<pre><code class=\"lang-js\">{\n verticalAlign: bottom,\n rich: {\n a: {\n // 没有设置 `verticalAlign`,则 `verticalAlign` 为 bottom\n }\n }\n}\n</code></pre>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"options": "top,middle,bottom"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.lineHeight": {
|
||||
"desc": "\n\n<p>行高。</p>\n<p><code class=\"codespan\">rich</code> 中如果没有设置 <code class=\"codespan\">lineHeight</code>,则会取父层级的 <code class=\"codespan\">lineHeight</code>。例如:</p>\n<pre><code class=\"lang-js\">{\n lineHeight: 56,\n rich: {\n a: {\n // 没有设置 `lineHeight`,则 `lineHeight` 为 56\n }\n }\n}\n</code></pre>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "1",
|
||||
"default": "12"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.backgroundColor": {
|
||||
"desc": "\n\n<p>文字块背景色。</p>\n<p>可以使用颜色值,例如:<code class=\"codespan\">'#123234'</code>, <code class=\"codespan\">'red'</code>, <code class=\"codespan\">'rgba(0,23,11,0.3)'</code>。</p>\n<p>也可以直接使用图片,例如:</p>\n<pre><code class=\"lang-js\">backgroundColor: {\n image: 'xxx/xxx.png'\n // 这里可以是图片的 URL,\n // 或者图片的 dataURI,\n // 或者 HTMLImageElement 对象,\n // 或者 HTMLCanvasElement 对象。\n}\n</code></pre>\n<p>当使用图片的时候,可以使用 <code class=\"codespan\">width</code> 或 <code class=\"codespan\">height</code> 指定高宽,也可以不指定自适应。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "#fff"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.borderColor": {
|
||||
"desc": "\n\n<p>文字块边框颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "#fff"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.borderWidth": {
|
||||
"desc": "\n\n<p>文字块边框宽度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.borderRadius": {
|
||||
"desc": "\n\n<p>文字块的圆角。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "vector",
|
||||
"min": "0",
|
||||
"dims": "LT,RT, RB, LB"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.padding": {
|
||||
"desc": "\n\n<p>文字块的内边距。例如:</p>\n<ul>\n<li><code class=\"codespan\">padding: [3, 4, 5, 6]</code>:表示 <code class=\"codespan\">[上, 右, 下, 左]</code> 的边距。</li>\n<li><code class=\"codespan\">padding: 4</code>:表示 <code class=\"codespan\">padding: [4, 4, 4, 4]</code>。</li>\n<li><code class=\"codespan\">padding: [3, 4]</code>:表示 <code class=\"codespan\">padding: [3, 4, 3, 4]</code>。</li>\n</ul>\n<p>注意,文字块的 <code class=\"codespan\">width</code> 和 <code class=\"codespan\">height</code> 指定的是内容高宽,不包含 <code class=\"codespan\">padding</code>。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "vector",
|
||||
"min": "0",
|
||||
"dims": "T,R,B,L"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.shadowColor": {
|
||||
"desc": "\n\n<p>文字块的背景阴影颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.shadowBlur": {
|
||||
"desc": "\n\n<p>文字块的背景阴影长度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.shadowOffsetX": {
|
||||
"desc": "\n\n<p>文字块的背景阴影 X 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.shadowOffsetY": {
|
||||
"desc": "\n\n<p>文字块的背景阴影 Y 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.width": {
|
||||
"desc": "<p>文字块的宽度。一般不用指定,不指定则自动是文字的宽度。在想做表格项或者使用图片(参见 <code class=\"codespan\">backgroundColor</code>)时,可能会使用它。</p>\n<p>注意,文字块的 <code class=\"codespan\">width</code> 和 <code class=\"codespan\">height</code> 指定的是内容高宽,不包含 <code class=\"codespan\">padding</code>。</p>\n<p><code class=\"codespan\">width</code> 也可以是百分比字符串,如 <code class=\"codespan\">'100%'</code>。表示的是所在文本块的 <code class=\"codespan\">contentWidth</code>(即不包含文本块的 <code class=\"codespan\">padding</code>)的百分之多少。之所以以 <code class=\"codespan\">contentWidth</code> 做基数,因为每个文本片段只能基于 <code class=\"codespan\">content box</code> 布局。如果以 <code class=\"codespan\">outerWidth</code> 做基数,则百分比的计算在实用中不具有意义,可能会超出。</p>\n<p>注意,如果不定义 <code class=\"codespan\">rich</code> 属性,则不能指定 <code class=\"codespan\">width</code> 和 <code class=\"codespan\">height</code>。</p>\n"
|
||||
},
|
||||
"textStyle.rich.<style_name>.height": {
|
||||
"desc": "<p>文字块的高度。一般不用指定,不指定则自动是文字的高度。在使用图片(参见 <code class=\"codespan\">backgroundColor</code>)时,可能会使用它。</p>\n<p>注意,文字块的 <code class=\"codespan\">width</code> 和 <code class=\"codespan\">height</code> 指定的是内容高宽,不包含 <code class=\"codespan\">padding</code>。</p>\n<p>注意,如果不定义 <code class=\"codespan\">rich</code> 属性,则不能指定 <code class=\"codespan\">width</code> 和 <code class=\"codespan\">height</code>。</p>\n"
|
||||
},
|
||||
"textStyle.rich.<style_name>.textBorderColor": {
|
||||
"desc": "\n\n<p>文字本身的描边颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.textBorderWidth": {
|
||||
"desc": "\n\n<p>文字本身的描边宽度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.textShadowColor": {
|
||||
"desc": "\n\n<p>文字本身的阴影颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "#000"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.textShadowBlur": {
|
||||
"desc": "\n\n<p>文字本身的阴影长度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.textShadowOffsetX": {
|
||||
"desc": "\n\n<p>文字本身的阴影 X 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textStyle.rich.<style_name>.textShadowOffsetY": {
|
||||
"desc": "\n\n<p>文字本身的阴影 Y 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtext": {
|
||||
"desc": "\n\n<p>副标题文本,支持使用 <code class=\"codespan\">\\n</code> 换行。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "text"
|
||||
}
|
||||
},
|
||||
"sublink": {
|
||||
"desc": "<p>副标题文本超链接。</p>\n"
|
||||
},
|
||||
"subtarget": {
|
||||
"desc": "<p>指定窗口打开副标题超链接,可选:</p>\n<ul>\n<li><p><code class=\"codespan\">'self'</code> 当前窗口打开</p>\n</li>\n<li><p><code class=\"codespan\">'blank'</code> 新窗口打开</p>\n</li>\n</ul>\n"
|
||||
},
|
||||
"subtextStyle.color": {
|
||||
"desc": "\n\n<p>副标题文字的颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "'#aaa'"
|
||||
}
|
||||
},
|
||||
"subtextStyle.fontStyle": {
|
||||
"desc": "\n\n<p>副标题文字字体的风格。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'normal'</code></li>\n<li><code class=\"codespan\">'italic'</code></li>\n<li><code class=\"codespan\">'oblique'</code></li>\n</ul>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "normal",
|
||||
"options": "normal,italic,oblique"
|
||||
}
|
||||
},
|
||||
"subtextStyle.fontWeight": {
|
||||
"desc": "\n\n<p>副标题文字字体的粗细。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'normal'</code></li>\n<li><code class=\"codespan\">'bold'</code></li>\n<li><code class=\"codespan\">'bolder'</code></li>\n<li><code class=\"codespan\">'lighter'</code></li>\n<li>100 | 200 | 300 | 400...</li>\n</ul>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "normal",
|
||||
"options": "normal,bold,bolder,lighter"
|
||||
}
|
||||
},
|
||||
"subtextStyle.fontFamily": {
|
||||
"desc": "\n\n<p>副标题文字的字体系列。</p>\n<p>还可以是 'serif' , 'monospace', 'Arial', 'Courier New', 'Microsoft YaHei', ...</p>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "sans-serif",
|
||||
"options": "sans-serif,serif,monospace,Arial,Courier New"
|
||||
}
|
||||
},
|
||||
"subtextStyle.fontSize": {
|
||||
"desc": "\n\n<p>副标题文字的字体大小。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "12",
|
||||
"min": "1",
|
||||
"step": "1"
|
||||
}
|
||||
},
|
||||
"subtextStyle.align": {
|
||||
"desc": "\n\n<p>文字水平对齐方式,默认自动。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'left'</code></li>\n<li><code class=\"codespan\">'center'</code></li>\n<li><code class=\"codespan\">'right'</code></li>\n</ul>\n<p><code class=\"codespan\">rich</code> 中如果没有设置 <code class=\"codespan\">align</code>,则会取父层级的 <code class=\"codespan\">align</code>。例如:</p>\n<pre><code class=\"lang-js\">{\n align: right,\n rich: {\n a: {\n // 没有设置 `align`,则 `align` 为 right\n }\n }\n}\n</code></pre>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"options": "left,center,right"
|
||||
}
|
||||
},
|
||||
"subtextStyle.verticalAlign": {
|
||||
"desc": "\n\n<p>文字垂直对齐方式,默认自动。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'top'</code></li>\n<li><code class=\"codespan\">'middle'</code></li>\n<li><code class=\"codespan\">'bottom'</code></li>\n</ul>\n<p><code class=\"codespan\">rich</code> 中如果没有设置 <code class=\"codespan\">verticalAlign</code>,则会取父层级的 <code class=\"codespan\">verticalAlign</code>。例如:</p>\n<pre><code class=\"lang-js\">{\n verticalAlign: bottom,\n rich: {\n a: {\n // 没有设置 `verticalAlign`,则 `verticalAlign` 为 bottom\n }\n }\n}\n</code></pre>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"options": "top,middle,bottom"
|
||||
}
|
||||
},
|
||||
"subtextStyle.lineHeight": {
|
||||
"desc": "\n\n<p>行高。</p>\n<p><code class=\"codespan\">rich</code> 中如果没有设置 <code class=\"codespan\">lineHeight</code>,则会取父层级的 <code class=\"codespan\">lineHeight</code>。例如:</p>\n<pre><code class=\"lang-js\">{\n lineHeight: 56,\n rich: {\n a: {\n // 没有设置 `lineHeight`,则 `lineHeight` 为 56\n }\n }\n}\n</code></pre>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "1",
|
||||
"default": "12"
|
||||
}
|
||||
},
|
||||
"subtextStyle.width": {
|
||||
"desc": "\n\n<p>文本显示宽度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "100",
|
||||
"min": "1",
|
||||
"max": "500",
|
||||
"step": "1"
|
||||
}
|
||||
},
|
||||
"subtextStyle.height": {
|
||||
"desc": "\n\n<p>文本显示高度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "50",
|
||||
"min": "1",
|
||||
"max": "500",
|
||||
"step": "1"
|
||||
}
|
||||
},
|
||||
"subtextStyle.textBorderColor": {
|
||||
"desc": "\n\n<p>文字本身的描边颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color"
|
||||
}
|
||||
},
|
||||
"subtextStyle.textBorderWidth": {
|
||||
"desc": "\n\n<p>文字本身的描边宽度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtextStyle.textShadowColor": {
|
||||
"desc": "\n\n<p>文字本身的阴影颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "#000"
|
||||
}
|
||||
},
|
||||
"subtextStyle.textShadowBlur": {
|
||||
"desc": "\n\n<p>文字本身的阴影长度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtextStyle.textShadowOffsetX": {
|
||||
"desc": "\n\n<p>文字本身的阴影 X 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtextStyle.textShadowOffsetY": {
|
||||
"desc": "\n\n<p>文字本身的阴影 Y 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtextStyle.overflow": {
|
||||
"desc": "\n\n<p>文字超出宽度是否截断或者换行。配置<code class=\"codespan\">width</code>时有效</p>\n<ul>\n<li><code class=\"codespan\">'truncate'</code> 截断,并在末尾显示<code class=\"codespan\">ellipsis</code>配置的文本,默认为<code class=\"codespan\">...</code></li>\n<li><code class=\"codespan\">'break'</code> 换行</li>\n<li><code class=\"codespan\">'breakAll'</code> 换行,跟<code class=\"codespan\">'break'</code>不同的是,在英语等拉丁文中,<code class=\"codespan\">'breakAll'</code>还会强制单词内换行</li>\n</ul>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"options": "truncate,break,breakAll"
|
||||
}
|
||||
},
|
||||
"subtextStyle.ellipsis": {
|
||||
"desc": "<p>在<code class=\"codespan\">overflow</code>配置为<code class=\"codespan\">'truncate'</code>的时候,可以通过该属性配置末尾显示的文本。</p>\n"
|
||||
},
|
||||
"subtextStyle.lineOverflow": {
|
||||
"desc": "<p>文本超出高度部分是否截断,配置<code class=\"codespan\">height</code>时有效。</p>\n<ul>\n<li><code class=\"codespan\">'truncate'</code> 在文本行数超出高度部分截断。</li>\n</ul>\n"
|
||||
},
|
||||
"subtextStyle.rich": {
|
||||
"desc": "<p>在 <code class=\"codespan\">rich</code> 里面,可以自定义富文本样式。利用富文本样式,可以在标签中做出非常丰富的效果。</p>\n<p>例如:</p>\n<pre><code class=\"lang-js\">label: {\n // 在文本中,可以对部分文本采用 rich 中定义样式。\n // 这里需要在文本中使用标记符号:\n // `{styleName|text content text content}` 标记样式名。\n // 注意,换行仍是使用 '\\n'。\n formatter: [\n '{a|这段文本采用样式a}',\n '{b|这段文本采用样式b}这段用默认样式{x|这段用样式x}'\n ].join('\\n'),\n\n rich: {\n a: {\n color: 'red',\n lineHeight: 10\n },\n b: {\n backgroundColor: {\n image: 'xxx/xxx.jpg'\n },\n height: 40\n },\n x: {\n fontSize: 18,\n fontFamily: 'Microsoft YaHei',\n borderColor: '#449933',\n borderRadius: 4\n },\n ...\n }\n}\n</code></pre>\n<p>详情参见教程:<a href=\"tutorial.html#%E5%AF%8C%E6%96%87%E6%9C%AC%E6%A0%87%E7%AD%BE\" target=\"_blank\">富文本标签</a></p>\n"
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.color": {
|
||||
"desc": "\n\n<p>文字的颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "null"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.fontStyle": {
|
||||
"desc": "\n\n<p>文字字体的风格。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'normal'</code></li>\n<li><code class=\"codespan\">'italic'</code></li>\n<li><code class=\"codespan\">'oblique'</code></li>\n</ul>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "normal",
|
||||
"options": "normal,italic,oblique"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.fontWeight": {
|
||||
"desc": "\n\n<p>文字字体的粗细。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'normal'</code></li>\n<li><code class=\"codespan\">'bold'</code></li>\n<li><code class=\"codespan\">'bolder'</code></li>\n<li><code class=\"codespan\">'lighter'</code></li>\n<li>100 | 200 | 300 | 400...</li>\n</ul>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "normal",
|
||||
"options": "normal,bold,bolder,lighter"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.fontFamily": {
|
||||
"desc": "\n\n<p>文字的字体系列。</p>\n<p>还可以是 'serif' , 'monospace', 'Arial', 'Courier New', 'Microsoft YaHei', ...</p>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"default": "sans-serif",
|
||||
"options": "sans-serif,serif,monospace,Arial,Courier New"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.fontSize": {
|
||||
"desc": "\n\n<p>文字的字体大小。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "12",
|
||||
"min": "1",
|
||||
"step": "1"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.align": {
|
||||
"desc": "\n\n<p>文字水平对齐方式,默认自动。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'left'</code></li>\n<li><code class=\"codespan\">'center'</code></li>\n<li><code class=\"codespan\">'right'</code></li>\n</ul>\n<p><code class=\"codespan\">rich</code> 中如果没有设置 <code class=\"codespan\">align</code>,则会取父层级的 <code class=\"codespan\">align</code>。例如:</p>\n<pre><code class=\"lang-js\">{\n align: right,\n rich: {\n a: {\n // 没有设置 `align`,则 `align` 为 right\n }\n }\n}\n</code></pre>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"options": "left,center,right"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.verticalAlign": {
|
||||
"desc": "\n\n<p>文字垂直对齐方式,默认自动。</p>\n<p>可选:</p>\n<ul>\n<li><code class=\"codespan\">'top'</code></li>\n<li><code class=\"codespan\">'middle'</code></li>\n<li><code class=\"codespan\">'bottom'</code></li>\n</ul>\n<p><code class=\"codespan\">rich</code> 中如果没有设置 <code class=\"codespan\">verticalAlign</code>,则会取父层级的 <code class=\"codespan\">verticalAlign</code>。例如:</p>\n<pre><code class=\"lang-js\">{\n verticalAlign: bottom,\n rich: {\n a: {\n // 没有设置 `verticalAlign`,则 `verticalAlign` 为 bottom\n }\n }\n}\n</code></pre>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"options": "top,middle,bottom"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.lineHeight": {
|
||||
"desc": "\n\n<p>行高。</p>\n<p><code class=\"codespan\">rich</code> 中如果没有设置 <code class=\"codespan\">lineHeight</code>,则会取父层级的 <code class=\"codespan\">lineHeight</code>。例如:</p>\n<pre><code class=\"lang-js\">{\n lineHeight: 56,\n rich: {\n a: {\n // 没有设置 `lineHeight`,则 `lineHeight` 为 56\n }\n }\n}\n</code></pre>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "1",
|
||||
"default": "12"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.backgroundColor": {
|
||||
"desc": "\n\n<p>文字块背景色。</p>\n<p>可以使用颜色值,例如:<code class=\"codespan\">'#123234'</code>, <code class=\"codespan\">'red'</code>, <code class=\"codespan\">'rgba(0,23,11,0.3)'</code>。</p>\n<p>也可以直接使用图片,例如:</p>\n<pre><code class=\"lang-js\">backgroundColor: {\n image: 'xxx/xxx.png'\n // 这里可以是图片的 URL,\n // 或者图片的 dataURI,\n // 或者 HTMLImageElement 对象,\n // 或者 HTMLCanvasElement 对象。\n}\n</code></pre>\n<p>当使用图片的时候,可以使用 <code class=\"codespan\">width</code> 或 <code class=\"codespan\">height</code> 指定高宽,也可以不指定自适应。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "#fff"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.borderColor": {
|
||||
"desc": "\n\n<p>文字块边框颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "#fff"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.borderWidth": {
|
||||
"desc": "\n\n<p>文字块边框宽度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.borderRadius": {
|
||||
"desc": "\n\n<p>文字块的圆角。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "vector",
|
||||
"min": "0",
|
||||
"dims": "LT,RT, RB, LB"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.padding": {
|
||||
"desc": "\n\n<p>文字块的内边距。例如:</p>\n<ul>\n<li><code class=\"codespan\">padding: [3, 4, 5, 6]</code>:表示 <code class=\"codespan\">[上, 右, 下, 左]</code> 的边距。</li>\n<li><code class=\"codespan\">padding: 4</code>:表示 <code class=\"codespan\">padding: [4, 4, 4, 4]</code>。</li>\n<li><code class=\"codespan\">padding: [3, 4]</code>:表示 <code class=\"codespan\">padding: [3, 4, 3, 4]</code>。</li>\n</ul>\n<p>注意,文字块的 <code class=\"codespan\">width</code> 和 <code class=\"codespan\">height</code> 指定的是内容高宽,不包含 <code class=\"codespan\">padding</code>。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "vector",
|
||||
"min": "0",
|
||||
"dims": "T,R,B,L"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.shadowColor": {
|
||||
"desc": "\n\n<p>文字块的背景阴影颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.shadowBlur": {
|
||||
"desc": "\n\n<p>文字块的背景阴影长度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.shadowOffsetX": {
|
||||
"desc": "\n\n<p>文字块的背景阴影 X 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.shadowOffsetY": {
|
||||
"desc": "\n\n<p>文字块的背景阴影 Y 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.width": {
|
||||
"desc": "<p>文字块的宽度。一般不用指定,不指定则自动是文字的宽度。在想做表格项或者使用图片(参见 <code class=\"codespan\">backgroundColor</code>)时,可能会使用它。</p>\n<p>注意,文字块的 <code class=\"codespan\">width</code> 和 <code class=\"codespan\">height</code> 指定的是内容高宽,不包含 <code class=\"codespan\">padding</code>。</p>\n<p><code class=\"codespan\">width</code> 也可以是百分比字符串,如 <code class=\"codespan\">'100%'</code>。表示的是所在文本块的 <code class=\"codespan\">contentWidth</code>(即不包含文本块的 <code class=\"codespan\">padding</code>)的百分之多少。之所以以 <code class=\"codespan\">contentWidth</code> 做基数,因为每个文本片段只能基于 <code class=\"codespan\">content box</code> 布局。如果以 <code class=\"codespan\">outerWidth</code> 做基数,则百分比的计算在实用中不具有意义,可能会超出。</p>\n<p>注意,如果不定义 <code class=\"codespan\">rich</code> 属性,则不能指定 <code class=\"codespan\">width</code> 和 <code class=\"codespan\">height</code>。</p>\n"
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.height": {
|
||||
"desc": "<p>文字块的高度。一般不用指定,不指定则自动是文字的高度。在使用图片(参见 <code class=\"codespan\">backgroundColor</code>)时,可能会使用它。</p>\n<p>注意,文字块的 <code class=\"codespan\">width</code> 和 <code class=\"codespan\">height</code> 指定的是内容高宽,不包含 <code class=\"codespan\">padding</code>。</p>\n<p>注意,如果不定义 <code class=\"codespan\">rich</code> 属性,则不能指定 <code class=\"codespan\">width</code> 和 <code class=\"codespan\">height</code>。</p>\n"
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.textBorderColor": {
|
||||
"desc": "\n\n<p>文字本身的描边颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.textBorderWidth": {
|
||||
"desc": "\n\n<p>文字本身的描边宽度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.textShadowColor": {
|
||||
"desc": "\n\n<p>文字本身的阴影颜色。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "#000"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.textShadowBlur": {
|
||||
"desc": "\n\n<p>文字本身的阴影长度。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.textShadowOffsetX": {
|
||||
"desc": "\n\n<p>文字本身的阴影 X 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"subtextStyle.rich.<style_name>.textShadowOffsetY": {
|
||||
"desc": "\n\n<p>文字本身的阴影 Y 偏移。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"textAlign": {
|
||||
"desc": "\n\n<p>整体(包括 text 和 subtext)的水平对齐。</p>\n<p>可选值:<code class=\"codespan\">'auto'</code>、<code class=\"codespan\">'left'</code>、<code class=\"codespan\">'right'</code>、<code class=\"codespan\">'center'</code>。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"options": "auto,left,center,right",
|
||||
"default": "auto"
|
||||
}
|
||||
},
|
||||
"textVerticalAlign": {
|
||||
"desc": "\n\n<p>整体(包括 text 和 subtext)的垂直对齐。</p>\n<p>可选值:<code class=\"codespan\">'auto'</code>、<code class=\"codespan\">'top'</code>、<code class=\"codespan\">'bottom'</code>、<code class=\"codespan\">'middle'</code>。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "enum",
|
||||
"options": "auto,top,middle,bottom",
|
||||
"default": "auto"
|
||||
}
|
||||
},
|
||||
"triggerEvent": {
|
||||
"desc": "<p>是否触发事件。</p>\n"
|
||||
},
|
||||
"padding": {
|
||||
"desc": "\n\n<p>标题内边距,单位px,默认各方向内边距为5,接受数组分别设定上右下左边距。</p>\n<p>使用示例:</p>\n<pre><code class=\"lang-js\">// 设置内边距为 5\npadding: 5\n// 设置上下的内边距为 5,左右的内边距为 10\npadding: [5, 10]\n// 分别设置四个方向的内边距\npadding: [\n 5, // 上\n 10, // 右\n 5, // 下\n 10, // 左\n]\n</code></pre>\n",
|
||||
"uiControl": {
|
||||
"type": "vector",
|
||||
"min": "0",
|
||||
"dims": "T,R,B,L"
|
||||
}
|
||||
},
|
||||
"itemGap": {
|
||||
"desc": "\n\n<p>主副标题之间的间距。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"min": "0",
|
||||
"default": "10",
|
||||
"step": "1"
|
||||
}
|
||||
},
|
||||
"zlevel": {
|
||||
"desc": "<p>所有图形的 zlevel 值。</p>\n<p><code class=\"codespan\">zlevel</code>用于 Canvas 分层,不同<code class=\"codespan\">zlevel</code>值的图形会放置在不同的 Canvas 中,Canvas 分层是一种常见的优化手段。我们可以把一些图形变化频繁(例如有动画)的组件设置成一个单独的<code class=\"codespan\">zlevel</code>。需要注意的是过多的 Canvas 会引起内存开销的增大,在手机端上需要谨慎使用以防崩溃。</p>\n<p><code class=\"codespan\">zlevel</code> 大的 Canvas 会放在 <code class=\"codespan\">zlevel</code> 小的 Canvas 的上面。</p>\n"
|
||||
},
|
||||
"z": {
|
||||
"desc": "<p>组件的所有图形的<code class=\"codespan\">z</code>值。控制图形的前后顺序。<code class=\"codespan\">z</code>值小的图形会被<code class=\"codespan\">z</code>值大的图形覆盖。</p>\n<p><code class=\"codespan\">z</code>相比<code class=\"codespan\">zlevel</code>优先级更低,而且不会创建新的 Canvas。</p>\n"
|
||||
},
|
||||
"left": {
|
||||
"desc": "\n\n<p>title 组件离容器左侧的距离。</p>\n<p><code class=\"codespan\">left</code> 的值可以是像 <code class=\"codespan\">20</code> 这样的具体像素值,可以是像 <code class=\"codespan\">'20%'</code> 这样相对于容器高宽的百分比,也可以是 <code class=\"codespan\">'left'</code>, <code class=\"codespan\">'center'</code>, <code class=\"codespan\">'right'</code>。</p>\n<p>如果 <code class=\"codespan\">left</code> 的值为<code class=\"codespan\">'left'</code>, <code class=\"codespan\">'center'</code>, <code class=\"codespan\">'right'</code>,组件会根据相应的位置自动对齐。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "percent",
|
||||
"default": "0%"
|
||||
}
|
||||
},
|
||||
"top": {
|
||||
"desc": "\n\n<p>title 组件离容器上侧的距离。</p>\n<p><code class=\"codespan\">top</code> 的值可以是像 <code class=\"codespan\">20</code> 这样的具体像素值,可以是像 <code class=\"codespan\">'20%'</code> 这样相对于容器高宽的百分比,也可以是 <code class=\"codespan\">'top'</code>, <code class=\"codespan\">'middle'</code>, <code class=\"codespan\">'bottom'</code>。</p>\n<p>如果 <code class=\"codespan\">top</code> 的值为<code class=\"codespan\">'top'</code>, <code class=\"codespan\">'middle'</code>, <code class=\"codespan\">'bottom'</code>,组件会根据相应的位置自动对齐。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "percent",
|
||||
"default": "0%"
|
||||
}
|
||||
},
|
||||
"right": {
|
||||
"desc": "\n\n<p>title 组件离容器右侧的距离。</p>\n<p><code class=\"codespan\">right</code> 的值可以是像 <code class=\"codespan\">20</code> 这样的具体像素值,可以是像 <code class=\"codespan\">'20%'</code> 这样相对于容器高宽的百分比。</p>\n<p>默认自适应。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "percent",
|
||||
"default": "0%"
|
||||
}
|
||||
},
|
||||
"bottom": {
|
||||
"desc": "\n\n<p>title 组件离容器下侧的距离。</p>\n<p>bottom 的值可以是像 <code class=\"codespan\">20</code> 这样的具体像素值,可以是像 <code class=\"codespan\">'20%'</code> 这样相对于容器高宽的百分比。</p>\n<p>默认自适应。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "percent",
|
||||
"default": "0%"
|
||||
}
|
||||
},
|
||||
"backgroundColor": {
|
||||
"desc": "\n\n<p>标题背景色,默认透明。</p>\n<blockquote>\n<p>颜色可以使用 RGB 表示,比如 <code class=\"codespan\">'rgb(128, 128, 128)'</code> ,如果想要加上 alpha 通道,可以使用 RGBA,比如 <code class=\"codespan\">'rgba(128, 128, 128, 0.5)'</code>,也可以使用十六进制格式,比如 <code class=\"codespan\">'#ccc'</code></p>\n</blockquote>\n",
|
||||
"uiControl": {
|
||||
"type": "color"
|
||||
}
|
||||
},
|
||||
"borderColor": {
|
||||
"desc": "\n\n<p>标题的边框颜色。支持的颜色格式同 backgroundColor。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": "#ccc"
|
||||
}
|
||||
},
|
||||
"borderWidth": {
|
||||
"desc": "\n\n<p>标题的边框线宽。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "0",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"borderRadius": {
|
||||
"desc": "\n\n<p>圆角半径,单位px,支持传入数组分别指定 4 个圆角半径。\n如:</p>\n<pre><code>borderRadius: 5, // 统一设置四个角的圆角大小\nborderRadius: [5, 5, 0, 0] //(顺时针左上,右上,右下,左下)\n</code></pre>",
|
||||
"uiControl": {
|
||||
"type": "vector",
|
||||
"min": "0",
|
||||
"dims": "LT,RT,RB,LB"
|
||||
}
|
||||
},
|
||||
"shadowBlur": {
|
||||
"desc": "\n\n<p>图形阴影的模糊大小。该属性配合 <code class=\"codespan\">shadowColor</code>,<code class=\"codespan\">shadowOffsetX</code>, <code class=\"codespan\">shadowOffsetY</code> 一起设置图形的阴影效果。</p>\n<p>示例:</p>\n<pre><code class=\"lang-js\">{\n shadowColor: 'rgba(0, 0, 0, 0.5)',\n shadowBlur: 10\n}\n</code></pre>\n<p><strong>注意</strong>:此配置项生效的前提是,设置了 <code class=\"codespan\">show: true</code> 以及值不为 <code class=\"codespan\">tranparent</code> 的背景色 <code class=\"codespan\">backgroundColor</code>。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "",
|
||||
"min": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"shadowColor": {
|
||||
"desc": "\n\n<p>阴影颜色。支持的格式同<code class=\"codespan\">color</code>。</p>\n<p><strong>注意</strong>:此配置项生效的前提是,设置了 <code class=\"codespan\">show: true</code>。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "color",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"shadowOffsetX": {
|
||||
"desc": "\n\n<p>阴影水平方向上的偏移距离。</p>\n<p><strong>注意</strong>:此配置项生效的前提是,设置了 <code class=\"codespan\">show: true</code>。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
},
|
||||
"shadowOffsetY": {
|
||||
"desc": "\n\n<p>阴影垂直方向上的偏移距离。</p>\n<p><strong>注意</strong>:此配置项生效的前提是,设置了 <code class=\"codespan\">show: true</code>。</p>\n",
|
||||
"uiControl": {
|
||||
"type": "number",
|
||||
"default": "0",
|
||||
"step": "0.5"
|
||||
}
|
||||
}
|
||||
}
|
1478
components/EChartsEditor/option-parts/option.toolbox.json
Normal file
1478
components/EChartsEditor/option-parts/option.toolbox.json
Normal file
File diff suppressed because it is too large
Load Diff
703
components/EChartsEditor/option-parts/option.tooltip.json
Normal file
703
components/EChartsEditor/option-parts/option.tooltip.json
Normal file
File diff suppressed because one or more lines are too long
2327
components/EChartsEditor/option-parts/option.xAxis.json
Normal file
2327
components/EChartsEditor/option-parts/option.xAxis.json
Normal file
File diff suppressed because one or more lines are too long
2327
components/EChartsEditor/option-parts/option.yAxis.json
Normal file
2327
components/EChartsEditor/option-parts/option.yAxis.json
Normal file
File diff suppressed because one or more lines are too long
1
components/Form/css_properties.json
Normal file
1
components/Form/css_properties.json
Normal file
File diff suppressed because one or more lines are too long
80
docs/concepts/action.html
Normal file
80
docs/concepts/action.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/concepts/data-mapping.html
Normal file
80
docs/concepts/data-mapping.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/concepts/datascope-and-datachain.html
Normal file
80
docs/concepts/datascope-and-datachain.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/concepts/event-action.html
Normal file
80
docs/concepts/event-action.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/concepts/expression.html
Normal file
80
docs/concepts/expression.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/concepts/linkage.html
Normal file
80
docs/concepts/linkage.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/concepts/schema.html
Normal file
80
docs/concepts/schema.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/concepts/style.html
Normal file
80
docs/concepts/style.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/concepts/template.html
Normal file
80
docs/concepts/template.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/extend/addon.html
Normal file
80
docs/extend/addon.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/extend/contribute.html
Normal file
80
docs/extend/contribute.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/extend/custom-react.html
Normal file
80
docs/extend/custom-react.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/extend/custom-sdk.html
Normal file
80
docs/extend/custom-sdk.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/extend/debug.html
Normal file
80
docs/extend/debug.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/extend/editor.html
Normal file
80
docs/extend/editor.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/extend/i18n.html
Normal file
80
docs/extend/i18n.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/extend/internal.html
Normal file
80
docs/extend/internal.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/extend/mobile.html
Normal file
80
docs/extend/mobile.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/extend/tracker.html
Normal file
80
docs/extend/tracker.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/extend/ui-library.html
Normal file
80
docs/extend/ui-library.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/index.html
Normal file
80
docs/index.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/start/changelog.html
Normal file
80
docs/start/changelog.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/start/faq.html
Normal file
80
docs/start/faq.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/start/getting-started.html
Normal file
80
docs/start/getting-started.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/types/api.html
Normal file
80
docs/types/api.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/types/classname.html
Normal file
80
docs/types/classname.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/types/definitions.html
Normal file
80
docs/types/definitions.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
80
docs/types/schemanode.html
Normal file
80
docs/types/schemanode.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>amis - 低代码前端框架</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/amis/static/favicon_b3b0647.png" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" href="/amis/pkg/style_c32722e.css" />
|
||||
<link rel="stylesheet" href="/amis/pkg/npm_181bd8c.css" />
|
||||
<style>
|
||||
.app-wrapper,
|
||||
.schema-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">// gitee 最近特别慢
|
||||
if (location.hostname === 'baidu.gitee.io') {
|
||||
location.hostname = 'aisuda.bce.baidu.com';
|
||||
}
|
||||
var theme = localStorage.getItem('amis-theme') || 'cxd';
|
||||
if (theme === 'default') {
|
||||
theme = 'cxd';
|
||||
}
|
||||
// 非 IE 模式
|
||||
if (window.navigator.userAgent.indexOf('Trident') === -1) {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang_f2a8c0c.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd_e9076ac.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark_26e78ed.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd_9357176.css', "\" />"));
|
||||
}
|
||||
else {
|
||||
document.write("<link rel=\"stylesheet\" title=\"ang\" ".concat(theme !== 'ang' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/ang-ie11_1795b7b.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"cxd\" ".concat(theme !== 'cxd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/cxd-ie11_5fcf16f.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"dark\" ".concat(theme !== 'dark' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/dark-ie11_0a746a8.css', "\" />"));
|
||||
document.write("<link rel=\"stylesheet\" title=\"antd\" ".concat(theme !== 'antd' ? 'disabled' : '', " href=\"").concat('/amis/n/amis/lib/themes/antd-ie11_3ed54b0.css', "\" />"));
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="/amis/n/amis/lib/helper_e9038b1.css" /> </head>
|
||||
|
||||
<body>
|
||||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_438ecb3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_2326b5d.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_f7b7cc4.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/tinymce_b0ad439.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/color-picker_ed409c5.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/barcode_92ae0a9.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/markdown_5c129a3.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_5d059f5.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname !== 'localhost') {
|
||||
var _hmt = _hmt || [];
|
||||
|
||||
// 百度统计
|
||||
(function () {
|
||||
var hm = document.createElement('script');
|
||||
hm.src =
|
||||
'https://hm.baidu.com/hm.js?286766a21abb57abefedbd5257a26dc8';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
}
|
||||
|
||||
window.enableAMISDebug = true;
|
||||
|
||||
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
|
||||
amis.require(['ca626e1'], function (app) {
|
||||
var initialState = {};
|
||||
app.bootstrap(document.getElementById('root'), initialState);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
289
docs/zh-CN/components/action_d800653.js
Normal file
289
docs/zh-CN/components/action_d800653.js
Normal file
File diff suppressed because one or more lines are too long
57
docs/zh-CN/components/alert_1863f18.js
Normal file
57
docs/zh-CN/components/alert_1863f18.js
Normal file
File diff suppressed because one or more lines are too long
45
docs/zh-CN/components/amis_bbb3568.js
Normal file
45
docs/zh-CN/components/amis_bbb3568.js
Normal file
File diff suppressed because one or more lines are too long
59
docs/zh-CN/components/anchor-nav_1f14948.js
Normal file
59
docs/zh-CN/components/anchor-nav_1f14948.js
Normal file
File diff suppressed because one or more lines are too long
45
docs/zh-CN/components/app_8a94d64.js
Normal file
45
docs/zh-CN/components/app_8a94d64.js
Normal file
File diff suppressed because one or more lines are too long
33
docs/zh-CN/components/audio_b1c459b.js
Normal file
33
docs/zh-CN/components/audio_b1c459b.js
Normal file
@ -0,0 +1,33 @@
|
||||
amis.define('docs/zh-CN/components/audio.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Audio 音频",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "Audio 音频",
|
||||
"icon": null,
|
||||
"order": 28,
|
||||
"html": "<div class=\"markdown-body\"><h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8\" href=\"#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本使用</h2></div><div class=\"amis-preview\" style=\"min-height: undefinedpx\"><script type=\"text/schema\" scope=\"body\">{\n \"type\": \"audio\",\n \"src\": \"https://amis.bj.bcebos.com/amis/2019-7/1562137295708/chicane-poppiholla-original-radio-edit%20(1).mp3\"\n}\n</script></div><div class=\"markdown-body\">\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>"audio"</code></td>\n<td>指定为 audio 渲染器</td>\n</tr>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>外层 Dom 的类名</td>\n</tr>\n<tr>\n<td>inline</td>\n<td><code>boolean</code></td>\n<td>true</td>\n<td>是否是内联模式</td>\n</tr>\n<tr>\n<td>src</td>\n<td><code>string</code></td>\n<td></td>\n<td>音频地址</td>\n</tr>\n<tr>\n<td>loop</td>\n<td><code>boolean</code></td>\n<td>false</td>\n<td>是否循环播放</td>\n</tr>\n<tr>\n<td>autoPlay</td>\n<td><code>boolean</code></td>\n<td>false</td>\n<td>是否自动播放</td>\n</tr>\n<tr>\n<td>rates</td>\n<td><code>array</code></td>\n<td><code>[]</code></td>\n<td>可配置音频播放倍速如:<code>[1.0, 1.5, 2.0]</code></td>\n</tr>\n<tr>\n<td>controls</td>\n<td><code>array</code></td>\n<td><code>['rates', 'play', 'time', 'process', 'volume']</code></td>\n<td>内部模块定制化</td>\n</tr>\n</tbody></table>\n</div>",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本使用",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
119
docs/zh-CN/components/avatar_30eb8b5.js
Normal file
119
docs/zh-CN/components/avatar_30eb8b5.js
Normal file
File diff suppressed because one or more lines are too long
87
docs/zh-CN/components/badge_e63ded9.js
Normal file
87
docs/zh-CN/components/badge_e63ded9.js
Normal file
File diff suppressed because one or more lines are too long
39
docs/zh-CN/components/barcode_941e4d0.js
Normal file
39
docs/zh-CN/components/barcode_941e4d0.js
Normal file
@ -0,0 +1,39 @@
|
||||
amis.define('docs/zh-CN/components/barcode.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "BarCode 条形码",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "BarCode 条形码",
|
||||
"icon": null,
|
||||
"order": 62,
|
||||
"html": "<div class=\"markdown-body\"><h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2></div><div class=\"amis-preview\" style=\"min-height: undefinedpx\"><script type=\"text/schema\" scope=\"body\">{\n \"type\": \"barcode\",\n \"value\": \"amis\"\n}\n</script></div><div class=\"markdown-body\">\n<h2><a class=\"anchor\" name=\"%E6%9D%A1%E5%BD%A2%E7%A0%81%E9%85%8D%E7%BD%AE\" href=\"#%E6%9D%A1%E5%BD%A2%E7%A0%81%E9%85%8D%E7%BD%AE\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>条形码配置</h2><p>通过 options 属性配置,具体请参考<a href=\"https://github.com/lindell/JsBarcode/wiki/Options\">这里</a>,比如</p>\n</div><div class=\"amis-preview\" style=\"min-height: undefinedpx\"><script type=\"text/schema\" scope=\"body\">{\n \"type\": \"barcode\",\n \"value\": \"123\",\n \"options\": {\n \"format\": \"pharmacode\",\n \"lineColor\": \"#0aa\",\n \"width\": \"4\",\n \"height\": \"40\",\n }\n}\n</script></div><div class=\"markdown-body\">\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>外层 CSS 类名</td>\n</tr>\n<tr>\n<td>value</td>\n<td><code>string</code></td>\n<td></td>\n<td>显示的颜色值</td>\n</tr>\n<tr>\n<td>name</td>\n<td><code>string</code></td>\n<td></td>\n<td>在其他组件中,时,用作变量映射</td>\n</tr>\n</tbody></table>\n</div>",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "条形码配置",
|
||||
"fragment": "%E6%9D%A1%E5%BD%A2%E7%A0%81%E9%85%8D%E7%BD%AE",
|
||||
"fullPath": "#%E6%9D%A1%E5%BD%A2%E7%A0%81%E9%85%8D%E7%BD%AE",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
57
docs/zh-CN/components/breadcrumb_ab410df.js
Normal file
57
docs/zh-CN/components/breadcrumb_ab410df.js
Normal file
File diff suppressed because one or more lines are too long
51
docs/zh-CN/components/button-group_92efe44.js
Normal file
51
docs/zh-CN/components/button-group_92efe44.js
Normal file
File diff suppressed because one or more lines are too long
33
docs/zh-CN/components/button_761a1b1.js
Normal file
33
docs/zh-CN/components/button_761a1b1.js
Normal file
@ -0,0 +1,33 @@
|
||||
amis.define('docs/zh-CN/components/button.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Button 按钮",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "Button 按钮",
|
||||
"icon": null,
|
||||
"order": 29,
|
||||
"html": "<div class=\"markdown-body\"><h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2></div><div class=\"amis-preview\" style=\"min-height: undefinedpx\"><script type=\"text/schema\" scope=\"body\">{\n \"label\": \"弹个框\",\n \"type\": \"button\",\n \"actionType\": \"dialog\",\n \"dialog\": {\n \"title\": \"弹框\",\n \"body\": \"这是个简单的弹框。\"\n }\n}\n</script></div><div class=\"markdown-body\">\n<p><code>button</code> 实际上是 <code>action</code> 的别名,更多用法见 <a href=\"./action\">action</a></p>\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>指定添加 button 类名</td>\n</tr>\n<tr>\n<td>url</td>\n<td><code>string</code></td>\n<td></td>\n<td>点击跳转的地址,指定此属性 button 的行为和 a 链接一致</td>\n</tr>\n<tr>\n<td>size</td>\n<td><code>'xs' | 'sm' | 'md' | 'lg' </code></td>\n<td></td>\n<td>设置按钮大小</td>\n</tr>\n<tr>\n<td>actionType</td>\n<td><code>'button' | 'reset' | 'submit'| 'clear'| 'url'</code></td>\n<td>button</td>\n<td>设置按钮类型</td>\n</tr>\n<tr>\n<td>level</td>\n<td><code>'link' | 'primary' | 'enhance' | 'secondary' | 'info'|'success' | 'warning' | 'danger' | 'light'| 'dark' | 'default'</code></td>\n<td>default</td>\n<td>设置按钮样式</td>\n</tr>\n<tr>\n<td>tooltip</td>\n<td><code>'string' | 'TooltipObject'</code></td>\n<td></td>\n<td>气泡提示内容</td>\n</tr>\n<tr>\n<td>tooltipPlacement</td>\n<td><code>'top' | 'right' | 'bottom' | 'left' </code></td>\n<td>top</td>\n<td>气泡框位置器</td>\n</tr>\n<tr>\n<td>tooltipTrigger</td>\n<td><code>'hover' | 'focus'</code></td>\n<td></td>\n<td>触发 tooltip</td>\n</tr>\n<tr>\n<td>disabled</td>\n<td><code>'boolean'</code></td>\n<td>false</td>\n<td>按钮失效状态</td>\n</tr>\n<tr>\n<td>disabledTip</td>\n<td><code>'string' | 'TooltipObject'</code></td>\n<td></td>\n<td>按钮失效状态下的提示</td>\n</tr>\n<tr>\n<td>block</td>\n<td><code>'boolean'</code></td>\n<td>false</td>\n<td>将按钮宽度调整为其父宽度的选项</td>\n</tr>\n<tr>\n<td>loading</td>\n<td><code>'boolean'</code></td>\n<td>false</td>\n<td>显示按钮 loading 效果</td>\n</tr>\n<tr>\n<td>loadingOn</td>\n<td><code>'string'</code></td>\n<td></td>\n<td>显示按钮 loading 表达式</td>\n</tr>\n</tbody></table>\n</div>",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
75
docs/zh-CN/components/calendar_3b805d0.js
Normal file
75
docs/zh-CN/components/calendar_3b805d0.js
Normal file
File diff suppressed because one or more lines are too long
87
docs/zh-CN/components/card_4b46d78.js
Normal file
87
docs/zh-CN/components/card_4b46d78.js
Normal file
File diff suppressed because one or more lines are too long
91
docs/zh-CN/components/cards_fcef6ad.js
Normal file
91
docs/zh-CN/components/cards_fcef6ad.js
Normal file
File diff suppressed because one or more lines are too long
97
docs/zh-CN/components/carousel_84fc80f.js
Normal file
97
docs/zh-CN/components/carousel_84fc80f.js
Normal file
File diff suppressed because one or more lines are too long
187
docs/zh-CN/components/chart_2a1c044.js
Normal file
187
docs/zh-CN/components/chart_2a1c044.js
Normal file
File diff suppressed because one or more lines are too long
69
docs/zh-CN/components/code_8969960.js
Normal file
69
docs/zh-CN/components/code_8969960.js
Normal file
File diff suppressed because one or more lines are too long
109
docs/zh-CN/components/collapse_bc52dc3.js
Normal file
109
docs/zh-CN/components/collapse_bc52dc3.js
Normal file
File diff suppressed because one or more lines are too long
53
docs/zh-CN/components/color_ecbd79c.js
Normal file
53
docs/zh-CN/components/color_ecbd79c.js
Normal file
File diff suppressed because one or more lines are too long
73
docs/zh-CN/components/container_2de72ac.js
Normal file
73
docs/zh-CN/components/container_2de72ac.js
Normal file
File diff suppressed because one or more lines are too long
645
docs/zh-CN/components/crud_3f52ac6.js
Normal file
645
docs/zh-CN/components/crud_3f52ac6.js
Normal file
File diff suppressed because one or more lines are too long
65
docs/zh-CN/components/custom_41cf1a3.js
Normal file
65
docs/zh-CN/components/custom_41cf1a3.js
Normal file
File diff suppressed because one or more lines are too long
77
docs/zh-CN/components/date_60d30ba.js
Normal file
77
docs/zh-CN/components/date_60d30ba.js
Normal file
File diff suppressed because one or more lines are too long
201
docs/zh-CN/components/dialog_c385c90.js
Normal file
201
docs/zh-CN/components/dialog_c385c90.js
Normal file
File diff suppressed because one or more lines are too long
45
docs/zh-CN/components/divider_47644cc.js
Normal file
45
docs/zh-CN/components/divider_47644cc.js
Normal file
File diff suppressed because one or more lines are too long
153
docs/zh-CN/components/drawer_603bef1.js
Normal file
153
docs/zh-CN/components/drawer_603bef1.js
Normal file
File diff suppressed because one or more lines are too long
95
docs/zh-CN/components/dropdown-button_512eb31.js
Normal file
95
docs/zh-CN/components/dropdown-button_512eb31.js
Normal file
File diff suppressed because one or more lines are too long
79
docs/zh-CN/components/each_224409a.js
Normal file
79
docs/zh-CN/components/each_224409a.js
Normal file
File diff suppressed because one or more lines are too long
57
docs/zh-CN/components/flex_1ea5f4f.js
Normal file
57
docs/zh-CN/components/flex_1ea5f4f.js
Normal file
File diff suppressed because one or more lines are too long
103
docs/zh-CN/components/form/button-group-select_4abcd2e.js
Normal file
103
docs/zh-CN/components/form/button-group-select_4abcd2e.js
Normal file
File diff suppressed because one or more lines are too long
33
docs/zh-CN/components/form/button-toolbar_22c293c.js
Normal file
33
docs/zh-CN/components/form/button-toolbar_22c293c.js
Normal file
@ -0,0 +1,33 @@
|
||||
amis.define('docs/zh-CN/components/form/button-toolbar.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Button-Toolbar 按钮工具栏",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Button-Toolbar",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
"html": "<div class=\"markdown-body\"><p>默认按钮会独占一行,如果想让多个按钮并排方式,可以使用 <code>button-toolbar</code> 组件包裹起来,另外还有能用 <a href=\"./button-group\">button-group</a> 来在展现上更紧凑。</p>\n<h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8\" href=\"#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本使用</h2></div><div class=\"amis-preview\" style=\"min-height: undefinedpx\"><script type=\"text/schema\" scope=\"body\">{\n \"type\": \"form\",\n \"body\": [\n {\n \"type\": \"input-text\",\n \"name\": \"test\",\n \"label\": \"Text\"\n },\n\n {\n \"type\": \"button-toolbar\",\n \"label\": \"按钮组\",\n \"buttons\": [\n {\n \"type\": \"button\",\n \"label\": \"按钮\",\n \"actionType\": \"dialog\",\n \"dialog\": {\n \"title\": \"提示\",\n \"body\": \"对,你刚点击了!\"\n }\n },\n\n {\n \"type\": \"submit\",\n \"label\": \"提交\"\n },\n\n {\n \"type\": \"reset\",\n \"label\": \"重置\"\n }\n ]\n }\n ]\n}\n</script></div><div class=\"markdown-body\">\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>"button-toolbar"</code></td>\n<td>指定为 ButtonToolbar 组件</td>\n</tr>\n<tr>\n<td>buttons</td>\n<td>Array<<a href=\"./action\">行为按钮</a>></td>\n<td></td>\n<td>按钮组</td>\n</tr>\n</tbody></table>\n</div>",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本使用",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
85
docs/zh-CN/components/form/chain-select_48ec403.js
Normal file
85
docs/zh-CN/components/form/chain-select_48ec403.js
Normal file
File diff suppressed because one or more lines are too long
27
docs/zh-CN/components/form/chart-radios_47fb2d6.js
Normal file
27
docs/zh-CN/components/form/chart-radios_47fb2d6.js
Normal file
@ -0,0 +1,27 @@
|
||||
amis.define('docs/zh-CN/components/form/chart-radios.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "ChartRadios 图表单选框",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": "⚙ 组件",
|
||||
"menuName": "ChartRadios 图表单选框",
|
||||
"icon": null,
|
||||
"order": 34,
|
||||
"html": "<div class=\"markdown-body\"><p>图表点选功能,用来做多个图表联动。</p>\n</div><div class=\"amis-preview\" style=\"min-height: undefinedpx\"><script type=\"text/schema\" scope=\"body\">{\n \"type\": \"form\",\n \"debug\": true,\n \"body\": [\n {\n \"type\": \"chart-radios\",\n name: 'main',\n chartValueField: 'num',\n \"options\": [\n {\n \"label\": \"A\",\n \"num\": 100,\n value: 'a'\n },\n {\n \"label\": \"B\",\n \"num\": 120,\n value: 'b'\n },\n {\n \"label\": \"C\",\n \"num\": 30,\n value: 'c'\n },\n {\n \"label\": \"D\",\n \"num\": 40,\n value: 'd'\n }\n ]\n }\n ]\n}\n</script></div><div class=\"markdown-body\">\n<h2><a class=\"anchor\" name=\"%E5%B1%9E%E6%80%A7%E8%A1%A8\" href=\"#%E5%B1%9E%E6%80%A7%E8%A1%A8\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>属性表</h2><p>除了支持 <a href=\"./formitem#%E5%B1%9E%E6%80%A7%E8%A1%A8\">普通表单项属性表</a> 中的配置以外,还支持下面一些配置</p>\n<table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明 ## 二级标题</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>config</td>\n<td><code>object</code></td>\n<td></td>\n<td>echart 图表配置</td>\n</tr>\n<tr>\n<td>showTooltipOnHighlight</td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>高亮的时候是否显示 tooltip</td>\n</tr>\n<tr>\n<td>chartValueField</td>\n<td><code>string</code></td>\n<td><code>"value"</code></td>\n<td>图表数值字段名</td>\n</tr>\n</tbody></table>\n</div>",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "属性表",
|
||||
"fragment": "%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"fullPath": "#%E5%B1%9E%E6%80%A7%E8%A1%A8",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
85
docs/zh-CN/components/form/checkbox_9b25cc4.js
Normal file
85
docs/zh-CN/components/form/checkbox_9b25cc4.js
Normal file
File diff suppressed because one or more lines are too long
139
docs/zh-CN/components/form/checkboxes_d8f64c3.js
Normal file
139
docs/zh-CN/components/form/checkboxes_d8f64c3.js
Normal file
File diff suppressed because one or more lines are too long
209
docs/zh-CN/components/form/combo_b35f974.js
Normal file
209
docs/zh-CN/components/form/combo_b35f974.js
Normal file
File diff suppressed because one or more lines are too long
144
docs/zh-CN/components/form/condition-builder_f2e9c67.js
Normal file
144
docs/zh-CN/components/form/condition-builder_f2e9c67.js
Normal file
File diff suppressed because one or more lines are too long
20
docs/zh-CN/components/form/control_333cbce.js
Normal file
20
docs/zh-CN/components/form/control_333cbce.js
Normal file
@ -0,0 +1,20 @@
|
||||
amis.define('docs/zh-CN/components/form/control.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Control 表单项包裹",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Control",
|
||||
"icon": null,
|
||||
"order": 24,
|
||||
"html": "<div class=\"markdown-body\"><p>展示类的组件,如果直接放在表单项里面,不会有 <code>label</code> 和 <code>description</code> 之类的信息展示。</p>\n</div><div class=\"amis-preview\" style=\"min-height: undefinedpx\"><script type=\"text/schema\" scope=\"body\">{\n \"type\": \"form\",\n \"mode\": \"horizontal\",\n \"body\": [\n {\n \"type\": \"input-text\",\n \"label\": \"文本输入\"\n },\n\n {\n \"type\": \"image\",\n \"src\": \"https://internal-amis-res.cdn.bcebos.com/images/2020-1/1578395692722/4f3cb4202335.jpeg@s_0,w_216,l_1,f_jpg,q_80\"\n },\n\n {\n \"type\": \"qr-code\",\n \"codeSize\": 128,\n \"backgroundColor\": \"#108cee\",\n \"foregroundColor\": \"#000\",\n \"value\": \"https://www.baidu.com\"\n }\n ]\n}\n</script></div><div class=\"markdown-body\">\n<p>如果想像文本输入框一样,可以配置 <code>label</code> 和 <code>description</code>,则可以通过这个组件包裹一下。</p>\n</div><div class=\"amis-preview\" style=\"min-height: undefinedpx\"><script type=\"text/schema\" scope=\"body\">{\n \"type\": \"form\",\n \"mode\": \"horizontal\",\n \"body\": [\n {\n \"type\": \"input-text\",\n \"label\": \"文本输入\"\n },\n\n {\n \"type\": \"control\",\n \"label\": \"图片\",\n body: [\n {\n \"type\": \"image\",\n \"src\": \"https://internal-amis-res.cdn.bcebos.com/images/2020-1/1578395692722/4f3cb4202335.jpeg@s_0,w_216,l_1,f_jpg,q_80\"\n }\n ]\n },\n\n {\n \"type\": \"control\",\n \"label\": \"二维码\",\n \"description\": \"还可以来点描述\",\n body: [\n {\n \"type\": \"qr-code\",\n \"codeSize\": 128,\n \"backgroundColor\": \"#108cee\",\n \"foregroundColor\": \"#000\",\n \"value\": \"https://www.baidu.com\"\n }\n ]\n }\n ]\n}\n</script></div><div class=\"markdown-body\">\n</div>",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
83
docs/zh-CN/components/form/diff-editor_7fcc46c.js
Normal file
83
docs/zh-CN/components/form/diff-editor_7fcc46c.js
Normal file
File diff suppressed because one or more lines are too long
101
docs/zh-CN/components/form/editor_1ba4b07.js
Normal file
101
docs/zh-CN/components/form/editor_1ba4b07.js
Normal file
File diff suppressed because one or more lines are too long
65
docs/zh-CN/components/form/fieldset_4e7b59d.js
Normal file
65
docs/zh-CN/components/form/fieldset_4e7b59d.js
Normal file
File diff suppressed because one or more lines are too long
225
docs/zh-CN/components/form/formitem_6d05f3e.js
Normal file
225
docs/zh-CN/components/form/formitem_6d05f3e.js
Normal file
File diff suppressed because one or more lines are too long
57
docs/zh-CN/components/form/formula_da6a522.js
Normal file
57
docs/zh-CN/components/form/formula_da6a522.js
Normal file
File diff suppressed because one or more lines are too long
45
docs/zh-CN/components/form/group_974ef95.js
Normal file
45
docs/zh-CN/components/form/group_974ef95.js
Normal file
File diff suppressed because one or more lines are too long
27
docs/zh-CN/components/form/hidden_5161266.js
Normal file
27
docs/zh-CN/components/form/hidden_5161266.js
Normal file
@ -0,0 +1,27 @@
|
||||
amis.define('docs/zh-CN/components/form/hidden.md', function(require, exports, module, define) {
|
||||
|
||||
module.exports = {
|
||||
"title": "Hidden 隐藏字段",
|
||||
"description": null,
|
||||
"type": 0,
|
||||
"group": null,
|
||||
"menuName": "Hidden 隐藏字段",
|
||||
"icon": null,
|
||||
"order": 26,
|
||||
"html": "<div class=\"markdown-body\"><h2><a class=\"anchor\" name=\"%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" href=\"#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>基本用法</h2><p>默认表单提交,在没有 <a href=\"../../../docs/types/api#%E9%85%8D%E7%BD%AE%E8%AF%B7%E6%B1%82%E6%95%B0%E6%8D%AE\">自定义 API 请求数据</a> 的情况下,只会发送 <code>body</code> 里面的这些成员,对于隐藏的字段同时又希望提交表单的时候带过去,可以使用 <code>hidden</code> 组件</p>\n</div><div class=\"amis-preview\" style=\"min-height: undefinedpx\"><script type=\"text/schema\" scope=\"body\">{\n \"type\": \"form\",\n \"api\": \"https://3xsw4ap8wah59.cfc-execute.bj.baidubce.com/api/amis-mock/mock2/form/saveForm\",\n \"debug\": true,\n \"body\": [\n {\n \"type\": \"hidden\",\n \"name\": \"id\",\n \"value\": 1\n },\n {\n \"type\": \"input-text\",\n \"name\": \"name\",\n \"label\": \"姓名:\"\n },\n {\n \"name\": \"email\",\n \"type\": \"input-email\",\n \"label\": \"邮箱:\"\n }\n ]\n}\n</script></div><div class=\"markdown-body\">\n</div>",
|
||||
"toc": {
|
||||
"label": "目录",
|
||||
"type": "toc",
|
||||
"children": [
|
||||
{
|
||||
"label": "基本用法",
|
||||
"fragment": "%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"fullPath": "#%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95",
|
||||
"level": 2
|
||||
}
|
||||
],
|
||||
"level": 0
|
||||
}
|
||||
};
|
||||
|
||||
});
|
425
docs/zh-CN/components/form/index_7c3ba83.js
Normal file
425
docs/zh-CN/components/form/index_7c3ba83.js
Normal file
File diff suppressed because one or more lines are too long
39
docs/zh-CN/components/form/input-array_41ed3c6.js
Normal file
39
docs/zh-CN/components/form/input-array_41ed3c6.js
Normal file
File diff suppressed because one or more lines are too long
91
docs/zh-CN/components/form/input-city_34e8916.js
Normal file
91
docs/zh-CN/components/form/input-city_34e8916.js
Normal file
File diff suppressed because one or more lines are too long
51
docs/zh-CN/components/form/input-color_04ab8ff.js
Normal file
51
docs/zh-CN/components/form/input-color_04ab8ff.js
Normal file
File diff suppressed because one or more lines are too long
95
docs/zh-CN/components/form/input-date-range_4dad43f.js
Normal file
95
docs/zh-CN/components/form/input-date-range_4dad43f.js
Normal file
File diff suppressed because one or more lines are too long
159
docs/zh-CN/components/form/input-date_ce55acd.js
Normal file
159
docs/zh-CN/components/form/input-date_ce55acd.js
Normal file
File diff suppressed because one or more lines are too long
63
docs/zh-CN/components/form/input-datetime-range_eeba7bd.js
Normal file
63
docs/zh-CN/components/form/input-datetime-range_eeba7bd.js
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user