tg-controls_cli 0.0.5 → 0.0.6

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.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=1c41eed0&
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=7b3c0dca&
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(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=1c41eed0&
24293
+ // CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=7b3c0dca&
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,18 @@ var FileField_component = normalizeComponent(
29252
29252
  }
29253
29253
  return returnValue;
29254
29254
  },
29255
- handleSubmit: function (e, x, y) {
29255
+ onSubmit: function () {
29256
29256
  var formfields = {};
29257
29257
  this.schema.forEach(field => {
29258
29258
  formfields[field.name] = field.value;
29259
29259
  });
29260
+ console.log(formfields);
29260
29261
  this.$emit("OnSubmit", formfields, this.clickedButton);
29262
+ console.log(1001);
29261
29263
  },
29262
- invalidSubmit: function (e, x, y) {
29263
- this.$emit("OnInvalidSubmit", e, this.clickedButton);
29264
- },
29264
+ // invalidSubmit: function(e,x,y){
29265
+ // this.$emit("OnInvalidSubmit", e, this.clickedButton);
29266
+ // },
29265
29267
  onButtonClick: function (btn) {
29266
29268
  let btnName = "";
29267
29269
  btnName = btn.name ? btn.name : btn.text;