Skip to content

Commit

Permalink
Bump version to 3.0.0-beta.4
Browse files Browse the repository at this point in the history
- Remove useless files
- Add a "catch" to "validate" promise
- fix CSS error in dev files
  • Loading branch information
Lionel Bijaoui committed Oct 3, 2018
1 parent 9409a78 commit a36869c
Show file tree
Hide file tree
Showing 18 changed files with 62 additions and 383 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,6 +1,6 @@
.DS_Store
node_modules/
dist/*-report.html
dist/*.html
tests/unit/coverage

# local env files
Expand Down
63 changes: 0 additions & 63 deletions build/utils.js

This file was deleted.

10 changes: 0 additions & 10 deletions build/vue-loader.conf.js

This file was deleted.

104 changes: 0 additions & 104 deletions build/webpack.build.config.js

This file was deleted.

83 changes: 0 additions & 83 deletions build/webpack.dev.config.js

This file was deleted.

68 changes: 0 additions & 68 deletions build/webpack.test.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion dev/style.scss
Expand Up @@ -38,7 +38,7 @@ html {
}

fieldset.vue-form-generator {
.form-group.half-width {
.form-element.half-width {
width: 50%;
}

Expand Down
8 changes: 0 additions & 8 deletions dist/demo.html

This file was deleted.

11 changes: 7 additions & 4 deletions dist/vfg-core.common.js
@@ -1,5 +1,6 @@

/**
* vue-form-generator v3.0.0-beta.1
* vue-form-generator 3.0.0-beta.4
* https://github.com/vue-generators/vue-form-generator/
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2157,7 +2158,7 @@ module.exports = now;
"use strict";
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules//.cache//vue-loader","cacheIdentifier":"138839da-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/formGenerator.vue?vue&type=template&id=5d42dff0&
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules//.cache//vue-loader","cacheIdentifier":"138839da-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/formGenerator.vue?vue&type=template&id=4818e5c5&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.schema != null)?_c('div',{staticClass:"vue-form-generator"},[_c('form-group',{attrs:{"tag":_vm.tag,"fields":_vm.fields,"model":_vm.model,"options":_vm.options,"errors":_vm.errors,"eventBus":_vm.eventBus},scopedSlots:_vm._u([{key:"element",fn:function(slotProps){return [_c('form-element',{attrs:{"field":slotProps.field,"model":slotProps.model,"options":slotProps.options,"errors":slotProps.errors,"eventBus":_vm.eventBus},scopedSlots:_vm._u([{key:"label",fn:function(ref){
var field = ref.field;
var getValueFromOption = ref.getValueFromOption;
Expand All @@ -2175,7 +2176,7 @@ return [_vm._t("errors",[_c('div',{staticClass:"errors help-block"},_vm._l((chil
var staticRenderFns = []


// CONCATENATED MODULE: ./src/formGenerator.vue?vue&type=template&id=5d42dff0&
// CONCATENATED MODULE: ./src/formGenerator.vue?vue&type=template&id=4818e5c5&

// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.promise.js
var es6_promise = __webpack_require__("551c");
Expand Down Expand Up @@ -4050,7 +4051,9 @@ function attributesDirective(el, binding, vnode) {
return handleErrors(results);
}

return Promise.all(results).then(handleErrors);
return Promise.all(results).then(handleErrors).catch(function (error) {
console.warn("Problem during field validation", error);
});
},
debouncedValidate: function debouncedValidate() {
if (!lodash_isFunction__WEBPACK_IMPORTED_MODULE_11___default()(this.debouncedValidateFunc)) {
Expand Down

0 comments on commit a36869c

Please sign in to comment.