Skip to content

Commit

Permalink
build(custom): updates amis@2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
h7ml committed Aug 1, 2022
1 parent 83f79f5 commit dbea0b9
Show file tree
Hide file tree
Showing 75 changed files with 409,918 additions and 447,617 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,11 @@ export default {
| [![amis-editor](https://badgen.net/badge/vue-amis-sdk/2.0.0-beta.5/blue)](https://www.npmjs.com/package/vue-amis-sdk/v/2.0.0-beta.5) | [![amis](https://img.shields.io/badge/amis-2.0.0-green.svg)](https://www.npmjs.com/package/amis/v/2.0.0) | [![amis-editor](https://badgen.net/badge/amis-editor/4.2.0-beta.3/blue)](https://www.npmjs.com/package/amis-editor/v/4.2.0-beta.3) |
| [![amis-editor](https://badgen.net/badge/vue-amis-sdk/2.0.1-beta.1/blue)](https://www.npmjs.com/package/vue-amis-sdk/v/2.0.1-beta.1) | [![amis](https://img.shields.io/badge/amis-2.0.1-green.svg)](https://www.npmjs.com/package/amis/v/2.0.1) | [![amis-editor](https://badgen.net/badge/amis-editor/5.1.8/blue)](https://www.npmjs.com/package/amis-editor/v/5.1.8) |
| [![amis-editor](https://badgen.net/badge/vue-amis-sdk/2.0.2-beta.1/blue)](https://www.npmjs.com/package/vue-amis-sdk/v/2.0.2-beta.1) | [![amis](https://img.shields.io/badge/amis-2.0.2-green.svg)](https://www.npmjs.com/package/amis/v/2.0.2) | [![amis-editor](https://badgen.net/badge/amis-editor/5.1.8/blue)](https://www.npmjs.com/package/amis-editor/v/5.1.8) |
| [![amis-editor](https://badgen.net/badge/vue-amis-sdk/2.1.0/blue)](https://www.npmjs.com/package/vue-amis-sdk/v/2.1.0) | [![amis](https://img.shields.io/badge/amis-2.1.0-green.svg)](https://www.npmjs.com/package/amis/v/2.1.0) | [![amis-editor](https://badgen.net/badge/amis-editor/5.2.0/blue)](https://www.npmjs.com/package/amis-editor/v/5.2.0) |

### repo

- [vue-amis-sdk editor](https://vue-amis-sdk.vercel.app/)
- [vue-amis-sdk repo](https://github.com/h7ml/vue-amis-sdk)
- [dgiot-dashboard](https://github.com/dgiot/dgiot-dashboard)
- [amis-vue-template](https://github.com/kevin361419446/amis-vue-template)
10 changes: 5 additions & 5 deletions _examples/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<meta charset="utf-8">
<title>2.0.1-beta.2</title>
<title>2.1.0</title>

<script src="https://unpkg.com/vue@2.6.4/dist/vue.js"></script>
<script src="https://unpkg.com/vue-amis-sdk"></script>
<link rel="stylesheet" href="https://unpkg.com/vue-amis-sdk/sdk/vue-amis-sdk.css">
<link rel='stylesheet' href='https://unpkg.com/amis@2.0.2/sdk/cxd.css'>
<link rel='stylesheet' href='https://unpkg.com/amis@2.0.2/sdk/ang.css'>
<link rel='stylesheet' href='https://unpkg.com/amis-ui@2.0.2/lib/helper.css'>
<link rel='stylesheet' href='https://unpkg.com/amis@2.0.2/sdk/sdk.css'>
<link rel='stylesheet' href='https://unpkg.com/amis@2.1.0/sdk/cxd.css'>
<link rel='stylesheet' href='https://unpkg.com/amis@2.1.0/sdk/ang.css'>
<link rel='stylesheet' href='https://unpkg.com/amis-ui@2.1.0/lib/helper.css'>
<link rel='stylesheet' href='https://unpkg.com/amis@2.1.0/sdk/sdk.css'>

<div id="app">
<vue-amis-sdk id="editorName" theme="cxd" className="is-fixed" :preview="isPreview" :isMobile="isMobile" :value="schema" />
Expand Down
53 changes: 7 additions & 46 deletions examples/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,54 +28,15 @@ export default {
showCustomRenderersPanel: true,
schema: {
type: "page",
id: "u:d3b02ff7a8d0",
aside: [],
body: [
{
type: "input-text",
label: "文本",
name: "text",
id: "u:41304a249687",
},
{
type: "nested-select",
label: "嵌套下拉框",
name: "nestedSelect",
options: [
{
label: "选项A",
value: "A",
},
{
label: "选项B",
value: "B",
children: [
{
label: "选项C",
value: "C",
},
{
label: "选项D",
value: "D",
},
],
},
],
id: "u:b25bd22690e7",
},
{
type: "select",
label: "选项",
name: "select",
options: [
{
label: "选项A",
value: "A",
},
{
label: "选项B",
value: "B",
},
],
id: "u:b5bc1c1228bb",
type: "tpl",
tpl: "vue-amis-sdk@2.1.0",
inline: true,
wrapperComponent: "h1",
id: "u:0f5cb1ec6c87",
},
],
},
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-amis-sdk",
"version": "2.0.2-beta.1",
"version": "2.1.0",
"private": false,
"main": "sdk/vue-amis-sdk.umd.min.js",
"browser": "sdk/vue-amis-sdk.umd.min.js",
Expand Down Expand Up @@ -33,15 +33,16 @@
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@fortawesome/fontawesome-free": "^6.1.1",
"amis": "2.0.2",
"amis-editor": "5.1.8",
"amis-formula": "^2.0.2",
"amis-ui": "^2.0.2",
"amis": "2.1.0",
"amis-editor": "5.2.0",
"amis-formula": "^2.1.0",
"amis-ui": "^2.1.0",
"axios": "^0.27.2",
"compression-webpack-plugin": "6.1.1",
"core-js": "^3.6.5",
"css-loader": "^6.6.0",
"http-proxy-middleware": "^2.0.6",
"npm-check-updates": "^16.0.5",
"postcss-custom-properties": "^12.1.4",
"react": "^16.14.0",
"react-dom": "^16.14.0",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<title><%= htmlWebpackPlugin.options.title %></title>
<title><%= htmlWebpackPlugin.options.title %>@<%= VUE_APP_VERSION %></title>
</head>
<body>
<noscript>
Expand Down
Loading

0 comments on commit dbea0b9

Please sign in to comment.