tg-controls_cli 0.0.81 → 0.0.83

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
@@ -477,6 +477,17 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
477
477
  module.exports = Axios;
478
478
 
479
479
 
480
+ /***/ }),
481
+
482
+ /***/ "0b9c":
483
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
484
+
485
+ "use strict";
486
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_1af2f90b_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("323d");
487
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_1af2f90b_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_1af2f90b_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
488
+ /* unused harmony reexport * */
489
+
490
+
480
491
  /***/ }),
481
492
 
482
493
  /***/ "0c64":
@@ -754,17 +765,6 @@ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
754
765
  });
755
766
 
756
767
 
757
- /***/ }),
758
-
759
- /***/ "1560":
760
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
761
-
762
- "use strict";
763
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_31e7b536_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("af57");
764
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_31e7b536_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_31e7b536_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
765
- /* unused harmony reexport * */
766
-
767
-
768
768
  /***/ }),
769
769
 
770
770
  /***/ "1626":
@@ -1505,6 +1505,13 @@ module.exports = JSON.parse("{\"code\":\"pt_PT\",\"messages\":{\"alpha\":\"O cam
1505
1505
 
1506
1506
  /***/ }),
1507
1507
 
1508
+ /***/ "323d":
1509
+ /***/ (function(module, exports, __webpack_require__) {
1510
+
1511
+ // extracted by mini-css-extract-plugin
1512
+
1513
+ /***/ }),
1514
+
1508
1515
  /***/ "342f":
1509
1516
  /***/ (function(module, exports, __webpack_require__) {
1510
1517
 
@@ -25219,13 +25226,6 @@ module.exports = DESCRIPTORS && fails(function () {
25219
25226
  });
25220
25227
 
25221
25228
 
25222
- /***/ }),
25223
-
25224
- /***/ "af57":
25225
- /***/ (function(module, exports, __webpack_require__) {
25226
-
25227
- // extracted by mini-css-extract-plugin
25228
-
25229
25229
  /***/ }),
25230
25230
 
25231
25231
  /***/ "b047":
@@ -34670,7 +34670,7 @@ if (typeof window !== 'undefined') {
34670
34670
  // Indicate to webpack that this file can be concatenated
34671
34671
  /* harmony default export */ var setPublicPath = (null);
34672
34672
 
34673
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3b5bb7bf-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=68e595a1&
34673
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3b5bb7bf-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=4b8330af&
34674
34674
  var render = function render() {
34675
34675
  var _vm = this,
34676
34676
  _c = _vm._self._c;
@@ -34688,13 +34688,19 @@ var render = function render() {
34688
34688
  return handleSubmit(_vm.onSubmit);
34689
34689
  }
34690
34690
  }
34691
- }, [_vm._l(_vm.schema, function (group, parentIndex) {
34691
+ }, [_c('div', {
34692
+ staticClass: "row"
34693
+ }, _vm._l(_vm.schema, function (group, parentIndex) {
34692
34694
  return _vm.CheckIfAnyFieldVisibleInGroup(group.Data) ? _c('div', {
34693
34695
  key: parentIndex,
34694
- staticClass: "row"
34696
+ class: {
34697
+ 'col-lg-4 col-md-6 col-sm-12': group.groupLayoutType == 'triple',
34698
+ 'col-lg-6 col-md-6 col-sm-12': group.groupLayoutType == 'double',
34699
+ 'col-lg-12 col-md-12 col-sm-12': group.groupLayoutType == 'single' || typeof group.groupLayoutType == 'undefined'
34700
+ }
34695
34701
  }, [_c('div', {
34696
- staticClass: "clearfix"
34697
- }), group.group_name && (group.visibility == true || typeof group.visibility == 'undefined') ? _c('div', {
34702
+ staticClass: "row"
34703
+ }, [group.group_name && (group.visibility == true || typeof group.visibility == 'undefined') ? _c('div', {
34698
34704
  staticClass: "col-lg-12 mb-3"
34699
34705
  }, [_c('div', {
34700
34706
  staticClass: "heading-border mt-2"
@@ -34723,7 +34729,7 @@ var render = function render() {
34723
34729
  class: {
34724
34730
  'text-danger': true
34725
34731
  }
34726
- }, [_vm._v("*")]) : _vm._e()]) : _vm._e(), field.userGuide && field.userGuide != '' ? _c('a', {
34732
+ }, [_vm._v("* ")]) : _vm._e()]) : _vm._e(), _vm._v("  "), field.userGuide && field.userGuide != '' ? _c('a', {
34727
34733
  attrs: {
34728
34734
  "href": "javascript:;",
34729
34735
  "title": field.userGuide,
@@ -34766,8 +34772,8 @@ var render = function render() {
34766
34772
  }
34767
34773
  }], null, true)
34768
34774
  })], 1)])])]) : _vm._e()]);
34769
- })], 2) : _vm._e();
34770
- }), _vm.buttons != false ? _c('div', {
34775
+ })], 2)]) : _vm._e();
34776
+ }), 0), _vm.buttons != false ? _c('div', {
34771
34777
  staticClass: "row"
34772
34778
  }, [_vm.mandatorytext != false ? _c('div', {
34773
34779
  staticClass: "col-6"
@@ -34822,14 +34828,14 @@ var render = function render() {
34822
34828
  }
34823
34829
  }
34824
34830
  }) : _vm._e()];
34825
- })], 2) : _vm._e()]) : _vm._e()], 2)];
34831
+ })], 2) : _vm._e()]) : _vm._e()])];
34826
34832
  }
34827
34833
  }])
34828
34834
  });
34829
34835
  };
34830
34836
  var staticRenderFns = [];
34831
34837
 
34832
- // CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=68e595a1&
34838
+ // CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=4b8330af&
34833
34839
 
34834
34840
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
34835
34841
  var es_array_push = __webpack_require__("14d9");
@@ -38399,6 +38405,287 @@ var TextField_component = normalizeComponent(
38399
38405
  )
38400
38406
 
38401
38407
  /* harmony default export */ var TextField = (TextField_component.exports);
38408
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3b5bb7bf-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/PasswordField.vue?vue&type=template&id=7484374a&
38409
+ var PasswordFieldvue_type_template_id_7484374a_render = function render() {
38410
+ var _vm = this,
38411
+ _c = _vm._self._c;
38412
+ return _c('Field', {
38413
+ staticClass: "w-100",
38414
+ attrs: {
38415
+ "disabled": _vm.fieldInfo.disabled,
38416
+ "name": _vm.GetDisplayLabel(_vm.fieldInfo),
38417
+ "rules": _vm.fieldInfo.validationRules
38418
+ },
38419
+ scopedSlots: _vm._u([{
38420
+ key: "default",
38421
+ fn: function ({
38422
+ errors
38423
+ }) {
38424
+ return [_c('span', {
38425
+ class: {
38426
+ 'd-flex ': true,
38427
+ 'is-invalid': errors[0]
38428
+ }
38429
+ }, [(_vm.showPassword ? 'text' : 'password') === 'checkbox' ? _c('input', {
38430
+ directives: [{
38431
+ name: "model",
38432
+ rawName: "v-model",
38433
+ value: _vm.fieldInfo.value,
38434
+ expression: "fieldInfo.value"
38435
+ }],
38436
+ class: {
38437
+ 'form-control w-100': true,
38438
+ 'is-invalid': errors[0]
38439
+ },
38440
+ attrs: {
38441
+ "name": _vm.fieldInfo.name,
38442
+ "id": _vm.fieldInfo.name,
38443
+ "placeholder": _vm.fieldInfo.placeholder,
38444
+ "disabled": _vm.fieldInfo.disabled,
38445
+ "type": "checkbox"
38446
+ },
38447
+ domProps: {
38448
+ "checked": Array.isArray(_vm.fieldInfo.value) ? _vm._i(_vm.fieldInfo.value, null) > -1 : _vm.fieldInfo.value
38449
+ },
38450
+ on: {
38451
+ "change": [function ($event) {
38452
+ var $$a = _vm.fieldInfo.value,
38453
+ $$el = $event.target,
38454
+ $$c = $$el.checked ? true : false;
38455
+ if (Array.isArray($$a)) {
38456
+ var $$v = null,
38457
+ $$i = _vm._i($$a, $$v);
38458
+ if ($$el.checked) {
38459
+ $$i < 0 && _vm.$set(_vm.fieldInfo, "value", $$a.concat([$$v]));
38460
+ } else {
38461
+ $$i > -1 && _vm.$set(_vm.fieldInfo, "value", $$a.slice(0, $$i).concat($$a.slice($$i + 1)));
38462
+ }
38463
+ } else {
38464
+ _vm.$set(_vm.fieldInfo, "value", $$c);
38465
+ }
38466
+ }, function ($event) {
38467
+ return _vm.onChange($event);
38468
+ }],
38469
+ "blur": function ($event) {
38470
+ return _vm.onBlur($event);
38471
+ },
38472
+ "keyup": function ($event) {
38473
+ return _vm.onKeyUp($event);
38474
+ }
38475
+ }
38476
+ }) : (_vm.showPassword ? 'text' : 'password') === 'radio' ? _c('input', {
38477
+ directives: [{
38478
+ name: "model",
38479
+ rawName: "v-model",
38480
+ value: _vm.fieldInfo.value,
38481
+ expression: "fieldInfo.value"
38482
+ }],
38483
+ class: {
38484
+ 'form-control w-100': true,
38485
+ 'is-invalid': errors[0]
38486
+ },
38487
+ attrs: {
38488
+ "name": _vm.fieldInfo.name,
38489
+ "id": _vm.fieldInfo.name,
38490
+ "placeholder": _vm.fieldInfo.placeholder,
38491
+ "disabled": _vm.fieldInfo.disabled,
38492
+ "type": "radio"
38493
+ },
38494
+ domProps: {
38495
+ "checked": _vm._q(_vm.fieldInfo.value, null)
38496
+ },
38497
+ on: {
38498
+ "change": [function ($event) {
38499
+ return _vm.$set(_vm.fieldInfo, "value", null);
38500
+ }, function ($event) {
38501
+ return _vm.onChange($event);
38502
+ }],
38503
+ "blur": function ($event) {
38504
+ return _vm.onBlur($event);
38505
+ },
38506
+ "keyup": function ($event) {
38507
+ return _vm.onKeyUp($event);
38508
+ }
38509
+ }
38510
+ }) : _c('input', {
38511
+ directives: [{
38512
+ name: "model",
38513
+ rawName: "v-model",
38514
+ value: _vm.fieldInfo.value,
38515
+ expression: "fieldInfo.value"
38516
+ }],
38517
+ class: {
38518
+ 'form-control w-100': true,
38519
+ 'is-invalid': errors[0]
38520
+ },
38521
+ attrs: {
38522
+ "name": _vm.fieldInfo.name,
38523
+ "id": _vm.fieldInfo.name,
38524
+ "placeholder": _vm.fieldInfo.placeholder,
38525
+ "disabled": _vm.fieldInfo.disabled,
38526
+ "type": _vm.showPassword ? 'text' : 'password'
38527
+ },
38528
+ domProps: {
38529
+ "value": _vm.fieldInfo.value
38530
+ },
38531
+ on: {
38532
+ "change": function ($event) {
38533
+ return _vm.onChange($event);
38534
+ },
38535
+ "blur": function ($event) {
38536
+ return _vm.onBlur($event);
38537
+ },
38538
+ "keyup": function ($event) {
38539
+ return _vm.onKeyUp($event);
38540
+ },
38541
+ "input": function ($event) {
38542
+ if ($event.target.composing) return;
38543
+ _vm.$set(_vm.fieldInfo, "value", $event.target.value);
38544
+ }
38545
+ }
38546
+ }), _c('i', {
38547
+ class: {
38548
+ 'fa': true,
38549
+ 'fa-eye': !_vm.showPassword,
38550
+ 'fa-eye-slash': _vm.showPassword
38551
+ },
38552
+ staticStyle: {
38553
+ "position": "absolute",
38554
+ "right": "0",
38555
+ "padding": "8px",
38556
+ "color": "#b7b7b7"
38557
+ },
38558
+ on: {
38559
+ "click": _vm.showPasswordFunc
38560
+ }
38561
+ }), _vm.showAddIcon() ? _c('div', {
38562
+ staticClass: "ml-2 mt-1"
38563
+ }, [_c('a', {
38564
+ class: _vm.addButtonClass()
38565
+ }, [_c('i', {
38566
+ class: _vm.addIconClass(),
38567
+ attrs: {
38568
+ "alt": "+"
38569
+ },
38570
+ on: {
38571
+ "click": function ($event) {
38572
+ return _vm.onAddButtonClick($event);
38573
+ }
38574
+ }
38575
+ })])]) : _vm._e()]), errors[0] ? _c('span', {
38576
+ staticClass: "invalid-feedback",
38577
+ attrs: {
38578
+ "name": _vm.fieldInfo.name
38579
+ }
38580
+ }, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
38581
+ }
38582
+ }])
38583
+ });
38584
+ };
38585
+ var PasswordFieldvue_type_template_id_7484374a_staticRenderFns = [];
38586
+
38587
+ // CONCATENATED MODULE: ./src/components/PasswordField.vue?vue&type=template&id=7484374a&
38588
+
38589
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PasswordField.vue?vue&type=script&lang=js&
38590
+
38591
+ /* harmony default export */ var PasswordFieldvue_type_script_lang_js_ = ({
38592
+ components: {
38593
+ Field: ValidationProvider
38594
+ },
38595
+ props: {
38596
+ lang: {
38597
+ type: String,
38598
+ default: 'en'
38599
+ },
38600
+ fieldInfo: {
38601
+ type: Object,
38602
+ required: true
38603
+ }
38604
+ },
38605
+ data: function () {
38606
+ return {
38607
+ showPassword: false
38608
+ };
38609
+ },
38610
+ mounted: function () {
38611
+ this.fieldInfo.validationRules = getValidationRules(this.fieldInfo.validationRules, this.lang);
38612
+ },
38613
+ methods: {
38614
+ GetDisplayLabel(field) {
38615
+ var labelName = '';
38616
+ if (field.hasOwnProperty('label') && field.label) {
38617
+ labelName = field.label;
38618
+ } else if (field.hasOwnProperty('display_name') && field.display_name) {
38619
+ labelName = field.display_name;
38620
+ }
38621
+ return labelName;
38622
+ },
38623
+ onChange: function (e) {
38624
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
38625
+ this.fieldInfo.config.onChange(e, this.fieldInfo);
38626
+ }
38627
+ },
38628
+ onBlur: function (e) {
38629
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onBlur) {
38630
+ this.fieldInfo.config.onBlur(e, this.fieldInfo);
38631
+ }
38632
+ },
38633
+ onKeyUp: function (e) {
38634
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onKeyUp) {
38635
+ this.fieldInfo.config.onKeyUp(e, this.fieldInfo);
38636
+ }
38637
+ },
38638
+ showAddIcon: function () {
38639
+ if (this.fieldInfo.config && this.fieldInfo.config.showAddIcon) {
38640
+ return this.fieldInfo.config.showAddIcon;
38641
+ }
38642
+ },
38643
+ onAddButtonClick: function (e) {
38644
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onAddButtonClick) {
38645
+ this.fieldInfo.config.onAddButtonClick(e, this.fieldInfo);
38646
+ }
38647
+ },
38648
+ addButtonClass: function () {
38649
+ if (this.fieldInfo.config && this.fieldInfo.config.addIconBackground) {
38650
+ return "round-icon-small theme-primary " + this.fieldInfo.config.addIconBackground;
38651
+ } else {
38652
+ return "round-icon-small btn-dark theme-primary";
38653
+ }
38654
+ },
38655
+ addIconClass: function () {
38656
+ if (this.fieldInfo.config && this.fieldInfo.config.addIcon) {
38657
+ return "fa text-white pt-7 font-18 " + this.fieldInfo.config.addIcon;
38658
+ } else {
38659
+ return "fa fa-plus text-white pt-7 font-18";
38660
+ }
38661
+ },
38662
+ showPasswordFunc: function () {
38663
+ this.showPassword = !this.showPassword;
38664
+ }
38665
+ }
38666
+ });
38667
+ // CONCATENATED MODULE: ./src/components/PasswordField.vue?vue&type=script&lang=js&
38668
+ /* harmony default export */ var components_PasswordFieldvue_type_script_lang_js_ = (PasswordFieldvue_type_script_lang_js_);
38669
+ // CONCATENATED MODULE: ./src/components/PasswordField.vue
38670
+
38671
+
38672
+
38673
+
38674
+
38675
+ /* normalize component */
38676
+
38677
+ var PasswordField_component = normalizeComponent(
38678
+ components_PasswordFieldvue_type_script_lang_js_,
38679
+ PasswordFieldvue_type_template_id_7484374a_render,
38680
+ PasswordFieldvue_type_template_id_7484374a_staticRenderFns,
38681
+ false,
38682
+ null,
38683
+ null,
38684
+ null
38685
+
38686
+ )
38687
+
38688
+ /* harmony default export */ var PasswordField = (PasswordField_component.exports);
38402
38689
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3b5bb7bf-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/DateField.vue?vue&type=template&id=545551d4&
38403
38690
  var DateFieldvue_type_template_id_545551d4_render = function render() {
38404
38691
  var _vm = this,
@@ -40002,8 +40289,8 @@ var TextAreaField_component = normalizeComponent(
40002
40289
  )
40003
40290
 
40004
40291
  /* harmony default export */ var TextAreaField = (TextAreaField_component.exports);
40005
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3b5bb7bf-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/ColorField.vue?vue&type=template&id=31e7b536&
40006
- var ColorFieldvue_type_template_id_31e7b536_render = function render() {
40292
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3b5bb7bf-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/ColorField.vue?vue&type=template&id=1af2f90b&
40293
+ var ColorFieldvue_type_template_id_1af2f90b_render = function render() {
40007
40294
  var _vm = this,
40008
40295
  _c = _vm._self._c;
40009
40296
  return _c('div', {
@@ -40061,9 +40348,9 @@ var ColorFieldvue_type_template_id_31e7b536_render = function render() {
40061
40348
  }])
40062
40349
  })], 1);
40063
40350
  };
40064
- var ColorFieldvue_type_template_id_31e7b536_staticRenderFns = [];
40351
+ var ColorFieldvue_type_template_id_1af2f90b_staticRenderFns = [];
40065
40352
 
40066
- // CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=template&id=31e7b536&
40353
+ // CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=template&id=1af2f90b&
40067
40354
 
40068
40355
  // EXTERNAL MODULE: ./node_modules/vue2-color-picker/dist/vue2-color-picker.js
40069
40356
  var vue2_color_picker = __webpack_require__("b9d7");
@@ -40148,7 +40435,7 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40148
40435
  togglePicker: function () {
40149
40436
  this.displayPicker ? this.hidePicker() : this.showPicker();
40150
40437
  },
40151
- updateFromInput: function () {
40438
+ updateFromInput: function (e) {
40152
40439
  var pattern = new RegExp("^#[0-9A-F]{6}$");
40153
40440
  var str = this.colorValue;
40154
40441
  if (pattern.test(str)) {
@@ -40156,6 +40443,9 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40156
40443
  } else {
40157
40444
  return false;
40158
40445
  }
40446
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
40447
+ this.fieldInfo.config.onChange(e, this.fieldInfo);
40448
+ }
40159
40449
  },
40160
40450
  updateFromPicker(color) {
40161
40451
  this.colors = color;
@@ -40166,12 +40456,18 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40166
40456
  this.colorValue = 'rgba(' + color.rgba.r + ', ' + color.rgba.g + ', ' + color.rgba.b + ', ' + color.rgba.a + ')';
40167
40457
  this.fieldInfo.value = this.colorValue;
40168
40458
  }
40459
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
40460
+ this.fieldInfo.config.onChange(color, this.fieldInfo);
40461
+ }
40169
40462
  },
40170
40463
  documentClick: function (e) {
40171
40464
  var el = this.$refs.colorpicker,
40172
40465
  target = e.target;
40173
- if (el !== target && !el.contains(target)) {
40466
+ if (el !== target && typeof el != "undefined" && !el.contains(target)) {
40174
40467
  this.hidePicker();
40468
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
40469
+ this.fieldInfo.config.onChange(e, this.fieldInfo);
40470
+ }
40175
40471
  }
40176
40472
  }
40177
40473
  },
@@ -40188,8 +40484,8 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40188
40484
  });
40189
40485
  // CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=script&lang=js&
40190
40486
  /* harmony default export */ var components_ColorFieldvue_type_script_lang_js_ = (ColorFieldvue_type_script_lang_js_);
40191
- // EXTERNAL MODULE: ./src/components/ColorField.vue?vue&type=style&index=0&id=31e7b536&prod&lang=css&
40192
- var ColorFieldvue_type_style_index_0_id_31e7b536_prod_lang_css_ = __webpack_require__("1560");
40487
+ // EXTERNAL MODULE: ./src/components/ColorField.vue?vue&type=style&index=0&id=1af2f90b&prod&lang=css&
40488
+ var ColorFieldvue_type_style_index_0_id_1af2f90b_prod_lang_css_ = __webpack_require__("0b9c");
40193
40489
 
40194
40490
  // CONCATENATED MODULE: ./src/components/ColorField.vue
40195
40491
 
@@ -40202,8 +40498,8 @@ var ColorFieldvue_type_style_index_0_id_31e7b536_prod_lang_css_ = __webpack_requ
40202
40498
 
40203
40499
  var ColorField_component = normalizeComponent(
40204
40500
  components_ColorFieldvue_type_script_lang_js_,
40205
- ColorFieldvue_type_template_id_31e7b536_render,
40206
- ColorFieldvue_type_template_id_31e7b536_staticRenderFns,
40501
+ ColorFieldvue_type_template_id_1af2f90b_render,
40502
+ ColorFieldvue_type_template_id_1af2f90b_staticRenderFns,
40207
40503
  false,
40208
40504
  null,
40209
40505
  null,
@@ -40898,6 +41194,7 @@ var SlotField_component = normalizeComponent(
40898
41194
 
40899
41195
 
40900
41196
 
41197
+
40901
41198
  //import { getFormValidationRules } from "./validationMessages.vue"
40902
41199
  /* harmony default export */ var DynamicFormvue_type_script_lang_js_ = ({
40903
41200
  name: 'DynamicForm',
@@ -40917,7 +41214,8 @@ var SlotField_component = normalizeComponent(
40917
41214
  ColorField: ColorField,
40918
41215
  FileField: FileField,
40919
41216
  TreeSelectField: TreeSelectField,
40920
- SlotField: SlotField
41217
+ SlotField: SlotField,
41218
+ PasswordField: PasswordField
40921
41219
  },
40922
41220
  data: function () {
40923
41221
  return {
@@ -41289,6 +41587,7 @@ var SlotField_component = normalizeComponent(
41289
41587
  if (fieldObj.length > 0) {
41290
41588
  var _ths$$t;
41291
41589
  let obj = {
41590
+ groupLayoutType: field.group_layout_type,
41292
41591
  layoutType: field.layout_type,
41293
41592
  groupId: groupId,
41294
41593
  visibility: true,