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.
@@ -24153,7 +24153,7 @@ if (typeof window !== 'undefined') {
24153
24153
  // Indicate to webpack that this file can be concatenated
24154
24154
  /* harmony default export */ var setPublicPath = (null);
24155
24155
 
24156
- // 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=1c41eed0&
24156
+ // 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&
24157
24157
  var render = function render() {
24158
24158
  var _vm = this,
24159
24159
  _c = _vm._self._c;
@@ -24168,7 +24168,7 @@ var render = function render() {
24168
24168
  on: {
24169
24169
  "submit": function ($event) {
24170
24170
  $event.preventDefault();
24171
- return handleSubmit(handleSubmit);
24171
+ return handleSubmit(_vm.onSubmit);
24172
24172
  }
24173
24173
  }
24174
24174
  }, [_vm._l(_vm.schema, function (group, parentIndex) {
@@ -24281,7 +24281,7 @@ var render = function render() {
24281
24281
  };
24282
24282
  var staticRenderFns = [];
24283
24283
 
24284
- // CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=1c41eed0&
24284
+ // CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=130ac18a&
24285
24285
 
24286
24286
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
24287
24287
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
@@ -29243,16 +29243,20 @@ var FileField_component = normalizeComponent(
29243
29243
  }
29244
29244
  return returnValue;
29245
29245
  },
29246
- handleSubmit: function (e, x, y) {
29246
+ onSubmit: function () {
29247
29247
  var formfields = {};
29248
- this.schema.forEach(field => {
29249
- formfields[field.name] = field.value;
29248
+ this.schema.forEach(formSchema => {
29249
+ formSchema.Data.forEach(field => {
29250
+ formfields[field.name] = field.value;
29251
+ });
29250
29252
  });
29253
+ console.log(formfields);
29251
29254
  this.$emit("OnSubmit", formfields, this.clickedButton);
29255
+ console.log(1001);
29252
29256
  },
29253
- invalidSubmit: function (e, x, y) {
29254
- this.$emit("OnInvalidSubmit", e, this.clickedButton);
29255
- },
29257
+ // invalidSubmit: function(e,x,y){
29258
+ // this.$emit("OnInvalidSubmit", e, this.clickedButton);
29259
+ // },
29256
29260
  onButtonClick: function (btn) {
29257
29261
  let btnName = "";
29258
29262
  btnName = btn.name ? btn.name : btn.text;