fix: replace vipshop to ncform

This commit is contained in:
daniel.xiao
2019-02-25 15:36:00 +08:00
parent e4a9bc7661
commit 08ed3ca6af
11 changed files with 35 additions and 35 deletions
+21 -21
View File
@@ -1,68 +1,68 @@
<a name="0.1.17"></a>
## [0.1.17](https://github.com/vipshop/ncform/compare/v0.1.16...v0.1.17) (2018-10-29)
## [0.1.17](https://github.com/ncform/ncform/compare/v0.1.16...v0.1.17) (2018-10-29)
### Features
* **ncform:** add isDirty prop ([82a468b](https://github.com/vipshop/ncform/commit/82a468b)), closes [#32](https://github.com/vipshop/ncform/issues/32)
* **ncform:** add isDirty prop ([82a468b](https://github.com/ncform/ncform/commit/82a468b)), closes [#32](https://github.com/ncform/ncform/issues/32)
<a name="0.1.16"></a>
## [0.1.16](https://github.com/vipshop/ncform/compare/v0.1.15...v0.1.16) (2018-10-27)
## [0.1.16](https://github.com/ncform/ncform/compare/v0.1.15...v0.1.16) (2018-10-27)
### Bug Fixes
* **ncform-theme-elementui:** fixed upload control fields assignment error ([23a4acf](https://github.com/vipshop/ncform/commit/23a4acf)), closes [#23](https://github.com/vipshop/ncform/issues/23)
* **ncform-theme-elementui:** fixed select control when multiple is set to true, then the otherParams changed cause error ([1485660](https://github.com/vipshop/ncform/commit/1485660)), closes [#24](https://github.com/vipshop/ncform/issues/24)
* **ncform-theme-elementui:** fixed upload control fields assignment error ([23a4acf](https://github.com/ncform/ncform/commit/23a4acf)), closes [#23](https://github.com/ncform/ncform/issues/23)
* **ncform-theme-elementui:** fixed select control when multiple is set to true, then the otherParams changed cause error ([1485660](https://github.com/ncform/ncform/commit/1485660)), closes [#24](https://github.com/ncform/ncform/issues/24)
### Features
* **ncform:** add new rule - ajax ([961f1eb](https://github.com/vipshop/ncform/commit/961f1eb)), closes [#29](https://github.com/vipshop/ncform/issues/29)
* **ncform:** add reset method - $ncformReset(formName) ([a192afc](https://github.com/vipshop/ncform/commit/a192afc)), closes [#25](https://github.com/vipshop/ncform/issues/25)
* **ncform:** description support dx expression && html content ([7fc4532](https://github.com/vipshop/ncform/commit/7fc4532)), closes [#27](https://github.com/vipshop/ncform/issues/27)
* **ncform:** add new rule - ajax ([961f1eb](https://github.com/ncform/ncform/commit/961f1eb)), closes [#29](https://github.com/ncform/ncform/issues/29)
* **ncform:** add reset method - $ncformReset(formName) ([a192afc](https://github.com/ncform/ncform/commit/a192afc)), closes [#25](https://github.com/ncform/ncform/issues/25)
* **ncform:** description support dx expression && html content ([7fc4532](https://github.com/ncform/ncform/commit/7fc4532)), closes [#27](https://github.com/ncform/ncform/issues/27)
<a name="0.1.15"></a>
## [0.1.15](https://github.com/vipshop/ncform/compare/v0.1.14...v) (2018-10-11)
## [0.1.15](https://github.com/ncform/ncform/compare/v0.1.14...v) (2018-10-11)
### Bug Fixes
* **ncform-theme-elementui:** fixed input control $emit input event when init with compound.prependSelect config ([941a88f](https://github.com/vipshop/ncform/commit/941a88f)), closes [#19](https://github.com/vipshop/ncform/issues/19)
* **ncform-theme-elementui:** fixed input control $emit input event when init with compound.prependSelect config ([941a88f](https://github.com/ncform/ncform/commit/941a88f)), closes [#19](https://github.com/ncform/ncform/issues/19)
### Features
* **ncform:** add valueTemplate config, now you can easily control one field's value depend on another ([8ac95eb](https://github.com/vipshop/ncform/commit/8ac95eb))
* **ncform:** add valueTemplate config, now you can easily control one field's value depend on another ([8ac95eb](https://github.com/ncform/ncform/commit/8ac95eb))
<a name="0.1.13"></a>
## [0.1.13](https://github.com/vipshop/ncform/compare/v0.1.12...v0.1.13) (2018-09-10)
## [0.1.13](https://github.com/ncform/ncform/compare/v0.1.12...v0.1.13) (2018-09-10)
### Bug Fixes
* **ncform:** fixed non-required fields still verify rules with empty value ([fe9901c](https://github.com/vipshop/ncform/commit/fe9901c)), issue [#16](https://github.com/vipshop/ncform/issues/16)
* **ncform:** fixed non-required fields still verify rules with empty value ([fe9901c](https://github.com/ncform/ncform/commit/fe9901c)), issue [#16](https://github.com/ncform/ncform/issues/16)
### Features
* **ncform:** add globalConfig.ignoreRulesWhenHidden configure ([4d0b6d0](https://github.com/vipshop/ncform/commit/4d0b6d0)), issue [#17](https://github.com/vipshop/ncform/issues/17)
* **ncform:** pattern rule value support string type ([cd22f48](https://github.com/vipshop/ncform/commit/cd22f48)), issue [#15](https://github.com/vipshop/ncform/issues/15)
* **ncform:** add globalConfig.ignoreRulesWhenHidden configure ([4d0b6d0](https://github.com/ncform/ncform/commit/4d0b6d0)), issue [#17](https://github.com/ncform/ncform/issues/17)
* **ncform:** pattern rule value support string type ([cd22f48](https://github.com/ncform/ncform/commit/cd22f48)), issue [#15](https://github.com/ncform/ncform/issues/15)
<a name="0.1.12"></a>
## [0.1.12](https://github.com/vipshop/ncform/compare/v0.1.10...v) (2018-08-24)
## [0.1.12](https://github.com/ncform/ncform/compare/v0.1.10...v) (2018-08-24)
### Features
* **ncform:** default value support dx expression ([bee57fc](https://github.com/vipshop/ncform/commit/bee57fc))
* **ncform:** default value support dx expression ([bee57fc](https://github.com/ncform/ncform/commit/bee57fc))
<a name="0.1.10"></a>
## [0.1.10](https://github.com/vipshop/ncform/compare/v0.1.8...v0.1.10) (2018-08-07)
## [0.1.10](https://github.com/ncform/ncform/compare/v0.1.8...v0.1.10) (2018-08-07)
### Features
* Build `template compiled` lib to suppoort runtime-only version vue ([98f46f5](https://github.com/vipshop/ncform/commit/98f46f5))
* Build `template compiled` lib to suppoort runtime-only version vue ([98f46f5](https://github.com/ncform/ncform/commit/98f46f5))
* Upgrade webpack version to 4([98f46f5](https://github.com/vipshop/ncform/commit/98f46f5))
* Upgrade webpack version to 4([98f46f5](https://github.com/ncform/ncform/commit/98f46f5))
* **ncform-theme-element:** input control add trim configure; ([98f46f5](https://github.com/vipshop/ncform/commit/98f46f5))
* **ncform-theme-element:** input control add trim configure; ([98f46f5](https://github.com/ncform/ncform/commit/98f46f5))
+4 -4
View File
@@ -8,9 +8,9 @@ ncform,一种令人愉悦的表单开发方式,仅需配置即可生成表
## Playground
在 [Playground](https://vipshop.github.io/ncform/ncform-show/playground/index.html) 体验一下ncform的魅力,可加深你对ncform的了解
在 [Playground](https://ncform.github.io/ncform/ncform-show/playground/index.html) 体验一下ncform的魅力,可加深你对ncform的了解
> [Playground](https://vipshop.github.io/ncform/ncform-show/playground/index.html) 展示了ncform大部分的使用场景例子(I believe the example is the best document),建议先仔细浏览下,例子中的配置实际开发中一般都可以直接使用滴
> [Playground](https://ncform.github.io/ncform/ncform-show/playground/index.html) 展示了ncform大部分的使用场景例子(I believe the example is the best document),建议先仔细浏览下,例子中的配置实际开发中一般都可以直接使用滴
## Quick Start
@@ -235,7 +235,7 @@ ncform = ncform容器 + ncform主题标准组件
一个系统项目,一般都会使用一种UI库(如vue)及其之上的UI实现方案(如elementui
为了与之和平共处,ncform的标准组件可采用与之一致的UI实现方案
ncform Vue版默认提供了elementui主题的标准组件[【点击查看】](https://vipshop.github.io/ncform/ncform-theme-elementui/index.html)
ncform Vue版默认提供了elementui主题的标准组件[【点击查看】](https://ncform.github.io/ncform/ncform-theme-elementui/index.html)
如果你是iview的粉丝,通过遵循ncform标准组件的规范开发iview主题的标准组件即可
@@ -243,7 +243,7 @@ ncform Vue版默认提供了elementui主题的标准组件[【点击查看】](h
## Schema Generator
通过 [Schema Generator](https://vipshop.github.io/ncform/ncform-show/schema-gen/index.html),可以加速你写form schema的速度
通过 [Schema Generator](https://ncform.github.io/ncform/ncform-show/schema-gen/index.html),可以加速你写form schema的速度
## 参考项目
+1 -1
View File
@@ -1,6 +1,6 @@
# Standard Components
如果你不太喜欢冷冰冰的文字描述,可点击 [互动版本](https://vipshop.github.io/ncform/ncform-theme-elementui/index.html)
如果你不太喜欢冷冰冰的文字描述,可点击 [互动版本](https://ncform.github.io/ncform/ncform-theme-elementui/index.html)
## control components
+1 -1
View File
@@ -14,7 +14,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vipshop/ncform.git"
"url": "git+https://github.com/ncform/ncform.git"
},
"keywords": [
"json",
@@ -210,7 +210,7 @@
&& !vm.mergeConfig.showFileList
&& fileList.length) {
vm.$message({
message: `成功选中文件!目前选中文件共 ${fileList.length}`,
message: `成功选中文件!目前选中文件共 ${fileList.length}`,
type: 'success'
});
}
@@ -266,7 +266,7 @@
handleUploadExceed(files, fileList) {
const vm = this;
vm.$message({
message: `此次选择导致一次上传的文件个数超过限制数目${vm.mergeConfig.limit}个,请重新选择!`,
message: `此次选择导致一次上传的文件个数超过限制数目${vm.mergeConfig.limit}个,请重新选择!`,
type: 'warning'
});
},
@@ -47,7 +47,7 @@
<tfoot v-if="!mergeConfig.disableDel || !mergeConfig.disableAdd">
<tr>
<td :colspan="renderSchemas.length + 1">
<!-- 列表控制按钮 -->
<!-- 列表控制按钮 -->
<div class="el-button-group" v-if="!mergeConfig.disableAdd || !mergeConfig.disableDel">
<button @click="addItem()" v-if="!mergeConfig.disableAdd" type="button" class="el-button el-button--mini"><i class="el-icon-circle-plus-outline"></i> {{mergeConfig.addTxt}}</button>
<button @click="delAllItems()" v-if="!mergeConfig.disableDel" type="button" class="el-button el-button--danger el-button--mini"><i class="el-icon-remove"></i> {{mergeConfig.delAllTxt}}</button>
@@ -38,7 +38,7 @@
</div>
<!-- 列表控制按钮 -->
<!-- 列表控制按钮 -->
<div v-show="!mergeConfig.collapsed" class="el-button-group" v-if="!mergeConfig.disableAdd || !mergeConfig.disableDel">
<button @click="addItem()" v-if="!mergeConfig.disableAdd" type="button" class="el-button el-button--mini"><i class="el-icon-circle-plus-outline"></i> {{mergeConfig.addTxt}}</button>
<button @click="delAllItems()" v-if="!mergeConfig.disableDel" type="button" class="el-button el-button--danger el-button--mini"><i class="el-icon-remove"></i> {{mergeConfig.delAllTxt}}</button>
+1 -1
View File
@@ -2,7 +2,7 @@
ncform,一种令人愉悦的表单开发方式,仅需配置即可生成表单UI及其交互行为。
更详细信息请访问官网:[https://github.com/vipshop/ncform](https://github.com/vipshop/ncform)
更详细信息请访问官网:[https://github.com/ncform/ncform](https://github.com/ncform/ncform)
# How to dev
+1 -1
View File
@@ -20,7 +20,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vipshop/ncform.git"
"url": "git+https://github.com/ncform/ncform.git"
},
"devDependencies": {
"autoprefixer": "^6.0.2",
@@ -42,7 +42,7 @@
<tfoot v-if="!mergeConfig.disableDel || !mergeConfig.disableAdd">
<tr>
<td :colspan="renderSchemas.length + 1">
<!-- 列表控制按钮 -->
<!-- 列表控制按钮 -->
<div class="btn-group btn-group-sm" v-if="!mergeConfig.disableAdd || !mergeConfig.disableDel">
<button @click="addItem()" v-if="!mergeConfig.disableAdd" type="button" class="btn btn-secondary">Add</button>
<button @click="delAllItems()" v-if="!mergeConfig.disableDel" type="button" class="btn btn-danger btn-secondary">Del All</button>
@@ -34,7 +34,7 @@
</div>
<!-- 列表控制按钮 -->
<!-- 列表控制按钮 -->
<div v-show="!mergeConfig.collapsed" class="btn-group btn-group-sm" v-if="!mergeConfig.disableAdd || !mergeConfig.disableDel">
<button @click="addItem()" v-if="!mergeConfig.disableAdd" type="button" class="btn btn-secondary">{{mergeConfig.addTxt}}</button>
<button @click="delAllItems()" v-if="!mergeConfig.disableDel" type="button" class="btn btn-danger btn-secondary">{{mergeConfig.delAllTxt}}</button>