tg-controls_cli 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/myLib.common.js +13 -9
- package/dist/myLib.common.js.map +1 -1
- package/dist/myLib.umd.js +13 -9
- package/dist/myLib.umd.js.map +1 -1
- package/dist/myLib.umd.min.js +2 -2
- package/dist/myLib.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/myLib.umd.js
CHANGED
|
@@ -24162,7 +24162,7 @@ if (typeof window !== 'undefined') {
|
|
|
24162
24162
|
// Indicate to webpack that this file can be concatenated
|
|
24163
24163
|
/* harmony default export */ var setPublicPath = (null);
|
|
24164
24164
|
|
|
24165
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c1dfe90e-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DynamicForm.vue?vue&type=template&id=
|
|
24165
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c1dfe90e-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DynamicForm.vue?vue&type=template&id=130ac18a&
|
|
24166
24166
|
var render = function render() {
|
|
24167
24167
|
var _vm = this,
|
|
24168
24168
|
_c = _vm._self._c;
|
|
@@ -24177,7 +24177,7 @@ var render = function render() {
|
|
|
24177
24177
|
on: {
|
|
24178
24178
|
"submit": function ($event) {
|
|
24179
24179
|
$event.preventDefault();
|
|
24180
|
-
return handleSubmit(
|
|
24180
|
+
return handleSubmit(_vm.onSubmit);
|
|
24181
24181
|
}
|
|
24182
24182
|
}
|
|
24183
24183
|
}, [_vm._l(_vm.schema, function (group, parentIndex) {
|
|
@@ -24290,7 +24290,7 @@ var render = function render() {
|
|
|
24290
24290
|
};
|
|
24291
24291
|
var staticRenderFns = [];
|
|
24292
24292
|
|
|
24293
|
-
// CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=
|
|
24293
|
+
// CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=130ac18a&
|
|
24294
24294
|
|
|
24295
24295
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
24296
24296
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
@@ -29252,16 +29252,20 @@ var FileField_component = normalizeComponent(
|
|
|
29252
29252
|
}
|
|
29253
29253
|
return returnValue;
|
|
29254
29254
|
},
|
|
29255
|
-
|
|
29255
|
+
onSubmit: function () {
|
|
29256
29256
|
var formfields = {};
|
|
29257
|
-
this.schema.forEach(
|
|
29258
|
-
|
|
29257
|
+
this.schema.forEach(formSchema => {
|
|
29258
|
+
formSchema.Data.forEach(field => {
|
|
29259
|
+
formfields[field.name] = field.value;
|
|
29260
|
+
});
|
|
29259
29261
|
});
|
|
29262
|
+
console.log(formfields);
|
|
29260
29263
|
this.$emit("OnSubmit", formfields, this.clickedButton);
|
|
29264
|
+
console.log(1001);
|
|
29261
29265
|
},
|
|
29262
|
-
invalidSubmit: function
|
|
29263
|
-
|
|
29264
|
-
},
|
|
29266
|
+
// invalidSubmit: function(e,x,y){
|
|
29267
|
+
// this.$emit("OnInvalidSubmit", e, this.clickedButton);
|
|
29268
|
+
// },
|
|
29265
29269
|
onButtonClick: function (btn) {
|
|
29266
29270
|
let btnName = "";
|
|
29267
29271
|
btnName = btn.name ? btn.name : btn.text;
|